1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed August 12, 2014 at 05:02:39 PM by AutoGen 5.18
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Tue Aug 12 17:02:39 MSK 2014
11 * You must regenerate it. Use the ./genfixes script.
14 * This is part of the fixincl program used to install modified versions of
15 * certain ANSI-incompatible system header files which are fixed to work
16 * correctly with ANSI C and placed in a directory that GNU C will search.
18 * This file contains 228 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
24 * The Free Software Foundation, Inc.
26 * inclhack is free software: you can redistribute it and/or modify it
27 * under the terms of the GNU General Public License as published by the
28 * Free Software Foundation, either version 3 of the License, or
29 * (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful, but
32 * WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License along
37 * with this program. If not, see <http://www.gnu.org/licenses/>.
40 #define SED_PROGRAM "/usr/bin/sed"
42 static char const sed_cmd_z[] = SED_PROGRAM;
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
46 * Description of Aab_Aix_Stdio fix
48 tSCC zAab_Aix_StdioName[] =
52 * File name selection pattern
54 tSCC zAab_Aix_StdioList[] =
57 * Machine/OS name selection pattern
59 tSCC* apzAab_Aix_StdioMachs[] = {
64 * content selection pattern - do fix if pattern found
66 tSCC zAab_Aix_StdioSelect0[] =
67 "define fopen fopen64";
69 #define AAB_AIX_STDIO_TEST_CT 1
70 static tTestDesc aAab_Aix_StdioTests[] = {
71 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
74 * Fix Command Arguments for Aab_Aix_Stdio
76 static const char* apzAab_Aix_StdioPatch[] = {
80 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
81 #define __need__aix_stdio_h_fix\n\
82 #ifdef __need__aix_stdio_h_fix\n\
89 /* Alias the symbols using asm */\n\
91 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
92 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
93 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
94 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
95 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
96 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
104 * Description of Aab_Aix_Fcntl fix
106 tSCC zAab_Aix_FcntlName[] =
110 * File name selection pattern
112 tSCC zAab_Aix_FcntlList[] =
115 * Machine/OS name selection pattern
117 tSCC* apzAab_Aix_FcntlMachs[] = {
122 * content selection pattern - do fix if pattern found
124 tSCC zAab_Aix_FcntlSelect0[] =
125 "define open[ \t]open64";
127 #define AAB_AIX_FCNTL_TEST_CT 1
128 static tTestDesc aAab_Aix_FcntlTests[] = {
129 { TT_EGREP, zAab_Aix_FcntlSelect0, (regex_t*)NULL }, };
132 * Fix Command Arguments for Aab_Aix_Fcntl
134 static const char* apzAab_Aix_FcntlPatch[] = {
138 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
139 #define __need__aix_fcntl_h_fix\n\
140 #ifdef __need__aix_fcntl_h_fix\n\
144 /* Alias the symbols using asm */\n\
146 extern int open(const char *, int, ...) __asm__(\"open64\");\n\
147 extern int creat(const char *, mode_t) __asm__(\"creat64\");\n\
148 #if (_XOPEN_SOURCE >= 700)\n\
149 extern int openat(int, const char *, int, ...) __asm__(\"open64at\");\n\
156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
158 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
160 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
161 "AAB_darwin7_9_long_double_funcs";
164 * File name selection pattern
166 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
167 "architecture/ppc/math.h\0";
169 * Machine/OS name selection pattern
171 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
176 * content bypass pattern - skip fix if pattern found
178 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
181 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
182 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
183 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
186 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
188 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
189 "/* This file prototypes the long double functions available on Mac OS\n\
192 # undef __APPLE_CC__\n\
193 # define __APPLE_CC__ 1345\n\
194 # include_next <architecture/ppc/math.h>\n\
195 # undef __APPLE_CC__\n\
196 # define __APPLE_CC__ 1\n\
197 # ifndef __LIBMLDBL_COMPAT\n\
198 # ifdef __LONG_DOUBLE_128__\n\
199 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
201 # define __LIBMLDBL_COMPAT(sym)\n\
202 # endif /* __LONG_DOUBLE_128__ */\n\
203 # endif /* __LIBMLDBL_COMPAT */\n\
204 # ifdef __cplusplus\n\
207 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
208 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
209 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
210 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
211 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
212 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
213 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
214 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
215 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
216 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
217 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
218 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
219 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
220 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
221 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
222 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
223 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
224 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
225 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
226 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
227 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
228 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
229 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
230 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
231 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
232 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
233 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
234 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
235 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
236 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
237 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
238 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
239 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
240 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
241 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
242 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
243 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
244 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
245 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
246 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
247 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
248 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
249 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
250 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
251 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
252 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
253 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
254 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
255 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
256 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
257 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
258 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
259 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
260 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
261 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
262 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
263 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
264 # ifdef __cplusplus\n\
267 #endif /* __MATH__ */",
270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
272 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
274 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
275 "AAB_fd_zero_asm_posix_types_h";
278 * File name selection pattern
280 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
281 "asm/posix_types.h\0";
283 * Machine/OS name selection pattern
285 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
286 "i[34567]86-*-linux*",
290 * content bypass pattern - skip fix if pattern found
292 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
294 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
296 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
299 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
300 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
301 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
302 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
303 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
306 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
308 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
309 "/* This file fixes a bug in the __FD_ZERO macro\n\
310 for older versions of the Linux kernel. */\n\
311 #ifndef _POSIX_TYPES_H_WRAPPER\n\
312 #include <features.h>\n\
313 #include_next <asm/posix_types.h>\n\n\
314 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
316 #define __FD_ZERO(fdsetp) \\\n\
318 int __d0, __d1; \\\n\
319 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
320 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
321 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
322 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
325 #define _POSIX_TYPES_H_WRAPPER\n\
326 #endif /* _POSIX_TYPES_H_WRAPPER */",
329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
331 * Description of Aab_Fd_Zero_Gnu_Types_H fix
333 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
334 "AAB_fd_zero_gnu_types_h";
337 * File name selection pattern
339 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
342 * Machine/OS name selection pattern
344 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
345 "i[34567]86-*-linux*",
347 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
348 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
351 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
353 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
354 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
355 #ifndef _TYPES_H_WRAPPER\n\
356 #include <features.h>\n\
357 #include_next <gnu/types.h>\n\n\
358 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
360 # define __FD_ZERO(fdsetp) \\\n\
362 int __d0, __d1; \\\n\
363 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
364 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
365 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
366 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
369 #define _TYPES_H_WRAPPER\n\
370 #endif /* _TYPES_H_WRAPPER */",
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375 * Description of Aab_Fd_Zero_Selectbits_H fix
377 tSCC zAab_Fd_Zero_Selectbits_HName[] =
378 "AAB_fd_zero_selectbits_h";
381 * File name selection pattern
383 tSCC zAab_Fd_Zero_Selectbits_HList[] =
386 * Machine/OS name selection pattern
388 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
389 "i[34567]86-*-linux*",
391 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
392 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
395 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
397 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
398 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
399 #ifndef _SELECTBITS_H_WRAPPER\n\
400 #include <features.h>\n\
401 #include_next <selectbits.h>\n\n\
402 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
403 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
404 && __GLIBC_MINOR__ == 0\n\
406 #define __FD_ZERO(fdsetp) \\\\\n\
408 int __d0, __d1; \\\\\n\
409 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
410 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
411 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
412 / sizeof (__fd_mask)), \\\\\n\
413 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
414 : \"memory\"); \\\\\n\
417 #define _SELECTBITS_H_WRAPPER\n\
418 #endif /* _SELECTBITS_H_WRAPPER */",
421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
423 * Description of Aab_Solaris_Sys_Varargs_H fix
425 tSCC zAab_Solaris_Sys_Varargs_HName[] =
426 "AAB_solaris_sys_varargs_h";
429 * File name selection pattern
431 tSCC zAab_Solaris_Sys_Varargs_HList[] =
434 * Machine/OS name selection pattern
436 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
439 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
440 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
443 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
445 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
447 #include <stdarg.h>\n\
449 #include <varargs.h>\n\
453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
455 * Description of Aab_Sun_Memcpy fix
457 tSCC zAab_Sun_MemcpyName[] =
461 * File name selection pattern
463 tSCC zAab_Sun_MemcpyList[] =
466 * Machine/OS name selection pattern
468 #define apzAab_Sun_MemcpyMachs (const char**)NULL
471 * content selection pattern - do fix if pattern found
473 tSCC zAab_Sun_MemcpySelect0[] =
474 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
476 #define AAB_SUN_MEMCPY_TEST_CT 1
477 static tTestDesc aAab_Sun_MemcpyTests[] = {
478 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
481 * Fix Command Arguments for Aab_Sun_Memcpy
483 static const char* apzAab_Sun_MemcpyPatch[] = {
484 "/* This file was generated by fixincludes */\n\
485 #ifndef __memory_h__\n\
486 #define __memory_h__\n\n\
488 extern void *memccpy();\n\
489 extern void *memchr();\n\
490 extern void *memcpy();\n\
491 extern void *memset();\n\
493 extern char *memccpy();\n\
494 extern char *memchr();\n\
495 extern char *memcpy();\n\
496 extern char *memset();\n\
497 #endif /* __STDC__ */\n\n\
498 extern int memcmp();\n\n\
499 #endif /* __memory_h__ */",
502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
504 * Description of Aab_Vxworks_Assert fix
506 tSCC zAab_Vxworks_AssertName[] =
507 "AAB_vxworks_assert";
510 * File name selection pattern
512 tSCC zAab_Vxworks_AssertList[] =
515 * Machine/OS name selection pattern
517 tSCC* apzAab_Vxworks_AssertMachs[] = {
520 #define AAB_VXWORKS_ASSERT_TEST_CT 0
521 #define aAab_Vxworks_AssertTests (tTestDesc*)NULL
524 * Fix Command Arguments for Aab_Vxworks_Assert
526 static const char* apzAab_Vxworks_AssertPatch[] = {
527 "#ifndef _ASSERT_H\n\
528 #define _ASSERT_H\n\n\
532 #if defined(__STDC__) || defined(__cplusplus)\n\
533 extern void __assert (const char*);\n\
535 extern void __assert ();\n\
538 #define assert(ign) ((void)0)\n\
540 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
541 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
542 #define assert(test) ((void) \\\n\
543 ((test) ? ((void)0) : \\\n\
544 __assert(\"Assertion failed: \" ASSERT_STRINGIFY(test) \", file \" \\\n\
545 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
552 * Description of Aab_Vxworks_Regs_Vxtypes fix
554 tSCC zAab_Vxworks_Regs_VxtypesName[] =
555 "AAB_vxworks_regs_vxtypes";
558 * File name selection pattern
560 tSCC zAab_Vxworks_Regs_VxtypesList[] =
563 * Machine/OS name selection pattern
565 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
568 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
569 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
572 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
574 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
577 #include <types/vxTypesOld.h>\n\
578 #include_next <arch/../regs.h>\n\
582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
584 * Description of Aab_Vxworks_Stdint fix
586 tSCC zAab_Vxworks_StdintName[] =
587 "AAB_vxworks_stdint";
590 * File name selection pattern
592 tSCC zAab_Vxworks_StdintList[] =
595 * Machine/OS name selection pattern
597 tSCC* apzAab_Vxworks_StdintMachs[] = {
600 #define AAB_VXWORKS_STDINT_TEST_CT 0
601 #define aAab_Vxworks_StdintTests (tTestDesc*)NULL
604 * Fix Command Arguments for Aab_Vxworks_Stdint
606 static const char* apzAab_Vxworks_StdintPatch[] = {
607 "#ifndef _STDINT_H\n\
609 /* get int*_t, uint*_t */\n\
610 #include <types/vxTypes.h>\n\n\
611 /* get legacy vxworks types for compatibility */\n\
612 #include <types/vxTypesOld.h>\n\n\
613 typedef long intptr_t;\n\
614 typedef unsigned long uintptr_t;\n\n\
615 typedef int64_t intmax_t;\n\
616 typedef uint64_t uintmax_t;\n\n\
617 typedef int8_t int_least8_t;\n\
618 typedef int16_t int_least16_t;\n\
619 typedef int32_t int_least32_t;\n\
620 typedef int64_t int_least64_t;\n\n\
621 typedef uint8_t uint_least8_t;\n\
622 typedef uint16_t uint_least16_t;\n\
623 typedef uint32_t uint_least32_t;\n\
624 typedef uint64_t uint_least64_t;\n\n\
625 typedef int8_t int_fast8_t;\n\
626 typedef int int_fast16_t;\n\
627 typedef int32_t int_fast32_t;\n\
628 typedef int64_t int_fast64_t;\n\n\
629 typedef uint8_t uint_fast8_t;\n\
630 typedef unsigned int uint_fast16_t;\n\
631 typedef uint32_t uint_fast32_t;\n\
632 typedef uint64_t uint_fast64_t;\n\n\
634 #define UINT8_MAX (~(uint8_t)0)\n\
635 #define UINT8_MIN 0\n\
636 #define UINT16_MAX (~(uint16_t)0)\n\
637 #define UINT16_MIN 0\n\
638 #define UINT32_MAX (~(uint32_t)0)\n\
639 #define UINT32_MIN 0\n\
640 #define UINT64_MAX (~(uint64_t)0)\n\
641 #define UINT64_MIN 0\n\n\
642 #define UINTPTR_MAX (~(uintptr_t)0)\n\
643 #define UINTPTR_MIN 0\n\n\
644 /* Need to do int_fast16_t as well, as type\n\
645 size may be architecture dependent */\n\
646 #define UINT_FAST16_MAX (~(uint_fast16_t)0)\n\
647 #define UINT_FAST16_MAX 0\n\n\
648 #define INT8_MAX (UINT8_MAX>>1)\n\
649 #define INT8_MIN (INT8_MAX+1)\n\
650 #define INT16_MAX (UINT16_MAX>>1)\n\
651 #define INT16_MIN (INT16_MAX+1)\n\
652 #define INT32_MAX (UINT32_MAX>>1)\n\
653 #define INT32_MIN (INT32_MAX+1)\n\
654 #define INT64_MAX (UINT64_MAX>>1)\n\
655 #define INT64_MIN (INT64_MAX+1)\n\n\
656 #define INTPTR_MAX (UINTPTR_MAX>>1)\n\
657 #define INTPTR_MIN (INTPTR_MAX+1)\t\n\n\
658 #define INT_FAST16_MAX (UINT_FAST16_MAX>>1)\n\
659 #define INT_FAST16_MIN (INT_FAST16_MAX+1)\n\n\
660 /* now define equiv. constants */\n\
661 #define UINT_FAST8_MAX UINT8_MAX\n\
662 #define UINT_FAST8_MIN UINT_FAST8_MIN\n\
663 #define INT_FAST8_MAX INT8_MAX\n\
664 #define INT_FAST8_MIN INT8_MIN\n\
665 #define UINT_FAST32_MAX UINT32_MAX\n\
666 #define UINT_FAST32_MIN UINT32_MIN\n\
667 #define INT_FAST32_MAX INT32_MAX\n\
668 #define INT_FAST32_MIN INT32_MIN\n\
669 #define UINT_FAST64_MAX UINT64_MAX\n\
670 #define UINT_FAST64_MIN UINT64_MIN\n\
671 #define INT_FAST64_MAX INT64_MAX\n\
672 #define INT_FAST64_MIN INT64_MIN\n\n\
673 #define UINT_LEAST8_MAX UINT8_MAX\n\
674 #define UINT_LEAST8_MIN UINT8_MIN\n\
675 #define INT_LEAST8_MAX INT8_MAX\n\
676 #define INT_LEAST8_MIN INT8_MIN\n\
677 #define UINT_LEAST16_MAX UINT16_MAX\n\
678 #define UINT_LEAST16_MIN UINT16_MIN\n\
679 #define INT_LEAST16_MAX INT16_MAX\n\
680 #define INT_LEAST16_MIN INT16_MIN\n\
681 #define UINT_LEAST32_MAX UINT32_MAX\n\
682 #define UINT_LEAST32_MIN UINT32_MIN\n\
683 #define INT_LEAST32_MAX INT32_MAX\n\
684 #define INT_LEAST32_MIN INT32_MIN\n\
685 #define UINT_LEAST64_MAX UINT64_MAX\n\
686 #define UINT_LEAST64_MIN UINT64_MIN\n\
687 #define INT_LEAST64_MAX INT64_MAX\n\
688 #define INT_LEAST64_MIN INT64_MIN\n\n\
689 #define UINTMAX_MAX UINT64_MAX\n\
690 #define UINTMAX_MIN UINT64_MIN\n\
691 #define INTMAX_MAX INT64_MAX\n\
692 #define INTMAX_MIN INT64_MIN\n\n\
696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
698 * Description of Aab_Vxworks_Unistd fix
700 tSCC zAab_Vxworks_UnistdName[] =
701 "AAB_vxworks_unistd";
704 * File name selection pattern
706 tSCC zAab_Vxworks_UnistdList[] =
709 * Machine/OS name selection pattern
711 tSCC* apzAab_Vxworks_UnistdMachs[] = {
714 #define AAB_VXWORKS_UNISTD_TEST_CT 0
715 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
718 * Fix Command Arguments for Aab_Vxworks_Unistd
720 static const char* apzAab_Vxworks_UnistdPatch[] = {
721 "#ifndef _UNISTD_H\n\
723 #include_next <unistd.h>\n\
724 #include <ioLib.h>\n\
725 #ifndef STDIN_FILENO\n\
726 #define STDIN_FILENO 0\n\
728 #ifndef STDOUT_FILENO\n\
729 #define STDOUT_FILENO 1\n\
731 #ifndef STDERR_FILENO\n\
732 #define STDERR_FILENO 2\n\
734 #endif /* _UNISTD_H */",
737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
739 * Description of Aix_Assert fix
741 tSCC zAix_AssertName[] =
745 * File name selection pattern
747 tSCC zAix_AssertList[] =
750 * Machine/OS name selection pattern
752 tSCC* apzAix_AssertMachs[] = {
757 * content selection pattern - do fix if pattern found
759 tSCC zAix_AssertSelect0[] =
760 "#define[ \t]static_assert[ \t]_Static_assert";
762 #define AIX_ASSERT_TEST_CT 1
763 static tTestDesc aAix_AssertTests[] = {
764 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
767 * Fix Command Arguments for Aix_Assert
769 static const char* apzAix_AssertPatch[] = {
771 "#ifndef __cplusplus\n\
776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
778 * Description of Aix_Complex fix
780 tSCC zAix_ComplexName[] =
784 * File name selection pattern
786 tSCC zAix_ComplexList[] =
789 * Machine/OS name selection pattern
791 tSCC* apzAix_ComplexMachs[] = {
796 * content selection pattern - do fix if pattern found
798 tSCC zAix_ComplexSelect0[] =
799 "#define[ \t]_Complex_I[ \t]__I";
801 #define AIX_COMPLEX_TEST_CT 1
802 static tTestDesc aAix_ComplexTests[] = {
803 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
806 * Fix Command Arguments for Aix_Complex
808 static const char* apzAix_ComplexPatch[] = {
810 "#define _Complex_I (__extension__ 1.0iF)",
813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
815 * Description of Aix_Malloc fix
817 tSCC zAix_MallocName[] =
821 * File name selection pattern
823 tSCC zAix_MallocList[] =
826 * Machine/OS name selection pattern
828 tSCC* apzAix_MallocMachs[] = {
833 * content selection pattern - do fix if pattern found
835 tSCC zAix_MallocSelect0[] =
836 "#ifdef __cplusplus";
838 #define AIX_MALLOC_TEST_CT 1
839 static tTestDesc aAix_MallocTests[] = {
840 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
843 * Fix Command Arguments for Aix_Malloc
845 static const char* apzAix_MallocPatch[] = {
847 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
852 * Description of Aix_Net_If_Arp fix
854 tSCC zAix_Net_If_ArpName[] =
858 * File name selection pattern
860 tSCC zAix_Net_If_ArpList[] =
863 * Machine/OS name selection pattern
865 tSCC* apzAix_Net_If_ArpMachs[] = {
870 * content selection pattern - do fix if pattern found
872 tSCC zAix_Net_If_ArpSelect0[] =
873 "^struct fc_softc \\{";
875 #define AIX_NET_IF_ARP_TEST_CT 1
876 static tTestDesc aAix_Net_If_ArpTests[] = {
877 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
880 * Fix Command Arguments for Aix_Net_If_Arp
882 static const char* apzAix_Net_If_ArpPatch[] = {
884 "typedef struct _fc_softc {",
887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
889 * Description of Aix_Null fix
891 tSCC zAix_NullName[] =
895 * File name selection pattern
897 tSCC zAix_NullList[] =
898 "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
900 * Machine/OS name selection pattern
902 tSCC* apzAix_NullMachs[] = {
907 * content selection pattern - do fix if pattern found
909 tSCC zAix_NullSelect0[] =
910 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
913 * content bypass pattern - skip fix if pattern found
915 tSCC zAix_NullBypass0[] =
918 #define AIX_NULL_TEST_CT 2
919 static tTestDesc aAix_NullTests[] = {
920 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
921 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
924 * Fix Command Arguments for Aix_Null
926 static const char* apzAix_NullPatch[] = {
929 #ifdef __cplusplus\n\
931 #define NULL __null\n\
932 #else /* ! __GNUG__ */\n\
934 #endif /* __GNUG__ */\n\
935 #else /* ! __cplusplus */\n\
936 #define NULL ((void *)0)\n\
937 #endif /* __cplusplus */\n\
941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
943 * Description of Aix_Once_Init_1 fix
945 tSCC zAix_Once_Init_1Name[] =
949 * File name selection pattern
951 tSCC zAix_Once_Init_1List[] =
954 * Machine/OS name selection pattern
956 tSCC* apzAix_Once_Init_1Machs[] = {
961 * content selection pattern - do fix if pattern found
963 tSCC zAix_Once_Init_1Select0[] =
964 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
967 #define AIX_ONCE_INIT_1_TEST_CT 1
968 static tTestDesc aAix_Once_Init_1Tests[] = {
969 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
972 * Fix Command Arguments for Aix_Once_Init_1
974 static const char* apzAix_Once_Init_1Patch[] = {
976 "#define PTHREAD_ONCE_INIT \\\n\
980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
982 * Description of Aix_Once_Init_2 fix
984 tSCC zAix_Once_Init_2Name[] =
988 * File name selection pattern
990 tSCC zAix_Once_Init_2List[] =
993 * Machine/OS name selection pattern
995 tSCC* apzAix_Once_Init_2Machs[] = {
1000 * content selection pattern - do fix if pattern found
1002 tSCC zAix_Once_Init_2Select0[] =
1006 #define AIX_ONCE_INIT_2_TEST_CT 1
1007 static tTestDesc aAix_Once_Init_2Tests[] = {
1008 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1011 * Fix Command Arguments for Aix_Once_Init_2
1013 static const char* apzAix_Once_Init_2Patch[] = {
1019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1021 * Description of Aix_Mutex_Initializer_1 fix
1023 tSCC zAix_Mutex_Initializer_1Name[] =
1024 "aix_mutex_initializer_1";
1027 * File name selection pattern
1029 tSCC zAix_Mutex_Initializer_1List[] =
1032 * Machine/OS name selection pattern
1034 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1036 (const char*)NULL };
1039 * content selection pattern - do fix if pattern found
1041 tSCC zAix_Mutex_Initializer_1Select0[] =
1042 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1045 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1046 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1047 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1050 * Fix Command Arguments for Aix_Mutex_Initializer_1
1052 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1054 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1060 * Description of Aix_Cond_Initializer_1 fix
1062 tSCC zAix_Cond_Initializer_1Name[] =
1063 "aix_cond_initializer_1";
1066 * File name selection pattern
1068 tSCC zAix_Cond_Initializer_1List[] =
1071 * Machine/OS name selection pattern
1073 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1075 (const char*)NULL };
1078 * content selection pattern - do fix if pattern found
1080 tSCC zAix_Cond_Initializer_1Select0[] =
1081 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1084 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1085 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1086 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1089 * Fix Command Arguments for Aix_Cond_Initializer_1
1091 static const char* apzAix_Cond_Initializer_1Patch[] = {
1093 "#define PTHREAD_COND_INITIALIZER \\\n\
1097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1099 * Description of Aix_Rwlock_Initializer_1 fix
1101 tSCC zAix_Rwlock_Initializer_1Name[] =
1102 "aix_rwlock_initializer_1";
1105 * File name selection pattern
1107 tSCC zAix_Rwlock_Initializer_1List[] =
1110 * Machine/OS name selection pattern
1112 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1114 (const char*)NULL };
1117 * content selection pattern - do fix if pattern found
1119 tSCC zAix_Rwlock_Initializer_1Select0[] =
1120 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1123 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1124 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1125 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1128 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1130 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1132 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1138 * Description of Aix_Pthread fix
1140 tSCC zAix_PthreadName[] =
1144 * File name selection pattern
1146 tSCC zAix_PthreadList[] =
1149 * Machine/OS name selection pattern
1151 #define apzAix_PthreadMachs (const char**)NULL
1154 * content selection pattern - do fix if pattern found
1156 tSCC zAix_PthreadSelect0[] =
1157 "(#define [A-Za-z_0-9]+)(\\\\\n\
1161 #define AIX_PTHREAD_TEST_CT 1
1162 static tTestDesc aAix_PthreadTests[] = {
1163 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1166 * Fix Command Arguments for Aix_Pthread
1168 static const char* apzAix_PthreadPatch[] = {
1173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1175 * Description of Aix_Stdint_1 fix
1177 tSCC zAix_Stdint_1Name[] =
1181 * File name selection pattern
1183 tSCC zAix_Stdint_1List[] =
1184 "stdint-aix.h\0stdint.h\0";
1186 * Machine/OS name selection pattern
1188 tSCC* apzAix_Stdint_1Machs[] = {
1190 (const char*)NULL };
1193 * content selection pattern - do fix if pattern found
1195 tSCC zAix_Stdint_1Select0[] =
1196 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1197 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1199 #define AIX_STDINT_1_TEST_CT 1
1200 static tTestDesc aAix_Stdint_1Tests[] = {
1201 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1204 * Fix Command Arguments for Aix_Stdint_1
1206 static const char* apzAix_Stdint_1Patch[] = {
1208 "#define UINT8_MAX\t(255)\n\
1209 #define UINT16_MAX\t(65535)",
1212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1214 * Description of Aix_Stdint_2 fix
1216 tSCC zAix_Stdint_2Name[] =
1220 * File name selection pattern
1222 tSCC zAix_Stdint_2List[] =
1223 "stdint-aix.h\0stdint.h\0";
1225 * Machine/OS name selection pattern
1227 tSCC* apzAix_Stdint_2Machs[] = {
1229 (const char*)NULL };
1232 * content selection pattern - do fix if pattern found
1234 tSCC zAix_Stdint_2Select0[] =
1235 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1236 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1237 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1239 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1240 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1241 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1243 #define AIX_STDINT_2_TEST_CT 1
1244 static tTestDesc aAix_Stdint_2Tests[] = {
1245 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1248 * Fix Command Arguments for Aix_Stdint_2
1250 static const char* apzAix_Stdint_2Patch[] = {
1252 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1253 #define INTPTR_MAX\t9223372036854775807L\n\
1254 #define UINTPTR_MAX\t18446744073709551615UL\n\
1256 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1257 #define INTPTR_MAX\t2147483647L\n\
1258 #define UINTPTR_MAX\t4294967295UL",
1261 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1263 * Description of Aix_Stdint_3 fix
1265 tSCC zAix_Stdint_3Name[] =
1269 * File name selection pattern
1271 tSCC zAix_Stdint_3List[] =
1272 "stdint-aix.h\0stdint.h\0";
1274 * Machine/OS name selection pattern
1276 tSCC* apzAix_Stdint_3Machs[] = {
1278 (const char*)NULL };
1281 * content selection pattern - do fix if pattern found
1283 tSCC zAix_Stdint_3Select0[] =
1284 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1285 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1287 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1288 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1290 #define AIX_STDINT_3_TEST_CT 1
1291 static tTestDesc aAix_Stdint_3Tests[] = {
1292 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1295 * Fix Command Arguments for Aix_Stdint_3
1297 static const char* apzAix_Stdint_3Patch[] = {
1299 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1300 #define PTRDIFF_MAX\t9223372036854775807L\n\
1302 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1303 #define PTRDIFF_MAX\t2147483647L",
1306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1308 * Description of Aix_Stdint_4 fix
1310 tSCC zAix_Stdint_4Name[] =
1314 * File name selection pattern
1316 tSCC zAix_Stdint_4List[] =
1317 "stdint-aix.h\0stdint.h\0";
1319 * Machine/OS name selection pattern
1321 tSCC* apzAix_Stdint_4Machs[] = {
1323 (const char*)NULL };
1326 * content selection pattern - do fix if pattern found
1328 tSCC zAix_Stdint_4Select0[] =
1329 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1331 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1333 #define AIX_STDINT_4_TEST_CT 1
1334 static tTestDesc aAix_Stdint_4Tests[] = {
1335 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1338 * Fix Command Arguments for Aix_Stdint_4
1340 static const char* apzAix_Stdint_4Patch[] = {
1342 "#define SIZE_MAX\t18446744073709551615UL\n\
1344 #define SIZE_MAX\t4294967295UL",
1347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1349 * Description of Aix_Stdint_5 fix
1351 tSCC zAix_Stdint_5Name[] =
1355 * File name selection pattern
1357 tSCC zAix_Stdint_5List[] =
1358 "stdint-aix.h\0stdint.h\0";
1360 * Machine/OS name selection pattern
1362 tSCC* apzAix_Stdint_5Machs[] = {
1364 (const char*)NULL };
1367 * content selection pattern - do fix if pattern found
1369 tSCC zAix_Stdint_5Select0[] =
1370 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1371 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1373 #define AIX_STDINT_5_TEST_CT 1
1374 static tTestDesc aAix_Stdint_5Tests[] = {
1375 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1378 * Fix Command Arguments for Aix_Stdint_5
1380 static const char* apzAix_Stdint_5Patch[] = {
1382 "#define UINT8_C(c)\tc\n\
1383 #define UINT16_C(c)\tc",
1386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1388 * Description of Aix_Sysmachine fix
1390 tSCC zAix_SysmachineName[] =
1394 * File name selection pattern
1396 tSCC zAix_SysmachineList[] =
1399 * Machine/OS name selection pattern
1401 #define apzAix_SysmachineMachs (const char**)NULL
1404 * content selection pattern - do fix if pattern found
1406 tSCC zAix_SysmachineSelect0[] =
1409 #define AIX_SYSMACHINE_TEST_CT 1
1410 static tTestDesc aAix_SysmachineTests[] = {
1411 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1414 * Fix Command Arguments for Aix_Sysmachine
1416 static const char* apzAix_SysmachinePatch[] = {
1421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1423 * Description of Aix_Syswait_2 fix
1425 tSCC zAix_Syswait_2Name[] =
1429 * File name selection pattern
1431 tSCC zAix_Syswait_2List[] =
1434 * Machine/OS name selection pattern
1436 #define apzAix_Syswait_2Machs (const char**)NULL
1439 * content selection pattern - do fix if pattern found
1441 tSCC zAix_Syswait_2Select0[] =
1442 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1444 #define AIX_SYSWAIT_2_TEST_CT 1
1445 static tTestDesc aAix_Syswait_2Tests[] = {
1446 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1449 * Fix Command Arguments for Aix_Syswait_2
1451 static const char* apzAix_Syswait_2Patch[] = {
1456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1458 * Description of Aix_Volatile fix
1460 tSCC zAix_VolatileName[] =
1464 * File name selection pattern
1466 tSCC zAix_VolatileList[] =
1469 * Machine/OS name selection pattern
1471 #define apzAix_VolatileMachs (const char**)NULL
1474 * content selection pattern - do fix if pattern found
1476 tSCC zAix_VolatileSelect0[] =
1477 "typedef volatile int sig_atomic_t";
1479 #define AIX_VOLATILE_TEST_CT 1
1480 static tTestDesc aAix_VolatileTests[] = {
1481 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1484 * Fix Command Arguments for Aix_Volatile
1486 static const char* apzAix_VolatilePatch[] = {
1488 "typedef int sig_atomic_t",
1491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1493 * Description of Alpha___Assert fix
1495 tSCC zAlpha___AssertName[] =
1499 * File name selection pattern
1501 tSCC zAlpha___AssertList[] =
1504 * Machine/OS name selection pattern
1506 #define apzAlpha___AssertMachs (const char**)NULL
1509 * content selection pattern - do fix if pattern found
1511 tSCC zAlpha___AssertSelect0[] =
1512 "__assert\\(char \\*, char \\*, int\\)";
1514 #define ALPHA___ASSERT_TEST_CT 1
1515 static tTestDesc aAlpha___AssertTests[] = {
1516 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1519 * Fix Command Arguments for Alpha___Assert
1521 static const char* apzAlpha___AssertPatch[] = {
1523 "__assert(const char *, const char *, int)",
1526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1528 * Description of Alpha_Assert fix
1530 tSCC zAlpha_AssertName[] =
1534 * File name selection pattern
1536 tSCC zAlpha_AssertList[] =
1539 * Machine/OS name selection pattern
1541 #define apzAlpha_AssertMachs (const char**)NULL
1544 * content selection pattern - do fix if pattern found
1546 tSCC zAlpha_AssertSelect0[] =
1547 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1549 #define ALPHA_ASSERT_TEST_CT 1
1550 static tTestDesc aAlpha_AssertTests[] = {
1551 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1554 * Fix Command Arguments for Alpha_Assert
1556 static const char* apzAlpha_AssertPatch[] = {
1561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1563 * Description of Alpha_Getopt fix
1565 tSCC zAlpha_GetoptName[] =
1569 * File name selection pattern
1571 tSCC zAlpha_GetoptList[] =
1572 "stdio.h\0stdlib.h\0";
1574 * Machine/OS name selection pattern
1576 #define apzAlpha_GetoptMachs (const char**)NULL
1579 * content selection pattern - do fix if pattern found
1581 tSCC zAlpha_GetoptSelect0[] =
1582 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1584 #define ALPHA_GETOPT_TEST_CT 1
1585 static tTestDesc aAlpha_GetoptTests[] = {
1586 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1589 * Fix Command Arguments for Alpha_Getopt
1591 static const char* apzAlpha_GetoptPatch[] = {
1593 "getopt(int, char *const[], const char *)",
1596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1598 * Description of Alpha_If_Semicolon fix
1600 tSCC zAlpha_If_SemicolonName[] =
1601 "alpha_if_semicolon";
1604 * File name selection pattern
1606 tSCC zAlpha_If_SemicolonList[] =
1609 * Machine/OS name selection pattern
1611 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1614 * content selection pattern - do fix if pattern found
1616 tSCC zAlpha_If_SemicolonSelect0[] =
1617 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1619 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1620 static tTestDesc aAlpha_If_SemicolonTests[] = {
1621 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1624 * Fix Command Arguments for Alpha_If_Semicolon
1626 static const char* apzAlpha_If_SemicolonPatch[] = {
1628 "struct sockaddr vmif_paddr;\t/*",
1631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1633 * Description of Alpha_Parens fix
1635 tSCC zAlpha_ParensName[] =
1639 * File name selection pattern
1641 tSCC zAlpha_ParensList[] =
1644 * Machine/OS name selection pattern
1646 #define apzAlpha_ParensMachs (const char**)NULL
1649 * content selection pattern - do fix if pattern found
1651 tSCC zAlpha_ParensSelect0[] =
1652 "#ifndef\\(__mips64\\)";
1654 #define ALPHA_PARENS_TEST_CT 1
1655 static tTestDesc aAlpha_ParensTests[] = {
1656 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1659 * Fix Command Arguments for Alpha_Parens
1661 static const char* apzAlpha_ParensPatch[] = {
1666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1668 * Description of Alpha_Sbrk fix
1670 tSCC zAlpha_SbrkName[] =
1674 * File name selection pattern
1676 tSCC zAlpha_SbrkList[] =
1679 * Machine/OS name selection pattern
1681 #define apzAlpha_SbrkMachs (const char**)NULL
1684 * content selection pattern - do fix if pattern found
1686 tSCC zAlpha_SbrkSelect0[] =
1687 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1689 #define ALPHA_SBRK_TEST_CT 1
1690 static tTestDesc aAlpha_SbrkTests[] = {
1691 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1694 * Fix Command Arguments for Alpha_Sbrk
1696 static const char* apzAlpha_SbrkPatch[] = {
1701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1703 * Description of Avoid_Bool_Define fix
1705 tSCC zAvoid_Bool_DefineName[] =
1706 "avoid_bool_define";
1709 * File name selection pattern
1711 tSCC zAvoid_Bool_DefineList[] =
1712 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1714 * Machine/OS name selection pattern
1716 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1719 * content selection pattern - do fix if pattern found
1721 tSCC zAvoid_Bool_DefineSelect0[] =
1722 "#[ \t]*define[ \t]+bool[ \t]";
1725 * content bypass pattern - skip fix if pattern found
1727 tSCC zAvoid_Bool_DefineBypass0[] =
1730 #define AVOID_BOOL_DEFINE_TEST_CT 2
1731 static tTestDesc aAvoid_Bool_DefineTests[] = {
1732 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1733 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1736 * Fix Command Arguments for Avoid_Bool_Define
1738 static const char* apzAvoid_Bool_DefinePatch[] = {
1740 "#ifndef __cplusplus\n\
1743 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1748 * Description of Avoid_Bool_Type fix
1750 tSCC zAvoid_Bool_TypeName[] =
1754 * File name selection pattern
1756 tSCC zAvoid_Bool_TypeList[] =
1757 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1759 * Machine/OS name selection pattern
1761 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1764 * content selection pattern - do fix if pattern found
1766 tSCC zAvoid_Bool_TypeSelect0[] =
1767 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1770 * content bypass pattern - skip fix if pattern found
1772 tSCC zAvoid_Bool_TypeBypass0[] =
1775 #define AVOID_BOOL_TYPE_TEST_CT 2
1776 static tTestDesc aAvoid_Bool_TypeTests[] = {
1777 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1778 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1781 * Fix Command Arguments for Avoid_Bool_Type
1783 static const char* apzAvoid_Bool_TypePatch[] = {
1785 "#ifndef __cplusplus\n\
1790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1792 * Description of Avoid_Wchar_T_Type fix
1794 tSCC zAvoid_Wchar_T_TypeName[] =
1795 "avoid_wchar_t_type";
1798 * File name selection pattern
1800 #define zAvoid_Wchar_T_TypeList (char*)NULL
1802 * Machine/OS name selection pattern
1804 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1807 * content selection pattern - do fix if pattern found
1809 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1810 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1813 * content bypass pattern - skip fix if pattern found
1815 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1817 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1819 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1820 "XFree86: xc/lib/X11/Xlib\\.h";
1822 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1823 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1824 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1825 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1826 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1827 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1830 * Fix Command Arguments for Avoid_Wchar_T_Type
1832 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1834 "#ifndef __cplusplus\n\
1839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1841 * Description of Bad_Struct_Term fix
1843 tSCC zBad_Struct_TermName[] =
1847 * File name selection pattern
1849 tSCC zBad_Struct_TermList[] =
1852 * Machine/OS name selection pattern
1854 #define apzBad_Struct_TermMachs (const char**)NULL
1857 * content selection pattern - do fix if pattern found
1859 tSCC zBad_Struct_TermSelect0[] =
1860 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1862 #define BAD_STRUCT_TERM_TEST_CT 1
1863 static tTestDesc aBad_Struct_TermTests[] = {
1864 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1867 * Fix Command Arguments for Bad_Struct_Term
1869 static const char* apzBad_Struct_TermPatch[] = {
1874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1876 * Description of Badquote fix
1878 tSCC zBadquoteName[] =
1882 * File name selection pattern
1884 tSCC zBadquoteList[] =
1885 "sundev/vuid_event.h\0";
1887 * Machine/OS name selection pattern
1889 #define apzBadquoteMachs (const char**)NULL
1892 * content selection pattern - do fix if pattern found
1894 tSCC zBadquoteSelect0[] =
1897 #define BADQUOTE_TEST_CT 1
1898 static tTestDesc aBadquoteTests[] = {
1899 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1902 * Fix Command Arguments for Badquote
1904 static const char* apzBadquotePatch[] = {
1909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1911 * Description of Broken_Assert_Stdio fix
1913 tSCC zBroken_Assert_StdioName[] =
1914 "broken_assert_stdio";
1917 * File name selection pattern
1919 tSCC zBroken_Assert_StdioList[] =
1922 * Machine/OS name selection pattern
1924 #define apzBroken_Assert_StdioMachs (const char**)NULL
1927 * content selection pattern - do fix if pattern found
1929 tSCC zBroken_Assert_StdioSelect0[] =
1933 * content bypass pattern - skip fix if pattern found
1935 tSCC zBroken_Assert_StdioBypass0[] =
1936 "include.*stdio\\.h";
1938 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1939 static tTestDesc aBroken_Assert_StdioTests[] = {
1940 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1941 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1944 * Fix Command Arguments for Broken_Assert_Stdio
1946 static const char* apzBroken_Assert_StdioPatch[] = {
1948 "#include <stdio.h>\n",
1951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1953 * Description of Broken_Assert_Stdlib fix
1955 tSCC zBroken_Assert_StdlibName[] =
1956 "broken_assert_stdlib";
1959 * File name selection pattern
1961 tSCC zBroken_Assert_StdlibList[] =
1964 * Machine/OS name selection pattern
1966 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1969 * content selection pattern - do fix if pattern found
1971 tSCC zBroken_Assert_StdlibSelect0[] =
1972 "exit *\\(|abort *\\(";
1975 * content bypass pattern - skip fix if pattern found
1977 tSCC zBroken_Assert_StdlibBypass0[] =
1978 "include.*stdlib\\.h";
1980 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1981 static tTestDesc aBroken_Assert_StdlibTests[] = {
1982 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1983 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1986 * Fix Command Arguments for Broken_Assert_Stdlib
1988 static const char* apzBroken_Assert_StdlibPatch[] = {
1990 "#ifdef __cplusplus\n\
1991 #include <stdlib.h>\n\
1995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1997 * Description of Broken_Cabs fix
1999 tSCC zBroken_CabsName[] =
2003 * File name selection pattern
2005 tSCC zBroken_CabsList[] =
2006 "math.h\0architecture/*/math.h\0";
2008 * Machine/OS name selection pattern
2010 #define apzBroken_CabsMachs (const char**)NULL
2013 * content selection pattern - do fix if pattern found
2015 tSCC zBroken_CabsSelect0[] =
2016 "^extern[ \t]+double[ \t]+cabs";
2018 #define BROKEN_CABS_TEST_CT 1
2019 static tTestDesc aBroken_CabsTests[] = {
2020 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2023 * Fix Command Arguments for Broken_Cabs
2025 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2026 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2027 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2032 * Description of Broken_Nan fix
2034 tSCC zBroken_NanName[] =
2038 * File name selection pattern
2040 tSCC zBroken_NanList[] =
2041 "architecture/ppc/math.h\0architecture/*/math.h\0";
2043 * Machine/OS name selection pattern
2045 #define apzBroken_NanMachs (const char**)NULL
2048 * content selection pattern - do fix if pattern found
2050 tSCC zBroken_NanSelect0[] =
2051 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2054 * content bypass pattern - skip fix if pattern found
2056 tSCC zBroken_NanBypass0[] =
2059 #define BROKEN_NAN_TEST_CT 2
2060 static tTestDesc aBroken_NanTests[] = {
2061 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2062 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2065 * Fix Command Arguments for Broken_Nan
2067 static const char* apzBroken_NanPatch[] = {
2072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2074 * Description of Bsd_Stdio_Attrs_Conflict fix
2076 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2077 "bsd_stdio_attrs_conflict";
2080 * File name selection pattern
2082 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2085 * Machine/OS name selection pattern
2087 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2090 (const char*)NULL };
2093 * content selection pattern - do fix if pattern found
2095 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2096 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2098 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2099 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2100 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2103 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2105 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2107 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2108 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2109 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2114 * Description of Ctrl_Quotes_Def fix
2116 tSCC zCtrl_Quotes_DefName[] =
2120 * File name selection pattern
2122 #define zCtrl_Quotes_DefList (char*)NULL
2124 * Machine/OS name selection pattern
2126 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2129 * content selection pattern - do fix if pattern found
2131 tSCC zCtrl_Quotes_DefSelect0[] =
2132 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2134 #define CTRL_QUOTES_DEF_TEST_CT 1
2135 static tTestDesc aCtrl_Quotes_DefTests[] = {
2136 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2139 * Fix Command Arguments for Ctrl_Quotes_Def
2141 static const char* apzCtrl_Quotes_DefPatch[] = {
2146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2148 * Description of Ctrl_Quotes_Use fix
2150 tSCC zCtrl_Quotes_UseName[] =
2154 * File name selection pattern
2156 #define zCtrl_Quotes_UseList (char*)NULL
2158 * Machine/OS name selection pattern
2160 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2163 * content selection pattern - do fix if pattern found
2165 tSCC zCtrl_Quotes_UseSelect0[] =
2166 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2168 #define CTRL_QUOTES_USE_TEST_CT 1
2169 static tTestDesc aCtrl_Quotes_UseTests[] = {
2170 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2173 * Fix Command Arguments for Ctrl_Quotes_Use
2175 static const char* apzCtrl_Quotes_UsePatch[] = {
2180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2182 * Description of Cxx_Unready fix
2184 tSCC zCxx_UnreadyName[] =
2188 * File name selection pattern
2190 tSCC zCxx_UnreadyList[] =
2191 "sys/mman.h\0rpc/types.h\0";
2193 * Machine/OS name selection pattern
2195 #define apzCxx_UnreadyMachs (const char**)NULL
2198 * content selection pattern - do fix if pattern found
2200 tSCC zCxx_UnreadySelect0[] =
2204 * content bypass pattern - skip fix if pattern found
2206 tSCC zCxx_UnreadyBypass0[] =
2207 "\"C\"|__BEGIN_DECLS";
2209 #define CXX_UNREADY_TEST_CT 2
2210 static tTestDesc aCxx_UnreadyTests[] = {
2211 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2212 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2215 * Fix Command Arguments for Cxx_Unready
2217 static const char* apzCxx_UnreadyPatch[] = {
2219 "#ifdef __cplusplus\n\
2222 "#ifdef __cplusplus\n\
2227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2229 * Description of Darwin_9_Long_Double_Funcs_2 fix
2231 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2232 "darwin_9_long_double_funcs_2";
2235 * File name selection pattern
2237 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2240 * Machine/OS name selection pattern
2242 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2244 (const char*)NULL };
2247 * content selection pattern - do fix if pattern found
2249 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2250 "#include[ \\t]+\\\"";
2252 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2253 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2254 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2257 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2259 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2262 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2267 * Description of Darwin_Externc fix
2269 tSCC zDarwin_ExterncName[] =
2273 * File name selection pattern
2275 tSCC zDarwin_ExterncList[] =
2276 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2278 * Machine/OS name selection pattern
2280 tSCC* apzDarwin_ExterncMachs[] = {
2282 (const char*)NULL };
2285 * content bypass pattern - skip fix if pattern found
2287 tSCC zDarwin_ExterncBypass0[] =
2289 tSCC zDarwin_ExterncBypass1[] =
2292 #define DARWIN_EXTERNC_TEST_CT 2
2293 static tTestDesc aDarwin_ExterncTests[] = {
2294 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2295 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2298 * Fix Command Arguments for Darwin_Externc
2300 static const char* apzDarwin_ExterncPatch[] = {
2302 "#ifdef __cplusplus\n\
2305 "#ifdef __cplusplus\n\
2310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2312 * Description of Darwin_Gcc4_Breakage fix
2314 tSCC zDarwin_Gcc4_BreakageName[] =
2315 "darwin_gcc4_breakage";
2318 * File name selection pattern
2320 tSCC zDarwin_Gcc4_BreakageList[] =
2321 "AvailabilityMacros.h\0";
2323 * Machine/OS name selection pattern
2325 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2327 (const char*)NULL };
2330 * content selection pattern - do fix if pattern found
2332 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2333 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2335 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2336 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2337 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2340 * Fix Command Arguments for Darwin_Gcc4_Breakage
2342 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2344 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2349 * Description of Darwin_Private_Extern fix
2351 tSCC zDarwin_Private_ExternName[] =
2352 "darwin_private_extern";
2355 * File name selection pattern
2357 tSCC zDarwin_Private_ExternList[] =
2360 * Machine/OS name selection pattern
2362 tSCC* apzDarwin_Private_ExternMachs[] = {
2364 (const char*)NULL };
2367 * content selection pattern - do fix if pattern found
2369 tSCC zDarwin_Private_ExternSelect0[] =
2370 "__private_extern__ [a-z_]+ _dyld_";
2372 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2373 static tTestDesc aDarwin_Private_ExternTests[] = {
2374 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2377 * Fix Command Arguments for Darwin_Private_Extern
2379 static const char* apzDarwin_Private_ExternPatch[] = {
2382 "__private_extern__",
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Darwin_Stdint_1 fix
2389 tSCC zDarwin_Stdint_1Name[] =
2393 * File name selection pattern
2395 tSCC zDarwin_Stdint_1List[] =
2396 "stdint-darwin.h\0stdint.h\0";
2398 * Machine/OS name selection pattern
2400 tSCC* apzDarwin_Stdint_1Machs[] = {
2402 (const char*)NULL };
2405 * content selection pattern - do fix if pattern found
2407 tSCC zDarwin_Stdint_1Select0[] =
2408 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2409 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2411 #define DARWIN_STDINT_1_TEST_CT 1
2412 static tTestDesc aDarwin_Stdint_1Tests[] = {
2413 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2416 * Fix Command Arguments for Darwin_Stdint_1
2418 static const char* apzDarwin_Stdint_1Patch[] = {
2420 "#define UINT8_C(v)\tv\n\
2421 #define UINT16_C(v)\tv",
2424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2426 * Description of Darwin_Stdint_2 fix
2428 tSCC zDarwin_Stdint_2Name[] =
2432 * File name selection pattern
2434 tSCC zDarwin_Stdint_2List[] =
2435 "stdint-darwin.h\0stdint.h\0";
2437 * Machine/OS name selection pattern
2439 tSCC* apzDarwin_Stdint_2Machs[] = {
2441 (const char*)NULL };
2444 * content selection pattern - do fix if pattern found
2446 tSCC zDarwin_Stdint_2Select0[] =
2447 "#if __WORDSIZE == 64\n\
2448 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2449 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2451 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2452 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2455 #define DARWIN_STDINT_2_TEST_CT 1
2456 static tTestDesc aDarwin_Stdint_2Tests[] = {
2457 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2460 * Fix Command Arguments for Darwin_Stdint_2
2462 static const char* apzDarwin_Stdint_2Patch[] = {
2464 "#if __WORDSIZE == 64\n\
2465 #define INTPTR_MAX 9223372036854775807L\n\
2466 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2468 #define INTPTR_MAX 2147483647L\n\
2469 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2475 * Description of Darwin_Stdint_3 fix
2477 tSCC zDarwin_Stdint_3Name[] =
2481 * File name selection pattern
2483 tSCC zDarwin_Stdint_3List[] =
2484 "stdint-darwin.h\0stdint.h\0";
2486 * Machine/OS name selection pattern
2488 tSCC* apzDarwin_Stdint_3Machs[] = {
2490 (const char*)NULL };
2493 * content selection pattern - do fix if pattern found
2495 tSCC zDarwin_Stdint_3Select0[] =
2496 "#if __WORDSIZE == 64\n\
2497 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2499 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2502 #define DARWIN_STDINT_3_TEST_CT 1
2503 static tTestDesc aDarwin_Stdint_3Tests[] = {
2504 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2507 * Fix Command Arguments for Darwin_Stdint_3
2509 static const char* apzDarwin_Stdint_3Patch[] = {
2511 "#if __WORDSIZE == 64\n\
2512 #define UINTPTR_MAX 18446744073709551615UL\n\
2514 #define UINTPTR_MAX 4294967295UL\n\
2518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2520 * Description of Darwin_Stdint_4 fix
2522 tSCC zDarwin_Stdint_4Name[] =
2526 * File name selection pattern
2528 tSCC zDarwin_Stdint_4List[] =
2529 "stdint-darwin.h\0stdint.h\0";
2531 * Machine/OS name selection pattern
2533 tSCC* apzDarwin_Stdint_4Machs[] = {
2535 (const char*)NULL };
2538 * content selection pattern - do fix if pattern found
2540 tSCC zDarwin_Stdint_4Select0[] =
2541 "#if __WORDSIZE == 64\n\
2542 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2544 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2547 #define DARWIN_STDINT_4_TEST_CT 1
2548 static tTestDesc aDarwin_Stdint_4Tests[] = {
2549 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2552 * Fix Command Arguments for Darwin_Stdint_4
2554 static const char* apzDarwin_Stdint_4Patch[] = {
2556 "#if __WORDSIZE == 64\n\
2557 #define SIZE_MAX 18446744073709551615UL\n\
2559 #define SIZE_MAX 4294967295UL\n\
2563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2565 * Description of Darwin_Stdint_5 fix
2567 tSCC zDarwin_Stdint_5Name[] =
2571 * File name selection pattern
2573 tSCC zDarwin_Stdint_5List[] =
2574 "stdint-darwin.h\0stdint.h\0";
2576 * Machine/OS name selection pattern
2578 tSCC* apzDarwin_Stdint_5Machs[] = {
2580 (const char*)NULL };
2583 * content selection pattern - do fix if pattern found
2585 tSCC zDarwin_Stdint_5Select0[] =
2586 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2587 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2588 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2590 #define DARWIN_STDINT_5_TEST_CT 1
2591 static tTestDesc aDarwin_Stdint_5Tests[] = {
2592 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2595 * Fix Command Arguments for Darwin_Stdint_5
2597 static const char* apzDarwin_Stdint_5Patch[] = {
2599 "#if __WORDSIZE == 64\n\
2600 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2601 #define INTMAX_MAX 9223372036854775807L\n\
2602 #define UINTMAX_MAX 18446744073709551615UL\n\
2604 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2605 #define INTMAX_MAX 9223372036854775807LL\n\
2606 #define UINTMAX_MAX 18446744073709551615ULL\n\
2610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2612 * Description of Darwin_Stdint_6 fix
2614 tSCC zDarwin_Stdint_6Name[] =
2618 * File name selection pattern
2620 tSCC zDarwin_Stdint_6List[] =
2621 "stdint-darwin.h\0stdint.h\0";
2623 * Machine/OS name selection pattern
2625 tSCC* apzDarwin_Stdint_6Machs[] = {
2627 (const char*)NULL };
2630 * content selection pattern - do fix if pattern found
2632 tSCC zDarwin_Stdint_6Select0[] =
2633 "#if __WORDSIZE == 64\n\
2634 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2635 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2637 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2638 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2641 #define DARWIN_STDINT_6_TEST_CT 1
2642 static tTestDesc aDarwin_Stdint_6Tests[] = {
2643 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2646 * Fix Command Arguments for Darwin_Stdint_6
2648 static const char* apzDarwin_Stdint_6Patch[] = {
2650 "#if __WORDSIZE == 64\n\
2651 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2652 #define PTRDIFF_MAX 9223372036854775807L\n\
2654 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2655 #define PTRDIFF_MAX 2147483647\n\
2659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2661 * Description of Darwin_Stdint_7 fix
2663 tSCC zDarwin_Stdint_7Name[] =
2667 * File name selection pattern
2669 tSCC zDarwin_Stdint_7List[] =
2670 "stdint-darwin.h\0stdint.h\0";
2672 * Machine/OS name selection pattern
2674 tSCC* apzDarwin_Stdint_7Machs[] = {
2676 (const char*)NULL };
2679 * content selection pattern - do fix if pattern found
2681 tSCC zDarwin_Stdint_7Select0[] =
2682 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2683 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2685 #define DARWIN_STDINT_7_TEST_CT 1
2686 static tTestDesc aDarwin_Stdint_7Tests[] = {
2687 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2690 * Fix Command Arguments for Darwin_Stdint_7
2692 static const char* apzDarwin_Stdint_7Patch[] = {
2694 "#if __WORDSIZE == 64\n\
2695 #define INTMAX_C(v) (v ## L)\n\
2696 #define UINTMAX_C(v) (v ## UL)\n\
2698 #define INTMAX_C(v) (v ## LL)\n\
2699 #define UINTMAX_C(v) (v ## ULL)\n\
2703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2705 * Description of Dec_Intern_Asm fix
2707 tSCC zDec_Intern_AsmName[] =
2711 * File name selection pattern
2713 tSCC zDec_Intern_AsmList[] =
2716 * Machine/OS name selection pattern
2718 #define apzDec_Intern_AsmMachs (const char**)NULL
2719 #define DEC_INTERN_ASM_TEST_CT 0
2720 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2723 * Fix Command Arguments for Dec_Intern_Asm
2725 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2726 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2728 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2734 * Description of Djgpp_Wchar_H fix
2736 tSCC zDjgpp_Wchar_HName[] =
2740 * File name selection pattern
2742 #define zDjgpp_Wchar_HList (char*)NULL
2744 * Machine/OS name selection pattern
2746 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2749 * content selection pattern - do fix if pattern found
2751 tSCC zDjgpp_Wchar_HSelect0[] =
2755 * content bypass pattern - skip fix if pattern found
2757 tSCC zDjgpp_Wchar_HBypass0[] =
2760 #define DJGPP_WCHAR_H_TEST_CT 2
2761 static tTestDesc aDjgpp_Wchar_HTests[] = {
2762 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2763 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2766 * Fix Command Arguments for Djgpp_Wchar_H
2768 static const char* apzDjgpp_Wchar_HPatch[] = {
2771 #include <sys/djtypes.h>",
2772 "#include <stddef.h>",
2775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2777 * Description of Ecd_Cursor fix
2779 tSCC zEcd_CursorName[] =
2783 * File name selection pattern
2785 tSCC zEcd_CursorList[] =
2786 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2788 * Machine/OS name selection pattern
2790 #define apzEcd_CursorMachs (const char**)NULL
2793 * content selection pattern - do fix if pattern found
2795 tSCC zEcd_CursorSelect0[] =
2798 #define ECD_CURSOR_TEST_CT 1
2799 static tTestDesc aEcd_CursorTests[] = {
2800 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2803 * Fix Command Arguments for Ecd_Cursor
2805 static const char* apzEcd_CursorPatch[] = {
2810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2812 * Description of Feraiseexcept_Nosse_Divbyzero fix
2814 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
2815 "feraiseexcept_nosse_divbyzero";
2818 * File name selection pattern
2820 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
2821 "bits/fenv.h\0*/bits/fenv.h\0";
2823 * Machine/OS name selection pattern
2825 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
2826 "i[34567]86-*-linux*",
2829 (const char*)NULL };
2832 * content selection pattern - do fix if pattern found
2834 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
2835 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
2838 * content bypass pattern - skip fix if pattern found
2840 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
2841 "\"fdivp .*; fwait\"";
2843 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
2844 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
2845 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
2846 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
2849 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
2851 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
2853 "# ifdef __SSE_MATH__\n\
2856 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
2857 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
2861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2863 * Description of Feraiseexcept_Nosse_Invalid fix
2865 tSCC zFeraiseexcept_Nosse_InvalidName[] =
2866 "feraiseexcept_nosse_invalid";
2869 * File name selection pattern
2871 tSCC zFeraiseexcept_Nosse_InvalidList[] =
2872 "bits/fenv.h\0*/bits/fenv.h\0";
2874 * Machine/OS name selection pattern
2876 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
2877 "i[34567]86-*-linux*",
2880 (const char*)NULL };
2883 * content selection pattern - do fix if pattern found
2885 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
2886 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
2889 * content bypass pattern - skip fix if pattern found
2891 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
2892 "\"fdiv .*; fwait\"";
2894 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
2895 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
2896 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
2897 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
2900 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
2902 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
2904 "# ifdef __SSE_MATH__\n\
2907 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
2908 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
2912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2914 * Description of Freebsd_Gcc3_Breakage fix
2916 tSCC zFreebsd_Gcc3_BreakageName[] =
2917 "freebsd_gcc3_breakage";
2920 * File name selection pattern
2922 tSCC zFreebsd_Gcc3_BreakageList[] =
2925 * Machine/OS name selection pattern
2927 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2929 (const char*)NULL };
2932 * content selection pattern - do fix if pattern found
2934 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2935 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2938 * content bypass pattern - skip fix if pattern found
2940 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2941 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2943 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2944 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2945 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2946 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2949 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2951 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2953 "%0 || __GNUC__ >= 3",
2956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2958 * Description of Freebsd_Gcc4_Breakage fix
2960 tSCC zFreebsd_Gcc4_BreakageName[] =
2961 "freebsd_gcc4_breakage";
2964 * File name selection pattern
2966 tSCC zFreebsd_Gcc4_BreakageList[] =
2969 * Machine/OS name selection pattern
2971 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2973 (const char*)NULL };
2976 * content selection pattern - do fix if pattern found
2978 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2979 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2981 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2982 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2983 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2986 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2988 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2990 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2993 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2995 * Description of Glibc_C99_Inline_1 fix
2997 tSCC zGlibc_C99_Inline_1Name[] =
2998 "glibc_c99_inline_1";
3001 * File name selection pattern
3003 tSCC zGlibc_C99_Inline_1List[] =
3004 "features.h\0*/features.h\0";
3006 * Machine/OS name selection pattern
3008 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3011 * content selection pattern - do fix if pattern found
3013 tSCC zGlibc_C99_Inline_1Select0[] =
3014 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3016 #define GLIBC_C99_INLINE_1_TEST_CT 1
3017 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3018 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3021 * Fix Command Arguments for Glibc_C99_Inline_1
3023 static const char* apzGlibc_C99_Inline_1Patch[] = {
3025 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3030 * Description of Glibc_C99_Inline_1a fix
3032 tSCC zGlibc_C99_Inline_1aName[] =
3033 "glibc_c99_inline_1a";
3036 * File name selection pattern
3038 tSCC zGlibc_C99_Inline_1aList[] =
3039 "features.h\0*/features.h\0";
3041 * Machine/OS name selection pattern
3043 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3046 * content selection pattern - do fix if pattern found
3048 tSCC zGlibc_C99_Inline_1aSelect0[] =
3049 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3050 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3052 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3053 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3054 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3057 * Fix Command Arguments for Glibc_C99_Inline_1a
3059 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3061 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3067 * Description of Glibc_C99_Inline_2 fix
3069 tSCC zGlibc_C99_Inline_2Name[] =
3070 "glibc_c99_inline_2";
3073 * File name selection pattern
3075 tSCC zGlibc_C99_Inline_2List[] =
3076 "sys/stat.h\0*/sys/stat.h\0";
3078 * Machine/OS name selection pattern
3080 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3083 * content selection pattern - do fix if pattern found
3085 tSCC zGlibc_C99_Inline_2Select0[] =
3086 "extern __inline__ int";
3088 #define GLIBC_C99_INLINE_2_TEST_CT 1
3089 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3090 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3093 * Fix Command Arguments for Glibc_C99_Inline_2
3095 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3096 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3099 __inline__ int \\1/",
3100 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3103 __inline__ int \\1/",
3104 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3107 __inline__ int \\1/",
3108 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3111 __inline__ int __REDIRECT\\1 (\\2/",
3112 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3115 __inline__ int __REDIRECT\\1 (\\2/",
3116 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3122 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3124 * Description of Glibc_C99_Inline_3 fix
3126 tSCC zGlibc_C99_Inline_3Name[] =
3127 "glibc_c99_inline_3";
3130 * File name selection pattern
3132 tSCC zGlibc_C99_Inline_3List[] =
3133 "bits/string2.h\0*/bits/string2.h\0";
3135 * Machine/OS name selection pattern
3137 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3140 * content selection pattern - do fix if pattern found
3142 tSCC zGlibc_C99_Inline_3Select0[] =
3146 * content bypass pattern - skip fix if pattern found
3148 tSCC zGlibc_C99_Inline_3Bypass0[] =
3149 "__extern_inline|__GNU_STDC_INLINE__";
3151 #define GLIBC_C99_INLINE_3_TEST_CT 2
3152 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3153 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3154 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3157 * Fix Command Arguments for Glibc_C99_Inline_3
3159 static const char* apzGlibc_C99_Inline_3Patch[] = {
3161 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3162 "^# ifdef __cplusplus$",
3165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3167 * Description of Glibc_C99_Inline_4 fix
3169 tSCC zGlibc_C99_Inline_4Name[] =
3170 "glibc_c99_inline_4";
3173 * File name selection pattern
3175 tSCC zGlibc_C99_Inline_4List[] =
3176 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
3178 * Machine/OS name selection pattern
3180 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3183 * content selection pattern - do fix if pattern found
3185 tSCC zGlibc_C99_Inline_4Select0[] =
3186 "(^| )extern __inline";
3189 * content bypass pattern - skip fix if pattern found
3191 tSCC zGlibc_C99_Inline_4Bypass0[] =
3192 "__extern_inline|__gnu_inline__";
3194 #define GLIBC_C99_INLINE_4_TEST_CT 2
3195 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3196 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3197 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3200 * Fix Command Arguments for Glibc_C99_Inline_4
3202 static const char* apzGlibc_C99_Inline_4Patch[] = {
3204 "%0 __attribute__ ((__gnu_inline__))",
3207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3209 * Description of Glibc_Mutex_Init fix
3211 tSCC zGlibc_Mutex_InitName[] =
3215 * File name selection pattern
3217 tSCC zGlibc_Mutex_InitList[] =
3220 * Machine/OS name selection pattern
3222 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3225 * content selection pattern - do fix if pattern found
3227 tSCC zGlibc_Mutex_InitSelect0[] =
3228 "\\{ *\\{ *0, *\\} *\\}";
3230 #define GLIBC_MUTEX_INIT_TEST_CT 1
3231 static tTestDesc aGlibc_Mutex_InitTests[] = {
3232 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3235 * Fix Command Arguments for Glibc_Mutex_Init
3237 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3238 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3240 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3242 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3243 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3244 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3245 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3246 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3247 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3248 "-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\
3250 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3253 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3255 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3256 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3261 * Description of Glibc_Stdint fix
3263 tSCC zGlibc_StdintName[] =
3267 * File name selection pattern
3269 tSCC zGlibc_StdintList[] =
3272 * Machine/OS name selection pattern
3274 #define apzGlibc_StdintMachs (const char**)NULL
3277 * content selection pattern - do fix if pattern found
3279 tSCC zGlibc_StdintSelect0[] =
3282 #define GLIBC_STDINT_TEST_CT 1
3283 static tTestDesc aGlibc_StdintTests[] = {
3284 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3287 * Fix Command Arguments for Glibc_Stdint
3289 static const char* apzGlibc_StdintPatch[] = {
3291 "# define UINT8_C(c)\tc\n\
3292 # define UINT16_C(c)\tc",
3293 "# define UINT8_C\\(c\\)\tc ## U\n\
3294 # define UINT16_C\\(c\\)\tc ## U",
3297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3299 * Description of Glibc_Strncpy fix
3301 tSCC zGlibc_StrncpyName[] =
3305 * File name selection pattern
3307 tSCC zGlibc_StrncpyList[] =
3308 "bits/string2.h\0*/bits/string2.h\0";
3310 * Machine/OS name selection pattern
3312 #define apzGlibc_StrncpyMachs (const char**)NULL
3315 * content bypass pattern - skip fix if pattern found
3317 tSCC zGlibc_StrncpyBypass0[] =
3318 "__builtin_strncpy";
3320 #define GLIBC_STRNCPY_TEST_CT 1
3321 static tTestDesc aGlibc_StrncpyTests[] = {
3322 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3325 * Fix Command Arguments for Glibc_Strncpy
3327 static const char* apzGlibc_StrncpyPatch[] = {
3329 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3330 "# define strncpy([^\n\
3336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3338 * Description of Glibc_Tgmath fix
3340 tSCC zGlibc_TgmathName[] =
3344 * File name selection pattern
3346 tSCC zGlibc_TgmathList[] =
3349 * Machine/OS name selection pattern
3351 #define apzGlibc_TgmathMachs (const char**)NULL
3354 * content selection pattern - do fix if pattern found
3356 tSCC zGlibc_TgmathSelect0[] =
3357 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3360 * content bypass pattern - skip fix if pattern found
3362 tSCC zGlibc_TgmathBypass0[] =
3363 "__floating_type\\(type\\) \\\\\n\
3364 .*__builtin_classify_type";
3366 #define GLIBC_TGMATH_TEST_CT 2
3367 static tTestDesc aGlibc_TgmathTests[] = {
3368 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3369 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3372 * Fix Command Arguments for Glibc_Tgmath
3374 static const char* apzGlibc_TgmathPatch[] = {
3376 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3381 * Description of Gnu_Types fix
3383 tSCC zGnu_TypesName[] =
3387 * File name selection pattern
3389 tSCC zGnu_TypesList[] =
3390 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3392 * Machine/OS name selection pattern
3394 tSCC* apzGnu_TypesMachs[] = {
3395 "*-*-solaris2.1[0-9]*",
3396 (const char*)NULL };
3399 * content selection pattern - do fix if pattern found
3401 tSCC zGnu_TypesSelect0[] =
3402 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3405 * content bypass pattern - skip fix if pattern found
3407 tSCC zGnu_TypesBypass0[] =
3408 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3410 #define GNU_TYPES_TEST_CT 2
3411 static tTestDesc aGnu_TypesTests[] = {
3412 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3413 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3416 * Fix Command Arguments for Gnu_Types
3418 static const char* apzGnu_TypesPatch[] = {
3422 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3424 * Description of Hp_Inline fix
3426 tSCC zHp_InlineName[] =
3430 * File name selection pattern
3432 tSCC zHp_InlineList[] =
3433 "sys/spinlock.h\0machine/machparam.h\0";
3435 * Machine/OS name selection pattern
3437 #define apzHp_InlineMachs (const char**)NULL
3440 * content selection pattern - do fix if pattern found
3442 tSCC zHp_InlineSelect0[] =
3443 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3445 #define HP_INLINE_TEST_CT 1
3446 static tTestDesc aHp_InlineTests[] = {
3447 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3450 * Fix Command Arguments for Hp_Inline
3452 static const char* apzHp_InlinePatch[] = {
3455 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3458 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3460 * Description of Hp_Sysfile fix
3462 tSCC zHp_SysfileName[] =
3466 * File name selection pattern
3468 tSCC zHp_SysfileList[] =
3471 * Machine/OS name selection pattern
3473 #define apzHp_SysfileMachs (const char**)NULL
3476 * content selection pattern - do fix if pattern found
3478 tSCC zHp_SysfileSelect0[] =
3481 #define HP_SYSFILE_TEST_CT 1
3482 static tTestDesc aHp_SysfileTests[] = {
3483 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3486 * Fix Command Arguments for Hp_Sysfile
3488 static const char* apzHp_SysfilePatch[] = {
3490 "(struct file *, ...)",
3494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3496 * Description of Hppa_Hpux_Fp_Macros fix
3498 tSCC zHppa_Hpux_Fp_MacrosName[] =
3499 "hppa_hpux_fp_macros";
3502 * File name selection pattern
3504 tSCC zHppa_Hpux_Fp_MacrosList[] =
3507 * Machine/OS name selection pattern
3509 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3511 (const char*)NULL };
3514 * content selection pattern - do fix if pattern found
3516 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3517 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3518 #[ \t]*define[ \t]*FP_ZERO.*\n\
3519 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3520 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3521 #[ \t]*define[ \t]*FP_NAN.*\n";
3523 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3524 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3525 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3528 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3530 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3532 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3533 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3534 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3536 #ifdef _INCLUDE_HPUX_SOURCE\n",
3539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3541 * Description of Hpux10_Cpp_Pow_Inline fix
3543 tSCC zHpux10_Cpp_Pow_InlineName[] =
3544 "hpux10_cpp_pow_inline";
3547 * File name selection pattern
3549 tSCC zHpux10_Cpp_Pow_InlineList[] =
3550 "fixinc-test-limits.h\0math.h\0";
3552 * Machine/OS name selection pattern
3554 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3557 * content selection pattern - do fix if pattern found
3559 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3560 "^# +ifdef +__cplusplus\n\
3562 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3563 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3565 +extern +\"C\" +\\{\n\
3569 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3570 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3571 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3574 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3576 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3581 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3583 * Description of Hpux11_Cpp_Pow_Inline fix
3585 tSCC zHpux11_Cpp_Pow_InlineName[] =
3586 "hpux11_cpp_pow_inline";
3589 * File name selection pattern
3591 tSCC zHpux11_Cpp_Pow_InlineList[] =
3594 * Machine/OS name selection pattern
3596 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3599 * content selection pattern - do fix if pattern found
3601 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3602 " +inline double pow\\(double d,int expon\\) \\{\n\
3603 +return pow\\(d, \\(double\\)expon\\);\n\
3606 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3607 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3608 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3611 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3613 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3620 * Description of Hpux10_Ctype_Declarations1 fix
3622 tSCC zHpux10_Ctype_Declarations1Name[] =
3623 "hpux10_ctype_declarations1";
3626 * File name selection pattern
3628 tSCC zHpux10_Ctype_Declarations1List[] =
3631 * Machine/OS name selection pattern
3633 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3636 * content selection pattern - do fix if pattern found
3638 tSCC zHpux10_Ctype_Declarations1Select0[] =
3639 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3642 * content bypass pattern - skip fix if pattern found
3644 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3645 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3647 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3648 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3649 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3650 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3653 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3655 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3657 "#ifdef _PROTOTYPES\n\
3658 extern int __tolower(int);\n\
3659 extern int __toupper(int);\n\
3660 #else /* NOT _PROTOTYPES */\n\
3661 extern int __tolower();\n\
3662 extern int __toupper();\n\
3663 #endif /* _PROTOTYPES */\n\n\
3667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3669 * Description of Hpux10_Ctype_Declarations2 fix
3671 tSCC zHpux10_Ctype_Declarations2Name[] =
3672 "hpux10_ctype_declarations2";
3675 * File name selection pattern
3677 tSCC zHpux10_Ctype_Declarations2List[] =
3680 * Machine/OS name selection pattern
3682 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3685 * content selection pattern - do fix if pattern found
3687 tSCC zHpux10_Ctype_Declarations2Select0[] =
3688 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3691 * content bypass pattern - skip fix if pattern found
3693 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3694 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3696 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3697 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3698 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3699 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3702 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3704 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3707 #ifdef _PROTOTYPES\n\
3708 extern int _isalnum(int);\n\
3709 extern int _isalpha(int);\n\
3710 extern int _iscntrl(int);\n\
3711 extern int _isdigit(int);\n\
3712 extern int _isgraph(int);\n\
3713 extern int _islower(int);\n\
3714 extern int _isprint(int);\n\
3715 extern int _ispunct(int);\n\
3716 extern int _isspace(int);\n\
3717 extern int _isupper(int);\n\
3718 extern int _isxdigit(int);\n\
3719 # else /* not _PROTOTYPES */\n\
3720 extern int _isalnum();\n\
3721 extern int _isalpha();\n\
3722 extern int _iscntrl();\n\
3723 extern int _isdigit();\n\
3724 extern int _isgraph();\n\
3725 extern int _islower();\n\
3726 extern int _isprint();\n\
3727 extern int _ispunct();\n\
3728 extern int _isspace();\n\
3729 extern int _isupper();\n\
3730 extern int _isxdigit();\n\
3731 #endif /* _PROTOTYPES */\n",
3734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3736 * Description of Hpux10_Stdio_Declarations fix
3738 tSCC zHpux10_Stdio_DeclarationsName[] =
3739 "hpux10_stdio_declarations";
3742 * File name selection pattern
3744 tSCC zHpux10_Stdio_DeclarationsList[] =
3747 * Machine/OS name selection pattern
3749 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3752 * content selection pattern - do fix if pattern found
3754 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3755 "^#[ \t]*define _iob[ \t]*__iob";
3758 * content bypass pattern - skip fix if pattern found
3760 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3761 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3763 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3764 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3765 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3766 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3769 * Fix Command Arguments for Hpux10_Stdio_Declarations
3771 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3774 # if defined(__STDC__) || defined(__cplusplus)\n\
3775 extern int snprintf(char *, size_t, const char *, ...);\n\
3776 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3777 # else /* not __STDC__) || __cplusplus */\n\
3778 extern int snprintf();\n\
3779 extern int vsnprintf();\n\
3780 # endif /* __STDC__) || __cplusplus */\n",
3783 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3785 * Description of Hpux11_Abs fix
3787 tSCC zHpux11_AbsName[] =
3791 * File name selection pattern
3793 tSCC zHpux11_AbsList[] =
3796 * Machine/OS name selection pattern
3798 tSCC* apzHpux11_AbsMachs[] = {
3800 (const char*)NULL };
3803 * content selection pattern - do fix if pattern found
3805 tSCC zHpux11_AbsSelect0[] =
3806 "ifndef _MATH_INCLUDED";
3808 #define HPUX11_ABS_TEST_CT 1
3809 static tTestDesc aHpux11_AbsTests[] = {
3810 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3813 * Fix Command Arguments for Hpux11_Abs
3815 static const char* apzHpux11_AbsPatch[] = {
3817 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3822 * Description of Hpux11_Extern_Sendfile fix
3824 tSCC zHpux11_Extern_SendfileName[] =
3825 "hpux11_extern_sendfile";
3828 * File name selection pattern
3830 tSCC zHpux11_Extern_SendfileList[] =
3833 * Machine/OS name selection pattern
3835 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3836 "*-hp-hpux11.[12]*",
3837 (const char*)NULL };
3840 * content selection pattern - do fix if pattern found
3842 tSCC zHpux11_Extern_SendfileSelect0[] =
3843 "^[ \t]*extern sbsize_t sendfile.*\n\
3846 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3847 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3848 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3851 * Fix Command Arguments for Hpux11_Extern_Sendfile
3853 static const char* apzHpux11_Extern_SendfilePatch[] = {
3855 "#ifndef _APP32_64BIT_OFF_T\n\
3859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3861 * Description of Hpux11_Extern_Sendpath fix
3863 tSCC zHpux11_Extern_SendpathName[] =
3864 "hpux11_extern_sendpath";
3867 * File name selection pattern
3869 tSCC zHpux11_Extern_SendpathList[] =
3872 * Machine/OS name selection pattern
3874 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3875 "*-hp-hpux11.[12]*",
3876 (const char*)NULL };
3879 * content selection pattern - do fix if pattern found
3881 tSCC zHpux11_Extern_SendpathSelect0[] =
3882 "^[ \t]*extern sbsize_t sendpath.*\n\
3885 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3886 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3887 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3890 * Fix Command Arguments for Hpux11_Extern_Sendpath
3892 static const char* apzHpux11_Extern_SendpathPatch[] = {
3894 "#ifndef _APP32_64BIT_OFF_T\n\
3898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3900 * Description of Hpux11_Fabsf fix
3902 tSCC zHpux11_FabsfName[] =
3906 * File name selection pattern
3908 tSCC zHpux11_FabsfList[] =
3911 * Machine/OS name selection pattern
3913 #define apzHpux11_FabsfMachs (const char**)NULL
3916 * content selection pattern - do fix if pattern found
3918 tSCC zHpux11_FabsfSelect0[] =
3919 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3922 * content bypass pattern - skip fix if pattern found
3924 tSCC zHpux11_FabsfBypass0[] =
3927 #define HPUX11_FABSF_TEST_CT 2
3928 static tTestDesc aHpux11_FabsfTests[] = {
3929 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3930 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3933 * Fix Command Arguments for Hpux11_Fabsf
3935 static const char* apzHpux11_FabsfPatch[] = {
3937 "#ifndef __cplusplus\n\
3942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3944 * Description of Hpux11_Pthread_Const fix
3946 tSCC zHpux11_Pthread_ConstName[] =
3947 "hpux11_pthread_const";
3950 * File name selection pattern
3952 tSCC zHpux11_Pthread_ConstList[] =
3955 * Machine/OS name selection pattern
3957 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3958 "*-hp-hpux11.[0-3]*",
3959 (const char*)NULL };
3962 * content selection pattern - do fix if pattern found
3964 tSCC zHpux11_Pthread_ConstSelect0[] =
3965 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3967 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3968 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3969 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3972 * Fix Command Arguments for Hpux11_Pthread_Const
3974 static const char* apzHpux11_Pthread_ConstPatch[] = {
3976 "#define __POINTER_SET\t\t((void *) 1L)",
3979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3981 * Description of Hpux11_Size_T fix
3983 tSCC zHpux11_Size_TName[] =
3987 * File name selection pattern
3989 #define zHpux11_Size_TList (char*)NULL
3991 * Machine/OS name selection pattern
3993 tSCC* apzHpux11_Size_TMachs[] = {
3995 (const char*)NULL };
3998 * content selection pattern - do fix if pattern found
4000 tSCC zHpux11_Size_TSelect0[] =
4003 #define HPUX11_SIZE_T_TEST_CT 1
4004 static tTestDesc aHpux11_Size_TTests[] = {
4005 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4008 * Fix Command Arguments for Hpux11_Size_T
4010 static const char* apzHpux11_Size_TPatch[] = {
4015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4017 * Description of Hpux11_Snprintf fix
4019 tSCC zHpux11_SnprintfName[] =
4023 * File name selection pattern
4025 tSCC zHpux11_SnprintfList[] =
4028 * Machine/OS name selection pattern
4030 #define apzHpux11_SnprintfMachs (const char**)NULL
4033 * content selection pattern - do fix if pattern found
4035 tSCC zHpux11_SnprintfSelect0[] =
4036 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4038 #define HPUX11_SNPRINTF_TEST_CT 1
4039 static tTestDesc aHpux11_SnprintfTests[] = {
4040 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4043 * Fix Command Arguments for Hpux11_Snprintf
4045 static const char* apzHpux11_SnprintfPatch[] = {
4050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4052 * Description of Hpux11_Vsnprintf fix
4054 tSCC zHpux11_VsnprintfName[] =
4058 * File name selection pattern
4060 tSCC zHpux11_VsnprintfList[] =
4063 * Machine/OS name selection pattern
4065 #define apzHpux11_VsnprintfMachs (const char**)NULL
4068 * content selection pattern - do fix if pattern found
4070 tSCC zHpux11_VsnprintfSelect0[] =
4071 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4073 #define HPUX11_VSNPRINTF_TEST_CT 1
4074 static tTestDesc aHpux11_VsnprintfTests[] = {
4075 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4078 * Fix Command Arguments for Hpux11_Vsnprintf
4080 static const char* apzHpux11_VsnprintfPatch[] = {
4085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4087 * Description of Hpux8_Bogus_Inlines fix
4089 tSCC zHpux8_Bogus_InlinesName[] =
4090 "hpux8_bogus_inlines";
4093 * File name selection pattern
4095 tSCC zHpux8_Bogus_InlinesList[] =
4098 * Machine/OS name selection pattern
4100 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4103 * content selection pattern - do fix if pattern found
4105 tSCC zHpux8_Bogus_InlinesSelect0[] =
4109 * content bypass pattern - skip fix if pattern found
4111 tSCC zHpux8_Bogus_InlinesBypass0[] =
4114 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4115 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4116 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4117 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4120 * Fix Command Arguments for Hpux8_Bogus_Inlines
4122 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4123 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4124 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4125 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4126 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4131 * Description of Hpux_C99_Intptr fix
4133 tSCC zHpux_C99_IntptrName[] =
4137 * File name selection pattern
4139 tSCC zHpux_C99_IntptrList[] =
4140 "stdint-hpux11.h\0stdint.h\0";
4142 * Machine/OS name selection pattern
4144 tSCC* apzHpux_C99_IntptrMachs[] = {
4146 (const char*)NULL };
4147 #define HPUX_C99_INTPTR_TEST_CT 0
4148 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4151 * Fix Command Arguments for Hpux_C99_Intptr
4153 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4154 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4155 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4156 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4157 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4158 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4159 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4164 * Description of Hpux_C99_Inttypes fix
4166 tSCC zHpux_C99_InttypesName[] =
4167 "hpux_c99_inttypes";
4170 * File name selection pattern
4172 tSCC zHpux_C99_InttypesList[] =
4173 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4175 * Machine/OS name selection pattern
4177 tSCC* apzHpux_C99_InttypesMachs[] = {
4178 "*-hp-hpux11.[23]*",
4179 (const char*)NULL };
4180 #define HPUX_C99_INTTYPES_TEST_CT 0
4181 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4184 * Fix Command Arguments for Hpux_C99_Inttypes
4186 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4187 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4188 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4189 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4190 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4193 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4195 * Description of Hpux_C99_Inttypes2 fix
4197 tSCC zHpux_C99_Inttypes2Name[] =
4198 "hpux_c99_inttypes2";
4201 * File name selection pattern
4203 tSCC zHpux_C99_Inttypes2List[] =
4204 "stdint-hpux11.h\0stdint.h\0";
4206 * Machine/OS name selection pattern
4208 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4210 (const char*)NULL };
4211 #define HPUX_C99_INTTYPES2_TEST_CT 0
4212 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4215 * Fix Command Arguments for Hpux_C99_Inttypes2
4217 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4218 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4219 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4220 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4221 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4226 * Description of Hpux_Ctype_Macros fix
4228 tSCC zHpux_Ctype_MacrosName[] =
4229 "hpux_ctype_macros";
4232 * File name selection pattern
4234 tSCC zHpux_Ctype_MacrosList[] =
4237 * Machine/OS name selection pattern
4239 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4242 * content selection pattern - do fix if pattern found
4244 tSCC zHpux_Ctype_MacrosSelect0[] =
4245 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4247 #define HPUX_CTYPE_MACROS_TEST_CT 1
4248 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4249 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4252 * Fix Command Arguments for Hpux_Ctype_Macros
4254 static const char* apzHpux_Ctype_MacrosPatch[] = {
4259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4261 * Description of Hpux_Extern_Errno fix
4263 tSCC zHpux_Extern_ErrnoName[] =
4264 "hpux_extern_errno";
4267 * File name selection pattern
4269 tSCC zHpux_Extern_ErrnoList[] =
4272 * Machine/OS name selection pattern
4274 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4276 "*-hp-hpux11.[0-2]*",
4277 (const char*)NULL };
4280 * content selection pattern - do fix if pattern found
4282 tSCC zHpux_Extern_ErrnoSelect0[] =
4283 "^[ \t]*extern int errno;$";
4285 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4286 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4287 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4290 * Fix Command Arguments for Hpux_Extern_Errno
4292 static const char* apzHpux_Extern_ErrnoPatch[] = {
4294 "#ifdef __cplusplus\n\
4298 #ifdef __cplusplus\n\
4303 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4305 * Description of Hpux_Htonl fix
4307 tSCC zHpux_HtonlName[] =
4311 * File name selection pattern
4313 tSCC zHpux_HtonlList[] =
4316 * Machine/OS name selection pattern
4318 #define apzHpux_HtonlMachs (const char**)NULL
4321 * content selection pattern - do fix if pattern found
4323 tSCC zHpux_HtonlSelect0[] =
4324 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4326 \\* Macros for number representation conversion\\.\n\
4330 #define HPUX_HTONL_TEST_CT 1
4331 static tTestDesc aHpux_HtonlTests[] = {
4332 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
4335 * Fix Command Arguments for Hpux_Htonl
4337 static const char* apzHpux_HtonlPatch[] = {
4343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4345 * Description of Hpux_Imaginary_I fix
4347 tSCC zHpux_Imaginary_IName[] =
4351 * File name selection pattern
4353 tSCC zHpux_Imaginary_IList[] =
4356 * Machine/OS name selection pattern
4358 tSCC* apzHpux_Imaginary_IMachs[] = {
4360 (const char*)NULL };
4363 * content selection pattern - do fix if pattern found
4365 tSCC zHpux_Imaginary_ISelect0[] =
4366 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4368 #define HPUX_IMAGINARY_I_TEST_CT 1
4369 static tTestDesc aHpux_Imaginary_ITests[] = {
4370 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4373 * Fix Command Arguments for Hpux_Imaginary_I
4375 static const char* apzHpux_Imaginary_IPatch[] = {
4377 "#define _Complex_I (__extension__ 1.0iF)",
4380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4382 * Description of Hpux_Inttype_Int8_T fix
4384 tSCC zHpux_Inttype_Int8_TName[] =
4385 "hpux_inttype_int8_t";
4388 * File name selection pattern
4390 tSCC zHpux_Inttype_Int8_TList[] =
4391 "sys/_inttypes.h\0";
4393 * Machine/OS name selection pattern
4395 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4397 (const char*)NULL };
4400 * content selection pattern - do fix if pattern found
4402 tSCC zHpux_Inttype_Int8_TSelect0[] =
4403 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4405 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4406 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4407 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4410 * Fix Command Arguments for Hpux_Inttype_Int8_T
4412 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4414 "typedef signed char int%18_t;",
4417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4419 * Description of Hpux_Long_Double fix
4421 tSCC zHpux_Long_DoubleName[] =
4425 * File name selection pattern
4427 tSCC zHpux_Long_DoubleList[] =
4430 * Machine/OS name selection pattern
4432 tSCC* apzHpux_Long_DoubleMachs[] = {
4434 "*-*-hpux11.[012]*",
4435 (const char*)NULL };
4438 * content selection pattern - do fix if pattern found
4440 tSCC zHpux_Long_DoubleSelect0[] =
4441 "extern[ \t]long_double[ \t]strtold";
4444 * content bypass pattern - skip fix if pattern found
4446 tSCC zHpux_Long_DoubleBypass0[] =
4449 #define HPUX_LONG_DOUBLE_TEST_CT 2
4450 static tTestDesc aHpux_Long_DoubleTests[] = {
4451 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4452 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4455 * Fix Command Arguments for Hpux_Long_Double
4457 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4458 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4459 "-e", "s/long_double/long double/g",
4462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4464 * Description of Hpux_Long_Double_2 fix
4466 tSCC zHpux_Long_Double_2Name[] =
4467 "hpux_long_double_2";
4470 * File name selection pattern
4472 tSCC zHpux_Long_Double_2List[] =
4475 * Machine/OS name selection pattern
4477 tSCC* apzHpux_Long_Double_2Machs[] = {
4478 "hppa*-*-hpux11.3*",
4479 (const char*)NULL };
4482 * content selection pattern - do fix if pattern found
4484 tSCC zHpux_Long_Double_2Select0[] =
4485 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4487 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
4488 static tTestDesc aHpux_Long_Double_2Tests[] = {
4489 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4492 * Fix Command Arguments for Hpux_Long_Double_2
4494 static const char* apzHpux_Long_Double_2Patch[] = {
4496 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4501 * Description of Hpux_Pthread_Initializers fix
4503 tSCC zHpux_Pthread_InitializersName[] =
4504 "hpux_pthread_initializers";
4507 * File name selection pattern
4509 tSCC zHpux_Pthread_InitializersList[] =
4512 * Machine/OS name selection pattern
4514 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4515 "*-hp-hpux11.[0-3]*",
4516 (const char*)NULL };
4517 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
4518 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
4521 * Fix Command Arguments for Hpux_Pthread_Initializers
4523 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4524 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4525 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4526 "-e", "/^[ \t]*0$/d",
4527 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4528 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4529 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4530 "-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\\\\@",
4531 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4532 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4533 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4534 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4535 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4536 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4541 * Description of Hpux_Spu_Info fix
4543 tSCC zHpux_Spu_InfoName[] =
4547 * File name selection pattern
4549 tSCC zHpux_Spu_InfoList[] =
4550 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
4552 * Machine/OS name selection pattern
4554 tSCC* apzHpux_Spu_InfoMachs[] = {
4556 (const char*)NULL };
4559 * content selection pattern - do fix if pattern found
4561 tSCC zHpux_Spu_InfoSelect0[] =
4562 "^.*extern.*spu_info.*";
4564 #define HPUX_SPU_INFO_TEST_CT 1
4565 static tTestDesc aHpux_Spu_InfoTests[] = {
4566 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
4569 * Fix Command Arguments for Hpux_Spu_Info
4571 static const char* apzHpux_Spu_InfoPatch[] = {
4578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4580 * Description of Hpux_Stdint_Least_Fast fix
4582 tSCC zHpux_Stdint_Least_FastName[] =
4583 "hpux_stdint_least_fast";
4586 * File name selection pattern
4588 tSCC zHpux_Stdint_Least_FastList[] =
4589 "stdint-hpux11.h\0stdint.h\0";
4591 * Machine/OS name selection pattern
4593 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4595 (const char*)NULL };
4598 * content selection pattern - do fix if pattern found
4600 tSCC zHpux_Stdint_Least_FastSelect0[] =
4601 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4603 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4604 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4605 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4608 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4610 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4612 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4615 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4617 * Description of Hpux_Systime fix
4619 tSCC zHpux_SystimeName[] =
4623 * File name selection pattern
4625 tSCC zHpux_SystimeList[] =
4628 * Machine/OS name selection pattern
4630 #define apzHpux_SystimeMachs (const char**)NULL
4633 * content selection pattern - do fix if pattern found
4635 tSCC zHpux_SystimeSelect0[] =
4636 "^extern struct sigevent;";
4638 #define HPUX_SYSTIME_TEST_CT 1
4639 static tTestDesc aHpux_SystimeTests[] = {
4640 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
4643 * Fix Command Arguments for Hpux_Systime
4645 static const char* apzHpux_SystimePatch[] = {
4650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4652 * Description of Huge_Val_Hex fix
4654 tSCC zHuge_Val_HexName[] =
4658 * File name selection pattern
4660 tSCC zHuge_Val_HexList[] =
4661 "bits/huge_val.h\0*/bits/huge_val.h\0";
4663 * Machine/OS name selection pattern
4665 #define apzHuge_Val_HexMachs (const char**)NULL
4668 * content selection pattern - do fix if pattern found
4670 tSCC zHuge_Val_HexSelect0[] =
4671 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4674 * content bypass pattern - skip fix if pattern found
4676 tSCC zHuge_Val_HexBypass0[] =
4677 "__builtin_huge_val";
4679 #define HUGE_VAL_HEX_TEST_CT 2
4680 static tTestDesc aHuge_Val_HexTests[] = {
4681 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4682 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4685 * Fix Command Arguments for Huge_Val_Hex
4687 static const char* apzHuge_Val_HexPatch[] = {
4689 "#define HUGE_VAL (__builtin_huge_val())\n",
4692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4694 * Description of Huge_Valf_Hex fix
4696 tSCC zHuge_Valf_HexName[] =
4700 * File name selection pattern
4702 tSCC zHuge_Valf_HexList[] =
4703 "bits/huge_val.h\0*/bits/huge_val.h\0";
4705 * Machine/OS name selection pattern
4707 #define apzHuge_Valf_HexMachs (const char**)NULL
4710 * content selection pattern - do fix if pattern found
4712 tSCC zHuge_Valf_HexSelect0[] =
4713 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4716 * content bypass pattern - skip fix if pattern found
4718 tSCC zHuge_Valf_HexBypass0[] =
4719 "__builtin_huge_valf";
4721 #define HUGE_VALF_HEX_TEST_CT 2
4722 static tTestDesc aHuge_Valf_HexTests[] = {
4723 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4724 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4727 * Fix Command Arguments for Huge_Valf_Hex
4729 static const char* apzHuge_Valf_HexPatch[] = {
4731 "#define HUGE_VALF (__builtin_huge_valf())\n",
4734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4736 * Description of Huge_Vall_Hex fix
4738 tSCC zHuge_Vall_HexName[] =
4742 * File name selection pattern
4744 tSCC zHuge_Vall_HexList[] =
4745 "bits/huge_val.h\0*/bits/huge_val.h\0";
4747 * Machine/OS name selection pattern
4749 #define apzHuge_Vall_HexMachs (const char**)NULL
4752 * content selection pattern - do fix if pattern found
4754 tSCC zHuge_Vall_HexSelect0[] =
4755 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4758 * content bypass pattern - skip fix if pattern found
4760 tSCC zHuge_Vall_HexBypass0[] =
4761 "__builtin_huge_vall";
4763 #define HUGE_VALL_HEX_TEST_CT 2
4764 static tTestDesc aHuge_Vall_HexTests[] = {
4765 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4766 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4769 * Fix Command Arguments for Huge_Vall_Hex
4771 static const char* apzHuge_Vall_HexPatch[] = {
4773 "#define HUGE_VALL (__builtin_huge_vall())\n",
4776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4778 * Description of Int_Abort_Free_And_Exit fix
4780 tSCC zInt_Abort_Free_And_ExitName[] =
4781 "int_abort_free_and_exit";
4784 * File name selection pattern
4786 tSCC zInt_Abort_Free_And_ExitList[] =
4789 * Machine/OS name selection pattern
4791 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4794 * content selection pattern - do fix if pattern found
4796 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4797 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4800 * content bypass pattern - skip fix if pattern found
4802 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4803 "_CLASSIC_ANSI_TYPES";
4805 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4806 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4807 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4808 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4811 * Fix Command Arguments for Int_Abort_Free_And_Exit
4813 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4820 * Description of Io_Quotes_Def fix
4822 tSCC zIo_Quotes_DefName[] =
4826 * File name selection pattern
4828 #define zIo_Quotes_DefList (char*)NULL
4830 * Machine/OS name selection pattern
4832 #define apzIo_Quotes_DefMachs (const char**)NULL
4835 * content selection pattern - do fix if pattern found
4837 tSCC zIo_Quotes_DefSelect0[] =
4838 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4840 #define IO_QUOTES_DEF_TEST_CT 1
4841 static tTestDesc aIo_Quotes_DefTests[] = {
4842 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4845 * Fix Command Arguments for Io_Quotes_Def
4847 static const char* apzIo_Quotes_DefPatch[] = {
4852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4854 * Description of Io_Quotes_Use fix
4856 tSCC zIo_Quotes_UseName[] =
4860 * File name selection pattern
4862 #define zIo_Quotes_UseList (char*)NULL
4864 * Machine/OS name selection pattern
4866 #define apzIo_Quotes_UseMachs (const char**)NULL
4869 * content selection pattern - do fix if pattern found
4871 tSCC zIo_Quotes_UseSelect0[] =
4872 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4874 #define IO_QUOTES_USE_TEST_CT 1
4875 static tTestDesc aIo_Quotes_UseTests[] = {
4876 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4879 * Fix Command Arguments for Io_Quotes_Use
4881 static const char* apzIo_Quotes_UsePatch[] = {
4886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4888 * Description of Ip_Missing_Semi fix
4890 tSCC zIp_Missing_SemiName[] =
4894 * File name selection pattern
4896 tSCC zIp_Missing_SemiList[] =
4899 * Machine/OS name selection pattern
4901 #define apzIp_Missing_SemiMachs (const char**)NULL
4904 * content selection pattern - do fix if pattern found
4906 tSCC zIp_Missing_SemiSelect0[] =
4909 #define IP_MISSING_SEMI_TEST_CT 1
4910 static tTestDesc aIp_Missing_SemiTests[] = {
4911 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4914 * Fix Command Arguments for Ip_Missing_Semi
4916 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4917 "-e", "/^struct/,/^};/s/}$/};/",
4920 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4922 * Description of Irix_Limits_Const fix
4924 tSCC zIrix_Limits_ConstName[] =
4925 "irix_limits_const";
4928 * File name selection pattern
4930 tSCC zIrix_Limits_ConstList[] =
4931 "fixinc-test-limits.h\0limits.h\0";
4933 * Machine/OS name selection pattern
4935 #define apzIrix_Limits_ConstMachs (const char**)NULL
4938 * content selection pattern - do fix if pattern found
4940 tSCC zIrix_Limits_ConstSelect0[] =
4943 #define IRIX_LIMITS_CONST_TEST_CT 1
4944 static tTestDesc aIrix_Limits_ConstTests[] = {
4945 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4948 * Fix Command Arguments for Irix_Limits_Const
4950 static const char* apzIrix_Limits_ConstPatch[] = {
4955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4957 * Description of Irix_Stdio_Va_List fix
4959 tSCC zIrix_Stdio_Va_ListName[] =
4960 "irix_stdio_va_list";
4963 * File name selection pattern
4965 tSCC zIrix_Stdio_Va_ListList[] =
4968 * Machine/OS name selection pattern
4970 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4973 * content selection pattern - do fix if pattern found
4975 tSCC zIrix_Stdio_Va_ListSelect0[] =
4976 "/\\* va_list \\*/ char \\*";
4978 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4979 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4980 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4983 * Fix Command Arguments for Irix_Stdio_Va_List
4985 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4992 * Description of Kandr_Concat fix
4994 tSCC zKandr_ConcatName[] =
4998 * File name selection pattern
5000 tSCC zKandr_ConcatList[] =
5001 "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";
5003 * Machine/OS name selection pattern
5005 #define apzKandr_ConcatMachs (const char**)NULL
5008 * content selection pattern - do fix if pattern found
5010 tSCC zKandr_ConcatSelect0[] =
5013 #define KANDR_CONCAT_TEST_CT 1
5014 static tTestDesc aKandr_ConcatTests[] = {
5015 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5018 * Fix Command Arguments for Kandr_Concat
5020 static const char* apzKandr_ConcatPatch[] = {
5025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5027 * Description of Linux_Ia64_Ucontext fix
5029 tSCC zLinux_Ia64_UcontextName[] =
5030 "linux_ia64_ucontext";
5033 * File name selection pattern
5035 tSCC zLinux_Ia64_UcontextList[] =
5038 * Machine/OS name selection pattern
5040 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5042 (const char*)NULL };
5045 * content selection pattern - do fix if pattern found
5047 tSCC zLinux_Ia64_UcontextSelect0[] =
5048 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5050 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5051 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5052 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5055 * Fix Command Arguments for Linux_Ia64_Ucontext
5057 static const char* apzLinux_Ia64_UcontextPatch[] = {
5059 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5064 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5066 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5067 "lynxos_no_warning_in_sys_time_h";
5070 * File name selection pattern
5072 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5075 * Machine/OS name selection pattern
5077 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5080 * content selection pattern - do fix if pattern found
5082 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5083 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5085 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5086 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5087 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5090 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5092 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5099 * Description of Lynxos_Missing_Putenv fix
5101 tSCC zLynxos_Missing_PutenvName[] =
5102 "lynxos_missing_putenv";
5105 * File name selection pattern
5107 tSCC zLynxos_Missing_PutenvList[] =
5110 * Machine/OS name selection pattern
5112 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5114 (const char*)NULL };
5117 * content selection pattern - do fix if pattern found
5119 tSCC zLynxos_Missing_PutenvSelect0[] =
5120 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5123 * content bypass pattern - skip fix if pattern found
5125 tSCC zLynxos_Missing_PutenvBypass0[] =
5128 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5129 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5130 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5131 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5134 * Fix Command Arguments for Lynxos_Missing_Putenv
5136 static const char* apzLynxos_Missing_PutenvPatch[] = {
5139 extern int putenv\t\t\t\t_AP((char *));",
5140 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5145 * Description of Machine_Ansi_H_Va_List fix
5147 tSCC zMachine_Ansi_H_Va_ListName[] =
5148 "machine_ansi_h_va_list";
5151 * File name selection pattern
5153 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5155 * Machine/OS name selection pattern
5157 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5160 * content selection pattern - do fix if pattern found
5162 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5163 "define[ \t]+_BSD_VA_LIST_[ \t]";
5166 * content bypass pattern - skip fix if pattern found
5168 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5169 "__builtin_va_list";
5171 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5172 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5173 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5174 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5177 * Fix Command Arguments for Machine_Ansi_H_Va_List
5179 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5181 "%1__builtin_va_list",
5182 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5187 * Description of Machine_Name fix
5189 tSCC zMachine_NameName[] =
5193 * File name selection pattern
5195 #define zMachine_NameList (char*)NULL
5197 * Machine/OS name selection pattern
5199 #define apzMachine_NameMachs (const char**)NULL
5202 * perform the C function call test
5204 tSCC zMachine_NameFTst0[] = "machine_name";
5206 #define MACHINE_NAME_TEST_CT 1
5207 static tTestDesc aMachine_NameTests[] = {
5208 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5211 * Fix Command Arguments for Machine_Name
5213 static const char* apzMachine_NamePatch[] = {
5217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5219 * Description of Math_Exception fix
5221 tSCC zMath_ExceptionName[] =
5225 * File name selection pattern
5227 tSCC zMath_ExceptionList[] =
5230 * Machine/OS name selection pattern
5232 #define apzMath_ExceptionMachs (const char**)NULL
5235 * content selection pattern - do fix if pattern found
5237 tSCC zMath_ExceptionSelect0[] =
5241 * content bypass pattern - skip fix if pattern found
5243 tSCC zMath_ExceptionBypass0[] =
5244 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5246 #define MATH_EXCEPTION_TEST_CT 2
5247 static tTestDesc aMath_ExceptionTests[] = {
5248 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5249 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5252 * Fix Command Arguments for Math_Exception
5254 static const char* apzMath_ExceptionPatch[] = {
5256 "#ifdef __cplusplus\n\
5257 #define exception __math_exception\n\
5259 "#ifdef __cplusplus\n\
5264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5266 * Description of Math_Huge_Val_From_Dbl_Max fix
5268 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5269 "math_huge_val_from_dbl_max";
5272 * File name selection pattern
5274 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5277 * Machine/OS name selection pattern
5279 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5282 * content selection pattern - do fix if pattern found
5284 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5285 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5288 * content bypass pattern - skip fix if pattern found
5290 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5291 "define[ \t]+DBL_MAX";
5293 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5294 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5295 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5296 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5299 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5301 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5302 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5303 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5304 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5311 * Description of Nested_Auth_Des fix
5313 tSCC zNested_Auth_DesName[] =
5317 * File name selection pattern
5319 tSCC zNested_Auth_DesList[] =
5322 * Machine/OS name selection pattern
5324 #define apzNested_Auth_DesMachs (const char**)NULL
5327 * content selection pattern - do fix if pattern found
5329 tSCC zNested_Auth_DesSelect0[] =
5330 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5332 #define NESTED_AUTH_DES_TEST_CT 1
5333 static tTestDesc aNested_Auth_DesTests[] = {
5334 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5337 * Fix Command Arguments for Nested_Auth_Des
5339 static const char* apzNested_Auth_DesPatch[] = {
5344 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5346 * Description of Netbsd_C99_Inline_1 fix
5348 tSCC zNetbsd_C99_Inline_1Name[] =
5349 "netbsd_c99_inline_1";
5352 * File name selection pattern
5354 tSCC zNetbsd_C99_Inline_1List[] =
5357 * Machine/OS name selection pattern
5359 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5361 (const char*)NULL };
5364 * content selection pattern - do fix if pattern found
5366 tSCC zNetbsd_C99_Inline_1Select0[] =
5367 "extern __inline int";
5369 #define NETBSD_C99_INLINE_1_TEST_CT 1
5370 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5371 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5374 * Fix Command Arguments for Netbsd_C99_Inline_1
5376 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5379 #ifdef __GNUC_STDC_INLINE__\n\
5380 __attribute__((__gnu_inline__))\n\
5385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5387 * Description of Netbsd_C99_Inline_2 fix
5389 tSCC zNetbsd_C99_Inline_2Name[] =
5390 "netbsd_c99_inline_2";
5393 * File name selection pattern
5395 tSCC zNetbsd_C99_Inline_2List[] =
5398 * Machine/OS name selection pattern
5400 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5402 (const char*)NULL };
5405 * content selection pattern - do fix if pattern found
5407 tSCC zNetbsd_C99_Inline_2Select0[] =
5408 "#define _SIGINLINE extern __inline";
5410 #define NETBSD_C99_INLINE_2_TEST_CT 1
5411 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5412 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5415 * Fix Command Arguments for Netbsd_C99_Inline_2
5417 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5419 "#ifdef __GNUC_STDC_INLINE__\n\
5420 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5426 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5428 * Description of Netbsd_Extra_Semicolon fix
5430 tSCC zNetbsd_Extra_SemicolonName[] =
5431 "netbsd_extra_semicolon";
5434 * File name selection pattern
5436 tSCC zNetbsd_Extra_SemicolonList[] =
5439 * Machine/OS name selection pattern
5441 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5443 (const char*)NULL };
5446 * content selection pattern - do fix if pattern found
5448 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5449 "#define[ \t]*__END_DECLS[ \t]*};";
5451 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5452 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5453 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5456 * Fix Command Arguments for Netbsd_Extra_Semicolon
5458 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5460 "#define __END_DECLS }",
5463 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5465 * Description of Newlib_Stdint_1 fix
5467 tSCC zNewlib_Stdint_1Name[] =
5471 * File name selection pattern
5473 tSCC zNewlib_Stdint_1List[] =
5474 "stdint-newlib.h\0stdint.h\0";
5476 * Machine/OS name selection pattern
5478 #define apzNewlib_Stdint_1Machs (const char**)NULL
5481 * content selection pattern - do fix if pattern found
5483 tSCC zNewlib_Stdint_1Select0[] =
5484 "@todo - Add support for wint_t types";
5486 #define NEWLIB_STDINT_1_TEST_CT 1
5487 static tTestDesc aNewlib_Stdint_1Tests[] = {
5488 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5491 * Fix Command Arguments for Newlib_Stdint_1
5493 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5494 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5495 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5496 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5497 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5498 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5499 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5500 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5501 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5502 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5503 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5504 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5505 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5506 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5507 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5510 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5512 * Description of Newlib_Stdint_2 fix
5514 tSCC zNewlib_Stdint_2Name[] =
5518 * File name selection pattern
5520 tSCC zNewlib_Stdint_2List[] =
5521 "stdint-newlib.h\0stdint.h\0";
5523 * Machine/OS name selection pattern
5525 #define apzNewlib_Stdint_2Machs (const char**)NULL
5528 * content selection pattern - do fix if pattern found
5530 tSCC zNewlib_Stdint_2Select0[] =
5531 "@todo - Add support for wint_t types";
5533 #define NEWLIB_STDINT_2_TEST_CT 1
5534 static tTestDesc aNewlib_Stdint_2Tests[] = {
5535 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5538 * Fix Command Arguments for Newlib_Stdint_2
5540 static const char* apzNewlib_Stdint_2Patch[] = {
5542 "#define INTMAX_MAX __INTMAX_MAX__\n\
5543 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5544 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5545 #define WCHAR_MAX __WCHAR_MAX__\n\
5546 #define WCHAR_MIN __WCHAR_MIN__\n\
5547 #define WINT_MAX __WINT_MAX__\n\
5548 #define WINT_MIN __WINT_MIN__\n\n\
5550 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5555 * Description of Next_Math_Prefix fix
5557 tSCC zNext_Math_PrefixName[] =
5561 * File name selection pattern
5563 tSCC zNext_Math_PrefixList[] =
5566 * Machine/OS name selection pattern
5568 #define apzNext_Math_PrefixMachs (const char**)NULL
5571 * content selection pattern - do fix if pattern found
5573 tSCC zNext_Math_PrefixSelect0[] =
5574 "^extern[ \t]+double[ \t]+__const__[ \t]";
5576 #define NEXT_MATH_PREFIX_TEST_CT 1
5577 static tTestDesc aNext_Math_PrefixTests[] = {
5578 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5581 * Fix Command Arguments for Next_Math_Prefix
5583 static const char* apzNext_Math_PrefixPatch[] = {
5585 "extern double %1(",
5586 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5589 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5591 * Description of Next_Template fix
5593 tSCC zNext_TemplateName[] =
5597 * File name selection pattern
5599 tSCC zNext_TemplateList[] =
5602 * Machine/OS name selection pattern
5604 #define apzNext_TemplateMachs (const char**)NULL
5607 * content selection pattern - do fix if pattern found
5609 tSCC zNext_TemplateSelect0[] =
5612 #define NEXT_TEMPLATE_TEST_CT 1
5613 static tTestDesc aNext_TemplateTests[] = {
5614 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5617 * Fix Command Arguments for Next_Template
5619 static const char* apzNext_TemplatePatch[] = {
5622 "\\(([^)]*)[ \t]template\\)",
5625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5627 * Description of Next_Volitile fix
5629 tSCC zNext_VolitileName[] =
5633 * File name selection pattern
5635 tSCC zNext_VolitileList[] =
5638 * Machine/OS name selection pattern
5640 #define apzNext_VolitileMachs (const char**)NULL
5643 * content selection pattern - do fix if pattern found
5645 tSCC zNext_VolitileSelect0[] =
5646 "^extern[ \t]+volatile[ \t]+void[ \t]";
5648 #define NEXT_VOLITILE_TEST_CT 1
5649 static tTestDesc aNext_VolitileTests[] = {
5650 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5653 * Fix Command Arguments for Next_Volitile
5655 static const char* apzNext_VolitilePatch[] = {
5658 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5663 * Description of Next_Wait_Union fix
5665 tSCC zNext_Wait_UnionName[] =
5669 * File name selection pattern
5671 tSCC zNext_Wait_UnionList[] =
5674 * Machine/OS name selection pattern
5676 #define apzNext_Wait_UnionMachs (const char**)NULL
5679 * content selection pattern - do fix if pattern found
5681 tSCC zNext_Wait_UnionSelect0[] =
5682 "wait\\(union wait";
5684 #define NEXT_WAIT_UNION_TEST_CT 1
5685 static tTestDesc aNext_Wait_UnionTests[] = {
5686 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5689 * Fix Command Arguments for Next_Wait_Union
5691 static const char* apzNext_Wait_UnionPatch[] = {
5696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5698 * Description of Nodeent_Syntax fix
5700 tSCC zNodeent_SyntaxName[] =
5704 * File name selection pattern
5706 tSCC zNodeent_SyntaxList[] =
5707 "netdnet/dnetdb.h\0";
5709 * Machine/OS name selection pattern
5711 #define apzNodeent_SyntaxMachs (const char**)NULL
5714 * content selection pattern - do fix if pattern found
5716 tSCC zNodeent_SyntaxSelect0[] =
5717 "char[ \t]*\\*na_addr[ \t]*$";
5719 #define NODEENT_SYNTAX_TEST_CT 1
5720 static tTestDesc aNodeent_SyntaxTests[] = {
5721 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5724 * Fix Command Arguments for Nodeent_Syntax
5726 static const char* apzNodeent_SyntaxPatch[] = {
5731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5733 * Description of Openbsd_Null_Definition fix
5735 tSCC zOpenbsd_Null_DefinitionName[] =
5736 "openbsd_null_definition";
5739 * File name selection pattern
5741 tSCC zOpenbsd_Null_DefinitionList[] =
5742 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5744 * Machine/OS name selection pattern
5746 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5748 (const char*)NULL };
5751 * content selection pattern - do fix if pattern found
5753 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5756 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5757 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5758 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5761 * Fix Command Arguments for Openbsd_Null_Definition
5763 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5766 #ifdef __cplusplus\n\
5768 #define NULL\t__null\n\
5769 #else\t /* ! __GNUG__ */\n\
5771 #endif\t /* __GNUG__ */\n\
5772 #else\t /* ! __cplusplus */\n\
5773 #define NULL\t((void *)0)\n\
5774 #endif\t /* __cplusplus */\n\
5775 #endif\t /* !NULL */",
5776 "^#ifndef[ \t]*NULL\n\
5777 ^#ifdef[ \t]*__GNUG__\n\
5778 ^#define[ \t]*NULL[ \t]*__null\n\
5780 ^#define[ \t]*NULL[ \t]*0L\n\
5785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5787 * Description of Obstack_Lvalue_Cast fix
5789 tSCC zObstack_Lvalue_CastName[] =
5790 "obstack_lvalue_cast";
5793 * File name selection pattern
5795 tSCC zObstack_Lvalue_CastList[] =
5798 * Machine/OS name selection pattern
5800 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5803 * content selection pattern - do fix if pattern found
5805 tSCC zObstack_Lvalue_CastSelect0[] =
5806 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5808 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5809 static tTestDesc aObstack_Lvalue_CastTests[] = {
5810 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5813 * Fix Command Arguments for Obstack_Lvalue_Cast
5815 static const char* apzObstack_Lvalue_CastPatch[] = {
5817 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5822 * Description of Openbsd_Va_Start fix
5824 tSCC zOpenbsd_Va_StartName[] =
5828 * File name selection pattern
5830 tSCC zOpenbsd_Va_StartList[] =
5833 * Machine/OS name selection pattern
5835 tSCC* apzOpenbsd_Va_StartMachs[] = {
5837 (const char*)NULL };
5840 * content selection pattern - do fix if pattern found
5842 tSCC zOpenbsd_Va_StartSelect0[] =
5843 "__builtin_stdarg_start";
5845 #define OPENBSD_VA_START_TEST_CT 1
5846 static tTestDesc aOpenbsd_Va_StartTests[] = {
5847 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5850 * Fix Command Arguments for Openbsd_Va_Start
5852 static const char* apzOpenbsd_Va_StartPatch[] = {
5854 "__builtin_va_start",
5857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5859 * Description of Osf_Namespace_A fix
5861 tSCC zOsf_Namespace_AName[] =
5865 * File name selection pattern
5867 tSCC zOsf_Namespace_AList[] =
5868 "reg_types.h\0sys/lc_core.h\0";
5870 * Machine/OS name selection pattern
5872 #define apzOsf_Namespace_AMachs (const char**)NULL
5875 * perform the 'test' shell command - do fix on success
5877 tSCC zOsf_Namespace_ATest0[] =
5879 tSCC zOsf_Namespace_ATest1[] =
5880 " -r sys/lc_core.h";
5881 tSCC zOsf_Namespace_ATest2[] =
5882 " -n \"`grep '} regex_t;' reg_types.h`\"";
5883 tSCC zOsf_Namespace_ATest3[] =
5884 " -z \"`grep __regex_t regex.h`\"";
5886 #define OSF_NAMESPACE_A_TEST_CT 4
5887 static tTestDesc aOsf_Namespace_ATests[] = {
5888 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5889 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5890 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5891 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5894 * Fix Command Arguments for Osf_Namespace_A
5896 static const char* apzOsf_Namespace_APatch[] = {
5899 "reg(ex|off|match)_t",
5902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5904 * Description of Osf_Namespace_C fix
5906 tSCC zOsf_Namespace_CName[] =
5910 * File name selection pattern
5912 tSCC zOsf_Namespace_CList[] =
5915 * Machine/OS name selection pattern
5917 #define apzOsf_Namespace_CMachs (const char**)NULL
5920 * content selection pattern - do fix if pattern found
5922 tSCC zOsf_Namespace_CSelect0[] =
5923 "#include <reg_types.h>.*";
5926 * perform the 'test' shell command - do fix on success
5928 tSCC zOsf_Namespace_CTest0[] =
5930 tSCC zOsf_Namespace_CTest1[] =
5931 " -r sys/lc_core.h";
5932 tSCC zOsf_Namespace_CTest2[] =
5933 " -n \"`grep '} regex_t;' reg_types.h`\"";
5934 tSCC zOsf_Namespace_CTest3[] =
5935 " -z \"`grep __regex_t regex.h`\"";
5937 #define OSF_NAMESPACE_C_TEST_CT 5
5938 static tTestDesc aOsf_Namespace_CTests[] = {
5939 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5940 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5941 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5942 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5943 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5946 * Fix Command Arguments for Osf_Namespace_C
5948 static const char* apzOsf_Namespace_CPatch[] = {
5951 typedef __regex_t\tregex_t;\n\
5952 typedef __regoff_t\tregoff_t;\n\
5953 typedef __regmatch_t\tregmatch_t;",
5956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5958 * Description of Pthread_Incomplete_Struct_Argument fix
5960 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5961 "pthread_incomplete_struct_argument";
5964 * File name selection pattern
5966 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5969 * Machine/OS name selection pattern
5971 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5974 * content selection pattern - do fix if pattern found
5976 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5977 "struct __jmp_buf_tag";
5979 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5980 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5981 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5984 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5986 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5989 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5994 * Description of Read_Ret_Type fix
5996 tSCC zRead_Ret_TypeName[] =
6000 * File name selection pattern
6002 tSCC zRead_Ret_TypeList[] =
6005 * Machine/OS name selection pattern
6007 #define apzRead_Ret_TypeMachs (const char**)NULL
6010 * content selection pattern - do fix if pattern found
6012 tSCC zRead_Ret_TypeSelect0[] =
6013 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6015 #define READ_RET_TYPE_TEST_CT 1
6016 static tTestDesc aRead_Ret_TypeTests[] = {
6017 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6020 * Fix Command Arguments for Read_Ret_Type
6022 static const char* apzRead_Ret_TypePatch[] = {
6024 "extern unsigned int fread(), fwrite();\n\
6026 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6031 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6033 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6034 "rpc_xdr_lvalue_cast_a";
6037 * File name selection pattern
6039 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6042 * Machine/OS name selection pattern
6044 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6047 * content selection pattern - do fix if pattern found
6049 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6050 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6053 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6054 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6055 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6058 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6060 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6062 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6067 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6069 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6070 "rpc_xdr_lvalue_cast_b";
6073 * File name selection pattern
6075 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6078 * Machine/OS name selection pattern
6080 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6083 * content selection pattern - do fix if pattern found
6085 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6086 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6089 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6090 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6091 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6094 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6096 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6098 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6103 * Description of Rs6000_Double fix
6105 tSCC zRs6000_DoubleName[] =
6109 * File name selection pattern
6111 tSCC zRs6000_DoubleList[] =
6114 * Machine/OS name selection pattern
6116 #define apzRs6000_DoubleMachs (const char**)NULL
6119 * content selection pattern - do fix if pattern found
6121 tSCC zRs6000_DoubleSelect0[] =
6122 "[^a-zA-Z_]class\\(";
6124 #define RS6000_DOUBLE_TEST_CT 1
6125 static tTestDesc aRs6000_DoubleTests[] = {
6126 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6129 * Fix Command Arguments for Rs6000_Double
6131 static const char* apzRs6000_DoublePatch[] = {
6133 "#ifndef __cplusplus\n\
6136 "^.*[^a-zA-Z_]class\\(.*",
6139 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6141 * Description of Rs6000_Fchmod fix
6143 tSCC zRs6000_FchmodName[] =
6147 * File name selection pattern
6149 tSCC zRs6000_FchmodList[] =
6152 * Machine/OS name selection pattern
6154 #define apzRs6000_FchmodMachs (const char**)NULL
6157 * content selection pattern - do fix if pattern found
6159 tSCC zRs6000_FchmodSelect0[] =
6160 "fchmod\\(char \\*";
6162 #define RS6000_FCHMOD_TEST_CT 1
6163 static tTestDesc aRs6000_FchmodTests[] = {
6164 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6167 * Fix Command Arguments for Rs6000_Fchmod
6169 static const char* apzRs6000_FchmodPatch[] = {
6174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6176 * Description of Rs6000_Param fix
6178 tSCC zRs6000_ParamName[] =
6182 * File name selection pattern
6184 tSCC zRs6000_ParamList[] =
6185 "stdio.h\0unistd.h\0";
6187 * Machine/OS name selection pattern
6189 #define apzRs6000_ParamMachs (const char**)NULL
6192 * content selection pattern - do fix if pattern found
6194 tSCC zRs6000_ParamSelect0[] =
6195 "rename\\(const char \\*old, const char \\*new\\)";
6197 #define RS6000_PARAM_TEST_CT 1
6198 static tTestDesc aRs6000_ParamTests[] = {
6199 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6202 * Fix Command Arguments for Rs6000_Param
6204 static const char* apzRs6000_ParamPatch[] = {
6206 "rename(const char *_old, const char *_new)",
6209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6211 * Description of Solaris___Restrict fix
6213 tSCC zSolaris___RestrictName[] =
6214 "solaris___restrict";
6217 * File name selection pattern
6219 tSCC zSolaris___RestrictList[] =
6220 "sys/feature_tests.h\0";
6222 * Machine/OS name selection pattern
6224 tSCC* apzSolaris___RestrictMachs[] = {
6226 (const char*)NULL };
6229 * content selection pattern - do fix if pattern found
6231 tSCC zSolaris___RestrictSelect0[] =
6232 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6234 #define SOLARIS___RESTRICT_TEST_CT 1
6235 static tTestDesc aSolaris___RestrictTests[] = {
6236 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6239 * Fix Command Arguments for Solaris___Restrict
6241 static const char* apzSolaris___RestrictPatch[] = {
6243 "#ifdef __cplusplus\n\
6244 #define\t_RESTRICT_KYWD\t__restrict\n\
6250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6252 * Description of Solaris_Complex fix
6254 tSCC zSolaris_ComplexName[] =
6258 * File name selection pattern
6260 tSCC zSolaris_ComplexList[] =
6263 * Machine/OS name selection pattern
6265 tSCC* apzSolaris_ComplexMachs[] = {
6267 (const char*)NULL };
6270 * content selection pattern - do fix if pattern found
6272 tSCC zSolaris_ComplexSelect0[] =
6273 "#define[ \t]_Complex_I[ \t]_Complex_I";
6275 #define SOLARIS_COMPLEX_TEST_CT 1
6276 static tTestDesc aSolaris_ComplexTests[] = {
6277 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6280 * Fix Command Arguments for Solaris_Complex
6282 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6283 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6284 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6285 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6286 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6291 * Description of Solaris_Complex_Cxx fix
6293 tSCC zSolaris_Complex_CxxName[] =
6294 "solaris_complex_cxx";
6297 * File name selection pattern
6299 tSCC zSolaris_Complex_CxxList[] =
6302 * Machine/OS name selection pattern
6304 tSCC* apzSolaris_Complex_CxxMachs[] = {
6306 (const char*)NULL };
6307 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6308 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6311 * Fix Command Arguments for Solaris_Complex_Cxx
6313 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6314 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6315 #ifdef\t__cplusplus\\\n\
6318 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6319 #ifdef\t__cplusplus\\\n\
6324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6326 * Description of Solaris_Cxx_Linkage fix
6328 tSCC zSolaris_Cxx_LinkageName[] =
6329 "solaris_cxx_linkage";
6332 * File name selection pattern
6334 tSCC zSolaris_Cxx_LinkageList[] =
6335 "iso/stdlib_iso.h\0";
6337 * Machine/OS name selection pattern
6339 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6341 (const char*)NULL };
6344 * content selection pattern - do fix if pattern found
6346 tSCC zSolaris_Cxx_LinkageSelect0[] =
6347 "(#if __cplusplus >= 199711L)\n\
6348 (extern \"C\\+\\+\" \\{\n\
6349 )(.*(bsearch|qsort).*)";
6351 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
6352 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6353 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6356 * Fix Command Arguments for Solaris_Cxx_Linkage
6358 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6366 * Description of Solaris_Getc_Strict_Stdc fix
6368 tSCC zSolaris_Getc_Strict_StdcName[] =
6369 "solaris_getc_strict_stdc";
6372 * File name selection pattern
6374 tSCC zSolaris_Getc_Strict_StdcList[] =
6375 "iso/stdio_iso.h\0";
6377 * Machine/OS name selection pattern
6379 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6381 (const char*)NULL };
6384 * content selection pattern - do fix if pattern found
6386 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6387 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6389 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
6390 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6391 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6394 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
6396 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6398 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6403 * Description of Solaris_Int_Const fix
6405 tSCC zSolaris_Int_ConstName[] =
6406 "solaris_int_const";
6409 * File name selection pattern
6411 tSCC zSolaris_Int_ConstList[] =
6412 "sys/int_const.h\0";
6414 * Machine/OS name selection pattern
6416 tSCC* apzSolaris_Int_ConstMachs[] = {
6418 (const char*)NULL };
6421 * content selection pattern - do fix if pattern found
6423 tSCC zSolaris_Int_ConstSelect0[] =
6424 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6426 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6428 #define SOLARIS_INT_CONST_TEST_CT 1
6429 static tTestDesc aSolaris_Int_ConstTests[] = {
6430 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6433 * Fix Command Arguments for Solaris_Int_Const
6435 static const char* apzSolaris_Int_ConstPatch[] = {
6437 "#define\tUINT8_C(c)\t(c)\n\
6439 #define\tUINT16_C(c)\t(c)",
6442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6444 * Description of Solaris_Int_Limits_1 fix
6446 tSCC zSolaris_Int_Limits_1Name[] =
6447 "solaris_int_limits_1";
6450 * File name selection pattern
6452 tSCC zSolaris_Int_Limits_1List[] =
6453 "sys/int_limits.h\0";
6455 * Machine/OS name selection pattern
6457 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6459 (const char*)NULL };
6462 * content selection pattern - do fix if pattern found
6464 tSCC zSolaris_Int_Limits_1Select0[] =
6465 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6466 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6468 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6469 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6470 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6473 * Fix Command Arguments for Solaris_Int_Limits_1
6475 static const char* apzSolaris_Int_Limits_1Patch[] = {
6477 "#define\tUINT8_MAX\t(255)\n\
6478 #define\tUINT16_MAX\t(65535)",
6481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6483 * Description of Solaris_Int_Limits_2 fix
6485 tSCC zSolaris_Int_Limits_2Name[] =
6486 "solaris_int_limits_2";
6489 * File name selection pattern
6491 tSCC zSolaris_Int_Limits_2List[] =
6492 "sys/int_limits.h\0";
6494 * Machine/OS name selection pattern
6496 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6498 (const char*)NULL };
6501 * content selection pattern - do fix if pattern found
6503 tSCC zSolaris_Int_Limits_2Select0[] =
6504 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6506 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6507 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6508 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6511 * Fix Command Arguments for Solaris_Int_Limits_2
6513 static const char* apzSolaris_Int_Limits_2Patch[] = {
6515 "#define\t%1_FAST16_%2 %132_%2",
6518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6520 * Description of Solaris_Int_Limits_3 fix
6522 tSCC zSolaris_Int_Limits_3Name[] =
6523 "solaris_int_limits_3";
6526 * File name selection pattern
6528 tSCC zSolaris_Int_Limits_3List[] =
6529 "sys/int_limits.h\0";
6531 * Machine/OS name selection pattern
6533 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6535 (const char*)NULL };
6538 * content selection pattern - do fix if pattern found
6540 tSCC zSolaris_Int_Limits_3Select0[] =
6541 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6543 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6544 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6545 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6548 * Fix Command Arguments for Solaris_Int_Limits_3
6550 static const char* apzSolaris_Int_Limits_3Patch[] = {
6552 "#define\tSIZE_MAX\t4294967295U",
6555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6557 * Description of Solaris_Int_Types fix
6559 tSCC zSolaris_Int_TypesName[] =
6560 "solaris_int_types";
6563 * File name selection pattern
6565 tSCC zSolaris_Int_TypesList[] =
6566 "sys/int_types.h\0";
6568 * Machine/OS name selection pattern
6570 #define apzSolaris_Int_TypesMachs (const char**)NULL
6573 * content selection pattern - do fix if pattern found
6575 tSCC zSolaris_Int_TypesSelect0[] =
6576 "__STDC__ - 0 == 0";
6579 * content bypass pattern - skip fix if pattern found
6581 tSCC zSolaris_Int_TypesBypass0[] =
6584 #define SOLARIS_INT_TYPES_TEST_CT 2
6585 static tTestDesc aSolaris_Int_TypesTests[] = {
6586 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
6587 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
6590 * Fix Command Arguments for Solaris_Int_Types
6592 static const char* apzSolaris_Int_TypesPatch[] = {
6594 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
6597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6599 * Description of Solaris_Longjmp_Noreturn fix
6601 tSCC zSolaris_Longjmp_NoreturnName[] =
6602 "solaris_longjmp_noreturn";
6605 * File name selection pattern
6607 tSCC zSolaris_Longjmp_NoreturnList[] =
6608 "iso/setjmp_iso.h\0";
6610 * Machine/OS name selection pattern
6612 tSCC* apzSolaris_Longjmp_NoreturnMachs[] = {
6614 (const char*)NULL };
6617 * content selection pattern - do fix if pattern found
6619 tSCC zSolaris_Longjmp_NoreturnSelect0[] =
6620 "(.*longjmp\\(jmp_buf.*[^)]+\\));";
6623 * content bypass pattern - skip fix if pattern found
6625 tSCC zSolaris_Longjmp_NoreturnBypass0[] =
6628 #define SOLARIS_LONGJMP_NORETURN_TEST_CT 2
6629 static tTestDesc aSolaris_Longjmp_NoreturnTests[] = {
6630 { TT_NEGREP, zSolaris_Longjmp_NoreturnBypass0, (regex_t*)NULL },
6631 { TT_EGREP, zSolaris_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
6634 * Fix Command Arguments for Solaris_Longjmp_Noreturn
6636 static const char* apzSolaris_Longjmp_NoreturnPatch[] = {
6638 "%1 __attribute__ ((__noreturn__));",
6641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6643 * Description of Solaris_Math_1 fix
6645 tSCC zSolaris_Math_1Name[] =
6649 * File name selection pattern
6651 tSCC zSolaris_Math_1List[] =
6654 * Machine/OS name selection pattern
6656 #define apzSolaris_Math_1Machs (const char**)NULL
6659 * content selection pattern - do fix if pattern found
6661 tSCC zSolaris_Math_1Select0[] =
6662 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6665 * content bypass pattern - skip fix if pattern found
6667 tSCC zSolaris_Math_1Bypass0[] =
6670 #define SOLARIS_MATH_1_TEST_CT 2
6671 static tTestDesc aSolaris_Math_1Tests[] = {
6672 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6673 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6676 * Fix Command Arguments for Solaris_Math_1
6678 static const char* apzSolaris_Math_1Patch[] = {
6680 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6681 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6686 * Description of Solaris_Math_10 fix
6688 tSCC zSolaris_Math_10Name[] =
6692 * File name selection pattern
6694 tSCC zSolaris_Math_10List[] =
6697 * Machine/OS name selection pattern
6699 #define apzSolaris_Math_10Machs (const char**)NULL
6702 * content selection pattern - do fix if pattern found
6704 tSCC zSolaris_Math_10Select0[] =
6705 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6707 #define SOLARIS_MATH_10_TEST_CT 1
6708 static tTestDesc aSolaris_Math_10Tests[] = {
6709 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6712 * Fix Command Arguments for Solaris_Math_10
6714 static const char* apzSolaris_Math_10Patch[] = {
6716 "#define\tisinf(x) __builtin_isinf(x)",
6717 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6718 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6719 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6720 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6725 * Description of Solaris_Math_2 fix
6727 tSCC zSolaris_Math_2Name[] =
6731 * File name selection pattern
6733 tSCC zSolaris_Math_2List[] =
6736 * Machine/OS name selection pattern
6738 #define apzSolaris_Math_2Machs (const char**)NULL
6741 * content selection pattern - do fix if pattern found
6743 tSCC zSolaris_Math_2Select0[] =
6744 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6747 * content bypass pattern - skip fix if pattern found
6749 tSCC zSolaris_Math_2Bypass0[] =
6752 #define SOLARIS_MATH_2_TEST_CT 2
6753 static tTestDesc aSolaris_Math_2Tests[] = {
6754 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6755 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6758 * Fix Command Arguments for Solaris_Math_2
6760 static const char* apzSolaris_Math_2Patch[] = {
6762 "#define\tINFINITY\t(__builtin_inff())",
6763 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6768 * Description of Solaris_Math_3 fix
6770 tSCC zSolaris_Math_3Name[] =
6774 * File name selection pattern
6776 tSCC zSolaris_Math_3List[] =
6779 * Machine/OS name selection pattern
6781 #define apzSolaris_Math_3Machs (const char**)NULL
6784 * content selection pattern - do fix if pattern found
6786 tSCC zSolaris_Math_3Select0[] =
6787 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6790 * content bypass pattern - skip fix if pattern found
6792 tSCC zSolaris_Math_3Bypass0[] =
6795 #define SOLARIS_MATH_3_TEST_CT 2
6796 static tTestDesc aSolaris_Math_3Tests[] = {
6797 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6798 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6801 * Fix Command Arguments for Solaris_Math_3
6803 static const char* apzSolaris_Math_3Patch[] = {
6805 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6806 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6811 * Description of Solaris_Math_4 fix
6813 tSCC zSolaris_Math_4Name[] =
6817 * File name selection pattern
6819 tSCC zSolaris_Math_4List[] =
6822 * Machine/OS name selection pattern
6824 #define apzSolaris_Math_4Machs (const char**)NULL
6827 * content selection pattern - do fix if pattern found
6829 tSCC zSolaris_Math_4Select0[] =
6830 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6833 * content bypass pattern - skip fix if pattern found
6835 tSCC zSolaris_Math_4Bypass0[] =
6838 #define SOLARIS_MATH_4_TEST_CT 2
6839 static tTestDesc aSolaris_Math_4Tests[] = {
6840 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6841 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6844 * Fix Command Arguments for Solaris_Math_4
6846 static const char* apzSolaris_Math_4Patch[] = {
6848 "#define\tfpclassify(x) \\\n\
6849 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6850 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6855 * Description of Solaris_Math_8 fix
6857 tSCC zSolaris_Math_8Name[] =
6861 * File name selection pattern
6863 tSCC zSolaris_Math_8List[] =
6866 * Machine/OS name selection pattern
6868 #define apzSolaris_Math_8Machs (const char**)NULL
6871 * content selection pattern - do fix if pattern found
6873 tSCC zSolaris_Math_8Select0[] =
6874 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6877 * content bypass pattern - skip fix if pattern found
6879 tSCC zSolaris_Math_8Bypass0[] =
6882 #define SOLARIS_MATH_8_TEST_CT 2
6883 static tTestDesc aSolaris_Math_8Tests[] = {
6884 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6885 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6888 * Fix Command Arguments for Solaris_Math_8
6890 static const char* apzSolaris_Math_8Patch[] = {
6892 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6893 \t\t\t ? __builtin_signbitf(x) \\\n\
6894 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6895 \t\t\t ? __builtin_signbitl(x) \\\n\
6896 \t\t\t : __builtin_signbit(x))",
6897 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6902 * Description of Solaris_Math_9 fix
6904 tSCC zSolaris_Math_9Name[] =
6908 * File name selection pattern
6910 tSCC zSolaris_Math_9List[] =
6913 * Machine/OS name selection pattern
6915 #define apzSolaris_Math_9Machs (const char**)NULL
6918 * content selection pattern - do fix if pattern found
6920 tSCC zSolaris_Math_9Select0[] =
6921 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6924 * content bypass pattern - skip fix if pattern found
6926 tSCC zSolaris_Math_9Bypass0[] =
6929 #define SOLARIS_MATH_9_TEST_CT 2
6930 static tTestDesc aSolaris_Math_9Tests[] = {
6931 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6932 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6935 * Fix Command Arguments for Solaris_Math_9
6937 static const char* apzSolaris_Math_9Patch[] = {
6939 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6940 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6945 * Description of Solaris_Mutex_Init_2 fix
6947 tSCC zSolaris_Mutex_Init_2Name[] =
6948 "solaris_mutex_init_2";
6951 * File name selection pattern
6953 tSCC zSolaris_Mutex_Init_2List[] =
6956 * Machine/OS name selection pattern
6958 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6959 "*-*-solaris2.[0-9]",
6960 "*-*-solaris2.[0-9][!0-9]*",
6961 (const char*)NULL };
6964 * content selection pattern - do fix if pattern found
6966 tSCC zSolaris_Mutex_Init_2Select0[] =
6967 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6969 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6970 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6971 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6974 * Fix Command Arguments for Solaris_Mutex_Init_2
6976 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6978 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6983 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6984 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6989 * Description of Solaris_Once_Init_1 fix
6991 tSCC zSolaris_Once_Init_1Name[] =
6992 "solaris_once_init_1";
6995 * File name selection pattern
6997 tSCC zSolaris_Once_Init_1List[] =
7000 * Machine/OS name selection pattern
7002 tSCC* apzSolaris_Once_Init_1Machs[] = {
7004 (const char*)NULL };
7007 * content selection pattern - do fix if pattern found
7009 tSCC zSolaris_Once_Init_1Select0[] =
7010 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7012 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7013 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7014 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7017 * Fix Command Arguments for Solaris_Once_Init_1
7019 static const char* apzSolaris_Once_Init_1Patch[] = {
7022 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7027 * Description of Solaris_Once_Init_2 fix
7029 tSCC zSolaris_Once_Init_2Name[] =
7030 "solaris_once_init_2";
7033 * File name selection pattern
7035 tSCC zSolaris_Once_Init_2List[] =
7038 * Machine/OS name selection pattern
7040 tSCC* apzSolaris_Once_Init_2Machs[] = {
7041 "*-*-solaris2.[0-9]",
7042 "*-*-solaris2.[0-9][!0-9]*",
7043 (const char*)NULL };
7046 * content selection pattern - do fix if pattern found
7048 tSCC zSolaris_Once_Init_2Select0[] =
7049 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7051 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
7052 static tTestDesc aSolaris_Once_Init_2Tests[] = {
7053 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
7056 * Fix Command Arguments for Solaris_Once_Init_2
7058 static const char* apzSolaris_Once_Init_2Patch[] = {
7060 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7063 %1{0}, {0}, {0}, {%3}%4\n\
7065 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
7068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7070 * Description of Solaris_Posix_Spawn_Restrict fix
7072 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7073 "solaris_posix_spawn_restrict";
7076 * File name selection pattern
7078 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7081 * Machine/OS name selection pattern
7083 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7085 (const char*)NULL };
7088 * content selection pattern - do fix if pattern found
7090 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7091 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7093 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7094 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7095 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7098 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7100 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7102 "%1*_RESTRICT_KYWD %2%3",
7105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7107 * Description of Solaris_Pow_Int_Overload fix
7109 tSCC zSolaris_Pow_Int_OverloadName[] =
7110 "solaris_pow_int_overload";
7113 * File name selection pattern
7115 tSCC zSolaris_Pow_Int_OverloadList[] =
7118 * Machine/OS name selection pattern
7120 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7122 (const char*)NULL };
7125 * content selection pattern - do fix if pattern found
7127 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7128 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7131 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7132 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7133 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7136 * Fix Command Arguments for Solaris_Pow_Int_Overload
7138 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7140 "#if __cplusplus < 201103L\n\
7145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7147 * Description of Solaris_Rwlock_Init_1 fix
7149 tSCC zSolaris_Rwlock_Init_1Name[] =
7150 "solaris_rwlock_init_1";
7153 * File name selection pattern
7155 tSCC zSolaris_Rwlock_Init_1List[] =
7158 * Machine/OS name selection pattern
7160 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7162 (const char*)NULL };
7165 * content selection pattern - do fix if pattern found
7167 tSCC zSolaris_Rwlock_Init_1Select0[] =
7168 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7170 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
7171 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7172 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7175 * Fix Command Arguments for Solaris_Rwlock_Init_1
7177 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7179 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7182 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7184 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7189 * Description of Solaris_Std___Filbuf fix
7191 tSCC zSolaris_Std___FilbufName[] =
7192 "solaris_std___filbuf";
7195 * File name selection pattern
7197 tSCC zSolaris_Std___FilbufList[] =
7200 * Machine/OS name selection pattern
7202 tSCC* apzSolaris_Std___FilbufMachs[] = {
7204 (const char*)NULL };
7207 * content selection pattern - do fix if pattern found
7209 tSCC zSolaris_Std___FilbufSelect0[] =
7210 "(using std::perror;\n\
7214 * content bypass pattern - skip fix if pattern found
7216 tSCC zSolaris_Std___FilbufBypass0[] =
7217 "using std::__filbuf";
7219 #define SOLARIS_STD___FILBUF_TEST_CT 2
7220 static tTestDesc aSolaris_Std___FilbufTests[] = {
7221 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7222 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7225 * Fix Command Arguments for Solaris_Std___Filbuf
7227 static const char* apzSolaris_Std___FilbufPatch[] = {
7230 using std::__filbuf;\n\
7231 using std::__flsbuf;\n\
7236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7238 * Description of Solaris_Stdio_Tag fix
7240 tSCC zSolaris_Stdio_TagName[] =
7241 "solaris_stdio_tag";
7244 * File name selection pattern
7246 tSCC zSolaris_Stdio_TagList[] =
7249 * Machine/OS name selection pattern
7251 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7254 * content selection pattern - do fix if pattern found
7256 tSCC zSolaris_Stdio_TagSelect0[] =
7257 "__cplusplus < 54321L";
7260 * content bypass pattern - skip fix if pattern found
7262 tSCC zSolaris_Stdio_TagBypass0[] =
7265 #define SOLARIS_STDIO_TAG_TEST_CT 2
7266 static tTestDesc aSolaris_Stdio_TagTests[] = {
7267 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7268 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7271 * Fix Command Arguments for Solaris_Stdio_Tag
7273 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7274 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7279 * Description of Solaris_Sys_Va_List fix
7281 tSCC zSolaris_Sys_Va_ListName[] =
7282 "solaris_sys_va_list";
7285 * File name selection pattern
7287 tSCC zSolaris_Sys_Va_ListList[] =
7290 * Machine/OS name selection pattern
7292 tSCC* apzSolaris_Sys_Va_ListMachs[] = {
7294 (const char*)NULL };
7297 * content selection pattern - do fix if pattern found
7299 tSCC zSolaris_Sys_Va_ListSelect0[] =
7301 typedef void \\*__va_list;\n\
7303 typedef char \\*__va_list;\n\
7306 #define SOLARIS_SYS_VA_LIST_TEST_CT 1
7307 static tTestDesc aSolaris_Sys_Va_ListTests[] = {
7308 { TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
7311 * Fix Command Arguments for Solaris_Sys_Va_List
7313 static const char* apzSolaris_Sys_Va_ListPatch[] = {
7316 typedef __builtin_va_list __va_list;\n\
7322 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7324 * Description of Statsswtch fix
7326 tSCC zStatsswtchName[] =
7330 * File name selection pattern
7332 tSCC zStatsswtchList[] =
7335 * Machine/OS name selection pattern
7337 #define apzStatsswtchMachs (const char**)NULL
7340 * content selection pattern - do fix if pattern found
7342 tSCC zStatsswtchSelect0[] =
7345 #define STATSSWTCH_TEST_CT 1
7346 static tTestDesc aStatsswtchTests[] = {
7347 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
7350 * Fix Command Arguments for Statsswtch
7352 static const char* apzStatsswtchPatch[] = {
7357 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7359 * Description of Stdio_Stdarg_H fix
7361 tSCC zStdio_Stdarg_HName[] =
7365 * File name selection pattern
7367 tSCC zStdio_Stdarg_HList[] =
7370 * Machine/OS name selection pattern
7372 tSCC* apzStdio_Stdarg_HMachs[] = {
7373 "*-*-solaris2.1[0-9]*",
7374 (const char*)NULL };
7377 * content bypass pattern - skip fix if pattern found
7379 tSCC zStdio_Stdarg_HBypass0[] =
7380 "include.*(stdarg.h|machine/ansi.h)";
7382 #define STDIO_STDARG_H_TEST_CT 1
7383 static tTestDesc aStdio_Stdarg_HTests[] = {
7384 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7387 * Fix Command Arguments for Stdio_Stdarg_H
7389 static const char* apzStdio_Stdarg_HPatch[] = {
7391 "#define __need___va_list\n\
7392 #include <stdarg.h>\n",
7395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7397 * Description of Stdio_Va_List fix
7399 tSCC zStdio_Va_ListName[] =
7403 * File name selection pattern
7405 tSCC zStdio_Va_ListList[] =
7408 * Machine/OS name selection pattern
7410 tSCC* apzStdio_Va_ListMachs[] = {
7411 "*-*-solaris2.1[0-9]*",
7412 (const char*)NULL };
7415 * content bypass pattern - skip fix if pattern found
7417 tSCC zStdio_Va_ListBypass0[] =
7418 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7420 #define STDIO_VA_LIST_TEST_CT 1
7421 static tTestDesc aStdio_Va_ListTests[] = {
7422 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7425 * Fix Command Arguments for Stdio_Va_List
7427 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7428 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7429 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7430 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7431 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7432 s@ va_list@ __not_va_list__@\n\
7433 s@\\*va_list@*__not_va_list__@\n\
7434 s@ __va_list)@ __gnuc_va_list)@\n\
7435 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7436 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7437 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7438 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7439 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7440 s@VA_LIST@DUMMY_VA_LIST@\n\
7441 s@_Va_LIST@_VA_LIST@",
7444 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7446 * Description of Stdio_Va_List_Clients fix
7448 tSCC zStdio_Va_List_ClientsName[] =
7449 "stdio_va_list_clients";
7452 * File name selection pattern
7454 tSCC zStdio_Va_List_ClientsList[] =
7455 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7457 * Machine/OS name selection pattern
7459 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7462 * content bypass pattern - skip fix if pattern found
7464 tSCC zStdio_Va_List_ClientsBypass0[] =
7465 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7466 tSCC zStdio_Va_List_ClientsBypass1[] =
7467 "include <stdarg\\.h>|#ifdef va_start";
7469 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7470 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7471 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7472 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7475 * Fix Command Arguments for Stdio_Va_List_Clients
7477 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7478 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7479 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7480 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7481 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7482 s@ va_list@ __not_va_list__@\n\
7483 s@\\*va_list@*__not_va_list__@\n\
7484 s@ __va_list)@ __gnuc_va_list)@\n\
7485 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7486 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7487 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7488 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7489 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7490 s@VA_LIST@DUMMY_VA_LIST@\n\
7491 s@_Va_LIST@_VA_LIST@",
7494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7496 * Description of Strict_Ansi_Not fix
7498 tSCC zStrict_Ansi_NotName[] =
7502 * File name selection pattern
7504 #define zStrict_Ansi_NotList (char*)NULL
7506 * Machine/OS name selection pattern
7508 #define apzStrict_Ansi_NotMachs (const char**)NULL
7511 * content selection pattern - do fix if pattern found
7513 tSCC zStrict_Ansi_NotSelect0[] =
7514 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7517 * content bypass pattern - skip fix if pattern found
7519 tSCC zStrict_Ansi_NotBypass0[] =
7520 "GNU and MIPS C compilers define __STDC__ differently";
7521 tSCC zStrict_Ansi_NotBypass1[] =
7522 "__SCO_VERSION__.*__STDC__ != 1";
7525 * perform the C function call test
7527 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7529 #define STRICT_ANSI_NOT_TEST_CT 4
7530 static tTestDesc aStrict_Ansi_NotTests[] = {
7531 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7532 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7533 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7534 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7537 * Fix Command Arguments for Strict_Ansi_Not
7539 static const char* apzStrict_Ansi_NotPatch[] = {
7541 "%1 !defined(__STRICT_ANSI__)",
7544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7546 * Description of Strict_Ansi_Not_Ctd fix
7548 tSCC zStrict_Ansi_Not_CtdName[] =
7549 "strict_ansi_not_ctd";
7552 * File name selection pattern
7554 tSCC zStrict_Ansi_Not_CtdList[] =
7555 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7557 * Machine/OS name selection pattern
7559 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7562 * content selection pattern - do fix if pattern found
7564 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7565 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7568 * perform the C function call test
7570 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7572 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7573 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7574 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7575 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7578 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7580 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7582 "%1 !defined(__STRICT_ANSI__)",
7585 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7587 * Description of Strict_Ansi_Only fix
7589 tSCC zStrict_Ansi_OnlyName[] =
7593 * File name selection pattern
7595 #define zStrict_Ansi_OnlyList (char*)NULL
7597 * Machine/OS name selection pattern
7599 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7602 * content selection pattern - do fix if pattern found
7604 tSCC zStrict_Ansi_OnlySelect0[] =
7605 "^([ \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)";
7608 * perform the C function call test
7610 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7612 #define STRICT_ANSI_ONLY_TEST_CT 2
7613 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7614 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7615 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7618 * Fix Command Arguments for Strict_Ansi_Only
7620 static const char* apzStrict_Ansi_OnlyPatch[] = {
7622 "%1 defined(__STRICT_ANSI__)",
7625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7627 * Description of Struct_File fix
7629 tSCC zStruct_FileName[] =
7633 * File name selection pattern
7635 tSCC zStruct_FileList[] =
7638 * Machine/OS name selection pattern
7640 #define apzStruct_FileMachs (const char**)NULL
7643 * content selection pattern - do fix if pattern found
7645 tSCC zStruct_FileSelect0[] =
7646 "^.*xdrstdio_create.*struct __file_s";
7648 #define STRUCT_FILE_TEST_CT 1
7649 static tTestDesc aStruct_FileTests[] = {
7650 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7653 * Fix Command Arguments for Struct_File
7655 static const char* apzStruct_FilePatch[] = {
7657 "struct __file_s;\n\
7661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7663 * Description of Struct_Sockaddr fix
7665 tSCC zStruct_SockaddrName[] =
7669 * File name selection pattern
7671 tSCC zStruct_SockaddrList[] =
7674 * Machine/OS name selection pattern
7676 #define apzStruct_SockaddrMachs (const char**)NULL
7679 * content selection pattern - do fix if pattern found
7681 tSCC zStruct_SockaddrSelect0[] =
7682 "^.*authdes_create.*struct sockaddr[^_]";
7685 * content bypass pattern - skip fix if pattern found
7687 tSCC zStruct_SockaddrBypass0[] =
7689 tSCC zStruct_SockaddrBypass1[] =
7690 "struct sockaddr;\n";
7692 #define STRUCT_SOCKADDR_TEST_CT 3
7693 static tTestDesc aStruct_SockaddrTests[] = {
7694 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7695 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7696 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7699 * Fix Command Arguments for Struct_Sockaddr
7701 static const char* apzStruct_SockaddrPatch[] = {
7703 "struct sockaddr;\n\
7707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7709 * Description of Sun_Auth_Proto fix
7711 tSCC zSun_Auth_ProtoName[] =
7715 * File name selection pattern
7717 tSCC zSun_Auth_ProtoList[] =
7718 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7720 * Machine/OS name selection pattern
7722 #define apzSun_Auth_ProtoMachs (const char**)NULL
7725 * content selection pattern - do fix if pattern found
7727 tSCC zSun_Auth_ProtoSelect0[] =
7728 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7731 * content bypass pattern - skip fix if pattern found
7733 tSCC zSun_Auth_ProtoBypass0[] =
7736 #define SUN_AUTH_PROTO_TEST_CT 2
7737 static tTestDesc aSun_Auth_ProtoTests[] = {
7738 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7739 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7742 * Fix Command Arguments for Sun_Auth_Proto
7744 static const char* apzSun_Auth_ProtoPatch[] = {
7746 "#ifdef __cplusplus\n\
7751 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7756 * Description of Sun_Bogus_Ifdef fix
7758 tSCC zSun_Bogus_IfdefName[] =
7762 * File name selection pattern
7764 tSCC zSun_Bogus_IfdefList[] =
7765 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7767 * Machine/OS name selection pattern
7769 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7772 * content selection pattern - do fix if pattern found
7774 tSCC zSun_Bogus_IfdefSelect0[] =
7775 "#ifdef(.*\\|\\|.*)";
7777 #define SUN_BOGUS_IFDEF_TEST_CT 1
7778 static tTestDesc aSun_Bogus_IfdefTests[] = {
7779 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7782 * Fix Command Arguments for Sun_Bogus_Ifdef
7784 static const char* apzSun_Bogus_IfdefPatch[] = {
7789 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7791 * Description of Sun_Catmacro fix
7793 tSCC zSun_CatmacroName[] =
7797 * File name selection pattern
7799 tSCC zSun_CatmacroList[] =
7800 "pixrect/memvar.h\0";
7802 * Machine/OS name selection pattern
7804 #define apzSun_CatmacroMachs (const char**)NULL
7807 * content selection pattern - do fix if pattern found
7809 tSCC zSun_CatmacroSelect0[] =
7810 "^#define[ \t]+CAT\\(a,b\\).*";
7812 #define SUN_CATMACRO_TEST_CT 1
7813 static tTestDesc aSun_CatmacroTests[] = {
7814 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7817 * Fix Command Arguments for Sun_Catmacro
7819 static const char* apzSun_CatmacroPatch[] = {
7822 # define CAT(a,b) a##b\n\
7828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7830 * Description of Sun_Malloc fix
7832 tSCC zSun_MallocName[] =
7836 * File name selection pattern
7838 tSCC zSun_MallocList[] =
7841 * Machine/OS name selection pattern
7843 #define apzSun_MallocMachs (const char**)NULL
7846 * content bypass pattern - skip fix if pattern found
7848 tSCC zSun_MallocBypass0[] =
7849 "_CLASSIC_ANSI_TYPES";
7851 #define SUN_MALLOC_TEST_CT 1
7852 static tTestDesc aSun_MallocTests[] = {
7853 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7856 * Fix Command Arguments for Sun_Malloc
7858 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7859 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7860 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7861 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7862 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7863 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7866 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7868 * Description of Sun_Rusers_Semi fix
7870 tSCC zSun_Rusers_SemiName[] =
7874 * File name selection pattern
7876 tSCC zSun_Rusers_SemiList[] =
7877 "rpcsvc/rusers.h\0";
7879 * Machine/OS name selection pattern
7881 #define apzSun_Rusers_SemiMachs (const char**)NULL
7884 * content selection pattern - do fix if pattern found
7886 tSCC zSun_Rusers_SemiSelect0[] =
7889 #define SUN_RUSERS_SEMI_TEST_CT 1
7890 static tTestDesc aSun_Rusers_SemiTests[] = {
7891 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7894 * Fix Command Arguments for Sun_Rusers_Semi
7896 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7897 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7902 * Description of Sun_Signal fix
7904 tSCC zSun_SignalName[] =
7908 * File name selection pattern
7910 tSCC zSun_SignalList[] =
7911 "sys/signal.h\0signal.h\0";
7913 * Machine/OS name selection pattern
7915 #define apzSun_SignalMachs (const char**)NULL
7918 * content selection pattern - do fix if pattern found
7920 tSCC zSun_SignalSelect0[] =
7921 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7923 #define SUN_SIGNAL_TEST_CT 1
7924 static tTestDesc aSun_SignalTests[] = {
7925 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7928 * Fix Command Arguments for Sun_Signal
7930 static const char* apzSun_SignalPatch[] = {
7932 "#ifdef __cplusplus\n\
7933 void\t(*signal(...))(...);\n\
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941 * Description of Sunos_Strlen fix
7943 tSCC zSunos_StrlenName[] =
7947 * File name selection pattern
7949 tSCC zSunos_StrlenList[] =
7952 * Machine/OS name selection pattern
7954 #define apzSunos_StrlenMachs (const char**)NULL
7957 * content selection pattern - do fix if pattern found
7959 tSCC zSunos_StrlenSelect0[] =
7960 "int[ \t]*strlen\\(\\);(.*)";
7962 #define SUNOS_STRLEN_TEST_CT 1
7963 static tTestDesc aSunos_StrlenTests[] = {
7964 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7967 * Fix Command Arguments for Sunos_Strlen
7969 static const char* apzSunos_StrlenPatch[] = {
7971 "__SIZE_TYPE__ strlen();%1",
7974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7976 * Description of Suse_Linux_Vt_Cxx fix
7978 tSCC zSuse_Linux_Vt_CxxName[] =
7979 "suse_linux_vt_cxx";
7982 * File name selection pattern
7984 tSCC zSuse_Linux_Vt_CxxList[] =
7987 * Machine/OS name selection pattern
7989 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
7992 * content selection pattern - do fix if pattern found
7994 tSCC zSuse_Linux_Vt_CxxSelect0[] =
7995 "^[ \t]*unsigned int new;";
7997 #define SUSE_LINUX_VT_CXX_TEST_CT 1
7998 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
7999 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8002 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8004 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8006 "unsigned int newev;",
8009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8011 * Description of Svr4_Disable_Opt fix
8013 tSCC zSvr4_Disable_OptName[] =
8017 * File name selection pattern
8019 tSCC zSvr4_Disable_OptList[] =
8022 * Machine/OS name selection pattern
8024 #define apzSvr4_Disable_OptMachs (const char**)NULL
8027 * content selection pattern - do fix if pattern found
8029 tSCC zSvr4_Disable_OptSelect0[] =
8030 "#define.*__std_hdr_";
8032 #define SVR4_DISABLE_OPT_TEST_CT 1
8033 static tTestDesc aSvr4_Disable_OptTests[] = {
8034 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8037 * Fix Command Arguments for Svr4_Disable_Opt
8039 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8040 "-e", "/#define.*__std_hdr_/d",
8043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8045 * Description of Svr4_Getcwd fix
8047 tSCC zSvr4_GetcwdName[] =
8051 * File name selection pattern
8053 tSCC zSvr4_GetcwdList[] =
8054 "stdlib.h\0unistd.h\0prototypes.h\0";
8056 * Machine/OS name selection pattern
8058 #define apzSvr4_GetcwdMachs (const char**)NULL
8061 * content selection pattern - do fix if pattern found
8063 tSCC zSvr4_GetcwdSelect0[] =
8064 "getcwd\\(char \\*, int\\)";
8066 #define SVR4_GETCWD_TEST_CT 1
8067 static tTestDesc aSvr4_GetcwdTests[] = {
8068 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8071 * Fix Command Arguments for Svr4_Getcwd
8073 static const char* apzSvr4_GetcwdPatch[] = {
8075 "getcwd(char *, size_t)",
8078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8080 * Description of Svr4_Profil fix
8082 tSCC zSvr4_ProfilName[] =
8086 * File name selection pattern
8088 tSCC zSvr4_ProfilList[] =
8089 "stdlib.h\0unistd.h\0";
8091 * Machine/OS name selection pattern
8093 #define apzSvr4_ProfilMachs (const char**)NULL
8096 * content selection pattern - do fix if pattern found
8098 tSCC zSvr4_ProfilSelect0[] =
8099 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8101 #define SVR4_PROFIL_TEST_CT 1
8102 static tTestDesc aSvr4_ProfilTests[] = {
8103 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8106 * Fix Command Arguments for Svr4_Profil
8108 static const char* apzSvr4_ProfilPatch[] = {
8110 "profil(unsigned short *, size_t, int, unsigned int)",
8113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8115 * Description of Svr4_Sighandler_Type fix
8117 tSCC zSvr4_Sighandler_TypeName[] =
8118 "svr4_sighandler_type";
8121 * File name selection pattern
8123 tSCC zSvr4_Sighandler_TypeList[] =
8126 * Machine/OS name selection pattern
8128 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8131 * content selection pattern - do fix if pattern found
8133 tSCC zSvr4_Sighandler_TypeSelect0[] =
8134 "void *\\(\\*\\)\\(\\)";
8136 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8137 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8138 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8141 * Fix Command Arguments for Svr4_Sighandler_Type
8143 static const char* apzSvr4_Sighandler_TypePatch[] = {
8148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8150 * Description of Svr4_Undeclared_Getrnge fix
8152 tSCC zSvr4_Undeclared_GetrngeName[] =
8153 "svr4_undeclared_getrnge";
8156 * File name selection pattern
8158 tSCC zSvr4_Undeclared_GetrngeList[] =
8161 * Machine/OS name selection pattern
8163 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8166 * content selection pattern - do fix if pattern found
8168 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8172 * content bypass pattern - skip fix if pattern found
8174 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8175 "static void getrnge";
8177 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8178 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8179 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8180 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8183 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8185 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8188 static int getrnge ();",
8189 "^static int[ \t]+size;",
8192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8194 * Description of Sysv68_String fix
8196 tSCC zSysv68_StringName[] =
8200 * File name selection pattern
8202 tSCC zSysv68_StringList[] =
8203 "testing.h\0string.h\0";
8205 * Machine/OS name selection pattern
8207 #define apzSysv68_StringMachs (const char**)NULL
8210 * content bypass pattern - skip fix if pattern found
8212 tSCC zSysv68_StringBypass0[] =
8213 "_CLASSIC_ANSI_TYPES";
8215 #define SYSV68_STRING_TEST_CT 1
8216 static tTestDesc aSysv68_StringTests[] = {
8217 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8220 * Fix Command Arguments for Sysv68_String
8222 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8223 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8224 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8225 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8226 "-e", "/^extern char$/N",
8227 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8228 "-e", "/^extern int$/N",
8229 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8230 "-e", "/^\tstrncmp(),$/N",
8231 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8232 extern unsigned int\\\n\
8236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8238 * Description of Sysz_Stdlib_For_Sun fix
8240 tSCC zSysz_Stdlib_For_SunName[] =
8241 "sysz_stdlib_for_sun";
8244 * File name selection pattern
8246 tSCC zSysz_Stdlib_For_SunList[] =
8249 * Machine/OS name selection pattern
8251 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8254 * content selection pattern - do fix if pattern found
8256 tSCC zSysz_Stdlib_For_SunSelect0[] =
8257 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8260 * content bypass pattern - skip fix if pattern found
8262 tSCC zSysz_Stdlib_For_SunBypass0[] =
8263 "_CLASSIC_ANSI_TYPES";
8265 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8266 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8267 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8268 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8271 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8273 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8280 * Description of Thread_Keyword fix
8282 tSCC zThread_KeywordName[] =
8286 * File name selection pattern
8288 tSCC zThread_KeywordList[] =
8289 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8291 * Machine/OS name selection pattern
8293 #define apzThread_KeywordMachs (const char**)NULL
8296 * content selection pattern - do fix if pattern found
8298 tSCC zThread_KeywordSelect0[] =
8299 "([* ])__thread([,)])";
8301 #define THREAD_KEYWORD_TEST_CT 1
8302 static tTestDesc aThread_KeywordTests[] = {
8303 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8306 * Fix Command Arguments for Thread_Keyword
8308 static const char* apzThread_KeywordPatch[] = {
8313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8315 * Description of Tinfo_Cplusplus fix
8317 tSCC zTinfo_CplusplusName[] =
8321 * File name selection pattern
8323 tSCC zTinfo_CplusplusList[] =
8326 * Machine/OS name selection pattern
8328 #define apzTinfo_CplusplusMachs (const char**)NULL
8331 * content selection pattern - do fix if pattern found
8333 tSCC zTinfo_CplusplusSelect0[] =
8336 #define TINFO_CPLUSPLUS_TEST_CT 1
8337 static tTestDesc aTinfo_CplusplusTests[] = {
8338 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8341 * Fix Command Arguments for Tinfo_Cplusplus
8343 static const char* apzTinfo_CplusplusPatch[] = {
8348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8350 * Description of Ultrix_Const fix
8352 tSCC zUltrix_ConstName[] =
8356 * File name selection pattern
8358 tSCC zUltrix_ConstList[] =
8361 * Machine/OS name selection pattern
8363 #define apzUltrix_ConstMachs (const char**)NULL
8366 * content selection pattern - do fix if pattern found
8368 tSCC zUltrix_ConstSelect0[] =
8369 "perror\\( char \\*";
8371 #define ULTRIX_CONST_TEST_CT 1
8372 static tTestDesc aUltrix_ConstTests[] = {
8373 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
8376 * Fix Command Arguments for Ultrix_Const
8378 static const char* apzUltrix_ConstPatch[] = {
8381 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8384 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8386 * Description of Ultrix_Const2 fix
8388 tSCC zUltrix_Const2Name[] =
8392 * File name selection pattern
8394 tSCC zUltrix_Const2List[] =
8397 * Machine/OS name selection pattern
8399 #define apzUltrix_Const2Machs (const char**)NULL
8402 * content selection pattern - do fix if pattern found
8404 tSCC zUltrix_Const2Select0[] =
8405 "\\*fopen\\( char \\*";
8407 #define ULTRIX_CONST2_TEST_CT 1
8408 static tTestDesc aUltrix_Const2Tests[] = {
8409 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
8412 * Fix Command Arguments for Ultrix_Const2
8414 static const char* apzUltrix_Const2Patch[] = {
8416 "%1( const char *%3, const char *",
8417 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8422 * Description of Va_I960_Macro fix
8424 tSCC zVa_I960_MacroName[] =
8428 * File name selection pattern
8430 tSCC zVa_I960_MacroList[] =
8431 "arch/i960/archI960.h\0";
8433 * Machine/OS name selection pattern
8435 #define apzVa_I960_MacroMachs (const char**)NULL
8438 * content selection pattern - do fix if pattern found
8440 tSCC zVa_I960_MacroSelect0[] =
8441 "__(vsiz|vali|vpad|alignof__)";
8443 #define VA_I960_MACRO_TEST_CT 1
8444 static tTestDesc aVa_I960_MacroTests[] = {
8445 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8448 * Fix Command Arguments for Va_I960_Macro
8450 static const char* apzVa_I960_MacroPatch[] = {
8455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8457 * Description of Vms_Add_Missing_Braces fix
8459 tSCC zVms_Add_Missing_BracesName[] =
8460 "vms_add_missing_braces";
8463 * File name selection pattern
8465 tSCC zVms_Add_Missing_BracesList[] =
8466 "rtldef/signal.h\0";
8468 * Machine/OS name selection pattern
8470 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8472 (const char*)NULL };
8475 * content selection pattern - do fix if pattern found
8477 tSCC zVms_Add_Missing_BracesSelect0[] =
8478 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8480 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8481 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8482 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8485 * Fix Command Arguments for Vms_Add_Missing_Braces
8487 static const char* apzVms_Add_Missing_BracesPatch[] = {
8492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8494 * Description of Vms_Decc_Builtin fix
8496 tSCC zVms_Decc_BuiltinName[] =
8500 * File name selection pattern
8502 tSCC zVms_Decc_BuiltinList[] =
8503 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8505 * Machine/OS name selection pattern
8507 tSCC* apzVms_Decc_BuiltinMachs[] = {
8509 (const char*)NULL };
8512 * content selection pattern - do fix if pattern found
8514 tSCC zVms_Decc_BuiltinSelect0[] =
8515 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8517 #define VMS_DECC_BUILTIN_TEST_CT 1
8518 static tTestDesc aVms_Decc_BuiltinTests[] = {
8519 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8522 * Fix Command Arguments for Vms_Decc_Builtin
8524 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8525 "-e", "s@__MEMSET@memset@",
8526 "-e", "s@__MEMMOVE@memmove@",
8527 "-e", "s@__MEMCPY@memcpy@",
8528 "-e", "s@__STRLEN@strlen@",
8529 "-e", "s@__STRCPY@strcpy@",
8532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8534 * Description of Vms_Define_Can_Use_Extern_Prefix fix
8536 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8537 "vms_define_can_use_extern_prefix";
8540 * File name selection pattern
8542 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8543 "rtldef/decc$types.h\0";
8545 * Machine/OS name selection pattern
8547 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8549 (const char*)NULL };
8552 * content selection pattern - do fix if pattern found
8554 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8556 #[ \t]*if defined\\(__DECCXX\\)\n\
8557 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8559 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
8560 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8561 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8564 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8566 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8568 "%0# elif defined (__GNUC__)\n\
8569 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8574 * Description of Vms_Disable_Decc_String_Builtins fix
8576 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8577 "vms_disable_decc_string_builtins";
8580 * File name selection pattern
8582 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8583 "rtldef/string.h\0";
8585 * Machine/OS name selection pattern
8587 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8589 (const char*)NULL };
8592 * content selection pattern - do fix if pattern found
8594 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8595 "#if !defined\\(__VAX\\)\n";
8597 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8598 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8599 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8602 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8604 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8606 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8609 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8611 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8613 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8614 "vms_do_not_redeclare_hostalias";
8617 * File name selection pattern
8619 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8620 "rtldef/resolv.h\0";
8622 * Machine/OS name selection pattern
8624 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8626 (const char*)NULL };
8629 * content selection pattern - do fix if pattern found
8631 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8632 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8633 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8635 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8636 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8637 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8640 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8642 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8650 * Description of Vms_Forward_Declare_Struct fix
8652 tSCC zVms_Forward_Declare_StructName[] =
8653 "vms_forward_declare_struct";
8656 * File name selection pattern
8658 tSCC zVms_Forward_Declare_StructList[] =
8661 * Machine/OS name selection pattern
8663 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8665 (const char*)NULL };
8668 * content selection pattern - do fix if pattern found
8670 tSCC zVms_Forward_Declare_StructSelect0[] =
8671 "(/\\* forward decls for C\\+\\+ \\*/\n\
8672 )#ifdef __cplusplus\n";
8674 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8675 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8676 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8679 * Fix Command Arguments for Vms_Forward_Declare_Struct
8681 static const char* apzVms_Forward_Declare_StructPatch[] = {
8683 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8688 * Description of Vms_No_64bit_Getopt fix
8690 tSCC zVms_No_64bit_GetoptName[] =
8691 "vms_no_64bit_getopt";
8694 * File name selection pattern
8696 tSCC zVms_No_64bit_GetoptList[] =
8697 "rtldef/stdio.h\0rtldef/unistd.h\0";
8699 * Machine/OS name selection pattern
8701 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8703 (const char*)NULL };
8706 * content selection pattern - do fix if pattern found
8708 tSCC zVms_No_64bit_GetoptSelect0[] =
8709 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8711 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8712 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8713 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8716 * Fix Command Arguments for Vms_No_64bit_Getopt
8718 static const char* apzVms_No_64bit_GetoptPatch[] = {
8720 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8726 * Description of Vms_Use_Fast_Setjmp fix
8728 tSCC zVms_Use_Fast_SetjmpName[] =
8729 "vms_use_fast_setjmp";
8732 * File name selection pattern
8734 tSCC zVms_Use_Fast_SetjmpList[] =
8735 "rtldef/setjmp.h\0";
8737 * Machine/OS name selection pattern
8739 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8741 (const char*)NULL };
8744 * content selection pattern - do fix if pattern found
8746 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8747 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8749 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8750 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8751 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8754 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8756 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8758 "%0 defined (__GNUC__) ||",
8761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8763 * Description of Vms_Use_Pragma_Extern_Model fix
8765 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8766 "vms_use_pragma_extern_model";
8769 * File name selection pattern
8771 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8773 * Machine/OS name selection pattern
8775 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8777 (const char*)NULL };
8780 * content selection pattern - do fix if pattern found
8782 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8783 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8784 # pragma extern_model __save\n";
8786 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8787 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8788 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8791 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8793 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8795 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8796 # pragma extern_model __save\n",
8799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8801 * Description of Vms_Use_Quoted_Include fix
8803 tSCC zVms_Use_Quoted_IncludeName[] =
8804 "vms_use_quoted_include";
8807 * File name selection pattern
8809 tSCC zVms_Use_Quoted_IncludeList[] =
8810 "rtldef/wait.h\0starlet_c/pthread.h\0";
8812 * Machine/OS name selection pattern
8814 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8816 (const char*)NULL };
8819 * content selection pattern - do fix if pattern found
8821 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8822 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8824 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8825 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8826 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8829 * Fix Command Arguments for Vms_Use_Quoted_Include
8831 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8838 * Description of Void_Null fix
8840 tSCC zVoid_NullName[] =
8844 * File name selection pattern
8846 tSCC zVoid_NullList[] =
8847 "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";
8849 * Machine/OS name selection pattern
8851 #define apzVoid_NullMachs (const char**)NULL
8854 * content selection pattern - do fix if pattern found
8856 tSCC zVoid_NullSelect0[] =
8857 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8860 * content bypass pattern - skip fix if pattern found
8862 tSCC zVoid_NullBypass0[] =
8864 tSCC zVoid_NullBypass1[] =
8867 #define VOID_NULL_TEST_CT 3
8868 static tTestDesc aVoid_NullTests[] = {
8869 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8870 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8871 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8874 * Fix Command Arguments for Void_Null
8876 static const char* apzVoid_NullPatch[] = {
8879 #ifdef __cplusplus\n\
8881 #define NULL __null\n\
8882 #else /* ! __GNUG__ */\n\
8884 #endif /* __GNUG__ */\n\
8885 #else /* ! __cplusplus */\n\
8886 #define NULL ((void *)0)\n\
8887 #endif /* __cplusplus */\n\
8888 #endif /* !NULL */",
8891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8893 * Description of Vxworks_Gcc_Problem fix
8895 tSCC zVxworks_Gcc_ProblemName[] =
8896 "vxworks_gcc_problem";
8899 * File name selection pattern
8901 tSCC zVxworks_Gcc_ProblemList[] =
8902 "types/vxTypesBase.h\0";
8904 * Machine/OS name selection pattern
8906 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8909 * content selection pattern - do fix if pattern found
8911 tSCC zVxworks_Gcc_ProblemSelect0[] =
8912 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8914 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8915 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8916 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8919 * Fix Command Arguments for Vxworks_Gcc_Problem
8921 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8922 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8923 "-e", "/[ \t]size_t/i\\\n\
8924 #ifndef _GCC_SIZE_T\\\n\
8925 #define _GCC_SIZE_T\n",
8926 "-e", "/[ \t]size_t/a\\\n\
8928 "-e", "/[ \t]ptrdiff_t/i\\\n\
8929 #ifndef _GCC_PTRDIFF_T\\\n\
8930 #define _GCC_PTRDIFF_T\n",
8931 "-e", "/[ \t]ptrdiff_t/a\\\n\
8933 "-e", "/[ \t]wchar_t/i\\\n\
8934 #ifndef _GCC_WCHAR_T\\\n\
8935 #define _GCC_WCHAR_T\n",
8936 "-e", "/[ \t]wchar_t/a\\\n\
8940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8942 * Description of Vxworks_Ioctl_Macro fix
8944 tSCC zVxworks_Ioctl_MacroName[] =
8945 "vxworks_ioctl_macro";
8948 * File name selection pattern
8950 tSCC zVxworks_Ioctl_MacroList[] =
8953 * Machine/OS name selection pattern
8955 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
8957 (const char*)NULL };
8958 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
8959 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
8962 * Fix Command Arguments for Vxworks_Ioctl_Macro
8964 static const char* apzVxworks_Ioctl_MacroPatch[] = {
8967 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
8968 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
8971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8973 * Description of Vxworks_Mkdir_Macro fix
8975 tSCC zVxworks_Mkdir_MacroName[] =
8976 "vxworks_mkdir_macro";
8979 * File name selection pattern
8981 tSCC zVxworks_Mkdir_MacroList[] =
8984 * Machine/OS name selection pattern
8986 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
8988 (const char*)NULL };
8989 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
8990 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
8993 * Fix Command Arguments for Vxworks_Mkdir_Macro
8995 static const char* apzVxworks_Mkdir_MacroPatch[] = {
8998 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
8999 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9002 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9004 * Description of Vxworks_Needs_Vxtypes fix
9006 tSCC zVxworks_Needs_VxtypesName[] =
9007 "vxworks_needs_vxtypes";
9010 * File name selection pattern
9012 tSCC zVxworks_Needs_VxtypesList[] =
9015 * Machine/OS name selection pattern
9017 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9020 * content selection pattern - do fix if pattern found
9022 tSCC zVxworks_Needs_VxtypesSelect0[] =
9023 "uint_t([ \t]+_clocks_per_sec)";
9025 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9026 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9027 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9030 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9032 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9037 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9039 * Description of Vxworks_Needs_Vxworks fix
9041 tSCC zVxworks_Needs_VxworksName[] =
9042 "vxworks_needs_vxworks";
9045 * File name selection pattern
9047 tSCC zVxworks_Needs_VxworksList[] =
9050 * Machine/OS name selection pattern
9052 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9055 * content selection pattern - do fix if pattern found
9057 tSCC zVxworks_Needs_VxworksSelect0[] =
9058 "#[ \t]define[ \t]+__INCstath";
9061 * perform the 'test' shell command - do fix on success
9063 tSCC zVxworks_Needs_VxworksTest0[] =
9064 " -r types/vxTypesOld.h";
9065 tSCC zVxworks_Needs_VxworksTest1[] =
9066 " -n \"`egrep '#include' $file`\"";
9067 tSCC zVxworks_Needs_VxworksTest2[] =
9068 " -n \"`egrep ULONG $file`\"";
9070 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
9071 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9072 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
9073 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
9074 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
9075 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9078 * Fix Command Arguments for Vxworks_Needs_Vxworks
9080 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9081 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9082 #include <types/vxTypesOld.h>\n",
9085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9087 * Description of Vxworks_Regs fix
9089 tSCC zVxworks_RegsName[] =
9093 * File name selection pattern
9095 #define zVxworks_RegsList (char*)NULL
9097 * Machine/OS name selection pattern
9099 tSCC* apzVxworks_RegsMachs[] = {
9101 (const char*)NULL };
9104 * content selection pattern - do fix if pattern found
9106 tSCC zVxworks_RegsSelect0[] =
9107 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9109 #define VXWORKS_REGS_TEST_CT 1
9110 static tTestDesc aVxworks_RegsTests[] = {
9111 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
9114 * Fix Command Arguments for Vxworks_Regs
9116 static const char* apzVxworks_RegsPatch[] = {
9118 "#include <arch/../regs.h>",
9121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9123 * Description of Vxworks_Time fix
9125 tSCC zVxworks_TimeName[] =
9129 * File name selection pattern
9131 tSCC zVxworks_TimeList[] =
9134 * Machine/OS name selection pattern
9136 #define apzVxworks_TimeMachs (const char**)NULL
9139 * content selection pattern - do fix if pattern found
9141 tSCC zVxworks_TimeSelect0[] =
9142 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9145 * perform the 'test' shell command - do fix on success
9147 tSCC zVxworks_TimeTest0[] =
9150 #define VXWORKS_TIME_TEST_CT 2
9151 static tTestDesc aVxworks_TimeTests[] = {
9152 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9153 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9156 * Fix Command Arguments for Vxworks_Time
9158 static const char* apzVxworks_TimePatch[] = {
9160 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9161 #ifdef __cplusplus\n\
9162 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9164 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9166 #define __gcc_VOIDFUNCPTR_defined\n\
9168 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9173 * Description of Vxworks_Write_Const fix
9175 tSCC zVxworks_Write_ConstName[] =
9176 "vxworks_write_const";
9179 * File name selection pattern
9181 tSCC zVxworks_Write_ConstList[] =
9184 * Machine/OS name selection pattern
9186 tSCC* apzVxworks_Write_ConstMachs[] = {
9188 (const char*)NULL };
9189 #define VXWORKS_WRITE_CONST_TEST_CT 0
9190 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9193 * Fix Command Arguments for Vxworks_Write_Const
9195 static const char* apzVxworks_Write_ConstPatch[] = {
9197 "extern int write (int, const char*, size_t);",
9198 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9203 * Description of X11_Class fix
9205 tSCC zX11_ClassName[] =
9209 * File name selection pattern
9211 tSCC zX11_ClassList[] =
9214 * Machine/OS name selection pattern
9216 #define apzX11_ClassMachs (const char**)NULL
9219 * content selection pattern - do fix if pattern found
9221 tSCC zX11_ClassSelect0[] =
9222 "^([ \t]*char \\*)class;(.*)";
9225 * content bypass pattern - skip fix if pattern found
9227 tSCC zX11_ClassBypass0[] =
9230 #define X11_CLASS_TEST_CT 2
9231 static tTestDesc aX11_ClassTests[] = {
9232 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9233 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9236 * Fix Command Arguments for X11_Class
9238 static const char* apzX11_ClassPatch[] = {
9240 "#ifdef __cplusplus\n\
9247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9249 * Description of X11_Class_Usage fix
9251 tSCC zX11_Class_UsageName[] =
9255 * File name selection pattern
9257 tSCC zX11_Class_UsageList[] =
9258 "Xm/BaseClassI.h\0";
9260 * Machine/OS name selection pattern
9262 #define apzX11_Class_UsageMachs (const char**)NULL
9265 * content selection pattern - do fix if pattern found
9267 tSCC zX11_Class_UsageSelect0[] =
9271 * content bypass pattern - skip fix if pattern found
9273 tSCC zX11_Class_UsageBypass0[] =
9276 #define X11_CLASS_USAGE_TEST_CT 2
9277 static tTestDesc aX11_Class_UsageTests[] = {
9278 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9279 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9282 * Fix Command Arguments for X11_Class_Usage
9284 static const char* apzX11_Class_UsagePatch[] = {
9289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9291 * Description of X11_New fix
9293 tSCC zX11_NewName[] =
9297 * File name selection pattern
9299 tSCC zX11_NewList[] =
9302 * Machine/OS name selection pattern
9304 #define apzX11_NewMachs (const char**)NULL
9307 * content bypass pattern - skip fix if pattern found
9309 tSCC zX11_NewBypass0[] =
9312 #define X11_NEW_TEST_CT 1
9313 static tTestDesc aX11_NewTests[] = {
9314 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9317 * Fix Command Arguments for X11_New
9319 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9320 "-e", "/Widget\told, new;/i\\\n\
9321 #ifdef __cplusplus\\\n\
9322 \\\tWidget\told, c_new;\\\n\
9324 "-e", "/Widget\told, new;/a\\\n\
9326 "-e", "s/Widget new,/Widget c_new,/g",
9329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9331 * Description of X11_Sprintf fix
9333 tSCC zX11_SprintfName[] =
9337 * File name selection pattern
9339 tSCC zX11_SprintfList[] =
9340 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9342 * Machine/OS name selection pattern
9344 #define apzX11_SprintfMachs (const char**)NULL
9347 * content selection pattern - do fix if pattern found
9349 tSCC zX11_SprintfSelect0[] =
9350 "^extern char \\*\tsprintf\\(\\);$";
9352 #define X11_SPRINTF_TEST_CT 1
9353 static tTestDesc aX11_SprintfTests[] = {
9354 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
9357 * Fix Command Arguments for X11_Sprintf
9359 static const char* apzX11_SprintfPatch[] = {
9361 "#ifndef __STDC__\n\
9363 #endif /* !defined __STDC__ */",
9367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9371 #define REGEX_COUNT 267
9372 #define MACH_LIST_SIZE_LIMIT 187
9373 #define FIX_COUNT 228
9376 * Enumerate the fixes
9379 AAB_AIX_STDIO_FIXIDX,
9380 AAB_AIX_FCNTL_FIXIDX,
9381 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9382 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9383 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9384 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9385 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9386 AAB_SUN_MEMCPY_FIXIDX,
9387 AAB_VXWORKS_ASSERT_FIXIDX,
9388 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9389 AAB_VXWORKS_STDINT_FIXIDX,
9390 AAB_VXWORKS_UNISTD_FIXIDX,
9394 AIX_NET_IF_ARP_FIXIDX,
9396 AIX_ONCE_INIT_1_FIXIDX,
9397 AIX_ONCE_INIT_2_FIXIDX,
9398 AIX_MUTEX_INITIALIZER_1_FIXIDX,
9399 AIX_COND_INITIALIZER_1_FIXIDX,
9400 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9402 AIX_STDINT_1_FIXIDX,
9403 AIX_STDINT_2_FIXIDX,
9404 AIX_STDINT_3_FIXIDX,
9405 AIX_STDINT_4_FIXIDX,
9406 AIX_STDINT_5_FIXIDX,
9407 AIX_SYSMACHINE_FIXIDX,
9408 AIX_SYSWAIT_2_FIXIDX,
9409 AIX_VOLATILE_FIXIDX,
9410 ALPHA___ASSERT_FIXIDX,
9411 ALPHA_ASSERT_FIXIDX,
9412 ALPHA_GETOPT_FIXIDX,
9413 ALPHA_IF_SEMICOLON_FIXIDX,
9414 ALPHA_PARENS_FIXIDX,
9416 AVOID_BOOL_DEFINE_FIXIDX,
9417 AVOID_BOOL_TYPE_FIXIDX,
9418 AVOID_WCHAR_T_TYPE_FIXIDX,
9419 BAD_STRUCT_TERM_FIXIDX,
9421 BROKEN_ASSERT_STDIO_FIXIDX,
9422 BROKEN_ASSERT_STDLIB_FIXIDX,
9425 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9426 CTRL_QUOTES_DEF_FIXIDX,
9427 CTRL_QUOTES_USE_FIXIDX,
9429 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9430 DARWIN_EXTERNC_FIXIDX,
9431 DARWIN_GCC4_BREAKAGE_FIXIDX,
9432 DARWIN_PRIVATE_EXTERN_FIXIDX,
9433 DARWIN_STDINT_1_FIXIDX,
9434 DARWIN_STDINT_2_FIXIDX,
9435 DARWIN_STDINT_3_FIXIDX,
9436 DARWIN_STDINT_4_FIXIDX,
9437 DARWIN_STDINT_5_FIXIDX,
9438 DARWIN_STDINT_6_FIXIDX,
9439 DARWIN_STDINT_7_FIXIDX,
9440 DEC_INTERN_ASM_FIXIDX,
9441 DJGPP_WCHAR_H_FIXIDX,
9443 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9444 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9445 FREEBSD_GCC3_BREAKAGE_FIXIDX,
9446 FREEBSD_GCC4_BREAKAGE_FIXIDX,
9447 GLIBC_C99_INLINE_1_FIXIDX,
9448 GLIBC_C99_INLINE_1A_FIXIDX,
9449 GLIBC_C99_INLINE_2_FIXIDX,
9450 GLIBC_C99_INLINE_3_FIXIDX,
9451 GLIBC_C99_INLINE_4_FIXIDX,
9452 GLIBC_MUTEX_INIT_FIXIDX,
9453 GLIBC_STDINT_FIXIDX,
9454 GLIBC_STRNCPY_FIXIDX,
9455 GLIBC_TGMATH_FIXIDX,
9459 HPPA_HPUX_FP_MACROS_FIXIDX,
9460 HPUX10_CPP_POW_INLINE_FIXIDX,
9461 HPUX11_CPP_POW_INLINE_FIXIDX,
9462 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9463 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9464 HPUX10_STDIO_DECLARATIONS_FIXIDX,
9466 HPUX11_EXTERN_SENDFILE_FIXIDX,
9467 HPUX11_EXTERN_SENDPATH_FIXIDX,
9468 HPUX11_FABSF_FIXIDX,
9469 HPUX11_PTHREAD_CONST_FIXIDX,
9470 HPUX11_SIZE_T_FIXIDX,
9471 HPUX11_SNPRINTF_FIXIDX,
9472 HPUX11_VSNPRINTF_FIXIDX,
9473 HPUX8_BOGUS_INLINES_FIXIDX,
9474 HPUX_C99_INTPTR_FIXIDX,
9475 HPUX_C99_INTTYPES_FIXIDX,
9476 HPUX_C99_INTTYPES2_FIXIDX,
9477 HPUX_CTYPE_MACROS_FIXIDX,
9478 HPUX_EXTERN_ERRNO_FIXIDX,
9480 HPUX_IMAGINARY_I_FIXIDX,
9481 HPUX_INTTYPE_INT8_T_FIXIDX,
9482 HPUX_LONG_DOUBLE_FIXIDX,
9483 HPUX_LONG_DOUBLE_2_FIXIDX,
9484 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9485 HPUX_SPU_INFO_FIXIDX,
9486 HPUX_STDINT_LEAST_FAST_FIXIDX,
9487 HPUX_SYSTIME_FIXIDX,
9488 HUGE_VAL_HEX_FIXIDX,
9489 HUGE_VALF_HEX_FIXIDX,
9490 HUGE_VALL_HEX_FIXIDX,
9491 INT_ABORT_FREE_AND_EXIT_FIXIDX,
9492 IO_QUOTES_DEF_FIXIDX,
9493 IO_QUOTES_USE_FIXIDX,
9494 IP_MISSING_SEMI_FIXIDX,
9495 IRIX_LIMITS_CONST_FIXIDX,
9496 IRIX_STDIO_VA_LIST_FIXIDX,
9497 KANDR_CONCAT_FIXIDX,
9498 LINUX_IA64_UCONTEXT_FIXIDX,
9499 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9500 LYNXOS_MISSING_PUTENV_FIXIDX,
9501 MACHINE_ANSI_H_VA_LIST_FIXIDX,
9502 MACHINE_NAME_FIXIDX,
9503 MATH_EXCEPTION_FIXIDX,
9504 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9505 NESTED_AUTH_DES_FIXIDX,
9506 NETBSD_C99_INLINE_1_FIXIDX,
9507 NETBSD_C99_INLINE_2_FIXIDX,
9508 NETBSD_EXTRA_SEMICOLON_FIXIDX,
9509 NEWLIB_STDINT_1_FIXIDX,
9510 NEWLIB_STDINT_2_FIXIDX,
9511 NEXT_MATH_PREFIX_FIXIDX,
9512 NEXT_TEMPLATE_FIXIDX,
9513 NEXT_VOLITILE_FIXIDX,
9514 NEXT_WAIT_UNION_FIXIDX,
9515 NODEENT_SYNTAX_FIXIDX,
9516 OPENBSD_NULL_DEFINITION_FIXIDX,
9517 OBSTACK_LVALUE_CAST_FIXIDX,
9518 OPENBSD_VA_START_FIXIDX,
9519 OSF_NAMESPACE_A_FIXIDX,
9520 OSF_NAMESPACE_C_FIXIDX,
9521 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9522 READ_RET_TYPE_FIXIDX,
9523 RPC_XDR_LVALUE_CAST_A_FIXIDX,
9524 RPC_XDR_LVALUE_CAST_B_FIXIDX,
9525 RS6000_DOUBLE_FIXIDX,
9526 RS6000_FCHMOD_FIXIDX,
9527 RS6000_PARAM_FIXIDX,
9528 SOLARIS___RESTRICT_FIXIDX,
9529 SOLARIS_COMPLEX_FIXIDX,
9530 SOLARIS_COMPLEX_CXX_FIXIDX,
9531 SOLARIS_CXX_LINKAGE_FIXIDX,
9532 SOLARIS_GETC_STRICT_STDC_FIXIDX,
9533 SOLARIS_INT_CONST_FIXIDX,
9534 SOLARIS_INT_LIMITS_1_FIXIDX,
9535 SOLARIS_INT_LIMITS_2_FIXIDX,
9536 SOLARIS_INT_LIMITS_3_FIXIDX,
9537 SOLARIS_INT_TYPES_FIXIDX,
9538 SOLARIS_LONGJMP_NORETURN_FIXIDX,
9539 SOLARIS_MATH_1_FIXIDX,
9540 SOLARIS_MATH_10_FIXIDX,
9541 SOLARIS_MATH_2_FIXIDX,
9542 SOLARIS_MATH_3_FIXIDX,
9543 SOLARIS_MATH_4_FIXIDX,
9544 SOLARIS_MATH_8_FIXIDX,
9545 SOLARIS_MATH_9_FIXIDX,
9546 SOLARIS_MUTEX_INIT_2_FIXIDX,
9547 SOLARIS_ONCE_INIT_1_FIXIDX,
9548 SOLARIS_ONCE_INIT_2_FIXIDX,
9549 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9550 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9551 SOLARIS_RWLOCK_INIT_1_FIXIDX,
9552 SOLARIS_STD___FILBUF_FIXIDX,
9553 SOLARIS_STDIO_TAG_FIXIDX,
9554 SOLARIS_SYS_VA_LIST_FIXIDX,
9556 STDIO_STDARG_H_FIXIDX,
9557 STDIO_VA_LIST_FIXIDX,
9558 STDIO_VA_LIST_CLIENTS_FIXIDX,
9559 STRICT_ANSI_NOT_FIXIDX,
9560 STRICT_ANSI_NOT_CTD_FIXIDX,
9561 STRICT_ANSI_ONLY_FIXIDX,
9563 STRUCT_SOCKADDR_FIXIDX,
9564 SUN_AUTH_PROTO_FIXIDX,
9565 SUN_BOGUS_IFDEF_FIXIDX,
9566 SUN_CATMACRO_FIXIDX,
9568 SUN_RUSERS_SEMI_FIXIDX,
9570 SUNOS_STRLEN_FIXIDX,
9571 SUSE_LINUX_VT_CXX_FIXIDX,
9572 SVR4_DISABLE_OPT_FIXIDX,
9575 SVR4_SIGHANDLER_TYPE_FIXIDX,
9576 SVR4_UNDECLARED_GETRNGE_FIXIDX,
9577 SYSV68_STRING_FIXIDX,
9578 SYSZ_STDLIB_FOR_SUN_FIXIDX,
9579 THREAD_KEYWORD_FIXIDX,
9580 TINFO_CPLUSPLUS_FIXIDX,
9581 ULTRIX_CONST_FIXIDX,
9582 ULTRIX_CONST2_FIXIDX,
9583 VA_I960_MACRO_FIXIDX,
9584 VMS_ADD_MISSING_BRACES_FIXIDX,
9585 VMS_DECC_BUILTIN_FIXIDX,
9586 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9587 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9588 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9589 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9590 VMS_NO_64BIT_GETOPT_FIXIDX,
9591 VMS_USE_FAST_SETJMP_FIXIDX,
9592 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9593 VMS_USE_QUOTED_INCLUDE_FIXIDX,
9595 VXWORKS_GCC_PROBLEM_FIXIDX,
9596 VXWORKS_IOCTL_MACRO_FIXIDX,
9597 VXWORKS_MKDIR_MACRO_FIXIDX,
9598 VXWORKS_NEEDS_VXTYPES_FIXIDX,
9599 VXWORKS_NEEDS_VXWORKS_FIXIDX,
9600 VXWORKS_REGS_FIXIDX,
9601 VXWORKS_TIME_FIXIDX,
9602 VXWORKS_WRITE_CONST_FIXIDX,
9604 X11_CLASS_USAGE_FIXIDX,
9609 tFixDesc fixDescList[ FIX_COUNT ] = {
9610 { zAab_Aix_StdioName, zAab_Aix_StdioList,
9611 apzAab_Aix_StdioMachs,
9612 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
9615 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
9616 apzAab_Aix_FcntlMachs,
9617 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
9620 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
9621 apzAab_Darwin7_9_Long_Double_FuncsMachs,
9622 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9623 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9625 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
9626 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9627 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9628 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9630 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
9631 apzAab_Fd_Zero_Gnu_Types_HMachs,
9632 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9633 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9635 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9636 apzAab_Fd_Zero_Selectbits_HMachs,
9637 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9638 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9640 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9641 apzAab_Solaris_Sys_Varargs_HMachs,
9642 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9643 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9645 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9646 apzAab_Sun_MemcpyMachs,
9647 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9648 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9650 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
9651 apzAab_Vxworks_AssertMachs,
9652 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9653 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
9655 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
9656 apzAab_Vxworks_Regs_VxtypesMachs,
9657 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9658 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
9660 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
9661 apzAab_Vxworks_StdintMachs,
9662 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9663 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
9665 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
9666 apzAab_Vxworks_UnistdMachs,
9667 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9668 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
9670 { zAix_AssertName, zAix_AssertList,
9672 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9673 aAix_AssertTests, apzAix_AssertPatch, 0 },
9675 { zAix_ComplexName, zAix_ComplexList,
9676 apzAix_ComplexMachs,
9677 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9678 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9680 { zAix_MallocName, zAix_MallocList,
9682 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9683 aAix_MallocTests, apzAix_MallocPatch, 0 },
9685 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9686 apzAix_Net_If_ArpMachs,
9687 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9688 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9690 { zAix_NullName, zAix_NullList,
9692 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9693 aAix_NullTests, apzAix_NullPatch, 0 },
9695 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9696 apzAix_Once_Init_1Machs,
9697 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9698 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9700 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9701 apzAix_Once_Init_2Machs,
9702 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9703 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9705 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9706 apzAix_Mutex_Initializer_1Machs,
9707 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9708 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9710 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9711 apzAix_Cond_Initializer_1Machs,
9712 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9713 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9715 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9716 apzAix_Rwlock_Initializer_1Machs,
9717 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9718 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9720 { zAix_PthreadName, zAix_PthreadList,
9721 apzAix_PthreadMachs,
9722 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9723 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9725 { zAix_Stdint_1Name, zAix_Stdint_1List,
9726 apzAix_Stdint_1Machs,
9727 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9728 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9730 { zAix_Stdint_2Name, zAix_Stdint_2List,
9731 apzAix_Stdint_2Machs,
9732 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9733 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9735 { zAix_Stdint_3Name, zAix_Stdint_3List,
9736 apzAix_Stdint_3Machs,
9737 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9738 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9740 { zAix_Stdint_4Name, zAix_Stdint_4List,
9741 apzAix_Stdint_4Machs,
9742 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9743 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9745 { zAix_Stdint_5Name, zAix_Stdint_5List,
9746 apzAix_Stdint_5Machs,
9747 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9748 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9750 { zAix_SysmachineName, zAix_SysmachineList,
9751 apzAix_SysmachineMachs,
9752 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9753 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9755 { zAix_Syswait_2Name, zAix_Syswait_2List,
9756 apzAix_Syswait_2Machs,
9757 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9758 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9760 { zAix_VolatileName, zAix_VolatileList,
9761 apzAix_VolatileMachs,
9762 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9763 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9765 { zAlpha___AssertName, zAlpha___AssertList,
9766 apzAlpha___AssertMachs,
9767 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9768 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9770 { zAlpha_AssertName, zAlpha_AssertList,
9771 apzAlpha_AssertMachs,
9772 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9773 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9775 { zAlpha_GetoptName, zAlpha_GetoptList,
9776 apzAlpha_GetoptMachs,
9777 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9778 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9780 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9781 apzAlpha_If_SemicolonMachs,
9782 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9783 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9785 { zAlpha_ParensName, zAlpha_ParensList,
9786 apzAlpha_ParensMachs,
9787 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9788 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9790 { zAlpha_SbrkName, zAlpha_SbrkList,
9792 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9793 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9795 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9796 apzAvoid_Bool_DefineMachs,
9797 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9798 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9800 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9801 apzAvoid_Bool_TypeMachs,
9802 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9803 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9805 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9806 apzAvoid_Wchar_T_TypeMachs,
9807 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9808 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9810 { zBad_Struct_TermName, zBad_Struct_TermList,
9811 apzBad_Struct_TermMachs,
9812 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9813 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9815 { zBadquoteName, zBadquoteList,
9817 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9818 aBadquoteTests, apzBadquotePatch, 0 },
9820 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9821 apzBroken_Assert_StdioMachs,
9822 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9823 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9825 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9826 apzBroken_Assert_StdlibMachs,
9827 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9828 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9830 { zBroken_CabsName, zBroken_CabsList,
9831 apzBroken_CabsMachs,
9832 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9833 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9835 { zBroken_NanName, zBroken_NanList,
9837 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9838 aBroken_NanTests, apzBroken_NanPatch, 0 },
9840 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9841 apzBsd_Stdio_Attrs_ConflictMachs,
9842 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9843 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9845 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9846 apzCtrl_Quotes_DefMachs,
9847 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9848 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9850 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9851 apzCtrl_Quotes_UseMachs,
9852 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9853 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9855 { zCxx_UnreadyName, zCxx_UnreadyList,
9856 apzCxx_UnreadyMachs,
9857 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9858 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9860 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
9861 apzDarwin_9_Long_Double_Funcs_2Machs,
9862 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9863 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
9865 { zDarwin_ExterncName, zDarwin_ExterncList,
9866 apzDarwin_ExterncMachs,
9867 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9868 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9870 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9871 apzDarwin_Gcc4_BreakageMachs,
9872 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9873 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9875 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9876 apzDarwin_Private_ExternMachs,
9877 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9878 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9880 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9881 apzDarwin_Stdint_1Machs,
9882 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9883 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9885 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9886 apzDarwin_Stdint_2Machs,
9887 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9888 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9890 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9891 apzDarwin_Stdint_3Machs,
9892 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9893 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9895 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9896 apzDarwin_Stdint_4Machs,
9897 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9898 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9900 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9901 apzDarwin_Stdint_5Machs,
9902 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9903 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9905 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9906 apzDarwin_Stdint_6Machs,
9907 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9908 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9910 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9911 apzDarwin_Stdint_7Machs,
9912 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9913 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9915 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9916 apzDec_Intern_AsmMachs,
9917 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9918 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9920 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9921 apzDjgpp_Wchar_HMachs,
9922 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9923 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9925 { zEcd_CursorName, zEcd_CursorList,
9927 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9928 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9930 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
9931 apzFeraiseexcept_Nosse_DivbyzeroMachs,
9932 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9933 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
9935 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
9936 apzFeraiseexcept_Nosse_InvalidMachs,
9937 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9938 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
9940 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9941 apzFreebsd_Gcc3_BreakageMachs,
9942 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9943 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9945 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9946 apzFreebsd_Gcc4_BreakageMachs,
9947 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9948 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9950 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9951 apzGlibc_C99_Inline_1Machs,
9952 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9953 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9955 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9956 apzGlibc_C99_Inline_1aMachs,
9957 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9958 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9960 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9961 apzGlibc_C99_Inline_2Machs,
9962 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9963 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9965 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9966 apzGlibc_C99_Inline_3Machs,
9967 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9968 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9970 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9971 apzGlibc_C99_Inline_4Machs,
9972 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9973 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9975 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9976 apzGlibc_Mutex_InitMachs,
9977 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9978 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9980 { zGlibc_StdintName, zGlibc_StdintList,
9981 apzGlibc_StdintMachs,
9982 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9983 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9985 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9986 apzGlibc_StrncpyMachs,
9987 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9988 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9990 { zGlibc_TgmathName, zGlibc_TgmathList,
9991 apzGlibc_TgmathMachs,
9992 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9993 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9995 { zGnu_TypesName, zGnu_TypesList,
9997 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9998 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
10000 { zHp_InlineName, zHp_InlineList,
10002 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10003 aHp_InlineTests, apzHp_InlinePatch, 0 },
10005 { zHp_SysfileName, zHp_SysfileList,
10006 apzHp_SysfileMachs,
10007 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10008 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
10010 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
10011 apzHppa_Hpux_Fp_MacrosMachs,
10012 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10013 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10015 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10016 apzHpux10_Cpp_Pow_InlineMachs,
10017 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10018 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10020 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10021 apzHpux11_Cpp_Pow_InlineMachs,
10022 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10023 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10025 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10026 apzHpux10_Ctype_Declarations1Machs,
10027 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10028 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10030 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10031 apzHpux10_Ctype_Declarations2Machs,
10032 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10033 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10035 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10036 apzHpux10_Stdio_DeclarationsMachs,
10037 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10038 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10040 { zHpux11_AbsName, zHpux11_AbsList,
10041 apzHpux11_AbsMachs,
10042 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10043 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10045 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10046 apzHpux11_Extern_SendfileMachs,
10047 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10048 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10050 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10051 apzHpux11_Extern_SendpathMachs,
10052 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10053 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10055 { zHpux11_FabsfName, zHpux11_FabsfList,
10056 apzHpux11_FabsfMachs,
10057 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10058 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10060 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10061 apzHpux11_Pthread_ConstMachs,
10062 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10063 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10065 { zHpux11_Size_TName, zHpux11_Size_TList,
10066 apzHpux11_Size_TMachs,
10067 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10068 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10070 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10071 apzHpux11_SnprintfMachs,
10072 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10073 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
10075 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
10076 apzHpux11_VsnprintfMachs,
10077 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10078 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
10080 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
10081 apzHpux8_Bogus_InlinesMachs,
10082 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10083 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10085 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10086 apzHpux_C99_IntptrMachs,
10087 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10088 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10090 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10091 apzHpux_C99_InttypesMachs,
10092 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10093 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10095 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10096 apzHpux_C99_Inttypes2Machs,
10097 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10098 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10100 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10101 apzHpux_Ctype_MacrosMachs,
10102 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10103 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10105 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10106 apzHpux_Extern_ErrnoMachs,
10107 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10108 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10110 { zHpux_HtonlName, zHpux_HtonlList,
10111 apzHpux_HtonlMachs,
10112 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10113 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10115 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10116 apzHpux_Imaginary_IMachs,
10117 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10118 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10120 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10121 apzHpux_Inttype_Int8_TMachs,
10122 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10123 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10125 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10126 apzHpux_Long_DoubleMachs,
10127 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10128 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10130 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10131 apzHpux_Long_Double_2Machs,
10132 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10133 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10135 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10136 apzHpux_Pthread_InitializersMachs,
10137 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10138 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10140 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10141 apzHpux_Spu_InfoMachs,
10142 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10143 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10145 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10146 apzHpux_Stdint_Least_FastMachs,
10147 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10148 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10150 { zHpux_SystimeName, zHpux_SystimeList,
10151 apzHpux_SystimeMachs,
10152 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10153 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10155 { zHuge_Val_HexName, zHuge_Val_HexList,
10156 apzHuge_Val_HexMachs,
10157 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10158 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10160 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10161 apzHuge_Valf_HexMachs,
10162 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10163 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10165 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10166 apzHuge_Vall_HexMachs,
10167 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10168 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10170 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10171 apzInt_Abort_Free_And_ExitMachs,
10172 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10173 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10175 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10176 apzIo_Quotes_DefMachs,
10177 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10178 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10180 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10181 apzIo_Quotes_UseMachs,
10182 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10183 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10185 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10186 apzIp_Missing_SemiMachs,
10187 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10188 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10190 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10191 apzIrix_Limits_ConstMachs,
10192 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10193 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10195 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10196 apzIrix_Stdio_Va_ListMachs,
10197 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10198 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10200 { zKandr_ConcatName, zKandr_ConcatList,
10201 apzKandr_ConcatMachs,
10202 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10203 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10205 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10206 apzLinux_Ia64_UcontextMachs,
10207 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10208 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10210 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10211 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10212 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10213 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10215 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10216 apzLynxos_Missing_PutenvMachs,
10217 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10218 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10220 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10221 apzMachine_Ansi_H_Va_ListMachs,
10222 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10223 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10225 { zMachine_NameName, zMachine_NameList,
10226 apzMachine_NameMachs,
10227 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10228 aMachine_NameTests, apzMachine_NamePatch, 0 },
10230 { zMath_ExceptionName, zMath_ExceptionList,
10231 apzMath_ExceptionMachs,
10232 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10233 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
10235 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
10236 apzMath_Huge_Val_From_Dbl_MaxMachs,
10237 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10238 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10240 { zNested_Auth_DesName, zNested_Auth_DesList,
10241 apzNested_Auth_DesMachs,
10242 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10243 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
10245 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
10246 apzNetbsd_C99_Inline_1Machs,
10247 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10248 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
10250 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
10251 apzNetbsd_C99_Inline_2Machs,
10252 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10253 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
10255 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
10256 apzNetbsd_Extra_SemicolonMachs,
10257 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10258 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
10260 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
10261 apzNewlib_Stdint_1Machs,
10262 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10263 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
10265 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
10266 apzNewlib_Stdint_2Machs,
10267 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10268 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
10270 { zNext_Math_PrefixName, zNext_Math_PrefixList,
10271 apzNext_Math_PrefixMachs,
10272 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10273 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
10275 { zNext_TemplateName, zNext_TemplateList,
10276 apzNext_TemplateMachs,
10277 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10278 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
10280 { zNext_VolitileName, zNext_VolitileList,
10281 apzNext_VolitileMachs,
10282 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10283 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
10285 { zNext_Wait_UnionName, zNext_Wait_UnionList,
10286 apzNext_Wait_UnionMachs,
10287 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10288 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
10290 { zNodeent_SyntaxName, zNodeent_SyntaxList,
10291 apzNodeent_SyntaxMachs,
10292 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10293 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
10295 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
10296 apzOpenbsd_Null_DefinitionMachs,
10297 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10298 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
10300 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
10301 apzObstack_Lvalue_CastMachs,
10302 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10303 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
10305 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
10306 apzOpenbsd_Va_StartMachs,
10307 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10308 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
10310 { zOsf_Namespace_AName, zOsf_Namespace_AList,
10311 apzOsf_Namespace_AMachs,
10312 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10313 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
10315 { zOsf_Namespace_CName, zOsf_Namespace_CList,
10316 apzOsf_Namespace_CMachs,
10317 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10318 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
10320 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
10321 apzPthread_Incomplete_Struct_ArgumentMachs,
10322 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10323 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10325 { zRead_Ret_TypeName, zRead_Ret_TypeList,
10326 apzRead_Ret_TypeMachs,
10327 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10328 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
10330 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
10331 apzRpc_Xdr_Lvalue_Cast_AMachs,
10332 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10333 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10335 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
10336 apzRpc_Xdr_Lvalue_Cast_BMachs,
10337 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10338 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10340 { zRs6000_DoubleName, zRs6000_DoubleList,
10341 apzRs6000_DoubleMachs,
10342 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10343 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
10345 { zRs6000_FchmodName, zRs6000_FchmodList,
10346 apzRs6000_FchmodMachs,
10347 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10348 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
10350 { zRs6000_ParamName, zRs6000_ParamList,
10351 apzRs6000_ParamMachs,
10352 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10353 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
10355 { zSolaris___RestrictName, zSolaris___RestrictList,
10356 apzSolaris___RestrictMachs,
10357 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10358 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
10360 { zSolaris_ComplexName, zSolaris_ComplexList,
10361 apzSolaris_ComplexMachs,
10362 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10363 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
10365 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
10366 apzSolaris_Complex_CxxMachs,
10367 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10368 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
10370 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
10371 apzSolaris_Cxx_LinkageMachs,
10372 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10373 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
10375 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
10376 apzSolaris_Getc_Strict_StdcMachs,
10377 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10378 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
10380 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
10381 apzSolaris_Int_ConstMachs,
10382 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10383 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
10385 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
10386 apzSolaris_Int_Limits_1Machs,
10387 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10388 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
10390 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
10391 apzSolaris_Int_Limits_2Machs,
10392 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10393 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
10395 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
10396 apzSolaris_Int_Limits_3Machs,
10397 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10398 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
10400 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
10401 apzSolaris_Int_TypesMachs,
10402 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10403 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
10405 { zSolaris_Longjmp_NoreturnName, zSolaris_Longjmp_NoreturnList,
10406 apzSolaris_Longjmp_NoreturnMachs,
10407 SOLARIS_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10408 aSolaris_Longjmp_NoreturnTests, apzSolaris_Longjmp_NoreturnPatch, 0 },
10410 { zSolaris_Math_1Name, zSolaris_Math_1List,
10411 apzSolaris_Math_1Machs,
10412 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10413 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
10415 { zSolaris_Math_10Name, zSolaris_Math_10List,
10416 apzSolaris_Math_10Machs,
10417 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10418 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
10420 { zSolaris_Math_2Name, zSolaris_Math_2List,
10421 apzSolaris_Math_2Machs,
10422 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10423 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
10425 { zSolaris_Math_3Name, zSolaris_Math_3List,
10426 apzSolaris_Math_3Machs,
10427 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10428 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
10430 { zSolaris_Math_4Name, zSolaris_Math_4List,
10431 apzSolaris_Math_4Machs,
10432 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10433 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
10435 { zSolaris_Math_8Name, zSolaris_Math_8List,
10436 apzSolaris_Math_8Machs,
10437 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10438 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
10440 { zSolaris_Math_9Name, zSolaris_Math_9List,
10441 apzSolaris_Math_9Machs,
10442 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10443 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
10445 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
10446 apzSolaris_Mutex_Init_2Machs,
10447 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10448 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
10450 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
10451 apzSolaris_Once_Init_1Machs,
10452 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10453 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
10455 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
10456 apzSolaris_Once_Init_2Machs,
10457 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10458 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
10460 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
10461 apzSolaris_Posix_Spawn_RestrictMachs,
10462 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10463 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10465 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
10466 apzSolaris_Pow_Int_OverloadMachs,
10467 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10468 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
10470 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
10471 apzSolaris_Rwlock_Init_1Machs,
10472 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10473 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
10475 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
10476 apzSolaris_Std___FilbufMachs,
10477 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10478 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
10480 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
10481 apzSolaris_Stdio_TagMachs,
10482 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10483 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
10485 { zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
10486 apzSolaris_Sys_Va_ListMachs,
10487 SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10488 aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
10490 { zStatsswtchName, zStatsswtchList,
10491 apzStatsswtchMachs,
10492 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10493 aStatsswtchTests, apzStatsswtchPatch, 0 },
10495 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
10496 apzStdio_Stdarg_HMachs,
10497 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10498 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
10500 { zStdio_Va_ListName, zStdio_Va_ListList,
10501 apzStdio_Va_ListMachs,
10502 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10503 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
10505 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
10506 apzStdio_Va_List_ClientsMachs,
10507 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10508 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
10510 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
10511 apzStrict_Ansi_NotMachs,
10512 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10513 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
10515 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
10516 apzStrict_Ansi_Not_CtdMachs,
10517 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10518 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
10520 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
10521 apzStrict_Ansi_OnlyMachs,
10522 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10523 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
10525 { zStruct_FileName, zStruct_FileList,
10526 apzStruct_FileMachs,
10527 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10528 aStruct_FileTests, apzStruct_FilePatch, 0 },
10530 { zStruct_SockaddrName, zStruct_SockaddrList,
10531 apzStruct_SockaddrMachs,
10532 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10533 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
10535 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
10536 apzSun_Auth_ProtoMachs,
10537 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10538 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
10540 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
10541 apzSun_Bogus_IfdefMachs,
10542 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10543 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
10545 { zSun_CatmacroName, zSun_CatmacroList,
10546 apzSun_CatmacroMachs,
10547 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10548 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
10550 { zSun_MallocName, zSun_MallocList,
10551 apzSun_MallocMachs,
10552 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10553 aSun_MallocTests, apzSun_MallocPatch, 0 },
10555 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
10556 apzSun_Rusers_SemiMachs,
10557 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10558 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
10560 { zSun_SignalName, zSun_SignalList,
10561 apzSun_SignalMachs,
10562 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10563 aSun_SignalTests, apzSun_SignalPatch, 0 },
10565 { zSunos_StrlenName, zSunos_StrlenList,
10566 apzSunos_StrlenMachs,
10567 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10568 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
10570 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
10571 apzSuse_Linux_Vt_CxxMachs,
10572 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10573 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
10575 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
10576 apzSvr4_Disable_OptMachs,
10577 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10578 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
10580 { zSvr4_GetcwdName, zSvr4_GetcwdList,
10581 apzSvr4_GetcwdMachs,
10582 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10583 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
10585 { zSvr4_ProfilName, zSvr4_ProfilList,
10586 apzSvr4_ProfilMachs,
10587 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10588 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
10590 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
10591 apzSvr4_Sighandler_TypeMachs,
10592 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10593 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
10595 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
10596 apzSvr4_Undeclared_GetrngeMachs,
10597 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10598 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
10600 { zSysv68_StringName, zSysv68_StringList,
10601 apzSysv68_StringMachs,
10602 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
10603 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
10605 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
10606 apzSysz_Stdlib_For_SunMachs,
10607 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10608 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
10610 { zThread_KeywordName, zThread_KeywordList,
10611 apzThread_KeywordMachs,
10612 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10613 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
10615 { zTinfo_CplusplusName, zTinfo_CplusplusList,
10616 apzTinfo_CplusplusMachs,
10617 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10618 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
10620 { zUltrix_ConstName, zUltrix_ConstList,
10621 apzUltrix_ConstMachs,
10622 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10623 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
10625 { zUltrix_Const2Name, zUltrix_Const2List,
10626 apzUltrix_Const2Machs,
10627 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10628 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
10630 { zVa_I960_MacroName, zVa_I960_MacroList,
10631 apzVa_I960_MacroMachs,
10632 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10633 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
10635 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
10636 apzVms_Add_Missing_BracesMachs,
10637 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10638 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
10640 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
10641 apzVms_Decc_BuiltinMachs,
10642 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10643 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
10645 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
10646 apzVms_Define_Can_Use_Extern_PrefixMachs,
10647 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10648 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10650 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
10651 apzVms_Disable_Decc_String_BuiltinsMachs,
10652 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10653 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10655 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
10656 apzVms_Do_Not_Redeclare_HostaliasMachs,
10657 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10658 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10660 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
10661 apzVms_Forward_Declare_StructMachs,
10662 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10663 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10665 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
10666 apzVms_No_64bit_GetoptMachs,
10667 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10668 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
10670 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10671 apzVms_Use_Fast_SetjmpMachs,
10672 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10673 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10675 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
10676 apzVms_Use_Pragma_Extern_ModelMachs,
10677 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10678 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10680 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
10681 apzVms_Use_Quoted_IncludeMachs,
10682 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10683 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
10685 { zVoid_NullName, zVoid_NullList,
10687 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10688 aVoid_NullTests, apzVoid_NullPatch, 0 },
10690 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10691 apzVxworks_Gcc_ProblemMachs,
10692 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10693 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10695 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
10696 apzVxworks_Ioctl_MacroMachs,
10697 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10698 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
10700 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
10701 apzVxworks_Mkdir_MacroMachs,
10702 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10703 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
10705 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10706 apzVxworks_Needs_VxtypesMachs,
10707 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10708 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10710 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10711 apzVxworks_Needs_VxworksMachs,
10712 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10713 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10715 { zVxworks_RegsName, zVxworks_RegsList,
10716 apzVxworks_RegsMachs,
10717 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10718 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
10720 { zVxworks_TimeName, zVxworks_TimeList,
10721 apzVxworks_TimeMachs,
10722 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10723 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10725 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
10726 apzVxworks_Write_ConstMachs,
10727 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10728 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
10730 { zX11_ClassName, zX11_ClassList,
10732 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10733 aX11_ClassTests, apzX11_ClassPatch, 0 },
10735 { zX11_Class_UsageName, zX11_Class_UsageList,
10736 apzX11_Class_UsageMachs,
10737 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10738 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10740 { zX11_NewName, zX11_NewList,
10742 X11_NEW_TEST_CT, FD_MACH_ONLY,
10743 aX11_NewTests, apzX11_NewPatch, 0 },
10745 { zX11_SprintfName, zX11_SprintfList,
10746 apzX11_SprintfMachs,
10747 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10748 aX11_SprintfTests, apzX11_SprintfPatch, 0 }