1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Saturday February 11, 2017 at 04:09:01 PM EST
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat 11 Feb 2017 16:09:01 EST
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 247 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 Hppa_Hpux11_Alloca fix
4347 tSCC zHppa_Hpux11_AllocaName[] =
4348 "hppa_hpux11_alloca";
4351 * File name selection pattern
4353 tSCC zHppa_Hpux11_AllocaList[] =
4356 * Machine/OS name selection pattern
4358 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4360 (const char*)NULL };
4363 * content selection pattern - do fix if pattern found
4365 tSCC zHppa_Hpux11_AllocaSelect0[] =
4366 "#ifndef _STDDEF_INCLUDED";
4368 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4369 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4370 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4373 * Fix Command Arguments for Hppa_Hpux11_Alloca
4375 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4377 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4378 # include <sys/stdsyms.h>\n\
4379 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4385 * Description of Hpux11_Abs fix
4387 tSCC zHpux11_AbsName[] =
4391 * File name selection pattern
4393 tSCC zHpux11_AbsList[] =
4396 * Machine/OS name selection pattern
4398 tSCC* apzHpux11_AbsMachs[] = {
4400 (const char*)NULL };
4403 * content selection pattern - do fix if pattern found
4405 tSCC zHpux11_AbsSelect0[] =
4406 "ifndef _MATH_INCLUDED";
4408 #define HPUX11_ABS_TEST_CT 1
4409 static tTestDesc aHpux11_AbsTests[] = {
4410 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4413 * Fix Command Arguments for Hpux11_Abs
4415 static const char* apzHpux11_AbsPatch[] = {
4417 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4422 * Description of Hpux11_Lwp_Rwlock_Valid fix
4424 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4425 "hpux11_lwp_rwlock_valid";
4428 * File name selection pattern
4430 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4433 * Machine/OS name selection pattern
4435 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4437 (const char*)NULL };
4440 * content selection pattern - do fix if pattern found
4442 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4443 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4445 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4446 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4447 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4450 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4452 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4454 "#define __LWP_RWLOCK_VALID -29551",
4457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4459 * Description of Hpux11_Extern_Sendfile fix
4461 tSCC zHpux11_Extern_SendfileName[] =
4462 "hpux11_extern_sendfile";
4465 * File name selection pattern
4467 tSCC zHpux11_Extern_SendfileList[] =
4470 * Machine/OS name selection pattern
4472 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4473 "*-hp-hpux11.[12]*",
4474 (const char*)NULL };
4477 * content selection pattern - do fix if pattern found
4479 tSCC zHpux11_Extern_SendfileSelect0[] =
4480 "^[ \t]*extern sbsize_t sendfile.*\n\
4483 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4484 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4485 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4488 * Fix Command Arguments for Hpux11_Extern_Sendfile
4490 static const char* apzHpux11_Extern_SendfilePatch[] = {
4492 "#ifndef _APP32_64BIT_OFF_T\n\
4496 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4498 * Description of Hpux11_Extern_Sendpath fix
4500 tSCC zHpux11_Extern_SendpathName[] =
4501 "hpux11_extern_sendpath";
4504 * File name selection pattern
4506 tSCC zHpux11_Extern_SendpathList[] =
4509 * Machine/OS name selection pattern
4511 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4512 "*-hp-hpux11.[12]*",
4513 (const char*)NULL };
4516 * content selection pattern - do fix if pattern found
4518 tSCC zHpux11_Extern_SendpathSelect0[] =
4519 "^[ \t]*extern sbsize_t sendpath.*\n\
4522 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4523 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4524 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4527 * Fix Command Arguments for Hpux11_Extern_Sendpath
4529 static const char* apzHpux11_Extern_SendpathPatch[] = {
4531 "#ifndef _APP32_64BIT_OFF_T\n\
4535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4537 * Description of Hpux11_Fabsf fix
4539 tSCC zHpux11_FabsfName[] =
4543 * File name selection pattern
4545 tSCC zHpux11_FabsfList[] =
4548 * Machine/OS name selection pattern
4550 tSCC* apzHpux11_FabsfMachs[] = {
4552 (const char*)NULL };
4555 * content selection pattern - do fix if pattern found
4557 tSCC zHpux11_FabsfSelect0[] =
4558 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4560 #define HPUX11_FABSF_TEST_CT 1
4561 static tTestDesc aHpux11_FabsfTests[] = {
4562 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4565 * Fix Command Arguments for Hpux11_Fabsf
4567 static const char* apzHpux11_FabsfPatch[] = {
4569 "#ifndef __cplusplus\n\
4574 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4576 * Description of Hpux11_Pthread_Const fix
4578 tSCC zHpux11_Pthread_ConstName[] =
4579 "hpux11_pthread_const";
4582 * File name selection pattern
4584 tSCC zHpux11_Pthread_ConstList[] =
4587 * Machine/OS name selection pattern
4589 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4590 "*-hp-hpux11.[0-3]*",
4591 (const char*)NULL };
4594 * content selection pattern - do fix if pattern found
4596 tSCC zHpux11_Pthread_ConstSelect0[] =
4597 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
4599 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4600 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4601 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4604 * Fix Command Arguments for Hpux11_Pthread_Const
4606 static const char* apzHpux11_Pthread_ConstPatch[] = {
4608 "#define __POINTER_SET\t\t((void *) 1L)",
4611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4613 * Description of Hpux11_Size_T fix
4615 tSCC zHpux11_Size_TName[] =
4619 * File name selection pattern
4621 #define zHpux11_Size_TList (char*)NULL
4623 * Machine/OS name selection pattern
4625 tSCC* apzHpux11_Size_TMachs[] = {
4627 (const char*)NULL };
4630 * content selection pattern - do fix if pattern found
4632 tSCC zHpux11_Size_TSelect0[] =
4635 #define HPUX11_SIZE_T_TEST_CT 1
4636 static tTestDesc aHpux11_Size_TTests[] = {
4637 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4640 * Fix Command Arguments for Hpux11_Size_T
4642 static const char* apzHpux11_Size_TPatch[] = {
4647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4649 * Description of Hpux11_Snprintf fix
4651 tSCC zHpux11_SnprintfName[] =
4655 * File name selection pattern
4657 tSCC zHpux11_SnprintfList[] =
4660 * Machine/OS name selection pattern
4662 #define apzHpux11_SnprintfMachs (const char**)NULL
4665 * content selection pattern - do fix if pattern found
4667 tSCC zHpux11_SnprintfSelect0[] =
4668 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4670 #define HPUX11_SNPRINTF_TEST_CT 1
4671 static tTestDesc aHpux11_SnprintfTests[] = {
4672 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4675 * Fix Command Arguments for Hpux11_Snprintf
4677 static const char* apzHpux11_SnprintfPatch[] = {
4682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4684 * Description of Hpux11_Vsnprintf fix
4686 tSCC zHpux11_VsnprintfName[] =
4690 * File name selection pattern
4692 tSCC zHpux11_VsnprintfList[] =
4695 * Machine/OS name selection pattern
4697 #define apzHpux11_VsnprintfMachs (const char**)NULL
4700 * content selection pattern - do fix if pattern found
4702 tSCC zHpux11_VsnprintfSelect0[] =
4703 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4705 #define HPUX11_VSNPRINTF_TEST_CT 1
4706 static tTestDesc aHpux11_VsnprintfTests[] = {
4707 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4710 * Fix Command Arguments for Hpux11_Vsnprintf
4712 static const char* apzHpux11_VsnprintfPatch[] = {
4717 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4719 * Description of Hpux_Vsscanf fix
4721 tSCC zHpux_VsscanfName[] =
4725 * File name selection pattern
4727 tSCC zHpux_VsscanfList[] =
4730 * Machine/OS name selection pattern
4732 tSCC* apzHpux_VsscanfMachs[] = {
4734 (const char*)NULL };
4737 * content selection pattern - do fix if pattern found
4739 tSCC zHpux_VsscanfSelect0[] =
4740 "(extern int vsscanf\\()char";
4742 #define HPUX_VSSCANF_TEST_CT 1
4743 static tTestDesc aHpux_VsscanfTests[] = {
4744 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4747 * Fix Command Arguments for Hpux_Vsscanf
4749 static const char* apzHpux_VsscanfPatch[] = {
4754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4756 * Description of Hpux8_Bogus_Inlines fix
4758 tSCC zHpux8_Bogus_InlinesName[] =
4759 "hpux8_bogus_inlines";
4762 * File name selection pattern
4764 tSCC zHpux8_Bogus_InlinesList[] =
4767 * Machine/OS name selection pattern
4769 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4772 * content selection pattern - do fix if pattern found
4774 tSCC zHpux8_Bogus_InlinesSelect0[] =
4778 * content bypass pattern - skip fix if pattern found
4780 tSCC zHpux8_Bogus_InlinesBypass0[] =
4783 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4784 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4785 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4786 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4789 * Fix Command Arguments for Hpux8_Bogus_Inlines
4791 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4792 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4793 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4794 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4795 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4800 * Description of Hpux_C99_Intptr fix
4802 tSCC zHpux_C99_IntptrName[] =
4806 * File name selection pattern
4808 tSCC zHpux_C99_IntptrList[] =
4809 "stdint-hpux11.h\0stdint.h\0";
4811 * Machine/OS name selection pattern
4813 tSCC* apzHpux_C99_IntptrMachs[] = {
4815 (const char*)NULL };
4816 #define HPUX_C99_INTPTR_TEST_CT 0
4817 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4820 * Fix Command Arguments for Hpux_C99_Intptr
4822 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4823 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4824 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4825 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4826 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4827 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4828 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4833 * Description of Hpux_C99_Inttypes fix
4835 tSCC zHpux_C99_InttypesName[] =
4836 "hpux_c99_inttypes";
4839 * File name selection pattern
4841 tSCC zHpux_C99_InttypesList[] =
4842 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4844 * Machine/OS name selection pattern
4846 tSCC* apzHpux_C99_InttypesMachs[] = {
4847 "*-hp-hpux11.[23]*",
4848 (const char*)NULL };
4849 #define HPUX_C99_INTTYPES_TEST_CT 0
4850 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4853 * Fix Command Arguments for Hpux_C99_Inttypes
4855 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4856 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4857 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4858 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4859 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4864 * Description of Hpux_C99_Inttypes2 fix
4866 tSCC zHpux_C99_Inttypes2Name[] =
4867 "hpux_c99_inttypes2";
4870 * File name selection pattern
4872 tSCC zHpux_C99_Inttypes2List[] =
4873 "stdint-hpux11.h\0stdint.h\0";
4875 * Machine/OS name selection pattern
4877 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4879 (const char*)NULL };
4880 #define HPUX_C99_INTTYPES2_TEST_CT 0
4881 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4884 * Fix Command Arguments for Hpux_C99_Inttypes2
4886 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4887 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4888 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4889 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4890 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4895 * Description of Hpux_Ctype_Macros fix
4897 tSCC zHpux_Ctype_MacrosName[] =
4898 "hpux_ctype_macros";
4901 * File name selection pattern
4903 tSCC zHpux_Ctype_MacrosList[] =
4906 * Machine/OS name selection pattern
4908 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4911 * content selection pattern - do fix if pattern found
4913 tSCC zHpux_Ctype_MacrosSelect0[] =
4914 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4916 #define HPUX_CTYPE_MACROS_TEST_CT 1
4917 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4918 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4921 * Fix Command Arguments for Hpux_Ctype_Macros
4923 static const char* apzHpux_Ctype_MacrosPatch[] = {
4928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4930 * Description of Hpux_Extern_Errno fix
4932 tSCC zHpux_Extern_ErrnoName[] =
4933 "hpux_extern_errno";
4936 * File name selection pattern
4938 tSCC zHpux_Extern_ErrnoList[] =
4941 * Machine/OS name selection pattern
4943 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4945 "*-hp-hpux11.[0-2]*",
4946 (const char*)NULL };
4949 * content selection pattern - do fix if pattern found
4951 tSCC zHpux_Extern_ErrnoSelect0[] =
4952 "^[ \t]*extern int errno;$";
4954 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4955 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4956 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4959 * Fix Command Arguments for Hpux_Extern_Errno
4961 static const char* apzHpux_Extern_ErrnoPatch[] = {
4963 "#ifdef __cplusplus\n\
4967 #ifdef __cplusplus\n\
4972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4974 * Description of Hpux_Htonl fix
4976 tSCC zHpux_HtonlName[] =
4980 * File name selection pattern
4982 tSCC zHpux_HtonlList[] =
4985 * Machine/OS name selection pattern
4987 #define apzHpux_HtonlMachs (const char**)NULL
4990 * content selection pattern - do fix if pattern found
4992 tSCC zHpux_HtonlSelect0[] =
4993 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4995 \\* Macros for number representation conversion\\.\n\
4999 #define HPUX_HTONL_TEST_CT 1
5000 static tTestDesc aHpux_HtonlTests[] = {
5001 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5004 * Fix Command Arguments for Hpux_Htonl
5006 static const char* apzHpux_HtonlPatch[] = {
5012 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5014 * Description of Hpux_Imaginary_I fix
5016 tSCC zHpux_Imaginary_IName[] =
5020 * File name selection pattern
5022 tSCC zHpux_Imaginary_IList[] =
5025 * Machine/OS name selection pattern
5027 tSCC* apzHpux_Imaginary_IMachs[] = {
5029 (const char*)NULL };
5032 * content selection pattern - do fix if pattern found
5034 tSCC zHpux_Imaginary_ISelect0[] =
5035 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5037 #define HPUX_IMAGINARY_I_TEST_CT 1
5038 static tTestDesc aHpux_Imaginary_ITests[] = {
5039 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5042 * Fix Command Arguments for Hpux_Imaginary_I
5044 static const char* apzHpux_Imaginary_IPatch[] = {
5046 "#define _Complex_I (__extension__ 1.0iF)",
5049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5051 * Description of Hpux_Inttype_Int8_T fix
5053 tSCC zHpux_Inttype_Int8_TName[] =
5054 "hpux_inttype_int8_t";
5057 * File name selection pattern
5059 tSCC zHpux_Inttype_Int8_TList[] =
5060 "sys/_inttypes.h\0";
5062 * Machine/OS name selection pattern
5064 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5066 (const char*)NULL };
5069 * content selection pattern - do fix if pattern found
5071 tSCC zHpux_Inttype_Int8_TSelect0[] =
5072 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5074 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5075 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5076 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5079 * Fix Command Arguments for Hpux_Inttype_Int8_T
5081 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5083 "typedef signed char int%18_t;",
5086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5088 * Description of Hpux_Long_Double fix
5090 tSCC zHpux_Long_DoubleName[] =
5094 * File name selection pattern
5096 tSCC zHpux_Long_DoubleList[] =
5099 * Machine/OS name selection pattern
5101 tSCC* apzHpux_Long_DoubleMachs[] = {
5103 "*-*-hpux11.[012]*",
5104 (const char*)NULL };
5107 * content selection pattern - do fix if pattern found
5109 tSCC zHpux_Long_DoubleSelect0[] =
5110 "extern[ \t]long_double[ \t]strtold";
5113 * content bypass pattern - skip fix if pattern found
5115 tSCC zHpux_Long_DoubleBypass0[] =
5118 #define HPUX_LONG_DOUBLE_TEST_CT 2
5119 static tTestDesc aHpux_Long_DoubleTests[] = {
5120 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5121 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5124 * Fix Command Arguments for Hpux_Long_Double
5126 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5127 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5128 "-e", "s/long_double/long double/g",
5131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5133 * Description of Hpux_Long_Double_2 fix
5135 tSCC zHpux_Long_Double_2Name[] =
5136 "hpux_long_double_2";
5139 * File name selection pattern
5141 tSCC zHpux_Long_Double_2List[] =
5144 * Machine/OS name selection pattern
5146 tSCC* apzHpux_Long_Double_2Machs[] = {
5147 "hppa*-*-hpux11.3*",
5148 (const char*)NULL };
5151 * content selection pattern - do fix if pattern found
5153 tSCC zHpux_Long_Double_2Select0[] =
5154 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5156 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5157 static tTestDesc aHpux_Long_Double_2Tests[] = {
5158 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5161 * Fix Command Arguments for Hpux_Long_Double_2
5163 static const char* apzHpux_Long_Double_2Patch[] = {
5165 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5170 * Description of Hpux_Pthread_Initializers fix
5172 tSCC zHpux_Pthread_InitializersName[] =
5173 "hpux_pthread_initializers";
5176 * File name selection pattern
5178 tSCC zHpux_Pthread_InitializersList[] =
5181 * Machine/OS name selection pattern
5183 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5184 "*-hp-hpux11.[0-3]*",
5185 (const char*)NULL };
5186 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5187 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5190 * Fix Command Arguments for Hpux_Pthread_Initializers
5192 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5193 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5194 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5195 "-e", "/^[ \t]*0$/d",
5196 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5197 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5198 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5199 "-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\\\\@",
5200 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5201 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5202 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5203 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5204 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5205 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5208 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5210 * Description of Hpux_Spu_Info fix
5212 tSCC zHpux_Spu_InfoName[] =
5216 * File name selection pattern
5218 tSCC zHpux_Spu_InfoList[] =
5219 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5221 * Machine/OS name selection pattern
5223 tSCC* apzHpux_Spu_InfoMachs[] = {
5225 (const char*)NULL };
5228 * content selection pattern - do fix if pattern found
5230 tSCC zHpux_Spu_InfoSelect0[] =
5231 "^.*extern.*spu_info.*";
5233 #define HPUX_SPU_INFO_TEST_CT 1
5234 static tTestDesc aHpux_Spu_InfoTests[] = {
5235 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5238 * Fix Command Arguments for Hpux_Spu_Info
5240 static const char* apzHpux_Spu_InfoPatch[] = {
5247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5249 * Description of Hpux_Stdint_Least_Fast fix
5251 tSCC zHpux_Stdint_Least_FastName[] =
5252 "hpux_stdint_least_fast";
5255 * File name selection pattern
5257 tSCC zHpux_Stdint_Least_FastList[] =
5258 "stdint-hpux11.h\0stdint.h\0";
5260 * Machine/OS name selection pattern
5262 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5264 (const char*)NULL };
5267 * content selection pattern - do fix if pattern found
5269 tSCC zHpux_Stdint_Least_FastSelect0[] =
5270 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5272 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5273 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5274 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5277 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5279 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5281 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5284 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5286 * Description of Hpux_Longjmp fix
5288 tSCC zHpux_LongjmpName[] =
5292 * File name selection pattern
5294 tSCC zHpux_LongjmpList[] =
5297 * Machine/OS name selection pattern
5299 tSCC* apzHpux_LongjmpMachs[] = {
5301 (const char*)NULL };
5304 * content selection pattern - do fix if pattern found
5306 tSCC zHpux_LongjmpSelect0[] =
5307 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5309 #define HPUX_LONGJMP_TEST_CT 1
5310 static tTestDesc aHpux_LongjmpTests[] = {
5311 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5314 * Fix Command Arguments for Hpux_Longjmp
5316 static const char* apzHpux_LongjmpPatch[] = {
5318 "%0 __attribute__ ((__noreturn__))",
5321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5323 * Description of Hpux_Systime fix
5325 tSCC zHpux_SystimeName[] =
5329 * File name selection pattern
5331 tSCC zHpux_SystimeList[] =
5334 * Machine/OS name selection pattern
5336 #define apzHpux_SystimeMachs (const char**)NULL
5339 * content selection pattern - do fix if pattern found
5341 tSCC zHpux_SystimeSelect0[] =
5342 "^extern struct sigevent;";
5344 #define HPUX_SYSTIME_TEST_CT 1
5345 static tTestDesc aHpux_SystimeTests[] = {
5346 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5349 * Fix Command Arguments for Hpux_Systime
5351 static const char* apzHpux_SystimePatch[] = {
5356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5358 * Description of Huge_Val_Hex fix
5360 tSCC zHuge_Val_HexName[] =
5364 * File name selection pattern
5366 tSCC zHuge_Val_HexList[] =
5367 "bits/huge_val.h\0*/bits/huge_val.h\0";
5369 * Machine/OS name selection pattern
5371 #define apzHuge_Val_HexMachs (const char**)NULL
5374 * content selection pattern - do fix if pattern found
5376 tSCC zHuge_Val_HexSelect0[] =
5377 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5380 * content bypass pattern - skip fix if pattern found
5382 tSCC zHuge_Val_HexBypass0[] =
5383 "__builtin_huge_val";
5385 #define HUGE_VAL_HEX_TEST_CT 2
5386 static tTestDesc aHuge_Val_HexTests[] = {
5387 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5388 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5391 * Fix Command Arguments for Huge_Val_Hex
5393 static const char* apzHuge_Val_HexPatch[] = {
5395 "#define HUGE_VAL (__builtin_huge_val())\n",
5398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5400 * Description of Huge_Valf_Hex fix
5402 tSCC zHuge_Valf_HexName[] =
5406 * File name selection pattern
5408 tSCC zHuge_Valf_HexList[] =
5409 "bits/huge_val.h\0*/bits/huge_val.h\0";
5411 * Machine/OS name selection pattern
5413 #define apzHuge_Valf_HexMachs (const char**)NULL
5416 * content selection pattern - do fix if pattern found
5418 tSCC zHuge_Valf_HexSelect0[] =
5419 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5422 * content bypass pattern - skip fix if pattern found
5424 tSCC zHuge_Valf_HexBypass0[] =
5425 "__builtin_huge_valf";
5427 #define HUGE_VALF_HEX_TEST_CT 2
5428 static tTestDesc aHuge_Valf_HexTests[] = {
5429 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5430 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5433 * Fix Command Arguments for Huge_Valf_Hex
5435 static const char* apzHuge_Valf_HexPatch[] = {
5437 "#define HUGE_VALF (__builtin_huge_valf())\n",
5440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5442 * Description of Huge_Vall_Hex fix
5444 tSCC zHuge_Vall_HexName[] =
5448 * File name selection pattern
5450 tSCC zHuge_Vall_HexList[] =
5451 "bits/huge_val.h\0*/bits/huge_val.h\0";
5453 * Machine/OS name selection pattern
5455 #define apzHuge_Vall_HexMachs (const char**)NULL
5458 * content selection pattern - do fix if pattern found
5460 tSCC zHuge_Vall_HexSelect0[] =
5461 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5464 * content bypass pattern - skip fix if pattern found
5466 tSCC zHuge_Vall_HexBypass0[] =
5467 "__builtin_huge_vall";
5469 #define HUGE_VALL_HEX_TEST_CT 2
5470 static tTestDesc aHuge_Vall_HexTests[] = {
5471 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5472 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5475 * Fix Command Arguments for Huge_Vall_Hex
5477 static const char* apzHuge_Vall_HexPatch[] = {
5479 "#define HUGE_VALL (__builtin_huge_vall())\n",
5482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5484 * Description of Int_Abort_Free_And_Exit fix
5486 tSCC zInt_Abort_Free_And_ExitName[] =
5487 "int_abort_free_and_exit";
5490 * File name selection pattern
5492 tSCC zInt_Abort_Free_And_ExitList[] =
5495 * Machine/OS name selection pattern
5497 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5500 * content selection pattern - do fix if pattern found
5502 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5503 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5506 * content bypass pattern - skip fix if pattern found
5508 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5509 "_CLASSIC_ANSI_TYPES";
5511 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5512 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5513 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5514 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5517 * Fix Command Arguments for Int_Abort_Free_And_Exit
5519 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5526 * Description of Io_Quotes_Def fix
5528 tSCC zIo_Quotes_DefName[] =
5532 * File name selection pattern
5534 #define zIo_Quotes_DefList (char*)NULL
5536 * Machine/OS name selection pattern
5538 #define apzIo_Quotes_DefMachs (const char**)NULL
5541 * content selection pattern - do fix if pattern found
5543 tSCC zIo_Quotes_DefSelect0[] =
5544 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5546 #define IO_QUOTES_DEF_TEST_CT 1
5547 static tTestDesc aIo_Quotes_DefTests[] = {
5548 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5551 * Fix Command Arguments for Io_Quotes_Def
5553 static const char* apzIo_Quotes_DefPatch[] = {
5558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5560 * Description of Io_Quotes_Use fix
5562 tSCC zIo_Quotes_UseName[] =
5566 * File name selection pattern
5568 #define zIo_Quotes_UseList (char*)NULL
5570 * Machine/OS name selection pattern
5572 #define apzIo_Quotes_UseMachs (const char**)NULL
5575 * content selection pattern - do fix if pattern found
5577 tSCC zIo_Quotes_UseSelect0[] =
5578 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5580 #define IO_QUOTES_USE_TEST_CT 1
5581 static tTestDesc aIo_Quotes_UseTests[] = {
5582 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5585 * Fix Command Arguments for Io_Quotes_Use
5587 static const char* apzIo_Quotes_UsePatch[] = {
5592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5594 * Description of Ip_Missing_Semi fix
5596 tSCC zIp_Missing_SemiName[] =
5600 * File name selection pattern
5602 tSCC zIp_Missing_SemiList[] =
5605 * Machine/OS name selection pattern
5607 #define apzIp_Missing_SemiMachs (const char**)NULL
5610 * content selection pattern - do fix if pattern found
5612 tSCC zIp_Missing_SemiSelect0[] =
5615 #define IP_MISSING_SEMI_TEST_CT 1
5616 static tTestDesc aIp_Missing_SemiTests[] = {
5617 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5620 * Fix Command Arguments for Ip_Missing_Semi
5622 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5623 "-e", "/^struct/,/^};/s/}$/};/",
5626 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5628 * Description of Irix_Limits_Const fix
5630 tSCC zIrix_Limits_ConstName[] =
5631 "irix_limits_const";
5634 * File name selection pattern
5636 tSCC zIrix_Limits_ConstList[] =
5637 "fixinc-test-limits.h\0limits.h\0";
5639 * Machine/OS name selection pattern
5641 #define apzIrix_Limits_ConstMachs (const char**)NULL
5644 * content selection pattern - do fix if pattern found
5646 tSCC zIrix_Limits_ConstSelect0[] =
5649 #define IRIX_LIMITS_CONST_TEST_CT 1
5650 static tTestDesc aIrix_Limits_ConstTests[] = {
5651 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5654 * Fix Command Arguments for Irix_Limits_Const
5656 static const char* apzIrix_Limits_ConstPatch[] = {
5661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5663 * Description of Irix_Stdio_Va_List fix
5665 tSCC zIrix_Stdio_Va_ListName[] =
5666 "irix_stdio_va_list";
5669 * File name selection pattern
5671 tSCC zIrix_Stdio_Va_ListList[] =
5674 * Machine/OS name selection pattern
5676 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5679 * content selection pattern - do fix if pattern found
5681 tSCC zIrix_Stdio_Va_ListSelect0[] =
5682 "/\\* va_list \\*/ char \\*";
5684 #define IRIX_STDIO_VA_LIST_TEST_CT 1
5685 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5686 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5689 * Fix Command Arguments for Irix_Stdio_Va_List
5691 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5698 * Description of Kandr_Concat fix
5700 tSCC zKandr_ConcatName[] =
5704 * File name selection pattern
5706 tSCC zKandr_ConcatList[] =
5707 "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";
5709 * Machine/OS name selection pattern
5711 #define apzKandr_ConcatMachs (const char**)NULL
5714 * content selection pattern - do fix if pattern found
5716 tSCC zKandr_ConcatSelect0[] =
5719 #define KANDR_CONCAT_TEST_CT 1
5720 static tTestDesc aKandr_ConcatTests[] = {
5721 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5724 * Fix Command Arguments for Kandr_Concat
5726 static const char* apzKandr_ConcatPatch[] = {
5731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5733 * Description of Linux_Ia64_Ucontext fix
5735 tSCC zLinux_Ia64_UcontextName[] =
5736 "linux_ia64_ucontext";
5739 * File name selection pattern
5741 tSCC zLinux_Ia64_UcontextList[] =
5744 * Machine/OS name selection pattern
5746 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5748 (const char*)NULL };
5751 * content selection pattern - do fix if pattern found
5753 tSCC zLinux_Ia64_UcontextSelect0[] =
5754 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5756 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5757 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5758 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5761 * Fix Command Arguments for Linux_Ia64_Ucontext
5763 static const char* apzLinux_Ia64_UcontextPatch[] = {
5765 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5770 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5772 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5773 "lynxos_no_warning_in_sys_time_h";
5776 * File name selection pattern
5778 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5781 * Machine/OS name selection pattern
5783 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5786 * content selection pattern - do fix if pattern found
5788 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5789 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5791 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5792 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5793 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5796 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5798 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5805 * Description of Lynxos_Missing_Putenv fix
5807 tSCC zLynxos_Missing_PutenvName[] =
5808 "lynxos_missing_putenv";
5811 * File name selection pattern
5813 tSCC zLynxos_Missing_PutenvList[] =
5816 * Machine/OS name selection pattern
5818 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5820 (const char*)NULL };
5823 * content selection pattern - do fix if pattern found
5825 tSCC zLynxos_Missing_PutenvSelect0[] =
5826 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5829 * content bypass pattern - skip fix if pattern found
5831 tSCC zLynxos_Missing_PutenvBypass0[] =
5834 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5835 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5836 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5837 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5840 * Fix Command Arguments for Lynxos_Missing_Putenv
5842 static const char* apzLynxos_Missing_PutenvPatch[] = {
5845 extern int putenv\t\t\t\t_AP((char *));",
5846 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5851 * Description of Machine_Ansi_H_Va_List fix
5853 tSCC zMachine_Ansi_H_Va_ListName[] =
5854 "machine_ansi_h_va_list";
5857 * File name selection pattern
5859 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5861 * Machine/OS name selection pattern
5863 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5866 * content selection pattern - do fix if pattern found
5868 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5869 "define[ \t]+_BSD_VA_LIST_[ \t]";
5872 * content bypass pattern - skip fix if pattern found
5874 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5875 "__builtin_va_list";
5877 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5878 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5879 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5880 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5883 * Fix Command Arguments for Machine_Ansi_H_Va_List
5885 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5887 "%1__builtin_va_list",
5888 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5893 * Description of Machine_Name fix
5895 tSCC zMachine_NameName[] =
5899 * File name selection pattern
5901 #define zMachine_NameList (char*)NULL
5903 * Machine/OS name selection pattern
5905 #define apzMachine_NameMachs (const char**)NULL
5908 * perform the C function call test
5910 tSCC zMachine_NameFTst0[] = "machine_name";
5912 #define MACHINE_NAME_TEST_CT 1
5913 static tTestDesc aMachine_NameTests[] = {
5914 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5917 * Fix Command Arguments for Machine_Name
5919 static const char* apzMachine_NamePatch[] = {
5923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5925 * Description of Math_Exception fix
5927 tSCC zMath_ExceptionName[] =
5931 * File name selection pattern
5933 tSCC zMath_ExceptionList[] =
5936 * Machine/OS name selection pattern
5938 tSCC* apzMath_ExceptionMachs[] = {
5939 "*-*-solaris2.1[0-9]*",
5940 (const char*)NULL };
5943 * content selection pattern - do fix if pattern found
5945 tSCC zMath_ExceptionSelect0[] =
5949 * content bypass pattern - skip fix if pattern found
5951 tSCC zMath_ExceptionBypass0[] =
5952 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5954 #define MATH_EXCEPTION_TEST_CT 2
5955 static tTestDesc aMath_ExceptionTests[] = {
5956 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5957 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5960 * Fix Command Arguments for Math_Exception
5962 static const char* apzMath_ExceptionPatch[] = {
5964 "#ifdef __cplusplus\n\
5965 #define exception __math_exception\n\
5967 "#ifdef __cplusplus\n\
5972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5974 * Description of Math_Huge_Val_From_Dbl_Max fix
5976 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5977 "math_huge_val_from_dbl_max";
5980 * File name selection pattern
5982 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5985 * Machine/OS name selection pattern
5987 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5990 * content selection pattern - do fix if pattern found
5992 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5993 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5996 * content bypass pattern - skip fix if pattern found
5998 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5999 "define[ \t]+DBL_MAX";
6001 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6002 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6003 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6004 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6007 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6009 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6010 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6011 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6012 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6017 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6019 * Description of Nested_Auth_Des fix
6021 tSCC zNested_Auth_DesName[] =
6025 * File name selection pattern
6027 tSCC zNested_Auth_DesList[] =
6030 * Machine/OS name selection pattern
6032 #define apzNested_Auth_DesMachs (const char**)NULL
6035 * content selection pattern - do fix if pattern found
6037 tSCC zNested_Auth_DesSelect0[] =
6038 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6040 #define NESTED_AUTH_DES_TEST_CT 1
6041 static tTestDesc aNested_Auth_DesTests[] = {
6042 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6045 * Fix Command Arguments for Nested_Auth_Des
6047 static const char* apzNested_Auth_DesPatch[] = {
6052 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6054 * Description of Netbsd_C99_Inline_1 fix
6056 tSCC zNetbsd_C99_Inline_1Name[] =
6057 "netbsd_c99_inline_1";
6060 * File name selection pattern
6062 tSCC zNetbsd_C99_Inline_1List[] =
6065 * Machine/OS name selection pattern
6067 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6069 (const char*)NULL };
6072 * content selection pattern - do fix if pattern found
6074 tSCC zNetbsd_C99_Inline_1Select0[] =
6075 "extern __inline int";
6077 #define NETBSD_C99_INLINE_1_TEST_CT 1
6078 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6079 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6082 * Fix Command Arguments for Netbsd_C99_Inline_1
6084 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6087 #ifdef __GNUC_STDC_INLINE__\n\
6088 __attribute__((__gnu_inline__))\n\
6093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6095 * Description of Netbsd_C99_Inline_2 fix
6097 tSCC zNetbsd_C99_Inline_2Name[] =
6098 "netbsd_c99_inline_2";
6101 * File name selection pattern
6103 tSCC zNetbsd_C99_Inline_2List[] =
6106 * Machine/OS name selection pattern
6108 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6110 (const char*)NULL };
6113 * content selection pattern - do fix if pattern found
6115 tSCC zNetbsd_C99_Inline_2Select0[] =
6116 "#define _SIGINLINE extern __inline";
6118 #define NETBSD_C99_INLINE_2_TEST_CT 1
6119 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6120 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6123 * Fix Command Arguments for Netbsd_C99_Inline_2
6125 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6127 "#ifdef __GNUC_STDC_INLINE__\n\
6128 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6136 * Description of Netbsd_Extra_Semicolon fix
6138 tSCC zNetbsd_Extra_SemicolonName[] =
6139 "netbsd_extra_semicolon";
6142 * File name selection pattern
6144 tSCC zNetbsd_Extra_SemicolonList[] =
6147 * Machine/OS name selection pattern
6149 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6151 (const char*)NULL };
6154 * content selection pattern - do fix if pattern found
6156 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6157 "#define[ \t]*__END_DECLS[ \t]*};";
6159 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6160 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6161 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6164 * Fix Command Arguments for Netbsd_Extra_Semicolon
6166 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6168 "#define __END_DECLS }",
6171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6173 * Description of Newlib_Stdint_1 fix
6175 tSCC zNewlib_Stdint_1Name[] =
6179 * File name selection pattern
6181 tSCC zNewlib_Stdint_1List[] =
6182 "stdint-newlib.h\0stdint.h\0";
6184 * Machine/OS name selection pattern
6186 #define apzNewlib_Stdint_1Machs (const char**)NULL
6189 * content selection pattern - do fix if pattern found
6191 tSCC zNewlib_Stdint_1Select0[] =
6192 "@todo - Add support for wint_t types";
6194 #define NEWLIB_STDINT_1_TEST_CT 1
6195 static tTestDesc aNewlib_Stdint_1Tests[] = {
6196 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6199 * Fix Command Arguments for Newlib_Stdint_1
6201 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6202 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6203 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6204 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6205 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6206 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6207 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6208 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6209 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6210 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6211 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6212 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6213 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6214 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6215 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6218 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6220 * Description of Newlib_Stdint_2 fix
6222 tSCC zNewlib_Stdint_2Name[] =
6226 * File name selection pattern
6228 tSCC zNewlib_Stdint_2List[] =
6229 "stdint-newlib.h\0stdint.h\0";
6231 * Machine/OS name selection pattern
6233 #define apzNewlib_Stdint_2Machs (const char**)NULL
6236 * content selection pattern - do fix if pattern found
6238 tSCC zNewlib_Stdint_2Select0[] =
6239 "@todo - Add support for wint_t types";
6241 #define NEWLIB_STDINT_2_TEST_CT 1
6242 static tTestDesc aNewlib_Stdint_2Tests[] = {
6243 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6246 * Fix Command Arguments for Newlib_Stdint_2
6248 static const char* apzNewlib_Stdint_2Patch[] = {
6250 "#define INTMAX_MAX __INTMAX_MAX__\n\
6251 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6252 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6253 #define WCHAR_MAX __WCHAR_MAX__\n\
6254 #define WCHAR_MIN __WCHAR_MIN__\n\
6255 #define WINT_MAX __WINT_MAX__\n\
6256 #define WINT_MIN __WINT_MIN__\n\n\
6258 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6263 * Description of Next_Math_Prefix fix
6265 tSCC zNext_Math_PrefixName[] =
6269 * File name selection pattern
6271 tSCC zNext_Math_PrefixList[] =
6274 * Machine/OS name selection pattern
6276 #define apzNext_Math_PrefixMachs (const char**)NULL
6279 * content selection pattern - do fix if pattern found
6281 tSCC zNext_Math_PrefixSelect0[] =
6282 "^extern[ \t]+double[ \t]+__const__[ \t]";
6284 #define NEXT_MATH_PREFIX_TEST_CT 1
6285 static tTestDesc aNext_Math_PrefixTests[] = {
6286 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6289 * Fix Command Arguments for Next_Math_Prefix
6291 static const char* apzNext_Math_PrefixPatch[] = {
6293 "extern double %1(",
6294 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6299 * Description of Next_Template fix
6301 tSCC zNext_TemplateName[] =
6305 * File name selection pattern
6307 tSCC zNext_TemplateList[] =
6310 * Machine/OS name selection pattern
6312 #define apzNext_TemplateMachs (const char**)NULL
6315 * content selection pattern - do fix if pattern found
6317 tSCC zNext_TemplateSelect0[] =
6320 #define NEXT_TEMPLATE_TEST_CT 1
6321 static tTestDesc aNext_TemplateTests[] = {
6322 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6325 * Fix Command Arguments for Next_Template
6327 static const char* apzNext_TemplatePatch[] = {
6330 "\\(([^)]*)[ \t]template\\)",
6333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6335 * Description of Next_Volitile fix
6337 tSCC zNext_VolitileName[] =
6341 * File name selection pattern
6343 tSCC zNext_VolitileList[] =
6346 * Machine/OS name selection pattern
6348 #define apzNext_VolitileMachs (const char**)NULL
6351 * content selection pattern - do fix if pattern found
6353 tSCC zNext_VolitileSelect0[] =
6354 "^extern[ \t]+volatile[ \t]+void[ \t]";
6356 #define NEXT_VOLITILE_TEST_CT 1
6357 static tTestDesc aNext_VolitileTests[] = {
6358 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6361 * Fix Command Arguments for Next_Volitile
6363 static const char* apzNext_VolitilePatch[] = {
6366 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6371 * Description of Next_Wait_Union fix
6373 tSCC zNext_Wait_UnionName[] =
6377 * File name selection pattern
6379 tSCC zNext_Wait_UnionList[] =
6382 * Machine/OS name selection pattern
6384 #define apzNext_Wait_UnionMachs (const char**)NULL
6387 * content selection pattern - do fix if pattern found
6389 tSCC zNext_Wait_UnionSelect0[] =
6390 "wait\\(union wait";
6392 #define NEXT_WAIT_UNION_TEST_CT 1
6393 static tTestDesc aNext_Wait_UnionTests[] = {
6394 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6397 * Fix Command Arguments for Next_Wait_Union
6399 static const char* apzNext_Wait_UnionPatch[] = {
6404 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6406 * Description of Nodeent_Syntax fix
6408 tSCC zNodeent_SyntaxName[] =
6412 * File name selection pattern
6414 tSCC zNodeent_SyntaxList[] =
6415 "netdnet/dnetdb.h\0";
6417 * Machine/OS name selection pattern
6419 #define apzNodeent_SyntaxMachs (const char**)NULL
6422 * content selection pattern - do fix if pattern found
6424 tSCC zNodeent_SyntaxSelect0[] =
6425 "char[ \t]*\\*na_addr[ \t]*$";
6427 #define NODEENT_SYNTAX_TEST_CT 1
6428 static tTestDesc aNodeent_SyntaxTests[] = {
6429 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6432 * Fix Command Arguments for Nodeent_Syntax
6434 static const char* apzNodeent_SyntaxPatch[] = {
6439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6441 * Description of Openbsd_Null_Definition fix
6443 tSCC zOpenbsd_Null_DefinitionName[] =
6444 "openbsd_null_definition";
6447 * File name selection pattern
6449 tSCC zOpenbsd_Null_DefinitionList[] =
6450 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6452 * Machine/OS name selection pattern
6454 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6456 (const char*)NULL };
6459 * content selection pattern - do fix if pattern found
6461 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6464 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6465 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6466 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6469 * Fix Command Arguments for Openbsd_Null_Definition
6471 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6474 #ifdef __cplusplus\n\
6476 #define NULL\t__null\n\
6477 #else\t /* ! __GNUG__ */\n\
6479 #endif\t /* __GNUG__ */\n\
6480 #else\t /* ! __cplusplus */\n\
6481 #define NULL\t((void *)0)\n\
6482 #endif\t /* __cplusplus */\n\
6483 #endif\t /* !NULL */",
6484 "^#ifndef[ \t]*NULL\n\
6485 ^#ifdef[ \t]*__GNUG__\n\
6486 ^#define[ \t]*NULL[ \t]*__null\n\
6488 ^#define[ \t]*NULL[ \t]*0L\n\
6493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6495 * Description of Obstack_Lvalue_Cast fix
6497 tSCC zObstack_Lvalue_CastName[] =
6498 "obstack_lvalue_cast";
6501 * File name selection pattern
6503 tSCC zObstack_Lvalue_CastList[] =
6506 * Machine/OS name selection pattern
6508 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6511 * content selection pattern - do fix if pattern found
6513 tSCC zObstack_Lvalue_CastSelect0[] =
6514 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6516 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6517 static tTestDesc aObstack_Lvalue_CastTests[] = {
6518 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6521 * Fix Command Arguments for Obstack_Lvalue_Cast
6523 static const char* apzObstack_Lvalue_CastPatch[] = {
6525 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6530 * Description of Openbsd_Va_Start fix
6532 tSCC zOpenbsd_Va_StartName[] =
6536 * File name selection pattern
6538 tSCC zOpenbsd_Va_StartList[] =
6541 * Machine/OS name selection pattern
6543 tSCC* apzOpenbsd_Va_StartMachs[] = {
6545 (const char*)NULL };
6548 * content selection pattern - do fix if pattern found
6550 tSCC zOpenbsd_Va_StartSelect0[] =
6551 "__builtin_stdarg_start";
6553 #define OPENBSD_VA_START_TEST_CT 1
6554 static tTestDesc aOpenbsd_Va_StartTests[] = {
6555 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6558 * Fix Command Arguments for Openbsd_Va_Start
6560 static const char* apzOpenbsd_Va_StartPatch[] = {
6562 "__builtin_va_start",
6565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6567 * Description of Osf_Namespace_A fix
6569 tSCC zOsf_Namespace_AName[] =
6573 * File name selection pattern
6575 tSCC zOsf_Namespace_AList[] =
6576 "reg_types.h\0sys/lc_core.h\0";
6578 * Machine/OS name selection pattern
6580 #define apzOsf_Namespace_AMachs (const char**)NULL
6583 * perform the 'test' shell command - do fix on success
6585 tSCC zOsf_Namespace_ATest0[] =
6587 tSCC zOsf_Namespace_ATest1[] =
6588 " -r sys/lc_core.h";
6589 tSCC zOsf_Namespace_ATest2[] =
6590 " -n \"`grep '} regex_t;' reg_types.h`\"";
6591 tSCC zOsf_Namespace_ATest3[] =
6592 " -z \"`grep __regex_t regex.h`\"";
6594 #define OSF_NAMESPACE_A_TEST_CT 4
6595 static tTestDesc aOsf_Namespace_ATests[] = {
6596 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6597 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6598 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6599 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6602 * Fix Command Arguments for Osf_Namespace_A
6604 static const char* apzOsf_Namespace_APatch[] = {
6607 "reg(ex|off|match)_t",
6610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6612 * Description of Osf_Namespace_C fix
6614 tSCC zOsf_Namespace_CName[] =
6618 * File name selection pattern
6620 tSCC zOsf_Namespace_CList[] =
6623 * Machine/OS name selection pattern
6625 #define apzOsf_Namespace_CMachs (const char**)NULL
6628 * content selection pattern - do fix if pattern found
6630 tSCC zOsf_Namespace_CSelect0[] =
6631 "#include <reg_types.h>.*";
6634 * perform the 'test' shell command - do fix on success
6636 tSCC zOsf_Namespace_CTest0[] =
6638 tSCC zOsf_Namespace_CTest1[] =
6639 " -r sys/lc_core.h";
6640 tSCC zOsf_Namespace_CTest2[] =
6641 " -n \"`grep '} regex_t;' reg_types.h`\"";
6642 tSCC zOsf_Namespace_CTest3[] =
6643 " -z \"`grep __regex_t regex.h`\"";
6645 #define OSF_NAMESPACE_C_TEST_CT 5
6646 static tTestDesc aOsf_Namespace_CTests[] = {
6647 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6648 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6649 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6650 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6651 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6654 * Fix Command Arguments for Osf_Namespace_C
6656 static const char* apzOsf_Namespace_CPatch[] = {
6659 typedef __regex_t\tregex_t;\n\
6660 typedef __regoff_t\tregoff_t;\n\
6661 typedef __regmatch_t\tregmatch_t;",
6664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6666 * Description of Pthread_Incomplete_Struct_Argument fix
6668 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6669 "pthread_incomplete_struct_argument";
6672 * File name selection pattern
6674 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6677 * Machine/OS name selection pattern
6679 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6682 * content selection pattern - do fix if pattern found
6684 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6685 "struct __jmp_buf_tag";
6687 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
6688 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6689 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6692 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6694 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6697 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6702 * Description of Read_Ret_Type fix
6704 tSCC zRead_Ret_TypeName[] =
6708 * File name selection pattern
6710 tSCC zRead_Ret_TypeList[] =
6713 * Machine/OS name selection pattern
6715 #define apzRead_Ret_TypeMachs (const char**)NULL
6718 * content selection pattern - do fix if pattern found
6720 tSCC zRead_Ret_TypeSelect0[] =
6721 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6723 #define READ_RET_TYPE_TEST_CT 1
6724 static tTestDesc aRead_Ret_TypeTests[] = {
6725 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6728 * Fix Command Arguments for Read_Ret_Type
6730 static const char* apzRead_Ret_TypePatch[] = {
6732 "extern unsigned int fread(), fwrite();\n\
6734 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6739 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6741 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6742 "rpc_xdr_lvalue_cast_a";
6745 * File name selection pattern
6747 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6750 * Machine/OS name selection pattern
6752 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6755 * content selection pattern - do fix if pattern found
6757 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6758 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6761 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6762 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6763 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6766 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6768 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6770 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6775 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6777 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6778 "rpc_xdr_lvalue_cast_b";
6781 * File name selection pattern
6783 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6786 * Machine/OS name selection pattern
6788 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6791 * content selection pattern - do fix if pattern found
6793 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6794 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6797 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6798 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6799 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6802 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6804 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6806 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6811 * Description of Rs6000_Double fix
6813 tSCC zRs6000_DoubleName[] =
6817 * File name selection pattern
6819 tSCC zRs6000_DoubleList[] =
6822 * Machine/OS name selection pattern
6824 #define apzRs6000_DoubleMachs (const char**)NULL
6827 * content selection pattern - do fix if pattern found
6829 tSCC zRs6000_DoubleSelect0[] =
6830 "[^a-zA-Z_]class\\(";
6832 #define RS6000_DOUBLE_TEST_CT 1
6833 static tTestDesc aRs6000_DoubleTests[] = {
6834 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6837 * Fix Command Arguments for Rs6000_Double
6839 static const char* apzRs6000_DoublePatch[] = {
6841 "#ifndef __cplusplus\n\
6844 "^.*[^a-zA-Z_]class\\(.*",
6847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6849 * Description of Rs6000_Fchmod fix
6851 tSCC zRs6000_FchmodName[] =
6855 * File name selection pattern
6857 tSCC zRs6000_FchmodList[] =
6860 * Machine/OS name selection pattern
6862 #define apzRs6000_FchmodMachs (const char**)NULL
6865 * content selection pattern - do fix if pattern found
6867 tSCC zRs6000_FchmodSelect0[] =
6868 "fchmod\\(char \\*";
6870 #define RS6000_FCHMOD_TEST_CT 1
6871 static tTestDesc aRs6000_FchmodTests[] = {
6872 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6875 * Fix Command Arguments for Rs6000_Fchmod
6877 static const char* apzRs6000_FchmodPatch[] = {
6882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6884 * Description of Rs6000_Param fix
6886 tSCC zRs6000_ParamName[] =
6890 * File name selection pattern
6892 tSCC zRs6000_ParamList[] =
6893 "stdio.h\0unistd.h\0";
6895 * Machine/OS name selection pattern
6897 #define apzRs6000_ParamMachs (const char**)NULL
6900 * content selection pattern - do fix if pattern found
6902 tSCC zRs6000_ParamSelect0[] =
6903 "rename\\(const char \\*old, const char \\*new\\)";
6905 #define RS6000_PARAM_TEST_CT 1
6906 static tTestDesc aRs6000_ParamTests[] = {
6907 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6910 * Fix Command Arguments for Rs6000_Param
6912 static const char* apzRs6000_ParamPatch[] = {
6914 "rename(const char *_old, const char *_new)",
6917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6919 * Description of Solaris___Restrict fix
6921 tSCC zSolaris___RestrictName[] =
6922 "solaris___restrict";
6925 * File name selection pattern
6927 tSCC zSolaris___RestrictList[] =
6928 "sys/feature_tests.h\0";
6930 * Machine/OS name selection pattern
6932 tSCC* apzSolaris___RestrictMachs[] = {
6934 (const char*)NULL };
6937 * content selection pattern - do fix if pattern found
6939 tSCC zSolaris___RestrictSelect0[] =
6940 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6942 #define SOLARIS___RESTRICT_TEST_CT 1
6943 static tTestDesc aSolaris___RestrictTests[] = {
6944 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6947 * Fix Command Arguments for Solaris___Restrict
6949 static const char* apzSolaris___RestrictPatch[] = {
6951 "#ifdef __cplusplus\n\
6952 #define\t_RESTRICT_KYWD\t__restrict\n\
6958 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6960 * Description of Solaris_Complex fix
6962 tSCC zSolaris_ComplexName[] =
6966 * File name selection pattern
6968 tSCC zSolaris_ComplexList[] =
6971 * Machine/OS name selection pattern
6973 tSCC* apzSolaris_ComplexMachs[] = {
6975 (const char*)NULL };
6978 * content selection pattern - do fix if pattern found
6980 tSCC zSolaris_ComplexSelect0[] =
6981 "#define[ \t]_Complex_I[ \t]_Complex_I";
6983 #define SOLARIS_COMPLEX_TEST_CT 1
6984 static tTestDesc aSolaris_ComplexTests[] = {
6985 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6988 * Fix Command Arguments for Solaris_Complex
6990 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6991 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6992 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6993 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6994 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6999 * Description of Solaris_Complex_Cxx fix
7001 tSCC zSolaris_Complex_CxxName[] =
7002 "solaris_complex_cxx";
7005 * File name selection pattern
7007 tSCC zSolaris_Complex_CxxList[] =
7010 * Machine/OS name selection pattern
7012 tSCC* apzSolaris_Complex_CxxMachs[] = {
7014 (const char*)NULL };
7015 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7016 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7019 * Fix Command Arguments for Solaris_Complex_Cxx
7021 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7022 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7023 #ifdef\t__cplusplus\\\n\
7026 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7027 #ifdef\t__cplusplus\\\n\
7032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7034 * Description of Solaris_Cxx_Linkage fix
7036 tSCC zSolaris_Cxx_LinkageName[] =
7037 "solaris_cxx_linkage";
7040 * File name selection pattern
7042 tSCC zSolaris_Cxx_LinkageList[] =
7043 "iso/stdlib_iso.h\0";
7045 * Machine/OS name selection pattern
7047 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7049 (const char*)NULL };
7052 * content selection pattern - do fix if pattern found
7054 tSCC zSolaris_Cxx_LinkageSelect0[] =
7055 "(#if __cplusplus >= 199711L)\n\
7056 (extern \"C\\+\\+\" \\{\n\
7057 )(.*(bsearch|qsort).*)";
7059 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7060 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7061 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7064 * Fix Command Arguments for Solaris_Cxx_Linkage
7066 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7074 * Description of Solaris_Getc_Strict_Stdc fix
7076 tSCC zSolaris_Getc_Strict_StdcName[] =
7077 "solaris_getc_strict_stdc";
7080 * File name selection pattern
7082 tSCC zSolaris_Getc_Strict_StdcList[] =
7083 "iso/stdio_iso.h\0";
7085 * Machine/OS name selection pattern
7087 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7089 (const char*)NULL };
7092 * content selection pattern - do fix if pattern found
7094 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7095 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7097 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7098 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7099 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7102 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7104 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7106 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7111 * Description of Solaris_Gets_C11 fix
7113 tSCC zSolaris_Gets_C11Name[] =
7117 * File name selection pattern
7119 tSCC zSolaris_Gets_C11List[] =
7120 "iso/stdio_iso.h\0";
7122 * Machine/OS name selection pattern
7124 tSCC* apzSolaris_Gets_C11Machs[] = {
7126 (const char*)NULL };
7129 * content selection pattern - do fix if pattern found
7131 tSCC zSolaris_Gets_C11Select0[] =
7132 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7134 #define SOLARIS_GETS_C11_TEST_CT 1
7135 static tTestDesc aSolaris_Gets_C11Tests[] = {
7136 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7139 * Fix Command Arguments for Solaris_Gets_C11
7141 static const char* apzSolaris_Gets_C11Patch[] = {
7143 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7144 %1 __attribute__((__deprecated__));\n\
7148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7150 * Description of Solaris_Gets_Cxx14 fix
7152 tSCC zSolaris_Gets_Cxx14Name[] =
7153 "solaris_gets_cxx14";
7156 * File name selection pattern
7158 tSCC zSolaris_Gets_Cxx14List[] =
7159 "iso/stdio_iso.h\0";
7161 * Machine/OS name selection pattern
7163 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7165 (const char*)NULL };
7168 * content selection pattern - do fix if pattern found
7170 tSCC zSolaris_Gets_Cxx14Select0[] =
7171 "(#if __STDC_VERSION__ < 201112L)\n\
7172 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7174 #define SOLARIS_GETS_CXX14_TEST_CT 1
7175 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7176 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7179 * Fix Command Arguments for Solaris_Gets_Cxx14
7181 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7183 "%1 && __cplusplus < 201402L\n\
7187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7189 * Description of Solaris_Int_Const fix
7191 tSCC zSolaris_Int_ConstName[] =
7192 "solaris_int_const";
7195 * File name selection pattern
7197 tSCC zSolaris_Int_ConstList[] =
7198 "sys/int_const.h\0";
7200 * Machine/OS name selection pattern
7202 tSCC* apzSolaris_Int_ConstMachs[] = {
7204 (const char*)NULL };
7207 * content selection pattern - do fix if pattern found
7209 tSCC zSolaris_Int_ConstSelect0[] =
7210 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7212 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7214 #define SOLARIS_INT_CONST_TEST_CT 1
7215 static tTestDesc aSolaris_Int_ConstTests[] = {
7216 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7219 * Fix Command Arguments for Solaris_Int_Const
7221 static const char* apzSolaris_Int_ConstPatch[] = {
7223 "#define\tUINT8_C(c)\t(c)\n\
7225 #define\tUINT16_C(c)\t(c)",
7228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7230 * Description of Solaris_Int_Limits_1 fix
7232 tSCC zSolaris_Int_Limits_1Name[] =
7233 "solaris_int_limits_1";
7236 * File name selection pattern
7238 tSCC zSolaris_Int_Limits_1List[] =
7239 "sys/int_limits.h\0";
7241 * Machine/OS name selection pattern
7243 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7245 (const char*)NULL };
7248 * content selection pattern - do fix if pattern found
7250 tSCC zSolaris_Int_Limits_1Select0[] =
7251 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7252 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7254 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7255 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7256 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7259 * Fix Command Arguments for Solaris_Int_Limits_1
7261 static const char* apzSolaris_Int_Limits_1Patch[] = {
7263 "#define\tUINT8_MAX\t(255)\n\
7264 #define\tUINT16_MAX\t(65535)",
7267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7269 * Description of Solaris_Int_Limits_2 fix
7271 tSCC zSolaris_Int_Limits_2Name[] =
7272 "solaris_int_limits_2";
7275 * File name selection pattern
7277 tSCC zSolaris_Int_Limits_2List[] =
7278 "sys/int_limits.h\0";
7280 * Machine/OS name selection pattern
7282 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7284 (const char*)NULL };
7287 * content selection pattern - do fix if pattern found
7289 tSCC zSolaris_Int_Limits_2Select0[] =
7290 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7292 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7293 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7294 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7297 * Fix Command Arguments for Solaris_Int_Limits_2
7299 static const char* apzSolaris_Int_Limits_2Patch[] = {
7301 "#define\t%1_FAST16_%2 %132_%2",
7304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7306 * Description of Solaris_Int_Limits_3 fix
7308 tSCC zSolaris_Int_Limits_3Name[] =
7309 "solaris_int_limits_3";
7312 * File name selection pattern
7314 tSCC zSolaris_Int_Limits_3List[] =
7315 "sys/int_limits.h\0";
7317 * Machine/OS name selection pattern
7319 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7321 (const char*)NULL };
7324 * content selection pattern - do fix if pattern found
7326 tSCC zSolaris_Int_Limits_3Select0[] =
7327 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7329 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7330 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7331 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7334 * Fix Command Arguments for Solaris_Int_Limits_3
7336 static const char* apzSolaris_Int_Limits_3Patch[] = {
7338 "#define\tSIZE_MAX\t4294967295U",
7341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7343 * Description of Solaris_Math_1 fix
7345 tSCC zSolaris_Math_1Name[] =
7349 * File name selection pattern
7351 tSCC zSolaris_Math_1List[] =
7354 * Machine/OS name selection pattern
7356 #define apzSolaris_Math_1Machs (const char**)NULL
7359 * content selection pattern - do fix if pattern found
7361 tSCC zSolaris_Math_1Select0[] =
7362 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7365 * content bypass pattern - skip fix if pattern found
7367 tSCC zSolaris_Math_1Bypass0[] =
7370 #define SOLARIS_MATH_1_TEST_CT 2
7371 static tTestDesc aSolaris_Math_1Tests[] = {
7372 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7373 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7376 * Fix Command Arguments for Solaris_Math_1
7378 static const char* apzSolaris_Math_1Patch[] = {
7380 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7381 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7384 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7386 * Description of Solaris_Math_10 fix
7388 tSCC zSolaris_Math_10Name[] =
7392 * File name selection pattern
7394 tSCC zSolaris_Math_10List[] =
7397 * Machine/OS name selection pattern
7399 #define apzSolaris_Math_10Machs (const char**)NULL
7402 * content selection pattern - do fix if pattern found
7404 tSCC zSolaris_Math_10Select0[] =
7405 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7407 #define SOLARIS_MATH_10_TEST_CT 1
7408 static tTestDesc aSolaris_Math_10Tests[] = {
7409 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7412 * Fix Command Arguments for Solaris_Math_10
7414 static const char* apzSolaris_Math_10Patch[] = {
7416 "#define\tisinf(x) __builtin_isinf(x)",
7417 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7418 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7419 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7420 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7425 * Description of Solaris_Math_2 fix
7427 tSCC zSolaris_Math_2Name[] =
7431 * File name selection pattern
7433 tSCC zSolaris_Math_2List[] =
7436 * Machine/OS name selection pattern
7438 #define apzSolaris_Math_2Machs (const char**)NULL
7441 * content selection pattern - do fix if pattern found
7443 tSCC zSolaris_Math_2Select0[] =
7444 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7447 * content bypass pattern - skip fix if pattern found
7449 tSCC zSolaris_Math_2Bypass0[] =
7452 #define SOLARIS_MATH_2_TEST_CT 2
7453 static tTestDesc aSolaris_Math_2Tests[] = {
7454 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7455 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7458 * Fix Command Arguments for Solaris_Math_2
7460 static const char* apzSolaris_Math_2Patch[] = {
7462 "#define\tINFINITY\t(__builtin_inff())",
7463 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7468 * Description of Solaris_Math_3 fix
7470 tSCC zSolaris_Math_3Name[] =
7474 * File name selection pattern
7476 tSCC zSolaris_Math_3List[] =
7479 * Machine/OS name selection pattern
7481 #define apzSolaris_Math_3Machs (const char**)NULL
7484 * content selection pattern - do fix if pattern found
7486 tSCC zSolaris_Math_3Select0[] =
7487 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7490 * content bypass pattern - skip fix if pattern found
7492 tSCC zSolaris_Math_3Bypass0[] =
7495 #define SOLARIS_MATH_3_TEST_CT 2
7496 static tTestDesc aSolaris_Math_3Tests[] = {
7497 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7498 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7501 * Fix Command Arguments for Solaris_Math_3
7503 static const char* apzSolaris_Math_3Patch[] = {
7505 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7506 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7509 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7511 * Description of Solaris_Math_4 fix
7513 tSCC zSolaris_Math_4Name[] =
7517 * File name selection pattern
7519 tSCC zSolaris_Math_4List[] =
7522 * Machine/OS name selection pattern
7524 #define apzSolaris_Math_4Machs (const char**)NULL
7527 * content selection pattern - do fix if pattern found
7529 tSCC zSolaris_Math_4Select0[] =
7530 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7533 * content bypass pattern - skip fix if pattern found
7535 tSCC zSolaris_Math_4Bypass0[] =
7538 #define SOLARIS_MATH_4_TEST_CT 2
7539 static tTestDesc aSolaris_Math_4Tests[] = {
7540 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7541 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7544 * Fix Command Arguments for Solaris_Math_4
7546 static const char* apzSolaris_Math_4Patch[] = {
7548 "#define\tfpclassify(x) \\\n\
7549 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7550 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7555 * Description of Solaris_Math_8 fix
7557 tSCC zSolaris_Math_8Name[] =
7561 * File name selection pattern
7563 tSCC zSolaris_Math_8List[] =
7566 * Machine/OS name selection pattern
7568 #define apzSolaris_Math_8Machs (const char**)NULL
7571 * content selection pattern - do fix if pattern found
7573 tSCC zSolaris_Math_8Select0[] =
7574 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7577 * content bypass pattern - skip fix if pattern found
7579 tSCC zSolaris_Math_8Bypass0[] =
7582 #define SOLARIS_MATH_8_TEST_CT 2
7583 static tTestDesc aSolaris_Math_8Tests[] = {
7584 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7585 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7588 * Fix Command Arguments for Solaris_Math_8
7590 static const char* apzSolaris_Math_8Patch[] = {
7592 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7593 \t\t\t ? __builtin_signbitf(x) \\\n\
7594 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7595 \t\t\t ? __builtin_signbitl(x) \\\n\
7596 \t\t\t : __builtin_signbit(x))",
7597 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7602 * Description of Solaris_Math_9 fix
7604 tSCC zSolaris_Math_9Name[] =
7608 * File name selection pattern
7610 tSCC zSolaris_Math_9List[] =
7613 * Machine/OS name selection pattern
7615 #define apzSolaris_Math_9Machs (const char**)NULL
7618 * content selection pattern - do fix if pattern found
7620 tSCC zSolaris_Math_9Select0[] =
7621 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7624 * content bypass pattern - skip fix if pattern found
7626 tSCC zSolaris_Math_9Bypass0[] =
7629 #define SOLARIS_MATH_9_TEST_CT 2
7630 static tTestDesc aSolaris_Math_9Tests[] = {
7631 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7632 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7635 * Fix Command Arguments for Solaris_Math_9
7637 static const char* apzSolaris_Math_9Patch[] = {
7639 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7640 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7645 * Description of Solaris_Math_11 fix
7647 tSCC zSolaris_Math_11Name[] =
7651 * File name selection pattern
7653 tSCC zSolaris_Math_11List[] =
7656 * Machine/OS name selection pattern
7658 #define apzSolaris_Math_11Machs (const char**)NULL
7661 * content selection pattern - do fix if pattern found
7663 tSCC zSolaris_Math_11Select0[] =
7664 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7666 #define SOLARIS_MATH_11_TEST_CT 1
7667 static tTestDesc aSolaris_Math_11Tests[] = {
7668 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
7671 * Fix Command Arguments for Solaris_Math_11
7673 static const char* apzSolaris_Math_11Patch[] = {
7676 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7677 \t\t\t ? __builtin_signbitf(x) \\\n\
7678 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7679 \t\t\t ? __builtin_signbitl(x) \\\n\
7680 \t\t\t : __builtin_signbit(x))",
7681 "^#undef[ \t]+signbit\n\
7682 #if defined\\(__sparc\\)\n\
7683 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7684 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7685 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7686 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7687 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7688 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7689 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7690 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7691 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7692 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7693 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7699 * Description of Solaris_Math_12 fix
7701 tSCC zSolaris_Math_12Name[] =
7705 * File name selection pattern
7707 tSCC zSolaris_Math_12List[] =
7710 * Machine/OS name selection pattern
7712 tSCC* apzSolaris_Math_12Machs[] = {
7714 (const char*)NULL };
7717 * content selection pattern - do fix if pattern found
7719 tSCC zSolaris_Math_12Select0[] =
7720 "#undef.*_GLIBCXX_USE_C99_MATH";
7722 #define SOLARIS_MATH_12_TEST_CT 1
7723 static tTestDesc aSolaris_Math_12Tests[] = {
7724 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
7727 * Fix Command Arguments for Solaris_Math_12
7729 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7730 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7735 * Description of Solaris_Once_Init_1 fix
7737 tSCC zSolaris_Once_Init_1Name[] =
7738 "solaris_once_init_1";
7741 * File name selection pattern
7743 tSCC zSolaris_Once_Init_1List[] =
7746 * Machine/OS name selection pattern
7748 tSCC* apzSolaris_Once_Init_1Machs[] = {
7750 (const char*)NULL };
7753 * content selection pattern - do fix if pattern found
7755 tSCC zSolaris_Once_Init_1Select0[] =
7756 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7758 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7759 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7760 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7763 * Fix Command Arguments for Solaris_Once_Init_1
7765 static const char* apzSolaris_Once_Init_1Patch[] = {
7768 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7773 * Description of Solaris_Posix_Spawn_Restrict fix
7775 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7776 "solaris_posix_spawn_restrict";
7779 * File name selection pattern
7781 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7784 * Machine/OS name selection pattern
7786 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7788 (const char*)NULL };
7791 * content selection pattern - do fix if pattern found
7793 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7794 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7796 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7797 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7798 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7801 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7803 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7805 "%1*_RESTRICT_KYWD %2%3",
7808 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7810 * Description of Solaris_Pow_Int_Overload fix
7812 tSCC zSolaris_Pow_Int_OverloadName[] =
7813 "solaris_pow_int_overload";
7816 * File name selection pattern
7818 tSCC zSolaris_Pow_Int_OverloadList[] =
7821 * Machine/OS name selection pattern
7823 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7825 (const char*)NULL };
7828 * content selection pattern - do fix if pattern found
7830 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7831 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7834 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7835 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7836 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7839 * Fix Command Arguments for Solaris_Pow_Int_Overload
7841 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7843 "#if __cplusplus < 201103L\n\
7848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7850 * Description of Solaris_Rwlock_Init_1 fix
7852 tSCC zSolaris_Rwlock_Init_1Name[] =
7853 "solaris_rwlock_init_1";
7856 * File name selection pattern
7858 tSCC zSolaris_Rwlock_Init_1List[] =
7861 * Machine/OS name selection pattern
7863 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7865 (const char*)NULL };
7868 * content selection pattern - do fix if pattern found
7870 tSCC zSolaris_Rwlock_Init_1Select0[] =
7871 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7873 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
7874 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7875 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7878 * Fix Command Arguments for Solaris_Rwlock_Init_1
7880 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7882 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7885 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7887 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7892 * Description of Solaris_Std___Filbuf fix
7894 tSCC zSolaris_Std___FilbufName[] =
7895 "solaris_std___filbuf";
7898 * File name selection pattern
7900 tSCC zSolaris_Std___FilbufList[] =
7903 * Machine/OS name selection pattern
7905 tSCC* apzSolaris_Std___FilbufMachs[] = {
7907 (const char*)NULL };
7910 * content selection pattern - do fix if pattern found
7912 tSCC zSolaris_Std___FilbufSelect0[] =
7913 "(using std::perror;\n\
7917 * content bypass pattern - skip fix if pattern found
7919 tSCC zSolaris_Std___FilbufBypass0[] =
7920 "using std::__filbuf";
7922 #define SOLARIS_STD___FILBUF_TEST_CT 2
7923 static tTestDesc aSolaris_Std___FilbufTests[] = {
7924 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7925 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7928 * Fix Command Arguments for Solaris_Std___Filbuf
7930 static const char* apzSolaris_Std___FilbufPatch[] = {
7933 using std::__filbuf;\n\
7934 using std::__flsbuf;\n\
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941 * Description of Solaris_Std_Gets_Cxx14 fix
7943 tSCC zSolaris_Std_Gets_Cxx14Name[] =
7944 "solaris_std_gets_cxx14";
7947 * File name selection pattern
7949 tSCC zSolaris_Std_Gets_Cxx14List[] =
7952 * Machine/OS name selection pattern
7954 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
7956 (const char*)NULL };
7959 * content selection pattern - do fix if pattern found
7961 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
7964 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
7965 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
7966 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
7969 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
7971 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
7973 "#if __cplusplus < 201402L\n\
7978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7980 * Description of Solaris_Stdio_Tag fix
7982 tSCC zSolaris_Stdio_TagName[] =
7983 "solaris_stdio_tag";
7986 * File name selection pattern
7988 tSCC zSolaris_Stdio_TagList[] =
7991 * Machine/OS name selection pattern
7993 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7996 * content selection pattern - do fix if pattern found
7998 tSCC zSolaris_Stdio_TagSelect0[] =
7999 "__cplusplus < 54321L";
8002 * content bypass pattern - skip fix if pattern found
8004 tSCC zSolaris_Stdio_TagBypass0[] =
8007 #define SOLARIS_STDIO_TAG_TEST_CT 2
8008 static tTestDesc aSolaris_Stdio_TagTests[] = {
8009 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8010 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8013 * Fix Command Arguments for Solaris_Stdio_Tag
8015 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8016 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8021 * Description of Solaris_Stdlib_Noreturn fix
8023 tSCC zSolaris_Stdlib_NoreturnName[] =
8024 "solaris_stdlib_noreturn";
8027 * File name selection pattern
8029 tSCC zSolaris_Stdlib_NoreturnList[] =
8030 "iso/stdlib_c99.h\0";
8032 * Machine/OS name selection pattern
8034 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8036 (const char*)NULL };
8039 * content selection pattern - do fix if pattern found
8041 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8042 "(extern) _Noreturn (void quick_exit\\(int\\));";
8044 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8045 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8046 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8049 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8051 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8053 "%1 %2 __attribute__((__noreturn__));",
8056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8058 * Description of Statsswtch fix
8060 tSCC zStatsswtchName[] =
8064 * File name selection pattern
8066 tSCC zStatsswtchList[] =
8069 * Machine/OS name selection pattern
8071 #define apzStatsswtchMachs (const char**)NULL
8074 * content selection pattern - do fix if pattern found
8076 tSCC zStatsswtchSelect0[] =
8079 #define STATSSWTCH_TEST_CT 1
8080 static tTestDesc aStatsswtchTests[] = {
8081 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8084 * Fix Command Arguments for Statsswtch
8086 static const char* apzStatsswtchPatch[] = {
8091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8093 * Description of Stdio_Stdarg_H fix
8095 tSCC zStdio_Stdarg_HName[] =
8099 * File name selection pattern
8101 tSCC zStdio_Stdarg_HList[] =
8104 * Machine/OS name selection pattern
8106 tSCC* apzStdio_Stdarg_HMachs[] = {
8107 "*-*-solaris2.1[0-9]*",
8108 (const char*)NULL };
8111 * content bypass pattern - skip fix if pattern found
8113 tSCC zStdio_Stdarg_HBypass0[] =
8114 "include.*(stdarg.h|machine/ansi.h)";
8116 #define STDIO_STDARG_H_TEST_CT 1
8117 static tTestDesc aStdio_Stdarg_HTests[] = {
8118 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8121 * Fix Command Arguments for Stdio_Stdarg_H
8123 static const char* apzStdio_Stdarg_HPatch[] = {
8125 "#define __need___va_list\n\
8126 #include <stdarg.h>\n",
8129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8131 * Description of Stdio_Va_List fix
8133 tSCC zStdio_Va_ListName[] =
8137 * File name selection pattern
8139 tSCC zStdio_Va_ListList[] =
8142 * Machine/OS name selection pattern
8144 tSCC* apzStdio_Va_ListMachs[] = {
8145 "*-*-solaris2.1[0-9]*",
8146 (const char*)NULL };
8149 * content bypass pattern - skip fix if pattern found
8151 tSCC zStdio_Va_ListBypass0[] =
8152 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8154 #define STDIO_VA_LIST_TEST_CT 1
8155 static tTestDesc aStdio_Va_ListTests[] = {
8156 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8159 * Fix Command Arguments for Stdio_Va_List
8161 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8162 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8163 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8164 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8165 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8166 s@ va_list@ __not_va_list__@\n\
8167 s@\\*va_list@*__not_va_list__@\n\
8168 s@ __va_list)@ __gnuc_va_list)@\n\
8169 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8170 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8171 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8172 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8173 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8174 s@VA_LIST@DUMMY_VA_LIST@\n\
8175 s@_Va_LIST@_VA_LIST@",
8178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8180 * Description of Stdio_Va_List_Clients fix
8182 tSCC zStdio_Va_List_ClientsName[] =
8183 "stdio_va_list_clients";
8186 * File name selection pattern
8188 tSCC zStdio_Va_List_ClientsList[] =
8189 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8191 * Machine/OS name selection pattern
8193 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8196 * content bypass pattern - skip fix if pattern found
8198 tSCC zStdio_Va_List_ClientsBypass0[] =
8199 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8200 tSCC zStdio_Va_List_ClientsBypass1[] =
8201 "include <stdarg\\.h>|#ifdef va_start";
8203 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8204 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8205 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8206 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8209 * Fix Command Arguments for Stdio_Va_List_Clients
8211 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8212 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8213 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8214 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8215 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8216 s@ va_list@ __not_va_list__@\n\
8217 s@\\*va_list@*__not_va_list__@\n\
8218 s@ __va_list)@ __gnuc_va_list)@\n\
8219 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8220 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8221 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8222 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8223 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8224 s@VA_LIST@DUMMY_VA_LIST@\n\
8225 s@_Va_LIST@_VA_LIST@",
8228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8230 * Description of Strict_Ansi_Not fix
8232 tSCC zStrict_Ansi_NotName[] =
8236 * File name selection pattern
8238 #define zStrict_Ansi_NotList (char*)NULL
8240 * Machine/OS name selection pattern
8242 #define apzStrict_Ansi_NotMachs (const char**)NULL
8245 * content selection pattern - do fix if pattern found
8247 tSCC zStrict_Ansi_NotSelect0[] =
8248 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8251 * content bypass pattern - skip fix if pattern found
8253 tSCC zStrict_Ansi_NotBypass0[] =
8254 "GNU and MIPS C compilers define __STDC__ differently";
8255 tSCC zStrict_Ansi_NotBypass1[] =
8256 "__SCO_VERSION__.*__STDC__ != 1";
8259 * perform the C function call test
8261 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8263 #define STRICT_ANSI_NOT_TEST_CT 4
8264 static tTestDesc aStrict_Ansi_NotTests[] = {
8265 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8266 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8267 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8268 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8271 * Fix Command Arguments for Strict_Ansi_Not
8273 static const char* apzStrict_Ansi_NotPatch[] = {
8275 "%1 !defined(__STRICT_ANSI__)",
8278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8280 * Description of Strict_Ansi_Not_Ctd fix
8282 tSCC zStrict_Ansi_Not_CtdName[] =
8283 "strict_ansi_not_ctd";
8286 * File name selection pattern
8288 tSCC zStrict_Ansi_Not_CtdList[] =
8289 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8291 * Machine/OS name selection pattern
8293 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8296 * content selection pattern - do fix if pattern found
8298 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8299 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8302 * perform the C function call test
8304 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8306 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8307 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8308 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8309 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8312 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8314 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8316 "%1 !defined(__STRICT_ANSI__)",
8319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8321 * Description of Strict_Ansi_Only fix
8323 tSCC zStrict_Ansi_OnlyName[] =
8327 * File name selection pattern
8329 #define zStrict_Ansi_OnlyList (char*)NULL
8331 * Machine/OS name selection pattern
8333 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8336 * content selection pattern - do fix if pattern found
8338 tSCC zStrict_Ansi_OnlySelect0[] =
8339 "^([ \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)";
8342 * perform the C function call test
8344 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8346 #define STRICT_ANSI_ONLY_TEST_CT 2
8347 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8348 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8349 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8352 * Fix Command Arguments for Strict_Ansi_Only
8354 static const char* apzStrict_Ansi_OnlyPatch[] = {
8356 "%1 defined(__STRICT_ANSI__)",
8359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8361 * Description of Struct_File fix
8363 tSCC zStruct_FileName[] =
8367 * File name selection pattern
8369 tSCC zStruct_FileList[] =
8372 * Machine/OS name selection pattern
8374 #define apzStruct_FileMachs (const char**)NULL
8377 * content selection pattern - do fix if pattern found
8379 tSCC zStruct_FileSelect0[] =
8380 "^.*xdrstdio_create.*struct __file_s";
8382 #define STRUCT_FILE_TEST_CT 1
8383 static tTestDesc aStruct_FileTests[] = {
8384 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8387 * Fix Command Arguments for Struct_File
8389 static const char* apzStruct_FilePatch[] = {
8391 "struct __file_s;\n\
8395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8397 * Description of Struct_Sockaddr fix
8399 tSCC zStruct_SockaddrName[] =
8403 * File name selection pattern
8405 tSCC zStruct_SockaddrList[] =
8408 * Machine/OS name selection pattern
8410 #define apzStruct_SockaddrMachs (const char**)NULL
8413 * content selection pattern - do fix if pattern found
8415 tSCC zStruct_SockaddrSelect0[] =
8416 "^.*authdes_create.*struct sockaddr[^_]";
8419 * content bypass pattern - skip fix if pattern found
8421 tSCC zStruct_SockaddrBypass0[] =
8423 tSCC zStruct_SockaddrBypass1[] =
8424 "struct sockaddr;\n";
8426 #define STRUCT_SOCKADDR_TEST_CT 3
8427 static tTestDesc aStruct_SockaddrTests[] = {
8428 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8429 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8430 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8433 * Fix Command Arguments for Struct_Sockaddr
8435 static const char* apzStruct_SockaddrPatch[] = {
8437 "struct sockaddr;\n\
8441 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8443 * Description of Sun_Auth_Proto fix
8445 tSCC zSun_Auth_ProtoName[] =
8449 * File name selection pattern
8451 tSCC zSun_Auth_ProtoList[] =
8452 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8454 * Machine/OS name selection pattern
8456 #define apzSun_Auth_ProtoMachs (const char**)NULL
8459 * content selection pattern - do fix if pattern found
8461 tSCC zSun_Auth_ProtoSelect0[] =
8462 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8465 * content bypass pattern - skip fix if pattern found
8467 tSCC zSun_Auth_ProtoBypass0[] =
8470 #define SUN_AUTH_PROTO_TEST_CT 2
8471 static tTestDesc aSun_Auth_ProtoTests[] = {
8472 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8473 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8476 * Fix Command Arguments for Sun_Auth_Proto
8478 static const char* apzSun_Auth_ProtoPatch[] = {
8480 "#ifdef __cplusplus\n\
8485 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8490 * Description of Sun_Bogus_Ifdef fix
8492 tSCC zSun_Bogus_IfdefName[] =
8496 * File name selection pattern
8498 tSCC zSun_Bogus_IfdefList[] =
8499 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8501 * Machine/OS name selection pattern
8503 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8506 * content selection pattern - do fix if pattern found
8508 tSCC zSun_Bogus_IfdefSelect0[] =
8509 "#ifdef(.*\\|\\|.*)";
8511 #define SUN_BOGUS_IFDEF_TEST_CT 1
8512 static tTestDesc aSun_Bogus_IfdefTests[] = {
8513 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8516 * Fix Command Arguments for Sun_Bogus_Ifdef
8518 static const char* apzSun_Bogus_IfdefPatch[] = {
8523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8525 * Description of Sun_Catmacro fix
8527 tSCC zSun_CatmacroName[] =
8531 * File name selection pattern
8533 tSCC zSun_CatmacroList[] =
8534 "pixrect/memvar.h\0";
8536 * Machine/OS name selection pattern
8538 #define apzSun_CatmacroMachs (const char**)NULL
8541 * content selection pattern - do fix if pattern found
8543 tSCC zSun_CatmacroSelect0[] =
8544 "^#define[ \t]+CAT\\(a,b\\).*";
8546 #define SUN_CATMACRO_TEST_CT 1
8547 static tTestDesc aSun_CatmacroTests[] = {
8548 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8551 * Fix Command Arguments for Sun_Catmacro
8553 static const char* apzSun_CatmacroPatch[] = {
8556 # define CAT(a,b) a##b\n\
8562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8564 * Description of Sun_Malloc fix
8566 tSCC zSun_MallocName[] =
8570 * File name selection pattern
8572 tSCC zSun_MallocList[] =
8575 * Machine/OS name selection pattern
8577 #define apzSun_MallocMachs (const char**)NULL
8580 * content bypass pattern - skip fix if pattern found
8582 tSCC zSun_MallocBypass0[] =
8583 "_CLASSIC_ANSI_TYPES";
8585 #define SUN_MALLOC_TEST_CT 1
8586 static tTestDesc aSun_MallocTests[] = {
8587 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8590 * Fix Command Arguments for Sun_Malloc
8592 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8593 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8594 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8595 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8596 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8597 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8602 * Description of Sun_Rusers_Semi fix
8604 tSCC zSun_Rusers_SemiName[] =
8608 * File name selection pattern
8610 tSCC zSun_Rusers_SemiList[] =
8611 "rpcsvc/rusers.h\0";
8613 * Machine/OS name selection pattern
8615 #define apzSun_Rusers_SemiMachs (const char**)NULL
8618 * content selection pattern - do fix if pattern found
8620 tSCC zSun_Rusers_SemiSelect0[] =
8623 #define SUN_RUSERS_SEMI_TEST_CT 1
8624 static tTestDesc aSun_Rusers_SemiTests[] = {
8625 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8628 * Fix Command Arguments for Sun_Rusers_Semi
8630 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8631 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8636 * Description of Sun_Signal fix
8638 tSCC zSun_SignalName[] =
8642 * File name selection pattern
8644 tSCC zSun_SignalList[] =
8645 "sys/signal.h\0signal.h\0";
8647 * Machine/OS name selection pattern
8649 #define apzSun_SignalMachs (const char**)NULL
8652 * content selection pattern - do fix if pattern found
8654 tSCC zSun_SignalSelect0[] =
8655 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8657 #define SUN_SIGNAL_TEST_CT 1
8658 static tTestDesc aSun_SignalTests[] = {
8659 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
8662 * Fix Command Arguments for Sun_Signal
8664 static const char* apzSun_SignalPatch[] = {
8666 "#ifdef __cplusplus\n\
8667 void\t(*signal(...))(...);\n\
8673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8675 * Description of Sunos_Strlen fix
8677 tSCC zSunos_StrlenName[] =
8681 * File name selection pattern
8683 tSCC zSunos_StrlenList[] =
8686 * Machine/OS name selection pattern
8688 #define apzSunos_StrlenMachs (const char**)NULL
8691 * content selection pattern - do fix if pattern found
8693 tSCC zSunos_StrlenSelect0[] =
8694 "int[ \t]*strlen\\(\\);(.*)";
8696 #define SUNOS_STRLEN_TEST_CT 1
8697 static tTestDesc aSunos_StrlenTests[] = {
8698 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
8701 * Fix Command Arguments for Sunos_Strlen
8703 static const char* apzSunos_StrlenPatch[] = {
8705 "__SIZE_TYPE__ strlen();%1",
8708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8710 * Description of Suse_Linux_Vt_Cxx fix
8712 tSCC zSuse_Linux_Vt_CxxName[] =
8713 "suse_linux_vt_cxx";
8716 * File name selection pattern
8718 tSCC zSuse_Linux_Vt_CxxList[] =
8721 * Machine/OS name selection pattern
8723 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8726 * content selection pattern - do fix if pattern found
8728 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8729 "^[ \t]*unsigned int new;";
8731 #define SUSE_LINUX_VT_CXX_TEST_CT 1
8732 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8733 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8736 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8738 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8740 "unsigned int newev;",
8743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8745 * Description of Svr4_Disable_Opt fix
8747 tSCC zSvr4_Disable_OptName[] =
8751 * File name selection pattern
8753 tSCC zSvr4_Disable_OptList[] =
8756 * Machine/OS name selection pattern
8758 #define apzSvr4_Disable_OptMachs (const char**)NULL
8761 * content selection pattern - do fix if pattern found
8763 tSCC zSvr4_Disable_OptSelect0[] =
8764 "#define.*__std_hdr_";
8766 #define SVR4_DISABLE_OPT_TEST_CT 1
8767 static tTestDesc aSvr4_Disable_OptTests[] = {
8768 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8771 * Fix Command Arguments for Svr4_Disable_Opt
8773 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8774 "-e", "/#define.*__std_hdr_/d",
8777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8779 * Description of Svr4_Getcwd fix
8781 tSCC zSvr4_GetcwdName[] =
8785 * File name selection pattern
8787 tSCC zSvr4_GetcwdList[] =
8788 "stdlib.h\0unistd.h\0prototypes.h\0";
8790 * Machine/OS name selection pattern
8792 #define apzSvr4_GetcwdMachs (const char**)NULL
8795 * content selection pattern - do fix if pattern found
8797 tSCC zSvr4_GetcwdSelect0[] =
8798 "getcwd\\(char \\*, int\\)";
8800 #define SVR4_GETCWD_TEST_CT 1
8801 static tTestDesc aSvr4_GetcwdTests[] = {
8802 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8805 * Fix Command Arguments for Svr4_Getcwd
8807 static const char* apzSvr4_GetcwdPatch[] = {
8809 "getcwd(char *, size_t)",
8812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8814 * Description of Svr4_Profil fix
8816 tSCC zSvr4_ProfilName[] =
8820 * File name selection pattern
8822 tSCC zSvr4_ProfilList[] =
8823 "stdlib.h\0unistd.h\0";
8825 * Machine/OS name selection pattern
8827 #define apzSvr4_ProfilMachs (const char**)NULL
8830 * content selection pattern - do fix if pattern found
8832 tSCC zSvr4_ProfilSelect0[] =
8833 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8835 #define SVR4_PROFIL_TEST_CT 1
8836 static tTestDesc aSvr4_ProfilTests[] = {
8837 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8840 * Fix Command Arguments for Svr4_Profil
8842 static const char* apzSvr4_ProfilPatch[] = {
8844 "profil(unsigned short *, size_t, int, unsigned int)",
8847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8849 * Description of Svr4_Sighandler_Type fix
8851 tSCC zSvr4_Sighandler_TypeName[] =
8852 "svr4_sighandler_type";
8855 * File name selection pattern
8857 tSCC zSvr4_Sighandler_TypeList[] =
8860 * Machine/OS name selection pattern
8862 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8865 * content selection pattern - do fix if pattern found
8867 tSCC zSvr4_Sighandler_TypeSelect0[] =
8868 "void *\\(\\*\\)\\(\\)";
8870 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8871 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8872 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8875 * Fix Command Arguments for Svr4_Sighandler_Type
8877 static const char* apzSvr4_Sighandler_TypePatch[] = {
8882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8884 * Description of Svr4_Undeclared_Getrnge fix
8886 tSCC zSvr4_Undeclared_GetrngeName[] =
8887 "svr4_undeclared_getrnge";
8890 * File name selection pattern
8892 tSCC zSvr4_Undeclared_GetrngeList[] =
8895 * Machine/OS name selection pattern
8897 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8900 * content selection pattern - do fix if pattern found
8902 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8906 * content bypass pattern - skip fix if pattern found
8908 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8909 "static void getrnge";
8911 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8912 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8913 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8914 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8917 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8919 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8922 static int getrnge ();",
8923 "^static int[ \t]+size;",
8926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8928 * Description of Sysv68_String fix
8930 tSCC zSysv68_StringName[] =
8934 * File name selection pattern
8936 tSCC zSysv68_StringList[] =
8937 "testing.h\0string.h\0";
8939 * Machine/OS name selection pattern
8941 #define apzSysv68_StringMachs (const char**)NULL
8944 * content bypass pattern - skip fix if pattern found
8946 tSCC zSysv68_StringBypass0[] =
8947 "_CLASSIC_ANSI_TYPES";
8949 #define SYSV68_STRING_TEST_CT 1
8950 static tTestDesc aSysv68_StringTests[] = {
8951 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8954 * Fix Command Arguments for Sysv68_String
8956 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8957 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8958 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8959 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8960 "-e", "/^extern char$/N",
8961 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8962 "-e", "/^extern int$/N",
8963 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8964 "-e", "/^\tstrncmp(),$/N",
8965 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8966 extern unsigned int\\\n\
8970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8972 * Description of Sysz_Stdlib_For_Sun fix
8974 tSCC zSysz_Stdlib_For_SunName[] =
8975 "sysz_stdlib_for_sun";
8978 * File name selection pattern
8980 tSCC zSysz_Stdlib_For_SunList[] =
8983 * Machine/OS name selection pattern
8985 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8988 * content selection pattern - do fix if pattern found
8990 tSCC zSysz_Stdlib_For_SunSelect0[] =
8991 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8994 * content bypass pattern - skip fix if pattern found
8996 tSCC zSysz_Stdlib_For_SunBypass0[] =
8997 "_CLASSIC_ANSI_TYPES";
8999 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9000 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9001 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9002 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9005 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9007 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9012 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9014 * Description of Thread_Keyword fix
9016 tSCC zThread_KeywordName[] =
9020 * File name selection pattern
9022 tSCC zThread_KeywordList[] =
9023 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9025 * Machine/OS name selection pattern
9027 #define apzThread_KeywordMachs (const char**)NULL
9030 * content selection pattern - do fix if pattern found
9032 tSCC zThread_KeywordSelect0[] =
9033 "([* ])__thread([,)])";
9035 #define THREAD_KEYWORD_TEST_CT 1
9036 static tTestDesc aThread_KeywordTests[] = {
9037 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9040 * Fix Command Arguments for Thread_Keyword
9042 static const char* apzThread_KeywordPatch[] = {
9047 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9049 * Description of Tinfo_Cplusplus fix
9051 tSCC zTinfo_CplusplusName[] =
9055 * File name selection pattern
9057 tSCC zTinfo_CplusplusList[] =
9060 * Machine/OS name selection pattern
9062 #define apzTinfo_CplusplusMachs (const char**)NULL
9065 * content selection pattern - do fix if pattern found
9067 tSCC zTinfo_CplusplusSelect0[] =
9070 #define TINFO_CPLUSPLUS_TEST_CT 1
9071 static tTestDesc aTinfo_CplusplusTests[] = {
9072 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9075 * Fix Command Arguments for Tinfo_Cplusplus
9077 static const char* apzTinfo_CplusplusPatch[] = {
9082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9084 * Description of Ultrix_Const fix
9086 tSCC zUltrix_ConstName[] =
9090 * File name selection pattern
9092 tSCC zUltrix_ConstList[] =
9095 * Machine/OS name selection pattern
9097 #define apzUltrix_ConstMachs (const char**)NULL
9100 * content selection pattern - do fix if pattern found
9102 tSCC zUltrix_ConstSelect0[] =
9103 "perror\\( char \\*";
9105 #define ULTRIX_CONST_TEST_CT 1
9106 static tTestDesc aUltrix_ConstTests[] = {
9107 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9110 * Fix Command Arguments for Ultrix_Const
9112 static const char* apzUltrix_ConstPatch[] = {
9115 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9120 * Description of Ultrix_Const2 fix
9122 tSCC zUltrix_Const2Name[] =
9126 * File name selection pattern
9128 tSCC zUltrix_Const2List[] =
9131 * Machine/OS name selection pattern
9133 #define apzUltrix_Const2Machs (const char**)NULL
9136 * content selection pattern - do fix if pattern found
9138 tSCC zUltrix_Const2Select0[] =
9139 "\\*fopen\\( char \\*";
9141 #define ULTRIX_CONST2_TEST_CT 1
9142 static tTestDesc aUltrix_Const2Tests[] = {
9143 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9146 * Fix Command Arguments for Ultrix_Const2
9148 static const char* apzUltrix_Const2Patch[] = {
9150 "%1( const char *%3, const char *",
9151 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9154 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9156 * Description of Va_I960_Macro fix
9158 tSCC zVa_I960_MacroName[] =
9162 * File name selection pattern
9164 tSCC zVa_I960_MacroList[] =
9165 "arch/i960/archI960.h\0";
9167 * Machine/OS name selection pattern
9169 #define apzVa_I960_MacroMachs (const char**)NULL
9172 * content selection pattern - do fix if pattern found
9174 tSCC zVa_I960_MacroSelect0[] =
9175 "__(vsiz|vali|vpad|alignof__)";
9177 #define VA_I960_MACRO_TEST_CT 1
9178 static tTestDesc aVa_I960_MacroTests[] = {
9179 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9182 * Fix Command Arguments for Va_I960_Macro
9184 static const char* apzVa_I960_MacroPatch[] = {
9189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9191 * Description of Vms_Add_Missing_Braces fix
9193 tSCC zVms_Add_Missing_BracesName[] =
9194 "vms_add_missing_braces";
9197 * File name selection pattern
9199 tSCC zVms_Add_Missing_BracesList[] =
9200 "rtldef/signal.h\0";
9202 * Machine/OS name selection pattern
9204 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9206 (const char*)NULL };
9209 * content selection pattern - do fix if pattern found
9211 tSCC zVms_Add_Missing_BracesSelect0[] =
9212 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9214 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9215 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9216 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9219 * Fix Command Arguments for Vms_Add_Missing_Braces
9221 static const char* apzVms_Add_Missing_BracesPatch[] = {
9226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9228 * Description of Vms_Decc_Builtin fix
9230 tSCC zVms_Decc_BuiltinName[] =
9234 * File name selection pattern
9236 tSCC zVms_Decc_BuiltinList[] =
9237 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9239 * Machine/OS name selection pattern
9241 tSCC* apzVms_Decc_BuiltinMachs[] = {
9243 (const char*)NULL };
9246 * content selection pattern - do fix if pattern found
9248 tSCC zVms_Decc_BuiltinSelect0[] =
9249 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9251 #define VMS_DECC_BUILTIN_TEST_CT 1
9252 static tTestDesc aVms_Decc_BuiltinTests[] = {
9253 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9256 * Fix Command Arguments for Vms_Decc_Builtin
9258 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9259 "-e", "s@__MEMSET@memset@",
9260 "-e", "s@__MEMMOVE@memmove@",
9261 "-e", "s@__MEMCPY@memcpy@",
9262 "-e", "s@__STRLEN@strlen@",
9263 "-e", "s@__STRCPY@strcpy@",
9266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9268 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9270 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9271 "vms_define_can_use_extern_prefix";
9274 * File name selection pattern
9276 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9277 "rtldef/decc$types.h\0";
9279 * Machine/OS name selection pattern
9281 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9283 (const char*)NULL };
9286 * content selection pattern - do fix if pattern found
9288 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9290 #[ \t]*if defined\\(__DECCXX\\)\n\
9291 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9293 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9294 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9295 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9298 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9300 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9302 "%0# elif defined (__GNUC__)\n\
9303 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9308 * Description of Vms_Disable_Decc_String_Builtins fix
9310 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9311 "vms_disable_decc_string_builtins";
9314 * File name selection pattern
9316 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9317 "rtldef/string.h\0";
9319 * Machine/OS name selection pattern
9321 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9323 (const char*)NULL };
9326 * content selection pattern - do fix if pattern found
9328 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9329 "#if !defined\\(__VAX\\)\n";
9331 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9332 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9333 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9336 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9338 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9340 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9345 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9347 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9348 "vms_do_not_redeclare_hostalias";
9351 * File name selection pattern
9353 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9354 "rtldef/resolv.h\0";
9356 * Machine/OS name selection pattern
9358 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9360 (const char*)NULL };
9363 * content selection pattern - do fix if pattern found
9365 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9366 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9367 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9369 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9370 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9371 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9374 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9376 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9384 * Description of Vms_Forward_Declare_Struct fix
9386 tSCC zVms_Forward_Declare_StructName[] =
9387 "vms_forward_declare_struct";
9390 * File name selection pattern
9392 tSCC zVms_Forward_Declare_StructList[] =
9395 * Machine/OS name selection pattern
9397 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9399 (const char*)NULL };
9402 * content selection pattern - do fix if pattern found
9404 tSCC zVms_Forward_Declare_StructSelect0[] =
9405 "(/\\* forward decls for C\\+\\+ \\*/\n\
9406 )#ifdef __cplusplus\n";
9408 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9409 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9410 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9413 * Fix Command Arguments for Vms_Forward_Declare_Struct
9415 static const char* apzVms_Forward_Declare_StructPatch[] = {
9417 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9422 * Description of Vms_No_64bit_Getopt fix
9424 tSCC zVms_No_64bit_GetoptName[] =
9425 "vms_no_64bit_getopt";
9428 * File name selection pattern
9430 tSCC zVms_No_64bit_GetoptList[] =
9431 "rtldef/stdio.h\0rtldef/unistd.h\0";
9433 * Machine/OS name selection pattern
9435 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9437 (const char*)NULL };
9440 * content selection pattern - do fix if pattern found
9442 tSCC zVms_No_64bit_GetoptSelect0[] =
9443 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9445 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9446 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9447 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9450 * Fix Command Arguments for Vms_No_64bit_Getopt
9452 static const char* apzVms_No_64bit_GetoptPatch[] = {
9454 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9458 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9460 * Description of Vms_Use_Fast_Setjmp fix
9462 tSCC zVms_Use_Fast_SetjmpName[] =
9463 "vms_use_fast_setjmp";
9466 * File name selection pattern
9468 tSCC zVms_Use_Fast_SetjmpList[] =
9469 "rtldef/setjmp.h\0";
9471 * Machine/OS name selection pattern
9473 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9475 (const char*)NULL };
9478 * content selection pattern - do fix if pattern found
9480 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9481 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9483 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9484 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9485 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9488 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9490 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9492 "%0 defined (__GNUC__) ||",
9495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9497 * Description of Vms_Use_Pragma_Extern_Model fix
9499 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9500 "vms_use_pragma_extern_model";
9503 * File name selection pattern
9505 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9507 * Machine/OS name selection pattern
9509 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9511 (const char*)NULL };
9514 * content selection pattern - do fix if pattern found
9516 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9517 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9518 # pragma extern_model __save\n";
9520 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9521 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9522 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9525 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9527 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9529 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9530 # pragma extern_model __save\n",
9533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9535 * Description of Vms_Use_Quoted_Include fix
9537 tSCC zVms_Use_Quoted_IncludeName[] =
9538 "vms_use_quoted_include";
9541 * File name selection pattern
9543 tSCC zVms_Use_Quoted_IncludeList[] =
9544 "rtldef/wait.h\0starlet_c/pthread.h\0";
9546 * Machine/OS name selection pattern
9548 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9550 (const char*)NULL };
9553 * content selection pattern - do fix if pattern found
9555 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9556 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9558 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9559 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9560 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9563 * Fix Command Arguments for Vms_Use_Quoted_Include
9565 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9572 * Description of Void_Null fix
9574 tSCC zVoid_NullName[] =
9578 * File name selection pattern
9580 tSCC zVoid_NullList[] =
9581 "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";
9583 * Machine/OS name selection pattern
9585 #define apzVoid_NullMachs (const char**)NULL
9588 * content selection pattern - do fix if pattern found
9590 tSCC zVoid_NullSelect0[] =
9591 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9594 * content bypass pattern - skip fix if pattern found
9596 tSCC zVoid_NullBypass0[] =
9598 tSCC zVoid_NullBypass1[] =
9601 #define VOID_NULL_TEST_CT 3
9602 static tTestDesc aVoid_NullTests[] = {
9603 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9604 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9605 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9608 * Fix Command Arguments for Void_Null
9610 static const char* apzVoid_NullPatch[] = {
9613 #ifdef __cplusplus\n\
9615 #define NULL __null\n\
9616 #else /* ! __GNUG__ */\n\
9618 #endif /* __GNUG__ */\n\
9619 #else /* ! __cplusplus */\n\
9620 #define NULL ((void *)0)\n\
9621 #endif /* __cplusplus */\n\
9622 #endif /* !NULL */",
9625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9627 * Description of Vxworks_Gcc_Problem fix
9629 tSCC zVxworks_Gcc_ProblemName[] =
9630 "vxworks_gcc_problem";
9633 * File name selection pattern
9635 tSCC zVxworks_Gcc_ProblemList[] =
9636 "types/vxTypesBase.h\0";
9638 * Machine/OS name selection pattern
9640 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9643 * content selection pattern - do fix if pattern found
9645 tSCC zVxworks_Gcc_ProblemSelect0[] =
9646 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9648 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9649 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9650 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9653 * Fix Command Arguments for Vxworks_Gcc_Problem
9655 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9656 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9657 "-e", "/[ \t]size_t/i\\\n\
9658 #ifndef _GCC_SIZE_T\\\n\
9659 #define _GCC_SIZE_T\n",
9660 "-e", "/[ \t]size_t/a\\\n\
9662 "-e", "/[ \t]ptrdiff_t/i\\\n\
9663 #ifndef _GCC_PTRDIFF_T\\\n\
9664 #define _GCC_PTRDIFF_T\n",
9665 "-e", "/[ \t]ptrdiff_t/a\\\n\
9667 "-e", "/[ \t]wchar_t/i\\\n\
9668 #ifndef _GCC_WCHAR_T\\\n\
9669 #define _GCC_WCHAR_T\n",
9670 "-e", "/[ \t]wchar_t/a\\\n\
9674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9676 * Description of Vxworks_Ioctl_Macro fix
9678 tSCC zVxworks_Ioctl_MacroName[] =
9679 "vxworks_ioctl_macro";
9682 * File name selection pattern
9684 tSCC zVxworks_Ioctl_MacroList[] =
9687 * Machine/OS name selection pattern
9689 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9691 (const char*)NULL };
9692 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
9693 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
9696 * Fix Command Arguments for Vxworks_Ioctl_Macro
9698 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9701 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
9702 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9707 * Description of Vxworks_Mkdir_Macro fix
9709 tSCC zVxworks_Mkdir_MacroName[] =
9710 "vxworks_mkdir_macro";
9713 * File name selection pattern
9715 tSCC zVxworks_Mkdir_MacroList[] =
9718 * Machine/OS name selection pattern
9720 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9722 (const char*)NULL };
9723 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
9724 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
9727 * Fix Command Arguments for Vxworks_Mkdir_Macro
9729 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9732 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9733 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9738 * Description of Vxworks_Needs_Vxtypes fix
9740 tSCC zVxworks_Needs_VxtypesName[] =
9741 "vxworks_needs_vxtypes";
9744 * File name selection pattern
9746 tSCC zVxworks_Needs_VxtypesList[] =
9749 * Machine/OS name selection pattern
9751 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9754 * content selection pattern - do fix if pattern found
9756 tSCC zVxworks_Needs_VxtypesSelect0[] =
9757 "uint_t([ \t]+_clocks_per_sec)";
9759 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9760 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9761 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9764 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9766 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9773 * Description of Vxworks_Needs_Vxworks fix
9775 tSCC zVxworks_Needs_VxworksName[] =
9776 "vxworks_needs_vxworks";
9779 * File name selection pattern
9781 tSCC zVxworks_Needs_VxworksList[] =
9784 * Machine/OS name selection pattern
9786 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9789 * content selection pattern - do fix if pattern found
9791 tSCC zVxworks_Needs_VxworksSelect0[] =
9792 "#[ \t]define[ \t]+__INCstath";
9795 * perform the 'test' shell command - do fix on success
9797 tSCC zVxworks_Needs_VxworksTest0[] =
9798 " -r types/vxTypesOld.h";
9799 tSCC zVxworks_Needs_VxworksTest1[] =
9800 " -n \"`egrep '#include' $file`\"";
9801 tSCC zVxworks_Needs_VxworksTest2[] =
9802 " -n \"`egrep ULONG $file`\"";
9804 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
9805 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9806 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
9807 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
9808 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
9809 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9812 * Fix Command Arguments for Vxworks_Needs_Vxworks
9814 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9815 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9816 #include <types/vxTypesOld.h>\n",
9819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9821 * Description of Vxworks_Regs fix
9823 tSCC zVxworks_RegsName[] =
9827 * File name selection pattern
9829 #define zVxworks_RegsList (char*)NULL
9831 * Machine/OS name selection pattern
9833 tSCC* apzVxworks_RegsMachs[] = {
9835 (const char*)NULL };
9838 * content selection pattern - do fix if pattern found
9840 tSCC zVxworks_RegsSelect0[] =
9841 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9843 #define VXWORKS_REGS_TEST_CT 1
9844 static tTestDesc aVxworks_RegsTests[] = {
9845 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
9848 * Fix Command Arguments for Vxworks_Regs
9850 static const char* apzVxworks_RegsPatch[] = {
9852 "#include <arch/../regs.h>",
9855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9857 * Description of Vxworks_Time fix
9859 tSCC zVxworks_TimeName[] =
9863 * File name selection pattern
9865 tSCC zVxworks_TimeList[] =
9868 * Machine/OS name selection pattern
9870 #define apzVxworks_TimeMachs (const char**)NULL
9873 * content selection pattern - do fix if pattern found
9875 tSCC zVxworks_TimeSelect0[] =
9876 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9879 * perform the 'test' shell command - do fix on success
9881 tSCC zVxworks_TimeTest0[] =
9884 #define VXWORKS_TIME_TEST_CT 2
9885 static tTestDesc aVxworks_TimeTests[] = {
9886 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9887 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9890 * Fix Command Arguments for Vxworks_Time
9892 static const char* apzVxworks_TimePatch[] = {
9894 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9895 #ifdef __cplusplus\n\
9896 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9898 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9900 #define __gcc_VOIDFUNCPTR_defined\n\
9902 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9907 * Description of Vxworks_Write_Const fix
9909 tSCC zVxworks_Write_ConstName[] =
9910 "vxworks_write_const";
9913 * File name selection pattern
9915 tSCC zVxworks_Write_ConstList[] =
9918 * Machine/OS name selection pattern
9920 tSCC* apzVxworks_Write_ConstMachs[] = {
9922 (const char*)NULL };
9923 #define VXWORKS_WRITE_CONST_TEST_CT 0
9924 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9927 * Fix Command Arguments for Vxworks_Write_Const
9929 static const char* apzVxworks_Write_ConstPatch[] = {
9931 "extern int write (int, const char*, size_t);",
9932 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9937 * Description of X11_Class fix
9939 tSCC zX11_ClassName[] =
9943 * File name selection pattern
9945 tSCC zX11_ClassList[] =
9948 * Machine/OS name selection pattern
9950 #define apzX11_ClassMachs (const char**)NULL
9953 * content selection pattern - do fix if pattern found
9955 tSCC zX11_ClassSelect0[] =
9956 "^([ \t]*char \\*)class;(.*)";
9959 * content bypass pattern - skip fix if pattern found
9961 tSCC zX11_ClassBypass0[] =
9964 #define X11_CLASS_TEST_CT 2
9965 static tTestDesc aX11_ClassTests[] = {
9966 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9967 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9970 * Fix Command Arguments for X11_Class
9972 static const char* apzX11_ClassPatch[] = {
9974 "#ifdef __cplusplus\n\
9981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9983 * Description of X11_Class_Usage fix
9985 tSCC zX11_Class_UsageName[] =
9989 * File name selection pattern
9991 tSCC zX11_Class_UsageList[] =
9992 "Xm/BaseClassI.h\0";
9994 * Machine/OS name selection pattern
9996 #define apzX11_Class_UsageMachs (const char**)NULL
9999 * content selection pattern - do fix if pattern found
10001 tSCC zX11_Class_UsageSelect0[] =
10005 * content bypass pattern - skip fix if pattern found
10007 tSCC zX11_Class_UsageBypass0[] =
10010 #define X11_CLASS_USAGE_TEST_CT 2
10011 static tTestDesc aX11_Class_UsageTests[] = {
10012 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10013 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10016 * Fix Command Arguments for X11_Class_Usage
10018 static const char* apzX11_Class_UsagePatch[] = {
10023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10025 * Description of X11_New fix
10027 tSCC zX11_NewName[] =
10031 * File name selection pattern
10033 tSCC zX11_NewList[] =
10034 "Xm/Traversal.h\0";
10036 * Machine/OS name selection pattern
10038 #define apzX11_NewMachs (const char**)NULL
10041 * content bypass pattern - skip fix if pattern found
10043 tSCC zX11_NewBypass0[] =
10046 #define X11_NEW_TEST_CT 1
10047 static tTestDesc aX11_NewTests[] = {
10048 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10051 * Fix Command Arguments for X11_New
10053 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10054 "-e", "/Widget\told, new;/i\\\n\
10055 #ifdef __cplusplus\\\n\
10056 \\\tWidget\told, c_new;\\\n\
10058 "-e", "/Widget\told, new;/a\\\n\
10060 "-e", "s/Widget new,/Widget c_new,/g",
10063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10065 * Description of X11_Sprintf fix
10067 tSCC zX11_SprintfName[] =
10071 * File name selection pattern
10073 tSCC zX11_SprintfList[] =
10074 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10076 * Machine/OS name selection pattern
10078 #define apzX11_SprintfMachs (const char**)NULL
10081 * content selection pattern - do fix if pattern found
10083 tSCC zX11_SprintfSelect0[] =
10084 "^extern char \\*\tsprintf\\(\\);$";
10086 #define X11_SPRINTF_TEST_CT 1
10087 static tTestDesc aX11_SprintfTests[] = {
10088 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10091 * Fix Command Arguments for X11_Sprintf
10093 static const char* apzX11_SprintfPatch[] = {
10095 "#ifndef __STDC__\n\
10097 #endif /* !defined __STDC__ */",
10101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10103 * List of all fixes
10105 #define REGEX_COUNT 284
10106 #define MACH_LIST_SIZE_LIMIT 187
10107 #define FIX_COUNT 247
10110 * Enumerate the fixes
10113 AAB_AIX_STDIO_FIXIDX,
10114 AAB_AIX_FCNTL_FIXIDX,
10115 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10116 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10117 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10118 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10119 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10120 AAB_SUN_MEMCPY_FIXIDX,
10121 AAB_VXWORKS_ASSERT_FIXIDX,
10122 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10123 AAB_VXWORKS_STDINT_FIXIDX,
10124 AAB_VXWORKS_UNISTD_FIXIDX,
10126 AIX_COMPLEX_FIXIDX,
10127 AIX_EXTERNC_FIXIDX,
10128 AIX_EXTERNCPP1_FIXIDX,
10129 AIX_EXTERNCPP2_FIXIDX,
10131 AIX_NET_IF_ARP_FIXIDX,
10133 AIX_ONCE_INIT_1_FIXIDX,
10134 AIX_ONCE_INIT_2_FIXIDX,
10135 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10136 AIX_COND_INITIALIZER_1_FIXIDX,
10137 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10138 AIX_PTHREAD_FIXIDX,
10139 AIX_STDINT_1_FIXIDX,
10140 AIX_STDINT_2_FIXIDX,
10141 AIX_STDINT_3_FIXIDX,
10142 AIX_STDINT_4_FIXIDX,
10143 AIX_STDINT_5_FIXIDX,
10144 AIX_STDIO_INLINE_FIXIDX,
10145 AIX_STDLIB_MALLOC_FIXIDX,
10146 AIX_STDLIB_REALLOC_FIXIDX,
10147 AIX_STDLIB_CALLOC_FIXIDX,
10148 AIX_STDLIB_VALLOC_FIXIDX,
10149 AIX_STRTOF_CONST_FIXIDX,
10150 AIX_SYSMACHINE_FIXIDX,
10151 AIX_SYSWAIT_2_FIXIDX,
10152 AIX_VOLATILE_FIXIDX,
10153 ALPHA___ASSERT_FIXIDX,
10154 ALPHA_ASSERT_FIXIDX,
10155 ALPHA_GETOPT_FIXIDX,
10156 ALPHA_IF_SEMICOLON_FIXIDX,
10157 ALPHA_PARENS_FIXIDX,
10159 AVOID_BOOL_DEFINE_FIXIDX,
10160 AVOID_BOOL_TYPE_FIXIDX,
10161 AVOID_WCHAR_T_TYPE_FIXIDX,
10162 BAD_STRUCT_TERM_FIXIDX,
10164 BROKEN_ASSERT_STDIO_FIXIDX,
10165 BROKEN_ASSERT_STDLIB_FIXIDX,
10166 BROKEN_CABS_FIXIDX,
10168 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10169 CTRL_QUOTES_DEF_FIXIDX,
10170 CTRL_QUOTES_USE_FIXIDX,
10171 CXX_UNREADY_FIXIDX,
10172 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10173 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10174 DARWIN_EXTERNC_FIXIDX,
10175 DARWIN_GCC4_BREAKAGE_FIXIDX,
10176 DARWIN_LONGJMP_NORETURN_FIXIDX,
10177 DARWIN_OS_TRACE_1_FIXIDX,
10178 DARWIN_OS_TRACE_2_FIXIDX,
10179 DARWIN_OS_TRACE_3_FIXIDX,
10180 DARWIN_PRIVATE_EXTERN_FIXIDX,
10181 DARWIN_STDINT_1_FIXIDX,
10182 DARWIN_STDINT_2_FIXIDX,
10183 DARWIN_STDINT_3_FIXIDX,
10184 DARWIN_STDINT_4_FIXIDX,
10185 DARWIN_STDINT_5_FIXIDX,
10186 DARWIN_STDINT_6_FIXIDX,
10187 DARWIN_STDINT_7_FIXIDX,
10188 DEC_INTERN_ASM_FIXIDX,
10189 DJGPP_WCHAR_H_FIXIDX,
10191 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10192 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10193 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10194 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10195 GLIBC_C99_INLINE_1_FIXIDX,
10196 GLIBC_C99_INLINE_1A_FIXIDX,
10197 GLIBC_C99_INLINE_2_FIXIDX,
10198 GLIBC_C99_INLINE_3_FIXIDX,
10199 GLIBC_C99_INLINE_4_FIXIDX,
10200 GLIBC_MUTEX_INIT_FIXIDX,
10201 GLIBC_STDINT_FIXIDX,
10202 GLIBC_STRNCPY_FIXIDX,
10203 GLIBC_TGMATH_FIXIDX,
10207 HPPA_HPUX_FP_MACROS_FIXIDX,
10208 HPUX10_CPP_POW_INLINE_FIXIDX,
10209 HPUX11_CPP_POW_INLINE_FIXIDX,
10210 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10211 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10212 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10213 HPPA_HPUX11_ALLOCA_FIXIDX,
10215 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10216 HPUX11_EXTERN_SENDFILE_FIXIDX,
10217 HPUX11_EXTERN_SENDPATH_FIXIDX,
10218 HPUX11_FABSF_FIXIDX,
10219 HPUX11_PTHREAD_CONST_FIXIDX,
10220 HPUX11_SIZE_T_FIXIDX,
10221 HPUX11_SNPRINTF_FIXIDX,
10222 HPUX11_VSNPRINTF_FIXIDX,
10223 HPUX_VSSCANF_FIXIDX,
10224 HPUX8_BOGUS_INLINES_FIXIDX,
10225 HPUX_C99_INTPTR_FIXIDX,
10226 HPUX_C99_INTTYPES_FIXIDX,
10227 HPUX_C99_INTTYPES2_FIXIDX,
10228 HPUX_CTYPE_MACROS_FIXIDX,
10229 HPUX_EXTERN_ERRNO_FIXIDX,
10231 HPUX_IMAGINARY_I_FIXIDX,
10232 HPUX_INTTYPE_INT8_T_FIXIDX,
10233 HPUX_LONG_DOUBLE_FIXIDX,
10234 HPUX_LONG_DOUBLE_2_FIXIDX,
10235 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10236 HPUX_SPU_INFO_FIXIDX,
10237 HPUX_STDINT_LEAST_FAST_FIXIDX,
10238 HPUX_LONGJMP_FIXIDX,
10239 HPUX_SYSTIME_FIXIDX,
10240 HUGE_VAL_HEX_FIXIDX,
10241 HUGE_VALF_HEX_FIXIDX,
10242 HUGE_VALL_HEX_FIXIDX,
10243 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10244 IO_QUOTES_DEF_FIXIDX,
10245 IO_QUOTES_USE_FIXIDX,
10246 IP_MISSING_SEMI_FIXIDX,
10247 IRIX_LIMITS_CONST_FIXIDX,
10248 IRIX_STDIO_VA_LIST_FIXIDX,
10249 KANDR_CONCAT_FIXIDX,
10250 LINUX_IA64_UCONTEXT_FIXIDX,
10251 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10252 LYNXOS_MISSING_PUTENV_FIXIDX,
10253 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10254 MACHINE_NAME_FIXIDX,
10255 MATH_EXCEPTION_FIXIDX,
10256 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10257 NESTED_AUTH_DES_FIXIDX,
10258 NETBSD_C99_INLINE_1_FIXIDX,
10259 NETBSD_C99_INLINE_2_FIXIDX,
10260 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10261 NEWLIB_STDINT_1_FIXIDX,
10262 NEWLIB_STDINT_2_FIXIDX,
10263 NEXT_MATH_PREFIX_FIXIDX,
10264 NEXT_TEMPLATE_FIXIDX,
10265 NEXT_VOLITILE_FIXIDX,
10266 NEXT_WAIT_UNION_FIXIDX,
10267 NODEENT_SYNTAX_FIXIDX,
10268 OPENBSD_NULL_DEFINITION_FIXIDX,
10269 OBSTACK_LVALUE_CAST_FIXIDX,
10270 OPENBSD_VA_START_FIXIDX,
10271 OSF_NAMESPACE_A_FIXIDX,
10272 OSF_NAMESPACE_C_FIXIDX,
10273 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10274 READ_RET_TYPE_FIXIDX,
10275 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10276 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10277 RS6000_DOUBLE_FIXIDX,
10278 RS6000_FCHMOD_FIXIDX,
10279 RS6000_PARAM_FIXIDX,
10280 SOLARIS___RESTRICT_FIXIDX,
10281 SOLARIS_COMPLEX_FIXIDX,
10282 SOLARIS_COMPLEX_CXX_FIXIDX,
10283 SOLARIS_CXX_LINKAGE_FIXIDX,
10284 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10285 SOLARIS_GETS_C11_FIXIDX,
10286 SOLARIS_GETS_CXX14_FIXIDX,
10287 SOLARIS_INT_CONST_FIXIDX,
10288 SOLARIS_INT_LIMITS_1_FIXIDX,
10289 SOLARIS_INT_LIMITS_2_FIXIDX,
10290 SOLARIS_INT_LIMITS_3_FIXIDX,
10291 SOLARIS_MATH_1_FIXIDX,
10292 SOLARIS_MATH_10_FIXIDX,
10293 SOLARIS_MATH_2_FIXIDX,
10294 SOLARIS_MATH_3_FIXIDX,
10295 SOLARIS_MATH_4_FIXIDX,
10296 SOLARIS_MATH_8_FIXIDX,
10297 SOLARIS_MATH_9_FIXIDX,
10298 SOLARIS_MATH_11_FIXIDX,
10299 SOLARIS_MATH_12_FIXIDX,
10300 SOLARIS_ONCE_INIT_1_FIXIDX,
10301 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10302 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10303 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10304 SOLARIS_STD___FILBUF_FIXIDX,
10305 SOLARIS_STD_GETS_CXX14_FIXIDX,
10306 SOLARIS_STDIO_TAG_FIXIDX,
10307 SOLARIS_STDLIB_NORETURN_FIXIDX,
10309 STDIO_STDARG_H_FIXIDX,
10310 STDIO_VA_LIST_FIXIDX,
10311 STDIO_VA_LIST_CLIENTS_FIXIDX,
10312 STRICT_ANSI_NOT_FIXIDX,
10313 STRICT_ANSI_NOT_CTD_FIXIDX,
10314 STRICT_ANSI_ONLY_FIXIDX,
10315 STRUCT_FILE_FIXIDX,
10316 STRUCT_SOCKADDR_FIXIDX,
10317 SUN_AUTH_PROTO_FIXIDX,
10318 SUN_BOGUS_IFDEF_FIXIDX,
10319 SUN_CATMACRO_FIXIDX,
10321 SUN_RUSERS_SEMI_FIXIDX,
10323 SUNOS_STRLEN_FIXIDX,
10324 SUSE_LINUX_VT_CXX_FIXIDX,
10325 SVR4_DISABLE_OPT_FIXIDX,
10326 SVR4_GETCWD_FIXIDX,
10327 SVR4_PROFIL_FIXIDX,
10328 SVR4_SIGHANDLER_TYPE_FIXIDX,
10329 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10330 SYSV68_STRING_FIXIDX,
10331 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10332 THREAD_KEYWORD_FIXIDX,
10333 TINFO_CPLUSPLUS_FIXIDX,
10334 ULTRIX_CONST_FIXIDX,
10335 ULTRIX_CONST2_FIXIDX,
10336 VA_I960_MACRO_FIXIDX,
10337 VMS_ADD_MISSING_BRACES_FIXIDX,
10338 VMS_DECC_BUILTIN_FIXIDX,
10339 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10340 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10341 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10342 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10343 VMS_NO_64BIT_GETOPT_FIXIDX,
10344 VMS_USE_FAST_SETJMP_FIXIDX,
10345 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10346 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10348 VXWORKS_GCC_PROBLEM_FIXIDX,
10349 VXWORKS_IOCTL_MACRO_FIXIDX,
10350 VXWORKS_MKDIR_MACRO_FIXIDX,
10351 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10352 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10353 VXWORKS_REGS_FIXIDX,
10354 VXWORKS_TIME_FIXIDX,
10355 VXWORKS_WRITE_CONST_FIXIDX,
10357 X11_CLASS_USAGE_FIXIDX,
10362 tFixDesc fixDescList[ FIX_COUNT ] = {
10363 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10364 apzAab_Aix_StdioMachs,
10365 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10366 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10368 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10369 apzAab_Aix_FcntlMachs,
10370 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10371 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10373 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10374 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10375 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10376 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10378 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10379 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10380 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10381 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10383 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10384 apzAab_Fd_Zero_Gnu_Types_HMachs,
10385 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10386 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10388 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10389 apzAab_Fd_Zero_Selectbits_HMachs,
10390 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10391 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10393 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10394 apzAab_Solaris_Sys_Varargs_HMachs,
10395 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10396 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10398 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10399 apzAab_Sun_MemcpyMachs,
10400 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10401 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10403 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10404 apzAab_Vxworks_AssertMachs,
10405 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10406 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10408 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10409 apzAab_Vxworks_Regs_VxtypesMachs,
10410 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10411 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10413 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
10414 apzAab_Vxworks_StdintMachs,
10415 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10416 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
10418 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10419 apzAab_Vxworks_UnistdMachs,
10420 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10421 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10423 { zAix_AssertName, zAix_AssertList,
10424 apzAix_AssertMachs,
10425 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10426 aAix_AssertTests, apzAix_AssertPatch, 0 },
10428 { zAix_ComplexName, zAix_ComplexList,
10429 apzAix_ComplexMachs,
10430 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10431 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10433 { zAix_ExterncName, zAix_ExterncList,
10434 apzAix_ExterncMachs,
10435 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10436 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10438 { zAix_Externcpp1Name, zAix_Externcpp1List,
10439 apzAix_Externcpp1Machs,
10440 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10441 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10443 { zAix_Externcpp2Name, zAix_Externcpp2List,
10444 apzAix_Externcpp2Machs,
10445 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10446 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10448 { zAix_MallocName, zAix_MallocList,
10449 apzAix_MallocMachs,
10450 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10451 aAix_MallocTests, apzAix_MallocPatch, 0 },
10453 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10454 apzAix_Net_If_ArpMachs,
10455 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10456 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10458 { zAix_NullName, zAix_NullList,
10460 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10461 aAix_NullTests, apzAix_NullPatch, 0 },
10463 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10464 apzAix_Once_Init_1Machs,
10465 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10466 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10468 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10469 apzAix_Once_Init_2Machs,
10470 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10471 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10473 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10474 apzAix_Mutex_Initializer_1Machs,
10475 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10476 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10478 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10479 apzAix_Cond_Initializer_1Machs,
10480 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10481 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10483 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10484 apzAix_Rwlock_Initializer_1Machs,
10485 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10486 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10488 { zAix_PthreadName, zAix_PthreadList,
10489 apzAix_PthreadMachs,
10490 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10491 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10493 { zAix_Stdint_1Name, zAix_Stdint_1List,
10494 apzAix_Stdint_1Machs,
10495 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10496 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10498 { zAix_Stdint_2Name, zAix_Stdint_2List,
10499 apzAix_Stdint_2Machs,
10500 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10501 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10503 { zAix_Stdint_3Name, zAix_Stdint_3List,
10504 apzAix_Stdint_3Machs,
10505 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10506 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10508 { zAix_Stdint_4Name, zAix_Stdint_4List,
10509 apzAix_Stdint_4Machs,
10510 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10511 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10513 { zAix_Stdint_5Name, zAix_Stdint_5List,
10514 apzAix_Stdint_5Machs,
10515 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10516 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10518 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10519 apzAix_Stdio_InlineMachs,
10520 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10521 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10523 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10524 apzAix_Stdlib_MallocMachs,
10525 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10526 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10528 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10529 apzAix_Stdlib_ReallocMachs,
10530 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10531 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10533 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10534 apzAix_Stdlib_CallocMachs,
10535 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10536 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10538 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10539 apzAix_Stdlib_VallocMachs,
10540 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10541 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10543 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10544 apzAix_Strtof_ConstMachs,
10545 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10546 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10548 { zAix_SysmachineName, zAix_SysmachineList,
10549 apzAix_SysmachineMachs,
10550 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10551 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10553 { zAix_Syswait_2Name, zAix_Syswait_2List,
10554 apzAix_Syswait_2Machs,
10555 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10556 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10558 { zAix_VolatileName, zAix_VolatileList,
10559 apzAix_VolatileMachs,
10560 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10561 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10563 { zAlpha___AssertName, zAlpha___AssertList,
10564 apzAlpha___AssertMachs,
10565 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10566 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10568 { zAlpha_AssertName, zAlpha_AssertList,
10569 apzAlpha_AssertMachs,
10570 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10571 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10573 { zAlpha_GetoptName, zAlpha_GetoptList,
10574 apzAlpha_GetoptMachs,
10575 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10576 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10578 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10579 apzAlpha_If_SemicolonMachs,
10580 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10581 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10583 { zAlpha_ParensName, zAlpha_ParensList,
10584 apzAlpha_ParensMachs,
10585 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10586 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10588 { zAlpha_SbrkName, zAlpha_SbrkList,
10589 apzAlpha_SbrkMachs,
10590 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10591 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10593 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10594 apzAvoid_Bool_DefineMachs,
10595 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10596 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
10598 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
10599 apzAvoid_Bool_TypeMachs,
10600 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10601 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
10603 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
10604 apzAvoid_Wchar_T_TypeMachs,
10605 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10606 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
10608 { zBad_Struct_TermName, zBad_Struct_TermList,
10609 apzBad_Struct_TermMachs,
10610 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10611 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
10613 { zBadquoteName, zBadquoteList,
10615 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10616 aBadquoteTests, apzBadquotePatch, 0 },
10618 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
10619 apzBroken_Assert_StdioMachs,
10620 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10621 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
10623 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
10624 apzBroken_Assert_StdlibMachs,
10625 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10626 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
10628 { zBroken_CabsName, zBroken_CabsList,
10629 apzBroken_CabsMachs,
10630 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10631 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
10633 { zBroken_NanName, zBroken_NanList,
10634 apzBroken_NanMachs,
10635 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10636 aBroken_NanTests, apzBroken_NanPatch, 0 },
10638 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
10639 apzBsd_Stdio_Attrs_ConflictMachs,
10640 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10641 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10643 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
10644 apzCtrl_Quotes_DefMachs,
10645 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10646 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
10648 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
10649 apzCtrl_Quotes_UseMachs,
10650 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10651 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
10653 { zCxx_UnreadyName, zCxx_UnreadyList,
10654 apzCxx_UnreadyMachs,
10655 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10656 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
10658 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
10659 apzDarwin_AvailabilityinternalMachs,
10660 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10661 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
10663 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
10664 apzDarwin_9_Long_Double_Funcs_2Machs,
10665 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10666 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10668 { zDarwin_ExterncName, zDarwin_ExterncList,
10669 apzDarwin_ExterncMachs,
10670 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10671 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
10673 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
10674 apzDarwin_Gcc4_BreakageMachs,
10675 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10676 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
10678 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
10679 apzDarwin_Longjmp_NoreturnMachs,
10680 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10681 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
10683 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
10684 apzDarwin_Os_Trace_1Machs,
10685 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10686 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
10688 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
10689 apzDarwin_Os_Trace_2Machs,
10690 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10691 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
10693 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
10694 apzDarwin_Os_Trace_3Machs,
10695 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10696 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
10698 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
10699 apzDarwin_Private_ExternMachs,
10700 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10701 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
10703 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
10704 apzDarwin_Stdint_1Machs,
10705 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10706 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
10708 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
10709 apzDarwin_Stdint_2Machs,
10710 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10711 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
10713 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
10714 apzDarwin_Stdint_3Machs,
10715 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10716 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
10718 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
10719 apzDarwin_Stdint_4Machs,
10720 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10721 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
10723 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
10724 apzDarwin_Stdint_5Machs,
10725 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10726 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
10728 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
10729 apzDarwin_Stdint_6Machs,
10730 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10731 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
10733 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
10734 apzDarwin_Stdint_7Machs,
10735 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10736 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
10738 { zDec_Intern_AsmName, zDec_Intern_AsmList,
10739 apzDec_Intern_AsmMachs,
10740 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10741 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
10743 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
10744 apzDjgpp_Wchar_HMachs,
10745 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10746 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
10748 { zEcd_CursorName, zEcd_CursorList,
10749 apzEcd_CursorMachs,
10750 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10751 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
10753 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10754 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10755 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10756 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10758 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10759 apzFeraiseexcept_Nosse_InvalidMachs,
10760 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10761 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10763 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
10764 apzFreebsd_Gcc3_BreakageMachs,
10765 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10766 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
10768 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
10769 apzFreebsd_Gcc4_BreakageMachs,
10770 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10771 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
10773 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
10774 apzGlibc_C99_Inline_1Machs,
10775 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10776 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
10778 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
10779 apzGlibc_C99_Inline_1aMachs,
10780 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10781 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
10783 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
10784 apzGlibc_C99_Inline_2Machs,
10785 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10786 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
10788 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
10789 apzGlibc_C99_Inline_3Machs,
10790 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10791 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
10793 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
10794 apzGlibc_C99_Inline_4Machs,
10795 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10796 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
10798 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
10799 apzGlibc_Mutex_InitMachs,
10800 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10801 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
10803 { zGlibc_StdintName, zGlibc_StdintList,
10804 apzGlibc_StdintMachs,
10805 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10806 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
10808 { zGlibc_StrncpyName, zGlibc_StrncpyList,
10809 apzGlibc_StrncpyMachs,
10810 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10811 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
10813 { zGlibc_TgmathName, zGlibc_TgmathList,
10814 apzGlibc_TgmathMachs,
10815 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10816 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
10818 { zGnu_TypesName, zGnu_TypesList,
10820 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10821 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
10823 { zHp_InlineName, zHp_InlineList,
10825 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10826 aHp_InlineTests, apzHp_InlinePatch, 0 },
10828 { zHp_SysfileName, zHp_SysfileList,
10829 apzHp_SysfileMachs,
10830 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10831 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
10833 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
10834 apzHppa_Hpux_Fp_MacrosMachs,
10835 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10836 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10838 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10839 apzHpux10_Cpp_Pow_InlineMachs,
10840 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10841 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10843 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10844 apzHpux11_Cpp_Pow_InlineMachs,
10845 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10846 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10848 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10849 apzHpux10_Ctype_Declarations1Machs,
10850 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10851 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10853 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10854 apzHpux10_Ctype_Declarations2Machs,
10855 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10856 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10858 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10859 apzHpux10_Stdio_DeclarationsMachs,
10860 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10861 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10863 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
10864 apzHppa_Hpux11_AllocaMachs,
10865 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10866 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
10868 { zHpux11_AbsName, zHpux11_AbsList,
10869 apzHpux11_AbsMachs,
10870 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10871 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10873 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
10874 apzHpux11_Lwp_Rwlock_ValidMachs,
10875 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10876 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10878 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10879 apzHpux11_Extern_SendfileMachs,
10880 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10881 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10883 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10884 apzHpux11_Extern_SendpathMachs,
10885 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10886 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10888 { zHpux11_FabsfName, zHpux11_FabsfList,
10889 apzHpux11_FabsfMachs,
10890 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10891 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10893 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10894 apzHpux11_Pthread_ConstMachs,
10895 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10896 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10898 { zHpux11_Size_TName, zHpux11_Size_TList,
10899 apzHpux11_Size_TMachs,
10900 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10901 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10903 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10904 apzHpux11_SnprintfMachs,
10905 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10906 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
10908 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
10909 apzHpux11_VsnprintfMachs,
10910 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10911 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
10913 { zHpux_VsscanfName, zHpux_VsscanfList,
10914 apzHpux_VsscanfMachs,
10915 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10916 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
10918 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
10919 apzHpux8_Bogus_InlinesMachs,
10920 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10921 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10923 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10924 apzHpux_C99_IntptrMachs,
10925 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10926 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10928 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10929 apzHpux_C99_InttypesMachs,
10930 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10931 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10933 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10934 apzHpux_C99_Inttypes2Machs,
10935 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10936 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10938 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10939 apzHpux_Ctype_MacrosMachs,
10940 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10941 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10943 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10944 apzHpux_Extern_ErrnoMachs,
10945 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10946 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10948 { zHpux_HtonlName, zHpux_HtonlList,
10949 apzHpux_HtonlMachs,
10950 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10951 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10953 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10954 apzHpux_Imaginary_IMachs,
10955 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10956 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10958 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10959 apzHpux_Inttype_Int8_TMachs,
10960 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10961 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10963 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10964 apzHpux_Long_DoubleMachs,
10965 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10966 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10968 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10969 apzHpux_Long_Double_2Machs,
10970 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10971 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10973 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10974 apzHpux_Pthread_InitializersMachs,
10975 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10976 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10978 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10979 apzHpux_Spu_InfoMachs,
10980 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10981 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10983 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10984 apzHpux_Stdint_Least_FastMachs,
10985 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10986 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10988 { zHpux_LongjmpName, zHpux_LongjmpList,
10989 apzHpux_LongjmpMachs,
10990 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10991 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
10993 { zHpux_SystimeName, zHpux_SystimeList,
10994 apzHpux_SystimeMachs,
10995 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10996 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10998 { zHuge_Val_HexName, zHuge_Val_HexList,
10999 apzHuge_Val_HexMachs,
11000 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11001 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11003 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11004 apzHuge_Valf_HexMachs,
11005 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11006 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11008 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11009 apzHuge_Vall_HexMachs,
11010 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11011 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11013 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11014 apzInt_Abort_Free_And_ExitMachs,
11015 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11016 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11018 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11019 apzIo_Quotes_DefMachs,
11020 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11021 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11023 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11024 apzIo_Quotes_UseMachs,
11025 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11026 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11028 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11029 apzIp_Missing_SemiMachs,
11030 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11031 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11033 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11034 apzIrix_Limits_ConstMachs,
11035 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11036 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11038 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11039 apzIrix_Stdio_Va_ListMachs,
11040 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11041 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11043 { zKandr_ConcatName, zKandr_ConcatList,
11044 apzKandr_ConcatMachs,
11045 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11046 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11048 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11049 apzLinux_Ia64_UcontextMachs,
11050 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11051 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11053 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11054 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11055 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11056 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11058 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11059 apzLynxos_Missing_PutenvMachs,
11060 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11061 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11063 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11064 apzMachine_Ansi_H_Va_ListMachs,
11065 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11066 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11068 { zMachine_NameName, zMachine_NameList,
11069 apzMachine_NameMachs,
11070 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11071 aMachine_NameTests, apzMachine_NamePatch, 0 },
11073 { zMath_ExceptionName, zMath_ExceptionList,
11074 apzMath_ExceptionMachs,
11075 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11076 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11078 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11079 apzMath_Huge_Val_From_Dbl_MaxMachs,
11080 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11081 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11083 { zNested_Auth_DesName, zNested_Auth_DesList,
11084 apzNested_Auth_DesMachs,
11085 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11086 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11088 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11089 apzNetbsd_C99_Inline_1Machs,
11090 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11091 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11093 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11094 apzNetbsd_C99_Inline_2Machs,
11095 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11096 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11098 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11099 apzNetbsd_Extra_SemicolonMachs,
11100 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11101 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11103 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11104 apzNewlib_Stdint_1Machs,
11105 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11106 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11108 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11109 apzNewlib_Stdint_2Machs,
11110 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11111 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11113 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11114 apzNext_Math_PrefixMachs,
11115 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11116 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11118 { zNext_TemplateName, zNext_TemplateList,
11119 apzNext_TemplateMachs,
11120 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11121 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11123 { zNext_VolitileName, zNext_VolitileList,
11124 apzNext_VolitileMachs,
11125 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11126 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11128 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11129 apzNext_Wait_UnionMachs,
11130 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11131 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11133 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11134 apzNodeent_SyntaxMachs,
11135 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11136 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11138 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11139 apzOpenbsd_Null_DefinitionMachs,
11140 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11141 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11143 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11144 apzObstack_Lvalue_CastMachs,
11145 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11146 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11148 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11149 apzOpenbsd_Va_StartMachs,
11150 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11151 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11153 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11154 apzOsf_Namespace_AMachs,
11155 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11156 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11158 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11159 apzOsf_Namespace_CMachs,
11160 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11161 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11163 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11164 apzPthread_Incomplete_Struct_ArgumentMachs,
11165 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11166 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11168 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11169 apzRead_Ret_TypeMachs,
11170 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11171 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11173 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11174 apzRpc_Xdr_Lvalue_Cast_AMachs,
11175 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11176 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11178 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11179 apzRpc_Xdr_Lvalue_Cast_BMachs,
11180 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11181 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11183 { zRs6000_DoubleName, zRs6000_DoubleList,
11184 apzRs6000_DoubleMachs,
11185 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11186 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11188 { zRs6000_FchmodName, zRs6000_FchmodList,
11189 apzRs6000_FchmodMachs,
11190 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11191 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11193 { zRs6000_ParamName, zRs6000_ParamList,
11194 apzRs6000_ParamMachs,
11195 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11196 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11198 { zSolaris___RestrictName, zSolaris___RestrictList,
11199 apzSolaris___RestrictMachs,
11200 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11201 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11203 { zSolaris_ComplexName, zSolaris_ComplexList,
11204 apzSolaris_ComplexMachs,
11205 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11206 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11208 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11209 apzSolaris_Complex_CxxMachs,
11210 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11211 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11213 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11214 apzSolaris_Cxx_LinkageMachs,
11215 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11216 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11218 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11219 apzSolaris_Getc_Strict_StdcMachs,
11220 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11221 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11223 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11224 apzSolaris_Gets_C11Machs,
11225 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11226 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11228 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11229 apzSolaris_Gets_Cxx14Machs,
11230 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11231 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11233 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11234 apzSolaris_Int_ConstMachs,
11235 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11236 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11238 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11239 apzSolaris_Int_Limits_1Machs,
11240 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11241 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11243 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11244 apzSolaris_Int_Limits_2Machs,
11245 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11246 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11248 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11249 apzSolaris_Int_Limits_3Machs,
11250 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11251 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11253 { zSolaris_Math_1Name, zSolaris_Math_1List,
11254 apzSolaris_Math_1Machs,
11255 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11256 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11258 { zSolaris_Math_10Name, zSolaris_Math_10List,
11259 apzSolaris_Math_10Machs,
11260 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11261 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11263 { zSolaris_Math_2Name, zSolaris_Math_2List,
11264 apzSolaris_Math_2Machs,
11265 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11266 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11268 { zSolaris_Math_3Name, zSolaris_Math_3List,
11269 apzSolaris_Math_3Machs,
11270 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11271 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11273 { zSolaris_Math_4Name, zSolaris_Math_4List,
11274 apzSolaris_Math_4Machs,
11275 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11276 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11278 { zSolaris_Math_8Name, zSolaris_Math_8List,
11279 apzSolaris_Math_8Machs,
11280 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11281 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11283 { zSolaris_Math_9Name, zSolaris_Math_9List,
11284 apzSolaris_Math_9Machs,
11285 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11286 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11288 { zSolaris_Math_11Name, zSolaris_Math_11List,
11289 apzSolaris_Math_11Machs,
11290 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11291 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11293 { zSolaris_Math_12Name, zSolaris_Math_12List,
11294 apzSolaris_Math_12Machs,
11295 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11296 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11298 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11299 apzSolaris_Once_Init_1Machs,
11300 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11301 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11303 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11304 apzSolaris_Posix_Spawn_RestrictMachs,
11305 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11306 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11308 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11309 apzSolaris_Pow_Int_OverloadMachs,
11310 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11311 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11313 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11314 apzSolaris_Rwlock_Init_1Machs,
11315 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11316 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11318 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11319 apzSolaris_Std___FilbufMachs,
11320 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11321 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11323 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11324 apzSolaris_Std_Gets_Cxx14Machs,
11325 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11326 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11328 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11329 apzSolaris_Stdio_TagMachs,
11330 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11331 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11333 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11334 apzSolaris_Stdlib_NoreturnMachs,
11335 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11336 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11338 { zStatsswtchName, zStatsswtchList,
11339 apzStatsswtchMachs,
11340 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11341 aStatsswtchTests, apzStatsswtchPatch, 0 },
11343 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11344 apzStdio_Stdarg_HMachs,
11345 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11346 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11348 { zStdio_Va_ListName, zStdio_Va_ListList,
11349 apzStdio_Va_ListMachs,
11350 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11351 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11353 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11354 apzStdio_Va_List_ClientsMachs,
11355 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11356 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11358 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11359 apzStrict_Ansi_NotMachs,
11360 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11361 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11363 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11364 apzStrict_Ansi_Not_CtdMachs,
11365 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11366 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11368 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11369 apzStrict_Ansi_OnlyMachs,
11370 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11371 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11373 { zStruct_FileName, zStruct_FileList,
11374 apzStruct_FileMachs,
11375 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11376 aStruct_FileTests, apzStruct_FilePatch, 0 },
11378 { zStruct_SockaddrName, zStruct_SockaddrList,
11379 apzStruct_SockaddrMachs,
11380 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11381 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11383 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11384 apzSun_Auth_ProtoMachs,
11385 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11386 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11388 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11389 apzSun_Bogus_IfdefMachs,
11390 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11391 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11393 { zSun_CatmacroName, zSun_CatmacroList,
11394 apzSun_CatmacroMachs,
11395 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11396 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11398 { zSun_MallocName, zSun_MallocList,
11399 apzSun_MallocMachs,
11400 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11401 aSun_MallocTests, apzSun_MallocPatch, 0 },
11403 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11404 apzSun_Rusers_SemiMachs,
11405 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11406 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11408 { zSun_SignalName, zSun_SignalList,
11409 apzSun_SignalMachs,
11410 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11411 aSun_SignalTests, apzSun_SignalPatch, 0 },
11413 { zSunos_StrlenName, zSunos_StrlenList,
11414 apzSunos_StrlenMachs,
11415 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11416 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11418 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11419 apzSuse_Linux_Vt_CxxMachs,
11420 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11421 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11423 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11424 apzSvr4_Disable_OptMachs,
11425 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11426 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11428 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11429 apzSvr4_GetcwdMachs,
11430 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11431 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11433 { zSvr4_ProfilName, zSvr4_ProfilList,
11434 apzSvr4_ProfilMachs,
11435 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11436 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11438 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11439 apzSvr4_Sighandler_TypeMachs,
11440 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11441 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11443 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11444 apzSvr4_Undeclared_GetrngeMachs,
11445 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11446 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11448 { zSysv68_StringName, zSysv68_StringList,
11449 apzSysv68_StringMachs,
11450 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11451 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11453 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11454 apzSysz_Stdlib_For_SunMachs,
11455 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11456 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11458 { zThread_KeywordName, zThread_KeywordList,
11459 apzThread_KeywordMachs,
11460 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11461 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11463 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11464 apzTinfo_CplusplusMachs,
11465 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11466 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11468 { zUltrix_ConstName, zUltrix_ConstList,
11469 apzUltrix_ConstMachs,
11470 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11471 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11473 { zUltrix_Const2Name, zUltrix_Const2List,
11474 apzUltrix_Const2Machs,
11475 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11476 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11478 { zVa_I960_MacroName, zVa_I960_MacroList,
11479 apzVa_I960_MacroMachs,
11480 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11481 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11483 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11484 apzVms_Add_Missing_BracesMachs,
11485 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11486 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11488 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11489 apzVms_Decc_BuiltinMachs,
11490 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11491 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11493 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11494 apzVms_Define_Can_Use_Extern_PrefixMachs,
11495 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11496 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11498 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11499 apzVms_Disable_Decc_String_BuiltinsMachs,
11500 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11501 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11503 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11504 apzVms_Do_Not_Redeclare_HostaliasMachs,
11505 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11506 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11508 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11509 apzVms_Forward_Declare_StructMachs,
11510 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11511 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11513 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11514 apzVms_No_64bit_GetoptMachs,
11515 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11516 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11518 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11519 apzVms_Use_Fast_SetjmpMachs,
11520 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11521 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11523 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11524 apzVms_Use_Pragma_Extern_ModelMachs,
11525 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11526 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11528 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11529 apzVms_Use_Quoted_IncludeMachs,
11530 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11531 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11533 { zVoid_NullName, zVoid_NullList,
11535 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11536 aVoid_NullTests, apzVoid_NullPatch, 0 },
11538 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11539 apzVxworks_Gcc_ProblemMachs,
11540 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11541 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11543 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11544 apzVxworks_Ioctl_MacroMachs,
11545 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11546 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11548 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11549 apzVxworks_Mkdir_MacroMachs,
11550 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11551 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11553 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11554 apzVxworks_Needs_VxtypesMachs,
11555 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11556 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11558 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11559 apzVxworks_Needs_VxworksMachs,
11560 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11561 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
11563 { zVxworks_RegsName, zVxworks_RegsList,
11564 apzVxworks_RegsMachs,
11565 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11566 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
11568 { zVxworks_TimeName, zVxworks_TimeList,
11569 apzVxworks_TimeMachs,
11570 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11571 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
11573 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
11574 apzVxworks_Write_ConstMachs,
11575 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11576 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
11578 { zX11_ClassName, zX11_ClassList,
11580 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11581 aX11_ClassTests, apzX11_ClassPatch, 0 },
11583 { zX11_Class_UsageName, zX11_Class_UsageList,
11584 apzX11_Class_UsageMachs,
11585 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11586 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
11588 { zX11_NewName, zX11_NewList,
11590 X11_NEW_TEST_CT, FD_MACH_ONLY,
11591 aX11_NewTests, apzX11_NewPatch, 0 },
11593 { zX11_SprintfName, zX11_SprintfList,
11594 apzX11_SprintfMachs,
11595 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11596 aX11_SprintfTests, apzX11_SprintfPatch, 0 }