1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed November 20, 2016 at 12:02:46 PM by AutoGen 5.16.2
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sun Nov 20 12:02:47 MET 2016
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 242 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_Externc fix
817 tSCC zAix_ExterncName[] =
821 * File name selection pattern
823 tSCC zAix_ExterncList[] =
824 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
826 * Machine/OS name selection pattern
828 tSCC* apzAix_ExterncMachs[] = {
833 * content bypass pattern - skip fix if pattern found
835 tSCC zAix_ExterncBypass0[] =
838 #define AIX_EXTERNC_TEST_CT 1
839 static tTestDesc aAix_ExterncTests[] = {
840 { TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
843 * Fix Command Arguments for Aix_Externc
845 static const char* apzAix_ExterncPatch[] = {
847 "#ifdef __cplusplus\n\
850 "#ifdef __cplusplus\n\
855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
857 * Description of Aix_Externcpp1 fix
859 tSCC zAix_Externcpp1Name[] =
863 * File name selection pattern
865 tSCC zAix_Externcpp1List[] =
868 * Machine/OS name selection pattern
870 tSCC* apzAix_Externcpp1Machs[] = {
875 * content selection pattern - do fix if pattern found
877 tSCC zAix_Externcpp1Select0[] =
878 "#ifdef __cplusplus";
880 #define AIX_EXTERNCPP1_TEST_CT 1
881 static tTestDesc aAix_Externcpp1Tests[] = {
882 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
885 * Fix Command Arguments for Aix_Externcpp1
887 static const char* apzAix_Externcpp1Patch[] = {
889 "#ifdef __cplusplus\n\
893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
895 * Description of Aix_Externcpp2 fix
897 tSCC zAix_Externcpp2Name[] =
901 * File name selection pattern
903 tSCC zAix_Externcpp2List[] =
906 * Machine/OS name selection pattern
908 tSCC* apzAix_Externcpp2Machs[] = {
913 * content selection pattern - do fix if pattern found
915 tSCC zAix_Externcpp2Select0[] =
916 "#else /\\* __cplusplus \\*/";
918 #define AIX_EXTERNCPP2_TEST_CT 1
919 static tTestDesc aAix_Externcpp2Tests[] = {
920 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
923 * Fix Command Arguments for Aix_Externcpp2
925 static const char* apzAix_Externcpp2Patch[] = {
927 "} /* extern \"C++\" */\n\
928 #else /* __cplusplus */",
931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
933 * Description of Aix_Malloc fix
935 tSCC zAix_MallocName[] =
939 * File name selection pattern
941 tSCC zAix_MallocList[] =
944 * Machine/OS name selection pattern
946 tSCC* apzAix_MallocMachs[] = {
951 * content selection pattern - do fix if pattern found
953 tSCC zAix_MallocSelect0[] =
954 "#ifdef __cplusplus";
956 #define AIX_MALLOC_TEST_CT 1
957 static tTestDesc aAix_MallocTests[] = {
958 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
961 * Fix Command Arguments for Aix_Malloc
963 static const char* apzAix_MallocPatch[] = {
965 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
970 * Description of Aix_Net_If_Arp fix
972 tSCC zAix_Net_If_ArpName[] =
976 * File name selection pattern
978 tSCC zAix_Net_If_ArpList[] =
981 * Machine/OS name selection pattern
983 tSCC* apzAix_Net_If_ArpMachs[] = {
988 * content selection pattern - do fix if pattern found
990 tSCC zAix_Net_If_ArpSelect0[] =
991 "^struct fc_softc \\{";
993 #define AIX_NET_IF_ARP_TEST_CT 1
994 static tTestDesc aAix_Net_If_ArpTests[] = {
995 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
998 * Fix Command Arguments for Aix_Net_If_Arp
1000 static const char* apzAix_Net_If_ArpPatch[] = {
1002 "typedef struct _fc_softc {",
1005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1007 * Description of Aix_Null fix
1009 tSCC zAix_NullName[] =
1013 * File name selection pattern
1015 tSCC zAix_NullList[] =
1016 "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";
1018 * Machine/OS name selection pattern
1020 tSCC* apzAix_NullMachs[] = {
1022 (const char*)NULL };
1025 * content selection pattern - do fix if pattern found
1027 tSCC zAix_NullSelect0[] =
1028 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
1031 * content bypass pattern - skip fix if pattern found
1033 tSCC zAix_NullBypass0[] =
1036 #define AIX_NULL_TEST_CT 2
1037 static tTestDesc aAix_NullTests[] = {
1038 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
1039 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
1042 * Fix Command Arguments for Aix_Null
1044 static const char* apzAix_NullPatch[] = {
1047 #ifdef __cplusplus\n\
1049 #define NULL __null\n\
1050 #else /* ! __GNUG__ */\n\
1052 #endif /* __GNUG__ */\n\
1053 #else /* ! __cplusplus */\n\
1054 #define NULL ((void *)0)\n\
1055 #endif /* __cplusplus */\n\
1056 #endif /* !NULL */",
1059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1061 * Description of Aix_Once_Init_1 fix
1063 tSCC zAix_Once_Init_1Name[] =
1067 * File name selection pattern
1069 tSCC zAix_Once_Init_1List[] =
1072 * Machine/OS name selection pattern
1074 tSCC* apzAix_Once_Init_1Machs[] = {
1076 (const char*)NULL };
1079 * content selection pattern - do fix if pattern found
1081 tSCC zAix_Once_Init_1Select0[] =
1082 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1085 #define AIX_ONCE_INIT_1_TEST_CT 1
1086 static tTestDesc aAix_Once_Init_1Tests[] = {
1087 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1090 * Fix Command Arguments for Aix_Once_Init_1
1092 static const char* apzAix_Once_Init_1Patch[] = {
1094 "#define PTHREAD_ONCE_INIT \\\n\
1098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1100 * Description of Aix_Once_Init_2 fix
1102 tSCC zAix_Once_Init_2Name[] =
1106 * File name selection pattern
1108 tSCC zAix_Once_Init_2List[] =
1111 * Machine/OS name selection pattern
1113 tSCC* apzAix_Once_Init_2Machs[] = {
1115 (const char*)NULL };
1118 * content selection pattern - do fix if pattern found
1120 tSCC zAix_Once_Init_2Select0[] =
1124 #define AIX_ONCE_INIT_2_TEST_CT 1
1125 static tTestDesc aAix_Once_Init_2Tests[] = {
1126 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1129 * Fix Command Arguments for Aix_Once_Init_2
1131 static const char* apzAix_Once_Init_2Patch[] = {
1137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1139 * Description of Aix_Mutex_Initializer_1 fix
1141 tSCC zAix_Mutex_Initializer_1Name[] =
1142 "aix_mutex_initializer_1";
1145 * File name selection pattern
1147 tSCC zAix_Mutex_Initializer_1List[] =
1150 * Machine/OS name selection pattern
1152 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1154 (const char*)NULL };
1157 * content selection pattern - do fix if pattern found
1159 tSCC zAix_Mutex_Initializer_1Select0[] =
1160 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1163 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1164 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1165 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1168 * Fix Command Arguments for Aix_Mutex_Initializer_1
1170 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1172 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1178 * Description of Aix_Cond_Initializer_1 fix
1180 tSCC zAix_Cond_Initializer_1Name[] =
1181 "aix_cond_initializer_1";
1184 * File name selection pattern
1186 tSCC zAix_Cond_Initializer_1List[] =
1189 * Machine/OS name selection pattern
1191 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1193 (const char*)NULL };
1196 * content selection pattern - do fix if pattern found
1198 tSCC zAix_Cond_Initializer_1Select0[] =
1199 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1202 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1203 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1204 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1207 * Fix Command Arguments for Aix_Cond_Initializer_1
1209 static const char* apzAix_Cond_Initializer_1Patch[] = {
1211 "#define PTHREAD_COND_INITIALIZER \\\n\
1215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1217 * Description of Aix_Rwlock_Initializer_1 fix
1219 tSCC zAix_Rwlock_Initializer_1Name[] =
1220 "aix_rwlock_initializer_1";
1223 * File name selection pattern
1225 tSCC zAix_Rwlock_Initializer_1List[] =
1228 * Machine/OS name selection pattern
1230 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1232 (const char*)NULL };
1235 * content selection pattern - do fix if pattern found
1237 tSCC zAix_Rwlock_Initializer_1Select0[] =
1238 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1241 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1242 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1243 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1246 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1248 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1250 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1256 * Description of Aix_Pthread fix
1258 tSCC zAix_PthreadName[] =
1262 * File name selection pattern
1264 tSCC zAix_PthreadList[] =
1267 * Machine/OS name selection pattern
1269 #define apzAix_PthreadMachs (const char**)NULL
1272 * content selection pattern - do fix if pattern found
1274 tSCC zAix_PthreadSelect0[] =
1275 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1279 #define AIX_PTHREAD_TEST_CT 1
1280 static tTestDesc aAix_PthreadTests[] = {
1281 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1284 * Fix Command Arguments for Aix_Pthread
1286 static const char* apzAix_PthreadPatch[] = {
1291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1293 * Description of Aix_Stdint_1 fix
1295 tSCC zAix_Stdint_1Name[] =
1299 * File name selection pattern
1301 tSCC zAix_Stdint_1List[] =
1302 "stdint-aix.h\0stdint.h\0";
1304 * Machine/OS name selection pattern
1306 tSCC* apzAix_Stdint_1Machs[] = {
1308 (const char*)NULL };
1311 * content selection pattern - do fix if pattern found
1313 tSCC zAix_Stdint_1Select0[] =
1314 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1315 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1317 #define AIX_STDINT_1_TEST_CT 1
1318 static tTestDesc aAix_Stdint_1Tests[] = {
1319 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1322 * Fix Command Arguments for Aix_Stdint_1
1324 static const char* apzAix_Stdint_1Patch[] = {
1326 "#define UINT8_MAX\t(255)\n\
1327 #define UINT16_MAX\t(65535)",
1330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1332 * Description of Aix_Stdint_2 fix
1334 tSCC zAix_Stdint_2Name[] =
1338 * File name selection pattern
1340 tSCC zAix_Stdint_2List[] =
1341 "stdint-aix.h\0stdint.h\0";
1343 * Machine/OS name selection pattern
1345 tSCC* apzAix_Stdint_2Machs[] = {
1347 (const char*)NULL };
1350 * content selection pattern - do fix if pattern found
1352 tSCC zAix_Stdint_2Select0[] =
1353 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1354 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1355 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1357 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1358 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1359 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1361 #define AIX_STDINT_2_TEST_CT 1
1362 static tTestDesc aAix_Stdint_2Tests[] = {
1363 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1366 * Fix Command Arguments for Aix_Stdint_2
1368 static const char* apzAix_Stdint_2Patch[] = {
1370 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1371 #define INTPTR_MAX\t9223372036854775807L\n\
1372 #define UINTPTR_MAX\t18446744073709551615UL\n\
1374 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1375 #define INTPTR_MAX\t2147483647L\n\
1376 #define UINTPTR_MAX\t4294967295UL",
1379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1381 * Description of Aix_Stdint_3 fix
1383 tSCC zAix_Stdint_3Name[] =
1387 * File name selection pattern
1389 tSCC zAix_Stdint_3List[] =
1390 "stdint-aix.h\0stdint.h\0";
1392 * Machine/OS name selection pattern
1394 tSCC* apzAix_Stdint_3Machs[] = {
1396 (const char*)NULL };
1399 * content selection pattern - do fix if pattern found
1401 tSCC zAix_Stdint_3Select0[] =
1402 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1403 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1405 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1406 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1408 #define AIX_STDINT_3_TEST_CT 1
1409 static tTestDesc aAix_Stdint_3Tests[] = {
1410 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1413 * Fix Command Arguments for Aix_Stdint_3
1415 static const char* apzAix_Stdint_3Patch[] = {
1417 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1418 #define PTRDIFF_MAX\t9223372036854775807L\n\
1420 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1421 #define PTRDIFF_MAX\t2147483647L",
1424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1426 * Description of Aix_Stdint_4 fix
1428 tSCC zAix_Stdint_4Name[] =
1432 * File name selection pattern
1434 tSCC zAix_Stdint_4List[] =
1435 "stdint-aix.h\0stdint.h\0";
1437 * Machine/OS name selection pattern
1439 tSCC* apzAix_Stdint_4Machs[] = {
1441 (const char*)NULL };
1444 * content selection pattern - do fix if pattern found
1446 tSCC zAix_Stdint_4Select0[] =
1447 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1449 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1451 #define AIX_STDINT_4_TEST_CT 1
1452 static tTestDesc aAix_Stdint_4Tests[] = {
1453 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1456 * Fix Command Arguments for Aix_Stdint_4
1458 static const char* apzAix_Stdint_4Patch[] = {
1460 "#define SIZE_MAX\t18446744073709551615UL\n\
1462 #define SIZE_MAX\t4294967295UL",
1465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1467 * Description of Aix_Stdint_5 fix
1469 tSCC zAix_Stdint_5Name[] =
1473 * File name selection pattern
1475 tSCC zAix_Stdint_5List[] =
1476 "stdint-aix.h\0stdint.h\0";
1478 * Machine/OS name selection pattern
1480 tSCC* apzAix_Stdint_5Machs[] = {
1482 (const char*)NULL };
1485 * content selection pattern - do fix if pattern found
1487 tSCC zAix_Stdint_5Select0[] =
1488 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1489 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1491 #define AIX_STDINT_5_TEST_CT 1
1492 static tTestDesc aAix_Stdint_5Tests[] = {
1493 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1496 * Fix Command Arguments for Aix_Stdint_5
1498 static const char* apzAix_Stdint_5Patch[] = {
1500 "#define UINT8_C(c)\tc\n\
1501 #define UINT16_C(c)\tc",
1504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1506 * Description of Aix_Stdio_Inline fix
1508 tSCC zAix_Stdio_InlineName[] =
1512 * File name selection pattern
1514 tSCC zAix_Stdio_InlineList[] =
1517 * Machine/OS name selection pattern
1519 tSCC* apzAix_Stdio_InlineMachs[] = {
1521 (const char*)NULL };
1524 * content selection pattern - do fix if pattern found
1526 tSCC zAix_Stdio_InlineSelect0[] =
1527 "#ifdef __cplusplus\\\n\
1532 #define AIX_STDIO_INLINE_TEST_CT 1
1533 static tTestDesc aAix_Stdio_InlineTests[] = {
1534 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1537 * Fix Command Arguments for Aix_Stdio_Inline
1539 static const char* apzAix_Stdio_InlinePatch[] = {
1541 "#ifdef __cplusplus\n\
1544 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1550 * Description of Aix_Stdlib_Malloc fix
1552 tSCC zAix_Stdlib_MallocName[] =
1553 "aix_stdlib_malloc";
1556 * File name selection pattern
1558 tSCC zAix_Stdlib_MallocList[] =
1561 * Machine/OS name selection pattern
1563 tSCC* apzAix_Stdlib_MallocMachs[] = {
1565 (const char*)NULL };
1568 * content selection pattern - do fix if pattern found
1570 tSCC zAix_Stdlib_MallocSelect0[] =
1571 "#define[ \t]+malloc[ \t]+__linux_malloc";
1573 #define AIX_STDLIB_MALLOC_TEST_CT 1
1574 static tTestDesc aAix_Stdlib_MallocTests[] = {
1575 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1578 * Fix Command Arguments for Aix_Stdlib_Malloc
1580 static const char* apzAix_Stdlib_MallocPatch[] = {
1582 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1585 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1587 * Description of Aix_Stdlib_Realloc fix
1589 tSCC zAix_Stdlib_ReallocName[] =
1590 "aix_stdlib_realloc";
1593 * File name selection pattern
1595 tSCC zAix_Stdlib_ReallocList[] =
1598 * Machine/OS name selection pattern
1600 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1602 (const char*)NULL };
1605 * content selection pattern - do fix if pattern found
1607 tSCC zAix_Stdlib_ReallocSelect0[] =
1608 "#define[ \t]+realloc[ \t]+__linux_realloc";
1610 #define AIX_STDLIB_REALLOC_TEST_CT 1
1611 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1612 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1615 * Fix Command Arguments for Aix_Stdlib_Realloc
1617 static const char* apzAix_Stdlib_ReallocPatch[] = {
1619 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1624 * Description of Aix_Stdlib_Calloc fix
1626 tSCC zAix_Stdlib_CallocName[] =
1627 "aix_stdlib_calloc";
1630 * File name selection pattern
1632 tSCC zAix_Stdlib_CallocList[] =
1635 * Machine/OS name selection pattern
1637 tSCC* apzAix_Stdlib_CallocMachs[] = {
1639 (const char*)NULL };
1642 * content selection pattern - do fix if pattern found
1644 tSCC zAix_Stdlib_CallocSelect0[] =
1645 "#define[ \t]+calloc[ \t]+__linux_calloc";
1647 #define AIX_STDLIB_CALLOC_TEST_CT 1
1648 static tTestDesc aAix_Stdlib_CallocTests[] = {
1649 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1652 * Fix Command Arguments for Aix_Stdlib_Calloc
1654 static const char* apzAix_Stdlib_CallocPatch[] = {
1656 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1661 * Description of Aix_Stdlib_Valloc fix
1663 tSCC zAix_Stdlib_VallocName[] =
1664 "aix_stdlib_valloc";
1667 * File name selection pattern
1669 tSCC zAix_Stdlib_VallocList[] =
1672 * Machine/OS name selection pattern
1674 tSCC* apzAix_Stdlib_VallocMachs[] = {
1676 (const char*)NULL };
1679 * content selection pattern - do fix if pattern found
1681 tSCC zAix_Stdlib_VallocSelect0[] =
1682 "#define[ \t]+valloc[ \t]+__linux_valloc";
1684 #define AIX_STDLIB_VALLOC_TEST_CT 1
1685 static tTestDesc aAix_Stdlib_VallocTests[] = {
1686 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1689 * Fix Command Arguments for Aix_Stdlib_Valloc
1691 static const char* apzAix_Stdlib_VallocPatch[] = {
1693 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1698 * Description of Aix_Strtof_Const fix
1700 tSCC zAix_Strtof_ConstName[] =
1704 * File name selection pattern
1706 tSCC zAix_Strtof_ConstList[] =
1709 * Machine/OS name selection pattern
1711 tSCC* apzAix_Strtof_ConstMachs[] = {
1713 (const char*)NULL };
1716 * content selection pattern - do fix if pattern found
1718 tSCC zAix_Strtof_ConstSelect0[] =
1719 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1721 #define AIX_STRTOF_CONST_TEST_CT 1
1722 static tTestDesc aAix_Strtof_ConstTests[] = {
1723 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1726 * Fix Command Arguments for Aix_Strtof_Const
1728 static const char* apzAix_Strtof_ConstPatch[] = {
1730 "%1(const char *, char **);",
1733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1735 * Description of Aix_Sysmachine fix
1737 tSCC zAix_SysmachineName[] =
1741 * File name selection pattern
1743 tSCC zAix_SysmachineList[] =
1746 * Machine/OS name selection pattern
1748 tSCC* apzAix_SysmachineMachs[] = {
1750 (const char*)NULL };
1753 * content selection pattern - do fix if pattern found
1755 tSCC zAix_SysmachineSelect0[] =
1758 #define AIX_SYSMACHINE_TEST_CT 1
1759 static tTestDesc aAix_SysmachineTests[] = {
1760 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1763 * Fix Command Arguments for Aix_Sysmachine
1765 static const char* apzAix_SysmachinePatch[] = {
1770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1772 * Description of Aix_Syswait_2 fix
1774 tSCC zAix_Syswait_2Name[] =
1778 * File name selection pattern
1780 tSCC zAix_Syswait_2List[] =
1783 * Machine/OS name selection pattern
1785 tSCC* apzAix_Syswait_2Machs[] = {
1787 (const char*)NULL };
1790 * content selection pattern - do fix if pattern found
1792 tSCC zAix_Syswait_2Select0[] =
1793 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1795 #define AIX_SYSWAIT_2_TEST_CT 1
1796 static tTestDesc aAix_Syswait_2Tests[] = {
1797 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1800 * Fix Command Arguments for Aix_Syswait_2
1802 static const char* apzAix_Syswait_2Patch[] = {
1807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1809 * Description of Aix_Volatile fix
1811 tSCC zAix_VolatileName[] =
1815 * File name selection pattern
1817 tSCC zAix_VolatileList[] =
1820 * Machine/OS name selection pattern
1822 tSCC* apzAix_VolatileMachs[] = {
1824 (const char*)NULL };
1827 * content selection pattern - do fix if pattern found
1829 tSCC zAix_VolatileSelect0[] =
1830 "typedef volatile int sig_atomic_t";
1832 #define AIX_VOLATILE_TEST_CT 1
1833 static tTestDesc aAix_VolatileTests[] = {
1834 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1837 * Fix Command Arguments for Aix_Volatile
1839 static const char* apzAix_VolatilePatch[] = {
1841 "typedef int sig_atomic_t",
1844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1846 * Description of Alpha___Assert fix
1848 tSCC zAlpha___AssertName[] =
1852 * File name selection pattern
1854 tSCC zAlpha___AssertList[] =
1857 * Machine/OS name selection pattern
1859 #define apzAlpha___AssertMachs (const char**)NULL
1862 * content selection pattern - do fix if pattern found
1864 tSCC zAlpha___AssertSelect0[] =
1865 "__assert\\(char \\*, char \\*, int\\)";
1867 #define ALPHA___ASSERT_TEST_CT 1
1868 static tTestDesc aAlpha___AssertTests[] = {
1869 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1872 * Fix Command Arguments for Alpha___Assert
1874 static const char* apzAlpha___AssertPatch[] = {
1876 "__assert(const char *, const char *, int)",
1879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1881 * Description of Alpha_Assert fix
1883 tSCC zAlpha_AssertName[] =
1887 * File name selection pattern
1889 tSCC zAlpha_AssertList[] =
1892 * Machine/OS name selection pattern
1894 #define apzAlpha_AssertMachs (const char**)NULL
1897 * content selection pattern - do fix if pattern found
1899 tSCC zAlpha_AssertSelect0[] =
1900 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1902 #define ALPHA_ASSERT_TEST_CT 1
1903 static tTestDesc aAlpha_AssertTests[] = {
1904 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1907 * Fix Command Arguments for Alpha_Assert
1909 static const char* apzAlpha_AssertPatch[] = {
1914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1916 * Description of Alpha_Getopt fix
1918 tSCC zAlpha_GetoptName[] =
1922 * File name selection pattern
1924 tSCC zAlpha_GetoptList[] =
1925 "stdio.h\0stdlib.h\0";
1927 * Machine/OS name selection pattern
1929 #define apzAlpha_GetoptMachs (const char**)NULL
1932 * content selection pattern - do fix if pattern found
1934 tSCC zAlpha_GetoptSelect0[] =
1935 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1937 #define ALPHA_GETOPT_TEST_CT 1
1938 static tTestDesc aAlpha_GetoptTests[] = {
1939 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1942 * Fix Command Arguments for Alpha_Getopt
1944 static const char* apzAlpha_GetoptPatch[] = {
1946 "getopt(int, char *const[], const char *)",
1949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1951 * Description of Alpha_If_Semicolon fix
1953 tSCC zAlpha_If_SemicolonName[] =
1954 "alpha_if_semicolon";
1957 * File name selection pattern
1959 tSCC zAlpha_If_SemicolonList[] =
1962 * Machine/OS name selection pattern
1964 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1967 * content selection pattern - do fix if pattern found
1969 tSCC zAlpha_If_SemicolonSelect0[] =
1970 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1972 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1973 static tTestDesc aAlpha_If_SemicolonTests[] = {
1974 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1977 * Fix Command Arguments for Alpha_If_Semicolon
1979 static const char* apzAlpha_If_SemicolonPatch[] = {
1981 "struct sockaddr vmif_paddr;\t/*",
1984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1986 * Description of Alpha_Parens fix
1988 tSCC zAlpha_ParensName[] =
1992 * File name selection pattern
1994 tSCC zAlpha_ParensList[] =
1997 * Machine/OS name selection pattern
1999 #define apzAlpha_ParensMachs (const char**)NULL
2002 * content selection pattern - do fix if pattern found
2004 tSCC zAlpha_ParensSelect0[] =
2005 "#ifndef\\(__mips64\\)";
2007 #define ALPHA_PARENS_TEST_CT 1
2008 static tTestDesc aAlpha_ParensTests[] = {
2009 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2012 * Fix Command Arguments for Alpha_Parens
2014 static const char* apzAlpha_ParensPatch[] = {
2019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2021 * Description of Alpha_Sbrk fix
2023 tSCC zAlpha_SbrkName[] =
2027 * File name selection pattern
2029 tSCC zAlpha_SbrkList[] =
2032 * Machine/OS name selection pattern
2034 #define apzAlpha_SbrkMachs (const char**)NULL
2037 * content selection pattern - do fix if pattern found
2039 tSCC zAlpha_SbrkSelect0[] =
2040 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2042 #define ALPHA_SBRK_TEST_CT 1
2043 static tTestDesc aAlpha_SbrkTests[] = {
2044 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2047 * Fix Command Arguments for Alpha_Sbrk
2049 static const char* apzAlpha_SbrkPatch[] = {
2054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2056 * Description of Avoid_Bool_Define fix
2058 tSCC zAvoid_Bool_DefineName[] =
2059 "avoid_bool_define";
2062 * File name selection pattern
2064 tSCC zAvoid_Bool_DefineList[] =
2065 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2067 * Machine/OS name selection pattern
2069 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2072 * content selection pattern - do fix if pattern found
2074 tSCC zAvoid_Bool_DefineSelect0[] =
2075 "#[ \t]*define[ \t]+bool[ \t]";
2078 * content bypass pattern - skip fix if pattern found
2080 tSCC zAvoid_Bool_DefineBypass0[] =
2083 #define AVOID_BOOL_DEFINE_TEST_CT 2
2084 static tTestDesc aAvoid_Bool_DefineTests[] = {
2085 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2086 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2089 * Fix Command Arguments for Avoid_Bool_Define
2091 static const char* apzAvoid_Bool_DefinePatch[] = {
2093 "#ifndef __cplusplus\n\
2096 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2101 * Description of Avoid_Bool_Type fix
2103 tSCC zAvoid_Bool_TypeName[] =
2107 * File name selection pattern
2109 tSCC zAvoid_Bool_TypeList[] =
2110 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2112 * Machine/OS name selection pattern
2114 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2117 * content selection pattern - do fix if pattern found
2119 tSCC zAvoid_Bool_TypeSelect0[] =
2120 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2123 * content bypass pattern - skip fix if pattern found
2125 tSCC zAvoid_Bool_TypeBypass0[] =
2128 #define AVOID_BOOL_TYPE_TEST_CT 2
2129 static tTestDesc aAvoid_Bool_TypeTests[] = {
2130 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2131 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2134 * Fix Command Arguments for Avoid_Bool_Type
2136 static const char* apzAvoid_Bool_TypePatch[] = {
2138 "#ifndef __cplusplus\n\
2143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2145 * Description of Avoid_Wchar_T_Type fix
2147 tSCC zAvoid_Wchar_T_TypeName[] =
2148 "avoid_wchar_t_type";
2151 * File name selection pattern
2153 #define zAvoid_Wchar_T_TypeList (char*)NULL
2155 * Machine/OS name selection pattern
2157 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2160 * content selection pattern - do fix if pattern found
2162 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2163 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2166 * content bypass pattern - skip fix if pattern found
2168 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2170 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2172 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2173 "XFree86: xc/lib/X11/Xlib\\.h";
2175 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2176 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2177 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2178 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2179 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2180 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2183 * Fix Command Arguments for Avoid_Wchar_T_Type
2185 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2187 "#ifndef __cplusplus\n\
2192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2194 * Description of Bad_Struct_Term fix
2196 tSCC zBad_Struct_TermName[] =
2200 * File name selection pattern
2202 tSCC zBad_Struct_TermList[] =
2205 * Machine/OS name selection pattern
2207 #define apzBad_Struct_TermMachs (const char**)NULL
2210 * content selection pattern - do fix if pattern found
2212 tSCC zBad_Struct_TermSelect0[] =
2213 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2215 #define BAD_STRUCT_TERM_TEST_CT 1
2216 static tTestDesc aBad_Struct_TermTests[] = {
2217 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2220 * Fix Command Arguments for Bad_Struct_Term
2222 static const char* apzBad_Struct_TermPatch[] = {
2227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2229 * Description of Badquote fix
2231 tSCC zBadquoteName[] =
2235 * File name selection pattern
2237 tSCC zBadquoteList[] =
2238 "sundev/vuid_event.h\0";
2240 * Machine/OS name selection pattern
2242 #define apzBadquoteMachs (const char**)NULL
2245 * content selection pattern - do fix if pattern found
2247 tSCC zBadquoteSelect0[] =
2250 #define BADQUOTE_TEST_CT 1
2251 static tTestDesc aBadquoteTests[] = {
2252 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2255 * Fix Command Arguments for Badquote
2257 static const char* apzBadquotePatch[] = {
2262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2264 * Description of Broken_Assert_Stdio fix
2266 tSCC zBroken_Assert_StdioName[] =
2267 "broken_assert_stdio";
2270 * File name selection pattern
2272 tSCC zBroken_Assert_StdioList[] =
2275 * Machine/OS name selection pattern
2277 #define apzBroken_Assert_StdioMachs (const char**)NULL
2280 * content selection pattern - do fix if pattern found
2282 tSCC zBroken_Assert_StdioSelect0[] =
2286 * content bypass pattern - skip fix if pattern found
2288 tSCC zBroken_Assert_StdioBypass0[] =
2289 "include.*stdio\\.h";
2291 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2292 static tTestDesc aBroken_Assert_StdioTests[] = {
2293 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2294 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2297 * Fix Command Arguments for Broken_Assert_Stdio
2299 static const char* apzBroken_Assert_StdioPatch[] = {
2301 "#include <stdio.h>\n",
2304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2306 * Description of Broken_Assert_Stdlib fix
2308 tSCC zBroken_Assert_StdlibName[] =
2309 "broken_assert_stdlib";
2312 * File name selection pattern
2314 tSCC zBroken_Assert_StdlibList[] =
2317 * Machine/OS name selection pattern
2319 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2322 * content selection pattern - do fix if pattern found
2324 tSCC zBroken_Assert_StdlibSelect0[] =
2325 "exit *\\(|abort *\\(";
2328 * content bypass pattern - skip fix if pattern found
2330 tSCC zBroken_Assert_StdlibBypass0[] =
2331 "include.*stdlib\\.h";
2333 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2334 static tTestDesc aBroken_Assert_StdlibTests[] = {
2335 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2336 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2339 * Fix Command Arguments for Broken_Assert_Stdlib
2341 static const char* apzBroken_Assert_StdlibPatch[] = {
2343 "#ifdef __cplusplus\n\
2344 #include <stdlib.h>\n\
2348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2350 * Description of Broken_Cabs fix
2352 tSCC zBroken_CabsName[] =
2356 * File name selection pattern
2358 tSCC zBroken_CabsList[] =
2359 "math.h\0architecture/*/math.h\0";
2361 * Machine/OS name selection pattern
2363 #define apzBroken_CabsMachs (const char**)NULL
2366 * content selection pattern - do fix if pattern found
2368 tSCC zBroken_CabsSelect0[] =
2369 "^extern[ \t]+double[ \t]+cabs";
2371 #define BROKEN_CABS_TEST_CT 1
2372 static tTestDesc aBroken_CabsTests[] = {
2373 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2376 * Fix Command Arguments for Broken_Cabs
2378 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2379 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2380 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2385 * Description of Broken_Nan fix
2387 tSCC zBroken_NanName[] =
2391 * File name selection pattern
2393 tSCC zBroken_NanList[] =
2394 "architecture/ppc/math.h\0architecture/*/math.h\0";
2396 * Machine/OS name selection pattern
2398 #define apzBroken_NanMachs (const char**)NULL
2401 * content selection pattern - do fix if pattern found
2403 tSCC zBroken_NanSelect0[] =
2404 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2407 * content bypass pattern - skip fix if pattern found
2409 tSCC zBroken_NanBypass0[] =
2412 #define BROKEN_NAN_TEST_CT 2
2413 static tTestDesc aBroken_NanTests[] = {
2414 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2415 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2418 * Fix Command Arguments for Broken_Nan
2420 static const char* apzBroken_NanPatch[] = {
2425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2427 * Description of Bsd_Stdio_Attrs_Conflict fix
2429 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2430 "bsd_stdio_attrs_conflict";
2433 * File name selection pattern
2435 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2438 * Machine/OS name selection pattern
2440 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2443 (const char*)NULL };
2446 * content selection pattern - do fix if pattern found
2448 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2449 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2451 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2452 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2453 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2456 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2458 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2460 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2461 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2462 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2467 * Description of Ctrl_Quotes_Def fix
2469 tSCC zCtrl_Quotes_DefName[] =
2473 * File name selection pattern
2475 #define zCtrl_Quotes_DefList (char*)NULL
2477 * Machine/OS name selection pattern
2479 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2482 * content selection pattern - do fix if pattern found
2484 tSCC zCtrl_Quotes_DefSelect0[] =
2485 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2487 #define CTRL_QUOTES_DEF_TEST_CT 1
2488 static tTestDesc aCtrl_Quotes_DefTests[] = {
2489 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2492 * Fix Command Arguments for Ctrl_Quotes_Def
2494 static const char* apzCtrl_Quotes_DefPatch[] = {
2499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2501 * Description of Ctrl_Quotes_Use fix
2503 tSCC zCtrl_Quotes_UseName[] =
2507 * File name selection pattern
2509 #define zCtrl_Quotes_UseList (char*)NULL
2511 * Machine/OS name selection pattern
2513 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2516 * content selection pattern - do fix if pattern found
2518 tSCC zCtrl_Quotes_UseSelect0[] =
2519 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2521 #define CTRL_QUOTES_USE_TEST_CT 1
2522 static tTestDesc aCtrl_Quotes_UseTests[] = {
2523 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2526 * Fix Command Arguments for Ctrl_Quotes_Use
2528 static const char* apzCtrl_Quotes_UsePatch[] = {
2533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2535 * Description of Cxx_Unready fix
2537 tSCC zCxx_UnreadyName[] =
2541 * File name selection pattern
2543 tSCC zCxx_UnreadyList[] =
2544 "sys/mman.h\0rpc/types.h\0";
2546 * Machine/OS name selection pattern
2548 #define apzCxx_UnreadyMachs (const char**)NULL
2551 * content selection pattern - do fix if pattern found
2553 tSCC zCxx_UnreadySelect0[] =
2557 * content bypass pattern - skip fix if pattern found
2559 tSCC zCxx_UnreadyBypass0[] =
2560 "\"C\"|__BEGIN_DECLS";
2562 #define CXX_UNREADY_TEST_CT 2
2563 static tTestDesc aCxx_UnreadyTests[] = {
2564 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2565 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2568 * Fix Command Arguments for Cxx_Unready
2570 static const char* apzCxx_UnreadyPatch[] = {
2572 "#ifdef __cplusplus\n\
2575 "#ifdef __cplusplus\n\
2580 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2582 * Description of Darwin_Availabilityinternal fix
2584 tSCC zDarwin_AvailabilityinternalName[] =
2585 "darwin_availabilityinternal";
2588 * File name selection pattern
2590 tSCC zDarwin_AvailabilityinternalList[] =
2591 "AvailabilityInternal.h\0";
2593 * Machine/OS name selection pattern
2595 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2597 (const char*)NULL };
2600 * content selection pattern - do fix if pattern found
2602 tSCC zDarwin_AvailabilityinternalSelect0[] =
2603 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2605 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2606 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2607 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2610 * Fix Command Arguments for Darwin_Availabilityinternal
2612 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2614 "#if defined(__has_attribute)\n\
2615 #if __has_attribute(availability)\n\
2625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2627 * Description of Darwin_9_Long_Double_Funcs_2 fix
2629 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2630 "darwin_9_long_double_funcs_2";
2633 * File name selection pattern
2635 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2638 * Machine/OS name selection pattern
2640 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2642 (const char*)NULL };
2645 * content selection pattern - do fix if pattern found
2647 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2648 "#include[ \\t]+\\\"";
2650 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2651 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2652 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2655 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2657 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2660 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2665 * Description of Darwin_Externc fix
2667 tSCC zDarwin_ExterncName[] =
2671 * File name selection pattern
2673 tSCC zDarwin_ExterncList[] =
2674 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2676 * Machine/OS name selection pattern
2678 tSCC* apzDarwin_ExterncMachs[] = {
2680 (const char*)NULL };
2683 * content bypass pattern - skip fix if pattern found
2685 tSCC zDarwin_ExterncBypass0[] =
2687 tSCC zDarwin_ExterncBypass1[] =
2690 #define DARWIN_EXTERNC_TEST_CT 2
2691 static tTestDesc aDarwin_ExterncTests[] = {
2692 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2693 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2696 * Fix Command Arguments for Darwin_Externc
2698 static const char* apzDarwin_ExterncPatch[] = {
2700 "#ifdef __cplusplus\n\
2703 "#ifdef __cplusplus\n\
2708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2710 * Description of Darwin_Gcc4_Breakage fix
2712 tSCC zDarwin_Gcc4_BreakageName[] =
2713 "darwin_gcc4_breakage";
2716 * File name selection pattern
2718 tSCC zDarwin_Gcc4_BreakageList[] =
2719 "AvailabilityMacros.h\0";
2721 * Machine/OS name selection pattern
2723 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2725 (const char*)NULL };
2728 * content selection pattern - do fix if pattern found
2730 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2731 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2733 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2734 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2735 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2738 * Fix Command Arguments for Darwin_Gcc4_Breakage
2740 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2742 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2747 * Description of Darwin_Longjmp_Noreturn fix
2749 tSCC zDarwin_Longjmp_NoreturnName[] =
2750 "darwin_longjmp_noreturn";
2753 * File name selection pattern
2755 tSCC zDarwin_Longjmp_NoreturnList[] =
2758 * Machine/OS name selection pattern
2760 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2762 (const char*)NULL };
2765 * content selection pattern - do fix if pattern found
2767 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2768 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2771 * content bypass pattern - skip fix if pattern found
2773 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2776 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2777 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2778 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2779 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2782 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2784 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2786 "%1 __attribute__ ((__noreturn__));",
2789 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2791 * Description of Darwin_Os_Trace_1 fix
2793 tSCC zDarwin_Os_Trace_1Name[] =
2794 "darwin_os_trace_1";
2797 * File name selection pattern
2799 tSCC zDarwin_Os_Trace_1List[] =
2802 * Machine/OS name selection pattern
2804 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2806 (const char*)NULL };
2809 * content selection pattern - do fix if pattern found
2811 tSCC zDarwin_Os_Trace_1Select0[] =
2812 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2814 #define DARWIN_OS_TRACE_1_TEST_CT 1
2815 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2816 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2819 * Fix Command Arguments for Darwin_Os_Trace_1
2821 static const char* apzDarwin_Os_Trace_1Patch[] = {
2826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2828 * Description of Darwin_Os_Trace_2 fix
2830 tSCC zDarwin_Os_Trace_2Name[] =
2831 "darwin_os_trace_2";
2834 * File name selection pattern
2836 tSCC zDarwin_Os_Trace_2List[] =
2839 * Machine/OS name selection pattern
2841 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2843 (const char*)NULL };
2846 * content selection pattern - do fix if pattern found
2848 tSCC zDarwin_Os_Trace_2Select0[] =
2849 "typedef.*\\^os_trace_payload_t.*";
2851 #define DARWIN_OS_TRACE_2_TEST_CT 1
2852 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2853 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2856 * Fix Command Arguments for Darwin_Os_Trace_2
2858 static const char* apzDarwin_Os_Trace_2Patch[] = {
2865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2867 * Description of Darwin_Os_Trace_3 fix
2869 tSCC zDarwin_Os_Trace_3Name[] =
2870 "darwin_os_trace_3";
2873 * File name selection pattern
2875 tSCC zDarwin_Os_Trace_3List[] =
2878 * Machine/OS name selection pattern
2880 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2882 (const char*)NULL };
2885 * content selection pattern - do fix if pattern found
2887 tSCC zDarwin_Os_Trace_3Select0[] =
2891 _os_trace.*os_trace_payload_t payload);";
2893 #define DARWIN_OS_TRACE_3_TEST_CT 1
2894 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2895 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
2898 * Fix Command Arguments for Darwin_Os_Trace_3
2900 static const char* apzDarwin_Os_Trace_3Patch[] = {
2907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2909 * Description of Darwin_Private_Extern fix
2911 tSCC zDarwin_Private_ExternName[] =
2912 "darwin_private_extern";
2915 * File name selection pattern
2917 tSCC zDarwin_Private_ExternList[] =
2920 * Machine/OS name selection pattern
2922 tSCC* apzDarwin_Private_ExternMachs[] = {
2924 (const char*)NULL };
2927 * content selection pattern - do fix if pattern found
2929 tSCC zDarwin_Private_ExternSelect0[] =
2930 "__private_extern__ [a-z_]+ _dyld_";
2932 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2933 static tTestDesc aDarwin_Private_ExternTests[] = {
2934 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2937 * Fix Command Arguments for Darwin_Private_Extern
2939 static const char* apzDarwin_Private_ExternPatch[] = {
2942 "__private_extern__",
2945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2947 * Description of Darwin_Stdint_1 fix
2949 tSCC zDarwin_Stdint_1Name[] =
2953 * File name selection pattern
2955 tSCC zDarwin_Stdint_1List[] =
2956 "stdint-darwin.h\0stdint.h\0";
2958 * Machine/OS name selection pattern
2960 tSCC* apzDarwin_Stdint_1Machs[] = {
2962 (const char*)NULL };
2965 * content selection pattern - do fix if pattern found
2967 tSCC zDarwin_Stdint_1Select0[] =
2968 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2969 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2971 #define DARWIN_STDINT_1_TEST_CT 1
2972 static tTestDesc aDarwin_Stdint_1Tests[] = {
2973 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2976 * Fix Command Arguments for Darwin_Stdint_1
2978 static const char* apzDarwin_Stdint_1Patch[] = {
2980 "#define UINT8_C(v)\tv\n\
2981 #define UINT16_C(v)\tv",
2984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2986 * Description of Darwin_Stdint_2 fix
2988 tSCC zDarwin_Stdint_2Name[] =
2992 * File name selection pattern
2994 tSCC zDarwin_Stdint_2List[] =
2995 "stdint-darwin.h\0stdint.h\0";
2997 * Machine/OS name selection pattern
2999 tSCC* apzDarwin_Stdint_2Machs[] = {
3001 (const char*)NULL };
3004 * content selection pattern - do fix if pattern found
3006 tSCC zDarwin_Stdint_2Select0[] =
3007 "#if __WORDSIZE == 64\n\
3008 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3009 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3011 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3012 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3015 #define DARWIN_STDINT_2_TEST_CT 1
3016 static tTestDesc aDarwin_Stdint_2Tests[] = {
3017 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3020 * Fix Command Arguments for Darwin_Stdint_2
3022 static const char* apzDarwin_Stdint_2Patch[] = {
3024 "#if __WORDSIZE == 64\n\
3025 #define INTPTR_MAX 9223372036854775807L\n\
3026 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3028 #define INTPTR_MAX 2147483647L\n\
3029 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3035 * Description of Darwin_Stdint_3 fix
3037 tSCC zDarwin_Stdint_3Name[] =
3041 * File name selection pattern
3043 tSCC zDarwin_Stdint_3List[] =
3044 "stdint-darwin.h\0stdint.h\0";
3046 * Machine/OS name selection pattern
3048 tSCC* apzDarwin_Stdint_3Machs[] = {
3050 (const char*)NULL };
3053 * content selection pattern - do fix if pattern found
3055 tSCC zDarwin_Stdint_3Select0[] =
3056 "#if __WORDSIZE == 64\n\
3057 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3059 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3062 #define DARWIN_STDINT_3_TEST_CT 1
3063 static tTestDesc aDarwin_Stdint_3Tests[] = {
3064 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3067 * Fix Command Arguments for Darwin_Stdint_3
3069 static const char* apzDarwin_Stdint_3Patch[] = {
3071 "#if __WORDSIZE == 64\n\
3072 #define UINTPTR_MAX 18446744073709551615UL\n\
3074 #define UINTPTR_MAX 4294967295UL\n\
3078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3080 * Description of Darwin_Stdint_4 fix
3082 tSCC zDarwin_Stdint_4Name[] =
3086 * File name selection pattern
3088 tSCC zDarwin_Stdint_4List[] =
3089 "stdint-darwin.h\0stdint.h\0";
3091 * Machine/OS name selection pattern
3093 tSCC* apzDarwin_Stdint_4Machs[] = {
3095 (const char*)NULL };
3098 * content selection pattern - do fix if pattern found
3100 tSCC zDarwin_Stdint_4Select0[] =
3101 "#if __WORDSIZE == 64\n\
3102 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3104 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3107 #define DARWIN_STDINT_4_TEST_CT 1
3108 static tTestDesc aDarwin_Stdint_4Tests[] = {
3109 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3112 * Fix Command Arguments for Darwin_Stdint_4
3114 static const char* apzDarwin_Stdint_4Patch[] = {
3116 "#if __WORDSIZE == 64\n\
3117 #define SIZE_MAX 18446744073709551615UL\n\
3119 #define SIZE_MAX 4294967295UL\n\
3123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3125 * Description of Darwin_Stdint_5 fix
3127 tSCC zDarwin_Stdint_5Name[] =
3131 * File name selection pattern
3133 tSCC zDarwin_Stdint_5List[] =
3134 "stdint-darwin.h\0stdint.h\0";
3136 * Machine/OS name selection pattern
3138 tSCC* apzDarwin_Stdint_5Machs[] = {
3140 (const char*)NULL };
3143 * content selection pattern - do fix if pattern found
3145 tSCC zDarwin_Stdint_5Select0[] =
3146 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3147 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3148 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3150 #define DARWIN_STDINT_5_TEST_CT 1
3151 static tTestDesc aDarwin_Stdint_5Tests[] = {
3152 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3155 * Fix Command Arguments for Darwin_Stdint_5
3157 static const char* apzDarwin_Stdint_5Patch[] = {
3159 "#if __WORDSIZE == 64\n\
3160 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3161 #define INTMAX_MAX 9223372036854775807L\n\
3162 #define UINTMAX_MAX 18446744073709551615UL\n\
3164 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3165 #define INTMAX_MAX 9223372036854775807LL\n\
3166 #define UINTMAX_MAX 18446744073709551615ULL\n\
3170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3172 * Description of Darwin_Stdint_6 fix
3174 tSCC zDarwin_Stdint_6Name[] =
3178 * File name selection pattern
3180 tSCC zDarwin_Stdint_6List[] =
3181 "stdint-darwin.h\0stdint.h\0";
3183 * Machine/OS name selection pattern
3185 tSCC* apzDarwin_Stdint_6Machs[] = {
3187 (const char*)NULL };
3190 * content selection pattern - do fix if pattern found
3192 tSCC zDarwin_Stdint_6Select0[] =
3193 "#if __WORDSIZE == 64\n\
3194 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3195 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3197 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3198 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3201 #define DARWIN_STDINT_6_TEST_CT 1
3202 static tTestDesc aDarwin_Stdint_6Tests[] = {
3203 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3206 * Fix Command Arguments for Darwin_Stdint_6
3208 static const char* apzDarwin_Stdint_6Patch[] = {
3210 "#if __WORDSIZE == 64\n\
3211 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3212 #define PTRDIFF_MAX 9223372036854775807L\n\
3214 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3215 #define PTRDIFF_MAX 2147483647\n\
3219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3221 * Description of Darwin_Stdint_7 fix
3223 tSCC zDarwin_Stdint_7Name[] =
3227 * File name selection pattern
3229 tSCC zDarwin_Stdint_7List[] =
3230 "stdint-darwin.h\0stdint.h\0";
3232 * Machine/OS name selection pattern
3234 tSCC* apzDarwin_Stdint_7Machs[] = {
3236 (const char*)NULL };
3239 * content selection pattern - do fix if pattern found
3241 tSCC zDarwin_Stdint_7Select0[] =
3242 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3243 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3245 #define DARWIN_STDINT_7_TEST_CT 1
3246 static tTestDesc aDarwin_Stdint_7Tests[] = {
3247 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3250 * Fix Command Arguments for Darwin_Stdint_7
3252 static const char* apzDarwin_Stdint_7Patch[] = {
3254 "#if __WORDSIZE == 64\n\
3255 #define INTMAX_C(v) (v ## L)\n\
3256 #define UINTMAX_C(v) (v ## UL)\n\
3258 #define INTMAX_C(v) (v ## LL)\n\
3259 #define UINTMAX_C(v) (v ## ULL)\n\
3263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3265 * Description of Dec_Intern_Asm fix
3267 tSCC zDec_Intern_AsmName[] =
3271 * File name selection pattern
3273 tSCC zDec_Intern_AsmList[] =
3276 * Machine/OS name selection pattern
3278 #define apzDec_Intern_AsmMachs (const char**)NULL
3279 #define DEC_INTERN_ASM_TEST_CT 0
3280 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3283 * Fix Command Arguments for Dec_Intern_Asm
3285 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3286 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3288 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3294 * Description of Djgpp_Wchar_H fix
3296 tSCC zDjgpp_Wchar_HName[] =
3300 * File name selection pattern
3302 #define zDjgpp_Wchar_HList (char*)NULL
3304 * Machine/OS name selection pattern
3306 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3309 * content selection pattern - do fix if pattern found
3311 tSCC zDjgpp_Wchar_HSelect0[] =
3315 * content bypass pattern - skip fix if pattern found
3317 tSCC zDjgpp_Wchar_HBypass0[] =
3320 #define DJGPP_WCHAR_H_TEST_CT 2
3321 static tTestDesc aDjgpp_Wchar_HTests[] = {
3322 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3323 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3326 * Fix Command Arguments for Djgpp_Wchar_H
3328 static const char* apzDjgpp_Wchar_HPatch[] = {
3331 #include <sys/djtypes.h>",
3332 "#include <stddef.h>",
3335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3337 * Description of Ecd_Cursor fix
3339 tSCC zEcd_CursorName[] =
3343 * File name selection pattern
3345 tSCC zEcd_CursorList[] =
3346 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3348 * Machine/OS name selection pattern
3350 #define apzEcd_CursorMachs (const char**)NULL
3353 * content selection pattern - do fix if pattern found
3355 tSCC zEcd_CursorSelect0[] =
3358 #define ECD_CURSOR_TEST_CT 1
3359 static tTestDesc aEcd_CursorTests[] = {
3360 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3363 * Fix Command Arguments for Ecd_Cursor
3365 static const char* apzEcd_CursorPatch[] = {
3370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3372 * Description of Feraiseexcept_Nosse_Divbyzero fix
3374 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3375 "feraiseexcept_nosse_divbyzero";
3378 * File name selection pattern
3380 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3381 "bits/fenv.h\0*/bits/fenv.h\0";
3383 * Machine/OS name selection pattern
3385 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3386 "i[34567]86-*-linux*",
3389 (const char*)NULL };
3392 * content selection pattern - do fix if pattern found
3394 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3395 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3398 * content bypass pattern - skip fix if pattern found
3400 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3401 "\"fdivp .*; fwait\"";
3403 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3404 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3405 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3406 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3409 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3411 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3413 "# ifdef __SSE_MATH__\n\
3416 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3417 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3423 * Description of Feraiseexcept_Nosse_Invalid fix
3425 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3426 "feraiseexcept_nosse_invalid";
3429 * File name selection pattern
3431 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3432 "bits/fenv.h\0*/bits/fenv.h\0";
3434 * Machine/OS name selection pattern
3436 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3437 "i[34567]86-*-linux*",
3440 (const char*)NULL };
3443 * content selection pattern - do fix if pattern found
3445 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3446 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3449 * content bypass pattern - skip fix if pattern found
3451 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3452 "\"fdiv .*; fwait\"";
3454 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3455 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3456 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3457 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3460 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3462 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3464 "# ifdef __SSE_MATH__\n\
3467 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3468 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3474 * Description of Freebsd_Gcc3_Breakage fix
3476 tSCC zFreebsd_Gcc3_BreakageName[] =
3477 "freebsd_gcc3_breakage";
3480 * File name selection pattern
3482 tSCC zFreebsd_Gcc3_BreakageList[] =
3485 * Machine/OS name selection pattern
3487 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3489 (const char*)NULL };
3492 * content selection pattern - do fix if pattern found
3494 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3495 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3498 * content bypass pattern - skip fix if pattern found
3500 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3501 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3503 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3504 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3505 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3506 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3509 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3511 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3513 "%0 || __GNUC__ >= 3",
3516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3518 * Description of Freebsd_Gcc4_Breakage fix
3520 tSCC zFreebsd_Gcc4_BreakageName[] =
3521 "freebsd_gcc4_breakage";
3524 * File name selection pattern
3526 tSCC zFreebsd_Gcc4_BreakageList[] =
3529 * Machine/OS name selection pattern
3531 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3533 (const char*)NULL };
3536 * content selection pattern - do fix if pattern found
3538 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3539 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3541 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3542 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3543 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3546 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3548 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3550 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3555 * Description of Glibc_C99_Inline_1 fix
3557 tSCC zGlibc_C99_Inline_1Name[] =
3558 "glibc_c99_inline_1";
3561 * File name selection pattern
3563 tSCC zGlibc_C99_Inline_1List[] =
3564 "features.h\0*/features.h\0";
3566 * Machine/OS name selection pattern
3568 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3571 * content selection pattern - do fix if pattern found
3573 tSCC zGlibc_C99_Inline_1Select0[] =
3574 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3576 #define GLIBC_C99_INLINE_1_TEST_CT 1
3577 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3578 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3581 * Fix Command Arguments for Glibc_C99_Inline_1
3583 static const char* apzGlibc_C99_Inline_1Patch[] = {
3585 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3590 * Description of Glibc_C99_Inline_1a fix
3592 tSCC zGlibc_C99_Inline_1aName[] =
3593 "glibc_c99_inline_1a";
3596 * File name selection pattern
3598 tSCC zGlibc_C99_Inline_1aList[] =
3599 "features.h\0*/features.h\0";
3601 * Machine/OS name selection pattern
3603 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3606 * content selection pattern - do fix if pattern found
3608 tSCC zGlibc_C99_Inline_1aSelect0[] =
3609 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3610 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3612 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3613 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3614 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3617 * Fix Command Arguments for Glibc_C99_Inline_1a
3619 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3621 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3627 * Description of Glibc_C99_Inline_2 fix
3629 tSCC zGlibc_C99_Inline_2Name[] =
3630 "glibc_c99_inline_2";
3633 * File name selection pattern
3635 tSCC zGlibc_C99_Inline_2List[] =
3636 "sys/stat.h\0*/sys/stat.h\0";
3638 * Machine/OS name selection pattern
3640 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3643 * content selection pattern - do fix if pattern found
3645 tSCC zGlibc_C99_Inline_2Select0[] =
3646 "extern __inline__ int";
3648 #define GLIBC_C99_INLINE_2_TEST_CT 1
3649 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3650 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3653 * Fix Command Arguments for Glibc_C99_Inline_2
3655 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3656 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3659 __inline__ int \\1/",
3660 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3663 __inline__ int \\1/",
3664 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3667 __inline__ int \\1/",
3668 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3671 __inline__ int __REDIRECT\\1 (\\2/",
3672 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3675 __inline__ int __REDIRECT\\1 (\\2/",
3676 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3684 * Description of Glibc_C99_Inline_3 fix
3686 tSCC zGlibc_C99_Inline_3Name[] =
3687 "glibc_c99_inline_3";
3690 * File name selection pattern
3692 tSCC zGlibc_C99_Inline_3List[] =
3693 "bits/string2.h\0*/bits/string2.h\0";
3695 * Machine/OS name selection pattern
3697 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3700 * content selection pattern - do fix if pattern found
3702 tSCC zGlibc_C99_Inline_3Select0[] =
3706 * content bypass pattern - skip fix if pattern found
3708 tSCC zGlibc_C99_Inline_3Bypass0[] =
3709 "__extern_inline|__GNU_STDC_INLINE__";
3711 #define GLIBC_C99_INLINE_3_TEST_CT 2
3712 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3713 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3714 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3717 * Fix Command Arguments for Glibc_C99_Inline_3
3719 static const char* apzGlibc_C99_Inline_3Patch[] = {
3721 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3722 "^# ifdef __cplusplus$",
3725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3727 * Description of Glibc_C99_Inline_4 fix
3729 tSCC zGlibc_C99_Inline_4Name[] =
3730 "glibc_c99_inline_4";
3733 * File name selection pattern
3735 tSCC zGlibc_C99_Inline_4List[] =
3736 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3738 * Machine/OS name selection pattern
3740 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3743 * content selection pattern - do fix if pattern found
3745 tSCC zGlibc_C99_Inline_4Select0[] =
3746 "(^| )extern __inline";
3749 * content bypass pattern - skip fix if pattern found
3751 tSCC zGlibc_C99_Inline_4Bypass0[] =
3752 "__extern_inline|__gnu_inline__";
3754 #define GLIBC_C99_INLINE_4_TEST_CT 2
3755 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3756 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3757 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3760 * Fix Command Arguments for Glibc_C99_Inline_4
3762 static const char* apzGlibc_C99_Inline_4Patch[] = {
3764 "%0 __attribute__ ((__gnu_inline__))",
3767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3769 * Description of Glibc_Mutex_Init fix
3771 tSCC zGlibc_Mutex_InitName[] =
3775 * File name selection pattern
3777 tSCC zGlibc_Mutex_InitList[] =
3780 * Machine/OS name selection pattern
3782 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3785 * content selection pattern - do fix if pattern found
3787 tSCC zGlibc_Mutex_InitSelect0[] =
3788 "\\{ *\\{ *0, *\\} *\\}";
3790 #define GLIBC_MUTEX_INIT_TEST_CT 1
3791 static tTestDesc aGlibc_Mutex_InitTests[] = {
3792 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3795 * Fix Command Arguments for Glibc_Mutex_Init
3797 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3798 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3800 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3802 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3803 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3804 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3805 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3806 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3807 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3808 "-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\
3810 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3813 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3815 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3816 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3821 * Description of Glibc_Stdint fix
3823 tSCC zGlibc_StdintName[] =
3827 * File name selection pattern
3829 tSCC zGlibc_StdintList[] =
3832 * Machine/OS name selection pattern
3834 #define apzGlibc_StdintMachs (const char**)NULL
3837 * content selection pattern - do fix if pattern found
3839 tSCC zGlibc_StdintSelect0[] =
3842 #define GLIBC_STDINT_TEST_CT 1
3843 static tTestDesc aGlibc_StdintTests[] = {
3844 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3847 * Fix Command Arguments for Glibc_Stdint
3849 static const char* apzGlibc_StdintPatch[] = {
3851 "# define UINT8_C(c)\tc\n\
3852 # define UINT16_C(c)\tc",
3853 "# define UINT8_C\\(c\\)\tc ## U\n\
3854 # define UINT16_C\\(c\\)\tc ## U",
3857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3859 * Description of Glibc_Strncpy fix
3861 tSCC zGlibc_StrncpyName[] =
3865 * File name selection pattern
3867 tSCC zGlibc_StrncpyList[] =
3868 "bits/string2.h\0*/bits/string2.h\0";
3870 * Machine/OS name selection pattern
3872 #define apzGlibc_StrncpyMachs (const char**)NULL
3875 * content bypass pattern - skip fix if pattern found
3877 tSCC zGlibc_StrncpyBypass0[] =
3878 "__builtin_strncpy";
3880 #define GLIBC_STRNCPY_TEST_CT 1
3881 static tTestDesc aGlibc_StrncpyTests[] = {
3882 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3885 * Fix Command Arguments for Glibc_Strncpy
3887 static const char* apzGlibc_StrncpyPatch[] = {
3889 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3890 "# define strncpy([^\n\
3896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3898 * Description of Glibc_Tgmath fix
3900 tSCC zGlibc_TgmathName[] =
3904 * File name selection pattern
3906 tSCC zGlibc_TgmathList[] =
3909 * Machine/OS name selection pattern
3911 #define apzGlibc_TgmathMachs (const char**)NULL
3914 * content selection pattern - do fix if pattern found
3916 tSCC zGlibc_TgmathSelect0[] =
3917 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3920 * content bypass pattern - skip fix if pattern found
3922 tSCC zGlibc_TgmathBypass0[] =
3923 "__floating_type\\(type\\) \\\\\n\
3924 .*__builtin_classify_type";
3926 #define GLIBC_TGMATH_TEST_CT 2
3927 static tTestDesc aGlibc_TgmathTests[] = {
3928 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3929 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3932 * Fix Command Arguments for Glibc_Tgmath
3934 static const char* apzGlibc_TgmathPatch[] = {
3936 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3941 * Description of Gnu_Types fix
3943 tSCC zGnu_TypesName[] =
3947 * File name selection pattern
3949 tSCC zGnu_TypesList[] =
3950 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3952 * Machine/OS name selection pattern
3954 tSCC* apzGnu_TypesMachs[] = {
3955 "*-*-solaris2.1[0-9]*",
3956 (const char*)NULL };
3959 * content selection pattern - do fix if pattern found
3961 tSCC zGnu_TypesSelect0[] =
3962 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3965 * content bypass pattern - skip fix if pattern found
3967 tSCC zGnu_TypesBypass0[] =
3968 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3970 #define GNU_TYPES_TEST_CT 2
3971 static tTestDesc aGnu_TypesTests[] = {
3972 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3973 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3976 * Fix Command Arguments for Gnu_Types
3978 static const char* apzGnu_TypesPatch[] = {
3982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3984 * Description of Hp_Inline fix
3986 tSCC zHp_InlineName[] =
3990 * File name selection pattern
3992 tSCC zHp_InlineList[] =
3993 "sys/spinlock.h\0machine/machparam.h\0";
3995 * Machine/OS name selection pattern
3997 #define apzHp_InlineMachs (const char**)NULL
4000 * content selection pattern - do fix if pattern found
4002 tSCC zHp_InlineSelect0[] =
4003 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4005 #define HP_INLINE_TEST_CT 1
4006 static tTestDesc aHp_InlineTests[] = {
4007 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4010 * Fix Command Arguments for Hp_Inline
4012 static const char* apzHp_InlinePatch[] = {
4015 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4020 * Description of Hp_Sysfile fix
4022 tSCC zHp_SysfileName[] =
4026 * File name selection pattern
4028 tSCC zHp_SysfileList[] =
4031 * Machine/OS name selection pattern
4033 #define apzHp_SysfileMachs (const char**)NULL
4036 * content selection pattern - do fix if pattern found
4038 tSCC zHp_SysfileSelect0[] =
4041 #define HP_SYSFILE_TEST_CT 1
4042 static tTestDesc aHp_SysfileTests[] = {
4043 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4046 * Fix Command Arguments for Hp_Sysfile
4048 static const char* apzHp_SysfilePatch[] = {
4050 "(struct file *, ...)",
4054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4056 * Description of Hppa_Hpux_Fp_Macros fix
4058 tSCC zHppa_Hpux_Fp_MacrosName[] =
4059 "hppa_hpux_fp_macros";
4062 * File name selection pattern
4064 tSCC zHppa_Hpux_Fp_MacrosList[] =
4067 * Machine/OS name selection pattern
4069 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4071 (const char*)NULL };
4074 * content selection pattern - do fix if pattern found
4076 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4077 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4078 #[ \t]*define[ \t]*FP_ZERO.*\n\
4079 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4080 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4081 #[ \t]*define[ \t]*FP_NAN.*\n";
4083 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4084 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4085 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4088 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4090 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4092 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4093 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4094 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4096 #ifdef _INCLUDE_HPUX_SOURCE\n",
4099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4101 * Description of Hpux10_Cpp_Pow_Inline fix
4103 tSCC zHpux10_Cpp_Pow_InlineName[] =
4104 "hpux10_cpp_pow_inline";
4107 * File name selection pattern
4109 tSCC zHpux10_Cpp_Pow_InlineList[] =
4110 "fixinc-test-limits.h\0math.h\0";
4112 * Machine/OS name selection pattern
4114 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4117 * content selection pattern - do fix if pattern found
4119 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4120 "^# +ifdef +__cplusplus\n\
4122 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4123 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4125 +extern +\"C\" +\\{\n\
4129 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4130 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4131 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4134 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4136 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4143 * Description of Hpux11_Cpp_Pow_Inline fix
4145 tSCC zHpux11_Cpp_Pow_InlineName[] =
4146 "hpux11_cpp_pow_inline";
4149 * File name selection pattern
4151 tSCC zHpux11_Cpp_Pow_InlineList[] =
4154 * Machine/OS name selection pattern
4156 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4159 * content selection pattern - do fix if pattern found
4161 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4162 " +inline double pow\\(double d,int expon\\) \\{\n\
4163 +return pow\\(d, \\(double\\)expon\\);\n\
4166 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4167 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4168 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4171 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4173 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4180 * Description of Hpux10_Ctype_Declarations1 fix
4182 tSCC zHpux10_Ctype_Declarations1Name[] =
4183 "hpux10_ctype_declarations1";
4186 * File name selection pattern
4188 tSCC zHpux10_Ctype_Declarations1List[] =
4191 * Machine/OS name selection pattern
4193 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4196 * content selection pattern - do fix if pattern found
4198 tSCC zHpux10_Ctype_Declarations1Select0[] =
4199 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4202 * content bypass pattern - skip fix if pattern found
4204 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4205 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4207 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4208 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4209 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4210 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4213 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4215 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4217 "#ifdef _PROTOTYPES\n\
4218 extern int __tolower(int);\n\
4219 extern int __toupper(int);\n\
4220 #else /* NOT _PROTOTYPES */\n\
4221 extern int __tolower();\n\
4222 extern int __toupper();\n\
4223 #endif /* _PROTOTYPES */\n\n\
4227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4229 * Description of Hpux10_Ctype_Declarations2 fix
4231 tSCC zHpux10_Ctype_Declarations2Name[] =
4232 "hpux10_ctype_declarations2";
4235 * File name selection pattern
4237 tSCC zHpux10_Ctype_Declarations2List[] =
4240 * Machine/OS name selection pattern
4242 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4245 * content selection pattern - do fix if pattern found
4247 tSCC zHpux10_Ctype_Declarations2Select0[] =
4248 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4251 * content bypass pattern - skip fix if pattern found
4253 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4254 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4256 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4257 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4258 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4259 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4262 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4264 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4267 #ifdef _PROTOTYPES\n\
4268 extern int _isalnum(int);\n\
4269 extern int _isalpha(int);\n\
4270 extern int _iscntrl(int);\n\
4271 extern int _isdigit(int);\n\
4272 extern int _isgraph(int);\n\
4273 extern int _islower(int);\n\
4274 extern int _isprint(int);\n\
4275 extern int _ispunct(int);\n\
4276 extern int _isspace(int);\n\
4277 extern int _isupper(int);\n\
4278 extern int _isxdigit(int);\n\
4279 # else /* not _PROTOTYPES */\n\
4280 extern int _isalnum();\n\
4281 extern int _isalpha();\n\
4282 extern int _iscntrl();\n\
4283 extern int _isdigit();\n\
4284 extern int _isgraph();\n\
4285 extern int _islower();\n\
4286 extern int _isprint();\n\
4287 extern int _ispunct();\n\
4288 extern int _isspace();\n\
4289 extern int _isupper();\n\
4290 extern int _isxdigit();\n\
4291 #endif /* _PROTOTYPES */\n",
4294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4296 * Description of Hpux10_Stdio_Declarations fix
4298 tSCC zHpux10_Stdio_DeclarationsName[] =
4299 "hpux10_stdio_declarations";
4302 * File name selection pattern
4304 tSCC zHpux10_Stdio_DeclarationsList[] =
4307 * Machine/OS name selection pattern
4309 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4312 * content selection pattern - do fix if pattern found
4314 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4315 "^#[ \t]*define _iob[ \t]*__iob";
4318 * content bypass pattern - skip fix if pattern found
4320 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4321 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4323 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4324 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4325 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4326 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4329 * Fix Command Arguments for Hpux10_Stdio_Declarations
4331 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4334 # if defined(__STDC__) || defined(__cplusplus)\n\
4335 extern int snprintf(char *, size_t, const char *, ...);\n\
4336 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4337 # else /* not __STDC__) || __cplusplus */\n\
4338 extern int snprintf();\n\
4339 extern int vsnprintf();\n\
4340 # endif /* __STDC__) || __cplusplus */\n",
4343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4345 * Description of Hpux11_Abs fix
4347 tSCC zHpux11_AbsName[] =
4351 * File name selection pattern
4353 tSCC zHpux11_AbsList[] =
4356 * Machine/OS name selection pattern
4358 tSCC* apzHpux11_AbsMachs[] = {
4360 (const char*)NULL };
4363 * content selection pattern - do fix if pattern found
4365 tSCC zHpux11_AbsSelect0[] =
4366 "ifndef _MATH_INCLUDED";
4368 #define HPUX11_ABS_TEST_CT 1
4369 static tTestDesc aHpux11_AbsTests[] = {
4370 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4373 * Fix Command Arguments for Hpux11_Abs
4375 static const char* apzHpux11_AbsPatch[] = {
4377 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4382 * Description of Hpux11_Lwp_Rwlock_Valid fix
4384 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4385 "hpux11_lwp_rwlock_valid";
4388 * File name selection pattern
4390 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4393 * Machine/OS name selection pattern
4395 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4397 (const char*)NULL };
4400 * content selection pattern - do fix if pattern found
4402 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4403 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4405 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4406 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4407 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4410 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4412 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4414 "#define __LWP_RWLOCK_VALID -29551",
4417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4419 * Description of Hpux11_Extern_Sendfile fix
4421 tSCC zHpux11_Extern_SendfileName[] =
4422 "hpux11_extern_sendfile";
4425 * File name selection pattern
4427 tSCC zHpux11_Extern_SendfileList[] =
4430 * Machine/OS name selection pattern
4432 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4433 "*-hp-hpux11.[12]*",
4434 (const char*)NULL };
4437 * content selection pattern - do fix if pattern found
4439 tSCC zHpux11_Extern_SendfileSelect0[] =
4440 "^[ \t]*extern sbsize_t sendfile.*\n\
4443 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4444 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4445 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4448 * Fix Command Arguments for Hpux11_Extern_Sendfile
4450 static const char* apzHpux11_Extern_SendfilePatch[] = {
4452 "#ifndef _APP32_64BIT_OFF_T\n\
4456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4458 * Description of Hpux11_Extern_Sendpath fix
4460 tSCC zHpux11_Extern_SendpathName[] =
4461 "hpux11_extern_sendpath";
4464 * File name selection pattern
4466 tSCC zHpux11_Extern_SendpathList[] =
4469 * Machine/OS name selection pattern
4471 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4472 "*-hp-hpux11.[12]*",
4473 (const char*)NULL };
4476 * content selection pattern - do fix if pattern found
4478 tSCC zHpux11_Extern_SendpathSelect0[] =
4479 "^[ \t]*extern sbsize_t sendpath.*\n\
4482 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4483 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4484 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4487 * Fix Command Arguments for Hpux11_Extern_Sendpath
4489 static const char* apzHpux11_Extern_SendpathPatch[] = {
4491 "#ifndef _APP32_64BIT_OFF_T\n\
4495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4497 * Description of Hpux11_Fabsf fix
4499 tSCC zHpux11_FabsfName[] =
4503 * File name selection pattern
4505 tSCC zHpux11_FabsfList[] =
4508 * Machine/OS name selection pattern
4510 tSCC* apzHpux11_FabsfMachs[] = {
4512 (const char*)NULL };
4515 * content selection pattern - do fix if pattern found
4517 tSCC zHpux11_FabsfSelect0[] =
4518 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4520 #define HPUX11_FABSF_TEST_CT 1
4521 static tTestDesc aHpux11_FabsfTests[] = {
4522 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4525 * Fix Command Arguments for Hpux11_Fabsf
4527 static const char* apzHpux11_FabsfPatch[] = {
4529 "#ifndef __cplusplus\n\
4534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4536 * Description of Hpux11_Pthread_Const fix
4538 tSCC zHpux11_Pthread_ConstName[] =
4539 "hpux11_pthread_const";
4542 * File name selection pattern
4544 tSCC zHpux11_Pthread_ConstList[] =
4547 * Machine/OS name selection pattern
4549 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4550 "*-hp-hpux11.[0-3]*",
4551 (const char*)NULL };
4554 * content selection pattern - do fix if pattern found
4556 tSCC zHpux11_Pthread_ConstSelect0[] =
4557 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
4559 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4560 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4561 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4564 * Fix Command Arguments for Hpux11_Pthread_Const
4566 static const char* apzHpux11_Pthread_ConstPatch[] = {
4568 "#define __POINTER_SET\t\t((void *) 1L)",
4571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4573 * Description of Hpux11_Size_T fix
4575 tSCC zHpux11_Size_TName[] =
4579 * File name selection pattern
4581 #define zHpux11_Size_TList (char*)NULL
4583 * Machine/OS name selection pattern
4585 tSCC* apzHpux11_Size_TMachs[] = {
4587 (const char*)NULL };
4590 * content selection pattern - do fix if pattern found
4592 tSCC zHpux11_Size_TSelect0[] =
4595 #define HPUX11_SIZE_T_TEST_CT 1
4596 static tTestDesc aHpux11_Size_TTests[] = {
4597 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4600 * Fix Command Arguments for Hpux11_Size_T
4602 static const char* apzHpux11_Size_TPatch[] = {
4607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4609 * Description of Hpux11_Snprintf fix
4611 tSCC zHpux11_SnprintfName[] =
4615 * File name selection pattern
4617 tSCC zHpux11_SnprintfList[] =
4620 * Machine/OS name selection pattern
4622 #define apzHpux11_SnprintfMachs (const char**)NULL
4625 * content selection pattern - do fix if pattern found
4627 tSCC zHpux11_SnprintfSelect0[] =
4628 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4630 #define HPUX11_SNPRINTF_TEST_CT 1
4631 static tTestDesc aHpux11_SnprintfTests[] = {
4632 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4635 * Fix Command Arguments for Hpux11_Snprintf
4637 static const char* apzHpux11_SnprintfPatch[] = {
4642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4644 * Description of Hpux11_Vsnprintf fix
4646 tSCC zHpux11_VsnprintfName[] =
4650 * File name selection pattern
4652 tSCC zHpux11_VsnprintfList[] =
4655 * Machine/OS name selection pattern
4657 #define apzHpux11_VsnprintfMachs (const char**)NULL
4660 * content selection pattern - do fix if pattern found
4662 tSCC zHpux11_VsnprintfSelect0[] =
4663 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4665 #define HPUX11_VSNPRINTF_TEST_CT 1
4666 static tTestDesc aHpux11_VsnprintfTests[] = {
4667 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4670 * Fix Command Arguments for Hpux11_Vsnprintf
4672 static const char* apzHpux11_VsnprintfPatch[] = {
4677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4679 * Description of Hpux_Vsscanf fix
4681 tSCC zHpux_VsscanfName[] =
4685 * File name selection pattern
4687 tSCC zHpux_VsscanfList[] =
4690 * Machine/OS name selection pattern
4692 tSCC* apzHpux_VsscanfMachs[] = {
4694 (const char*)NULL };
4697 * content selection pattern - do fix if pattern found
4699 tSCC zHpux_VsscanfSelect0[] =
4700 "(extern int vsscanf\\()char";
4702 #define HPUX_VSSCANF_TEST_CT 1
4703 static tTestDesc aHpux_VsscanfTests[] = {
4704 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4707 * Fix Command Arguments for Hpux_Vsscanf
4709 static const char* apzHpux_VsscanfPatch[] = {
4714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4716 * Description of Hpux8_Bogus_Inlines fix
4718 tSCC zHpux8_Bogus_InlinesName[] =
4719 "hpux8_bogus_inlines";
4722 * File name selection pattern
4724 tSCC zHpux8_Bogus_InlinesList[] =
4727 * Machine/OS name selection pattern
4729 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4732 * content selection pattern - do fix if pattern found
4734 tSCC zHpux8_Bogus_InlinesSelect0[] =
4738 * content bypass pattern - skip fix if pattern found
4740 tSCC zHpux8_Bogus_InlinesBypass0[] =
4743 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4744 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4745 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4746 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4749 * Fix Command Arguments for Hpux8_Bogus_Inlines
4751 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4752 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4753 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4754 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4755 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4760 * Description of Hpux_C99_Intptr fix
4762 tSCC zHpux_C99_IntptrName[] =
4766 * File name selection pattern
4768 tSCC zHpux_C99_IntptrList[] =
4769 "stdint-hpux11.h\0stdint.h\0";
4771 * Machine/OS name selection pattern
4773 tSCC* apzHpux_C99_IntptrMachs[] = {
4775 (const char*)NULL };
4776 #define HPUX_C99_INTPTR_TEST_CT 0
4777 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4780 * Fix Command Arguments for Hpux_C99_Intptr
4782 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4783 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4784 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4785 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4786 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4787 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4788 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4791 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4793 * Description of Hpux_C99_Inttypes fix
4795 tSCC zHpux_C99_InttypesName[] =
4796 "hpux_c99_inttypes";
4799 * File name selection pattern
4801 tSCC zHpux_C99_InttypesList[] =
4802 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4804 * Machine/OS name selection pattern
4806 tSCC* apzHpux_C99_InttypesMachs[] = {
4807 "*-hp-hpux11.[23]*",
4808 (const char*)NULL };
4809 #define HPUX_C99_INTTYPES_TEST_CT 0
4810 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4813 * Fix Command Arguments for Hpux_C99_Inttypes
4815 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4816 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4817 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4818 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4819 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4824 * Description of Hpux_C99_Inttypes2 fix
4826 tSCC zHpux_C99_Inttypes2Name[] =
4827 "hpux_c99_inttypes2";
4830 * File name selection pattern
4832 tSCC zHpux_C99_Inttypes2List[] =
4833 "stdint-hpux11.h\0stdint.h\0";
4835 * Machine/OS name selection pattern
4837 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4839 (const char*)NULL };
4840 #define HPUX_C99_INTTYPES2_TEST_CT 0
4841 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4844 * Fix Command Arguments for Hpux_C99_Inttypes2
4846 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4847 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4848 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4849 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4850 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4855 * Description of Hpux_Ctype_Macros fix
4857 tSCC zHpux_Ctype_MacrosName[] =
4858 "hpux_ctype_macros";
4861 * File name selection pattern
4863 tSCC zHpux_Ctype_MacrosList[] =
4866 * Machine/OS name selection pattern
4868 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4871 * content selection pattern - do fix if pattern found
4873 tSCC zHpux_Ctype_MacrosSelect0[] =
4874 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4876 #define HPUX_CTYPE_MACROS_TEST_CT 1
4877 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4878 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4881 * Fix Command Arguments for Hpux_Ctype_Macros
4883 static const char* apzHpux_Ctype_MacrosPatch[] = {
4888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4890 * Description of Hpux_Extern_Errno fix
4892 tSCC zHpux_Extern_ErrnoName[] =
4893 "hpux_extern_errno";
4896 * File name selection pattern
4898 tSCC zHpux_Extern_ErrnoList[] =
4901 * Machine/OS name selection pattern
4903 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4905 "*-hp-hpux11.[0-2]*",
4906 (const char*)NULL };
4909 * content selection pattern - do fix if pattern found
4911 tSCC zHpux_Extern_ErrnoSelect0[] =
4912 "^[ \t]*extern int errno;$";
4914 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4915 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4916 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4919 * Fix Command Arguments for Hpux_Extern_Errno
4921 static const char* apzHpux_Extern_ErrnoPatch[] = {
4923 "#ifdef __cplusplus\n\
4927 #ifdef __cplusplus\n\
4932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4934 * Description of Hpux_Htonl fix
4936 tSCC zHpux_HtonlName[] =
4940 * File name selection pattern
4942 tSCC zHpux_HtonlList[] =
4945 * Machine/OS name selection pattern
4947 #define apzHpux_HtonlMachs (const char**)NULL
4950 * content selection pattern - do fix if pattern found
4952 tSCC zHpux_HtonlSelect0[] =
4953 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4955 \\* Macros for number representation conversion\\.\n\
4959 #define HPUX_HTONL_TEST_CT 1
4960 static tTestDesc aHpux_HtonlTests[] = {
4961 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
4964 * Fix Command Arguments for Hpux_Htonl
4966 static const char* apzHpux_HtonlPatch[] = {
4972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4974 * Description of Hpux_Imaginary_I fix
4976 tSCC zHpux_Imaginary_IName[] =
4980 * File name selection pattern
4982 tSCC zHpux_Imaginary_IList[] =
4985 * Machine/OS name selection pattern
4987 tSCC* apzHpux_Imaginary_IMachs[] = {
4989 (const char*)NULL };
4992 * content selection pattern - do fix if pattern found
4994 tSCC zHpux_Imaginary_ISelect0[] =
4995 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4997 #define HPUX_IMAGINARY_I_TEST_CT 1
4998 static tTestDesc aHpux_Imaginary_ITests[] = {
4999 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5002 * Fix Command Arguments for Hpux_Imaginary_I
5004 static const char* apzHpux_Imaginary_IPatch[] = {
5006 "#define _Complex_I (__extension__ 1.0iF)",
5009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5011 * Description of Hpux_Inttype_Int8_T fix
5013 tSCC zHpux_Inttype_Int8_TName[] =
5014 "hpux_inttype_int8_t";
5017 * File name selection pattern
5019 tSCC zHpux_Inttype_Int8_TList[] =
5020 "sys/_inttypes.h\0";
5022 * Machine/OS name selection pattern
5024 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5026 (const char*)NULL };
5029 * content selection pattern - do fix if pattern found
5031 tSCC zHpux_Inttype_Int8_TSelect0[] =
5032 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5034 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5035 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5036 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5039 * Fix Command Arguments for Hpux_Inttype_Int8_T
5041 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5043 "typedef signed char int%18_t;",
5046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5048 * Description of Hpux_Long_Double fix
5050 tSCC zHpux_Long_DoubleName[] =
5054 * File name selection pattern
5056 tSCC zHpux_Long_DoubleList[] =
5059 * Machine/OS name selection pattern
5061 tSCC* apzHpux_Long_DoubleMachs[] = {
5063 "*-*-hpux11.[012]*",
5064 (const char*)NULL };
5067 * content selection pattern - do fix if pattern found
5069 tSCC zHpux_Long_DoubleSelect0[] =
5070 "extern[ \t]long_double[ \t]strtold";
5073 * content bypass pattern - skip fix if pattern found
5075 tSCC zHpux_Long_DoubleBypass0[] =
5078 #define HPUX_LONG_DOUBLE_TEST_CT 2
5079 static tTestDesc aHpux_Long_DoubleTests[] = {
5080 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5081 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5084 * Fix Command Arguments for Hpux_Long_Double
5086 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5087 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5088 "-e", "s/long_double/long double/g",
5091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5093 * Description of Hpux_Long_Double_2 fix
5095 tSCC zHpux_Long_Double_2Name[] =
5096 "hpux_long_double_2";
5099 * File name selection pattern
5101 tSCC zHpux_Long_Double_2List[] =
5104 * Machine/OS name selection pattern
5106 tSCC* apzHpux_Long_Double_2Machs[] = {
5107 "hppa*-*-hpux11.3*",
5108 (const char*)NULL };
5111 * content selection pattern - do fix if pattern found
5113 tSCC zHpux_Long_Double_2Select0[] =
5114 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5116 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5117 static tTestDesc aHpux_Long_Double_2Tests[] = {
5118 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5121 * Fix Command Arguments for Hpux_Long_Double_2
5123 static const char* apzHpux_Long_Double_2Patch[] = {
5125 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5128 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5130 * Description of Hpux_Pthread_Initializers fix
5132 tSCC zHpux_Pthread_InitializersName[] =
5133 "hpux_pthread_initializers";
5136 * File name selection pattern
5138 tSCC zHpux_Pthread_InitializersList[] =
5141 * Machine/OS name selection pattern
5143 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5144 "*-hp-hpux11.[0-3]*",
5145 (const char*)NULL };
5146 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5147 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5150 * Fix Command Arguments for Hpux_Pthread_Initializers
5152 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5153 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5154 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5155 "-e", "/^[ \t]*0$/d",
5156 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5157 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5158 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5159 "-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\\\\@",
5160 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5161 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5162 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5163 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5164 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5165 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5170 * Description of Hpux_Spu_Info fix
5172 tSCC zHpux_Spu_InfoName[] =
5176 * File name selection pattern
5178 tSCC zHpux_Spu_InfoList[] =
5179 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5181 * Machine/OS name selection pattern
5183 tSCC* apzHpux_Spu_InfoMachs[] = {
5185 (const char*)NULL };
5188 * content selection pattern - do fix if pattern found
5190 tSCC zHpux_Spu_InfoSelect0[] =
5191 "^.*extern.*spu_info.*";
5193 #define HPUX_SPU_INFO_TEST_CT 1
5194 static tTestDesc aHpux_Spu_InfoTests[] = {
5195 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5198 * Fix Command Arguments for Hpux_Spu_Info
5200 static const char* apzHpux_Spu_InfoPatch[] = {
5207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5209 * Description of Hpux_Stdint_Least_Fast fix
5211 tSCC zHpux_Stdint_Least_FastName[] =
5212 "hpux_stdint_least_fast";
5215 * File name selection pattern
5217 tSCC zHpux_Stdint_Least_FastList[] =
5218 "stdint-hpux11.h\0stdint.h\0";
5220 * Machine/OS name selection pattern
5222 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5224 (const char*)NULL };
5227 * content selection pattern - do fix if pattern found
5229 tSCC zHpux_Stdint_Least_FastSelect0[] =
5230 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5232 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5233 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5234 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5237 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5239 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5241 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5246 * Description of Hpux_Longjmp fix
5248 tSCC zHpux_LongjmpName[] =
5252 * File name selection pattern
5254 tSCC zHpux_LongjmpList[] =
5257 * Machine/OS name selection pattern
5259 tSCC* apzHpux_LongjmpMachs[] = {
5261 (const char*)NULL };
5264 * content selection pattern - do fix if pattern found
5266 tSCC zHpux_LongjmpSelect0[] =
5267 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5269 #define HPUX_LONGJMP_TEST_CT 1
5270 static tTestDesc aHpux_LongjmpTests[] = {
5271 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5274 * Fix Command Arguments for Hpux_Longjmp
5276 static const char* apzHpux_LongjmpPatch[] = {
5278 "%0 __attribute__ ((__noreturn__))",
5281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5283 * Description of Hpux_Systime fix
5285 tSCC zHpux_SystimeName[] =
5289 * File name selection pattern
5291 tSCC zHpux_SystimeList[] =
5294 * Machine/OS name selection pattern
5296 #define apzHpux_SystimeMachs (const char**)NULL
5299 * content selection pattern - do fix if pattern found
5301 tSCC zHpux_SystimeSelect0[] =
5302 "^extern struct sigevent;";
5304 #define HPUX_SYSTIME_TEST_CT 1
5305 static tTestDesc aHpux_SystimeTests[] = {
5306 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5309 * Fix Command Arguments for Hpux_Systime
5311 static const char* apzHpux_SystimePatch[] = {
5316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5318 * Description of Huge_Val_Hex fix
5320 tSCC zHuge_Val_HexName[] =
5324 * File name selection pattern
5326 tSCC zHuge_Val_HexList[] =
5327 "bits/huge_val.h\0*/bits/huge_val.h\0";
5329 * Machine/OS name selection pattern
5331 #define apzHuge_Val_HexMachs (const char**)NULL
5334 * content selection pattern - do fix if pattern found
5336 tSCC zHuge_Val_HexSelect0[] =
5337 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5340 * content bypass pattern - skip fix if pattern found
5342 tSCC zHuge_Val_HexBypass0[] =
5343 "__builtin_huge_val";
5345 #define HUGE_VAL_HEX_TEST_CT 2
5346 static tTestDesc aHuge_Val_HexTests[] = {
5347 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5348 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5351 * Fix Command Arguments for Huge_Val_Hex
5353 static const char* apzHuge_Val_HexPatch[] = {
5355 "#define HUGE_VAL (__builtin_huge_val())\n",
5358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5360 * Description of Huge_Valf_Hex fix
5362 tSCC zHuge_Valf_HexName[] =
5366 * File name selection pattern
5368 tSCC zHuge_Valf_HexList[] =
5369 "bits/huge_val.h\0*/bits/huge_val.h\0";
5371 * Machine/OS name selection pattern
5373 #define apzHuge_Valf_HexMachs (const char**)NULL
5376 * content selection pattern - do fix if pattern found
5378 tSCC zHuge_Valf_HexSelect0[] =
5379 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5382 * content bypass pattern - skip fix if pattern found
5384 tSCC zHuge_Valf_HexBypass0[] =
5385 "__builtin_huge_valf";
5387 #define HUGE_VALF_HEX_TEST_CT 2
5388 static tTestDesc aHuge_Valf_HexTests[] = {
5389 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5390 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5393 * Fix Command Arguments for Huge_Valf_Hex
5395 static const char* apzHuge_Valf_HexPatch[] = {
5397 "#define HUGE_VALF (__builtin_huge_valf())\n",
5400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5402 * Description of Huge_Vall_Hex fix
5404 tSCC zHuge_Vall_HexName[] =
5408 * File name selection pattern
5410 tSCC zHuge_Vall_HexList[] =
5411 "bits/huge_val.h\0*/bits/huge_val.h\0";
5413 * Machine/OS name selection pattern
5415 #define apzHuge_Vall_HexMachs (const char**)NULL
5418 * content selection pattern - do fix if pattern found
5420 tSCC zHuge_Vall_HexSelect0[] =
5421 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5424 * content bypass pattern - skip fix if pattern found
5426 tSCC zHuge_Vall_HexBypass0[] =
5427 "__builtin_huge_vall";
5429 #define HUGE_VALL_HEX_TEST_CT 2
5430 static tTestDesc aHuge_Vall_HexTests[] = {
5431 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5432 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5435 * Fix Command Arguments for Huge_Vall_Hex
5437 static const char* apzHuge_Vall_HexPatch[] = {
5439 "#define HUGE_VALL (__builtin_huge_vall())\n",
5442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5444 * Description of Int_Abort_Free_And_Exit fix
5446 tSCC zInt_Abort_Free_And_ExitName[] =
5447 "int_abort_free_and_exit";
5450 * File name selection pattern
5452 tSCC zInt_Abort_Free_And_ExitList[] =
5455 * Machine/OS name selection pattern
5457 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5460 * content selection pattern - do fix if pattern found
5462 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5463 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5466 * content bypass pattern - skip fix if pattern found
5468 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5469 "_CLASSIC_ANSI_TYPES";
5471 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5472 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5473 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5474 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5477 * Fix Command Arguments for Int_Abort_Free_And_Exit
5479 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5486 * Description of Io_Quotes_Def fix
5488 tSCC zIo_Quotes_DefName[] =
5492 * File name selection pattern
5494 #define zIo_Quotes_DefList (char*)NULL
5496 * Machine/OS name selection pattern
5498 #define apzIo_Quotes_DefMachs (const char**)NULL
5501 * content selection pattern - do fix if pattern found
5503 tSCC zIo_Quotes_DefSelect0[] =
5504 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5506 #define IO_QUOTES_DEF_TEST_CT 1
5507 static tTestDesc aIo_Quotes_DefTests[] = {
5508 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5511 * Fix Command Arguments for Io_Quotes_Def
5513 static const char* apzIo_Quotes_DefPatch[] = {
5518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5520 * Description of Io_Quotes_Use fix
5522 tSCC zIo_Quotes_UseName[] =
5526 * File name selection pattern
5528 #define zIo_Quotes_UseList (char*)NULL
5530 * Machine/OS name selection pattern
5532 #define apzIo_Quotes_UseMachs (const char**)NULL
5535 * content selection pattern - do fix if pattern found
5537 tSCC zIo_Quotes_UseSelect0[] =
5538 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5540 #define IO_QUOTES_USE_TEST_CT 1
5541 static tTestDesc aIo_Quotes_UseTests[] = {
5542 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5545 * Fix Command Arguments for Io_Quotes_Use
5547 static const char* apzIo_Quotes_UsePatch[] = {
5552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5554 * Description of Ip_Missing_Semi fix
5556 tSCC zIp_Missing_SemiName[] =
5560 * File name selection pattern
5562 tSCC zIp_Missing_SemiList[] =
5565 * Machine/OS name selection pattern
5567 #define apzIp_Missing_SemiMachs (const char**)NULL
5570 * content selection pattern - do fix if pattern found
5572 tSCC zIp_Missing_SemiSelect0[] =
5575 #define IP_MISSING_SEMI_TEST_CT 1
5576 static tTestDesc aIp_Missing_SemiTests[] = {
5577 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5580 * Fix Command Arguments for Ip_Missing_Semi
5582 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5583 "-e", "/^struct/,/^};/s/}$/};/",
5586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5588 * Description of Irix_Limits_Const fix
5590 tSCC zIrix_Limits_ConstName[] =
5591 "irix_limits_const";
5594 * File name selection pattern
5596 tSCC zIrix_Limits_ConstList[] =
5597 "fixinc-test-limits.h\0limits.h\0";
5599 * Machine/OS name selection pattern
5601 #define apzIrix_Limits_ConstMachs (const char**)NULL
5604 * content selection pattern - do fix if pattern found
5606 tSCC zIrix_Limits_ConstSelect0[] =
5609 #define IRIX_LIMITS_CONST_TEST_CT 1
5610 static tTestDesc aIrix_Limits_ConstTests[] = {
5611 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5614 * Fix Command Arguments for Irix_Limits_Const
5616 static const char* apzIrix_Limits_ConstPatch[] = {
5621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5623 * Description of Irix_Stdio_Va_List fix
5625 tSCC zIrix_Stdio_Va_ListName[] =
5626 "irix_stdio_va_list";
5629 * File name selection pattern
5631 tSCC zIrix_Stdio_Va_ListList[] =
5634 * Machine/OS name selection pattern
5636 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5639 * content selection pattern - do fix if pattern found
5641 tSCC zIrix_Stdio_Va_ListSelect0[] =
5642 "/\\* va_list \\*/ char \\*";
5644 #define IRIX_STDIO_VA_LIST_TEST_CT 1
5645 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5646 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5649 * Fix Command Arguments for Irix_Stdio_Va_List
5651 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5658 * Description of Kandr_Concat fix
5660 tSCC zKandr_ConcatName[] =
5664 * File name selection pattern
5666 tSCC zKandr_ConcatList[] =
5667 "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";
5669 * Machine/OS name selection pattern
5671 #define apzKandr_ConcatMachs (const char**)NULL
5674 * content selection pattern - do fix if pattern found
5676 tSCC zKandr_ConcatSelect0[] =
5679 #define KANDR_CONCAT_TEST_CT 1
5680 static tTestDesc aKandr_ConcatTests[] = {
5681 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5684 * Fix Command Arguments for Kandr_Concat
5686 static const char* apzKandr_ConcatPatch[] = {
5691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5693 * Description of Linux_Ia64_Ucontext fix
5695 tSCC zLinux_Ia64_UcontextName[] =
5696 "linux_ia64_ucontext";
5699 * File name selection pattern
5701 tSCC zLinux_Ia64_UcontextList[] =
5704 * Machine/OS name selection pattern
5706 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5708 (const char*)NULL };
5711 * content selection pattern - do fix if pattern found
5713 tSCC zLinux_Ia64_UcontextSelect0[] =
5714 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5716 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5717 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5718 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5721 * Fix Command Arguments for Linux_Ia64_Ucontext
5723 static const char* apzLinux_Ia64_UcontextPatch[] = {
5725 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5730 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5732 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5733 "lynxos_no_warning_in_sys_time_h";
5736 * File name selection pattern
5738 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5741 * Machine/OS name selection pattern
5743 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5746 * content selection pattern - do fix if pattern found
5748 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5749 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5751 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5752 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5753 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5756 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5758 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5765 * Description of Lynxos_Missing_Putenv fix
5767 tSCC zLynxos_Missing_PutenvName[] =
5768 "lynxos_missing_putenv";
5771 * File name selection pattern
5773 tSCC zLynxos_Missing_PutenvList[] =
5776 * Machine/OS name selection pattern
5778 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5780 (const char*)NULL };
5783 * content selection pattern - do fix if pattern found
5785 tSCC zLynxos_Missing_PutenvSelect0[] =
5786 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5789 * content bypass pattern - skip fix if pattern found
5791 tSCC zLynxos_Missing_PutenvBypass0[] =
5794 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5795 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5796 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5797 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5800 * Fix Command Arguments for Lynxos_Missing_Putenv
5802 static const char* apzLynxos_Missing_PutenvPatch[] = {
5805 extern int putenv\t\t\t\t_AP((char *));",
5806 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5811 * Description of Machine_Ansi_H_Va_List fix
5813 tSCC zMachine_Ansi_H_Va_ListName[] =
5814 "machine_ansi_h_va_list";
5817 * File name selection pattern
5819 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5821 * Machine/OS name selection pattern
5823 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5826 * content selection pattern - do fix if pattern found
5828 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5829 "define[ \t]+_BSD_VA_LIST_[ \t]";
5832 * content bypass pattern - skip fix if pattern found
5834 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5835 "__builtin_va_list";
5837 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5838 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5839 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5840 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5843 * Fix Command Arguments for Machine_Ansi_H_Va_List
5845 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5847 "%1__builtin_va_list",
5848 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5853 * Description of Machine_Name fix
5855 tSCC zMachine_NameName[] =
5859 * File name selection pattern
5861 #define zMachine_NameList (char*)NULL
5863 * Machine/OS name selection pattern
5865 #define apzMachine_NameMachs (const char**)NULL
5868 * perform the C function call test
5870 tSCC zMachine_NameFTst0[] = "machine_name";
5872 #define MACHINE_NAME_TEST_CT 1
5873 static tTestDesc aMachine_NameTests[] = {
5874 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5877 * Fix Command Arguments for Machine_Name
5879 static const char* apzMachine_NamePatch[] = {
5883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5885 * Description of Math_Exception fix
5887 tSCC zMath_ExceptionName[] =
5891 * File name selection pattern
5893 tSCC zMath_ExceptionList[] =
5896 * Machine/OS name selection pattern
5898 tSCC* apzMath_ExceptionMachs[] = {
5899 "*-*-solaris2.1[0-9]*",
5900 (const char*)NULL };
5903 * content selection pattern - do fix if pattern found
5905 tSCC zMath_ExceptionSelect0[] =
5909 * content bypass pattern - skip fix if pattern found
5911 tSCC zMath_ExceptionBypass0[] =
5912 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5914 #define MATH_EXCEPTION_TEST_CT 2
5915 static tTestDesc aMath_ExceptionTests[] = {
5916 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5917 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5920 * Fix Command Arguments for Math_Exception
5922 static const char* apzMath_ExceptionPatch[] = {
5924 "#ifdef __cplusplus\n\
5925 #define exception __math_exception\n\
5927 "#ifdef __cplusplus\n\
5932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5934 * Description of Math_Huge_Val_From_Dbl_Max fix
5936 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5937 "math_huge_val_from_dbl_max";
5940 * File name selection pattern
5942 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5945 * Machine/OS name selection pattern
5947 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5950 * content selection pattern - do fix if pattern found
5952 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5953 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5956 * content bypass pattern - skip fix if pattern found
5958 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5959 "define[ \t]+DBL_MAX";
5961 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5962 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5963 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5964 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5967 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5969 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5970 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5971 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5972 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5979 * Description of Nested_Auth_Des fix
5981 tSCC zNested_Auth_DesName[] =
5985 * File name selection pattern
5987 tSCC zNested_Auth_DesList[] =
5990 * Machine/OS name selection pattern
5992 #define apzNested_Auth_DesMachs (const char**)NULL
5995 * content selection pattern - do fix if pattern found
5997 tSCC zNested_Auth_DesSelect0[] =
5998 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6000 #define NESTED_AUTH_DES_TEST_CT 1
6001 static tTestDesc aNested_Auth_DesTests[] = {
6002 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6005 * Fix Command Arguments for Nested_Auth_Des
6007 static const char* apzNested_Auth_DesPatch[] = {
6012 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6014 * Description of Netbsd_C99_Inline_1 fix
6016 tSCC zNetbsd_C99_Inline_1Name[] =
6017 "netbsd_c99_inline_1";
6020 * File name selection pattern
6022 tSCC zNetbsd_C99_Inline_1List[] =
6025 * Machine/OS name selection pattern
6027 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6029 (const char*)NULL };
6032 * content selection pattern - do fix if pattern found
6034 tSCC zNetbsd_C99_Inline_1Select0[] =
6035 "extern __inline int";
6037 #define NETBSD_C99_INLINE_1_TEST_CT 1
6038 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6039 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6042 * Fix Command Arguments for Netbsd_C99_Inline_1
6044 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6047 #ifdef __GNUC_STDC_INLINE__\n\
6048 __attribute__((__gnu_inline__))\n\
6053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6055 * Description of Netbsd_C99_Inline_2 fix
6057 tSCC zNetbsd_C99_Inline_2Name[] =
6058 "netbsd_c99_inline_2";
6061 * File name selection pattern
6063 tSCC zNetbsd_C99_Inline_2List[] =
6066 * Machine/OS name selection pattern
6068 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6070 (const char*)NULL };
6073 * content selection pattern - do fix if pattern found
6075 tSCC zNetbsd_C99_Inline_2Select0[] =
6076 "#define _SIGINLINE extern __inline";
6078 #define NETBSD_C99_INLINE_2_TEST_CT 1
6079 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6080 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6083 * Fix Command Arguments for Netbsd_C99_Inline_2
6085 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6087 "#ifdef __GNUC_STDC_INLINE__\n\
6088 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6094 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6096 * Description of Netbsd_Extra_Semicolon fix
6098 tSCC zNetbsd_Extra_SemicolonName[] =
6099 "netbsd_extra_semicolon";
6102 * File name selection pattern
6104 tSCC zNetbsd_Extra_SemicolonList[] =
6107 * Machine/OS name selection pattern
6109 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6111 (const char*)NULL };
6114 * content selection pattern - do fix if pattern found
6116 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6117 "#define[ \t]*__END_DECLS[ \t]*};";
6119 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6120 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6121 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6124 * Fix Command Arguments for Netbsd_Extra_Semicolon
6126 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6128 "#define __END_DECLS }",
6131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6133 * Description of Newlib_Stdint_1 fix
6135 tSCC zNewlib_Stdint_1Name[] =
6139 * File name selection pattern
6141 tSCC zNewlib_Stdint_1List[] =
6142 "stdint-newlib.h\0stdint.h\0";
6144 * Machine/OS name selection pattern
6146 #define apzNewlib_Stdint_1Machs (const char**)NULL
6149 * content selection pattern - do fix if pattern found
6151 tSCC zNewlib_Stdint_1Select0[] =
6152 "@todo - Add support for wint_t types";
6154 #define NEWLIB_STDINT_1_TEST_CT 1
6155 static tTestDesc aNewlib_Stdint_1Tests[] = {
6156 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6159 * Fix Command Arguments for Newlib_Stdint_1
6161 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6162 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6163 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6164 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6165 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6166 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6167 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6168 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6169 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6170 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6171 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6172 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6173 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6174 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6175 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6180 * Description of Newlib_Stdint_2 fix
6182 tSCC zNewlib_Stdint_2Name[] =
6186 * File name selection pattern
6188 tSCC zNewlib_Stdint_2List[] =
6189 "stdint-newlib.h\0stdint.h\0";
6191 * Machine/OS name selection pattern
6193 #define apzNewlib_Stdint_2Machs (const char**)NULL
6196 * content selection pattern - do fix if pattern found
6198 tSCC zNewlib_Stdint_2Select0[] =
6199 "@todo - Add support for wint_t types";
6201 #define NEWLIB_STDINT_2_TEST_CT 1
6202 static tTestDesc aNewlib_Stdint_2Tests[] = {
6203 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6206 * Fix Command Arguments for Newlib_Stdint_2
6208 static const char* apzNewlib_Stdint_2Patch[] = {
6210 "#define INTMAX_MAX __INTMAX_MAX__\n\
6211 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6212 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6213 #define WCHAR_MAX __WCHAR_MAX__\n\
6214 #define WCHAR_MIN __WCHAR_MIN__\n\
6215 #define WINT_MAX __WINT_MAX__\n\
6216 #define WINT_MIN __WINT_MIN__\n\n\
6218 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6223 * Description of Next_Math_Prefix fix
6225 tSCC zNext_Math_PrefixName[] =
6229 * File name selection pattern
6231 tSCC zNext_Math_PrefixList[] =
6234 * Machine/OS name selection pattern
6236 #define apzNext_Math_PrefixMachs (const char**)NULL
6239 * content selection pattern - do fix if pattern found
6241 tSCC zNext_Math_PrefixSelect0[] =
6242 "^extern[ \t]+double[ \t]+__const__[ \t]";
6244 #define NEXT_MATH_PREFIX_TEST_CT 1
6245 static tTestDesc aNext_Math_PrefixTests[] = {
6246 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6249 * Fix Command Arguments for Next_Math_Prefix
6251 static const char* apzNext_Math_PrefixPatch[] = {
6253 "extern double %1(",
6254 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6259 * Description of Next_Template fix
6261 tSCC zNext_TemplateName[] =
6265 * File name selection pattern
6267 tSCC zNext_TemplateList[] =
6270 * Machine/OS name selection pattern
6272 #define apzNext_TemplateMachs (const char**)NULL
6275 * content selection pattern - do fix if pattern found
6277 tSCC zNext_TemplateSelect0[] =
6280 #define NEXT_TEMPLATE_TEST_CT 1
6281 static tTestDesc aNext_TemplateTests[] = {
6282 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6285 * Fix Command Arguments for Next_Template
6287 static const char* apzNext_TemplatePatch[] = {
6290 "\\(([^)]*)[ \t]template\\)",
6293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6295 * Description of Next_Volitile fix
6297 tSCC zNext_VolitileName[] =
6301 * File name selection pattern
6303 tSCC zNext_VolitileList[] =
6306 * Machine/OS name selection pattern
6308 #define apzNext_VolitileMachs (const char**)NULL
6311 * content selection pattern - do fix if pattern found
6313 tSCC zNext_VolitileSelect0[] =
6314 "^extern[ \t]+volatile[ \t]+void[ \t]";
6316 #define NEXT_VOLITILE_TEST_CT 1
6317 static tTestDesc aNext_VolitileTests[] = {
6318 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6321 * Fix Command Arguments for Next_Volitile
6323 static const char* apzNext_VolitilePatch[] = {
6326 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6331 * Description of Next_Wait_Union fix
6333 tSCC zNext_Wait_UnionName[] =
6337 * File name selection pattern
6339 tSCC zNext_Wait_UnionList[] =
6342 * Machine/OS name selection pattern
6344 #define apzNext_Wait_UnionMachs (const char**)NULL
6347 * content selection pattern - do fix if pattern found
6349 tSCC zNext_Wait_UnionSelect0[] =
6350 "wait\\(union wait";
6352 #define NEXT_WAIT_UNION_TEST_CT 1
6353 static tTestDesc aNext_Wait_UnionTests[] = {
6354 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6357 * Fix Command Arguments for Next_Wait_Union
6359 static const char* apzNext_Wait_UnionPatch[] = {
6364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6366 * Description of Nodeent_Syntax fix
6368 tSCC zNodeent_SyntaxName[] =
6372 * File name selection pattern
6374 tSCC zNodeent_SyntaxList[] =
6375 "netdnet/dnetdb.h\0";
6377 * Machine/OS name selection pattern
6379 #define apzNodeent_SyntaxMachs (const char**)NULL
6382 * content selection pattern - do fix if pattern found
6384 tSCC zNodeent_SyntaxSelect0[] =
6385 "char[ \t]*\\*na_addr[ \t]*$";
6387 #define NODEENT_SYNTAX_TEST_CT 1
6388 static tTestDesc aNodeent_SyntaxTests[] = {
6389 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6392 * Fix Command Arguments for Nodeent_Syntax
6394 static const char* apzNodeent_SyntaxPatch[] = {
6399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6401 * Description of Openbsd_Null_Definition fix
6403 tSCC zOpenbsd_Null_DefinitionName[] =
6404 "openbsd_null_definition";
6407 * File name selection pattern
6409 tSCC zOpenbsd_Null_DefinitionList[] =
6410 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6412 * Machine/OS name selection pattern
6414 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6416 (const char*)NULL };
6419 * content selection pattern - do fix if pattern found
6421 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6424 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6425 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6426 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6429 * Fix Command Arguments for Openbsd_Null_Definition
6431 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6434 #ifdef __cplusplus\n\
6436 #define NULL\t__null\n\
6437 #else\t /* ! __GNUG__ */\n\
6439 #endif\t /* __GNUG__ */\n\
6440 #else\t /* ! __cplusplus */\n\
6441 #define NULL\t((void *)0)\n\
6442 #endif\t /* __cplusplus */\n\
6443 #endif\t /* !NULL */",
6444 "^#ifndef[ \t]*NULL\n\
6445 ^#ifdef[ \t]*__GNUG__\n\
6446 ^#define[ \t]*NULL[ \t]*__null\n\
6448 ^#define[ \t]*NULL[ \t]*0L\n\
6453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6455 * Description of Obstack_Lvalue_Cast fix
6457 tSCC zObstack_Lvalue_CastName[] =
6458 "obstack_lvalue_cast";
6461 * File name selection pattern
6463 tSCC zObstack_Lvalue_CastList[] =
6466 * Machine/OS name selection pattern
6468 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6471 * content selection pattern - do fix if pattern found
6473 tSCC zObstack_Lvalue_CastSelect0[] =
6474 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6476 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6477 static tTestDesc aObstack_Lvalue_CastTests[] = {
6478 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6481 * Fix Command Arguments for Obstack_Lvalue_Cast
6483 static const char* apzObstack_Lvalue_CastPatch[] = {
6485 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6490 * Description of Openbsd_Va_Start fix
6492 tSCC zOpenbsd_Va_StartName[] =
6496 * File name selection pattern
6498 tSCC zOpenbsd_Va_StartList[] =
6501 * Machine/OS name selection pattern
6503 tSCC* apzOpenbsd_Va_StartMachs[] = {
6505 (const char*)NULL };
6508 * content selection pattern - do fix if pattern found
6510 tSCC zOpenbsd_Va_StartSelect0[] =
6511 "__builtin_stdarg_start";
6513 #define OPENBSD_VA_START_TEST_CT 1
6514 static tTestDesc aOpenbsd_Va_StartTests[] = {
6515 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6518 * Fix Command Arguments for Openbsd_Va_Start
6520 static const char* apzOpenbsd_Va_StartPatch[] = {
6522 "__builtin_va_start",
6525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6527 * Description of Osf_Namespace_A fix
6529 tSCC zOsf_Namespace_AName[] =
6533 * File name selection pattern
6535 tSCC zOsf_Namespace_AList[] =
6536 "reg_types.h\0sys/lc_core.h\0";
6538 * Machine/OS name selection pattern
6540 #define apzOsf_Namespace_AMachs (const char**)NULL
6543 * perform the 'test' shell command - do fix on success
6545 tSCC zOsf_Namespace_ATest0[] =
6547 tSCC zOsf_Namespace_ATest1[] =
6548 " -r sys/lc_core.h";
6549 tSCC zOsf_Namespace_ATest2[] =
6550 " -n \"`grep '} regex_t;' reg_types.h`\"";
6551 tSCC zOsf_Namespace_ATest3[] =
6552 " -z \"`grep __regex_t regex.h`\"";
6554 #define OSF_NAMESPACE_A_TEST_CT 4
6555 static tTestDesc aOsf_Namespace_ATests[] = {
6556 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6557 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6558 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6559 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6562 * Fix Command Arguments for Osf_Namespace_A
6564 static const char* apzOsf_Namespace_APatch[] = {
6567 "reg(ex|off|match)_t",
6570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6572 * Description of Osf_Namespace_C fix
6574 tSCC zOsf_Namespace_CName[] =
6578 * File name selection pattern
6580 tSCC zOsf_Namespace_CList[] =
6583 * Machine/OS name selection pattern
6585 #define apzOsf_Namespace_CMachs (const char**)NULL
6588 * content selection pattern - do fix if pattern found
6590 tSCC zOsf_Namespace_CSelect0[] =
6591 "#include <reg_types.h>.*";
6594 * perform the 'test' shell command - do fix on success
6596 tSCC zOsf_Namespace_CTest0[] =
6598 tSCC zOsf_Namespace_CTest1[] =
6599 " -r sys/lc_core.h";
6600 tSCC zOsf_Namespace_CTest2[] =
6601 " -n \"`grep '} regex_t;' reg_types.h`\"";
6602 tSCC zOsf_Namespace_CTest3[] =
6603 " -z \"`grep __regex_t regex.h`\"";
6605 #define OSF_NAMESPACE_C_TEST_CT 5
6606 static tTestDesc aOsf_Namespace_CTests[] = {
6607 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6608 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6609 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6610 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6611 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6614 * Fix Command Arguments for Osf_Namespace_C
6616 static const char* apzOsf_Namespace_CPatch[] = {
6619 typedef __regex_t\tregex_t;\n\
6620 typedef __regoff_t\tregoff_t;\n\
6621 typedef __regmatch_t\tregmatch_t;",
6624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6626 * Description of Pthread_Incomplete_Struct_Argument fix
6628 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6629 "pthread_incomplete_struct_argument";
6632 * File name selection pattern
6634 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6637 * Machine/OS name selection pattern
6639 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6642 * content selection pattern - do fix if pattern found
6644 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6645 "struct __jmp_buf_tag";
6647 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
6648 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6649 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6652 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6654 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6657 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6662 * Description of Read_Ret_Type fix
6664 tSCC zRead_Ret_TypeName[] =
6668 * File name selection pattern
6670 tSCC zRead_Ret_TypeList[] =
6673 * Machine/OS name selection pattern
6675 #define apzRead_Ret_TypeMachs (const char**)NULL
6678 * content selection pattern - do fix if pattern found
6680 tSCC zRead_Ret_TypeSelect0[] =
6681 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6683 #define READ_RET_TYPE_TEST_CT 1
6684 static tTestDesc aRead_Ret_TypeTests[] = {
6685 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6688 * Fix Command Arguments for Read_Ret_Type
6690 static const char* apzRead_Ret_TypePatch[] = {
6692 "extern unsigned int fread(), fwrite();\n\
6694 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6699 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6701 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6702 "rpc_xdr_lvalue_cast_a";
6705 * File name selection pattern
6707 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6710 * Machine/OS name selection pattern
6712 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6715 * content selection pattern - do fix if pattern found
6717 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6718 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6721 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6722 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6723 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6726 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6728 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6730 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6735 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6737 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6738 "rpc_xdr_lvalue_cast_b";
6741 * File name selection pattern
6743 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6746 * Machine/OS name selection pattern
6748 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6751 * content selection pattern - do fix if pattern found
6753 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6754 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6757 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6758 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6759 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6762 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6764 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6766 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6771 * Description of Rs6000_Double fix
6773 tSCC zRs6000_DoubleName[] =
6777 * File name selection pattern
6779 tSCC zRs6000_DoubleList[] =
6782 * Machine/OS name selection pattern
6784 #define apzRs6000_DoubleMachs (const char**)NULL
6787 * content selection pattern - do fix if pattern found
6789 tSCC zRs6000_DoubleSelect0[] =
6790 "[^a-zA-Z_]class\\(";
6792 #define RS6000_DOUBLE_TEST_CT 1
6793 static tTestDesc aRs6000_DoubleTests[] = {
6794 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6797 * Fix Command Arguments for Rs6000_Double
6799 static const char* apzRs6000_DoublePatch[] = {
6801 "#ifndef __cplusplus\n\
6804 "^.*[^a-zA-Z_]class\\(.*",
6807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6809 * Description of Rs6000_Fchmod fix
6811 tSCC zRs6000_FchmodName[] =
6815 * File name selection pattern
6817 tSCC zRs6000_FchmodList[] =
6820 * Machine/OS name selection pattern
6822 #define apzRs6000_FchmodMachs (const char**)NULL
6825 * content selection pattern - do fix if pattern found
6827 tSCC zRs6000_FchmodSelect0[] =
6828 "fchmod\\(char \\*";
6830 #define RS6000_FCHMOD_TEST_CT 1
6831 static tTestDesc aRs6000_FchmodTests[] = {
6832 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6835 * Fix Command Arguments for Rs6000_Fchmod
6837 static const char* apzRs6000_FchmodPatch[] = {
6842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6844 * Description of Rs6000_Param fix
6846 tSCC zRs6000_ParamName[] =
6850 * File name selection pattern
6852 tSCC zRs6000_ParamList[] =
6853 "stdio.h\0unistd.h\0";
6855 * Machine/OS name selection pattern
6857 #define apzRs6000_ParamMachs (const char**)NULL
6860 * content selection pattern - do fix if pattern found
6862 tSCC zRs6000_ParamSelect0[] =
6863 "rename\\(const char \\*old, const char \\*new\\)";
6865 #define RS6000_PARAM_TEST_CT 1
6866 static tTestDesc aRs6000_ParamTests[] = {
6867 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6870 * Fix Command Arguments for Rs6000_Param
6872 static const char* apzRs6000_ParamPatch[] = {
6874 "rename(const char *_old, const char *_new)",
6877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6879 * Description of Solaris___Restrict fix
6881 tSCC zSolaris___RestrictName[] =
6882 "solaris___restrict";
6885 * File name selection pattern
6887 tSCC zSolaris___RestrictList[] =
6888 "sys/feature_tests.h\0";
6890 * Machine/OS name selection pattern
6892 tSCC* apzSolaris___RestrictMachs[] = {
6894 (const char*)NULL };
6897 * content selection pattern - do fix if pattern found
6899 tSCC zSolaris___RestrictSelect0[] =
6900 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6902 #define SOLARIS___RESTRICT_TEST_CT 1
6903 static tTestDesc aSolaris___RestrictTests[] = {
6904 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6907 * Fix Command Arguments for Solaris___Restrict
6909 static const char* apzSolaris___RestrictPatch[] = {
6911 "#ifdef __cplusplus\n\
6912 #define\t_RESTRICT_KYWD\t__restrict\n\
6918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6920 * Description of Solaris_Complex fix
6922 tSCC zSolaris_ComplexName[] =
6926 * File name selection pattern
6928 tSCC zSolaris_ComplexList[] =
6931 * Machine/OS name selection pattern
6933 tSCC* apzSolaris_ComplexMachs[] = {
6935 (const char*)NULL };
6938 * content selection pattern - do fix if pattern found
6940 tSCC zSolaris_ComplexSelect0[] =
6941 "#define[ \t]_Complex_I[ \t]_Complex_I";
6943 #define SOLARIS_COMPLEX_TEST_CT 1
6944 static tTestDesc aSolaris_ComplexTests[] = {
6945 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6948 * Fix Command Arguments for Solaris_Complex
6950 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6951 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6952 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6953 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6954 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6959 * Description of Solaris_Complex_Cxx fix
6961 tSCC zSolaris_Complex_CxxName[] =
6962 "solaris_complex_cxx";
6965 * File name selection pattern
6967 tSCC zSolaris_Complex_CxxList[] =
6970 * Machine/OS name selection pattern
6972 tSCC* apzSolaris_Complex_CxxMachs[] = {
6974 (const char*)NULL };
6975 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6976 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6979 * Fix Command Arguments for Solaris_Complex_Cxx
6981 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6982 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6983 #ifdef\t__cplusplus\\\n\
6986 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6987 #ifdef\t__cplusplus\\\n\
6992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6994 * Description of Solaris_Cxx_Linkage fix
6996 tSCC zSolaris_Cxx_LinkageName[] =
6997 "solaris_cxx_linkage";
7000 * File name selection pattern
7002 tSCC zSolaris_Cxx_LinkageList[] =
7003 "iso/stdlib_iso.h\0";
7005 * Machine/OS name selection pattern
7007 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7009 (const char*)NULL };
7012 * content selection pattern - do fix if pattern found
7014 tSCC zSolaris_Cxx_LinkageSelect0[] =
7015 "(#if __cplusplus >= 199711L)\n\
7016 (extern \"C\\+\\+\" \\{\n\
7017 )(.*(bsearch|qsort).*)";
7019 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7020 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7021 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7024 * Fix Command Arguments for Solaris_Cxx_Linkage
7026 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7034 * Description of Solaris_Getc_Strict_Stdc fix
7036 tSCC zSolaris_Getc_Strict_StdcName[] =
7037 "solaris_getc_strict_stdc";
7040 * File name selection pattern
7042 tSCC zSolaris_Getc_Strict_StdcList[] =
7043 "iso/stdio_iso.h\0";
7045 * Machine/OS name selection pattern
7047 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7049 (const char*)NULL };
7052 * content selection pattern - do fix if pattern found
7054 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7055 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7057 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7058 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7059 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7062 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7064 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7066 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7071 * Description of Solaris_Int_Const fix
7073 tSCC zSolaris_Int_ConstName[] =
7074 "solaris_int_const";
7077 * File name selection pattern
7079 tSCC zSolaris_Int_ConstList[] =
7080 "sys/int_const.h\0";
7082 * Machine/OS name selection pattern
7084 tSCC* apzSolaris_Int_ConstMachs[] = {
7086 (const char*)NULL };
7089 * content selection pattern - do fix if pattern found
7091 tSCC zSolaris_Int_ConstSelect0[] =
7092 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7094 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7096 #define SOLARIS_INT_CONST_TEST_CT 1
7097 static tTestDesc aSolaris_Int_ConstTests[] = {
7098 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7101 * Fix Command Arguments for Solaris_Int_Const
7103 static const char* apzSolaris_Int_ConstPatch[] = {
7105 "#define\tUINT8_C(c)\t(c)\n\
7107 #define\tUINT16_C(c)\t(c)",
7110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7112 * Description of Solaris_Int_Limits_1 fix
7114 tSCC zSolaris_Int_Limits_1Name[] =
7115 "solaris_int_limits_1";
7118 * File name selection pattern
7120 tSCC zSolaris_Int_Limits_1List[] =
7121 "sys/int_limits.h\0";
7123 * Machine/OS name selection pattern
7125 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7127 (const char*)NULL };
7130 * content selection pattern - do fix if pattern found
7132 tSCC zSolaris_Int_Limits_1Select0[] =
7133 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7134 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7136 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7137 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7138 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7141 * Fix Command Arguments for Solaris_Int_Limits_1
7143 static const char* apzSolaris_Int_Limits_1Patch[] = {
7145 "#define\tUINT8_MAX\t(255)\n\
7146 #define\tUINT16_MAX\t(65535)",
7149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7151 * Description of Solaris_Int_Limits_2 fix
7153 tSCC zSolaris_Int_Limits_2Name[] =
7154 "solaris_int_limits_2";
7157 * File name selection pattern
7159 tSCC zSolaris_Int_Limits_2List[] =
7160 "sys/int_limits.h\0";
7162 * Machine/OS name selection pattern
7164 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7166 (const char*)NULL };
7169 * content selection pattern - do fix if pattern found
7171 tSCC zSolaris_Int_Limits_2Select0[] =
7172 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7174 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7175 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7176 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7179 * Fix Command Arguments for Solaris_Int_Limits_2
7181 static const char* apzSolaris_Int_Limits_2Patch[] = {
7183 "#define\t%1_FAST16_%2 %132_%2",
7186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7188 * Description of Solaris_Int_Limits_3 fix
7190 tSCC zSolaris_Int_Limits_3Name[] =
7191 "solaris_int_limits_3";
7194 * File name selection pattern
7196 tSCC zSolaris_Int_Limits_3List[] =
7197 "sys/int_limits.h\0";
7199 * Machine/OS name selection pattern
7201 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7203 (const char*)NULL };
7206 * content selection pattern - do fix if pattern found
7208 tSCC zSolaris_Int_Limits_3Select0[] =
7209 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7211 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7212 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7213 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7216 * Fix Command Arguments for Solaris_Int_Limits_3
7218 static const char* apzSolaris_Int_Limits_3Patch[] = {
7220 "#define\tSIZE_MAX\t4294967295U",
7223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7225 * Description of Solaris_Math_1 fix
7227 tSCC zSolaris_Math_1Name[] =
7231 * File name selection pattern
7233 tSCC zSolaris_Math_1List[] =
7236 * Machine/OS name selection pattern
7238 #define apzSolaris_Math_1Machs (const char**)NULL
7241 * content selection pattern - do fix if pattern found
7243 tSCC zSolaris_Math_1Select0[] =
7244 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7247 * content bypass pattern - skip fix if pattern found
7249 tSCC zSolaris_Math_1Bypass0[] =
7252 #define SOLARIS_MATH_1_TEST_CT 2
7253 static tTestDesc aSolaris_Math_1Tests[] = {
7254 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7255 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7258 * Fix Command Arguments for Solaris_Math_1
7260 static const char* apzSolaris_Math_1Patch[] = {
7262 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7263 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7268 * Description of Solaris_Math_10 fix
7270 tSCC zSolaris_Math_10Name[] =
7274 * File name selection pattern
7276 tSCC zSolaris_Math_10List[] =
7279 * Machine/OS name selection pattern
7281 #define apzSolaris_Math_10Machs (const char**)NULL
7284 * content selection pattern - do fix if pattern found
7286 tSCC zSolaris_Math_10Select0[] =
7287 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7289 #define SOLARIS_MATH_10_TEST_CT 1
7290 static tTestDesc aSolaris_Math_10Tests[] = {
7291 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7294 * Fix Command Arguments for Solaris_Math_10
7296 static const char* apzSolaris_Math_10Patch[] = {
7298 "#define\tisinf(x) __builtin_isinf(x)",
7299 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7300 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7301 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7302 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7307 * Description of Solaris_Math_2 fix
7309 tSCC zSolaris_Math_2Name[] =
7313 * File name selection pattern
7315 tSCC zSolaris_Math_2List[] =
7318 * Machine/OS name selection pattern
7320 #define apzSolaris_Math_2Machs (const char**)NULL
7323 * content selection pattern - do fix if pattern found
7325 tSCC zSolaris_Math_2Select0[] =
7326 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7329 * content bypass pattern - skip fix if pattern found
7331 tSCC zSolaris_Math_2Bypass0[] =
7334 #define SOLARIS_MATH_2_TEST_CT 2
7335 static tTestDesc aSolaris_Math_2Tests[] = {
7336 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7337 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7340 * Fix Command Arguments for Solaris_Math_2
7342 static const char* apzSolaris_Math_2Patch[] = {
7344 "#define\tINFINITY\t(__builtin_inff())",
7345 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7350 * Description of Solaris_Math_3 fix
7352 tSCC zSolaris_Math_3Name[] =
7356 * File name selection pattern
7358 tSCC zSolaris_Math_3List[] =
7361 * Machine/OS name selection pattern
7363 #define apzSolaris_Math_3Machs (const char**)NULL
7366 * content selection pattern - do fix if pattern found
7368 tSCC zSolaris_Math_3Select0[] =
7369 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7372 * content bypass pattern - skip fix if pattern found
7374 tSCC zSolaris_Math_3Bypass0[] =
7377 #define SOLARIS_MATH_3_TEST_CT 2
7378 static tTestDesc aSolaris_Math_3Tests[] = {
7379 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7380 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7383 * Fix Command Arguments for Solaris_Math_3
7385 static const char* apzSolaris_Math_3Patch[] = {
7387 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7388 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7393 * Description of Solaris_Math_4 fix
7395 tSCC zSolaris_Math_4Name[] =
7399 * File name selection pattern
7401 tSCC zSolaris_Math_4List[] =
7404 * Machine/OS name selection pattern
7406 #define apzSolaris_Math_4Machs (const char**)NULL
7409 * content selection pattern - do fix if pattern found
7411 tSCC zSolaris_Math_4Select0[] =
7412 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7415 * content bypass pattern - skip fix if pattern found
7417 tSCC zSolaris_Math_4Bypass0[] =
7420 #define SOLARIS_MATH_4_TEST_CT 2
7421 static tTestDesc aSolaris_Math_4Tests[] = {
7422 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7423 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7426 * Fix Command Arguments for Solaris_Math_4
7428 static const char* apzSolaris_Math_4Patch[] = {
7430 "#define\tfpclassify(x) \\\n\
7431 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7432 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7437 * Description of Solaris_Math_8 fix
7439 tSCC zSolaris_Math_8Name[] =
7443 * File name selection pattern
7445 tSCC zSolaris_Math_8List[] =
7448 * Machine/OS name selection pattern
7450 #define apzSolaris_Math_8Machs (const char**)NULL
7453 * content selection pattern - do fix if pattern found
7455 tSCC zSolaris_Math_8Select0[] =
7456 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7459 * content bypass pattern - skip fix if pattern found
7461 tSCC zSolaris_Math_8Bypass0[] =
7464 #define SOLARIS_MATH_8_TEST_CT 2
7465 static tTestDesc aSolaris_Math_8Tests[] = {
7466 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7467 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7470 * Fix Command Arguments for Solaris_Math_8
7472 static const char* apzSolaris_Math_8Patch[] = {
7474 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7475 \t\t\t ? __builtin_signbitf(x) \\\n\
7476 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7477 \t\t\t ? __builtin_signbitl(x) \\\n\
7478 \t\t\t : __builtin_signbit(x))",
7479 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7484 * Description of Solaris_Math_9 fix
7486 tSCC zSolaris_Math_9Name[] =
7490 * File name selection pattern
7492 tSCC zSolaris_Math_9List[] =
7495 * Machine/OS name selection pattern
7497 #define apzSolaris_Math_9Machs (const char**)NULL
7500 * content selection pattern - do fix if pattern found
7502 tSCC zSolaris_Math_9Select0[] =
7503 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7506 * content bypass pattern - skip fix if pattern found
7508 tSCC zSolaris_Math_9Bypass0[] =
7511 #define SOLARIS_MATH_9_TEST_CT 2
7512 static tTestDesc aSolaris_Math_9Tests[] = {
7513 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7514 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7517 * Fix Command Arguments for Solaris_Math_9
7519 static const char* apzSolaris_Math_9Patch[] = {
7521 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7522 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7527 * Description of Solaris_Math_11 fix
7529 tSCC zSolaris_Math_11Name[] =
7533 * File name selection pattern
7535 tSCC zSolaris_Math_11List[] =
7538 * Machine/OS name selection pattern
7540 #define apzSolaris_Math_11Machs (const char**)NULL
7543 * content selection pattern - do fix if pattern found
7545 tSCC zSolaris_Math_11Select0[] =
7546 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7548 #define SOLARIS_MATH_11_TEST_CT 1
7549 static tTestDesc aSolaris_Math_11Tests[] = {
7550 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
7553 * Fix Command Arguments for Solaris_Math_11
7555 static const char* apzSolaris_Math_11Patch[] = {
7558 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7559 \t\t\t ? __builtin_signbitf(x) \\\n\
7560 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7561 \t\t\t ? __builtin_signbitl(x) \\\n\
7562 \t\t\t : __builtin_signbit(x))",
7563 "^#undef[ \t]+signbit\n\
7564 #if defined\\(__sparc\\)\n\
7565 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7566 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7567 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7568 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7569 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7570 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7571 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7572 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7573 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7574 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7575 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7581 * Description of Solaris_Math_12 fix
7583 tSCC zSolaris_Math_12Name[] =
7587 * File name selection pattern
7589 tSCC zSolaris_Math_12List[] =
7592 * Machine/OS name selection pattern
7594 tSCC* apzSolaris_Math_12Machs[] = {
7596 (const char*)NULL };
7599 * content selection pattern - do fix if pattern found
7601 tSCC zSolaris_Math_12Select0[] =
7602 "#undef.*_GLIBCXX_USE_C99_MATH";
7604 #define SOLARIS_MATH_12_TEST_CT 1
7605 static tTestDesc aSolaris_Math_12Tests[] = {
7606 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
7609 * Fix Command Arguments for Solaris_Math_12
7611 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7612 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7615 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7617 * Description of Solaris_Once_Init_1 fix
7619 tSCC zSolaris_Once_Init_1Name[] =
7620 "solaris_once_init_1";
7623 * File name selection pattern
7625 tSCC zSolaris_Once_Init_1List[] =
7628 * Machine/OS name selection pattern
7630 tSCC* apzSolaris_Once_Init_1Machs[] = {
7632 (const char*)NULL };
7635 * content selection pattern - do fix if pattern found
7637 tSCC zSolaris_Once_Init_1Select0[] =
7638 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7640 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7641 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7642 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7645 * Fix Command Arguments for Solaris_Once_Init_1
7647 static const char* apzSolaris_Once_Init_1Patch[] = {
7650 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7655 * Description of Solaris_Posix_Spawn_Restrict fix
7657 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7658 "solaris_posix_spawn_restrict";
7661 * File name selection pattern
7663 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7666 * Machine/OS name selection pattern
7668 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7670 (const char*)NULL };
7673 * content selection pattern - do fix if pattern found
7675 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7676 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7678 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7679 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7680 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7683 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7685 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7687 "%1*_RESTRICT_KYWD %2%3",
7690 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7692 * Description of Solaris_Pow_Int_Overload fix
7694 tSCC zSolaris_Pow_Int_OverloadName[] =
7695 "solaris_pow_int_overload";
7698 * File name selection pattern
7700 tSCC zSolaris_Pow_Int_OverloadList[] =
7703 * Machine/OS name selection pattern
7705 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7707 (const char*)NULL };
7710 * content selection pattern - do fix if pattern found
7712 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7713 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7716 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7717 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7718 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7721 * Fix Command Arguments for Solaris_Pow_Int_Overload
7723 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7725 "#if __cplusplus < 201103L\n\
7730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7732 * Description of Solaris_Rwlock_Init_1 fix
7734 tSCC zSolaris_Rwlock_Init_1Name[] =
7735 "solaris_rwlock_init_1";
7738 * File name selection pattern
7740 tSCC zSolaris_Rwlock_Init_1List[] =
7743 * Machine/OS name selection pattern
7745 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7747 (const char*)NULL };
7750 * content selection pattern - do fix if pattern found
7752 tSCC zSolaris_Rwlock_Init_1Select0[] =
7753 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7755 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
7756 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7757 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7760 * Fix Command Arguments for Solaris_Rwlock_Init_1
7762 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7764 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7767 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7769 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7774 * Description of Solaris_Std___Filbuf fix
7776 tSCC zSolaris_Std___FilbufName[] =
7777 "solaris_std___filbuf";
7780 * File name selection pattern
7782 tSCC zSolaris_Std___FilbufList[] =
7785 * Machine/OS name selection pattern
7787 tSCC* apzSolaris_Std___FilbufMachs[] = {
7789 (const char*)NULL };
7792 * content selection pattern - do fix if pattern found
7794 tSCC zSolaris_Std___FilbufSelect0[] =
7795 "(using std::perror;\n\
7799 * content bypass pattern - skip fix if pattern found
7801 tSCC zSolaris_Std___FilbufBypass0[] =
7802 "using std::__filbuf";
7804 #define SOLARIS_STD___FILBUF_TEST_CT 2
7805 static tTestDesc aSolaris_Std___FilbufTests[] = {
7806 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7807 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7810 * Fix Command Arguments for Solaris_Std___Filbuf
7812 static const char* apzSolaris_Std___FilbufPatch[] = {
7815 using std::__filbuf;\n\
7816 using std::__flsbuf;\n\
7821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7823 * Description of Solaris_Stdio_Tag fix
7825 tSCC zSolaris_Stdio_TagName[] =
7826 "solaris_stdio_tag";
7829 * File name selection pattern
7831 tSCC zSolaris_Stdio_TagList[] =
7834 * Machine/OS name selection pattern
7836 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7839 * content selection pattern - do fix if pattern found
7841 tSCC zSolaris_Stdio_TagSelect0[] =
7842 "__cplusplus < 54321L";
7845 * content bypass pattern - skip fix if pattern found
7847 tSCC zSolaris_Stdio_TagBypass0[] =
7850 #define SOLARIS_STDIO_TAG_TEST_CT 2
7851 static tTestDesc aSolaris_Stdio_TagTests[] = {
7852 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7853 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7856 * Fix Command Arguments for Solaris_Stdio_Tag
7858 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7859 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7864 * Description of Statsswtch fix
7866 tSCC zStatsswtchName[] =
7870 * File name selection pattern
7872 tSCC zStatsswtchList[] =
7875 * Machine/OS name selection pattern
7877 #define apzStatsswtchMachs (const char**)NULL
7880 * content selection pattern - do fix if pattern found
7882 tSCC zStatsswtchSelect0[] =
7885 #define STATSSWTCH_TEST_CT 1
7886 static tTestDesc aStatsswtchTests[] = {
7887 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
7890 * Fix Command Arguments for Statsswtch
7892 static const char* apzStatsswtchPatch[] = {
7897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7899 * Description of Stdio_Stdarg_H fix
7901 tSCC zStdio_Stdarg_HName[] =
7905 * File name selection pattern
7907 tSCC zStdio_Stdarg_HList[] =
7910 * Machine/OS name selection pattern
7912 tSCC* apzStdio_Stdarg_HMachs[] = {
7913 "*-*-solaris2.1[0-9]*",
7914 (const char*)NULL };
7917 * content bypass pattern - skip fix if pattern found
7919 tSCC zStdio_Stdarg_HBypass0[] =
7920 "include.*(stdarg.h|machine/ansi.h)";
7922 #define STDIO_STDARG_H_TEST_CT 1
7923 static tTestDesc aStdio_Stdarg_HTests[] = {
7924 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7927 * Fix Command Arguments for Stdio_Stdarg_H
7929 static const char* apzStdio_Stdarg_HPatch[] = {
7931 "#define __need___va_list\n\
7932 #include <stdarg.h>\n",
7935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7937 * Description of Stdio_Va_List fix
7939 tSCC zStdio_Va_ListName[] =
7943 * File name selection pattern
7945 tSCC zStdio_Va_ListList[] =
7948 * Machine/OS name selection pattern
7950 tSCC* apzStdio_Va_ListMachs[] = {
7951 "*-*-solaris2.1[0-9]*",
7952 (const char*)NULL };
7955 * content bypass pattern - skip fix if pattern found
7957 tSCC zStdio_Va_ListBypass0[] =
7958 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7960 #define STDIO_VA_LIST_TEST_CT 1
7961 static tTestDesc aStdio_Va_ListTests[] = {
7962 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7965 * Fix Command Arguments for Stdio_Va_List
7967 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7968 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7969 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7970 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7971 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7972 s@ va_list@ __not_va_list__@\n\
7973 s@\\*va_list@*__not_va_list__@\n\
7974 s@ __va_list)@ __gnuc_va_list)@\n\
7975 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7976 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7977 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7978 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7979 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7980 s@VA_LIST@DUMMY_VA_LIST@\n\
7981 s@_Va_LIST@_VA_LIST@",
7984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7986 * Description of Stdio_Va_List_Clients fix
7988 tSCC zStdio_Va_List_ClientsName[] =
7989 "stdio_va_list_clients";
7992 * File name selection pattern
7994 tSCC zStdio_Va_List_ClientsList[] =
7995 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7997 * Machine/OS name selection pattern
7999 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8002 * content bypass pattern - skip fix if pattern found
8004 tSCC zStdio_Va_List_ClientsBypass0[] =
8005 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8006 tSCC zStdio_Va_List_ClientsBypass1[] =
8007 "include <stdarg\\.h>|#ifdef va_start";
8009 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8010 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8011 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8012 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8015 * Fix Command Arguments for Stdio_Va_List_Clients
8017 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8018 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8019 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8020 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8021 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8022 s@ va_list@ __not_va_list__@\n\
8023 s@\\*va_list@*__not_va_list__@\n\
8024 s@ __va_list)@ __gnuc_va_list)@\n\
8025 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8026 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8027 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8028 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8029 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8030 s@VA_LIST@DUMMY_VA_LIST@\n\
8031 s@_Va_LIST@_VA_LIST@",
8034 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8036 * Description of Strict_Ansi_Not fix
8038 tSCC zStrict_Ansi_NotName[] =
8042 * File name selection pattern
8044 #define zStrict_Ansi_NotList (char*)NULL
8046 * Machine/OS name selection pattern
8048 #define apzStrict_Ansi_NotMachs (const char**)NULL
8051 * content selection pattern - do fix if pattern found
8053 tSCC zStrict_Ansi_NotSelect0[] =
8054 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8057 * content bypass pattern - skip fix if pattern found
8059 tSCC zStrict_Ansi_NotBypass0[] =
8060 "GNU and MIPS C compilers define __STDC__ differently";
8061 tSCC zStrict_Ansi_NotBypass1[] =
8062 "__SCO_VERSION__.*__STDC__ != 1";
8065 * perform the C function call test
8067 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8069 #define STRICT_ANSI_NOT_TEST_CT 4
8070 static tTestDesc aStrict_Ansi_NotTests[] = {
8071 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8072 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8073 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8074 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8077 * Fix Command Arguments for Strict_Ansi_Not
8079 static const char* apzStrict_Ansi_NotPatch[] = {
8081 "%1 !defined(__STRICT_ANSI__)",
8084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8086 * Description of Strict_Ansi_Not_Ctd fix
8088 tSCC zStrict_Ansi_Not_CtdName[] =
8089 "strict_ansi_not_ctd";
8092 * File name selection pattern
8094 tSCC zStrict_Ansi_Not_CtdList[] =
8095 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8097 * Machine/OS name selection pattern
8099 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8102 * content selection pattern - do fix if pattern found
8104 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8105 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8108 * perform the C function call test
8110 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8112 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8113 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8114 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8115 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8118 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8120 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8122 "%1 !defined(__STRICT_ANSI__)",
8125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8127 * Description of Strict_Ansi_Only fix
8129 tSCC zStrict_Ansi_OnlyName[] =
8133 * File name selection pattern
8135 #define zStrict_Ansi_OnlyList (char*)NULL
8137 * Machine/OS name selection pattern
8139 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8142 * content selection pattern - do fix if pattern found
8144 tSCC zStrict_Ansi_OnlySelect0[] =
8145 "^([ \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)";
8148 * perform the C function call test
8150 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8152 #define STRICT_ANSI_ONLY_TEST_CT 2
8153 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8154 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8155 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8158 * Fix Command Arguments for Strict_Ansi_Only
8160 static const char* apzStrict_Ansi_OnlyPatch[] = {
8162 "%1 defined(__STRICT_ANSI__)",
8165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8167 * Description of Struct_File fix
8169 tSCC zStruct_FileName[] =
8173 * File name selection pattern
8175 tSCC zStruct_FileList[] =
8178 * Machine/OS name selection pattern
8180 #define apzStruct_FileMachs (const char**)NULL
8183 * content selection pattern - do fix if pattern found
8185 tSCC zStruct_FileSelect0[] =
8186 "^.*xdrstdio_create.*struct __file_s";
8188 #define STRUCT_FILE_TEST_CT 1
8189 static tTestDesc aStruct_FileTests[] = {
8190 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8193 * Fix Command Arguments for Struct_File
8195 static const char* apzStruct_FilePatch[] = {
8197 "struct __file_s;\n\
8201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8203 * Description of Struct_Sockaddr fix
8205 tSCC zStruct_SockaddrName[] =
8209 * File name selection pattern
8211 tSCC zStruct_SockaddrList[] =
8214 * Machine/OS name selection pattern
8216 #define apzStruct_SockaddrMachs (const char**)NULL
8219 * content selection pattern - do fix if pattern found
8221 tSCC zStruct_SockaddrSelect0[] =
8222 "^.*authdes_create.*struct sockaddr[^_]";
8225 * content bypass pattern - skip fix if pattern found
8227 tSCC zStruct_SockaddrBypass0[] =
8229 tSCC zStruct_SockaddrBypass1[] =
8230 "struct sockaddr;\n";
8232 #define STRUCT_SOCKADDR_TEST_CT 3
8233 static tTestDesc aStruct_SockaddrTests[] = {
8234 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8235 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8236 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8239 * Fix Command Arguments for Struct_Sockaddr
8241 static const char* apzStruct_SockaddrPatch[] = {
8243 "struct sockaddr;\n\
8247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8249 * Description of Sun_Auth_Proto fix
8251 tSCC zSun_Auth_ProtoName[] =
8255 * File name selection pattern
8257 tSCC zSun_Auth_ProtoList[] =
8258 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8260 * Machine/OS name selection pattern
8262 #define apzSun_Auth_ProtoMachs (const char**)NULL
8265 * content selection pattern - do fix if pattern found
8267 tSCC zSun_Auth_ProtoSelect0[] =
8268 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8271 * content bypass pattern - skip fix if pattern found
8273 tSCC zSun_Auth_ProtoBypass0[] =
8276 #define SUN_AUTH_PROTO_TEST_CT 2
8277 static tTestDesc aSun_Auth_ProtoTests[] = {
8278 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8279 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8282 * Fix Command Arguments for Sun_Auth_Proto
8284 static const char* apzSun_Auth_ProtoPatch[] = {
8286 "#ifdef __cplusplus\n\
8291 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8296 * Description of Sun_Bogus_Ifdef fix
8298 tSCC zSun_Bogus_IfdefName[] =
8302 * File name selection pattern
8304 tSCC zSun_Bogus_IfdefList[] =
8305 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8307 * Machine/OS name selection pattern
8309 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8312 * content selection pattern - do fix if pattern found
8314 tSCC zSun_Bogus_IfdefSelect0[] =
8315 "#ifdef(.*\\|\\|.*)";
8317 #define SUN_BOGUS_IFDEF_TEST_CT 1
8318 static tTestDesc aSun_Bogus_IfdefTests[] = {
8319 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8322 * Fix Command Arguments for Sun_Bogus_Ifdef
8324 static const char* apzSun_Bogus_IfdefPatch[] = {
8329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8331 * Description of Sun_Catmacro fix
8333 tSCC zSun_CatmacroName[] =
8337 * File name selection pattern
8339 tSCC zSun_CatmacroList[] =
8340 "pixrect/memvar.h\0";
8342 * Machine/OS name selection pattern
8344 #define apzSun_CatmacroMachs (const char**)NULL
8347 * content selection pattern - do fix if pattern found
8349 tSCC zSun_CatmacroSelect0[] =
8350 "^#define[ \t]+CAT\\(a,b\\).*";
8352 #define SUN_CATMACRO_TEST_CT 1
8353 static tTestDesc aSun_CatmacroTests[] = {
8354 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8357 * Fix Command Arguments for Sun_Catmacro
8359 static const char* apzSun_CatmacroPatch[] = {
8362 # define CAT(a,b) a##b\n\
8368 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8370 * Description of Sun_Malloc fix
8372 tSCC zSun_MallocName[] =
8376 * File name selection pattern
8378 tSCC zSun_MallocList[] =
8381 * Machine/OS name selection pattern
8383 #define apzSun_MallocMachs (const char**)NULL
8386 * content bypass pattern - skip fix if pattern found
8388 tSCC zSun_MallocBypass0[] =
8389 "_CLASSIC_ANSI_TYPES";
8391 #define SUN_MALLOC_TEST_CT 1
8392 static tTestDesc aSun_MallocTests[] = {
8393 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8396 * Fix Command Arguments for Sun_Malloc
8398 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8399 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8400 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8401 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8402 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8403 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8408 * Description of Sun_Rusers_Semi fix
8410 tSCC zSun_Rusers_SemiName[] =
8414 * File name selection pattern
8416 tSCC zSun_Rusers_SemiList[] =
8417 "rpcsvc/rusers.h\0";
8419 * Machine/OS name selection pattern
8421 #define apzSun_Rusers_SemiMachs (const char**)NULL
8424 * content selection pattern - do fix if pattern found
8426 tSCC zSun_Rusers_SemiSelect0[] =
8429 #define SUN_RUSERS_SEMI_TEST_CT 1
8430 static tTestDesc aSun_Rusers_SemiTests[] = {
8431 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8434 * Fix Command Arguments for Sun_Rusers_Semi
8436 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8437 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8442 * Description of Sun_Signal fix
8444 tSCC zSun_SignalName[] =
8448 * File name selection pattern
8450 tSCC zSun_SignalList[] =
8451 "sys/signal.h\0signal.h\0";
8453 * Machine/OS name selection pattern
8455 #define apzSun_SignalMachs (const char**)NULL
8458 * content selection pattern - do fix if pattern found
8460 tSCC zSun_SignalSelect0[] =
8461 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8463 #define SUN_SIGNAL_TEST_CT 1
8464 static tTestDesc aSun_SignalTests[] = {
8465 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
8468 * Fix Command Arguments for Sun_Signal
8470 static const char* apzSun_SignalPatch[] = {
8472 "#ifdef __cplusplus\n\
8473 void\t(*signal(...))(...);\n\
8479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8481 * Description of Sunos_Strlen fix
8483 tSCC zSunos_StrlenName[] =
8487 * File name selection pattern
8489 tSCC zSunos_StrlenList[] =
8492 * Machine/OS name selection pattern
8494 #define apzSunos_StrlenMachs (const char**)NULL
8497 * content selection pattern - do fix if pattern found
8499 tSCC zSunos_StrlenSelect0[] =
8500 "int[ \t]*strlen\\(\\);(.*)";
8502 #define SUNOS_STRLEN_TEST_CT 1
8503 static tTestDesc aSunos_StrlenTests[] = {
8504 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
8507 * Fix Command Arguments for Sunos_Strlen
8509 static const char* apzSunos_StrlenPatch[] = {
8511 "__SIZE_TYPE__ strlen();%1",
8514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8516 * Description of Suse_Linux_Vt_Cxx fix
8518 tSCC zSuse_Linux_Vt_CxxName[] =
8519 "suse_linux_vt_cxx";
8522 * File name selection pattern
8524 tSCC zSuse_Linux_Vt_CxxList[] =
8527 * Machine/OS name selection pattern
8529 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8532 * content selection pattern - do fix if pattern found
8534 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8535 "^[ \t]*unsigned int new;";
8537 #define SUSE_LINUX_VT_CXX_TEST_CT 1
8538 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8539 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8542 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8544 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8546 "unsigned int newev;",
8549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8551 * Description of Svr4_Disable_Opt fix
8553 tSCC zSvr4_Disable_OptName[] =
8557 * File name selection pattern
8559 tSCC zSvr4_Disable_OptList[] =
8562 * Machine/OS name selection pattern
8564 #define apzSvr4_Disable_OptMachs (const char**)NULL
8567 * content selection pattern - do fix if pattern found
8569 tSCC zSvr4_Disable_OptSelect0[] =
8570 "#define.*__std_hdr_";
8572 #define SVR4_DISABLE_OPT_TEST_CT 1
8573 static tTestDesc aSvr4_Disable_OptTests[] = {
8574 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8577 * Fix Command Arguments for Svr4_Disable_Opt
8579 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8580 "-e", "/#define.*__std_hdr_/d",
8583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8585 * Description of Svr4_Getcwd fix
8587 tSCC zSvr4_GetcwdName[] =
8591 * File name selection pattern
8593 tSCC zSvr4_GetcwdList[] =
8594 "stdlib.h\0unistd.h\0prototypes.h\0";
8596 * Machine/OS name selection pattern
8598 #define apzSvr4_GetcwdMachs (const char**)NULL
8601 * content selection pattern - do fix if pattern found
8603 tSCC zSvr4_GetcwdSelect0[] =
8604 "getcwd\\(char \\*, int\\)";
8606 #define SVR4_GETCWD_TEST_CT 1
8607 static tTestDesc aSvr4_GetcwdTests[] = {
8608 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8611 * Fix Command Arguments for Svr4_Getcwd
8613 static const char* apzSvr4_GetcwdPatch[] = {
8615 "getcwd(char *, size_t)",
8618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8620 * Description of Svr4_Profil fix
8622 tSCC zSvr4_ProfilName[] =
8626 * File name selection pattern
8628 tSCC zSvr4_ProfilList[] =
8629 "stdlib.h\0unistd.h\0";
8631 * Machine/OS name selection pattern
8633 #define apzSvr4_ProfilMachs (const char**)NULL
8636 * content selection pattern - do fix if pattern found
8638 tSCC zSvr4_ProfilSelect0[] =
8639 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8641 #define SVR4_PROFIL_TEST_CT 1
8642 static tTestDesc aSvr4_ProfilTests[] = {
8643 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8646 * Fix Command Arguments for Svr4_Profil
8648 static const char* apzSvr4_ProfilPatch[] = {
8650 "profil(unsigned short *, size_t, int, unsigned int)",
8653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8655 * Description of Svr4_Sighandler_Type fix
8657 tSCC zSvr4_Sighandler_TypeName[] =
8658 "svr4_sighandler_type";
8661 * File name selection pattern
8663 tSCC zSvr4_Sighandler_TypeList[] =
8666 * Machine/OS name selection pattern
8668 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8671 * content selection pattern - do fix if pattern found
8673 tSCC zSvr4_Sighandler_TypeSelect0[] =
8674 "void *\\(\\*\\)\\(\\)";
8676 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8677 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8678 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8681 * Fix Command Arguments for Svr4_Sighandler_Type
8683 static const char* apzSvr4_Sighandler_TypePatch[] = {
8688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8690 * Description of Svr4_Undeclared_Getrnge fix
8692 tSCC zSvr4_Undeclared_GetrngeName[] =
8693 "svr4_undeclared_getrnge";
8696 * File name selection pattern
8698 tSCC zSvr4_Undeclared_GetrngeList[] =
8701 * Machine/OS name selection pattern
8703 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8706 * content selection pattern - do fix if pattern found
8708 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8712 * content bypass pattern - skip fix if pattern found
8714 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8715 "static void getrnge";
8717 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8718 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8719 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8720 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8723 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8725 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8728 static int getrnge ();",
8729 "^static int[ \t]+size;",
8732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8734 * Description of Sysv68_String fix
8736 tSCC zSysv68_StringName[] =
8740 * File name selection pattern
8742 tSCC zSysv68_StringList[] =
8743 "testing.h\0string.h\0";
8745 * Machine/OS name selection pattern
8747 #define apzSysv68_StringMachs (const char**)NULL
8750 * content bypass pattern - skip fix if pattern found
8752 tSCC zSysv68_StringBypass0[] =
8753 "_CLASSIC_ANSI_TYPES";
8755 #define SYSV68_STRING_TEST_CT 1
8756 static tTestDesc aSysv68_StringTests[] = {
8757 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8760 * Fix Command Arguments for Sysv68_String
8762 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8763 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8764 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8765 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8766 "-e", "/^extern char$/N",
8767 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8768 "-e", "/^extern int$/N",
8769 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8770 "-e", "/^\tstrncmp(),$/N",
8771 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8772 extern unsigned int\\\n\
8776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8778 * Description of Sysz_Stdlib_For_Sun fix
8780 tSCC zSysz_Stdlib_For_SunName[] =
8781 "sysz_stdlib_for_sun";
8784 * File name selection pattern
8786 tSCC zSysz_Stdlib_For_SunList[] =
8789 * Machine/OS name selection pattern
8791 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8794 * content selection pattern - do fix if pattern found
8796 tSCC zSysz_Stdlib_For_SunSelect0[] =
8797 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8800 * content bypass pattern - skip fix if pattern found
8802 tSCC zSysz_Stdlib_For_SunBypass0[] =
8803 "_CLASSIC_ANSI_TYPES";
8805 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8806 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8807 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8808 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8811 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8813 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8820 * Description of Thread_Keyword fix
8822 tSCC zThread_KeywordName[] =
8826 * File name selection pattern
8828 tSCC zThread_KeywordList[] =
8829 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8831 * Machine/OS name selection pattern
8833 #define apzThread_KeywordMachs (const char**)NULL
8836 * content selection pattern - do fix if pattern found
8838 tSCC zThread_KeywordSelect0[] =
8839 "([* ])__thread([,)])";
8841 #define THREAD_KEYWORD_TEST_CT 1
8842 static tTestDesc aThread_KeywordTests[] = {
8843 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8846 * Fix Command Arguments for Thread_Keyword
8848 static const char* apzThread_KeywordPatch[] = {
8853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8855 * Description of Tinfo_Cplusplus fix
8857 tSCC zTinfo_CplusplusName[] =
8861 * File name selection pattern
8863 tSCC zTinfo_CplusplusList[] =
8866 * Machine/OS name selection pattern
8868 #define apzTinfo_CplusplusMachs (const char**)NULL
8871 * content selection pattern - do fix if pattern found
8873 tSCC zTinfo_CplusplusSelect0[] =
8876 #define TINFO_CPLUSPLUS_TEST_CT 1
8877 static tTestDesc aTinfo_CplusplusTests[] = {
8878 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8881 * Fix Command Arguments for Tinfo_Cplusplus
8883 static const char* apzTinfo_CplusplusPatch[] = {
8888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8890 * Description of Ultrix_Const fix
8892 tSCC zUltrix_ConstName[] =
8896 * File name selection pattern
8898 tSCC zUltrix_ConstList[] =
8901 * Machine/OS name selection pattern
8903 #define apzUltrix_ConstMachs (const char**)NULL
8906 * content selection pattern - do fix if pattern found
8908 tSCC zUltrix_ConstSelect0[] =
8909 "perror\\( char \\*";
8911 #define ULTRIX_CONST_TEST_CT 1
8912 static tTestDesc aUltrix_ConstTests[] = {
8913 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
8916 * Fix Command Arguments for Ultrix_Const
8918 static const char* apzUltrix_ConstPatch[] = {
8921 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8926 * Description of Ultrix_Const2 fix
8928 tSCC zUltrix_Const2Name[] =
8932 * File name selection pattern
8934 tSCC zUltrix_Const2List[] =
8937 * Machine/OS name selection pattern
8939 #define apzUltrix_Const2Machs (const char**)NULL
8942 * content selection pattern - do fix if pattern found
8944 tSCC zUltrix_Const2Select0[] =
8945 "\\*fopen\\( char \\*";
8947 #define ULTRIX_CONST2_TEST_CT 1
8948 static tTestDesc aUltrix_Const2Tests[] = {
8949 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
8952 * Fix Command Arguments for Ultrix_Const2
8954 static const char* apzUltrix_Const2Patch[] = {
8956 "%1( const char *%3, const char *",
8957 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8962 * Description of Va_I960_Macro fix
8964 tSCC zVa_I960_MacroName[] =
8968 * File name selection pattern
8970 tSCC zVa_I960_MacroList[] =
8971 "arch/i960/archI960.h\0";
8973 * Machine/OS name selection pattern
8975 #define apzVa_I960_MacroMachs (const char**)NULL
8978 * content selection pattern - do fix if pattern found
8980 tSCC zVa_I960_MacroSelect0[] =
8981 "__(vsiz|vali|vpad|alignof__)";
8983 #define VA_I960_MACRO_TEST_CT 1
8984 static tTestDesc aVa_I960_MacroTests[] = {
8985 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8988 * Fix Command Arguments for Va_I960_Macro
8990 static const char* apzVa_I960_MacroPatch[] = {
8995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8997 * Description of Vms_Add_Missing_Braces fix
8999 tSCC zVms_Add_Missing_BracesName[] =
9000 "vms_add_missing_braces";
9003 * File name selection pattern
9005 tSCC zVms_Add_Missing_BracesList[] =
9006 "rtldef/signal.h\0";
9008 * Machine/OS name selection pattern
9010 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9012 (const char*)NULL };
9015 * content selection pattern - do fix if pattern found
9017 tSCC zVms_Add_Missing_BracesSelect0[] =
9018 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9020 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9021 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9022 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9025 * Fix Command Arguments for Vms_Add_Missing_Braces
9027 static const char* apzVms_Add_Missing_BracesPatch[] = {
9032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9034 * Description of Vms_Decc_Builtin fix
9036 tSCC zVms_Decc_BuiltinName[] =
9040 * File name selection pattern
9042 tSCC zVms_Decc_BuiltinList[] =
9043 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9045 * Machine/OS name selection pattern
9047 tSCC* apzVms_Decc_BuiltinMachs[] = {
9049 (const char*)NULL };
9052 * content selection pattern - do fix if pattern found
9054 tSCC zVms_Decc_BuiltinSelect0[] =
9055 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9057 #define VMS_DECC_BUILTIN_TEST_CT 1
9058 static tTestDesc aVms_Decc_BuiltinTests[] = {
9059 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9062 * Fix Command Arguments for Vms_Decc_Builtin
9064 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9065 "-e", "s@__MEMSET@memset@",
9066 "-e", "s@__MEMMOVE@memmove@",
9067 "-e", "s@__MEMCPY@memcpy@",
9068 "-e", "s@__STRLEN@strlen@",
9069 "-e", "s@__STRCPY@strcpy@",
9072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9074 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9076 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9077 "vms_define_can_use_extern_prefix";
9080 * File name selection pattern
9082 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9083 "rtldef/decc$types.h\0";
9085 * Machine/OS name selection pattern
9087 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9089 (const char*)NULL };
9092 * content selection pattern - do fix if pattern found
9094 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9096 #[ \t]*if defined\\(__DECCXX\\)\n\
9097 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9099 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9100 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9101 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9104 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9106 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9108 "%0# elif defined (__GNUC__)\n\
9109 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9114 * Description of Vms_Disable_Decc_String_Builtins fix
9116 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9117 "vms_disable_decc_string_builtins";
9120 * File name selection pattern
9122 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9123 "rtldef/string.h\0";
9125 * Machine/OS name selection pattern
9127 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9129 (const char*)NULL };
9132 * content selection pattern - do fix if pattern found
9134 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9135 "#if !defined\\(__VAX\\)\n";
9137 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9138 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9139 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9142 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9144 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9146 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9151 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9153 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9154 "vms_do_not_redeclare_hostalias";
9157 * File name selection pattern
9159 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9160 "rtldef/resolv.h\0";
9162 * Machine/OS name selection pattern
9164 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9166 (const char*)NULL };
9169 * content selection pattern - do fix if pattern found
9171 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9172 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9173 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9175 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9176 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9177 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9180 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9182 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9190 * Description of Vms_Forward_Declare_Struct fix
9192 tSCC zVms_Forward_Declare_StructName[] =
9193 "vms_forward_declare_struct";
9196 * File name selection pattern
9198 tSCC zVms_Forward_Declare_StructList[] =
9201 * Machine/OS name selection pattern
9203 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9205 (const char*)NULL };
9208 * content selection pattern - do fix if pattern found
9210 tSCC zVms_Forward_Declare_StructSelect0[] =
9211 "(/\\* forward decls for C\\+\\+ \\*/\n\
9212 )#ifdef __cplusplus\n";
9214 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9215 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9216 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9219 * Fix Command Arguments for Vms_Forward_Declare_Struct
9221 static const char* apzVms_Forward_Declare_StructPatch[] = {
9223 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9228 * Description of Vms_No_64bit_Getopt fix
9230 tSCC zVms_No_64bit_GetoptName[] =
9231 "vms_no_64bit_getopt";
9234 * File name selection pattern
9236 tSCC zVms_No_64bit_GetoptList[] =
9237 "rtldef/stdio.h\0rtldef/unistd.h\0";
9239 * Machine/OS name selection pattern
9241 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9243 (const char*)NULL };
9246 * content selection pattern - do fix if pattern found
9248 tSCC zVms_No_64bit_GetoptSelect0[] =
9249 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9251 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9252 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9253 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9256 * Fix Command Arguments for Vms_No_64bit_Getopt
9258 static const char* apzVms_No_64bit_GetoptPatch[] = {
9260 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9266 * Description of Vms_Use_Fast_Setjmp fix
9268 tSCC zVms_Use_Fast_SetjmpName[] =
9269 "vms_use_fast_setjmp";
9272 * File name selection pattern
9274 tSCC zVms_Use_Fast_SetjmpList[] =
9275 "rtldef/setjmp.h\0";
9277 * Machine/OS name selection pattern
9279 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9281 (const char*)NULL };
9284 * content selection pattern - do fix if pattern found
9286 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9287 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9289 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9290 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9291 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9294 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9296 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9298 "%0 defined (__GNUC__) ||",
9301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9303 * Description of Vms_Use_Pragma_Extern_Model fix
9305 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9306 "vms_use_pragma_extern_model";
9309 * File name selection pattern
9311 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9313 * Machine/OS name selection pattern
9315 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9317 (const char*)NULL };
9320 * content selection pattern - do fix if pattern found
9322 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9323 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9324 # pragma extern_model __save\n";
9326 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9327 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9328 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9331 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9333 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9335 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9336 # pragma extern_model __save\n",
9339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9341 * Description of Vms_Use_Quoted_Include fix
9343 tSCC zVms_Use_Quoted_IncludeName[] =
9344 "vms_use_quoted_include";
9347 * File name selection pattern
9349 tSCC zVms_Use_Quoted_IncludeList[] =
9350 "rtldef/wait.h\0starlet_c/pthread.h\0";
9352 * Machine/OS name selection pattern
9354 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9356 (const char*)NULL };
9359 * content selection pattern - do fix if pattern found
9361 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9362 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9364 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9365 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9366 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9369 * Fix Command Arguments for Vms_Use_Quoted_Include
9371 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9378 * Description of Void_Null fix
9380 tSCC zVoid_NullName[] =
9384 * File name selection pattern
9386 tSCC zVoid_NullList[] =
9387 "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";
9389 * Machine/OS name selection pattern
9391 #define apzVoid_NullMachs (const char**)NULL
9394 * content selection pattern - do fix if pattern found
9396 tSCC zVoid_NullSelect0[] =
9397 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9400 * content bypass pattern - skip fix if pattern found
9402 tSCC zVoid_NullBypass0[] =
9404 tSCC zVoid_NullBypass1[] =
9407 #define VOID_NULL_TEST_CT 3
9408 static tTestDesc aVoid_NullTests[] = {
9409 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9410 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9411 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9414 * Fix Command Arguments for Void_Null
9416 static const char* apzVoid_NullPatch[] = {
9419 #ifdef __cplusplus\n\
9421 #define NULL __null\n\
9422 #else /* ! __GNUG__ */\n\
9424 #endif /* __GNUG__ */\n\
9425 #else /* ! __cplusplus */\n\
9426 #define NULL ((void *)0)\n\
9427 #endif /* __cplusplus */\n\
9428 #endif /* !NULL */",
9431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9433 * Description of Vxworks_Gcc_Problem fix
9435 tSCC zVxworks_Gcc_ProblemName[] =
9436 "vxworks_gcc_problem";
9439 * File name selection pattern
9441 tSCC zVxworks_Gcc_ProblemList[] =
9442 "types/vxTypesBase.h\0";
9444 * Machine/OS name selection pattern
9446 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9449 * content selection pattern - do fix if pattern found
9451 tSCC zVxworks_Gcc_ProblemSelect0[] =
9452 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9454 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9455 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9456 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9459 * Fix Command Arguments for Vxworks_Gcc_Problem
9461 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9462 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9463 "-e", "/[ \t]size_t/i\\\n\
9464 #ifndef _GCC_SIZE_T\\\n\
9465 #define _GCC_SIZE_T\n",
9466 "-e", "/[ \t]size_t/a\\\n\
9468 "-e", "/[ \t]ptrdiff_t/i\\\n\
9469 #ifndef _GCC_PTRDIFF_T\\\n\
9470 #define _GCC_PTRDIFF_T\n",
9471 "-e", "/[ \t]ptrdiff_t/a\\\n\
9473 "-e", "/[ \t]wchar_t/i\\\n\
9474 #ifndef _GCC_WCHAR_T\\\n\
9475 #define _GCC_WCHAR_T\n",
9476 "-e", "/[ \t]wchar_t/a\\\n\
9480 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9482 * Description of Vxworks_Ioctl_Macro fix
9484 tSCC zVxworks_Ioctl_MacroName[] =
9485 "vxworks_ioctl_macro";
9488 * File name selection pattern
9490 tSCC zVxworks_Ioctl_MacroList[] =
9493 * Machine/OS name selection pattern
9495 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9497 (const char*)NULL };
9498 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
9499 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
9502 * Fix Command Arguments for Vxworks_Ioctl_Macro
9504 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9507 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
9508 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9513 * Description of Vxworks_Mkdir_Macro fix
9515 tSCC zVxworks_Mkdir_MacroName[] =
9516 "vxworks_mkdir_macro";
9519 * File name selection pattern
9521 tSCC zVxworks_Mkdir_MacroList[] =
9524 * Machine/OS name selection pattern
9526 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9528 (const char*)NULL };
9529 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
9530 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
9533 * Fix Command Arguments for Vxworks_Mkdir_Macro
9535 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9538 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9539 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9544 * Description of Vxworks_Needs_Vxtypes fix
9546 tSCC zVxworks_Needs_VxtypesName[] =
9547 "vxworks_needs_vxtypes";
9550 * File name selection pattern
9552 tSCC zVxworks_Needs_VxtypesList[] =
9555 * Machine/OS name selection pattern
9557 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9560 * content selection pattern - do fix if pattern found
9562 tSCC zVxworks_Needs_VxtypesSelect0[] =
9563 "uint_t([ \t]+_clocks_per_sec)";
9565 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9566 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9567 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9570 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9572 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9579 * Description of Vxworks_Needs_Vxworks fix
9581 tSCC zVxworks_Needs_VxworksName[] =
9582 "vxworks_needs_vxworks";
9585 * File name selection pattern
9587 tSCC zVxworks_Needs_VxworksList[] =
9590 * Machine/OS name selection pattern
9592 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9595 * content selection pattern - do fix if pattern found
9597 tSCC zVxworks_Needs_VxworksSelect0[] =
9598 "#[ \t]define[ \t]+__INCstath";
9601 * perform the 'test' shell command - do fix on success
9603 tSCC zVxworks_Needs_VxworksTest0[] =
9604 " -r types/vxTypesOld.h";
9605 tSCC zVxworks_Needs_VxworksTest1[] =
9606 " -n \"`egrep '#include' $file`\"";
9607 tSCC zVxworks_Needs_VxworksTest2[] =
9608 " -n \"`egrep ULONG $file`\"";
9610 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
9611 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9612 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
9613 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
9614 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
9615 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9618 * Fix Command Arguments for Vxworks_Needs_Vxworks
9620 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9621 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9622 #include <types/vxTypesOld.h>\n",
9625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9627 * Description of Vxworks_Regs fix
9629 tSCC zVxworks_RegsName[] =
9633 * File name selection pattern
9635 #define zVxworks_RegsList (char*)NULL
9637 * Machine/OS name selection pattern
9639 tSCC* apzVxworks_RegsMachs[] = {
9641 (const char*)NULL };
9644 * content selection pattern - do fix if pattern found
9646 tSCC zVxworks_RegsSelect0[] =
9647 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9649 #define VXWORKS_REGS_TEST_CT 1
9650 static tTestDesc aVxworks_RegsTests[] = {
9651 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
9654 * Fix Command Arguments for Vxworks_Regs
9656 static const char* apzVxworks_RegsPatch[] = {
9658 "#include <arch/../regs.h>",
9661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9663 * Description of Vxworks_Time fix
9665 tSCC zVxworks_TimeName[] =
9669 * File name selection pattern
9671 tSCC zVxworks_TimeList[] =
9674 * Machine/OS name selection pattern
9676 #define apzVxworks_TimeMachs (const char**)NULL
9679 * content selection pattern - do fix if pattern found
9681 tSCC zVxworks_TimeSelect0[] =
9682 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9685 * perform the 'test' shell command - do fix on success
9687 tSCC zVxworks_TimeTest0[] =
9690 #define VXWORKS_TIME_TEST_CT 2
9691 static tTestDesc aVxworks_TimeTests[] = {
9692 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9693 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9696 * Fix Command Arguments for Vxworks_Time
9698 static const char* apzVxworks_TimePatch[] = {
9700 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9701 #ifdef __cplusplus\n\
9702 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9704 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9706 #define __gcc_VOIDFUNCPTR_defined\n\
9708 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9711 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9713 * Description of Vxworks_Write_Const fix
9715 tSCC zVxworks_Write_ConstName[] =
9716 "vxworks_write_const";
9719 * File name selection pattern
9721 tSCC zVxworks_Write_ConstList[] =
9724 * Machine/OS name selection pattern
9726 tSCC* apzVxworks_Write_ConstMachs[] = {
9728 (const char*)NULL };
9729 #define VXWORKS_WRITE_CONST_TEST_CT 0
9730 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9733 * Fix Command Arguments for Vxworks_Write_Const
9735 static const char* apzVxworks_Write_ConstPatch[] = {
9737 "extern int write (int, const char*, size_t);",
9738 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9743 * Description of X11_Class fix
9745 tSCC zX11_ClassName[] =
9749 * File name selection pattern
9751 tSCC zX11_ClassList[] =
9754 * Machine/OS name selection pattern
9756 #define apzX11_ClassMachs (const char**)NULL
9759 * content selection pattern - do fix if pattern found
9761 tSCC zX11_ClassSelect0[] =
9762 "^([ \t]*char \\*)class;(.*)";
9765 * content bypass pattern - skip fix if pattern found
9767 tSCC zX11_ClassBypass0[] =
9770 #define X11_CLASS_TEST_CT 2
9771 static tTestDesc aX11_ClassTests[] = {
9772 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9773 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9776 * Fix Command Arguments for X11_Class
9778 static const char* apzX11_ClassPatch[] = {
9780 "#ifdef __cplusplus\n\
9787 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9789 * Description of X11_Class_Usage fix
9791 tSCC zX11_Class_UsageName[] =
9795 * File name selection pattern
9797 tSCC zX11_Class_UsageList[] =
9798 "Xm/BaseClassI.h\0";
9800 * Machine/OS name selection pattern
9802 #define apzX11_Class_UsageMachs (const char**)NULL
9805 * content selection pattern - do fix if pattern found
9807 tSCC zX11_Class_UsageSelect0[] =
9811 * content bypass pattern - skip fix if pattern found
9813 tSCC zX11_Class_UsageBypass0[] =
9816 #define X11_CLASS_USAGE_TEST_CT 2
9817 static tTestDesc aX11_Class_UsageTests[] = {
9818 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9819 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9822 * Fix Command Arguments for X11_Class_Usage
9824 static const char* apzX11_Class_UsagePatch[] = {
9829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9831 * Description of X11_New fix
9833 tSCC zX11_NewName[] =
9837 * File name selection pattern
9839 tSCC zX11_NewList[] =
9842 * Machine/OS name selection pattern
9844 #define apzX11_NewMachs (const char**)NULL
9847 * content bypass pattern - skip fix if pattern found
9849 tSCC zX11_NewBypass0[] =
9852 #define X11_NEW_TEST_CT 1
9853 static tTestDesc aX11_NewTests[] = {
9854 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9857 * Fix Command Arguments for X11_New
9859 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9860 "-e", "/Widget\told, new;/i\\\n\
9861 #ifdef __cplusplus\\\n\
9862 \\\tWidget\told, c_new;\\\n\
9864 "-e", "/Widget\told, new;/a\\\n\
9866 "-e", "s/Widget new,/Widget c_new,/g",
9869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9871 * Description of X11_Sprintf fix
9873 tSCC zX11_SprintfName[] =
9877 * File name selection pattern
9879 tSCC zX11_SprintfList[] =
9880 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9882 * Machine/OS name selection pattern
9884 #define apzX11_SprintfMachs (const char**)NULL
9887 * content selection pattern - do fix if pattern found
9889 tSCC zX11_SprintfSelect0[] =
9890 "^extern char \\*\tsprintf\\(\\);$";
9892 #define X11_SPRINTF_TEST_CT 1
9893 static tTestDesc aX11_SprintfTests[] = {
9894 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
9897 * Fix Command Arguments for X11_Sprintf
9899 static const char* apzX11_SprintfPatch[] = {
9901 "#ifndef __STDC__\n\
9903 #endif /* !defined __STDC__ */",
9907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9911 #define REGEX_COUNT 279
9912 #define MACH_LIST_SIZE_LIMIT 187
9913 #define FIX_COUNT 242
9916 * Enumerate the fixes
9919 AAB_AIX_STDIO_FIXIDX,
9920 AAB_AIX_FCNTL_FIXIDX,
9921 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9922 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9923 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9924 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9925 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9926 AAB_SUN_MEMCPY_FIXIDX,
9927 AAB_VXWORKS_ASSERT_FIXIDX,
9928 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9929 AAB_VXWORKS_STDINT_FIXIDX,
9930 AAB_VXWORKS_UNISTD_FIXIDX,
9934 AIX_EXTERNCPP1_FIXIDX,
9935 AIX_EXTERNCPP2_FIXIDX,
9937 AIX_NET_IF_ARP_FIXIDX,
9939 AIX_ONCE_INIT_1_FIXIDX,
9940 AIX_ONCE_INIT_2_FIXIDX,
9941 AIX_MUTEX_INITIALIZER_1_FIXIDX,
9942 AIX_COND_INITIALIZER_1_FIXIDX,
9943 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9945 AIX_STDINT_1_FIXIDX,
9946 AIX_STDINT_2_FIXIDX,
9947 AIX_STDINT_3_FIXIDX,
9948 AIX_STDINT_4_FIXIDX,
9949 AIX_STDINT_5_FIXIDX,
9950 AIX_STDIO_INLINE_FIXIDX,
9951 AIX_STDLIB_MALLOC_FIXIDX,
9952 AIX_STDLIB_REALLOC_FIXIDX,
9953 AIX_STDLIB_CALLOC_FIXIDX,
9954 AIX_STDLIB_VALLOC_FIXIDX,
9955 AIX_STRTOF_CONST_FIXIDX,
9956 AIX_SYSMACHINE_FIXIDX,
9957 AIX_SYSWAIT_2_FIXIDX,
9958 AIX_VOLATILE_FIXIDX,
9959 ALPHA___ASSERT_FIXIDX,
9960 ALPHA_ASSERT_FIXIDX,
9961 ALPHA_GETOPT_FIXIDX,
9962 ALPHA_IF_SEMICOLON_FIXIDX,
9963 ALPHA_PARENS_FIXIDX,
9965 AVOID_BOOL_DEFINE_FIXIDX,
9966 AVOID_BOOL_TYPE_FIXIDX,
9967 AVOID_WCHAR_T_TYPE_FIXIDX,
9968 BAD_STRUCT_TERM_FIXIDX,
9970 BROKEN_ASSERT_STDIO_FIXIDX,
9971 BROKEN_ASSERT_STDLIB_FIXIDX,
9974 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9975 CTRL_QUOTES_DEF_FIXIDX,
9976 CTRL_QUOTES_USE_FIXIDX,
9978 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
9979 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9980 DARWIN_EXTERNC_FIXIDX,
9981 DARWIN_GCC4_BREAKAGE_FIXIDX,
9982 DARWIN_LONGJMP_NORETURN_FIXIDX,
9983 DARWIN_OS_TRACE_1_FIXIDX,
9984 DARWIN_OS_TRACE_2_FIXIDX,
9985 DARWIN_OS_TRACE_3_FIXIDX,
9986 DARWIN_PRIVATE_EXTERN_FIXIDX,
9987 DARWIN_STDINT_1_FIXIDX,
9988 DARWIN_STDINT_2_FIXIDX,
9989 DARWIN_STDINT_3_FIXIDX,
9990 DARWIN_STDINT_4_FIXIDX,
9991 DARWIN_STDINT_5_FIXIDX,
9992 DARWIN_STDINT_6_FIXIDX,
9993 DARWIN_STDINT_7_FIXIDX,
9994 DEC_INTERN_ASM_FIXIDX,
9995 DJGPP_WCHAR_H_FIXIDX,
9997 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9998 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9999 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10000 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10001 GLIBC_C99_INLINE_1_FIXIDX,
10002 GLIBC_C99_INLINE_1A_FIXIDX,
10003 GLIBC_C99_INLINE_2_FIXIDX,
10004 GLIBC_C99_INLINE_3_FIXIDX,
10005 GLIBC_C99_INLINE_4_FIXIDX,
10006 GLIBC_MUTEX_INIT_FIXIDX,
10007 GLIBC_STDINT_FIXIDX,
10008 GLIBC_STRNCPY_FIXIDX,
10009 GLIBC_TGMATH_FIXIDX,
10013 HPPA_HPUX_FP_MACROS_FIXIDX,
10014 HPUX10_CPP_POW_INLINE_FIXIDX,
10015 HPUX11_CPP_POW_INLINE_FIXIDX,
10016 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10017 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10018 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10020 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10021 HPUX11_EXTERN_SENDFILE_FIXIDX,
10022 HPUX11_EXTERN_SENDPATH_FIXIDX,
10023 HPUX11_FABSF_FIXIDX,
10024 HPUX11_PTHREAD_CONST_FIXIDX,
10025 HPUX11_SIZE_T_FIXIDX,
10026 HPUX11_SNPRINTF_FIXIDX,
10027 HPUX11_VSNPRINTF_FIXIDX,
10028 HPUX_VSSCANF_FIXIDX,
10029 HPUX8_BOGUS_INLINES_FIXIDX,
10030 HPUX_C99_INTPTR_FIXIDX,
10031 HPUX_C99_INTTYPES_FIXIDX,
10032 HPUX_C99_INTTYPES2_FIXIDX,
10033 HPUX_CTYPE_MACROS_FIXIDX,
10034 HPUX_EXTERN_ERRNO_FIXIDX,
10036 HPUX_IMAGINARY_I_FIXIDX,
10037 HPUX_INTTYPE_INT8_T_FIXIDX,
10038 HPUX_LONG_DOUBLE_FIXIDX,
10039 HPUX_LONG_DOUBLE_2_FIXIDX,
10040 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10041 HPUX_SPU_INFO_FIXIDX,
10042 HPUX_STDINT_LEAST_FAST_FIXIDX,
10043 HPUX_LONGJMP_FIXIDX,
10044 HPUX_SYSTIME_FIXIDX,
10045 HUGE_VAL_HEX_FIXIDX,
10046 HUGE_VALF_HEX_FIXIDX,
10047 HUGE_VALL_HEX_FIXIDX,
10048 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10049 IO_QUOTES_DEF_FIXIDX,
10050 IO_QUOTES_USE_FIXIDX,
10051 IP_MISSING_SEMI_FIXIDX,
10052 IRIX_LIMITS_CONST_FIXIDX,
10053 IRIX_STDIO_VA_LIST_FIXIDX,
10054 KANDR_CONCAT_FIXIDX,
10055 LINUX_IA64_UCONTEXT_FIXIDX,
10056 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10057 LYNXOS_MISSING_PUTENV_FIXIDX,
10058 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10059 MACHINE_NAME_FIXIDX,
10060 MATH_EXCEPTION_FIXIDX,
10061 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10062 NESTED_AUTH_DES_FIXIDX,
10063 NETBSD_C99_INLINE_1_FIXIDX,
10064 NETBSD_C99_INLINE_2_FIXIDX,
10065 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10066 NEWLIB_STDINT_1_FIXIDX,
10067 NEWLIB_STDINT_2_FIXIDX,
10068 NEXT_MATH_PREFIX_FIXIDX,
10069 NEXT_TEMPLATE_FIXIDX,
10070 NEXT_VOLITILE_FIXIDX,
10071 NEXT_WAIT_UNION_FIXIDX,
10072 NODEENT_SYNTAX_FIXIDX,
10073 OPENBSD_NULL_DEFINITION_FIXIDX,
10074 OBSTACK_LVALUE_CAST_FIXIDX,
10075 OPENBSD_VA_START_FIXIDX,
10076 OSF_NAMESPACE_A_FIXIDX,
10077 OSF_NAMESPACE_C_FIXIDX,
10078 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10079 READ_RET_TYPE_FIXIDX,
10080 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10081 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10082 RS6000_DOUBLE_FIXIDX,
10083 RS6000_FCHMOD_FIXIDX,
10084 RS6000_PARAM_FIXIDX,
10085 SOLARIS___RESTRICT_FIXIDX,
10086 SOLARIS_COMPLEX_FIXIDX,
10087 SOLARIS_COMPLEX_CXX_FIXIDX,
10088 SOLARIS_CXX_LINKAGE_FIXIDX,
10089 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10090 SOLARIS_INT_CONST_FIXIDX,
10091 SOLARIS_INT_LIMITS_1_FIXIDX,
10092 SOLARIS_INT_LIMITS_2_FIXIDX,
10093 SOLARIS_INT_LIMITS_3_FIXIDX,
10094 SOLARIS_MATH_1_FIXIDX,
10095 SOLARIS_MATH_10_FIXIDX,
10096 SOLARIS_MATH_2_FIXIDX,
10097 SOLARIS_MATH_3_FIXIDX,
10098 SOLARIS_MATH_4_FIXIDX,
10099 SOLARIS_MATH_8_FIXIDX,
10100 SOLARIS_MATH_9_FIXIDX,
10101 SOLARIS_MATH_11_FIXIDX,
10102 SOLARIS_MATH_12_FIXIDX,
10103 SOLARIS_ONCE_INIT_1_FIXIDX,
10104 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10105 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10106 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10107 SOLARIS_STD___FILBUF_FIXIDX,
10108 SOLARIS_STDIO_TAG_FIXIDX,
10110 STDIO_STDARG_H_FIXIDX,
10111 STDIO_VA_LIST_FIXIDX,
10112 STDIO_VA_LIST_CLIENTS_FIXIDX,
10113 STRICT_ANSI_NOT_FIXIDX,
10114 STRICT_ANSI_NOT_CTD_FIXIDX,
10115 STRICT_ANSI_ONLY_FIXIDX,
10116 STRUCT_FILE_FIXIDX,
10117 STRUCT_SOCKADDR_FIXIDX,
10118 SUN_AUTH_PROTO_FIXIDX,
10119 SUN_BOGUS_IFDEF_FIXIDX,
10120 SUN_CATMACRO_FIXIDX,
10122 SUN_RUSERS_SEMI_FIXIDX,
10124 SUNOS_STRLEN_FIXIDX,
10125 SUSE_LINUX_VT_CXX_FIXIDX,
10126 SVR4_DISABLE_OPT_FIXIDX,
10127 SVR4_GETCWD_FIXIDX,
10128 SVR4_PROFIL_FIXIDX,
10129 SVR4_SIGHANDLER_TYPE_FIXIDX,
10130 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10131 SYSV68_STRING_FIXIDX,
10132 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10133 THREAD_KEYWORD_FIXIDX,
10134 TINFO_CPLUSPLUS_FIXIDX,
10135 ULTRIX_CONST_FIXIDX,
10136 ULTRIX_CONST2_FIXIDX,
10137 VA_I960_MACRO_FIXIDX,
10138 VMS_ADD_MISSING_BRACES_FIXIDX,
10139 VMS_DECC_BUILTIN_FIXIDX,
10140 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10141 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10142 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10143 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10144 VMS_NO_64BIT_GETOPT_FIXIDX,
10145 VMS_USE_FAST_SETJMP_FIXIDX,
10146 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10147 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10149 VXWORKS_GCC_PROBLEM_FIXIDX,
10150 VXWORKS_IOCTL_MACRO_FIXIDX,
10151 VXWORKS_MKDIR_MACRO_FIXIDX,
10152 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10153 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10154 VXWORKS_REGS_FIXIDX,
10155 VXWORKS_TIME_FIXIDX,
10156 VXWORKS_WRITE_CONST_FIXIDX,
10158 X11_CLASS_USAGE_FIXIDX,
10163 tFixDesc fixDescList[ FIX_COUNT ] = {
10164 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10165 apzAab_Aix_StdioMachs,
10166 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10167 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10169 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10170 apzAab_Aix_FcntlMachs,
10171 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10172 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10174 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10175 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10176 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10177 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10179 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10180 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10181 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10182 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10184 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10185 apzAab_Fd_Zero_Gnu_Types_HMachs,
10186 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10187 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10189 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10190 apzAab_Fd_Zero_Selectbits_HMachs,
10191 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10192 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10194 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10195 apzAab_Solaris_Sys_Varargs_HMachs,
10196 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10197 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10199 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10200 apzAab_Sun_MemcpyMachs,
10201 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10202 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10204 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10205 apzAab_Vxworks_AssertMachs,
10206 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10207 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10209 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10210 apzAab_Vxworks_Regs_VxtypesMachs,
10211 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10212 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10214 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
10215 apzAab_Vxworks_StdintMachs,
10216 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10217 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
10219 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10220 apzAab_Vxworks_UnistdMachs,
10221 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10222 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10224 { zAix_AssertName, zAix_AssertList,
10225 apzAix_AssertMachs,
10226 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10227 aAix_AssertTests, apzAix_AssertPatch, 0 },
10229 { zAix_ComplexName, zAix_ComplexList,
10230 apzAix_ComplexMachs,
10231 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10232 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10234 { zAix_ExterncName, zAix_ExterncList,
10235 apzAix_ExterncMachs,
10236 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10237 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10239 { zAix_Externcpp1Name, zAix_Externcpp1List,
10240 apzAix_Externcpp1Machs,
10241 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10242 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10244 { zAix_Externcpp2Name, zAix_Externcpp2List,
10245 apzAix_Externcpp2Machs,
10246 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10247 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10249 { zAix_MallocName, zAix_MallocList,
10250 apzAix_MallocMachs,
10251 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10252 aAix_MallocTests, apzAix_MallocPatch, 0 },
10254 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10255 apzAix_Net_If_ArpMachs,
10256 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10257 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10259 { zAix_NullName, zAix_NullList,
10261 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10262 aAix_NullTests, apzAix_NullPatch, 0 },
10264 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10265 apzAix_Once_Init_1Machs,
10266 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10267 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10269 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10270 apzAix_Once_Init_2Machs,
10271 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10272 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10274 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10275 apzAix_Mutex_Initializer_1Machs,
10276 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10277 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10279 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10280 apzAix_Cond_Initializer_1Machs,
10281 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10282 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10284 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10285 apzAix_Rwlock_Initializer_1Machs,
10286 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10287 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10289 { zAix_PthreadName, zAix_PthreadList,
10290 apzAix_PthreadMachs,
10291 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10292 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10294 { zAix_Stdint_1Name, zAix_Stdint_1List,
10295 apzAix_Stdint_1Machs,
10296 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10297 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10299 { zAix_Stdint_2Name, zAix_Stdint_2List,
10300 apzAix_Stdint_2Machs,
10301 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10302 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10304 { zAix_Stdint_3Name, zAix_Stdint_3List,
10305 apzAix_Stdint_3Machs,
10306 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10307 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10309 { zAix_Stdint_4Name, zAix_Stdint_4List,
10310 apzAix_Stdint_4Machs,
10311 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10312 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10314 { zAix_Stdint_5Name, zAix_Stdint_5List,
10315 apzAix_Stdint_5Machs,
10316 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10317 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10319 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10320 apzAix_Stdio_InlineMachs,
10321 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10322 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10324 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10325 apzAix_Stdlib_MallocMachs,
10326 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10327 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10329 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10330 apzAix_Stdlib_ReallocMachs,
10331 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10332 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10334 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10335 apzAix_Stdlib_CallocMachs,
10336 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10337 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10339 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10340 apzAix_Stdlib_VallocMachs,
10341 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10342 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10344 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10345 apzAix_Strtof_ConstMachs,
10346 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10347 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10349 { zAix_SysmachineName, zAix_SysmachineList,
10350 apzAix_SysmachineMachs,
10351 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10352 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10354 { zAix_Syswait_2Name, zAix_Syswait_2List,
10355 apzAix_Syswait_2Machs,
10356 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10357 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10359 { zAix_VolatileName, zAix_VolatileList,
10360 apzAix_VolatileMachs,
10361 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10362 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10364 { zAlpha___AssertName, zAlpha___AssertList,
10365 apzAlpha___AssertMachs,
10366 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10367 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10369 { zAlpha_AssertName, zAlpha_AssertList,
10370 apzAlpha_AssertMachs,
10371 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10372 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10374 { zAlpha_GetoptName, zAlpha_GetoptList,
10375 apzAlpha_GetoptMachs,
10376 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10377 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10379 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10380 apzAlpha_If_SemicolonMachs,
10381 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10382 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10384 { zAlpha_ParensName, zAlpha_ParensList,
10385 apzAlpha_ParensMachs,
10386 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10387 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10389 { zAlpha_SbrkName, zAlpha_SbrkList,
10390 apzAlpha_SbrkMachs,
10391 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10392 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10394 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10395 apzAvoid_Bool_DefineMachs,
10396 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10397 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
10399 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
10400 apzAvoid_Bool_TypeMachs,
10401 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10402 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
10404 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
10405 apzAvoid_Wchar_T_TypeMachs,
10406 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10407 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
10409 { zBad_Struct_TermName, zBad_Struct_TermList,
10410 apzBad_Struct_TermMachs,
10411 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10412 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
10414 { zBadquoteName, zBadquoteList,
10416 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10417 aBadquoteTests, apzBadquotePatch, 0 },
10419 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
10420 apzBroken_Assert_StdioMachs,
10421 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10422 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
10424 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
10425 apzBroken_Assert_StdlibMachs,
10426 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10427 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
10429 { zBroken_CabsName, zBroken_CabsList,
10430 apzBroken_CabsMachs,
10431 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10432 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
10434 { zBroken_NanName, zBroken_NanList,
10435 apzBroken_NanMachs,
10436 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10437 aBroken_NanTests, apzBroken_NanPatch, 0 },
10439 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
10440 apzBsd_Stdio_Attrs_ConflictMachs,
10441 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10442 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10444 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
10445 apzCtrl_Quotes_DefMachs,
10446 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10447 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
10449 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
10450 apzCtrl_Quotes_UseMachs,
10451 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10452 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
10454 { zCxx_UnreadyName, zCxx_UnreadyList,
10455 apzCxx_UnreadyMachs,
10456 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10457 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
10459 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
10460 apzDarwin_AvailabilityinternalMachs,
10461 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10462 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
10464 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
10465 apzDarwin_9_Long_Double_Funcs_2Machs,
10466 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10467 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10469 { zDarwin_ExterncName, zDarwin_ExterncList,
10470 apzDarwin_ExterncMachs,
10471 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10472 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
10474 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
10475 apzDarwin_Gcc4_BreakageMachs,
10476 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10477 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
10479 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
10480 apzDarwin_Longjmp_NoreturnMachs,
10481 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10482 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
10484 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
10485 apzDarwin_Os_Trace_1Machs,
10486 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10487 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
10489 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
10490 apzDarwin_Os_Trace_2Machs,
10491 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10492 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
10494 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
10495 apzDarwin_Os_Trace_3Machs,
10496 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10497 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
10499 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
10500 apzDarwin_Private_ExternMachs,
10501 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10502 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
10504 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
10505 apzDarwin_Stdint_1Machs,
10506 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10507 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
10509 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
10510 apzDarwin_Stdint_2Machs,
10511 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10512 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
10514 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
10515 apzDarwin_Stdint_3Machs,
10516 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10517 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
10519 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
10520 apzDarwin_Stdint_4Machs,
10521 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10522 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
10524 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
10525 apzDarwin_Stdint_5Machs,
10526 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10527 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
10529 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
10530 apzDarwin_Stdint_6Machs,
10531 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10532 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
10534 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
10535 apzDarwin_Stdint_7Machs,
10536 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10537 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
10539 { zDec_Intern_AsmName, zDec_Intern_AsmList,
10540 apzDec_Intern_AsmMachs,
10541 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10542 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
10544 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
10545 apzDjgpp_Wchar_HMachs,
10546 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10547 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
10549 { zEcd_CursorName, zEcd_CursorList,
10550 apzEcd_CursorMachs,
10551 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10552 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
10554 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10555 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10556 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10557 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10559 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10560 apzFeraiseexcept_Nosse_InvalidMachs,
10561 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10562 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10564 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
10565 apzFreebsd_Gcc3_BreakageMachs,
10566 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10567 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
10569 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
10570 apzFreebsd_Gcc4_BreakageMachs,
10571 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10572 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
10574 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
10575 apzGlibc_C99_Inline_1Machs,
10576 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10577 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
10579 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
10580 apzGlibc_C99_Inline_1aMachs,
10581 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10582 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
10584 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
10585 apzGlibc_C99_Inline_2Machs,
10586 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10587 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
10589 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
10590 apzGlibc_C99_Inline_3Machs,
10591 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10592 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
10594 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
10595 apzGlibc_C99_Inline_4Machs,
10596 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10597 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
10599 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
10600 apzGlibc_Mutex_InitMachs,
10601 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10602 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
10604 { zGlibc_StdintName, zGlibc_StdintList,
10605 apzGlibc_StdintMachs,
10606 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10607 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
10609 { zGlibc_StrncpyName, zGlibc_StrncpyList,
10610 apzGlibc_StrncpyMachs,
10611 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10612 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
10614 { zGlibc_TgmathName, zGlibc_TgmathList,
10615 apzGlibc_TgmathMachs,
10616 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10617 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
10619 { zGnu_TypesName, zGnu_TypesList,
10621 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10622 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
10624 { zHp_InlineName, zHp_InlineList,
10626 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10627 aHp_InlineTests, apzHp_InlinePatch, 0 },
10629 { zHp_SysfileName, zHp_SysfileList,
10630 apzHp_SysfileMachs,
10631 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10632 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
10634 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
10635 apzHppa_Hpux_Fp_MacrosMachs,
10636 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10637 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10639 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10640 apzHpux10_Cpp_Pow_InlineMachs,
10641 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10642 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10644 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10645 apzHpux11_Cpp_Pow_InlineMachs,
10646 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10647 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10649 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10650 apzHpux10_Ctype_Declarations1Machs,
10651 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10652 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10654 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10655 apzHpux10_Ctype_Declarations2Machs,
10656 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10657 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10659 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10660 apzHpux10_Stdio_DeclarationsMachs,
10661 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10662 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10664 { zHpux11_AbsName, zHpux11_AbsList,
10665 apzHpux11_AbsMachs,
10666 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10667 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10669 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
10670 apzHpux11_Lwp_Rwlock_ValidMachs,
10671 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10672 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10674 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10675 apzHpux11_Extern_SendfileMachs,
10676 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10677 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10679 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10680 apzHpux11_Extern_SendpathMachs,
10681 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10682 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10684 { zHpux11_FabsfName, zHpux11_FabsfList,
10685 apzHpux11_FabsfMachs,
10686 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10687 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10689 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10690 apzHpux11_Pthread_ConstMachs,
10691 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10692 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10694 { zHpux11_Size_TName, zHpux11_Size_TList,
10695 apzHpux11_Size_TMachs,
10696 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10697 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10699 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10700 apzHpux11_SnprintfMachs,
10701 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10702 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
10704 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
10705 apzHpux11_VsnprintfMachs,
10706 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10707 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
10709 { zHpux_VsscanfName, zHpux_VsscanfList,
10710 apzHpux_VsscanfMachs,
10711 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10712 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
10714 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
10715 apzHpux8_Bogus_InlinesMachs,
10716 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10717 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10719 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10720 apzHpux_C99_IntptrMachs,
10721 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10722 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10724 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10725 apzHpux_C99_InttypesMachs,
10726 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10727 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10729 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10730 apzHpux_C99_Inttypes2Machs,
10731 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10732 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10734 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10735 apzHpux_Ctype_MacrosMachs,
10736 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10737 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10739 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10740 apzHpux_Extern_ErrnoMachs,
10741 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10742 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10744 { zHpux_HtonlName, zHpux_HtonlList,
10745 apzHpux_HtonlMachs,
10746 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10747 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10749 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10750 apzHpux_Imaginary_IMachs,
10751 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10752 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10754 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10755 apzHpux_Inttype_Int8_TMachs,
10756 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10757 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10759 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10760 apzHpux_Long_DoubleMachs,
10761 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10762 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10764 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10765 apzHpux_Long_Double_2Machs,
10766 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10767 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10769 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10770 apzHpux_Pthread_InitializersMachs,
10771 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10772 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10774 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10775 apzHpux_Spu_InfoMachs,
10776 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10777 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10779 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10780 apzHpux_Stdint_Least_FastMachs,
10781 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10782 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10784 { zHpux_LongjmpName, zHpux_LongjmpList,
10785 apzHpux_LongjmpMachs,
10786 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10787 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
10789 { zHpux_SystimeName, zHpux_SystimeList,
10790 apzHpux_SystimeMachs,
10791 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10792 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10794 { zHuge_Val_HexName, zHuge_Val_HexList,
10795 apzHuge_Val_HexMachs,
10796 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10797 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10799 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10800 apzHuge_Valf_HexMachs,
10801 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10802 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10804 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10805 apzHuge_Vall_HexMachs,
10806 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10807 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10809 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10810 apzInt_Abort_Free_And_ExitMachs,
10811 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10812 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10814 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10815 apzIo_Quotes_DefMachs,
10816 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10817 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10819 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10820 apzIo_Quotes_UseMachs,
10821 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10822 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10824 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10825 apzIp_Missing_SemiMachs,
10826 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10827 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10829 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10830 apzIrix_Limits_ConstMachs,
10831 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10832 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10834 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10835 apzIrix_Stdio_Va_ListMachs,
10836 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10837 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10839 { zKandr_ConcatName, zKandr_ConcatList,
10840 apzKandr_ConcatMachs,
10841 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10842 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10844 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10845 apzLinux_Ia64_UcontextMachs,
10846 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10847 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10849 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10850 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10851 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10852 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10854 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10855 apzLynxos_Missing_PutenvMachs,
10856 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10857 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10859 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10860 apzMachine_Ansi_H_Va_ListMachs,
10861 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10862 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10864 { zMachine_NameName, zMachine_NameList,
10865 apzMachine_NameMachs,
10866 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10867 aMachine_NameTests, apzMachine_NamePatch, 0 },
10869 { zMath_ExceptionName, zMath_ExceptionList,
10870 apzMath_ExceptionMachs,
10871 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10872 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
10874 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
10875 apzMath_Huge_Val_From_Dbl_MaxMachs,
10876 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10877 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10879 { zNested_Auth_DesName, zNested_Auth_DesList,
10880 apzNested_Auth_DesMachs,
10881 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10882 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
10884 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
10885 apzNetbsd_C99_Inline_1Machs,
10886 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10887 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
10889 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
10890 apzNetbsd_C99_Inline_2Machs,
10891 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10892 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
10894 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
10895 apzNetbsd_Extra_SemicolonMachs,
10896 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10897 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
10899 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
10900 apzNewlib_Stdint_1Machs,
10901 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10902 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
10904 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
10905 apzNewlib_Stdint_2Machs,
10906 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10907 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
10909 { zNext_Math_PrefixName, zNext_Math_PrefixList,
10910 apzNext_Math_PrefixMachs,
10911 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10912 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
10914 { zNext_TemplateName, zNext_TemplateList,
10915 apzNext_TemplateMachs,
10916 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10917 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
10919 { zNext_VolitileName, zNext_VolitileList,
10920 apzNext_VolitileMachs,
10921 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10922 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
10924 { zNext_Wait_UnionName, zNext_Wait_UnionList,
10925 apzNext_Wait_UnionMachs,
10926 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10927 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
10929 { zNodeent_SyntaxName, zNodeent_SyntaxList,
10930 apzNodeent_SyntaxMachs,
10931 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10932 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
10934 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
10935 apzOpenbsd_Null_DefinitionMachs,
10936 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10937 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
10939 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
10940 apzObstack_Lvalue_CastMachs,
10941 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10942 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
10944 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
10945 apzOpenbsd_Va_StartMachs,
10946 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10947 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
10949 { zOsf_Namespace_AName, zOsf_Namespace_AList,
10950 apzOsf_Namespace_AMachs,
10951 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10952 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
10954 { zOsf_Namespace_CName, zOsf_Namespace_CList,
10955 apzOsf_Namespace_CMachs,
10956 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10957 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
10959 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
10960 apzPthread_Incomplete_Struct_ArgumentMachs,
10961 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10962 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10964 { zRead_Ret_TypeName, zRead_Ret_TypeList,
10965 apzRead_Ret_TypeMachs,
10966 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10967 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
10969 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
10970 apzRpc_Xdr_Lvalue_Cast_AMachs,
10971 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10972 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10974 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
10975 apzRpc_Xdr_Lvalue_Cast_BMachs,
10976 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10977 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10979 { zRs6000_DoubleName, zRs6000_DoubleList,
10980 apzRs6000_DoubleMachs,
10981 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10982 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
10984 { zRs6000_FchmodName, zRs6000_FchmodList,
10985 apzRs6000_FchmodMachs,
10986 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10987 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
10989 { zRs6000_ParamName, zRs6000_ParamList,
10990 apzRs6000_ParamMachs,
10991 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10992 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
10994 { zSolaris___RestrictName, zSolaris___RestrictList,
10995 apzSolaris___RestrictMachs,
10996 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10997 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
10999 { zSolaris_ComplexName, zSolaris_ComplexList,
11000 apzSolaris_ComplexMachs,
11001 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11002 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11004 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11005 apzSolaris_Complex_CxxMachs,
11006 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11007 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11009 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11010 apzSolaris_Cxx_LinkageMachs,
11011 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11012 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11014 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11015 apzSolaris_Getc_Strict_StdcMachs,
11016 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11017 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11019 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11020 apzSolaris_Int_ConstMachs,
11021 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11022 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11024 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11025 apzSolaris_Int_Limits_1Machs,
11026 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11027 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11029 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11030 apzSolaris_Int_Limits_2Machs,
11031 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11032 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11034 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11035 apzSolaris_Int_Limits_3Machs,
11036 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11037 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11039 { zSolaris_Math_1Name, zSolaris_Math_1List,
11040 apzSolaris_Math_1Machs,
11041 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11042 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11044 { zSolaris_Math_10Name, zSolaris_Math_10List,
11045 apzSolaris_Math_10Machs,
11046 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11047 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11049 { zSolaris_Math_2Name, zSolaris_Math_2List,
11050 apzSolaris_Math_2Machs,
11051 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11052 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11054 { zSolaris_Math_3Name, zSolaris_Math_3List,
11055 apzSolaris_Math_3Machs,
11056 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11057 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11059 { zSolaris_Math_4Name, zSolaris_Math_4List,
11060 apzSolaris_Math_4Machs,
11061 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11062 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11064 { zSolaris_Math_8Name, zSolaris_Math_8List,
11065 apzSolaris_Math_8Machs,
11066 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11067 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11069 { zSolaris_Math_9Name, zSolaris_Math_9List,
11070 apzSolaris_Math_9Machs,
11071 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11072 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11074 { zSolaris_Math_11Name, zSolaris_Math_11List,
11075 apzSolaris_Math_11Machs,
11076 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11077 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11079 { zSolaris_Math_12Name, zSolaris_Math_12List,
11080 apzSolaris_Math_12Machs,
11081 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11082 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11084 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11085 apzSolaris_Once_Init_1Machs,
11086 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11087 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11089 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11090 apzSolaris_Posix_Spawn_RestrictMachs,
11091 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11092 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11094 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11095 apzSolaris_Pow_Int_OverloadMachs,
11096 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11097 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11099 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11100 apzSolaris_Rwlock_Init_1Machs,
11101 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11102 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11104 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11105 apzSolaris_Std___FilbufMachs,
11106 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11107 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11109 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11110 apzSolaris_Stdio_TagMachs,
11111 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11112 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11114 { zStatsswtchName, zStatsswtchList,
11115 apzStatsswtchMachs,
11116 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11117 aStatsswtchTests, apzStatsswtchPatch, 0 },
11119 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11120 apzStdio_Stdarg_HMachs,
11121 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11122 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11124 { zStdio_Va_ListName, zStdio_Va_ListList,
11125 apzStdio_Va_ListMachs,
11126 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11127 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11129 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11130 apzStdio_Va_List_ClientsMachs,
11131 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11132 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11134 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11135 apzStrict_Ansi_NotMachs,
11136 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11137 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11139 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11140 apzStrict_Ansi_Not_CtdMachs,
11141 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11142 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11144 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11145 apzStrict_Ansi_OnlyMachs,
11146 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11147 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11149 { zStruct_FileName, zStruct_FileList,
11150 apzStruct_FileMachs,
11151 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11152 aStruct_FileTests, apzStruct_FilePatch, 0 },
11154 { zStruct_SockaddrName, zStruct_SockaddrList,
11155 apzStruct_SockaddrMachs,
11156 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11157 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11159 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11160 apzSun_Auth_ProtoMachs,
11161 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11162 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11164 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11165 apzSun_Bogus_IfdefMachs,
11166 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11167 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11169 { zSun_CatmacroName, zSun_CatmacroList,
11170 apzSun_CatmacroMachs,
11171 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11172 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11174 { zSun_MallocName, zSun_MallocList,
11175 apzSun_MallocMachs,
11176 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11177 aSun_MallocTests, apzSun_MallocPatch, 0 },
11179 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11180 apzSun_Rusers_SemiMachs,
11181 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11182 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11184 { zSun_SignalName, zSun_SignalList,
11185 apzSun_SignalMachs,
11186 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11187 aSun_SignalTests, apzSun_SignalPatch, 0 },
11189 { zSunos_StrlenName, zSunos_StrlenList,
11190 apzSunos_StrlenMachs,
11191 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11192 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11194 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11195 apzSuse_Linux_Vt_CxxMachs,
11196 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11197 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11199 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11200 apzSvr4_Disable_OptMachs,
11201 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11202 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11204 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11205 apzSvr4_GetcwdMachs,
11206 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11207 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11209 { zSvr4_ProfilName, zSvr4_ProfilList,
11210 apzSvr4_ProfilMachs,
11211 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11212 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11214 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11215 apzSvr4_Sighandler_TypeMachs,
11216 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11217 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11219 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11220 apzSvr4_Undeclared_GetrngeMachs,
11221 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11222 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11224 { zSysv68_StringName, zSysv68_StringList,
11225 apzSysv68_StringMachs,
11226 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11227 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11229 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11230 apzSysz_Stdlib_For_SunMachs,
11231 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11232 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11234 { zThread_KeywordName, zThread_KeywordList,
11235 apzThread_KeywordMachs,
11236 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11237 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11239 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11240 apzTinfo_CplusplusMachs,
11241 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11242 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11244 { zUltrix_ConstName, zUltrix_ConstList,
11245 apzUltrix_ConstMachs,
11246 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11247 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11249 { zUltrix_Const2Name, zUltrix_Const2List,
11250 apzUltrix_Const2Machs,
11251 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11252 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11254 { zVa_I960_MacroName, zVa_I960_MacroList,
11255 apzVa_I960_MacroMachs,
11256 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11257 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11259 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11260 apzVms_Add_Missing_BracesMachs,
11261 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11262 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11264 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11265 apzVms_Decc_BuiltinMachs,
11266 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11267 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11269 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11270 apzVms_Define_Can_Use_Extern_PrefixMachs,
11271 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11272 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11274 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11275 apzVms_Disable_Decc_String_BuiltinsMachs,
11276 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11277 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11279 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11280 apzVms_Do_Not_Redeclare_HostaliasMachs,
11281 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11282 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11284 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11285 apzVms_Forward_Declare_StructMachs,
11286 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11287 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11289 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11290 apzVms_No_64bit_GetoptMachs,
11291 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11292 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11294 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11295 apzVms_Use_Fast_SetjmpMachs,
11296 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11297 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11299 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11300 apzVms_Use_Pragma_Extern_ModelMachs,
11301 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11302 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11304 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11305 apzVms_Use_Quoted_IncludeMachs,
11306 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11307 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11309 { zVoid_NullName, zVoid_NullList,
11311 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11312 aVoid_NullTests, apzVoid_NullPatch, 0 },
11314 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11315 apzVxworks_Gcc_ProblemMachs,
11316 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11317 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11319 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11320 apzVxworks_Ioctl_MacroMachs,
11321 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11322 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11324 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11325 apzVxworks_Mkdir_MacroMachs,
11326 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11327 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11329 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11330 apzVxworks_Needs_VxtypesMachs,
11331 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11332 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11334 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11335 apzVxworks_Needs_VxworksMachs,
11336 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11337 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
11339 { zVxworks_RegsName, zVxworks_RegsList,
11340 apzVxworks_RegsMachs,
11341 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11342 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
11344 { zVxworks_TimeName, zVxworks_TimeList,
11345 apzVxworks_TimeMachs,
11346 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11347 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
11349 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
11350 apzVxworks_Write_ConstMachs,
11351 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11352 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
11354 { zX11_ClassName, zX11_ClassList,
11356 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11357 aX11_ClassTests, apzX11_ClassPatch, 0 },
11359 { zX11_Class_UsageName, zX11_Class_UsageList,
11360 apzX11_Class_UsageMachs,
11361 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11362 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
11364 { zX11_NewName, zX11_NewList,
11366 X11_NEW_TEST_CT, FD_MACH_ONLY,
11367 aX11_NewTests, apzX11_NewPatch, 0 },
11369 { zX11_SprintfName, zX11_SprintfList,
11370 apzX11_SprintfMachs,
11371 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11372 aX11_SprintfTests, apzX11_SprintfPatch, 0 }