1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed May 23, 2013 at 04:44:10 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 Thu May 23 16:44:10 MSK 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_Complex fix
741 tSCC zAix_ComplexName[] =
745 * File name selection pattern
747 tSCC zAix_ComplexList[] =
750 * Machine/OS name selection pattern
752 tSCC* apzAix_ComplexMachs[] = {
757 * content selection pattern - do fix if pattern found
759 tSCC zAix_ComplexSelect0[] =
760 "#define[ \t]_Complex_I[ \t]__I";
762 #define AIX_COMPLEX_TEST_CT 1
763 static tTestDesc aAix_ComplexTests[] = {
764 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
767 * Fix Command Arguments for Aix_Complex
769 static const char* apzAix_ComplexPatch[] = {
771 "#define _Complex_I (__extension__ 1.0iF)",
774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
776 * Description of Aix_Malloc fix
778 tSCC zAix_MallocName[] =
782 * File name selection pattern
784 tSCC zAix_MallocList[] =
787 * Machine/OS name selection pattern
789 tSCC* apzAix_MallocMachs[] = {
794 * content selection pattern - do fix if pattern found
796 tSCC zAix_MallocSelect0[] =
797 "#ifdef __cplusplus";
799 #define AIX_MALLOC_TEST_CT 1
800 static tTestDesc aAix_MallocTests[] = {
801 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
804 * Fix Command Arguments for Aix_Malloc
806 static const char* apzAix_MallocPatch[] = {
808 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
813 * Description of Aix_Net_If_Arp fix
815 tSCC zAix_Net_If_ArpName[] =
819 * File name selection pattern
821 tSCC zAix_Net_If_ArpList[] =
824 * Machine/OS name selection pattern
826 tSCC* apzAix_Net_If_ArpMachs[] = {
831 * content selection pattern - do fix if pattern found
833 tSCC zAix_Net_If_ArpSelect0[] =
834 "^struct fc_softc \\{";
836 #define AIX_NET_IF_ARP_TEST_CT 1
837 static tTestDesc aAix_Net_If_ArpTests[] = {
838 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
841 * Fix Command Arguments for Aix_Net_If_Arp
843 static const char* apzAix_Net_If_ArpPatch[] = {
845 "typedef struct _fc_softc {",
848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
850 * Description of Aix_Null fix
852 tSCC zAix_NullName[] =
856 * File name selection pattern
858 tSCC zAix_NullList[] =
859 "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";
861 * Machine/OS name selection pattern
863 tSCC* apzAix_NullMachs[] = {
868 * content selection pattern - do fix if pattern found
870 tSCC zAix_NullSelect0[] =
871 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
874 * content bypass pattern - skip fix if pattern found
876 tSCC zAix_NullBypass0[] =
879 #define AIX_NULL_TEST_CT 2
880 static tTestDesc aAix_NullTests[] = {
881 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
882 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
885 * Fix Command Arguments for Aix_Null
887 static const char* apzAix_NullPatch[] = {
890 #ifdef __cplusplus\n\
892 #define NULL __null\n\
893 #else /* ! __GNUG__ */\n\
895 #endif /* __GNUG__ */\n\
896 #else /* ! __cplusplus */\n\
897 #define NULL ((void *)0)\n\
898 #endif /* __cplusplus */\n\
902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
904 * Description of Aix_Once_Init_1 fix
906 tSCC zAix_Once_Init_1Name[] =
910 * File name selection pattern
912 tSCC zAix_Once_Init_1List[] =
915 * Machine/OS name selection pattern
917 tSCC* apzAix_Once_Init_1Machs[] = {
922 * content selection pattern - do fix if pattern found
924 tSCC zAix_Once_Init_1Select0[] =
925 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
928 #define AIX_ONCE_INIT_1_TEST_CT 1
929 static tTestDesc aAix_Once_Init_1Tests[] = {
930 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
933 * Fix Command Arguments for Aix_Once_Init_1
935 static const char* apzAix_Once_Init_1Patch[] = {
937 "#define PTHREAD_ONCE_INIT \\\n\
941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
943 * Description of Aix_Once_Init_2 fix
945 tSCC zAix_Once_Init_2Name[] =
949 * File name selection pattern
951 tSCC zAix_Once_Init_2List[] =
954 * Machine/OS name selection pattern
956 tSCC* apzAix_Once_Init_2Machs[] = {
961 * content selection pattern - do fix if pattern found
963 tSCC zAix_Once_Init_2Select0[] =
967 #define AIX_ONCE_INIT_2_TEST_CT 1
968 static tTestDesc aAix_Once_Init_2Tests[] = {
969 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
972 * Fix Command Arguments for Aix_Once_Init_2
974 static const char* apzAix_Once_Init_2Patch[] = {
980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
982 * Description of Aix_Mutex_Initializer_1 fix
984 tSCC zAix_Mutex_Initializer_1Name[] =
985 "aix_mutex_initializer_1";
988 * File name selection pattern
990 tSCC zAix_Mutex_Initializer_1List[] =
993 * Machine/OS name selection pattern
995 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1000 * content selection pattern - do fix if pattern found
1002 tSCC zAix_Mutex_Initializer_1Select0[] =
1003 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1006 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1007 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1008 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1011 * Fix Command Arguments for Aix_Mutex_Initializer_1
1013 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1015 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1021 * Description of Aix_Cond_Initializer_1 fix
1023 tSCC zAix_Cond_Initializer_1Name[] =
1024 "aix_cond_initializer_1";
1027 * File name selection pattern
1029 tSCC zAix_Cond_Initializer_1List[] =
1032 * Machine/OS name selection pattern
1034 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1036 (const char*)NULL };
1039 * content selection pattern - do fix if pattern found
1041 tSCC zAix_Cond_Initializer_1Select0[] =
1042 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1045 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1046 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1047 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1050 * Fix Command Arguments for Aix_Cond_Initializer_1
1052 static const char* apzAix_Cond_Initializer_1Patch[] = {
1054 "#define PTHREAD_COND_INITIALIZER \\\n\
1058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1060 * Description of Aix_Rwlock_Initializer_1 fix
1062 tSCC zAix_Rwlock_Initializer_1Name[] =
1063 "aix_rwlock_initializer_1";
1066 * File name selection pattern
1068 tSCC zAix_Rwlock_Initializer_1List[] =
1071 * Machine/OS name selection pattern
1073 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1075 (const char*)NULL };
1078 * content selection pattern - do fix if pattern found
1080 tSCC zAix_Rwlock_Initializer_1Select0[] =
1081 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1084 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1085 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1086 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1089 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1091 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1093 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1099 * Description of Aix_Pthread fix
1101 tSCC zAix_PthreadName[] =
1105 * File name selection pattern
1107 tSCC zAix_PthreadList[] =
1110 * Machine/OS name selection pattern
1112 #define apzAix_PthreadMachs (const char**)NULL
1115 * content selection pattern - do fix if pattern found
1117 tSCC zAix_PthreadSelect0[] =
1118 "(#define [A-Za-z_0-9]+)(\\\\\n\
1122 #define AIX_PTHREAD_TEST_CT 1
1123 static tTestDesc aAix_PthreadTests[] = {
1124 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1127 * Fix Command Arguments for Aix_Pthread
1129 static const char* apzAix_PthreadPatch[] = {
1134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1136 * Description of Aix_Stdint_1 fix
1138 tSCC zAix_Stdint_1Name[] =
1142 * File name selection pattern
1144 tSCC zAix_Stdint_1List[] =
1145 "stdint-aix.h\0stdint.h\0";
1147 * Machine/OS name selection pattern
1149 tSCC* apzAix_Stdint_1Machs[] = {
1151 (const char*)NULL };
1154 * content selection pattern - do fix if pattern found
1156 tSCC zAix_Stdint_1Select0[] =
1157 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1158 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1160 #define AIX_STDINT_1_TEST_CT 1
1161 static tTestDesc aAix_Stdint_1Tests[] = {
1162 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1165 * Fix Command Arguments for Aix_Stdint_1
1167 static const char* apzAix_Stdint_1Patch[] = {
1169 "#define UINT8_MAX\t(255)\n\
1170 #define UINT16_MAX\t(65535)",
1173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1175 * Description of Aix_Stdint_2 fix
1177 tSCC zAix_Stdint_2Name[] =
1181 * File name selection pattern
1183 tSCC zAix_Stdint_2List[] =
1184 "stdint-aix.h\0stdint.h\0";
1186 * Machine/OS name selection pattern
1188 tSCC* apzAix_Stdint_2Machs[] = {
1190 (const char*)NULL };
1193 * content selection pattern - do fix if pattern found
1195 tSCC zAix_Stdint_2Select0[] =
1196 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1197 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1198 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1200 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1201 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1202 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1204 #define AIX_STDINT_2_TEST_CT 1
1205 static tTestDesc aAix_Stdint_2Tests[] = {
1206 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1209 * Fix Command Arguments for Aix_Stdint_2
1211 static const char* apzAix_Stdint_2Patch[] = {
1213 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1214 #define INTPTR_MAX\t9223372036854775807L\n\
1215 #define UINTPTR_MAX\t18446744073709551615UL\n\
1217 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1218 #define INTPTR_MAX\t2147483647L\n\
1219 #define UINTPTR_MAX\t4294967295UL",
1222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1224 * Description of Aix_Stdint_3 fix
1226 tSCC zAix_Stdint_3Name[] =
1230 * File name selection pattern
1232 tSCC zAix_Stdint_3List[] =
1233 "stdint-aix.h\0stdint.h\0";
1235 * Machine/OS name selection pattern
1237 tSCC* apzAix_Stdint_3Machs[] = {
1239 (const char*)NULL };
1242 * content selection pattern - do fix if pattern found
1244 tSCC zAix_Stdint_3Select0[] =
1245 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1246 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1248 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1249 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1251 #define AIX_STDINT_3_TEST_CT 1
1252 static tTestDesc aAix_Stdint_3Tests[] = {
1253 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1256 * Fix Command Arguments for Aix_Stdint_3
1258 static const char* apzAix_Stdint_3Patch[] = {
1260 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1261 #define PTRDIFF_MAX\t9223372036854775807L\n\
1263 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1264 #define PTRDIFF_MAX\t2147483647L",
1267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1269 * Description of Aix_Stdint_4 fix
1271 tSCC zAix_Stdint_4Name[] =
1275 * File name selection pattern
1277 tSCC zAix_Stdint_4List[] =
1278 "stdint-aix.h\0stdint.h\0";
1280 * Machine/OS name selection pattern
1282 tSCC* apzAix_Stdint_4Machs[] = {
1284 (const char*)NULL };
1287 * content selection pattern - do fix if pattern found
1289 tSCC zAix_Stdint_4Select0[] =
1290 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1292 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1294 #define AIX_STDINT_4_TEST_CT 1
1295 static tTestDesc aAix_Stdint_4Tests[] = {
1296 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1299 * Fix Command Arguments for Aix_Stdint_4
1301 static const char* apzAix_Stdint_4Patch[] = {
1303 "#define SIZE_MAX\t18446744073709551615UL\n\
1305 #define SIZE_MAX\t4294967295UL",
1308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1310 * Description of Aix_Stdint_5 fix
1312 tSCC zAix_Stdint_5Name[] =
1316 * File name selection pattern
1318 tSCC zAix_Stdint_5List[] =
1319 "stdint-aix.h\0stdint.h\0";
1321 * Machine/OS name selection pattern
1323 tSCC* apzAix_Stdint_5Machs[] = {
1325 (const char*)NULL };
1328 * content selection pattern - do fix if pattern found
1330 tSCC zAix_Stdint_5Select0[] =
1331 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1332 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1334 #define AIX_STDINT_5_TEST_CT 1
1335 static tTestDesc aAix_Stdint_5Tests[] = {
1336 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1339 * Fix Command Arguments for Aix_Stdint_5
1341 static const char* apzAix_Stdint_5Patch[] = {
1343 "#define UINT8_C(c)\tc\n\
1344 #define UINT16_C(c)\tc",
1347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1349 * Description of Aix_Sysmachine fix
1351 tSCC zAix_SysmachineName[] =
1355 * File name selection pattern
1357 tSCC zAix_SysmachineList[] =
1360 * Machine/OS name selection pattern
1362 #define apzAix_SysmachineMachs (const char**)NULL
1365 * content selection pattern - do fix if pattern found
1367 tSCC zAix_SysmachineSelect0[] =
1370 #define AIX_SYSMACHINE_TEST_CT 1
1371 static tTestDesc aAix_SysmachineTests[] = {
1372 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1375 * Fix Command Arguments for Aix_Sysmachine
1377 static const char* apzAix_SysmachinePatch[] = {
1382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1384 * Description of Aix_Syswait_2 fix
1386 tSCC zAix_Syswait_2Name[] =
1390 * File name selection pattern
1392 tSCC zAix_Syswait_2List[] =
1395 * Machine/OS name selection pattern
1397 #define apzAix_Syswait_2Machs (const char**)NULL
1400 * content selection pattern - do fix if pattern found
1402 tSCC zAix_Syswait_2Select0[] =
1403 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1405 #define AIX_SYSWAIT_2_TEST_CT 1
1406 static tTestDesc aAix_Syswait_2Tests[] = {
1407 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1410 * Fix Command Arguments for Aix_Syswait_2
1412 static const char* apzAix_Syswait_2Patch[] = {
1417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1419 * Description of Aix_Volatile fix
1421 tSCC zAix_VolatileName[] =
1425 * File name selection pattern
1427 tSCC zAix_VolatileList[] =
1430 * Machine/OS name selection pattern
1432 #define apzAix_VolatileMachs (const char**)NULL
1435 * content selection pattern - do fix if pattern found
1437 tSCC zAix_VolatileSelect0[] =
1438 "typedef volatile int sig_atomic_t";
1440 #define AIX_VOLATILE_TEST_CT 1
1441 static tTestDesc aAix_VolatileTests[] = {
1442 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1445 * Fix Command Arguments for Aix_Volatile
1447 static const char* apzAix_VolatilePatch[] = {
1449 "typedef int sig_atomic_t",
1452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1454 * Description of Alpha___Assert fix
1456 tSCC zAlpha___AssertName[] =
1460 * File name selection pattern
1462 tSCC zAlpha___AssertList[] =
1465 * Machine/OS name selection pattern
1467 #define apzAlpha___AssertMachs (const char**)NULL
1470 * content selection pattern - do fix if pattern found
1472 tSCC zAlpha___AssertSelect0[] =
1473 "__assert\\(char \\*, char \\*, int\\)";
1475 #define ALPHA___ASSERT_TEST_CT 1
1476 static tTestDesc aAlpha___AssertTests[] = {
1477 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1480 * Fix Command Arguments for Alpha___Assert
1482 static const char* apzAlpha___AssertPatch[] = {
1484 "__assert(const char *, const char *, int)",
1487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1489 * Description of Alpha_Assert fix
1491 tSCC zAlpha_AssertName[] =
1495 * File name selection pattern
1497 tSCC zAlpha_AssertList[] =
1500 * Machine/OS name selection pattern
1502 #define apzAlpha_AssertMachs (const char**)NULL
1505 * content selection pattern - do fix if pattern found
1507 tSCC zAlpha_AssertSelect0[] =
1508 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1510 #define ALPHA_ASSERT_TEST_CT 1
1511 static tTestDesc aAlpha_AssertTests[] = {
1512 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1515 * Fix Command Arguments for Alpha_Assert
1517 static const char* apzAlpha_AssertPatch[] = {
1522 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1524 * Description of Alpha_Getopt fix
1526 tSCC zAlpha_GetoptName[] =
1530 * File name selection pattern
1532 tSCC zAlpha_GetoptList[] =
1533 "stdio.h\0stdlib.h\0";
1535 * Machine/OS name selection pattern
1537 #define apzAlpha_GetoptMachs (const char**)NULL
1540 * content selection pattern - do fix if pattern found
1542 tSCC zAlpha_GetoptSelect0[] =
1543 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1545 #define ALPHA_GETOPT_TEST_CT 1
1546 static tTestDesc aAlpha_GetoptTests[] = {
1547 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1550 * Fix Command Arguments for Alpha_Getopt
1552 static const char* apzAlpha_GetoptPatch[] = {
1554 "getopt(int, char *const[], const char *)",
1557 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1559 * Description of Alpha_If_Semicolon fix
1561 tSCC zAlpha_If_SemicolonName[] =
1562 "alpha_if_semicolon";
1565 * File name selection pattern
1567 tSCC zAlpha_If_SemicolonList[] =
1570 * Machine/OS name selection pattern
1572 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1575 * content selection pattern - do fix if pattern found
1577 tSCC zAlpha_If_SemicolonSelect0[] =
1578 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1580 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1581 static tTestDesc aAlpha_If_SemicolonTests[] = {
1582 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1585 * Fix Command Arguments for Alpha_If_Semicolon
1587 static const char* apzAlpha_If_SemicolonPatch[] = {
1589 "struct sockaddr vmif_paddr;\t/*",
1592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1594 * Description of Alpha_Parens fix
1596 tSCC zAlpha_ParensName[] =
1600 * File name selection pattern
1602 tSCC zAlpha_ParensList[] =
1605 * Machine/OS name selection pattern
1607 #define apzAlpha_ParensMachs (const char**)NULL
1610 * content selection pattern - do fix if pattern found
1612 tSCC zAlpha_ParensSelect0[] =
1613 "#ifndef\\(__mips64\\)";
1615 #define ALPHA_PARENS_TEST_CT 1
1616 static tTestDesc aAlpha_ParensTests[] = {
1617 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1620 * Fix Command Arguments for Alpha_Parens
1622 static const char* apzAlpha_ParensPatch[] = {
1627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1629 * Description of Alpha_Sbrk fix
1631 tSCC zAlpha_SbrkName[] =
1635 * File name selection pattern
1637 tSCC zAlpha_SbrkList[] =
1640 * Machine/OS name selection pattern
1642 #define apzAlpha_SbrkMachs (const char**)NULL
1645 * content selection pattern - do fix if pattern found
1647 tSCC zAlpha_SbrkSelect0[] =
1648 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1650 #define ALPHA_SBRK_TEST_CT 1
1651 static tTestDesc aAlpha_SbrkTests[] = {
1652 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1655 * Fix Command Arguments for Alpha_Sbrk
1657 static const char* apzAlpha_SbrkPatch[] = {
1662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1664 * Description of Avoid_Bool_Define fix
1666 tSCC zAvoid_Bool_DefineName[] =
1667 "avoid_bool_define";
1670 * File name selection pattern
1672 tSCC zAvoid_Bool_DefineList[] =
1673 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1675 * Machine/OS name selection pattern
1677 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1680 * content selection pattern - do fix if pattern found
1682 tSCC zAvoid_Bool_DefineSelect0[] =
1683 "#[ \t]*define[ \t]+bool[ \t]";
1686 * content bypass pattern - skip fix if pattern found
1688 tSCC zAvoid_Bool_DefineBypass0[] =
1691 #define AVOID_BOOL_DEFINE_TEST_CT 2
1692 static tTestDesc aAvoid_Bool_DefineTests[] = {
1693 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1694 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1697 * Fix Command Arguments for Avoid_Bool_Define
1699 static const char* apzAvoid_Bool_DefinePatch[] = {
1701 "#ifndef __cplusplus\n\
1704 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1709 * Description of Avoid_Bool_Type fix
1711 tSCC zAvoid_Bool_TypeName[] =
1715 * File name selection pattern
1717 tSCC zAvoid_Bool_TypeList[] =
1718 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1720 * Machine/OS name selection pattern
1722 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1725 * content selection pattern - do fix if pattern found
1727 tSCC zAvoid_Bool_TypeSelect0[] =
1728 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1731 * content bypass pattern - skip fix if pattern found
1733 tSCC zAvoid_Bool_TypeBypass0[] =
1736 #define AVOID_BOOL_TYPE_TEST_CT 2
1737 static tTestDesc aAvoid_Bool_TypeTests[] = {
1738 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1739 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1742 * Fix Command Arguments for Avoid_Bool_Type
1744 static const char* apzAvoid_Bool_TypePatch[] = {
1746 "#ifndef __cplusplus\n\
1751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1753 * Description of Avoid_Wchar_T_Type fix
1755 tSCC zAvoid_Wchar_T_TypeName[] =
1756 "avoid_wchar_t_type";
1759 * File name selection pattern
1761 #define zAvoid_Wchar_T_TypeList (char*)NULL
1763 * Machine/OS name selection pattern
1765 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1768 * content selection pattern - do fix if pattern found
1770 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1771 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1774 * content bypass pattern - skip fix if pattern found
1776 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1778 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1780 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1781 "XFree86: xc/lib/X11/Xlib\\.h";
1783 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1784 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1785 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1786 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1787 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1788 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1791 * Fix Command Arguments for Avoid_Wchar_T_Type
1793 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1795 "#ifndef __cplusplus\n\
1800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1802 * Description of Bad_Struct_Term fix
1804 tSCC zBad_Struct_TermName[] =
1808 * File name selection pattern
1810 tSCC zBad_Struct_TermList[] =
1813 * Machine/OS name selection pattern
1815 #define apzBad_Struct_TermMachs (const char**)NULL
1818 * content selection pattern - do fix if pattern found
1820 tSCC zBad_Struct_TermSelect0[] =
1821 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1823 #define BAD_STRUCT_TERM_TEST_CT 1
1824 static tTestDesc aBad_Struct_TermTests[] = {
1825 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1828 * Fix Command Arguments for Bad_Struct_Term
1830 static const char* apzBad_Struct_TermPatch[] = {
1835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1837 * Description of Badquote fix
1839 tSCC zBadquoteName[] =
1843 * File name selection pattern
1845 tSCC zBadquoteList[] =
1846 "sundev/vuid_event.h\0";
1848 * Machine/OS name selection pattern
1850 #define apzBadquoteMachs (const char**)NULL
1853 * content selection pattern - do fix if pattern found
1855 tSCC zBadquoteSelect0[] =
1858 #define BADQUOTE_TEST_CT 1
1859 static tTestDesc aBadquoteTests[] = {
1860 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1863 * Fix Command Arguments for Badquote
1865 static const char* apzBadquotePatch[] = {
1870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1872 * Description of Broken_Assert_Stdio fix
1874 tSCC zBroken_Assert_StdioName[] =
1875 "broken_assert_stdio";
1878 * File name selection pattern
1880 tSCC zBroken_Assert_StdioList[] =
1883 * Machine/OS name selection pattern
1885 #define apzBroken_Assert_StdioMachs (const char**)NULL
1888 * content selection pattern - do fix if pattern found
1890 tSCC zBroken_Assert_StdioSelect0[] =
1894 * content bypass pattern - skip fix if pattern found
1896 tSCC zBroken_Assert_StdioBypass0[] =
1897 "include.*stdio\\.h";
1899 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1900 static tTestDesc aBroken_Assert_StdioTests[] = {
1901 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1902 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1905 * Fix Command Arguments for Broken_Assert_Stdio
1907 static const char* apzBroken_Assert_StdioPatch[] = {
1909 "#include <stdio.h>\n",
1912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1914 * Description of Broken_Assert_Stdlib fix
1916 tSCC zBroken_Assert_StdlibName[] =
1917 "broken_assert_stdlib";
1920 * File name selection pattern
1922 tSCC zBroken_Assert_StdlibList[] =
1925 * Machine/OS name selection pattern
1927 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1930 * content selection pattern - do fix if pattern found
1932 tSCC zBroken_Assert_StdlibSelect0[] =
1933 "exit *\\(|abort *\\(";
1936 * content bypass pattern - skip fix if pattern found
1938 tSCC zBroken_Assert_StdlibBypass0[] =
1939 "include.*stdlib\\.h";
1941 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1942 static tTestDesc aBroken_Assert_StdlibTests[] = {
1943 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1944 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1947 * Fix Command Arguments for Broken_Assert_Stdlib
1949 static const char* apzBroken_Assert_StdlibPatch[] = {
1951 "#ifdef __cplusplus\n\
1952 #include <stdlib.h>\n\
1956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1958 * Description of Broken_Cabs fix
1960 tSCC zBroken_CabsName[] =
1964 * File name selection pattern
1966 tSCC zBroken_CabsList[] =
1967 "math.h\0architecture/*/math.h\0";
1969 * Machine/OS name selection pattern
1971 #define apzBroken_CabsMachs (const char**)NULL
1974 * content selection pattern - do fix if pattern found
1976 tSCC zBroken_CabsSelect0[] =
1977 "^extern[ \t]+double[ \t]+cabs";
1979 #define BROKEN_CABS_TEST_CT 1
1980 static tTestDesc aBroken_CabsTests[] = {
1981 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1984 * Fix Command Arguments for Broken_Cabs
1986 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1987 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1988 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1993 * Description of Broken_Nan fix
1995 tSCC zBroken_NanName[] =
1999 * File name selection pattern
2001 tSCC zBroken_NanList[] =
2002 "architecture/ppc/math.h\0architecture/*/math.h\0";
2004 * Machine/OS name selection pattern
2006 #define apzBroken_NanMachs (const char**)NULL
2009 * content selection pattern - do fix if pattern found
2011 tSCC zBroken_NanSelect0[] =
2012 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2015 * content bypass pattern - skip fix if pattern found
2017 tSCC zBroken_NanBypass0[] =
2020 #define BROKEN_NAN_TEST_CT 2
2021 static tTestDesc aBroken_NanTests[] = {
2022 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2023 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2026 * Fix Command Arguments for Broken_Nan
2028 static const char* apzBroken_NanPatch[] = {
2033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2035 * Description of Bsd_Stdio_Attrs_Conflict fix
2037 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2038 "bsd_stdio_attrs_conflict";
2041 * File name selection pattern
2043 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2046 * Machine/OS name selection pattern
2048 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2051 (const char*)NULL };
2054 * content selection pattern - do fix if pattern found
2056 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2057 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2059 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2060 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2061 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2064 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2066 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2068 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2069 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2070 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2075 * Description of Cdef_Cplusplus fix
2077 tSCC zCdef_CplusplusName[] =
2081 * File name selection pattern
2083 tSCC zCdef_CplusplusList[] =
2086 * Machine/OS name selection pattern
2088 #define apzCdef_CplusplusMachs (const char**)NULL
2091 * content selection pattern - do fix if pattern found
2093 tSCC zCdef_CplusplusSelect0[] =
2094 "\\[\\[noreturn\\]\\]";
2096 #define CDEF_CPLUSPLUS_TEST_CT 1
2097 static tTestDesc aCdef_CplusplusTests[] = {
2098 { TT_EGREP, zCdef_CplusplusSelect0, (regex_t*)NULL }, };
2101 * Fix Command Arguments for Cdef_Cplusplus
2103 static const char* apzCdef_CplusplusPatch[] = {
2105 "__attribute__((__noreturn__))",
2108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2110 * Description of Ctrl_Quotes_Def fix
2112 tSCC zCtrl_Quotes_DefName[] =
2116 * File name selection pattern
2118 #define zCtrl_Quotes_DefList (char*)NULL
2120 * Machine/OS name selection pattern
2122 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2125 * content selection pattern - do fix if pattern found
2127 tSCC zCtrl_Quotes_DefSelect0[] =
2128 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2130 #define CTRL_QUOTES_DEF_TEST_CT 1
2131 static tTestDesc aCtrl_Quotes_DefTests[] = {
2132 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2135 * Fix Command Arguments for Ctrl_Quotes_Def
2137 static const char* apzCtrl_Quotes_DefPatch[] = {
2142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2144 * Description of Ctrl_Quotes_Use fix
2146 tSCC zCtrl_Quotes_UseName[] =
2150 * File name selection pattern
2152 #define zCtrl_Quotes_UseList (char*)NULL
2154 * Machine/OS name selection pattern
2156 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2159 * content selection pattern - do fix if pattern found
2161 tSCC zCtrl_Quotes_UseSelect0[] =
2162 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2164 #define CTRL_QUOTES_USE_TEST_CT 1
2165 static tTestDesc aCtrl_Quotes_UseTests[] = {
2166 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2169 * Fix Command Arguments for Ctrl_Quotes_Use
2171 static const char* apzCtrl_Quotes_UsePatch[] = {
2176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2178 * Description of Cxx_Unready fix
2180 tSCC zCxx_UnreadyName[] =
2184 * File name selection pattern
2186 tSCC zCxx_UnreadyList[] =
2187 "sys/mman.h\0rpc/types.h\0";
2189 * Machine/OS name selection pattern
2191 #define apzCxx_UnreadyMachs (const char**)NULL
2194 * content selection pattern - do fix if pattern found
2196 tSCC zCxx_UnreadySelect0[] =
2200 * content bypass pattern - skip fix if pattern found
2202 tSCC zCxx_UnreadyBypass0[] =
2203 "\"C\"|__BEGIN_DECLS";
2205 #define CXX_UNREADY_TEST_CT 2
2206 static tTestDesc aCxx_UnreadyTests[] = {
2207 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2208 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2211 * Fix Command Arguments for Cxx_Unready
2213 static const char* apzCxx_UnreadyPatch[] = {
2215 "#ifdef __cplusplus\n\
2218 "#ifdef __cplusplus\n\
2223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2225 * Description of Darwin_9_Long_Double_Funcs_2 fix
2227 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2228 "darwin_9_long_double_funcs_2";
2231 * File name selection pattern
2233 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2236 * Machine/OS name selection pattern
2238 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2240 (const char*)NULL };
2243 * content selection pattern - do fix if pattern found
2245 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2246 "#include[ \\t]+\\\"";
2248 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2249 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2250 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2253 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2255 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2258 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2263 * Description of Darwin_Externc fix
2265 tSCC zDarwin_ExterncName[] =
2269 * File name selection pattern
2271 tSCC zDarwin_ExterncList[] =
2272 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2274 * Machine/OS name selection pattern
2276 tSCC* apzDarwin_ExterncMachs[] = {
2278 (const char*)NULL };
2281 * content bypass pattern - skip fix if pattern found
2283 tSCC zDarwin_ExterncBypass0[] =
2285 tSCC zDarwin_ExterncBypass1[] =
2288 #define DARWIN_EXTERNC_TEST_CT 2
2289 static tTestDesc aDarwin_ExterncTests[] = {
2290 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2291 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2294 * Fix Command Arguments for Darwin_Externc
2296 static const char* apzDarwin_ExterncPatch[] = {
2298 "#ifdef __cplusplus\n\
2301 "#ifdef __cplusplus\n\
2306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2308 * Description of Darwin_Gcc4_Breakage fix
2310 tSCC zDarwin_Gcc4_BreakageName[] =
2311 "darwin_gcc4_breakage";
2314 * File name selection pattern
2316 tSCC zDarwin_Gcc4_BreakageList[] =
2317 "AvailabilityMacros.h\0";
2319 * Machine/OS name selection pattern
2321 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2323 (const char*)NULL };
2326 * content selection pattern - do fix if pattern found
2328 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2329 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2331 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2332 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2333 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2336 * Fix Command Arguments for Darwin_Gcc4_Breakage
2338 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2340 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2345 * Description of Darwin_Private_Extern fix
2347 tSCC zDarwin_Private_ExternName[] =
2348 "darwin_private_extern";
2351 * File name selection pattern
2353 tSCC zDarwin_Private_ExternList[] =
2356 * Machine/OS name selection pattern
2358 tSCC* apzDarwin_Private_ExternMachs[] = {
2360 (const char*)NULL };
2363 * content selection pattern - do fix if pattern found
2365 tSCC zDarwin_Private_ExternSelect0[] =
2366 "__private_extern__ [a-z_]+ _dyld_";
2368 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2369 static tTestDesc aDarwin_Private_ExternTests[] = {
2370 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2373 * Fix Command Arguments for Darwin_Private_Extern
2375 static const char* apzDarwin_Private_ExternPatch[] = {
2378 "__private_extern__",
2381 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2383 * Description of Darwin_Stdint_1 fix
2385 tSCC zDarwin_Stdint_1Name[] =
2389 * File name selection pattern
2391 tSCC zDarwin_Stdint_1List[] =
2392 "stdint-darwin.h\0stdint.h\0";
2394 * Machine/OS name selection pattern
2396 tSCC* apzDarwin_Stdint_1Machs[] = {
2398 (const char*)NULL };
2401 * content selection pattern - do fix if pattern found
2403 tSCC zDarwin_Stdint_1Select0[] =
2404 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2405 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2407 #define DARWIN_STDINT_1_TEST_CT 1
2408 static tTestDesc aDarwin_Stdint_1Tests[] = {
2409 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2412 * Fix Command Arguments for Darwin_Stdint_1
2414 static const char* apzDarwin_Stdint_1Patch[] = {
2416 "#define UINT8_C(v)\tv\n\
2417 #define UINT16_C(v)\tv",
2420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2422 * Description of Darwin_Stdint_2 fix
2424 tSCC zDarwin_Stdint_2Name[] =
2428 * File name selection pattern
2430 tSCC zDarwin_Stdint_2List[] =
2431 "stdint-darwin.h\0stdint.h\0";
2433 * Machine/OS name selection pattern
2435 tSCC* apzDarwin_Stdint_2Machs[] = {
2437 (const char*)NULL };
2440 * content selection pattern - do fix if pattern found
2442 tSCC zDarwin_Stdint_2Select0[] =
2443 "#if __WORDSIZE == 64\n\
2444 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2445 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2447 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2448 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2451 #define DARWIN_STDINT_2_TEST_CT 1
2452 static tTestDesc aDarwin_Stdint_2Tests[] = {
2453 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2456 * Fix Command Arguments for Darwin_Stdint_2
2458 static const char* apzDarwin_Stdint_2Patch[] = {
2460 "#if __WORDSIZE == 64\n\
2461 #define INTPTR_MAX 9223372036854775807L\n\
2462 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2464 #define INTPTR_MAX 2147483647L\n\
2465 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2471 * Description of Darwin_Stdint_3 fix
2473 tSCC zDarwin_Stdint_3Name[] =
2477 * File name selection pattern
2479 tSCC zDarwin_Stdint_3List[] =
2480 "stdint-darwin.h\0stdint.h\0";
2482 * Machine/OS name selection pattern
2484 tSCC* apzDarwin_Stdint_3Machs[] = {
2486 (const char*)NULL };
2489 * content selection pattern - do fix if pattern found
2491 tSCC zDarwin_Stdint_3Select0[] =
2492 "#if __WORDSIZE == 64\n\
2493 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2495 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2498 #define DARWIN_STDINT_3_TEST_CT 1
2499 static tTestDesc aDarwin_Stdint_3Tests[] = {
2500 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2503 * Fix Command Arguments for Darwin_Stdint_3
2505 static const char* apzDarwin_Stdint_3Patch[] = {
2507 "#if __WORDSIZE == 64\n\
2508 #define UINTPTR_MAX 18446744073709551615UL\n\
2510 #define UINTPTR_MAX 4294967295UL\n\
2514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2516 * Description of Darwin_Stdint_4 fix
2518 tSCC zDarwin_Stdint_4Name[] =
2522 * File name selection pattern
2524 tSCC zDarwin_Stdint_4List[] =
2525 "stdint-darwin.h\0stdint.h\0";
2527 * Machine/OS name selection pattern
2529 tSCC* apzDarwin_Stdint_4Machs[] = {
2531 (const char*)NULL };
2534 * content selection pattern - do fix if pattern found
2536 tSCC zDarwin_Stdint_4Select0[] =
2537 "#if __WORDSIZE == 64\n\
2538 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2540 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2543 #define DARWIN_STDINT_4_TEST_CT 1
2544 static tTestDesc aDarwin_Stdint_4Tests[] = {
2545 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2548 * Fix Command Arguments for Darwin_Stdint_4
2550 static const char* apzDarwin_Stdint_4Patch[] = {
2552 "#if __WORDSIZE == 64\n\
2553 #define SIZE_MAX 18446744073709551615UL\n\
2555 #define SIZE_MAX 4294967295UL\n\
2559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2561 * Description of Darwin_Stdint_5 fix
2563 tSCC zDarwin_Stdint_5Name[] =
2567 * File name selection pattern
2569 tSCC zDarwin_Stdint_5List[] =
2570 "stdint-darwin.h\0stdint.h\0";
2572 * Machine/OS name selection pattern
2574 tSCC* apzDarwin_Stdint_5Machs[] = {
2576 (const char*)NULL };
2579 * content selection pattern - do fix if pattern found
2581 tSCC zDarwin_Stdint_5Select0[] =
2582 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2583 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2584 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2586 #define DARWIN_STDINT_5_TEST_CT 1
2587 static tTestDesc aDarwin_Stdint_5Tests[] = {
2588 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2591 * Fix Command Arguments for Darwin_Stdint_5
2593 static const char* apzDarwin_Stdint_5Patch[] = {
2595 "#if __WORDSIZE == 64\n\
2596 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2597 #define INTMAX_MAX 9223372036854775807L\n\
2598 #define UINTMAX_MAX 18446744073709551615UL\n\
2600 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2601 #define INTMAX_MAX 9223372036854775807LL\n\
2602 #define UINTMAX_MAX 18446744073709551615ULL\n\
2606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2608 * Description of Darwin_Stdint_6 fix
2610 tSCC zDarwin_Stdint_6Name[] =
2614 * File name selection pattern
2616 tSCC zDarwin_Stdint_6List[] =
2617 "stdint-darwin.h\0stdint.h\0";
2619 * Machine/OS name selection pattern
2621 tSCC* apzDarwin_Stdint_6Machs[] = {
2623 (const char*)NULL };
2626 * content selection pattern - do fix if pattern found
2628 tSCC zDarwin_Stdint_6Select0[] =
2629 "#if __WORDSIZE == 64\n\
2630 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2631 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2633 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2634 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2637 #define DARWIN_STDINT_6_TEST_CT 1
2638 static tTestDesc aDarwin_Stdint_6Tests[] = {
2639 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2642 * Fix Command Arguments for Darwin_Stdint_6
2644 static const char* apzDarwin_Stdint_6Patch[] = {
2646 "#if __WORDSIZE == 64\n\
2647 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2648 #define PTRDIFF_MAX 9223372036854775807L\n\
2650 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2651 #define PTRDIFF_MAX 2147483647\n\
2655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2657 * Description of Darwin_Stdint_7 fix
2659 tSCC zDarwin_Stdint_7Name[] =
2663 * File name selection pattern
2665 tSCC zDarwin_Stdint_7List[] =
2666 "stdint-darwin.h\0stdint.h\0";
2668 * Machine/OS name selection pattern
2670 tSCC* apzDarwin_Stdint_7Machs[] = {
2672 (const char*)NULL };
2675 * content selection pattern - do fix if pattern found
2677 tSCC zDarwin_Stdint_7Select0[] =
2678 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2679 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2681 #define DARWIN_STDINT_7_TEST_CT 1
2682 static tTestDesc aDarwin_Stdint_7Tests[] = {
2683 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2686 * Fix Command Arguments for Darwin_Stdint_7
2688 static const char* apzDarwin_Stdint_7Patch[] = {
2690 "#if __WORDSIZE == 64\n\
2691 #define INTMAX_C(v) (v ## L)\n\
2692 #define UINTMAX_C(v) (v ## UL)\n\
2694 #define INTMAX_C(v) (v ## LL)\n\
2695 #define UINTMAX_C(v) (v ## ULL)\n\
2699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2701 * Description of Dec_Intern_Asm fix
2703 tSCC zDec_Intern_AsmName[] =
2707 * File name selection pattern
2709 tSCC zDec_Intern_AsmList[] =
2712 * Machine/OS name selection pattern
2714 #define apzDec_Intern_AsmMachs (const char**)NULL
2715 #define DEC_INTERN_ASM_TEST_CT 0
2716 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2719 * Fix Command Arguments for Dec_Intern_Asm
2721 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2722 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2724 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2730 * Description of Djgpp_Wchar_H fix
2732 tSCC zDjgpp_Wchar_HName[] =
2736 * File name selection pattern
2738 #define zDjgpp_Wchar_HList (char*)NULL
2740 * Machine/OS name selection pattern
2742 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2745 * content selection pattern - do fix if pattern found
2747 tSCC zDjgpp_Wchar_HSelect0[] =
2751 * content bypass pattern - skip fix if pattern found
2753 tSCC zDjgpp_Wchar_HBypass0[] =
2756 #define DJGPP_WCHAR_H_TEST_CT 2
2757 static tTestDesc aDjgpp_Wchar_HTests[] = {
2758 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2759 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2762 * Fix Command Arguments for Djgpp_Wchar_H
2764 static const char* apzDjgpp_Wchar_HPatch[] = {
2767 #include <sys/djtypes.h>",
2768 "#include <stddef.h>",
2771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2773 * Description of Ecd_Cursor fix
2775 tSCC zEcd_CursorName[] =
2779 * File name selection pattern
2781 tSCC zEcd_CursorList[] =
2782 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2784 * Machine/OS name selection pattern
2786 #define apzEcd_CursorMachs (const char**)NULL
2789 * content selection pattern - do fix if pattern found
2791 tSCC zEcd_CursorSelect0[] =
2794 #define ECD_CURSOR_TEST_CT 1
2795 static tTestDesc aEcd_CursorTests[] = {
2796 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2799 * Fix Command Arguments for Ecd_Cursor
2801 static const char* apzEcd_CursorPatch[] = {
2806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2808 * Description of Freebsd_Gcc3_Breakage fix
2810 tSCC zFreebsd_Gcc3_BreakageName[] =
2811 "freebsd_gcc3_breakage";
2814 * File name selection pattern
2816 tSCC zFreebsd_Gcc3_BreakageList[] =
2819 * Machine/OS name selection pattern
2821 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2823 (const char*)NULL };
2826 * content selection pattern - do fix if pattern found
2828 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2829 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2832 * content bypass pattern - skip fix if pattern found
2834 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2835 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2837 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2838 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2839 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2840 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2843 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2845 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2847 "%0 || __GNUC__ >= 3",
2850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2852 * Description of Freebsd_Gcc4_Breakage fix
2854 tSCC zFreebsd_Gcc4_BreakageName[] =
2855 "freebsd_gcc4_breakage";
2858 * File name selection pattern
2860 tSCC zFreebsd_Gcc4_BreakageList[] =
2863 * Machine/OS name selection pattern
2865 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2867 (const char*)NULL };
2870 * content selection pattern - do fix if pattern found
2872 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2873 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2875 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2876 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2877 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2880 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2882 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2884 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2889 * Description of Glibc_C99_Inline_1 fix
2891 tSCC zGlibc_C99_Inline_1Name[] =
2892 "glibc_c99_inline_1";
2895 * File name selection pattern
2897 tSCC zGlibc_C99_Inline_1List[] =
2898 "features.h\0*/features.h\0";
2900 * Machine/OS name selection pattern
2902 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2905 * content selection pattern - do fix if pattern found
2907 tSCC zGlibc_C99_Inline_1Select0[] =
2908 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2910 #define GLIBC_C99_INLINE_1_TEST_CT 1
2911 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2912 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2915 * Fix Command Arguments for Glibc_C99_Inline_1
2917 static const char* apzGlibc_C99_Inline_1Patch[] = {
2919 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2924 * Description of Glibc_C99_Inline_1a fix
2926 tSCC zGlibc_C99_Inline_1aName[] =
2927 "glibc_c99_inline_1a";
2930 * File name selection pattern
2932 tSCC zGlibc_C99_Inline_1aList[] =
2933 "features.h\0*/features.h\0";
2935 * Machine/OS name selection pattern
2937 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2940 * content selection pattern - do fix if pattern found
2942 tSCC zGlibc_C99_Inline_1aSelect0[] =
2943 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2944 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2946 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2947 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2948 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2951 * Fix Command Arguments for Glibc_C99_Inline_1a
2953 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2955 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2961 * Description of Glibc_C99_Inline_2 fix
2963 tSCC zGlibc_C99_Inline_2Name[] =
2964 "glibc_c99_inline_2";
2967 * File name selection pattern
2969 tSCC zGlibc_C99_Inline_2List[] =
2970 "sys/stat.h\0*/sys/stat.h\0";
2972 * Machine/OS name selection pattern
2974 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2977 * content selection pattern - do fix if pattern found
2979 tSCC zGlibc_C99_Inline_2Select0[] =
2980 "extern __inline__ int";
2982 #define GLIBC_C99_INLINE_2_TEST_CT 1
2983 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2984 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2987 * Fix Command Arguments for Glibc_C99_Inline_2
2989 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2990 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2993 __inline__ int \\1/",
2994 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2997 __inline__ int \\1/",
2998 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3001 __inline__ int \\1/",
3002 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3005 __inline__ int __REDIRECT\\1 (\\2/",
3006 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3009 __inline__ int __REDIRECT\\1 (\\2/",
3010 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3018 * Description of Glibc_C99_Inline_3 fix
3020 tSCC zGlibc_C99_Inline_3Name[] =
3021 "glibc_c99_inline_3";
3024 * File name selection pattern
3026 tSCC zGlibc_C99_Inline_3List[] =
3027 "bits/string2.h\0*/bits/string2.h\0";
3029 * Machine/OS name selection pattern
3031 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3034 * content selection pattern - do fix if pattern found
3036 tSCC zGlibc_C99_Inline_3Select0[] =
3040 * content bypass pattern - skip fix if pattern found
3042 tSCC zGlibc_C99_Inline_3Bypass0[] =
3043 "__extern_inline|__GNU_STDC_INLINE__";
3045 #define GLIBC_C99_INLINE_3_TEST_CT 2
3046 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3047 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3048 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3051 * Fix Command Arguments for Glibc_C99_Inline_3
3053 static const char* apzGlibc_C99_Inline_3Patch[] = {
3055 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3056 "^# ifdef __cplusplus$",
3059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3061 * Description of Glibc_C99_Inline_4 fix
3063 tSCC zGlibc_C99_Inline_4Name[] =
3064 "glibc_c99_inline_4";
3067 * File name selection pattern
3069 tSCC zGlibc_C99_Inline_4List[] =
3070 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
3072 * Machine/OS name selection pattern
3074 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3077 * content selection pattern - do fix if pattern found
3079 tSCC zGlibc_C99_Inline_4Select0[] =
3080 "(^| )extern __inline";
3083 * content bypass pattern - skip fix if pattern found
3085 tSCC zGlibc_C99_Inline_4Bypass0[] =
3086 "__extern_inline|__gnu_inline__";
3088 #define GLIBC_C99_INLINE_4_TEST_CT 2
3089 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3090 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3091 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3094 * Fix Command Arguments for Glibc_C99_Inline_4
3096 static const char* apzGlibc_C99_Inline_4Patch[] = {
3098 "%0 __attribute__ ((__gnu_inline__))",
3101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3103 * Description of Glibc_Mutex_Init fix
3105 tSCC zGlibc_Mutex_InitName[] =
3109 * File name selection pattern
3111 tSCC zGlibc_Mutex_InitList[] =
3114 * Machine/OS name selection pattern
3116 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3119 * content selection pattern - do fix if pattern found
3121 tSCC zGlibc_Mutex_InitSelect0[] =
3122 "\\{ *\\{ *0, *\\} *\\}";
3124 #define GLIBC_MUTEX_INIT_TEST_CT 1
3125 static tTestDesc aGlibc_Mutex_InitTests[] = {
3126 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3129 * Fix Command Arguments for Glibc_Mutex_Init
3131 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3132 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3134 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3136 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3137 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3138 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3139 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3140 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3141 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3142 "-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\
3144 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3147 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3149 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3150 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3155 * Description of Glibc_Stdint fix
3157 tSCC zGlibc_StdintName[] =
3161 * File name selection pattern
3163 tSCC zGlibc_StdintList[] =
3166 * Machine/OS name selection pattern
3168 #define apzGlibc_StdintMachs (const char**)NULL
3171 * content selection pattern - do fix if pattern found
3173 tSCC zGlibc_StdintSelect0[] =
3176 #define GLIBC_STDINT_TEST_CT 1
3177 static tTestDesc aGlibc_StdintTests[] = {
3178 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3181 * Fix Command Arguments for Glibc_Stdint
3183 static const char* apzGlibc_StdintPatch[] = {
3185 "# define UINT8_C(c)\tc\n\
3186 # define UINT16_C(c)\tc",
3187 "# define UINT8_C\\(c\\)\tc ## U\n\
3188 # define UINT16_C\\(c\\)\tc ## U",
3191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3193 * Description of Glibc_Strncpy fix
3195 tSCC zGlibc_StrncpyName[] =
3199 * File name selection pattern
3201 tSCC zGlibc_StrncpyList[] =
3204 * Machine/OS name selection pattern
3206 #define apzGlibc_StrncpyMachs (const char**)NULL
3209 * content bypass pattern - skip fix if pattern found
3211 tSCC zGlibc_StrncpyBypass0[] =
3212 "__builtin_strncpy";
3214 #define GLIBC_STRNCPY_TEST_CT 1
3215 static tTestDesc aGlibc_StrncpyTests[] = {
3216 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3219 * Fix Command Arguments for Glibc_Strncpy
3221 static const char* apzGlibc_StrncpyPatch[] = {
3223 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3224 "# define strncpy([^\n\
3230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3232 * Description of Glibc_Tgmath fix
3234 tSCC zGlibc_TgmathName[] =
3238 * File name selection pattern
3240 tSCC zGlibc_TgmathList[] =
3243 * Machine/OS name selection pattern
3245 #define apzGlibc_TgmathMachs (const char**)NULL
3248 * content selection pattern - do fix if pattern found
3250 tSCC zGlibc_TgmathSelect0[] =
3251 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3254 * content bypass pattern - skip fix if pattern found
3256 tSCC zGlibc_TgmathBypass0[] =
3257 "__floating_type\\(type\\) \\\\\n\
3258 .*__builtin_classify_type";
3260 #define GLIBC_TGMATH_TEST_CT 2
3261 static tTestDesc aGlibc_TgmathTests[] = {
3262 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3263 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3266 * Fix Command Arguments for Glibc_Tgmath
3268 static const char* apzGlibc_TgmathPatch[] = {
3270 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3273 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3275 * Description of Gnu_Types fix
3277 tSCC zGnu_TypesName[] =
3281 * File name selection pattern
3283 tSCC zGnu_TypesList[] =
3284 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3286 * Machine/OS name selection pattern
3288 tSCC* apzGnu_TypesMachs[] = {
3289 "*-*-solaris2.1[0-9]*",
3290 (const char*)NULL };
3293 * content selection pattern - do fix if pattern found
3295 tSCC zGnu_TypesSelect0[] =
3296 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3299 * content bypass pattern - skip fix if pattern found
3301 tSCC zGnu_TypesBypass0[] =
3302 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3304 #define GNU_TYPES_TEST_CT 2
3305 static tTestDesc aGnu_TypesTests[] = {
3306 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3307 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3310 * Fix Command Arguments for Gnu_Types
3312 static const char* apzGnu_TypesPatch[] = {
3316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3318 * Description of Hp_Inline fix
3320 tSCC zHp_InlineName[] =
3324 * File name selection pattern
3326 tSCC zHp_InlineList[] =
3327 "sys/spinlock.h\0machine/machparam.h\0";
3329 * Machine/OS name selection pattern
3331 #define apzHp_InlineMachs (const char**)NULL
3334 * content selection pattern - do fix if pattern found
3336 tSCC zHp_InlineSelect0[] =
3337 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3339 #define HP_INLINE_TEST_CT 1
3340 static tTestDesc aHp_InlineTests[] = {
3341 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3344 * Fix Command Arguments for Hp_Inline
3346 static const char* apzHp_InlinePatch[] = {
3349 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3354 * Description of Hp_Sysfile fix
3356 tSCC zHp_SysfileName[] =
3360 * File name selection pattern
3362 tSCC zHp_SysfileList[] =
3365 * Machine/OS name selection pattern
3367 #define apzHp_SysfileMachs (const char**)NULL
3370 * content selection pattern - do fix if pattern found
3372 tSCC zHp_SysfileSelect0[] =
3375 #define HP_SYSFILE_TEST_CT 1
3376 static tTestDesc aHp_SysfileTests[] = {
3377 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3380 * Fix Command Arguments for Hp_Sysfile
3382 static const char* apzHp_SysfilePatch[] = {
3384 "(struct file *, ...)",
3388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3390 * Description of Hppa_Hpux_Fp_Macros fix
3392 tSCC zHppa_Hpux_Fp_MacrosName[] =
3393 "hppa_hpux_fp_macros";
3396 * File name selection pattern
3398 tSCC zHppa_Hpux_Fp_MacrosList[] =
3401 * Machine/OS name selection pattern
3403 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3405 (const char*)NULL };
3408 * content selection pattern - do fix if pattern found
3410 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3411 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3412 #[ \t]*define[ \t]*FP_ZERO.*\n\
3413 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3414 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3415 #[ \t]*define[ \t]*FP_NAN.*\n";
3417 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3418 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3419 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3422 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3424 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3426 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3427 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3428 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3430 #ifdef _INCLUDE_HPUX_SOURCE\n",
3433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3435 * Description of Hpux10_Cpp_Pow_Inline fix
3437 tSCC zHpux10_Cpp_Pow_InlineName[] =
3438 "hpux10_cpp_pow_inline";
3441 * File name selection pattern
3443 tSCC zHpux10_Cpp_Pow_InlineList[] =
3444 "fixinc-test-limits.h\0math.h\0";
3446 * Machine/OS name selection pattern
3448 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3451 * content selection pattern - do fix if pattern found
3453 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3454 "^# +ifdef +__cplusplus\n\
3456 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3457 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3459 +extern +\"C\" +\\{\n\
3463 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3464 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3465 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3468 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3470 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3477 * Description of Hpux11_Cpp_Pow_Inline fix
3479 tSCC zHpux11_Cpp_Pow_InlineName[] =
3480 "hpux11_cpp_pow_inline";
3483 * File name selection pattern
3485 tSCC zHpux11_Cpp_Pow_InlineList[] =
3488 * Machine/OS name selection pattern
3490 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3493 * content selection pattern - do fix if pattern found
3495 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3496 " +inline double pow\\(double d,int expon\\) \\{\n\
3497 +return pow\\(d, \\(double\\)expon\\);\n\
3500 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3501 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3502 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3505 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3507 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3514 * Description of Hpux10_Ctype_Declarations1 fix
3516 tSCC zHpux10_Ctype_Declarations1Name[] =
3517 "hpux10_ctype_declarations1";
3520 * File name selection pattern
3522 tSCC zHpux10_Ctype_Declarations1List[] =
3525 * Machine/OS name selection pattern
3527 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3530 * content selection pattern - do fix if pattern found
3532 tSCC zHpux10_Ctype_Declarations1Select0[] =
3533 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3536 * content bypass pattern - skip fix if pattern found
3538 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3539 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3541 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3542 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3543 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3544 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3547 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3549 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3551 "#ifdef _PROTOTYPES\n\
3552 extern int __tolower(int);\n\
3553 extern int __toupper(int);\n\
3554 #else /* NOT _PROTOTYPES */\n\
3555 extern int __tolower();\n\
3556 extern int __toupper();\n\
3557 #endif /* _PROTOTYPES */\n\n\
3561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3563 * Description of Hpux10_Ctype_Declarations2 fix
3565 tSCC zHpux10_Ctype_Declarations2Name[] =
3566 "hpux10_ctype_declarations2";
3569 * File name selection pattern
3571 tSCC zHpux10_Ctype_Declarations2List[] =
3574 * Machine/OS name selection pattern
3576 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3579 * content selection pattern - do fix if pattern found
3581 tSCC zHpux10_Ctype_Declarations2Select0[] =
3582 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3585 * content bypass pattern - skip fix if pattern found
3587 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3588 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3590 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3591 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3592 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3593 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3596 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3598 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3601 #ifdef _PROTOTYPES\n\
3602 extern int _isalnum(int);\n\
3603 extern int _isalpha(int);\n\
3604 extern int _iscntrl(int);\n\
3605 extern int _isdigit(int);\n\
3606 extern int _isgraph(int);\n\
3607 extern int _islower(int);\n\
3608 extern int _isprint(int);\n\
3609 extern int _ispunct(int);\n\
3610 extern int _isspace(int);\n\
3611 extern int _isupper(int);\n\
3612 extern int _isxdigit(int);\n\
3613 # else /* not _PROTOTYPES */\n\
3614 extern int _isalnum();\n\
3615 extern int _isalpha();\n\
3616 extern int _iscntrl();\n\
3617 extern int _isdigit();\n\
3618 extern int _isgraph();\n\
3619 extern int _islower();\n\
3620 extern int _isprint();\n\
3621 extern int _ispunct();\n\
3622 extern int _isspace();\n\
3623 extern int _isupper();\n\
3624 extern int _isxdigit();\n\
3625 #endif /* _PROTOTYPES */\n",
3628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3630 * Description of Hpux10_Stdio_Declarations fix
3632 tSCC zHpux10_Stdio_DeclarationsName[] =
3633 "hpux10_stdio_declarations";
3636 * File name selection pattern
3638 tSCC zHpux10_Stdio_DeclarationsList[] =
3641 * Machine/OS name selection pattern
3643 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3646 * content selection pattern - do fix if pattern found
3648 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3649 "^#[ \t]*define _iob[ \t]*__iob";
3652 * content bypass pattern - skip fix if pattern found
3654 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3655 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3657 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3658 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3659 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3660 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3663 * Fix Command Arguments for Hpux10_Stdio_Declarations
3665 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3668 # if defined(__STDC__) || defined(__cplusplus)\n\
3669 extern int snprintf(char *, size_t, const char *, ...);\n\
3670 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3671 # else /* not __STDC__) || __cplusplus */\n\
3672 extern int snprintf();\n\
3673 extern int vsnprintf();\n\
3674 # endif /* __STDC__) || __cplusplus */\n",
3677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3679 * Description of Hpux11_Abs fix
3681 tSCC zHpux11_AbsName[] =
3685 * File name selection pattern
3687 tSCC zHpux11_AbsList[] =
3690 * Machine/OS name selection pattern
3692 tSCC* apzHpux11_AbsMachs[] = {
3694 (const char*)NULL };
3697 * content selection pattern - do fix if pattern found
3699 tSCC zHpux11_AbsSelect0[] =
3700 "ifndef _MATH_INCLUDED";
3702 #define HPUX11_ABS_TEST_CT 1
3703 static tTestDesc aHpux11_AbsTests[] = {
3704 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3707 * Fix Command Arguments for Hpux11_Abs
3709 static const char* apzHpux11_AbsPatch[] = {
3711 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3716 * Description of Hpux11_Fabsf fix
3718 tSCC zHpux11_FabsfName[] =
3722 * File name selection pattern
3724 tSCC zHpux11_FabsfList[] =
3727 * Machine/OS name selection pattern
3729 #define apzHpux11_FabsfMachs (const char**)NULL
3732 * content selection pattern - do fix if pattern found
3734 tSCC zHpux11_FabsfSelect0[] =
3735 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3738 * content bypass pattern - skip fix if pattern found
3740 tSCC zHpux11_FabsfBypass0[] =
3743 #define HPUX11_FABSF_TEST_CT 2
3744 static tTestDesc aHpux11_FabsfTests[] = {
3745 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3746 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3749 * Fix Command Arguments for Hpux11_Fabsf
3751 static const char* apzHpux11_FabsfPatch[] = {
3753 "#ifndef __cplusplus\n\
3758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3760 * Description of Hpux11_Pthread_Const fix
3762 tSCC zHpux11_Pthread_ConstName[] =
3763 "hpux11_pthread_const";
3766 * File name selection pattern
3768 tSCC zHpux11_Pthread_ConstList[] =
3771 * Machine/OS name selection pattern
3773 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3774 "*-hp-hpux11.[0-3]*",
3775 (const char*)NULL };
3778 * content selection pattern - do fix if pattern found
3780 tSCC zHpux11_Pthread_ConstSelect0[] =
3781 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3783 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3784 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3785 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3788 * Fix Command Arguments for Hpux11_Pthread_Const
3790 static const char* apzHpux11_Pthread_ConstPatch[] = {
3792 "#define __POINTER_SET\t\t((void *) 1L)",
3795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3797 * Description of Hpux11_Size_T fix
3799 tSCC zHpux11_Size_TName[] =
3803 * File name selection pattern
3805 #define zHpux11_Size_TList (char*)NULL
3807 * Machine/OS name selection pattern
3809 tSCC* apzHpux11_Size_TMachs[] = {
3811 (const char*)NULL };
3814 * content selection pattern - do fix if pattern found
3816 tSCC zHpux11_Size_TSelect0[] =
3819 #define HPUX11_SIZE_T_TEST_CT 1
3820 static tTestDesc aHpux11_Size_TTests[] = {
3821 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3824 * Fix Command Arguments for Hpux11_Size_T
3826 static const char* apzHpux11_Size_TPatch[] = {
3831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3833 * Description of Hpux11_Snprintf fix
3835 tSCC zHpux11_SnprintfName[] =
3839 * File name selection pattern
3841 tSCC zHpux11_SnprintfList[] =
3844 * Machine/OS name selection pattern
3846 #define apzHpux11_SnprintfMachs (const char**)NULL
3849 * content selection pattern - do fix if pattern found
3851 tSCC zHpux11_SnprintfSelect0[] =
3852 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3854 #define HPUX11_SNPRINTF_TEST_CT 1
3855 static tTestDesc aHpux11_SnprintfTests[] = {
3856 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3859 * Fix Command Arguments for Hpux11_Snprintf
3861 static const char* apzHpux11_SnprintfPatch[] = {
3866 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3868 * Description of Hpux11_Vsnprintf fix
3870 tSCC zHpux11_VsnprintfName[] =
3874 * File name selection pattern
3876 tSCC zHpux11_VsnprintfList[] =
3879 * Machine/OS name selection pattern
3881 #define apzHpux11_VsnprintfMachs (const char**)NULL
3884 * content selection pattern - do fix if pattern found
3886 tSCC zHpux11_VsnprintfSelect0[] =
3887 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3889 #define HPUX11_VSNPRINTF_TEST_CT 1
3890 static tTestDesc aHpux11_VsnprintfTests[] = {
3891 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3894 * Fix Command Arguments for Hpux11_Vsnprintf
3896 static const char* apzHpux11_VsnprintfPatch[] = {
3901 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3903 * Description of Hpux8_Bogus_Inlines fix
3905 tSCC zHpux8_Bogus_InlinesName[] =
3906 "hpux8_bogus_inlines";
3909 * File name selection pattern
3911 tSCC zHpux8_Bogus_InlinesList[] =
3914 * Machine/OS name selection pattern
3916 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3919 * content selection pattern - do fix if pattern found
3921 tSCC zHpux8_Bogus_InlinesSelect0[] =
3925 * content bypass pattern - skip fix if pattern found
3927 tSCC zHpux8_Bogus_InlinesBypass0[] =
3930 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3931 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3932 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3933 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3936 * Fix Command Arguments for Hpux8_Bogus_Inlines
3938 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3939 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3940 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3941 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3942 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3947 * Description of Hpux_Ctype_Macros fix
3949 tSCC zHpux_Ctype_MacrosName[] =
3950 "hpux_ctype_macros";
3953 * File name selection pattern
3955 tSCC zHpux_Ctype_MacrosList[] =
3958 * Machine/OS name selection pattern
3960 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3963 * content selection pattern - do fix if pattern found
3965 tSCC zHpux_Ctype_MacrosSelect0[] =
3966 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3968 #define HPUX_CTYPE_MACROS_TEST_CT 1
3969 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3970 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3973 * Fix Command Arguments for Hpux_Ctype_Macros
3975 static const char* apzHpux_Ctype_MacrosPatch[] = {
3980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3982 * Description of Hpux_Htonl fix
3984 tSCC zHpux_HtonlName[] =
3988 * File name selection pattern
3990 tSCC zHpux_HtonlList[] =
3993 * Machine/OS name selection pattern
3995 #define apzHpux_HtonlMachs (const char**)NULL
3998 * content selection pattern - do fix if pattern found
4000 tSCC zHpux_HtonlSelect0[] =
4001 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4003 \\* Macros for number representation conversion\\.\n\
4007 #define HPUX_HTONL_TEST_CT 1
4008 static tTestDesc aHpux_HtonlTests[] = {
4009 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
4012 * Fix Command Arguments for Hpux_Htonl
4014 static const char* apzHpux_HtonlPatch[] = {
4020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4022 * Description of Hpux_Long_Double fix
4024 tSCC zHpux_Long_DoubleName[] =
4028 * File name selection pattern
4030 tSCC zHpux_Long_DoubleList[] =
4033 * Machine/OS name selection pattern
4035 tSCC* apzHpux_Long_DoubleMachs[] = {
4037 "*-*-hpux11.[012]*",
4038 (const char*)NULL };
4041 * content selection pattern - do fix if pattern found
4043 tSCC zHpux_Long_DoubleSelect0[] =
4044 "extern[ \t]long_double[ \t]strtold";
4047 * content bypass pattern - skip fix if pattern found
4049 tSCC zHpux_Long_DoubleBypass0[] =
4052 #define HPUX_LONG_DOUBLE_TEST_CT 2
4053 static tTestDesc aHpux_Long_DoubleTests[] = {
4054 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4055 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4058 * Fix Command Arguments for Hpux_Long_Double
4060 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4061 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4062 "-e", "s/long_double/long double/g",
4065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4067 * Description of Hpux_Long_Double_2 fix
4069 tSCC zHpux_Long_Double_2Name[] =
4070 "hpux_long_double_2";
4073 * File name selection pattern
4075 tSCC zHpux_Long_Double_2List[] =
4078 * Machine/OS name selection pattern
4080 tSCC* apzHpux_Long_Double_2Machs[] = {
4081 "hppa*-*-hpux11.3*",
4082 (const char*)NULL };
4085 * content selection pattern - do fix if pattern found
4087 tSCC zHpux_Long_Double_2Select0[] =
4088 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4090 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
4091 static tTestDesc aHpux_Long_Double_2Tests[] = {
4092 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4095 * Fix Command Arguments for Hpux_Long_Double_2
4097 static const char* apzHpux_Long_Double_2Patch[] = {
4099 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4104 * Description of Hpux_Systime fix
4106 tSCC zHpux_SystimeName[] =
4110 * File name selection pattern
4112 tSCC zHpux_SystimeList[] =
4115 * Machine/OS name selection pattern
4117 #define apzHpux_SystimeMachs (const char**)NULL
4120 * content selection pattern - do fix if pattern found
4122 tSCC zHpux_SystimeSelect0[] =
4123 "^extern struct sigevent;";
4125 #define HPUX_SYSTIME_TEST_CT 1
4126 static tTestDesc aHpux_SystimeTests[] = {
4127 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
4130 * Fix Command Arguments for Hpux_Systime
4132 static const char* apzHpux_SystimePatch[] = {
4137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4139 * Description of Hpux_Spu_Info fix
4141 tSCC zHpux_Spu_InfoName[] =
4145 * File name selection pattern
4147 tSCC zHpux_Spu_InfoList[] =
4148 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
4150 * Machine/OS name selection pattern
4152 tSCC* apzHpux_Spu_InfoMachs[] = {
4154 (const char*)NULL };
4157 * content selection pattern - do fix if pattern found
4159 tSCC zHpux_Spu_InfoSelect0[] =
4160 "^.*extern.*spu_info.*";
4162 #define HPUX_SPU_INFO_TEST_CT 1
4163 static tTestDesc aHpux_Spu_InfoTests[] = {
4164 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
4167 * Fix Command Arguments for Hpux_Spu_Info
4169 static const char* apzHpux_Spu_InfoPatch[] = {
4176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4178 * Description of Hpux11_Extern_Sendfile fix
4180 tSCC zHpux11_Extern_SendfileName[] =
4181 "hpux11_extern_sendfile";
4184 * File name selection pattern
4186 tSCC zHpux11_Extern_SendfileList[] =
4189 * Machine/OS name selection pattern
4191 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4192 "*-hp-hpux11.[12]*",
4193 (const char*)NULL };
4196 * content selection pattern - do fix if pattern found
4198 tSCC zHpux11_Extern_SendfileSelect0[] =
4199 "^[ \t]*extern sbsize_t sendfile.*\n\
4202 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4203 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4204 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4207 * Fix Command Arguments for Hpux11_Extern_Sendfile
4209 static const char* apzHpux11_Extern_SendfilePatch[] = {
4211 "#ifndef _APP32_64BIT_OFF_T\n\
4215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4217 * Description of Hpux11_Extern_Sendpath fix
4219 tSCC zHpux11_Extern_SendpathName[] =
4220 "hpux11_extern_sendpath";
4223 * File name selection pattern
4225 tSCC zHpux11_Extern_SendpathList[] =
4228 * Machine/OS name selection pattern
4230 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4231 "*-hp-hpux11.[12]*",
4232 (const char*)NULL };
4235 * content selection pattern - do fix if pattern found
4237 tSCC zHpux11_Extern_SendpathSelect0[] =
4238 "^[ \t]*extern sbsize_t sendpath.*\n\
4241 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4242 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4243 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4246 * Fix Command Arguments for Hpux11_Extern_Sendpath
4248 static const char* apzHpux11_Extern_SendpathPatch[] = {
4250 "#ifndef _APP32_64BIT_OFF_T\n\
4254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4256 * Description of Hpux_Extern_Errno fix
4258 tSCC zHpux_Extern_ErrnoName[] =
4259 "hpux_extern_errno";
4262 * File name selection pattern
4264 tSCC zHpux_Extern_ErrnoList[] =
4267 * Machine/OS name selection pattern
4269 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4271 "*-hp-hpux11.[0-2]*",
4272 (const char*)NULL };
4275 * content selection pattern - do fix if pattern found
4277 tSCC zHpux_Extern_ErrnoSelect0[] =
4278 "^[ \t]*extern int errno;$";
4280 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4281 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4282 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4285 * Fix Command Arguments for Hpux_Extern_Errno
4287 static const char* apzHpux_Extern_ErrnoPatch[] = {
4289 "#ifdef __cplusplus\n\
4293 #ifdef __cplusplus\n\
4298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4300 * Description of Hpux_Pthread_Initializers fix
4302 tSCC zHpux_Pthread_InitializersName[] =
4303 "hpux_pthread_initializers";
4306 * File name selection pattern
4308 tSCC zHpux_Pthread_InitializersList[] =
4311 * Machine/OS name selection pattern
4313 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4314 "*-hp-hpux11.[0-3]*",
4315 (const char*)NULL };
4316 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
4317 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
4320 * Fix Command Arguments for Hpux_Pthread_Initializers
4322 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4323 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4324 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4325 "-e", "/^[ \t]*0$/d",
4326 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4327 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4328 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4329 "-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\\\\@",
4330 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4331 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4332 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4333 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4334 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4335 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4340 * Description of Hpux_C99_Intptr fix
4342 tSCC zHpux_C99_IntptrName[] =
4346 * File name selection pattern
4348 tSCC zHpux_C99_IntptrList[] =
4349 "stdint-hpux11.h\0stdint.h\0";
4351 * Machine/OS name selection pattern
4353 tSCC* apzHpux_C99_IntptrMachs[] = {
4355 (const char*)NULL };
4356 #define HPUX_C99_INTPTR_TEST_CT 0
4357 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4360 * Fix Command Arguments for Hpux_C99_Intptr
4362 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4363 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4364 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4365 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4366 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4367 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4368 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4373 * Description of Hpux_C99_Inttypes fix
4375 tSCC zHpux_C99_InttypesName[] =
4376 "hpux_c99_inttypes";
4379 * File name selection pattern
4381 tSCC zHpux_C99_InttypesList[] =
4382 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4384 * Machine/OS name selection pattern
4386 tSCC* apzHpux_C99_InttypesMachs[] = {
4387 "*-hp-hpux11.[23]*",
4388 (const char*)NULL };
4389 #define HPUX_C99_INTTYPES_TEST_CT 0
4390 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4393 * Fix Command Arguments for Hpux_C99_Inttypes
4395 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4396 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4397 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4398 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4399 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4404 * Description of Hpux_C99_Inttypes2 fix
4406 tSCC zHpux_C99_Inttypes2Name[] =
4407 "hpux_c99_inttypes2";
4410 * File name selection pattern
4412 tSCC zHpux_C99_Inttypes2List[] =
4413 "stdint-hpux11.h\0stdint.h\0";
4415 * Machine/OS name selection pattern
4417 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4419 (const char*)NULL };
4420 #define HPUX_C99_INTTYPES2_TEST_CT 0
4421 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4424 * Fix Command Arguments for Hpux_C99_Inttypes2
4426 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4427 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4428 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4429 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4430 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4435 * Description of Hpux_Stdint_Least_Fast fix
4437 tSCC zHpux_Stdint_Least_FastName[] =
4438 "hpux_stdint_least_fast";
4441 * File name selection pattern
4443 tSCC zHpux_Stdint_Least_FastList[] =
4444 "stdint-hpux11.h\0stdint.h\0";
4446 * Machine/OS name selection pattern
4448 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4450 (const char*)NULL };
4453 * content selection pattern - do fix if pattern found
4455 tSCC zHpux_Stdint_Least_FastSelect0[] =
4456 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4458 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4459 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4460 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4463 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4465 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4467 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4472 * Description of Hpux_Inttype_Int8_T fix
4474 tSCC zHpux_Inttype_Int8_TName[] =
4475 "hpux_inttype_int8_t";
4478 * File name selection pattern
4480 tSCC zHpux_Inttype_Int8_TList[] =
4481 "sys/_inttypes.h\0";
4483 * Machine/OS name selection pattern
4485 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4487 (const char*)NULL };
4490 * content selection pattern - do fix if pattern found
4492 tSCC zHpux_Inttype_Int8_TSelect0[] =
4493 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4495 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4496 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4497 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4500 * Fix Command Arguments for Hpux_Inttype_Int8_T
4502 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4504 "typedef signed char int%18_t;",
4507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4509 * Description of Hpux_Imaginary_I fix
4511 tSCC zHpux_Imaginary_IName[] =
4515 * File name selection pattern
4517 tSCC zHpux_Imaginary_IList[] =
4520 * Machine/OS name selection pattern
4522 tSCC* apzHpux_Imaginary_IMachs[] = {
4524 (const char*)NULL };
4527 * content selection pattern - do fix if pattern found
4529 tSCC zHpux_Imaginary_ISelect0[] =
4530 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4532 #define HPUX_IMAGINARY_I_TEST_CT 1
4533 static tTestDesc aHpux_Imaginary_ITests[] = {
4534 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4537 * Fix Command Arguments for Hpux_Imaginary_I
4539 static const char* apzHpux_Imaginary_IPatch[] = {
4541 "#define _Complex_I (__extension__ 1.0iF)",
4544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4546 * Description of Huge_Val_Hex fix
4548 tSCC zHuge_Val_HexName[] =
4552 * File name selection pattern
4554 tSCC zHuge_Val_HexList[] =
4555 "bits/huge_val.h\0";
4557 * Machine/OS name selection pattern
4559 #define apzHuge_Val_HexMachs (const char**)NULL
4562 * content selection pattern - do fix if pattern found
4564 tSCC zHuge_Val_HexSelect0[] =
4565 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4568 * content bypass pattern - skip fix if pattern found
4570 tSCC zHuge_Val_HexBypass0[] =
4571 "__builtin_huge_val";
4573 #define HUGE_VAL_HEX_TEST_CT 2
4574 static tTestDesc aHuge_Val_HexTests[] = {
4575 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4576 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4579 * Fix Command Arguments for Huge_Val_Hex
4581 static const char* apzHuge_Val_HexPatch[] = {
4583 "#define HUGE_VAL (__builtin_huge_val())\n",
4586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4588 * Description of Huge_Valf_Hex fix
4590 tSCC zHuge_Valf_HexName[] =
4594 * File name selection pattern
4596 tSCC zHuge_Valf_HexList[] =
4597 "bits/huge_val.h\0";
4599 * Machine/OS name selection pattern
4601 #define apzHuge_Valf_HexMachs (const char**)NULL
4604 * content selection pattern - do fix if pattern found
4606 tSCC zHuge_Valf_HexSelect0[] =
4607 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4610 * content bypass pattern - skip fix if pattern found
4612 tSCC zHuge_Valf_HexBypass0[] =
4613 "__builtin_huge_valf";
4615 #define HUGE_VALF_HEX_TEST_CT 2
4616 static tTestDesc aHuge_Valf_HexTests[] = {
4617 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4618 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4621 * Fix Command Arguments for Huge_Valf_Hex
4623 static const char* apzHuge_Valf_HexPatch[] = {
4625 "#define HUGE_VALF (__builtin_huge_valf())\n",
4628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4630 * Description of Huge_Vall_Hex fix
4632 tSCC zHuge_Vall_HexName[] =
4636 * File name selection pattern
4638 tSCC zHuge_Vall_HexList[] =
4639 "bits/huge_val.h\0";
4641 * Machine/OS name selection pattern
4643 #define apzHuge_Vall_HexMachs (const char**)NULL
4646 * content selection pattern - do fix if pattern found
4648 tSCC zHuge_Vall_HexSelect0[] =
4649 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4652 * content bypass pattern - skip fix if pattern found
4654 tSCC zHuge_Vall_HexBypass0[] =
4655 "__builtin_huge_vall";
4657 #define HUGE_VALL_HEX_TEST_CT 2
4658 static tTestDesc aHuge_Vall_HexTests[] = {
4659 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4660 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4663 * Fix Command Arguments for Huge_Vall_Hex
4665 static const char* apzHuge_Vall_HexPatch[] = {
4667 "#define HUGE_VALL (__builtin_huge_vall())\n",
4670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4672 * Description of Int_Abort_Free_And_Exit fix
4674 tSCC zInt_Abort_Free_And_ExitName[] =
4675 "int_abort_free_and_exit";
4678 * File name selection pattern
4680 tSCC zInt_Abort_Free_And_ExitList[] =
4683 * Machine/OS name selection pattern
4685 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4688 * content selection pattern - do fix if pattern found
4690 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4691 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4694 * content bypass pattern - skip fix if pattern found
4696 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4697 "_CLASSIC_ANSI_TYPES";
4699 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4700 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4701 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4702 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4705 * Fix Command Arguments for Int_Abort_Free_And_Exit
4707 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4714 * Description of Io_Quotes_Def fix
4716 tSCC zIo_Quotes_DefName[] =
4720 * File name selection pattern
4722 #define zIo_Quotes_DefList (char*)NULL
4724 * Machine/OS name selection pattern
4726 #define apzIo_Quotes_DefMachs (const char**)NULL
4729 * content selection pattern - do fix if pattern found
4731 tSCC zIo_Quotes_DefSelect0[] =
4732 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4734 #define IO_QUOTES_DEF_TEST_CT 1
4735 static tTestDesc aIo_Quotes_DefTests[] = {
4736 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4739 * Fix Command Arguments for Io_Quotes_Def
4741 static const char* apzIo_Quotes_DefPatch[] = {
4746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4748 * Description of Io_Quotes_Use fix
4750 tSCC zIo_Quotes_UseName[] =
4754 * File name selection pattern
4756 #define zIo_Quotes_UseList (char*)NULL
4758 * Machine/OS name selection pattern
4760 #define apzIo_Quotes_UseMachs (const char**)NULL
4763 * content selection pattern - do fix if pattern found
4765 tSCC zIo_Quotes_UseSelect0[] =
4766 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4768 #define IO_QUOTES_USE_TEST_CT 1
4769 static tTestDesc aIo_Quotes_UseTests[] = {
4770 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4773 * Fix Command Arguments for Io_Quotes_Use
4775 static const char* apzIo_Quotes_UsePatch[] = {
4780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4782 * Description of Ip_Missing_Semi fix
4784 tSCC zIp_Missing_SemiName[] =
4788 * File name selection pattern
4790 tSCC zIp_Missing_SemiList[] =
4793 * Machine/OS name selection pattern
4795 #define apzIp_Missing_SemiMachs (const char**)NULL
4798 * content selection pattern - do fix if pattern found
4800 tSCC zIp_Missing_SemiSelect0[] =
4803 #define IP_MISSING_SEMI_TEST_CT 1
4804 static tTestDesc aIp_Missing_SemiTests[] = {
4805 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4808 * Fix Command Arguments for Ip_Missing_Semi
4810 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4811 "-e", "/^struct/,/^};/s/}$/};/",
4814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4816 * Description of Irix_Limits_Const fix
4818 tSCC zIrix_Limits_ConstName[] =
4819 "irix_limits_const";
4822 * File name selection pattern
4824 tSCC zIrix_Limits_ConstList[] =
4825 "fixinc-test-limits.h\0limits.h\0";
4827 * Machine/OS name selection pattern
4829 #define apzIrix_Limits_ConstMachs (const char**)NULL
4832 * content selection pattern - do fix if pattern found
4834 tSCC zIrix_Limits_ConstSelect0[] =
4837 #define IRIX_LIMITS_CONST_TEST_CT 1
4838 static tTestDesc aIrix_Limits_ConstTests[] = {
4839 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4842 * Fix Command Arguments for Irix_Limits_Const
4844 static const char* apzIrix_Limits_ConstPatch[] = {
4849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4851 * Description of Irix_Stdio_Va_List fix
4853 tSCC zIrix_Stdio_Va_ListName[] =
4854 "irix_stdio_va_list";
4857 * File name selection pattern
4859 tSCC zIrix_Stdio_Va_ListList[] =
4862 * Machine/OS name selection pattern
4864 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4867 * content selection pattern - do fix if pattern found
4869 tSCC zIrix_Stdio_Va_ListSelect0[] =
4870 "/\\* va_list \\*/ char \\*";
4872 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4873 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4874 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4877 * Fix Command Arguments for Irix_Stdio_Va_List
4879 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4886 * Description of Kandr_Concat fix
4888 tSCC zKandr_ConcatName[] =
4892 * File name selection pattern
4894 tSCC zKandr_ConcatList[] =
4895 "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";
4897 * Machine/OS name selection pattern
4899 #define apzKandr_ConcatMachs (const char**)NULL
4902 * content selection pattern - do fix if pattern found
4904 tSCC zKandr_ConcatSelect0[] =
4907 #define KANDR_CONCAT_TEST_CT 1
4908 static tTestDesc aKandr_ConcatTests[] = {
4909 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4912 * Fix Command Arguments for Kandr_Concat
4914 static const char* apzKandr_ConcatPatch[] = {
4919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4921 * Description of Linux_Ia64_Ucontext fix
4923 tSCC zLinux_Ia64_UcontextName[] =
4924 "linux_ia64_ucontext";
4927 * File name selection pattern
4929 tSCC zLinux_Ia64_UcontextList[] =
4932 * Machine/OS name selection pattern
4934 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4936 (const char*)NULL };
4939 * content selection pattern - do fix if pattern found
4941 tSCC zLinux_Ia64_UcontextSelect0[] =
4942 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4944 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4945 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4946 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4949 * Fix Command Arguments for Linux_Ia64_Ucontext
4951 static const char* apzLinux_Ia64_UcontextPatch[] = {
4953 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4958 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4960 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4961 "lynxos_no_warning_in_sys_time_h";
4964 * File name selection pattern
4966 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4969 * Machine/OS name selection pattern
4971 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4974 * content selection pattern - do fix if pattern found
4976 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4977 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4979 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4980 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4981 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4984 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4986 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4993 * Description of Lynxos_Missing_Putenv fix
4995 tSCC zLynxos_Missing_PutenvName[] =
4996 "lynxos_missing_putenv";
4999 * File name selection pattern
5001 tSCC zLynxos_Missing_PutenvList[] =
5004 * Machine/OS name selection pattern
5006 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5008 (const char*)NULL };
5011 * content selection pattern - do fix if pattern found
5013 tSCC zLynxos_Missing_PutenvSelect0[] =
5014 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5017 * content bypass pattern - skip fix if pattern found
5019 tSCC zLynxos_Missing_PutenvBypass0[] =
5022 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5023 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5024 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5025 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5028 * Fix Command Arguments for Lynxos_Missing_Putenv
5030 static const char* apzLynxos_Missing_PutenvPatch[] = {
5033 extern int putenv\t\t\t\t_AP((char *));",
5034 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5037 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5039 * Description of Machine_Ansi_H_Va_List fix
5041 tSCC zMachine_Ansi_H_Va_ListName[] =
5042 "machine_ansi_h_va_list";
5045 * File name selection pattern
5047 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5049 * Machine/OS name selection pattern
5051 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5054 * content selection pattern - do fix if pattern found
5056 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5057 "define[ \t]+_BSD_VA_LIST_[ \t]";
5060 * content bypass pattern - skip fix if pattern found
5062 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5063 "__builtin_va_list";
5065 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5066 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5067 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5068 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5071 * Fix Command Arguments for Machine_Ansi_H_Va_List
5073 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5075 "%1__builtin_va_list",
5076 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5079 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5081 * Description of Machine_Name fix
5083 tSCC zMachine_NameName[] =
5087 * File name selection pattern
5089 #define zMachine_NameList (char*)NULL
5091 * Machine/OS name selection pattern
5093 #define apzMachine_NameMachs (const char**)NULL
5096 * perform the C function call test
5098 tSCC zMachine_NameFTst0[] = "machine_name";
5100 #define MACHINE_NAME_TEST_CT 1
5101 static tTestDesc aMachine_NameTests[] = {
5102 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5105 * Fix Command Arguments for Machine_Name
5107 static const char* apzMachine_NamePatch[] = {
5111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5113 * Description of Math_Exception fix
5115 tSCC zMath_ExceptionName[] =
5119 * File name selection pattern
5121 tSCC zMath_ExceptionList[] =
5124 * Machine/OS name selection pattern
5126 #define apzMath_ExceptionMachs (const char**)NULL
5129 * content selection pattern - do fix if pattern found
5131 tSCC zMath_ExceptionSelect0[] =
5135 * content bypass pattern - skip fix if pattern found
5137 tSCC zMath_ExceptionBypass0[] =
5138 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5140 #define MATH_EXCEPTION_TEST_CT 2
5141 static tTestDesc aMath_ExceptionTests[] = {
5142 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5143 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5146 * Fix Command Arguments for Math_Exception
5148 static const char* apzMath_ExceptionPatch[] = {
5150 "#ifdef __cplusplus\n\
5151 #define exception __math_exception\n\
5153 "#ifdef __cplusplus\n\
5158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5160 * Description of Math_Huge_Val_From_Dbl_Max fix
5162 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5163 "math_huge_val_from_dbl_max";
5166 * File name selection pattern
5168 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5171 * Machine/OS name selection pattern
5173 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5176 * content selection pattern - do fix if pattern found
5178 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5179 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5182 * content bypass pattern - skip fix if pattern found
5184 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5185 "define[ \t]+DBL_MAX";
5187 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5188 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5189 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5190 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5193 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5195 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5196 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5197 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5198 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5205 * Description of Nested_Auth_Des fix
5207 tSCC zNested_Auth_DesName[] =
5211 * File name selection pattern
5213 tSCC zNested_Auth_DesList[] =
5216 * Machine/OS name selection pattern
5218 #define apzNested_Auth_DesMachs (const char**)NULL
5221 * content selection pattern - do fix if pattern found
5223 tSCC zNested_Auth_DesSelect0[] =
5224 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5226 #define NESTED_AUTH_DES_TEST_CT 1
5227 static tTestDesc aNested_Auth_DesTests[] = {
5228 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5231 * Fix Command Arguments for Nested_Auth_Des
5233 static const char* apzNested_Auth_DesPatch[] = {
5238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5240 * Description of Netbsd_C99_Inline_1 fix
5242 tSCC zNetbsd_C99_Inline_1Name[] =
5243 "netbsd_c99_inline_1";
5246 * File name selection pattern
5248 tSCC zNetbsd_C99_Inline_1List[] =
5251 * Machine/OS name selection pattern
5253 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5255 (const char*)NULL };
5258 * content selection pattern - do fix if pattern found
5260 tSCC zNetbsd_C99_Inline_1Select0[] =
5261 "extern __inline int";
5263 #define NETBSD_C99_INLINE_1_TEST_CT 1
5264 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5265 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5268 * Fix Command Arguments for Netbsd_C99_Inline_1
5270 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5273 #ifdef __GNUC_STDC_INLINE__\n\
5274 __attribute__((__gnu_inline__))\n\
5279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5281 * Description of Netbsd_C99_Inline_2 fix
5283 tSCC zNetbsd_C99_Inline_2Name[] =
5284 "netbsd_c99_inline_2";
5287 * File name selection pattern
5289 tSCC zNetbsd_C99_Inline_2List[] =
5292 * Machine/OS name selection pattern
5294 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5296 (const char*)NULL };
5299 * content selection pattern - do fix if pattern found
5301 tSCC zNetbsd_C99_Inline_2Select0[] =
5302 "#define _SIGINLINE extern __inline";
5304 #define NETBSD_C99_INLINE_2_TEST_CT 1
5305 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5306 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5309 * Fix Command Arguments for Netbsd_C99_Inline_2
5311 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5313 "#ifdef __GNUC_STDC_INLINE__\n\
5314 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5322 * Description of Netbsd_Extra_Semicolon fix
5324 tSCC zNetbsd_Extra_SemicolonName[] =
5325 "netbsd_extra_semicolon";
5328 * File name selection pattern
5330 tSCC zNetbsd_Extra_SemicolonList[] =
5333 * Machine/OS name selection pattern
5335 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5337 (const char*)NULL };
5340 * content selection pattern - do fix if pattern found
5342 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5343 "#define[ \t]*__END_DECLS[ \t]*};";
5345 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5346 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5347 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5350 * Fix Command Arguments for Netbsd_Extra_Semicolon
5352 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5354 "#define __END_DECLS }",
5357 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5359 * Description of Newlib_Stdint_1 fix
5361 tSCC zNewlib_Stdint_1Name[] =
5365 * File name selection pattern
5367 tSCC zNewlib_Stdint_1List[] =
5368 "stdint-newlib.h\0stdint.h\0";
5370 * Machine/OS name selection pattern
5372 #define apzNewlib_Stdint_1Machs (const char**)NULL
5375 * content selection pattern - do fix if pattern found
5377 tSCC zNewlib_Stdint_1Select0[] =
5378 "@todo - Add support for wint_t types";
5380 #define NEWLIB_STDINT_1_TEST_CT 1
5381 static tTestDesc aNewlib_Stdint_1Tests[] = {
5382 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5385 * Fix Command Arguments for Newlib_Stdint_1
5387 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5388 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5389 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5390 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5391 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5392 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5393 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5394 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5395 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5396 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5397 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5398 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5399 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5400 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5401 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5404 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5406 * Description of Newlib_Stdint_2 fix
5408 tSCC zNewlib_Stdint_2Name[] =
5412 * File name selection pattern
5414 tSCC zNewlib_Stdint_2List[] =
5415 "stdint-newlib.h\0stdint.h\0";
5417 * Machine/OS name selection pattern
5419 #define apzNewlib_Stdint_2Machs (const char**)NULL
5422 * content selection pattern - do fix if pattern found
5424 tSCC zNewlib_Stdint_2Select0[] =
5425 "@todo - Add support for wint_t types";
5427 #define NEWLIB_STDINT_2_TEST_CT 1
5428 static tTestDesc aNewlib_Stdint_2Tests[] = {
5429 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5432 * Fix Command Arguments for Newlib_Stdint_2
5434 static const char* apzNewlib_Stdint_2Patch[] = {
5436 "#define INTMAX_MAX __INTMAX_MAX__\n\
5437 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5438 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5439 #define WCHAR_MAX __WCHAR_MAX__\n\
5440 #define WCHAR_MIN __WCHAR_MIN__\n\
5441 #define WINT_MAX __WINT_MAX__\n\
5442 #define WINT_MIN __WINT_MIN__\n\n\
5444 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5449 * Description of Next_Math_Prefix fix
5451 tSCC zNext_Math_PrefixName[] =
5455 * File name selection pattern
5457 tSCC zNext_Math_PrefixList[] =
5460 * Machine/OS name selection pattern
5462 #define apzNext_Math_PrefixMachs (const char**)NULL
5465 * content selection pattern - do fix if pattern found
5467 tSCC zNext_Math_PrefixSelect0[] =
5468 "^extern[ \t]+double[ \t]+__const__[ \t]";
5470 #define NEXT_MATH_PREFIX_TEST_CT 1
5471 static tTestDesc aNext_Math_PrefixTests[] = {
5472 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5475 * Fix Command Arguments for Next_Math_Prefix
5477 static const char* apzNext_Math_PrefixPatch[] = {
5479 "extern double %1(",
5480 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5485 * Description of Next_Template fix
5487 tSCC zNext_TemplateName[] =
5491 * File name selection pattern
5493 tSCC zNext_TemplateList[] =
5496 * Machine/OS name selection pattern
5498 #define apzNext_TemplateMachs (const char**)NULL
5501 * content selection pattern - do fix if pattern found
5503 tSCC zNext_TemplateSelect0[] =
5506 #define NEXT_TEMPLATE_TEST_CT 1
5507 static tTestDesc aNext_TemplateTests[] = {
5508 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5511 * Fix Command Arguments for Next_Template
5513 static const char* apzNext_TemplatePatch[] = {
5516 "\\(([^)]*)[ \t]template\\)",
5519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5521 * Description of Next_Volitile fix
5523 tSCC zNext_VolitileName[] =
5527 * File name selection pattern
5529 tSCC zNext_VolitileList[] =
5532 * Machine/OS name selection pattern
5534 #define apzNext_VolitileMachs (const char**)NULL
5537 * content selection pattern - do fix if pattern found
5539 tSCC zNext_VolitileSelect0[] =
5540 "^extern[ \t]+volatile[ \t]+void[ \t]";
5542 #define NEXT_VOLITILE_TEST_CT 1
5543 static tTestDesc aNext_VolitileTests[] = {
5544 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5547 * Fix Command Arguments for Next_Volitile
5549 static const char* apzNext_VolitilePatch[] = {
5552 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5557 * Description of Next_Wait_Union fix
5559 tSCC zNext_Wait_UnionName[] =
5563 * File name selection pattern
5565 tSCC zNext_Wait_UnionList[] =
5568 * Machine/OS name selection pattern
5570 #define apzNext_Wait_UnionMachs (const char**)NULL
5573 * content selection pattern - do fix if pattern found
5575 tSCC zNext_Wait_UnionSelect0[] =
5576 "wait\\(union wait";
5578 #define NEXT_WAIT_UNION_TEST_CT 1
5579 static tTestDesc aNext_Wait_UnionTests[] = {
5580 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5583 * Fix Command Arguments for Next_Wait_Union
5585 static const char* apzNext_Wait_UnionPatch[] = {
5590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5592 * Description of Nodeent_Syntax fix
5594 tSCC zNodeent_SyntaxName[] =
5598 * File name selection pattern
5600 tSCC zNodeent_SyntaxList[] =
5601 "netdnet/dnetdb.h\0";
5603 * Machine/OS name selection pattern
5605 #define apzNodeent_SyntaxMachs (const char**)NULL
5608 * content selection pattern - do fix if pattern found
5610 tSCC zNodeent_SyntaxSelect0[] =
5611 "char[ \t]*\\*na_addr[ \t]*$";
5613 #define NODEENT_SYNTAX_TEST_CT 1
5614 static tTestDesc aNodeent_SyntaxTests[] = {
5615 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5618 * Fix Command Arguments for Nodeent_Syntax
5620 static const char* apzNodeent_SyntaxPatch[] = {
5625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5627 * Description of Openbsd_Null_Definition fix
5629 tSCC zOpenbsd_Null_DefinitionName[] =
5630 "openbsd_null_definition";
5633 * File name selection pattern
5635 tSCC zOpenbsd_Null_DefinitionList[] =
5636 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5638 * Machine/OS name selection pattern
5640 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5642 (const char*)NULL };
5645 * content selection pattern - do fix if pattern found
5647 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5650 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5651 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5652 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5655 * Fix Command Arguments for Openbsd_Null_Definition
5657 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5660 #ifdef __cplusplus\n\
5662 #define NULL\t__null\n\
5663 #else\t /* ! __GNUG__ */\n\
5665 #endif\t /* __GNUG__ */\n\
5666 #else\t /* ! __cplusplus */\n\
5667 #define NULL\t((void *)0)\n\
5668 #endif\t /* __cplusplus */\n\
5669 #endif\t /* !NULL */",
5670 "^#ifndef[ \t]*NULL\n\
5671 ^#ifdef[ \t]*__GNUG__\n\
5672 ^#define[ \t]*NULL[ \t]*__null\n\
5674 ^#define[ \t]*NULL[ \t]*0L\n\
5679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5681 * Description of Obstack_Lvalue_Cast fix
5683 tSCC zObstack_Lvalue_CastName[] =
5684 "obstack_lvalue_cast";
5687 * File name selection pattern
5689 tSCC zObstack_Lvalue_CastList[] =
5692 * Machine/OS name selection pattern
5694 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5697 * content selection pattern - do fix if pattern found
5699 tSCC zObstack_Lvalue_CastSelect0[] =
5700 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5702 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5703 static tTestDesc aObstack_Lvalue_CastTests[] = {
5704 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5707 * Fix Command Arguments for Obstack_Lvalue_Cast
5709 static const char* apzObstack_Lvalue_CastPatch[] = {
5711 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5716 * Description of Openbsd_Va_Start fix
5718 tSCC zOpenbsd_Va_StartName[] =
5722 * File name selection pattern
5724 tSCC zOpenbsd_Va_StartList[] =
5727 * Machine/OS name selection pattern
5729 tSCC* apzOpenbsd_Va_StartMachs[] = {
5731 (const char*)NULL };
5734 * content selection pattern - do fix if pattern found
5736 tSCC zOpenbsd_Va_StartSelect0[] =
5737 "__builtin_stdarg_start";
5739 #define OPENBSD_VA_START_TEST_CT 1
5740 static tTestDesc aOpenbsd_Va_StartTests[] = {
5741 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5744 * Fix Command Arguments for Openbsd_Va_Start
5746 static const char* apzOpenbsd_Va_StartPatch[] = {
5748 "__builtin_va_start",
5751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5753 * Description of Osf_Namespace_A fix
5755 tSCC zOsf_Namespace_AName[] =
5759 * File name selection pattern
5761 tSCC zOsf_Namespace_AList[] =
5762 "reg_types.h\0sys/lc_core.h\0";
5764 * Machine/OS name selection pattern
5766 #define apzOsf_Namespace_AMachs (const char**)NULL
5769 * perform the 'test' shell command - do fix on success
5771 tSCC zOsf_Namespace_ATest0[] =
5773 tSCC zOsf_Namespace_ATest1[] =
5774 " -r sys/lc_core.h";
5775 tSCC zOsf_Namespace_ATest2[] =
5776 " -n \"`grep '} regex_t;' reg_types.h`\"";
5777 tSCC zOsf_Namespace_ATest3[] =
5778 " -z \"`grep __regex_t regex.h`\"";
5780 #define OSF_NAMESPACE_A_TEST_CT 4
5781 static tTestDesc aOsf_Namespace_ATests[] = {
5782 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5783 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5784 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5785 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5788 * Fix Command Arguments for Osf_Namespace_A
5790 static const char* apzOsf_Namespace_APatch[] = {
5793 "reg(ex|off|match)_t",
5796 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5798 * Description of Osf_Namespace_C fix
5800 tSCC zOsf_Namespace_CName[] =
5804 * File name selection pattern
5806 tSCC zOsf_Namespace_CList[] =
5809 * Machine/OS name selection pattern
5811 #define apzOsf_Namespace_CMachs (const char**)NULL
5814 * content selection pattern - do fix if pattern found
5816 tSCC zOsf_Namespace_CSelect0[] =
5817 "#include <reg_types.h>.*";
5820 * perform the 'test' shell command - do fix on success
5822 tSCC zOsf_Namespace_CTest0[] =
5824 tSCC zOsf_Namespace_CTest1[] =
5825 " -r sys/lc_core.h";
5826 tSCC zOsf_Namespace_CTest2[] =
5827 " -n \"`grep '} regex_t;' reg_types.h`\"";
5828 tSCC zOsf_Namespace_CTest3[] =
5829 " -z \"`grep __regex_t regex.h`\"";
5831 #define OSF_NAMESPACE_C_TEST_CT 5
5832 static tTestDesc aOsf_Namespace_CTests[] = {
5833 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5834 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5835 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5836 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5837 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5840 * Fix Command Arguments for Osf_Namespace_C
5842 static const char* apzOsf_Namespace_CPatch[] = {
5845 typedef __regex_t\tregex_t;\n\
5846 typedef __regoff_t\tregoff_t;\n\
5847 typedef __regmatch_t\tregmatch_t;",
5850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5852 * Description of Pthread_Incomplete_Struct_Argument fix
5854 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5855 "pthread_incomplete_struct_argument";
5858 * File name selection pattern
5860 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5863 * Machine/OS name selection pattern
5865 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5868 * content selection pattern - do fix if pattern found
5870 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5871 "struct __jmp_buf_tag";
5873 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5874 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5875 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5878 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5880 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5883 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5888 * Description of Read_Ret_Type fix
5890 tSCC zRead_Ret_TypeName[] =
5894 * File name selection pattern
5896 tSCC zRead_Ret_TypeList[] =
5899 * Machine/OS name selection pattern
5901 #define apzRead_Ret_TypeMachs (const char**)NULL
5904 * content selection pattern - do fix if pattern found
5906 tSCC zRead_Ret_TypeSelect0[] =
5907 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5909 #define READ_RET_TYPE_TEST_CT 1
5910 static tTestDesc aRead_Ret_TypeTests[] = {
5911 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5914 * Fix Command Arguments for Read_Ret_Type
5916 static const char* apzRead_Ret_TypePatch[] = {
5918 "extern unsigned int fread(), fwrite();\n\
5920 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5925 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5927 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5928 "rpc_xdr_lvalue_cast_a";
5931 * File name selection pattern
5933 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5936 * Machine/OS name selection pattern
5938 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5941 * content selection pattern - do fix if pattern found
5943 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5944 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5947 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5948 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5949 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5952 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5954 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5956 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5959 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5961 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5963 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5964 "rpc_xdr_lvalue_cast_b";
5967 * File name selection pattern
5969 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5972 * Machine/OS name selection pattern
5974 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5977 * content selection pattern - do fix if pattern found
5979 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5980 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5983 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5984 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5985 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5988 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5990 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5992 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5997 * Description of Rs6000_Double fix
5999 tSCC zRs6000_DoubleName[] =
6003 * File name selection pattern
6005 tSCC zRs6000_DoubleList[] =
6008 * Machine/OS name selection pattern
6010 #define apzRs6000_DoubleMachs (const char**)NULL
6013 * content selection pattern - do fix if pattern found
6015 tSCC zRs6000_DoubleSelect0[] =
6016 "[^a-zA-Z_]class\\(";
6018 #define RS6000_DOUBLE_TEST_CT 1
6019 static tTestDesc aRs6000_DoubleTests[] = {
6020 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6023 * Fix Command Arguments for Rs6000_Double
6025 static const char* apzRs6000_DoublePatch[] = {
6027 "#ifndef __cplusplus\n\
6030 "^.*[^a-zA-Z_]class\\(.*",
6033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6035 * Description of Rs6000_Fchmod fix
6037 tSCC zRs6000_FchmodName[] =
6041 * File name selection pattern
6043 tSCC zRs6000_FchmodList[] =
6046 * Machine/OS name selection pattern
6048 #define apzRs6000_FchmodMachs (const char**)NULL
6051 * content selection pattern - do fix if pattern found
6053 tSCC zRs6000_FchmodSelect0[] =
6054 "fchmod\\(char \\*";
6056 #define RS6000_FCHMOD_TEST_CT 1
6057 static tTestDesc aRs6000_FchmodTests[] = {
6058 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6061 * Fix Command Arguments for Rs6000_Fchmod
6063 static const char* apzRs6000_FchmodPatch[] = {
6068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6070 * Description of Rs6000_Param fix
6072 tSCC zRs6000_ParamName[] =
6076 * File name selection pattern
6078 tSCC zRs6000_ParamList[] =
6079 "stdio.h\0unistd.h\0";
6081 * Machine/OS name selection pattern
6083 #define apzRs6000_ParamMachs (const char**)NULL
6086 * content selection pattern - do fix if pattern found
6088 tSCC zRs6000_ParamSelect0[] =
6089 "rename\\(const char \\*old, const char \\*new\\)";
6091 #define RS6000_PARAM_TEST_CT 1
6092 static tTestDesc aRs6000_ParamTests[] = {
6093 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6096 * Fix Command Arguments for Rs6000_Param
6098 static const char* apzRs6000_ParamPatch[] = {
6100 "rename(const char *_old, const char *_new)",
6103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6105 * Description of Solaris___Restrict fix
6107 tSCC zSolaris___RestrictName[] =
6108 "solaris___restrict";
6111 * File name selection pattern
6113 tSCC zSolaris___RestrictList[] =
6114 "sys/feature_tests.h\0";
6116 * Machine/OS name selection pattern
6118 tSCC* apzSolaris___RestrictMachs[] = {
6120 (const char*)NULL };
6123 * content selection pattern - do fix if pattern found
6125 tSCC zSolaris___RestrictSelect0[] =
6126 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6128 #define SOLARIS___RESTRICT_TEST_CT 1
6129 static tTestDesc aSolaris___RestrictTests[] = {
6130 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6133 * Fix Command Arguments for Solaris___Restrict
6135 static const char* apzSolaris___RestrictPatch[] = {
6137 "#ifdef __cplusplus\n\
6138 #define\t_RESTRICT_KYWD\t__restrict\n\
6144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6146 * Description of Solaris_Complex fix
6148 tSCC zSolaris_ComplexName[] =
6152 * File name selection pattern
6154 tSCC zSolaris_ComplexList[] =
6157 * Machine/OS name selection pattern
6159 tSCC* apzSolaris_ComplexMachs[] = {
6161 (const char*)NULL };
6164 * content selection pattern - do fix if pattern found
6166 tSCC zSolaris_ComplexSelect0[] =
6167 "#define[ \t]_Complex_I[ \t]_Complex_I";
6169 #define SOLARIS_COMPLEX_TEST_CT 1
6170 static tTestDesc aSolaris_ComplexTests[] = {
6171 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6174 * Fix Command Arguments for Solaris_Complex
6176 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6177 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6178 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6179 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6180 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6185 * Description of Solaris_Complex_Cxx fix
6187 tSCC zSolaris_Complex_CxxName[] =
6188 "solaris_complex_cxx";
6191 * File name selection pattern
6193 tSCC zSolaris_Complex_CxxList[] =
6196 * Machine/OS name selection pattern
6198 tSCC* apzSolaris_Complex_CxxMachs[] = {
6200 (const char*)NULL };
6201 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6202 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6205 * Fix Command Arguments for Solaris_Complex_Cxx
6207 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6208 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6209 #ifdef\t__cplusplus\\\n\
6212 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6213 #ifdef\t__cplusplus\\\n\
6218 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6220 * Description of Solaris_Cxx_Linkage fix
6222 tSCC zSolaris_Cxx_LinkageName[] =
6223 "solaris_cxx_linkage";
6226 * File name selection pattern
6228 tSCC zSolaris_Cxx_LinkageList[] =
6229 "iso/stdlib_iso.h\0";
6231 * Machine/OS name selection pattern
6233 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6235 (const char*)NULL };
6238 * content selection pattern - do fix if pattern found
6240 tSCC zSolaris_Cxx_LinkageSelect0[] =
6241 "(#if __cplusplus >= 199711L)\n\
6242 (extern \"C\\+\\+\" \\{\n\
6243 )(.*(bsearch|qsort).*)";
6245 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
6246 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6247 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6250 * Fix Command Arguments for Solaris_Cxx_Linkage
6252 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6260 * Description of Solaris_Getc_Strict_Stdc fix
6262 tSCC zSolaris_Getc_Strict_StdcName[] =
6263 "solaris_getc_strict_stdc";
6266 * File name selection pattern
6268 tSCC zSolaris_Getc_Strict_StdcList[] =
6269 "iso/stdio_iso.h\0";
6271 * Machine/OS name selection pattern
6273 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6275 (const char*)NULL };
6278 * content selection pattern - do fix if pattern found
6280 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6281 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6283 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
6284 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6285 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6288 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
6290 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6292 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6297 * Description of Solaris_Longjmp_Noreturn fix
6299 tSCC zSolaris_Longjmp_NoreturnName[] =
6300 "solaris_longjmp_noreturn";
6303 * File name selection pattern
6305 tSCC zSolaris_Longjmp_NoreturnList[] =
6306 "iso/setjmp_iso.h\0";
6308 * Machine/OS name selection pattern
6310 tSCC* apzSolaris_Longjmp_NoreturnMachs[] = {
6312 (const char*)NULL };
6315 * content selection pattern - do fix if pattern found
6317 tSCC zSolaris_Longjmp_NoreturnSelect0[] =
6318 "(.*longjmp\\(jmp_buf.*[^)]+\\));";
6321 * content bypass pattern - skip fix if pattern found
6323 tSCC zSolaris_Longjmp_NoreturnBypass0[] =
6326 #define SOLARIS_LONGJMP_NORETURN_TEST_CT 2
6327 static tTestDesc aSolaris_Longjmp_NoreturnTests[] = {
6328 { TT_NEGREP, zSolaris_Longjmp_NoreturnBypass0, (regex_t*)NULL },
6329 { TT_EGREP, zSolaris_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
6332 * Fix Command Arguments for Solaris_Longjmp_Noreturn
6334 static const char* apzSolaris_Longjmp_NoreturnPatch[] = {
6336 "%1 __attribute__ ((__noreturn__));",
6339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6341 * Description of Solaris_Math_1 fix
6343 tSCC zSolaris_Math_1Name[] =
6347 * File name selection pattern
6349 tSCC zSolaris_Math_1List[] =
6352 * Machine/OS name selection pattern
6354 #define apzSolaris_Math_1Machs (const char**)NULL
6357 * content selection pattern - do fix if pattern found
6359 tSCC zSolaris_Math_1Select0[] =
6360 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6363 * content bypass pattern - skip fix if pattern found
6365 tSCC zSolaris_Math_1Bypass0[] =
6368 #define SOLARIS_MATH_1_TEST_CT 2
6369 static tTestDesc aSolaris_Math_1Tests[] = {
6370 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6371 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6374 * Fix Command Arguments for Solaris_Math_1
6376 static const char* apzSolaris_Math_1Patch[] = {
6378 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6379 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6384 * Description of Solaris_Math_2 fix
6386 tSCC zSolaris_Math_2Name[] =
6390 * File name selection pattern
6392 tSCC zSolaris_Math_2List[] =
6395 * Machine/OS name selection pattern
6397 #define apzSolaris_Math_2Machs (const char**)NULL
6400 * content selection pattern - do fix if pattern found
6402 tSCC zSolaris_Math_2Select0[] =
6403 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6406 * content bypass pattern - skip fix if pattern found
6408 tSCC zSolaris_Math_2Bypass0[] =
6411 #define SOLARIS_MATH_2_TEST_CT 2
6412 static tTestDesc aSolaris_Math_2Tests[] = {
6413 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6414 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6417 * Fix Command Arguments for Solaris_Math_2
6419 static const char* apzSolaris_Math_2Patch[] = {
6421 "#define\tINFINITY\t(__builtin_inff())",
6422 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6427 * Description of Solaris_Math_3 fix
6429 tSCC zSolaris_Math_3Name[] =
6433 * File name selection pattern
6435 tSCC zSolaris_Math_3List[] =
6438 * Machine/OS name selection pattern
6440 #define apzSolaris_Math_3Machs (const char**)NULL
6443 * content selection pattern - do fix if pattern found
6445 tSCC zSolaris_Math_3Select0[] =
6446 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6449 * content bypass pattern - skip fix if pattern found
6451 tSCC zSolaris_Math_3Bypass0[] =
6454 #define SOLARIS_MATH_3_TEST_CT 2
6455 static tTestDesc aSolaris_Math_3Tests[] = {
6456 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6457 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6460 * Fix Command Arguments for Solaris_Math_3
6462 static const char* apzSolaris_Math_3Patch[] = {
6464 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6465 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6470 * Description of Solaris_Math_4 fix
6472 tSCC zSolaris_Math_4Name[] =
6476 * File name selection pattern
6478 tSCC zSolaris_Math_4List[] =
6481 * Machine/OS name selection pattern
6483 #define apzSolaris_Math_4Machs (const char**)NULL
6486 * content selection pattern - do fix if pattern found
6488 tSCC zSolaris_Math_4Select0[] =
6489 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6492 * content bypass pattern - skip fix if pattern found
6494 tSCC zSolaris_Math_4Bypass0[] =
6497 #define SOLARIS_MATH_4_TEST_CT 2
6498 static tTestDesc aSolaris_Math_4Tests[] = {
6499 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6500 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6503 * Fix Command Arguments for Solaris_Math_4
6505 static const char* apzSolaris_Math_4Patch[] = {
6507 "#define\tfpclassify(x) \\\n\
6508 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6509 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6514 * Description of Solaris_Math_8 fix
6516 tSCC zSolaris_Math_8Name[] =
6520 * File name selection pattern
6522 tSCC zSolaris_Math_8List[] =
6525 * Machine/OS name selection pattern
6527 #define apzSolaris_Math_8Machs (const char**)NULL
6530 * content selection pattern - do fix if pattern found
6532 tSCC zSolaris_Math_8Select0[] =
6533 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6536 * content bypass pattern - skip fix if pattern found
6538 tSCC zSolaris_Math_8Bypass0[] =
6541 #define SOLARIS_MATH_8_TEST_CT 2
6542 static tTestDesc aSolaris_Math_8Tests[] = {
6543 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6544 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6547 * Fix Command Arguments for Solaris_Math_8
6549 static const char* apzSolaris_Math_8Patch[] = {
6551 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6552 \t\t\t ? __builtin_signbitf(x) \\\n\
6553 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6554 \t\t\t ? __builtin_signbitl(x) \\\n\
6555 \t\t\t : __builtin_signbit(x))",
6556 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6561 * Description of Solaris_Math_9 fix
6563 tSCC zSolaris_Math_9Name[] =
6567 * File name selection pattern
6569 tSCC zSolaris_Math_9List[] =
6572 * Machine/OS name selection pattern
6574 #define apzSolaris_Math_9Machs (const char**)NULL
6577 * content selection pattern - do fix if pattern found
6579 tSCC zSolaris_Math_9Select0[] =
6580 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6583 * content bypass pattern - skip fix if pattern found
6585 tSCC zSolaris_Math_9Bypass0[] =
6588 #define SOLARIS_MATH_9_TEST_CT 2
6589 static tTestDesc aSolaris_Math_9Tests[] = {
6590 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6591 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6594 * Fix Command Arguments for Solaris_Math_9
6596 static const char* apzSolaris_Math_9Patch[] = {
6598 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6599 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6604 * Description of Solaris_Math_10 fix
6606 tSCC zSolaris_Math_10Name[] =
6610 * File name selection pattern
6612 tSCC zSolaris_Math_10List[] =
6615 * Machine/OS name selection pattern
6617 #define apzSolaris_Math_10Machs (const char**)NULL
6620 * content selection pattern - do fix if pattern found
6622 tSCC zSolaris_Math_10Select0[] =
6623 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6625 #define SOLARIS_MATH_10_TEST_CT 1
6626 static tTestDesc aSolaris_Math_10Tests[] = {
6627 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6630 * Fix Command Arguments for Solaris_Math_10
6632 static const char* apzSolaris_Math_10Patch[] = {
6634 "#define\tisinf(x) __builtin_isinf(x)",
6635 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6636 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6637 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6638 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6643 * Description of Solaris_Mutex_Init_2 fix
6645 tSCC zSolaris_Mutex_Init_2Name[] =
6646 "solaris_mutex_init_2";
6649 * File name selection pattern
6651 tSCC zSolaris_Mutex_Init_2List[] =
6654 * Machine/OS name selection pattern
6656 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6657 "*-*-solaris2.[0-9]",
6658 "*-*-solaris2.[0-9][!0-9]*",
6659 (const char*)NULL };
6662 * content selection pattern - do fix if pattern found
6664 tSCC zSolaris_Mutex_Init_2Select0[] =
6665 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6667 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6668 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6669 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6672 * Fix Command Arguments for Solaris_Mutex_Init_2
6674 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6676 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6681 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6682 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6687 * Description of Solaris_Pow_Int_Overload fix
6689 tSCC zSolaris_Pow_Int_OverloadName[] =
6690 "solaris_pow_int_overload";
6693 * File name selection pattern
6695 tSCC zSolaris_Pow_Int_OverloadList[] =
6698 * Machine/OS name selection pattern
6700 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
6702 (const char*)NULL };
6705 * content selection pattern - do fix if pattern found
6707 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
6708 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
6711 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
6712 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
6713 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
6716 * Fix Command Arguments for Solaris_Pow_Int_Overload
6718 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
6720 "#if __cplusplus < 201103L\n\
6725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6727 * Description of Solaris_Rwlock_Init_1 fix
6729 tSCC zSolaris_Rwlock_Init_1Name[] =
6730 "solaris_rwlock_init_1";
6733 * File name selection pattern
6735 tSCC zSolaris_Rwlock_Init_1List[] =
6738 * Machine/OS name selection pattern
6740 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6742 (const char*)NULL };
6745 * content selection pattern - do fix if pattern found
6747 tSCC zSolaris_Rwlock_Init_1Select0[] =
6748 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6750 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6751 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6752 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6755 * Fix Command Arguments for Solaris_Rwlock_Init_1
6757 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6759 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6762 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6764 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6767 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6769 * Description of Solaris_Once_Init_1 fix
6771 tSCC zSolaris_Once_Init_1Name[] =
6772 "solaris_once_init_1";
6775 * File name selection pattern
6777 tSCC zSolaris_Once_Init_1List[] =
6780 * Machine/OS name selection pattern
6782 tSCC* apzSolaris_Once_Init_1Machs[] = {
6784 (const char*)NULL };
6787 * content selection pattern - do fix if pattern found
6789 tSCC zSolaris_Once_Init_1Select0[] =
6790 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6792 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6793 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6794 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6797 * Fix Command Arguments for Solaris_Once_Init_1
6799 static const char* apzSolaris_Once_Init_1Patch[] = {
6802 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6807 * Description of Solaris_Once_Init_2 fix
6809 tSCC zSolaris_Once_Init_2Name[] =
6810 "solaris_once_init_2";
6813 * File name selection pattern
6815 tSCC zSolaris_Once_Init_2List[] =
6818 * Machine/OS name selection pattern
6820 tSCC* apzSolaris_Once_Init_2Machs[] = {
6821 "*-*-solaris2.[0-9]",
6822 "*-*-solaris2.[0-9][!0-9]*",
6823 (const char*)NULL };
6826 * content selection pattern - do fix if pattern found
6828 tSCC zSolaris_Once_Init_2Select0[] =
6829 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6831 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6832 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6833 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6836 * Fix Command Arguments for Solaris_Once_Init_2
6838 static const char* apzSolaris_Once_Init_2Patch[] = {
6840 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6843 %1{0}, {0}, {0}, {%3}%4\n\
6845 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6850 * Description of Solaris_Int_Const fix
6852 tSCC zSolaris_Int_ConstName[] =
6853 "solaris_int_const";
6856 * File name selection pattern
6858 tSCC zSolaris_Int_ConstList[] =
6859 "sys/int_const.h\0";
6861 * Machine/OS name selection pattern
6863 tSCC* apzSolaris_Int_ConstMachs[] = {
6865 (const char*)NULL };
6868 * content selection pattern - do fix if pattern found
6870 tSCC zSolaris_Int_ConstSelect0[] =
6871 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6873 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6875 #define SOLARIS_INT_CONST_TEST_CT 1
6876 static tTestDesc aSolaris_Int_ConstTests[] = {
6877 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6880 * Fix Command Arguments for Solaris_Int_Const
6882 static const char* apzSolaris_Int_ConstPatch[] = {
6884 "#define\tUINT8_C(c)\t(c)\n\
6886 #define\tUINT16_C(c)\t(c)",
6889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6891 * Description of Solaris_Int_Limits_1 fix
6893 tSCC zSolaris_Int_Limits_1Name[] =
6894 "solaris_int_limits_1";
6897 * File name selection pattern
6899 tSCC zSolaris_Int_Limits_1List[] =
6900 "sys/int_limits.h\0";
6902 * Machine/OS name selection pattern
6904 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6906 (const char*)NULL };
6909 * content selection pattern - do fix if pattern found
6911 tSCC zSolaris_Int_Limits_1Select0[] =
6912 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6913 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6915 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6916 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6917 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6920 * Fix Command Arguments for Solaris_Int_Limits_1
6922 static const char* apzSolaris_Int_Limits_1Patch[] = {
6924 "#define\tUINT8_MAX\t(255)\n\
6925 #define\tUINT16_MAX\t(65535)",
6928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6930 * Description of Solaris_Int_Limits_2 fix
6932 tSCC zSolaris_Int_Limits_2Name[] =
6933 "solaris_int_limits_2";
6936 * File name selection pattern
6938 tSCC zSolaris_Int_Limits_2List[] =
6939 "sys/int_limits.h\0";
6941 * Machine/OS name selection pattern
6943 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6945 (const char*)NULL };
6948 * content selection pattern - do fix if pattern found
6950 tSCC zSolaris_Int_Limits_2Select0[] =
6951 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6953 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6954 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6955 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6958 * Fix Command Arguments for Solaris_Int_Limits_2
6960 static const char* apzSolaris_Int_Limits_2Patch[] = {
6962 "#define\t%1_FAST16_%2 %132_%2",
6965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6967 * Description of Solaris_Int_Limits_3 fix
6969 tSCC zSolaris_Int_Limits_3Name[] =
6970 "solaris_int_limits_3";
6973 * File name selection pattern
6975 tSCC zSolaris_Int_Limits_3List[] =
6976 "sys/int_limits.h\0";
6978 * Machine/OS name selection pattern
6980 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6982 (const char*)NULL };
6985 * content selection pattern - do fix if pattern found
6987 tSCC zSolaris_Int_Limits_3Select0[] =
6988 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6990 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6991 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6992 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6995 * Fix Command Arguments for Solaris_Int_Limits_3
6997 static const char* apzSolaris_Int_Limits_3Patch[] = {
6999 "#define\tSIZE_MAX\t4294967295U",
7002 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7004 * Description of Solaris_Int_Types fix
7006 tSCC zSolaris_Int_TypesName[] =
7007 "solaris_int_types";
7010 * File name selection pattern
7012 tSCC zSolaris_Int_TypesList[] =
7013 "sys/int_types.h\0";
7015 * Machine/OS name selection pattern
7017 #define apzSolaris_Int_TypesMachs (const char**)NULL
7020 * content selection pattern - do fix if pattern found
7022 tSCC zSolaris_Int_TypesSelect0[] =
7023 "__STDC__ - 0 == 0";
7026 * content bypass pattern - skip fix if pattern found
7028 tSCC zSolaris_Int_TypesBypass0[] =
7031 #define SOLARIS_INT_TYPES_TEST_CT 2
7032 static tTestDesc aSolaris_Int_TypesTests[] = {
7033 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
7034 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
7037 * Fix Command Arguments for Solaris_Int_Types
7039 static const char* apzSolaris_Int_TypesPatch[] = {
7041 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
7044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7046 * Description of Solaris_Posix_Spawn_Restrict fix
7048 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7049 "solaris_posix_spawn_restrict";
7052 * File name selection pattern
7054 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7057 * Machine/OS name selection pattern
7059 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7061 (const char*)NULL };
7064 * content selection pattern - do fix if pattern found
7066 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7067 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7069 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7070 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7071 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7074 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7076 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7078 "%1*_RESTRICT_KYWD %2%3",
7081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7083 * Description of Solaris_Std___Filbuf fix
7085 tSCC zSolaris_Std___FilbufName[] =
7086 "solaris_std___filbuf";
7089 * File name selection pattern
7091 tSCC zSolaris_Std___FilbufList[] =
7094 * Machine/OS name selection pattern
7096 tSCC* apzSolaris_Std___FilbufMachs[] = {
7098 (const char*)NULL };
7101 * content selection pattern - do fix if pattern found
7103 tSCC zSolaris_Std___FilbufSelect0[] =
7104 "(using std::perror;\n\
7108 * content bypass pattern - skip fix if pattern found
7110 tSCC zSolaris_Std___FilbufBypass0[] =
7111 "using std::__filbuf";
7113 #define SOLARIS_STD___FILBUF_TEST_CT 2
7114 static tTestDesc aSolaris_Std___FilbufTests[] = {
7115 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7116 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7119 * Fix Command Arguments for Solaris_Std___Filbuf
7121 static const char* apzSolaris_Std___FilbufPatch[] = {
7124 using std::__filbuf;\n\
7125 using std::__flsbuf;\n\
7130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7132 * Description of Solaris_Stdio_Tag fix
7134 tSCC zSolaris_Stdio_TagName[] =
7135 "solaris_stdio_tag";
7138 * File name selection pattern
7140 tSCC zSolaris_Stdio_TagList[] =
7143 * Machine/OS name selection pattern
7145 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7148 * content selection pattern - do fix if pattern found
7150 tSCC zSolaris_Stdio_TagSelect0[] =
7151 "__cplusplus < 54321L";
7154 * content bypass pattern - skip fix if pattern found
7156 tSCC zSolaris_Stdio_TagBypass0[] =
7159 #define SOLARIS_STDIO_TAG_TEST_CT 2
7160 static tTestDesc aSolaris_Stdio_TagTests[] = {
7161 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7162 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7165 * Fix Command Arguments for Solaris_Stdio_Tag
7167 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7168 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7173 * Description of Solaris_Sys_Va_List fix
7175 tSCC zSolaris_Sys_Va_ListName[] =
7176 "solaris_sys_va_list";
7179 * File name selection pattern
7181 tSCC zSolaris_Sys_Va_ListList[] =
7184 * Machine/OS name selection pattern
7186 tSCC* apzSolaris_Sys_Va_ListMachs[] = {
7188 (const char*)NULL };
7191 * content selection pattern - do fix if pattern found
7193 tSCC zSolaris_Sys_Va_ListSelect0[] =
7195 typedef void \\*__va_list;\n\
7197 typedef char \\*__va_list;\n\
7200 #define SOLARIS_SYS_VA_LIST_TEST_CT 1
7201 static tTestDesc aSolaris_Sys_Va_ListTests[] = {
7202 { TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
7205 * Fix Command Arguments for Solaris_Sys_Va_List
7207 static const char* apzSolaris_Sys_Va_ListPatch[] = {
7210 typedef __builtin_va_list __va_list;\n\
7216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7218 * Description of Statsswtch fix
7220 tSCC zStatsswtchName[] =
7224 * File name selection pattern
7226 tSCC zStatsswtchList[] =
7229 * Machine/OS name selection pattern
7231 #define apzStatsswtchMachs (const char**)NULL
7234 * content selection pattern - do fix if pattern found
7236 tSCC zStatsswtchSelect0[] =
7239 #define STATSSWTCH_TEST_CT 1
7240 static tTestDesc aStatsswtchTests[] = {
7241 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
7244 * Fix Command Arguments for Statsswtch
7246 static const char* apzStatsswtchPatch[] = {
7251 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7253 * Description of Stdio_Stdarg_H fix
7255 tSCC zStdio_Stdarg_HName[] =
7259 * File name selection pattern
7261 tSCC zStdio_Stdarg_HList[] =
7264 * Machine/OS name selection pattern
7266 tSCC* apzStdio_Stdarg_HMachs[] = {
7267 "*-*-solaris2.1[0-9]*",
7268 (const char*)NULL };
7271 * content bypass pattern - skip fix if pattern found
7273 tSCC zStdio_Stdarg_HBypass0[] =
7274 "include.*(stdarg.h|machine/ansi.h)";
7276 #define STDIO_STDARG_H_TEST_CT 1
7277 static tTestDesc aStdio_Stdarg_HTests[] = {
7278 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7281 * Fix Command Arguments for Stdio_Stdarg_H
7283 static const char* apzStdio_Stdarg_HPatch[] = {
7285 "#define __need___va_list\n\
7286 #include <stdarg.h>\n",
7289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7291 * Description of Stdio_Va_List fix
7293 tSCC zStdio_Va_ListName[] =
7297 * File name selection pattern
7299 tSCC zStdio_Va_ListList[] =
7302 * Machine/OS name selection pattern
7304 tSCC* apzStdio_Va_ListMachs[] = {
7305 "*-*-solaris2.1[0-9]*",
7306 (const char*)NULL };
7309 * content bypass pattern - skip fix if pattern found
7311 tSCC zStdio_Va_ListBypass0[] =
7312 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7314 #define STDIO_VA_LIST_TEST_CT 1
7315 static tTestDesc aStdio_Va_ListTests[] = {
7316 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7319 * Fix Command Arguments for Stdio_Va_List
7321 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7322 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7323 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7324 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7325 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7326 s@ va_list@ __not_va_list__@\n\
7327 s@\\*va_list@*__not_va_list__@\n\
7328 s@ __va_list)@ __gnuc_va_list)@\n\
7329 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7330 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7331 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7332 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7333 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7334 s@VA_LIST@DUMMY_VA_LIST@\n\
7335 s@_Va_LIST@_VA_LIST@",
7338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7340 * Description of Stdio_Va_List_Clients fix
7342 tSCC zStdio_Va_List_ClientsName[] =
7343 "stdio_va_list_clients";
7346 * File name selection pattern
7348 tSCC zStdio_Va_List_ClientsList[] =
7349 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7351 * Machine/OS name selection pattern
7353 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7356 * content bypass pattern - skip fix if pattern found
7358 tSCC zStdio_Va_List_ClientsBypass0[] =
7359 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7360 tSCC zStdio_Va_List_ClientsBypass1[] =
7361 "include <stdarg\\.h>|#ifdef va_start";
7363 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7364 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7365 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7366 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7369 * Fix Command Arguments for Stdio_Va_List_Clients
7371 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7372 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7373 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7374 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7375 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7376 s@ va_list@ __not_va_list__@\n\
7377 s@\\*va_list@*__not_va_list__@\n\
7378 s@ __va_list)@ __gnuc_va_list)@\n\
7379 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7380 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7381 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7382 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7383 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7384 s@VA_LIST@DUMMY_VA_LIST@\n\
7385 s@_Va_LIST@_VA_LIST@",
7388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7390 * Description of Strict_Ansi_Not fix
7392 tSCC zStrict_Ansi_NotName[] =
7396 * File name selection pattern
7398 #define zStrict_Ansi_NotList (char*)NULL
7400 * Machine/OS name selection pattern
7402 #define apzStrict_Ansi_NotMachs (const char**)NULL
7405 * content selection pattern - do fix if pattern found
7407 tSCC zStrict_Ansi_NotSelect0[] =
7408 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7411 * content bypass pattern - skip fix if pattern found
7413 tSCC zStrict_Ansi_NotBypass0[] =
7414 "GNU and MIPS C compilers define __STDC__ differently";
7415 tSCC zStrict_Ansi_NotBypass1[] =
7416 "__SCO_VERSION__.*__STDC__ != 1";
7419 * perform the C function call test
7421 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7423 #define STRICT_ANSI_NOT_TEST_CT 4
7424 static tTestDesc aStrict_Ansi_NotTests[] = {
7425 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7426 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7427 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7428 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7431 * Fix Command Arguments for Strict_Ansi_Not
7433 static const char* apzStrict_Ansi_NotPatch[] = {
7435 "%1 !defined(__STRICT_ANSI__)",
7438 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7440 * Description of Strict_Ansi_Not_Ctd fix
7442 tSCC zStrict_Ansi_Not_CtdName[] =
7443 "strict_ansi_not_ctd";
7446 * File name selection pattern
7448 tSCC zStrict_Ansi_Not_CtdList[] =
7449 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7451 * Machine/OS name selection pattern
7453 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7456 * content selection pattern - do fix if pattern found
7458 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7459 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7462 * perform the C function call test
7464 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7466 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7467 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7468 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7469 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7472 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7474 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7476 "%1 !defined(__STRICT_ANSI__)",
7479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7481 * Description of Strict_Ansi_Only fix
7483 tSCC zStrict_Ansi_OnlyName[] =
7487 * File name selection pattern
7489 #define zStrict_Ansi_OnlyList (char*)NULL
7491 * Machine/OS name selection pattern
7493 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7496 * content selection pattern - do fix if pattern found
7498 tSCC zStrict_Ansi_OnlySelect0[] =
7499 "^([ \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)";
7502 * perform the C function call test
7504 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7506 #define STRICT_ANSI_ONLY_TEST_CT 2
7507 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7508 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7509 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7512 * Fix Command Arguments for Strict_Ansi_Only
7514 static const char* apzStrict_Ansi_OnlyPatch[] = {
7516 "%1 defined(__STRICT_ANSI__)",
7519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7521 * Description of Struct_File fix
7523 tSCC zStruct_FileName[] =
7527 * File name selection pattern
7529 tSCC zStruct_FileList[] =
7532 * Machine/OS name selection pattern
7534 #define apzStruct_FileMachs (const char**)NULL
7537 * content selection pattern - do fix if pattern found
7539 tSCC zStruct_FileSelect0[] =
7540 "^.*xdrstdio_create.*struct __file_s";
7542 #define STRUCT_FILE_TEST_CT 1
7543 static tTestDesc aStruct_FileTests[] = {
7544 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7547 * Fix Command Arguments for Struct_File
7549 static const char* apzStruct_FilePatch[] = {
7551 "struct __file_s;\n\
7555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7557 * Description of Struct_Sockaddr fix
7559 tSCC zStruct_SockaddrName[] =
7563 * File name selection pattern
7565 tSCC zStruct_SockaddrList[] =
7568 * Machine/OS name selection pattern
7570 #define apzStruct_SockaddrMachs (const char**)NULL
7573 * content selection pattern - do fix if pattern found
7575 tSCC zStruct_SockaddrSelect0[] =
7576 "^.*authdes_create.*struct sockaddr[^_]";
7579 * content bypass pattern - skip fix if pattern found
7581 tSCC zStruct_SockaddrBypass0[] =
7583 tSCC zStruct_SockaddrBypass1[] =
7584 "struct sockaddr;\n";
7586 #define STRUCT_SOCKADDR_TEST_CT 3
7587 static tTestDesc aStruct_SockaddrTests[] = {
7588 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7589 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7590 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7593 * Fix Command Arguments for Struct_Sockaddr
7595 static const char* apzStruct_SockaddrPatch[] = {
7597 "struct sockaddr;\n\
7601 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7603 * Description of Sun_Auth_Proto fix
7605 tSCC zSun_Auth_ProtoName[] =
7609 * File name selection pattern
7611 tSCC zSun_Auth_ProtoList[] =
7612 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7614 * Machine/OS name selection pattern
7616 #define apzSun_Auth_ProtoMachs (const char**)NULL
7619 * content selection pattern - do fix if pattern found
7621 tSCC zSun_Auth_ProtoSelect0[] =
7622 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7625 * content bypass pattern - skip fix if pattern found
7627 tSCC zSun_Auth_ProtoBypass0[] =
7630 #define SUN_AUTH_PROTO_TEST_CT 2
7631 static tTestDesc aSun_Auth_ProtoTests[] = {
7632 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7633 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7636 * Fix Command Arguments for Sun_Auth_Proto
7638 static const char* apzSun_Auth_ProtoPatch[] = {
7640 "#ifdef __cplusplus\n\
7645 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7650 * Description of Sun_Bogus_Ifdef fix
7652 tSCC zSun_Bogus_IfdefName[] =
7656 * File name selection pattern
7658 tSCC zSun_Bogus_IfdefList[] =
7659 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7661 * Machine/OS name selection pattern
7663 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7666 * content selection pattern - do fix if pattern found
7668 tSCC zSun_Bogus_IfdefSelect0[] =
7669 "#ifdef(.*\\|\\|.*)";
7671 #define SUN_BOGUS_IFDEF_TEST_CT 1
7672 static tTestDesc aSun_Bogus_IfdefTests[] = {
7673 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7676 * Fix Command Arguments for Sun_Bogus_Ifdef
7678 static const char* apzSun_Bogus_IfdefPatch[] = {
7683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7685 * Description of Sun_Catmacro fix
7687 tSCC zSun_CatmacroName[] =
7691 * File name selection pattern
7693 tSCC zSun_CatmacroList[] =
7694 "pixrect/memvar.h\0";
7696 * Machine/OS name selection pattern
7698 #define apzSun_CatmacroMachs (const char**)NULL
7701 * content selection pattern - do fix if pattern found
7703 tSCC zSun_CatmacroSelect0[] =
7704 "^#define[ \t]+CAT\\(a,b\\).*";
7706 #define SUN_CATMACRO_TEST_CT 1
7707 static tTestDesc aSun_CatmacroTests[] = {
7708 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7711 * Fix Command Arguments for Sun_Catmacro
7713 static const char* apzSun_CatmacroPatch[] = {
7716 # define CAT(a,b) a##b\n\
7722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7724 * Description of Sun_Malloc fix
7726 tSCC zSun_MallocName[] =
7730 * File name selection pattern
7732 tSCC zSun_MallocList[] =
7735 * Machine/OS name selection pattern
7737 #define apzSun_MallocMachs (const char**)NULL
7740 * content bypass pattern - skip fix if pattern found
7742 tSCC zSun_MallocBypass0[] =
7743 "_CLASSIC_ANSI_TYPES";
7745 #define SUN_MALLOC_TEST_CT 1
7746 static tTestDesc aSun_MallocTests[] = {
7747 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7750 * Fix Command Arguments for Sun_Malloc
7752 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7753 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7754 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7755 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7756 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7757 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7762 * Description of Sun_Rusers_Semi fix
7764 tSCC zSun_Rusers_SemiName[] =
7768 * File name selection pattern
7770 tSCC zSun_Rusers_SemiList[] =
7771 "rpcsvc/rusers.h\0";
7773 * Machine/OS name selection pattern
7775 #define apzSun_Rusers_SemiMachs (const char**)NULL
7778 * content selection pattern - do fix if pattern found
7780 tSCC zSun_Rusers_SemiSelect0[] =
7783 #define SUN_RUSERS_SEMI_TEST_CT 1
7784 static tTestDesc aSun_Rusers_SemiTests[] = {
7785 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7788 * Fix Command Arguments for Sun_Rusers_Semi
7790 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7791 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7796 * Description of Sun_Signal fix
7798 tSCC zSun_SignalName[] =
7802 * File name selection pattern
7804 tSCC zSun_SignalList[] =
7805 "sys/signal.h\0signal.h\0";
7807 * Machine/OS name selection pattern
7809 #define apzSun_SignalMachs (const char**)NULL
7812 * content selection pattern - do fix if pattern found
7814 tSCC zSun_SignalSelect0[] =
7815 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7817 #define SUN_SIGNAL_TEST_CT 1
7818 static tTestDesc aSun_SignalTests[] = {
7819 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7822 * Fix Command Arguments for Sun_Signal
7824 static const char* apzSun_SignalPatch[] = {
7826 "#ifdef __cplusplus\n\
7827 void\t(*signal(...))(...);\n\
7833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7835 * Description of Sunos_Strlen fix
7837 tSCC zSunos_StrlenName[] =
7841 * File name selection pattern
7843 tSCC zSunos_StrlenList[] =
7846 * Machine/OS name selection pattern
7848 #define apzSunos_StrlenMachs (const char**)NULL
7851 * content selection pattern - do fix if pattern found
7853 tSCC zSunos_StrlenSelect0[] =
7854 "int[ \t]*strlen\\(\\);(.*)";
7856 #define SUNOS_STRLEN_TEST_CT 1
7857 static tTestDesc aSunos_StrlenTests[] = {
7858 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7861 * Fix Command Arguments for Sunos_Strlen
7863 static const char* apzSunos_StrlenPatch[] = {
7865 "__SIZE_TYPE__ strlen();%1",
7868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7870 * Description of Svr4_Disable_Opt fix
7872 tSCC zSvr4_Disable_OptName[] =
7876 * File name selection pattern
7878 tSCC zSvr4_Disable_OptList[] =
7881 * Machine/OS name selection pattern
7883 #define apzSvr4_Disable_OptMachs (const char**)NULL
7886 * content selection pattern - do fix if pattern found
7888 tSCC zSvr4_Disable_OptSelect0[] =
7889 "#define.*__std_hdr_";
7891 #define SVR4_DISABLE_OPT_TEST_CT 1
7892 static tTestDesc aSvr4_Disable_OptTests[] = {
7893 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7896 * Fix Command Arguments for Svr4_Disable_Opt
7898 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7899 "-e", "/#define.*__std_hdr_/d",
7902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7904 * Description of Svr4_Getcwd fix
7906 tSCC zSvr4_GetcwdName[] =
7910 * File name selection pattern
7912 tSCC zSvr4_GetcwdList[] =
7913 "stdlib.h\0unistd.h\0prototypes.h\0";
7915 * Machine/OS name selection pattern
7917 #define apzSvr4_GetcwdMachs (const char**)NULL
7920 * content selection pattern - do fix if pattern found
7922 tSCC zSvr4_GetcwdSelect0[] =
7923 "getcwd\\(char \\*, int\\)";
7925 #define SVR4_GETCWD_TEST_CT 1
7926 static tTestDesc aSvr4_GetcwdTests[] = {
7927 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7930 * Fix Command Arguments for Svr4_Getcwd
7932 static const char* apzSvr4_GetcwdPatch[] = {
7934 "getcwd(char *, size_t)",
7937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7939 * Description of Svr4_Profil fix
7941 tSCC zSvr4_ProfilName[] =
7945 * File name selection pattern
7947 tSCC zSvr4_ProfilList[] =
7948 "stdlib.h\0unistd.h\0";
7950 * Machine/OS name selection pattern
7952 #define apzSvr4_ProfilMachs (const char**)NULL
7955 * content selection pattern - do fix if pattern found
7957 tSCC zSvr4_ProfilSelect0[] =
7958 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7960 #define SVR4_PROFIL_TEST_CT 1
7961 static tTestDesc aSvr4_ProfilTests[] = {
7962 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7965 * Fix Command Arguments for Svr4_Profil
7967 static const char* apzSvr4_ProfilPatch[] = {
7969 "profil(unsigned short *, size_t, int, unsigned int)",
7972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7974 * Description of Svr4_Sighandler_Type fix
7976 tSCC zSvr4_Sighandler_TypeName[] =
7977 "svr4_sighandler_type";
7980 * File name selection pattern
7982 tSCC zSvr4_Sighandler_TypeList[] =
7985 * Machine/OS name selection pattern
7987 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7990 * content selection pattern - do fix if pattern found
7992 tSCC zSvr4_Sighandler_TypeSelect0[] =
7993 "void *\\(\\*\\)\\(\\)";
7995 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7996 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7997 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8000 * Fix Command Arguments for Svr4_Sighandler_Type
8002 static const char* apzSvr4_Sighandler_TypePatch[] = {
8007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8009 * Description of Svr4_Undeclared_Getrnge fix
8011 tSCC zSvr4_Undeclared_GetrngeName[] =
8012 "svr4_undeclared_getrnge";
8015 * File name selection pattern
8017 tSCC zSvr4_Undeclared_GetrngeList[] =
8020 * Machine/OS name selection pattern
8022 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8025 * content selection pattern - do fix if pattern found
8027 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8031 * content bypass pattern - skip fix if pattern found
8033 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8034 "static void getrnge";
8036 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8037 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8038 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8039 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8042 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8044 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8047 static int getrnge ();",
8048 "^static int[ \t]+size;",
8051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8053 * Description of Sysv68_String fix
8055 tSCC zSysv68_StringName[] =
8059 * File name selection pattern
8061 tSCC zSysv68_StringList[] =
8062 "testing.h\0string.h\0";
8064 * Machine/OS name selection pattern
8066 #define apzSysv68_StringMachs (const char**)NULL
8069 * content bypass pattern - skip fix if pattern found
8071 tSCC zSysv68_StringBypass0[] =
8072 "_CLASSIC_ANSI_TYPES";
8074 #define SYSV68_STRING_TEST_CT 1
8075 static tTestDesc aSysv68_StringTests[] = {
8076 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8079 * Fix Command Arguments for Sysv68_String
8081 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8082 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8083 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8084 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8085 "-e", "/^extern char$/N",
8086 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8087 "-e", "/^extern int$/N",
8088 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8089 "-e", "/^\tstrncmp(),$/N",
8090 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8091 extern unsigned int\\\n\
8095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8097 * Description of Sysz_Stdlib_For_Sun fix
8099 tSCC zSysz_Stdlib_For_SunName[] =
8100 "sysz_stdlib_for_sun";
8103 * File name selection pattern
8105 tSCC zSysz_Stdlib_For_SunList[] =
8108 * Machine/OS name selection pattern
8110 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8113 * content selection pattern - do fix if pattern found
8115 tSCC zSysz_Stdlib_For_SunSelect0[] =
8116 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8119 * content bypass pattern - skip fix if pattern found
8121 tSCC zSysz_Stdlib_For_SunBypass0[] =
8122 "_CLASSIC_ANSI_TYPES";
8124 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8125 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8126 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8127 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8130 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8132 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8139 * Description of Thread_Keyword fix
8141 tSCC zThread_KeywordName[] =
8145 * File name selection pattern
8147 tSCC zThread_KeywordList[] =
8148 "pthread.h\0bits/sigthread.h\0";
8150 * Machine/OS name selection pattern
8152 #define apzThread_KeywordMachs (const char**)NULL
8155 * content selection pattern - do fix if pattern found
8157 tSCC zThread_KeywordSelect0[] =
8158 "([* ])__thread([,)])";
8160 #define THREAD_KEYWORD_TEST_CT 1
8161 static tTestDesc aThread_KeywordTests[] = {
8162 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8165 * Fix Command Arguments for Thread_Keyword
8167 static const char* apzThread_KeywordPatch[] = {
8172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8174 * Description of Tinfo_Cplusplus fix
8176 tSCC zTinfo_CplusplusName[] =
8180 * File name selection pattern
8182 tSCC zTinfo_CplusplusList[] =
8185 * Machine/OS name selection pattern
8187 #define apzTinfo_CplusplusMachs (const char**)NULL
8190 * content selection pattern - do fix if pattern found
8192 tSCC zTinfo_CplusplusSelect0[] =
8195 #define TINFO_CPLUSPLUS_TEST_CT 1
8196 static tTestDesc aTinfo_CplusplusTests[] = {
8197 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8200 * Fix Command Arguments for Tinfo_Cplusplus
8202 static const char* apzTinfo_CplusplusPatch[] = {
8207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8209 * Description of Ultrix_Const fix
8211 tSCC zUltrix_ConstName[] =
8215 * File name selection pattern
8217 tSCC zUltrix_ConstList[] =
8220 * Machine/OS name selection pattern
8222 #define apzUltrix_ConstMachs (const char**)NULL
8225 * content selection pattern - do fix if pattern found
8227 tSCC zUltrix_ConstSelect0[] =
8228 "perror\\( char \\*";
8230 #define ULTRIX_CONST_TEST_CT 1
8231 static tTestDesc aUltrix_ConstTests[] = {
8232 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
8235 * Fix Command Arguments for Ultrix_Const
8237 static const char* apzUltrix_ConstPatch[] = {
8240 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8245 * Description of Ultrix_Const2 fix
8247 tSCC zUltrix_Const2Name[] =
8251 * File name selection pattern
8253 tSCC zUltrix_Const2List[] =
8256 * Machine/OS name selection pattern
8258 #define apzUltrix_Const2Machs (const char**)NULL
8261 * content selection pattern - do fix if pattern found
8263 tSCC zUltrix_Const2Select0[] =
8264 "\\*fopen\\( char \\*";
8266 #define ULTRIX_CONST2_TEST_CT 1
8267 static tTestDesc aUltrix_Const2Tests[] = {
8268 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
8271 * Fix Command Arguments for Ultrix_Const2
8273 static const char* apzUltrix_Const2Patch[] = {
8275 "%1( const char *%3, const char *",
8276 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8281 * Description of Va_I960_Macro fix
8283 tSCC zVa_I960_MacroName[] =
8287 * File name selection pattern
8289 tSCC zVa_I960_MacroList[] =
8290 "arch/i960/archI960.h\0";
8292 * Machine/OS name selection pattern
8294 #define apzVa_I960_MacroMachs (const char**)NULL
8297 * content selection pattern - do fix if pattern found
8299 tSCC zVa_I960_MacroSelect0[] =
8300 "__(vsiz|vali|vpad|alignof__)";
8302 #define VA_I960_MACRO_TEST_CT 1
8303 static tTestDesc aVa_I960_MacroTests[] = {
8304 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8307 * Fix Command Arguments for Va_I960_Macro
8309 static const char* apzVa_I960_MacroPatch[] = {
8314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8316 * Description of Vms_Define_Can_Use_Extern_Prefix fix
8318 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8319 "vms_define_can_use_extern_prefix";
8322 * File name selection pattern
8324 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8325 "rtldef/decc$types.h\0";
8327 * Machine/OS name selection pattern
8329 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8331 (const char*)NULL };
8334 * content selection pattern - do fix if pattern found
8336 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8338 #[ \t]*if defined\\(__DECCXX\\)\n\
8339 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8341 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
8342 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8343 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8346 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8348 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8350 "%0# elif defined (__GNUC__)\n\
8351 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8356 * Description of Vms_Use_Pragma_Extern_Model fix
8358 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8359 "vms_use_pragma_extern_model";
8362 * File name selection pattern
8364 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8366 * Machine/OS name selection pattern
8368 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8370 (const char*)NULL };
8373 * content selection pattern - do fix if pattern found
8375 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8376 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8377 # pragma extern_model __save\n";
8379 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8380 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8381 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8384 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8386 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8388 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8389 # pragma extern_model __save\n",
8392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8394 * Description of Vms_Disable_Decc_String_Builtins fix
8396 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8397 "vms_disable_decc_string_builtins";
8400 * File name selection pattern
8402 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8403 "rtldef/string.h\0";
8405 * Machine/OS name selection pattern
8407 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8409 (const char*)NULL };
8412 * content selection pattern - do fix if pattern found
8414 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8415 "#if !defined\\(__VAX\\)\n";
8417 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8418 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8419 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8422 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8424 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8426 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8431 * Description of Vms_Use_Quoted_Include fix
8433 tSCC zVms_Use_Quoted_IncludeName[] =
8434 "vms_use_quoted_include";
8437 * File name selection pattern
8439 tSCC zVms_Use_Quoted_IncludeList[] =
8440 "rtldef/wait.h\0starlet_c/pthread.h\0";
8442 * Machine/OS name selection pattern
8444 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8446 (const char*)NULL };
8449 * content selection pattern - do fix if pattern found
8451 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8452 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8454 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8455 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8456 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8459 * Fix Command Arguments for Vms_Use_Quoted_Include
8461 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8468 * Description of Vms_Add_Missing_Braces fix
8470 tSCC zVms_Add_Missing_BracesName[] =
8471 "vms_add_missing_braces";
8474 * File name selection pattern
8476 tSCC zVms_Add_Missing_BracesList[] =
8477 "rtldef/signal.h\0";
8479 * Machine/OS name selection pattern
8481 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8483 (const char*)NULL };
8486 * content selection pattern - do fix if pattern found
8488 tSCC zVms_Add_Missing_BracesSelect0[] =
8489 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8491 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8492 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8493 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8496 * Fix Command Arguments for Vms_Add_Missing_Braces
8498 static const char* apzVms_Add_Missing_BracesPatch[] = {
8503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8505 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8507 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8508 "vms_do_not_redeclare_hostalias";
8511 * File name selection pattern
8513 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8514 "rtldef/resolv.h\0";
8516 * Machine/OS name selection pattern
8518 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8520 (const char*)NULL };
8523 * content selection pattern - do fix if pattern found
8525 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8526 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8527 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8529 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8530 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8531 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8534 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8536 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8544 * Description of Vms_Decc_Builtin fix
8546 tSCC zVms_Decc_BuiltinName[] =
8550 * File name selection pattern
8552 tSCC zVms_Decc_BuiltinList[] =
8553 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8555 * Machine/OS name selection pattern
8557 tSCC* apzVms_Decc_BuiltinMachs[] = {
8559 (const char*)NULL };
8562 * content selection pattern - do fix if pattern found
8564 tSCC zVms_Decc_BuiltinSelect0[] =
8565 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8567 #define VMS_DECC_BUILTIN_TEST_CT 1
8568 static tTestDesc aVms_Decc_BuiltinTests[] = {
8569 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8572 * Fix Command Arguments for Vms_Decc_Builtin
8574 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8575 "-e", "s@__MEMSET@memset@",
8576 "-e", "s@__MEMMOVE@memmove@",
8577 "-e", "s@__MEMCPY@memcpy@",
8578 "-e", "s@__STRLEN@strlen@",
8579 "-e", "s@__STRCPY@strcpy@",
8582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8584 * Description of Vms_No_64bit_Getopt fix
8586 tSCC zVms_No_64bit_GetoptName[] =
8587 "vms_no_64bit_getopt";
8590 * File name selection pattern
8592 tSCC zVms_No_64bit_GetoptList[] =
8593 "rtldef/stdio.h\0rtldef/unistd.h\0";
8595 * Machine/OS name selection pattern
8597 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8599 (const char*)NULL };
8602 * content selection pattern - do fix if pattern found
8604 tSCC zVms_No_64bit_GetoptSelect0[] =
8605 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8607 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8608 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8609 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8612 * Fix Command Arguments for Vms_No_64bit_Getopt
8614 static const char* apzVms_No_64bit_GetoptPatch[] = {
8616 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8622 * Description of Vms_Forward_Declare_Struct fix
8624 tSCC zVms_Forward_Declare_StructName[] =
8625 "vms_forward_declare_struct";
8628 * File name selection pattern
8630 tSCC zVms_Forward_Declare_StructList[] =
8633 * Machine/OS name selection pattern
8635 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8637 (const char*)NULL };
8640 * content selection pattern - do fix if pattern found
8642 tSCC zVms_Forward_Declare_StructSelect0[] =
8643 "(/\\* forward decls for C\\+\\+ \\*/\n\
8644 )#ifdef __cplusplus\n";
8646 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8647 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8648 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8651 * Fix Command Arguments for Vms_Forward_Declare_Struct
8653 static const char* apzVms_Forward_Declare_StructPatch[] = {
8655 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8658 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8660 * Description of Vms_Use_Fast_Setjmp fix
8662 tSCC zVms_Use_Fast_SetjmpName[] =
8663 "vms_use_fast_setjmp";
8666 * File name selection pattern
8668 tSCC zVms_Use_Fast_SetjmpList[] =
8669 "rtldef/setjmp.h\0";
8671 * Machine/OS name selection pattern
8673 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8675 (const char*)NULL };
8678 * content selection pattern - do fix if pattern found
8680 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8681 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8683 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8684 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8685 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8688 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8690 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8692 "%0 defined (__GNUC__) ||",
8695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8697 * Description of Void_Null fix
8699 tSCC zVoid_NullName[] =
8703 * File name selection pattern
8705 tSCC zVoid_NullList[] =
8706 "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";
8708 * Machine/OS name selection pattern
8710 #define apzVoid_NullMachs (const char**)NULL
8713 * content selection pattern - do fix if pattern found
8715 tSCC zVoid_NullSelect0[] =
8716 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8719 * content bypass pattern - skip fix if pattern found
8721 tSCC zVoid_NullBypass0[] =
8723 tSCC zVoid_NullBypass1[] =
8726 #define VOID_NULL_TEST_CT 3
8727 static tTestDesc aVoid_NullTests[] = {
8728 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8729 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8730 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8733 * Fix Command Arguments for Void_Null
8735 static const char* apzVoid_NullPatch[] = {
8738 #ifdef __cplusplus\n\
8740 #define NULL __null\n\
8741 #else /* ! __GNUG__ */\n\
8743 #endif /* __GNUG__ */\n\
8744 #else /* ! __cplusplus */\n\
8745 #define NULL ((void *)0)\n\
8746 #endif /* __cplusplus */\n\
8747 #endif /* !NULL */",
8750 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8752 * Description of Vxworks_Gcc_Problem fix
8754 tSCC zVxworks_Gcc_ProblemName[] =
8755 "vxworks_gcc_problem";
8758 * File name selection pattern
8760 tSCC zVxworks_Gcc_ProblemList[] =
8761 "types/vxTypesBase.h\0";
8763 * Machine/OS name selection pattern
8765 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8768 * content selection pattern - do fix if pattern found
8770 tSCC zVxworks_Gcc_ProblemSelect0[] =
8771 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8773 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8774 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8775 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8778 * Fix Command Arguments for Vxworks_Gcc_Problem
8780 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8781 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8782 "-e", "/[ \t]size_t/i\\\n\
8783 #ifndef _GCC_SIZE_T\\\n\
8784 #define _GCC_SIZE_T\n",
8785 "-e", "/[ \t]size_t/a\\\n\
8787 "-e", "/[ \t]ptrdiff_t/i\\\n\
8788 #ifndef _GCC_PTRDIFF_T\\\n\
8789 #define _GCC_PTRDIFF_T\n",
8790 "-e", "/[ \t]ptrdiff_t/a\\\n\
8792 "-e", "/[ \t]wchar_t/i\\\n\
8793 #ifndef _GCC_WCHAR_T\\\n\
8794 #define _GCC_WCHAR_T\n",
8795 "-e", "/[ \t]wchar_t/a\\\n\
8799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8801 * Description of Vxworks_Ioctl_Macro fix
8803 tSCC zVxworks_Ioctl_MacroName[] =
8804 "vxworks_ioctl_macro";
8807 * File name selection pattern
8809 tSCC zVxworks_Ioctl_MacroList[] =
8812 * Machine/OS name selection pattern
8814 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
8816 (const char*)NULL };
8817 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
8818 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
8821 * Fix Command Arguments for Vxworks_Ioctl_Macro
8823 static const char* apzVxworks_Ioctl_MacroPatch[] = {
8826 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
8827 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
8830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8832 * Description of Vxworks_Mkdir_Macro fix
8834 tSCC zVxworks_Mkdir_MacroName[] =
8835 "vxworks_mkdir_macro";
8838 * File name selection pattern
8840 tSCC zVxworks_Mkdir_MacroList[] =
8843 * Machine/OS name selection pattern
8845 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
8847 (const char*)NULL };
8848 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
8849 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
8852 * Fix Command Arguments for Vxworks_Mkdir_Macro
8854 static const char* apzVxworks_Mkdir_MacroPatch[] = {
8857 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
8858 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
8861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8863 * Description of Vxworks_Needs_Vxtypes fix
8865 tSCC zVxworks_Needs_VxtypesName[] =
8866 "vxworks_needs_vxtypes";
8869 * File name selection pattern
8871 tSCC zVxworks_Needs_VxtypesList[] =
8874 * Machine/OS name selection pattern
8876 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8879 * content selection pattern - do fix if pattern found
8881 tSCC zVxworks_Needs_VxtypesSelect0[] =
8882 "uint_t([ \t]+_clocks_per_sec)";
8884 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8885 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8886 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8889 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8891 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8898 * Description of Vxworks_Needs_Vxworks fix
8900 tSCC zVxworks_Needs_VxworksName[] =
8901 "vxworks_needs_vxworks";
8904 * File name selection pattern
8906 tSCC zVxworks_Needs_VxworksList[] =
8909 * Machine/OS name selection pattern
8911 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8914 * content selection pattern - do fix if pattern found
8916 tSCC zVxworks_Needs_VxworksSelect0[] =
8917 "#[ \t]define[ \t]+__INCstath";
8920 * perform the 'test' shell command - do fix on success
8922 tSCC zVxworks_Needs_VxworksTest0[] =
8923 " -r types/vxTypesOld.h";
8924 tSCC zVxworks_Needs_VxworksTest1[] =
8925 " -n \"`egrep '#include' $file`\"";
8926 tSCC zVxworks_Needs_VxworksTest2[] =
8927 " -n \"`egrep ULONG $file`\"";
8929 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8930 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8931 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8932 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8933 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8934 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8937 * Fix Command Arguments for Vxworks_Needs_Vxworks
8939 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8940 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8941 #include <types/vxTypesOld.h>\n",
8944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8946 * Description of Vxworks_Regs fix
8948 tSCC zVxworks_RegsName[] =
8952 * File name selection pattern
8954 #define zVxworks_RegsList (char*)NULL
8956 * Machine/OS name selection pattern
8958 tSCC* apzVxworks_RegsMachs[] = {
8960 (const char*)NULL };
8963 * content selection pattern - do fix if pattern found
8965 tSCC zVxworks_RegsSelect0[] =
8966 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
8968 #define VXWORKS_REGS_TEST_CT 1
8969 static tTestDesc aVxworks_RegsTests[] = {
8970 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
8973 * Fix Command Arguments for Vxworks_Regs
8975 static const char* apzVxworks_RegsPatch[] = {
8977 "#include <arch/../regs.h>",
8980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8982 * Description of Vxworks_Time fix
8984 tSCC zVxworks_TimeName[] =
8988 * File name selection pattern
8990 tSCC zVxworks_TimeList[] =
8993 * Machine/OS name selection pattern
8995 #define apzVxworks_TimeMachs (const char**)NULL
8998 * content selection pattern - do fix if pattern found
9000 tSCC zVxworks_TimeSelect0[] =
9001 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9004 * perform the 'test' shell command - do fix on success
9006 tSCC zVxworks_TimeTest0[] =
9009 #define VXWORKS_TIME_TEST_CT 2
9010 static tTestDesc aVxworks_TimeTests[] = {
9011 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9012 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9015 * Fix Command Arguments for Vxworks_Time
9017 static const char* apzVxworks_TimePatch[] = {
9019 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9020 #ifdef __cplusplus\n\
9021 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9023 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9025 #define __gcc_VOIDFUNCPTR_defined\n\
9027 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9032 * Description of Vxworks_Write_Const fix
9034 tSCC zVxworks_Write_ConstName[] =
9035 "vxworks_write_const";
9038 * File name selection pattern
9040 tSCC zVxworks_Write_ConstList[] =
9043 * Machine/OS name selection pattern
9045 tSCC* apzVxworks_Write_ConstMachs[] = {
9047 (const char*)NULL };
9048 #define VXWORKS_WRITE_CONST_TEST_CT 0
9049 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9052 * Fix Command Arguments for Vxworks_Write_Const
9054 static const char* apzVxworks_Write_ConstPatch[] = {
9056 "extern int write (int, const char*, size_t);",
9057 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9062 * Description of X11_Class fix
9064 tSCC zX11_ClassName[] =
9068 * File name selection pattern
9070 tSCC zX11_ClassList[] =
9073 * Machine/OS name selection pattern
9075 #define apzX11_ClassMachs (const char**)NULL
9078 * content selection pattern - do fix if pattern found
9080 tSCC zX11_ClassSelect0[] =
9081 "^([ \t]*char \\*)class;(.*)";
9084 * content bypass pattern - skip fix if pattern found
9086 tSCC zX11_ClassBypass0[] =
9089 #define X11_CLASS_TEST_CT 2
9090 static tTestDesc aX11_ClassTests[] = {
9091 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9092 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9095 * Fix Command Arguments for X11_Class
9097 static const char* apzX11_ClassPatch[] = {
9099 "#ifdef __cplusplus\n\
9106 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9108 * Description of X11_Class_Usage fix
9110 tSCC zX11_Class_UsageName[] =
9114 * File name selection pattern
9116 tSCC zX11_Class_UsageList[] =
9117 "Xm/BaseClassI.h\0";
9119 * Machine/OS name selection pattern
9121 #define apzX11_Class_UsageMachs (const char**)NULL
9124 * content selection pattern - do fix if pattern found
9126 tSCC zX11_Class_UsageSelect0[] =
9130 * content bypass pattern - skip fix if pattern found
9132 tSCC zX11_Class_UsageBypass0[] =
9135 #define X11_CLASS_USAGE_TEST_CT 2
9136 static tTestDesc aX11_Class_UsageTests[] = {
9137 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9138 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9141 * Fix Command Arguments for X11_Class_Usage
9143 static const char* apzX11_Class_UsagePatch[] = {
9148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9150 * Description of X11_New fix
9152 tSCC zX11_NewName[] =
9156 * File name selection pattern
9158 tSCC zX11_NewList[] =
9161 * Machine/OS name selection pattern
9163 #define apzX11_NewMachs (const char**)NULL
9166 * content bypass pattern - skip fix if pattern found
9168 tSCC zX11_NewBypass0[] =
9171 #define X11_NEW_TEST_CT 1
9172 static tTestDesc aX11_NewTests[] = {
9173 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9176 * Fix Command Arguments for X11_New
9178 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9179 "-e", "/Widget\told, new;/i\\\n\
9180 #ifdef __cplusplus\\\n\
9181 \\\tWidget\told, c_new;\\\n\
9183 "-e", "/Widget\told, new;/a\\\n\
9185 "-e", "s/Widget new,/Widget c_new,/g",
9188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9190 * Description of X11_Sprintf fix
9192 tSCC zX11_SprintfName[] =
9196 * File name selection pattern
9198 tSCC zX11_SprintfList[] =
9199 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9201 * Machine/OS name selection pattern
9203 #define apzX11_SprintfMachs (const char**)NULL
9206 * content selection pattern - do fix if pattern found
9208 tSCC zX11_SprintfSelect0[] =
9209 "^extern char \\*\tsprintf\\(\\);$";
9211 #define X11_SPRINTF_TEST_CT 1
9212 static tTestDesc aX11_SprintfTests[] = {
9213 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
9216 * Fix Command Arguments for X11_Sprintf
9218 static const char* apzX11_SprintfPatch[] = {
9220 "#ifndef __STDC__\n\
9222 #endif /* !defined __STDC__ */",
9225 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9227 * Description of Feraiseexcept_Nosse_Invalid fix
9229 tSCC zFeraiseexcept_Nosse_InvalidName[] =
9230 "feraiseexcept_nosse_invalid";
9233 * File name selection pattern
9235 tSCC zFeraiseexcept_Nosse_InvalidList[] =
9238 * Machine/OS name selection pattern
9240 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
9241 "i[34567]86-*-linux*",
9244 (const char*)NULL };
9247 * content selection pattern - do fix if pattern found
9249 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
9250 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
9253 * content bypass pattern - skip fix if pattern found
9255 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
9256 "\"fdiv .*; fwait\"";
9258 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
9259 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
9260 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
9261 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
9264 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
9266 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
9268 "# ifdef __SSE_MATH__\n\
9271 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
9272 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
9276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9278 * Description of Feraiseexcept_Nosse_Divbyzero fix
9280 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
9281 "feraiseexcept_nosse_divbyzero";
9284 * File name selection pattern
9286 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
9289 * Machine/OS name selection pattern
9291 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
9292 "i[34567]86-*-linux*",
9295 (const char*)NULL };
9298 * content selection pattern - do fix if pattern found
9300 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
9301 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
9304 * content bypass pattern - skip fix if pattern found
9306 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
9307 "\"fdivp .*; fwait\"";
9309 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
9310 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
9311 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
9312 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
9315 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
9317 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
9319 "# ifdef __SSE_MATH__\n\
9322 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
9323 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
9327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9329 * Description of Complier_H_Tradcpp fix
9331 tSCC zComplier_H_TradcppName[] =
9332 "complier_h_tradcpp";
9335 * File name selection pattern
9337 tSCC zComplier_H_TradcppList[] =
9338 "linux/compiler.h\0";
9340 * Machine/OS name selection pattern
9342 #define apzComplier_H_TradcppMachs (const char**)NULL
9345 * content selection pattern - do fix if pattern found
9347 tSCC zComplier_H_TradcppSelect0[] =
9348 "#define __builtin_warning\\(x, y\\.\\.\\.\\) \\(1\\)";
9350 #define COMPLIER_H_TRADCPP_TEST_CT 1
9351 static tTestDesc aComplier_H_TradcppTests[] = {
9352 { TT_EGREP, zComplier_H_TradcppSelect0, (regex_t*)NULL }, };
9355 * Fix Command Arguments for Complier_H_Tradcpp
9357 static const char* apzComplier_H_TradcppPatch[] = {
9359 "/* __builtin_warning(x, y...) is obsolete */",
9363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9367 #define REGEX_COUNT 267
9368 #define MACH_LIST_SIZE_LIMIT 187
9369 #define FIX_COUNT 228
9372 * Enumerate the fixes
9375 AAB_AIX_STDIO_FIXIDX,
9376 AAB_AIX_FCNTL_FIXIDX,
9377 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9378 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9379 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9380 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9381 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9382 AAB_SUN_MEMCPY_FIXIDX,
9383 AAB_VXWORKS_ASSERT_FIXIDX,
9384 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9385 AAB_VXWORKS_STDINT_FIXIDX,
9386 AAB_VXWORKS_UNISTD_FIXIDX,
9389 AIX_NET_IF_ARP_FIXIDX,
9391 AIX_ONCE_INIT_1_FIXIDX,
9392 AIX_ONCE_INIT_2_FIXIDX,
9393 AIX_MUTEX_INITIALIZER_1_FIXIDX,
9394 AIX_COND_INITIALIZER_1_FIXIDX,
9395 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9397 AIX_STDINT_1_FIXIDX,
9398 AIX_STDINT_2_FIXIDX,
9399 AIX_STDINT_3_FIXIDX,
9400 AIX_STDINT_4_FIXIDX,
9401 AIX_STDINT_5_FIXIDX,
9402 AIX_SYSMACHINE_FIXIDX,
9403 AIX_SYSWAIT_2_FIXIDX,
9404 AIX_VOLATILE_FIXIDX,
9405 ALPHA___ASSERT_FIXIDX,
9406 ALPHA_ASSERT_FIXIDX,
9407 ALPHA_GETOPT_FIXIDX,
9408 ALPHA_IF_SEMICOLON_FIXIDX,
9409 ALPHA_PARENS_FIXIDX,
9411 AVOID_BOOL_DEFINE_FIXIDX,
9412 AVOID_BOOL_TYPE_FIXIDX,
9413 AVOID_WCHAR_T_TYPE_FIXIDX,
9414 BAD_STRUCT_TERM_FIXIDX,
9416 BROKEN_ASSERT_STDIO_FIXIDX,
9417 BROKEN_ASSERT_STDLIB_FIXIDX,
9420 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9421 CDEF_CPLUSPLUS_FIXIDX,
9422 CTRL_QUOTES_DEF_FIXIDX,
9423 CTRL_QUOTES_USE_FIXIDX,
9425 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9426 DARWIN_EXTERNC_FIXIDX,
9427 DARWIN_GCC4_BREAKAGE_FIXIDX,
9428 DARWIN_PRIVATE_EXTERN_FIXIDX,
9429 DARWIN_STDINT_1_FIXIDX,
9430 DARWIN_STDINT_2_FIXIDX,
9431 DARWIN_STDINT_3_FIXIDX,
9432 DARWIN_STDINT_4_FIXIDX,
9433 DARWIN_STDINT_5_FIXIDX,
9434 DARWIN_STDINT_6_FIXIDX,
9435 DARWIN_STDINT_7_FIXIDX,
9436 DEC_INTERN_ASM_FIXIDX,
9437 DJGPP_WCHAR_H_FIXIDX,
9439 FREEBSD_GCC3_BREAKAGE_FIXIDX,
9440 FREEBSD_GCC4_BREAKAGE_FIXIDX,
9441 GLIBC_C99_INLINE_1_FIXIDX,
9442 GLIBC_C99_INLINE_1A_FIXIDX,
9443 GLIBC_C99_INLINE_2_FIXIDX,
9444 GLIBC_C99_INLINE_3_FIXIDX,
9445 GLIBC_C99_INLINE_4_FIXIDX,
9446 GLIBC_MUTEX_INIT_FIXIDX,
9447 GLIBC_STDINT_FIXIDX,
9448 GLIBC_STRNCPY_FIXIDX,
9449 GLIBC_TGMATH_FIXIDX,
9453 HPPA_HPUX_FP_MACROS_FIXIDX,
9454 HPUX10_CPP_POW_INLINE_FIXIDX,
9455 HPUX11_CPP_POW_INLINE_FIXIDX,
9456 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9457 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9458 HPUX10_STDIO_DECLARATIONS_FIXIDX,
9460 HPUX11_FABSF_FIXIDX,
9461 HPUX11_PTHREAD_CONST_FIXIDX,
9462 HPUX11_SIZE_T_FIXIDX,
9463 HPUX11_SNPRINTF_FIXIDX,
9464 HPUX11_VSNPRINTF_FIXIDX,
9465 HPUX8_BOGUS_INLINES_FIXIDX,
9466 HPUX_CTYPE_MACROS_FIXIDX,
9468 HPUX_LONG_DOUBLE_FIXIDX,
9469 HPUX_LONG_DOUBLE_2_FIXIDX,
9470 HPUX_SYSTIME_FIXIDX,
9471 HPUX_SPU_INFO_FIXIDX,
9472 HPUX11_EXTERN_SENDFILE_FIXIDX,
9473 HPUX11_EXTERN_SENDPATH_FIXIDX,
9474 HPUX_EXTERN_ERRNO_FIXIDX,
9475 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9476 HPUX_C99_INTPTR_FIXIDX,
9477 HPUX_C99_INTTYPES_FIXIDX,
9478 HPUX_C99_INTTYPES2_FIXIDX,
9479 HPUX_STDINT_LEAST_FAST_FIXIDX,
9480 HPUX_INTTYPE_INT8_T_FIXIDX,
9481 HPUX_IMAGINARY_I_FIXIDX,
9482 HUGE_VAL_HEX_FIXIDX,
9483 HUGE_VALF_HEX_FIXIDX,
9484 HUGE_VALL_HEX_FIXIDX,
9485 INT_ABORT_FREE_AND_EXIT_FIXIDX,
9486 IO_QUOTES_DEF_FIXIDX,
9487 IO_QUOTES_USE_FIXIDX,
9488 IP_MISSING_SEMI_FIXIDX,
9489 IRIX_LIMITS_CONST_FIXIDX,
9490 IRIX_STDIO_VA_LIST_FIXIDX,
9491 KANDR_CONCAT_FIXIDX,
9492 LINUX_IA64_UCONTEXT_FIXIDX,
9493 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9494 LYNXOS_MISSING_PUTENV_FIXIDX,
9495 MACHINE_ANSI_H_VA_LIST_FIXIDX,
9496 MACHINE_NAME_FIXIDX,
9497 MATH_EXCEPTION_FIXIDX,
9498 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9499 NESTED_AUTH_DES_FIXIDX,
9500 NETBSD_C99_INLINE_1_FIXIDX,
9501 NETBSD_C99_INLINE_2_FIXIDX,
9502 NETBSD_EXTRA_SEMICOLON_FIXIDX,
9503 NEWLIB_STDINT_1_FIXIDX,
9504 NEWLIB_STDINT_2_FIXIDX,
9505 NEXT_MATH_PREFIX_FIXIDX,
9506 NEXT_TEMPLATE_FIXIDX,
9507 NEXT_VOLITILE_FIXIDX,
9508 NEXT_WAIT_UNION_FIXIDX,
9509 NODEENT_SYNTAX_FIXIDX,
9510 OPENBSD_NULL_DEFINITION_FIXIDX,
9511 OBSTACK_LVALUE_CAST_FIXIDX,
9512 OPENBSD_VA_START_FIXIDX,
9513 OSF_NAMESPACE_A_FIXIDX,
9514 OSF_NAMESPACE_C_FIXIDX,
9515 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9516 READ_RET_TYPE_FIXIDX,
9517 RPC_XDR_LVALUE_CAST_A_FIXIDX,
9518 RPC_XDR_LVALUE_CAST_B_FIXIDX,
9519 RS6000_DOUBLE_FIXIDX,
9520 RS6000_FCHMOD_FIXIDX,
9521 RS6000_PARAM_FIXIDX,
9522 SOLARIS___RESTRICT_FIXIDX,
9523 SOLARIS_COMPLEX_FIXIDX,
9524 SOLARIS_COMPLEX_CXX_FIXIDX,
9525 SOLARIS_CXX_LINKAGE_FIXIDX,
9526 SOLARIS_GETC_STRICT_STDC_FIXIDX,
9527 SOLARIS_LONGJMP_NORETURN_FIXIDX,
9528 SOLARIS_MATH_1_FIXIDX,
9529 SOLARIS_MATH_2_FIXIDX,
9530 SOLARIS_MATH_3_FIXIDX,
9531 SOLARIS_MATH_4_FIXIDX,
9532 SOLARIS_MATH_8_FIXIDX,
9533 SOLARIS_MATH_9_FIXIDX,
9534 SOLARIS_MATH_10_FIXIDX,
9535 SOLARIS_MUTEX_INIT_2_FIXIDX,
9536 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9537 SOLARIS_RWLOCK_INIT_1_FIXIDX,
9538 SOLARIS_ONCE_INIT_1_FIXIDX,
9539 SOLARIS_ONCE_INIT_2_FIXIDX,
9540 SOLARIS_INT_CONST_FIXIDX,
9541 SOLARIS_INT_LIMITS_1_FIXIDX,
9542 SOLARIS_INT_LIMITS_2_FIXIDX,
9543 SOLARIS_INT_LIMITS_3_FIXIDX,
9544 SOLARIS_INT_TYPES_FIXIDX,
9545 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9546 SOLARIS_STD___FILBUF_FIXIDX,
9547 SOLARIS_STDIO_TAG_FIXIDX,
9548 SOLARIS_SYS_VA_LIST_FIXIDX,
9550 STDIO_STDARG_H_FIXIDX,
9551 STDIO_VA_LIST_FIXIDX,
9552 STDIO_VA_LIST_CLIENTS_FIXIDX,
9553 STRICT_ANSI_NOT_FIXIDX,
9554 STRICT_ANSI_NOT_CTD_FIXIDX,
9555 STRICT_ANSI_ONLY_FIXIDX,
9557 STRUCT_SOCKADDR_FIXIDX,
9558 SUN_AUTH_PROTO_FIXIDX,
9559 SUN_BOGUS_IFDEF_FIXIDX,
9560 SUN_CATMACRO_FIXIDX,
9562 SUN_RUSERS_SEMI_FIXIDX,
9564 SUNOS_STRLEN_FIXIDX,
9565 SVR4_DISABLE_OPT_FIXIDX,
9568 SVR4_SIGHANDLER_TYPE_FIXIDX,
9569 SVR4_UNDECLARED_GETRNGE_FIXIDX,
9570 SYSV68_STRING_FIXIDX,
9571 SYSZ_STDLIB_FOR_SUN_FIXIDX,
9572 THREAD_KEYWORD_FIXIDX,
9573 TINFO_CPLUSPLUS_FIXIDX,
9574 ULTRIX_CONST_FIXIDX,
9575 ULTRIX_CONST2_FIXIDX,
9576 VA_I960_MACRO_FIXIDX,
9577 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9578 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9579 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9580 VMS_USE_QUOTED_INCLUDE_FIXIDX,
9581 VMS_ADD_MISSING_BRACES_FIXIDX,
9582 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9583 VMS_DECC_BUILTIN_FIXIDX,
9584 VMS_NO_64BIT_GETOPT_FIXIDX,
9585 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9586 VMS_USE_FAST_SETJMP_FIXIDX,
9588 VXWORKS_GCC_PROBLEM_FIXIDX,
9589 VXWORKS_IOCTL_MACRO_FIXIDX,
9590 VXWORKS_MKDIR_MACRO_FIXIDX,
9591 VXWORKS_NEEDS_VXTYPES_FIXIDX,
9592 VXWORKS_NEEDS_VXWORKS_FIXIDX,
9593 VXWORKS_REGS_FIXIDX,
9594 VXWORKS_TIME_FIXIDX,
9595 VXWORKS_WRITE_CONST_FIXIDX,
9597 X11_CLASS_USAGE_FIXIDX,
9600 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9601 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9602 COMPLIER_H_TRADCPP_FIXIDX
9605 tFixDesc fixDescList[ FIX_COUNT ] = {
9606 { zAab_Aix_StdioName, zAab_Aix_StdioList,
9607 apzAab_Aix_StdioMachs,
9608 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9609 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
9611 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
9612 apzAab_Aix_FcntlMachs,
9613 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9614 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
9616 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
9617 apzAab_Darwin7_9_Long_Double_FuncsMachs,
9618 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9619 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9621 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
9622 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9623 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9624 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9626 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
9627 apzAab_Fd_Zero_Gnu_Types_HMachs,
9628 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9629 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9631 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9632 apzAab_Fd_Zero_Selectbits_HMachs,
9633 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9634 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9636 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9637 apzAab_Solaris_Sys_Varargs_HMachs,
9638 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9639 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9641 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9642 apzAab_Sun_MemcpyMachs,
9643 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9644 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9646 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
9647 apzAab_Vxworks_AssertMachs,
9648 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9649 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
9651 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
9652 apzAab_Vxworks_Regs_VxtypesMachs,
9653 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9654 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
9656 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
9657 apzAab_Vxworks_StdintMachs,
9658 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9659 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
9661 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
9662 apzAab_Vxworks_UnistdMachs,
9663 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9664 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
9666 { zAix_ComplexName, zAix_ComplexList,
9667 apzAix_ComplexMachs,
9668 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9669 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9671 { zAix_MallocName, zAix_MallocList,
9673 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9674 aAix_MallocTests, apzAix_MallocPatch, 0 },
9676 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9677 apzAix_Net_If_ArpMachs,
9678 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9679 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9681 { zAix_NullName, zAix_NullList,
9683 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9684 aAix_NullTests, apzAix_NullPatch, 0 },
9686 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9687 apzAix_Once_Init_1Machs,
9688 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9689 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9691 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9692 apzAix_Once_Init_2Machs,
9693 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9694 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9696 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9697 apzAix_Mutex_Initializer_1Machs,
9698 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9699 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9701 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9702 apzAix_Cond_Initializer_1Machs,
9703 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9704 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9706 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9707 apzAix_Rwlock_Initializer_1Machs,
9708 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9709 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9711 { zAix_PthreadName, zAix_PthreadList,
9712 apzAix_PthreadMachs,
9713 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9714 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9716 { zAix_Stdint_1Name, zAix_Stdint_1List,
9717 apzAix_Stdint_1Machs,
9718 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9719 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9721 { zAix_Stdint_2Name, zAix_Stdint_2List,
9722 apzAix_Stdint_2Machs,
9723 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9724 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9726 { zAix_Stdint_3Name, zAix_Stdint_3List,
9727 apzAix_Stdint_3Machs,
9728 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9729 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9731 { zAix_Stdint_4Name, zAix_Stdint_4List,
9732 apzAix_Stdint_4Machs,
9733 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9734 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9736 { zAix_Stdint_5Name, zAix_Stdint_5List,
9737 apzAix_Stdint_5Machs,
9738 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9739 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9741 { zAix_SysmachineName, zAix_SysmachineList,
9742 apzAix_SysmachineMachs,
9743 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9744 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9746 { zAix_Syswait_2Name, zAix_Syswait_2List,
9747 apzAix_Syswait_2Machs,
9748 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9749 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9751 { zAix_VolatileName, zAix_VolatileList,
9752 apzAix_VolatileMachs,
9753 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9754 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9756 { zAlpha___AssertName, zAlpha___AssertList,
9757 apzAlpha___AssertMachs,
9758 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9759 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9761 { zAlpha_AssertName, zAlpha_AssertList,
9762 apzAlpha_AssertMachs,
9763 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9764 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9766 { zAlpha_GetoptName, zAlpha_GetoptList,
9767 apzAlpha_GetoptMachs,
9768 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9769 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9771 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9772 apzAlpha_If_SemicolonMachs,
9773 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9774 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9776 { zAlpha_ParensName, zAlpha_ParensList,
9777 apzAlpha_ParensMachs,
9778 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9779 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9781 { zAlpha_SbrkName, zAlpha_SbrkList,
9783 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9784 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9786 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9787 apzAvoid_Bool_DefineMachs,
9788 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9789 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9791 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9792 apzAvoid_Bool_TypeMachs,
9793 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9794 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9796 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9797 apzAvoid_Wchar_T_TypeMachs,
9798 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9799 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9801 { zBad_Struct_TermName, zBad_Struct_TermList,
9802 apzBad_Struct_TermMachs,
9803 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9804 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9806 { zBadquoteName, zBadquoteList,
9808 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9809 aBadquoteTests, apzBadquotePatch, 0 },
9811 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9812 apzBroken_Assert_StdioMachs,
9813 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9814 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9816 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9817 apzBroken_Assert_StdlibMachs,
9818 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9819 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9821 { zBroken_CabsName, zBroken_CabsList,
9822 apzBroken_CabsMachs,
9823 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9824 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9826 { zBroken_NanName, zBroken_NanList,
9828 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9829 aBroken_NanTests, apzBroken_NanPatch, 0 },
9831 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9832 apzBsd_Stdio_Attrs_ConflictMachs,
9833 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9834 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9836 { zCdef_CplusplusName, zCdef_CplusplusList,
9837 apzCdef_CplusplusMachs,
9838 CDEF_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9839 aCdef_CplusplusTests, apzCdef_CplusplusPatch, 0 },
9841 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9842 apzCtrl_Quotes_DefMachs,
9843 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9844 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9846 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9847 apzCtrl_Quotes_UseMachs,
9848 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9849 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9851 { zCxx_UnreadyName, zCxx_UnreadyList,
9852 apzCxx_UnreadyMachs,
9853 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9854 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9856 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
9857 apzDarwin_9_Long_Double_Funcs_2Machs,
9858 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9859 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
9861 { zDarwin_ExterncName, zDarwin_ExterncList,
9862 apzDarwin_ExterncMachs,
9863 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9864 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9866 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9867 apzDarwin_Gcc4_BreakageMachs,
9868 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9869 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9871 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9872 apzDarwin_Private_ExternMachs,
9873 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9874 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9876 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9877 apzDarwin_Stdint_1Machs,
9878 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9879 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9881 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9882 apzDarwin_Stdint_2Machs,
9883 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9884 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9886 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9887 apzDarwin_Stdint_3Machs,
9888 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9889 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9891 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9892 apzDarwin_Stdint_4Machs,
9893 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9894 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9896 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9897 apzDarwin_Stdint_5Machs,
9898 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9899 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9901 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9902 apzDarwin_Stdint_6Machs,
9903 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9904 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9906 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9907 apzDarwin_Stdint_7Machs,
9908 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9909 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9911 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9912 apzDec_Intern_AsmMachs,
9913 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9914 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9916 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9917 apzDjgpp_Wchar_HMachs,
9918 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9919 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9921 { zEcd_CursorName, zEcd_CursorList,
9923 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9924 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9926 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9927 apzFreebsd_Gcc3_BreakageMachs,
9928 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9929 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9931 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9932 apzFreebsd_Gcc4_BreakageMachs,
9933 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9934 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9936 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9937 apzGlibc_C99_Inline_1Machs,
9938 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9939 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9941 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9942 apzGlibc_C99_Inline_1aMachs,
9943 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9944 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9946 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9947 apzGlibc_C99_Inline_2Machs,
9948 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9949 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9951 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9952 apzGlibc_C99_Inline_3Machs,
9953 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9954 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9956 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9957 apzGlibc_C99_Inline_4Machs,
9958 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9959 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9961 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9962 apzGlibc_Mutex_InitMachs,
9963 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9964 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9966 { zGlibc_StdintName, zGlibc_StdintList,
9967 apzGlibc_StdintMachs,
9968 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9969 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9971 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9972 apzGlibc_StrncpyMachs,
9973 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9974 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9976 { zGlibc_TgmathName, zGlibc_TgmathList,
9977 apzGlibc_TgmathMachs,
9978 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9979 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9981 { zGnu_TypesName, zGnu_TypesList,
9983 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9984 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9986 { zHp_InlineName, zHp_InlineList,
9988 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9989 aHp_InlineTests, apzHp_InlinePatch, 0 },
9991 { zHp_SysfileName, zHp_SysfileList,
9993 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9994 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9996 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9997 apzHppa_Hpux_Fp_MacrosMachs,
9998 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9999 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10001 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10002 apzHpux10_Cpp_Pow_InlineMachs,
10003 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10004 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10006 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10007 apzHpux11_Cpp_Pow_InlineMachs,
10008 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10009 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10011 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10012 apzHpux10_Ctype_Declarations1Machs,
10013 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10014 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10016 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10017 apzHpux10_Ctype_Declarations2Machs,
10018 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10019 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10021 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10022 apzHpux10_Stdio_DeclarationsMachs,
10023 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10024 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10026 { zHpux11_AbsName, zHpux11_AbsList,
10027 apzHpux11_AbsMachs,
10028 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10029 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10031 { zHpux11_FabsfName, zHpux11_FabsfList,
10032 apzHpux11_FabsfMachs,
10033 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10034 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10036 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10037 apzHpux11_Pthread_ConstMachs,
10038 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10039 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10041 { zHpux11_Size_TName, zHpux11_Size_TList,
10042 apzHpux11_Size_TMachs,
10043 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10044 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10046 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10047 apzHpux11_SnprintfMachs,
10048 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10049 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
10051 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
10052 apzHpux11_VsnprintfMachs,
10053 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10054 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
10056 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
10057 apzHpux8_Bogus_InlinesMachs,
10058 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10059 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10061 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10062 apzHpux_Ctype_MacrosMachs,
10063 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10064 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10066 { zHpux_HtonlName, zHpux_HtonlList,
10067 apzHpux_HtonlMachs,
10068 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10069 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10071 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10072 apzHpux_Long_DoubleMachs,
10073 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10074 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10076 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10077 apzHpux_Long_Double_2Machs,
10078 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10079 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10081 { zHpux_SystimeName, zHpux_SystimeList,
10082 apzHpux_SystimeMachs,
10083 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10084 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10086 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10087 apzHpux_Spu_InfoMachs,
10088 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10089 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10091 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10092 apzHpux11_Extern_SendfileMachs,
10093 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10094 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10096 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10097 apzHpux11_Extern_SendpathMachs,
10098 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10099 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10101 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10102 apzHpux_Extern_ErrnoMachs,
10103 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10104 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10106 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10107 apzHpux_Pthread_InitializersMachs,
10108 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10109 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10111 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10112 apzHpux_C99_IntptrMachs,
10113 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10114 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10116 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10117 apzHpux_C99_InttypesMachs,
10118 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10119 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10121 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10122 apzHpux_C99_Inttypes2Machs,
10123 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10124 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10126 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10127 apzHpux_Stdint_Least_FastMachs,
10128 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10129 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10131 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10132 apzHpux_Inttype_Int8_TMachs,
10133 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10134 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10136 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10137 apzHpux_Imaginary_IMachs,
10138 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10139 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10141 { zHuge_Val_HexName, zHuge_Val_HexList,
10142 apzHuge_Val_HexMachs,
10143 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10144 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10146 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10147 apzHuge_Valf_HexMachs,
10148 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10149 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10151 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10152 apzHuge_Vall_HexMachs,
10153 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10154 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10156 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10157 apzInt_Abort_Free_And_ExitMachs,
10158 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10159 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10161 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10162 apzIo_Quotes_DefMachs,
10163 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10164 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10166 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10167 apzIo_Quotes_UseMachs,
10168 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10169 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10171 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10172 apzIp_Missing_SemiMachs,
10173 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10174 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10176 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10177 apzIrix_Limits_ConstMachs,
10178 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10179 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10181 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10182 apzIrix_Stdio_Va_ListMachs,
10183 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10184 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10186 { zKandr_ConcatName, zKandr_ConcatList,
10187 apzKandr_ConcatMachs,
10188 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10189 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10191 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10192 apzLinux_Ia64_UcontextMachs,
10193 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10194 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10196 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10197 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10198 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10199 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10201 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10202 apzLynxos_Missing_PutenvMachs,
10203 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10204 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10206 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10207 apzMachine_Ansi_H_Va_ListMachs,
10208 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10209 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10211 { zMachine_NameName, zMachine_NameList,
10212 apzMachine_NameMachs,
10213 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10214 aMachine_NameTests, apzMachine_NamePatch, 0 },
10216 { zMath_ExceptionName, zMath_ExceptionList,
10217 apzMath_ExceptionMachs,
10218 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10219 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
10221 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
10222 apzMath_Huge_Val_From_Dbl_MaxMachs,
10223 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10224 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10226 { zNested_Auth_DesName, zNested_Auth_DesList,
10227 apzNested_Auth_DesMachs,
10228 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10229 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
10231 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
10232 apzNetbsd_C99_Inline_1Machs,
10233 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10234 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
10236 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
10237 apzNetbsd_C99_Inline_2Machs,
10238 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10239 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
10241 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
10242 apzNetbsd_Extra_SemicolonMachs,
10243 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10244 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
10246 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
10247 apzNewlib_Stdint_1Machs,
10248 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10249 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
10251 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
10252 apzNewlib_Stdint_2Machs,
10253 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10254 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
10256 { zNext_Math_PrefixName, zNext_Math_PrefixList,
10257 apzNext_Math_PrefixMachs,
10258 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10259 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
10261 { zNext_TemplateName, zNext_TemplateList,
10262 apzNext_TemplateMachs,
10263 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10264 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
10266 { zNext_VolitileName, zNext_VolitileList,
10267 apzNext_VolitileMachs,
10268 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10269 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
10271 { zNext_Wait_UnionName, zNext_Wait_UnionList,
10272 apzNext_Wait_UnionMachs,
10273 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10274 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
10276 { zNodeent_SyntaxName, zNodeent_SyntaxList,
10277 apzNodeent_SyntaxMachs,
10278 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10279 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
10281 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
10282 apzOpenbsd_Null_DefinitionMachs,
10283 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10284 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
10286 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
10287 apzObstack_Lvalue_CastMachs,
10288 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10289 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
10291 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
10292 apzOpenbsd_Va_StartMachs,
10293 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10294 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
10296 { zOsf_Namespace_AName, zOsf_Namespace_AList,
10297 apzOsf_Namespace_AMachs,
10298 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10299 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
10301 { zOsf_Namespace_CName, zOsf_Namespace_CList,
10302 apzOsf_Namespace_CMachs,
10303 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10304 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
10306 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
10307 apzPthread_Incomplete_Struct_ArgumentMachs,
10308 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10309 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10311 { zRead_Ret_TypeName, zRead_Ret_TypeList,
10312 apzRead_Ret_TypeMachs,
10313 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10314 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
10316 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
10317 apzRpc_Xdr_Lvalue_Cast_AMachs,
10318 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10319 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10321 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
10322 apzRpc_Xdr_Lvalue_Cast_BMachs,
10323 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10324 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10326 { zRs6000_DoubleName, zRs6000_DoubleList,
10327 apzRs6000_DoubleMachs,
10328 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10329 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
10331 { zRs6000_FchmodName, zRs6000_FchmodList,
10332 apzRs6000_FchmodMachs,
10333 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10334 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
10336 { zRs6000_ParamName, zRs6000_ParamList,
10337 apzRs6000_ParamMachs,
10338 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10339 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
10341 { zSolaris___RestrictName, zSolaris___RestrictList,
10342 apzSolaris___RestrictMachs,
10343 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10344 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
10346 { zSolaris_ComplexName, zSolaris_ComplexList,
10347 apzSolaris_ComplexMachs,
10348 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10349 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
10351 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
10352 apzSolaris_Complex_CxxMachs,
10353 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10354 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
10356 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
10357 apzSolaris_Cxx_LinkageMachs,
10358 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10359 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
10361 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
10362 apzSolaris_Getc_Strict_StdcMachs,
10363 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10364 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
10366 { zSolaris_Longjmp_NoreturnName, zSolaris_Longjmp_NoreturnList,
10367 apzSolaris_Longjmp_NoreturnMachs,
10368 SOLARIS_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10369 aSolaris_Longjmp_NoreturnTests, apzSolaris_Longjmp_NoreturnPatch, 0 },
10371 { zSolaris_Math_1Name, zSolaris_Math_1List,
10372 apzSolaris_Math_1Machs,
10373 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10374 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
10376 { zSolaris_Math_2Name, zSolaris_Math_2List,
10377 apzSolaris_Math_2Machs,
10378 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10379 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
10381 { zSolaris_Math_3Name, zSolaris_Math_3List,
10382 apzSolaris_Math_3Machs,
10383 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10384 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
10386 { zSolaris_Math_4Name, zSolaris_Math_4List,
10387 apzSolaris_Math_4Machs,
10388 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10389 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
10391 { zSolaris_Math_8Name, zSolaris_Math_8List,
10392 apzSolaris_Math_8Machs,
10393 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10394 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
10396 { zSolaris_Math_9Name, zSolaris_Math_9List,
10397 apzSolaris_Math_9Machs,
10398 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10399 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
10401 { zSolaris_Math_10Name, zSolaris_Math_10List,
10402 apzSolaris_Math_10Machs,
10403 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10404 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
10406 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
10407 apzSolaris_Mutex_Init_2Machs,
10408 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10409 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
10411 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
10412 apzSolaris_Pow_Int_OverloadMachs,
10413 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10414 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
10416 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
10417 apzSolaris_Rwlock_Init_1Machs,
10418 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10419 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
10421 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
10422 apzSolaris_Once_Init_1Machs,
10423 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10424 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
10426 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
10427 apzSolaris_Once_Init_2Machs,
10428 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10429 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
10431 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
10432 apzSolaris_Int_ConstMachs,
10433 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10434 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
10436 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
10437 apzSolaris_Int_Limits_1Machs,
10438 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10439 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
10441 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
10442 apzSolaris_Int_Limits_2Machs,
10443 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10444 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
10446 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
10447 apzSolaris_Int_Limits_3Machs,
10448 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10449 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
10451 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
10452 apzSolaris_Int_TypesMachs,
10453 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10454 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
10456 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
10457 apzSolaris_Posix_Spawn_RestrictMachs,
10458 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10459 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10461 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
10462 apzSolaris_Std___FilbufMachs,
10463 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10464 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
10466 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
10467 apzSolaris_Stdio_TagMachs,
10468 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10469 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
10471 { zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
10472 apzSolaris_Sys_Va_ListMachs,
10473 SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10474 aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
10476 { zStatsswtchName, zStatsswtchList,
10477 apzStatsswtchMachs,
10478 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10479 aStatsswtchTests, apzStatsswtchPatch, 0 },
10481 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
10482 apzStdio_Stdarg_HMachs,
10483 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10484 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
10486 { zStdio_Va_ListName, zStdio_Va_ListList,
10487 apzStdio_Va_ListMachs,
10488 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10489 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
10491 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
10492 apzStdio_Va_List_ClientsMachs,
10493 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10494 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
10496 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
10497 apzStrict_Ansi_NotMachs,
10498 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10499 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
10501 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
10502 apzStrict_Ansi_Not_CtdMachs,
10503 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10504 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
10506 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
10507 apzStrict_Ansi_OnlyMachs,
10508 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10509 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
10511 { zStruct_FileName, zStruct_FileList,
10512 apzStruct_FileMachs,
10513 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10514 aStruct_FileTests, apzStruct_FilePatch, 0 },
10516 { zStruct_SockaddrName, zStruct_SockaddrList,
10517 apzStruct_SockaddrMachs,
10518 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10519 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
10521 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
10522 apzSun_Auth_ProtoMachs,
10523 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10524 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
10526 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
10527 apzSun_Bogus_IfdefMachs,
10528 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10529 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
10531 { zSun_CatmacroName, zSun_CatmacroList,
10532 apzSun_CatmacroMachs,
10533 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10534 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
10536 { zSun_MallocName, zSun_MallocList,
10537 apzSun_MallocMachs,
10538 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10539 aSun_MallocTests, apzSun_MallocPatch, 0 },
10541 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
10542 apzSun_Rusers_SemiMachs,
10543 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10544 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
10546 { zSun_SignalName, zSun_SignalList,
10547 apzSun_SignalMachs,
10548 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10549 aSun_SignalTests, apzSun_SignalPatch, 0 },
10551 { zSunos_StrlenName, zSunos_StrlenList,
10552 apzSunos_StrlenMachs,
10553 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10554 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
10556 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
10557 apzSvr4_Disable_OptMachs,
10558 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10559 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
10561 { zSvr4_GetcwdName, zSvr4_GetcwdList,
10562 apzSvr4_GetcwdMachs,
10563 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10564 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
10566 { zSvr4_ProfilName, zSvr4_ProfilList,
10567 apzSvr4_ProfilMachs,
10568 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10569 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
10571 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
10572 apzSvr4_Sighandler_TypeMachs,
10573 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10574 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
10576 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
10577 apzSvr4_Undeclared_GetrngeMachs,
10578 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10579 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
10581 { zSysv68_StringName, zSysv68_StringList,
10582 apzSysv68_StringMachs,
10583 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
10584 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
10586 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
10587 apzSysz_Stdlib_For_SunMachs,
10588 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10589 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
10591 { zThread_KeywordName, zThread_KeywordList,
10592 apzThread_KeywordMachs,
10593 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10594 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
10596 { zTinfo_CplusplusName, zTinfo_CplusplusList,
10597 apzTinfo_CplusplusMachs,
10598 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10599 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
10601 { zUltrix_ConstName, zUltrix_ConstList,
10602 apzUltrix_ConstMachs,
10603 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10604 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
10606 { zUltrix_Const2Name, zUltrix_Const2List,
10607 apzUltrix_Const2Machs,
10608 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10609 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
10611 { zVa_I960_MacroName, zVa_I960_MacroList,
10612 apzVa_I960_MacroMachs,
10613 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10614 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
10616 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
10617 apzVms_Define_Can_Use_Extern_PrefixMachs,
10618 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10619 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10621 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
10622 apzVms_Use_Pragma_Extern_ModelMachs,
10623 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10624 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10626 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
10627 apzVms_Disable_Decc_String_BuiltinsMachs,
10628 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10629 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10631 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
10632 apzVms_Use_Quoted_IncludeMachs,
10633 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10634 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
10636 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
10637 apzVms_Add_Missing_BracesMachs,
10638 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10639 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
10641 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
10642 apzVms_Do_Not_Redeclare_HostaliasMachs,
10643 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10644 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10646 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
10647 apzVms_Decc_BuiltinMachs,
10648 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10649 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
10651 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
10652 apzVms_No_64bit_GetoptMachs,
10653 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10654 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
10656 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
10657 apzVms_Forward_Declare_StructMachs,
10658 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10659 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10661 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10662 apzVms_Use_Fast_SetjmpMachs,
10663 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10664 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10666 { zVoid_NullName, zVoid_NullList,
10668 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10669 aVoid_NullTests, apzVoid_NullPatch, 0 },
10671 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10672 apzVxworks_Gcc_ProblemMachs,
10673 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10674 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10676 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
10677 apzVxworks_Ioctl_MacroMachs,
10678 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10679 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
10681 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
10682 apzVxworks_Mkdir_MacroMachs,
10683 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10684 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
10686 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10687 apzVxworks_Needs_VxtypesMachs,
10688 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10689 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10691 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10692 apzVxworks_Needs_VxworksMachs,
10693 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10694 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10696 { zVxworks_RegsName, zVxworks_RegsList,
10697 apzVxworks_RegsMachs,
10698 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10699 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
10701 { zVxworks_TimeName, zVxworks_TimeList,
10702 apzVxworks_TimeMachs,
10703 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10704 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10706 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
10707 apzVxworks_Write_ConstMachs,
10708 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10709 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
10711 { zX11_ClassName, zX11_ClassList,
10713 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10714 aX11_ClassTests, apzX11_ClassPatch, 0 },
10716 { zX11_Class_UsageName, zX11_Class_UsageList,
10717 apzX11_Class_UsageMachs,
10718 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10719 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10721 { zX11_NewName, zX11_NewList,
10723 X11_NEW_TEST_CT, FD_MACH_ONLY,
10724 aX11_NewTests, apzX11_NewPatch, 0 },
10726 { zX11_SprintfName, zX11_SprintfList,
10727 apzX11_SprintfMachs,
10728 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10729 aX11_SprintfTests, apzX11_SprintfPatch, 0 },
10731 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10732 apzFeraiseexcept_Nosse_InvalidMachs,
10733 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10734 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10736 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10737 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10738 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10739 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10741 { zComplier_H_TradcppName, zComplier_H_TradcppList,
10742 apzComplier_H_TradcppMachs,
10743 COMPLIER_H_TRADCPP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10744 aComplier_H_TradcppTests, apzComplier_H_TradcppPatch, 0 }