1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Saturday March 28, 2015 at 01:24:12 PM EDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat 28 Mar 2015 13:24:12 EDT
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 226 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
24 * The Free Software Foundation, Inc.
26 * inclhack is free software: you can redistribute it and/or modify it
27 * under the terms of the GNU General Public License as published by the
28 * Free Software Foundation, either version 3 of the License, or
29 * (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful, but
32 * WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License along
37 * with this program. If not, see <http://www.gnu.org/licenses/>.
40 #define SED_PROGRAM "/usr/bin/sed"
42 static char const sed_cmd_z[] = SED_PROGRAM;
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
46 * Description of Aab_Aix_Stdio fix
48 tSCC zAab_Aix_StdioName[] =
52 * File name selection pattern
54 tSCC zAab_Aix_StdioList[] =
57 * Machine/OS name selection pattern
59 tSCC* apzAab_Aix_StdioMachs[] = {
64 * content selection pattern - do fix if pattern found
66 tSCC zAab_Aix_StdioSelect0[] =
67 "define fopen fopen64";
69 #define AAB_AIX_STDIO_TEST_CT 1
70 static tTestDesc aAab_Aix_StdioTests[] = {
71 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
74 * Fix Command Arguments for Aab_Aix_Stdio
76 static const char* apzAab_Aix_StdioPatch[] = {
80 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
81 #define __need__aix_stdio_h_fix\n\
82 #ifdef __need__aix_stdio_h_fix\n\
89 /* Alias the symbols using asm */\n\
91 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
92 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
93 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
94 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
95 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
96 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
104 * Description of Aab_Aix_Fcntl fix
106 tSCC zAab_Aix_FcntlName[] =
110 * File name selection pattern
112 tSCC zAab_Aix_FcntlList[] =
115 * Machine/OS name selection pattern
117 tSCC* apzAab_Aix_FcntlMachs[] = {
122 * content selection pattern - do fix if pattern found
124 tSCC zAab_Aix_FcntlSelect0[] =
125 "define open[ \t]open64";
127 #define AAB_AIX_FCNTL_TEST_CT 1
128 static tTestDesc aAab_Aix_FcntlTests[] = {
129 { TT_EGREP, zAab_Aix_FcntlSelect0, (regex_t*)NULL }, };
132 * Fix Command Arguments for Aab_Aix_Fcntl
134 static const char* apzAab_Aix_FcntlPatch[] = {
138 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
139 #define __need__aix_fcntl_h_fix\n\
140 #ifdef __need__aix_fcntl_h_fix\n\
144 /* Alias the symbols using asm */\n\
146 extern int open(const char *, int, ...) __asm__(\"open64\");\n\
147 extern int creat(const char *, mode_t) __asm__(\"creat64\");\n\
148 #if (_XOPEN_SOURCE >= 700)\n\
149 extern int openat(int, const char *, int, ...) __asm__(\"open64at\");\n\
156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
158 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
160 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
161 "AAB_darwin7_9_long_double_funcs";
164 * File name selection pattern
166 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
167 "architecture/ppc/math.h\0";
169 * Machine/OS name selection pattern
171 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
176 * content bypass pattern - skip fix if pattern found
178 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
181 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
182 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
183 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
186 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
188 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
189 "/* This file prototypes the long double functions available on Mac OS\n\
192 # undef __APPLE_CC__\n\
193 # define __APPLE_CC__ 1345\n\
194 # include_next <architecture/ppc/math.h>\n\
195 # undef __APPLE_CC__\n\
196 # define __APPLE_CC__ 1\n\
197 # ifndef __LIBMLDBL_COMPAT\n\
198 # ifdef __LONG_DOUBLE_128__\n\
199 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
201 # define __LIBMLDBL_COMPAT(sym)\n\
202 # endif /* __LONG_DOUBLE_128__ */\n\
203 # endif /* __LIBMLDBL_COMPAT */\n\
204 # ifdef __cplusplus\n\
207 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
208 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
209 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
210 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
211 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
212 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
213 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
214 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
215 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
216 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
217 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
218 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
219 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
220 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
221 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
222 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
223 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
224 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
225 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
226 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
227 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
228 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
229 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
230 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
231 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
232 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
233 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
234 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
235 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
236 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
237 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
238 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
239 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
240 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
241 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
242 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
243 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
244 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
245 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
246 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
247 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
248 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
249 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
250 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
251 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
252 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
253 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
254 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
255 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
256 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
257 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
258 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
259 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
260 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
261 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
262 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
263 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
264 # ifdef __cplusplus\n\
267 #endif /* __MATH__ */",
270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
272 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
274 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
275 "AAB_fd_zero_asm_posix_types_h";
278 * File name selection pattern
280 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
281 "asm/posix_types.h\0";
283 * Machine/OS name selection pattern
285 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
286 "i[34567]86-*-linux*",
290 * content bypass pattern - skip fix if pattern found
292 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
294 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
296 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
299 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
300 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
301 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
302 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
303 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
306 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
308 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
309 "/* This file fixes a bug in the __FD_ZERO macro\n\
310 for older versions of the Linux kernel. */\n\
311 #ifndef _POSIX_TYPES_H_WRAPPER\n\
312 #include <features.h>\n\
313 #include_next <asm/posix_types.h>\n\n\
314 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
316 #define __FD_ZERO(fdsetp) \\\n\
318 int __d0, __d1; \\\n\
319 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
320 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
321 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
322 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
325 #define _POSIX_TYPES_H_WRAPPER\n\
326 #endif /* _POSIX_TYPES_H_WRAPPER */",
329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
331 * Description of Aab_Fd_Zero_Gnu_Types_H fix
333 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
334 "AAB_fd_zero_gnu_types_h";
337 * File name selection pattern
339 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
342 * Machine/OS name selection pattern
344 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
345 "i[34567]86-*-linux*",
347 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
348 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
351 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
353 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
354 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
355 #ifndef _TYPES_H_WRAPPER\n\
356 #include <features.h>\n\
357 #include_next <gnu/types.h>\n\n\
358 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
360 # define __FD_ZERO(fdsetp) \\\n\
362 int __d0, __d1; \\\n\
363 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
364 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
365 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
366 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
369 #define _TYPES_H_WRAPPER\n\
370 #endif /* _TYPES_H_WRAPPER */",
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375 * Description of Aab_Fd_Zero_Selectbits_H fix
377 tSCC zAab_Fd_Zero_Selectbits_HName[] =
378 "AAB_fd_zero_selectbits_h";
381 * File name selection pattern
383 tSCC zAab_Fd_Zero_Selectbits_HList[] =
386 * Machine/OS name selection pattern
388 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
389 "i[34567]86-*-linux*",
391 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
392 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
395 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
397 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
398 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
399 #ifndef _SELECTBITS_H_WRAPPER\n\
400 #include <features.h>\n\
401 #include_next <selectbits.h>\n\n\
402 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
403 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
404 && __GLIBC_MINOR__ == 0\n\
406 #define __FD_ZERO(fdsetp) \\\\\n\
408 int __d0, __d1; \\\\\n\
409 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
410 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
411 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
412 / sizeof (__fd_mask)), \\\\\n\
413 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
414 : \"memory\"); \\\\\n\
417 #define _SELECTBITS_H_WRAPPER\n\
418 #endif /* _SELECTBITS_H_WRAPPER */",
421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
423 * Description of Aab_Solaris_Sys_Varargs_H fix
425 tSCC zAab_Solaris_Sys_Varargs_HName[] =
426 "AAB_solaris_sys_varargs_h";
429 * File name selection pattern
431 tSCC zAab_Solaris_Sys_Varargs_HList[] =
434 * Machine/OS name selection pattern
436 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
439 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
440 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
443 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
445 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
447 #include <stdarg.h>\n\
449 #include <varargs.h>\n\
453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
455 * Description of Aab_Sun_Memcpy fix
457 tSCC zAab_Sun_MemcpyName[] =
461 * File name selection pattern
463 tSCC zAab_Sun_MemcpyList[] =
466 * Machine/OS name selection pattern
468 #define apzAab_Sun_MemcpyMachs (const char**)NULL
471 * content selection pattern - do fix if pattern found
473 tSCC zAab_Sun_MemcpySelect0[] =
474 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
476 #define AAB_SUN_MEMCPY_TEST_CT 1
477 static tTestDesc aAab_Sun_MemcpyTests[] = {
478 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
481 * Fix Command Arguments for Aab_Sun_Memcpy
483 static const char* apzAab_Sun_MemcpyPatch[] = {
484 "/* This file was generated by fixincludes */\n\
485 #ifndef __memory_h__\n\
486 #define __memory_h__\n\n\
488 extern void *memccpy();\n\
489 extern void *memchr();\n\
490 extern void *memcpy();\n\
491 extern void *memset();\n\
493 extern char *memccpy();\n\
494 extern char *memchr();\n\
495 extern char *memcpy();\n\
496 extern char *memset();\n\
497 #endif /* __STDC__ */\n\n\
498 extern int memcmp();\n\n\
499 #endif /* __memory_h__ */",
502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
504 * Description of Aab_Vxworks_Assert fix
506 tSCC zAab_Vxworks_AssertName[] =
507 "AAB_vxworks_assert";
510 * File name selection pattern
512 tSCC zAab_Vxworks_AssertList[] =
515 * Machine/OS name selection pattern
517 tSCC* apzAab_Vxworks_AssertMachs[] = {
520 #define AAB_VXWORKS_ASSERT_TEST_CT 0
521 #define aAab_Vxworks_AssertTests (tTestDesc*)NULL
524 * Fix Command Arguments for Aab_Vxworks_Assert
526 static const char* apzAab_Vxworks_AssertPatch[] = {
527 "#ifndef _ASSERT_H\n\
528 #define _ASSERT_H\n\n\
532 #if defined(__STDC__) || defined(__cplusplus)\n\
533 extern void __assert (const char*);\n\
535 extern void __assert ();\n\
538 #define assert(ign) ((void)0)\n\
540 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
541 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
542 #define assert(test) ((void) \\\n\
543 ((test) ? ((void)0) : \\\n\
544 __assert(\"Assertion failed: \" ASSERT_STRINGIFY(test) \", file \" \\\n\
545 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
552 * Description of Aab_Vxworks_Regs_Vxtypes fix
554 tSCC zAab_Vxworks_Regs_VxtypesName[] =
555 "AAB_vxworks_regs_vxtypes";
558 * File name selection pattern
560 tSCC zAab_Vxworks_Regs_VxtypesList[] =
563 * Machine/OS name selection pattern
565 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
568 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
569 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
572 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
574 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
577 #include <types/vxTypesOld.h>\n\
578 #include_next <arch/../regs.h>\n\
582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
584 * Description of Aab_Vxworks_Stdint fix
586 tSCC zAab_Vxworks_StdintName[] =
587 "AAB_vxworks_stdint";
590 * File name selection pattern
592 tSCC zAab_Vxworks_StdintList[] =
595 * Machine/OS name selection pattern
597 tSCC* apzAab_Vxworks_StdintMachs[] = {
600 #define AAB_VXWORKS_STDINT_TEST_CT 0
601 #define aAab_Vxworks_StdintTests (tTestDesc*)NULL
604 * Fix Command Arguments for Aab_Vxworks_Stdint
606 static const char* apzAab_Vxworks_StdintPatch[] = {
607 "#ifndef _STDINT_H\n\
609 /* get int*_t, uint*_t */\n\
610 #include <types/vxTypes.h>\n\n\
611 /* get legacy vxworks types for compatibility */\n\
612 #include <types/vxTypesOld.h>\n\n\
613 typedef long intptr_t;\n\
614 typedef unsigned long uintptr_t;\n\n\
615 typedef int64_t intmax_t;\n\
616 typedef uint64_t uintmax_t;\n\n\
617 typedef int8_t int_least8_t;\n\
618 typedef int16_t int_least16_t;\n\
619 typedef int32_t int_least32_t;\n\
620 typedef int64_t int_least64_t;\n\n\
621 typedef uint8_t uint_least8_t;\n\
622 typedef uint16_t uint_least16_t;\n\
623 typedef uint32_t uint_least32_t;\n\
624 typedef uint64_t uint_least64_t;\n\n\
625 typedef int8_t int_fast8_t;\n\
626 typedef int int_fast16_t;\n\
627 typedef int32_t int_fast32_t;\n\
628 typedef int64_t int_fast64_t;\n\n\
629 typedef uint8_t uint_fast8_t;\n\
630 typedef unsigned int uint_fast16_t;\n\
631 typedef uint32_t uint_fast32_t;\n\
632 typedef uint64_t uint_fast64_t;\n\n\
634 #define UINT8_MAX (~(uint8_t)0)\n\
635 #define UINT8_MIN 0\n\
636 #define UINT16_MAX (~(uint16_t)0)\n\
637 #define UINT16_MIN 0\n\
638 #define UINT32_MAX (~(uint32_t)0)\n\
639 #define UINT32_MIN 0\n\
640 #define UINT64_MAX (~(uint64_t)0)\n\
641 #define UINT64_MIN 0\n\n\
642 #define UINTPTR_MAX (~(uintptr_t)0)\n\
643 #define UINTPTR_MIN 0\n\n\
644 /* Need to do int_fast16_t as well, as type\n\
645 size may be architecture dependent */\n\
646 #define UINT_FAST16_MAX (~(uint_fast16_t)0)\n\
647 #define UINT_FAST16_MAX 0\n\n\
648 #define INT8_MAX (UINT8_MAX>>1)\n\
649 #define INT8_MIN (INT8_MAX+1)\n\
650 #define INT16_MAX (UINT16_MAX>>1)\n\
651 #define INT16_MIN (INT16_MAX+1)\n\
652 #define INT32_MAX (UINT32_MAX>>1)\n\
653 #define INT32_MIN (INT32_MAX+1)\n\
654 #define INT64_MAX (UINT64_MAX>>1)\n\
655 #define INT64_MIN (INT64_MAX+1)\n\n\
656 #define INTPTR_MAX (UINTPTR_MAX>>1)\n\
657 #define INTPTR_MIN (INTPTR_MAX+1)\t\n\n\
658 #define INT_FAST16_MAX (UINT_FAST16_MAX>>1)\n\
659 #define INT_FAST16_MIN (INT_FAST16_MAX+1)\n\n\
660 /* now define equiv. constants */\n\
661 #define UINT_FAST8_MAX UINT8_MAX\n\
662 #define UINT_FAST8_MIN UINT_FAST8_MIN\n\
663 #define INT_FAST8_MAX INT8_MAX\n\
664 #define INT_FAST8_MIN INT8_MIN\n\
665 #define UINT_FAST32_MAX UINT32_MAX\n\
666 #define UINT_FAST32_MIN UINT32_MIN\n\
667 #define INT_FAST32_MAX INT32_MAX\n\
668 #define INT_FAST32_MIN INT32_MIN\n\
669 #define UINT_FAST64_MAX UINT64_MAX\n\
670 #define UINT_FAST64_MIN UINT64_MIN\n\
671 #define INT_FAST64_MAX INT64_MAX\n\
672 #define INT_FAST64_MIN INT64_MIN\n\n\
673 #define UINT_LEAST8_MAX UINT8_MAX\n\
674 #define UINT_LEAST8_MIN UINT8_MIN\n\
675 #define INT_LEAST8_MAX INT8_MAX\n\
676 #define INT_LEAST8_MIN INT8_MIN\n\
677 #define UINT_LEAST16_MAX UINT16_MAX\n\
678 #define UINT_LEAST16_MIN UINT16_MIN\n\
679 #define INT_LEAST16_MAX INT16_MAX\n\
680 #define INT_LEAST16_MIN INT16_MIN\n\
681 #define UINT_LEAST32_MAX UINT32_MAX\n\
682 #define UINT_LEAST32_MIN UINT32_MIN\n\
683 #define INT_LEAST32_MAX INT32_MAX\n\
684 #define INT_LEAST32_MIN INT32_MIN\n\
685 #define UINT_LEAST64_MAX UINT64_MAX\n\
686 #define UINT_LEAST64_MIN UINT64_MIN\n\
687 #define INT_LEAST64_MAX INT64_MAX\n\
688 #define INT_LEAST64_MIN INT64_MIN\n\n\
689 #define UINTMAX_MAX UINT64_MAX\n\
690 #define UINTMAX_MIN UINT64_MIN\n\
691 #define INTMAX_MAX INT64_MAX\n\
692 #define INTMAX_MIN INT64_MIN\n\n\
696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
698 * Description of Aab_Vxworks_Unistd fix
700 tSCC zAab_Vxworks_UnistdName[] =
701 "AAB_vxworks_unistd";
704 * File name selection pattern
706 tSCC zAab_Vxworks_UnistdList[] =
709 * Machine/OS name selection pattern
711 tSCC* apzAab_Vxworks_UnistdMachs[] = {
714 #define AAB_VXWORKS_UNISTD_TEST_CT 0
715 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
718 * Fix Command Arguments for Aab_Vxworks_Unistd
720 static const char* apzAab_Vxworks_UnistdPatch[] = {
721 "#ifndef _UNISTD_H\n\
723 #include_next <unistd.h>\n\
724 #include <ioLib.h>\n\
725 #ifndef STDIN_FILENO\n\
726 #define STDIN_FILENO 0\n\
728 #ifndef STDOUT_FILENO\n\
729 #define STDOUT_FILENO 1\n\
731 #ifndef STDERR_FILENO\n\
732 #define STDERR_FILENO 2\n\
734 #endif /* _UNISTD_H */",
737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
739 * Description of Aix_Assert fix
741 tSCC zAix_AssertName[] =
745 * File name selection pattern
747 tSCC zAix_AssertList[] =
750 * Machine/OS name selection pattern
752 tSCC* apzAix_AssertMachs[] = {
757 * content selection pattern - do fix if pattern found
759 tSCC zAix_AssertSelect0[] =
760 "#define[ \t]static_assert[ \t]_Static_assert";
762 #define AIX_ASSERT_TEST_CT 1
763 static tTestDesc aAix_AssertTests[] = {
764 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
767 * Fix Command Arguments for Aix_Assert
769 static const char* apzAix_AssertPatch[] = {
771 "#ifndef __cplusplus\n\
776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
778 * Description of Aix_Complex fix
780 tSCC zAix_ComplexName[] =
784 * File name selection pattern
786 tSCC zAix_ComplexList[] =
789 * Machine/OS name selection pattern
791 tSCC* apzAix_ComplexMachs[] = {
796 * content selection pattern - do fix if pattern found
798 tSCC zAix_ComplexSelect0[] =
799 "#define[ \t]_Complex_I[ \t]__I";
801 #define AIX_COMPLEX_TEST_CT 1
802 static tTestDesc aAix_ComplexTests[] = {
803 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
806 * Fix Command Arguments for Aix_Complex
808 static const char* apzAix_ComplexPatch[] = {
810 "#define _Complex_I (__extension__ 1.0iF)",
813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
815 * Description of Aix_Malloc fix
817 tSCC zAix_MallocName[] =
821 * File name selection pattern
823 tSCC zAix_MallocList[] =
826 * Machine/OS name selection pattern
828 tSCC* apzAix_MallocMachs[] = {
833 * content selection pattern - do fix if pattern found
835 tSCC zAix_MallocSelect0[] =
836 "#ifdef __cplusplus";
838 #define AIX_MALLOC_TEST_CT 1
839 static tTestDesc aAix_MallocTests[] = {
840 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
843 * Fix Command Arguments for Aix_Malloc
845 static const char* apzAix_MallocPatch[] = {
847 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
852 * Description of Aix_Net_If_Arp fix
854 tSCC zAix_Net_If_ArpName[] =
858 * File name selection pattern
860 tSCC zAix_Net_If_ArpList[] =
863 * Machine/OS name selection pattern
865 tSCC* apzAix_Net_If_ArpMachs[] = {
870 * content selection pattern - do fix if pattern found
872 tSCC zAix_Net_If_ArpSelect0[] =
873 "^struct fc_softc \\{";
875 #define AIX_NET_IF_ARP_TEST_CT 1
876 static tTestDesc aAix_Net_If_ArpTests[] = {
877 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
880 * Fix Command Arguments for Aix_Net_If_Arp
882 static const char* apzAix_Net_If_ArpPatch[] = {
884 "typedef struct _fc_softc {",
887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
889 * Description of Aix_Null fix
891 tSCC zAix_NullName[] =
895 * File name selection pattern
897 tSCC zAix_NullList[] =
898 "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
900 * Machine/OS name selection pattern
902 tSCC* apzAix_NullMachs[] = {
907 * content selection pattern - do fix if pattern found
909 tSCC zAix_NullSelect0[] =
910 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
913 * content bypass pattern - skip fix if pattern found
915 tSCC zAix_NullBypass0[] =
918 #define AIX_NULL_TEST_CT 2
919 static tTestDesc aAix_NullTests[] = {
920 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
921 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
924 * Fix Command Arguments for Aix_Null
926 static const char* apzAix_NullPatch[] = {
929 #ifdef __cplusplus\n\
931 #define NULL __null\n\
932 #else /* ! __GNUG__ */\n\
934 #endif /* __GNUG__ */\n\
935 #else /* ! __cplusplus */\n\
936 #define NULL ((void *)0)\n\
937 #endif /* __cplusplus */\n\
941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
943 * Description of Aix_Once_Init_1 fix
945 tSCC zAix_Once_Init_1Name[] =
949 * File name selection pattern
951 tSCC zAix_Once_Init_1List[] =
954 * Machine/OS name selection pattern
956 tSCC* apzAix_Once_Init_1Machs[] = {
961 * content selection pattern - do fix if pattern found
963 tSCC zAix_Once_Init_1Select0[] =
964 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
967 #define AIX_ONCE_INIT_1_TEST_CT 1
968 static tTestDesc aAix_Once_Init_1Tests[] = {
969 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
972 * Fix Command Arguments for Aix_Once_Init_1
974 static const char* apzAix_Once_Init_1Patch[] = {
976 "#define PTHREAD_ONCE_INIT \\\n\
980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
982 * Description of Aix_Once_Init_2 fix
984 tSCC zAix_Once_Init_2Name[] =
988 * File name selection pattern
990 tSCC zAix_Once_Init_2List[] =
993 * Machine/OS name selection pattern
995 tSCC* apzAix_Once_Init_2Machs[] = {
1000 * content selection pattern - do fix if pattern found
1002 tSCC zAix_Once_Init_2Select0[] =
1006 #define AIX_ONCE_INIT_2_TEST_CT 1
1007 static tTestDesc aAix_Once_Init_2Tests[] = {
1008 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1011 * Fix Command Arguments for Aix_Once_Init_2
1013 static const char* apzAix_Once_Init_2Patch[] = {
1019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1021 * Description of Aix_Mutex_Initializer_1 fix
1023 tSCC zAix_Mutex_Initializer_1Name[] =
1024 "aix_mutex_initializer_1";
1027 * File name selection pattern
1029 tSCC zAix_Mutex_Initializer_1List[] =
1032 * Machine/OS name selection pattern
1034 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1036 (const char*)NULL };
1039 * content selection pattern - do fix if pattern found
1041 tSCC zAix_Mutex_Initializer_1Select0[] =
1042 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1045 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1046 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1047 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1050 * Fix Command Arguments for Aix_Mutex_Initializer_1
1052 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1054 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1060 * Description of Aix_Cond_Initializer_1 fix
1062 tSCC zAix_Cond_Initializer_1Name[] =
1063 "aix_cond_initializer_1";
1066 * File name selection pattern
1068 tSCC zAix_Cond_Initializer_1List[] =
1071 * Machine/OS name selection pattern
1073 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1075 (const char*)NULL };
1078 * content selection pattern - do fix if pattern found
1080 tSCC zAix_Cond_Initializer_1Select0[] =
1081 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1084 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1085 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1086 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1089 * Fix Command Arguments for Aix_Cond_Initializer_1
1091 static const char* apzAix_Cond_Initializer_1Patch[] = {
1093 "#define PTHREAD_COND_INITIALIZER \\\n\
1097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1099 * Description of Aix_Rwlock_Initializer_1 fix
1101 tSCC zAix_Rwlock_Initializer_1Name[] =
1102 "aix_rwlock_initializer_1";
1105 * File name selection pattern
1107 tSCC zAix_Rwlock_Initializer_1List[] =
1110 * Machine/OS name selection pattern
1112 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1114 (const char*)NULL };
1117 * content selection pattern - do fix if pattern found
1119 tSCC zAix_Rwlock_Initializer_1Select0[] =
1120 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1123 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1124 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1125 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1128 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1130 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1132 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1138 * Description of Aix_Pthread fix
1140 tSCC zAix_PthreadName[] =
1144 * File name selection pattern
1146 tSCC zAix_PthreadList[] =
1149 * Machine/OS name selection pattern
1151 #define apzAix_PthreadMachs (const char**)NULL
1154 * content selection pattern - do fix if pattern found
1156 tSCC zAix_PthreadSelect0[] =
1157 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1161 #define AIX_PTHREAD_TEST_CT 1
1162 static tTestDesc aAix_PthreadTests[] = {
1163 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1166 * Fix Command Arguments for Aix_Pthread
1168 static const char* apzAix_PthreadPatch[] = {
1173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1175 * Description of Aix_Stdint_1 fix
1177 tSCC zAix_Stdint_1Name[] =
1181 * File name selection pattern
1183 tSCC zAix_Stdint_1List[] =
1184 "stdint-aix.h\0stdint.h\0";
1186 * Machine/OS name selection pattern
1188 tSCC* apzAix_Stdint_1Machs[] = {
1190 (const char*)NULL };
1193 * content selection pattern - do fix if pattern found
1195 tSCC zAix_Stdint_1Select0[] =
1196 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1197 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1199 #define AIX_STDINT_1_TEST_CT 1
1200 static tTestDesc aAix_Stdint_1Tests[] = {
1201 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1204 * Fix Command Arguments for Aix_Stdint_1
1206 static const char* apzAix_Stdint_1Patch[] = {
1208 "#define UINT8_MAX\t(255)\n\
1209 #define UINT16_MAX\t(65535)",
1212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1214 * Description of Aix_Stdint_2 fix
1216 tSCC zAix_Stdint_2Name[] =
1220 * File name selection pattern
1222 tSCC zAix_Stdint_2List[] =
1223 "stdint-aix.h\0stdint.h\0";
1225 * Machine/OS name selection pattern
1227 tSCC* apzAix_Stdint_2Machs[] = {
1229 (const char*)NULL };
1232 * content selection pattern - do fix if pattern found
1234 tSCC zAix_Stdint_2Select0[] =
1235 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1236 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1237 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1239 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1240 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1241 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1243 #define AIX_STDINT_2_TEST_CT 1
1244 static tTestDesc aAix_Stdint_2Tests[] = {
1245 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1248 * Fix Command Arguments for Aix_Stdint_2
1250 static const char* apzAix_Stdint_2Patch[] = {
1252 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1253 #define INTPTR_MAX\t9223372036854775807L\n\
1254 #define UINTPTR_MAX\t18446744073709551615UL\n\
1256 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1257 #define INTPTR_MAX\t2147483647L\n\
1258 #define UINTPTR_MAX\t4294967295UL",
1261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1263 * Description of Aix_Stdint_3 fix
1265 tSCC zAix_Stdint_3Name[] =
1269 * File name selection pattern
1271 tSCC zAix_Stdint_3List[] =
1272 "stdint-aix.h\0stdint.h\0";
1274 * Machine/OS name selection pattern
1276 tSCC* apzAix_Stdint_3Machs[] = {
1278 (const char*)NULL };
1281 * content selection pattern - do fix if pattern found
1283 tSCC zAix_Stdint_3Select0[] =
1284 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1285 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1287 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1288 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1290 #define AIX_STDINT_3_TEST_CT 1
1291 static tTestDesc aAix_Stdint_3Tests[] = {
1292 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1295 * Fix Command Arguments for Aix_Stdint_3
1297 static const char* apzAix_Stdint_3Patch[] = {
1299 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1300 #define PTRDIFF_MAX\t9223372036854775807L\n\
1302 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1303 #define PTRDIFF_MAX\t2147483647L",
1306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1308 * Description of Aix_Stdint_4 fix
1310 tSCC zAix_Stdint_4Name[] =
1314 * File name selection pattern
1316 tSCC zAix_Stdint_4List[] =
1317 "stdint-aix.h\0stdint.h\0";
1319 * Machine/OS name selection pattern
1321 tSCC* apzAix_Stdint_4Machs[] = {
1323 (const char*)NULL };
1326 * content selection pattern - do fix if pattern found
1328 tSCC zAix_Stdint_4Select0[] =
1329 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1331 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1333 #define AIX_STDINT_4_TEST_CT 1
1334 static tTestDesc aAix_Stdint_4Tests[] = {
1335 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1338 * Fix Command Arguments for Aix_Stdint_4
1340 static const char* apzAix_Stdint_4Patch[] = {
1342 "#define SIZE_MAX\t18446744073709551615UL\n\
1344 #define SIZE_MAX\t4294967295UL",
1347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1349 * Description of Aix_Stdint_5 fix
1351 tSCC zAix_Stdint_5Name[] =
1355 * File name selection pattern
1357 tSCC zAix_Stdint_5List[] =
1358 "stdint-aix.h\0stdint.h\0";
1360 * Machine/OS name selection pattern
1362 tSCC* apzAix_Stdint_5Machs[] = {
1364 (const char*)NULL };
1367 * content selection pattern - do fix if pattern found
1369 tSCC zAix_Stdint_5Select0[] =
1370 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1371 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1373 #define AIX_STDINT_5_TEST_CT 1
1374 static tTestDesc aAix_Stdint_5Tests[] = {
1375 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1378 * Fix Command Arguments for Aix_Stdint_5
1380 static const char* apzAix_Stdint_5Patch[] = {
1382 "#define UINT8_C(c)\tc\n\
1383 #define UINT16_C(c)\tc",
1386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1388 * Description of Aix_Strtof_Const fix
1390 tSCC zAix_Strtof_ConstName[] =
1394 * File name selection pattern
1396 tSCC zAix_Strtof_ConstList[] =
1399 * Machine/OS name selection pattern
1401 #define apzAix_Strtof_ConstMachs (const char**)NULL
1404 * content selection pattern - do fix if pattern found
1406 tSCC zAix_Strtof_ConstSelect0[] =
1407 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1409 #define AIX_STRTOF_CONST_TEST_CT 1
1410 static tTestDesc aAix_Strtof_ConstTests[] = {
1411 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1414 * Fix Command Arguments for Aix_Strtof_Const
1416 static const char* apzAix_Strtof_ConstPatch[] = {
1418 "%1(const char *, char **);",
1421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1423 * Description of Aix_Sysmachine fix
1425 tSCC zAix_SysmachineName[] =
1429 * File name selection pattern
1431 tSCC zAix_SysmachineList[] =
1434 * Machine/OS name selection pattern
1436 #define apzAix_SysmachineMachs (const char**)NULL
1439 * content selection pattern - do fix if pattern found
1441 tSCC zAix_SysmachineSelect0[] =
1444 #define AIX_SYSMACHINE_TEST_CT 1
1445 static tTestDesc aAix_SysmachineTests[] = {
1446 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1449 * Fix Command Arguments for Aix_Sysmachine
1451 static const char* apzAix_SysmachinePatch[] = {
1456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1458 * Description of Aix_Syswait_2 fix
1460 tSCC zAix_Syswait_2Name[] =
1464 * File name selection pattern
1466 tSCC zAix_Syswait_2List[] =
1469 * Machine/OS name selection pattern
1471 #define apzAix_Syswait_2Machs (const char**)NULL
1474 * content selection pattern - do fix if pattern found
1476 tSCC zAix_Syswait_2Select0[] =
1477 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1479 #define AIX_SYSWAIT_2_TEST_CT 1
1480 static tTestDesc aAix_Syswait_2Tests[] = {
1481 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1484 * Fix Command Arguments for Aix_Syswait_2
1486 static const char* apzAix_Syswait_2Patch[] = {
1491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1493 * Description of Aix_Volatile fix
1495 tSCC zAix_VolatileName[] =
1499 * File name selection pattern
1501 tSCC zAix_VolatileList[] =
1504 * Machine/OS name selection pattern
1506 #define apzAix_VolatileMachs (const char**)NULL
1509 * content selection pattern - do fix if pattern found
1511 tSCC zAix_VolatileSelect0[] =
1512 "typedef volatile int sig_atomic_t";
1514 #define AIX_VOLATILE_TEST_CT 1
1515 static tTestDesc aAix_VolatileTests[] = {
1516 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1519 * Fix Command Arguments for Aix_Volatile
1521 static const char* apzAix_VolatilePatch[] = {
1523 "typedef int sig_atomic_t",
1526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1528 * Description of Alpha___Assert fix
1530 tSCC zAlpha___AssertName[] =
1534 * File name selection pattern
1536 tSCC zAlpha___AssertList[] =
1539 * Machine/OS name selection pattern
1541 #define apzAlpha___AssertMachs (const char**)NULL
1544 * content selection pattern - do fix if pattern found
1546 tSCC zAlpha___AssertSelect0[] =
1547 "__assert\\(char \\*, char \\*, int\\)";
1549 #define ALPHA___ASSERT_TEST_CT 1
1550 static tTestDesc aAlpha___AssertTests[] = {
1551 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1554 * Fix Command Arguments for Alpha___Assert
1556 static const char* apzAlpha___AssertPatch[] = {
1558 "__assert(const char *, const char *, int)",
1561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1563 * Description of Alpha_Assert fix
1565 tSCC zAlpha_AssertName[] =
1569 * File name selection pattern
1571 tSCC zAlpha_AssertList[] =
1574 * Machine/OS name selection pattern
1576 #define apzAlpha_AssertMachs (const char**)NULL
1579 * content selection pattern - do fix if pattern found
1581 tSCC zAlpha_AssertSelect0[] =
1582 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1584 #define ALPHA_ASSERT_TEST_CT 1
1585 static tTestDesc aAlpha_AssertTests[] = {
1586 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1589 * Fix Command Arguments for Alpha_Assert
1591 static const char* apzAlpha_AssertPatch[] = {
1596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1598 * Description of Alpha_Getopt fix
1600 tSCC zAlpha_GetoptName[] =
1604 * File name selection pattern
1606 tSCC zAlpha_GetoptList[] =
1607 "stdio.h\0stdlib.h\0";
1609 * Machine/OS name selection pattern
1611 #define apzAlpha_GetoptMachs (const char**)NULL
1614 * content selection pattern - do fix if pattern found
1616 tSCC zAlpha_GetoptSelect0[] =
1617 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1619 #define ALPHA_GETOPT_TEST_CT 1
1620 static tTestDesc aAlpha_GetoptTests[] = {
1621 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1624 * Fix Command Arguments for Alpha_Getopt
1626 static const char* apzAlpha_GetoptPatch[] = {
1628 "getopt(int, char *const[], const char *)",
1631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1633 * Description of Alpha_If_Semicolon fix
1635 tSCC zAlpha_If_SemicolonName[] =
1636 "alpha_if_semicolon";
1639 * File name selection pattern
1641 tSCC zAlpha_If_SemicolonList[] =
1644 * Machine/OS name selection pattern
1646 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1649 * content selection pattern - do fix if pattern found
1651 tSCC zAlpha_If_SemicolonSelect0[] =
1652 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1654 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1655 static tTestDesc aAlpha_If_SemicolonTests[] = {
1656 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1659 * Fix Command Arguments for Alpha_If_Semicolon
1661 static const char* apzAlpha_If_SemicolonPatch[] = {
1663 "struct sockaddr vmif_paddr;\t/*",
1666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1668 * Description of Alpha_Parens fix
1670 tSCC zAlpha_ParensName[] =
1674 * File name selection pattern
1676 tSCC zAlpha_ParensList[] =
1679 * Machine/OS name selection pattern
1681 #define apzAlpha_ParensMachs (const char**)NULL
1684 * content selection pattern - do fix if pattern found
1686 tSCC zAlpha_ParensSelect0[] =
1687 "#ifndef\\(__mips64\\)";
1689 #define ALPHA_PARENS_TEST_CT 1
1690 static tTestDesc aAlpha_ParensTests[] = {
1691 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1694 * Fix Command Arguments for Alpha_Parens
1696 static const char* apzAlpha_ParensPatch[] = {
1701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1703 * Description of Alpha_Sbrk fix
1705 tSCC zAlpha_SbrkName[] =
1709 * File name selection pattern
1711 tSCC zAlpha_SbrkList[] =
1714 * Machine/OS name selection pattern
1716 #define apzAlpha_SbrkMachs (const char**)NULL
1719 * content selection pattern - do fix if pattern found
1721 tSCC zAlpha_SbrkSelect0[] =
1722 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1724 #define ALPHA_SBRK_TEST_CT 1
1725 static tTestDesc aAlpha_SbrkTests[] = {
1726 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1729 * Fix Command Arguments for Alpha_Sbrk
1731 static const char* apzAlpha_SbrkPatch[] = {
1736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1738 * Description of Avoid_Bool_Define fix
1740 tSCC zAvoid_Bool_DefineName[] =
1741 "avoid_bool_define";
1744 * File name selection pattern
1746 tSCC zAvoid_Bool_DefineList[] =
1747 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1749 * Machine/OS name selection pattern
1751 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1754 * content selection pattern - do fix if pattern found
1756 tSCC zAvoid_Bool_DefineSelect0[] =
1757 "#[ \t]*define[ \t]+bool[ \t]";
1760 * content bypass pattern - skip fix if pattern found
1762 tSCC zAvoid_Bool_DefineBypass0[] =
1765 #define AVOID_BOOL_DEFINE_TEST_CT 2
1766 static tTestDesc aAvoid_Bool_DefineTests[] = {
1767 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1768 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1771 * Fix Command Arguments for Avoid_Bool_Define
1773 static const char* apzAvoid_Bool_DefinePatch[] = {
1775 "#ifndef __cplusplus\n\
1778 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1783 * Description of Avoid_Bool_Type fix
1785 tSCC zAvoid_Bool_TypeName[] =
1789 * File name selection pattern
1791 tSCC zAvoid_Bool_TypeList[] =
1792 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1794 * Machine/OS name selection pattern
1796 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1799 * content selection pattern - do fix if pattern found
1801 tSCC zAvoid_Bool_TypeSelect0[] =
1802 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1805 * content bypass pattern - skip fix if pattern found
1807 tSCC zAvoid_Bool_TypeBypass0[] =
1810 #define AVOID_BOOL_TYPE_TEST_CT 2
1811 static tTestDesc aAvoid_Bool_TypeTests[] = {
1812 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1813 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1816 * Fix Command Arguments for Avoid_Bool_Type
1818 static const char* apzAvoid_Bool_TypePatch[] = {
1820 "#ifndef __cplusplus\n\
1825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1827 * Description of Avoid_Wchar_T_Type fix
1829 tSCC zAvoid_Wchar_T_TypeName[] =
1830 "avoid_wchar_t_type";
1833 * File name selection pattern
1835 #define zAvoid_Wchar_T_TypeList (char*)NULL
1837 * Machine/OS name selection pattern
1839 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1842 * content selection pattern - do fix if pattern found
1844 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1845 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1848 * content bypass pattern - skip fix if pattern found
1850 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1852 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1854 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1855 "XFree86: xc/lib/X11/Xlib\\.h";
1857 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1858 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1859 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1860 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1861 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1862 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1865 * Fix Command Arguments for Avoid_Wchar_T_Type
1867 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1869 "#ifndef __cplusplus\n\
1874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1876 * Description of Bad_Struct_Term fix
1878 tSCC zBad_Struct_TermName[] =
1882 * File name selection pattern
1884 tSCC zBad_Struct_TermList[] =
1887 * Machine/OS name selection pattern
1889 #define apzBad_Struct_TermMachs (const char**)NULL
1892 * content selection pattern - do fix if pattern found
1894 tSCC zBad_Struct_TermSelect0[] =
1895 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1897 #define BAD_STRUCT_TERM_TEST_CT 1
1898 static tTestDesc aBad_Struct_TermTests[] = {
1899 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1902 * Fix Command Arguments for Bad_Struct_Term
1904 static const char* apzBad_Struct_TermPatch[] = {
1909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1911 * Description of Badquote fix
1913 tSCC zBadquoteName[] =
1917 * File name selection pattern
1919 tSCC zBadquoteList[] =
1920 "sundev/vuid_event.h\0";
1922 * Machine/OS name selection pattern
1924 #define apzBadquoteMachs (const char**)NULL
1927 * content selection pattern - do fix if pattern found
1929 tSCC zBadquoteSelect0[] =
1932 #define BADQUOTE_TEST_CT 1
1933 static tTestDesc aBadquoteTests[] = {
1934 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1937 * Fix Command Arguments for Badquote
1939 static const char* apzBadquotePatch[] = {
1944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1946 * Description of Broken_Assert_Stdio fix
1948 tSCC zBroken_Assert_StdioName[] =
1949 "broken_assert_stdio";
1952 * File name selection pattern
1954 tSCC zBroken_Assert_StdioList[] =
1957 * Machine/OS name selection pattern
1959 #define apzBroken_Assert_StdioMachs (const char**)NULL
1962 * content selection pattern - do fix if pattern found
1964 tSCC zBroken_Assert_StdioSelect0[] =
1968 * content bypass pattern - skip fix if pattern found
1970 tSCC zBroken_Assert_StdioBypass0[] =
1971 "include.*stdio\\.h";
1973 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1974 static tTestDesc aBroken_Assert_StdioTests[] = {
1975 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1976 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1979 * Fix Command Arguments for Broken_Assert_Stdio
1981 static const char* apzBroken_Assert_StdioPatch[] = {
1983 "#include <stdio.h>\n",
1986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1988 * Description of Broken_Assert_Stdlib fix
1990 tSCC zBroken_Assert_StdlibName[] =
1991 "broken_assert_stdlib";
1994 * File name selection pattern
1996 tSCC zBroken_Assert_StdlibList[] =
1999 * Machine/OS name selection pattern
2001 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2004 * content selection pattern - do fix if pattern found
2006 tSCC zBroken_Assert_StdlibSelect0[] =
2007 "exit *\\(|abort *\\(";
2010 * content bypass pattern - skip fix if pattern found
2012 tSCC zBroken_Assert_StdlibBypass0[] =
2013 "include.*stdlib\\.h";
2015 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2016 static tTestDesc aBroken_Assert_StdlibTests[] = {
2017 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2018 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2021 * Fix Command Arguments for Broken_Assert_Stdlib
2023 static const char* apzBroken_Assert_StdlibPatch[] = {
2025 "#ifdef __cplusplus\n\
2026 #include <stdlib.h>\n\
2030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2032 * Description of Broken_Cabs fix
2034 tSCC zBroken_CabsName[] =
2038 * File name selection pattern
2040 tSCC zBroken_CabsList[] =
2041 "math.h\0architecture/*/math.h\0";
2043 * Machine/OS name selection pattern
2045 #define apzBroken_CabsMachs (const char**)NULL
2048 * content selection pattern - do fix if pattern found
2050 tSCC zBroken_CabsSelect0[] =
2051 "^extern[ \t]+double[ \t]+cabs";
2053 #define BROKEN_CABS_TEST_CT 1
2054 static tTestDesc aBroken_CabsTests[] = {
2055 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2058 * Fix Command Arguments for Broken_Cabs
2060 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2061 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2062 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2067 * Description of Broken_Nan fix
2069 tSCC zBroken_NanName[] =
2073 * File name selection pattern
2075 tSCC zBroken_NanList[] =
2076 "architecture/ppc/math.h\0architecture/*/math.h\0";
2078 * Machine/OS name selection pattern
2080 #define apzBroken_NanMachs (const char**)NULL
2083 * content selection pattern - do fix if pattern found
2085 tSCC zBroken_NanSelect0[] =
2086 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2089 * content bypass pattern - skip fix if pattern found
2091 tSCC zBroken_NanBypass0[] =
2094 #define BROKEN_NAN_TEST_CT 2
2095 static tTestDesc aBroken_NanTests[] = {
2096 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2097 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2100 * Fix Command Arguments for Broken_Nan
2102 static const char* apzBroken_NanPatch[] = {
2107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2109 * Description of Bsd_Stdio_Attrs_Conflict fix
2111 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2112 "bsd_stdio_attrs_conflict";
2115 * File name selection pattern
2117 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2120 * Machine/OS name selection pattern
2122 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2125 (const char*)NULL };
2128 * content selection pattern - do fix if pattern found
2130 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2131 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2133 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2134 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2135 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2138 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2140 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2142 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2143 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2144 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2149 * Description of Ctrl_Quotes_Def fix
2151 tSCC zCtrl_Quotes_DefName[] =
2155 * File name selection pattern
2157 #define zCtrl_Quotes_DefList (char*)NULL
2159 * Machine/OS name selection pattern
2161 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2164 * content selection pattern - do fix if pattern found
2166 tSCC zCtrl_Quotes_DefSelect0[] =
2167 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2169 #define CTRL_QUOTES_DEF_TEST_CT 1
2170 static tTestDesc aCtrl_Quotes_DefTests[] = {
2171 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2174 * Fix Command Arguments for Ctrl_Quotes_Def
2176 static const char* apzCtrl_Quotes_DefPatch[] = {
2181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2183 * Description of Ctrl_Quotes_Use fix
2185 tSCC zCtrl_Quotes_UseName[] =
2189 * File name selection pattern
2191 #define zCtrl_Quotes_UseList (char*)NULL
2193 * Machine/OS name selection pattern
2195 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2198 * content selection pattern - do fix if pattern found
2200 tSCC zCtrl_Quotes_UseSelect0[] =
2201 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2203 #define CTRL_QUOTES_USE_TEST_CT 1
2204 static tTestDesc aCtrl_Quotes_UseTests[] = {
2205 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2208 * Fix Command Arguments for Ctrl_Quotes_Use
2210 static const char* apzCtrl_Quotes_UsePatch[] = {
2215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2217 * Description of Cxx_Unready fix
2219 tSCC zCxx_UnreadyName[] =
2223 * File name selection pattern
2225 tSCC zCxx_UnreadyList[] =
2226 "sys/mman.h\0rpc/types.h\0";
2228 * Machine/OS name selection pattern
2230 #define apzCxx_UnreadyMachs (const char**)NULL
2233 * content selection pattern - do fix if pattern found
2235 tSCC zCxx_UnreadySelect0[] =
2239 * content bypass pattern - skip fix if pattern found
2241 tSCC zCxx_UnreadyBypass0[] =
2242 "\"C\"|__BEGIN_DECLS";
2244 #define CXX_UNREADY_TEST_CT 2
2245 static tTestDesc aCxx_UnreadyTests[] = {
2246 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2247 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2250 * Fix Command Arguments for Cxx_Unready
2252 static const char* apzCxx_UnreadyPatch[] = {
2254 "#ifdef __cplusplus\n\
2257 "#ifdef __cplusplus\n\
2262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2264 * Description of Darwin_9_Long_Double_Funcs_2 fix
2266 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2267 "darwin_9_long_double_funcs_2";
2270 * File name selection pattern
2272 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2275 * Machine/OS name selection pattern
2277 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2279 (const char*)NULL };
2282 * content selection pattern - do fix if pattern found
2284 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2285 "#include[ \\t]+\\\"";
2287 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2288 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2289 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2292 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2294 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2297 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2302 * Description of Darwin_Externc fix
2304 tSCC zDarwin_ExterncName[] =
2308 * File name selection pattern
2310 tSCC zDarwin_ExterncList[] =
2311 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2313 * Machine/OS name selection pattern
2315 tSCC* apzDarwin_ExterncMachs[] = {
2317 (const char*)NULL };
2320 * content bypass pattern - skip fix if pattern found
2322 tSCC zDarwin_ExterncBypass0[] =
2324 tSCC zDarwin_ExterncBypass1[] =
2327 #define DARWIN_EXTERNC_TEST_CT 2
2328 static tTestDesc aDarwin_ExterncTests[] = {
2329 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2330 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2333 * Fix Command Arguments for Darwin_Externc
2335 static const char* apzDarwin_ExterncPatch[] = {
2337 "#ifdef __cplusplus\n\
2340 "#ifdef __cplusplus\n\
2345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2347 * Description of Darwin_Gcc4_Breakage fix
2349 tSCC zDarwin_Gcc4_BreakageName[] =
2350 "darwin_gcc4_breakage";
2353 * File name selection pattern
2355 tSCC zDarwin_Gcc4_BreakageList[] =
2356 "AvailabilityMacros.h\0";
2358 * Machine/OS name selection pattern
2360 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2362 (const char*)NULL };
2365 * content selection pattern - do fix if pattern found
2367 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2368 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2370 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2371 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2372 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2375 * Fix Command Arguments for Darwin_Gcc4_Breakage
2377 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2379 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2384 * Description of Darwin_Private_Extern fix
2386 tSCC zDarwin_Private_ExternName[] =
2387 "darwin_private_extern";
2390 * File name selection pattern
2392 tSCC zDarwin_Private_ExternList[] =
2395 * Machine/OS name selection pattern
2397 tSCC* apzDarwin_Private_ExternMachs[] = {
2399 (const char*)NULL };
2402 * content selection pattern - do fix if pattern found
2404 tSCC zDarwin_Private_ExternSelect0[] =
2405 "__private_extern__ [a-z_]+ _dyld_";
2407 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2408 static tTestDesc aDarwin_Private_ExternTests[] = {
2409 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2412 * Fix Command Arguments for Darwin_Private_Extern
2414 static const char* apzDarwin_Private_ExternPatch[] = {
2417 "__private_extern__",
2420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2422 * Description of Darwin_Stdint_1 fix
2424 tSCC zDarwin_Stdint_1Name[] =
2428 * File name selection pattern
2430 tSCC zDarwin_Stdint_1List[] =
2431 "stdint-darwin.h\0stdint.h\0";
2433 * Machine/OS name selection pattern
2435 tSCC* apzDarwin_Stdint_1Machs[] = {
2437 (const char*)NULL };
2440 * content selection pattern - do fix if pattern found
2442 tSCC zDarwin_Stdint_1Select0[] =
2443 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2444 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2446 #define DARWIN_STDINT_1_TEST_CT 1
2447 static tTestDesc aDarwin_Stdint_1Tests[] = {
2448 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2451 * Fix Command Arguments for Darwin_Stdint_1
2453 static const char* apzDarwin_Stdint_1Patch[] = {
2455 "#define UINT8_C(v)\tv\n\
2456 #define UINT16_C(v)\tv",
2459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2461 * Description of Darwin_Stdint_2 fix
2463 tSCC zDarwin_Stdint_2Name[] =
2467 * File name selection pattern
2469 tSCC zDarwin_Stdint_2List[] =
2470 "stdint-darwin.h\0stdint.h\0";
2472 * Machine/OS name selection pattern
2474 tSCC* apzDarwin_Stdint_2Machs[] = {
2476 (const char*)NULL };
2479 * content selection pattern - do fix if pattern found
2481 tSCC zDarwin_Stdint_2Select0[] =
2482 "#if __WORDSIZE == 64\n\
2483 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2484 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2486 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2487 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2490 #define DARWIN_STDINT_2_TEST_CT 1
2491 static tTestDesc aDarwin_Stdint_2Tests[] = {
2492 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2495 * Fix Command Arguments for Darwin_Stdint_2
2497 static const char* apzDarwin_Stdint_2Patch[] = {
2499 "#if __WORDSIZE == 64\n\
2500 #define INTPTR_MAX 9223372036854775807L\n\
2501 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2503 #define INTPTR_MAX 2147483647L\n\
2504 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2510 * Description of Darwin_Stdint_3 fix
2512 tSCC zDarwin_Stdint_3Name[] =
2516 * File name selection pattern
2518 tSCC zDarwin_Stdint_3List[] =
2519 "stdint-darwin.h\0stdint.h\0";
2521 * Machine/OS name selection pattern
2523 tSCC* apzDarwin_Stdint_3Machs[] = {
2525 (const char*)NULL };
2528 * content selection pattern - do fix if pattern found
2530 tSCC zDarwin_Stdint_3Select0[] =
2531 "#if __WORDSIZE == 64\n\
2532 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2534 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2537 #define DARWIN_STDINT_3_TEST_CT 1
2538 static tTestDesc aDarwin_Stdint_3Tests[] = {
2539 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2542 * Fix Command Arguments for Darwin_Stdint_3
2544 static const char* apzDarwin_Stdint_3Patch[] = {
2546 "#if __WORDSIZE == 64\n\
2547 #define UINTPTR_MAX 18446744073709551615UL\n\
2549 #define UINTPTR_MAX 4294967295UL\n\
2553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2555 * Description of Darwin_Stdint_4 fix
2557 tSCC zDarwin_Stdint_4Name[] =
2561 * File name selection pattern
2563 tSCC zDarwin_Stdint_4List[] =
2564 "stdint-darwin.h\0stdint.h\0";
2566 * Machine/OS name selection pattern
2568 tSCC* apzDarwin_Stdint_4Machs[] = {
2570 (const char*)NULL };
2573 * content selection pattern - do fix if pattern found
2575 tSCC zDarwin_Stdint_4Select0[] =
2576 "#if __WORDSIZE == 64\n\
2577 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2579 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2582 #define DARWIN_STDINT_4_TEST_CT 1
2583 static tTestDesc aDarwin_Stdint_4Tests[] = {
2584 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2587 * Fix Command Arguments for Darwin_Stdint_4
2589 static const char* apzDarwin_Stdint_4Patch[] = {
2591 "#if __WORDSIZE == 64\n\
2592 #define SIZE_MAX 18446744073709551615UL\n\
2594 #define SIZE_MAX 4294967295UL\n\
2598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2600 * Description of Darwin_Stdint_5 fix
2602 tSCC zDarwin_Stdint_5Name[] =
2606 * File name selection pattern
2608 tSCC zDarwin_Stdint_5List[] =
2609 "stdint-darwin.h\0stdint.h\0";
2611 * Machine/OS name selection pattern
2613 tSCC* apzDarwin_Stdint_5Machs[] = {
2615 (const char*)NULL };
2618 * content selection pattern - do fix if pattern found
2620 tSCC zDarwin_Stdint_5Select0[] =
2621 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2622 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2623 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2625 #define DARWIN_STDINT_5_TEST_CT 1
2626 static tTestDesc aDarwin_Stdint_5Tests[] = {
2627 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2630 * Fix Command Arguments for Darwin_Stdint_5
2632 static const char* apzDarwin_Stdint_5Patch[] = {
2634 "#if __WORDSIZE == 64\n\
2635 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2636 #define INTMAX_MAX 9223372036854775807L\n\
2637 #define UINTMAX_MAX 18446744073709551615UL\n\
2639 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2640 #define INTMAX_MAX 9223372036854775807LL\n\
2641 #define UINTMAX_MAX 18446744073709551615ULL\n\
2645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2647 * Description of Darwin_Stdint_6 fix
2649 tSCC zDarwin_Stdint_6Name[] =
2653 * File name selection pattern
2655 tSCC zDarwin_Stdint_6List[] =
2656 "stdint-darwin.h\0stdint.h\0";
2658 * Machine/OS name selection pattern
2660 tSCC* apzDarwin_Stdint_6Machs[] = {
2662 (const char*)NULL };
2665 * content selection pattern - do fix if pattern found
2667 tSCC zDarwin_Stdint_6Select0[] =
2668 "#if __WORDSIZE == 64\n\
2669 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2670 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2672 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2673 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2676 #define DARWIN_STDINT_6_TEST_CT 1
2677 static tTestDesc aDarwin_Stdint_6Tests[] = {
2678 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2681 * Fix Command Arguments for Darwin_Stdint_6
2683 static const char* apzDarwin_Stdint_6Patch[] = {
2685 "#if __WORDSIZE == 64\n\
2686 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2687 #define PTRDIFF_MAX 9223372036854775807L\n\
2689 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2690 #define PTRDIFF_MAX 2147483647\n\
2694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2696 * Description of Darwin_Stdint_7 fix
2698 tSCC zDarwin_Stdint_7Name[] =
2702 * File name selection pattern
2704 tSCC zDarwin_Stdint_7List[] =
2705 "stdint-darwin.h\0stdint.h\0";
2707 * Machine/OS name selection pattern
2709 tSCC* apzDarwin_Stdint_7Machs[] = {
2711 (const char*)NULL };
2714 * content selection pattern - do fix if pattern found
2716 tSCC zDarwin_Stdint_7Select0[] =
2717 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2718 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2720 #define DARWIN_STDINT_7_TEST_CT 1
2721 static tTestDesc aDarwin_Stdint_7Tests[] = {
2722 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2725 * Fix Command Arguments for Darwin_Stdint_7
2727 static const char* apzDarwin_Stdint_7Patch[] = {
2729 "#if __WORDSIZE == 64\n\
2730 #define INTMAX_C(v) (v ## L)\n\
2731 #define UINTMAX_C(v) (v ## UL)\n\
2733 #define INTMAX_C(v) (v ## LL)\n\
2734 #define UINTMAX_C(v) (v ## ULL)\n\
2738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2740 * Description of Dec_Intern_Asm fix
2742 tSCC zDec_Intern_AsmName[] =
2746 * File name selection pattern
2748 tSCC zDec_Intern_AsmList[] =
2751 * Machine/OS name selection pattern
2753 #define apzDec_Intern_AsmMachs (const char**)NULL
2754 #define DEC_INTERN_ASM_TEST_CT 0
2755 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2758 * Fix Command Arguments for Dec_Intern_Asm
2760 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2761 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2763 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2769 * Description of Djgpp_Wchar_H fix
2771 tSCC zDjgpp_Wchar_HName[] =
2775 * File name selection pattern
2777 #define zDjgpp_Wchar_HList (char*)NULL
2779 * Machine/OS name selection pattern
2781 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2784 * content selection pattern - do fix if pattern found
2786 tSCC zDjgpp_Wchar_HSelect0[] =
2790 * content bypass pattern - skip fix if pattern found
2792 tSCC zDjgpp_Wchar_HBypass0[] =
2795 #define DJGPP_WCHAR_H_TEST_CT 2
2796 static tTestDesc aDjgpp_Wchar_HTests[] = {
2797 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2798 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2801 * Fix Command Arguments for Djgpp_Wchar_H
2803 static const char* apzDjgpp_Wchar_HPatch[] = {
2806 #include <sys/djtypes.h>",
2807 "#include <stddef.h>",
2810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2812 * Description of Ecd_Cursor fix
2814 tSCC zEcd_CursorName[] =
2818 * File name selection pattern
2820 tSCC zEcd_CursorList[] =
2821 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2823 * Machine/OS name selection pattern
2825 #define apzEcd_CursorMachs (const char**)NULL
2828 * content selection pattern - do fix if pattern found
2830 tSCC zEcd_CursorSelect0[] =
2833 #define ECD_CURSOR_TEST_CT 1
2834 static tTestDesc aEcd_CursorTests[] = {
2835 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2838 * Fix Command Arguments for Ecd_Cursor
2840 static const char* apzEcd_CursorPatch[] = {
2845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2847 * Description of Feraiseexcept_Nosse_Divbyzero fix
2849 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
2850 "feraiseexcept_nosse_divbyzero";
2853 * File name selection pattern
2855 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
2856 "bits/fenv.h\0*/bits/fenv.h\0";
2858 * Machine/OS name selection pattern
2860 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
2861 "i[34567]86-*-linux*",
2864 (const char*)NULL };
2867 * content selection pattern - do fix if pattern found
2869 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
2870 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
2873 * content bypass pattern - skip fix if pattern found
2875 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
2876 "\"fdivp .*; fwait\"";
2878 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
2879 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
2880 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
2881 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
2884 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
2886 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
2888 "# ifdef __SSE_MATH__\n\
2891 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
2892 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
2896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2898 * Description of Feraiseexcept_Nosse_Invalid fix
2900 tSCC zFeraiseexcept_Nosse_InvalidName[] =
2901 "feraiseexcept_nosse_invalid";
2904 * File name selection pattern
2906 tSCC zFeraiseexcept_Nosse_InvalidList[] =
2907 "bits/fenv.h\0*/bits/fenv.h\0";
2909 * Machine/OS name selection pattern
2911 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
2912 "i[34567]86-*-linux*",
2915 (const char*)NULL };
2918 * content selection pattern - do fix if pattern found
2920 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
2921 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
2924 * content bypass pattern - skip fix if pattern found
2926 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
2927 "\"fdiv .*; fwait\"";
2929 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
2930 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
2931 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
2932 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
2935 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
2937 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
2939 "# ifdef __SSE_MATH__\n\
2942 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
2943 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
2947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2949 * Description of Freebsd_Gcc3_Breakage fix
2951 tSCC zFreebsd_Gcc3_BreakageName[] =
2952 "freebsd_gcc3_breakage";
2955 * File name selection pattern
2957 tSCC zFreebsd_Gcc3_BreakageList[] =
2960 * Machine/OS name selection pattern
2962 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2964 (const char*)NULL };
2967 * content selection pattern - do fix if pattern found
2969 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2970 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2973 * content bypass pattern - skip fix if pattern found
2975 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2976 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2978 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2979 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2980 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2981 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2984 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2986 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2988 "%0 || __GNUC__ >= 3",
2991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2993 * Description of Freebsd_Gcc4_Breakage fix
2995 tSCC zFreebsd_Gcc4_BreakageName[] =
2996 "freebsd_gcc4_breakage";
2999 * File name selection pattern
3001 tSCC zFreebsd_Gcc4_BreakageList[] =
3004 * Machine/OS name selection pattern
3006 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3008 (const char*)NULL };
3011 * content selection pattern - do fix if pattern found
3013 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3014 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3016 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3017 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3018 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3021 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3023 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3025 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3030 * Description of Glibc_C99_Inline_1 fix
3032 tSCC zGlibc_C99_Inline_1Name[] =
3033 "glibc_c99_inline_1";
3036 * File name selection pattern
3038 tSCC zGlibc_C99_Inline_1List[] =
3039 "features.h\0*/features.h\0";
3041 * Machine/OS name selection pattern
3043 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3046 * content selection pattern - do fix if pattern found
3048 tSCC zGlibc_C99_Inline_1Select0[] =
3049 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3051 #define GLIBC_C99_INLINE_1_TEST_CT 1
3052 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3053 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3056 * Fix Command Arguments for Glibc_C99_Inline_1
3058 static const char* apzGlibc_C99_Inline_1Patch[] = {
3060 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3065 * Description of Glibc_C99_Inline_1a fix
3067 tSCC zGlibc_C99_Inline_1aName[] =
3068 "glibc_c99_inline_1a";
3071 * File name selection pattern
3073 tSCC zGlibc_C99_Inline_1aList[] =
3074 "features.h\0*/features.h\0";
3076 * Machine/OS name selection pattern
3078 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3081 * content selection pattern - do fix if pattern found
3083 tSCC zGlibc_C99_Inline_1aSelect0[] =
3084 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3085 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3087 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3088 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3089 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3092 * Fix Command Arguments for Glibc_C99_Inline_1a
3094 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3096 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3102 * Description of Glibc_C99_Inline_2 fix
3104 tSCC zGlibc_C99_Inline_2Name[] =
3105 "glibc_c99_inline_2";
3108 * File name selection pattern
3110 tSCC zGlibc_C99_Inline_2List[] =
3111 "sys/stat.h\0*/sys/stat.h\0";
3113 * Machine/OS name selection pattern
3115 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3118 * content selection pattern - do fix if pattern found
3120 tSCC zGlibc_C99_Inline_2Select0[] =
3121 "extern __inline__ int";
3123 #define GLIBC_C99_INLINE_2_TEST_CT 1
3124 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3125 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3128 * Fix Command Arguments for Glibc_C99_Inline_2
3130 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3131 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3134 __inline__ int \\1/",
3135 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3138 __inline__ int \\1/",
3139 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3142 __inline__ int \\1/",
3143 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3146 __inline__ int __REDIRECT\\1 (\\2/",
3147 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3150 __inline__ int __REDIRECT\\1 (\\2/",
3151 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3159 * Description of Glibc_C99_Inline_3 fix
3161 tSCC zGlibc_C99_Inline_3Name[] =
3162 "glibc_c99_inline_3";
3165 * File name selection pattern
3167 tSCC zGlibc_C99_Inline_3List[] =
3168 "bits/string2.h\0*/bits/string2.h\0";
3170 * Machine/OS name selection pattern
3172 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3175 * content selection pattern - do fix if pattern found
3177 tSCC zGlibc_C99_Inline_3Select0[] =
3181 * content bypass pattern - skip fix if pattern found
3183 tSCC zGlibc_C99_Inline_3Bypass0[] =
3184 "__extern_inline|__GNU_STDC_INLINE__";
3186 #define GLIBC_C99_INLINE_3_TEST_CT 2
3187 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3188 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3189 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3192 * Fix Command Arguments for Glibc_C99_Inline_3
3194 static const char* apzGlibc_C99_Inline_3Patch[] = {
3196 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3197 "^# ifdef __cplusplus$",
3200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3202 * Description of Glibc_C99_Inline_4 fix
3204 tSCC zGlibc_C99_Inline_4Name[] =
3205 "glibc_c99_inline_4";
3208 * File name selection pattern
3210 tSCC zGlibc_C99_Inline_4List[] =
3211 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3213 * Machine/OS name selection pattern
3215 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3218 * content selection pattern - do fix if pattern found
3220 tSCC zGlibc_C99_Inline_4Select0[] =
3221 "(^| )extern __inline";
3224 * content bypass pattern - skip fix if pattern found
3226 tSCC zGlibc_C99_Inline_4Bypass0[] =
3227 "__extern_inline|__gnu_inline__";
3229 #define GLIBC_C99_INLINE_4_TEST_CT 2
3230 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3231 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3232 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3235 * Fix Command Arguments for Glibc_C99_Inline_4
3237 static const char* apzGlibc_C99_Inline_4Patch[] = {
3239 "%0 __attribute__ ((__gnu_inline__))",
3242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3244 * Description of Glibc_Mutex_Init fix
3246 tSCC zGlibc_Mutex_InitName[] =
3250 * File name selection pattern
3252 tSCC zGlibc_Mutex_InitList[] =
3255 * Machine/OS name selection pattern
3257 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3260 * content selection pattern - do fix if pattern found
3262 tSCC zGlibc_Mutex_InitSelect0[] =
3263 "\\{ *\\{ *0, *\\} *\\}";
3265 #define GLIBC_MUTEX_INIT_TEST_CT 1
3266 static tTestDesc aGlibc_Mutex_InitTests[] = {
3267 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3270 * Fix Command Arguments for Glibc_Mutex_Init
3272 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3273 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3275 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3277 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3278 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3279 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3280 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3281 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3282 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3283 "-e", "/define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\\n\
3285 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3288 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3290 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3291 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3296 * Description of Glibc_Stdint fix
3298 tSCC zGlibc_StdintName[] =
3302 * File name selection pattern
3304 tSCC zGlibc_StdintList[] =
3307 * Machine/OS name selection pattern
3309 #define apzGlibc_StdintMachs (const char**)NULL
3312 * content selection pattern - do fix if pattern found
3314 tSCC zGlibc_StdintSelect0[] =
3317 #define GLIBC_STDINT_TEST_CT 1
3318 static tTestDesc aGlibc_StdintTests[] = {
3319 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3322 * Fix Command Arguments for Glibc_Stdint
3324 static const char* apzGlibc_StdintPatch[] = {
3326 "# define UINT8_C(c)\tc\n\
3327 # define UINT16_C(c)\tc",
3328 "# define UINT8_C\\(c\\)\tc ## U\n\
3329 # define UINT16_C\\(c\\)\tc ## U",
3332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3334 * Description of Glibc_Strncpy fix
3336 tSCC zGlibc_StrncpyName[] =
3340 * File name selection pattern
3342 tSCC zGlibc_StrncpyList[] =
3343 "bits/string2.h\0*/bits/string2.h\0";
3345 * Machine/OS name selection pattern
3347 #define apzGlibc_StrncpyMachs (const char**)NULL
3350 * content bypass pattern - skip fix if pattern found
3352 tSCC zGlibc_StrncpyBypass0[] =
3353 "__builtin_strncpy";
3355 #define GLIBC_STRNCPY_TEST_CT 1
3356 static tTestDesc aGlibc_StrncpyTests[] = {
3357 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3360 * Fix Command Arguments for Glibc_Strncpy
3362 static const char* apzGlibc_StrncpyPatch[] = {
3364 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3365 "# define strncpy([^\n\
3371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3373 * Description of Glibc_Tgmath fix
3375 tSCC zGlibc_TgmathName[] =
3379 * File name selection pattern
3381 tSCC zGlibc_TgmathList[] =
3384 * Machine/OS name selection pattern
3386 #define apzGlibc_TgmathMachs (const char**)NULL
3389 * content selection pattern - do fix if pattern found
3391 tSCC zGlibc_TgmathSelect0[] =
3392 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3395 * content bypass pattern - skip fix if pattern found
3397 tSCC zGlibc_TgmathBypass0[] =
3398 "__floating_type\\(type\\) \\\\\n\
3399 .*__builtin_classify_type";
3401 #define GLIBC_TGMATH_TEST_CT 2
3402 static tTestDesc aGlibc_TgmathTests[] = {
3403 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3404 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3407 * Fix Command Arguments for Glibc_Tgmath
3409 static const char* apzGlibc_TgmathPatch[] = {
3411 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3416 * Description of Gnu_Types fix
3418 tSCC zGnu_TypesName[] =
3422 * File name selection pattern
3424 tSCC zGnu_TypesList[] =
3425 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3427 * Machine/OS name selection pattern
3429 tSCC* apzGnu_TypesMachs[] = {
3430 "*-*-solaris2.1[0-9]*",
3431 (const char*)NULL };
3434 * content selection pattern - do fix if pattern found
3436 tSCC zGnu_TypesSelect0[] =
3437 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3440 * content bypass pattern - skip fix if pattern found
3442 tSCC zGnu_TypesBypass0[] =
3443 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3445 #define GNU_TYPES_TEST_CT 2
3446 static tTestDesc aGnu_TypesTests[] = {
3447 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3448 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3451 * Fix Command Arguments for Gnu_Types
3453 static const char* apzGnu_TypesPatch[] = {
3457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3459 * Description of Hp_Inline fix
3461 tSCC zHp_InlineName[] =
3465 * File name selection pattern
3467 tSCC zHp_InlineList[] =
3468 "sys/spinlock.h\0machine/machparam.h\0";
3470 * Machine/OS name selection pattern
3472 #define apzHp_InlineMachs (const char**)NULL
3475 * content selection pattern - do fix if pattern found
3477 tSCC zHp_InlineSelect0[] =
3478 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3480 #define HP_INLINE_TEST_CT 1
3481 static tTestDesc aHp_InlineTests[] = {
3482 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3485 * Fix Command Arguments for Hp_Inline
3487 static const char* apzHp_InlinePatch[] = {
3490 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3495 * Description of Hp_Sysfile fix
3497 tSCC zHp_SysfileName[] =
3501 * File name selection pattern
3503 tSCC zHp_SysfileList[] =
3506 * Machine/OS name selection pattern
3508 #define apzHp_SysfileMachs (const char**)NULL
3511 * content selection pattern - do fix if pattern found
3513 tSCC zHp_SysfileSelect0[] =
3516 #define HP_SYSFILE_TEST_CT 1
3517 static tTestDesc aHp_SysfileTests[] = {
3518 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3521 * Fix Command Arguments for Hp_Sysfile
3523 static const char* apzHp_SysfilePatch[] = {
3525 "(struct file *, ...)",
3529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3531 * Description of Hppa_Hpux_Fp_Macros fix
3533 tSCC zHppa_Hpux_Fp_MacrosName[] =
3534 "hppa_hpux_fp_macros";
3537 * File name selection pattern
3539 tSCC zHppa_Hpux_Fp_MacrosList[] =
3542 * Machine/OS name selection pattern
3544 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3546 (const char*)NULL };
3549 * content selection pattern - do fix if pattern found
3551 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3552 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3553 #[ \t]*define[ \t]*FP_ZERO.*\n\
3554 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3555 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3556 #[ \t]*define[ \t]*FP_NAN.*\n";
3558 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3559 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3560 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3563 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3565 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3567 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3568 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3569 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3571 #ifdef _INCLUDE_HPUX_SOURCE\n",
3574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3576 * Description of Hpux10_Cpp_Pow_Inline fix
3578 tSCC zHpux10_Cpp_Pow_InlineName[] =
3579 "hpux10_cpp_pow_inline";
3582 * File name selection pattern
3584 tSCC zHpux10_Cpp_Pow_InlineList[] =
3585 "fixinc-test-limits.h\0math.h\0";
3587 * Machine/OS name selection pattern
3589 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3592 * content selection pattern - do fix if pattern found
3594 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3595 "^# +ifdef +__cplusplus\n\
3597 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3598 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3600 +extern +\"C\" +\\{\n\
3604 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3605 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3606 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3609 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3611 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3616 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3618 * Description of Hpux11_Cpp_Pow_Inline fix
3620 tSCC zHpux11_Cpp_Pow_InlineName[] =
3621 "hpux11_cpp_pow_inline";
3624 * File name selection pattern
3626 tSCC zHpux11_Cpp_Pow_InlineList[] =
3629 * Machine/OS name selection pattern
3631 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3634 * content selection pattern - do fix if pattern found
3636 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3637 " +inline double pow\\(double d,int expon\\) \\{\n\
3638 +return pow\\(d, \\(double\\)expon\\);\n\
3641 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3642 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3643 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3646 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3648 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3655 * Description of Hpux10_Ctype_Declarations1 fix
3657 tSCC zHpux10_Ctype_Declarations1Name[] =
3658 "hpux10_ctype_declarations1";
3661 * File name selection pattern
3663 tSCC zHpux10_Ctype_Declarations1List[] =
3666 * Machine/OS name selection pattern
3668 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3671 * content selection pattern - do fix if pattern found
3673 tSCC zHpux10_Ctype_Declarations1Select0[] =
3674 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3677 * content bypass pattern - skip fix if pattern found
3679 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3680 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3682 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3683 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3684 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3685 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3688 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3690 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3692 "#ifdef _PROTOTYPES\n\
3693 extern int __tolower(int);\n\
3694 extern int __toupper(int);\n\
3695 #else /* NOT _PROTOTYPES */\n\
3696 extern int __tolower();\n\
3697 extern int __toupper();\n\
3698 #endif /* _PROTOTYPES */\n\n\
3702 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3704 * Description of Hpux10_Ctype_Declarations2 fix
3706 tSCC zHpux10_Ctype_Declarations2Name[] =
3707 "hpux10_ctype_declarations2";
3710 * File name selection pattern
3712 tSCC zHpux10_Ctype_Declarations2List[] =
3715 * Machine/OS name selection pattern
3717 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3720 * content selection pattern - do fix if pattern found
3722 tSCC zHpux10_Ctype_Declarations2Select0[] =
3723 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3726 * content bypass pattern - skip fix if pattern found
3728 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3729 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3731 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3732 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3733 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3734 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3737 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3739 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3742 #ifdef _PROTOTYPES\n\
3743 extern int _isalnum(int);\n\
3744 extern int _isalpha(int);\n\
3745 extern int _iscntrl(int);\n\
3746 extern int _isdigit(int);\n\
3747 extern int _isgraph(int);\n\
3748 extern int _islower(int);\n\
3749 extern int _isprint(int);\n\
3750 extern int _ispunct(int);\n\
3751 extern int _isspace(int);\n\
3752 extern int _isupper(int);\n\
3753 extern int _isxdigit(int);\n\
3754 # else /* not _PROTOTYPES */\n\
3755 extern int _isalnum();\n\
3756 extern int _isalpha();\n\
3757 extern int _iscntrl();\n\
3758 extern int _isdigit();\n\
3759 extern int _isgraph();\n\
3760 extern int _islower();\n\
3761 extern int _isprint();\n\
3762 extern int _ispunct();\n\
3763 extern int _isspace();\n\
3764 extern int _isupper();\n\
3765 extern int _isxdigit();\n\
3766 #endif /* _PROTOTYPES */\n",
3769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3771 * Description of Hpux10_Stdio_Declarations fix
3773 tSCC zHpux10_Stdio_DeclarationsName[] =
3774 "hpux10_stdio_declarations";
3777 * File name selection pattern
3779 tSCC zHpux10_Stdio_DeclarationsList[] =
3782 * Machine/OS name selection pattern
3784 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3787 * content selection pattern - do fix if pattern found
3789 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3790 "^#[ \t]*define _iob[ \t]*__iob";
3793 * content bypass pattern - skip fix if pattern found
3795 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3796 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3798 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3799 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3800 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3801 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3804 * Fix Command Arguments for Hpux10_Stdio_Declarations
3806 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3809 # if defined(__STDC__) || defined(__cplusplus)\n\
3810 extern int snprintf(char *, size_t, const char *, ...);\n\
3811 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3812 # else /* not __STDC__) || __cplusplus */\n\
3813 extern int snprintf();\n\
3814 extern int vsnprintf();\n\
3815 # endif /* __STDC__) || __cplusplus */\n",
3818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3820 * Description of Hpux11_Abs fix
3822 tSCC zHpux11_AbsName[] =
3826 * File name selection pattern
3828 tSCC zHpux11_AbsList[] =
3831 * Machine/OS name selection pattern
3833 tSCC* apzHpux11_AbsMachs[] = {
3835 (const char*)NULL };
3838 * content selection pattern - do fix if pattern found
3840 tSCC zHpux11_AbsSelect0[] =
3841 "ifndef _MATH_INCLUDED";
3843 #define HPUX11_ABS_TEST_CT 1
3844 static tTestDesc aHpux11_AbsTests[] = {
3845 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3848 * Fix Command Arguments for Hpux11_Abs
3850 static const char* apzHpux11_AbsPatch[] = {
3852 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3857 * Description of Hpux11_Lwp_Rwlock_Valid fix
3859 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
3860 "hpux11_lwp_rwlock_valid";
3863 * File name selection pattern
3865 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
3868 * Machine/OS name selection pattern
3870 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
3872 (const char*)NULL };
3875 * content selection pattern - do fix if pattern found
3877 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
3878 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
3880 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
3881 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
3882 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
3885 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
3887 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
3889 "#define __LWP_RWLOCK_VALID -29551",
3892 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3894 * Description of Hpux11_Extern_Sendfile fix
3896 tSCC zHpux11_Extern_SendfileName[] =
3897 "hpux11_extern_sendfile";
3900 * File name selection pattern
3902 tSCC zHpux11_Extern_SendfileList[] =
3905 * Machine/OS name selection pattern
3907 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3908 "*-hp-hpux11.[12]*",
3909 (const char*)NULL };
3912 * content selection pattern - do fix if pattern found
3914 tSCC zHpux11_Extern_SendfileSelect0[] =
3915 "^[ \t]*extern sbsize_t sendfile.*\n\
3918 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3919 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3920 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3923 * Fix Command Arguments for Hpux11_Extern_Sendfile
3925 static const char* apzHpux11_Extern_SendfilePatch[] = {
3927 "#ifndef _APP32_64BIT_OFF_T\n\
3931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3933 * Description of Hpux11_Extern_Sendpath fix
3935 tSCC zHpux11_Extern_SendpathName[] =
3936 "hpux11_extern_sendpath";
3939 * File name selection pattern
3941 tSCC zHpux11_Extern_SendpathList[] =
3944 * Machine/OS name selection pattern
3946 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3947 "*-hp-hpux11.[12]*",
3948 (const char*)NULL };
3951 * content selection pattern - do fix if pattern found
3953 tSCC zHpux11_Extern_SendpathSelect0[] =
3954 "^[ \t]*extern sbsize_t sendpath.*\n\
3957 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3958 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3959 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3962 * Fix Command Arguments for Hpux11_Extern_Sendpath
3964 static const char* apzHpux11_Extern_SendpathPatch[] = {
3966 "#ifndef _APP32_64BIT_OFF_T\n\
3970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3972 * Description of Hpux11_Fabsf fix
3974 tSCC zHpux11_FabsfName[] =
3978 * File name selection pattern
3980 tSCC zHpux11_FabsfList[] =
3983 * Machine/OS name selection pattern
3985 #define apzHpux11_FabsfMachs (const char**)NULL
3988 * content selection pattern - do fix if pattern found
3990 tSCC zHpux11_FabsfSelect0[] =
3991 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3994 * content bypass pattern - skip fix if pattern found
3996 tSCC zHpux11_FabsfBypass0[] =
3999 #define HPUX11_FABSF_TEST_CT 2
4000 static tTestDesc aHpux11_FabsfTests[] = {
4001 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
4002 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4005 * Fix Command Arguments for Hpux11_Fabsf
4007 static const char* apzHpux11_FabsfPatch[] = {
4009 "#ifndef __cplusplus\n\
4014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4016 * Description of Hpux11_Pthread_Const fix
4018 tSCC zHpux11_Pthread_ConstName[] =
4019 "hpux11_pthread_const";
4022 * File name selection pattern
4024 tSCC zHpux11_Pthread_ConstList[] =
4027 * Machine/OS name selection pattern
4029 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4030 "*-hp-hpux11.[0-3]*",
4031 (const char*)NULL };
4034 * content selection pattern - do fix if pattern found
4036 tSCC zHpux11_Pthread_ConstSelect0[] =
4037 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
4039 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4040 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4041 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4044 * Fix Command Arguments for Hpux11_Pthread_Const
4046 static const char* apzHpux11_Pthread_ConstPatch[] = {
4048 "#define __POINTER_SET\t\t((void *) 1L)",
4051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4053 * Description of Hpux11_Size_T fix
4055 tSCC zHpux11_Size_TName[] =
4059 * File name selection pattern
4061 #define zHpux11_Size_TList (char*)NULL
4063 * Machine/OS name selection pattern
4065 tSCC* apzHpux11_Size_TMachs[] = {
4067 (const char*)NULL };
4070 * content selection pattern - do fix if pattern found
4072 tSCC zHpux11_Size_TSelect0[] =
4075 #define HPUX11_SIZE_T_TEST_CT 1
4076 static tTestDesc aHpux11_Size_TTests[] = {
4077 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4080 * Fix Command Arguments for Hpux11_Size_T
4082 static const char* apzHpux11_Size_TPatch[] = {
4087 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4089 * Description of Hpux11_Snprintf fix
4091 tSCC zHpux11_SnprintfName[] =
4095 * File name selection pattern
4097 tSCC zHpux11_SnprintfList[] =
4100 * Machine/OS name selection pattern
4102 #define apzHpux11_SnprintfMachs (const char**)NULL
4105 * content selection pattern - do fix if pattern found
4107 tSCC zHpux11_SnprintfSelect0[] =
4108 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4110 #define HPUX11_SNPRINTF_TEST_CT 1
4111 static tTestDesc aHpux11_SnprintfTests[] = {
4112 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4115 * Fix Command Arguments for Hpux11_Snprintf
4117 static const char* apzHpux11_SnprintfPatch[] = {
4122 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4124 * Description of Hpux11_Vsnprintf fix
4126 tSCC zHpux11_VsnprintfName[] =
4130 * File name selection pattern
4132 tSCC zHpux11_VsnprintfList[] =
4135 * Machine/OS name selection pattern
4137 #define apzHpux11_VsnprintfMachs (const char**)NULL
4140 * content selection pattern - do fix if pattern found
4142 tSCC zHpux11_VsnprintfSelect0[] =
4143 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4145 #define HPUX11_VSNPRINTF_TEST_CT 1
4146 static tTestDesc aHpux11_VsnprintfTests[] = {
4147 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4150 * Fix Command Arguments for Hpux11_Vsnprintf
4152 static const char* apzHpux11_VsnprintfPatch[] = {
4157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4159 * Description of Hpux8_Bogus_Inlines fix
4161 tSCC zHpux8_Bogus_InlinesName[] =
4162 "hpux8_bogus_inlines";
4165 * File name selection pattern
4167 tSCC zHpux8_Bogus_InlinesList[] =
4170 * Machine/OS name selection pattern
4172 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4175 * content selection pattern - do fix if pattern found
4177 tSCC zHpux8_Bogus_InlinesSelect0[] =
4181 * content bypass pattern - skip fix if pattern found
4183 tSCC zHpux8_Bogus_InlinesBypass0[] =
4186 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4187 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4188 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4189 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4192 * Fix Command Arguments for Hpux8_Bogus_Inlines
4194 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4195 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4196 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4197 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4198 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4203 * Description of Hpux_C99_Intptr fix
4205 tSCC zHpux_C99_IntptrName[] =
4209 * File name selection pattern
4211 tSCC zHpux_C99_IntptrList[] =
4212 "stdint-hpux11.h\0stdint.h\0";
4214 * Machine/OS name selection pattern
4216 tSCC* apzHpux_C99_IntptrMachs[] = {
4218 (const char*)NULL };
4219 #define HPUX_C99_INTPTR_TEST_CT 0
4220 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4223 * Fix Command Arguments for Hpux_C99_Intptr
4225 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4226 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4227 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4228 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4229 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4230 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4231 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4236 * Description of Hpux_C99_Inttypes fix
4238 tSCC zHpux_C99_InttypesName[] =
4239 "hpux_c99_inttypes";
4242 * File name selection pattern
4244 tSCC zHpux_C99_InttypesList[] =
4245 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4247 * Machine/OS name selection pattern
4249 tSCC* apzHpux_C99_InttypesMachs[] = {
4250 "*-hp-hpux11.[23]*",
4251 (const char*)NULL };
4252 #define HPUX_C99_INTTYPES_TEST_CT 0
4253 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4256 * Fix Command Arguments for Hpux_C99_Inttypes
4258 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4259 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4260 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4261 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4262 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4267 * Description of Hpux_C99_Inttypes2 fix
4269 tSCC zHpux_C99_Inttypes2Name[] =
4270 "hpux_c99_inttypes2";
4273 * File name selection pattern
4275 tSCC zHpux_C99_Inttypes2List[] =
4276 "stdint-hpux11.h\0stdint.h\0";
4278 * Machine/OS name selection pattern
4280 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4282 (const char*)NULL };
4283 #define HPUX_C99_INTTYPES2_TEST_CT 0
4284 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4287 * Fix Command Arguments for Hpux_C99_Inttypes2
4289 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4290 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4291 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4292 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4293 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4298 * Description of Hpux_Ctype_Macros fix
4300 tSCC zHpux_Ctype_MacrosName[] =
4301 "hpux_ctype_macros";
4304 * File name selection pattern
4306 tSCC zHpux_Ctype_MacrosList[] =
4309 * Machine/OS name selection pattern
4311 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4314 * content selection pattern - do fix if pattern found
4316 tSCC zHpux_Ctype_MacrosSelect0[] =
4317 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4319 #define HPUX_CTYPE_MACROS_TEST_CT 1
4320 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4321 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4324 * Fix Command Arguments for Hpux_Ctype_Macros
4326 static const char* apzHpux_Ctype_MacrosPatch[] = {
4331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4333 * Description of Hpux_Extern_Errno fix
4335 tSCC zHpux_Extern_ErrnoName[] =
4336 "hpux_extern_errno";
4339 * File name selection pattern
4341 tSCC zHpux_Extern_ErrnoList[] =
4344 * Machine/OS name selection pattern
4346 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4348 "*-hp-hpux11.[0-2]*",
4349 (const char*)NULL };
4352 * content selection pattern - do fix if pattern found
4354 tSCC zHpux_Extern_ErrnoSelect0[] =
4355 "^[ \t]*extern int errno;$";
4357 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4358 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4359 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4362 * Fix Command Arguments for Hpux_Extern_Errno
4364 static const char* apzHpux_Extern_ErrnoPatch[] = {
4366 "#ifdef __cplusplus\n\
4370 #ifdef __cplusplus\n\
4375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4377 * Description of Hpux_Htonl fix
4379 tSCC zHpux_HtonlName[] =
4383 * File name selection pattern
4385 tSCC zHpux_HtonlList[] =
4388 * Machine/OS name selection pattern
4390 #define apzHpux_HtonlMachs (const char**)NULL
4393 * content selection pattern - do fix if pattern found
4395 tSCC zHpux_HtonlSelect0[] =
4396 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4398 \\* Macros for number representation conversion\\.\n\
4402 #define HPUX_HTONL_TEST_CT 1
4403 static tTestDesc aHpux_HtonlTests[] = {
4404 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
4407 * Fix Command Arguments for Hpux_Htonl
4409 static const char* apzHpux_HtonlPatch[] = {
4415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4417 * Description of Hpux_Imaginary_I fix
4419 tSCC zHpux_Imaginary_IName[] =
4423 * File name selection pattern
4425 tSCC zHpux_Imaginary_IList[] =
4428 * Machine/OS name selection pattern
4430 tSCC* apzHpux_Imaginary_IMachs[] = {
4432 (const char*)NULL };
4435 * content selection pattern - do fix if pattern found
4437 tSCC zHpux_Imaginary_ISelect0[] =
4438 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4440 #define HPUX_IMAGINARY_I_TEST_CT 1
4441 static tTestDesc aHpux_Imaginary_ITests[] = {
4442 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4445 * Fix Command Arguments for Hpux_Imaginary_I
4447 static const char* apzHpux_Imaginary_IPatch[] = {
4449 "#define _Complex_I (__extension__ 1.0iF)",
4452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4454 * Description of Hpux_Inttype_Int8_T fix
4456 tSCC zHpux_Inttype_Int8_TName[] =
4457 "hpux_inttype_int8_t";
4460 * File name selection pattern
4462 tSCC zHpux_Inttype_Int8_TList[] =
4463 "sys/_inttypes.h\0";
4465 * Machine/OS name selection pattern
4467 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4469 (const char*)NULL };
4472 * content selection pattern - do fix if pattern found
4474 tSCC zHpux_Inttype_Int8_TSelect0[] =
4475 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4477 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4478 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4479 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4482 * Fix Command Arguments for Hpux_Inttype_Int8_T
4484 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4486 "typedef signed char int%18_t;",
4489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4491 * Description of Hpux_Long_Double fix
4493 tSCC zHpux_Long_DoubleName[] =
4497 * File name selection pattern
4499 tSCC zHpux_Long_DoubleList[] =
4502 * Machine/OS name selection pattern
4504 tSCC* apzHpux_Long_DoubleMachs[] = {
4506 "*-*-hpux11.[012]*",
4507 (const char*)NULL };
4510 * content selection pattern - do fix if pattern found
4512 tSCC zHpux_Long_DoubleSelect0[] =
4513 "extern[ \t]long_double[ \t]strtold";
4516 * content bypass pattern - skip fix if pattern found
4518 tSCC zHpux_Long_DoubleBypass0[] =
4521 #define HPUX_LONG_DOUBLE_TEST_CT 2
4522 static tTestDesc aHpux_Long_DoubleTests[] = {
4523 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4524 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4527 * Fix Command Arguments for Hpux_Long_Double
4529 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4530 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4531 "-e", "s/long_double/long double/g",
4534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4536 * Description of Hpux_Long_Double_2 fix
4538 tSCC zHpux_Long_Double_2Name[] =
4539 "hpux_long_double_2";
4542 * File name selection pattern
4544 tSCC zHpux_Long_Double_2List[] =
4547 * Machine/OS name selection pattern
4549 tSCC* apzHpux_Long_Double_2Machs[] = {
4550 "hppa*-*-hpux11.3*",
4551 (const char*)NULL };
4554 * content selection pattern - do fix if pattern found
4556 tSCC zHpux_Long_Double_2Select0[] =
4557 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4559 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
4560 static tTestDesc aHpux_Long_Double_2Tests[] = {
4561 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4564 * Fix Command Arguments for Hpux_Long_Double_2
4566 static const char* apzHpux_Long_Double_2Patch[] = {
4568 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4573 * Description of Hpux_Pthread_Initializers fix
4575 tSCC zHpux_Pthread_InitializersName[] =
4576 "hpux_pthread_initializers";
4579 * File name selection pattern
4581 tSCC zHpux_Pthread_InitializersList[] =
4584 * Machine/OS name selection pattern
4586 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4587 "*-hp-hpux11.[0-3]*",
4588 (const char*)NULL };
4589 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
4590 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
4593 * Fix Command Arguments for Hpux_Pthread_Initializers
4595 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4596 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4597 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4598 "-e", "/^[ \t]*0$/d",
4599 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4600 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4601 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4602 "-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\\\\@",
4603 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4604 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4605 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4606 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4607 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4608 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4613 * Description of Hpux_Spu_Info fix
4615 tSCC zHpux_Spu_InfoName[] =
4619 * File name selection pattern
4621 tSCC zHpux_Spu_InfoList[] =
4622 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
4624 * Machine/OS name selection pattern
4626 tSCC* apzHpux_Spu_InfoMachs[] = {
4628 (const char*)NULL };
4631 * content selection pattern - do fix if pattern found
4633 tSCC zHpux_Spu_InfoSelect0[] =
4634 "^.*extern.*spu_info.*";
4636 #define HPUX_SPU_INFO_TEST_CT 1
4637 static tTestDesc aHpux_Spu_InfoTests[] = {
4638 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
4641 * Fix Command Arguments for Hpux_Spu_Info
4643 static const char* apzHpux_Spu_InfoPatch[] = {
4650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4652 * Description of Hpux_Stdint_Least_Fast fix
4654 tSCC zHpux_Stdint_Least_FastName[] =
4655 "hpux_stdint_least_fast";
4658 * File name selection pattern
4660 tSCC zHpux_Stdint_Least_FastList[] =
4661 "stdint-hpux11.h\0stdint.h\0";
4663 * Machine/OS name selection pattern
4665 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4667 (const char*)NULL };
4670 * content selection pattern - do fix if pattern found
4672 tSCC zHpux_Stdint_Least_FastSelect0[] =
4673 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4675 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4676 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4677 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4680 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4682 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4684 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4687 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4689 * Description of Hpux_Systime fix
4691 tSCC zHpux_SystimeName[] =
4695 * File name selection pattern
4697 tSCC zHpux_SystimeList[] =
4700 * Machine/OS name selection pattern
4702 #define apzHpux_SystimeMachs (const char**)NULL
4705 * content selection pattern - do fix if pattern found
4707 tSCC zHpux_SystimeSelect0[] =
4708 "^extern struct sigevent;";
4710 #define HPUX_SYSTIME_TEST_CT 1
4711 static tTestDesc aHpux_SystimeTests[] = {
4712 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
4715 * Fix Command Arguments for Hpux_Systime
4717 static const char* apzHpux_SystimePatch[] = {
4722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4724 * Description of Huge_Val_Hex fix
4726 tSCC zHuge_Val_HexName[] =
4730 * File name selection pattern
4732 tSCC zHuge_Val_HexList[] =
4733 "bits/huge_val.h\0*/bits/huge_val.h\0";
4735 * Machine/OS name selection pattern
4737 #define apzHuge_Val_HexMachs (const char**)NULL
4740 * content selection pattern - do fix if pattern found
4742 tSCC zHuge_Val_HexSelect0[] =
4743 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4746 * content bypass pattern - skip fix if pattern found
4748 tSCC zHuge_Val_HexBypass0[] =
4749 "__builtin_huge_val";
4751 #define HUGE_VAL_HEX_TEST_CT 2
4752 static tTestDesc aHuge_Val_HexTests[] = {
4753 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4754 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4757 * Fix Command Arguments for Huge_Val_Hex
4759 static const char* apzHuge_Val_HexPatch[] = {
4761 "#define HUGE_VAL (__builtin_huge_val())\n",
4764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4766 * Description of Huge_Valf_Hex fix
4768 tSCC zHuge_Valf_HexName[] =
4772 * File name selection pattern
4774 tSCC zHuge_Valf_HexList[] =
4775 "bits/huge_val.h\0*/bits/huge_val.h\0";
4777 * Machine/OS name selection pattern
4779 #define apzHuge_Valf_HexMachs (const char**)NULL
4782 * content selection pattern - do fix if pattern found
4784 tSCC zHuge_Valf_HexSelect0[] =
4785 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4788 * content bypass pattern - skip fix if pattern found
4790 tSCC zHuge_Valf_HexBypass0[] =
4791 "__builtin_huge_valf";
4793 #define HUGE_VALF_HEX_TEST_CT 2
4794 static tTestDesc aHuge_Valf_HexTests[] = {
4795 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4796 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4799 * Fix Command Arguments for Huge_Valf_Hex
4801 static const char* apzHuge_Valf_HexPatch[] = {
4803 "#define HUGE_VALF (__builtin_huge_valf())\n",
4806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4808 * Description of Huge_Vall_Hex fix
4810 tSCC zHuge_Vall_HexName[] =
4814 * File name selection pattern
4816 tSCC zHuge_Vall_HexList[] =
4817 "bits/huge_val.h\0*/bits/huge_val.h\0";
4819 * Machine/OS name selection pattern
4821 #define apzHuge_Vall_HexMachs (const char**)NULL
4824 * content selection pattern - do fix if pattern found
4826 tSCC zHuge_Vall_HexSelect0[] =
4827 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4830 * content bypass pattern - skip fix if pattern found
4832 tSCC zHuge_Vall_HexBypass0[] =
4833 "__builtin_huge_vall";
4835 #define HUGE_VALL_HEX_TEST_CT 2
4836 static tTestDesc aHuge_Vall_HexTests[] = {
4837 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4838 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4841 * Fix Command Arguments for Huge_Vall_Hex
4843 static const char* apzHuge_Vall_HexPatch[] = {
4845 "#define HUGE_VALL (__builtin_huge_vall())\n",
4848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4850 * Description of Int_Abort_Free_And_Exit fix
4852 tSCC zInt_Abort_Free_And_ExitName[] =
4853 "int_abort_free_and_exit";
4856 * File name selection pattern
4858 tSCC zInt_Abort_Free_And_ExitList[] =
4861 * Machine/OS name selection pattern
4863 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4866 * content selection pattern - do fix if pattern found
4868 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4869 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4872 * content bypass pattern - skip fix if pattern found
4874 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4875 "_CLASSIC_ANSI_TYPES";
4877 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4878 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4879 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4880 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4883 * Fix Command Arguments for Int_Abort_Free_And_Exit
4885 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4892 * Description of Io_Quotes_Def fix
4894 tSCC zIo_Quotes_DefName[] =
4898 * File name selection pattern
4900 #define zIo_Quotes_DefList (char*)NULL
4902 * Machine/OS name selection pattern
4904 #define apzIo_Quotes_DefMachs (const char**)NULL
4907 * content selection pattern - do fix if pattern found
4909 tSCC zIo_Quotes_DefSelect0[] =
4910 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4912 #define IO_QUOTES_DEF_TEST_CT 1
4913 static tTestDesc aIo_Quotes_DefTests[] = {
4914 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4917 * Fix Command Arguments for Io_Quotes_Def
4919 static const char* apzIo_Quotes_DefPatch[] = {
4924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4926 * Description of Io_Quotes_Use fix
4928 tSCC zIo_Quotes_UseName[] =
4932 * File name selection pattern
4934 #define zIo_Quotes_UseList (char*)NULL
4936 * Machine/OS name selection pattern
4938 #define apzIo_Quotes_UseMachs (const char**)NULL
4941 * content selection pattern - do fix if pattern found
4943 tSCC zIo_Quotes_UseSelect0[] =
4944 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4946 #define IO_QUOTES_USE_TEST_CT 1
4947 static tTestDesc aIo_Quotes_UseTests[] = {
4948 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4951 * Fix Command Arguments for Io_Quotes_Use
4953 static const char* apzIo_Quotes_UsePatch[] = {
4958 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4960 * Description of Ip_Missing_Semi fix
4962 tSCC zIp_Missing_SemiName[] =
4966 * File name selection pattern
4968 tSCC zIp_Missing_SemiList[] =
4971 * Machine/OS name selection pattern
4973 #define apzIp_Missing_SemiMachs (const char**)NULL
4976 * content selection pattern - do fix if pattern found
4978 tSCC zIp_Missing_SemiSelect0[] =
4981 #define IP_MISSING_SEMI_TEST_CT 1
4982 static tTestDesc aIp_Missing_SemiTests[] = {
4983 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4986 * Fix Command Arguments for Ip_Missing_Semi
4988 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4989 "-e", "/^struct/,/^};/s/}$/};/",
4992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4994 * Description of Irix_Limits_Const fix
4996 tSCC zIrix_Limits_ConstName[] =
4997 "irix_limits_const";
5000 * File name selection pattern
5002 tSCC zIrix_Limits_ConstList[] =
5003 "fixinc-test-limits.h\0limits.h\0";
5005 * Machine/OS name selection pattern
5007 #define apzIrix_Limits_ConstMachs (const char**)NULL
5010 * content selection pattern - do fix if pattern found
5012 tSCC zIrix_Limits_ConstSelect0[] =
5015 #define IRIX_LIMITS_CONST_TEST_CT 1
5016 static tTestDesc aIrix_Limits_ConstTests[] = {
5017 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5020 * Fix Command Arguments for Irix_Limits_Const
5022 static const char* apzIrix_Limits_ConstPatch[] = {
5027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5029 * Description of Irix_Stdio_Va_List fix
5031 tSCC zIrix_Stdio_Va_ListName[] =
5032 "irix_stdio_va_list";
5035 * File name selection pattern
5037 tSCC zIrix_Stdio_Va_ListList[] =
5040 * Machine/OS name selection pattern
5042 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5045 * content selection pattern - do fix if pattern found
5047 tSCC zIrix_Stdio_Va_ListSelect0[] =
5048 "/\\* va_list \\*/ char \\*";
5050 #define IRIX_STDIO_VA_LIST_TEST_CT 1
5051 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5052 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5055 * Fix Command Arguments for Irix_Stdio_Va_List
5057 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5064 * Description of Kandr_Concat fix
5066 tSCC zKandr_ConcatName[] =
5070 * File name selection pattern
5072 tSCC zKandr_ConcatList[] =
5073 "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";
5075 * Machine/OS name selection pattern
5077 #define apzKandr_ConcatMachs (const char**)NULL
5080 * content selection pattern - do fix if pattern found
5082 tSCC zKandr_ConcatSelect0[] =
5085 #define KANDR_CONCAT_TEST_CT 1
5086 static tTestDesc aKandr_ConcatTests[] = {
5087 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5090 * Fix Command Arguments for Kandr_Concat
5092 static const char* apzKandr_ConcatPatch[] = {
5097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5099 * Description of Linux_Ia64_Ucontext fix
5101 tSCC zLinux_Ia64_UcontextName[] =
5102 "linux_ia64_ucontext";
5105 * File name selection pattern
5107 tSCC zLinux_Ia64_UcontextList[] =
5110 * Machine/OS name selection pattern
5112 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5114 (const char*)NULL };
5117 * content selection pattern - do fix if pattern found
5119 tSCC zLinux_Ia64_UcontextSelect0[] =
5120 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5122 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5123 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5124 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5127 * Fix Command Arguments for Linux_Ia64_Ucontext
5129 static const char* apzLinux_Ia64_UcontextPatch[] = {
5131 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5136 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5138 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5139 "lynxos_no_warning_in_sys_time_h";
5142 * File name selection pattern
5144 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5147 * Machine/OS name selection pattern
5149 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5152 * content selection pattern - do fix if pattern found
5154 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5155 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5157 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5158 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5159 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5162 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5164 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5171 * Description of Lynxos_Missing_Putenv fix
5173 tSCC zLynxos_Missing_PutenvName[] =
5174 "lynxos_missing_putenv";
5177 * File name selection pattern
5179 tSCC zLynxos_Missing_PutenvList[] =
5182 * Machine/OS name selection pattern
5184 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5186 (const char*)NULL };
5189 * content selection pattern - do fix if pattern found
5191 tSCC zLynxos_Missing_PutenvSelect0[] =
5192 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5195 * content bypass pattern - skip fix if pattern found
5197 tSCC zLynxos_Missing_PutenvBypass0[] =
5200 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5201 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5202 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5203 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5206 * Fix Command Arguments for Lynxos_Missing_Putenv
5208 static const char* apzLynxos_Missing_PutenvPatch[] = {
5211 extern int putenv\t\t\t\t_AP((char *));",
5212 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5217 * Description of Machine_Ansi_H_Va_List fix
5219 tSCC zMachine_Ansi_H_Va_ListName[] =
5220 "machine_ansi_h_va_list";
5223 * File name selection pattern
5225 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5227 * Machine/OS name selection pattern
5229 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5232 * content selection pattern - do fix if pattern found
5234 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5235 "define[ \t]+_BSD_VA_LIST_[ \t]";
5238 * content bypass pattern - skip fix if pattern found
5240 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5241 "__builtin_va_list";
5243 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5244 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5245 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5246 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5249 * Fix Command Arguments for Machine_Ansi_H_Va_List
5251 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5253 "%1__builtin_va_list",
5254 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5259 * Description of Machine_Name fix
5261 tSCC zMachine_NameName[] =
5265 * File name selection pattern
5267 #define zMachine_NameList (char*)NULL
5269 * Machine/OS name selection pattern
5271 #define apzMachine_NameMachs (const char**)NULL
5274 * perform the C function call test
5276 tSCC zMachine_NameFTst0[] = "machine_name";
5278 #define MACHINE_NAME_TEST_CT 1
5279 static tTestDesc aMachine_NameTests[] = {
5280 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5283 * Fix Command Arguments for Machine_Name
5285 static const char* apzMachine_NamePatch[] = {
5289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5291 * Description of Math_Exception fix
5293 tSCC zMath_ExceptionName[] =
5297 * File name selection pattern
5299 tSCC zMath_ExceptionList[] =
5302 * Machine/OS name selection pattern
5304 tSCC* apzMath_ExceptionMachs[] = {
5305 "*-*-solaris2.1[0-9]*",
5306 (const char*)NULL };
5309 * content selection pattern - do fix if pattern found
5311 tSCC zMath_ExceptionSelect0[] =
5315 * content bypass pattern - skip fix if pattern found
5317 tSCC zMath_ExceptionBypass0[] =
5318 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5320 #define MATH_EXCEPTION_TEST_CT 2
5321 static tTestDesc aMath_ExceptionTests[] = {
5322 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5323 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5326 * Fix Command Arguments for Math_Exception
5328 static const char* apzMath_ExceptionPatch[] = {
5330 "#ifdef __cplusplus\n\
5331 #define exception __math_exception\n\
5333 "#ifdef __cplusplus\n\
5338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5340 * Description of Math_Huge_Val_From_Dbl_Max fix
5342 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5343 "math_huge_val_from_dbl_max";
5346 * File name selection pattern
5348 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5351 * Machine/OS name selection pattern
5353 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5356 * content selection pattern - do fix if pattern found
5358 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5359 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5362 * content bypass pattern - skip fix if pattern found
5364 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5365 "define[ \t]+DBL_MAX";
5367 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5368 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5369 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5370 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5373 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5375 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5376 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5377 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5378 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5385 * Description of Nested_Auth_Des fix
5387 tSCC zNested_Auth_DesName[] =
5391 * File name selection pattern
5393 tSCC zNested_Auth_DesList[] =
5396 * Machine/OS name selection pattern
5398 #define apzNested_Auth_DesMachs (const char**)NULL
5401 * content selection pattern - do fix if pattern found
5403 tSCC zNested_Auth_DesSelect0[] =
5404 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5406 #define NESTED_AUTH_DES_TEST_CT 1
5407 static tTestDesc aNested_Auth_DesTests[] = {
5408 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5411 * Fix Command Arguments for Nested_Auth_Des
5413 static const char* apzNested_Auth_DesPatch[] = {
5418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5420 * Description of Netbsd_C99_Inline_1 fix
5422 tSCC zNetbsd_C99_Inline_1Name[] =
5423 "netbsd_c99_inline_1";
5426 * File name selection pattern
5428 tSCC zNetbsd_C99_Inline_1List[] =
5431 * Machine/OS name selection pattern
5433 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5435 (const char*)NULL };
5438 * content selection pattern - do fix if pattern found
5440 tSCC zNetbsd_C99_Inline_1Select0[] =
5441 "extern __inline int";
5443 #define NETBSD_C99_INLINE_1_TEST_CT 1
5444 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5445 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5448 * Fix Command Arguments for Netbsd_C99_Inline_1
5450 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5453 #ifdef __GNUC_STDC_INLINE__\n\
5454 __attribute__((__gnu_inline__))\n\
5459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5461 * Description of Netbsd_C99_Inline_2 fix
5463 tSCC zNetbsd_C99_Inline_2Name[] =
5464 "netbsd_c99_inline_2";
5467 * File name selection pattern
5469 tSCC zNetbsd_C99_Inline_2List[] =
5472 * Machine/OS name selection pattern
5474 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5476 (const char*)NULL };
5479 * content selection pattern - do fix if pattern found
5481 tSCC zNetbsd_C99_Inline_2Select0[] =
5482 "#define _SIGINLINE extern __inline";
5484 #define NETBSD_C99_INLINE_2_TEST_CT 1
5485 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5486 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5489 * Fix Command Arguments for Netbsd_C99_Inline_2
5491 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5493 "#ifdef __GNUC_STDC_INLINE__\n\
5494 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5502 * Description of Netbsd_Extra_Semicolon fix
5504 tSCC zNetbsd_Extra_SemicolonName[] =
5505 "netbsd_extra_semicolon";
5508 * File name selection pattern
5510 tSCC zNetbsd_Extra_SemicolonList[] =
5513 * Machine/OS name selection pattern
5515 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5517 (const char*)NULL };
5520 * content selection pattern - do fix if pattern found
5522 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5523 "#define[ \t]*__END_DECLS[ \t]*};";
5525 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5526 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5527 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5530 * Fix Command Arguments for Netbsd_Extra_Semicolon
5532 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5534 "#define __END_DECLS }",
5537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5539 * Description of Newlib_Stdint_1 fix
5541 tSCC zNewlib_Stdint_1Name[] =
5545 * File name selection pattern
5547 tSCC zNewlib_Stdint_1List[] =
5548 "stdint-newlib.h\0stdint.h\0";
5550 * Machine/OS name selection pattern
5552 #define apzNewlib_Stdint_1Machs (const char**)NULL
5555 * content selection pattern - do fix if pattern found
5557 tSCC zNewlib_Stdint_1Select0[] =
5558 "@todo - Add support for wint_t types";
5560 #define NEWLIB_STDINT_1_TEST_CT 1
5561 static tTestDesc aNewlib_Stdint_1Tests[] = {
5562 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5565 * Fix Command Arguments for Newlib_Stdint_1
5567 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5568 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5569 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5570 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5571 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5572 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5573 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5574 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5575 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5576 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5577 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5578 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5579 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5580 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5581 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5584 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5586 * Description of Newlib_Stdint_2 fix
5588 tSCC zNewlib_Stdint_2Name[] =
5592 * File name selection pattern
5594 tSCC zNewlib_Stdint_2List[] =
5595 "stdint-newlib.h\0stdint.h\0";
5597 * Machine/OS name selection pattern
5599 #define apzNewlib_Stdint_2Machs (const char**)NULL
5602 * content selection pattern - do fix if pattern found
5604 tSCC zNewlib_Stdint_2Select0[] =
5605 "@todo - Add support for wint_t types";
5607 #define NEWLIB_STDINT_2_TEST_CT 1
5608 static tTestDesc aNewlib_Stdint_2Tests[] = {
5609 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5612 * Fix Command Arguments for Newlib_Stdint_2
5614 static const char* apzNewlib_Stdint_2Patch[] = {
5616 "#define INTMAX_MAX __INTMAX_MAX__\n\
5617 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5618 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5619 #define WCHAR_MAX __WCHAR_MAX__\n\
5620 #define WCHAR_MIN __WCHAR_MIN__\n\
5621 #define WINT_MAX __WINT_MAX__\n\
5622 #define WINT_MIN __WINT_MIN__\n\n\
5624 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5629 * Description of Next_Math_Prefix fix
5631 tSCC zNext_Math_PrefixName[] =
5635 * File name selection pattern
5637 tSCC zNext_Math_PrefixList[] =
5640 * Machine/OS name selection pattern
5642 #define apzNext_Math_PrefixMachs (const char**)NULL
5645 * content selection pattern - do fix if pattern found
5647 tSCC zNext_Math_PrefixSelect0[] =
5648 "^extern[ \t]+double[ \t]+__const__[ \t]";
5650 #define NEXT_MATH_PREFIX_TEST_CT 1
5651 static tTestDesc aNext_Math_PrefixTests[] = {
5652 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5655 * Fix Command Arguments for Next_Math_Prefix
5657 static const char* apzNext_Math_PrefixPatch[] = {
5659 "extern double %1(",
5660 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5665 * Description of Next_Template fix
5667 tSCC zNext_TemplateName[] =
5671 * File name selection pattern
5673 tSCC zNext_TemplateList[] =
5676 * Machine/OS name selection pattern
5678 #define apzNext_TemplateMachs (const char**)NULL
5681 * content selection pattern - do fix if pattern found
5683 tSCC zNext_TemplateSelect0[] =
5686 #define NEXT_TEMPLATE_TEST_CT 1
5687 static tTestDesc aNext_TemplateTests[] = {
5688 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5691 * Fix Command Arguments for Next_Template
5693 static const char* apzNext_TemplatePatch[] = {
5696 "\\(([^)]*)[ \t]template\\)",
5699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5701 * Description of Next_Volitile fix
5703 tSCC zNext_VolitileName[] =
5707 * File name selection pattern
5709 tSCC zNext_VolitileList[] =
5712 * Machine/OS name selection pattern
5714 #define apzNext_VolitileMachs (const char**)NULL
5717 * content selection pattern - do fix if pattern found
5719 tSCC zNext_VolitileSelect0[] =
5720 "^extern[ \t]+volatile[ \t]+void[ \t]";
5722 #define NEXT_VOLITILE_TEST_CT 1
5723 static tTestDesc aNext_VolitileTests[] = {
5724 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5727 * Fix Command Arguments for Next_Volitile
5729 static const char* apzNext_VolitilePatch[] = {
5732 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5737 * Description of Next_Wait_Union fix
5739 tSCC zNext_Wait_UnionName[] =
5743 * File name selection pattern
5745 tSCC zNext_Wait_UnionList[] =
5748 * Machine/OS name selection pattern
5750 #define apzNext_Wait_UnionMachs (const char**)NULL
5753 * content selection pattern - do fix if pattern found
5755 tSCC zNext_Wait_UnionSelect0[] =
5756 "wait\\(union wait";
5758 #define NEXT_WAIT_UNION_TEST_CT 1
5759 static tTestDesc aNext_Wait_UnionTests[] = {
5760 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5763 * Fix Command Arguments for Next_Wait_Union
5765 static const char* apzNext_Wait_UnionPatch[] = {
5770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5772 * Description of Nodeent_Syntax fix
5774 tSCC zNodeent_SyntaxName[] =
5778 * File name selection pattern
5780 tSCC zNodeent_SyntaxList[] =
5781 "netdnet/dnetdb.h\0";
5783 * Machine/OS name selection pattern
5785 #define apzNodeent_SyntaxMachs (const char**)NULL
5788 * content selection pattern - do fix if pattern found
5790 tSCC zNodeent_SyntaxSelect0[] =
5791 "char[ \t]*\\*na_addr[ \t]*$";
5793 #define NODEENT_SYNTAX_TEST_CT 1
5794 static tTestDesc aNodeent_SyntaxTests[] = {
5795 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5798 * Fix Command Arguments for Nodeent_Syntax
5800 static const char* apzNodeent_SyntaxPatch[] = {
5805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5807 * Description of Openbsd_Null_Definition fix
5809 tSCC zOpenbsd_Null_DefinitionName[] =
5810 "openbsd_null_definition";
5813 * File name selection pattern
5815 tSCC zOpenbsd_Null_DefinitionList[] =
5816 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5818 * Machine/OS name selection pattern
5820 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5822 (const char*)NULL };
5825 * content selection pattern - do fix if pattern found
5827 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5830 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5831 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5832 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5835 * Fix Command Arguments for Openbsd_Null_Definition
5837 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5840 #ifdef __cplusplus\n\
5842 #define NULL\t__null\n\
5843 #else\t /* ! __GNUG__ */\n\
5845 #endif\t /* __GNUG__ */\n\
5846 #else\t /* ! __cplusplus */\n\
5847 #define NULL\t((void *)0)\n\
5848 #endif\t /* __cplusplus */\n\
5849 #endif\t /* !NULL */",
5850 "^#ifndef[ \t]*NULL\n\
5851 ^#ifdef[ \t]*__GNUG__\n\
5852 ^#define[ \t]*NULL[ \t]*__null\n\
5854 ^#define[ \t]*NULL[ \t]*0L\n\
5859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5861 * Description of Obstack_Lvalue_Cast fix
5863 tSCC zObstack_Lvalue_CastName[] =
5864 "obstack_lvalue_cast";
5867 * File name selection pattern
5869 tSCC zObstack_Lvalue_CastList[] =
5872 * Machine/OS name selection pattern
5874 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5877 * content selection pattern - do fix if pattern found
5879 tSCC zObstack_Lvalue_CastSelect0[] =
5880 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5882 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5883 static tTestDesc aObstack_Lvalue_CastTests[] = {
5884 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5887 * Fix Command Arguments for Obstack_Lvalue_Cast
5889 static const char* apzObstack_Lvalue_CastPatch[] = {
5891 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5896 * Description of Openbsd_Va_Start fix
5898 tSCC zOpenbsd_Va_StartName[] =
5902 * File name selection pattern
5904 tSCC zOpenbsd_Va_StartList[] =
5907 * Machine/OS name selection pattern
5909 tSCC* apzOpenbsd_Va_StartMachs[] = {
5911 (const char*)NULL };
5914 * content selection pattern - do fix if pattern found
5916 tSCC zOpenbsd_Va_StartSelect0[] =
5917 "__builtin_stdarg_start";
5919 #define OPENBSD_VA_START_TEST_CT 1
5920 static tTestDesc aOpenbsd_Va_StartTests[] = {
5921 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5924 * Fix Command Arguments for Openbsd_Va_Start
5926 static const char* apzOpenbsd_Va_StartPatch[] = {
5928 "__builtin_va_start",
5931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5933 * Description of Osf_Namespace_A fix
5935 tSCC zOsf_Namespace_AName[] =
5939 * File name selection pattern
5941 tSCC zOsf_Namespace_AList[] =
5942 "reg_types.h\0sys/lc_core.h\0";
5944 * Machine/OS name selection pattern
5946 #define apzOsf_Namespace_AMachs (const char**)NULL
5949 * perform the 'test' shell command - do fix on success
5951 tSCC zOsf_Namespace_ATest0[] =
5953 tSCC zOsf_Namespace_ATest1[] =
5954 " -r sys/lc_core.h";
5955 tSCC zOsf_Namespace_ATest2[] =
5956 " -n \"`grep '} regex_t;' reg_types.h`\"";
5957 tSCC zOsf_Namespace_ATest3[] =
5958 " -z \"`grep __regex_t regex.h`\"";
5960 #define OSF_NAMESPACE_A_TEST_CT 4
5961 static tTestDesc aOsf_Namespace_ATests[] = {
5962 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5963 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5964 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5965 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5968 * Fix Command Arguments for Osf_Namespace_A
5970 static const char* apzOsf_Namespace_APatch[] = {
5973 "reg(ex|off|match)_t",
5976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5978 * Description of Osf_Namespace_C fix
5980 tSCC zOsf_Namespace_CName[] =
5984 * File name selection pattern
5986 tSCC zOsf_Namespace_CList[] =
5989 * Machine/OS name selection pattern
5991 #define apzOsf_Namespace_CMachs (const char**)NULL
5994 * content selection pattern - do fix if pattern found
5996 tSCC zOsf_Namespace_CSelect0[] =
5997 "#include <reg_types.h>.*";
6000 * perform the 'test' shell command - do fix on success
6002 tSCC zOsf_Namespace_CTest0[] =
6004 tSCC zOsf_Namespace_CTest1[] =
6005 " -r sys/lc_core.h";
6006 tSCC zOsf_Namespace_CTest2[] =
6007 " -n \"`grep '} regex_t;' reg_types.h`\"";
6008 tSCC zOsf_Namespace_CTest3[] =
6009 " -z \"`grep __regex_t regex.h`\"";
6011 #define OSF_NAMESPACE_C_TEST_CT 5
6012 static tTestDesc aOsf_Namespace_CTests[] = {
6013 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6014 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6015 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6016 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6017 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6020 * Fix Command Arguments for Osf_Namespace_C
6022 static const char* apzOsf_Namespace_CPatch[] = {
6025 typedef __regex_t\tregex_t;\n\
6026 typedef __regoff_t\tregoff_t;\n\
6027 typedef __regmatch_t\tregmatch_t;",
6030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6032 * Description of Pthread_Incomplete_Struct_Argument fix
6034 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6035 "pthread_incomplete_struct_argument";
6038 * File name selection pattern
6040 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6043 * Machine/OS name selection pattern
6045 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6048 * content selection pattern - do fix if pattern found
6050 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6051 "struct __jmp_buf_tag";
6053 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
6054 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6055 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6058 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6060 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6063 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6068 * Description of Read_Ret_Type fix
6070 tSCC zRead_Ret_TypeName[] =
6074 * File name selection pattern
6076 tSCC zRead_Ret_TypeList[] =
6079 * Machine/OS name selection pattern
6081 #define apzRead_Ret_TypeMachs (const char**)NULL
6084 * content selection pattern - do fix if pattern found
6086 tSCC zRead_Ret_TypeSelect0[] =
6087 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6089 #define READ_RET_TYPE_TEST_CT 1
6090 static tTestDesc aRead_Ret_TypeTests[] = {
6091 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6094 * Fix Command Arguments for Read_Ret_Type
6096 static const char* apzRead_Ret_TypePatch[] = {
6098 "extern unsigned int fread(), fwrite();\n\
6100 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6105 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6107 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6108 "rpc_xdr_lvalue_cast_a";
6111 * File name selection pattern
6113 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6116 * Machine/OS name selection pattern
6118 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6121 * content selection pattern - do fix if pattern found
6123 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6124 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6127 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6128 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6129 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6132 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6134 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6136 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6139 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6141 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6143 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6144 "rpc_xdr_lvalue_cast_b";
6147 * File name selection pattern
6149 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6152 * Machine/OS name selection pattern
6154 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6157 * content selection pattern - do fix if pattern found
6159 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6160 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6163 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6164 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6165 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6168 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6170 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6172 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6177 * Description of Rs6000_Double fix
6179 tSCC zRs6000_DoubleName[] =
6183 * File name selection pattern
6185 tSCC zRs6000_DoubleList[] =
6188 * Machine/OS name selection pattern
6190 #define apzRs6000_DoubleMachs (const char**)NULL
6193 * content selection pattern - do fix if pattern found
6195 tSCC zRs6000_DoubleSelect0[] =
6196 "[^a-zA-Z_]class\\(";
6198 #define RS6000_DOUBLE_TEST_CT 1
6199 static tTestDesc aRs6000_DoubleTests[] = {
6200 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6203 * Fix Command Arguments for Rs6000_Double
6205 static const char* apzRs6000_DoublePatch[] = {
6207 "#ifndef __cplusplus\n\
6210 "^.*[^a-zA-Z_]class\\(.*",
6213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6215 * Description of Rs6000_Fchmod fix
6217 tSCC zRs6000_FchmodName[] =
6221 * File name selection pattern
6223 tSCC zRs6000_FchmodList[] =
6226 * Machine/OS name selection pattern
6228 #define apzRs6000_FchmodMachs (const char**)NULL
6231 * content selection pattern - do fix if pattern found
6233 tSCC zRs6000_FchmodSelect0[] =
6234 "fchmod\\(char \\*";
6236 #define RS6000_FCHMOD_TEST_CT 1
6237 static tTestDesc aRs6000_FchmodTests[] = {
6238 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6241 * Fix Command Arguments for Rs6000_Fchmod
6243 static const char* apzRs6000_FchmodPatch[] = {
6248 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6250 * Description of Rs6000_Param fix
6252 tSCC zRs6000_ParamName[] =
6256 * File name selection pattern
6258 tSCC zRs6000_ParamList[] =
6259 "stdio.h\0unistd.h\0";
6261 * Machine/OS name selection pattern
6263 #define apzRs6000_ParamMachs (const char**)NULL
6266 * content selection pattern - do fix if pattern found
6268 tSCC zRs6000_ParamSelect0[] =
6269 "rename\\(const char \\*old, const char \\*new\\)";
6271 #define RS6000_PARAM_TEST_CT 1
6272 static tTestDesc aRs6000_ParamTests[] = {
6273 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6276 * Fix Command Arguments for Rs6000_Param
6278 static const char* apzRs6000_ParamPatch[] = {
6280 "rename(const char *_old, const char *_new)",
6283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6285 * Description of Solaris___Restrict fix
6287 tSCC zSolaris___RestrictName[] =
6288 "solaris___restrict";
6291 * File name selection pattern
6293 tSCC zSolaris___RestrictList[] =
6294 "sys/feature_tests.h\0";
6296 * Machine/OS name selection pattern
6298 tSCC* apzSolaris___RestrictMachs[] = {
6300 (const char*)NULL };
6303 * content selection pattern - do fix if pattern found
6305 tSCC zSolaris___RestrictSelect0[] =
6306 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6308 #define SOLARIS___RESTRICT_TEST_CT 1
6309 static tTestDesc aSolaris___RestrictTests[] = {
6310 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6313 * Fix Command Arguments for Solaris___Restrict
6315 static const char* apzSolaris___RestrictPatch[] = {
6317 "#ifdef __cplusplus\n\
6318 #define\t_RESTRICT_KYWD\t__restrict\n\
6324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6326 * Description of Solaris_Complex fix
6328 tSCC zSolaris_ComplexName[] =
6332 * File name selection pattern
6334 tSCC zSolaris_ComplexList[] =
6337 * Machine/OS name selection pattern
6339 tSCC* apzSolaris_ComplexMachs[] = {
6341 (const char*)NULL };
6344 * content selection pattern - do fix if pattern found
6346 tSCC zSolaris_ComplexSelect0[] =
6347 "#define[ \t]_Complex_I[ \t]_Complex_I";
6349 #define SOLARIS_COMPLEX_TEST_CT 1
6350 static tTestDesc aSolaris_ComplexTests[] = {
6351 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6354 * Fix Command Arguments for Solaris_Complex
6356 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6357 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6358 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6359 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6360 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6365 * Description of Solaris_Complex_Cxx fix
6367 tSCC zSolaris_Complex_CxxName[] =
6368 "solaris_complex_cxx";
6371 * File name selection pattern
6373 tSCC zSolaris_Complex_CxxList[] =
6376 * Machine/OS name selection pattern
6378 tSCC* apzSolaris_Complex_CxxMachs[] = {
6380 (const char*)NULL };
6381 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6382 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6385 * Fix Command Arguments for Solaris_Complex_Cxx
6387 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6388 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6389 #ifdef\t__cplusplus\\\n\
6392 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6393 #ifdef\t__cplusplus\\\n\
6398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6400 * Description of Solaris_Cxx_Linkage fix
6402 tSCC zSolaris_Cxx_LinkageName[] =
6403 "solaris_cxx_linkage";
6406 * File name selection pattern
6408 tSCC zSolaris_Cxx_LinkageList[] =
6409 "iso/stdlib_iso.h\0";
6411 * Machine/OS name selection pattern
6413 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6415 (const char*)NULL };
6418 * content selection pattern - do fix if pattern found
6420 tSCC zSolaris_Cxx_LinkageSelect0[] =
6421 "(#if __cplusplus >= 199711L)\n\
6422 (extern \"C\\+\\+\" \\{\n\
6423 )(.*(bsearch|qsort).*)";
6425 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
6426 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6427 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6430 * Fix Command Arguments for Solaris_Cxx_Linkage
6432 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6438 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6440 * Description of Solaris_Getc_Strict_Stdc fix
6442 tSCC zSolaris_Getc_Strict_StdcName[] =
6443 "solaris_getc_strict_stdc";
6446 * File name selection pattern
6448 tSCC zSolaris_Getc_Strict_StdcList[] =
6449 "iso/stdio_iso.h\0";
6451 * Machine/OS name selection pattern
6453 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6455 (const char*)NULL };
6458 * content selection pattern - do fix if pattern found
6460 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6461 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6463 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
6464 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6465 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6468 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
6470 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6472 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6477 * Description of Solaris_Int_Const fix
6479 tSCC zSolaris_Int_ConstName[] =
6480 "solaris_int_const";
6483 * File name selection pattern
6485 tSCC zSolaris_Int_ConstList[] =
6486 "sys/int_const.h\0";
6488 * Machine/OS name selection pattern
6490 tSCC* apzSolaris_Int_ConstMachs[] = {
6492 (const char*)NULL };
6495 * content selection pattern - do fix if pattern found
6497 tSCC zSolaris_Int_ConstSelect0[] =
6498 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6500 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6502 #define SOLARIS_INT_CONST_TEST_CT 1
6503 static tTestDesc aSolaris_Int_ConstTests[] = {
6504 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6507 * Fix Command Arguments for Solaris_Int_Const
6509 static const char* apzSolaris_Int_ConstPatch[] = {
6511 "#define\tUINT8_C(c)\t(c)\n\
6513 #define\tUINT16_C(c)\t(c)",
6516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6518 * Description of Solaris_Int_Limits_1 fix
6520 tSCC zSolaris_Int_Limits_1Name[] =
6521 "solaris_int_limits_1";
6524 * File name selection pattern
6526 tSCC zSolaris_Int_Limits_1List[] =
6527 "sys/int_limits.h\0";
6529 * Machine/OS name selection pattern
6531 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6533 (const char*)NULL };
6536 * content selection pattern - do fix if pattern found
6538 tSCC zSolaris_Int_Limits_1Select0[] =
6539 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6540 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6542 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6543 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6544 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6547 * Fix Command Arguments for Solaris_Int_Limits_1
6549 static const char* apzSolaris_Int_Limits_1Patch[] = {
6551 "#define\tUINT8_MAX\t(255)\n\
6552 #define\tUINT16_MAX\t(65535)",
6555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6557 * Description of Solaris_Int_Limits_2 fix
6559 tSCC zSolaris_Int_Limits_2Name[] =
6560 "solaris_int_limits_2";
6563 * File name selection pattern
6565 tSCC zSolaris_Int_Limits_2List[] =
6566 "sys/int_limits.h\0";
6568 * Machine/OS name selection pattern
6570 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6572 (const char*)NULL };
6575 * content selection pattern - do fix if pattern found
6577 tSCC zSolaris_Int_Limits_2Select0[] =
6578 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6580 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6581 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6582 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6585 * Fix Command Arguments for Solaris_Int_Limits_2
6587 static const char* apzSolaris_Int_Limits_2Patch[] = {
6589 "#define\t%1_FAST16_%2 %132_%2",
6592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6594 * Description of Solaris_Int_Limits_3 fix
6596 tSCC zSolaris_Int_Limits_3Name[] =
6597 "solaris_int_limits_3";
6600 * File name selection pattern
6602 tSCC zSolaris_Int_Limits_3List[] =
6603 "sys/int_limits.h\0";
6605 * Machine/OS name selection pattern
6607 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6609 (const char*)NULL };
6612 * content selection pattern - do fix if pattern found
6614 tSCC zSolaris_Int_Limits_3Select0[] =
6615 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6617 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6618 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6619 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6622 * Fix Command Arguments for Solaris_Int_Limits_3
6624 static const char* apzSolaris_Int_Limits_3Patch[] = {
6626 "#define\tSIZE_MAX\t4294967295U",
6629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6631 * Description of Solaris_Math_1 fix
6633 tSCC zSolaris_Math_1Name[] =
6637 * File name selection pattern
6639 tSCC zSolaris_Math_1List[] =
6642 * Machine/OS name selection pattern
6644 #define apzSolaris_Math_1Machs (const char**)NULL
6647 * content selection pattern - do fix if pattern found
6649 tSCC zSolaris_Math_1Select0[] =
6650 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6653 * content bypass pattern - skip fix if pattern found
6655 tSCC zSolaris_Math_1Bypass0[] =
6658 #define SOLARIS_MATH_1_TEST_CT 2
6659 static tTestDesc aSolaris_Math_1Tests[] = {
6660 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6661 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6664 * Fix Command Arguments for Solaris_Math_1
6666 static const char* apzSolaris_Math_1Patch[] = {
6668 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6669 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6672 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6674 * Description of Solaris_Math_10 fix
6676 tSCC zSolaris_Math_10Name[] =
6680 * File name selection pattern
6682 tSCC zSolaris_Math_10List[] =
6685 * Machine/OS name selection pattern
6687 #define apzSolaris_Math_10Machs (const char**)NULL
6690 * content selection pattern - do fix if pattern found
6692 tSCC zSolaris_Math_10Select0[] =
6693 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6695 #define SOLARIS_MATH_10_TEST_CT 1
6696 static tTestDesc aSolaris_Math_10Tests[] = {
6697 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6700 * Fix Command Arguments for Solaris_Math_10
6702 static const char* apzSolaris_Math_10Patch[] = {
6704 "#define\tisinf(x) __builtin_isinf(x)",
6705 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6706 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6707 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6708 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6711 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6713 * Description of Solaris_Math_2 fix
6715 tSCC zSolaris_Math_2Name[] =
6719 * File name selection pattern
6721 tSCC zSolaris_Math_2List[] =
6724 * Machine/OS name selection pattern
6726 #define apzSolaris_Math_2Machs (const char**)NULL
6729 * content selection pattern - do fix if pattern found
6731 tSCC zSolaris_Math_2Select0[] =
6732 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6735 * content bypass pattern - skip fix if pattern found
6737 tSCC zSolaris_Math_2Bypass0[] =
6740 #define SOLARIS_MATH_2_TEST_CT 2
6741 static tTestDesc aSolaris_Math_2Tests[] = {
6742 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6743 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6746 * Fix Command Arguments for Solaris_Math_2
6748 static const char* apzSolaris_Math_2Patch[] = {
6750 "#define\tINFINITY\t(__builtin_inff())",
6751 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6756 * Description of Solaris_Math_3 fix
6758 tSCC zSolaris_Math_3Name[] =
6762 * File name selection pattern
6764 tSCC zSolaris_Math_3List[] =
6767 * Machine/OS name selection pattern
6769 #define apzSolaris_Math_3Machs (const char**)NULL
6772 * content selection pattern - do fix if pattern found
6774 tSCC zSolaris_Math_3Select0[] =
6775 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6778 * content bypass pattern - skip fix if pattern found
6780 tSCC zSolaris_Math_3Bypass0[] =
6783 #define SOLARIS_MATH_3_TEST_CT 2
6784 static tTestDesc aSolaris_Math_3Tests[] = {
6785 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6786 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6789 * Fix Command Arguments for Solaris_Math_3
6791 static const char* apzSolaris_Math_3Patch[] = {
6793 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6794 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6799 * Description of Solaris_Math_4 fix
6801 tSCC zSolaris_Math_4Name[] =
6805 * File name selection pattern
6807 tSCC zSolaris_Math_4List[] =
6810 * Machine/OS name selection pattern
6812 #define apzSolaris_Math_4Machs (const char**)NULL
6815 * content selection pattern - do fix if pattern found
6817 tSCC zSolaris_Math_4Select0[] =
6818 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6821 * content bypass pattern - skip fix if pattern found
6823 tSCC zSolaris_Math_4Bypass0[] =
6826 #define SOLARIS_MATH_4_TEST_CT 2
6827 static tTestDesc aSolaris_Math_4Tests[] = {
6828 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6829 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6832 * Fix Command Arguments for Solaris_Math_4
6834 static const char* apzSolaris_Math_4Patch[] = {
6836 "#define\tfpclassify(x) \\\n\
6837 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6838 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6843 * Description of Solaris_Math_8 fix
6845 tSCC zSolaris_Math_8Name[] =
6849 * File name selection pattern
6851 tSCC zSolaris_Math_8List[] =
6854 * Machine/OS name selection pattern
6856 #define apzSolaris_Math_8Machs (const char**)NULL
6859 * content selection pattern - do fix if pattern found
6861 tSCC zSolaris_Math_8Select0[] =
6862 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6865 * content bypass pattern - skip fix if pattern found
6867 tSCC zSolaris_Math_8Bypass0[] =
6870 #define SOLARIS_MATH_8_TEST_CT 2
6871 static tTestDesc aSolaris_Math_8Tests[] = {
6872 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6873 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6876 * Fix Command Arguments for Solaris_Math_8
6878 static const char* apzSolaris_Math_8Patch[] = {
6880 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6881 \t\t\t ? __builtin_signbitf(x) \\\n\
6882 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6883 \t\t\t ? __builtin_signbitl(x) \\\n\
6884 \t\t\t : __builtin_signbit(x))",
6885 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6890 * Description of Solaris_Math_9 fix
6892 tSCC zSolaris_Math_9Name[] =
6896 * File name selection pattern
6898 tSCC zSolaris_Math_9List[] =
6901 * Machine/OS name selection pattern
6903 #define apzSolaris_Math_9Machs (const char**)NULL
6906 * content selection pattern - do fix if pattern found
6908 tSCC zSolaris_Math_9Select0[] =
6909 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6912 * content bypass pattern - skip fix if pattern found
6914 tSCC zSolaris_Math_9Bypass0[] =
6917 #define SOLARIS_MATH_9_TEST_CT 2
6918 static tTestDesc aSolaris_Math_9Tests[] = {
6919 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6920 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6923 * Fix Command Arguments for Solaris_Math_9
6925 static const char* apzSolaris_Math_9Patch[] = {
6927 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6928 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6933 * Description of Solaris_Math_11 fix
6935 tSCC zSolaris_Math_11Name[] =
6939 * File name selection pattern
6941 tSCC zSolaris_Math_11List[] =
6944 * Machine/OS name selection pattern
6946 #define apzSolaris_Math_11Machs (const char**)NULL
6949 * content selection pattern - do fix if pattern found
6951 tSCC zSolaris_Math_11Select0[] =
6952 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
6954 #define SOLARIS_MATH_11_TEST_CT 1
6955 static tTestDesc aSolaris_Math_11Tests[] = {
6956 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
6959 * Fix Command Arguments for Solaris_Math_11
6961 static const char* apzSolaris_Math_11Patch[] = {
6964 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6965 \t\t\t ? __builtin_signbitf(x) \\\n\
6966 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6967 \t\t\t ? __builtin_signbitl(x) \\\n\
6968 \t\t\t : __builtin_signbit(x))",
6969 "^#undef[ \t]+signbit\n\
6970 #if defined\\(__sparc\\)\n\
6971 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
6972 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6973 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
6974 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
6975 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
6976 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
6977 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
6978 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
6979 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
6980 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
6981 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
6985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6987 * Description of Solaris_Once_Init_1 fix
6989 tSCC zSolaris_Once_Init_1Name[] =
6990 "solaris_once_init_1";
6993 * File name selection pattern
6995 tSCC zSolaris_Once_Init_1List[] =
6998 * Machine/OS name selection pattern
7000 tSCC* apzSolaris_Once_Init_1Machs[] = {
7002 (const char*)NULL };
7005 * content selection pattern - do fix if pattern found
7007 tSCC zSolaris_Once_Init_1Select0[] =
7008 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7010 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7011 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7012 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7015 * Fix Command Arguments for Solaris_Once_Init_1
7017 static const char* apzSolaris_Once_Init_1Patch[] = {
7020 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7025 * Description of Solaris_Posix_Spawn_Restrict fix
7027 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7028 "solaris_posix_spawn_restrict";
7031 * File name selection pattern
7033 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7036 * Machine/OS name selection pattern
7038 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7040 (const char*)NULL };
7043 * content selection pattern - do fix if pattern found
7045 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7046 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7048 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7049 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7050 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7053 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7055 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7057 "%1*_RESTRICT_KYWD %2%3",
7060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7062 * Description of Solaris_Pow_Int_Overload fix
7064 tSCC zSolaris_Pow_Int_OverloadName[] =
7065 "solaris_pow_int_overload";
7068 * File name selection pattern
7070 tSCC zSolaris_Pow_Int_OverloadList[] =
7073 * Machine/OS name selection pattern
7075 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7077 (const char*)NULL };
7080 * content selection pattern - do fix if pattern found
7082 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7083 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7086 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7087 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7088 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7091 * Fix Command Arguments for Solaris_Pow_Int_Overload
7093 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7095 "#if __cplusplus < 201103L\n\
7100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7102 * Description of Solaris_Rwlock_Init_1 fix
7104 tSCC zSolaris_Rwlock_Init_1Name[] =
7105 "solaris_rwlock_init_1";
7108 * File name selection pattern
7110 tSCC zSolaris_Rwlock_Init_1List[] =
7113 * Machine/OS name selection pattern
7115 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7117 (const char*)NULL };
7120 * content selection pattern - do fix if pattern found
7122 tSCC zSolaris_Rwlock_Init_1Select0[] =
7123 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7125 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
7126 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7127 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7130 * Fix Command Arguments for Solaris_Rwlock_Init_1
7132 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7134 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7137 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7139 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7144 * Description of Solaris_Std___Filbuf fix
7146 tSCC zSolaris_Std___FilbufName[] =
7147 "solaris_std___filbuf";
7150 * File name selection pattern
7152 tSCC zSolaris_Std___FilbufList[] =
7155 * Machine/OS name selection pattern
7157 tSCC* apzSolaris_Std___FilbufMachs[] = {
7159 (const char*)NULL };
7162 * content selection pattern - do fix if pattern found
7164 tSCC zSolaris_Std___FilbufSelect0[] =
7165 "(using std::perror;\n\
7169 * content bypass pattern - skip fix if pattern found
7171 tSCC zSolaris_Std___FilbufBypass0[] =
7172 "using std::__filbuf";
7174 #define SOLARIS_STD___FILBUF_TEST_CT 2
7175 static tTestDesc aSolaris_Std___FilbufTests[] = {
7176 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7177 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7180 * Fix Command Arguments for Solaris_Std___Filbuf
7182 static const char* apzSolaris_Std___FilbufPatch[] = {
7185 using std::__filbuf;\n\
7186 using std::__flsbuf;\n\
7191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7193 * Description of Solaris_Stdio_Tag fix
7195 tSCC zSolaris_Stdio_TagName[] =
7196 "solaris_stdio_tag";
7199 * File name selection pattern
7201 tSCC zSolaris_Stdio_TagList[] =
7204 * Machine/OS name selection pattern
7206 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7209 * content selection pattern - do fix if pattern found
7211 tSCC zSolaris_Stdio_TagSelect0[] =
7212 "__cplusplus < 54321L";
7215 * content bypass pattern - skip fix if pattern found
7217 tSCC zSolaris_Stdio_TagBypass0[] =
7220 #define SOLARIS_STDIO_TAG_TEST_CT 2
7221 static tTestDesc aSolaris_Stdio_TagTests[] = {
7222 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7223 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7226 * Fix Command Arguments for Solaris_Stdio_Tag
7228 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7229 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7234 * Description of Statsswtch fix
7236 tSCC zStatsswtchName[] =
7240 * File name selection pattern
7242 tSCC zStatsswtchList[] =
7245 * Machine/OS name selection pattern
7247 #define apzStatsswtchMachs (const char**)NULL
7250 * content selection pattern - do fix if pattern found
7252 tSCC zStatsswtchSelect0[] =
7255 #define STATSSWTCH_TEST_CT 1
7256 static tTestDesc aStatsswtchTests[] = {
7257 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
7260 * Fix Command Arguments for Statsswtch
7262 static const char* apzStatsswtchPatch[] = {
7267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7269 * Description of Stdio_Stdarg_H fix
7271 tSCC zStdio_Stdarg_HName[] =
7275 * File name selection pattern
7277 tSCC zStdio_Stdarg_HList[] =
7280 * Machine/OS name selection pattern
7282 tSCC* apzStdio_Stdarg_HMachs[] = {
7283 "*-*-solaris2.1[0-9]*",
7284 (const char*)NULL };
7287 * content bypass pattern - skip fix if pattern found
7289 tSCC zStdio_Stdarg_HBypass0[] =
7290 "include.*(stdarg.h|machine/ansi.h)";
7292 #define STDIO_STDARG_H_TEST_CT 1
7293 static tTestDesc aStdio_Stdarg_HTests[] = {
7294 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7297 * Fix Command Arguments for Stdio_Stdarg_H
7299 static const char* apzStdio_Stdarg_HPatch[] = {
7301 "#define __need___va_list\n\
7302 #include <stdarg.h>\n",
7305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7307 * Description of Stdio_Va_List fix
7309 tSCC zStdio_Va_ListName[] =
7313 * File name selection pattern
7315 tSCC zStdio_Va_ListList[] =
7318 * Machine/OS name selection pattern
7320 tSCC* apzStdio_Va_ListMachs[] = {
7321 "*-*-solaris2.1[0-9]*",
7322 (const char*)NULL };
7325 * content bypass pattern - skip fix if pattern found
7327 tSCC zStdio_Va_ListBypass0[] =
7328 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7330 #define STDIO_VA_LIST_TEST_CT 1
7331 static tTestDesc aStdio_Va_ListTests[] = {
7332 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7335 * Fix Command Arguments for Stdio_Va_List
7337 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7338 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7339 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7340 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7341 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7342 s@ va_list@ __not_va_list__@\n\
7343 s@\\*va_list@*__not_va_list__@\n\
7344 s@ __va_list)@ __gnuc_va_list)@\n\
7345 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7346 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7347 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7348 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7349 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7350 s@VA_LIST@DUMMY_VA_LIST@\n\
7351 s@_Va_LIST@_VA_LIST@",
7354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7356 * Description of Stdio_Va_List_Clients fix
7358 tSCC zStdio_Va_List_ClientsName[] =
7359 "stdio_va_list_clients";
7362 * File name selection pattern
7364 tSCC zStdio_Va_List_ClientsList[] =
7365 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7367 * Machine/OS name selection pattern
7369 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7372 * content bypass pattern - skip fix if pattern found
7374 tSCC zStdio_Va_List_ClientsBypass0[] =
7375 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7376 tSCC zStdio_Va_List_ClientsBypass1[] =
7377 "include <stdarg\\.h>|#ifdef va_start";
7379 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7380 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7381 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7382 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7385 * Fix Command Arguments for Stdio_Va_List_Clients
7387 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7388 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7389 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7390 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7391 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7392 s@ va_list@ __not_va_list__@\n\
7393 s@\\*va_list@*__not_va_list__@\n\
7394 s@ __va_list)@ __gnuc_va_list)@\n\
7395 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7396 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7397 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7398 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7399 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7400 s@VA_LIST@DUMMY_VA_LIST@\n\
7401 s@_Va_LIST@_VA_LIST@",
7404 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7406 * Description of Strict_Ansi_Not fix
7408 tSCC zStrict_Ansi_NotName[] =
7412 * File name selection pattern
7414 #define zStrict_Ansi_NotList (char*)NULL
7416 * Machine/OS name selection pattern
7418 #define apzStrict_Ansi_NotMachs (const char**)NULL
7421 * content selection pattern - do fix if pattern found
7423 tSCC zStrict_Ansi_NotSelect0[] =
7424 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7427 * content bypass pattern - skip fix if pattern found
7429 tSCC zStrict_Ansi_NotBypass0[] =
7430 "GNU and MIPS C compilers define __STDC__ differently";
7431 tSCC zStrict_Ansi_NotBypass1[] =
7432 "__SCO_VERSION__.*__STDC__ != 1";
7435 * perform the C function call test
7437 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7439 #define STRICT_ANSI_NOT_TEST_CT 4
7440 static tTestDesc aStrict_Ansi_NotTests[] = {
7441 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7442 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7443 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7444 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7447 * Fix Command Arguments for Strict_Ansi_Not
7449 static const char* apzStrict_Ansi_NotPatch[] = {
7451 "%1 !defined(__STRICT_ANSI__)",
7454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7456 * Description of Strict_Ansi_Not_Ctd fix
7458 tSCC zStrict_Ansi_Not_CtdName[] =
7459 "strict_ansi_not_ctd";
7462 * File name selection pattern
7464 tSCC zStrict_Ansi_Not_CtdList[] =
7465 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7467 * Machine/OS name selection pattern
7469 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7472 * content selection pattern - do fix if pattern found
7474 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7475 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7478 * perform the C function call test
7480 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7482 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7483 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7484 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7485 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7488 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7490 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7492 "%1 !defined(__STRICT_ANSI__)",
7495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7497 * Description of Strict_Ansi_Only fix
7499 tSCC zStrict_Ansi_OnlyName[] =
7503 * File name selection pattern
7505 #define zStrict_Ansi_OnlyList (char*)NULL
7507 * Machine/OS name selection pattern
7509 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7512 * content selection pattern - do fix if pattern found
7514 tSCC zStrict_Ansi_OnlySelect0[] =
7515 "^([ \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)";
7518 * perform the C function call test
7520 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7522 #define STRICT_ANSI_ONLY_TEST_CT 2
7523 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7524 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7525 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7528 * Fix Command Arguments for Strict_Ansi_Only
7530 static const char* apzStrict_Ansi_OnlyPatch[] = {
7532 "%1 defined(__STRICT_ANSI__)",
7535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7537 * Description of Struct_File fix
7539 tSCC zStruct_FileName[] =
7543 * File name selection pattern
7545 tSCC zStruct_FileList[] =
7548 * Machine/OS name selection pattern
7550 #define apzStruct_FileMachs (const char**)NULL
7553 * content selection pattern - do fix if pattern found
7555 tSCC zStruct_FileSelect0[] =
7556 "^.*xdrstdio_create.*struct __file_s";
7558 #define STRUCT_FILE_TEST_CT 1
7559 static tTestDesc aStruct_FileTests[] = {
7560 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7563 * Fix Command Arguments for Struct_File
7565 static const char* apzStruct_FilePatch[] = {
7567 "struct __file_s;\n\
7571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7573 * Description of Struct_Sockaddr fix
7575 tSCC zStruct_SockaddrName[] =
7579 * File name selection pattern
7581 tSCC zStruct_SockaddrList[] =
7584 * Machine/OS name selection pattern
7586 #define apzStruct_SockaddrMachs (const char**)NULL
7589 * content selection pattern - do fix if pattern found
7591 tSCC zStruct_SockaddrSelect0[] =
7592 "^.*authdes_create.*struct sockaddr[^_]";
7595 * content bypass pattern - skip fix if pattern found
7597 tSCC zStruct_SockaddrBypass0[] =
7599 tSCC zStruct_SockaddrBypass1[] =
7600 "struct sockaddr;\n";
7602 #define STRUCT_SOCKADDR_TEST_CT 3
7603 static tTestDesc aStruct_SockaddrTests[] = {
7604 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7605 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7606 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7609 * Fix Command Arguments for Struct_Sockaddr
7611 static const char* apzStruct_SockaddrPatch[] = {
7613 "struct sockaddr;\n\
7617 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7619 * Description of Sun_Auth_Proto fix
7621 tSCC zSun_Auth_ProtoName[] =
7625 * File name selection pattern
7627 tSCC zSun_Auth_ProtoList[] =
7628 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7630 * Machine/OS name selection pattern
7632 #define apzSun_Auth_ProtoMachs (const char**)NULL
7635 * content selection pattern - do fix if pattern found
7637 tSCC zSun_Auth_ProtoSelect0[] =
7638 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7641 * content bypass pattern - skip fix if pattern found
7643 tSCC zSun_Auth_ProtoBypass0[] =
7646 #define SUN_AUTH_PROTO_TEST_CT 2
7647 static tTestDesc aSun_Auth_ProtoTests[] = {
7648 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7649 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7652 * Fix Command Arguments for Sun_Auth_Proto
7654 static const char* apzSun_Auth_ProtoPatch[] = {
7656 "#ifdef __cplusplus\n\
7661 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7666 * Description of Sun_Bogus_Ifdef fix
7668 tSCC zSun_Bogus_IfdefName[] =
7672 * File name selection pattern
7674 tSCC zSun_Bogus_IfdefList[] =
7675 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7677 * Machine/OS name selection pattern
7679 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7682 * content selection pattern - do fix if pattern found
7684 tSCC zSun_Bogus_IfdefSelect0[] =
7685 "#ifdef(.*\\|\\|.*)";
7687 #define SUN_BOGUS_IFDEF_TEST_CT 1
7688 static tTestDesc aSun_Bogus_IfdefTests[] = {
7689 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7692 * Fix Command Arguments for Sun_Bogus_Ifdef
7694 static const char* apzSun_Bogus_IfdefPatch[] = {
7699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7701 * Description of Sun_Catmacro fix
7703 tSCC zSun_CatmacroName[] =
7707 * File name selection pattern
7709 tSCC zSun_CatmacroList[] =
7710 "pixrect/memvar.h\0";
7712 * Machine/OS name selection pattern
7714 #define apzSun_CatmacroMachs (const char**)NULL
7717 * content selection pattern - do fix if pattern found
7719 tSCC zSun_CatmacroSelect0[] =
7720 "^#define[ \t]+CAT\\(a,b\\).*";
7722 #define SUN_CATMACRO_TEST_CT 1
7723 static tTestDesc aSun_CatmacroTests[] = {
7724 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7727 * Fix Command Arguments for Sun_Catmacro
7729 static const char* apzSun_CatmacroPatch[] = {
7732 # define CAT(a,b) a##b\n\
7738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7740 * Description of Sun_Malloc fix
7742 tSCC zSun_MallocName[] =
7746 * File name selection pattern
7748 tSCC zSun_MallocList[] =
7751 * Machine/OS name selection pattern
7753 #define apzSun_MallocMachs (const char**)NULL
7756 * content bypass pattern - skip fix if pattern found
7758 tSCC zSun_MallocBypass0[] =
7759 "_CLASSIC_ANSI_TYPES";
7761 #define SUN_MALLOC_TEST_CT 1
7762 static tTestDesc aSun_MallocTests[] = {
7763 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7766 * Fix Command Arguments for Sun_Malloc
7768 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7769 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7770 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7771 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7772 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7773 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7778 * Description of Sun_Rusers_Semi fix
7780 tSCC zSun_Rusers_SemiName[] =
7784 * File name selection pattern
7786 tSCC zSun_Rusers_SemiList[] =
7787 "rpcsvc/rusers.h\0";
7789 * Machine/OS name selection pattern
7791 #define apzSun_Rusers_SemiMachs (const char**)NULL
7794 * content selection pattern - do fix if pattern found
7796 tSCC zSun_Rusers_SemiSelect0[] =
7799 #define SUN_RUSERS_SEMI_TEST_CT 1
7800 static tTestDesc aSun_Rusers_SemiTests[] = {
7801 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7804 * Fix Command Arguments for Sun_Rusers_Semi
7806 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7807 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7812 * Description of Sun_Signal fix
7814 tSCC zSun_SignalName[] =
7818 * File name selection pattern
7820 tSCC zSun_SignalList[] =
7821 "sys/signal.h\0signal.h\0";
7823 * Machine/OS name selection pattern
7825 #define apzSun_SignalMachs (const char**)NULL
7828 * content selection pattern - do fix if pattern found
7830 tSCC zSun_SignalSelect0[] =
7831 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7833 #define SUN_SIGNAL_TEST_CT 1
7834 static tTestDesc aSun_SignalTests[] = {
7835 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7838 * Fix Command Arguments for Sun_Signal
7840 static const char* apzSun_SignalPatch[] = {
7842 "#ifdef __cplusplus\n\
7843 void\t(*signal(...))(...);\n\
7849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7851 * Description of Sunos_Strlen fix
7853 tSCC zSunos_StrlenName[] =
7857 * File name selection pattern
7859 tSCC zSunos_StrlenList[] =
7862 * Machine/OS name selection pattern
7864 #define apzSunos_StrlenMachs (const char**)NULL
7867 * content selection pattern - do fix if pattern found
7869 tSCC zSunos_StrlenSelect0[] =
7870 "int[ \t]*strlen\\(\\);(.*)";
7872 #define SUNOS_STRLEN_TEST_CT 1
7873 static tTestDesc aSunos_StrlenTests[] = {
7874 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7877 * Fix Command Arguments for Sunos_Strlen
7879 static const char* apzSunos_StrlenPatch[] = {
7881 "__SIZE_TYPE__ strlen();%1",
7884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7886 * Description of Suse_Linux_Vt_Cxx fix
7888 tSCC zSuse_Linux_Vt_CxxName[] =
7889 "suse_linux_vt_cxx";
7892 * File name selection pattern
7894 tSCC zSuse_Linux_Vt_CxxList[] =
7897 * Machine/OS name selection pattern
7899 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
7902 * content selection pattern - do fix if pattern found
7904 tSCC zSuse_Linux_Vt_CxxSelect0[] =
7905 "^[ \t]*unsigned int new;";
7907 #define SUSE_LINUX_VT_CXX_TEST_CT 1
7908 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
7909 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
7912 * Fix Command Arguments for Suse_Linux_Vt_Cxx
7914 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
7916 "unsigned int newev;",
7919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7921 * Description of Svr4_Disable_Opt fix
7923 tSCC zSvr4_Disable_OptName[] =
7927 * File name selection pattern
7929 tSCC zSvr4_Disable_OptList[] =
7932 * Machine/OS name selection pattern
7934 #define apzSvr4_Disable_OptMachs (const char**)NULL
7937 * content selection pattern - do fix if pattern found
7939 tSCC zSvr4_Disable_OptSelect0[] =
7940 "#define.*__std_hdr_";
7942 #define SVR4_DISABLE_OPT_TEST_CT 1
7943 static tTestDesc aSvr4_Disable_OptTests[] = {
7944 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7947 * Fix Command Arguments for Svr4_Disable_Opt
7949 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7950 "-e", "/#define.*__std_hdr_/d",
7953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7955 * Description of Svr4_Getcwd fix
7957 tSCC zSvr4_GetcwdName[] =
7961 * File name selection pattern
7963 tSCC zSvr4_GetcwdList[] =
7964 "stdlib.h\0unistd.h\0prototypes.h\0";
7966 * Machine/OS name selection pattern
7968 #define apzSvr4_GetcwdMachs (const char**)NULL
7971 * content selection pattern - do fix if pattern found
7973 tSCC zSvr4_GetcwdSelect0[] =
7974 "getcwd\\(char \\*, int\\)";
7976 #define SVR4_GETCWD_TEST_CT 1
7977 static tTestDesc aSvr4_GetcwdTests[] = {
7978 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7981 * Fix Command Arguments for Svr4_Getcwd
7983 static const char* apzSvr4_GetcwdPatch[] = {
7985 "getcwd(char *, size_t)",
7988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7990 * Description of Svr4_Profil fix
7992 tSCC zSvr4_ProfilName[] =
7996 * File name selection pattern
7998 tSCC zSvr4_ProfilList[] =
7999 "stdlib.h\0unistd.h\0";
8001 * Machine/OS name selection pattern
8003 #define apzSvr4_ProfilMachs (const char**)NULL
8006 * content selection pattern - do fix if pattern found
8008 tSCC zSvr4_ProfilSelect0[] =
8009 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8011 #define SVR4_PROFIL_TEST_CT 1
8012 static tTestDesc aSvr4_ProfilTests[] = {
8013 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8016 * Fix Command Arguments for Svr4_Profil
8018 static const char* apzSvr4_ProfilPatch[] = {
8020 "profil(unsigned short *, size_t, int, unsigned int)",
8023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8025 * Description of Svr4_Sighandler_Type fix
8027 tSCC zSvr4_Sighandler_TypeName[] =
8028 "svr4_sighandler_type";
8031 * File name selection pattern
8033 tSCC zSvr4_Sighandler_TypeList[] =
8036 * Machine/OS name selection pattern
8038 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8041 * content selection pattern - do fix if pattern found
8043 tSCC zSvr4_Sighandler_TypeSelect0[] =
8044 "void *\\(\\*\\)\\(\\)";
8046 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8047 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8048 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8051 * Fix Command Arguments for Svr4_Sighandler_Type
8053 static const char* apzSvr4_Sighandler_TypePatch[] = {
8058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8060 * Description of Svr4_Undeclared_Getrnge fix
8062 tSCC zSvr4_Undeclared_GetrngeName[] =
8063 "svr4_undeclared_getrnge";
8066 * File name selection pattern
8068 tSCC zSvr4_Undeclared_GetrngeList[] =
8071 * Machine/OS name selection pattern
8073 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8076 * content selection pattern - do fix if pattern found
8078 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8082 * content bypass pattern - skip fix if pattern found
8084 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8085 "static void getrnge";
8087 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8088 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8089 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8090 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8093 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8095 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8098 static int getrnge ();",
8099 "^static int[ \t]+size;",
8102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8104 * Description of Sysv68_String fix
8106 tSCC zSysv68_StringName[] =
8110 * File name selection pattern
8112 tSCC zSysv68_StringList[] =
8113 "testing.h\0string.h\0";
8115 * Machine/OS name selection pattern
8117 #define apzSysv68_StringMachs (const char**)NULL
8120 * content bypass pattern - skip fix if pattern found
8122 tSCC zSysv68_StringBypass0[] =
8123 "_CLASSIC_ANSI_TYPES";
8125 #define SYSV68_STRING_TEST_CT 1
8126 static tTestDesc aSysv68_StringTests[] = {
8127 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8130 * Fix Command Arguments for Sysv68_String
8132 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8133 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8134 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8135 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8136 "-e", "/^extern char$/N",
8137 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8138 "-e", "/^extern int$/N",
8139 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8140 "-e", "/^\tstrncmp(),$/N",
8141 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8142 extern unsigned int\\\n\
8146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8148 * Description of Sysz_Stdlib_For_Sun fix
8150 tSCC zSysz_Stdlib_For_SunName[] =
8151 "sysz_stdlib_for_sun";
8154 * File name selection pattern
8156 tSCC zSysz_Stdlib_For_SunList[] =
8159 * Machine/OS name selection pattern
8161 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8164 * content selection pattern - do fix if pattern found
8166 tSCC zSysz_Stdlib_For_SunSelect0[] =
8167 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8170 * content bypass pattern - skip fix if pattern found
8172 tSCC zSysz_Stdlib_For_SunBypass0[] =
8173 "_CLASSIC_ANSI_TYPES";
8175 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8176 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8177 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8178 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8181 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8183 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8190 * Description of Thread_Keyword fix
8192 tSCC zThread_KeywordName[] =
8196 * File name selection pattern
8198 tSCC zThread_KeywordList[] =
8199 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8201 * Machine/OS name selection pattern
8203 #define apzThread_KeywordMachs (const char**)NULL
8206 * content selection pattern - do fix if pattern found
8208 tSCC zThread_KeywordSelect0[] =
8209 "([* ])__thread([,)])";
8211 #define THREAD_KEYWORD_TEST_CT 1
8212 static tTestDesc aThread_KeywordTests[] = {
8213 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8216 * Fix Command Arguments for Thread_Keyword
8218 static const char* apzThread_KeywordPatch[] = {
8223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8225 * Description of Tinfo_Cplusplus fix
8227 tSCC zTinfo_CplusplusName[] =
8231 * File name selection pattern
8233 tSCC zTinfo_CplusplusList[] =
8236 * Machine/OS name selection pattern
8238 #define apzTinfo_CplusplusMachs (const char**)NULL
8241 * content selection pattern - do fix if pattern found
8243 tSCC zTinfo_CplusplusSelect0[] =
8246 #define TINFO_CPLUSPLUS_TEST_CT 1
8247 static tTestDesc aTinfo_CplusplusTests[] = {
8248 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8251 * Fix Command Arguments for Tinfo_Cplusplus
8253 static const char* apzTinfo_CplusplusPatch[] = {
8258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8260 * Description of Ultrix_Const fix
8262 tSCC zUltrix_ConstName[] =
8266 * File name selection pattern
8268 tSCC zUltrix_ConstList[] =
8271 * Machine/OS name selection pattern
8273 #define apzUltrix_ConstMachs (const char**)NULL
8276 * content selection pattern - do fix if pattern found
8278 tSCC zUltrix_ConstSelect0[] =
8279 "perror\\( char \\*";
8281 #define ULTRIX_CONST_TEST_CT 1
8282 static tTestDesc aUltrix_ConstTests[] = {
8283 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
8286 * Fix Command Arguments for Ultrix_Const
8288 static const char* apzUltrix_ConstPatch[] = {
8291 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8296 * Description of Ultrix_Const2 fix
8298 tSCC zUltrix_Const2Name[] =
8302 * File name selection pattern
8304 tSCC zUltrix_Const2List[] =
8307 * Machine/OS name selection pattern
8309 #define apzUltrix_Const2Machs (const char**)NULL
8312 * content selection pattern - do fix if pattern found
8314 tSCC zUltrix_Const2Select0[] =
8315 "\\*fopen\\( char \\*";
8317 #define ULTRIX_CONST2_TEST_CT 1
8318 static tTestDesc aUltrix_Const2Tests[] = {
8319 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
8322 * Fix Command Arguments for Ultrix_Const2
8324 static const char* apzUltrix_Const2Patch[] = {
8326 "%1( const char *%3, const char *",
8327 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8332 * Description of Va_I960_Macro fix
8334 tSCC zVa_I960_MacroName[] =
8338 * File name selection pattern
8340 tSCC zVa_I960_MacroList[] =
8341 "arch/i960/archI960.h\0";
8343 * Machine/OS name selection pattern
8345 #define apzVa_I960_MacroMachs (const char**)NULL
8348 * content selection pattern - do fix if pattern found
8350 tSCC zVa_I960_MacroSelect0[] =
8351 "__(vsiz|vali|vpad|alignof__)";
8353 #define VA_I960_MACRO_TEST_CT 1
8354 static tTestDesc aVa_I960_MacroTests[] = {
8355 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8358 * Fix Command Arguments for Va_I960_Macro
8360 static const char* apzVa_I960_MacroPatch[] = {
8365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8367 * Description of Vms_Add_Missing_Braces fix
8369 tSCC zVms_Add_Missing_BracesName[] =
8370 "vms_add_missing_braces";
8373 * File name selection pattern
8375 tSCC zVms_Add_Missing_BracesList[] =
8376 "rtldef/signal.h\0";
8378 * Machine/OS name selection pattern
8380 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8382 (const char*)NULL };
8385 * content selection pattern - do fix if pattern found
8387 tSCC zVms_Add_Missing_BracesSelect0[] =
8388 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8390 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8391 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8392 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8395 * Fix Command Arguments for Vms_Add_Missing_Braces
8397 static const char* apzVms_Add_Missing_BracesPatch[] = {
8402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8404 * Description of Vms_Decc_Builtin fix
8406 tSCC zVms_Decc_BuiltinName[] =
8410 * File name selection pattern
8412 tSCC zVms_Decc_BuiltinList[] =
8413 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8415 * Machine/OS name selection pattern
8417 tSCC* apzVms_Decc_BuiltinMachs[] = {
8419 (const char*)NULL };
8422 * content selection pattern - do fix if pattern found
8424 tSCC zVms_Decc_BuiltinSelect0[] =
8425 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8427 #define VMS_DECC_BUILTIN_TEST_CT 1
8428 static tTestDesc aVms_Decc_BuiltinTests[] = {
8429 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8432 * Fix Command Arguments for Vms_Decc_Builtin
8434 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8435 "-e", "s@__MEMSET@memset@",
8436 "-e", "s@__MEMMOVE@memmove@",
8437 "-e", "s@__MEMCPY@memcpy@",
8438 "-e", "s@__STRLEN@strlen@",
8439 "-e", "s@__STRCPY@strcpy@",
8442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8444 * Description of Vms_Define_Can_Use_Extern_Prefix fix
8446 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8447 "vms_define_can_use_extern_prefix";
8450 * File name selection pattern
8452 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8453 "rtldef/decc$types.h\0";
8455 * Machine/OS name selection pattern
8457 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8459 (const char*)NULL };
8462 * content selection pattern - do fix if pattern found
8464 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8466 #[ \t]*if defined\\(__DECCXX\\)\n\
8467 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8469 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
8470 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8471 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8474 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8476 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8478 "%0# elif defined (__GNUC__)\n\
8479 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8484 * Description of Vms_Disable_Decc_String_Builtins fix
8486 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8487 "vms_disable_decc_string_builtins";
8490 * File name selection pattern
8492 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8493 "rtldef/string.h\0";
8495 * Machine/OS name selection pattern
8497 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8499 (const char*)NULL };
8502 * content selection pattern - do fix if pattern found
8504 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8505 "#if !defined\\(__VAX\\)\n";
8507 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8508 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8509 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8512 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8514 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8516 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8521 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8523 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8524 "vms_do_not_redeclare_hostalias";
8527 * File name selection pattern
8529 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8530 "rtldef/resolv.h\0";
8532 * Machine/OS name selection pattern
8534 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8536 (const char*)NULL };
8539 * content selection pattern - do fix if pattern found
8541 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8542 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8543 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8545 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8546 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8547 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8550 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8552 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8560 * Description of Vms_Forward_Declare_Struct fix
8562 tSCC zVms_Forward_Declare_StructName[] =
8563 "vms_forward_declare_struct";
8566 * File name selection pattern
8568 tSCC zVms_Forward_Declare_StructList[] =
8571 * Machine/OS name selection pattern
8573 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8575 (const char*)NULL };
8578 * content selection pattern - do fix if pattern found
8580 tSCC zVms_Forward_Declare_StructSelect0[] =
8581 "(/\\* forward decls for C\\+\\+ \\*/\n\
8582 )#ifdef __cplusplus\n";
8584 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8585 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8586 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8589 * Fix Command Arguments for Vms_Forward_Declare_Struct
8591 static const char* apzVms_Forward_Declare_StructPatch[] = {
8593 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8598 * Description of Vms_No_64bit_Getopt fix
8600 tSCC zVms_No_64bit_GetoptName[] =
8601 "vms_no_64bit_getopt";
8604 * File name selection pattern
8606 tSCC zVms_No_64bit_GetoptList[] =
8607 "rtldef/stdio.h\0rtldef/unistd.h\0";
8609 * Machine/OS name selection pattern
8611 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8613 (const char*)NULL };
8616 * content selection pattern - do fix if pattern found
8618 tSCC zVms_No_64bit_GetoptSelect0[] =
8619 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8621 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8622 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8623 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8626 * Fix Command Arguments for Vms_No_64bit_Getopt
8628 static const char* apzVms_No_64bit_GetoptPatch[] = {
8630 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8636 * Description of Vms_Use_Fast_Setjmp fix
8638 tSCC zVms_Use_Fast_SetjmpName[] =
8639 "vms_use_fast_setjmp";
8642 * File name selection pattern
8644 tSCC zVms_Use_Fast_SetjmpList[] =
8645 "rtldef/setjmp.h\0";
8647 * Machine/OS name selection pattern
8649 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8651 (const char*)NULL };
8654 * content selection pattern - do fix if pattern found
8656 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8657 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8659 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8660 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8661 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8664 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8666 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8668 "%0 defined (__GNUC__) ||",
8671 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8673 * Description of Vms_Use_Pragma_Extern_Model fix
8675 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8676 "vms_use_pragma_extern_model";
8679 * File name selection pattern
8681 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8683 * Machine/OS name selection pattern
8685 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8687 (const char*)NULL };
8690 * content selection pattern - do fix if pattern found
8692 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8693 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8694 # pragma extern_model __save\n";
8696 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8697 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8698 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8701 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8703 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8705 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8706 # pragma extern_model __save\n",
8709 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8711 * Description of Vms_Use_Quoted_Include fix
8713 tSCC zVms_Use_Quoted_IncludeName[] =
8714 "vms_use_quoted_include";
8717 * File name selection pattern
8719 tSCC zVms_Use_Quoted_IncludeList[] =
8720 "rtldef/wait.h\0starlet_c/pthread.h\0";
8722 * Machine/OS name selection pattern
8724 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8726 (const char*)NULL };
8729 * content selection pattern - do fix if pattern found
8731 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8732 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8734 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8735 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8736 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8739 * Fix Command Arguments for Vms_Use_Quoted_Include
8741 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8748 * Description of Void_Null fix
8750 tSCC zVoid_NullName[] =
8754 * File name selection pattern
8756 tSCC zVoid_NullList[] =
8757 "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";
8759 * Machine/OS name selection pattern
8761 #define apzVoid_NullMachs (const char**)NULL
8764 * content selection pattern - do fix if pattern found
8766 tSCC zVoid_NullSelect0[] =
8767 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8770 * content bypass pattern - skip fix if pattern found
8772 tSCC zVoid_NullBypass0[] =
8774 tSCC zVoid_NullBypass1[] =
8777 #define VOID_NULL_TEST_CT 3
8778 static tTestDesc aVoid_NullTests[] = {
8779 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8780 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8781 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8784 * Fix Command Arguments for Void_Null
8786 static const char* apzVoid_NullPatch[] = {
8789 #ifdef __cplusplus\n\
8791 #define NULL __null\n\
8792 #else /* ! __GNUG__ */\n\
8794 #endif /* __GNUG__ */\n\
8795 #else /* ! __cplusplus */\n\
8796 #define NULL ((void *)0)\n\
8797 #endif /* __cplusplus */\n\
8798 #endif /* !NULL */",
8801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8803 * Description of Vxworks_Gcc_Problem fix
8805 tSCC zVxworks_Gcc_ProblemName[] =
8806 "vxworks_gcc_problem";
8809 * File name selection pattern
8811 tSCC zVxworks_Gcc_ProblemList[] =
8812 "types/vxTypesBase.h\0";
8814 * Machine/OS name selection pattern
8816 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8819 * content selection pattern - do fix if pattern found
8821 tSCC zVxworks_Gcc_ProblemSelect0[] =
8822 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8824 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8825 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8826 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8829 * Fix Command Arguments for Vxworks_Gcc_Problem
8831 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8832 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8833 "-e", "/[ \t]size_t/i\\\n\
8834 #ifndef _GCC_SIZE_T\\\n\
8835 #define _GCC_SIZE_T\n",
8836 "-e", "/[ \t]size_t/a\\\n\
8838 "-e", "/[ \t]ptrdiff_t/i\\\n\
8839 #ifndef _GCC_PTRDIFF_T\\\n\
8840 #define _GCC_PTRDIFF_T\n",
8841 "-e", "/[ \t]ptrdiff_t/a\\\n\
8843 "-e", "/[ \t]wchar_t/i\\\n\
8844 #ifndef _GCC_WCHAR_T\\\n\
8845 #define _GCC_WCHAR_T\n",
8846 "-e", "/[ \t]wchar_t/a\\\n\
8850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8852 * Description of Vxworks_Ioctl_Macro fix
8854 tSCC zVxworks_Ioctl_MacroName[] =
8855 "vxworks_ioctl_macro";
8858 * File name selection pattern
8860 tSCC zVxworks_Ioctl_MacroList[] =
8863 * Machine/OS name selection pattern
8865 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
8867 (const char*)NULL };
8868 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
8869 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
8872 * Fix Command Arguments for Vxworks_Ioctl_Macro
8874 static const char* apzVxworks_Ioctl_MacroPatch[] = {
8877 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
8878 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
8881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8883 * Description of Vxworks_Mkdir_Macro fix
8885 tSCC zVxworks_Mkdir_MacroName[] =
8886 "vxworks_mkdir_macro";
8889 * File name selection pattern
8891 tSCC zVxworks_Mkdir_MacroList[] =
8894 * Machine/OS name selection pattern
8896 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
8898 (const char*)NULL };
8899 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
8900 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
8903 * Fix Command Arguments for Vxworks_Mkdir_Macro
8905 static const char* apzVxworks_Mkdir_MacroPatch[] = {
8908 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
8909 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
8912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8914 * Description of Vxworks_Needs_Vxtypes fix
8916 tSCC zVxworks_Needs_VxtypesName[] =
8917 "vxworks_needs_vxtypes";
8920 * File name selection pattern
8922 tSCC zVxworks_Needs_VxtypesList[] =
8925 * Machine/OS name selection pattern
8927 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8930 * content selection pattern - do fix if pattern found
8932 tSCC zVxworks_Needs_VxtypesSelect0[] =
8933 "uint_t([ \t]+_clocks_per_sec)";
8935 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8936 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8937 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8940 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8942 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8949 * Description of Vxworks_Needs_Vxworks fix
8951 tSCC zVxworks_Needs_VxworksName[] =
8952 "vxworks_needs_vxworks";
8955 * File name selection pattern
8957 tSCC zVxworks_Needs_VxworksList[] =
8960 * Machine/OS name selection pattern
8962 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8965 * content selection pattern - do fix if pattern found
8967 tSCC zVxworks_Needs_VxworksSelect0[] =
8968 "#[ \t]define[ \t]+__INCstath";
8971 * perform the 'test' shell command - do fix on success
8973 tSCC zVxworks_Needs_VxworksTest0[] =
8974 " -r types/vxTypesOld.h";
8975 tSCC zVxworks_Needs_VxworksTest1[] =
8976 " -n \"`egrep '#include' $file`\"";
8977 tSCC zVxworks_Needs_VxworksTest2[] =
8978 " -n \"`egrep ULONG $file`\"";
8980 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8981 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8982 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8983 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8984 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8985 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8988 * Fix Command Arguments for Vxworks_Needs_Vxworks
8990 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8991 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8992 #include <types/vxTypesOld.h>\n",
8995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8997 * Description of Vxworks_Regs fix
8999 tSCC zVxworks_RegsName[] =
9003 * File name selection pattern
9005 #define zVxworks_RegsList (char*)NULL
9007 * Machine/OS name selection pattern
9009 tSCC* apzVxworks_RegsMachs[] = {
9011 (const char*)NULL };
9014 * content selection pattern - do fix if pattern found
9016 tSCC zVxworks_RegsSelect0[] =
9017 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9019 #define VXWORKS_REGS_TEST_CT 1
9020 static tTestDesc aVxworks_RegsTests[] = {
9021 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
9024 * Fix Command Arguments for Vxworks_Regs
9026 static const char* apzVxworks_RegsPatch[] = {
9028 "#include <arch/../regs.h>",
9031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9033 * Description of Vxworks_Time fix
9035 tSCC zVxworks_TimeName[] =
9039 * File name selection pattern
9041 tSCC zVxworks_TimeList[] =
9044 * Machine/OS name selection pattern
9046 #define apzVxworks_TimeMachs (const char**)NULL
9049 * content selection pattern - do fix if pattern found
9051 tSCC zVxworks_TimeSelect0[] =
9052 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9055 * perform the 'test' shell command - do fix on success
9057 tSCC zVxworks_TimeTest0[] =
9060 #define VXWORKS_TIME_TEST_CT 2
9061 static tTestDesc aVxworks_TimeTests[] = {
9062 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9063 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9066 * Fix Command Arguments for Vxworks_Time
9068 static const char* apzVxworks_TimePatch[] = {
9070 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9071 #ifdef __cplusplus\n\
9072 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9074 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9076 #define __gcc_VOIDFUNCPTR_defined\n\
9078 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9083 * Description of Vxworks_Write_Const fix
9085 tSCC zVxworks_Write_ConstName[] =
9086 "vxworks_write_const";
9089 * File name selection pattern
9091 tSCC zVxworks_Write_ConstList[] =
9094 * Machine/OS name selection pattern
9096 tSCC* apzVxworks_Write_ConstMachs[] = {
9098 (const char*)NULL };
9099 #define VXWORKS_WRITE_CONST_TEST_CT 0
9100 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9103 * Fix Command Arguments for Vxworks_Write_Const
9105 static const char* apzVxworks_Write_ConstPatch[] = {
9107 "extern int write (int, const char*, size_t);",
9108 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9113 * Description of X11_Class fix
9115 tSCC zX11_ClassName[] =
9119 * File name selection pattern
9121 tSCC zX11_ClassList[] =
9124 * Machine/OS name selection pattern
9126 #define apzX11_ClassMachs (const char**)NULL
9129 * content selection pattern - do fix if pattern found
9131 tSCC zX11_ClassSelect0[] =
9132 "^([ \t]*char \\*)class;(.*)";
9135 * content bypass pattern - skip fix if pattern found
9137 tSCC zX11_ClassBypass0[] =
9140 #define X11_CLASS_TEST_CT 2
9141 static tTestDesc aX11_ClassTests[] = {
9142 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9143 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9146 * Fix Command Arguments for X11_Class
9148 static const char* apzX11_ClassPatch[] = {
9150 "#ifdef __cplusplus\n\
9157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9159 * Description of X11_Class_Usage fix
9161 tSCC zX11_Class_UsageName[] =
9165 * File name selection pattern
9167 tSCC zX11_Class_UsageList[] =
9168 "Xm/BaseClassI.h\0";
9170 * Machine/OS name selection pattern
9172 #define apzX11_Class_UsageMachs (const char**)NULL
9175 * content selection pattern - do fix if pattern found
9177 tSCC zX11_Class_UsageSelect0[] =
9181 * content bypass pattern - skip fix if pattern found
9183 tSCC zX11_Class_UsageBypass0[] =
9186 #define X11_CLASS_USAGE_TEST_CT 2
9187 static tTestDesc aX11_Class_UsageTests[] = {
9188 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9189 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9192 * Fix Command Arguments for X11_Class_Usage
9194 static const char* apzX11_Class_UsagePatch[] = {
9199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9201 * Description of X11_New fix
9203 tSCC zX11_NewName[] =
9207 * File name selection pattern
9209 tSCC zX11_NewList[] =
9212 * Machine/OS name selection pattern
9214 #define apzX11_NewMachs (const char**)NULL
9217 * content bypass pattern - skip fix if pattern found
9219 tSCC zX11_NewBypass0[] =
9222 #define X11_NEW_TEST_CT 1
9223 static tTestDesc aX11_NewTests[] = {
9224 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9227 * Fix Command Arguments for X11_New
9229 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9230 "-e", "/Widget\told, new;/i\\\n\
9231 #ifdef __cplusplus\\\n\
9232 \\\tWidget\told, c_new;\\\n\
9234 "-e", "/Widget\told, new;/a\\\n\
9236 "-e", "s/Widget new,/Widget c_new,/g",
9239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9241 * Description of X11_Sprintf fix
9243 tSCC zX11_SprintfName[] =
9247 * File name selection pattern
9249 tSCC zX11_SprintfList[] =
9250 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9252 * Machine/OS name selection pattern
9254 #define apzX11_SprintfMachs (const char**)NULL
9257 * content selection pattern - do fix if pattern found
9259 tSCC zX11_SprintfSelect0[] =
9260 "^extern char \\*\tsprintf\\(\\);$";
9262 #define X11_SPRINTF_TEST_CT 1
9263 static tTestDesc aX11_SprintfTests[] = {
9264 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
9267 * Fix Command Arguments for X11_Sprintf
9269 static const char* apzX11_SprintfPatch[] = {
9271 "#ifndef __STDC__\n\
9273 #endif /* !defined __STDC__ */",
9277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9281 #define REGEX_COUNT 263
9282 #define MACH_LIST_SIZE_LIMIT 187
9283 #define FIX_COUNT 226
9286 * Enumerate the fixes
9289 AAB_AIX_STDIO_FIXIDX,
9290 AAB_AIX_FCNTL_FIXIDX,
9291 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9292 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9293 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9294 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9295 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9296 AAB_SUN_MEMCPY_FIXIDX,
9297 AAB_VXWORKS_ASSERT_FIXIDX,
9298 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9299 AAB_VXWORKS_STDINT_FIXIDX,
9300 AAB_VXWORKS_UNISTD_FIXIDX,
9304 AIX_NET_IF_ARP_FIXIDX,
9306 AIX_ONCE_INIT_1_FIXIDX,
9307 AIX_ONCE_INIT_2_FIXIDX,
9308 AIX_MUTEX_INITIALIZER_1_FIXIDX,
9309 AIX_COND_INITIALIZER_1_FIXIDX,
9310 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9312 AIX_STDINT_1_FIXIDX,
9313 AIX_STDINT_2_FIXIDX,
9314 AIX_STDINT_3_FIXIDX,
9315 AIX_STDINT_4_FIXIDX,
9316 AIX_STDINT_5_FIXIDX,
9317 AIX_STRTOF_CONST_FIXIDX,
9318 AIX_SYSMACHINE_FIXIDX,
9319 AIX_SYSWAIT_2_FIXIDX,
9320 AIX_VOLATILE_FIXIDX,
9321 ALPHA___ASSERT_FIXIDX,
9322 ALPHA_ASSERT_FIXIDX,
9323 ALPHA_GETOPT_FIXIDX,
9324 ALPHA_IF_SEMICOLON_FIXIDX,
9325 ALPHA_PARENS_FIXIDX,
9327 AVOID_BOOL_DEFINE_FIXIDX,
9328 AVOID_BOOL_TYPE_FIXIDX,
9329 AVOID_WCHAR_T_TYPE_FIXIDX,
9330 BAD_STRUCT_TERM_FIXIDX,
9332 BROKEN_ASSERT_STDIO_FIXIDX,
9333 BROKEN_ASSERT_STDLIB_FIXIDX,
9336 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9337 CTRL_QUOTES_DEF_FIXIDX,
9338 CTRL_QUOTES_USE_FIXIDX,
9340 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9341 DARWIN_EXTERNC_FIXIDX,
9342 DARWIN_GCC4_BREAKAGE_FIXIDX,
9343 DARWIN_PRIVATE_EXTERN_FIXIDX,
9344 DARWIN_STDINT_1_FIXIDX,
9345 DARWIN_STDINT_2_FIXIDX,
9346 DARWIN_STDINT_3_FIXIDX,
9347 DARWIN_STDINT_4_FIXIDX,
9348 DARWIN_STDINT_5_FIXIDX,
9349 DARWIN_STDINT_6_FIXIDX,
9350 DARWIN_STDINT_7_FIXIDX,
9351 DEC_INTERN_ASM_FIXIDX,
9352 DJGPP_WCHAR_H_FIXIDX,
9354 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9355 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9356 FREEBSD_GCC3_BREAKAGE_FIXIDX,
9357 FREEBSD_GCC4_BREAKAGE_FIXIDX,
9358 GLIBC_C99_INLINE_1_FIXIDX,
9359 GLIBC_C99_INLINE_1A_FIXIDX,
9360 GLIBC_C99_INLINE_2_FIXIDX,
9361 GLIBC_C99_INLINE_3_FIXIDX,
9362 GLIBC_C99_INLINE_4_FIXIDX,
9363 GLIBC_MUTEX_INIT_FIXIDX,
9364 GLIBC_STDINT_FIXIDX,
9365 GLIBC_STRNCPY_FIXIDX,
9366 GLIBC_TGMATH_FIXIDX,
9370 HPPA_HPUX_FP_MACROS_FIXIDX,
9371 HPUX10_CPP_POW_INLINE_FIXIDX,
9372 HPUX11_CPP_POW_INLINE_FIXIDX,
9373 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9374 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9375 HPUX10_STDIO_DECLARATIONS_FIXIDX,
9377 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
9378 HPUX11_EXTERN_SENDFILE_FIXIDX,
9379 HPUX11_EXTERN_SENDPATH_FIXIDX,
9380 HPUX11_FABSF_FIXIDX,
9381 HPUX11_PTHREAD_CONST_FIXIDX,
9382 HPUX11_SIZE_T_FIXIDX,
9383 HPUX11_SNPRINTF_FIXIDX,
9384 HPUX11_VSNPRINTF_FIXIDX,
9385 HPUX8_BOGUS_INLINES_FIXIDX,
9386 HPUX_C99_INTPTR_FIXIDX,
9387 HPUX_C99_INTTYPES_FIXIDX,
9388 HPUX_C99_INTTYPES2_FIXIDX,
9389 HPUX_CTYPE_MACROS_FIXIDX,
9390 HPUX_EXTERN_ERRNO_FIXIDX,
9392 HPUX_IMAGINARY_I_FIXIDX,
9393 HPUX_INTTYPE_INT8_T_FIXIDX,
9394 HPUX_LONG_DOUBLE_FIXIDX,
9395 HPUX_LONG_DOUBLE_2_FIXIDX,
9396 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9397 HPUX_SPU_INFO_FIXIDX,
9398 HPUX_STDINT_LEAST_FAST_FIXIDX,
9399 HPUX_SYSTIME_FIXIDX,
9400 HUGE_VAL_HEX_FIXIDX,
9401 HUGE_VALF_HEX_FIXIDX,
9402 HUGE_VALL_HEX_FIXIDX,
9403 INT_ABORT_FREE_AND_EXIT_FIXIDX,
9404 IO_QUOTES_DEF_FIXIDX,
9405 IO_QUOTES_USE_FIXIDX,
9406 IP_MISSING_SEMI_FIXIDX,
9407 IRIX_LIMITS_CONST_FIXIDX,
9408 IRIX_STDIO_VA_LIST_FIXIDX,
9409 KANDR_CONCAT_FIXIDX,
9410 LINUX_IA64_UCONTEXT_FIXIDX,
9411 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9412 LYNXOS_MISSING_PUTENV_FIXIDX,
9413 MACHINE_ANSI_H_VA_LIST_FIXIDX,
9414 MACHINE_NAME_FIXIDX,
9415 MATH_EXCEPTION_FIXIDX,
9416 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9417 NESTED_AUTH_DES_FIXIDX,
9418 NETBSD_C99_INLINE_1_FIXIDX,
9419 NETBSD_C99_INLINE_2_FIXIDX,
9420 NETBSD_EXTRA_SEMICOLON_FIXIDX,
9421 NEWLIB_STDINT_1_FIXIDX,
9422 NEWLIB_STDINT_2_FIXIDX,
9423 NEXT_MATH_PREFIX_FIXIDX,
9424 NEXT_TEMPLATE_FIXIDX,
9425 NEXT_VOLITILE_FIXIDX,
9426 NEXT_WAIT_UNION_FIXIDX,
9427 NODEENT_SYNTAX_FIXIDX,
9428 OPENBSD_NULL_DEFINITION_FIXIDX,
9429 OBSTACK_LVALUE_CAST_FIXIDX,
9430 OPENBSD_VA_START_FIXIDX,
9431 OSF_NAMESPACE_A_FIXIDX,
9432 OSF_NAMESPACE_C_FIXIDX,
9433 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9434 READ_RET_TYPE_FIXIDX,
9435 RPC_XDR_LVALUE_CAST_A_FIXIDX,
9436 RPC_XDR_LVALUE_CAST_B_FIXIDX,
9437 RS6000_DOUBLE_FIXIDX,
9438 RS6000_FCHMOD_FIXIDX,
9439 RS6000_PARAM_FIXIDX,
9440 SOLARIS___RESTRICT_FIXIDX,
9441 SOLARIS_COMPLEX_FIXIDX,
9442 SOLARIS_COMPLEX_CXX_FIXIDX,
9443 SOLARIS_CXX_LINKAGE_FIXIDX,
9444 SOLARIS_GETC_STRICT_STDC_FIXIDX,
9445 SOLARIS_INT_CONST_FIXIDX,
9446 SOLARIS_INT_LIMITS_1_FIXIDX,
9447 SOLARIS_INT_LIMITS_2_FIXIDX,
9448 SOLARIS_INT_LIMITS_3_FIXIDX,
9449 SOLARIS_MATH_1_FIXIDX,
9450 SOLARIS_MATH_10_FIXIDX,
9451 SOLARIS_MATH_2_FIXIDX,
9452 SOLARIS_MATH_3_FIXIDX,
9453 SOLARIS_MATH_4_FIXIDX,
9454 SOLARIS_MATH_8_FIXIDX,
9455 SOLARIS_MATH_9_FIXIDX,
9456 SOLARIS_MATH_11_FIXIDX,
9457 SOLARIS_ONCE_INIT_1_FIXIDX,
9458 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9459 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9460 SOLARIS_RWLOCK_INIT_1_FIXIDX,
9461 SOLARIS_STD___FILBUF_FIXIDX,
9462 SOLARIS_STDIO_TAG_FIXIDX,
9464 STDIO_STDARG_H_FIXIDX,
9465 STDIO_VA_LIST_FIXIDX,
9466 STDIO_VA_LIST_CLIENTS_FIXIDX,
9467 STRICT_ANSI_NOT_FIXIDX,
9468 STRICT_ANSI_NOT_CTD_FIXIDX,
9469 STRICT_ANSI_ONLY_FIXIDX,
9471 STRUCT_SOCKADDR_FIXIDX,
9472 SUN_AUTH_PROTO_FIXIDX,
9473 SUN_BOGUS_IFDEF_FIXIDX,
9474 SUN_CATMACRO_FIXIDX,
9476 SUN_RUSERS_SEMI_FIXIDX,
9478 SUNOS_STRLEN_FIXIDX,
9479 SUSE_LINUX_VT_CXX_FIXIDX,
9480 SVR4_DISABLE_OPT_FIXIDX,
9483 SVR4_SIGHANDLER_TYPE_FIXIDX,
9484 SVR4_UNDECLARED_GETRNGE_FIXIDX,
9485 SYSV68_STRING_FIXIDX,
9486 SYSZ_STDLIB_FOR_SUN_FIXIDX,
9487 THREAD_KEYWORD_FIXIDX,
9488 TINFO_CPLUSPLUS_FIXIDX,
9489 ULTRIX_CONST_FIXIDX,
9490 ULTRIX_CONST2_FIXIDX,
9491 VA_I960_MACRO_FIXIDX,
9492 VMS_ADD_MISSING_BRACES_FIXIDX,
9493 VMS_DECC_BUILTIN_FIXIDX,
9494 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9495 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9496 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9497 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9498 VMS_NO_64BIT_GETOPT_FIXIDX,
9499 VMS_USE_FAST_SETJMP_FIXIDX,
9500 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9501 VMS_USE_QUOTED_INCLUDE_FIXIDX,
9503 VXWORKS_GCC_PROBLEM_FIXIDX,
9504 VXWORKS_IOCTL_MACRO_FIXIDX,
9505 VXWORKS_MKDIR_MACRO_FIXIDX,
9506 VXWORKS_NEEDS_VXTYPES_FIXIDX,
9507 VXWORKS_NEEDS_VXWORKS_FIXIDX,
9508 VXWORKS_REGS_FIXIDX,
9509 VXWORKS_TIME_FIXIDX,
9510 VXWORKS_WRITE_CONST_FIXIDX,
9512 X11_CLASS_USAGE_FIXIDX,
9517 tFixDesc fixDescList[ FIX_COUNT ] = {
9518 { zAab_Aix_StdioName, zAab_Aix_StdioList,
9519 apzAab_Aix_StdioMachs,
9520 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9521 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
9523 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
9524 apzAab_Aix_FcntlMachs,
9525 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9526 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
9528 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
9529 apzAab_Darwin7_9_Long_Double_FuncsMachs,
9530 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9531 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9533 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
9534 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9535 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9536 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9538 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
9539 apzAab_Fd_Zero_Gnu_Types_HMachs,
9540 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9541 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9543 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9544 apzAab_Fd_Zero_Selectbits_HMachs,
9545 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9546 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9548 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9549 apzAab_Solaris_Sys_Varargs_HMachs,
9550 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9551 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9553 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9554 apzAab_Sun_MemcpyMachs,
9555 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9556 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9558 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
9559 apzAab_Vxworks_AssertMachs,
9560 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9561 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
9563 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
9564 apzAab_Vxworks_Regs_VxtypesMachs,
9565 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9566 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
9568 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
9569 apzAab_Vxworks_StdintMachs,
9570 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9571 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
9573 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
9574 apzAab_Vxworks_UnistdMachs,
9575 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9576 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
9578 { zAix_AssertName, zAix_AssertList,
9580 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9581 aAix_AssertTests, apzAix_AssertPatch, 0 },
9583 { zAix_ComplexName, zAix_ComplexList,
9584 apzAix_ComplexMachs,
9585 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9586 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9588 { zAix_MallocName, zAix_MallocList,
9590 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9591 aAix_MallocTests, apzAix_MallocPatch, 0 },
9593 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9594 apzAix_Net_If_ArpMachs,
9595 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9596 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9598 { zAix_NullName, zAix_NullList,
9600 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9601 aAix_NullTests, apzAix_NullPatch, 0 },
9603 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9604 apzAix_Once_Init_1Machs,
9605 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9606 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9608 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9609 apzAix_Once_Init_2Machs,
9610 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9611 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9613 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9614 apzAix_Mutex_Initializer_1Machs,
9615 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9616 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9618 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9619 apzAix_Cond_Initializer_1Machs,
9620 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9621 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9623 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9624 apzAix_Rwlock_Initializer_1Machs,
9625 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9626 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9628 { zAix_PthreadName, zAix_PthreadList,
9629 apzAix_PthreadMachs,
9630 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9631 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9633 { zAix_Stdint_1Name, zAix_Stdint_1List,
9634 apzAix_Stdint_1Machs,
9635 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9636 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9638 { zAix_Stdint_2Name, zAix_Stdint_2List,
9639 apzAix_Stdint_2Machs,
9640 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9641 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9643 { zAix_Stdint_3Name, zAix_Stdint_3List,
9644 apzAix_Stdint_3Machs,
9645 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9646 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9648 { zAix_Stdint_4Name, zAix_Stdint_4List,
9649 apzAix_Stdint_4Machs,
9650 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9651 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9653 { zAix_Stdint_5Name, zAix_Stdint_5List,
9654 apzAix_Stdint_5Machs,
9655 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9656 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9658 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
9659 apzAix_Strtof_ConstMachs,
9660 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9661 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
9663 { zAix_SysmachineName, zAix_SysmachineList,
9664 apzAix_SysmachineMachs,
9665 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9666 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9668 { zAix_Syswait_2Name, zAix_Syswait_2List,
9669 apzAix_Syswait_2Machs,
9670 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9671 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9673 { zAix_VolatileName, zAix_VolatileList,
9674 apzAix_VolatileMachs,
9675 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9676 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9678 { zAlpha___AssertName, zAlpha___AssertList,
9679 apzAlpha___AssertMachs,
9680 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9681 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9683 { zAlpha_AssertName, zAlpha_AssertList,
9684 apzAlpha_AssertMachs,
9685 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9686 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9688 { zAlpha_GetoptName, zAlpha_GetoptList,
9689 apzAlpha_GetoptMachs,
9690 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9691 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9693 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9694 apzAlpha_If_SemicolonMachs,
9695 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9696 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9698 { zAlpha_ParensName, zAlpha_ParensList,
9699 apzAlpha_ParensMachs,
9700 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9701 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9703 { zAlpha_SbrkName, zAlpha_SbrkList,
9705 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9706 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9708 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9709 apzAvoid_Bool_DefineMachs,
9710 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9711 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9713 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9714 apzAvoid_Bool_TypeMachs,
9715 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9716 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9718 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9719 apzAvoid_Wchar_T_TypeMachs,
9720 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9721 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9723 { zBad_Struct_TermName, zBad_Struct_TermList,
9724 apzBad_Struct_TermMachs,
9725 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9726 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9728 { zBadquoteName, zBadquoteList,
9730 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9731 aBadquoteTests, apzBadquotePatch, 0 },
9733 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9734 apzBroken_Assert_StdioMachs,
9735 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9736 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9738 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9739 apzBroken_Assert_StdlibMachs,
9740 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9741 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9743 { zBroken_CabsName, zBroken_CabsList,
9744 apzBroken_CabsMachs,
9745 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9746 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9748 { zBroken_NanName, zBroken_NanList,
9750 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9751 aBroken_NanTests, apzBroken_NanPatch, 0 },
9753 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9754 apzBsd_Stdio_Attrs_ConflictMachs,
9755 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9756 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9758 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9759 apzCtrl_Quotes_DefMachs,
9760 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9761 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9763 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9764 apzCtrl_Quotes_UseMachs,
9765 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9766 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9768 { zCxx_UnreadyName, zCxx_UnreadyList,
9769 apzCxx_UnreadyMachs,
9770 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9771 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9773 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
9774 apzDarwin_9_Long_Double_Funcs_2Machs,
9775 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9776 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
9778 { zDarwin_ExterncName, zDarwin_ExterncList,
9779 apzDarwin_ExterncMachs,
9780 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9781 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9783 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9784 apzDarwin_Gcc4_BreakageMachs,
9785 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9786 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9788 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9789 apzDarwin_Private_ExternMachs,
9790 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9791 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9793 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9794 apzDarwin_Stdint_1Machs,
9795 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9796 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9798 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9799 apzDarwin_Stdint_2Machs,
9800 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9801 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9803 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9804 apzDarwin_Stdint_3Machs,
9805 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9806 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9808 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9809 apzDarwin_Stdint_4Machs,
9810 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9811 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9813 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9814 apzDarwin_Stdint_5Machs,
9815 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9816 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9818 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9819 apzDarwin_Stdint_6Machs,
9820 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9821 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9823 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9824 apzDarwin_Stdint_7Machs,
9825 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9826 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9828 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9829 apzDec_Intern_AsmMachs,
9830 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9831 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9833 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9834 apzDjgpp_Wchar_HMachs,
9835 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9836 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9838 { zEcd_CursorName, zEcd_CursorList,
9840 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9841 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9843 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
9844 apzFeraiseexcept_Nosse_DivbyzeroMachs,
9845 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9846 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
9848 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
9849 apzFeraiseexcept_Nosse_InvalidMachs,
9850 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9851 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
9853 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9854 apzFreebsd_Gcc3_BreakageMachs,
9855 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9856 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9858 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9859 apzFreebsd_Gcc4_BreakageMachs,
9860 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9861 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9863 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9864 apzGlibc_C99_Inline_1Machs,
9865 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9866 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9868 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9869 apzGlibc_C99_Inline_1aMachs,
9870 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9871 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9873 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9874 apzGlibc_C99_Inline_2Machs,
9875 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9876 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9878 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9879 apzGlibc_C99_Inline_3Machs,
9880 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9881 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9883 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9884 apzGlibc_C99_Inline_4Machs,
9885 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9886 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9888 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9889 apzGlibc_Mutex_InitMachs,
9890 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9891 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9893 { zGlibc_StdintName, zGlibc_StdintList,
9894 apzGlibc_StdintMachs,
9895 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9896 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9898 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9899 apzGlibc_StrncpyMachs,
9900 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9901 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9903 { zGlibc_TgmathName, zGlibc_TgmathList,
9904 apzGlibc_TgmathMachs,
9905 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9906 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9908 { zGnu_TypesName, zGnu_TypesList,
9910 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9911 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9913 { zHp_InlineName, zHp_InlineList,
9915 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9916 aHp_InlineTests, apzHp_InlinePatch, 0 },
9918 { zHp_SysfileName, zHp_SysfileList,
9920 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9921 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9923 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9924 apzHppa_Hpux_Fp_MacrosMachs,
9925 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9926 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9928 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9929 apzHpux10_Cpp_Pow_InlineMachs,
9930 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9931 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9933 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9934 apzHpux11_Cpp_Pow_InlineMachs,
9935 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9936 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9938 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9939 apzHpux10_Ctype_Declarations1Machs,
9940 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9941 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9943 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9944 apzHpux10_Ctype_Declarations2Machs,
9945 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9946 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9948 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9949 apzHpux10_Stdio_DeclarationsMachs,
9950 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9951 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9953 { zHpux11_AbsName, zHpux11_AbsList,
9955 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9956 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9958 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
9959 apzHpux11_Lwp_Rwlock_ValidMachs,
9960 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9961 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
9963 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9964 apzHpux11_Extern_SendfileMachs,
9965 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9966 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9968 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9969 apzHpux11_Extern_SendpathMachs,
9970 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9971 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9973 { zHpux11_FabsfName, zHpux11_FabsfList,
9974 apzHpux11_FabsfMachs,
9975 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9976 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9978 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9979 apzHpux11_Pthread_ConstMachs,
9980 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9981 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9983 { zHpux11_Size_TName, zHpux11_Size_TList,
9984 apzHpux11_Size_TMachs,
9985 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9986 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9988 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9989 apzHpux11_SnprintfMachs,
9990 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9991 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9993 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9994 apzHpux11_VsnprintfMachs,
9995 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9996 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9998 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9999 apzHpux8_Bogus_InlinesMachs,
10000 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10001 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10003 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10004 apzHpux_C99_IntptrMachs,
10005 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10006 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10008 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10009 apzHpux_C99_InttypesMachs,
10010 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10011 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10013 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10014 apzHpux_C99_Inttypes2Machs,
10015 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10016 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10018 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10019 apzHpux_Ctype_MacrosMachs,
10020 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10021 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10023 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10024 apzHpux_Extern_ErrnoMachs,
10025 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10026 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10028 { zHpux_HtonlName, zHpux_HtonlList,
10029 apzHpux_HtonlMachs,
10030 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10031 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10033 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10034 apzHpux_Imaginary_IMachs,
10035 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10036 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10038 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10039 apzHpux_Inttype_Int8_TMachs,
10040 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10041 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10043 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10044 apzHpux_Long_DoubleMachs,
10045 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10046 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10048 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10049 apzHpux_Long_Double_2Machs,
10050 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10051 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10053 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10054 apzHpux_Pthread_InitializersMachs,
10055 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10056 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10058 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10059 apzHpux_Spu_InfoMachs,
10060 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10061 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10063 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10064 apzHpux_Stdint_Least_FastMachs,
10065 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10066 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10068 { zHpux_SystimeName, zHpux_SystimeList,
10069 apzHpux_SystimeMachs,
10070 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10071 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10073 { zHuge_Val_HexName, zHuge_Val_HexList,
10074 apzHuge_Val_HexMachs,
10075 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10076 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10078 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10079 apzHuge_Valf_HexMachs,
10080 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10081 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10083 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10084 apzHuge_Vall_HexMachs,
10085 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10086 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10088 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10089 apzInt_Abort_Free_And_ExitMachs,
10090 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10091 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10093 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10094 apzIo_Quotes_DefMachs,
10095 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10096 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10098 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10099 apzIo_Quotes_UseMachs,
10100 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10101 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10103 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10104 apzIp_Missing_SemiMachs,
10105 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10106 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10108 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10109 apzIrix_Limits_ConstMachs,
10110 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10111 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10113 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10114 apzIrix_Stdio_Va_ListMachs,
10115 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10116 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10118 { zKandr_ConcatName, zKandr_ConcatList,
10119 apzKandr_ConcatMachs,
10120 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10121 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10123 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10124 apzLinux_Ia64_UcontextMachs,
10125 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10126 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10128 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10129 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10130 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10131 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10133 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10134 apzLynxos_Missing_PutenvMachs,
10135 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10136 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10138 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10139 apzMachine_Ansi_H_Va_ListMachs,
10140 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10141 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10143 { zMachine_NameName, zMachine_NameList,
10144 apzMachine_NameMachs,
10145 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10146 aMachine_NameTests, apzMachine_NamePatch, 0 },
10148 { zMath_ExceptionName, zMath_ExceptionList,
10149 apzMath_ExceptionMachs,
10150 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10151 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
10153 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
10154 apzMath_Huge_Val_From_Dbl_MaxMachs,
10155 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10156 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10158 { zNested_Auth_DesName, zNested_Auth_DesList,
10159 apzNested_Auth_DesMachs,
10160 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10161 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
10163 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
10164 apzNetbsd_C99_Inline_1Machs,
10165 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10166 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
10168 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
10169 apzNetbsd_C99_Inline_2Machs,
10170 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10171 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
10173 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
10174 apzNetbsd_Extra_SemicolonMachs,
10175 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10176 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
10178 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
10179 apzNewlib_Stdint_1Machs,
10180 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10181 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
10183 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
10184 apzNewlib_Stdint_2Machs,
10185 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10186 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
10188 { zNext_Math_PrefixName, zNext_Math_PrefixList,
10189 apzNext_Math_PrefixMachs,
10190 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10191 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
10193 { zNext_TemplateName, zNext_TemplateList,
10194 apzNext_TemplateMachs,
10195 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10196 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
10198 { zNext_VolitileName, zNext_VolitileList,
10199 apzNext_VolitileMachs,
10200 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10201 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
10203 { zNext_Wait_UnionName, zNext_Wait_UnionList,
10204 apzNext_Wait_UnionMachs,
10205 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10206 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
10208 { zNodeent_SyntaxName, zNodeent_SyntaxList,
10209 apzNodeent_SyntaxMachs,
10210 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10211 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
10213 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
10214 apzOpenbsd_Null_DefinitionMachs,
10215 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10216 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
10218 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
10219 apzObstack_Lvalue_CastMachs,
10220 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10221 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
10223 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
10224 apzOpenbsd_Va_StartMachs,
10225 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10226 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
10228 { zOsf_Namespace_AName, zOsf_Namespace_AList,
10229 apzOsf_Namespace_AMachs,
10230 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10231 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
10233 { zOsf_Namespace_CName, zOsf_Namespace_CList,
10234 apzOsf_Namespace_CMachs,
10235 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10236 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
10238 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
10239 apzPthread_Incomplete_Struct_ArgumentMachs,
10240 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10241 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10243 { zRead_Ret_TypeName, zRead_Ret_TypeList,
10244 apzRead_Ret_TypeMachs,
10245 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10246 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
10248 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
10249 apzRpc_Xdr_Lvalue_Cast_AMachs,
10250 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10251 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10253 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
10254 apzRpc_Xdr_Lvalue_Cast_BMachs,
10255 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10256 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10258 { zRs6000_DoubleName, zRs6000_DoubleList,
10259 apzRs6000_DoubleMachs,
10260 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10261 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
10263 { zRs6000_FchmodName, zRs6000_FchmodList,
10264 apzRs6000_FchmodMachs,
10265 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10266 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
10268 { zRs6000_ParamName, zRs6000_ParamList,
10269 apzRs6000_ParamMachs,
10270 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10271 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
10273 { zSolaris___RestrictName, zSolaris___RestrictList,
10274 apzSolaris___RestrictMachs,
10275 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10276 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
10278 { zSolaris_ComplexName, zSolaris_ComplexList,
10279 apzSolaris_ComplexMachs,
10280 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10281 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
10283 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
10284 apzSolaris_Complex_CxxMachs,
10285 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10286 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
10288 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
10289 apzSolaris_Cxx_LinkageMachs,
10290 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10291 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
10293 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
10294 apzSolaris_Getc_Strict_StdcMachs,
10295 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10296 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
10298 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
10299 apzSolaris_Int_ConstMachs,
10300 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10301 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
10303 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
10304 apzSolaris_Int_Limits_1Machs,
10305 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10306 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
10308 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
10309 apzSolaris_Int_Limits_2Machs,
10310 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10311 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
10313 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
10314 apzSolaris_Int_Limits_3Machs,
10315 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10316 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
10318 { zSolaris_Math_1Name, zSolaris_Math_1List,
10319 apzSolaris_Math_1Machs,
10320 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10321 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
10323 { zSolaris_Math_10Name, zSolaris_Math_10List,
10324 apzSolaris_Math_10Machs,
10325 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10326 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
10328 { zSolaris_Math_2Name, zSolaris_Math_2List,
10329 apzSolaris_Math_2Machs,
10330 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10331 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
10333 { zSolaris_Math_3Name, zSolaris_Math_3List,
10334 apzSolaris_Math_3Machs,
10335 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10336 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
10338 { zSolaris_Math_4Name, zSolaris_Math_4List,
10339 apzSolaris_Math_4Machs,
10340 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10341 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
10343 { zSolaris_Math_8Name, zSolaris_Math_8List,
10344 apzSolaris_Math_8Machs,
10345 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10346 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
10348 { zSolaris_Math_9Name, zSolaris_Math_9List,
10349 apzSolaris_Math_9Machs,
10350 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10351 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
10353 { zSolaris_Math_11Name, zSolaris_Math_11List,
10354 apzSolaris_Math_11Machs,
10355 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10356 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
10358 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
10359 apzSolaris_Once_Init_1Machs,
10360 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10361 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
10363 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
10364 apzSolaris_Posix_Spawn_RestrictMachs,
10365 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10366 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10368 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
10369 apzSolaris_Pow_Int_OverloadMachs,
10370 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10371 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
10373 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
10374 apzSolaris_Rwlock_Init_1Machs,
10375 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10376 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
10378 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
10379 apzSolaris_Std___FilbufMachs,
10380 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10381 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
10383 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
10384 apzSolaris_Stdio_TagMachs,
10385 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10386 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
10388 { zStatsswtchName, zStatsswtchList,
10389 apzStatsswtchMachs,
10390 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10391 aStatsswtchTests, apzStatsswtchPatch, 0 },
10393 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
10394 apzStdio_Stdarg_HMachs,
10395 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10396 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
10398 { zStdio_Va_ListName, zStdio_Va_ListList,
10399 apzStdio_Va_ListMachs,
10400 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10401 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
10403 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
10404 apzStdio_Va_List_ClientsMachs,
10405 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10406 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
10408 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
10409 apzStrict_Ansi_NotMachs,
10410 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10411 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
10413 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
10414 apzStrict_Ansi_Not_CtdMachs,
10415 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10416 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
10418 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
10419 apzStrict_Ansi_OnlyMachs,
10420 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10421 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
10423 { zStruct_FileName, zStruct_FileList,
10424 apzStruct_FileMachs,
10425 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10426 aStruct_FileTests, apzStruct_FilePatch, 0 },
10428 { zStruct_SockaddrName, zStruct_SockaddrList,
10429 apzStruct_SockaddrMachs,
10430 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10431 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
10433 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
10434 apzSun_Auth_ProtoMachs,
10435 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10436 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
10438 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
10439 apzSun_Bogus_IfdefMachs,
10440 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10441 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
10443 { zSun_CatmacroName, zSun_CatmacroList,
10444 apzSun_CatmacroMachs,
10445 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10446 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
10448 { zSun_MallocName, zSun_MallocList,
10449 apzSun_MallocMachs,
10450 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10451 aSun_MallocTests, apzSun_MallocPatch, 0 },
10453 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
10454 apzSun_Rusers_SemiMachs,
10455 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10456 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
10458 { zSun_SignalName, zSun_SignalList,
10459 apzSun_SignalMachs,
10460 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10461 aSun_SignalTests, apzSun_SignalPatch, 0 },
10463 { zSunos_StrlenName, zSunos_StrlenList,
10464 apzSunos_StrlenMachs,
10465 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10466 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
10468 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
10469 apzSuse_Linux_Vt_CxxMachs,
10470 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10471 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
10473 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
10474 apzSvr4_Disable_OptMachs,
10475 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10476 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
10478 { zSvr4_GetcwdName, zSvr4_GetcwdList,
10479 apzSvr4_GetcwdMachs,
10480 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10481 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
10483 { zSvr4_ProfilName, zSvr4_ProfilList,
10484 apzSvr4_ProfilMachs,
10485 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10486 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
10488 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
10489 apzSvr4_Sighandler_TypeMachs,
10490 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10491 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
10493 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
10494 apzSvr4_Undeclared_GetrngeMachs,
10495 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10496 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
10498 { zSysv68_StringName, zSysv68_StringList,
10499 apzSysv68_StringMachs,
10500 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
10501 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
10503 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
10504 apzSysz_Stdlib_For_SunMachs,
10505 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10506 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
10508 { zThread_KeywordName, zThread_KeywordList,
10509 apzThread_KeywordMachs,
10510 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10511 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
10513 { zTinfo_CplusplusName, zTinfo_CplusplusList,
10514 apzTinfo_CplusplusMachs,
10515 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10516 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
10518 { zUltrix_ConstName, zUltrix_ConstList,
10519 apzUltrix_ConstMachs,
10520 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10521 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
10523 { zUltrix_Const2Name, zUltrix_Const2List,
10524 apzUltrix_Const2Machs,
10525 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10526 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
10528 { zVa_I960_MacroName, zVa_I960_MacroList,
10529 apzVa_I960_MacroMachs,
10530 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10531 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
10533 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
10534 apzVms_Add_Missing_BracesMachs,
10535 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10536 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
10538 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
10539 apzVms_Decc_BuiltinMachs,
10540 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10541 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
10543 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
10544 apzVms_Define_Can_Use_Extern_PrefixMachs,
10545 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10546 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10548 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
10549 apzVms_Disable_Decc_String_BuiltinsMachs,
10550 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10551 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10553 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
10554 apzVms_Do_Not_Redeclare_HostaliasMachs,
10555 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10556 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10558 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
10559 apzVms_Forward_Declare_StructMachs,
10560 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10561 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10563 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
10564 apzVms_No_64bit_GetoptMachs,
10565 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10566 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
10568 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10569 apzVms_Use_Fast_SetjmpMachs,
10570 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10571 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10573 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
10574 apzVms_Use_Pragma_Extern_ModelMachs,
10575 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10576 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10578 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
10579 apzVms_Use_Quoted_IncludeMachs,
10580 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10581 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
10583 { zVoid_NullName, zVoid_NullList,
10585 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10586 aVoid_NullTests, apzVoid_NullPatch, 0 },
10588 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10589 apzVxworks_Gcc_ProblemMachs,
10590 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10591 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10593 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
10594 apzVxworks_Ioctl_MacroMachs,
10595 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10596 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
10598 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
10599 apzVxworks_Mkdir_MacroMachs,
10600 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10601 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
10603 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10604 apzVxworks_Needs_VxtypesMachs,
10605 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10606 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10608 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10609 apzVxworks_Needs_VxworksMachs,
10610 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10611 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10613 { zVxworks_RegsName, zVxworks_RegsList,
10614 apzVxworks_RegsMachs,
10615 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10616 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
10618 { zVxworks_TimeName, zVxworks_TimeList,
10619 apzVxworks_TimeMachs,
10620 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10621 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10623 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
10624 apzVxworks_Write_ConstMachs,
10625 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10626 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
10628 { zX11_ClassName, zX11_ClassList,
10630 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10631 aX11_ClassTests, apzX11_ClassPatch, 0 },
10633 { zX11_Class_UsageName, zX11_Class_UsageList,
10634 apzX11_Class_UsageMachs,
10635 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10636 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10638 { zX11_NewName, zX11_NewList,
10640 X11_NEW_TEST_CT, FD_MACH_ONLY,
10641 aX11_NewTests, apzX11_NewPatch, 0 },
10643 { zX11_SprintfName, zX11_SprintfList,
10644 apzX11_SprintfMachs,
10645 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10646 aX11_SprintfTests, apzX11_SprintfPatch, 0 }