1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed August 31, 2013 at 04:29:02 PM by AutoGen 5.12
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat Aug 31 16:29:02 PDT 2013
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 228 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
24 * The Free Software Foundation, Inc.
26 * inclhack is free software: you can redistribute it and/or modify it
27 * under the terms of the GNU General Public License as published by the
28 * Free Software Foundation, either version 3 of the License, or
29 * (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful, but
32 * WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License along
37 * with this program. If not, see <http://www.gnu.org/licenses/>.
40 #define SED_PROGRAM "/usr/bin/sed"
42 static char const sed_cmd_z[] = SED_PROGRAM;
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
46 * Description of Aab_Aix_Stdio fix
48 tSCC zAab_Aix_StdioName[] =
52 * File name selection pattern
54 tSCC zAab_Aix_StdioList[] =
57 * Machine/OS name selection pattern
59 tSCC* apzAab_Aix_StdioMachs[] = {
64 * content selection pattern - do fix if pattern found
66 tSCC zAab_Aix_StdioSelect0[] =
67 "define fopen fopen64";
69 #define AAB_AIX_STDIO_TEST_CT 1
70 static tTestDesc aAab_Aix_StdioTests[] = {
71 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
74 * Fix Command Arguments for Aab_Aix_Stdio
76 static const char* apzAab_Aix_StdioPatch[] = {
80 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
81 #define __need__aix_stdio_h_fix\n\
82 #ifdef __need__aix_stdio_h_fix\n\
89 /* Alias the symbols using asm */\n\
91 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
92 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
93 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
94 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
95 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
96 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
104 * Description of Aab_Aix_Fcntl fix
106 tSCC zAab_Aix_FcntlName[] =
110 * File name selection pattern
112 tSCC zAab_Aix_FcntlList[] =
115 * Machine/OS name selection pattern
117 tSCC* apzAab_Aix_FcntlMachs[] = {
122 * content selection pattern - do fix if pattern found
124 tSCC zAab_Aix_FcntlSelect0[] =
125 "define open[ \t]open64";
127 #define AAB_AIX_FCNTL_TEST_CT 1
128 static tTestDesc aAab_Aix_FcntlTests[] = {
129 { TT_EGREP, zAab_Aix_FcntlSelect0, (regex_t*)NULL }, };
132 * Fix Command Arguments for Aab_Aix_Fcntl
134 static const char* apzAab_Aix_FcntlPatch[] = {
138 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
139 #define __need__aix_fcntl_h_fix\n\
140 #ifdef __need__aix_fcntl_h_fix\n\
144 /* Alias the symbols using asm */\n\
146 extern int open(const char *, int, ...) __asm__(\"open64\");\n\
147 extern int creat(const char *, mode_t) __asm__(\"creat64\");\n\
148 #if (_XOPEN_SOURCE >= 700)\n\
149 extern int openat(int, const char *, int, ...) __asm__(\"open64at\");\n\
156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
158 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
160 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
161 "AAB_darwin7_9_long_double_funcs";
164 * File name selection pattern
166 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
167 "architecture/ppc/math.h\0";
169 * Machine/OS name selection pattern
171 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
176 * content bypass pattern - skip fix if pattern found
178 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
181 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
182 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
183 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
186 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
188 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
189 "/* This file prototypes the long double functions available on Mac OS\n\
192 # undef __APPLE_CC__\n\
193 # define __APPLE_CC__ 1345\n\
194 # include_next <architecture/ppc/math.h>\n\
195 # undef __APPLE_CC__\n\
196 # define __APPLE_CC__ 1\n\
197 # ifndef __LIBMLDBL_COMPAT\n\
198 # ifdef __LONG_DOUBLE_128__\n\
199 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
201 # define __LIBMLDBL_COMPAT(sym)\n\
202 # endif /* __LONG_DOUBLE_128__ */\n\
203 # endif /* __LIBMLDBL_COMPAT */\n\
204 # ifdef __cplusplus\n\
207 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
208 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
209 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
210 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
211 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
212 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
213 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
214 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
215 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
216 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
217 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
218 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
219 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
220 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
221 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
222 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
223 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
224 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
225 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
226 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
227 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
228 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
229 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
230 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
231 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
232 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
233 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
234 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
235 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
236 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
237 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
238 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
239 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
240 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
241 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
242 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
243 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
244 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
245 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
246 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
247 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
248 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
249 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
250 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
251 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
252 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
253 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
254 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
255 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
256 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
257 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
258 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
259 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
260 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
261 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
262 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
263 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
264 # ifdef __cplusplus\n\
267 #endif /* __MATH__ */",
270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
272 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
274 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
275 "AAB_fd_zero_asm_posix_types_h";
278 * File name selection pattern
280 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
281 "asm/posix_types.h\0";
283 * Machine/OS name selection pattern
285 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
286 "i[34567]86-*-linux*",
290 * content bypass pattern - skip fix if pattern found
292 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
294 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
296 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
299 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
300 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
301 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
302 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
303 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
306 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
308 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
309 "/* This file fixes a bug in the __FD_ZERO macro\n\
310 for older versions of the Linux kernel. */\n\
311 #ifndef _POSIX_TYPES_H_WRAPPER\n\
312 #include <features.h>\n\
313 #include_next <asm/posix_types.h>\n\n\
314 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
316 #define __FD_ZERO(fdsetp) \\\n\
318 int __d0, __d1; \\\n\
319 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
320 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
321 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
322 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
325 #define _POSIX_TYPES_H_WRAPPER\n\
326 #endif /* _POSIX_TYPES_H_WRAPPER */",
329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
331 * Description of Aab_Fd_Zero_Gnu_Types_H fix
333 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
334 "AAB_fd_zero_gnu_types_h";
337 * File name selection pattern
339 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
342 * Machine/OS name selection pattern
344 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
345 "i[34567]86-*-linux*",
347 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
348 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
351 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
353 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
354 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
355 #ifndef _TYPES_H_WRAPPER\n\
356 #include <features.h>\n\
357 #include_next <gnu/types.h>\n\n\
358 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
360 # define __FD_ZERO(fdsetp) \\\n\
362 int __d0, __d1; \\\n\
363 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
364 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
365 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
366 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
369 #define _TYPES_H_WRAPPER\n\
370 #endif /* _TYPES_H_WRAPPER */",
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375 * Description of Aab_Fd_Zero_Selectbits_H fix
377 tSCC zAab_Fd_Zero_Selectbits_HName[] =
378 "AAB_fd_zero_selectbits_h";
381 * File name selection pattern
383 tSCC zAab_Fd_Zero_Selectbits_HList[] =
386 * Machine/OS name selection pattern
388 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
389 "i[34567]86-*-linux*",
391 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
392 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
395 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
397 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
398 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
399 #ifndef _SELECTBITS_H_WRAPPER\n\
400 #include <features.h>\n\
401 #include_next <selectbits.h>\n\n\
402 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
403 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
404 && __GLIBC_MINOR__ == 0\n\
406 #define __FD_ZERO(fdsetp) \\\\\n\
408 int __d0, __d1; \\\\\n\
409 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
410 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
411 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
412 / sizeof (__fd_mask)), \\\\\n\
413 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
414 : \"memory\"); \\\\\n\
417 #define _SELECTBITS_H_WRAPPER\n\
418 #endif /* _SELECTBITS_H_WRAPPER */",
421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
423 * Description of Aab_Solaris_Sys_Varargs_H fix
425 tSCC zAab_Solaris_Sys_Varargs_HName[] =
426 "AAB_solaris_sys_varargs_h";
429 * File name selection pattern
431 tSCC zAab_Solaris_Sys_Varargs_HList[] =
434 * Machine/OS name selection pattern
436 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
439 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
440 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
443 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
445 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
447 #include <stdarg.h>\n\
449 #include <varargs.h>\n\
453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
455 * Description of Aab_Sun_Memcpy fix
457 tSCC zAab_Sun_MemcpyName[] =
461 * File name selection pattern
463 tSCC zAab_Sun_MemcpyList[] =
466 * Machine/OS name selection pattern
468 #define apzAab_Sun_MemcpyMachs (const char**)NULL
471 * content selection pattern - do fix if pattern found
473 tSCC zAab_Sun_MemcpySelect0[] =
474 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
476 #define AAB_SUN_MEMCPY_TEST_CT 1
477 static tTestDesc aAab_Sun_MemcpyTests[] = {
478 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
481 * Fix Command Arguments for Aab_Sun_Memcpy
483 static const char* apzAab_Sun_MemcpyPatch[] = {
484 "/* This file was generated by fixincludes */\n\
485 #ifndef __memory_h__\n\
486 #define __memory_h__\n\n\
488 extern void *memccpy();\n\
489 extern void *memchr();\n\
490 extern void *memcpy();\n\
491 extern void *memset();\n\
493 extern char *memccpy();\n\
494 extern char *memchr();\n\
495 extern char *memcpy();\n\
496 extern char *memset();\n\
497 #endif /* __STDC__ */\n\n\
498 extern int memcmp();\n\n\
499 #endif /* __memory_h__ */",
502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
504 * Description of Aab_Vxworks_Assert fix
506 tSCC zAab_Vxworks_AssertName[] =
507 "AAB_vxworks_assert";
510 * File name selection pattern
512 tSCC zAab_Vxworks_AssertList[] =
515 * Machine/OS name selection pattern
517 tSCC* apzAab_Vxworks_AssertMachs[] = {
520 #define AAB_VXWORKS_ASSERT_TEST_CT 0
521 #define aAab_Vxworks_AssertTests (tTestDesc*)NULL
524 * Fix Command Arguments for Aab_Vxworks_Assert
526 static const char* apzAab_Vxworks_AssertPatch[] = {
527 "#ifndef _ASSERT_H\n\
528 #define _ASSERT_H\n\n\
532 #if defined(__STDC__) || defined(__cplusplus)\n\
533 extern void __assert (const char*);\n\
535 extern void __assert ();\n\
538 #define assert(ign) ((void)0)\n\
540 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
541 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
542 #define assert(test) ((void) \\\n\
543 ((test) ? ((void)0) : \\\n\
544 __assert(\"Assertion failed: \" ASSERT_STRINGIFY(test) \", file \" \\\n\
545 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
552 * Description of Aab_Vxworks_Regs_Vxtypes fix
554 tSCC zAab_Vxworks_Regs_VxtypesName[] =
555 "AAB_vxworks_regs_vxtypes";
558 * File name selection pattern
560 tSCC zAab_Vxworks_Regs_VxtypesList[] =
563 * Machine/OS name selection pattern
565 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
568 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
569 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
572 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
574 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
577 #include <types/vxTypesOld.h>\n\
578 #include_next <arch/../regs.h>\n\
582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
584 * Description of Aab_Vxworks_Stdint fix
586 tSCC zAab_Vxworks_StdintName[] =
587 "AAB_vxworks_stdint";
590 * File name selection pattern
592 tSCC zAab_Vxworks_StdintList[] =
595 * Machine/OS name selection pattern
597 tSCC* apzAab_Vxworks_StdintMachs[] = {
600 #define AAB_VXWORKS_STDINT_TEST_CT 0
601 #define aAab_Vxworks_StdintTests (tTestDesc*)NULL
604 * Fix Command Arguments for Aab_Vxworks_Stdint
606 static const char* apzAab_Vxworks_StdintPatch[] = {
607 "#ifndef _STDINT_H\n\
609 /* get int*_t, uint*_t */\n\
610 #include <types/vxTypes.h>\n\n\
611 /* get legacy vxworks types for compatibility */\n\
612 #include <types/vxTypesOld.h>\n\n\
613 typedef long intptr_t;\n\
614 typedef unsigned long uintptr_t;\n\n\
615 typedef int64_t intmax_t;\n\
616 typedef uint64_t uintmax_t;\n\n\
617 typedef int8_t int_least8_t;\n\
618 typedef int16_t int_least16_t;\n\
619 typedef int32_t int_least32_t;\n\
620 typedef int64_t int_least64_t;\n\n\
621 typedef uint8_t uint_least8_t;\n\
622 typedef uint16_t uint_least16_t;\n\
623 typedef uint32_t uint_least32_t;\n\
624 typedef uint64_t uint_least64_t;\n\n\
625 typedef int8_t int_fast8_t;\n\
626 typedef int int_fast16_t;\n\
627 typedef int32_t int_fast32_t;\n\
628 typedef int64_t int_fast64_t;\n\n\
629 typedef uint8_t uint_fast8_t;\n\
630 typedef unsigned int uint_fast16_t;\n\
631 typedef uint32_t uint_fast32_t;\n\
632 typedef uint64_t uint_fast64_t;\n\n\
634 #define UINT8_MAX (~(uint8_t)0)\n\
635 #define UINT8_MIN 0\n\
636 #define UINT16_MAX (~(uint16_t)0)\n\
637 #define UINT16_MIN 0\n\
638 #define UINT32_MAX (~(uint32_t)0)\n\
639 #define UINT32_MIN 0\n\
640 #define UINT64_MAX (~(uint64_t)0)\n\
641 #define UINT64_MIN 0\n\n\
642 #define UINTPTR_MAX (~(uintptr_t)0)\n\
643 #define UINTPTR_MIN 0\n\n\
644 /* Need to do int_fast16_t as well, as type\n\
645 size may be architecture dependent */\n\
646 #define UINT_FAST16_MAX (~(uint_fast16_t)0)\n\
647 #define UINT_FAST16_MAX 0\n\n\
648 #define INT8_MAX (UINT8_MAX>>1)\n\
649 #define INT8_MIN (INT8_MAX+1)\n\
650 #define INT16_MAX (UINT16_MAX>>1)\n\
651 #define INT16_MIN (INT16_MAX+1)\n\
652 #define INT32_MAX (UINT32_MAX>>1)\n\
653 #define INT32_MIN (INT32_MAX+1)\n\
654 #define INT64_MAX (UINT64_MAX>>1)\n\
655 #define INT64_MIN (INT64_MAX+1)\n\n\
656 #define INTPTR_MAX (UINTPTR_MAX>>1)\n\
657 #define INTPTR_MIN (INTPTR_MAX+1)\t\n\n\
658 #define INT_FAST16_MAX (UINT_FAST16_MAX>>1)\n\
659 #define INT_FAST16_MIN (INT_FAST16_MAX+1)\n\n\
660 /* now define equiv. constants */\n\
661 #define UINT_FAST8_MAX UINT8_MAX\n\
662 #define UINT_FAST8_MIN UINT_FAST8_MIN\n\
663 #define INT_FAST8_MAX INT8_MAX\n\
664 #define INT_FAST8_MIN INT8_MIN\n\
665 #define UINT_FAST32_MAX UINT32_MAX\n\
666 #define UINT_FAST32_MIN UINT32_MIN\n\
667 #define INT_FAST32_MAX INT32_MAX\n\
668 #define INT_FAST32_MIN INT32_MIN\n\
669 #define UINT_FAST64_MAX UINT64_MAX\n\
670 #define UINT_FAST64_MIN UINT64_MIN\n\
671 #define INT_FAST64_MAX INT64_MAX\n\
672 #define INT_FAST64_MIN INT64_MIN\n\n\
673 #define UINT_LEAST8_MAX UINT8_MAX\n\
674 #define UINT_LEAST8_MIN UINT8_MIN\n\
675 #define INT_LEAST8_MAX INT8_MAX\n\
676 #define INT_LEAST8_MIN INT8_MIN\n\
677 #define UINT_LEAST16_MAX UINT16_MAX\n\
678 #define UINT_LEAST16_MIN UINT16_MIN\n\
679 #define INT_LEAST16_MAX INT16_MAX\n\
680 #define INT_LEAST16_MIN INT16_MIN\n\
681 #define UINT_LEAST32_MAX UINT32_MAX\n\
682 #define UINT_LEAST32_MIN UINT32_MIN\n\
683 #define INT_LEAST32_MAX INT32_MAX\n\
684 #define INT_LEAST32_MIN INT32_MIN\n\
685 #define UINT_LEAST64_MAX UINT64_MAX\n\
686 #define UINT_LEAST64_MIN UINT64_MIN\n\
687 #define INT_LEAST64_MAX INT64_MAX\n\
688 #define INT_LEAST64_MIN INT64_MIN\n\n\
689 #define UINTMAX_MAX UINT64_MAX\n\
690 #define UINTMAX_MIN UINT64_MIN\n\
691 #define INTMAX_MAX INT64_MAX\n\
692 #define INTMAX_MIN INT64_MIN\n\n\
696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
698 * Description of Aab_Vxworks_Unistd fix
700 tSCC zAab_Vxworks_UnistdName[] =
701 "AAB_vxworks_unistd";
704 * File name selection pattern
706 tSCC zAab_Vxworks_UnistdList[] =
709 * Machine/OS name selection pattern
711 tSCC* apzAab_Vxworks_UnistdMachs[] = {
714 #define AAB_VXWORKS_UNISTD_TEST_CT 0
715 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
718 * Fix Command Arguments for Aab_Vxworks_Unistd
720 static const char* apzAab_Vxworks_UnistdPatch[] = {
721 "#ifndef _UNISTD_H\n\
723 #include_next <unistd.h>\n\
724 #include <ioLib.h>\n\
725 #ifndef STDIN_FILENO\n\
726 #define STDIN_FILENO 0\n\
728 #ifndef STDOUT_FILENO\n\
729 #define STDOUT_FILENO 1\n\
731 #ifndef STDERR_FILENO\n\
732 #define STDERR_FILENO 2\n\
734 #endif /* _UNISTD_H */",
737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
739 * Description of Aix_Assert fix
741 tSCC zAix_AssertName[] =
745 * File name selection pattern
747 tSCC zAix_AssertList[] =
750 * Machine/OS name selection pattern
752 tSCC* apzAix_AssertMachs[] = {
757 * content selection pattern - do fix if pattern found
759 tSCC zAix_AssertSelect0[] =
760 "#define[ \t]static_assert[ \t]_Static_assert";
762 #define AIX_ASSERT_TEST_CT 1
763 static tTestDesc aAix_AssertTests[] = {
764 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
767 * Fix Command Arguments for Aix_Assert
769 static const char* apzAix_AssertPatch[] = {
771 "#ifndef __cplusplus\n\
776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
778 * Description of Aix_Complex fix
780 tSCC zAix_ComplexName[] =
784 * File name selection pattern
786 tSCC zAix_ComplexList[] =
789 * Machine/OS name selection pattern
791 tSCC* apzAix_ComplexMachs[] = {
796 * content selection pattern - do fix if pattern found
798 tSCC zAix_ComplexSelect0[] =
799 "#define[ \t]_Complex_I[ \t]__I";
801 #define AIX_COMPLEX_TEST_CT 1
802 static tTestDesc aAix_ComplexTests[] = {
803 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
806 * Fix Command Arguments for Aix_Complex
808 static const char* apzAix_ComplexPatch[] = {
810 "#define _Complex_I (__extension__ 1.0iF)",
813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
815 * Description of Aix_Malloc fix
817 tSCC zAix_MallocName[] =
821 * File name selection pattern
823 tSCC zAix_MallocList[] =
826 * Machine/OS name selection pattern
828 tSCC* apzAix_MallocMachs[] = {
833 * content selection pattern - do fix if pattern found
835 tSCC zAix_MallocSelect0[] =
836 "#ifdef __cplusplus";
838 #define AIX_MALLOC_TEST_CT 1
839 static tTestDesc aAix_MallocTests[] = {
840 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
843 * Fix Command Arguments for Aix_Malloc
845 static const char* apzAix_MallocPatch[] = {
847 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
852 * Description of Aix_Net_If_Arp fix
854 tSCC zAix_Net_If_ArpName[] =
858 * File name selection pattern
860 tSCC zAix_Net_If_ArpList[] =
863 * Machine/OS name selection pattern
865 tSCC* apzAix_Net_If_ArpMachs[] = {
870 * content selection pattern - do fix if pattern found
872 tSCC zAix_Net_If_ArpSelect0[] =
873 "^struct fc_softc \\{";
875 #define AIX_NET_IF_ARP_TEST_CT 1
876 static tTestDesc aAix_Net_If_ArpTests[] = {
877 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
880 * Fix Command Arguments for Aix_Net_If_Arp
882 static const char* apzAix_Net_If_ArpPatch[] = {
884 "typedef struct _fc_softc {",
887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
889 * Description of Aix_Null fix
891 tSCC zAix_NullName[] =
895 * File name selection pattern
897 tSCC zAix_NullList[] =
898 "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
900 * Machine/OS name selection pattern
902 tSCC* apzAix_NullMachs[] = {
907 * content selection pattern - do fix if pattern found
909 tSCC zAix_NullSelect0[] =
910 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
913 * content bypass pattern - skip fix if pattern found
915 tSCC zAix_NullBypass0[] =
918 #define AIX_NULL_TEST_CT 2
919 static tTestDesc aAix_NullTests[] = {
920 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
921 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
924 * Fix Command Arguments for Aix_Null
926 static const char* apzAix_NullPatch[] = {
929 #ifdef __cplusplus\n\
931 #define NULL __null\n\
932 #else /* ! __GNUG__ */\n\
934 #endif /* __GNUG__ */\n\
935 #else /* ! __cplusplus */\n\
936 #define NULL ((void *)0)\n\
937 #endif /* __cplusplus */\n\
941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
943 * Description of Aix_Once_Init_1 fix
945 tSCC zAix_Once_Init_1Name[] =
949 * File name selection pattern
951 tSCC zAix_Once_Init_1List[] =
954 * Machine/OS name selection pattern
956 tSCC* apzAix_Once_Init_1Machs[] = {
961 * content selection pattern - do fix if pattern found
963 tSCC zAix_Once_Init_1Select0[] =
964 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
967 #define AIX_ONCE_INIT_1_TEST_CT 1
968 static tTestDesc aAix_Once_Init_1Tests[] = {
969 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
972 * Fix Command Arguments for Aix_Once_Init_1
974 static const char* apzAix_Once_Init_1Patch[] = {
976 "#define PTHREAD_ONCE_INIT \\\n\
980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
982 * Description of Aix_Once_Init_2 fix
984 tSCC zAix_Once_Init_2Name[] =
988 * File name selection pattern
990 tSCC zAix_Once_Init_2List[] =
993 * Machine/OS name selection pattern
995 tSCC* apzAix_Once_Init_2Machs[] = {
1000 * content selection pattern - do fix if pattern found
1002 tSCC zAix_Once_Init_2Select0[] =
1006 #define AIX_ONCE_INIT_2_TEST_CT 1
1007 static tTestDesc aAix_Once_Init_2Tests[] = {
1008 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1011 * Fix Command Arguments for Aix_Once_Init_2
1013 static const char* apzAix_Once_Init_2Patch[] = {
1019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1021 * Description of Aix_Mutex_Initializer_1 fix
1023 tSCC zAix_Mutex_Initializer_1Name[] =
1024 "aix_mutex_initializer_1";
1027 * File name selection pattern
1029 tSCC zAix_Mutex_Initializer_1List[] =
1032 * Machine/OS name selection pattern
1034 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1036 (const char*)NULL };
1039 * content selection pattern - do fix if pattern found
1041 tSCC zAix_Mutex_Initializer_1Select0[] =
1042 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1045 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1046 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1047 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1050 * Fix Command Arguments for Aix_Mutex_Initializer_1
1052 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1054 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1060 * Description of Aix_Cond_Initializer_1 fix
1062 tSCC zAix_Cond_Initializer_1Name[] =
1063 "aix_cond_initializer_1";
1066 * File name selection pattern
1068 tSCC zAix_Cond_Initializer_1List[] =
1071 * Machine/OS name selection pattern
1073 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1075 (const char*)NULL };
1078 * content selection pattern - do fix if pattern found
1080 tSCC zAix_Cond_Initializer_1Select0[] =
1081 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1084 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1085 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1086 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1089 * Fix Command Arguments for Aix_Cond_Initializer_1
1091 static const char* apzAix_Cond_Initializer_1Patch[] = {
1093 "#define PTHREAD_COND_INITIALIZER \\\n\
1097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1099 * Description of Aix_Rwlock_Initializer_1 fix
1101 tSCC zAix_Rwlock_Initializer_1Name[] =
1102 "aix_rwlock_initializer_1";
1105 * File name selection pattern
1107 tSCC zAix_Rwlock_Initializer_1List[] =
1110 * Machine/OS name selection pattern
1112 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1114 (const char*)NULL };
1117 * content selection pattern - do fix if pattern found
1119 tSCC zAix_Rwlock_Initializer_1Select0[] =
1120 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1123 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1124 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1125 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1128 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1130 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1132 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1138 * Description of Aix_Pthread fix
1140 tSCC zAix_PthreadName[] =
1144 * File name selection pattern
1146 tSCC zAix_PthreadList[] =
1149 * Machine/OS name selection pattern
1151 #define apzAix_PthreadMachs (const char**)NULL
1154 * content selection pattern - do fix if pattern found
1156 tSCC zAix_PthreadSelect0[] =
1157 "(#define [A-Za-z_0-9]+)(\\\\\n\
1161 #define AIX_PTHREAD_TEST_CT 1
1162 static tTestDesc aAix_PthreadTests[] = {
1163 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1166 * Fix Command Arguments for Aix_Pthread
1168 static const char* apzAix_PthreadPatch[] = {
1173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1175 * Description of Aix_Stdint_1 fix
1177 tSCC zAix_Stdint_1Name[] =
1181 * File name selection pattern
1183 tSCC zAix_Stdint_1List[] =
1184 "stdint-aix.h\0stdint.h\0";
1186 * Machine/OS name selection pattern
1188 tSCC* apzAix_Stdint_1Machs[] = {
1190 (const char*)NULL };
1193 * content selection pattern - do fix if pattern found
1195 tSCC zAix_Stdint_1Select0[] =
1196 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1197 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1199 #define AIX_STDINT_1_TEST_CT 1
1200 static tTestDesc aAix_Stdint_1Tests[] = {
1201 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1204 * Fix Command Arguments for Aix_Stdint_1
1206 static const char* apzAix_Stdint_1Patch[] = {
1208 "#define UINT8_MAX\t(255)\n\
1209 #define UINT16_MAX\t(65535)",
1212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1214 * Description of Aix_Stdint_2 fix
1216 tSCC zAix_Stdint_2Name[] =
1220 * File name selection pattern
1222 tSCC zAix_Stdint_2List[] =
1223 "stdint-aix.h\0stdint.h\0";
1225 * Machine/OS name selection pattern
1227 tSCC* apzAix_Stdint_2Machs[] = {
1229 (const char*)NULL };
1232 * content selection pattern - do fix if pattern found
1234 tSCC zAix_Stdint_2Select0[] =
1235 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1236 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1237 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1239 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1240 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1241 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1243 #define AIX_STDINT_2_TEST_CT 1
1244 static tTestDesc aAix_Stdint_2Tests[] = {
1245 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1248 * Fix Command Arguments for Aix_Stdint_2
1250 static const char* apzAix_Stdint_2Patch[] = {
1252 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1253 #define INTPTR_MAX\t9223372036854775807L\n\
1254 #define UINTPTR_MAX\t18446744073709551615UL\n\
1256 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1257 #define INTPTR_MAX\t2147483647L\n\
1258 #define UINTPTR_MAX\t4294967295UL",
1261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1263 * Description of Aix_Stdint_3 fix
1265 tSCC zAix_Stdint_3Name[] =
1269 * File name selection pattern
1271 tSCC zAix_Stdint_3List[] =
1272 "stdint-aix.h\0stdint.h\0";
1274 * Machine/OS name selection pattern
1276 tSCC* apzAix_Stdint_3Machs[] = {
1278 (const char*)NULL };
1281 * content selection pattern - do fix if pattern found
1283 tSCC zAix_Stdint_3Select0[] =
1284 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1285 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1287 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1288 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1290 #define AIX_STDINT_3_TEST_CT 1
1291 static tTestDesc aAix_Stdint_3Tests[] = {
1292 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1295 * Fix Command Arguments for Aix_Stdint_3
1297 static const char* apzAix_Stdint_3Patch[] = {
1299 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1300 #define PTRDIFF_MAX\t9223372036854775807L\n\
1302 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1303 #define PTRDIFF_MAX\t2147483647L",
1306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1308 * Description of Aix_Stdint_4 fix
1310 tSCC zAix_Stdint_4Name[] =
1314 * File name selection pattern
1316 tSCC zAix_Stdint_4List[] =
1317 "stdint-aix.h\0stdint.h\0";
1319 * Machine/OS name selection pattern
1321 tSCC* apzAix_Stdint_4Machs[] = {
1323 (const char*)NULL };
1326 * content selection pattern - do fix if pattern found
1328 tSCC zAix_Stdint_4Select0[] =
1329 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1331 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1333 #define AIX_STDINT_4_TEST_CT 1
1334 static tTestDesc aAix_Stdint_4Tests[] = {
1335 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1338 * Fix Command Arguments for Aix_Stdint_4
1340 static const char* apzAix_Stdint_4Patch[] = {
1342 "#define SIZE_MAX\t18446744073709551615UL\n\
1344 #define SIZE_MAX\t4294967295UL",
1347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1349 * Description of Aix_Stdint_5 fix
1351 tSCC zAix_Stdint_5Name[] =
1355 * File name selection pattern
1357 tSCC zAix_Stdint_5List[] =
1358 "stdint-aix.h\0stdint.h\0";
1360 * Machine/OS name selection pattern
1362 tSCC* apzAix_Stdint_5Machs[] = {
1364 (const char*)NULL };
1367 * content selection pattern - do fix if pattern found
1369 tSCC zAix_Stdint_5Select0[] =
1370 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1371 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1373 #define AIX_STDINT_5_TEST_CT 1
1374 static tTestDesc aAix_Stdint_5Tests[] = {
1375 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1378 * Fix Command Arguments for Aix_Stdint_5
1380 static const char* apzAix_Stdint_5Patch[] = {
1382 "#define UINT8_C(c)\tc\n\
1383 #define UINT16_C(c)\tc",
1386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1388 * Description of Aix_Sysmachine fix
1390 tSCC zAix_SysmachineName[] =
1394 * File name selection pattern
1396 tSCC zAix_SysmachineList[] =
1399 * Machine/OS name selection pattern
1401 #define apzAix_SysmachineMachs (const char**)NULL
1404 * content selection pattern - do fix if pattern found
1406 tSCC zAix_SysmachineSelect0[] =
1409 #define AIX_SYSMACHINE_TEST_CT 1
1410 static tTestDesc aAix_SysmachineTests[] = {
1411 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1414 * Fix Command Arguments for Aix_Sysmachine
1416 static const char* apzAix_SysmachinePatch[] = {
1421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1423 * Description of Aix_Syswait_2 fix
1425 tSCC zAix_Syswait_2Name[] =
1429 * File name selection pattern
1431 tSCC zAix_Syswait_2List[] =
1434 * Machine/OS name selection pattern
1436 #define apzAix_Syswait_2Machs (const char**)NULL
1439 * content selection pattern - do fix if pattern found
1441 tSCC zAix_Syswait_2Select0[] =
1442 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1444 #define AIX_SYSWAIT_2_TEST_CT 1
1445 static tTestDesc aAix_Syswait_2Tests[] = {
1446 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1449 * Fix Command Arguments for Aix_Syswait_2
1451 static const char* apzAix_Syswait_2Patch[] = {
1456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1458 * Description of Aix_Volatile fix
1460 tSCC zAix_VolatileName[] =
1464 * File name selection pattern
1466 tSCC zAix_VolatileList[] =
1469 * Machine/OS name selection pattern
1471 #define apzAix_VolatileMachs (const char**)NULL
1474 * content selection pattern - do fix if pattern found
1476 tSCC zAix_VolatileSelect0[] =
1477 "typedef volatile int sig_atomic_t";
1479 #define AIX_VOLATILE_TEST_CT 1
1480 static tTestDesc aAix_VolatileTests[] = {
1481 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1484 * Fix Command Arguments for Aix_Volatile
1486 static const char* apzAix_VolatilePatch[] = {
1488 "typedef int sig_atomic_t",
1491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1493 * Description of Alpha___Assert fix
1495 tSCC zAlpha___AssertName[] =
1499 * File name selection pattern
1501 tSCC zAlpha___AssertList[] =
1504 * Machine/OS name selection pattern
1506 #define apzAlpha___AssertMachs (const char**)NULL
1509 * content selection pattern - do fix if pattern found
1511 tSCC zAlpha___AssertSelect0[] =
1512 "__assert\\(char \\*, char \\*, int\\)";
1514 #define ALPHA___ASSERT_TEST_CT 1
1515 static tTestDesc aAlpha___AssertTests[] = {
1516 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1519 * Fix Command Arguments for Alpha___Assert
1521 static const char* apzAlpha___AssertPatch[] = {
1523 "__assert(const char *, const char *, int)",
1526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1528 * Description of Alpha_Assert fix
1530 tSCC zAlpha_AssertName[] =
1534 * File name selection pattern
1536 tSCC zAlpha_AssertList[] =
1539 * Machine/OS name selection pattern
1541 #define apzAlpha_AssertMachs (const char**)NULL
1544 * content selection pattern - do fix if pattern found
1546 tSCC zAlpha_AssertSelect0[] =
1547 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1549 #define ALPHA_ASSERT_TEST_CT 1
1550 static tTestDesc aAlpha_AssertTests[] = {
1551 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1554 * Fix Command Arguments for Alpha_Assert
1556 static const char* apzAlpha_AssertPatch[] = {
1561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1563 * Description of Alpha_Getopt fix
1565 tSCC zAlpha_GetoptName[] =
1569 * File name selection pattern
1571 tSCC zAlpha_GetoptList[] =
1572 "stdio.h\0stdlib.h\0";
1574 * Machine/OS name selection pattern
1576 #define apzAlpha_GetoptMachs (const char**)NULL
1579 * content selection pattern - do fix if pattern found
1581 tSCC zAlpha_GetoptSelect0[] =
1582 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1584 #define ALPHA_GETOPT_TEST_CT 1
1585 static tTestDesc aAlpha_GetoptTests[] = {
1586 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1589 * Fix Command Arguments for Alpha_Getopt
1591 static const char* apzAlpha_GetoptPatch[] = {
1593 "getopt(int, char *const[], const char *)",
1596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1598 * Description of Alpha_If_Semicolon fix
1600 tSCC zAlpha_If_SemicolonName[] =
1601 "alpha_if_semicolon";
1604 * File name selection pattern
1606 tSCC zAlpha_If_SemicolonList[] =
1609 * Machine/OS name selection pattern
1611 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1614 * content selection pattern - do fix if pattern found
1616 tSCC zAlpha_If_SemicolonSelect0[] =
1617 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1619 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1620 static tTestDesc aAlpha_If_SemicolonTests[] = {
1621 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1624 * Fix Command Arguments for Alpha_If_Semicolon
1626 static const char* apzAlpha_If_SemicolonPatch[] = {
1628 "struct sockaddr vmif_paddr;\t/*",
1631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1633 * Description of Alpha_Parens fix
1635 tSCC zAlpha_ParensName[] =
1639 * File name selection pattern
1641 tSCC zAlpha_ParensList[] =
1644 * Machine/OS name selection pattern
1646 #define apzAlpha_ParensMachs (const char**)NULL
1649 * content selection pattern - do fix if pattern found
1651 tSCC zAlpha_ParensSelect0[] =
1652 "#ifndef\\(__mips64\\)";
1654 #define ALPHA_PARENS_TEST_CT 1
1655 static tTestDesc aAlpha_ParensTests[] = {
1656 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1659 * Fix Command Arguments for Alpha_Parens
1661 static const char* apzAlpha_ParensPatch[] = {
1666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1668 * Description of Alpha_Sbrk fix
1670 tSCC zAlpha_SbrkName[] =
1674 * File name selection pattern
1676 tSCC zAlpha_SbrkList[] =
1679 * Machine/OS name selection pattern
1681 #define apzAlpha_SbrkMachs (const char**)NULL
1684 * content selection pattern - do fix if pattern found
1686 tSCC zAlpha_SbrkSelect0[] =
1687 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1689 #define ALPHA_SBRK_TEST_CT 1
1690 static tTestDesc aAlpha_SbrkTests[] = {
1691 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1694 * Fix Command Arguments for Alpha_Sbrk
1696 static const char* apzAlpha_SbrkPatch[] = {
1701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1703 * Description of Avoid_Bool_Define fix
1705 tSCC zAvoid_Bool_DefineName[] =
1706 "avoid_bool_define";
1709 * File name selection pattern
1711 tSCC zAvoid_Bool_DefineList[] =
1712 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1714 * Machine/OS name selection pattern
1716 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1719 * content selection pattern - do fix if pattern found
1721 tSCC zAvoid_Bool_DefineSelect0[] =
1722 "#[ \t]*define[ \t]+bool[ \t]";
1725 * content bypass pattern - skip fix if pattern found
1727 tSCC zAvoid_Bool_DefineBypass0[] =
1730 #define AVOID_BOOL_DEFINE_TEST_CT 2
1731 static tTestDesc aAvoid_Bool_DefineTests[] = {
1732 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1733 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1736 * Fix Command Arguments for Avoid_Bool_Define
1738 static const char* apzAvoid_Bool_DefinePatch[] = {
1740 "#ifndef __cplusplus\n\
1743 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1748 * Description of Avoid_Bool_Type fix
1750 tSCC zAvoid_Bool_TypeName[] =
1754 * File name selection pattern
1756 tSCC zAvoid_Bool_TypeList[] =
1757 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1759 * Machine/OS name selection pattern
1761 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1764 * content selection pattern - do fix if pattern found
1766 tSCC zAvoid_Bool_TypeSelect0[] =
1767 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1770 * content bypass pattern - skip fix if pattern found
1772 tSCC zAvoid_Bool_TypeBypass0[] =
1775 #define AVOID_BOOL_TYPE_TEST_CT 2
1776 static tTestDesc aAvoid_Bool_TypeTests[] = {
1777 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1778 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1781 * Fix Command Arguments for Avoid_Bool_Type
1783 static const char* apzAvoid_Bool_TypePatch[] = {
1785 "#ifndef __cplusplus\n\
1790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1792 * Description of Avoid_Wchar_T_Type fix
1794 tSCC zAvoid_Wchar_T_TypeName[] =
1795 "avoid_wchar_t_type";
1798 * File name selection pattern
1800 #define zAvoid_Wchar_T_TypeList (char*)NULL
1802 * Machine/OS name selection pattern
1804 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1807 * content selection pattern - do fix if pattern found
1809 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1810 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1813 * content bypass pattern - skip fix if pattern found
1815 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1817 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1819 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1820 "XFree86: xc/lib/X11/Xlib\\.h";
1822 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1823 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1824 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1825 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1826 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1827 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1830 * Fix Command Arguments for Avoid_Wchar_T_Type
1832 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1834 "#ifndef __cplusplus\n\
1839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1841 * Description of Bad_Struct_Term fix
1843 tSCC zBad_Struct_TermName[] =
1847 * File name selection pattern
1849 tSCC zBad_Struct_TermList[] =
1852 * Machine/OS name selection pattern
1854 #define apzBad_Struct_TermMachs (const char**)NULL
1857 * content selection pattern - do fix if pattern found
1859 tSCC zBad_Struct_TermSelect0[] =
1860 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1862 #define BAD_STRUCT_TERM_TEST_CT 1
1863 static tTestDesc aBad_Struct_TermTests[] = {
1864 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1867 * Fix Command Arguments for Bad_Struct_Term
1869 static const char* apzBad_Struct_TermPatch[] = {
1874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1876 * Description of Badquote fix
1878 tSCC zBadquoteName[] =
1882 * File name selection pattern
1884 tSCC zBadquoteList[] =
1885 "sundev/vuid_event.h\0";
1887 * Machine/OS name selection pattern
1889 #define apzBadquoteMachs (const char**)NULL
1892 * content selection pattern - do fix if pattern found
1894 tSCC zBadquoteSelect0[] =
1897 #define BADQUOTE_TEST_CT 1
1898 static tTestDesc aBadquoteTests[] = {
1899 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1902 * Fix Command Arguments for Badquote
1904 static const char* apzBadquotePatch[] = {
1909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1911 * Description of Broken_Assert_Stdio fix
1913 tSCC zBroken_Assert_StdioName[] =
1914 "broken_assert_stdio";
1917 * File name selection pattern
1919 tSCC zBroken_Assert_StdioList[] =
1922 * Machine/OS name selection pattern
1924 #define apzBroken_Assert_StdioMachs (const char**)NULL
1927 * content selection pattern - do fix if pattern found
1929 tSCC zBroken_Assert_StdioSelect0[] =
1933 * content bypass pattern - skip fix if pattern found
1935 tSCC zBroken_Assert_StdioBypass0[] =
1936 "include.*stdio\\.h";
1938 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1939 static tTestDesc aBroken_Assert_StdioTests[] = {
1940 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1941 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1944 * Fix Command Arguments for Broken_Assert_Stdio
1946 static const char* apzBroken_Assert_StdioPatch[] = {
1948 "#include <stdio.h>\n",
1951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1953 * Description of Broken_Assert_Stdlib fix
1955 tSCC zBroken_Assert_StdlibName[] =
1956 "broken_assert_stdlib";
1959 * File name selection pattern
1961 tSCC zBroken_Assert_StdlibList[] =
1964 * Machine/OS name selection pattern
1966 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1969 * content selection pattern - do fix if pattern found
1971 tSCC zBroken_Assert_StdlibSelect0[] =
1972 "exit *\\(|abort *\\(";
1975 * content bypass pattern - skip fix if pattern found
1977 tSCC zBroken_Assert_StdlibBypass0[] =
1978 "include.*stdlib\\.h";
1980 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1981 static tTestDesc aBroken_Assert_StdlibTests[] = {
1982 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1983 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1986 * Fix Command Arguments for Broken_Assert_Stdlib
1988 static const char* apzBroken_Assert_StdlibPatch[] = {
1990 "#ifdef __cplusplus\n\
1991 #include <stdlib.h>\n\
1995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1997 * Description of Broken_Cabs fix
1999 tSCC zBroken_CabsName[] =
2003 * File name selection pattern
2005 tSCC zBroken_CabsList[] =
2006 "math.h\0architecture/*/math.h\0";
2008 * Machine/OS name selection pattern
2010 #define apzBroken_CabsMachs (const char**)NULL
2013 * content selection pattern - do fix if pattern found
2015 tSCC zBroken_CabsSelect0[] =
2016 "^extern[ \t]+double[ \t]+cabs";
2018 #define BROKEN_CABS_TEST_CT 1
2019 static tTestDesc aBroken_CabsTests[] = {
2020 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2023 * Fix Command Arguments for Broken_Cabs
2025 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2026 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2027 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2032 * Description of Broken_Nan fix
2034 tSCC zBroken_NanName[] =
2038 * File name selection pattern
2040 tSCC zBroken_NanList[] =
2041 "architecture/ppc/math.h\0architecture/*/math.h\0";
2043 * Machine/OS name selection pattern
2045 #define apzBroken_NanMachs (const char**)NULL
2048 * content selection pattern - do fix if pattern found
2050 tSCC zBroken_NanSelect0[] =
2051 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2054 * content bypass pattern - skip fix if pattern found
2056 tSCC zBroken_NanBypass0[] =
2059 #define BROKEN_NAN_TEST_CT 2
2060 static tTestDesc aBroken_NanTests[] = {
2061 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2062 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2065 * Fix Command Arguments for Broken_Nan
2067 static const char* apzBroken_NanPatch[] = {
2072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2074 * Description of Bsd_Stdio_Attrs_Conflict fix
2076 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2077 "bsd_stdio_attrs_conflict";
2080 * File name selection pattern
2082 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2085 * Machine/OS name selection pattern
2087 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2090 (const char*)NULL };
2093 * content selection pattern - do fix if pattern found
2095 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2096 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2098 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2099 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2100 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2103 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2105 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2107 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2108 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2109 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2114 * Description of Ctrl_Quotes_Def fix
2116 tSCC zCtrl_Quotes_DefName[] =
2120 * File name selection pattern
2122 #define zCtrl_Quotes_DefList (char*)NULL
2124 * Machine/OS name selection pattern
2126 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2129 * content selection pattern - do fix if pattern found
2131 tSCC zCtrl_Quotes_DefSelect0[] =
2132 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2134 #define CTRL_QUOTES_DEF_TEST_CT 1
2135 static tTestDesc aCtrl_Quotes_DefTests[] = {
2136 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2139 * Fix Command Arguments for Ctrl_Quotes_Def
2141 static const char* apzCtrl_Quotes_DefPatch[] = {
2146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2148 * Description of Ctrl_Quotes_Use fix
2150 tSCC zCtrl_Quotes_UseName[] =
2154 * File name selection pattern
2156 #define zCtrl_Quotes_UseList (char*)NULL
2158 * Machine/OS name selection pattern
2160 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2163 * content selection pattern - do fix if pattern found
2165 tSCC zCtrl_Quotes_UseSelect0[] =
2166 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2168 #define CTRL_QUOTES_USE_TEST_CT 1
2169 static tTestDesc aCtrl_Quotes_UseTests[] = {
2170 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2173 * Fix Command Arguments for Ctrl_Quotes_Use
2175 static const char* apzCtrl_Quotes_UsePatch[] = {
2180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2182 * Description of Cxx_Unready fix
2184 tSCC zCxx_UnreadyName[] =
2188 * File name selection pattern
2190 tSCC zCxx_UnreadyList[] =
2191 "sys/mman.h\0rpc/types.h\0";
2193 * Machine/OS name selection pattern
2195 #define apzCxx_UnreadyMachs (const char**)NULL
2198 * content selection pattern - do fix if pattern found
2200 tSCC zCxx_UnreadySelect0[] =
2204 * content bypass pattern - skip fix if pattern found
2206 tSCC zCxx_UnreadyBypass0[] =
2207 "\"C\"|__BEGIN_DECLS";
2209 #define CXX_UNREADY_TEST_CT 2
2210 static tTestDesc aCxx_UnreadyTests[] = {
2211 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2212 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2215 * Fix Command Arguments for Cxx_Unready
2217 static const char* apzCxx_UnreadyPatch[] = {
2219 "#ifdef __cplusplus\n\
2222 "#ifdef __cplusplus\n\
2227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2229 * Description of Darwin_9_Long_Double_Funcs_2 fix
2231 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2232 "darwin_9_long_double_funcs_2";
2235 * File name selection pattern
2237 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2240 * Machine/OS name selection pattern
2242 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2244 (const char*)NULL };
2247 * content selection pattern - do fix if pattern found
2249 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2250 "#include[ \\t]+\\\"";
2252 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2253 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2254 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2257 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2259 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2262 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2267 * Description of Darwin_Externc fix
2269 tSCC zDarwin_ExterncName[] =
2273 * File name selection pattern
2275 tSCC zDarwin_ExterncList[] =
2276 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2278 * Machine/OS name selection pattern
2280 tSCC* apzDarwin_ExterncMachs[] = {
2282 (const char*)NULL };
2285 * content bypass pattern - skip fix if pattern found
2287 tSCC zDarwin_ExterncBypass0[] =
2289 tSCC zDarwin_ExterncBypass1[] =
2292 #define DARWIN_EXTERNC_TEST_CT 2
2293 static tTestDesc aDarwin_ExterncTests[] = {
2294 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2295 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2298 * Fix Command Arguments for Darwin_Externc
2300 static const char* apzDarwin_ExterncPatch[] = {
2302 "#ifdef __cplusplus\n\
2305 "#ifdef __cplusplus\n\
2310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2312 * Description of Darwin_Gcc4_Breakage fix
2314 tSCC zDarwin_Gcc4_BreakageName[] =
2315 "darwin_gcc4_breakage";
2318 * File name selection pattern
2320 tSCC zDarwin_Gcc4_BreakageList[] =
2321 "AvailabilityMacros.h\0";
2323 * Machine/OS name selection pattern
2325 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2327 (const char*)NULL };
2330 * content selection pattern - do fix if pattern found
2332 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2333 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2335 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2336 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2337 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2340 * Fix Command Arguments for Darwin_Gcc4_Breakage
2342 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2344 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2349 * Description of Darwin_Private_Extern fix
2351 tSCC zDarwin_Private_ExternName[] =
2352 "darwin_private_extern";
2355 * File name selection pattern
2357 tSCC zDarwin_Private_ExternList[] =
2360 * Machine/OS name selection pattern
2362 tSCC* apzDarwin_Private_ExternMachs[] = {
2364 (const char*)NULL };
2367 * content selection pattern - do fix if pattern found
2369 tSCC zDarwin_Private_ExternSelect0[] =
2370 "__private_extern__ [a-z_]+ _dyld_";
2372 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2373 static tTestDesc aDarwin_Private_ExternTests[] = {
2374 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2377 * Fix Command Arguments for Darwin_Private_Extern
2379 static const char* apzDarwin_Private_ExternPatch[] = {
2382 "__private_extern__",
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Darwin_Stdint_1 fix
2389 tSCC zDarwin_Stdint_1Name[] =
2393 * File name selection pattern
2395 tSCC zDarwin_Stdint_1List[] =
2396 "stdint-darwin.h\0stdint.h\0";
2398 * Machine/OS name selection pattern
2400 tSCC* apzDarwin_Stdint_1Machs[] = {
2402 (const char*)NULL };
2405 * content selection pattern - do fix if pattern found
2407 tSCC zDarwin_Stdint_1Select0[] =
2408 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2409 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2411 #define DARWIN_STDINT_1_TEST_CT 1
2412 static tTestDesc aDarwin_Stdint_1Tests[] = {
2413 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2416 * Fix Command Arguments for Darwin_Stdint_1
2418 static const char* apzDarwin_Stdint_1Patch[] = {
2420 "#define UINT8_C(v)\tv\n\
2421 #define UINT16_C(v)\tv",
2424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2426 * Description of Darwin_Stdint_2 fix
2428 tSCC zDarwin_Stdint_2Name[] =
2432 * File name selection pattern
2434 tSCC zDarwin_Stdint_2List[] =
2435 "stdint-darwin.h\0stdint.h\0";
2437 * Machine/OS name selection pattern
2439 tSCC* apzDarwin_Stdint_2Machs[] = {
2441 (const char*)NULL };
2444 * content selection pattern - do fix if pattern found
2446 tSCC zDarwin_Stdint_2Select0[] =
2447 "#if __WORDSIZE == 64\n\
2448 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2449 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2451 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2452 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2455 #define DARWIN_STDINT_2_TEST_CT 1
2456 static tTestDesc aDarwin_Stdint_2Tests[] = {
2457 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2460 * Fix Command Arguments for Darwin_Stdint_2
2462 static const char* apzDarwin_Stdint_2Patch[] = {
2464 "#if __WORDSIZE == 64\n\
2465 #define INTPTR_MAX 9223372036854775807L\n\
2466 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2468 #define INTPTR_MAX 2147483647L\n\
2469 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2475 * Description of Darwin_Stdint_3 fix
2477 tSCC zDarwin_Stdint_3Name[] =
2481 * File name selection pattern
2483 tSCC zDarwin_Stdint_3List[] =
2484 "stdint-darwin.h\0stdint.h\0";
2486 * Machine/OS name selection pattern
2488 tSCC* apzDarwin_Stdint_3Machs[] = {
2490 (const char*)NULL };
2493 * content selection pattern - do fix if pattern found
2495 tSCC zDarwin_Stdint_3Select0[] =
2496 "#if __WORDSIZE == 64\n\
2497 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2499 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2502 #define DARWIN_STDINT_3_TEST_CT 1
2503 static tTestDesc aDarwin_Stdint_3Tests[] = {
2504 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2507 * Fix Command Arguments for Darwin_Stdint_3
2509 static const char* apzDarwin_Stdint_3Patch[] = {
2511 "#if __WORDSIZE == 64\n\
2512 #define UINTPTR_MAX 18446744073709551615UL\n\
2514 #define UINTPTR_MAX 4294967295UL\n\
2518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2520 * Description of Darwin_Stdint_4 fix
2522 tSCC zDarwin_Stdint_4Name[] =
2526 * File name selection pattern
2528 tSCC zDarwin_Stdint_4List[] =
2529 "stdint-darwin.h\0stdint.h\0";
2531 * Machine/OS name selection pattern
2533 tSCC* apzDarwin_Stdint_4Machs[] = {
2535 (const char*)NULL };
2538 * content selection pattern - do fix if pattern found
2540 tSCC zDarwin_Stdint_4Select0[] =
2541 "#if __WORDSIZE == 64\n\
2542 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2544 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2547 #define DARWIN_STDINT_4_TEST_CT 1
2548 static tTestDesc aDarwin_Stdint_4Tests[] = {
2549 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2552 * Fix Command Arguments for Darwin_Stdint_4
2554 static const char* apzDarwin_Stdint_4Patch[] = {
2556 "#if __WORDSIZE == 64\n\
2557 #define SIZE_MAX 18446744073709551615UL\n\
2559 #define SIZE_MAX 4294967295UL\n\
2563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2565 * Description of Darwin_Stdint_5 fix
2567 tSCC zDarwin_Stdint_5Name[] =
2571 * File name selection pattern
2573 tSCC zDarwin_Stdint_5List[] =
2574 "stdint-darwin.h\0stdint.h\0";
2576 * Machine/OS name selection pattern
2578 tSCC* apzDarwin_Stdint_5Machs[] = {
2580 (const char*)NULL };
2583 * content selection pattern - do fix if pattern found
2585 tSCC zDarwin_Stdint_5Select0[] =
2586 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2587 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2588 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2590 #define DARWIN_STDINT_5_TEST_CT 1
2591 static tTestDesc aDarwin_Stdint_5Tests[] = {
2592 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2595 * Fix Command Arguments for Darwin_Stdint_5
2597 static const char* apzDarwin_Stdint_5Patch[] = {
2599 "#if __WORDSIZE == 64\n\
2600 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2601 #define INTMAX_MAX 9223372036854775807L\n\
2602 #define UINTMAX_MAX 18446744073709551615UL\n\
2604 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2605 #define INTMAX_MAX 9223372036854775807LL\n\
2606 #define UINTMAX_MAX 18446744073709551615ULL\n\
2610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2612 * Description of Darwin_Stdint_6 fix
2614 tSCC zDarwin_Stdint_6Name[] =
2618 * File name selection pattern
2620 tSCC zDarwin_Stdint_6List[] =
2621 "stdint-darwin.h\0stdint.h\0";
2623 * Machine/OS name selection pattern
2625 tSCC* apzDarwin_Stdint_6Machs[] = {
2627 (const char*)NULL };
2630 * content selection pattern - do fix if pattern found
2632 tSCC zDarwin_Stdint_6Select0[] =
2633 "#if __WORDSIZE == 64\n\
2634 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2635 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2637 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2638 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2641 #define DARWIN_STDINT_6_TEST_CT 1
2642 static tTestDesc aDarwin_Stdint_6Tests[] = {
2643 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2646 * Fix Command Arguments for Darwin_Stdint_6
2648 static const char* apzDarwin_Stdint_6Patch[] = {
2650 "#if __WORDSIZE == 64\n\
2651 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2652 #define PTRDIFF_MAX 9223372036854775807L\n\
2654 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2655 #define PTRDIFF_MAX 2147483647\n\
2659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2661 * Description of Darwin_Stdint_7 fix
2663 tSCC zDarwin_Stdint_7Name[] =
2667 * File name selection pattern
2669 tSCC zDarwin_Stdint_7List[] =
2670 "stdint-darwin.h\0stdint.h\0";
2672 * Machine/OS name selection pattern
2674 tSCC* apzDarwin_Stdint_7Machs[] = {
2676 (const char*)NULL };
2679 * content selection pattern - do fix if pattern found
2681 tSCC zDarwin_Stdint_7Select0[] =
2682 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2683 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2685 #define DARWIN_STDINT_7_TEST_CT 1
2686 static tTestDesc aDarwin_Stdint_7Tests[] = {
2687 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2690 * Fix Command Arguments for Darwin_Stdint_7
2692 static const char* apzDarwin_Stdint_7Patch[] = {
2694 "#if __WORDSIZE == 64\n\
2695 #define INTMAX_C(v) (v ## L)\n\
2696 #define UINTMAX_C(v) (v ## UL)\n\
2698 #define INTMAX_C(v) (v ## LL)\n\
2699 #define UINTMAX_C(v) (v ## ULL)\n\
2703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2705 * Description of Dec_Intern_Asm fix
2707 tSCC zDec_Intern_AsmName[] =
2711 * File name selection pattern
2713 tSCC zDec_Intern_AsmList[] =
2716 * Machine/OS name selection pattern
2718 #define apzDec_Intern_AsmMachs (const char**)NULL
2719 #define DEC_INTERN_ASM_TEST_CT 0
2720 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2723 * Fix Command Arguments for Dec_Intern_Asm
2725 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2726 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2728 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2734 * Description of Djgpp_Wchar_H fix
2736 tSCC zDjgpp_Wchar_HName[] =
2740 * File name selection pattern
2742 #define zDjgpp_Wchar_HList (char*)NULL
2744 * Machine/OS name selection pattern
2746 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2749 * content selection pattern - do fix if pattern found
2751 tSCC zDjgpp_Wchar_HSelect0[] =
2755 * content bypass pattern - skip fix if pattern found
2757 tSCC zDjgpp_Wchar_HBypass0[] =
2760 #define DJGPP_WCHAR_H_TEST_CT 2
2761 static tTestDesc aDjgpp_Wchar_HTests[] = {
2762 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2763 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2766 * Fix Command Arguments for Djgpp_Wchar_H
2768 static const char* apzDjgpp_Wchar_HPatch[] = {
2771 #include <sys/djtypes.h>",
2772 "#include <stddef.h>",
2775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2777 * Description of Ecd_Cursor fix
2779 tSCC zEcd_CursorName[] =
2783 * File name selection pattern
2785 tSCC zEcd_CursorList[] =
2786 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2788 * Machine/OS name selection pattern
2790 #define apzEcd_CursorMachs (const char**)NULL
2793 * content selection pattern - do fix if pattern found
2795 tSCC zEcd_CursorSelect0[] =
2798 #define ECD_CURSOR_TEST_CT 1
2799 static tTestDesc aEcd_CursorTests[] = {
2800 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2803 * Fix Command Arguments for Ecd_Cursor
2805 static const char* apzEcd_CursorPatch[] = {
2810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2812 * Description of Freebsd_Gcc3_Breakage fix
2814 tSCC zFreebsd_Gcc3_BreakageName[] =
2815 "freebsd_gcc3_breakage";
2818 * File name selection pattern
2820 tSCC zFreebsd_Gcc3_BreakageList[] =
2823 * Machine/OS name selection pattern
2825 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2827 (const char*)NULL };
2830 * content selection pattern - do fix if pattern found
2832 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2833 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2836 * content bypass pattern - skip fix if pattern found
2838 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2839 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2841 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2842 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2843 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2844 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2847 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2849 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2851 "%0 || __GNUC__ >= 3",
2854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2856 * Description of Freebsd_Gcc4_Breakage fix
2858 tSCC zFreebsd_Gcc4_BreakageName[] =
2859 "freebsd_gcc4_breakage";
2862 * File name selection pattern
2864 tSCC zFreebsd_Gcc4_BreakageList[] =
2867 * Machine/OS name selection pattern
2869 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2871 (const char*)NULL };
2874 * content selection pattern - do fix if pattern found
2876 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2877 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2879 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2880 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2881 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2884 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2886 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2888 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of Glibc_C99_Inline_1 fix
2895 tSCC zGlibc_C99_Inline_1Name[] =
2896 "glibc_c99_inline_1";
2899 * File name selection pattern
2901 tSCC zGlibc_C99_Inline_1List[] =
2902 "features.h\0*/features.h\0";
2904 * Machine/OS name selection pattern
2906 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2909 * content selection pattern - do fix if pattern found
2911 tSCC zGlibc_C99_Inline_1Select0[] =
2912 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2914 #define GLIBC_C99_INLINE_1_TEST_CT 1
2915 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2916 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2919 * Fix Command Arguments for Glibc_C99_Inline_1
2921 static const char* apzGlibc_C99_Inline_1Patch[] = {
2923 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2928 * Description of Glibc_C99_Inline_1a fix
2930 tSCC zGlibc_C99_Inline_1aName[] =
2931 "glibc_c99_inline_1a";
2934 * File name selection pattern
2936 tSCC zGlibc_C99_Inline_1aList[] =
2937 "features.h\0*/features.h\0";
2939 * Machine/OS name selection pattern
2941 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2944 * content selection pattern - do fix if pattern found
2946 tSCC zGlibc_C99_Inline_1aSelect0[] =
2947 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2948 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2950 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2951 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2952 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2955 * Fix Command Arguments for Glibc_C99_Inline_1a
2957 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2959 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2965 * Description of Glibc_C99_Inline_2 fix
2967 tSCC zGlibc_C99_Inline_2Name[] =
2968 "glibc_c99_inline_2";
2971 * File name selection pattern
2973 tSCC zGlibc_C99_Inline_2List[] =
2974 "sys/stat.h\0*/sys/stat.h\0";
2976 * Machine/OS name selection pattern
2978 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2981 * content selection pattern - do fix if pattern found
2983 tSCC zGlibc_C99_Inline_2Select0[] =
2984 "extern __inline__ int";
2986 #define GLIBC_C99_INLINE_2_TEST_CT 1
2987 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2988 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2991 * Fix Command Arguments for Glibc_C99_Inline_2
2993 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2994 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2997 __inline__ int \\1/",
2998 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3001 __inline__ int \\1/",
3002 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3005 __inline__ int \\1/",
3006 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3009 __inline__ int __REDIRECT\\1 (\\2/",
3010 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3013 __inline__ int __REDIRECT\\1 (\\2/",
3014 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3022 * Description of Glibc_C99_Inline_3 fix
3024 tSCC zGlibc_C99_Inline_3Name[] =
3025 "glibc_c99_inline_3";
3028 * File name selection pattern
3030 tSCC zGlibc_C99_Inline_3List[] =
3031 "bits/string2.h\0*/bits/string2.h\0";
3033 * Machine/OS name selection pattern
3035 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3038 * content selection pattern - do fix if pattern found
3040 tSCC zGlibc_C99_Inline_3Select0[] =
3044 * content bypass pattern - skip fix if pattern found
3046 tSCC zGlibc_C99_Inline_3Bypass0[] =
3047 "__extern_inline|__GNU_STDC_INLINE__";
3049 #define GLIBC_C99_INLINE_3_TEST_CT 2
3050 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3051 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3052 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3055 * Fix Command Arguments for Glibc_C99_Inline_3
3057 static const char* apzGlibc_C99_Inline_3Patch[] = {
3059 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3060 "^# ifdef __cplusplus$",
3063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3065 * Description of Glibc_C99_Inline_4 fix
3067 tSCC zGlibc_C99_Inline_4Name[] =
3068 "glibc_c99_inline_4";
3071 * File name selection pattern
3073 tSCC zGlibc_C99_Inline_4List[] =
3074 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
3076 * Machine/OS name selection pattern
3078 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3081 * content selection pattern - do fix if pattern found
3083 tSCC zGlibc_C99_Inline_4Select0[] =
3084 "(^| )extern __inline";
3087 * content bypass pattern - skip fix if pattern found
3089 tSCC zGlibc_C99_Inline_4Bypass0[] =
3090 "__extern_inline|__gnu_inline__";
3092 #define GLIBC_C99_INLINE_4_TEST_CT 2
3093 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3094 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3095 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3098 * Fix Command Arguments for Glibc_C99_Inline_4
3100 static const char* apzGlibc_C99_Inline_4Patch[] = {
3102 "%0 __attribute__ ((__gnu_inline__))",
3105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3107 * Description of Glibc_Mutex_Init fix
3109 tSCC zGlibc_Mutex_InitName[] =
3113 * File name selection pattern
3115 tSCC zGlibc_Mutex_InitList[] =
3118 * Machine/OS name selection pattern
3120 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3123 * content selection pattern - do fix if pattern found
3125 tSCC zGlibc_Mutex_InitSelect0[] =
3126 "\\{ *\\{ *0, *\\} *\\}";
3128 #define GLIBC_MUTEX_INIT_TEST_CT 1
3129 static tTestDesc aGlibc_Mutex_InitTests[] = {
3130 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3133 * Fix Command Arguments for Glibc_Mutex_Init
3135 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3136 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3138 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3140 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3141 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3142 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3143 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3144 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3145 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3146 "-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\
3148 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3151 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3153 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3154 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3159 * Description of Glibc_Stdint fix
3161 tSCC zGlibc_StdintName[] =
3165 * File name selection pattern
3167 tSCC zGlibc_StdintList[] =
3170 * Machine/OS name selection pattern
3172 #define apzGlibc_StdintMachs (const char**)NULL
3175 * content selection pattern - do fix if pattern found
3177 tSCC zGlibc_StdintSelect0[] =
3180 #define GLIBC_STDINT_TEST_CT 1
3181 static tTestDesc aGlibc_StdintTests[] = {
3182 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3185 * Fix Command Arguments for Glibc_Stdint
3187 static const char* apzGlibc_StdintPatch[] = {
3189 "# define UINT8_C(c)\tc\n\
3190 # define UINT16_C(c)\tc",
3191 "# define UINT8_C\\(c\\)\tc ## U\n\
3192 # define UINT16_C\\(c\\)\tc ## U",
3195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3197 * Description of Glibc_Strncpy fix
3199 tSCC zGlibc_StrncpyName[] =
3203 * File name selection pattern
3205 tSCC zGlibc_StrncpyList[] =
3208 * Machine/OS name selection pattern
3210 #define apzGlibc_StrncpyMachs (const char**)NULL
3213 * content bypass pattern - skip fix if pattern found
3215 tSCC zGlibc_StrncpyBypass0[] =
3216 "__builtin_strncpy";
3218 #define GLIBC_STRNCPY_TEST_CT 1
3219 static tTestDesc aGlibc_StrncpyTests[] = {
3220 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3223 * Fix Command Arguments for Glibc_Strncpy
3225 static const char* apzGlibc_StrncpyPatch[] = {
3227 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3228 "# define strncpy([^\n\
3234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3236 * Description of Glibc_Tgmath fix
3238 tSCC zGlibc_TgmathName[] =
3242 * File name selection pattern
3244 tSCC zGlibc_TgmathList[] =
3247 * Machine/OS name selection pattern
3249 #define apzGlibc_TgmathMachs (const char**)NULL
3252 * content selection pattern - do fix if pattern found
3254 tSCC zGlibc_TgmathSelect0[] =
3255 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3258 * content bypass pattern - skip fix if pattern found
3260 tSCC zGlibc_TgmathBypass0[] =
3261 "__floating_type\\(type\\) \\\\\n\
3262 .*__builtin_classify_type";
3264 #define GLIBC_TGMATH_TEST_CT 2
3265 static tTestDesc aGlibc_TgmathTests[] = {
3266 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3267 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3270 * Fix Command Arguments for Glibc_Tgmath
3272 static const char* apzGlibc_TgmathPatch[] = {
3274 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3279 * Description of Gnu_Types fix
3281 tSCC zGnu_TypesName[] =
3285 * File name selection pattern
3287 tSCC zGnu_TypesList[] =
3288 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3290 * Machine/OS name selection pattern
3292 tSCC* apzGnu_TypesMachs[] = {
3293 "*-*-solaris2.1[0-9]*",
3294 (const char*)NULL };
3297 * content selection pattern - do fix if pattern found
3299 tSCC zGnu_TypesSelect0[] =
3300 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3303 * content bypass pattern - skip fix if pattern found
3305 tSCC zGnu_TypesBypass0[] =
3306 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3308 #define GNU_TYPES_TEST_CT 2
3309 static tTestDesc aGnu_TypesTests[] = {
3310 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3311 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3314 * Fix Command Arguments for Gnu_Types
3316 static const char* apzGnu_TypesPatch[] = {
3320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3322 * Description of Hp_Inline fix
3324 tSCC zHp_InlineName[] =
3328 * File name selection pattern
3330 tSCC zHp_InlineList[] =
3331 "sys/spinlock.h\0machine/machparam.h\0";
3333 * Machine/OS name selection pattern
3335 #define apzHp_InlineMachs (const char**)NULL
3338 * content selection pattern - do fix if pattern found
3340 tSCC zHp_InlineSelect0[] =
3341 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3343 #define HP_INLINE_TEST_CT 1
3344 static tTestDesc aHp_InlineTests[] = {
3345 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3348 * Fix Command Arguments for Hp_Inline
3350 static const char* apzHp_InlinePatch[] = {
3353 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3358 * Description of Hp_Sysfile fix
3360 tSCC zHp_SysfileName[] =
3364 * File name selection pattern
3366 tSCC zHp_SysfileList[] =
3369 * Machine/OS name selection pattern
3371 #define apzHp_SysfileMachs (const char**)NULL
3374 * content selection pattern - do fix if pattern found
3376 tSCC zHp_SysfileSelect0[] =
3379 #define HP_SYSFILE_TEST_CT 1
3380 static tTestDesc aHp_SysfileTests[] = {
3381 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3384 * Fix Command Arguments for Hp_Sysfile
3386 static const char* apzHp_SysfilePatch[] = {
3388 "(struct file *, ...)",
3392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3394 * Description of Hppa_Hpux_Fp_Macros fix
3396 tSCC zHppa_Hpux_Fp_MacrosName[] =
3397 "hppa_hpux_fp_macros";
3400 * File name selection pattern
3402 tSCC zHppa_Hpux_Fp_MacrosList[] =
3405 * Machine/OS name selection pattern
3407 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3409 (const char*)NULL };
3412 * content selection pattern - do fix if pattern found
3414 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3415 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3416 #[ \t]*define[ \t]*FP_ZERO.*\n\
3417 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3418 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3419 #[ \t]*define[ \t]*FP_NAN.*\n";
3421 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3422 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3423 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3426 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3428 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3430 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3431 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3432 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3434 #ifdef _INCLUDE_HPUX_SOURCE\n",
3437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3439 * Description of Hpux10_Cpp_Pow_Inline fix
3441 tSCC zHpux10_Cpp_Pow_InlineName[] =
3442 "hpux10_cpp_pow_inline";
3445 * File name selection pattern
3447 tSCC zHpux10_Cpp_Pow_InlineList[] =
3448 "fixinc-test-limits.h\0math.h\0";
3450 * Machine/OS name selection pattern
3452 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3455 * content selection pattern - do fix if pattern found
3457 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3458 "^# +ifdef +__cplusplus\n\
3460 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3461 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3463 +extern +\"C\" +\\{\n\
3467 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3468 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3469 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3472 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3474 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3481 * Description of Hpux11_Cpp_Pow_Inline fix
3483 tSCC zHpux11_Cpp_Pow_InlineName[] =
3484 "hpux11_cpp_pow_inline";
3487 * File name selection pattern
3489 tSCC zHpux11_Cpp_Pow_InlineList[] =
3492 * Machine/OS name selection pattern
3494 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3497 * content selection pattern - do fix if pattern found
3499 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3500 " +inline double pow\\(double d,int expon\\) \\{\n\
3501 +return pow\\(d, \\(double\\)expon\\);\n\
3504 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3505 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3506 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3509 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3511 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3518 * Description of Hpux10_Ctype_Declarations1 fix
3520 tSCC zHpux10_Ctype_Declarations1Name[] =
3521 "hpux10_ctype_declarations1";
3524 * File name selection pattern
3526 tSCC zHpux10_Ctype_Declarations1List[] =
3529 * Machine/OS name selection pattern
3531 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3534 * content selection pattern - do fix if pattern found
3536 tSCC zHpux10_Ctype_Declarations1Select0[] =
3537 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3540 * content bypass pattern - skip fix if pattern found
3542 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3543 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3545 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3546 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3547 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3548 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3551 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3553 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3555 "#ifdef _PROTOTYPES\n\
3556 extern int __tolower(int);\n\
3557 extern int __toupper(int);\n\
3558 #else /* NOT _PROTOTYPES */\n\
3559 extern int __tolower();\n\
3560 extern int __toupper();\n\
3561 #endif /* _PROTOTYPES */\n\n\
3565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3567 * Description of Hpux10_Ctype_Declarations2 fix
3569 tSCC zHpux10_Ctype_Declarations2Name[] =
3570 "hpux10_ctype_declarations2";
3573 * File name selection pattern
3575 tSCC zHpux10_Ctype_Declarations2List[] =
3578 * Machine/OS name selection pattern
3580 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3583 * content selection pattern - do fix if pattern found
3585 tSCC zHpux10_Ctype_Declarations2Select0[] =
3586 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3589 * content bypass pattern - skip fix if pattern found
3591 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3592 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3594 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3595 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3596 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3597 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3600 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3602 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3605 #ifdef _PROTOTYPES\n\
3606 extern int _isalnum(int);\n\
3607 extern int _isalpha(int);\n\
3608 extern int _iscntrl(int);\n\
3609 extern int _isdigit(int);\n\
3610 extern int _isgraph(int);\n\
3611 extern int _islower(int);\n\
3612 extern int _isprint(int);\n\
3613 extern int _ispunct(int);\n\
3614 extern int _isspace(int);\n\
3615 extern int _isupper(int);\n\
3616 extern int _isxdigit(int);\n\
3617 # else /* not _PROTOTYPES */\n\
3618 extern int _isalnum();\n\
3619 extern int _isalpha();\n\
3620 extern int _iscntrl();\n\
3621 extern int _isdigit();\n\
3622 extern int _isgraph();\n\
3623 extern int _islower();\n\
3624 extern int _isprint();\n\
3625 extern int _ispunct();\n\
3626 extern int _isspace();\n\
3627 extern int _isupper();\n\
3628 extern int _isxdigit();\n\
3629 #endif /* _PROTOTYPES */\n",
3632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3634 * Description of Hpux10_Stdio_Declarations fix
3636 tSCC zHpux10_Stdio_DeclarationsName[] =
3637 "hpux10_stdio_declarations";
3640 * File name selection pattern
3642 tSCC zHpux10_Stdio_DeclarationsList[] =
3645 * Machine/OS name selection pattern
3647 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3650 * content selection pattern - do fix if pattern found
3652 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3653 "^#[ \t]*define _iob[ \t]*__iob";
3656 * content bypass pattern - skip fix if pattern found
3658 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3659 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3661 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3662 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3663 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3664 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3667 * Fix Command Arguments for Hpux10_Stdio_Declarations
3669 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3672 # if defined(__STDC__) || defined(__cplusplus)\n\
3673 extern int snprintf(char *, size_t, const char *, ...);\n\
3674 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3675 # else /* not __STDC__) || __cplusplus */\n\
3676 extern int snprintf();\n\
3677 extern int vsnprintf();\n\
3678 # endif /* __STDC__) || __cplusplus */\n",
3681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3683 * Description of Hpux11_Abs fix
3685 tSCC zHpux11_AbsName[] =
3689 * File name selection pattern
3691 tSCC zHpux11_AbsList[] =
3694 * Machine/OS name selection pattern
3696 tSCC* apzHpux11_AbsMachs[] = {
3698 (const char*)NULL };
3701 * content selection pattern - do fix if pattern found
3703 tSCC zHpux11_AbsSelect0[] =
3704 "ifndef _MATH_INCLUDED";
3706 #define HPUX11_ABS_TEST_CT 1
3707 static tTestDesc aHpux11_AbsTests[] = {
3708 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3711 * Fix Command Arguments for Hpux11_Abs
3713 static const char* apzHpux11_AbsPatch[] = {
3715 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3720 * Description of Hpux11_Fabsf fix
3722 tSCC zHpux11_FabsfName[] =
3726 * File name selection pattern
3728 tSCC zHpux11_FabsfList[] =
3731 * Machine/OS name selection pattern
3733 #define apzHpux11_FabsfMachs (const char**)NULL
3736 * content selection pattern - do fix if pattern found
3738 tSCC zHpux11_FabsfSelect0[] =
3739 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3742 * content bypass pattern - skip fix if pattern found
3744 tSCC zHpux11_FabsfBypass0[] =
3747 #define HPUX11_FABSF_TEST_CT 2
3748 static tTestDesc aHpux11_FabsfTests[] = {
3749 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3750 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3753 * Fix Command Arguments for Hpux11_Fabsf
3755 static const char* apzHpux11_FabsfPatch[] = {
3757 "#ifndef __cplusplus\n\
3762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3764 * Description of Hpux11_Pthread_Const fix
3766 tSCC zHpux11_Pthread_ConstName[] =
3767 "hpux11_pthread_const";
3770 * File name selection pattern
3772 tSCC zHpux11_Pthread_ConstList[] =
3775 * Machine/OS name selection pattern
3777 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3778 "*-hp-hpux11.[0-3]*",
3779 (const char*)NULL };
3782 * content selection pattern - do fix if pattern found
3784 tSCC zHpux11_Pthread_ConstSelect0[] =
3785 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3787 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3788 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3789 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3792 * Fix Command Arguments for Hpux11_Pthread_Const
3794 static const char* apzHpux11_Pthread_ConstPatch[] = {
3796 "#define __POINTER_SET\t\t((void *) 1L)",
3799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3801 * Description of Hpux11_Size_T fix
3803 tSCC zHpux11_Size_TName[] =
3807 * File name selection pattern
3809 #define zHpux11_Size_TList (char*)NULL
3811 * Machine/OS name selection pattern
3813 tSCC* apzHpux11_Size_TMachs[] = {
3815 (const char*)NULL };
3818 * content selection pattern - do fix if pattern found
3820 tSCC zHpux11_Size_TSelect0[] =
3823 #define HPUX11_SIZE_T_TEST_CT 1
3824 static tTestDesc aHpux11_Size_TTests[] = {
3825 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3828 * Fix Command Arguments for Hpux11_Size_T
3830 static const char* apzHpux11_Size_TPatch[] = {
3835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3837 * Description of Hpux11_Snprintf fix
3839 tSCC zHpux11_SnprintfName[] =
3843 * File name selection pattern
3845 tSCC zHpux11_SnprintfList[] =
3848 * Machine/OS name selection pattern
3850 #define apzHpux11_SnprintfMachs (const char**)NULL
3853 * content selection pattern - do fix if pattern found
3855 tSCC zHpux11_SnprintfSelect0[] =
3856 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3858 #define HPUX11_SNPRINTF_TEST_CT 1
3859 static tTestDesc aHpux11_SnprintfTests[] = {
3860 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3863 * Fix Command Arguments for Hpux11_Snprintf
3865 static const char* apzHpux11_SnprintfPatch[] = {
3870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3872 * Description of Hpux11_Vsnprintf fix
3874 tSCC zHpux11_VsnprintfName[] =
3878 * File name selection pattern
3880 tSCC zHpux11_VsnprintfList[] =
3883 * Machine/OS name selection pattern
3885 #define apzHpux11_VsnprintfMachs (const char**)NULL
3888 * content selection pattern - do fix if pattern found
3890 tSCC zHpux11_VsnprintfSelect0[] =
3891 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3893 #define HPUX11_VSNPRINTF_TEST_CT 1
3894 static tTestDesc aHpux11_VsnprintfTests[] = {
3895 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3898 * Fix Command Arguments for Hpux11_Vsnprintf
3900 static const char* apzHpux11_VsnprintfPatch[] = {
3905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3907 * Description of Hpux8_Bogus_Inlines fix
3909 tSCC zHpux8_Bogus_InlinesName[] =
3910 "hpux8_bogus_inlines";
3913 * File name selection pattern
3915 tSCC zHpux8_Bogus_InlinesList[] =
3918 * Machine/OS name selection pattern
3920 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3923 * content selection pattern - do fix if pattern found
3925 tSCC zHpux8_Bogus_InlinesSelect0[] =
3929 * content bypass pattern - skip fix if pattern found
3931 tSCC zHpux8_Bogus_InlinesBypass0[] =
3934 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3935 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3936 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3937 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3940 * Fix Command Arguments for Hpux8_Bogus_Inlines
3942 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3943 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3944 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3945 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3946 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3951 * Description of Hpux_Ctype_Macros fix
3953 tSCC zHpux_Ctype_MacrosName[] =
3954 "hpux_ctype_macros";
3957 * File name selection pattern
3959 tSCC zHpux_Ctype_MacrosList[] =
3962 * Machine/OS name selection pattern
3964 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3967 * content selection pattern - do fix if pattern found
3969 tSCC zHpux_Ctype_MacrosSelect0[] =
3970 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3972 #define HPUX_CTYPE_MACROS_TEST_CT 1
3973 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3974 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3977 * Fix Command Arguments for Hpux_Ctype_Macros
3979 static const char* apzHpux_Ctype_MacrosPatch[] = {
3984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3986 * Description of Hpux_Htonl fix
3988 tSCC zHpux_HtonlName[] =
3992 * File name selection pattern
3994 tSCC zHpux_HtonlList[] =
3997 * Machine/OS name selection pattern
3999 #define apzHpux_HtonlMachs (const char**)NULL
4002 * content selection pattern - do fix if pattern found
4004 tSCC zHpux_HtonlSelect0[] =
4005 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4007 \\* Macros for number representation conversion\\.\n\
4011 #define HPUX_HTONL_TEST_CT 1
4012 static tTestDesc aHpux_HtonlTests[] = {
4013 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
4016 * Fix Command Arguments for Hpux_Htonl
4018 static const char* apzHpux_HtonlPatch[] = {
4024 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4026 * Description of Hpux_Long_Double fix
4028 tSCC zHpux_Long_DoubleName[] =
4032 * File name selection pattern
4034 tSCC zHpux_Long_DoubleList[] =
4037 * Machine/OS name selection pattern
4039 tSCC* apzHpux_Long_DoubleMachs[] = {
4041 "*-*-hpux11.[012]*",
4042 (const char*)NULL };
4045 * content selection pattern - do fix if pattern found
4047 tSCC zHpux_Long_DoubleSelect0[] =
4048 "extern[ \t]long_double[ \t]strtold";
4051 * content bypass pattern - skip fix if pattern found
4053 tSCC zHpux_Long_DoubleBypass0[] =
4056 #define HPUX_LONG_DOUBLE_TEST_CT 2
4057 static tTestDesc aHpux_Long_DoubleTests[] = {
4058 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4059 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4062 * Fix Command Arguments for Hpux_Long_Double
4064 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4065 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4066 "-e", "s/long_double/long double/g",
4069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4071 * Description of Hpux_Long_Double_2 fix
4073 tSCC zHpux_Long_Double_2Name[] =
4074 "hpux_long_double_2";
4077 * File name selection pattern
4079 tSCC zHpux_Long_Double_2List[] =
4082 * Machine/OS name selection pattern
4084 tSCC* apzHpux_Long_Double_2Machs[] = {
4085 "hppa*-*-hpux11.3*",
4086 (const char*)NULL };
4089 * content selection pattern - do fix if pattern found
4091 tSCC zHpux_Long_Double_2Select0[] =
4092 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4094 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
4095 static tTestDesc aHpux_Long_Double_2Tests[] = {
4096 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4099 * Fix Command Arguments for Hpux_Long_Double_2
4101 static const char* apzHpux_Long_Double_2Patch[] = {
4103 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4106 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4108 * Description of Hpux_Systime fix
4110 tSCC zHpux_SystimeName[] =
4114 * File name selection pattern
4116 tSCC zHpux_SystimeList[] =
4119 * Machine/OS name selection pattern
4121 #define apzHpux_SystimeMachs (const char**)NULL
4124 * content selection pattern - do fix if pattern found
4126 tSCC zHpux_SystimeSelect0[] =
4127 "^extern struct sigevent;";
4129 #define HPUX_SYSTIME_TEST_CT 1
4130 static tTestDesc aHpux_SystimeTests[] = {
4131 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
4134 * Fix Command Arguments for Hpux_Systime
4136 static const char* apzHpux_SystimePatch[] = {
4141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4143 * Description of Hpux_Spu_Info fix
4145 tSCC zHpux_Spu_InfoName[] =
4149 * File name selection pattern
4151 tSCC zHpux_Spu_InfoList[] =
4152 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
4154 * Machine/OS name selection pattern
4156 tSCC* apzHpux_Spu_InfoMachs[] = {
4158 (const char*)NULL };
4161 * content selection pattern - do fix if pattern found
4163 tSCC zHpux_Spu_InfoSelect0[] =
4164 "^.*extern.*spu_info.*";
4166 #define HPUX_SPU_INFO_TEST_CT 1
4167 static tTestDesc aHpux_Spu_InfoTests[] = {
4168 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
4171 * Fix Command Arguments for Hpux_Spu_Info
4173 static const char* apzHpux_Spu_InfoPatch[] = {
4180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4182 * Description of Hpux11_Extern_Sendfile fix
4184 tSCC zHpux11_Extern_SendfileName[] =
4185 "hpux11_extern_sendfile";
4188 * File name selection pattern
4190 tSCC zHpux11_Extern_SendfileList[] =
4193 * Machine/OS name selection pattern
4195 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4196 "*-hp-hpux11.[12]*",
4197 (const char*)NULL };
4200 * content selection pattern - do fix if pattern found
4202 tSCC zHpux11_Extern_SendfileSelect0[] =
4203 "^[ \t]*extern sbsize_t sendfile.*\n\
4206 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4207 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4208 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4211 * Fix Command Arguments for Hpux11_Extern_Sendfile
4213 static const char* apzHpux11_Extern_SendfilePatch[] = {
4215 "#ifndef _APP32_64BIT_OFF_T\n\
4219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4221 * Description of Hpux11_Extern_Sendpath fix
4223 tSCC zHpux11_Extern_SendpathName[] =
4224 "hpux11_extern_sendpath";
4227 * File name selection pattern
4229 tSCC zHpux11_Extern_SendpathList[] =
4232 * Machine/OS name selection pattern
4234 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4235 "*-hp-hpux11.[12]*",
4236 (const char*)NULL };
4239 * content selection pattern - do fix if pattern found
4241 tSCC zHpux11_Extern_SendpathSelect0[] =
4242 "^[ \t]*extern sbsize_t sendpath.*\n\
4245 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4246 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4247 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4250 * Fix Command Arguments for Hpux11_Extern_Sendpath
4252 static const char* apzHpux11_Extern_SendpathPatch[] = {
4254 "#ifndef _APP32_64BIT_OFF_T\n\
4258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4260 * Description of Hpux_Extern_Errno fix
4262 tSCC zHpux_Extern_ErrnoName[] =
4263 "hpux_extern_errno";
4266 * File name selection pattern
4268 tSCC zHpux_Extern_ErrnoList[] =
4271 * Machine/OS name selection pattern
4273 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4275 "*-hp-hpux11.[0-2]*",
4276 (const char*)NULL };
4279 * content selection pattern - do fix if pattern found
4281 tSCC zHpux_Extern_ErrnoSelect0[] =
4282 "^[ \t]*extern int errno;$";
4284 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4285 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4286 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4289 * Fix Command Arguments for Hpux_Extern_Errno
4291 static const char* apzHpux_Extern_ErrnoPatch[] = {
4293 "#ifdef __cplusplus\n\
4297 #ifdef __cplusplus\n\
4302 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4304 * Description of Hpux_Pthread_Initializers fix
4306 tSCC zHpux_Pthread_InitializersName[] =
4307 "hpux_pthread_initializers";
4310 * File name selection pattern
4312 tSCC zHpux_Pthread_InitializersList[] =
4315 * Machine/OS name selection pattern
4317 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4318 "*-hp-hpux11.[0-3]*",
4319 (const char*)NULL };
4320 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
4321 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
4324 * Fix Command Arguments for Hpux_Pthread_Initializers
4326 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4327 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4328 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4329 "-e", "/^[ \t]*0$/d",
4330 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4331 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4332 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4333 "-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\\\\@",
4334 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4335 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4336 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4337 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4338 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4339 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4344 * Description of Hpux_C99_Intptr fix
4346 tSCC zHpux_C99_IntptrName[] =
4350 * File name selection pattern
4352 tSCC zHpux_C99_IntptrList[] =
4353 "stdint-hpux11.h\0stdint.h\0";
4355 * Machine/OS name selection pattern
4357 tSCC* apzHpux_C99_IntptrMachs[] = {
4359 (const char*)NULL };
4360 #define HPUX_C99_INTPTR_TEST_CT 0
4361 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4364 * Fix Command Arguments for Hpux_C99_Intptr
4366 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4367 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4368 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4369 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4370 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4371 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4372 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4377 * Description of Hpux_C99_Inttypes fix
4379 tSCC zHpux_C99_InttypesName[] =
4380 "hpux_c99_inttypes";
4383 * File name selection pattern
4385 tSCC zHpux_C99_InttypesList[] =
4386 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4388 * Machine/OS name selection pattern
4390 tSCC* apzHpux_C99_InttypesMachs[] = {
4391 "*-hp-hpux11.[23]*",
4392 (const char*)NULL };
4393 #define HPUX_C99_INTTYPES_TEST_CT 0
4394 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4397 * Fix Command Arguments for Hpux_C99_Inttypes
4399 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4400 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4401 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4402 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4403 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4408 * Description of Hpux_C99_Inttypes2 fix
4410 tSCC zHpux_C99_Inttypes2Name[] =
4411 "hpux_c99_inttypes2";
4414 * File name selection pattern
4416 tSCC zHpux_C99_Inttypes2List[] =
4417 "stdint-hpux11.h\0stdint.h\0";
4419 * Machine/OS name selection pattern
4421 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4423 (const char*)NULL };
4424 #define HPUX_C99_INTTYPES2_TEST_CT 0
4425 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4428 * Fix Command Arguments for Hpux_C99_Inttypes2
4430 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4431 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4432 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4433 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4434 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4439 * Description of Hpux_Stdint_Least_Fast fix
4441 tSCC zHpux_Stdint_Least_FastName[] =
4442 "hpux_stdint_least_fast";
4445 * File name selection pattern
4447 tSCC zHpux_Stdint_Least_FastList[] =
4448 "stdint-hpux11.h\0stdint.h\0";
4450 * Machine/OS name selection pattern
4452 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4454 (const char*)NULL };
4457 * content selection pattern - do fix if pattern found
4459 tSCC zHpux_Stdint_Least_FastSelect0[] =
4460 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4462 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4463 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4464 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4467 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4469 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4471 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4474 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4476 * Description of Hpux_Inttype_Int8_T fix
4478 tSCC zHpux_Inttype_Int8_TName[] =
4479 "hpux_inttype_int8_t";
4482 * File name selection pattern
4484 tSCC zHpux_Inttype_Int8_TList[] =
4485 "sys/_inttypes.h\0";
4487 * Machine/OS name selection pattern
4489 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4491 (const char*)NULL };
4494 * content selection pattern - do fix if pattern found
4496 tSCC zHpux_Inttype_Int8_TSelect0[] =
4497 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4499 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4500 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4501 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4504 * Fix Command Arguments for Hpux_Inttype_Int8_T
4506 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4508 "typedef signed char int%18_t;",
4511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4513 * Description of Hpux_Imaginary_I fix
4515 tSCC zHpux_Imaginary_IName[] =
4519 * File name selection pattern
4521 tSCC zHpux_Imaginary_IList[] =
4524 * Machine/OS name selection pattern
4526 tSCC* apzHpux_Imaginary_IMachs[] = {
4528 (const char*)NULL };
4531 * content selection pattern - do fix if pattern found
4533 tSCC zHpux_Imaginary_ISelect0[] =
4534 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4536 #define HPUX_IMAGINARY_I_TEST_CT 1
4537 static tTestDesc aHpux_Imaginary_ITests[] = {
4538 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4541 * Fix Command Arguments for Hpux_Imaginary_I
4543 static const char* apzHpux_Imaginary_IPatch[] = {
4545 "#define _Complex_I (__extension__ 1.0iF)",
4548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4550 * Description of Huge_Val_Hex fix
4552 tSCC zHuge_Val_HexName[] =
4556 * File name selection pattern
4558 tSCC zHuge_Val_HexList[] =
4559 "bits/huge_val.h\0";
4561 * Machine/OS name selection pattern
4563 #define apzHuge_Val_HexMachs (const char**)NULL
4566 * content selection pattern - do fix if pattern found
4568 tSCC zHuge_Val_HexSelect0[] =
4569 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4572 * content bypass pattern - skip fix if pattern found
4574 tSCC zHuge_Val_HexBypass0[] =
4575 "__builtin_huge_val";
4577 #define HUGE_VAL_HEX_TEST_CT 2
4578 static tTestDesc aHuge_Val_HexTests[] = {
4579 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4580 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4583 * Fix Command Arguments for Huge_Val_Hex
4585 static const char* apzHuge_Val_HexPatch[] = {
4587 "#define HUGE_VAL (__builtin_huge_val())\n",
4590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4592 * Description of Huge_Valf_Hex fix
4594 tSCC zHuge_Valf_HexName[] =
4598 * File name selection pattern
4600 tSCC zHuge_Valf_HexList[] =
4601 "bits/huge_val.h\0";
4603 * Machine/OS name selection pattern
4605 #define apzHuge_Valf_HexMachs (const char**)NULL
4608 * content selection pattern - do fix if pattern found
4610 tSCC zHuge_Valf_HexSelect0[] =
4611 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4614 * content bypass pattern - skip fix if pattern found
4616 tSCC zHuge_Valf_HexBypass0[] =
4617 "__builtin_huge_valf";
4619 #define HUGE_VALF_HEX_TEST_CT 2
4620 static tTestDesc aHuge_Valf_HexTests[] = {
4621 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4622 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4625 * Fix Command Arguments for Huge_Valf_Hex
4627 static const char* apzHuge_Valf_HexPatch[] = {
4629 "#define HUGE_VALF (__builtin_huge_valf())\n",
4632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4634 * Description of Huge_Vall_Hex fix
4636 tSCC zHuge_Vall_HexName[] =
4640 * File name selection pattern
4642 tSCC zHuge_Vall_HexList[] =
4643 "bits/huge_val.h\0";
4645 * Machine/OS name selection pattern
4647 #define apzHuge_Vall_HexMachs (const char**)NULL
4650 * content selection pattern - do fix if pattern found
4652 tSCC zHuge_Vall_HexSelect0[] =
4653 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4656 * content bypass pattern - skip fix if pattern found
4658 tSCC zHuge_Vall_HexBypass0[] =
4659 "__builtin_huge_vall";
4661 #define HUGE_VALL_HEX_TEST_CT 2
4662 static tTestDesc aHuge_Vall_HexTests[] = {
4663 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4664 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4667 * Fix Command Arguments for Huge_Vall_Hex
4669 static const char* apzHuge_Vall_HexPatch[] = {
4671 "#define HUGE_VALL (__builtin_huge_vall())\n",
4674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4676 * Description of Int_Abort_Free_And_Exit fix
4678 tSCC zInt_Abort_Free_And_ExitName[] =
4679 "int_abort_free_and_exit";
4682 * File name selection pattern
4684 tSCC zInt_Abort_Free_And_ExitList[] =
4687 * Machine/OS name selection pattern
4689 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4692 * content selection pattern - do fix if pattern found
4694 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4695 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4698 * content bypass pattern - skip fix if pattern found
4700 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4701 "_CLASSIC_ANSI_TYPES";
4703 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4704 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4705 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4706 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4709 * Fix Command Arguments for Int_Abort_Free_And_Exit
4711 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4718 * Description of Io_Quotes_Def fix
4720 tSCC zIo_Quotes_DefName[] =
4724 * File name selection pattern
4726 #define zIo_Quotes_DefList (char*)NULL
4728 * Machine/OS name selection pattern
4730 #define apzIo_Quotes_DefMachs (const char**)NULL
4733 * content selection pattern - do fix if pattern found
4735 tSCC zIo_Quotes_DefSelect0[] =
4736 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4738 #define IO_QUOTES_DEF_TEST_CT 1
4739 static tTestDesc aIo_Quotes_DefTests[] = {
4740 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4743 * Fix Command Arguments for Io_Quotes_Def
4745 static const char* apzIo_Quotes_DefPatch[] = {
4750 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4752 * Description of Io_Quotes_Use fix
4754 tSCC zIo_Quotes_UseName[] =
4758 * File name selection pattern
4760 #define zIo_Quotes_UseList (char*)NULL
4762 * Machine/OS name selection pattern
4764 #define apzIo_Quotes_UseMachs (const char**)NULL
4767 * content selection pattern - do fix if pattern found
4769 tSCC zIo_Quotes_UseSelect0[] =
4770 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4772 #define IO_QUOTES_USE_TEST_CT 1
4773 static tTestDesc aIo_Quotes_UseTests[] = {
4774 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4777 * Fix Command Arguments for Io_Quotes_Use
4779 static const char* apzIo_Quotes_UsePatch[] = {
4784 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4786 * Description of Ip_Missing_Semi fix
4788 tSCC zIp_Missing_SemiName[] =
4792 * File name selection pattern
4794 tSCC zIp_Missing_SemiList[] =
4797 * Machine/OS name selection pattern
4799 #define apzIp_Missing_SemiMachs (const char**)NULL
4802 * content selection pattern - do fix if pattern found
4804 tSCC zIp_Missing_SemiSelect0[] =
4807 #define IP_MISSING_SEMI_TEST_CT 1
4808 static tTestDesc aIp_Missing_SemiTests[] = {
4809 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4812 * Fix Command Arguments for Ip_Missing_Semi
4814 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4815 "-e", "/^struct/,/^};/s/}$/};/",
4818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4820 * Description of Irix_Limits_Const fix
4822 tSCC zIrix_Limits_ConstName[] =
4823 "irix_limits_const";
4826 * File name selection pattern
4828 tSCC zIrix_Limits_ConstList[] =
4829 "fixinc-test-limits.h\0limits.h\0";
4831 * Machine/OS name selection pattern
4833 #define apzIrix_Limits_ConstMachs (const char**)NULL
4836 * content selection pattern - do fix if pattern found
4838 tSCC zIrix_Limits_ConstSelect0[] =
4841 #define IRIX_LIMITS_CONST_TEST_CT 1
4842 static tTestDesc aIrix_Limits_ConstTests[] = {
4843 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4846 * Fix Command Arguments for Irix_Limits_Const
4848 static const char* apzIrix_Limits_ConstPatch[] = {
4853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4855 * Description of Irix_Stdio_Va_List fix
4857 tSCC zIrix_Stdio_Va_ListName[] =
4858 "irix_stdio_va_list";
4861 * File name selection pattern
4863 tSCC zIrix_Stdio_Va_ListList[] =
4866 * Machine/OS name selection pattern
4868 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4871 * content selection pattern - do fix if pattern found
4873 tSCC zIrix_Stdio_Va_ListSelect0[] =
4874 "/\\* va_list \\*/ char \\*";
4876 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4877 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4878 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4881 * Fix Command Arguments for Irix_Stdio_Va_List
4883 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4890 * Description of Kandr_Concat fix
4892 tSCC zKandr_ConcatName[] =
4896 * File name selection pattern
4898 tSCC zKandr_ConcatList[] =
4899 "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";
4901 * Machine/OS name selection pattern
4903 #define apzKandr_ConcatMachs (const char**)NULL
4906 * content selection pattern - do fix if pattern found
4908 tSCC zKandr_ConcatSelect0[] =
4911 #define KANDR_CONCAT_TEST_CT 1
4912 static tTestDesc aKandr_ConcatTests[] = {
4913 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4916 * Fix Command Arguments for Kandr_Concat
4918 static const char* apzKandr_ConcatPatch[] = {
4923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4925 * Description of Linux_Ia64_Ucontext fix
4927 tSCC zLinux_Ia64_UcontextName[] =
4928 "linux_ia64_ucontext";
4931 * File name selection pattern
4933 tSCC zLinux_Ia64_UcontextList[] =
4936 * Machine/OS name selection pattern
4938 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4940 (const char*)NULL };
4943 * content selection pattern - do fix if pattern found
4945 tSCC zLinux_Ia64_UcontextSelect0[] =
4946 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4948 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4949 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4950 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4953 * Fix Command Arguments for Linux_Ia64_Ucontext
4955 static const char* apzLinux_Ia64_UcontextPatch[] = {
4957 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4962 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4964 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4965 "lynxos_no_warning_in_sys_time_h";
4968 * File name selection pattern
4970 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4973 * Machine/OS name selection pattern
4975 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4978 * content selection pattern - do fix if pattern found
4980 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4981 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4983 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4984 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4985 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4988 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4990 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4997 * Description of Lynxos_Missing_Putenv fix
4999 tSCC zLynxos_Missing_PutenvName[] =
5000 "lynxos_missing_putenv";
5003 * File name selection pattern
5005 tSCC zLynxos_Missing_PutenvList[] =
5008 * Machine/OS name selection pattern
5010 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5012 (const char*)NULL };
5015 * content selection pattern - do fix if pattern found
5017 tSCC zLynxos_Missing_PutenvSelect0[] =
5018 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5021 * content bypass pattern - skip fix if pattern found
5023 tSCC zLynxos_Missing_PutenvBypass0[] =
5026 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5027 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5028 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5029 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5032 * Fix Command Arguments for Lynxos_Missing_Putenv
5034 static const char* apzLynxos_Missing_PutenvPatch[] = {
5037 extern int putenv\t\t\t\t_AP((char *));",
5038 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5041 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5043 * Description of Machine_Ansi_H_Va_List fix
5045 tSCC zMachine_Ansi_H_Va_ListName[] =
5046 "machine_ansi_h_va_list";
5049 * File name selection pattern
5051 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5053 * Machine/OS name selection pattern
5055 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5058 * content selection pattern - do fix if pattern found
5060 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5061 "define[ \t]+_BSD_VA_LIST_[ \t]";
5064 * content bypass pattern - skip fix if pattern found
5066 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5067 "__builtin_va_list";
5069 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5070 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5071 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5072 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5075 * Fix Command Arguments for Machine_Ansi_H_Va_List
5077 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5079 "%1__builtin_va_list",
5080 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5085 * Description of Machine_Name fix
5087 tSCC zMachine_NameName[] =
5091 * File name selection pattern
5093 #define zMachine_NameList (char*)NULL
5095 * Machine/OS name selection pattern
5097 #define apzMachine_NameMachs (const char**)NULL
5100 * perform the C function call test
5102 tSCC zMachine_NameFTst0[] = "machine_name";
5104 #define MACHINE_NAME_TEST_CT 1
5105 static tTestDesc aMachine_NameTests[] = {
5106 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5109 * Fix Command Arguments for Machine_Name
5111 static const char* apzMachine_NamePatch[] = {
5115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5117 * Description of Math_Exception fix
5119 tSCC zMath_ExceptionName[] =
5123 * File name selection pattern
5125 tSCC zMath_ExceptionList[] =
5128 * Machine/OS name selection pattern
5130 #define apzMath_ExceptionMachs (const char**)NULL
5133 * content selection pattern - do fix if pattern found
5135 tSCC zMath_ExceptionSelect0[] =
5139 * content bypass pattern - skip fix if pattern found
5141 tSCC zMath_ExceptionBypass0[] =
5142 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5144 #define MATH_EXCEPTION_TEST_CT 2
5145 static tTestDesc aMath_ExceptionTests[] = {
5146 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5147 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5150 * Fix Command Arguments for Math_Exception
5152 static const char* apzMath_ExceptionPatch[] = {
5154 "#ifdef __cplusplus\n\
5155 #define exception __math_exception\n\
5157 "#ifdef __cplusplus\n\
5162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5164 * Description of Math_Huge_Val_From_Dbl_Max fix
5166 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5167 "math_huge_val_from_dbl_max";
5170 * File name selection pattern
5172 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5175 * Machine/OS name selection pattern
5177 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5180 * content selection pattern - do fix if pattern found
5182 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5183 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5186 * content bypass pattern - skip fix if pattern found
5188 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5189 "define[ \t]+DBL_MAX";
5191 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5192 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5193 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5194 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5197 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5199 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5200 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5201 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5202 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5209 * Description of Nested_Auth_Des fix
5211 tSCC zNested_Auth_DesName[] =
5215 * File name selection pattern
5217 tSCC zNested_Auth_DesList[] =
5220 * Machine/OS name selection pattern
5222 #define apzNested_Auth_DesMachs (const char**)NULL
5225 * content selection pattern - do fix if pattern found
5227 tSCC zNested_Auth_DesSelect0[] =
5228 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5230 #define NESTED_AUTH_DES_TEST_CT 1
5231 static tTestDesc aNested_Auth_DesTests[] = {
5232 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5235 * Fix Command Arguments for Nested_Auth_Des
5237 static const char* apzNested_Auth_DesPatch[] = {
5242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5244 * Description of Netbsd_C99_Inline_1 fix
5246 tSCC zNetbsd_C99_Inline_1Name[] =
5247 "netbsd_c99_inline_1";
5250 * File name selection pattern
5252 tSCC zNetbsd_C99_Inline_1List[] =
5255 * Machine/OS name selection pattern
5257 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5259 (const char*)NULL };
5262 * content selection pattern - do fix if pattern found
5264 tSCC zNetbsd_C99_Inline_1Select0[] =
5265 "extern __inline int";
5267 #define NETBSD_C99_INLINE_1_TEST_CT 1
5268 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5269 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5272 * Fix Command Arguments for Netbsd_C99_Inline_1
5274 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5277 #ifdef __GNUC_STDC_INLINE__\n\
5278 __attribute__((__gnu_inline__))\n\
5283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5285 * Description of Netbsd_C99_Inline_2 fix
5287 tSCC zNetbsd_C99_Inline_2Name[] =
5288 "netbsd_c99_inline_2";
5291 * File name selection pattern
5293 tSCC zNetbsd_C99_Inline_2List[] =
5296 * Machine/OS name selection pattern
5298 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5300 (const char*)NULL };
5303 * content selection pattern - do fix if pattern found
5305 tSCC zNetbsd_C99_Inline_2Select0[] =
5306 "#define _SIGINLINE extern __inline";
5308 #define NETBSD_C99_INLINE_2_TEST_CT 1
5309 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5310 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5313 * Fix Command Arguments for Netbsd_C99_Inline_2
5315 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5317 "#ifdef __GNUC_STDC_INLINE__\n\
5318 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5326 * Description of Netbsd_Extra_Semicolon fix
5328 tSCC zNetbsd_Extra_SemicolonName[] =
5329 "netbsd_extra_semicolon";
5332 * File name selection pattern
5334 tSCC zNetbsd_Extra_SemicolonList[] =
5337 * Machine/OS name selection pattern
5339 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5341 (const char*)NULL };
5344 * content selection pattern - do fix if pattern found
5346 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5347 "#define[ \t]*__END_DECLS[ \t]*};";
5349 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5350 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5351 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5354 * Fix Command Arguments for Netbsd_Extra_Semicolon
5356 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5358 "#define __END_DECLS }",
5361 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5363 * Description of Newlib_Stdint_1 fix
5365 tSCC zNewlib_Stdint_1Name[] =
5369 * File name selection pattern
5371 tSCC zNewlib_Stdint_1List[] =
5372 "stdint-newlib.h\0stdint.h\0";
5374 * Machine/OS name selection pattern
5376 #define apzNewlib_Stdint_1Machs (const char**)NULL
5379 * content selection pattern - do fix if pattern found
5381 tSCC zNewlib_Stdint_1Select0[] =
5382 "@todo - Add support for wint_t types";
5384 #define NEWLIB_STDINT_1_TEST_CT 1
5385 static tTestDesc aNewlib_Stdint_1Tests[] = {
5386 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5389 * Fix Command Arguments for Newlib_Stdint_1
5391 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5392 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5393 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5394 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5395 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5396 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5397 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5398 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5399 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5400 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5401 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5402 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5403 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5404 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5405 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5410 * Description of Newlib_Stdint_2 fix
5412 tSCC zNewlib_Stdint_2Name[] =
5416 * File name selection pattern
5418 tSCC zNewlib_Stdint_2List[] =
5419 "stdint-newlib.h\0stdint.h\0";
5421 * Machine/OS name selection pattern
5423 #define apzNewlib_Stdint_2Machs (const char**)NULL
5426 * content selection pattern - do fix if pattern found
5428 tSCC zNewlib_Stdint_2Select0[] =
5429 "@todo - Add support for wint_t types";
5431 #define NEWLIB_STDINT_2_TEST_CT 1
5432 static tTestDesc aNewlib_Stdint_2Tests[] = {
5433 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5436 * Fix Command Arguments for Newlib_Stdint_2
5438 static const char* apzNewlib_Stdint_2Patch[] = {
5440 "#define INTMAX_MAX __INTMAX_MAX__\n\
5441 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5442 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5443 #define WCHAR_MAX __WCHAR_MAX__\n\
5444 #define WCHAR_MIN __WCHAR_MIN__\n\
5445 #define WINT_MAX __WINT_MAX__\n\
5446 #define WINT_MIN __WINT_MIN__\n\n\
5448 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5453 * Description of Next_Math_Prefix fix
5455 tSCC zNext_Math_PrefixName[] =
5459 * File name selection pattern
5461 tSCC zNext_Math_PrefixList[] =
5464 * Machine/OS name selection pattern
5466 #define apzNext_Math_PrefixMachs (const char**)NULL
5469 * content selection pattern - do fix if pattern found
5471 tSCC zNext_Math_PrefixSelect0[] =
5472 "^extern[ \t]+double[ \t]+__const__[ \t]";
5474 #define NEXT_MATH_PREFIX_TEST_CT 1
5475 static tTestDesc aNext_Math_PrefixTests[] = {
5476 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5479 * Fix Command Arguments for Next_Math_Prefix
5481 static const char* apzNext_Math_PrefixPatch[] = {
5483 "extern double %1(",
5484 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5489 * Description of Next_Template fix
5491 tSCC zNext_TemplateName[] =
5495 * File name selection pattern
5497 tSCC zNext_TemplateList[] =
5500 * Machine/OS name selection pattern
5502 #define apzNext_TemplateMachs (const char**)NULL
5505 * content selection pattern - do fix if pattern found
5507 tSCC zNext_TemplateSelect0[] =
5510 #define NEXT_TEMPLATE_TEST_CT 1
5511 static tTestDesc aNext_TemplateTests[] = {
5512 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5515 * Fix Command Arguments for Next_Template
5517 static const char* apzNext_TemplatePatch[] = {
5520 "\\(([^)]*)[ \t]template\\)",
5523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5525 * Description of Next_Volitile fix
5527 tSCC zNext_VolitileName[] =
5531 * File name selection pattern
5533 tSCC zNext_VolitileList[] =
5536 * Machine/OS name selection pattern
5538 #define apzNext_VolitileMachs (const char**)NULL
5541 * content selection pattern - do fix if pattern found
5543 tSCC zNext_VolitileSelect0[] =
5544 "^extern[ \t]+volatile[ \t]+void[ \t]";
5546 #define NEXT_VOLITILE_TEST_CT 1
5547 static tTestDesc aNext_VolitileTests[] = {
5548 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5551 * Fix Command Arguments for Next_Volitile
5553 static const char* apzNext_VolitilePatch[] = {
5556 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5561 * Description of Next_Wait_Union fix
5563 tSCC zNext_Wait_UnionName[] =
5567 * File name selection pattern
5569 tSCC zNext_Wait_UnionList[] =
5572 * Machine/OS name selection pattern
5574 #define apzNext_Wait_UnionMachs (const char**)NULL
5577 * content selection pattern - do fix if pattern found
5579 tSCC zNext_Wait_UnionSelect0[] =
5580 "wait\\(union wait";
5582 #define NEXT_WAIT_UNION_TEST_CT 1
5583 static tTestDesc aNext_Wait_UnionTests[] = {
5584 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5587 * Fix Command Arguments for Next_Wait_Union
5589 static const char* apzNext_Wait_UnionPatch[] = {
5594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5596 * Description of Nodeent_Syntax fix
5598 tSCC zNodeent_SyntaxName[] =
5602 * File name selection pattern
5604 tSCC zNodeent_SyntaxList[] =
5605 "netdnet/dnetdb.h\0";
5607 * Machine/OS name selection pattern
5609 #define apzNodeent_SyntaxMachs (const char**)NULL
5612 * content selection pattern - do fix if pattern found
5614 tSCC zNodeent_SyntaxSelect0[] =
5615 "char[ \t]*\\*na_addr[ \t]*$";
5617 #define NODEENT_SYNTAX_TEST_CT 1
5618 static tTestDesc aNodeent_SyntaxTests[] = {
5619 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5622 * Fix Command Arguments for Nodeent_Syntax
5624 static const char* apzNodeent_SyntaxPatch[] = {
5629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5631 * Description of Openbsd_Null_Definition fix
5633 tSCC zOpenbsd_Null_DefinitionName[] =
5634 "openbsd_null_definition";
5637 * File name selection pattern
5639 tSCC zOpenbsd_Null_DefinitionList[] =
5640 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5642 * Machine/OS name selection pattern
5644 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5646 (const char*)NULL };
5649 * content selection pattern - do fix if pattern found
5651 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5654 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5655 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5656 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5659 * Fix Command Arguments for Openbsd_Null_Definition
5661 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5664 #ifdef __cplusplus\n\
5666 #define NULL\t__null\n\
5667 #else\t /* ! __GNUG__ */\n\
5669 #endif\t /* __GNUG__ */\n\
5670 #else\t /* ! __cplusplus */\n\
5671 #define NULL\t((void *)0)\n\
5672 #endif\t /* __cplusplus */\n\
5673 #endif\t /* !NULL */",
5674 "^#ifndef[ \t]*NULL\n\
5675 ^#ifdef[ \t]*__GNUG__\n\
5676 ^#define[ \t]*NULL[ \t]*__null\n\
5678 ^#define[ \t]*NULL[ \t]*0L\n\
5683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5685 * Description of Obstack_Lvalue_Cast fix
5687 tSCC zObstack_Lvalue_CastName[] =
5688 "obstack_lvalue_cast";
5691 * File name selection pattern
5693 tSCC zObstack_Lvalue_CastList[] =
5696 * Machine/OS name selection pattern
5698 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5701 * content selection pattern - do fix if pattern found
5703 tSCC zObstack_Lvalue_CastSelect0[] =
5704 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5706 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5707 static tTestDesc aObstack_Lvalue_CastTests[] = {
5708 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5711 * Fix Command Arguments for Obstack_Lvalue_Cast
5713 static const char* apzObstack_Lvalue_CastPatch[] = {
5715 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5720 * Description of Openbsd_Va_Start fix
5722 tSCC zOpenbsd_Va_StartName[] =
5726 * File name selection pattern
5728 tSCC zOpenbsd_Va_StartList[] =
5731 * Machine/OS name selection pattern
5733 tSCC* apzOpenbsd_Va_StartMachs[] = {
5735 (const char*)NULL };
5738 * content selection pattern - do fix if pattern found
5740 tSCC zOpenbsd_Va_StartSelect0[] =
5741 "__builtin_stdarg_start";
5743 #define OPENBSD_VA_START_TEST_CT 1
5744 static tTestDesc aOpenbsd_Va_StartTests[] = {
5745 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5748 * Fix Command Arguments for Openbsd_Va_Start
5750 static const char* apzOpenbsd_Va_StartPatch[] = {
5752 "__builtin_va_start",
5755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5757 * Description of Osf_Namespace_A fix
5759 tSCC zOsf_Namespace_AName[] =
5763 * File name selection pattern
5765 tSCC zOsf_Namespace_AList[] =
5766 "reg_types.h\0sys/lc_core.h\0";
5768 * Machine/OS name selection pattern
5770 #define apzOsf_Namespace_AMachs (const char**)NULL
5773 * perform the 'test' shell command - do fix on success
5775 tSCC zOsf_Namespace_ATest0[] =
5777 tSCC zOsf_Namespace_ATest1[] =
5778 " -r sys/lc_core.h";
5779 tSCC zOsf_Namespace_ATest2[] =
5780 " -n \"`grep '} regex_t;' reg_types.h`\"";
5781 tSCC zOsf_Namespace_ATest3[] =
5782 " -z \"`grep __regex_t regex.h`\"";
5784 #define OSF_NAMESPACE_A_TEST_CT 4
5785 static tTestDesc aOsf_Namespace_ATests[] = {
5786 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5787 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5788 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5789 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5792 * Fix Command Arguments for Osf_Namespace_A
5794 static const char* apzOsf_Namespace_APatch[] = {
5797 "reg(ex|off|match)_t",
5800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5802 * Description of Osf_Namespace_C fix
5804 tSCC zOsf_Namespace_CName[] =
5808 * File name selection pattern
5810 tSCC zOsf_Namespace_CList[] =
5813 * Machine/OS name selection pattern
5815 #define apzOsf_Namespace_CMachs (const char**)NULL
5818 * content selection pattern - do fix if pattern found
5820 tSCC zOsf_Namespace_CSelect0[] =
5821 "#include <reg_types.h>.*";
5824 * perform the 'test' shell command - do fix on success
5826 tSCC zOsf_Namespace_CTest0[] =
5828 tSCC zOsf_Namespace_CTest1[] =
5829 " -r sys/lc_core.h";
5830 tSCC zOsf_Namespace_CTest2[] =
5831 " -n \"`grep '} regex_t;' reg_types.h`\"";
5832 tSCC zOsf_Namespace_CTest3[] =
5833 " -z \"`grep __regex_t regex.h`\"";
5835 #define OSF_NAMESPACE_C_TEST_CT 5
5836 static tTestDesc aOsf_Namespace_CTests[] = {
5837 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5838 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5839 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5840 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5841 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5844 * Fix Command Arguments for Osf_Namespace_C
5846 static const char* apzOsf_Namespace_CPatch[] = {
5849 typedef __regex_t\tregex_t;\n\
5850 typedef __regoff_t\tregoff_t;\n\
5851 typedef __regmatch_t\tregmatch_t;",
5854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5856 * Description of Pthread_Incomplete_Struct_Argument fix
5858 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5859 "pthread_incomplete_struct_argument";
5862 * File name selection pattern
5864 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5867 * Machine/OS name selection pattern
5869 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5872 * content selection pattern - do fix if pattern found
5874 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5875 "struct __jmp_buf_tag";
5877 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5878 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5879 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5882 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5884 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5887 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5892 * Description of Read_Ret_Type fix
5894 tSCC zRead_Ret_TypeName[] =
5898 * File name selection pattern
5900 tSCC zRead_Ret_TypeList[] =
5903 * Machine/OS name selection pattern
5905 #define apzRead_Ret_TypeMachs (const char**)NULL
5908 * content selection pattern - do fix if pattern found
5910 tSCC zRead_Ret_TypeSelect0[] =
5911 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5913 #define READ_RET_TYPE_TEST_CT 1
5914 static tTestDesc aRead_Ret_TypeTests[] = {
5915 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5918 * Fix Command Arguments for Read_Ret_Type
5920 static const char* apzRead_Ret_TypePatch[] = {
5922 "extern unsigned int fread(), fwrite();\n\
5924 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5929 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5931 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5932 "rpc_xdr_lvalue_cast_a";
5935 * File name selection pattern
5937 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5940 * Machine/OS name selection pattern
5942 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5945 * content selection pattern - do fix if pattern found
5947 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5948 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5951 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5952 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5953 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5956 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5958 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5960 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5965 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5967 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5968 "rpc_xdr_lvalue_cast_b";
5971 * File name selection pattern
5973 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5976 * Machine/OS name selection pattern
5978 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5981 * content selection pattern - do fix if pattern found
5983 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5984 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5987 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5988 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5989 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5992 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5994 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5996 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5999 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6001 * Description of Rs6000_Double fix
6003 tSCC zRs6000_DoubleName[] =
6007 * File name selection pattern
6009 tSCC zRs6000_DoubleList[] =
6012 * Machine/OS name selection pattern
6014 #define apzRs6000_DoubleMachs (const char**)NULL
6017 * content selection pattern - do fix if pattern found
6019 tSCC zRs6000_DoubleSelect0[] =
6020 "[^a-zA-Z_]class\\(";
6022 #define RS6000_DOUBLE_TEST_CT 1
6023 static tTestDesc aRs6000_DoubleTests[] = {
6024 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6027 * Fix Command Arguments for Rs6000_Double
6029 static const char* apzRs6000_DoublePatch[] = {
6031 "#ifndef __cplusplus\n\
6034 "^.*[^a-zA-Z_]class\\(.*",
6037 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6039 * Description of Rs6000_Fchmod fix
6041 tSCC zRs6000_FchmodName[] =
6045 * File name selection pattern
6047 tSCC zRs6000_FchmodList[] =
6050 * Machine/OS name selection pattern
6052 #define apzRs6000_FchmodMachs (const char**)NULL
6055 * content selection pattern - do fix if pattern found
6057 tSCC zRs6000_FchmodSelect0[] =
6058 "fchmod\\(char \\*";
6060 #define RS6000_FCHMOD_TEST_CT 1
6061 static tTestDesc aRs6000_FchmodTests[] = {
6062 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6065 * Fix Command Arguments for Rs6000_Fchmod
6067 static const char* apzRs6000_FchmodPatch[] = {
6072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6074 * Description of Rs6000_Param fix
6076 tSCC zRs6000_ParamName[] =
6080 * File name selection pattern
6082 tSCC zRs6000_ParamList[] =
6083 "stdio.h\0unistd.h\0";
6085 * Machine/OS name selection pattern
6087 #define apzRs6000_ParamMachs (const char**)NULL
6090 * content selection pattern - do fix if pattern found
6092 tSCC zRs6000_ParamSelect0[] =
6093 "rename\\(const char \\*old, const char \\*new\\)";
6095 #define RS6000_PARAM_TEST_CT 1
6096 static tTestDesc aRs6000_ParamTests[] = {
6097 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6100 * Fix Command Arguments for Rs6000_Param
6102 static const char* apzRs6000_ParamPatch[] = {
6104 "rename(const char *_old, const char *_new)",
6107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6109 * Description of Solaris___Restrict fix
6111 tSCC zSolaris___RestrictName[] =
6112 "solaris___restrict";
6115 * File name selection pattern
6117 tSCC zSolaris___RestrictList[] =
6118 "sys/feature_tests.h\0";
6120 * Machine/OS name selection pattern
6122 tSCC* apzSolaris___RestrictMachs[] = {
6124 (const char*)NULL };
6127 * content selection pattern - do fix if pattern found
6129 tSCC zSolaris___RestrictSelect0[] =
6130 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6132 #define SOLARIS___RESTRICT_TEST_CT 1
6133 static tTestDesc aSolaris___RestrictTests[] = {
6134 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6137 * Fix Command Arguments for Solaris___Restrict
6139 static const char* apzSolaris___RestrictPatch[] = {
6141 "#ifdef __cplusplus\n\
6142 #define\t_RESTRICT_KYWD\t__restrict\n\
6148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6150 * Description of Solaris_Complex fix
6152 tSCC zSolaris_ComplexName[] =
6156 * File name selection pattern
6158 tSCC zSolaris_ComplexList[] =
6161 * Machine/OS name selection pattern
6163 tSCC* apzSolaris_ComplexMachs[] = {
6165 (const char*)NULL };
6168 * content selection pattern - do fix if pattern found
6170 tSCC zSolaris_ComplexSelect0[] =
6171 "#define[ \t]_Complex_I[ \t]_Complex_I";
6173 #define SOLARIS_COMPLEX_TEST_CT 1
6174 static tTestDesc aSolaris_ComplexTests[] = {
6175 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6178 * Fix Command Arguments for Solaris_Complex
6180 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6181 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6182 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6183 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6184 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6189 * Description of Solaris_Complex_Cxx fix
6191 tSCC zSolaris_Complex_CxxName[] =
6192 "solaris_complex_cxx";
6195 * File name selection pattern
6197 tSCC zSolaris_Complex_CxxList[] =
6200 * Machine/OS name selection pattern
6202 tSCC* apzSolaris_Complex_CxxMachs[] = {
6204 (const char*)NULL };
6205 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6206 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6209 * Fix Command Arguments for Solaris_Complex_Cxx
6211 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6212 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6213 #ifdef\t__cplusplus\\\n\
6216 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6217 #ifdef\t__cplusplus\\\n\
6222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6224 * Description of Solaris_Cxx_Linkage fix
6226 tSCC zSolaris_Cxx_LinkageName[] =
6227 "solaris_cxx_linkage";
6230 * File name selection pattern
6232 tSCC zSolaris_Cxx_LinkageList[] =
6233 "iso/stdlib_iso.h\0";
6235 * Machine/OS name selection pattern
6237 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6239 (const char*)NULL };
6242 * content selection pattern - do fix if pattern found
6244 tSCC zSolaris_Cxx_LinkageSelect0[] =
6245 "(#if __cplusplus >= 199711L)\n\
6246 (extern \"C\\+\\+\" \\{\n\
6247 )(.*(bsearch|qsort).*)";
6249 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
6250 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6251 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6254 * Fix Command Arguments for Solaris_Cxx_Linkage
6256 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6264 * Description of Solaris_Getc_Strict_Stdc fix
6266 tSCC zSolaris_Getc_Strict_StdcName[] =
6267 "solaris_getc_strict_stdc";
6270 * File name selection pattern
6272 tSCC zSolaris_Getc_Strict_StdcList[] =
6273 "iso/stdio_iso.h\0";
6275 * Machine/OS name selection pattern
6277 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6279 (const char*)NULL };
6282 * content selection pattern - do fix if pattern found
6284 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6285 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6287 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
6288 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6289 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6292 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
6294 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6296 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6301 * Description of Solaris_Longjmp_Noreturn fix
6303 tSCC zSolaris_Longjmp_NoreturnName[] =
6304 "solaris_longjmp_noreturn";
6307 * File name selection pattern
6309 tSCC zSolaris_Longjmp_NoreturnList[] =
6310 "iso/setjmp_iso.h\0";
6312 * Machine/OS name selection pattern
6314 tSCC* apzSolaris_Longjmp_NoreturnMachs[] = {
6316 (const char*)NULL };
6319 * content selection pattern - do fix if pattern found
6321 tSCC zSolaris_Longjmp_NoreturnSelect0[] =
6322 "(.*longjmp\\(jmp_buf.*[^)]+\\));";
6325 * content bypass pattern - skip fix if pattern found
6327 tSCC zSolaris_Longjmp_NoreturnBypass0[] =
6330 #define SOLARIS_LONGJMP_NORETURN_TEST_CT 2
6331 static tTestDesc aSolaris_Longjmp_NoreturnTests[] = {
6332 { TT_NEGREP, zSolaris_Longjmp_NoreturnBypass0, (regex_t*)NULL },
6333 { TT_EGREP, zSolaris_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
6336 * Fix Command Arguments for Solaris_Longjmp_Noreturn
6338 static const char* apzSolaris_Longjmp_NoreturnPatch[] = {
6340 "%1 __attribute__ ((__noreturn__));",
6343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6345 * Description of Solaris_Math_1 fix
6347 tSCC zSolaris_Math_1Name[] =
6351 * File name selection pattern
6353 tSCC zSolaris_Math_1List[] =
6356 * Machine/OS name selection pattern
6358 #define apzSolaris_Math_1Machs (const char**)NULL
6361 * content selection pattern - do fix if pattern found
6363 tSCC zSolaris_Math_1Select0[] =
6364 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6367 * content bypass pattern - skip fix if pattern found
6369 tSCC zSolaris_Math_1Bypass0[] =
6372 #define SOLARIS_MATH_1_TEST_CT 2
6373 static tTestDesc aSolaris_Math_1Tests[] = {
6374 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6375 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6378 * Fix Command Arguments for Solaris_Math_1
6380 static const char* apzSolaris_Math_1Patch[] = {
6382 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6383 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6388 * Description of Solaris_Math_2 fix
6390 tSCC zSolaris_Math_2Name[] =
6394 * File name selection pattern
6396 tSCC zSolaris_Math_2List[] =
6399 * Machine/OS name selection pattern
6401 #define apzSolaris_Math_2Machs (const char**)NULL
6404 * content selection pattern - do fix if pattern found
6406 tSCC zSolaris_Math_2Select0[] =
6407 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6410 * content bypass pattern - skip fix if pattern found
6412 tSCC zSolaris_Math_2Bypass0[] =
6415 #define SOLARIS_MATH_2_TEST_CT 2
6416 static tTestDesc aSolaris_Math_2Tests[] = {
6417 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6418 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6421 * Fix Command Arguments for Solaris_Math_2
6423 static const char* apzSolaris_Math_2Patch[] = {
6425 "#define\tINFINITY\t(__builtin_inff())",
6426 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6431 * Description of Solaris_Math_3 fix
6433 tSCC zSolaris_Math_3Name[] =
6437 * File name selection pattern
6439 tSCC zSolaris_Math_3List[] =
6442 * Machine/OS name selection pattern
6444 #define apzSolaris_Math_3Machs (const char**)NULL
6447 * content selection pattern - do fix if pattern found
6449 tSCC zSolaris_Math_3Select0[] =
6450 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6453 * content bypass pattern - skip fix if pattern found
6455 tSCC zSolaris_Math_3Bypass0[] =
6458 #define SOLARIS_MATH_3_TEST_CT 2
6459 static tTestDesc aSolaris_Math_3Tests[] = {
6460 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6461 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6464 * Fix Command Arguments for Solaris_Math_3
6466 static const char* apzSolaris_Math_3Patch[] = {
6468 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6469 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6474 * Description of Solaris_Math_4 fix
6476 tSCC zSolaris_Math_4Name[] =
6480 * File name selection pattern
6482 tSCC zSolaris_Math_4List[] =
6485 * Machine/OS name selection pattern
6487 #define apzSolaris_Math_4Machs (const char**)NULL
6490 * content selection pattern - do fix if pattern found
6492 tSCC zSolaris_Math_4Select0[] =
6493 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6496 * content bypass pattern - skip fix if pattern found
6498 tSCC zSolaris_Math_4Bypass0[] =
6501 #define SOLARIS_MATH_4_TEST_CT 2
6502 static tTestDesc aSolaris_Math_4Tests[] = {
6503 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6504 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6507 * Fix Command Arguments for Solaris_Math_4
6509 static const char* apzSolaris_Math_4Patch[] = {
6511 "#define\tfpclassify(x) \\\n\
6512 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6513 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6518 * Description of Solaris_Math_8 fix
6520 tSCC zSolaris_Math_8Name[] =
6524 * File name selection pattern
6526 tSCC zSolaris_Math_8List[] =
6529 * Machine/OS name selection pattern
6531 #define apzSolaris_Math_8Machs (const char**)NULL
6534 * content selection pattern - do fix if pattern found
6536 tSCC zSolaris_Math_8Select0[] =
6537 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6540 * content bypass pattern - skip fix if pattern found
6542 tSCC zSolaris_Math_8Bypass0[] =
6545 #define SOLARIS_MATH_8_TEST_CT 2
6546 static tTestDesc aSolaris_Math_8Tests[] = {
6547 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6548 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6551 * Fix Command Arguments for Solaris_Math_8
6553 static const char* apzSolaris_Math_8Patch[] = {
6555 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6556 \t\t\t ? __builtin_signbitf(x) \\\n\
6557 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6558 \t\t\t ? __builtin_signbitl(x) \\\n\
6559 \t\t\t : __builtin_signbit(x))",
6560 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6565 * Description of Solaris_Math_9 fix
6567 tSCC zSolaris_Math_9Name[] =
6571 * File name selection pattern
6573 tSCC zSolaris_Math_9List[] =
6576 * Machine/OS name selection pattern
6578 #define apzSolaris_Math_9Machs (const char**)NULL
6581 * content selection pattern - do fix if pattern found
6583 tSCC zSolaris_Math_9Select0[] =
6584 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6587 * content bypass pattern - skip fix if pattern found
6589 tSCC zSolaris_Math_9Bypass0[] =
6592 #define SOLARIS_MATH_9_TEST_CT 2
6593 static tTestDesc aSolaris_Math_9Tests[] = {
6594 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6595 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6598 * Fix Command Arguments for Solaris_Math_9
6600 static const char* apzSolaris_Math_9Patch[] = {
6602 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6603 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6608 * Description of Solaris_Math_10 fix
6610 tSCC zSolaris_Math_10Name[] =
6614 * File name selection pattern
6616 tSCC zSolaris_Math_10List[] =
6619 * Machine/OS name selection pattern
6621 #define apzSolaris_Math_10Machs (const char**)NULL
6624 * content selection pattern - do fix if pattern found
6626 tSCC zSolaris_Math_10Select0[] =
6627 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6629 #define SOLARIS_MATH_10_TEST_CT 1
6630 static tTestDesc aSolaris_Math_10Tests[] = {
6631 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6634 * Fix Command Arguments for Solaris_Math_10
6636 static const char* apzSolaris_Math_10Patch[] = {
6638 "#define\tisinf(x) __builtin_isinf(x)",
6639 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6640 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6641 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6642 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6647 * Description of Solaris_Mutex_Init_2 fix
6649 tSCC zSolaris_Mutex_Init_2Name[] =
6650 "solaris_mutex_init_2";
6653 * File name selection pattern
6655 tSCC zSolaris_Mutex_Init_2List[] =
6658 * Machine/OS name selection pattern
6660 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6661 "*-*-solaris2.[0-9]",
6662 "*-*-solaris2.[0-9][!0-9]*",
6663 (const char*)NULL };
6666 * content selection pattern - do fix if pattern found
6668 tSCC zSolaris_Mutex_Init_2Select0[] =
6669 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6671 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6672 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6673 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6676 * Fix Command Arguments for Solaris_Mutex_Init_2
6678 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6680 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6685 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6686 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6689 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6691 * Description of Solaris_Pow_Int_Overload fix
6693 tSCC zSolaris_Pow_Int_OverloadName[] =
6694 "solaris_pow_int_overload";
6697 * File name selection pattern
6699 tSCC zSolaris_Pow_Int_OverloadList[] =
6702 * Machine/OS name selection pattern
6704 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
6706 (const char*)NULL };
6709 * content selection pattern - do fix if pattern found
6711 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
6712 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
6715 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
6716 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
6717 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
6720 * Fix Command Arguments for Solaris_Pow_Int_Overload
6722 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
6724 "#if __cplusplus < 201103L\n\
6729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6731 * Description of Solaris_Rwlock_Init_1 fix
6733 tSCC zSolaris_Rwlock_Init_1Name[] =
6734 "solaris_rwlock_init_1";
6737 * File name selection pattern
6739 tSCC zSolaris_Rwlock_Init_1List[] =
6742 * Machine/OS name selection pattern
6744 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6746 (const char*)NULL };
6749 * content selection pattern - do fix if pattern found
6751 tSCC zSolaris_Rwlock_Init_1Select0[] =
6752 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6754 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6755 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6756 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6759 * Fix Command Arguments for Solaris_Rwlock_Init_1
6761 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6763 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6766 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6768 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6773 * Description of Solaris_Once_Init_1 fix
6775 tSCC zSolaris_Once_Init_1Name[] =
6776 "solaris_once_init_1";
6779 * File name selection pattern
6781 tSCC zSolaris_Once_Init_1List[] =
6784 * Machine/OS name selection pattern
6786 tSCC* apzSolaris_Once_Init_1Machs[] = {
6788 (const char*)NULL };
6791 * content selection pattern - do fix if pattern found
6793 tSCC zSolaris_Once_Init_1Select0[] =
6794 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6796 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6797 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6798 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6801 * Fix Command Arguments for Solaris_Once_Init_1
6803 static const char* apzSolaris_Once_Init_1Patch[] = {
6806 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6811 * Description of Solaris_Once_Init_2 fix
6813 tSCC zSolaris_Once_Init_2Name[] =
6814 "solaris_once_init_2";
6817 * File name selection pattern
6819 tSCC zSolaris_Once_Init_2List[] =
6822 * Machine/OS name selection pattern
6824 tSCC* apzSolaris_Once_Init_2Machs[] = {
6825 "*-*-solaris2.[0-9]",
6826 "*-*-solaris2.[0-9][!0-9]*",
6827 (const char*)NULL };
6830 * content selection pattern - do fix if pattern found
6832 tSCC zSolaris_Once_Init_2Select0[] =
6833 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6835 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6836 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6837 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6840 * Fix Command Arguments for Solaris_Once_Init_2
6842 static const char* apzSolaris_Once_Init_2Patch[] = {
6844 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6847 %1{0}, {0}, {0}, {%3}%4\n\
6849 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6854 * Description of Solaris_Int_Const fix
6856 tSCC zSolaris_Int_ConstName[] =
6857 "solaris_int_const";
6860 * File name selection pattern
6862 tSCC zSolaris_Int_ConstList[] =
6863 "sys/int_const.h\0";
6865 * Machine/OS name selection pattern
6867 tSCC* apzSolaris_Int_ConstMachs[] = {
6869 (const char*)NULL };
6872 * content selection pattern - do fix if pattern found
6874 tSCC zSolaris_Int_ConstSelect0[] =
6875 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6877 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6879 #define SOLARIS_INT_CONST_TEST_CT 1
6880 static tTestDesc aSolaris_Int_ConstTests[] = {
6881 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6884 * Fix Command Arguments for Solaris_Int_Const
6886 static const char* apzSolaris_Int_ConstPatch[] = {
6888 "#define\tUINT8_C(c)\t(c)\n\
6890 #define\tUINT16_C(c)\t(c)",
6893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6895 * Description of Solaris_Int_Limits_1 fix
6897 tSCC zSolaris_Int_Limits_1Name[] =
6898 "solaris_int_limits_1";
6901 * File name selection pattern
6903 tSCC zSolaris_Int_Limits_1List[] =
6904 "sys/int_limits.h\0";
6906 * Machine/OS name selection pattern
6908 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6910 (const char*)NULL };
6913 * content selection pattern - do fix if pattern found
6915 tSCC zSolaris_Int_Limits_1Select0[] =
6916 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6917 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6919 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6920 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6921 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6924 * Fix Command Arguments for Solaris_Int_Limits_1
6926 static const char* apzSolaris_Int_Limits_1Patch[] = {
6928 "#define\tUINT8_MAX\t(255)\n\
6929 #define\tUINT16_MAX\t(65535)",
6932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6934 * Description of Solaris_Int_Limits_2 fix
6936 tSCC zSolaris_Int_Limits_2Name[] =
6937 "solaris_int_limits_2";
6940 * File name selection pattern
6942 tSCC zSolaris_Int_Limits_2List[] =
6943 "sys/int_limits.h\0";
6945 * Machine/OS name selection pattern
6947 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6949 (const char*)NULL };
6952 * content selection pattern - do fix if pattern found
6954 tSCC zSolaris_Int_Limits_2Select0[] =
6955 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6957 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6958 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6959 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6962 * Fix Command Arguments for Solaris_Int_Limits_2
6964 static const char* apzSolaris_Int_Limits_2Patch[] = {
6966 "#define\t%1_FAST16_%2 %132_%2",
6969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6971 * Description of Solaris_Int_Limits_3 fix
6973 tSCC zSolaris_Int_Limits_3Name[] =
6974 "solaris_int_limits_3";
6977 * File name selection pattern
6979 tSCC zSolaris_Int_Limits_3List[] =
6980 "sys/int_limits.h\0";
6982 * Machine/OS name selection pattern
6984 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6986 (const char*)NULL };
6989 * content selection pattern - do fix if pattern found
6991 tSCC zSolaris_Int_Limits_3Select0[] =
6992 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6994 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6995 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6996 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6999 * Fix Command Arguments for Solaris_Int_Limits_3
7001 static const char* apzSolaris_Int_Limits_3Patch[] = {
7003 "#define\tSIZE_MAX\t4294967295U",
7006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7008 * Description of Solaris_Int_Types fix
7010 tSCC zSolaris_Int_TypesName[] =
7011 "solaris_int_types";
7014 * File name selection pattern
7016 tSCC zSolaris_Int_TypesList[] =
7017 "sys/int_types.h\0";
7019 * Machine/OS name selection pattern
7021 #define apzSolaris_Int_TypesMachs (const char**)NULL
7024 * content selection pattern - do fix if pattern found
7026 tSCC zSolaris_Int_TypesSelect0[] =
7027 "__STDC__ - 0 == 0";
7030 * content bypass pattern - skip fix if pattern found
7032 tSCC zSolaris_Int_TypesBypass0[] =
7035 #define SOLARIS_INT_TYPES_TEST_CT 2
7036 static tTestDesc aSolaris_Int_TypesTests[] = {
7037 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
7038 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
7041 * Fix Command Arguments for Solaris_Int_Types
7043 static const char* apzSolaris_Int_TypesPatch[] = {
7045 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
7048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7050 * Description of Solaris_Posix_Spawn_Restrict fix
7052 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7053 "solaris_posix_spawn_restrict";
7056 * File name selection pattern
7058 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7061 * Machine/OS name selection pattern
7063 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7065 (const char*)NULL };
7068 * content selection pattern - do fix if pattern found
7070 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7071 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7073 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7074 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7075 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7078 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7080 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7082 "%1*_RESTRICT_KYWD %2%3",
7085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7087 * Description of Solaris_Std___Filbuf fix
7089 tSCC zSolaris_Std___FilbufName[] =
7090 "solaris_std___filbuf";
7093 * File name selection pattern
7095 tSCC zSolaris_Std___FilbufList[] =
7098 * Machine/OS name selection pattern
7100 tSCC* apzSolaris_Std___FilbufMachs[] = {
7102 (const char*)NULL };
7105 * content selection pattern - do fix if pattern found
7107 tSCC zSolaris_Std___FilbufSelect0[] =
7108 "(using std::perror;\n\
7112 * content bypass pattern - skip fix if pattern found
7114 tSCC zSolaris_Std___FilbufBypass0[] =
7115 "using std::__filbuf";
7117 #define SOLARIS_STD___FILBUF_TEST_CT 2
7118 static tTestDesc aSolaris_Std___FilbufTests[] = {
7119 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7120 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7123 * Fix Command Arguments for Solaris_Std___Filbuf
7125 static const char* apzSolaris_Std___FilbufPatch[] = {
7128 using std::__filbuf;\n\
7129 using std::__flsbuf;\n\
7134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7136 * Description of Solaris_Stdio_Tag fix
7138 tSCC zSolaris_Stdio_TagName[] =
7139 "solaris_stdio_tag";
7142 * File name selection pattern
7144 tSCC zSolaris_Stdio_TagList[] =
7147 * Machine/OS name selection pattern
7149 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7152 * content selection pattern - do fix if pattern found
7154 tSCC zSolaris_Stdio_TagSelect0[] =
7155 "__cplusplus < 54321L";
7158 * content bypass pattern - skip fix if pattern found
7160 tSCC zSolaris_Stdio_TagBypass0[] =
7163 #define SOLARIS_STDIO_TAG_TEST_CT 2
7164 static tTestDesc aSolaris_Stdio_TagTests[] = {
7165 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7166 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7169 * Fix Command Arguments for Solaris_Stdio_Tag
7171 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7172 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7175 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7177 * Description of Solaris_Sys_Va_List fix
7179 tSCC zSolaris_Sys_Va_ListName[] =
7180 "solaris_sys_va_list";
7183 * File name selection pattern
7185 tSCC zSolaris_Sys_Va_ListList[] =
7188 * Machine/OS name selection pattern
7190 tSCC* apzSolaris_Sys_Va_ListMachs[] = {
7192 (const char*)NULL };
7195 * content selection pattern - do fix if pattern found
7197 tSCC zSolaris_Sys_Va_ListSelect0[] =
7199 typedef void \\*__va_list;\n\
7201 typedef char \\*__va_list;\n\
7204 #define SOLARIS_SYS_VA_LIST_TEST_CT 1
7205 static tTestDesc aSolaris_Sys_Va_ListTests[] = {
7206 { TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
7209 * Fix Command Arguments for Solaris_Sys_Va_List
7211 static const char* apzSolaris_Sys_Va_ListPatch[] = {
7214 typedef __builtin_va_list __va_list;\n\
7220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7222 * Description of Statsswtch fix
7224 tSCC zStatsswtchName[] =
7228 * File name selection pattern
7230 tSCC zStatsswtchList[] =
7233 * Machine/OS name selection pattern
7235 #define apzStatsswtchMachs (const char**)NULL
7238 * content selection pattern - do fix if pattern found
7240 tSCC zStatsswtchSelect0[] =
7243 #define STATSSWTCH_TEST_CT 1
7244 static tTestDesc aStatsswtchTests[] = {
7245 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
7248 * Fix Command Arguments for Statsswtch
7250 static const char* apzStatsswtchPatch[] = {
7255 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7257 * Description of Stdio_Stdarg_H fix
7259 tSCC zStdio_Stdarg_HName[] =
7263 * File name selection pattern
7265 tSCC zStdio_Stdarg_HList[] =
7268 * Machine/OS name selection pattern
7270 tSCC* apzStdio_Stdarg_HMachs[] = {
7271 "*-*-solaris2.1[0-9]*",
7272 (const char*)NULL };
7275 * content bypass pattern - skip fix if pattern found
7277 tSCC zStdio_Stdarg_HBypass0[] =
7278 "include.*(stdarg.h|machine/ansi.h)";
7280 #define STDIO_STDARG_H_TEST_CT 1
7281 static tTestDesc aStdio_Stdarg_HTests[] = {
7282 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7285 * Fix Command Arguments for Stdio_Stdarg_H
7287 static const char* apzStdio_Stdarg_HPatch[] = {
7289 "#define __need___va_list\n\
7290 #include <stdarg.h>\n",
7293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7295 * Description of Stdio_Va_List fix
7297 tSCC zStdio_Va_ListName[] =
7301 * File name selection pattern
7303 tSCC zStdio_Va_ListList[] =
7306 * Machine/OS name selection pattern
7308 tSCC* apzStdio_Va_ListMachs[] = {
7309 "*-*-solaris2.1[0-9]*",
7310 (const char*)NULL };
7313 * content bypass pattern - skip fix if pattern found
7315 tSCC zStdio_Va_ListBypass0[] =
7316 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7318 #define STDIO_VA_LIST_TEST_CT 1
7319 static tTestDesc aStdio_Va_ListTests[] = {
7320 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7323 * Fix Command Arguments for Stdio_Va_List
7325 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7326 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7327 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7328 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7329 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7330 s@ va_list@ __not_va_list__@\n\
7331 s@\\*va_list@*__not_va_list__@\n\
7332 s@ __va_list)@ __gnuc_va_list)@\n\
7333 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7334 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7335 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7336 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7337 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7338 s@VA_LIST@DUMMY_VA_LIST@\n\
7339 s@_Va_LIST@_VA_LIST@",
7342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7344 * Description of Stdio_Va_List_Clients fix
7346 tSCC zStdio_Va_List_ClientsName[] =
7347 "stdio_va_list_clients";
7350 * File name selection pattern
7352 tSCC zStdio_Va_List_ClientsList[] =
7353 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7355 * Machine/OS name selection pattern
7357 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7360 * content bypass pattern - skip fix if pattern found
7362 tSCC zStdio_Va_List_ClientsBypass0[] =
7363 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7364 tSCC zStdio_Va_List_ClientsBypass1[] =
7365 "include <stdarg\\.h>|#ifdef va_start";
7367 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7368 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7369 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7370 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7373 * Fix Command Arguments for Stdio_Va_List_Clients
7375 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7376 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7377 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7378 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7379 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7380 s@ va_list@ __not_va_list__@\n\
7381 s@\\*va_list@*__not_va_list__@\n\
7382 s@ __va_list)@ __gnuc_va_list)@\n\
7383 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7384 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7385 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7386 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7387 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7388 s@VA_LIST@DUMMY_VA_LIST@\n\
7389 s@_Va_LIST@_VA_LIST@",
7392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7394 * Description of Strict_Ansi_Not fix
7396 tSCC zStrict_Ansi_NotName[] =
7400 * File name selection pattern
7402 #define zStrict_Ansi_NotList (char*)NULL
7404 * Machine/OS name selection pattern
7406 #define apzStrict_Ansi_NotMachs (const char**)NULL
7409 * content selection pattern - do fix if pattern found
7411 tSCC zStrict_Ansi_NotSelect0[] =
7412 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7415 * content bypass pattern - skip fix if pattern found
7417 tSCC zStrict_Ansi_NotBypass0[] =
7418 "GNU and MIPS C compilers define __STDC__ differently";
7419 tSCC zStrict_Ansi_NotBypass1[] =
7420 "__SCO_VERSION__.*__STDC__ != 1";
7423 * perform the C function call test
7425 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7427 #define STRICT_ANSI_NOT_TEST_CT 4
7428 static tTestDesc aStrict_Ansi_NotTests[] = {
7429 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7430 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7431 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7432 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7435 * Fix Command Arguments for Strict_Ansi_Not
7437 static const char* apzStrict_Ansi_NotPatch[] = {
7439 "%1 !defined(__STRICT_ANSI__)",
7442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7444 * Description of Strict_Ansi_Not_Ctd fix
7446 tSCC zStrict_Ansi_Not_CtdName[] =
7447 "strict_ansi_not_ctd";
7450 * File name selection pattern
7452 tSCC zStrict_Ansi_Not_CtdList[] =
7453 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7455 * Machine/OS name selection pattern
7457 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7460 * content selection pattern - do fix if pattern found
7462 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7463 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7466 * perform the C function call test
7468 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7470 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7471 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7472 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7473 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7476 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7478 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7480 "%1 !defined(__STRICT_ANSI__)",
7483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7485 * Description of Strict_Ansi_Only fix
7487 tSCC zStrict_Ansi_OnlyName[] =
7491 * File name selection pattern
7493 #define zStrict_Ansi_OnlyList (char*)NULL
7495 * Machine/OS name selection pattern
7497 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7500 * content selection pattern - do fix if pattern found
7502 tSCC zStrict_Ansi_OnlySelect0[] =
7503 "^([ \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)";
7506 * perform the C function call test
7508 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7510 #define STRICT_ANSI_ONLY_TEST_CT 2
7511 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7512 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7513 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7516 * Fix Command Arguments for Strict_Ansi_Only
7518 static const char* apzStrict_Ansi_OnlyPatch[] = {
7520 "%1 defined(__STRICT_ANSI__)",
7523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7525 * Description of Struct_File fix
7527 tSCC zStruct_FileName[] =
7531 * File name selection pattern
7533 tSCC zStruct_FileList[] =
7536 * Machine/OS name selection pattern
7538 #define apzStruct_FileMachs (const char**)NULL
7541 * content selection pattern - do fix if pattern found
7543 tSCC zStruct_FileSelect0[] =
7544 "^.*xdrstdio_create.*struct __file_s";
7546 #define STRUCT_FILE_TEST_CT 1
7547 static tTestDesc aStruct_FileTests[] = {
7548 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7551 * Fix Command Arguments for Struct_File
7553 static const char* apzStruct_FilePatch[] = {
7555 "struct __file_s;\n\
7559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7561 * Description of Struct_Sockaddr fix
7563 tSCC zStruct_SockaddrName[] =
7567 * File name selection pattern
7569 tSCC zStruct_SockaddrList[] =
7572 * Machine/OS name selection pattern
7574 #define apzStruct_SockaddrMachs (const char**)NULL
7577 * content selection pattern - do fix if pattern found
7579 tSCC zStruct_SockaddrSelect0[] =
7580 "^.*authdes_create.*struct sockaddr[^_]";
7583 * content bypass pattern - skip fix if pattern found
7585 tSCC zStruct_SockaddrBypass0[] =
7587 tSCC zStruct_SockaddrBypass1[] =
7588 "struct sockaddr;\n";
7590 #define STRUCT_SOCKADDR_TEST_CT 3
7591 static tTestDesc aStruct_SockaddrTests[] = {
7592 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7593 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7594 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7597 * Fix Command Arguments for Struct_Sockaddr
7599 static const char* apzStruct_SockaddrPatch[] = {
7601 "struct sockaddr;\n\
7605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7607 * Description of Sun_Auth_Proto fix
7609 tSCC zSun_Auth_ProtoName[] =
7613 * File name selection pattern
7615 tSCC zSun_Auth_ProtoList[] =
7616 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7618 * Machine/OS name selection pattern
7620 #define apzSun_Auth_ProtoMachs (const char**)NULL
7623 * content selection pattern - do fix if pattern found
7625 tSCC zSun_Auth_ProtoSelect0[] =
7626 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7629 * content bypass pattern - skip fix if pattern found
7631 tSCC zSun_Auth_ProtoBypass0[] =
7634 #define SUN_AUTH_PROTO_TEST_CT 2
7635 static tTestDesc aSun_Auth_ProtoTests[] = {
7636 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7637 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7640 * Fix Command Arguments for Sun_Auth_Proto
7642 static const char* apzSun_Auth_ProtoPatch[] = {
7644 "#ifdef __cplusplus\n\
7649 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7652 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7654 * Description of Sun_Bogus_Ifdef fix
7656 tSCC zSun_Bogus_IfdefName[] =
7660 * File name selection pattern
7662 tSCC zSun_Bogus_IfdefList[] =
7663 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7665 * Machine/OS name selection pattern
7667 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7670 * content selection pattern - do fix if pattern found
7672 tSCC zSun_Bogus_IfdefSelect0[] =
7673 "#ifdef(.*\\|\\|.*)";
7675 #define SUN_BOGUS_IFDEF_TEST_CT 1
7676 static tTestDesc aSun_Bogus_IfdefTests[] = {
7677 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7680 * Fix Command Arguments for Sun_Bogus_Ifdef
7682 static const char* apzSun_Bogus_IfdefPatch[] = {
7687 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7689 * Description of Sun_Catmacro fix
7691 tSCC zSun_CatmacroName[] =
7695 * File name selection pattern
7697 tSCC zSun_CatmacroList[] =
7698 "pixrect/memvar.h\0";
7700 * Machine/OS name selection pattern
7702 #define apzSun_CatmacroMachs (const char**)NULL
7705 * content selection pattern - do fix if pattern found
7707 tSCC zSun_CatmacroSelect0[] =
7708 "^#define[ \t]+CAT\\(a,b\\).*";
7710 #define SUN_CATMACRO_TEST_CT 1
7711 static tTestDesc aSun_CatmacroTests[] = {
7712 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7715 * Fix Command Arguments for Sun_Catmacro
7717 static const char* apzSun_CatmacroPatch[] = {
7720 # define CAT(a,b) a##b\n\
7726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7728 * Description of Sun_Malloc fix
7730 tSCC zSun_MallocName[] =
7734 * File name selection pattern
7736 tSCC zSun_MallocList[] =
7739 * Machine/OS name selection pattern
7741 #define apzSun_MallocMachs (const char**)NULL
7744 * content bypass pattern - skip fix if pattern found
7746 tSCC zSun_MallocBypass0[] =
7747 "_CLASSIC_ANSI_TYPES";
7749 #define SUN_MALLOC_TEST_CT 1
7750 static tTestDesc aSun_MallocTests[] = {
7751 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7754 * Fix Command Arguments for Sun_Malloc
7756 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7757 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7758 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7759 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7760 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7761 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7766 * Description of Sun_Rusers_Semi fix
7768 tSCC zSun_Rusers_SemiName[] =
7772 * File name selection pattern
7774 tSCC zSun_Rusers_SemiList[] =
7775 "rpcsvc/rusers.h\0";
7777 * Machine/OS name selection pattern
7779 #define apzSun_Rusers_SemiMachs (const char**)NULL
7782 * content selection pattern - do fix if pattern found
7784 tSCC zSun_Rusers_SemiSelect0[] =
7787 #define SUN_RUSERS_SEMI_TEST_CT 1
7788 static tTestDesc aSun_Rusers_SemiTests[] = {
7789 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7792 * Fix Command Arguments for Sun_Rusers_Semi
7794 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7795 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7800 * Description of Sun_Signal fix
7802 tSCC zSun_SignalName[] =
7806 * File name selection pattern
7808 tSCC zSun_SignalList[] =
7809 "sys/signal.h\0signal.h\0";
7811 * Machine/OS name selection pattern
7813 #define apzSun_SignalMachs (const char**)NULL
7816 * content selection pattern - do fix if pattern found
7818 tSCC zSun_SignalSelect0[] =
7819 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7821 #define SUN_SIGNAL_TEST_CT 1
7822 static tTestDesc aSun_SignalTests[] = {
7823 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7826 * Fix Command Arguments for Sun_Signal
7828 static const char* apzSun_SignalPatch[] = {
7830 "#ifdef __cplusplus\n\
7831 void\t(*signal(...))(...);\n\
7837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7839 * Description of Sunos_Strlen fix
7841 tSCC zSunos_StrlenName[] =
7845 * File name selection pattern
7847 tSCC zSunos_StrlenList[] =
7850 * Machine/OS name selection pattern
7852 #define apzSunos_StrlenMachs (const char**)NULL
7855 * content selection pattern - do fix if pattern found
7857 tSCC zSunos_StrlenSelect0[] =
7858 "int[ \t]*strlen\\(\\);(.*)";
7860 #define SUNOS_STRLEN_TEST_CT 1
7861 static tTestDesc aSunos_StrlenTests[] = {
7862 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7865 * Fix Command Arguments for Sunos_Strlen
7867 static const char* apzSunos_StrlenPatch[] = {
7869 "__SIZE_TYPE__ strlen();%1",
7872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7874 * Description of Svr4_Disable_Opt fix
7876 tSCC zSvr4_Disable_OptName[] =
7880 * File name selection pattern
7882 tSCC zSvr4_Disable_OptList[] =
7885 * Machine/OS name selection pattern
7887 #define apzSvr4_Disable_OptMachs (const char**)NULL
7890 * content selection pattern - do fix if pattern found
7892 tSCC zSvr4_Disable_OptSelect0[] =
7893 "#define.*__std_hdr_";
7895 #define SVR4_DISABLE_OPT_TEST_CT 1
7896 static tTestDesc aSvr4_Disable_OptTests[] = {
7897 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7900 * Fix Command Arguments for Svr4_Disable_Opt
7902 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7903 "-e", "/#define.*__std_hdr_/d",
7906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7908 * Description of Svr4_Getcwd fix
7910 tSCC zSvr4_GetcwdName[] =
7914 * File name selection pattern
7916 tSCC zSvr4_GetcwdList[] =
7917 "stdlib.h\0unistd.h\0prototypes.h\0";
7919 * Machine/OS name selection pattern
7921 #define apzSvr4_GetcwdMachs (const char**)NULL
7924 * content selection pattern - do fix if pattern found
7926 tSCC zSvr4_GetcwdSelect0[] =
7927 "getcwd\\(char \\*, int\\)";
7929 #define SVR4_GETCWD_TEST_CT 1
7930 static tTestDesc aSvr4_GetcwdTests[] = {
7931 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7934 * Fix Command Arguments for Svr4_Getcwd
7936 static const char* apzSvr4_GetcwdPatch[] = {
7938 "getcwd(char *, size_t)",
7941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7943 * Description of Svr4_Profil fix
7945 tSCC zSvr4_ProfilName[] =
7949 * File name selection pattern
7951 tSCC zSvr4_ProfilList[] =
7952 "stdlib.h\0unistd.h\0";
7954 * Machine/OS name selection pattern
7956 #define apzSvr4_ProfilMachs (const char**)NULL
7959 * content selection pattern - do fix if pattern found
7961 tSCC zSvr4_ProfilSelect0[] =
7962 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7964 #define SVR4_PROFIL_TEST_CT 1
7965 static tTestDesc aSvr4_ProfilTests[] = {
7966 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7969 * Fix Command Arguments for Svr4_Profil
7971 static const char* apzSvr4_ProfilPatch[] = {
7973 "profil(unsigned short *, size_t, int, unsigned int)",
7976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7978 * Description of Svr4_Sighandler_Type fix
7980 tSCC zSvr4_Sighandler_TypeName[] =
7981 "svr4_sighandler_type";
7984 * File name selection pattern
7986 tSCC zSvr4_Sighandler_TypeList[] =
7989 * Machine/OS name selection pattern
7991 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7994 * content selection pattern - do fix if pattern found
7996 tSCC zSvr4_Sighandler_TypeSelect0[] =
7997 "void *\\(\\*\\)\\(\\)";
7999 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8000 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8001 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8004 * Fix Command Arguments for Svr4_Sighandler_Type
8006 static const char* apzSvr4_Sighandler_TypePatch[] = {
8011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8013 * Description of Svr4_Undeclared_Getrnge fix
8015 tSCC zSvr4_Undeclared_GetrngeName[] =
8016 "svr4_undeclared_getrnge";
8019 * File name selection pattern
8021 tSCC zSvr4_Undeclared_GetrngeList[] =
8024 * Machine/OS name selection pattern
8026 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8029 * content selection pattern - do fix if pattern found
8031 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8035 * content bypass pattern - skip fix if pattern found
8037 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8038 "static void getrnge";
8040 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8041 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8042 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8043 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8046 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8048 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8051 static int getrnge ();",
8052 "^static int[ \t]+size;",
8055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8057 * Description of Sysv68_String fix
8059 tSCC zSysv68_StringName[] =
8063 * File name selection pattern
8065 tSCC zSysv68_StringList[] =
8066 "testing.h\0string.h\0";
8068 * Machine/OS name selection pattern
8070 #define apzSysv68_StringMachs (const char**)NULL
8073 * content bypass pattern - skip fix if pattern found
8075 tSCC zSysv68_StringBypass0[] =
8076 "_CLASSIC_ANSI_TYPES";
8078 #define SYSV68_STRING_TEST_CT 1
8079 static tTestDesc aSysv68_StringTests[] = {
8080 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8083 * Fix Command Arguments for Sysv68_String
8085 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8086 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8087 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8088 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8089 "-e", "/^extern char$/N",
8090 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8091 "-e", "/^extern int$/N",
8092 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8093 "-e", "/^\tstrncmp(),$/N",
8094 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8095 extern unsigned int\\\n\
8099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8101 * Description of Sysz_Stdlib_For_Sun fix
8103 tSCC zSysz_Stdlib_For_SunName[] =
8104 "sysz_stdlib_for_sun";
8107 * File name selection pattern
8109 tSCC zSysz_Stdlib_For_SunList[] =
8112 * Machine/OS name selection pattern
8114 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8117 * content selection pattern - do fix if pattern found
8119 tSCC zSysz_Stdlib_For_SunSelect0[] =
8120 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8123 * content bypass pattern - skip fix if pattern found
8125 tSCC zSysz_Stdlib_For_SunBypass0[] =
8126 "_CLASSIC_ANSI_TYPES";
8128 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8129 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8130 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8131 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8134 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8136 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8143 * Description of Thread_Keyword fix
8145 tSCC zThread_KeywordName[] =
8149 * File name selection pattern
8151 tSCC zThread_KeywordList[] =
8152 "pthread.h\0bits/sigthread.h\0";
8154 * Machine/OS name selection pattern
8156 #define apzThread_KeywordMachs (const char**)NULL
8159 * content selection pattern - do fix if pattern found
8161 tSCC zThread_KeywordSelect0[] =
8162 "([* ])__thread([,)])";
8164 #define THREAD_KEYWORD_TEST_CT 1
8165 static tTestDesc aThread_KeywordTests[] = {
8166 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8169 * Fix Command Arguments for Thread_Keyword
8171 static const char* apzThread_KeywordPatch[] = {
8176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8178 * Description of Tinfo_Cplusplus fix
8180 tSCC zTinfo_CplusplusName[] =
8184 * File name selection pattern
8186 tSCC zTinfo_CplusplusList[] =
8189 * Machine/OS name selection pattern
8191 #define apzTinfo_CplusplusMachs (const char**)NULL
8194 * content selection pattern - do fix if pattern found
8196 tSCC zTinfo_CplusplusSelect0[] =
8199 #define TINFO_CPLUSPLUS_TEST_CT 1
8200 static tTestDesc aTinfo_CplusplusTests[] = {
8201 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8204 * Fix Command Arguments for Tinfo_Cplusplus
8206 static const char* apzTinfo_CplusplusPatch[] = {
8211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8213 * Description of Ultrix_Const fix
8215 tSCC zUltrix_ConstName[] =
8219 * File name selection pattern
8221 tSCC zUltrix_ConstList[] =
8224 * Machine/OS name selection pattern
8226 #define apzUltrix_ConstMachs (const char**)NULL
8229 * content selection pattern - do fix if pattern found
8231 tSCC zUltrix_ConstSelect0[] =
8232 "perror\\( char \\*";
8234 #define ULTRIX_CONST_TEST_CT 1
8235 static tTestDesc aUltrix_ConstTests[] = {
8236 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
8239 * Fix Command Arguments for Ultrix_Const
8241 static const char* apzUltrix_ConstPatch[] = {
8244 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8249 * Description of Ultrix_Const2 fix
8251 tSCC zUltrix_Const2Name[] =
8255 * File name selection pattern
8257 tSCC zUltrix_Const2List[] =
8260 * Machine/OS name selection pattern
8262 #define apzUltrix_Const2Machs (const char**)NULL
8265 * content selection pattern - do fix if pattern found
8267 tSCC zUltrix_Const2Select0[] =
8268 "\\*fopen\\( char \\*";
8270 #define ULTRIX_CONST2_TEST_CT 1
8271 static tTestDesc aUltrix_Const2Tests[] = {
8272 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
8275 * Fix Command Arguments for Ultrix_Const2
8277 static const char* apzUltrix_Const2Patch[] = {
8279 "%1( const char *%3, const char *",
8280 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8285 * Description of Va_I960_Macro fix
8287 tSCC zVa_I960_MacroName[] =
8291 * File name selection pattern
8293 tSCC zVa_I960_MacroList[] =
8294 "arch/i960/archI960.h\0";
8296 * Machine/OS name selection pattern
8298 #define apzVa_I960_MacroMachs (const char**)NULL
8301 * content selection pattern - do fix if pattern found
8303 tSCC zVa_I960_MacroSelect0[] =
8304 "__(vsiz|vali|vpad|alignof__)";
8306 #define VA_I960_MACRO_TEST_CT 1
8307 static tTestDesc aVa_I960_MacroTests[] = {
8308 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8311 * Fix Command Arguments for Va_I960_Macro
8313 static const char* apzVa_I960_MacroPatch[] = {
8318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8320 * Description of Vms_Define_Can_Use_Extern_Prefix fix
8322 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8323 "vms_define_can_use_extern_prefix";
8326 * File name selection pattern
8328 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8329 "rtldef/decc$types.h\0";
8331 * Machine/OS name selection pattern
8333 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8335 (const char*)NULL };
8338 * content selection pattern - do fix if pattern found
8340 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8342 #[ \t]*if defined\\(__DECCXX\\)\n\
8343 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8345 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
8346 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8347 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8350 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8352 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8354 "%0# elif defined (__GNUC__)\n\
8355 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8360 * Description of Vms_Use_Pragma_Extern_Model fix
8362 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8363 "vms_use_pragma_extern_model";
8366 * File name selection pattern
8368 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8370 * Machine/OS name selection pattern
8372 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8374 (const char*)NULL };
8377 * content selection pattern - do fix if pattern found
8379 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8380 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8381 # pragma extern_model __save\n";
8383 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8384 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8385 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8388 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8390 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8392 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8393 # pragma extern_model __save\n",
8396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8398 * Description of Vms_Disable_Decc_String_Builtins fix
8400 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8401 "vms_disable_decc_string_builtins";
8404 * File name selection pattern
8406 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8407 "rtldef/string.h\0";
8409 * Machine/OS name selection pattern
8411 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8413 (const char*)NULL };
8416 * content selection pattern - do fix if pattern found
8418 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8419 "#if !defined\\(__VAX\\)\n";
8421 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8422 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8423 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8426 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8428 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8430 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8435 * Description of Vms_Use_Quoted_Include fix
8437 tSCC zVms_Use_Quoted_IncludeName[] =
8438 "vms_use_quoted_include";
8441 * File name selection pattern
8443 tSCC zVms_Use_Quoted_IncludeList[] =
8444 "rtldef/wait.h\0starlet_c/pthread.h\0";
8446 * Machine/OS name selection pattern
8448 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8450 (const char*)NULL };
8453 * content selection pattern - do fix if pattern found
8455 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8456 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8458 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8459 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8460 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8463 * Fix Command Arguments for Vms_Use_Quoted_Include
8465 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8472 * Description of Vms_Add_Missing_Braces fix
8474 tSCC zVms_Add_Missing_BracesName[] =
8475 "vms_add_missing_braces";
8478 * File name selection pattern
8480 tSCC zVms_Add_Missing_BracesList[] =
8481 "rtldef/signal.h\0";
8483 * Machine/OS name selection pattern
8485 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8487 (const char*)NULL };
8490 * content selection pattern - do fix if pattern found
8492 tSCC zVms_Add_Missing_BracesSelect0[] =
8493 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8495 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8496 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8497 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8500 * Fix Command Arguments for Vms_Add_Missing_Braces
8502 static const char* apzVms_Add_Missing_BracesPatch[] = {
8507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8509 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8511 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8512 "vms_do_not_redeclare_hostalias";
8515 * File name selection pattern
8517 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8518 "rtldef/resolv.h\0";
8520 * Machine/OS name selection pattern
8522 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8524 (const char*)NULL };
8527 * content selection pattern - do fix if pattern found
8529 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8530 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8531 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8533 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8534 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8535 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8538 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8540 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8548 * Description of Vms_Decc_Builtin fix
8550 tSCC zVms_Decc_BuiltinName[] =
8554 * File name selection pattern
8556 tSCC zVms_Decc_BuiltinList[] =
8557 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8559 * Machine/OS name selection pattern
8561 tSCC* apzVms_Decc_BuiltinMachs[] = {
8563 (const char*)NULL };
8566 * content selection pattern - do fix if pattern found
8568 tSCC zVms_Decc_BuiltinSelect0[] =
8569 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8571 #define VMS_DECC_BUILTIN_TEST_CT 1
8572 static tTestDesc aVms_Decc_BuiltinTests[] = {
8573 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8576 * Fix Command Arguments for Vms_Decc_Builtin
8578 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8579 "-e", "s@__MEMSET@memset@",
8580 "-e", "s@__MEMMOVE@memmove@",
8581 "-e", "s@__MEMCPY@memcpy@",
8582 "-e", "s@__STRLEN@strlen@",
8583 "-e", "s@__STRCPY@strcpy@",
8586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8588 * Description of Vms_No_64bit_Getopt fix
8590 tSCC zVms_No_64bit_GetoptName[] =
8591 "vms_no_64bit_getopt";
8594 * File name selection pattern
8596 tSCC zVms_No_64bit_GetoptList[] =
8597 "rtldef/stdio.h\0rtldef/unistd.h\0";
8599 * Machine/OS name selection pattern
8601 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8603 (const char*)NULL };
8606 * content selection pattern - do fix if pattern found
8608 tSCC zVms_No_64bit_GetoptSelect0[] =
8609 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8611 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8612 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8613 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8616 * Fix Command Arguments for Vms_No_64bit_Getopt
8618 static const char* apzVms_No_64bit_GetoptPatch[] = {
8620 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8626 * Description of Vms_Forward_Declare_Struct fix
8628 tSCC zVms_Forward_Declare_StructName[] =
8629 "vms_forward_declare_struct";
8632 * File name selection pattern
8634 tSCC zVms_Forward_Declare_StructList[] =
8637 * Machine/OS name selection pattern
8639 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8641 (const char*)NULL };
8644 * content selection pattern - do fix if pattern found
8646 tSCC zVms_Forward_Declare_StructSelect0[] =
8647 "(/\\* forward decls for C\\+\\+ \\*/\n\
8648 )#ifdef __cplusplus\n";
8650 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8651 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8652 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8655 * Fix Command Arguments for Vms_Forward_Declare_Struct
8657 static const char* apzVms_Forward_Declare_StructPatch[] = {
8659 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8664 * Description of Vms_Use_Fast_Setjmp fix
8666 tSCC zVms_Use_Fast_SetjmpName[] =
8667 "vms_use_fast_setjmp";
8670 * File name selection pattern
8672 tSCC zVms_Use_Fast_SetjmpList[] =
8673 "rtldef/setjmp.h\0";
8675 * Machine/OS name selection pattern
8677 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8679 (const char*)NULL };
8682 * content selection pattern - do fix if pattern found
8684 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8685 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8687 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8688 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8689 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8692 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8694 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8696 "%0 defined (__GNUC__) ||",
8699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8701 * Description of Void_Null fix
8703 tSCC zVoid_NullName[] =
8707 * File name selection pattern
8709 tSCC zVoid_NullList[] =
8710 "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";
8712 * Machine/OS name selection pattern
8714 #define apzVoid_NullMachs (const char**)NULL
8717 * content selection pattern - do fix if pattern found
8719 tSCC zVoid_NullSelect0[] =
8720 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8723 * content bypass pattern - skip fix if pattern found
8725 tSCC zVoid_NullBypass0[] =
8727 tSCC zVoid_NullBypass1[] =
8730 #define VOID_NULL_TEST_CT 3
8731 static tTestDesc aVoid_NullTests[] = {
8732 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8733 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8734 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8737 * Fix Command Arguments for Void_Null
8739 static const char* apzVoid_NullPatch[] = {
8742 #ifdef __cplusplus\n\
8744 #define NULL __null\n\
8745 #else /* ! __GNUG__ */\n\
8747 #endif /* __GNUG__ */\n\
8748 #else /* ! __cplusplus */\n\
8749 #define NULL ((void *)0)\n\
8750 #endif /* __cplusplus */\n\
8751 #endif /* !NULL */",
8754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8756 * Description of Vxworks_Gcc_Problem fix
8758 tSCC zVxworks_Gcc_ProblemName[] =
8759 "vxworks_gcc_problem";
8762 * File name selection pattern
8764 tSCC zVxworks_Gcc_ProblemList[] =
8765 "types/vxTypesBase.h\0";
8767 * Machine/OS name selection pattern
8769 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8772 * content selection pattern - do fix if pattern found
8774 tSCC zVxworks_Gcc_ProblemSelect0[] =
8775 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8777 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8778 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8779 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8782 * Fix Command Arguments for Vxworks_Gcc_Problem
8784 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8785 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8786 "-e", "/[ \t]size_t/i\\\n\
8787 #ifndef _GCC_SIZE_T\\\n\
8788 #define _GCC_SIZE_T\n",
8789 "-e", "/[ \t]size_t/a\\\n\
8791 "-e", "/[ \t]ptrdiff_t/i\\\n\
8792 #ifndef _GCC_PTRDIFF_T\\\n\
8793 #define _GCC_PTRDIFF_T\n",
8794 "-e", "/[ \t]ptrdiff_t/a\\\n\
8796 "-e", "/[ \t]wchar_t/i\\\n\
8797 #ifndef _GCC_WCHAR_T\\\n\
8798 #define _GCC_WCHAR_T\n",
8799 "-e", "/[ \t]wchar_t/a\\\n\
8803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8805 * Description of Vxworks_Ioctl_Macro fix
8807 tSCC zVxworks_Ioctl_MacroName[] =
8808 "vxworks_ioctl_macro";
8811 * File name selection pattern
8813 tSCC zVxworks_Ioctl_MacroList[] =
8816 * Machine/OS name selection pattern
8818 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
8820 (const char*)NULL };
8821 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
8822 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
8825 * Fix Command Arguments for Vxworks_Ioctl_Macro
8827 static const char* apzVxworks_Ioctl_MacroPatch[] = {
8830 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
8831 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
8834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8836 * Description of Vxworks_Mkdir_Macro fix
8838 tSCC zVxworks_Mkdir_MacroName[] =
8839 "vxworks_mkdir_macro";
8842 * File name selection pattern
8844 tSCC zVxworks_Mkdir_MacroList[] =
8847 * Machine/OS name selection pattern
8849 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
8851 (const char*)NULL };
8852 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
8853 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
8856 * Fix Command Arguments for Vxworks_Mkdir_Macro
8858 static const char* apzVxworks_Mkdir_MacroPatch[] = {
8861 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
8862 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
8865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8867 * Description of Vxworks_Needs_Vxtypes fix
8869 tSCC zVxworks_Needs_VxtypesName[] =
8870 "vxworks_needs_vxtypes";
8873 * File name selection pattern
8875 tSCC zVxworks_Needs_VxtypesList[] =
8878 * Machine/OS name selection pattern
8880 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8883 * content selection pattern - do fix if pattern found
8885 tSCC zVxworks_Needs_VxtypesSelect0[] =
8886 "uint_t([ \t]+_clocks_per_sec)";
8888 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8889 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8890 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8893 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8895 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8902 * Description of Vxworks_Needs_Vxworks fix
8904 tSCC zVxworks_Needs_VxworksName[] =
8905 "vxworks_needs_vxworks";
8908 * File name selection pattern
8910 tSCC zVxworks_Needs_VxworksList[] =
8913 * Machine/OS name selection pattern
8915 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8918 * content selection pattern - do fix if pattern found
8920 tSCC zVxworks_Needs_VxworksSelect0[] =
8921 "#[ \t]define[ \t]+__INCstath";
8924 * perform the 'test' shell command - do fix on success
8926 tSCC zVxworks_Needs_VxworksTest0[] =
8927 " -r types/vxTypesOld.h";
8928 tSCC zVxworks_Needs_VxworksTest1[] =
8929 " -n \"`egrep '#include' $file`\"";
8930 tSCC zVxworks_Needs_VxworksTest2[] =
8931 " -n \"`egrep ULONG $file`\"";
8933 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8934 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8935 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8936 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8937 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8938 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8941 * Fix Command Arguments for Vxworks_Needs_Vxworks
8943 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8944 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8945 #include <types/vxTypesOld.h>\n",
8948 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8950 * Description of Vxworks_Regs fix
8952 tSCC zVxworks_RegsName[] =
8956 * File name selection pattern
8958 #define zVxworks_RegsList (char*)NULL
8960 * Machine/OS name selection pattern
8962 tSCC* apzVxworks_RegsMachs[] = {
8964 (const char*)NULL };
8967 * content selection pattern - do fix if pattern found
8969 tSCC zVxworks_RegsSelect0[] =
8970 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
8972 #define VXWORKS_REGS_TEST_CT 1
8973 static tTestDesc aVxworks_RegsTests[] = {
8974 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
8977 * Fix Command Arguments for Vxworks_Regs
8979 static const char* apzVxworks_RegsPatch[] = {
8981 "#include <arch/../regs.h>",
8984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8986 * Description of Vxworks_Time fix
8988 tSCC zVxworks_TimeName[] =
8992 * File name selection pattern
8994 tSCC zVxworks_TimeList[] =
8997 * Machine/OS name selection pattern
8999 #define apzVxworks_TimeMachs (const char**)NULL
9002 * content selection pattern - do fix if pattern found
9004 tSCC zVxworks_TimeSelect0[] =
9005 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9008 * perform the 'test' shell command - do fix on success
9010 tSCC zVxworks_TimeTest0[] =
9013 #define VXWORKS_TIME_TEST_CT 2
9014 static tTestDesc aVxworks_TimeTests[] = {
9015 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9016 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9019 * Fix Command Arguments for Vxworks_Time
9021 static const char* apzVxworks_TimePatch[] = {
9023 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9024 #ifdef __cplusplus\n\
9025 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9027 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9029 #define __gcc_VOIDFUNCPTR_defined\n\
9031 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9034 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9036 * Description of Vxworks_Write_Const fix
9038 tSCC zVxworks_Write_ConstName[] =
9039 "vxworks_write_const";
9042 * File name selection pattern
9044 tSCC zVxworks_Write_ConstList[] =
9047 * Machine/OS name selection pattern
9049 tSCC* apzVxworks_Write_ConstMachs[] = {
9051 (const char*)NULL };
9052 #define VXWORKS_WRITE_CONST_TEST_CT 0
9053 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9056 * Fix Command Arguments for Vxworks_Write_Const
9058 static const char* apzVxworks_Write_ConstPatch[] = {
9060 "extern int write (int, const char*, size_t);",
9061 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9066 * Description of X11_Class fix
9068 tSCC zX11_ClassName[] =
9072 * File name selection pattern
9074 tSCC zX11_ClassList[] =
9077 * Machine/OS name selection pattern
9079 #define apzX11_ClassMachs (const char**)NULL
9082 * content selection pattern - do fix if pattern found
9084 tSCC zX11_ClassSelect0[] =
9085 "^([ \t]*char \\*)class;(.*)";
9088 * content bypass pattern - skip fix if pattern found
9090 tSCC zX11_ClassBypass0[] =
9093 #define X11_CLASS_TEST_CT 2
9094 static tTestDesc aX11_ClassTests[] = {
9095 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9096 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9099 * Fix Command Arguments for X11_Class
9101 static const char* apzX11_ClassPatch[] = {
9103 "#ifdef __cplusplus\n\
9110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9112 * Description of X11_Class_Usage fix
9114 tSCC zX11_Class_UsageName[] =
9118 * File name selection pattern
9120 tSCC zX11_Class_UsageList[] =
9121 "Xm/BaseClassI.h\0";
9123 * Machine/OS name selection pattern
9125 #define apzX11_Class_UsageMachs (const char**)NULL
9128 * content selection pattern - do fix if pattern found
9130 tSCC zX11_Class_UsageSelect0[] =
9134 * content bypass pattern - skip fix if pattern found
9136 tSCC zX11_Class_UsageBypass0[] =
9139 #define X11_CLASS_USAGE_TEST_CT 2
9140 static tTestDesc aX11_Class_UsageTests[] = {
9141 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9142 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9145 * Fix Command Arguments for X11_Class_Usage
9147 static const char* apzX11_Class_UsagePatch[] = {
9152 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9154 * Description of X11_New fix
9156 tSCC zX11_NewName[] =
9160 * File name selection pattern
9162 tSCC zX11_NewList[] =
9165 * Machine/OS name selection pattern
9167 #define apzX11_NewMachs (const char**)NULL
9170 * content bypass pattern - skip fix if pattern found
9172 tSCC zX11_NewBypass0[] =
9175 #define X11_NEW_TEST_CT 1
9176 static tTestDesc aX11_NewTests[] = {
9177 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9180 * Fix Command Arguments for X11_New
9182 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9183 "-e", "/Widget\told, new;/i\\\n\
9184 #ifdef __cplusplus\\\n\
9185 \\\tWidget\told, c_new;\\\n\
9187 "-e", "/Widget\told, new;/a\\\n\
9189 "-e", "s/Widget new,/Widget c_new,/g",
9192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9194 * Description of X11_Sprintf fix
9196 tSCC zX11_SprintfName[] =
9200 * File name selection pattern
9202 tSCC zX11_SprintfList[] =
9203 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9205 * Machine/OS name selection pattern
9207 #define apzX11_SprintfMachs (const char**)NULL
9210 * content selection pattern - do fix if pattern found
9212 tSCC zX11_SprintfSelect0[] =
9213 "^extern char \\*\tsprintf\\(\\);$";
9215 #define X11_SPRINTF_TEST_CT 1
9216 static tTestDesc aX11_SprintfTests[] = {
9217 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
9220 * Fix Command Arguments for X11_Sprintf
9222 static const char* apzX11_SprintfPatch[] = {
9224 "#ifndef __STDC__\n\
9226 #endif /* !defined __STDC__ */",
9229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9231 * Description of Feraiseexcept_Nosse_Invalid fix
9233 tSCC zFeraiseexcept_Nosse_InvalidName[] =
9234 "feraiseexcept_nosse_invalid";
9237 * File name selection pattern
9239 tSCC zFeraiseexcept_Nosse_InvalidList[] =
9242 * Machine/OS name selection pattern
9244 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
9245 "i[34567]86-*-linux*",
9248 (const char*)NULL };
9251 * content selection pattern - do fix if pattern found
9253 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
9254 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
9257 * content bypass pattern - skip fix if pattern found
9259 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
9260 "\"fdiv .*; fwait\"";
9262 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
9263 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
9264 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
9265 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
9268 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
9270 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
9272 "# ifdef __SSE_MATH__\n\
9275 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
9276 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
9280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9282 * Description of Feraiseexcept_Nosse_Divbyzero fix
9284 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
9285 "feraiseexcept_nosse_divbyzero";
9288 * File name selection pattern
9290 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
9293 * Machine/OS name selection pattern
9295 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
9296 "i[34567]86-*-linux*",
9299 (const char*)NULL };
9302 * content selection pattern - do fix if pattern found
9304 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
9305 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
9308 * content bypass pattern - skip fix if pattern found
9310 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
9311 "\"fdivp .*; fwait\"";
9313 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
9314 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
9315 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
9316 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
9319 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
9321 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
9323 "# ifdef __SSE_MATH__\n\
9326 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
9327 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
9331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9333 * Description of Complier_H_Tradcpp fix
9335 tSCC zComplier_H_TradcppName[] =
9336 "complier_h_tradcpp";
9339 * File name selection pattern
9341 tSCC zComplier_H_TradcppList[] =
9342 "linux/compiler.h\0";
9344 * Machine/OS name selection pattern
9346 #define apzComplier_H_TradcppMachs (const char**)NULL
9349 * content selection pattern - do fix if pattern found
9351 tSCC zComplier_H_TradcppSelect0[] =
9352 "#define __builtin_warning\\(x, y\\.\\.\\.\\) \\(1\\)";
9354 #define COMPLIER_H_TRADCPP_TEST_CT 1
9355 static tTestDesc aComplier_H_TradcppTests[] = {
9356 { TT_EGREP, zComplier_H_TradcppSelect0, (regex_t*)NULL }, };
9359 * Fix Command Arguments for Complier_H_Tradcpp
9361 static const char* apzComplier_H_TradcppPatch[] = {
9363 "/* __builtin_warning(x, y...) is obsolete */",
9367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9371 #define REGEX_COUNT 267
9372 #define MACH_LIST_SIZE_LIMIT 187
9373 #define FIX_COUNT 228
9376 * Enumerate the fixes
9379 AAB_AIX_STDIO_FIXIDX,
9380 AAB_AIX_FCNTL_FIXIDX,
9381 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9382 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9383 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9384 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9385 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9386 AAB_SUN_MEMCPY_FIXIDX,
9387 AAB_VXWORKS_ASSERT_FIXIDX,
9388 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9389 AAB_VXWORKS_STDINT_FIXIDX,
9390 AAB_VXWORKS_UNISTD_FIXIDX,
9394 AIX_NET_IF_ARP_FIXIDX,
9396 AIX_ONCE_INIT_1_FIXIDX,
9397 AIX_ONCE_INIT_2_FIXIDX,
9398 AIX_MUTEX_INITIALIZER_1_FIXIDX,
9399 AIX_COND_INITIALIZER_1_FIXIDX,
9400 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9402 AIX_STDINT_1_FIXIDX,
9403 AIX_STDINT_2_FIXIDX,
9404 AIX_STDINT_3_FIXIDX,
9405 AIX_STDINT_4_FIXIDX,
9406 AIX_STDINT_5_FIXIDX,
9407 AIX_SYSMACHINE_FIXIDX,
9408 AIX_SYSWAIT_2_FIXIDX,
9409 AIX_VOLATILE_FIXIDX,
9410 ALPHA___ASSERT_FIXIDX,
9411 ALPHA_ASSERT_FIXIDX,
9412 ALPHA_GETOPT_FIXIDX,
9413 ALPHA_IF_SEMICOLON_FIXIDX,
9414 ALPHA_PARENS_FIXIDX,
9416 AVOID_BOOL_DEFINE_FIXIDX,
9417 AVOID_BOOL_TYPE_FIXIDX,
9418 AVOID_WCHAR_T_TYPE_FIXIDX,
9419 BAD_STRUCT_TERM_FIXIDX,
9421 BROKEN_ASSERT_STDIO_FIXIDX,
9422 BROKEN_ASSERT_STDLIB_FIXIDX,
9425 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9426 CTRL_QUOTES_DEF_FIXIDX,
9427 CTRL_QUOTES_USE_FIXIDX,
9429 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9430 DARWIN_EXTERNC_FIXIDX,
9431 DARWIN_GCC4_BREAKAGE_FIXIDX,
9432 DARWIN_PRIVATE_EXTERN_FIXIDX,
9433 DARWIN_STDINT_1_FIXIDX,
9434 DARWIN_STDINT_2_FIXIDX,
9435 DARWIN_STDINT_3_FIXIDX,
9436 DARWIN_STDINT_4_FIXIDX,
9437 DARWIN_STDINT_5_FIXIDX,
9438 DARWIN_STDINT_6_FIXIDX,
9439 DARWIN_STDINT_7_FIXIDX,
9440 DEC_INTERN_ASM_FIXIDX,
9441 DJGPP_WCHAR_H_FIXIDX,
9443 FREEBSD_GCC3_BREAKAGE_FIXIDX,
9444 FREEBSD_GCC4_BREAKAGE_FIXIDX,
9445 GLIBC_C99_INLINE_1_FIXIDX,
9446 GLIBC_C99_INLINE_1A_FIXIDX,
9447 GLIBC_C99_INLINE_2_FIXIDX,
9448 GLIBC_C99_INLINE_3_FIXIDX,
9449 GLIBC_C99_INLINE_4_FIXIDX,
9450 GLIBC_MUTEX_INIT_FIXIDX,
9451 GLIBC_STDINT_FIXIDX,
9452 GLIBC_STRNCPY_FIXIDX,
9453 GLIBC_TGMATH_FIXIDX,
9457 HPPA_HPUX_FP_MACROS_FIXIDX,
9458 HPUX10_CPP_POW_INLINE_FIXIDX,
9459 HPUX11_CPP_POW_INLINE_FIXIDX,
9460 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9461 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9462 HPUX10_STDIO_DECLARATIONS_FIXIDX,
9464 HPUX11_FABSF_FIXIDX,
9465 HPUX11_PTHREAD_CONST_FIXIDX,
9466 HPUX11_SIZE_T_FIXIDX,
9467 HPUX11_SNPRINTF_FIXIDX,
9468 HPUX11_VSNPRINTF_FIXIDX,
9469 HPUX8_BOGUS_INLINES_FIXIDX,
9470 HPUX_CTYPE_MACROS_FIXIDX,
9472 HPUX_LONG_DOUBLE_FIXIDX,
9473 HPUX_LONG_DOUBLE_2_FIXIDX,
9474 HPUX_SYSTIME_FIXIDX,
9475 HPUX_SPU_INFO_FIXIDX,
9476 HPUX11_EXTERN_SENDFILE_FIXIDX,
9477 HPUX11_EXTERN_SENDPATH_FIXIDX,
9478 HPUX_EXTERN_ERRNO_FIXIDX,
9479 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9480 HPUX_C99_INTPTR_FIXIDX,
9481 HPUX_C99_INTTYPES_FIXIDX,
9482 HPUX_C99_INTTYPES2_FIXIDX,
9483 HPUX_STDINT_LEAST_FAST_FIXIDX,
9484 HPUX_INTTYPE_INT8_T_FIXIDX,
9485 HPUX_IMAGINARY_I_FIXIDX,
9486 HUGE_VAL_HEX_FIXIDX,
9487 HUGE_VALF_HEX_FIXIDX,
9488 HUGE_VALL_HEX_FIXIDX,
9489 INT_ABORT_FREE_AND_EXIT_FIXIDX,
9490 IO_QUOTES_DEF_FIXIDX,
9491 IO_QUOTES_USE_FIXIDX,
9492 IP_MISSING_SEMI_FIXIDX,
9493 IRIX_LIMITS_CONST_FIXIDX,
9494 IRIX_STDIO_VA_LIST_FIXIDX,
9495 KANDR_CONCAT_FIXIDX,
9496 LINUX_IA64_UCONTEXT_FIXIDX,
9497 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9498 LYNXOS_MISSING_PUTENV_FIXIDX,
9499 MACHINE_ANSI_H_VA_LIST_FIXIDX,
9500 MACHINE_NAME_FIXIDX,
9501 MATH_EXCEPTION_FIXIDX,
9502 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9503 NESTED_AUTH_DES_FIXIDX,
9504 NETBSD_C99_INLINE_1_FIXIDX,
9505 NETBSD_C99_INLINE_2_FIXIDX,
9506 NETBSD_EXTRA_SEMICOLON_FIXIDX,
9507 NEWLIB_STDINT_1_FIXIDX,
9508 NEWLIB_STDINT_2_FIXIDX,
9509 NEXT_MATH_PREFIX_FIXIDX,
9510 NEXT_TEMPLATE_FIXIDX,
9511 NEXT_VOLITILE_FIXIDX,
9512 NEXT_WAIT_UNION_FIXIDX,
9513 NODEENT_SYNTAX_FIXIDX,
9514 OPENBSD_NULL_DEFINITION_FIXIDX,
9515 OBSTACK_LVALUE_CAST_FIXIDX,
9516 OPENBSD_VA_START_FIXIDX,
9517 OSF_NAMESPACE_A_FIXIDX,
9518 OSF_NAMESPACE_C_FIXIDX,
9519 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9520 READ_RET_TYPE_FIXIDX,
9521 RPC_XDR_LVALUE_CAST_A_FIXIDX,
9522 RPC_XDR_LVALUE_CAST_B_FIXIDX,
9523 RS6000_DOUBLE_FIXIDX,
9524 RS6000_FCHMOD_FIXIDX,
9525 RS6000_PARAM_FIXIDX,
9526 SOLARIS___RESTRICT_FIXIDX,
9527 SOLARIS_COMPLEX_FIXIDX,
9528 SOLARIS_COMPLEX_CXX_FIXIDX,
9529 SOLARIS_CXX_LINKAGE_FIXIDX,
9530 SOLARIS_GETC_STRICT_STDC_FIXIDX,
9531 SOLARIS_LONGJMP_NORETURN_FIXIDX,
9532 SOLARIS_MATH_1_FIXIDX,
9533 SOLARIS_MATH_2_FIXIDX,
9534 SOLARIS_MATH_3_FIXIDX,
9535 SOLARIS_MATH_4_FIXIDX,
9536 SOLARIS_MATH_8_FIXIDX,
9537 SOLARIS_MATH_9_FIXIDX,
9538 SOLARIS_MATH_10_FIXIDX,
9539 SOLARIS_MUTEX_INIT_2_FIXIDX,
9540 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9541 SOLARIS_RWLOCK_INIT_1_FIXIDX,
9542 SOLARIS_ONCE_INIT_1_FIXIDX,
9543 SOLARIS_ONCE_INIT_2_FIXIDX,
9544 SOLARIS_INT_CONST_FIXIDX,
9545 SOLARIS_INT_LIMITS_1_FIXIDX,
9546 SOLARIS_INT_LIMITS_2_FIXIDX,
9547 SOLARIS_INT_LIMITS_3_FIXIDX,
9548 SOLARIS_INT_TYPES_FIXIDX,
9549 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9550 SOLARIS_STD___FILBUF_FIXIDX,
9551 SOLARIS_STDIO_TAG_FIXIDX,
9552 SOLARIS_SYS_VA_LIST_FIXIDX,
9554 STDIO_STDARG_H_FIXIDX,
9555 STDIO_VA_LIST_FIXIDX,
9556 STDIO_VA_LIST_CLIENTS_FIXIDX,
9557 STRICT_ANSI_NOT_FIXIDX,
9558 STRICT_ANSI_NOT_CTD_FIXIDX,
9559 STRICT_ANSI_ONLY_FIXIDX,
9561 STRUCT_SOCKADDR_FIXIDX,
9562 SUN_AUTH_PROTO_FIXIDX,
9563 SUN_BOGUS_IFDEF_FIXIDX,
9564 SUN_CATMACRO_FIXIDX,
9566 SUN_RUSERS_SEMI_FIXIDX,
9568 SUNOS_STRLEN_FIXIDX,
9569 SVR4_DISABLE_OPT_FIXIDX,
9572 SVR4_SIGHANDLER_TYPE_FIXIDX,
9573 SVR4_UNDECLARED_GETRNGE_FIXIDX,
9574 SYSV68_STRING_FIXIDX,
9575 SYSZ_STDLIB_FOR_SUN_FIXIDX,
9576 THREAD_KEYWORD_FIXIDX,
9577 TINFO_CPLUSPLUS_FIXIDX,
9578 ULTRIX_CONST_FIXIDX,
9579 ULTRIX_CONST2_FIXIDX,
9580 VA_I960_MACRO_FIXIDX,
9581 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9582 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9583 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9584 VMS_USE_QUOTED_INCLUDE_FIXIDX,
9585 VMS_ADD_MISSING_BRACES_FIXIDX,
9586 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9587 VMS_DECC_BUILTIN_FIXIDX,
9588 VMS_NO_64BIT_GETOPT_FIXIDX,
9589 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9590 VMS_USE_FAST_SETJMP_FIXIDX,
9592 VXWORKS_GCC_PROBLEM_FIXIDX,
9593 VXWORKS_IOCTL_MACRO_FIXIDX,
9594 VXWORKS_MKDIR_MACRO_FIXIDX,
9595 VXWORKS_NEEDS_VXTYPES_FIXIDX,
9596 VXWORKS_NEEDS_VXWORKS_FIXIDX,
9597 VXWORKS_REGS_FIXIDX,
9598 VXWORKS_TIME_FIXIDX,
9599 VXWORKS_WRITE_CONST_FIXIDX,
9601 X11_CLASS_USAGE_FIXIDX,
9604 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9605 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9606 COMPLIER_H_TRADCPP_FIXIDX
9609 tFixDesc fixDescList[ FIX_COUNT ] = {
9610 { zAab_Aix_StdioName, zAab_Aix_StdioList,
9611 apzAab_Aix_StdioMachs,
9612 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
9615 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
9616 apzAab_Aix_FcntlMachs,
9617 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
9620 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
9621 apzAab_Darwin7_9_Long_Double_FuncsMachs,
9622 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9623 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9625 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
9626 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9627 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9628 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9630 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
9631 apzAab_Fd_Zero_Gnu_Types_HMachs,
9632 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9633 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9635 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9636 apzAab_Fd_Zero_Selectbits_HMachs,
9637 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9638 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9640 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9641 apzAab_Solaris_Sys_Varargs_HMachs,
9642 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9643 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9645 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9646 apzAab_Sun_MemcpyMachs,
9647 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9648 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9650 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
9651 apzAab_Vxworks_AssertMachs,
9652 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9653 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
9655 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
9656 apzAab_Vxworks_Regs_VxtypesMachs,
9657 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9658 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
9660 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
9661 apzAab_Vxworks_StdintMachs,
9662 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9663 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
9665 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
9666 apzAab_Vxworks_UnistdMachs,
9667 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9668 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
9670 { zAix_AssertName, zAix_AssertList,
9672 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9673 aAix_AssertTests, apzAix_AssertPatch, 0 },
9675 { zAix_ComplexName, zAix_ComplexList,
9676 apzAix_ComplexMachs,
9677 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9678 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9680 { zAix_MallocName, zAix_MallocList,
9682 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9683 aAix_MallocTests, apzAix_MallocPatch, 0 },
9685 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9686 apzAix_Net_If_ArpMachs,
9687 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9688 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9690 { zAix_NullName, zAix_NullList,
9692 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9693 aAix_NullTests, apzAix_NullPatch, 0 },
9695 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9696 apzAix_Once_Init_1Machs,
9697 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9698 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9700 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9701 apzAix_Once_Init_2Machs,
9702 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9703 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9705 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9706 apzAix_Mutex_Initializer_1Machs,
9707 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9708 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9710 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9711 apzAix_Cond_Initializer_1Machs,
9712 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9713 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9715 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9716 apzAix_Rwlock_Initializer_1Machs,
9717 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9718 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9720 { zAix_PthreadName, zAix_PthreadList,
9721 apzAix_PthreadMachs,
9722 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9723 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9725 { zAix_Stdint_1Name, zAix_Stdint_1List,
9726 apzAix_Stdint_1Machs,
9727 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9728 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9730 { zAix_Stdint_2Name, zAix_Stdint_2List,
9731 apzAix_Stdint_2Machs,
9732 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9733 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9735 { zAix_Stdint_3Name, zAix_Stdint_3List,
9736 apzAix_Stdint_3Machs,
9737 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9738 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9740 { zAix_Stdint_4Name, zAix_Stdint_4List,
9741 apzAix_Stdint_4Machs,
9742 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9743 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9745 { zAix_Stdint_5Name, zAix_Stdint_5List,
9746 apzAix_Stdint_5Machs,
9747 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9748 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9750 { zAix_SysmachineName, zAix_SysmachineList,
9751 apzAix_SysmachineMachs,
9752 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9753 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9755 { zAix_Syswait_2Name, zAix_Syswait_2List,
9756 apzAix_Syswait_2Machs,
9757 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9758 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9760 { zAix_VolatileName, zAix_VolatileList,
9761 apzAix_VolatileMachs,
9762 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9763 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9765 { zAlpha___AssertName, zAlpha___AssertList,
9766 apzAlpha___AssertMachs,
9767 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9768 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9770 { zAlpha_AssertName, zAlpha_AssertList,
9771 apzAlpha_AssertMachs,
9772 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9773 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9775 { zAlpha_GetoptName, zAlpha_GetoptList,
9776 apzAlpha_GetoptMachs,
9777 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9778 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9780 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9781 apzAlpha_If_SemicolonMachs,
9782 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9783 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9785 { zAlpha_ParensName, zAlpha_ParensList,
9786 apzAlpha_ParensMachs,
9787 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9788 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9790 { zAlpha_SbrkName, zAlpha_SbrkList,
9792 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9793 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9795 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9796 apzAvoid_Bool_DefineMachs,
9797 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9798 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9800 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9801 apzAvoid_Bool_TypeMachs,
9802 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9803 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9805 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9806 apzAvoid_Wchar_T_TypeMachs,
9807 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9808 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9810 { zBad_Struct_TermName, zBad_Struct_TermList,
9811 apzBad_Struct_TermMachs,
9812 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9813 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9815 { zBadquoteName, zBadquoteList,
9817 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9818 aBadquoteTests, apzBadquotePatch, 0 },
9820 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9821 apzBroken_Assert_StdioMachs,
9822 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9823 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9825 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9826 apzBroken_Assert_StdlibMachs,
9827 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9828 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9830 { zBroken_CabsName, zBroken_CabsList,
9831 apzBroken_CabsMachs,
9832 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9833 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9835 { zBroken_NanName, zBroken_NanList,
9837 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9838 aBroken_NanTests, apzBroken_NanPatch, 0 },
9840 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9841 apzBsd_Stdio_Attrs_ConflictMachs,
9842 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9843 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9845 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9846 apzCtrl_Quotes_DefMachs,
9847 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9848 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9850 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9851 apzCtrl_Quotes_UseMachs,
9852 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9853 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9855 { zCxx_UnreadyName, zCxx_UnreadyList,
9856 apzCxx_UnreadyMachs,
9857 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9858 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9860 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
9861 apzDarwin_9_Long_Double_Funcs_2Machs,
9862 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9863 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
9865 { zDarwin_ExterncName, zDarwin_ExterncList,
9866 apzDarwin_ExterncMachs,
9867 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9868 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9870 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9871 apzDarwin_Gcc4_BreakageMachs,
9872 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9873 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9875 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9876 apzDarwin_Private_ExternMachs,
9877 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9878 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9880 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9881 apzDarwin_Stdint_1Machs,
9882 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9883 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9885 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9886 apzDarwin_Stdint_2Machs,
9887 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9888 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9890 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9891 apzDarwin_Stdint_3Machs,
9892 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9893 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9895 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9896 apzDarwin_Stdint_4Machs,
9897 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9898 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9900 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9901 apzDarwin_Stdint_5Machs,
9902 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9903 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9905 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9906 apzDarwin_Stdint_6Machs,
9907 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9908 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9910 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9911 apzDarwin_Stdint_7Machs,
9912 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9913 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9915 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9916 apzDec_Intern_AsmMachs,
9917 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9918 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9920 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9921 apzDjgpp_Wchar_HMachs,
9922 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9923 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9925 { zEcd_CursorName, zEcd_CursorList,
9927 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9928 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9930 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9931 apzFreebsd_Gcc3_BreakageMachs,
9932 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9933 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9935 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9936 apzFreebsd_Gcc4_BreakageMachs,
9937 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9938 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9940 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9941 apzGlibc_C99_Inline_1Machs,
9942 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9943 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9945 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9946 apzGlibc_C99_Inline_1aMachs,
9947 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9948 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9950 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9951 apzGlibc_C99_Inline_2Machs,
9952 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9953 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9955 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9956 apzGlibc_C99_Inline_3Machs,
9957 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9958 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9960 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9961 apzGlibc_C99_Inline_4Machs,
9962 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9963 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9965 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9966 apzGlibc_Mutex_InitMachs,
9967 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9968 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9970 { zGlibc_StdintName, zGlibc_StdintList,
9971 apzGlibc_StdintMachs,
9972 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9973 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9975 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9976 apzGlibc_StrncpyMachs,
9977 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9978 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9980 { zGlibc_TgmathName, zGlibc_TgmathList,
9981 apzGlibc_TgmathMachs,
9982 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9983 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9985 { zGnu_TypesName, zGnu_TypesList,
9987 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9988 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9990 { zHp_InlineName, zHp_InlineList,
9992 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9993 aHp_InlineTests, apzHp_InlinePatch, 0 },
9995 { zHp_SysfileName, zHp_SysfileList,
9997 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9998 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
10000 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
10001 apzHppa_Hpux_Fp_MacrosMachs,
10002 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10003 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10005 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10006 apzHpux10_Cpp_Pow_InlineMachs,
10007 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10008 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10010 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10011 apzHpux11_Cpp_Pow_InlineMachs,
10012 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10013 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10015 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10016 apzHpux10_Ctype_Declarations1Machs,
10017 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10018 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10020 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10021 apzHpux10_Ctype_Declarations2Machs,
10022 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10023 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10025 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10026 apzHpux10_Stdio_DeclarationsMachs,
10027 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10028 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10030 { zHpux11_AbsName, zHpux11_AbsList,
10031 apzHpux11_AbsMachs,
10032 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10033 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10035 { zHpux11_FabsfName, zHpux11_FabsfList,
10036 apzHpux11_FabsfMachs,
10037 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10038 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10040 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10041 apzHpux11_Pthread_ConstMachs,
10042 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10043 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10045 { zHpux11_Size_TName, zHpux11_Size_TList,
10046 apzHpux11_Size_TMachs,
10047 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10048 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10050 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10051 apzHpux11_SnprintfMachs,
10052 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10053 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
10055 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
10056 apzHpux11_VsnprintfMachs,
10057 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10058 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
10060 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
10061 apzHpux8_Bogus_InlinesMachs,
10062 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10063 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10065 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10066 apzHpux_Ctype_MacrosMachs,
10067 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10068 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10070 { zHpux_HtonlName, zHpux_HtonlList,
10071 apzHpux_HtonlMachs,
10072 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10073 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10075 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10076 apzHpux_Long_DoubleMachs,
10077 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10078 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10080 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10081 apzHpux_Long_Double_2Machs,
10082 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10083 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10085 { zHpux_SystimeName, zHpux_SystimeList,
10086 apzHpux_SystimeMachs,
10087 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10088 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10090 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10091 apzHpux_Spu_InfoMachs,
10092 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10093 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10095 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10096 apzHpux11_Extern_SendfileMachs,
10097 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10098 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10100 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10101 apzHpux11_Extern_SendpathMachs,
10102 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10103 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10105 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10106 apzHpux_Extern_ErrnoMachs,
10107 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10108 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10110 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10111 apzHpux_Pthread_InitializersMachs,
10112 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10113 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10115 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10116 apzHpux_C99_IntptrMachs,
10117 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10118 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10120 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10121 apzHpux_C99_InttypesMachs,
10122 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10123 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10125 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10126 apzHpux_C99_Inttypes2Machs,
10127 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10128 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10130 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10131 apzHpux_Stdint_Least_FastMachs,
10132 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10133 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10135 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10136 apzHpux_Inttype_Int8_TMachs,
10137 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10138 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10140 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10141 apzHpux_Imaginary_IMachs,
10142 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10143 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10145 { zHuge_Val_HexName, zHuge_Val_HexList,
10146 apzHuge_Val_HexMachs,
10147 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10148 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10150 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10151 apzHuge_Valf_HexMachs,
10152 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10153 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10155 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10156 apzHuge_Vall_HexMachs,
10157 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10158 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10160 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10161 apzInt_Abort_Free_And_ExitMachs,
10162 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10163 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10165 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10166 apzIo_Quotes_DefMachs,
10167 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10168 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10170 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10171 apzIo_Quotes_UseMachs,
10172 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10173 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10175 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10176 apzIp_Missing_SemiMachs,
10177 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10178 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10180 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10181 apzIrix_Limits_ConstMachs,
10182 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10183 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10185 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10186 apzIrix_Stdio_Va_ListMachs,
10187 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10188 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10190 { zKandr_ConcatName, zKandr_ConcatList,
10191 apzKandr_ConcatMachs,
10192 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10193 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10195 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10196 apzLinux_Ia64_UcontextMachs,
10197 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10198 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10200 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10201 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10202 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10203 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10205 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10206 apzLynxos_Missing_PutenvMachs,
10207 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10208 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10210 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10211 apzMachine_Ansi_H_Va_ListMachs,
10212 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10213 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10215 { zMachine_NameName, zMachine_NameList,
10216 apzMachine_NameMachs,
10217 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10218 aMachine_NameTests, apzMachine_NamePatch, 0 },
10220 { zMath_ExceptionName, zMath_ExceptionList,
10221 apzMath_ExceptionMachs,
10222 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10223 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
10225 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
10226 apzMath_Huge_Val_From_Dbl_MaxMachs,
10227 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10228 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10230 { zNested_Auth_DesName, zNested_Auth_DesList,
10231 apzNested_Auth_DesMachs,
10232 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10233 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
10235 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
10236 apzNetbsd_C99_Inline_1Machs,
10237 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10238 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
10240 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
10241 apzNetbsd_C99_Inline_2Machs,
10242 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10243 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
10245 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
10246 apzNetbsd_Extra_SemicolonMachs,
10247 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10248 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
10250 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
10251 apzNewlib_Stdint_1Machs,
10252 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10253 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
10255 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
10256 apzNewlib_Stdint_2Machs,
10257 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10258 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
10260 { zNext_Math_PrefixName, zNext_Math_PrefixList,
10261 apzNext_Math_PrefixMachs,
10262 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10263 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
10265 { zNext_TemplateName, zNext_TemplateList,
10266 apzNext_TemplateMachs,
10267 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10268 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
10270 { zNext_VolitileName, zNext_VolitileList,
10271 apzNext_VolitileMachs,
10272 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10273 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
10275 { zNext_Wait_UnionName, zNext_Wait_UnionList,
10276 apzNext_Wait_UnionMachs,
10277 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10278 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
10280 { zNodeent_SyntaxName, zNodeent_SyntaxList,
10281 apzNodeent_SyntaxMachs,
10282 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10283 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
10285 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
10286 apzOpenbsd_Null_DefinitionMachs,
10287 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10288 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
10290 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
10291 apzObstack_Lvalue_CastMachs,
10292 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10293 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
10295 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
10296 apzOpenbsd_Va_StartMachs,
10297 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10298 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
10300 { zOsf_Namespace_AName, zOsf_Namespace_AList,
10301 apzOsf_Namespace_AMachs,
10302 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10303 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
10305 { zOsf_Namespace_CName, zOsf_Namespace_CList,
10306 apzOsf_Namespace_CMachs,
10307 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10308 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
10310 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
10311 apzPthread_Incomplete_Struct_ArgumentMachs,
10312 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10313 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10315 { zRead_Ret_TypeName, zRead_Ret_TypeList,
10316 apzRead_Ret_TypeMachs,
10317 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10318 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
10320 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
10321 apzRpc_Xdr_Lvalue_Cast_AMachs,
10322 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10323 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10325 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
10326 apzRpc_Xdr_Lvalue_Cast_BMachs,
10327 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10328 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10330 { zRs6000_DoubleName, zRs6000_DoubleList,
10331 apzRs6000_DoubleMachs,
10332 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10333 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
10335 { zRs6000_FchmodName, zRs6000_FchmodList,
10336 apzRs6000_FchmodMachs,
10337 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10338 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
10340 { zRs6000_ParamName, zRs6000_ParamList,
10341 apzRs6000_ParamMachs,
10342 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10343 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
10345 { zSolaris___RestrictName, zSolaris___RestrictList,
10346 apzSolaris___RestrictMachs,
10347 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10348 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
10350 { zSolaris_ComplexName, zSolaris_ComplexList,
10351 apzSolaris_ComplexMachs,
10352 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10353 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
10355 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
10356 apzSolaris_Complex_CxxMachs,
10357 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10358 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
10360 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
10361 apzSolaris_Cxx_LinkageMachs,
10362 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10363 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
10365 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
10366 apzSolaris_Getc_Strict_StdcMachs,
10367 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10368 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
10370 { zSolaris_Longjmp_NoreturnName, zSolaris_Longjmp_NoreturnList,
10371 apzSolaris_Longjmp_NoreturnMachs,
10372 SOLARIS_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10373 aSolaris_Longjmp_NoreturnTests, apzSolaris_Longjmp_NoreturnPatch, 0 },
10375 { zSolaris_Math_1Name, zSolaris_Math_1List,
10376 apzSolaris_Math_1Machs,
10377 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10378 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
10380 { zSolaris_Math_2Name, zSolaris_Math_2List,
10381 apzSolaris_Math_2Machs,
10382 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10383 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
10385 { zSolaris_Math_3Name, zSolaris_Math_3List,
10386 apzSolaris_Math_3Machs,
10387 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10388 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
10390 { zSolaris_Math_4Name, zSolaris_Math_4List,
10391 apzSolaris_Math_4Machs,
10392 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10393 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
10395 { zSolaris_Math_8Name, zSolaris_Math_8List,
10396 apzSolaris_Math_8Machs,
10397 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10398 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
10400 { zSolaris_Math_9Name, zSolaris_Math_9List,
10401 apzSolaris_Math_9Machs,
10402 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10403 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
10405 { zSolaris_Math_10Name, zSolaris_Math_10List,
10406 apzSolaris_Math_10Machs,
10407 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10408 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
10410 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
10411 apzSolaris_Mutex_Init_2Machs,
10412 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10413 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
10415 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
10416 apzSolaris_Pow_Int_OverloadMachs,
10417 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10418 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
10420 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
10421 apzSolaris_Rwlock_Init_1Machs,
10422 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10423 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
10425 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
10426 apzSolaris_Once_Init_1Machs,
10427 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10428 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
10430 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
10431 apzSolaris_Once_Init_2Machs,
10432 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10433 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
10435 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
10436 apzSolaris_Int_ConstMachs,
10437 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10438 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
10440 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
10441 apzSolaris_Int_Limits_1Machs,
10442 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10443 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
10445 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
10446 apzSolaris_Int_Limits_2Machs,
10447 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10448 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
10450 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
10451 apzSolaris_Int_Limits_3Machs,
10452 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10453 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
10455 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
10456 apzSolaris_Int_TypesMachs,
10457 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10458 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
10460 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
10461 apzSolaris_Posix_Spawn_RestrictMachs,
10462 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10463 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10465 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
10466 apzSolaris_Std___FilbufMachs,
10467 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10468 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
10470 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
10471 apzSolaris_Stdio_TagMachs,
10472 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10473 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
10475 { zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
10476 apzSolaris_Sys_Va_ListMachs,
10477 SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10478 aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
10480 { zStatsswtchName, zStatsswtchList,
10481 apzStatsswtchMachs,
10482 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10483 aStatsswtchTests, apzStatsswtchPatch, 0 },
10485 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
10486 apzStdio_Stdarg_HMachs,
10487 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10488 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
10490 { zStdio_Va_ListName, zStdio_Va_ListList,
10491 apzStdio_Va_ListMachs,
10492 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10493 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
10495 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
10496 apzStdio_Va_List_ClientsMachs,
10497 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10498 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
10500 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
10501 apzStrict_Ansi_NotMachs,
10502 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10503 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
10505 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
10506 apzStrict_Ansi_Not_CtdMachs,
10507 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10508 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
10510 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
10511 apzStrict_Ansi_OnlyMachs,
10512 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10513 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
10515 { zStruct_FileName, zStruct_FileList,
10516 apzStruct_FileMachs,
10517 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10518 aStruct_FileTests, apzStruct_FilePatch, 0 },
10520 { zStruct_SockaddrName, zStruct_SockaddrList,
10521 apzStruct_SockaddrMachs,
10522 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10523 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
10525 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
10526 apzSun_Auth_ProtoMachs,
10527 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10528 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
10530 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
10531 apzSun_Bogus_IfdefMachs,
10532 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10533 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
10535 { zSun_CatmacroName, zSun_CatmacroList,
10536 apzSun_CatmacroMachs,
10537 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10538 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
10540 { zSun_MallocName, zSun_MallocList,
10541 apzSun_MallocMachs,
10542 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10543 aSun_MallocTests, apzSun_MallocPatch, 0 },
10545 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
10546 apzSun_Rusers_SemiMachs,
10547 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10548 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
10550 { zSun_SignalName, zSun_SignalList,
10551 apzSun_SignalMachs,
10552 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10553 aSun_SignalTests, apzSun_SignalPatch, 0 },
10555 { zSunos_StrlenName, zSunos_StrlenList,
10556 apzSunos_StrlenMachs,
10557 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10558 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
10560 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
10561 apzSvr4_Disable_OptMachs,
10562 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10563 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
10565 { zSvr4_GetcwdName, zSvr4_GetcwdList,
10566 apzSvr4_GetcwdMachs,
10567 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10568 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
10570 { zSvr4_ProfilName, zSvr4_ProfilList,
10571 apzSvr4_ProfilMachs,
10572 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10573 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
10575 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
10576 apzSvr4_Sighandler_TypeMachs,
10577 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10578 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
10580 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
10581 apzSvr4_Undeclared_GetrngeMachs,
10582 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10583 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
10585 { zSysv68_StringName, zSysv68_StringList,
10586 apzSysv68_StringMachs,
10587 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
10588 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
10590 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
10591 apzSysz_Stdlib_For_SunMachs,
10592 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10593 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
10595 { zThread_KeywordName, zThread_KeywordList,
10596 apzThread_KeywordMachs,
10597 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10598 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
10600 { zTinfo_CplusplusName, zTinfo_CplusplusList,
10601 apzTinfo_CplusplusMachs,
10602 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10603 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
10605 { zUltrix_ConstName, zUltrix_ConstList,
10606 apzUltrix_ConstMachs,
10607 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10608 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
10610 { zUltrix_Const2Name, zUltrix_Const2List,
10611 apzUltrix_Const2Machs,
10612 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10613 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
10615 { zVa_I960_MacroName, zVa_I960_MacroList,
10616 apzVa_I960_MacroMachs,
10617 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10618 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
10620 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
10621 apzVms_Define_Can_Use_Extern_PrefixMachs,
10622 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10623 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10625 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
10626 apzVms_Use_Pragma_Extern_ModelMachs,
10627 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10628 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10630 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
10631 apzVms_Disable_Decc_String_BuiltinsMachs,
10632 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10633 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10635 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
10636 apzVms_Use_Quoted_IncludeMachs,
10637 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10638 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
10640 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
10641 apzVms_Add_Missing_BracesMachs,
10642 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10643 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
10645 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
10646 apzVms_Do_Not_Redeclare_HostaliasMachs,
10647 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10648 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10650 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
10651 apzVms_Decc_BuiltinMachs,
10652 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10653 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
10655 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
10656 apzVms_No_64bit_GetoptMachs,
10657 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10658 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
10660 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
10661 apzVms_Forward_Declare_StructMachs,
10662 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10663 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10665 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10666 apzVms_Use_Fast_SetjmpMachs,
10667 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10668 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10670 { zVoid_NullName, zVoid_NullList,
10672 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10673 aVoid_NullTests, apzVoid_NullPatch, 0 },
10675 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10676 apzVxworks_Gcc_ProblemMachs,
10677 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10678 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10680 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
10681 apzVxworks_Ioctl_MacroMachs,
10682 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10683 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
10685 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
10686 apzVxworks_Mkdir_MacroMachs,
10687 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10688 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
10690 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10691 apzVxworks_Needs_VxtypesMachs,
10692 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10693 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10695 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10696 apzVxworks_Needs_VxworksMachs,
10697 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10698 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10700 { zVxworks_RegsName, zVxworks_RegsList,
10701 apzVxworks_RegsMachs,
10702 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10703 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
10705 { zVxworks_TimeName, zVxworks_TimeList,
10706 apzVxworks_TimeMachs,
10707 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10708 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10710 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
10711 apzVxworks_Write_ConstMachs,
10712 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10713 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
10715 { zX11_ClassName, zX11_ClassList,
10717 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10718 aX11_ClassTests, apzX11_ClassPatch, 0 },
10720 { zX11_Class_UsageName, zX11_Class_UsageList,
10721 apzX11_Class_UsageMachs,
10722 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10723 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10725 { zX11_NewName, zX11_NewList,
10727 X11_NEW_TEST_CT, FD_MACH_ONLY,
10728 aX11_NewTests, apzX11_NewPatch, 0 },
10730 { zX11_SprintfName, zX11_SprintfList,
10731 apzX11_SprintfMachs,
10732 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10733 aX11_SprintfTests, apzX11_SprintfPatch, 0 },
10735 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10736 apzFeraiseexcept_Nosse_InvalidMachs,
10737 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10738 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10740 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10741 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10742 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10743 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10745 { zComplier_H_TradcppName, zComplier_H_TradcppList,
10746 apzComplier_H_TradcppMachs,
10747 COMPLIER_H_TRADCPP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10748 aComplier_H_TradcppTests, apzComplier_H_TradcppPatch, 0 }