1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Saturday June 7, 2008 at 03:19:21 PM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat Jun 7 15:19:21 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
23 * The Free Software Foundation, Inc.
25 * inclhack is free software: you can redistribute it and/or modify it
26 * under the terms of the GNU General Public License as published by the
27 * Free Software Foundation, either version 3 of the License, or
28 * (at your option) any later version.
30 * inclhack is distributed in the hope that it will be useful, but
31 * WITHOUT ANY WARRANTY; without even the implied warranty of
32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
33 * See the GNU General Public License for more details.
35 * You should have received a copy of the GNU General Public License along
36 * with this program. If not, see <http://www.gnu.org/licenses/>.
39 /* * * * * * * * * * * * * * * * * * * * * * * * * *
41 * Description of Aab_Aix_Stdio fix
43 tSCC zAab_Aix_StdioName[] =
47 * File name selection pattern
49 tSCC zAab_Aix_StdioList[] =
52 * Machine/OS name selection pattern
54 tSCC* apzAab_Aix_StdioMachs[] = {
59 * content selection pattern - do fix if pattern found
61 tSCC zAab_Aix_StdioSelect0[] =
62 "define fopen fopen64";
64 #define AAB_AIX_STDIO_TEST_CT 1
65 static tTestDesc aAab_Aix_StdioTests[] = {
66 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
69 * Fix Command Arguments for Aab_Aix_Stdio
71 static const char* apzAab_Aix_StdioPatch[] = {
75 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
76 #define __need__aix_stdio_h_fix\n\
77 #ifdef __need__aix_stdio_h_fix\n\
84 /* Alias the symbols using asm */\n\
86 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
87 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
88 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
89 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
90 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
91 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
97 /* * * * * * * * * * * * * * * * * * * * * * * * * *
99 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
101 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
102 "AAB_darwin7_9_long_double_funcs";
105 * File name selection pattern
107 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
108 "architecture/ppc/math.h\0";
110 * Machine/OS name selection pattern
112 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
117 * content bypass pattern - skip fix if pattern found
119 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
122 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
123 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
124 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
127 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
129 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
130 "/* This file prototypes the long double functions available on Mac OS\n\
133 # undef __APPLE_CC__\n\
134 # define __APPLE_CC__ 1345\n\
135 # include_next <architecture/ppc/math.h>\n\
136 # undef __APPLE_CC__\n\
137 # define __APPLE_CC__ 1\n\
138 # ifndef __LIBMLDBL_COMPAT\n\
139 # ifdef __LONG_DOUBLE_128__\n\
140 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
142 # define __LIBMLDBL_COMPAT(sym)\n\
143 # endif /* __LONG_DOUBLE_128__ */\n\
144 # endif /* __LIBMLDBL_COMPAT */\n\
145 # ifdef __cplusplus\n\
148 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
149 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
150 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
151 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
152 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
153 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
154 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
155 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
156 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
157 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
158 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
159 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
160 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
161 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
162 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
163 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
164 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
165 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
166 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
167 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
168 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
169 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
170 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
171 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
172 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
173 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
174 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
175 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
176 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
177 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
178 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
179 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
180 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
181 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
182 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
183 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
184 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
185 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
186 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
187 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
188 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
189 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
190 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
191 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
192 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
193 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
194 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
195 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
196 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
197 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
198 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
199 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
200 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
201 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
202 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
203 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
204 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
205 # ifdef __cplusplus\n\
208 #endif /* __MATH__ */",
211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
213 * Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
215 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
216 "AAB_darwin7_9_long_double_funcs_2";
219 * File name selection pattern
221 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
224 * Machine/OS name selection pattern
226 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
231 * content selection pattern - do fix if pattern found
233 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
234 "#include[ \\t]+\\\"";
236 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
237 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
238 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
241 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
243 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
246 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
251 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
253 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
254 "AAB_fd_zero_asm_posix_types_h";
257 * File name selection pattern
259 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
260 "asm/posix_types.h\0";
262 * Machine/OS name selection pattern
264 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
265 "i[34567]86-*-linux*",
269 * content bypass pattern - skip fix if pattern found
271 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
273 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
275 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
278 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
279 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
280 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
281 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
282 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
285 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
287 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
288 "/* This file fixes a bug in the __FD_ZERO macro\n\
289 for older versions of the Linux kernel. */\n\
290 #ifndef _POSIX_TYPES_H_WRAPPER\n\
291 #include <features.h>\n\
292 #include_next <asm/posix_types.h>\n\n\
293 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
295 #define __FD_ZERO(fdsetp) \\\n\
297 int __d0, __d1; \\\n\
298 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
299 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
300 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
301 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
304 #define _POSIX_TYPES_H_WRAPPER\n\
305 #endif /* _POSIX_TYPES_H_WRAPPER */",
308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
310 * Description of Aab_Fd_Zero_Gnu_Types_H fix
312 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
313 "AAB_fd_zero_gnu_types_h";
316 * File name selection pattern
318 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
321 * Machine/OS name selection pattern
323 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
324 "i[34567]86-*-linux*",
326 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
327 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
330 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
332 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
333 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
334 #ifndef _TYPES_H_WRAPPER\n\
335 #include <features.h>\n\
336 #include_next <gnu/types.h>\n\n\
337 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
339 # define __FD_ZERO(fdsetp) \\\n\
341 int __d0, __d1; \\\n\
342 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
343 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
344 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
345 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
348 #define _TYPES_H_WRAPPER\n\
349 #endif /* _TYPES_H_WRAPPER */",
352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
354 * Description of Aab_Fd_Zero_Selectbits_H fix
356 tSCC zAab_Fd_Zero_Selectbits_HName[] =
357 "AAB_fd_zero_selectbits_h";
360 * File name selection pattern
362 tSCC zAab_Fd_Zero_Selectbits_HList[] =
365 * Machine/OS name selection pattern
367 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
368 "i[34567]86-*-linux*",
370 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
371 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
374 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
376 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
377 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
378 #ifndef _SELECTBITS_H_WRAPPER\n\
379 #include <features.h>\n\
380 #include_next <selectbits.h>\n\n\
381 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
382 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
383 && __GLIBC_MINOR__ == 0\n\
385 #define __FD_ZERO(fdsetp) \\\\\n\
387 int __d0, __d1; \\\\\n\
388 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
389 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
390 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
391 / sizeof (__fd_mask)), \\\\\n\
392 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
393 : \"memory\"); \\\\\n\
396 #define _SELECTBITS_H_WRAPPER\n\
397 #endif /* _SELECTBITS_H_WRAPPER */",
400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
402 * Description of Aab_Solaris_Sys_Varargs_H fix
404 tSCC zAab_Solaris_Sys_Varargs_HName[] =
405 "AAB_solaris_sys_varargs_h";
408 * File name selection pattern
410 tSCC zAab_Solaris_Sys_Varargs_HList[] =
413 * Machine/OS name selection pattern
415 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
418 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
419 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
422 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
424 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
426 #include <stdarg.h>\n\
428 #include <varargs.h>\n\
432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
434 * Description of Aab_Sun_Memcpy fix
436 tSCC zAab_Sun_MemcpyName[] =
440 * File name selection pattern
442 tSCC zAab_Sun_MemcpyList[] =
445 * Machine/OS name selection pattern
447 #define apzAab_Sun_MemcpyMachs (const char**)NULL
450 * content selection pattern - do fix if pattern found
452 tSCC zAab_Sun_MemcpySelect0[] =
453 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
455 #define AAB_SUN_MEMCPY_TEST_CT 1
456 static tTestDesc aAab_Sun_MemcpyTests[] = {
457 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
460 * Fix Command Arguments for Aab_Sun_Memcpy
462 static const char* apzAab_Sun_MemcpyPatch[] = {
463 "/* This file was generated by fixincludes */\n\
464 #ifndef __memory_h__\n\
465 #define __memory_h__\n\n\
467 extern void *memccpy();\n\
468 extern void *memchr();\n\
469 extern void *memcpy();\n\
470 extern void *memset();\n\
472 extern char *memccpy();\n\
473 extern char *memchr();\n\
474 extern char *memcpy();\n\
475 extern char *memset();\n\
476 #endif /* __STDC__ */\n\n\
477 extern int memcmp();\n\n\
478 #endif /* __memory_h__ */",
481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
483 * Description of Aix_Pthread fix
485 tSCC zAix_PthreadName[] =
489 * File name selection pattern
491 tSCC zAix_PthreadList[] =
494 * Machine/OS name selection pattern
496 #define apzAix_PthreadMachs (const char**)NULL
499 * content selection pattern - do fix if pattern found
501 tSCC zAix_PthreadSelect0[] =
502 "(#define [A-Za-z_0-9]+)(\\\\\n\
506 #define AIX_PTHREAD_TEST_CT 1
507 static tTestDesc aAix_PthreadTests[] = {
508 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
511 * Fix Command Arguments for Aix_Pthread
513 static const char* apzAix_PthreadPatch[] = {
518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
520 * Description of Aix_Sysmachine fix
522 tSCC zAix_SysmachineName[] =
526 * File name selection pattern
528 tSCC zAix_SysmachineList[] =
531 * Machine/OS name selection pattern
533 #define apzAix_SysmachineMachs (const char**)NULL
536 * content selection pattern - do fix if pattern found
538 tSCC zAix_SysmachineSelect0[] =
541 #define AIX_SYSMACHINE_TEST_CT 1
542 static tTestDesc aAix_SysmachineTests[] = {
543 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
546 * Fix Command Arguments for Aix_Sysmachine
548 static const char* apzAix_SysmachinePatch[] = {
553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
555 * Description of Aix_Syswait fix
557 tSCC zAix_SyswaitName[] =
561 * File name selection pattern
563 tSCC zAix_SyswaitList[] =
566 * Machine/OS name selection pattern
568 #define apzAix_SyswaitMachs (const char**)NULL
571 * content selection pattern - do fix if pattern found
573 tSCC zAix_SyswaitSelect0[] =
574 "^extern pid_t wait3\\(\\);\n";
575 tSCC zAix_SyswaitSelect1[] =
578 #define AIX_SYSWAIT_TEST_CT 2
579 static tTestDesc aAix_SyswaitTests[] = {
580 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
581 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
584 * Fix Command Arguments for Aix_Syswait
586 static const char* apzAix_SyswaitPatch[] = {
592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
594 * Description of Aix_Syswait_2 fix
596 tSCC zAix_Syswait_2Name[] =
600 * File name selection pattern
602 tSCC zAix_Syswait_2List[] =
605 * Machine/OS name selection pattern
607 #define apzAix_Syswait_2Machs (const char**)NULL
610 * content selection pattern - do fix if pattern found
612 tSCC zAix_Syswait_2Select0[] =
613 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
615 #define AIX_SYSWAIT_2_TEST_CT 1
616 static tTestDesc aAix_Syswait_2Tests[] = {
617 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
620 * Fix Command Arguments for Aix_Syswait_2
622 static const char* apzAix_Syswait_2Patch[] = {
627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
629 * Description of Aix_Volatile fix
631 tSCC zAix_VolatileName[] =
635 * File name selection pattern
637 tSCC zAix_VolatileList[] =
640 * Machine/OS name selection pattern
642 #define apzAix_VolatileMachs (const char**)NULL
645 * content selection pattern - do fix if pattern found
647 tSCC zAix_VolatileSelect0[] =
648 "typedef volatile int sig_atomic_t";
650 #define AIX_VOLATILE_TEST_CT 1
651 static tTestDesc aAix_VolatileTests[] = {
652 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
655 * Fix Command Arguments for Aix_Volatile
657 static const char* apzAix_VolatilePatch[] = {
659 "typedef int sig_atomic_t",
662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
664 * Description of Alpha___Assert fix
666 tSCC zAlpha___AssertName[] =
670 * File name selection pattern
672 tSCC zAlpha___AssertList[] =
675 * Machine/OS name selection pattern
677 #define apzAlpha___AssertMachs (const char**)NULL
680 * content selection pattern - do fix if pattern found
682 tSCC zAlpha___AssertSelect0[] =
683 "__assert\\(char \\*, char \\*, int\\)";
685 #define ALPHA___ASSERT_TEST_CT 1
686 static tTestDesc aAlpha___AssertTests[] = {
687 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
690 * Fix Command Arguments for Alpha___Assert
692 static const char* apzAlpha___AssertPatch[] = {
694 "__assert(const char *, const char *, int)",
697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
699 * Description of Alpha___Extern_Prefix fix
701 tSCC zAlpha___Extern_PrefixName[] =
702 "alpha___extern_prefix";
705 * File name selection pattern
707 #define zAlpha___Extern_PrefixList (char*)NULL
709 * Machine/OS name selection pattern
711 tSCC* apzAlpha___Extern_PrefixMachs[] = {
716 * content selection pattern - do fix if pattern found
718 tSCC zAlpha___Extern_PrefixSelect0[] =
719 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
720 (#[ \t]*pragma[ \t]*extern_prefix.*)";
722 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
723 static tTestDesc aAlpha___Extern_PrefixTests[] = {
724 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
727 * Fix Command Arguments for Alpha___Extern_Prefix
729 static const char* apzAlpha___Extern_PrefixPatch[] = {
731 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
737 * Description of Alpha___Extern_Prefix_Standards fix
739 tSCC zAlpha___Extern_Prefix_StandardsName[] =
740 "alpha___extern_prefix_standards";
743 * File name selection pattern
745 tSCC zAlpha___Extern_Prefix_StandardsList[] =
748 * Machine/OS name selection pattern
750 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
755 * content selection pattern - do fix if pattern found
757 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
758 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
760 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
761 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
762 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
765 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
767 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
769 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
774 * Description of Alpha___Extern_Prefix_Sys_Stat fix
776 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
777 "alpha___extern_prefix_sys_stat";
780 * File name selection pattern
782 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
783 "sys/stat.h\0sys/mount.h\0";
785 * Machine/OS name selection pattern
787 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
792 * content selection pattern - do fix if pattern found
794 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
795 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
797 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
798 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
799 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
802 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
804 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
806 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
811 * Description of Alpha_Assert fix
813 tSCC zAlpha_AssertName[] =
817 * File name selection pattern
819 tSCC zAlpha_AssertList[] =
822 * Machine/OS name selection pattern
824 #define apzAlpha_AssertMachs (const char**)NULL
827 * content selection pattern - do fix if pattern found
829 tSCC zAlpha_AssertSelect0[] =
830 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
832 #define ALPHA_ASSERT_TEST_CT 1
833 static tTestDesc aAlpha_AssertTests[] = {
834 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
837 * Fix Command Arguments for Alpha_Assert
839 static const char* apzAlpha_AssertPatch[] = {
844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
846 * Description of Alpha_Bad_Lval fix
848 tSCC zAlpha_Bad_LvalName[] =
852 * File name selection pattern
854 #define zAlpha_Bad_LvalList (char*)NULL
856 * Machine/OS name selection pattern
858 tSCC* apzAlpha_Bad_LvalMachs[] = {
863 * content selection pattern - do fix if pattern found
865 tSCC zAlpha_Bad_LvalSelect0[] =
866 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
868 #define ALPHA_BAD_LVAL_TEST_CT 1
869 static tTestDesc aAlpha_Bad_LvalTests[] = {
870 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
873 * Fix Command Arguments for Alpha_Bad_Lval
875 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
876 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
881 * Description of Alpha_Getopt fix
883 tSCC zAlpha_GetoptName[] =
887 * File name selection pattern
889 tSCC zAlpha_GetoptList[] =
890 "stdio.h\0stdlib.h\0";
892 * Machine/OS name selection pattern
894 #define apzAlpha_GetoptMachs (const char**)NULL
897 * content selection pattern - do fix if pattern found
899 tSCC zAlpha_GetoptSelect0[] =
900 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
902 #define ALPHA_GETOPT_TEST_CT 1
903 static tTestDesc aAlpha_GetoptTests[] = {
904 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
907 * Fix Command Arguments for Alpha_Getopt
909 static const char* apzAlpha_GetoptPatch[] = {
911 "getopt(int, char *const[], const char *)",
914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
916 * Description of Alpha_Parens fix
918 tSCC zAlpha_ParensName[] =
922 * File name selection pattern
924 tSCC zAlpha_ParensList[] =
927 * Machine/OS name selection pattern
929 #define apzAlpha_ParensMachs (const char**)NULL
932 * content selection pattern - do fix if pattern found
934 tSCC zAlpha_ParensSelect0[] =
935 "#ifndef\\(__mips64\\)";
937 #define ALPHA_PARENS_TEST_CT 1
938 static tTestDesc aAlpha_ParensTests[] = {
939 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
942 * Fix Command Arguments for Alpha_Parens
944 static const char* apzAlpha_ParensPatch[] = {
949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
951 * Description of Alpha_Pthread fix
953 tSCC zAlpha_PthreadName[] =
957 * File name selection pattern
959 tSCC zAlpha_PthreadList[] =
962 * Machine/OS name selection pattern
964 tSCC* apzAlpha_PthreadMachs[] = {
969 * content selection pattern - do fix if pattern found
971 tSCC zAlpha_PthreadSelect0[] =
972 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
973 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
975 #define ALPHA_PTHREAD_TEST_CT 1
976 static tTestDesc aAlpha_PthreadTests[] = {
977 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
980 * Fix Command Arguments for Alpha_Pthread
982 static const char* apzAlpha_PthreadPatch[] = {
984 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
990 * Description of Alpha_Pthread_Gcc fix
992 tSCC zAlpha_Pthread_GccName[] =
996 * File name selection pattern
998 tSCC zAlpha_Pthread_GccList[] =
1001 * Machine/OS name selection pattern
1003 tSCC* apzAlpha_Pthread_GccMachs[] = {
1005 (const char*)NULL };
1008 * content selection pattern - do fix if pattern found
1010 tSCC zAlpha_Pthread_GccSelect0[] =
1012 # error <pthread.h>: unrecognized compiler.";
1014 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1015 static tTestDesc aAlpha_Pthread_GccTests[] = {
1016 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1019 * Fix Command Arguments for Alpha_Pthread_Gcc
1021 static const char* apzAlpha_Pthread_GccPatch[] = {
1023 "#elif defined (__GNUC__)\n\
1024 # define _PTHREAD_ENV_GCC\n\
1028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1030 * Description of Alpha_Pthread_Init fix
1032 tSCC zAlpha_Pthread_InitName[] =
1033 "alpha_pthread_init";
1036 * File name selection pattern
1038 tSCC zAlpha_Pthread_InitList[] =
1041 * Machine/OS name selection pattern
1043 tSCC* apzAlpha_Pthread_InitMachs[] = {
1045 (const char*)NULL };
1048 * content selection pattern - do fix if pattern found
1050 tSCC zAlpha_Pthread_InitSelect0[] =
1051 " \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
1053 #define ALPHA_PTHREAD_INIT_TEST_CT 1
1054 static tTestDesc aAlpha_Pthread_InitTests[] = {
1055 { TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
1058 * Fix Command Arguments for Alpha_Pthread_Init
1060 static const char* apzAlpha_Pthread_InitPatch[] = { "sed",
1061 "-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
1062 s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
1063 s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
1064 s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
1065 s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
1066 s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
1069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1071 * Description of Alpha_Sbrk fix
1073 tSCC zAlpha_SbrkName[] =
1077 * File name selection pattern
1079 tSCC zAlpha_SbrkList[] =
1082 * Machine/OS name selection pattern
1084 #define apzAlpha_SbrkMachs (const char**)NULL
1087 * content selection pattern - do fix if pattern found
1089 tSCC zAlpha_SbrkSelect0[] =
1090 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1092 #define ALPHA_SBRK_TEST_CT 1
1093 static tTestDesc aAlpha_SbrkTests[] = {
1094 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1097 * Fix Command Arguments for Alpha_Sbrk
1099 static const char* apzAlpha_SbrkPatch[] = {
1104 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1106 * Description of Alpha_Wchar fix
1108 tSCC zAlpha_WcharName[] =
1112 * File name selection pattern
1114 tSCC zAlpha_WcharList[] =
1117 * Machine/OS name selection pattern
1119 tSCC* apzAlpha_WcharMachs[] = {
1121 (const char*)NULL };
1124 * content selection pattern - do fix if pattern found
1126 tSCC zAlpha_WcharSelect0[] =
1127 "#define wcstok wcstok_r";
1129 #define ALPHA_WCHAR_TEST_CT 1
1130 static tTestDesc aAlpha_WcharTests[] = {
1131 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1134 * Fix Command Arguments for Alpha_Wchar
1136 static const char* apzAlpha_WcharPatch[] = { "sed",
1137 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1138 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1143 * Description of Avoid_Bool_Define fix
1145 tSCC zAvoid_Bool_DefineName[] =
1146 "avoid_bool_define";
1149 * File name selection pattern
1151 tSCC zAvoid_Bool_DefineList[] =
1152 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1154 * Machine/OS name selection pattern
1156 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1159 * content selection pattern - do fix if pattern found
1161 tSCC zAvoid_Bool_DefineSelect0[] =
1162 "#[ \t]*define[ \t]+bool[ \t]";
1165 * content bypass pattern - skip fix if pattern found
1167 tSCC zAvoid_Bool_DefineBypass0[] =
1170 #define AVOID_BOOL_DEFINE_TEST_CT 2
1171 static tTestDesc aAvoid_Bool_DefineTests[] = {
1172 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1173 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1176 * Fix Command Arguments for Avoid_Bool_Define
1178 static const char* apzAvoid_Bool_DefinePatch[] = {
1180 "#ifndef __cplusplus\n\
1183 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1188 * Description of Avoid_Bool_Type fix
1190 tSCC zAvoid_Bool_TypeName[] =
1194 * File name selection pattern
1196 tSCC zAvoid_Bool_TypeList[] =
1197 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1199 * Machine/OS name selection pattern
1201 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1204 * content selection pattern - do fix if pattern found
1206 tSCC zAvoid_Bool_TypeSelect0[] =
1207 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1210 * content bypass pattern - skip fix if pattern found
1212 tSCC zAvoid_Bool_TypeBypass0[] =
1215 #define AVOID_BOOL_TYPE_TEST_CT 2
1216 static tTestDesc aAvoid_Bool_TypeTests[] = {
1217 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1218 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1221 * Fix Command Arguments for Avoid_Bool_Type
1223 static const char* apzAvoid_Bool_TypePatch[] = {
1225 "#ifndef __cplusplus\n\
1230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1232 * Description of Avoid_Wchar_T_Type fix
1234 tSCC zAvoid_Wchar_T_TypeName[] =
1235 "avoid_wchar_t_type";
1238 * File name selection pattern
1240 #define zAvoid_Wchar_T_TypeList (char*)NULL
1242 * Machine/OS name selection pattern
1244 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1247 * content selection pattern - do fix if pattern found
1249 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1250 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1253 * content bypass pattern - skip fix if pattern found
1255 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1257 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1259 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1260 "XFree86: xc/lib/X11/Xlib\\.h";
1262 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1263 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1264 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1265 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1266 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1267 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1270 * Fix Command Arguments for Avoid_Wchar_T_Type
1272 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1274 "#ifndef __cplusplus\n\
1279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1281 * Description of Bad_Struct_Term fix
1283 tSCC zBad_Struct_TermName[] =
1287 * File name selection pattern
1289 tSCC zBad_Struct_TermList[] =
1292 * Machine/OS name selection pattern
1294 #define apzBad_Struct_TermMachs (const char**)NULL
1297 * content selection pattern - do fix if pattern found
1299 tSCC zBad_Struct_TermSelect0[] =
1300 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1302 #define BAD_STRUCT_TERM_TEST_CT 1
1303 static tTestDesc aBad_Struct_TermTests[] = {
1304 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1307 * Fix Command Arguments for Bad_Struct_Term
1309 static const char* apzBad_Struct_TermPatch[] = {
1314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1316 * Description of Badquote fix
1318 tSCC zBadquoteName[] =
1322 * File name selection pattern
1324 tSCC zBadquoteList[] =
1325 "sundev/vuid_event.h\0";
1327 * Machine/OS name selection pattern
1329 #define apzBadquoteMachs (const char**)NULL
1332 * content selection pattern - do fix if pattern found
1334 tSCC zBadquoteSelect0[] =
1337 #define BADQUOTE_TEST_CT 1
1338 static tTestDesc aBadquoteTests[] = {
1339 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1342 * Fix Command Arguments for Badquote
1344 static const char* apzBadquotePatch[] = {
1349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1351 * Description of Broken_Assert_Stdio fix
1353 tSCC zBroken_Assert_StdioName[] =
1354 "broken_assert_stdio";
1357 * File name selection pattern
1359 tSCC zBroken_Assert_StdioList[] =
1362 * Machine/OS name selection pattern
1364 #define apzBroken_Assert_StdioMachs (const char**)NULL
1367 * content selection pattern - do fix if pattern found
1369 tSCC zBroken_Assert_StdioSelect0[] =
1373 * content bypass pattern - skip fix if pattern found
1375 tSCC zBroken_Assert_StdioBypass0[] =
1376 "include.*stdio\\.h";
1378 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1379 static tTestDesc aBroken_Assert_StdioTests[] = {
1380 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1381 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1384 * Fix Command Arguments for Broken_Assert_Stdio
1386 static const char* apzBroken_Assert_StdioPatch[] = {
1388 "#include <stdio.h>\n",
1391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1393 * Description of Broken_Assert_Stdlib fix
1395 tSCC zBroken_Assert_StdlibName[] =
1396 "broken_assert_stdlib";
1399 * File name selection pattern
1401 tSCC zBroken_Assert_StdlibList[] =
1404 * Machine/OS name selection pattern
1406 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1409 * content selection pattern - do fix if pattern found
1411 tSCC zBroken_Assert_StdlibSelect0[] =
1412 "exit *\\(|abort *\\(";
1415 * content bypass pattern - skip fix if pattern found
1417 tSCC zBroken_Assert_StdlibBypass0[] =
1418 "include.*stdlib\\.h";
1420 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1421 static tTestDesc aBroken_Assert_StdlibTests[] = {
1422 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1423 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1426 * Fix Command Arguments for Broken_Assert_Stdlib
1428 static const char* apzBroken_Assert_StdlibPatch[] = {
1430 "#ifdef __cplusplus\n\
1431 #include <stdlib.h>\n\
1435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1437 * Description of Broken_Cabs fix
1439 tSCC zBroken_CabsName[] =
1443 * File name selection pattern
1445 tSCC zBroken_CabsList[] =
1446 "math.h\0architecture/*/math.h\0";
1448 * Machine/OS name selection pattern
1450 #define apzBroken_CabsMachs (const char**)NULL
1453 * content selection pattern - do fix if pattern found
1455 tSCC zBroken_CabsSelect0[] =
1456 "^extern[ \t]+double[ \t]+cabs";
1458 #define BROKEN_CABS_TEST_CT 1
1459 static tTestDesc aBroken_CabsTests[] = {
1460 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1463 * Fix Command Arguments for Broken_Cabs
1465 static const char* apzBroken_CabsPatch[] = { "sed",
1466 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1467 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1472 * Description of Broken_Nan fix
1474 tSCC zBroken_NanName[] =
1478 * File name selection pattern
1480 tSCC zBroken_NanList[] =
1481 "architecture/ppc/math.h\0architecture/*/math.h\0";
1483 * Machine/OS name selection pattern
1485 #define apzBroken_NanMachs (const char**)NULL
1488 * content selection pattern - do fix if pattern found
1490 tSCC zBroken_NanSelect0[] =
1491 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1494 * content bypass pattern - skip fix if pattern found
1496 tSCC zBroken_NanBypass0[] =
1499 #define BROKEN_NAN_TEST_CT 2
1500 static tTestDesc aBroken_NanTests[] = {
1501 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1502 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1505 * Fix Command Arguments for Broken_Nan
1507 static const char* apzBroken_NanPatch[] = {
1512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1514 * Description of Bsd_Stdio_Attrs_Conflict fix
1516 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1517 "bsd_stdio_attrs_conflict";
1520 * File name selection pattern
1522 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1525 * Machine/OS name selection pattern
1527 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1530 (const char*)NULL };
1533 * content selection pattern - do fix if pattern found
1535 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1536 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1538 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1539 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1540 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1543 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1545 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1547 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1548 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1549 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1554 * Description of Ctrl_Quotes_Def fix
1556 tSCC zCtrl_Quotes_DefName[] =
1560 * File name selection pattern
1562 #define zCtrl_Quotes_DefList (char*)NULL
1564 * Machine/OS name selection pattern
1566 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1569 * content selection pattern - do fix if pattern found
1571 tSCC zCtrl_Quotes_DefSelect0[] =
1572 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1574 #define CTRL_QUOTES_DEF_TEST_CT 1
1575 static tTestDesc aCtrl_Quotes_DefTests[] = {
1576 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1579 * Fix Command Arguments for Ctrl_Quotes_Def
1581 static const char* apzCtrl_Quotes_DefPatch[] = {
1586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1588 * Description of Ctrl_Quotes_Use fix
1590 tSCC zCtrl_Quotes_UseName[] =
1594 * File name selection pattern
1596 #define zCtrl_Quotes_UseList (char*)NULL
1598 * Machine/OS name selection pattern
1600 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1603 * content selection pattern - do fix if pattern found
1605 tSCC zCtrl_Quotes_UseSelect0[] =
1606 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1608 #define CTRL_QUOTES_USE_TEST_CT 1
1609 static tTestDesc aCtrl_Quotes_UseTests[] = {
1610 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1613 * Fix Command Arguments for Ctrl_Quotes_Use
1615 static const char* apzCtrl_Quotes_UsePatch[] = {
1620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1622 * Description of Cxx_Unready fix
1624 tSCC zCxx_UnreadyName[] =
1628 * File name selection pattern
1630 tSCC zCxx_UnreadyList[] =
1631 "sys/mman.h\0rpc/types.h\0";
1633 * Machine/OS name selection pattern
1635 #define apzCxx_UnreadyMachs (const char**)NULL
1638 * content selection pattern - do fix if pattern found
1640 tSCC zCxx_UnreadySelect0[] =
1644 * content bypass pattern - skip fix if pattern found
1646 tSCC zCxx_UnreadyBypass0[] =
1647 "\"C\"|__BEGIN_DECLS";
1649 #define CXX_UNREADY_TEST_CT 2
1650 static tTestDesc aCxx_UnreadyTests[] = {
1651 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1652 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1655 * Fix Command Arguments for Cxx_Unready
1657 static const char* apzCxx_UnreadyPatch[] = {
1659 "#ifdef __cplusplus\n\
1662 "#ifdef __cplusplus\n\
1667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1669 * Description of Darwin_Externc fix
1671 tSCC zDarwin_ExterncName[] =
1675 * File name selection pattern
1677 tSCC zDarwin_ExterncList[] =
1678 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1680 * Machine/OS name selection pattern
1682 tSCC* apzDarwin_ExterncMachs[] = {
1684 (const char*)NULL };
1687 * content bypass pattern - skip fix if pattern found
1689 tSCC zDarwin_ExterncBypass0[] =
1691 tSCC zDarwin_ExterncBypass1[] =
1694 #define DARWIN_EXTERNC_TEST_CT 2
1695 static tTestDesc aDarwin_ExterncTests[] = {
1696 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
1697 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
1700 * Fix Command Arguments for Darwin_Externc
1702 static const char* apzDarwin_ExterncPatch[] = {
1704 "#ifdef __cplusplus\n\
1707 "#ifdef __cplusplus\n\
1712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1714 * Description of Darwin_Gcc4_Breakage fix
1716 tSCC zDarwin_Gcc4_BreakageName[] =
1717 "darwin_gcc4_breakage";
1720 * File name selection pattern
1722 tSCC zDarwin_Gcc4_BreakageList[] =
1723 "AvailabilityMacros.h\0";
1725 * Machine/OS name selection pattern
1727 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
1729 (const char*)NULL };
1732 * content selection pattern - do fix if pattern found
1734 tSCC zDarwin_Gcc4_BreakageSelect0[] =
1735 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
1737 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
1738 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
1739 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1742 * Fix Command Arguments for Darwin_Gcc4_Breakage
1744 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
1746 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
1749 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1751 * Description of Darwin_Private_Extern fix
1753 tSCC zDarwin_Private_ExternName[] =
1754 "darwin_private_extern";
1757 * File name selection pattern
1759 tSCC zDarwin_Private_ExternList[] =
1762 * Machine/OS name selection pattern
1764 tSCC* apzDarwin_Private_ExternMachs[] = {
1766 (const char*)NULL };
1769 * content selection pattern - do fix if pattern found
1771 tSCC zDarwin_Private_ExternSelect0[] =
1772 "__private_extern__ [a-z_]+ _dyld_";
1774 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1775 static tTestDesc aDarwin_Private_ExternTests[] = {
1776 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1779 * Fix Command Arguments for Darwin_Private_Extern
1781 static const char* apzDarwin_Private_ExternPatch[] = {
1784 "__private_extern__",
1787 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1789 * Description of Dec_Intern_Asm fix
1791 tSCC zDec_Intern_AsmName[] =
1795 * File name selection pattern
1797 tSCC zDec_Intern_AsmList[] =
1800 * Machine/OS name selection pattern
1802 #define apzDec_Intern_AsmMachs (const char**)NULL
1803 #define DEC_INTERN_ASM_TEST_CT 0
1804 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1807 * Fix Command Arguments for Dec_Intern_Asm
1809 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1810 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1812 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1818 * Description of Djgpp_Wchar_H fix
1820 tSCC zDjgpp_Wchar_HName[] =
1824 * File name selection pattern
1826 #define zDjgpp_Wchar_HList (char*)NULL
1828 * Machine/OS name selection pattern
1830 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1833 * content selection pattern - do fix if pattern found
1835 tSCC zDjgpp_Wchar_HSelect0[] =
1839 * content bypass pattern - skip fix if pattern found
1841 tSCC zDjgpp_Wchar_HBypass0[] =
1844 #define DJGPP_WCHAR_H_TEST_CT 2
1845 static tTestDesc aDjgpp_Wchar_HTests[] = {
1846 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1847 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1850 * Fix Command Arguments for Djgpp_Wchar_H
1852 static const char* apzDjgpp_Wchar_HPatch[] = {
1855 #include <sys/djtypes.h>",
1856 "#include <stddef.h>",
1859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1861 * Description of Ecd_Cursor fix
1863 tSCC zEcd_CursorName[] =
1867 * File name selection pattern
1869 tSCC zEcd_CursorList[] =
1870 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
1872 * Machine/OS name selection pattern
1874 #define apzEcd_CursorMachs (const char**)NULL
1877 * content selection pattern - do fix if pattern found
1879 tSCC zEcd_CursorSelect0[] =
1882 #define ECD_CURSOR_TEST_CT 1
1883 static tTestDesc aEcd_CursorTests[] = {
1884 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1887 * Fix Command Arguments for Ecd_Cursor
1889 static const char* apzEcd_CursorPatch[] = {
1894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1896 * Description of Exception_Structure fix
1898 tSCC zException_StructureName[] =
1899 "exception_structure";
1902 * File name selection pattern
1904 tSCC zException_StructureList[] =
1907 * Machine/OS name selection pattern
1909 #define apzException_StructureMachs (const char**)NULL
1912 * content selection pattern - do fix if pattern found
1914 tSCC zException_StructureSelect0[] =
1918 * content bypass pattern - skip fix if pattern found
1920 tSCC zException_StructureBypass0[] =
1921 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
1923 #define EXCEPTION_STRUCTURE_TEST_CT 2
1924 static tTestDesc aException_StructureTests[] = {
1925 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
1926 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
1929 * Fix Command Arguments for Exception_Structure
1931 static const char* apzException_StructurePatch[] = {
1933 "struct exception;\n",
1936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1938 * Description of Freebsd_Gcc3_Breakage fix
1940 tSCC zFreebsd_Gcc3_BreakageName[] =
1941 "freebsd_gcc3_breakage";
1944 * File name selection pattern
1946 tSCC zFreebsd_Gcc3_BreakageList[] =
1949 * Machine/OS name selection pattern
1951 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1953 (const char*)NULL };
1956 * content selection pattern - do fix if pattern found
1958 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1959 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1962 * content bypass pattern - skip fix if pattern found
1964 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1965 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1967 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1968 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1969 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1970 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1973 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1975 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1977 "%0 || __GNUC__ >= 3",
1980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1982 * Description of Freebsd_Gcc4_Breakage fix
1984 tSCC zFreebsd_Gcc4_BreakageName[] =
1985 "freebsd_gcc4_breakage";
1988 * File name selection pattern
1990 tSCC zFreebsd_Gcc4_BreakageList[] =
1993 * Machine/OS name selection pattern
1995 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
1997 (const char*)NULL };
2000 * content selection pattern - do fix if pattern found
2002 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2003 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2005 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2006 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2007 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2010 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2012 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2014 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2017 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2019 * Description of Glibc_C99_Inline_1 fix
2021 tSCC zGlibc_C99_Inline_1Name[] =
2022 "glibc_c99_inline_1";
2025 * File name selection pattern
2027 tSCC zGlibc_C99_Inline_1List[] =
2028 "features.h\0*/features.h\0";
2030 * Machine/OS name selection pattern
2032 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2035 * content selection pattern - do fix if pattern found
2037 tSCC zGlibc_C99_Inline_1Select0[] =
2038 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2040 #define GLIBC_C99_INLINE_1_TEST_CT 1
2041 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2042 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2045 * Fix Command Arguments for Glibc_C99_Inline_1
2047 static const char* apzGlibc_C99_Inline_1Patch[] = {
2049 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2052 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2054 * Description of Glibc_C99_Inline_1a fix
2056 tSCC zGlibc_C99_Inline_1aName[] =
2057 "glibc_c99_inline_1a";
2060 * File name selection pattern
2062 tSCC zGlibc_C99_Inline_1aList[] =
2063 "features.h\0*/features.h\0";
2065 * Machine/OS name selection pattern
2067 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2070 * content selection pattern - do fix if pattern found
2072 tSCC zGlibc_C99_Inline_1aSelect0[] =
2073 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2074 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2076 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2077 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2078 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2081 * Fix Command Arguments for Glibc_C99_Inline_1a
2083 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2085 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2091 * Description of Glibc_C99_Inline_2 fix
2093 tSCC zGlibc_C99_Inline_2Name[] =
2094 "glibc_c99_inline_2";
2097 * File name selection pattern
2099 tSCC zGlibc_C99_Inline_2List[] =
2100 "sys/stat.h\0*/sys/stat.h\0";
2102 * Machine/OS name selection pattern
2104 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2107 * content selection pattern - do fix if pattern found
2109 tSCC zGlibc_C99_Inline_2Select0[] =
2110 "extern __inline__ int";
2112 #define GLIBC_C99_INLINE_2_TEST_CT 1
2113 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2114 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2117 * Fix Command Arguments for Glibc_C99_Inline_2
2119 static const char* apzGlibc_C99_Inline_2Patch[] = { "sed",
2120 "-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2123 __inline__ int \\1/",
2124 "-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2127 __inline__ int __REDIRECT\\1 (\\2/",
2128 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2136 * Description of Glibc_C99_Inline_3 fix
2138 tSCC zGlibc_C99_Inline_3Name[] =
2139 "glibc_c99_inline_3";
2142 * File name selection pattern
2144 tSCC zGlibc_C99_Inline_3List[] =
2145 "bits/string2.h\0*/bits/string2.h\0";
2147 * Machine/OS name selection pattern
2149 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2152 * content selection pattern - do fix if pattern found
2154 tSCC zGlibc_C99_Inline_3Select0[] =
2158 * content bypass pattern - skip fix if pattern found
2160 tSCC zGlibc_C99_Inline_3Bypass0[] =
2161 "__extern_inline|__GNU_STDC_INLINE__";
2163 #define GLIBC_C99_INLINE_3_TEST_CT 2
2164 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2165 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2166 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2169 * Fix Command Arguments for Glibc_C99_Inline_3
2171 static const char* apzGlibc_C99_Inline_3Patch[] = {
2173 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2174 "^# ifdef __cplusplus$",
2177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2179 * Description of Glibc_C99_Inline_4 fix
2181 tSCC zGlibc_C99_Inline_4Name[] =
2182 "glibc_c99_inline_4";
2185 * File name selection pattern
2187 tSCC zGlibc_C99_Inline_4List[] =
2188 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2190 * Machine/OS name selection pattern
2192 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2195 * content selection pattern - do fix if pattern found
2197 tSCC zGlibc_C99_Inline_4Select0[] =
2198 "(^| )extern __inline";
2201 * content bypass pattern - skip fix if pattern found
2203 tSCC zGlibc_C99_Inline_4Bypass0[] =
2204 "__extern_inline|__gnu_inline__";
2206 #define GLIBC_C99_INLINE_4_TEST_CT 2
2207 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2208 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2209 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2212 * Fix Command Arguments for Glibc_C99_Inline_4
2214 static const char* apzGlibc_C99_Inline_4Patch[] = {
2216 "%0 __attribute__ ((__gnu_inline__))",
2219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2221 * Description of Glibc_Mutex_Init fix
2223 tSCC zGlibc_Mutex_InitName[] =
2227 * File name selection pattern
2229 tSCC zGlibc_Mutex_InitList[] =
2232 * Machine/OS name selection pattern
2234 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2237 * content selection pattern - do fix if pattern found
2239 tSCC zGlibc_Mutex_InitSelect0[] =
2240 "\\{ *\\{ *0, *\\} *\\}";
2242 #define GLIBC_MUTEX_INIT_TEST_CT 1
2243 static tTestDesc aGlibc_Mutex_InitTests[] = {
2244 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2247 * Fix Command Arguments for Glibc_Mutex_Init
2249 static const char* apzGlibc_Mutex_InitPatch[] = { "sed",
2250 "-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/,+1s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/",
2251 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2252 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2253 "-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/",
2254 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2255 "-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2260 * Description of Gnu_Types fix
2262 tSCC zGnu_TypesName[] =
2266 * File name selection pattern
2268 tSCC zGnu_TypesList[] =
2269 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2271 * Machine/OS name selection pattern
2273 tSCC* apzGnu_TypesMachs[] = {
2274 "*-*-solaris2.1[0-9]*",
2275 (const char*)NULL };
2278 * content selection pattern - do fix if pattern found
2280 tSCC zGnu_TypesSelect0[] =
2281 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
2284 * content bypass pattern - skip fix if pattern found
2286 tSCC zGnu_TypesBypass0[] =
2287 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
2289 #define GNU_TYPES_TEST_CT 2
2290 static tTestDesc aGnu_TypesTests[] = {
2291 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
2292 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
2295 * Fix Command Arguments for Gnu_Types
2297 static const char* apzGnu_TypesPatch[] = {
2301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2303 * Description of Hp_Inline fix
2305 tSCC zHp_InlineName[] =
2309 * File name selection pattern
2311 tSCC zHp_InlineList[] =
2312 "sys/spinlock.h\0machine/machparam.h\0";
2314 * Machine/OS name selection pattern
2316 #define apzHp_InlineMachs (const char**)NULL
2319 * content selection pattern - do fix if pattern found
2321 tSCC zHp_InlineSelect0[] =
2322 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
2324 #define HP_INLINE_TEST_CT 1
2325 static tTestDesc aHp_InlineTests[] = {
2326 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
2329 * Fix Command Arguments for Hp_Inline
2331 static const char* apzHp_InlinePatch[] = {
2334 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
2337 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2339 * Description of Hp_Sysfile fix
2341 tSCC zHp_SysfileName[] =
2345 * File name selection pattern
2347 tSCC zHp_SysfileList[] =
2350 * Machine/OS name selection pattern
2352 #define apzHp_SysfileMachs (const char**)NULL
2355 * content selection pattern - do fix if pattern found
2357 tSCC zHp_SysfileSelect0[] =
2360 #define HP_SYSFILE_TEST_CT 1
2361 static tTestDesc aHp_SysfileTests[] = {
2362 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2365 * Fix Command Arguments for Hp_Sysfile
2367 static const char* apzHp_SysfilePatch[] = {
2369 "(struct file *, ...)",
2373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2375 * Description of Hpux10_Cpp_Pow_Inline fix
2377 tSCC zHpux10_Cpp_Pow_InlineName[] =
2378 "hpux10_cpp_pow_inline";
2381 * File name selection pattern
2383 tSCC zHpux10_Cpp_Pow_InlineList[] =
2384 "fixinc-test-limits.h\0math.h\0";
2386 * Machine/OS name selection pattern
2388 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2391 * content selection pattern - do fix if pattern found
2393 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2394 "^# +ifdef +__cplusplus\n\
2396 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2397 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2399 +extern +\"C\" +\\{\n\
2403 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2404 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2405 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2408 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2410 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2417 * Description of Hpux11_Cpp_Pow_Inline fix
2419 tSCC zHpux11_Cpp_Pow_InlineName[] =
2420 "hpux11_cpp_pow_inline";
2423 * File name selection pattern
2425 tSCC zHpux11_Cpp_Pow_InlineList[] =
2428 * Machine/OS name selection pattern
2430 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2433 * content selection pattern - do fix if pattern found
2435 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2436 " +inline double pow\\(double d,int expon\\) \\{\n\
2437 +return pow\\(d, \\(double\\)expon\\);\n\
2440 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2441 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2442 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2445 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2447 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2454 * Description of Hppa_Hpux_Fp_Macros fix
2456 tSCC zHppa_Hpux_Fp_MacrosName[] =
2457 "hppa_hpux_fp_macros";
2460 * File name selection pattern
2462 tSCC zHppa_Hpux_Fp_MacrosList[] =
2465 * Machine/OS name selection pattern
2467 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
2469 (const char*)NULL };
2472 * content selection pattern - do fix if pattern found
2474 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
2475 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
2476 #[ \t]*define[ \t]*FP_ZERO.*\n\
2477 #[ \t]*define[ \t]*FP_INFINITE.*\n\
2478 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
2479 #[ \t]*define[ \t]*FP_NAN.*\n";
2481 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
2482 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
2483 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
2486 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
2488 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
2490 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
2491 #if defined(_INCLUDE_HPUX_SOURCE) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
2493 #ifdef _INCLUDE_HPUX_SOURCE\n",
2496 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2498 * Description of Hpux10_Ctype_Declarations1 fix
2500 tSCC zHpux10_Ctype_Declarations1Name[] =
2501 "hpux10_ctype_declarations1";
2504 * File name selection pattern
2506 tSCC zHpux10_Ctype_Declarations1List[] =
2509 * Machine/OS name selection pattern
2511 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2514 * content selection pattern - do fix if pattern found
2516 tSCC zHpux10_Ctype_Declarations1Select0[] =
2517 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2520 * content bypass pattern - skip fix if pattern found
2522 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2523 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2525 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2526 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2527 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2528 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2531 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2533 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2535 "#ifdef _PROTOTYPES\n\
2536 extern int __tolower(int);\n\
2537 extern int __toupper(int);\n\
2538 #else /* NOT _PROTOTYPES */\n\
2539 extern int __tolower();\n\
2540 extern int __toupper();\n\
2541 #endif /* _PROTOTYPES */\n\n\
2545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2547 * Description of Hpux10_Ctype_Declarations2 fix
2549 tSCC zHpux10_Ctype_Declarations2Name[] =
2550 "hpux10_ctype_declarations2";
2553 * File name selection pattern
2555 tSCC zHpux10_Ctype_Declarations2List[] =
2558 * Machine/OS name selection pattern
2560 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2563 * content selection pattern - do fix if pattern found
2565 tSCC zHpux10_Ctype_Declarations2Select0[] =
2566 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2569 * content bypass pattern - skip fix if pattern found
2571 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2572 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2574 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2575 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2576 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2577 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2580 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2582 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2585 #ifdef _PROTOTYPES\n\
2586 extern int _isalnum(int);\n\
2587 extern int _isalpha(int);\n\
2588 extern int _iscntrl(int);\n\
2589 extern int _isdigit(int);\n\
2590 extern int _isgraph(int);\n\
2591 extern int _islower(int);\n\
2592 extern int _isprint(int);\n\
2593 extern int _ispunct(int);\n\
2594 extern int _isspace(int);\n\
2595 extern int _isupper(int);\n\
2596 extern int _isxdigit(int);\n\
2597 # else /* not _PROTOTYPES */\n\
2598 extern int _isalnum();\n\
2599 extern int _isalpha();\n\
2600 extern int _iscntrl();\n\
2601 extern int _isdigit();\n\
2602 extern int _isgraph();\n\
2603 extern int _islower();\n\
2604 extern int _isprint();\n\
2605 extern int _ispunct();\n\
2606 extern int _isspace();\n\
2607 extern int _isupper();\n\
2608 extern int _isxdigit();\n\
2609 #endif /* _PROTOTYPES */\n",
2612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2614 * Description of Hpux10_Stdio_Declarations fix
2616 tSCC zHpux10_Stdio_DeclarationsName[] =
2617 "hpux10_stdio_declarations";
2620 * File name selection pattern
2622 tSCC zHpux10_Stdio_DeclarationsList[] =
2625 * Machine/OS name selection pattern
2627 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2630 * content selection pattern - do fix if pattern found
2632 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2633 "^#[ \t]*define _iob[ \t]*__iob";
2636 * content bypass pattern - skip fix if pattern found
2638 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2639 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2641 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2642 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2643 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2644 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2647 * Fix Command Arguments for Hpux10_Stdio_Declarations
2649 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2652 # if defined(__STDC__) || defined(__cplusplus)\n\
2653 extern int snprintf(char *, size_t, const char *, ...);\n\
2654 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2655 # else /* not __STDC__) || __cplusplus */\n\
2656 extern int snprintf();\n\
2657 extern int vsnprintf();\n\
2658 # endif /* __STDC__) || __cplusplus */\n",
2661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2663 * Description of Hpux11_Abs fix
2665 tSCC zHpux11_AbsName[] =
2669 * File name selection pattern
2671 tSCC zHpux11_AbsList[] =
2674 * Machine/OS name selection pattern
2676 tSCC* apzHpux11_AbsMachs[] = {
2678 (const char*)NULL };
2681 * content selection pattern - do fix if pattern found
2683 tSCC zHpux11_AbsSelect0[] =
2684 "ifndef _MATH_INCLUDED";
2686 #define HPUX11_ABS_TEST_CT 1
2687 static tTestDesc aHpux11_AbsTests[] = {
2688 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2691 * Fix Command Arguments for Hpux11_Abs
2693 static const char* apzHpux11_AbsPatch[] = {
2695 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2698 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2700 * Description of Hpux11_Fabsf fix
2702 tSCC zHpux11_FabsfName[] =
2706 * File name selection pattern
2708 tSCC zHpux11_FabsfList[] =
2711 * Machine/OS name selection pattern
2713 #define apzHpux11_FabsfMachs (const char**)NULL
2716 * content selection pattern - do fix if pattern found
2718 tSCC zHpux11_FabsfSelect0[] =
2719 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2722 * content bypass pattern - skip fix if pattern found
2724 tSCC zHpux11_FabsfBypass0[] =
2727 #define HPUX11_FABSF_TEST_CT 2
2728 static tTestDesc aHpux11_FabsfTests[] = {
2729 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2730 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2733 * Fix Command Arguments for Hpux11_Fabsf
2735 static const char* apzHpux11_FabsfPatch[] = {
2737 "#ifndef __cplusplus\n\
2742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2744 * Description of Hpux11_Size_T fix
2746 tSCC zHpux11_Size_TName[] =
2750 * File name selection pattern
2752 #define zHpux11_Size_TList (char*)NULL
2754 * Machine/OS name selection pattern
2756 tSCC* apzHpux11_Size_TMachs[] = {
2758 (const char*)NULL };
2761 * content selection pattern - do fix if pattern found
2763 tSCC zHpux11_Size_TSelect0[] =
2766 #define HPUX11_SIZE_T_TEST_CT 1
2767 static tTestDesc aHpux11_Size_TTests[] = {
2768 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2771 * Fix Command Arguments for Hpux11_Size_T
2773 static const char* apzHpux11_Size_TPatch[] = {
2778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2780 * Description of Hpux11_Snprintf fix
2782 tSCC zHpux11_SnprintfName[] =
2786 * File name selection pattern
2788 tSCC zHpux11_SnprintfList[] =
2791 * Machine/OS name selection pattern
2793 #define apzHpux11_SnprintfMachs (const char**)NULL
2796 * content selection pattern - do fix if pattern found
2798 tSCC zHpux11_SnprintfSelect0[] =
2799 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2801 #define HPUX11_SNPRINTF_TEST_CT 1
2802 static tTestDesc aHpux11_SnprintfTests[] = {
2803 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2806 * Fix Command Arguments for Hpux11_Snprintf
2808 static const char* apzHpux11_SnprintfPatch[] = {
2813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2815 * Description of Hpux11_Uint32_C fix
2817 tSCC zHpux11_Uint32_CName[] =
2821 * File name selection pattern
2823 tSCC zHpux11_Uint32_CList[] =
2826 * Machine/OS name selection pattern
2828 #define apzHpux11_Uint32_CMachs (const char**)NULL
2831 * content selection pattern - do fix if pattern found
2833 tSCC zHpux11_Uint32_CSelect0[] =
2834 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2836 #define HPUX11_UINT32_C_TEST_CT 1
2837 static tTestDesc aHpux11_Uint32_CTests[] = {
2838 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2841 * Fix Command Arguments for Hpux11_Uint32_C
2843 static const char* apzHpux11_Uint32_CPatch[] = {
2845 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2850 * Description of Hpux11_Vsnprintf fix
2852 tSCC zHpux11_VsnprintfName[] =
2856 * File name selection pattern
2858 tSCC zHpux11_VsnprintfList[] =
2861 * Machine/OS name selection pattern
2863 #define apzHpux11_VsnprintfMachs (const char**)NULL
2866 * content selection pattern - do fix if pattern found
2868 tSCC zHpux11_VsnprintfSelect0[] =
2869 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2871 #define HPUX11_VSNPRINTF_TEST_CT 1
2872 static tTestDesc aHpux11_VsnprintfTests[] = {
2873 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2876 * Fix Command Arguments for Hpux11_Vsnprintf
2878 static const char* apzHpux11_VsnprintfPatch[] = {
2883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2885 * Description of Hpux8_Bogus_Inlines fix
2887 tSCC zHpux8_Bogus_InlinesName[] =
2888 "hpux8_bogus_inlines";
2891 * File name selection pattern
2893 tSCC zHpux8_Bogus_InlinesList[] =
2896 * Machine/OS name selection pattern
2898 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2901 * content selection pattern - do fix if pattern found
2903 tSCC zHpux8_Bogus_InlinesSelect0[] =
2907 * content bypass pattern - skip fix if pattern found
2909 tSCC zHpux8_Bogus_InlinesBypass0[] =
2912 #define HPUX8_BOGUS_INLINES_TEST_CT 2
2913 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2914 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
2915 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2918 * Fix Command Arguments for Hpux8_Bogus_Inlines
2920 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2921 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2922 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2923 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2924 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2929 * Description of Hpux_Ctype_Macros fix
2931 tSCC zHpux_Ctype_MacrosName[] =
2932 "hpux_ctype_macros";
2935 * File name selection pattern
2937 tSCC zHpux_Ctype_MacrosList[] =
2940 * Machine/OS name selection pattern
2942 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2945 * content selection pattern - do fix if pattern found
2947 tSCC zHpux_Ctype_MacrosSelect0[] =
2948 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2950 #define HPUX_CTYPE_MACROS_TEST_CT 1
2951 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2952 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2955 * Fix Command Arguments for Hpux_Ctype_Macros
2957 static const char* apzHpux_Ctype_MacrosPatch[] = {
2962 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2964 * Description of Hpux_Htonl fix
2966 tSCC zHpux_HtonlName[] =
2970 * File name selection pattern
2972 tSCC zHpux_HtonlList[] =
2975 * Machine/OS name selection pattern
2977 #define apzHpux_HtonlMachs (const char**)NULL
2980 * content selection pattern - do fix if pattern found
2982 tSCC zHpux_HtonlSelect0[] =
2983 "#ifndef _XOPEN_SOURCE_EXTENDED\n\
2985 \\* Macros for number representation conversion\\.\n\
2989 #define HPUX_HTONL_TEST_CT 1
2990 static tTestDesc aHpux_HtonlTests[] = {
2991 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
2994 * Fix Command Arguments for Hpux_Htonl
2996 static const char* apzHpux_HtonlPatch[] = {
3002 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3004 * Description of Hpux_Long_Double fix
3006 tSCC zHpux_Long_DoubleName[] =
3010 * File name selection pattern
3012 tSCC zHpux_Long_DoubleList[] =
3015 * Machine/OS name selection pattern
3017 #define apzHpux_Long_DoubleMachs (const char**)NULL
3020 * content selection pattern - do fix if pattern found
3022 tSCC zHpux_Long_DoubleSelect0[] =
3023 "extern[ \t]long_double[ \t]strtold";
3026 * content bypass pattern - skip fix if pattern found
3028 tSCC zHpux_Long_DoubleBypass0[] =
3031 #define HPUX_LONG_DOUBLE_TEST_CT 2
3032 static tTestDesc aHpux_Long_DoubleTests[] = {
3033 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3034 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3037 * Fix Command Arguments for Hpux_Long_Double
3039 static const char* apzHpux_Long_DoublePatch[] = { "sed",
3040 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3041 "-e", "s/long_double/long double/g",
3044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3046 * Description of Hpux_Systime fix
3048 tSCC zHpux_SystimeName[] =
3052 * File name selection pattern
3054 tSCC zHpux_SystimeList[] =
3057 * Machine/OS name selection pattern
3059 #define apzHpux_SystimeMachs (const char**)NULL
3062 * content selection pattern - do fix if pattern found
3064 tSCC zHpux_SystimeSelect0[] =
3065 "^extern struct sigevent;";
3067 #define HPUX_SYSTIME_TEST_CT 1
3068 static tTestDesc aHpux_SystimeTests[] = {
3069 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3072 * Fix Command Arguments for Hpux_Systime
3074 static const char* apzHpux_SystimePatch[] = {
3079 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3081 * Description of Hpux_Spu_Info fix
3083 tSCC zHpux_Spu_InfoName[] =
3087 * File name selection pattern
3089 tSCC zHpux_Spu_InfoList[] =
3090 "ia64/sys/getppdp.h\0";
3092 * Machine/OS name selection pattern
3094 tSCC* apzHpux_Spu_InfoMachs[] = {
3096 (const char*)NULL };
3099 * content selection pattern - do fix if pattern found
3101 tSCC zHpux_Spu_InfoSelect0[] =
3102 "^.*extern.*spu_info.*";
3104 #define HPUX_SPU_INFO_TEST_CT 1
3105 static tTestDesc aHpux_Spu_InfoTests[] = {
3106 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3109 * Fix Command Arguments for Hpux_Spu_Info
3111 static const char* apzHpux_Spu_InfoPatch[] = {
3118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3120 * Description of Hpux11_Extern_Sendfile fix
3122 tSCC zHpux11_Extern_SendfileName[] =
3123 "hpux11_extern_sendfile";
3126 * File name selection pattern
3128 tSCC zHpux11_Extern_SendfileList[] =
3131 * Machine/OS name selection pattern
3133 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3134 "*-hp-hpux11.[12]*",
3135 (const char*)NULL };
3138 * content selection pattern - do fix if pattern found
3140 tSCC zHpux11_Extern_SendfileSelect0[] =
3141 "^[ \t]*extern sbsize_t sendfile.*\n\
3144 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3145 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3146 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3149 * Fix Command Arguments for Hpux11_Extern_Sendfile
3151 static const char* apzHpux11_Extern_SendfilePatch[] = {
3153 "#ifndef _APP32_64BIT_OFF_T\n\
3157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3159 * Description of Hpux11_Extern_Sendpath fix
3161 tSCC zHpux11_Extern_SendpathName[] =
3162 "hpux11_extern_sendpath";
3165 * File name selection pattern
3167 tSCC zHpux11_Extern_SendpathList[] =
3170 * Machine/OS name selection pattern
3172 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3173 "*-hp-hpux11.[12]*",
3174 (const char*)NULL };
3177 * content selection pattern - do fix if pattern found
3179 tSCC zHpux11_Extern_SendpathSelect0[] =
3180 "^[ \t]*extern sbsize_t sendpath.*\n\
3183 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3184 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3185 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3188 * Fix Command Arguments for Hpux11_Extern_Sendpath
3190 static const char* apzHpux11_Extern_SendpathPatch[] = {
3192 "#ifndef _APP32_64BIT_OFF_T\n\
3196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3198 * Description of Hpux_Extern_Errno fix
3200 tSCC zHpux_Extern_ErrnoName[] =
3201 "hpux_extern_errno";
3204 * File name selection pattern
3206 tSCC zHpux_Extern_ErrnoList[] =
3209 * Machine/OS name selection pattern
3211 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3213 "*-hp-hpux11.[0-2]*",
3214 (const char*)NULL };
3217 * content selection pattern - do fix if pattern found
3219 tSCC zHpux_Extern_ErrnoSelect0[] =
3220 "^[ \t]*extern int errno;$";
3222 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3223 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3224 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3227 * Fix Command Arguments for Hpux_Extern_Errno
3229 static const char* apzHpux_Extern_ErrnoPatch[] = {
3231 "#ifdef __cplusplus\n\
3235 #ifdef __cplusplus\n\
3240 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3242 * Description of Hpux11_Pthread_Const fix
3244 tSCC zHpux11_Pthread_ConstName[] =
3245 "hpux11_pthread_const";
3248 * File name selection pattern
3250 tSCC zHpux11_Pthread_ConstList[] =
3253 * Machine/OS name selection pattern
3255 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3256 "*-hp-hpux11.[0-3]*",
3257 (const char*)NULL };
3260 * content selection pattern - do fix if pattern found
3262 tSCC zHpux11_Pthread_ConstSelect0[] =
3263 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3265 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3266 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3267 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3270 * Fix Command Arguments for Hpux11_Pthread_Const
3272 static const char* apzHpux11_Pthread_ConstPatch[] = {
3274 "#define __POINTER_SET\t\t((void *) 1L)",
3277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3279 * Description of Hpux_Pthread_Initializers fix
3281 tSCC zHpux_Pthread_InitializersName[] =
3282 "hpux_pthread_initializers";
3285 * File name selection pattern
3287 tSCC zHpux_Pthread_InitializersList[] =
3290 * Machine/OS name selection pattern
3292 tSCC* apzHpux_Pthread_InitializersMachs[] = {
3293 "*-hp-hpux11.[0-3]*",
3294 (const char*)NULL };
3295 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
3296 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
3299 * Fix Command Arguments for Hpux_Pthread_Initializers
3301 static const char* apzHpux_Pthread_InitializersPatch[] = { "sed",
3302 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
3303 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
3304 "-e", "/^[ \t]*0$/d",
3305 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
3306 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
3307 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
3308 "-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\\\\@",
3309 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
3310 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
3311 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
3312 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
3313 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
3314 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
3317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3319 * Description of Huge_Val_Hex fix
3321 tSCC zHuge_Val_HexName[] =
3325 * File name selection pattern
3327 tSCC zHuge_Val_HexList[] =
3328 "bits/huge_val.h\0";
3330 * Machine/OS name selection pattern
3332 #define apzHuge_Val_HexMachs (const char**)NULL
3335 * content selection pattern - do fix if pattern found
3337 tSCC zHuge_Val_HexSelect0[] =
3338 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
3341 * content bypass pattern - skip fix if pattern found
3343 tSCC zHuge_Val_HexBypass0[] =
3344 "__builtin_huge_val";
3346 #define HUGE_VAL_HEX_TEST_CT 2
3347 static tTestDesc aHuge_Val_HexTests[] = {
3348 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
3349 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
3352 * Fix Command Arguments for Huge_Val_Hex
3354 static const char* apzHuge_Val_HexPatch[] = {
3356 "#define HUGE_VAL (__builtin_huge_val())\n",
3359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3361 * Description of Huge_Valf_Hex fix
3363 tSCC zHuge_Valf_HexName[] =
3367 * File name selection pattern
3369 tSCC zHuge_Valf_HexList[] =
3370 "bits/huge_val.h\0";
3372 * Machine/OS name selection pattern
3374 #define apzHuge_Valf_HexMachs (const char**)NULL
3377 * content selection pattern - do fix if pattern found
3379 tSCC zHuge_Valf_HexSelect0[] =
3380 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
3383 * content bypass pattern - skip fix if pattern found
3385 tSCC zHuge_Valf_HexBypass0[] =
3386 "__builtin_huge_valf";
3388 #define HUGE_VALF_HEX_TEST_CT 2
3389 static tTestDesc aHuge_Valf_HexTests[] = {
3390 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
3391 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
3394 * Fix Command Arguments for Huge_Valf_Hex
3396 static const char* apzHuge_Valf_HexPatch[] = {
3398 "#define HUGE_VALF (__builtin_huge_valf())\n",
3401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3403 * Description of Huge_Vall_Hex fix
3405 tSCC zHuge_Vall_HexName[] =
3409 * File name selection pattern
3411 tSCC zHuge_Vall_HexList[] =
3412 "bits/huge_val.h\0";
3414 * Machine/OS name selection pattern
3416 #define apzHuge_Vall_HexMachs (const char**)NULL
3419 * content selection pattern - do fix if pattern found
3421 tSCC zHuge_Vall_HexSelect0[] =
3422 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
3425 * content bypass pattern - skip fix if pattern found
3427 tSCC zHuge_Vall_HexBypass0[] =
3428 "__builtin_huge_vall";
3430 #define HUGE_VALL_HEX_TEST_CT 2
3431 static tTestDesc aHuge_Vall_HexTests[] = {
3432 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
3433 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
3436 * Fix Command Arguments for Huge_Vall_Hex
3438 static const char* apzHuge_Vall_HexPatch[] = {
3440 "#define HUGE_VALL (__builtin_huge_vall())\n",
3443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3445 * Description of Int_Abort_Free_And_Exit fix
3447 tSCC zInt_Abort_Free_And_ExitName[] =
3448 "int_abort_free_and_exit";
3451 * File name selection pattern
3453 tSCC zInt_Abort_Free_And_ExitList[] =
3456 * Machine/OS name selection pattern
3458 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
3461 * content selection pattern - do fix if pattern found
3463 tSCC zInt_Abort_Free_And_ExitSelect0[] =
3464 "int[ \t]+(abort|free|exit)[ \t]*\\(";
3467 * content bypass pattern - skip fix if pattern found
3469 tSCC zInt_Abort_Free_And_ExitBypass0[] =
3470 "_CLASSIC_ANSI_TYPES";
3472 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
3473 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
3474 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
3475 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
3478 * Fix Command Arguments for Int_Abort_Free_And_Exit
3480 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
3485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3487 * Description of Io_Quotes_Def fix
3489 tSCC zIo_Quotes_DefName[] =
3493 * File name selection pattern
3495 #define zIo_Quotes_DefList (char*)NULL
3497 * Machine/OS name selection pattern
3499 #define apzIo_Quotes_DefMachs (const char**)NULL
3502 * content selection pattern - do fix if pattern found
3504 tSCC zIo_Quotes_DefSelect0[] =
3505 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
3507 #define IO_QUOTES_DEF_TEST_CT 1
3508 static tTestDesc aIo_Quotes_DefTests[] = {
3509 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
3512 * Fix Command Arguments for Io_Quotes_Def
3514 static const char* apzIo_Quotes_DefPatch[] = {
3519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3521 * Description of Io_Quotes_Use fix
3523 tSCC zIo_Quotes_UseName[] =
3527 * File name selection pattern
3529 #define zIo_Quotes_UseList (char*)NULL
3531 * Machine/OS name selection pattern
3533 #define apzIo_Quotes_UseMachs (const char**)NULL
3536 * content selection pattern - do fix if pattern found
3538 tSCC zIo_Quotes_UseSelect0[] =
3539 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
3541 #define IO_QUOTES_USE_TEST_CT 1
3542 static tTestDesc aIo_Quotes_UseTests[] = {
3543 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
3546 * Fix Command Arguments for Io_Quotes_Use
3548 static const char* apzIo_Quotes_UsePatch[] = {
3553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3555 * Description of Ip_Missing_Semi fix
3557 tSCC zIp_Missing_SemiName[] =
3561 * File name selection pattern
3563 tSCC zIp_Missing_SemiList[] =
3566 * Machine/OS name selection pattern
3568 #define apzIp_Missing_SemiMachs (const char**)NULL
3571 * content selection pattern - do fix if pattern found
3573 tSCC zIp_Missing_SemiSelect0[] =
3576 #define IP_MISSING_SEMI_TEST_CT 1
3577 static tTestDesc aIp_Missing_SemiTests[] = {
3578 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
3581 * Fix Command Arguments for Ip_Missing_Semi
3583 static const char* apzIp_Missing_SemiPatch[] = { "sed",
3584 "-e", "/^struct/,/^};/s/}$/};/",
3587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3589 * Description of Irix___Restrict fix
3591 tSCC zIrix___RestrictName[] =
3595 * File name selection pattern
3597 tSCC zIrix___RestrictList[] =
3598 "internal/sgimacros.h\0";
3600 * Machine/OS name selection pattern
3602 tSCC* apzIrix___RestrictMachs[] = {
3604 (const char*)NULL };
3607 * content selection pattern - do fix if pattern found
3609 tSCC zIrix___RestrictSelect0[] =
3611 )(#[ \t]*define __restrict restrict)";
3613 #define IRIX___RESTRICT_TEST_CT 1
3614 static tTestDesc aIrix___RestrictTests[] = {
3615 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
3618 * Fix Command Arguments for Irix___Restrict
3620 static const char* apzIrix___RestrictPatch[] = {
3622 "%1# ifndef __cplusplus\n\
3627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3629 * Description of Irix___Generic1 fix
3631 tSCC zIrix___Generic1Name[] =
3635 * File name selection pattern
3637 tSCC zIrix___Generic1List[] =
3638 "internal/math_core.h\0";
3640 * Machine/OS name selection pattern
3642 tSCC* apzIrix___Generic1Machs[] = {
3644 (const char*)NULL };
3647 * content selection pattern - do fix if pattern found
3649 tSCC zIrix___Generic1Select0[] =
3650 "#define ([a-z]+)\\(x\\) *__generic.*";
3652 #define IRIX___GENERIC1_TEST_CT 1
3653 static tTestDesc aIrix___Generic1Tests[] = {
3654 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
3657 * Fix Command Arguments for Irix___Generic1
3659 static const char* apzIrix___Generic1Patch[] = {
3661 "extern int %1(double);\n\
3662 extern int %1f(float);\n\
3663 extern int %1l(long double);\n\
3664 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
3665 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
3669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3671 * Description of Irix___Generic2 fix
3673 tSCC zIrix___Generic2Name[] =
3677 * File name selection pattern
3679 tSCC zIrix___Generic2List[] =
3680 "internal/math_core.h\0";
3682 * Machine/OS name selection pattern
3684 tSCC* apzIrix___Generic2Machs[] = {
3686 (const char*)NULL };
3689 * content selection pattern - do fix if pattern found
3691 tSCC zIrix___Generic2Select0[] =
3692 "#define ([a-z]+)\\(x,y\\) *__generic.*";
3694 #define IRIX___GENERIC2_TEST_CT 1
3695 static tTestDesc aIrix___Generic2Tests[] = {
3696 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
3699 * Fix Command Arguments for Irix___Generic2
3701 static const char* apzIrix___Generic2Patch[] = {
3703 "#define %1(x,y) \\\n\
3704 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
3705 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
3709 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3711 * Description of Irix_Asm_Apostrophe fix
3713 tSCC zIrix_Asm_ApostropheName[] =
3714 "irix_asm_apostrophe";
3717 * File name selection pattern
3719 tSCC zIrix_Asm_ApostropheList[] =
3722 * Machine/OS name selection pattern
3724 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
3727 * content selection pattern - do fix if pattern found
3729 tSCC zIrix_Asm_ApostropheSelect0[] =
3730 "^[ \t]*#.*[Ww]e're";
3732 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
3733 static tTestDesc aIrix_Asm_ApostropheTests[] = {
3734 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
3737 * Fix Command Arguments for Irix_Asm_Apostrophe
3739 static const char* apzIrix_Asm_ApostrophePatch[] = {
3742 "^([ \t]*#.*[Ww]e)'re",
3745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3747 * Description of Irix_Limits_Const fix
3749 tSCC zIrix_Limits_ConstName[] =
3750 "irix_limits_const";
3753 * File name selection pattern
3755 tSCC zIrix_Limits_ConstList[] =
3756 "fixinc-test-limits.h\0limits.h\0";
3758 * Machine/OS name selection pattern
3760 #define apzIrix_Limits_ConstMachs (const char**)NULL
3763 * content selection pattern - do fix if pattern found
3765 tSCC zIrix_Limits_ConstSelect0[] =
3768 #define IRIX_LIMITS_CONST_TEST_CT 1
3769 static tTestDesc aIrix_Limits_ConstTests[] = {
3770 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3773 * Fix Command Arguments for Irix_Limits_Const
3775 static const char* apzIrix_Limits_ConstPatch[] = {
3780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3782 * Description of Irix_Socklen_T fix
3784 tSCC zIrix_Socklen_TName[] =
3788 * File name selection pattern
3790 tSCC zIrix_Socklen_TList[] =
3793 * Machine/OS name selection pattern
3795 tSCC* apzIrix_Socklen_TMachs[] = {
3797 (const char*)NULL };
3800 * content selection pattern - do fix if pattern found
3802 tSCC zIrix_Socklen_TSelect0[] =
3803 "(#define _SOCKLEN_T\n\
3804 )(typedef u_int32_t socklen_t;)";
3806 #define IRIX_SOCKLEN_T_TEST_CT 1
3807 static tTestDesc aIrix_Socklen_TTests[] = {
3808 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3811 * Fix Command Arguments for Irix_Socklen_T
3813 static const char* apzIrix_Socklen_TPatch[] = {
3815 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3816 typedef int socklen_t;\n\
3819 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3824 * Description of Irix_Stdint_C99 fix
3826 tSCC zIrix_Stdint_C99Name[] =
3830 * File name selection pattern
3832 tSCC zIrix_Stdint_C99List[] =
3835 * Machine/OS name selection pattern
3837 tSCC* apzIrix_Stdint_C99Machs[] = {
3839 (const char*)NULL };
3842 * content selection pattern - do fix if pattern found
3844 tSCC zIrix_Stdint_C99Select0[] =
3846 )(#error This header file is to be used only for c99 mode compilations)";
3848 #define IRIX_STDINT_C99_TEST_CT 1
3849 static tTestDesc aIrix_Stdint_C99Tests[] = {
3850 { TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
3853 * Fix Command Arguments for Irix_Stdint_C99
3855 static const char* apzIrix_Stdint_C99Patch[] = {
3861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3863 * Description of Irix_Stdio_Va_List fix
3865 tSCC zIrix_Stdio_Va_ListName[] =
3866 "irix_stdio_va_list";
3869 * File name selection pattern
3871 tSCC zIrix_Stdio_Va_ListList[] =
3872 "stdio.h\0internal/stdio_core.h\0";
3874 * Machine/OS name selection pattern
3876 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3879 * content selection pattern - do fix if pattern found
3881 tSCC zIrix_Stdio_Va_ListSelect0[] =
3882 "/\\* va_list \\*/ char \\*";
3884 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3885 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3886 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3889 * Fix Command Arguments for Irix_Stdio_Va_List
3891 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3898 * Description of Irix_Wcsftime fix
3900 tSCC zIrix_WcsftimeName[] =
3904 * File name selection pattern
3906 tSCC zIrix_WcsftimeList[] =
3907 "internal/wchar_core.h\0";
3909 * Machine/OS name selection pattern
3911 tSCC* apzIrix_WcsftimeMachs[] = {
3913 (const char*)NULL };
3916 * content selection pattern - do fix if pattern found
3918 tSCC zIrix_WcsftimeSelect0[] =
3920 (extern size_t[ \t]+wcsftime.*const char *.*)";
3922 #define IRIX_WCSFTIME_TEST_CT 1
3923 static tTestDesc aIrix_WcsftimeTests[] = {
3924 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3927 * Fix Command Arguments for Irix_Wcsftime
3929 static const char* apzIrix_WcsftimePatch[] = {
3931 "#if _NO_XOPEN5 && !defined(__c99)\n\
3935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3937 * Description of Isc_Fmod fix
3939 tSCC zIsc_FmodName[] =
3943 * File name selection pattern
3945 tSCC zIsc_FmodList[] =
3948 * Machine/OS name selection pattern
3950 #define apzIsc_FmodMachs (const char**)NULL
3953 * content selection pattern - do fix if pattern found
3955 tSCC zIsc_FmodSelect0[] =
3958 #define ISC_FMOD_TEST_CT 1
3959 static tTestDesc aIsc_FmodTests[] = {
3960 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3963 * Fix Command Arguments for Isc_Fmod
3965 static const char* apzIsc_FmodPatch[] = {
3967 "fmod(double, double)",
3970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3972 * Description of Isc_Omits_With_Stdc fix
3974 tSCC zIsc_Omits_With_StdcName[] =
3975 "isc_omits_with_stdc";
3978 * File name selection pattern
3980 tSCC zIsc_Omits_With_StdcList[] =
3981 "stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
3983 * Machine/OS name selection pattern
3985 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3988 * content selection pattern - do fix if pattern found
3990 tSCC zIsc_Omits_With_StdcSelect0[] =
3991 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3993 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3994 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3995 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3998 * Fix Command Arguments for Isc_Omits_With_Stdc
4000 static const char* apzIsc_Omits_With_StdcPatch[] = {
4002 "!defined(_POSIX_SOURCE)",
4005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4007 * Description of Kandr_Concat fix
4009 tSCC zKandr_ConcatName[] =
4013 * File name selection pattern
4015 tSCC zKandr_ConcatList[] =
4016 "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";
4018 * Machine/OS name selection pattern
4020 #define apzKandr_ConcatMachs (const char**)NULL
4023 * content selection pattern - do fix if pattern found
4025 tSCC zKandr_ConcatSelect0[] =
4028 #define KANDR_CONCAT_TEST_CT 1
4029 static tTestDesc aKandr_ConcatTests[] = {
4030 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4033 * Fix Command Arguments for Kandr_Concat
4035 static const char* apzKandr_ConcatPatch[] = {
4040 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4042 * Description of Linux_Ia64_Ucontext fix
4044 tSCC zLinux_Ia64_UcontextName[] =
4045 "linux_ia64_ucontext";
4048 * File name selection pattern
4050 tSCC zLinux_Ia64_UcontextList[] =
4053 * Machine/OS name selection pattern
4055 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4057 (const char*)NULL };
4060 * content selection pattern - do fix if pattern found
4062 tSCC zLinux_Ia64_UcontextSelect0[] =
4063 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4065 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4066 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4067 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4070 * Fix Command Arguments for Linux_Ia64_Ucontext
4072 static const char* apzLinux_Ia64_UcontextPatch[] = {
4074 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4079 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4081 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4082 "lynxos_no_warning_in_sys_time_h";
4085 * File name selection pattern
4087 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4090 * Machine/OS name selection pattern
4092 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4095 * content selection pattern - do fix if pattern found
4097 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4098 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4100 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4101 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4102 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4105 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4107 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4114 * Description of Lynxos_Missing_Putenv fix
4116 tSCC zLynxos_Missing_PutenvName[] =
4117 "lynxos_missing_putenv";
4120 * File name selection pattern
4122 tSCC zLynxos_Missing_PutenvList[] =
4125 * Machine/OS name selection pattern
4127 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4129 (const char*)NULL };
4132 * content selection pattern - do fix if pattern found
4134 tSCC zLynxos_Missing_PutenvSelect0[] =
4135 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4138 * content bypass pattern - skip fix if pattern found
4140 tSCC zLynxos_Missing_PutenvBypass0[] =
4143 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4144 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4145 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4146 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4149 * Fix Command Arguments for Lynxos_Missing_Putenv
4151 static const char* apzLynxos_Missing_PutenvPatch[] = {
4154 extern int putenv\t\t\t\t_AP((char *));",
4155 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4160 * Description of Machine_Ansi_H_Va_List fix
4162 tSCC zMachine_Ansi_H_Va_ListName[] =
4163 "machine_ansi_h_va_list";
4166 * File name selection pattern
4168 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4170 * Machine/OS name selection pattern
4172 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4175 * content selection pattern - do fix if pattern found
4177 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4178 "define[ \t]+_BSD_VA_LIST_[ \t]";
4181 * content bypass pattern - skip fix if pattern found
4183 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4184 "__builtin_va_list";
4186 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4187 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4188 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4189 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4192 * Fix Command Arguments for Machine_Ansi_H_Va_List
4194 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4196 "%1__builtin_va_list",
4197 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4202 * Description of Machine_Name fix
4204 tSCC zMachine_NameName[] =
4208 * File name selection pattern
4210 #define zMachine_NameList (char*)NULL
4212 * Machine/OS name selection pattern
4214 #define apzMachine_NameMachs (const char**)NULL
4217 * perform the C function call test
4219 tSCC zMachine_NameFTst0[] = "machine_name";
4221 #define MACHINE_NAME_TEST_CT 1
4222 static tTestDesc aMachine_NameTests[] = {
4223 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4226 * Fix Command Arguments for Machine_Name
4228 static const char* apzMachine_NamePatch[] = {
4232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4234 * Description of Math_Exception fix
4236 tSCC zMath_ExceptionName[] =
4240 * File name selection pattern
4242 tSCC zMath_ExceptionList[] =
4245 * Machine/OS name selection pattern
4247 #define apzMath_ExceptionMachs (const char**)NULL
4250 * content selection pattern - do fix if pattern found
4252 tSCC zMath_ExceptionSelect0[] =
4256 * content bypass pattern - skip fix if pattern found
4258 tSCC zMath_ExceptionBypass0[] =
4259 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4261 #define MATH_EXCEPTION_TEST_CT 2
4262 static tTestDesc aMath_ExceptionTests[] = {
4263 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4264 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4267 * Fix Command Arguments for Math_Exception
4269 static const char* apzMath_ExceptionPatch[] = {
4271 "#ifdef __cplusplus\n\
4272 #define exception __math_exception\n\
4274 "#ifdef __cplusplus\n\
4279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4281 * Description of Math_Huge_Val_From_Dbl_Max fix
4283 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4284 "math_huge_val_from_dbl_max";
4287 * File name selection pattern
4289 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4292 * Machine/OS name selection pattern
4294 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4297 * content selection pattern - do fix if pattern found
4299 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4300 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4303 * content bypass pattern - skip fix if pattern found
4305 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4306 "define[ \t]+DBL_MAX";
4308 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4309 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4310 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4311 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4314 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4316 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4317 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4318 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4319 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4326 * Description of Nested_Auth_Des fix
4328 tSCC zNested_Auth_DesName[] =
4332 * File name selection pattern
4334 tSCC zNested_Auth_DesList[] =
4337 * Machine/OS name selection pattern
4339 #define apzNested_Auth_DesMachs (const char**)NULL
4342 * content selection pattern - do fix if pattern found
4344 tSCC zNested_Auth_DesSelect0[] =
4345 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4347 #define NESTED_AUTH_DES_TEST_CT 1
4348 static tTestDesc aNested_Auth_DesTests[] = {
4349 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4352 * Fix Command Arguments for Nested_Auth_Des
4354 static const char* apzNested_Auth_DesPatch[] = {
4359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4361 * Description of Nested_Sys_Limits fix
4363 tSCC zNested_Sys_LimitsName[] =
4364 "nested_sys_limits";
4367 * File name selection pattern
4369 tSCC zNested_Sys_LimitsList[] =
4372 * Machine/OS name selection pattern
4374 #define apzNested_Sys_LimitsMachs (const char**)NULL
4377 * content selection pattern - do fix if pattern found
4379 tSCC zNested_Sys_LimitsSelect0[] =
4382 #define NESTED_SYS_LIMITS_TEST_CT 1
4383 static tTestDesc aNested_Sys_LimitsTests[] = {
4384 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
4387 * Fix Command Arguments for Nested_Sys_Limits
4389 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
4390 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
4391 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
4394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4396 * Description of Netbsd_C99_Inline_1 fix
4398 tSCC zNetbsd_C99_Inline_1Name[] =
4399 "netbsd_c99_inline_1";
4402 * File name selection pattern
4404 tSCC zNetbsd_C99_Inline_1List[] =
4407 * Machine/OS name selection pattern
4409 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4411 (const char*)NULL };
4414 * content selection pattern - do fix if pattern found
4416 tSCC zNetbsd_C99_Inline_1Select0[] =
4417 "extern __inline int";
4419 #define NETBSD_C99_INLINE_1_TEST_CT 1
4420 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4421 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4424 * Fix Command Arguments for Netbsd_C99_Inline_1
4426 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4429 #ifdef __GNUC_STDC_INLINE__\n\
4430 __attribute__((__gnu_inline__))\n\
4435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4437 * Description of Netbsd_C99_Inline_2 fix
4439 tSCC zNetbsd_C99_Inline_2Name[] =
4440 "netbsd_c99_inline_2";
4443 * File name selection pattern
4445 tSCC zNetbsd_C99_Inline_2List[] =
4448 * Machine/OS name selection pattern
4450 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
4452 (const char*)NULL };
4455 * content selection pattern - do fix if pattern found
4457 tSCC zNetbsd_C99_Inline_2Select0[] =
4458 "#define _SIGINLINE extern __inline";
4460 #define NETBSD_C99_INLINE_2_TEST_CT 1
4461 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
4462 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
4465 * Fix Command Arguments for Netbsd_C99_Inline_2
4467 static const char* apzNetbsd_C99_Inline_2Patch[] = {
4469 "#ifdef __GNUC_STDC_INLINE__\n\
4470 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
4476 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4478 * Description of Netbsd_Extra_Semicolon fix
4480 tSCC zNetbsd_Extra_SemicolonName[] =
4481 "netbsd_extra_semicolon";
4484 * File name selection pattern
4486 tSCC zNetbsd_Extra_SemicolonList[] =
4489 * Machine/OS name selection pattern
4491 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
4493 (const char*)NULL };
4496 * content selection pattern - do fix if pattern found
4498 tSCC zNetbsd_Extra_SemicolonSelect0[] =
4499 "#define[ \t]*__END_DECLS[ \t]*};";
4501 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
4502 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
4503 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
4506 * Fix Command Arguments for Netbsd_Extra_Semicolon
4508 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
4510 "#define __END_DECLS }",
4513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4515 * Description of Next_Math_Prefix fix
4517 tSCC zNext_Math_PrefixName[] =
4521 * File name selection pattern
4523 tSCC zNext_Math_PrefixList[] =
4526 * Machine/OS name selection pattern
4528 #define apzNext_Math_PrefixMachs (const char**)NULL
4531 * content selection pattern - do fix if pattern found
4533 tSCC zNext_Math_PrefixSelect0[] =
4534 "^extern[ \t]+double[ \t]+__const__[ \t]";
4536 #define NEXT_MATH_PREFIX_TEST_CT 1
4537 static tTestDesc aNext_Math_PrefixTests[] = {
4538 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
4541 * Fix Command Arguments for Next_Math_Prefix
4543 static const char* apzNext_Math_PrefixPatch[] = {
4545 "extern double %1(",
4546 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
4549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4551 * Description of Next_Template fix
4553 tSCC zNext_TemplateName[] =
4557 * File name selection pattern
4559 tSCC zNext_TemplateList[] =
4562 * Machine/OS name selection pattern
4564 #define apzNext_TemplateMachs (const char**)NULL
4567 * content selection pattern - do fix if pattern found
4569 tSCC zNext_TemplateSelect0[] =
4572 #define NEXT_TEMPLATE_TEST_CT 1
4573 static tTestDesc aNext_TemplateTests[] = {
4574 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
4577 * Fix Command Arguments for Next_Template
4579 static const char* apzNext_TemplatePatch[] = {
4582 "\\(([^)]*)[ \t]template\\)",
4585 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4587 * Description of Next_Volitile fix
4589 tSCC zNext_VolitileName[] =
4593 * File name selection pattern
4595 tSCC zNext_VolitileList[] =
4598 * Machine/OS name selection pattern
4600 #define apzNext_VolitileMachs (const char**)NULL
4603 * content selection pattern - do fix if pattern found
4605 tSCC zNext_VolitileSelect0[] =
4606 "^extern[ \t]+volatile[ \t]+void[ \t]";
4608 #define NEXT_VOLITILE_TEST_CT 1
4609 static tTestDesc aNext_VolitileTests[] = {
4610 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
4613 * Fix Command Arguments for Next_Volitile
4615 static const char* apzNext_VolitilePatch[] = {
4618 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
4621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4623 * Description of Next_Wait_Union fix
4625 tSCC zNext_Wait_UnionName[] =
4629 * File name selection pattern
4631 tSCC zNext_Wait_UnionList[] =
4634 * Machine/OS name selection pattern
4636 #define apzNext_Wait_UnionMachs (const char**)NULL
4639 * content selection pattern - do fix if pattern found
4641 tSCC zNext_Wait_UnionSelect0[] =
4642 "wait\\(union wait";
4644 #define NEXT_WAIT_UNION_TEST_CT 1
4645 static tTestDesc aNext_Wait_UnionTests[] = {
4646 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
4649 * Fix Command Arguments for Next_Wait_Union
4651 static const char* apzNext_Wait_UnionPatch[] = {
4656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4658 * Description of Nodeent_Syntax fix
4660 tSCC zNodeent_SyntaxName[] =
4664 * File name selection pattern
4666 tSCC zNodeent_SyntaxList[] =
4667 "netdnet/dnetdb.h\0";
4669 * Machine/OS name selection pattern
4671 #define apzNodeent_SyntaxMachs (const char**)NULL
4674 * content selection pattern - do fix if pattern found
4676 tSCC zNodeent_SyntaxSelect0[] =
4677 "char[ \t]*\\*na_addr[ \t]*$";
4679 #define NODEENT_SYNTAX_TEST_CT 1
4680 static tTestDesc aNodeent_SyntaxTests[] = {
4681 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4684 * Fix Command Arguments for Nodeent_Syntax
4686 static const char* apzNodeent_SyntaxPatch[] = {
4691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4693 * Description of Obstack_Lvalue_Cast fix
4695 tSCC zObstack_Lvalue_CastName[] =
4696 "obstack_lvalue_cast";
4699 * File name selection pattern
4701 tSCC zObstack_Lvalue_CastList[] =
4704 * Machine/OS name selection pattern
4706 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4709 * content selection pattern - do fix if pattern found
4711 tSCC zObstack_Lvalue_CastSelect0[] =
4712 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4714 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4715 static tTestDesc aObstack_Lvalue_CastTests[] = {
4716 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4719 * Fix Command Arguments for Obstack_Lvalue_Cast
4721 static const char* apzObstack_Lvalue_CastPatch[] = {
4723 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4728 * Description of Osf_Namespace_A fix
4730 tSCC zOsf_Namespace_AName[] =
4734 * File name selection pattern
4736 tSCC zOsf_Namespace_AList[] =
4737 "reg_types.h\0sys/lc_core.h\0";
4739 * Machine/OS name selection pattern
4741 #define apzOsf_Namespace_AMachs (const char**)NULL
4744 * perform the 'test' shell command - do fix on success
4746 tSCC zOsf_Namespace_ATest0[] =
4748 tSCC zOsf_Namespace_ATest1[] =
4749 " -r sys/lc_core.h";
4750 tSCC zOsf_Namespace_ATest2[] =
4751 " -n \"`grep '} regex_t;' reg_types.h`\"";
4752 tSCC zOsf_Namespace_ATest3[] =
4753 " -z \"`grep __regex_t regex.h`\"";
4755 #define OSF_NAMESPACE_A_TEST_CT 4
4756 static tTestDesc aOsf_Namespace_ATests[] = {
4757 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4758 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4759 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4760 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4763 * Fix Command Arguments for Osf_Namespace_A
4765 static const char* apzOsf_Namespace_APatch[] = {
4768 "reg(ex|off|match)_t",
4771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4773 * Description of Osf_Namespace_C fix
4775 tSCC zOsf_Namespace_CName[] =
4779 * File name selection pattern
4781 tSCC zOsf_Namespace_CList[] =
4784 * Machine/OS name selection pattern
4786 #define apzOsf_Namespace_CMachs (const char**)NULL
4789 * content selection pattern - do fix if pattern found
4791 tSCC zOsf_Namespace_CSelect0[] =
4792 "#include <reg_types.h>.*";
4795 * perform the 'test' shell command - do fix on success
4797 tSCC zOsf_Namespace_CTest0[] =
4799 tSCC zOsf_Namespace_CTest1[] =
4800 " -r sys/lc_core.h";
4801 tSCC zOsf_Namespace_CTest2[] =
4802 " -n \"`grep '} regex_t;' reg_types.h`\"";
4803 tSCC zOsf_Namespace_CTest3[] =
4804 " -z \"`grep __regex_t regex.h`\"";
4806 #define OSF_NAMESPACE_C_TEST_CT 5
4807 static tTestDesc aOsf_Namespace_CTests[] = {
4808 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4809 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4810 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4811 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4812 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4815 * Fix Command Arguments for Osf_Namespace_C
4817 static const char* apzOsf_Namespace_CPatch[] = {
4820 typedef __regex_t\tregex_t;\n\
4821 typedef __regoff_t\tregoff_t;\n\
4822 typedef __regmatch_t\tregmatch_t;",
4825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4827 * Description of Pthread_Page_Size fix
4829 tSCC zPthread_Page_SizeName[] =
4830 "pthread_page_size";
4833 * File name selection pattern
4835 tSCC zPthread_Page_SizeList[] =
4838 * Machine/OS name selection pattern
4840 #define apzPthread_Page_SizeMachs (const char**)NULL
4843 * content selection pattern - do fix if pattern found
4845 tSCC zPthread_Page_SizeSelect0[] =
4848 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4849 static tTestDesc aPthread_Page_SizeTests[] = {
4850 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4853 * Fix Command Arguments for Pthread_Page_Size
4855 static const char* apzPthread_Page_SizePatch[] = {
4860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4862 * Description of Pthread_Incomplete_Struct_Argument fix
4864 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
4865 "pthread_incomplete_struct_argument";
4868 * File name selection pattern
4870 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
4873 * Machine/OS name selection pattern
4875 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
4878 * content selection pattern - do fix if pattern found
4880 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
4881 "struct __jmp_buf_tag";
4883 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
4884 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
4885 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
4888 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
4890 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
4893 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
4896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4898 * Description of Read_Ret_Type fix
4900 tSCC zRead_Ret_TypeName[] =
4904 * File name selection pattern
4906 tSCC zRead_Ret_TypeList[] =
4909 * Machine/OS name selection pattern
4911 #define apzRead_Ret_TypeMachs (const char**)NULL
4914 * content selection pattern - do fix if pattern found
4916 tSCC zRead_Ret_TypeSelect0[] =
4917 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4919 #define READ_RET_TYPE_TEST_CT 1
4920 static tTestDesc aRead_Ret_TypeTests[] = {
4921 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4924 * Fix Command Arguments for Read_Ret_Type
4926 static const char* apzRead_Ret_TypePatch[] = {
4928 "extern unsigned int fread(), fwrite();\n\
4930 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4935 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4937 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4938 "rpc_xdr_lvalue_cast_a";
4941 * File name selection pattern
4943 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4946 * Machine/OS name selection pattern
4948 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4951 * content selection pattern - do fix if pattern found
4953 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4954 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4957 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4958 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4959 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4962 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4964 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4966 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4971 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4973 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4974 "rpc_xdr_lvalue_cast_b";
4977 * File name selection pattern
4979 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4982 * Machine/OS name selection pattern
4984 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4987 * content selection pattern - do fix if pattern found
4989 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4990 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4993 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4994 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4995 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4998 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5000 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5002 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5007 * Description of Rs6000_Double fix
5009 tSCC zRs6000_DoubleName[] =
5013 * File name selection pattern
5015 tSCC zRs6000_DoubleList[] =
5018 * Machine/OS name selection pattern
5020 #define apzRs6000_DoubleMachs (const char**)NULL
5023 * content selection pattern - do fix if pattern found
5025 tSCC zRs6000_DoubleSelect0[] =
5026 "[^a-zA-Z_]class\\(";
5028 #define RS6000_DOUBLE_TEST_CT 1
5029 static tTestDesc aRs6000_DoubleTests[] = {
5030 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5033 * Fix Command Arguments for Rs6000_Double
5035 static const char* apzRs6000_DoublePatch[] = {
5037 "#ifndef __cplusplus\n\
5040 "^.*[^a-zA-Z_]class\\(.*",
5043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5045 * Description of Rs6000_Fchmod fix
5047 tSCC zRs6000_FchmodName[] =
5051 * File name selection pattern
5053 tSCC zRs6000_FchmodList[] =
5056 * Machine/OS name selection pattern
5058 #define apzRs6000_FchmodMachs (const char**)NULL
5061 * content selection pattern - do fix if pattern found
5063 tSCC zRs6000_FchmodSelect0[] =
5064 "fchmod\\(char \\*";
5066 #define RS6000_FCHMOD_TEST_CT 1
5067 static tTestDesc aRs6000_FchmodTests[] = {
5068 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5071 * Fix Command Arguments for Rs6000_Fchmod
5073 static const char* apzRs6000_FchmodPatch[] = {
5078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5080 * Description of Rs6000_Param fix
5082 tSCC zRs6000_ParamName[] =
5086 * File name selection pattern
5088 tSCC zRs6000_ParamList[] =
5089 "stdio.h\0unistd.h\0";
5091 * Machine/OS name selection pattern
5093 #define apzRs6000_ParamMachs (const char**)NULL
5096 * content selection pattern - do fix if pattern found
5098 tSCC zRs6000_ParamSelect0[] =
5099 "rename\\(const char \\*old, const char \\*new\\)";
5101 #define RS6000_PARAM_TEST_CT 1
5102 static tTestDesc aRs6000_ParamTests[] = {
5103 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5106 * Fix Command Arguments for Rs6000_Param
5108 static const char* apzRs6000_ParamPatch[] = {
5110 "rename(const char *_old, const char *_new)",
5113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5115 * Description of Sco_Math fix
5117 tSCC zSco_MathName[] =
5121 * File name selection pattern
5123 tSCC zSco_MathList[] =
5124 "math.h\0*/math.h\0";
5126 * Machine/OS name selection pattern
5128 #define apzSco_MathMachs (const char**)NULL
5131 * content selection pattern - do fix if pattern found
5133 tSCC zSco_MathSelect0[] =
5134 "inline double abs";
5137 * content bypass pattern - skip fix if pattern found
5139 tSCC zSco_MathBypass0[] =
5142 #define SCO_MATH_TEST_CT 2
5143 static tTestDesc aSco_MathTests[] = {
5144 { TT_NEGREP, zSco_MathBypass0, (regex_t*)NULL },
5145 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
5148 * Fix Command Arguments for Sco_Math
5150 static const char* apzSco_MathPatch[] = { "sed",
5151 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
5152 #ifndef __GNUC__\n",
5153 "-e", "/.*__builtin_generic/a\\\n\
5155 #define __fp_class(a) \\\\\\\n\
5156 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
5157 __fpclassifyl(a), \\\\\\\n\
5158 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
5159 __fpclassifyf(a),__fpclassify(a)))\\\n\
5161 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
5162 #ifndef __GNUC__\n",
5163 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
5164 #endif /* ! __GNUC__ */",
5167 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5169 * Description of Solaris_Math_1 fix
5171 tSCC zSolaris_Math_1Name[] =
5175 * File name selection pattern
5177 tSCC zSolaris_Math_1List[] =
5180 * Machine/OS name selection pattern
5182 #define apzSolaris_Math_1Machs (const char**)NULL
5185 * content selection pattern - do fix if pattern found
5187 tSCC zSolaris_Math_1Select0[] =
5188 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5191 * content bypass pattern - skip fix if pattern found
5193 tSCC zSolaris_Math_1Bypass0[] =
5196 #define SOLARIS_MATH_1_TEST_CT 2
5197 static tTestDesc aSolaris_Math_1Tests[] = {
5198 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
5199 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
5202 * Fix Command Arguments for Solaris_Math_1
5204 static const char* apzSolaris_Math_1Patch[] = {
5206 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
5207 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
5210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5212 * Description of Solaris_Math_2 fix
5214 tSCC zSolaris_Math_2Name[] =
5218 * File name selection pattern
5220 tSCC zSolaris_Math_2List[] =
5223 * Machine/OS name selection pattern
5225 #define apzSolaris_Math_2Machs (const char**)NULL
5228 * content selection pattern - do fix if pattern found
5230 tSCC zSolaris_Math_2Select0[] =
5231 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5234 * content bypass pattern - skip fix if pattern found
5236 tSCC zSolaris_Math_2Bypass0[] =
5239 #define SOLARIS_MATH_2_TEST_CT 2
5240 static tTestDesc aSolaris_Math_2Tests[] = {
5241 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
5242 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
5245 * Fix Command Arguments for Solaris_Math_2
5247 static const char* apzSolaris_Math_2Patch[] = {
5249 "#define\tINFINITY\t(__builtin_inff())",
5250 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
5253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5255 * Description of Solaris_Math_3 fix
5257 tSCC zSolaris_Math_3Name[] =
5261 * File name selection pattern
5263 tSCC zSolaris_Math_3List[] =
5266 * Machine/OS name selection pattern
5268 #define apzSolaris_Math_3Machs (const char**)NULL
5271 * content selection pattern - do fix if pattern found
5273 tSCC zSolaris_Math_3Select0[] =
5274 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5277 * content bypass pattern - skip fix if pattern found
5279 tSCC zSolaris_Math_3Bypass0[] =
5282 #define SOLARIS_MATH_3_TEST_CT 2
5283 static tTestDesc aSolaris_Math_3Tests[] = {
5284 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
5285 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
5288 * Fix Command Arguments for Solaris_Math_3
5290 static const char* apzSolaris_Math_3Patch[] = {
5292 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
5293 "^#define[ \t]+NAN[ \t]+__builtin_nan",
5296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5298 * Description of Solaris_Math_4 fix
5300 tSCC zSolaris_Math_4Name[] =
5304 * File name selection pattern
5306 tSCC zSolaris_Math_4List[] =
5309 * Machine/OS name selection pattern
5311 #define apzSolaris_Math_4Machs (const char**)NULL
5314 * content selection pattern - do fix if pattern found
5316 tSCC zSolaris_Math_4Select0[] =
5317 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5320 * content bypass pattern - skip fix if pattern found
5322 tSCC zSolaris_Math_4Bypass0[] =
5325 #define SOLARIS_MATH_4_TEST_CT 2
5326 static tTestDesc aSolaris_Math_4Tests[] = {
5327 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
5328 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
5331 * Fix Command Arguments for Solaris_Math_4
5333 static const char* apzSolaris_Math_4Patch[] = {
5335 "#define\tfpclassify(x) \\\n\
5336 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
5337 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
5340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5342 * Description of Solaris_Math_8 fix
5344 tSCC zSolaris_Math_8Name[] =
5348 * File name selection pattern
5350 tSCC zSolaris_Math_8List[] =
5353 * Machine/OS name selection pattern
5355 #define apzSolaris_Math_8Machs (const char**)NULL
5358 * content selection pattern - do fix if pattern found
5360 tSCC zSolaris_Math_8Select0[] =
5361 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5364 * content bypass pattern - skip fix if pattern found
5366 tSCC zSolaris_Math_8Bypass0[] =
5369 #define SOLARIS_MATH_8_TEST_CT 2
5370 static tTestDesc aSolaris_Math_8Tests[] = {
5371 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
5372 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
5375 * Fix Command Arguments for Solaris_Math_8
5377 static const char* apzSolaris_Math_8Patch[] = {
5379 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
5380 \t\t\t ? __builtin_signbitf(x) \\\n\
5381 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
5382 \t\t\t ? __builtin_signbitl(x) \\\n\
5383 \t\t\t : __builtin_signbit(x))",
5384 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
5387 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5389 * Description of Solaris_Math_9 fix
5391 tSCC zSolaris_Math_9Name[] =
5395 * File name selection pattern
5397 tSCC zSolaris_Math_9List[] =
5400 * Machine/OS name selection pattern
5402 #define apzSolaris_Math_9Machs (const char**)NULL
5405 * content selection pattern - do fix if pattern found
5407 tSCC zSolaris_Math_9Select0[] =
5408 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5411 * content bypass pattern - skip fix if pattern found
5413 tSCC zSolaris_Math_9Bypass0[] =
5416 #define SOLARIS_MATH_9_TEST_CT 2
5417 static tTestDesc aSolaris_Math_9Tests[] = {
5418 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
5419 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
5422 * Fix Command Arguments for Solaris_Math_9
5424 static const char* apzSolaris_Math_9Patch[] = {
5426 "#define\t%1(x, y)%2__builtin_%1(x, y)",
5427 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
5430 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5432 * Description of Solaris_Math_10 fix
5434 tSCC zSolaris_Math_10Name[] =
5438 * File name selection pattern
5440 tSCC zSolaris_Math_10List[] =
5443 * Machine/OS name selection pattern
5445 #define apzSolaris_Math_10Machs (const char**)NULL
5448 * content selection pattern - do fix if pattern found
5450 tSCC zSolaris_Math_10Select0[] =
5451 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5453 #define SOLARIS_MATH_10_TEST_CT 1
5454 static tTestDesc aSolaris_Math_10Tests[] = {
5455 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
5458 * Fix Command Arguments for Solaris_Math_10
5460 static const char* apzSolaris_Math_10Patch[] = {
5462 "#define\tisinf(x) __builtin_isinf(x)",
5463 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
5464 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
5465 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
5466 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
5469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5471 * Description of Solaris_Mutex_Init_2 fix
5473 tSCC zSolaris_Mutex_Init_2Name[] =
5474 "solaris_mutex_init_2";
5477 * File name selection pattern
5479 tSCC zSolaris_Mutex_Init_2List[] =
5482 * Machine/OS name selection pattern
5484 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
5485 "*-*-solaris2.[0-9]",
5486 "*-*-solaris2.[0-9][!0-9]*",
5487 (const char*)NULL };
5490 * content selection pattern - do fix if pattern found
5492 tSCC zSolaris_Mutex_Init_2Select0[] =
5493 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5495 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
5496 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
5497 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
5500 * Fix Command Arguments for Solaris_Mutex_Init_2
5502 static const char* apzSolaris_Mutex_Init_2Patch[] = {
5504 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5509 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
5510 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
5513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5515 * Description of Solaris_Rwlock_Init_1 fix
5517 tSCC zSolaris_Rwlock_Init_1Name[] =
5518 "solaris_rwlock_init_1";
5521 * File name selection pattern
5523 tSCC zSolaris_Rwlock_Init_1List[] =
5526 * Machine/OS name selection pattern
5528 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
5530 (const char*)NULL };
5533 * content selection pattern - do fix if pattern found
5535 tSCC zSolaris_Rwlock_Init_1Select0[] =
5536 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5538 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
5539 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
5540 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
5543 * Fix Command Arguments for Solaris_Rwlock_Init_1
5545 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
5547 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5550 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
5552 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
5555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5557 * Description of Solaris_Once_Init_1 fix
5559 tSCC zSolaris_Once_Init_1Name[] =
5560 "solaris_once_init_1";
5563 * File name selection pattern
5565 tSCC zSolaris_Once_Init_1List[] =
5568 * Machine/OS name selection pattern
5570 tSCC* apzSolaris_Once_Init_1Machs[] = {
5572 (const char*)NULL };
5575 * content selection pattern - do fix if pattern found
5577 tSCC zSolaris_Once_Init_1Select0[] =
5578 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5580 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
5581 static tTestDesc aSolaris_Once_Init_1Tests[] = {
5582 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
5585 * Fix Command Arguments for Solaris_Once_Init_1
5587 static const char* apzSolaris_Once_Init_1Patch[] = {
5590 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
5593 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5595 * Description of Solaris_Once_Init_2 fix
5597 tSCC zSolaris_Once_Init_2Name[] =
5598 "solaris_once_init_2";
5601 * File name selection pattern
5603 tSCC zSolaris_Once_Init_2List[] =
5606 * Machine/OS name selection pattern
5608 tSCC* apzSolaris_Once_Init_2Machs[] = {
5609 "*-*-solaris2.[0-9]",
5610 "*-*-solaris2.[0-9][!0-9]*",
5611 (const char*)NULL };
5614 * content selection pattern - do fix if pattern found
5616 tSCC zSolaris_Once_Init_2Select0[] =
5617 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
5619 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
5620 static tTestDesc aSolaris_Once_Init_2Tests[] = {
5621 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
5624 * Fix Command Arguments for Solaris_Once_Init_2
5626 static const char* apzSolaris_Once_Init_2Patch[] = {
5628 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
5631 %1{0}, {0}, {0}, {%3}%4\n\
5633 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
5636 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5638 * Description of Solaris_Stdio_Tag fix
5640 tSCC zSolaris_Stdio_TagName[] =
5641 "solaris_stdio_tag";
5644 * File name selection pattern
5646 tSCC zSolaris_Stdio_TagList[] =
5649 * Machine/OS name selection pattern
5651 #define apzSolaris_Stdio_TagMachs (const char**)NULL
5654 * content selection pattern - do fix if pattern found
5656 tSCC zSolaris_Stdio_TagSelect0[] =
5657 "__cplusplus < 54321L";
5660 * content bypass pattern - skip fix if pattern found
5662 tSCC zSolaris_Stdio_TagBypass0[] =
5665 #define SOLARIS_STDIO_TAG_TEST_CT 2
5666 static tTestDesc aSolaris_Stdio_TagTests[] = {
5667 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
5668 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
5671 * Fix Command Arguments for Solaris_Stdio_Tag
5673 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
5674 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
5677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5679 * Description of Statsswtch fix
5681 tSCC zStatsswtchName[] =
5685 * File name selection pattern
5687 tSCC zStatsswtchList[] =
5690 * Machine/OS name selection pattern
5692 #define apzStatsswtchMachs (const char**)NULL
5695 * content selection pattern - do fix if pattern found
5697 tSCC zStatsswtchSelect0[] =
5700 #define STATSSWTCH_TEST_CT 1
5701 static tTestDesc aStatsswtchTests[] = {
5702 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
5705 * Fix Command Arguments for Statsswtch
5707 static const char* apzStatsswtchPatch[] = {
5712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5714 * Description of Stdio_Stdarg_H fix
5716 tSCC zStdio_Stdarg_HName[] =
5720 * File name selection pattern
5722 tSCC zStdio_Stdarg_HList[] =
5725 * Machine/OS name selection pattern
5727 tSCC* apzStdio_Stdarg_HMachs[] = {
5728 "*-*-solaris2.1[0-9]*",
5729 (const char*)NULL };
5732 * content bypass pattern - skip fix if pattern found
5734 tSCC zStdio_Stdarg_HBypass0[] =
5735 "include.*(stdarg.h|machine/ansi.h)";
5737 #define STDIO_STDARG_H_TEST_CT 1
5738 static tTestDesc aStdio_Stdarg_HTests[] = {
5739 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
5742 * Fix Command Arguments for Stdio_Stdarg_H
5744 static const char* apzStdio_Stdarg_HPatch[] = {
5746 "#define __need___va_list\n\
5747 #include <stdarg.h>\n",
5750 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5752 * Description of Stdio_Va_List fix
5754 tSCC zStdio_Va_ListName[] =
5758 * File name selection pattern
5760 tSCC zStdio_Va_ListList[] =
5761 "stdio.h\0internal/stdio_core.h\0internal/wchar_core.h\0";
5763 * Machine/OS name selection pattern
5765 tSCC* apzStdio_Va_ListMachs[] = {
5766 "*-*-solaris2.1[0-9]*",
5767 (const char*)NULL };
5770 * content bypass pattern - skip fix if pattern found
5772 tSCC zStdio_Va_ListBypass0[] =
5773 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5775 #define STDIO_VA_LIST_TEST_CT 1
5776 static tTestDesc aStdio_Va_ListTests[] = {
5777 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
5780 * Fix Command Arguments for Stdio_Va_List
5782 static const char* apzStdio_Va_ListPatch[] = { "sed",
5783 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5784 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5785 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5786 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5787 s@ va_list@ __not_va_list__@\n\
5788 s@\\*va_list@*__not_va_list__@\n\
5789 s@ __va_list)@ __gnuc_va_list)@\n\
5790 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5791 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5792 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5793 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5794 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5795 s@VA_LIST@DUMMY_VA_LIST@\n\
5796 s@_Va_LIST@_VA_LIST@",
5799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5801 * Description of Stdio_Va_List_Clients fix
5803 tSCC zStdio_Va_List_ClientsName[] =
5804 "stdio_va_list_clients";
5807 * File name selection pattern
5809 tSCC zStdio_Va_List_ClientsList[] =
5810 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
5812 * Machine/OS name selection pattern
5814 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
5817 * content bypass pattern - skip fix if pattern found
5819 tSCC zStdio_Va_List_ClientsBypass0[] =
5820 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
5821 tSCC zStdio_Va_List_ClientsBypass1[] =
5822 "include <stdarg\\.h>|#ifdef va_start";
5824 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
5825 static tTestDesc aStdio_Va_List_ClientsTests[] = {
5826 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
5827 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
5830 * Fix Command Arguments for Stdio_Va_List_Clients
5832 static const char* apzStdio_Va_List_ClientsPatch[] = { "sed",
5833 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
5834 s@(va_list)&@(__gnuc_va_list)\\&@\n\
5835 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
5836 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
5837 s@ va_list@ __not_va_list__@\n\
5838 s@\\*va_list@*__not_va_list__@\n\
5839 s@ __va_list)@ __gnuc_va_list)@\n\
5840 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
5841 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
5842 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
5843 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
5844 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
5845 s@VA_LIST@DUMMY_VA_LIST@\n\
5846 s@_Va_LIST@_VA_LIST@",
5849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5851 * Description of Strict_Ansi_Not fix
5853 tSCC zStrict_Ansi_NotName[] =
5857 * File name selection pattern
5859 #define zStrict_Ansi_NotList (char*)NULL
5861 * Machine/OS name selection pattern
5863 #define apzStrict_Ansi_NotMachs (const char**)NULL
5866 * content selection pattern - do fix if pattern found
5868 tSCC zStrict_Ansi_NotSelect0[] =
5869 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
5872 * content bypass pattern - skip fix if pattern found
5874 tSCC zStrict_Ansi_NotBypass0[] =
5875 "GNU and MIPS C compilers define __STDC__ differently";
5876 tSCC zStrict_Ansi_NotBypass1[] =
5877 "__SCO_VERSION__.*__STDC__ != 1";
5880 * perform the C function call test
5882 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
5884 #define STRICT_ANSI_NOT_TEST_CT 4
5885 static tTestDesc aStrict_Ansi_NotTests[] = {
5886 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
5887 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
5888 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
5889 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
5892 * Fix Command Arguments for Strict_Ansi_Not
5894 static const char* apzStrict_Ansi_NotPatch[] = {
5896 "%1 !defined(__STRICT_ANSI__)",
5899 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5901 * Description of Strict_Ansi_Not_Ctd fix
5903 tSCC zStrict_Ansi_Not_CtdName[] =
5904 "strict_ansi_not_ctd";
5907 * File name selection pattern
5909 tSCC zStrict_Ansi_Not_CtdList[] =
5910 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
5912 * Machine/OS name selection pattern
5914 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
5917 * content selection pattern - do fix if pattern found
5919 tSCC zStrict_Ansi_Not_CtdSelect0[] =
5920 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
5923 * perform the C function call test
5925 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
5927 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
5928 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
5929 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
5930 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5933 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5935 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5937 "%1 !defined(__STRICT_ANSI__)",
5940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5942 * Description of Strict_Ansi_Only fix
5944 tSCC zStrict_Ansi_OnlyName[] =
5948 * File name selection pattern
5950 #define zStrict_Ansi_OnlyList (char*)NULL
5952 * Machine/OS name selection pattern
5954 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5957 * content selection pattern - do fix if pattern found
5959 tSCC zStrict_Ansi_OnlySelect0[] =
5960 "^([ \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)";
5963 * perform the C function call test
5965 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5967 #define STRICT_ANSI_ONLY_TEST_CT 2
5968 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5969 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5970 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5973 * Fix Command Arguments for Strict_Ansi_Only
5975 static const char* apzStrict_Ansi_OnlyPatch[] = {
5977 "%1 defined(__STRICT_ANSI__)",
5980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5982 * Description of Struct_File fix
5984 tSCC zStruct_FileName[] =
5988 * File name selection pattern
5990 tSCC zStruct_FileList[] =
5993 * Machine/OS name selection pattern
5995 #define apzStruct_FileMachs (const char**)NULL
5998 * content selection pattern - do fix if pattern found
6000 tSCC zStruct_FileSelect0[] =
6001 "^.*xdrstdio_create.*struct __file_s";
6003 #define STRUCT_FILE_TEST_CT 1
6004 static tTestDesc aStruct_FileTests[] = {
6005 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
6008 * Fix Command Arguments for Struct_File
6010 static const char* apzStruct_FilePatch[] = {
6012 "struct __file_s;\n\
6016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6018 * Description of Struct_Sockaddr fix
6020 tSCC zStruct_SockaddrName[] =
6024 * File name selection pattern
6026 tSCC zStruct_SockaddrList[] =
6029 * Machine/OS name selection pattern
6031 #define apzStruct_SockaddrMachs (const char**)NULL
6034 * content selection pattern - do fix if pattern found
6036 tSCC zStruct_SockaddrSelect0[] =
6037 "^.*authdes_create.*struct sockaddr[^_]";
6040 * content bypass pattern - skip fix if pattern found
6042 tSCC zStruct_SockaddrBypass0[] =
6044 tSCC zStruct_SockaddrBypass1[] =
6045 "struct sockaddr;\n";
6047 #define STRUCT_SOCKADDR_TEST_CT 3
6048 static tTestDesc aStruct_SockaddrTests[] = {
6049 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
6050 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
6051 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
6054 * Fix Command Arguments for Struct_Sockaddr
6056 static const char* apzStruct_SockaddrPatch[] = {
6058 "struct sockaddr;\n\
6062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6064 * Description of Sun_Auth_Proto fix
6066 tSCC zSun_Auth_ProtoName[] =
6070 * File name selection pattern
6072 tSCC zSun_Auth_ProtoList[] =
6073 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
6075 * Machine/OS name selection pattern
6077 #define apzSun_Auth_ProtoMachs (const char**)NULL
6080 * content selection pattern - do fix if pattern found
6082 tSCC zSun_Auth_ProtoSelect0[] =
6083 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
6086 * content bypass pattern - skip fix if pattern found
6088 tSCC zSun_Auth_ProtoBypass0[] =
6091 #define SUN_AUTH_PROTO_TEST_CT 2
6092 static tTestDesc aSun_Auth_ProtoTests[] = {
6093 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
6094 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
6097 * Fix Command Arguments for Sun_Auth_Proto
6099 static const char* apzSun_Auth_ProtoPatch[] = {
6101 "#ifdef __cplusplus\n\
6106 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
6109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6111 * Description of Sun_Bogus_Ifdef fix
6113 tSCC zSun_Bogus_IfdefName[] =
6117 * File name selection pattern
6119 tSCC zSun_Bogus_IfdefList[] =
6120 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
6122 * Machine/OS name selection pattern
6124 #define apzSun_Bogus_IfdefMachs (const char**)NULL
6127 * content selection pattern - do fix if pattern found
6129 tSCC zSun_Bogus_IfdefSelect0[] =
6130 "#ifdef(.*\\|\\|.*)";
6132 #define SUN_BOGUS_IFDEF_TEST_CT 1
6133 static tTestDesc aSun_Bogus_IfdefTests[] = {
6134 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
6137 * Fix Command Arguments for Sun_Bogus_Ifdef
6139 static const char* apzSun_Bogus_IfdefPatch[] = {
6144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6146 * Description of Sun_Catmacro fix
6148 tSCC zSun_CatmacroName[] =
6152 * File name selection pattern
6154 tSCC zSun_CatmacroList[] =
6155 "pixrect/memvar.h\0";
6157 * Machine/OS name selection pattern
6159 #define apzSun_CatmacroMachs (const char**)NULL
6162 * content selection pattern - do fix if pattern found
6164 tSCC zSun_CatmacroSelect0[] =
6165 "^#define[ \t]+CAT\\(a,b\\).*";
6167 #define SUN_CATMACRO_TEST_CT 1
6168 static tTestDesc aSun_CatmacroTests[] = {
6169 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
6172 * Fix Command Arguments for Sun_Catmacro
6174 static const char* apzSun_CatmacroPatch[] = {
6177 # define CAT(a,b) a##b\n\
6183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6185 * Description of Sun_Malloc fix
6187 tSCC zSun_MallocName[] =
6191 * File name selection pattern
6193 tSCC zSun_MallocList[] =
6196 * Machine/OS name selection pattern
6198 #define apzSun_MallocMachs (const char**)NULL
6201 * content bypass pattern - skip fix if pattern found
6203 tSCC zSun_MallocBypass0[] =
6204 "_CLASSIC_ANSI_TYPES";
6206 #define SUN_MALLOC_TEST_CT 1
6207 static tTestDesc aSun_MallocTests[] = {
6208 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
6211 * Fix Command Arguments for Sun_Malloc
6213 static const char* apzSun_MallocPatch[] = { "sed",
6214 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
6215 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
6216 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
6217 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
6218 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
6221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6223 * Description of Sun_Rusers_Semi fix
6225 tSCC zSun_Rusers_SemiName[] =
6229 * File name selection pattern
6231 tSCC zSun_Rusers_SemiList[] =
6232 "rpcsvc/rusers.h\0";
6234 * Machine/OS name selection pattern
6236 #define apzSun_Rusers_SemiMachs (const char**)NULL
6239 * content selection pattern - do fix if pattern found
6241 tSCC zSun_Rusers_SemiSelect0[] =
6244 #define SUN_RUSERS_SEMI_TEST_CT 1
6245 static tTestDesc aSun_Rusers_SemiTests[] = {
6246 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
6249 * Fix Command Arguments for Sun_Rusers_Semi
6251 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
6252 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
6255 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6257 * Description of Sun_Signal fix
6259 tSCC zSun_SignalName[] =
6263 * File name selection pattern
6265 tSCC zSun_SignalList[] =
6266 "sys/signal.h\0signal.h\0";
6268 * Machine/OS name selection pattern
6270 #define apzSun_SignalMachs (const char**)NULL
6273 * content selection pattern - do fix if pattern found
6275 tSCC zSun_SignalSelect0[] =
6276 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
6278 #define SUN_SIGNAL_TEST_CT 1
6279 static tTestDesc aSun_SignalTests[] = {
6280 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
6283 * Fix Command Arguments for Sun_Signal
6285 static const char* apzSun_SignalPatch[] = {
6287 "#ifdef __cplusplus\n\
6288 void\t(*signal(...))(...);\n\
6294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6296 * Description of Sunos_Strlen fix
6298 tSCC zSunos_StrlenName[] =
6302 * File name selection pattern
6304 tSCC zSunos_StrlenList[] =
6307 * Machine/OS name selection pattern
6309 #define apzSunos_StrlenMachs (const char**)NULL
6312 * content selection pattern - do fix if pattern found
6314 tSCC zSunos_StrlenSelect0[] =
6315 "int[ \t]*strlen\\(\\);(.*)";
6317 #define SUNOS_STRLEN_TEST_CT 1
6318 static tTestDesc aSunos_StrlenTests[] = {
6319 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
6322 * Fix Command Arguments for Sunos_Strlen
6324 static const char* apzSunos_StrlenPatch[] = {
6326 "__SIZE_TYPE__ strlen();%1",
6329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6331 * Description of Svr4_Disable_Opt fix
6333 tSCC zSvr4_Disable_OptName[] =
6337 * File name selection pattern
6339 tSCC zSvr4_Disable_OptList[] =
6342 * Machine/OS name selection pattern
6344 #define apzSvr4_Disable_OptMachs (const char**)NULL
6347 * content selection pattern - do fix if pattern found
6349 tSCC zSvr4_Disable_OptSelect0[] =
6350 "#define.*__std_hdr_";
6352 #define SVR4_DISABLE_OPT_TEST_CT 1
6353 static tTestDesc aSvr4_Disable_OptTests[] = {
6354 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
6357 * Fix Command Arguments for Svr4_Disable_Opt
6359 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
6360 "-e", "/#define.*__std_hdr_/d",
6363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6365 * Description of Svr4_Getcwd fix
6367 tSCC zSvr4_GetcwdName[] =
6371 * File name selection pattern
6373 tSCC zSvr4_GetcwdList[] =
6374 "stdlib.h\0unistd.h\0prototypes.h\0";
6376 * Machine/OS name selection pattern
6378 #define apzSvr4_GetcwdMachs (const char**)NULL
6381 * content selection pattern - do fix if pattern found
6383 tSCC zSvr4_GetcwdSelect0[] =
6384 "getcwd\\(char \\*, int\\)";
6386 #define SVR4_GETCWD_TEST_CT 1
6387 static tTestDesc aSvr4_GetcwdTests[] = {
6388 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
6391 * Fix Command Arguments for Svr4_Getcwd
6393 static const char* apzSvr4_GetcwdPatch[] = {
6395 "getcwd(char *, size_t)",
6398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6400 * Description of Svr4_Profil fix
6402 tSCC zSvr4_ProfilName[] =
6406 * File name selection pattern
6408 tSCC zSvr4_ProfilList[] =
6409 "stdlib.h\0unistd.h\0";
6411 * Machine/OS name selection pattern
6413 #define apzSvr4_ProfilMachs (const char**)NULL
6416 * content selection pattern - do fix if pattern found
6418 tSCC zSvr4_ProfilSelect0[] =
6419 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
6422 * content bypass pattern - skip fix if pattern found
6424 tSCC zSvr4_ProfilBypass0[] =
6427 #define SVR4_PROFIL_TEST_CT 2
6428 static tTestDesc aSvr4_ProfilTests[] = {
6429 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
6430 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
6433 * Fix Command Arguments for Svr4_Profil
6435 static const char* apzSvr4_ProfilPatch[] = {
6437 "profil(unsigned short *, size_t, int, unsigned int)",
6440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6442 * Description of Svr4_Sighandler_Type fix
6444 tSCC zSvr4_Sighandler_TypeName[] =
6445 "svr4_sighandler_type";
6448 * File name selection pattern
6450 tSCC zSvr4_Sighandler_TypeList[] =
6453 * Machine/OS name selection pattern
6455 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
6458 * content selection pattern - do fix if pattern found
6460 tSCC zSvr4_Sighandler_TypeSelect0[] =
6461 "void *\\(\\*\\)\\(\\)";
6463 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
6464 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
6465 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
6468 * Fix Command Arguments for Svr4_Sighandler_Type
6470 static const char* apzSvr4_Sighandler_TypePatch[] = {
6475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6477 * Description of Svr4_Undeclared_Getrnge fix
6479 tSCC zSvr4_Undeclared_GetrngeName[] =
6480 "svr4_undeclared_getrnge";
6483 * File name selection pattern
6485 tSCC zSvr4_Undeclared_GetrngeList[] =
6488 * Machine/OS name selection pattern
6490 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
6493 * content selection pattern - do fix if pattern found
6495 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
6499 * content bypass pattern - skip fix if pattern found
6501 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
6502 "static void getrnge";
6504 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
6505 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
6506 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
6507 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
6510 * Fix Command Arguments for Svr4_Undeclared_Getrnge
6512 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
6515 static int getrnge ();",
6516 "^static int[ \t]+size;",
6519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6521 * Description of Sysv68_String fix
6523 tSCC zSysv68_StringName[] =
6527 * File name selection pattern
6529 tSCC zSysv68_StringList[] =
6530 "testing.h\0string.h\0";
6532 * Machine/OS name selection pattern
6534 #define apzSysv68_StringMachs (const char**)NULL
6537 * content bypass pattern - skip fix if pattern found
6539 tSCC zSysv68_StringBypass0[] =
6540 "_CLASSIC_ANSI_TYPES";
6542 #define SYSV68_STRING_TEST_CT 1
6543 static tTestDesc aSysv68_StringTests[] = {
6544 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
6547 * Fix Command Arguments for Sysv68_String
6549 static const char* apzSysv68_StringPatch[] = { "sed",
6550 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
6551 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
6552 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
6553 "-e", "/^extern char$/N",
6554 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
6555 "-e", "/^extern int$/N",
6556 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
6557 "-e", "/^\tstrncmp(),$/N",
6558 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
6559 extern unsigned int\\\n\
6563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6565 * Description of Sysz_Stdlib_For_Sun fix
6567 tSCC zSysz_Stdlib_For_SunName[] =
6568 "sysz_stdlib_for_sun";
6571 * File name selection pattern
6573 tSCC zSysz_Stdlib_For_SunList[] =
6576 * Machine/OS name selection pattern
6578 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
6581 * content selection pattern - do fix if pattern found
6583 tSCC zSysz_Stdlib_For_SunSelect0[] =
6584 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
6587 * content bypass pattern - skip fix if pattern found
6589 tSCC zSysz_Stdlib_For_SunBypass0[] =
6590 "_CLASSIC_ANSI_TYPES";
6592 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
6593 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
6594 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
6595 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
6598 * Fix Command Arguments for Sysz_Stdlib_For_Sun
6600 static const char* apzSysz_Stdlib_For_SunPatch[] = {
6605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6607 * Description of Thread_Keyword fix
6609 tSCC zThread_KeywordName[] =
6613 * File name selection pattern
6615 tSCC zThread_KeywordList[] =
6616 "pthread.h\0bits/sigthread.h\0";
6618 * Machine/OS name selection pattern
6620 #define apzThread_KeywordMachs (const char**)NULL
6623 * content selection pattern - do fix if pattern found
6625 tSCC zThread_KeywordSelect0[] =
6626 "([* ])__thread([,)])";
6628 #define THREAD_KEYWORD_TEST_CT 1
6629 static tTestDesc aThread_KeywordTests[] = {
6630 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
6633 * Fix Command Arguments for Thread_Keyword
6635 static const char* apzThread_KeywordPatch[] = {
6640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6642 * Description of Tinfo_Cplusplus fix
6644 tSCC zTinfo_CplusplusName[] =
6648 * File name selection pattern
6650 tSCC zTinfo_CplusplusList[] =
6653 * Machine/OS name selection pattern
6655 #define apzTinfo_CplusplusMachs (const char**)NULL
6658 * content selection pattern - do fix if pattern found
6660 tSCC zTinfo_CplusplusSelect0[] =
6663 #define TINFO_CPLUSPLUS_TEST_CT 1
6664 static tTestDesc aTinfo_CplusplusTests[] = {
6665 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
6668 * Fix Command Arguments for Tinfo_Cplusplus
6670 static const char* apzTinfo_CplusplusPatch[] = {
6675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6677 * Description of Ultrix_Const fix
6679 tSCC zUltrix_ConstName[] =
6683 * File name selection pattern
6685 tSCC zUltrix_ConstList[] =
6688 * Machine/OS name selection pattern
6690 #define apzUltrix_ConstMachs (const char**)NULL
6693 * content selection pattern - do fix if pattern found
6695 tSCC zUltrix_ConstSelect0[] =
6696 "perror\\( char \\*";
6698 #define ULTRIX_CONST_TEST_CT 1
6699 static tTestDesc aUltrix_ConstTests[] = {
6700 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
6703 * Fix Command Arguments for Ultrix_Const
6705 static const char* apzUltrix_ConstPatch[] = {
6708 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
6711 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6713 * Description of Ultrix_Const2 fix
6715 tSCC zUltrix_Const2Name[] =
6719 * File name selection pattern
6721 tSCC zUltrix_Const2List[] =
6724 * Machine/OS name selection pattern
6726 #define apzUltrix_Const2Machs (const char**)NULL
6729 * content selection pattern - do fix if pattern found
6731 tSCC zUltrix_Const2Select0[] =
6732 "\\*fopen\\( char \\*";
6734 #define ULTRIX_CONST2_TEST_CT 1
6735 static tTestDesc aUltrix_Const2Tests[] = {
6736 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
6739 * Fix Command Arguments for Ultrix_Const2
6741 static const char* apzUltrix_Const2Patch[] = {
6743 "%1( const char *%3, const char *",
6744 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
6747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6749 * Description of Va_I960_Macro fix
6751 tSCC zVa_I960_MacroName[] =
6755 * File name selection pattern
6757 tSCC zVa_I960_MacroList[] =
6758 "arch/i960/archI960.h\0";
6760 * Machine/OS name selection pattern
6762 #define apzVa_I960_MacroMachs (const char**)NULL
6765 * content selection pattern - do fix if pattern found
6767 tSCC zVa_I960_MacroSelect0[] =
6768 "__(vsiz|vali|vpad|alignof__)";
6770 #define VA_I960_MACRO_TEST_CT 1
6771 static tTestDesc aVa_I960_MacroTests[] = {
6772 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
6775 * Fix Command Arguments for Va_I960_Macro
6777 static const char* apzVa_I960_MacroPatch[] = {
6782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6784 * Description of Void_Null fix
6786 tSCC zVoid_NullName[] =
6790 * File name selection pattern
6792 tSCC zVoid_NullList[] =
6793 "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";
6795 * Machine/OS name selection pattern
6797 #define apzVoid_NullMachs (const char**)NULL
6800 * content selection pattern - do fix if pattern found
6802 tSCC zVoid_NullSelect0[] =
6803 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
6806 * content bypass pattern - skip fix if pattern found
6808 tSCC zVoid_NullBypass0[] =
6811 #define VOID_NULL_TEST_CT 2
6812 static tTestDesc aVoid_NullTests[] = {
6813 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
6814 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
6817 * Fix Command Arguments for Void_Null
6819 static const char* apzVoid_NullPatch[] = {
6824 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6826 * Description of Vxworks_Gcc_Problem fix
6828 tSCC zVxworks_Gcc_ProblemName[] =
6829 "vxworks_gcc_problem";
6832 * File name selection pattern
6834 tSCC zVxworks_Gcc_ProblemList[] =
6835 "types/vxTypesBase.h\0";
6837 * Machine/OS name selection pattern
6839 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
6842 * content selection pattern - do fix if pattern found
6844 tSCC zVxworks_Gcc_ProblemSelect0[] =
6845 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
6847 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
6848 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
6849 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
6852 * Fix Command Arguments for Vxworks_Gcc_Problem
6854 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
6855 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
6856 "-e", "/[ \t]size_t/i\\\n\
6857 #ifndef _GCC_SIZE_T\\\n\
6858 #define _GCC_SIZE_T\n",
6859 "-e", "/[ \t]size_t/a\\\n\
6861 "-e", "/[ \t]ptrdiff_t/i\\\n\
6862 #ifndef _GCC_PTRDIFF_T\\\n\
6863 #define _GCC_PTRDIFF_T\n",
6864 "-e", "/[ \t]ptrdiff_t/a\\\n\
6866 "-e", "/[ \t]wchar_t/i\\\n\
6867 #ifndef _GCC_WCHAR_T\\\n\
6868 #define _GCC_WCHAR_T\n",
6869 "-e", "/[ \t]wchar_t/a\\\n\
6873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6875 * Description of Vxworks_Needs_Vxtypes fix
6877 tSCC zVxworks_Needs_VxtypesName[] =
6878 "vxworks_needs_vxtypes";
6881 * File name selection pattern
6883 tSCC zVxworks_Needs_VxtypesList[] =
6886 * Machine/OS name selection pattern
6888 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
6891 * content selection pattern - do fix if pattern found
6893 tSCC zVxworks_Needs_VxtypesSelect0[] =
6894 "uint_t([ \t]+_clocks_per_sec)";
6896 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
6897 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
6898 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
6901 * Fix Command Arguments for Vxworks_Needs_Vxtypes
6903 static const char* apzVxworks_Needs_VxtypesPatch[] = {
6908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6910 * Description of Vxworks_Needs_Vxworks fix
6912 tSCC zVxworks_Needs_VxworksName[] =
6913 "vxworks_needs_vxworks";
6916 * File name selection pattern
6918 tSCC zVxworks_Needs_VxworksList[] =
6921 * Machine/OS name selection pattern
6923 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
6926 * content selection pattern - do fix if pattern found
6928 tSCC zVxworks_Needs_VxworksSelect0[] =
6929 "#[ \t]define[ \t]+__INCstath";
6932 * perform the 'test' shell command - do fix on success
6934 tSCC zVxworks_Needs_VxworksTest0[] =
6935 " -r types/vxTypesOld.h";
6936 tSCC zVxworks_Needs_VxworksTest1[] =
6937 " -n \"`egrep '#include' $file`\"";
6938 tSCC zVxworks_Needs_VxworksTest2[] =
6939 " -n \"`egrep ULONG $file`\"";
6941 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
6942 static tTestDesc aVxworks_Needs_VxworksTests[] = {
6943 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
6944 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
6945 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
6946 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
6949 * Fix Command Arguments for Vxworks_Needs_Vxworks
6951 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
6952 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
6953 #include <types/vxTypesOld.h>\n",
6956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6958 * Description of Vxworks_Time fix
6960 tSCC zVxworks_TimeName[] =
6964 * File name selection pattern
6966 tSCC zVxworks_TimeList[] =
6969 * Machine/OS name selection pattern
6971 #define apzVxworks_TimeMachs (const char**)NULL
6974 * content selection pattern - do fix if pattern found
6976 tSCC zVxworks_TimeSelect0[] =
6977 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
6980 * perform the 'test' shell command - do fix on success
6982 tSCC zVxworks_TimeTest0[] =
6985 #define VXWORKS_TIME_TEST_CT 2
6986 static tTestDesc aVxworks_TimeTests[] = {
6987 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
6988 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
6991 * Fix Command Arguments for Vxworks_Time
6993 static const char* apzVxworks_TimePatch[] = {
6995 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
6996 #ifdef __cplusplus\n\
6997 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
6999 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
7001 #define __gcc_VOIDFUNCPTR_defined\n\
7003 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
7006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7008 * Description of X11_Class fix
7010 tSCC zX11_ClassName[] =
7014 * File name selection pattern
7016 tSCC zX11_ClassList[] =
7019 * Machine/OS name selection pattern
7021 #define apzX11_ClassMachs (const char**)NULL
7024 * content selection pattern - do fix if pattern found
7026 tSCC zX11_ClassSelect0[] =
7027 "^([ \t]*char \\*)class;(.*)";
7030 * content bypass pattern - skip fix if pattern found
7032 tSCC zX11_ClassBypass0[] =
7035 #define X11_CLASS_TEST_CT 2
7036 static tTestDesc aX11_ClassTests[] = {
7037 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
7038 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
7041 * Fix Command Arguments for X11_Class
7043 static const char* apzX11_ClassPatch[] = {
7045 "#ifdef __cplusplus\n\
7052 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7054 * Description of X11_Class_Usage fix
7056 tSCC zX11_Class_UsageName[] =
7060 * File name selection pattern
7062 tSCC zX11_Class_UsageList[] =
7063 "Xm/BaseClassI.h\0";
7065 * Machine/OS name selection pattern
7067 #define apzX11_Class_UsageMachs (const char**)NULL
7070 * content selection pattern - do fix if pattern found
7072 tSCC zX11_Class_UsageSelect0[] =
7076 * content bypass pattern - skip fix if pattern found
7078 tSCC zX11_Class_UsageBypass0[] =
7081 #define X11_CLASS_USAGE_TEST_CT 2
7082 static tTestDesc aX11_Class_UsageTests[] = {
7083 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
7084 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
7087 * Fix Command Arguments for X11_Class_Usage
7089 static const char* apzX11_Class_UsagePatch[] = {
7094 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7096 * Description of X11_New fix
7098 tSCC zX11_NewName[] =
7102 * File name selection pattern
7104 tSCC zX11_NewList[] =
7107 * Machine/OS name selection pattern
7109 #define apzX11_NewMachs (const char**)NULL
7112 * content bypass pattern - skip fix if pattern found
7114 tSCC zX11_NewBypass0[] =
7117 #define X11_NEW_TEST_CT 1
7118 static tTestDesc aX11_NewTests[] = {
7119 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7122 * Fix Command Arguments for X11_New
7124 static const char* apzX11_NewPatch[] = { "sed",
7125 "-e", "/Widget\told, new;/i\\\n\
7126 #ifdef __cplusplus\\\n\
7127 \tWidget\told, c_new;\\\n\
7129 "-e", "/Widget\told, new;/a\\\n\
7131 "-e", "s/Widget new,/Widget c_new,/g",
7134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7136 * Description of X11_Sprintf fix
7138 tSCC zX11_SprintfName[] =
7142 * File name selection pattern
7144 tSCC zX11_SprintfList[] =
7145 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
7147 * Machine/OS name selection pattern
7149 #define apzX11_SprintfMachs (const char**)NULL
7152 * content selection pattern - do fix if pattern found
7154 tSCC zX11_SprintfSelect0[] =
7155 "^extern char \\*\tsprintf\\(\\);$";
7157 #define X11_SPRINTF_TEST_CT 1
7158 static tTestDesc aX11_SprintfTests[] = {
7159 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7162 * Fix Command Arguments for X11_Sprintf
7164 static const char* apzX11_SprintfPatch[] = {
7166 "#ifndef __STDC__\n\
7168 #endif /* !defined __STDC__ */",
7172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7176 #define REGEX_COUNT 223
7177 #define MACH_LIST_SIZE_LIMIT 181
7178 #define FIX_COUNT 177
7181 * Enumerate the fixes
7184 AAB_AIX_STDIO_FIXIDX,
7185 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
7186 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
7187 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7188 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7189 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7190 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7191 AAB_SUN_MEMCPY_FIXIDX,
7193 AIX_SYSMACHINE_FIXIDX,
7195 AIX_SYSWAIT_2_FIXIDX,
7196 AIX_VOLATILE_FIXIDX,
7197 ALPHA___ASSERT_FIXIDX,
7198 ALPHA___EXTERN_PREFIX_FIXIDX,
7199 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7200 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7201 ALPHA_ASSERT_FIXIDX,
7202 ALPHA_BAD_LVAL_FIXIDX,
7203 ALPHA_GETOPT_FIXIDX,
7204 ALPHA_PARENS_FIXIDX,
7205 ALPHA_PTHREAD_FIXIDX,
7206 ALPHA_PTHREAD_GCC_FIXIDX,
7207 ALPHA_PTHREAD_INIT_FIXIDX,
7210 AVOID_BOOL_DEFINE_FIXIDX,
7211 AVOID_BOOL_TYPE_FIXIDX,
7212 AVOID_WCHAR_T_TYPE_FIXIDX,
7213 BAD_STRUCT_TERM_FIXIDX,
7215 BROKEN_ASSERT_STDIO_FIXIDX,
7216 BROKEN_ASSERT_STDLIB_FIXIDX,
7219 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7220 CTRL_QUOTES_DEF_FIXIDX,
7221 CTRL_QUOTES_USE_FIXIDX,
7223 DARWIN_EXTERNC_FIXIDX,
7224 DARWIN_GCC4_BREAKAGE_FIXIDX,
7225 DARWIN_PRIVATE_EXTERN_FIXIDX,
7226 DEC_INTERN_ASM_FIXIDX,
7227 DJGPP_WCHAR_H_FIXIDX,
7229 EXCEPTION_STRUCTURE_FIXIDX,
7230 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7231 FREEBSD_GCC4_BREAKAGE_FIXIDX,
7232 GLIBC_C99_INLINE_1_FIXIDX,
7233 GLIBC_C99_INLINE_1A_FIXIDX,
7234 GLIBC_C99_INLINE_2_FIXIDX,
7235 GLIBC_C99_INLINE_3_FIXIDX,
7236 GLIBC_C99_INLINE_4_FIXIDX,
7237 GLIBC_MUTEX_INIT_FIXIDX,
7241 HPUX10_CPP_POW_INLINE_FIXIDX,
7242 HPUX11_CPP_POW_INLINE_FIXIDX,
7243 HPPA_HPUX_FP_MACROS_FIXIDX,
7244 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7245 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7246 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7248 HPUX11_FABSF_FIXIDX,
7249 HPUX11_SIZE_T_FIXIDX,
7250 HPUX11_SNPRINTF_FIXIDX,
7251 HPUX11_UINT32_C_FIXIDX,
7252 HPUX11_VSNPRINTF_FIXIDX,
7253 HPUX8_BOGUS_INLINES_FIXIDX,
7254 HPUX_CTYPE_MACROS_FIXIDX,
7256 HPUX_LONG_DOUBLE_FIXIDX,
7257 HPUX_SYSTIME_FIXIDX,
7258 HPUX_SPU_INFO_FIXIDX,
7259 HPUX11_EXTERN_SENDFILE_FIXIDX,
7260 HPUX11_EXTERN_SENDPATH_FIXIDX,
7261 HPUX_EXTERN_ERRNO_FIXIDX,
7262 HPUX11_PTHREAD_CONST_FIXIDX,
7263 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
7264 HUGE_VAL_HEX_FIXIDX,
7265 HUGE_VALF_HEX_FIXIDX,
7266 HUGE_VALL_HEX_FIXIDX,
7267 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7268 IO_QUOTES_DEF_FIXIDX,
7269 IO_QUOTES_USE_FIXIDX,
7270 IP_MISSING_SEMI_FIXIDX,
7271 IRIX___RESTRICT_FIXIDX,
7272 IRIX___GENERIC1_FIXIDX,
7273 IRIX___GENERIC2_FIXIDX,
7274 IRIX_ASM_APOSTROPHE_FIXIDX,
7275 IRIX_LIMITS_CONST_FIXIDX,
7276 IRIX_SOCKLEN_T_FIXIDX,
7277 IRIX_STDINT_C99_FIXIDX,
7278 IRIX_STDIO_VA_LIST_FIXIDX,
7279 IRIX_WCSFTIME_FIXIDX,
7281 ISC_OMITS_WITH_STDC_FIXIDX,
7282 KANDR_CONCAT_FIXIDX,
7283 LINUX_IA64_UCONTEXT_FIXIDX,
7284 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7285 LYNXOS_MISSING_PUTENV_FIXIDX,
7286 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7287 MACHINE_NAME_FIXIDX,
7288 MATH_EXCEPTION_FIXIDX,
7289 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7290 NESTED_AUTH_DES_FIXIDX,
7291 NESTED_SYS_LIMITS_FIXIDX,
7292 NETBSD_C99_INLINE_1_FIXIDX,
7293 NETBSD_C99_INLINE_2_FIXIDX,
7294 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7295 NEXT_MATH_PREFIX_FIXIDX,
7296 NEXT_TEMPLATE_FIXIDX,
7297 NEXT_VOLITILE_FIXIDX,
7298 NEXT_WAIT_UNION_FIXIDX,
7299 NODEENT_SYNTAX_FIXIDX,
7300 OBSTACK_LVALUE_CAST_FIXIDX,
7301 OSF_NAMESPACE_A_FIXIDX,
7302 OSF_NAMESPACE_C_FIXIDX,
7303 PTHREAD_PAGE_SIZE_FIXIDX,
7304 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
7305 READ_RET_TYPE_FIXIDX,
7306 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7307 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7308 RS6000_DOUBLE_FIXIDX,
7309 RS6000_FCHMOD_FIXIDX,
7310 RS6000_PARAM_FIXIDX,
7312 SOLARIS_MATH_1_FIXIDX,
7313 SOLARIS_MATH_2_FIXIDX,
7314 SOLARIS_MATH_3_FIXIDX,
7315 SOLARIS_MATH_4_FIXIDX,
7316 SOLARIS_MATH_8_FIXIDX,
7317 SOLARIS_MATH_9_FIXIDX,
7318 SOLARIS_MATH_10_FIXIDX,
7319 SOLARIS_MUTEX_INIT_2_FIXIDX,
7320 SOLARIS_RWLOCK_INIT_1_FIXIDX,
7321 SOLARIS_ONCE_INIT_1_FIXIDX,
7322 SOLARIS_ONCE_INIT_2_FIXIDX,
7323 SOLARIS_STDIO_TAG_FIXIDX,
7325 STDIO_STDARG_H_FIXIDX,
7326 STDIO_VA_LIST_FIXIDX,
7327 STDIO_VA_LIST_CLIENTS_FIXIDX,
7328 STRICT_ANSI_NOT_FIXIDX,
7329 STRICT_ANSI_NOT_CTD_FIXIDX,
7330 STRICT_ANSI_ONLY_FIXIDX,
7332 STRUCT_SOCKADDR_FIXIDX,
7333 SUN_AUTH_PROTO_FIXIDX,
7334 SUN_BOGUS_IFDEF_FIXIDX,
7335 SUN_CATMACRO_FIXIDX,
7337 SUN_RUSERS_SEMI_FIXIDX,
7339 SUNOS_STRLEN_FIXIDX,
7340 SVR4_DISABLE_OPT_FIXIDX,
7343 SVR4_SIGHANDLER_TYPE_FIXIDX,
7344 SVR4_UNDECLARED_GETRNGE_FIXIDX,
7345 SYSV68_STRING_FIXIDX,
7346 SYSZ_STDLIB_FOR_SUN_FIXIDX,
7347 THREAD_KEYWORD_FIXIDX,
7348 TINFO_CPLUSPLUS_FIXIDX,
7349 ULTRIX_CONST_FIXIDX,
7350 ULTRIX_CONST2_FIXIDX,
7351 VA_I960_MACRO_FIXIDX,
7353 VXWORKS_GCC_PROBLEM_FIXIDX,
7354 VXWORKS_NEEDS_VXTYPES_FIXIDX,
7355 VXWORKS_NEEDS_VXWORKS_FIXIDX,
7356 VXWORKS_TIME_FIXIDX,
7358 X11_CLASS_USAGE_FIXIDX,
7363 tFixDesc fixDescList[ FIX_COUNT ] = {
7364 { zAab_Aix_StdioName, zAab_Aix_StdioList,
7365 apzAab_Aix_StdioMachs,
7366 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7367 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
7369 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
7370 apzAab_Darwin7_9_Long_Double_FuncsMachs,
7371 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7372 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
7374 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
7375 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
7376 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7377 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
7379 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
7380 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
7381 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7382 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
7384 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
7385 apzAab_Fd_Zero_Gnu_Types_HMachs,
7386 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7387 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
7389 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
7390 apzAab_Fd_Zero_Selectbits_HMachs,
7391 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7392 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
7394 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
7395 apzAab_Solaris_Sys_Varargs_HMachs,
7396 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7397 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
7399 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
7400 apzAab_Sun_MemcpyMachs,
7401 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7402 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
7404 { zAix_PthreadName, zAix_PthreadList,
7405 apzAix_PthreadMachs,
7406 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7407 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
7409 { zAix_SysmachineName, zAix_SysmachineList,
7410 apzAix_SysmachineMachs,
7411 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7412 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
7414 { zAix_SyswaitName, zAix_SyswaitList,
7415 apzAix_SyswaitMachs,
7416 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7417 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
7419 { zAix_Syswait_2Name, zAix_Syswait_2List,
7420 apzAix_Syswait_2Machs,
7421 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7422 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
7424 { zAix_VolatileName, zAix_VolatileList,
7425 apzAix_VolatileMachs,
7426 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7427 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
7429 { zAlpha___AssertName, zAlpha___AssertList,
7430 apzAlpha___AssertMachs,
7431 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7432 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
7434 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
7435 apzAlpha___Extern_PrefixMachs,
7436 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7437 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
7439 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
7440 apzAlpha___Extern_Prefix_StandardsMachs,
7441 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7442 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
7444 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
7445 apzAlpha___Extern_Prefix_Sys_StatMachs,
7446 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7447 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
7449 { zAlpha_AssertName, zAlpha_AssertList,
7450 apzAlpha_AssertMachs,
7451 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7452 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
7454 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
7455 apzAlpha_Bad_LvalMachs,
7456 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
7457 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
7459 { zAlpha_GetoptName, zAlpha_GetoptList,
7460 apzAlpha_GetoptMachs,
7461 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7462 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
7464 { zAlpha_ParensName, zAlpha_ParensList,
7465 apzAlpha_ParensMachs,
7466 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7467 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
7469 { zAlpha_PthreadName, zAlpha_PthreadList,
7470 apzAlpha_PthreadMachs,
7471 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7472 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
7474 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
7475 apzAlpha_Pthread_GccMachs,
7476 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7477 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
7479 { zAlpha_Pthread_InitName, zAlpha_Pthread_InitList,
7480 apzAlpha_Pthread_InitMachs,
7481 ALPHA_PTHREAD_INIT_TEST_CT, FD_MACH_ONLY,
7482 aAlpha_Pthread_InitTests, apzAlpha_Pthread_InitPatch, 0 },
7484 { zAlpha_SbrkName, zAlpha_SbrkList,
7486 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7487 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
7489 { zAlpha_WcharName, zAlpha_WcharList,
7490 apzAlpha_WcharMachs,
7491 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
7492 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
7494 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
7495 apzAvoid_Bool_DefineMachs,
7496 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7497 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
7499 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
7500 apzAvoid_Bool_TypeMachs,
7501 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7502 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
7504 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
7505 apzAvoid_Wchar_T_TypeMachs,
7506 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7507 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
7509 { zBad_Struct_TermName, zBad_Struct_TermList,
7510 apzBad_Struct_TermMachs,
7511 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7512 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
7514 { zBadquoteName, zBadquoteList,
7516 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7517 aBadquoteTests, apzBadquotePatch, 0 },
7519 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
7520 apzBroken_Assert_StdioMachs,
7521 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7522 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
7524 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
7525 apzBroken_Assert_StdlibMachs,
7526 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7527 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
7529 { zBroken_CabsName, zBroken_CabsList,
7530 apzBroken_CabsMachs,
7531 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
7532 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
7534 { zBroken_NanName, zBroken_NanList,
7536 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7537 aBroken_NanTests, apzBroken_NanPatch, 0 },
7539 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
7540 apzBsd_Stdio_Attrs_ConflictMachs,
7541 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7542 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
7544 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
7545 apzCtrl_Quotes_DefMachs,
7546 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7547 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
7549 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
7550 apzCtrl_Quotes_UseMachs,
7551 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7552 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
7554 { zCxx_UnreadyName, zCxx_UnreadyList,
7555 apzCxx_UnreadyMachs,
7556 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7557 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
7559 { zDarwin_ExterncName, zDarwin_ExterncList,
7560 apzDarwin_ExterncMachs,
7561 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7562 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
7564 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
7565 apzDarwin_Gcc4_BreakageMachs,
7566 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7567 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
7569 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
7570 apzDarwin_Private_ExternMachs,
7571 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7572 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
7574 { zDec_Intern_AsmName, zDec_Intern_AsmList,
7575 apzDec_Intern_AsmMachs,
7576 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
7577 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
7579 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
7580 apzDjgpp_Wchar_HMachs,
7581 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7582 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
7584 { zEcd_CursorName, zEcd_CursorList,
7586 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7587 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
7589 { zException_StructureName, zException_StructureList,
7590 apzException_StructureMachs,
7591 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7592 aException_StructureTests, apzException_StructurePatch, 0 },
7594 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
7595 apzFreebsd_Gcc3_BreakageMachs,
7596 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7597 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
7599 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
7600 apzFreebsd_Gcc4_BreakageMachs,
7601 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7602 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
7604 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
7605 apzGlibc_C99_Inline_1Machs,
7606 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7607 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
7609 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
7610 apzGlibc_C99_Inline_1aMachs,
7611 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7612 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
7614 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
7615 apzGlibc_C99_Inline_2Machs,
7616 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
7617 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
7619 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
7620 apzGlibc_C99_Inline_3Machs,
7621 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7622 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
7624 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
7625 apzGlibc_C99_Inline_4Machs,
7626 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7627 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
7629 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
7630 apzGlibc_Mutex_InitMachs,
7631 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
7632 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
7634 { zGnu_TypesName, zGnu_TypesList,
7636 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
7637 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
7639 { zHp_InlineName, zHp_InlineList,
7641 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7642 aHp_InlineTests, apzHp_InlinePatch, 0 },
7644 { zHp_SysfileName, zHp_SysfileList,
7646 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7647 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
7649 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
7650 apzHpux10_Cpp_Pow_InlineMachs,
7651 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7652 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
7654 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
7655 apzHpux11_Cpp_Pow_InlineMachs,
7656 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7657 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
7659 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
7660 apzHppa_Hpux_Fp_MacrosMachs,
7661 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7662 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
7664 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
7665 apzHpux10_Ctype_Declarations1Machs,
7666 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7667 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
7669 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
7670 apzHpux10_Ctype_Declarations2Machs,
7671 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7672 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
7674 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
7675 apzHpux10_Stdio_DeclarationsMachs,
7676 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7677 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
7679 { zHpux11_AbsName, zHpux11_AbsList,
7681 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7682 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
7684 { zHpux11_FabsfName, zHpux11_FabsfList,
7685 apzHpux11_FabsfMachs,
7686 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7687 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
7689 { zHpux11_Size_TName, zHpux11_Size_TList,
7690 apzHpux11_Size_TMachs,
7691 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7692 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
7694 { zHpux11_SnprintfName, zHpux11_SnprintfList,
7695 apzHpux11_SnprintfMachs,
7696 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7697 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
7699 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
7700 apzHpux11_Uint32_CMachs,
7701 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7702 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
7704 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
7705 apzHpux11_VsnprintfMachs,
7706 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7707 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
7709 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
7710 apzHpux8_Bogus_InlinesMachs,
7711 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
7712 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
7714 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
7715 apzHpux_Ctype_MacrosMachs,
7716 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7717 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
7719 { zHpux_HtonlName, zHpux_HtonlList,
7721 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7722 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
7724 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
7725 apzHpux_Long_DoubleMachs,
7726 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
7727 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
7729 { zHpux_SystimeName, zHpux_SystimeList,
7730 apzHpux_SystimeMachs,
7731 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7732 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
7734 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
7735 apzHpux_Spu_InfoMachs,
7736 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7737 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
7739 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
7740 apzHpux11_Extern_SendfileMachs,
7741 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7742 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
7744 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
7745 apzHpux11_Extern_SendpathMachs,
7746 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7747 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
7749 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
7750 apzHpux_Extern_ErrnoMachs,
7751 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7752 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
7754 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
7755 apzHpux11_Pthread_ConstMachs,
7756 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7757 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
7759 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
7760 apzHpux_Pthread_InitializersMachs,
7761 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
7762 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
7764 { zHuge_Val_HexName, zHuge_Val_HexList,
7765 apzHuge_Val_HexMachs,
7766 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7767 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
7769 { zHuge_Valf_HexName, zHuge_Valf_HexList,
7770 apzHuge_Valf_HexMachs,
7771 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7772 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
7774 { zHuge_Vall_HexName, zHuge_Vall_HexList,
7775 apzHuge_Vall_HexMachs,
7776 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7777 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
7779 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
7780 apzInt_Abort_Free_And_ExitMachs,
7781 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7782 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
7784 { zIo_Quotes_DefName, zIo_Quotes_DefList,
7785 apzIo_Quotes_DefMachs,
7786 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7787 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
7789 { zIo_Quotes_UseName, zIo_Quotes_UseList,
7790 apzIo_Quotes_UseMachs,
7791 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7792 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
7794 { zIp_Missing_SemiName, zIp_Missing_SemiList,
7795 apzIp_Missing_SemiMachs,
7796 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
7797 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
7799 { zIrix___RestrictName, zIrix___RestrictList,
7800 apzIrix___RestrictMachs,
7801 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7802 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
7804 { zIrix___Generic1Name, zIrix___Generic1List,
7805 apzIrix___Generic1Machs,
7806 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7807 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
7809 { zIrix___Generic2Name, zIrix___Generic2List,
7810 apzIrix___Generic2Machs,
7811 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7812 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
7814 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
7815 apzIrix_Asm_ApostropheMachs,
7816 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7817 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
7819 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
7820 apzIrix_Limits_ConstMachs,
7821 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7822 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
7824 { zIrix_Socklen_TName, zIrix_Socklen_TList,
7825 apzIrix_Socklen_TMachs,
7826 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7827 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
7829 { zIrix_Stdint_C99Name, zIrix_Stdint_C99List,
7830 apzIrix_Stdint_C99Machs,
7831 IRIX_STDINT_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7832 aIrix_Stdint_C99Tests, apzIrix_Stdint_C99Patch, 0 },
7834 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
7835 apzIrix_Stdio_Va_ListMachs,
7836 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7837 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
7839 { zIrix_WcsftimeName, zIrix_WcsftimeList,
7840 apzIrix_WcsftimeMachs,
7841 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7842 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
7844 { zIsc_FmodName, zIsc_FmodList,
7846 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7847 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
7849 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
7850 apzIsc_Omits_With_StdcMachs,
7851 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7852 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
7854 { zKandr_ConcatName, zKandr_ConcatList,
7855 apzKandr_ConcatMachs,
7856 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7857 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
7859 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
7860 apzLinux_Ia64_UcontextMachs,
7861 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7862 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
7864 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
7865 apzLynxos_No_Warning_In_Sys_Time_HMachs,
7866 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7867 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
7869 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
7870 apzLynxos_Missing_PutenvMachs,
7871 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7872 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
7874 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
7875 apzMachine_Ansi_H_Va_ListMachs,
7876 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7877 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
7879 { zMachine_NameName, zMachine_NameList,
7880 apzMachine_NameMachs,
7881 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7882 aMachine_NameTests, apzMachine_NamePatch, 0 },
7884 { zMath_ExceptionName, zMath_ExceptionList,
7885 apzMath_ExceptionMachs,
7886 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7887 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
7889 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
7890 apzMath_Huge_Val_From_Dbl_MaxMachs,
7891 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
7892 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
7894 { zNested_Auth_DesName, zNested_Auth_DesList,
7895 apzNested_Auth_DesMachs,
7896 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7897 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
7899 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
7900 apzNested_Sys_LimitsMachs,
7901 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
7902 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
7904 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
7905 apzNetbsd_C99_Inline_1Machs,
7906 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7907 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
7909 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
7910 apzNetbsd_C99_Inline_2Machs,
7911 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7912 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
7914 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
7915 apzNetbsd_Extra_SemicolonMachs,
7916 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7917 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
7919 { zNext_Math_PrefixName, zNext_Math_PrefixList,
7920 apzNext_Math_PrefixMachs,
7921 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7922 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
7924 { zNext_TemplateName, zNext_TemplateList,
7925 apzNext_TemplateMachs,
7926 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7927 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
7929 { zNext_VolitileName, zNext_VolitileList,
7930 apzNext_VolitileMachs,
7931 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7932 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
7934 { zNext_Wait_UnionName, zNext_Wait_UnionList,
7935 apzNext_Wait_UnionMachs,
7936 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7937 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
7939 { zNodeent_SyntaxName, zNodeent_SyntaxList,
7940 apzNodeent_SyntaxMachs,
7941 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7942 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
7944 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
7945 apzObstack_Lvalue_CastMachs,
7946 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7947 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
7949 { zOsf_Namespace_AName, zOsf_Namespace_AList,
7950 apzOsf_Namespace_AMachs,
7951 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7952 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
7954 { zOsf_Namespace_CName, zOsf_Namespace_CList,
7955 apzOsf_Namespace_CMachs,
7956 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7957 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
7959 { zPthread_Page_SizeName, zPthread_Page_SizeList,
7960 apzPthread_Page_SizeMachs,
7961 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7962 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
7964 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
7965 apzPthread_Incomplete_Struct_ArgumentMachs,
7966 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7967 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
7969 { zRead_Ret_TypeName, zRead_Ret_TypeList,
7970 apzRead_Ret_TypeMachs,
7971 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7972 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
7974 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
7975 apzRpc_Xdr_Lvalue_Cast_AMachs,
7976 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7977 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
7979 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
7980 apzRpc_Xdr_Lvalue_Cast_BMachs,
7981 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7982 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
7984 { zRs6000_DoubleName, zRs6000_DoubleList,
7985 apzRs6000_DoubleMachs,
7986 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7987 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
7989 { zRs6000_FchmodName, zRs6000_FchmodList,
7990 apzRs6000_FchmodMachs,
7991 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7992 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
7994 { zRs6000_ParamName, zRs6000_ParamList,
7995 apzRs6000_ParamMachs,
7996 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7997 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
7999 { zSco_MathName, zSco_MathList,
8001 SCO_MATH_TEST_CT, FD_MACH_ONLY,
8002 aSco_MathTests, apzSco_MathPatch, 0 },
8004 { zSolaris_Math_1Name, zSolaris_Math_1List,
8005 apzSolaris_Math_1Machs,
8006 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8007 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
8009 { zSolaris_Math_2Name, zSolaris_Math_2List,
8010 apzSolaris_Math_2Machs,
8011 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8012 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
8014 { zSolaris_Math_3Name, zSolaris_Math_3List,
8015 apzSolaris_Math_3Machs,
8016 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8017 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
8019 { zSolaris_Math_4Name, zSolaris_Math_4List,
8020 apzSolaris_Math_4Machs,
8021 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8022 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
8024 { zSolaris_Math_8Name, zSolaris_Math_8List,
8025 apzSolaris_Math_8Machs,
8026 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8027 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
8029 { zSolaris_Math_9Name, zSolaris_Math_9List,
8030 apzSolaris_Math_9Machs,
8031 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8032 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
8034 { zSolaris_Math_10Name, zSolaris_Math_10List,
8035 apzSolaris_Math_10Machs,
8036 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8037 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
8039 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
8040 apzSolaris_Mutex_Init_2Machs,
8041 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8042 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
8044 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
8045 apzSolaris_Rwlock_Init_1Machs,
8046 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8047 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
8049 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
8050 apzSolaris_Once_Init_1Machs,
8051 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8052 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
8054 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
8055 apzSolaris_Once_Init_2Machs,
8056 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8057 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
8059 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
8060 apzSolaris_Stdio_TagMachs,
8061 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
8062 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
8064 { zStatsswtchName, zStatsswtchList,
8066 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8067 aStatsswtchTests, apzStatsswtchPatch, 0 },
8069 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
8070 apzStdio_Stdarg_HMachs,
8071 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
8072 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
8074 { zStdio_Va_ListName, zStdio_Va_ListList,
8075 apzStdio_Va_ListMachs,
8076 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
8077 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
8079 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
8080 apzStdio_Va_List_ClientsMachs,
8081 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
8082 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
8084 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
8085 apzStrict_Ansi_NotMachs,
8086 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8087 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
8089 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
8090 apzStrict_Ansi_Not_CtdMachs,
8091 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8092 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
8094 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
8095 apzStrict_Ansi_OnlyMachs,
8096 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8097 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
8099 { zStruct_FileName, zStruct_FileList,
8100 apzStruct_FileMachs,
8101 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8102 aStruct_FileTests, apzStruct_FilePatch, 0 },
8104 { zStruct_SockaddrName, zStruct_SockaddrList,
8105 apzStruct_SockaddrMachs,
8106 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8107 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
8109 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
8110 apzSun_Auth_ProtoMachs,
8111 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8112 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
8114 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
8115 apzSun_Bogus_IfdefMachs,
8116 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8117 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
8119 { zSun_CatmacroName, zSun_CatmacroList,
8120 apzSun_CatmacroMachs,
8121 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8122 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
8124 { zSun_MallocName, zSun_MallocList,
8126 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
8127 aSun_MallocTests, apzSun_MallocPatch, 0 },
8129 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
8130 apzSun_Rusers_SemiMachs,
8131 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
8132 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
8134 { zSun_SignalName, zSun_SignalList,
8136 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8137 aSun_SignalTests, apzSun_SignalPatch, 0 },
8139 { zSunos_StrlenName, zSunos_StrlenList,
8140 apzSunos_StrlenMachs,
8141 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8142 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
8144 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
8145 apzSvr4_Disable_OptMachs,
8146 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
8147 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
8149 { zSvr4_GetcwdName, zSvr4_GetcwdList,
8150 apzSvr4_GetcwdMachs,
8151 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8152 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
8154 { zSvr4_ProfilName, zSvr4_ProfilList,
8155 apzSvr4_ProfilMachs,
8156 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8157 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
8159 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
8160 apzSvr4_Sighandler_TypeMachs,
8161 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8162 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
8164 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
8165 apzSvr4_Undeclared_GetrngeMachs,
8166 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8167 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
8169 { zSysv68_StringName, zSysv68_StringList,
8170 apzSysv68_StringMachs,
8171 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
8172 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
8174 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
8175 apzSysz_Stdlib_For_SunMachs,
8176 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8177 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
8179 { zThread_KeywordName, zThread_KeywordList,
8180 apzThread_KeywordMachs,
8181 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8182 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
8184 { zTinfo_CplusplusName, zTinfo_CplusplusList,
8185 apzTinfo_CplusplusMachs,
8186 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8187 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
8189 { zUltrix_ConstName, zUltrix_ConstList,
8190 apzUltrix_ConstMachs,
8191 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8192 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
8194 { zUltrix_Const2Name, zUltrix_Const2List,
8195 apzUltrix_Const2Machs,
8196 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8197 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
8199 { zVa_I960_MacroName, zVa_I960_MacroList,
8200 apzVa_I960_MacroMachs,
8201 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8202 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8204 { zVoid_NullName, zVoid_NullList,
8206 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8207 aVoid_NullTests, apzVoid_NullPatch, 0 },
8209 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8210 apzVxworks_Gcc_ProblemMachs,
8211 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8212 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8214 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8215 apzVxworks_Needs_VxtypesMachs,
8216 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8217 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8219 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8220 apzVxworks_Needs_VxworksMachs,
8221 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8222 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8224 { zVxworks_TimeName, zVxworks_TimeList,
8225 apzVxworks_TimeMachs,
8226 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8227 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8229 { zX11_ClassName, zX11_ClassList,
8231 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8232 aX11_ClassTests, apzX11_ClassPatch, 0 },
8234 { zX11_Class_UsageName, zX11_Class_UsageList,
8235 apzX11_Class_UsageMachs,
8236 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8237 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
8239 { zX11_NewName, zX11_NewList,
8241 X11_NEW_TEST_CT, FD_MACH_ONLY,
8242 aX11_NewTests, apzX11_NewPatch, 0 },
8244 { zX11_SprintfName, zX11_SprintfList,
8245 apzX11_SprintfMachs,
8246 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8247 aX11_SprintfTests, apzX11_SprintfPatch, 0 }