1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed December 13, 2014 at 05:31:32 AM by AutoGen 5.12
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat Dec 13 05:31:32 PST 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 227 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_Once_Init_1 fix
891 tSCC zAix_Once_Init_1Name[] =
895 * File name selection pattern
897 tSCC zAix_Once_Init_1List[] =
900 * Machine/OS name selection pattern
902 tSCC* apzAix_Once_Init_1Machs[] = {
907 * content selection pattern - do fix if pattern found
909 tSCC zAix_Once_Init_1Select0[] =
910 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
913 #define AIX_ONCE_INIT_1_TEST_CT 1
914 static tTestDesc aAix_Once_Init_1Tests[] = {
915 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
918 * Fix Command Arguments for Aix_Once_Init_1
920 static const char* apzAix_Once_Init_1Patch[] = {
922 "#define PTHREAD_ONCE_INIT \\\n\
926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
928 * Description of Aix_Once_Init_2 fix
930 tSCC zAix_Once_Init_2Name[] =
934 * File name selection pattern
936 tSCC zAix_Once_Init_2List[] =
939 * Machine/OS name selection pattern
941 tSCC* apzAix_Once_Init_2Machs[] = {
946 * content selection pattern - do fix if pattern found
948 tSCC zAix_Once_Init_2Select0[] =
952 #define AIX_ONCE_INIT_2_TEST_CT 1
953 static tTestDesc aAix_Once_Init_2Tests[] = {
954 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
957 * Fix Command Arguments for Aix_Once_Init_2
959 static const char* apzAix_Once_Init_2Patch[] = {
965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
967 * Description of Aix_Mutex_Initializer_1 fix
969 tSCC zAix_Mutex_Initializer_1Name[] =
970 "aix_mutex_initializer_1";
973 * File name selection pattern
975 tSCC zAix_Mutex_Initializer_1List[] =
978 * Machine/OS name selection pattern
980 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
985 * content selection pattern - do fix if pattern found
987 tSCC zAix_Mutex_Initializer_1Select0[] =
988 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
991 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
992 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
993 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
996 * Fix Command Arguments for Aix_Mutex_Initializer_1
998 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1000 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1004 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1006 * Description of Aix_Cond_Initializer_1 fix
1008 tSCC zAix_Cond_Initializer_1Name[] =
1009 "aix_cond_initializer_1";
1012 * File name selection pattern
1014 tSCC zAix_Cond_Initializer_1List[] =
1017 * Machine/OS name selection pattern
1019 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1021 (const char*)NULL };
1024 * content selection pattern - do fix if pattern found
1026 tSCC zAix_Cond_Initializer_1Select0[] =
1027 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1030 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1031 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1032 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1035 * Fix Command Arguments for Aix_Cond_Initializer_1
1037 static const char* apzAix_Cond_Initializer_1Patch[] = {
1039 "#define PTHREAD_COND_INITIALIZER \\\n\
1043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1045 * Description of Aix_Rwlock_Initializer_1 fix
1047 tSCC zAix_Rwlock_Initializer_1Name[] =
1048 "aix_rwlock_initializer_1";
1051 * File name selection pattern
1053 tSCC zAix_Rwlock_Initializer_1List[] =
1056 * Machine/OS name selection pattern
1058 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1060 (const char*)NULL };
1063 * content selection pattern - do fix if pattern found
1065 tSCC zAix_Rwlock_Initializer_1Select0[] =
1066 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1069 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1070 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1071 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1074 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1076 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1078 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1084 * Description of Aix_Pthread fix
1086 tSCC zAix_PthreadName[] =
1090 * File name selection pattern
1092 tSCC zAix_PthreadList[] =
1095 * Machine/OS name selection pattern
1097 #define apzAix_PthreadMachs (const char**)NULL
1100 * content selection pattern - do fix if pattern found
1102 tSCC zAix_PthreadSelect0[] =
1103 "(#define [A-Za-z_0-9]+)(\\\\\n\
1107 #define AIX_PTHREAD_TEST_CT 1
1108 static tTestDesc aAix_PthreadTests[] = {
1109 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1112 * Fix Command Arguments for Aix_Pthread
1114 static const char* apzAix_PthreadPatch[] = {
1119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1121 * Description of Aix_Stdint_1 fix
1123 tSCC zAix_Stdint_1Name[] =
1127 * File name selection pattern
1129 tSCC zAix_Stdint_1List[] =
1130 "stdint-aix.h\0stdint.h\0";
1132 * Machine/OS name selection pattern
1134 tSCC* apzAix_Stdint_1Machs[] = {
1136 (const char*)NULL };
1139 * content selection pattern - do fix if pattern found
1141 tSCC zAix_Stdint_1Select0[] =
1142 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1143 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1145 #define AIX_STDINT_1_TEST_CT 1
1146 static tTestDesc aAix_Stdint_1Tests[] = {
1147 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1150 * Fix Command Arguments for Aix_Stdint_1
1152 static const char* apzAix_Stdint_1Patch[] = {
1154 "#define UINT8_MAX\t(255)\n\
1155 #define UINT16_MAX\t(65535)",
1158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1160 * Description of Aix_Stdint_2 fix
1162 tSCC zAix_Stdint_2Name[] =
1166 * File name selection pattern
1168 tSCC zAix_Stdint_2List[] =
1169 "stdint-aix.h\0stdint.h\0";
1171 * Machine/OS name selection pattern
1173 tSCC* apzAix_Stdint_2Machs[] = {
1175 (const char*)NULL };
1178 * content selection pattern - do fix if pattern found
1180 tSCC zAix_Stdint_2Select0[] =
1181 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1182 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1183 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1185 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1186 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1187 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1189 #define AIX_STDINT_2_TEST_CT 1
1190 static tTestDesc aAix_Stdint_2Tests[] = {
1191 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1194 * Fix Command Arguments for Aix_Stdint_2
1196 static const char* apzAix_Stdint_2Patch[] = {
1198 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1199 #define INTPTR_MAX\t9223372036854775807L\n\
1200 #define UINTPTR_MAX\t18446744073709551615UL\n\
1202 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1203 #define INTPTR_MAX\t2147483647L\n\
1204 #define UINTPTR_MAX\t4294967295UL",
1207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1209 * Description of Aix_Stdint_3 fix
1211 tSCC zAix_Stdint_3Name[] =
1215 * File name selection pattern
1217 tSCC zAix_Stdint_3List[] =
1218 "stdint-aix.h\0stdint.h\0";
1220 * Machine/OS name selection pattern
1222 tSCC* apzAix_Stdint_3Machs[] = {
1224 (const char*)NULL };
1227 * content selection pattern - do fix if pattern found
1229 tSCC zAix_Stdint_3Select0[] =
1230 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1231 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1233 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1234 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1236 #define AIX_STDINT_3_TEST_CT 1
1237 static tTestDesc aAix_Stdint_3Tests[] = {
1238 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1241 * Fix Command Arguments for Aix_Stdint_3
1243 static const char* apzAix_Stdint_3Patch[] = {
1245 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1246 #define PTRDIFF_MAX\t9223372036854775807L\n\
1248 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1249 #define PTRDIFF_MAX\t2147483647L",
1252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1254 * Description of Aix_Stdint_4 fix
1256 tSCC zAix_Stdint_4Name[] =
1260 * File name selection pattern
1262 tSCC zAix_Stdint_4List[] =
1263 "stdint-aix.h\0stdint.h\0";
1265 * Machine/OS name selection pattern
1267 tSCC* apzAix_Stdint_4Machs[] = {
1269 (const char*)NULL };
1272 * content selection pattern - do fix if pattern found
1274 tSCC zAix_Stdint_4Select0[] =
1275 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1277 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1279 #define AIX_STDINT_4_TEST_CT 1
1280 static tTestDesc aAix_Stdint_4Tests[] = {
1281 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1284 * Fix Command Arguments for Aix_Stdint_4
1286 static const char* apzAix_Stdint_4Patch[] = {
1288 "#define SIZE_MAX\t18446744073709551615UL\n\
1290 #define SIZE_MAX\t4294967295UL",
1293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1295 * Description of Aix_Stdint_5 fix
1297 tSCC zAix_Stdint_5Name[] =
1301 * File name selection pattern
1303 tSCC zAix_Stdint_5List[] =
1304 "stdint-aix.h\0stdint.h\0";
1306 * Machine/OS name selection pattern
1308 tSCC* apzAix_Stdint_5Machs[] = {
1310 (const char*)NULL };
1313 * content selection pattern - do fix if pattern found
1315 tSCC zAix_Stdint_5Select0[] =
1316 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1317 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1319 #define AIX_STDINT_5_TEST_CT 1
1320 static tTestDesc aAix_Stdint_5Tests[] = {
1321 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1324 * Fix Command Arguments for Aix_Stdint_5
1326 static const char* apzAix_Stdint_5Patch[] = {
1328 "#define UINT8_C(c)\tc\n\
1329 #define UINT16_C(c)\tc",
1332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1334 * Description of Aix_Sysmachine fix
1336 tSCC zAix_SysmachineName[] =
1340 * File name selection pattern
1342 tSCC zAix_SysmachineList[] =
1345 * Machine/OS name selection pattern
1347 #define apzAix_SysmachineMachs (const char**)NULL
1350 * content selection pattern - do fix if pattern found
1352 tSCC zAix_SysmachineSelect0[] =
1355 #define AIX_SYSMACHINE_TEST_CT 1
1356 static tTestDesc aAix_SysmachineTests[] = {
1357 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1360 * Fix Command Arguments for Aix_Sysmachine
1362 static const char* apzAix_SysmachinePatch[] = {
1367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1369 * Description of Aix_Syswait_2 fix
1371 tSCC zAix_Syswait_2Name[] =
1375 * File name selection pattern
1377 tSCC zAix_Syswait_2List[] =
1380 * Machine/OS name selection pattern
1382 #define apzAix_Syswait_2Machs (const char**)NULL
1385 * content selection pattern - do fix if pattern found
1387 tSCC zAix_Syswait_2Select0[] =
1388 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1390 #define AIX_SYSWAIT_2_TEST_CT 1
1391 static tTestDesc aAix_Syswait_2Tests[] = {
1392 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1395 * Fix Command Arguments for Aix_Syswait_2
1397 static const char* apzAix_Syswait_2Patch[] = {
1402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1404 * Description of Aix_Volatile fix
1406 tSCC zAix_VolatileName[] =
1410 * File name selection pattern
1412 tSCC zAix_VolatileList[] =
1415 * Machine/OS name selection pattern
1417 #define apzAix_VolatileMachs (const char**)NULL
1420 * content selection pattern - do fix if pattern found
1422 tSCC zAix_VolatileSelect0[] =
1423 "typedef volatile int sig_atomic_t";
1425 #define AIX_VOLATILE_TEST_CT 1
1426 static tTestDesc aAix_VolatileTests[] = {
1427 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1430 * Fix Command Arguments for Aix_Volatile
1432 static const char* apzAix_VolatilePatch[] = {
1434 "typedef int sig_atomic_t",
1437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1439 * Description of Alpha___Assert fix
1441 tSCC zAlpha___AssertName[] =
1445 * File name selection pattern
1447 tSCC zAlpha___AssertList[] =
1450 * Machine/OS name selection pattern
1452 #define apzAlpha___AssertMachs (const char**)NULL
1455 * content selection pattern - do fix if pattern found
1457 tSCC zAlpha___AssertSelect0[] =
1458 "__assert\\(char \\*, char \\*, int\\)";
1460 #define ALPHA___ASSERT_TEST_CT 1
1461 static tTestDesc aAlpha___AssertTests[] = {
1462 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1465 * Fix Command Arguments for Alpha___Assert
1467 static const char* apzAlpha___AssertPatch[] = {
1469 "__assert(const char *, const char *, int)",
1472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1474 * Description of Alpha_Assert fix
1476 tSCC zAlpha_AssertName[] =
1480 * File name selection pattern
1482 tSCC zAlpha_AssertList[] =
1485 * Machine/OS name selection pattern
1487 #define apzAlpha_AssertMachs (const char**)NULL
1490 * content selection pattern - do fix if pattern found
1492 tSCC zAlpha_AssertSelect0[] =
1493 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1495 #define ALPHA_ASSERT_TEST_CT 1
1496 static tTestDesc aAlpha_AssertTests[] = {
1497 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1500 * Fix Command Arguments for Alpha_Assert
1502 static const char* apzAlpha_AssertPatch[] = {
1507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1509 * Description of Alpha_Getopt fix
1511 tSCC zAlpha_GetoptName[] =
1515 * File name selection pattern
1517 tSCC zAlpha_GetoptList[] =
1518 "stdio.h\0stdlib.h\0";
1520 * Machine/OS name selection pattern
1522 #define apzAlpha_GetoptMachs (const char**)NULL
1525 * content selection pattern - do fix if pattern found
1527 tSCC zAlpha_GetoptSelect0[] =
1528 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1530 #define ALPHA_GETOPT_TEST_CT 1
1531 static tTestDesc aAlpha_GetoptTests[] = {
1532 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1535 * Fix Command Arguments for Alpha_Getopt
1537 static const char* apzAlpha_GetoptPatch[] = {
1539 "getopt(int, char *const[], const char *)",
1542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1544 * Description of Alpha_If_Semicolon fix
1546 tSCC zAlpha_If_SemicolonName[] =
1547 "alpha_if_semicolon";
1550 * File name selection pattern
1552 tSCC zAlpha_If_SemicolonList[] =
1555 * Machine/OS name selection pattern
1557 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1560 * content selection pattern - do fix if pattern found
1562 tSCC zAlpha_If_SemicolonSelect0[] =
1563 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1565 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1566 static tTestDesc aAlpha_If_SemicolonTests[] = {
1567 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1570 * Fix Command Arguments for Alpha_If_Semicolon
1572 static const char* apzAlpha_If_SemicolonPatch[] = {
1574 "struct sockaddr vmif_paddr;\t/*",
1577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1579 * Description of Alpha_Parens fix
1581 tSCC zAlpha_ParensName[] =
1585 * File name selection pattern
1587 tSCC zAlpha_ParensList[] =
1590 * Machine/OS name selection pattern
1592 #define apzAlpha_ParensMachs (const char**)NULL
1595 * content selection pattern - do fix if pattern found
1597 tSCC zAlpha_ParensSelect0[] =
1598 "#ifndef\\(__mips64\\)";
1600 #define ALPHA_PARENS_TEST_CT 1
1601 static tTestDesc aAlpha_ParensTests[] = {
1602 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1605 * Fix Command Arguments for Alpha_Parens
1607 static const char* apzAlpha_ParensPatch[] = {
1612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1614 * Description of Alpha_Sbrk fix
1616 tSCC zAlpha_SbrkName[] =
1620 * File name selection pattern
1622 tSCC zAlpha_SbrkList[] =
1625 * Machine/OS name selection pattern
1627 #define apzAlpha_SbrkMachs (const char**)NULL
1630 * content selection pattern - do fix if pattern found
1632 tSCC zAlpha_SbrkSelect0[] =
1633 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1635 #define ALPHA_SBRK_TEST_CT 1
1636 static tTestDesc aAlpha_SbrkTests[] = {
1637 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1640 * Fix Command Arguments for Alpha_Sbrk
1642 static const char* apzAlpha_SbrkPatch[] = {
1647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1649 * Description of Avoid_Bool_Define fix
1651 tSCC zAvoid_Bool_DefineName[] =
1652 "avoid_bool_define";
1655 * File name selection pattern
1657 tSCC zAvoid_Bool_DefineList[] =
1658 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1660 * Machine/OS name selection pattern
1662 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1665 * content selection pattern - do fix if pattern found
1667 tSCC zAvoid_Bool_DefineSelect0[] =
1668 "#[ \t]*define[ \t]+bool[ \t]";
1671 * content bypass pattern - skip fix if pattern found
1673 tSCC zAvoid_Bool_DefineBypass0[] =
1676 #define AVOID_BOOL_DEFINE_TEST_CT 2
1677 static tTestDesc aAvoid_Bool_DefineTests[] = {
1678 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1679 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1682 * Fix Command Arguments for Avoid_Bool_Define
1684 static const char* apzAvoid_Bool_DefinePatch[] = {
1686 "#ifndef __cplusplus\n\
1689 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1694 * Description of Avoid_Bool_Type fix
1696 tSCC zAvoid_Bool_TypeName[] =
1700 * File name selection pattern
1702 tSCC zAvoid_Bool_TypeList[] =
1703 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1705 * Machine/OS name selection pattern
1707 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1710 * content selection pattern - do fix if pattern found
1712 tSCC zAvoid_Bool_TypeSelect0[] =
1713 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1716 * content bypass pattern - skip fix if pattern found
1718 tSCC zAvoid_Bool_TypeBypass0[] =
1721 #define AVOID_BOOL_TYPE_TEST_CT 2
1722 static tTestDesc aAvoid_Bool_TypeTests[] = {
1723 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1724 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1727 * Fix Command Arguments for Avoid_Bool_Type
1729 static const char* apzAvoid_Bool_TypePatch[] = {
1731 "#ifndef __cplusplus\n\
1736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1738 * Description of Avoid_Wchar_T_Type fix
1740 tSCC zAvoid_Wchar_T_TypeName[] =
1741 "avoid_wchar_t_type";
1744 * File name selection pattern
1746 #define zAvoid_Wchar_T_TypeList (char*)NULL
1748 * Machine/OS name selection pattern
1750 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1753 * content selection pattern - do fix if pattern found
1755 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1756 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1759 * content bypass pattern - skip fix if pattern found
1761 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1763 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1765 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1766 "XFree86: xc/lib/X11/Xlib\\.h";
1768 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1769 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1770 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1771 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1772 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1773 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1776 * Fix Command Arguments for Avoid_Wchar_T_Type
1778 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1780 "#ifndef __cplusplus\n\
1785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1787 * Description of Bad_Struct_Term fix
1789 tSCC zBad_Struct_TermName[] =
1793 * File name selection pattern
1795 tSCC zBad_Struct_TermList[] =
1798 * Machine/OS name selection pattern
1800 #define apzBad_Struct_TermMachs (const char**)NULL
1803 * content selection pattern - do fix if pattern found
1805 tSCC zBad_Struct_TermSelect0[] =
1806 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1808 #define BAD_STRUCT_TERM_TEST_CT 1
1809 static tTestDesc aBad_Struct_TermTests[] = {
1810 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1813 * Fix Command Arguments for Bad_Struct_Term
1815 static const char* apzBad_Struct_TermPatch[] = {
1820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1822 * Description of Badquote fix
1824 tSCC zBadquoteName[] =
1828 * File name selection pattern
1830 tSCC zBadquoteList[] =
1831 "sundev/vuid_event.h\0";
1833 * Machine/OS name selection pattern
1835 #define apzBadquoteMachs (const char**)NULL
1838 * content selection pattern - do fix if pattern found
1840 tSCC zBadquoteSelect0[] =
1843 #define BADQUOTE_TEST_CT 1
1844 static tTestDesc aBadquoteTests[] = {
1845 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1848 * Fix Command Arguments for Badquote
1850 static const char* apzBadquotePatch[] = {
1855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1857 * Description of Broken_Assert_Stdio fix
1859 tSCC zBroken_Assert_StdioName[] =
1860 "broken_assert_stdio";
1863 * File name selection pattern
1865 tSCC zBroken_Assert_StdioList[] =
1868 * Machine/OS name selection pattern
1870 #define apzBroken_Assert_StdioMachs (const char**)NULL
1873 * content selection pattern - do fix if pattern found
1875 tSCC zBroken_Assert_StdioSelect0[] =
1879 * content bypass pattern - skip fix if pattern found
1881 tSCC zBroken_Assert_StdioBypass0[] =
1882 "include.*stdio\\.h";
1884 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1885 static tTestDesc aBroken_Assert_StdioTests[] = {
1886 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1887 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1890 * Fix Command Arguments for Broken_Assert_Stdio
1892 static const char* apzBroken_Assert_StdioPatch[] = {
1894 "#include <stdio.h>\n",
1897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1899 * Description of Broken_Assert_Stdlib fix
1901 tSCC zBroken_Assert_StdlibName[] =
1902 "broken_assert_stdlib";
1905 * File name selection pattern
1907 tSCC zBroken_Assert_StdlibList[] =
1910 * Machine/OS name selection pattern
1912 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1915 * content selection pattern - do fix if pattern found
1917 tSCC zBroken_Assert_StdlibSelect0[] =
1918 "exit *\\(|abort *\\(";
1921 * content bypass pattern - skip fix if pattern found
1923 tSCC zBroken_Assert_StdlibBypass0[] =
1924 "include.*stdlib\\.h";
1926 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1927 static tTestDesc aBroken_Assert_StdlibTests[] = {
1928 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1929 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1932 * Fix Command Arguments for Broken_Assert_Stdlib
1934 static const char* apzBroken_Assert_StdlibPatch[] = {
1936 "#ifdef __cplusplus\n\
1937 #include <stdlib.h>\n\
1941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1943 * Description of Broken_Cabs fix
1945 tSCC zBroken_CabsName[] =
1949 * File name selection pattern
1951 tSCC zBroken_CabsList[] =
1952 "math.h\0architecture/*/math.h\0";
1954 * Machine/OS name selection pattern
1956 #define apzBroken_CabsMachs (const char**)NULL
1959 * content selection pattern - do fix if pattern found
1961 tSCC zBroken_CabsSelect0[] =
1962 "^extern[ \t]+double[ \t]+cabs";
1964 #define BROKEN_CABS_TEST_CT 1
1965 static tTestDesc aBroken_CabsTests[] = {
1966 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1969 * Fix Command Arguments for Broken_Cabs
1971 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1972 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1973 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1978 * Description of Broken_Nan fix
1980 tSCC zBroken_NanName[] =
1984 * File name selection pattern
1986 tSCC zBroken_NanList[] =
1987 "architecture/ppc/math.h\0architecture/*/math.h\0";
1989 * Machine/OS name selection pattern
1991 #define apzBroken_NanMachs (const char**)NULL
1994 * content selection pattern - do fix if pattern found
1996 tSCC zBroken_NanSelect0[] =
1997 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2000 * content bypass pattern - skip fix if pattern found
2002 tSCC zBroken_NanBypass0[] =
2005 #define BROKEN_NAN_TEST_CT 2
2006 static tTestDesc aBroken_NanTests[] = {
2007 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2008 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2011 * Fix Command Arguments for Broken_Nan
2013 static const char* apzBroken_NanPatch[] = {
2018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2020 * Description of Bsd_Stdio_Attrs_Conflict fix
2022 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2023 "bsd_stdio_attrs_conflict";
2026 * File name selection pattern
2028 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2031 * Machine/OS name selection pattern
2033 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2036 (const char*)NULL };
2039 * content selection pattern - do fix if pattern found
2041 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2042 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2044 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2045 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2046 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2049 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2051 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2053 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2054 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2055 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2060 * Description of Cdef_Cplusplus fix
2062 tSCC zCdef_CplusplusName[] =
2066 * File name selection pattern
2068 tSCC zCdef_CplusplusList[] =
2071 * Machine/OS name selection pattern
2073 #define apzCdef_CplusplusMachs (const char**)NULL
2076 * content selection pattern - do fix if pattern found
2078 tSCC zCdef_CplusplusSelect0[] =
2079 "\\[\\[noreturn\\]\\]";
2081 #define CDEF_CPLUSPLUS_TEST_CT 1
2082 static tTestDesc aCdef_CplusplusTests[] = {
2083 { TT_EGREP, zCdef_CplusplusSelect0, (regex_t*)NULL }, };
2086 * Fix Command Arguments for Cdef_Cplusplus
2088 static const char* apzCdef_CplusplusPatch[] = {
2090 "__attribute__((__noreturn__))",
2093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2095 * Description of Ctrl_Quotes_Def fix
2097 tSCC zCtrl_Quotes_DefName[] =
2101 * File name selection pattern
2103 #define zCtrl_Quotes_DefList (char*)NULL
2105 * Machine/OS name selection pattern
2107 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2110 * content selection pattern - do fix if pattern found
2112 tSCC zCtrl_Quotes_DefSelect0[] =
2113 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2115 #define CTRL_QUOTES_DEF_TEST_CT 1
2116 static tTestDesc aCtrl_Quotes_DefTests[] = {
2117 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2120 * Fix Command Arguments for Ctrl_Quotes_Def
2122 static const char* apzCtrl_Quotes_DefPatch[] = {
2127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2129 * Description of Ctrl_Quotes_Use fix
2131 tSCC zCtrl_Quotes_UseName[] =
2135 * File name selection pattern
2137 #define zCtrl_Quotes_UseList (char*)NULL
2139 * Machine/OS name selection pattern
2141 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2144 * content selection pattern - do fix if pattern found
2146 tSCC zCtrl_Quotes_UseSelect0[] =
2147 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2149 #define CTRL_QUOTES_USE_TEST_CT 1
2150 static tTestDesc aCtrl_Quotes_UseTests[] = {
2151 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2154 * Fix Command Arguments for Ctrl_Quotes_Use
2156 static const char* apzCtrl_Quotes_UsePatch[] = {
2161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2163 * Description of Cxx_Unready fix
2165 tSCC zCxx_UnreadyName[] =
2169 * File name selection pattern
2171 tSCC zCxx_UnreadyList[] =
2172 "sys/mman.h\0rpc/types.h\0";
2174 * Machine/OS name selection pattern
2176 #define apzCxx_UnreadyMachs (const char**)NULL
2179 * content selection pattern - do fix if pattern found
2181 tSCC zCxx_UnreadySelect0[] =
2185 * content bypass pattern - skip fix if pattern found
2187 tSCC zCxx_UnreadyBypass0[] =
2188 "\"C\"|__BEGIN_DECLS";
2190 #define CXX_UNREADY_TEST_CT 2
2191 static tTestDesc aCxx_UnreadyTests[] = {
2192 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2193 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2196 * Fix Command Arguments for Cxx_Unready
2198 static const char* apzCxx_UnreadyPatch[] = {
2200 "#ifdef __cplusplus\n\
2203 "#ifdef __cplusplus\n\
2208 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2210 * Description of Darwin_9_Long_Double_Funcs_2 fix
2212 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2213 "darwin_9_long_double_funcs_2";
2216 * File name selection pattern
2218 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2221 * Machine/OS name selection pattern
2223 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2225 (const char*)NULL };
2228 * content selection pattern - do fix if pattern found
2230 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2231 "#include[ \\t]+\\\"";
2233 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2234 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2235 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2238 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2240 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2243 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2248 * Description of Darwin_Externc fix
2250 tSCC zDarwin_ExterncName[] =
2254 * File name selection pattern
2256 tSCC zDarwin_ExterncList[] =
2257 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2259 * Machine/OS name selection pattern
2261 tSCC* apzDarwin_ExterncMachs[] = {
2263 (const char*)NULL };
2266 * content bypass pattern - skip fix if pattern found
2268 tSCC zDarwin_ExterncBypass0[] =
2270 tSCC zDarwin_ExterncBypass1[] =
2273 #define DARWIN_EXTERNC_TEST_CT 2
2274 static tTestDesc aDarwin_ExterncTests[] = {
2275 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2276 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2279 * Fix Command Arguments for Darwin_Externc
2281 static const char* apzDarwin_ExterncPatch[] = {
2283 "#ifdef __cplusplus\n\
2286 "#ifdef __cplusplus\n\
2291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2293 * Description of Darwin_Gcc4_Breakage fix
2295 tSCC zDarwin_Gcc4_BreakageName[] =
2296 "darwin_gcc4_breakage";
2299 * File name selection pattern
2301 tSCC zDarwin_Gcc4_BreakageList[] =
2302 "AvailabilityMacros.h\0";
2304 * Machine/OS name selection pattern
2306 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2308 (const char*)NULL };
2311 * content selection pattern - do fix if pattern found
2313 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2314 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2316 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2317 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2318 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2321 * Fix Command Arguments for Darwin_Gcc4_Breakage
2323 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2325 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2328 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2330 * Description of Darwin_Private_Extern fix
2332 tSCC zDarwin_Private_ExternName[] =
2333 "darwin_private_extern";
2336 * File name selection pattern
2338 tSCC zDarwin_Private_ExternList[] =
2341 * Machine/OS name selection pattern
2343 tSCC* apzDarwin_Private_ExternMachs[] = {
2345 (const char*)NULL };
2348 * content selection pattern - do fix if pattern found
2350 tSCC zDarwin_Private_ExternSelect0[] =
2351 "__private_extern__ [a-z_]+ _dyld_";
2353 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2354 static tTestDesc aDarwin_Private_ExternTests[] = {
2355 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2358 * Fix Command Arguments for Darwin_Private_Extern
2360 static const char* apzDarwin_Private_ExternPatch[] = {
2363 "__private_extern__",
2366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2368 * Description of Darwin_Stdint_1 fix
2370 tSCC zDarwin_Stdint_1Name[] =
2374 * File name selection pattern
2376 tSCC zDarwin_Stdint_1List[] =
2377 "stdint-darwin.h\0stdint.h\0";
2379 * Machine/OS name selection pattern
2381 tSCC* apzDarwin_Stdint_1Machs[] = {
2383 (const char*)NULL };
2386 * content selection pattern - do fix if pattern found
2388 tSCC zDarwin_Stdint_1Select0[] =
2389 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2390 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2392 #define DARWIN_STDINT_1_TEST_CT 1
2393 static tTestDesc aDarwin_Stdint_1Tests[] = {
2394 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2397 * Fix Command Arguments for Darwin_Stdint_1
2399 static const char* apzDarwin_Stdint_1Patch[] = {
2401 "#define UINT8_C(v)\tv\n\
2402 #define UINT16_C(v)\tv",
2405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2407 * Description of Darwin_Stdint_2 fix
2409 tSCC zDarwin_Stdint_2Name[] =
2413 * File name selection pattern
2415 tSCC zDarwin_Stdint_2List[] =
2416 "stdint-darwin.h\0stdint.h\0";
2418 * Machine/OS name selection pattern
2420 tSCC* apzDarwin_Stdint_2Machs[] = {
2422 (const char*)NULL };
2425 * content selection pattern - do fix if pattern found
2427 tSCC zDarwin_Stdint_2Select0[] =
2428 "#if __WORDSIZE == 64\n\
2429 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2430 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2432 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2433 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2436 #define DARWIN_STDINT_2_TEST_CT 1
2437 static tTestDesc aDarwin_Stdint_2Tests[] = {
2438 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2441 * Fix Command Arguments for Darwin_Stdint_2
2443 static const char* apzDarwin_Stdint_2Patch[] = {
2445 "#if __WORDSIZE == 64\n\
2446 #define INTPTR_MAX 9223372036854775807L\n\
2447 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2449 #define INTPTR_MAX 2147483647L\n\
2450 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2456 * Description of Darwin_Stdint_3 fix
2458 tSCC zDarwin_Stdint_3Name[] =
2462 * File name selection pattern
2464 tSCC zDarwin_Stdint_3List[] =
2465 "stdint-darwin.h\0stdint.h\0";
2467 * Machine/OS name selection pattern
2469 tSCC* apzDarwin_Stdint_3Machs[] = {
2471 (const char*)NULL };
2474 * content selection pattern - do fix if pattern found
2476 tSCC zDarwin_Stdint_3Select0[] =
2477 "#if __WORDSIZE == 64\n\
2478 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2480 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2483 #define DARWIN_STDINT_3_TEST_CT 1
2484 static tTestDesc aDarwin_Stdint_3Tests[] = {
2485 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2488 * Fix Command Arguments for Darwin_Stdint_3
2490 static const char* apzDarwin_Stdint_3Patch[] = {
2492 "#if __WORDSIZE == 64\n\
2493 #define UINTPTR_MAX 18446744073709551615UL\n\
2495 #define UINTPTR_MAX 4294967295UL\n\
2499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2501 * Description of Darwin_Stdint_4 fix
2503 tSCC zDarwin_Stdint_4Name[] =
2507 * File name selection pattern
2509 tSCC zDarwin_Stdint_4List[] =
2510 "stdint-darwin.h\0stdint.h\0";
2512 * Machine/OS name selection pattern
2514 tSCC* apzDarwin_Stdint_4Machs[] = {
2516 (const char*)NULL };
2519 * content selection pattern - do fix if pattern found
2521 tSCC zDarwin_Stdint_4Select0[] =
2522 "#if __WORDSIZE == 64\n\
2523 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2525 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2528 #define DARWIN_STDINT_4_TEST_CT 1
2529 static tTestDesc aDarwin_Stdint_4Tests[] = {
2530 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2533 * Fix Command Arguments for Darwin_Stdint_4
2535 static const char* apzDarwin_Stdint_4Patch[] = {
2537 "#if __WORDSIZE == 64\n\
2538 #define SIZE_MAX 18446744073709551615UL\n\
2540 #define SIZE_MAX 4294967295UL\n\
2544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2546 * Description of Darwin_Stdint_5 fix
2548 tSCC zDarwin_Stdint_5Name[] =
2552 * File name selection pattern
2554 tSCC zDarwin_Stdint_5List[] =
2555 "stdint-darwin.h\0stdint.h\0";
2557 * Machine/OS name selection pattern
2559 tSCC* apzDarwin_Stdint_5Machs[] = {
2561 (const char*)NULL };
2564 * content selection pattern - do fix if pattern found
2566 tSCC zDarwin_Stdint_5Select0[] =
2567 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2568 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2569 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2571 #define DARWIN_STDINT_5_TEST_CT 1
2572 static tTestDesc aDarwin_Stdint_5Tests[] = {
2573 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2576 * Fix Command Arguments for Darwin_Stdint_5
2578 static const char* apzDarwin_Stdint_5Patch[] = {
2580 "#if __WORDSIZE == 64\n\
2581 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2582 #define INTMAX_MAX 9223372036854775807L\n\
2583 #define UINTMAX_MAX 18446744073709551615UL\n\
2585 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2586 #define INTMAX_MAX 9223372036854775807LL\n\
2587 #define UINTMAX_MAX 18446744073709551615ULL\n\
2591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2593 * Description of Darwin_Stdint_6 fix
2595 tSCC zDarwin_Stdint_6Name[] =
2599 * File name selection pattern
2601 tSCC zDarwin_Stdint_6List[] =
2602 "stdint-darwin.h\0stdint.h\0";
2604 * Machine/OS name selection pattern
2606 tSCC* apzDarwin_Stdint_6Machs[] = {
2608 (const char*)NULL };
2611 * content selection pattern - do fix if pattern found
2613 tSCC zDarwin_Stdint_6Select0[] =
2614 "#if __WORDSIZE == 64\n\
2615 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2616 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2618 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2619 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2622 #define DARWIN_STDINT_6_TEST_CT 1
2623 static tTestDesc aDarwin_Stdint_6Tests[] = {
2624 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2627 * Fix Command Arguments for Darwin_Stdint_6
2629 static const char* apzDarwin_Stdint_6Patch[] = {
2631 "#if __WORDSIZE == 64\n\
2632 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2633 #define PTRDIFF_MAX 9223372036854775807L\n\
2635 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2636 #define PTRDIFF_MAX 2147483647\n\
2640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2642 * Description of Darwin_Stdint_7 fix
2644 tSCC zDarwin_Stdint_7Name[] =
2648 * File name selection pattern
2650 tSCC zDarwin_Stdint_7List[] =
2651 "stdint-darwin.h\0stdint.h\0";
2653 * Machine/OS name selection pattern
2655 tSCC* apzDarwin_Stdint_7Machs[] = {
2657 (const char*)NULL };
2660 * content selection pattern - do fix if pattern found
2662 tSCC zDarwin_Stdint_7Select0[] =
2663 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2664 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2666 #define DARWIN_STDINT_7_TEST_CT 1
2667 static tTestDesc aDarwin_Stdint_7Tests[] = {
2668 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2671 * Fix Command Arguments for Darwin_Stdint_7
2673 static const char* apzDarwin_Stdint_7Patch[] = {
2675 "#if __WORDSIZE == 64\n\
2676 #define INTMAX_C(v) (v ## L)\n\
2677 #define UINTMAX_C(v) (v ## UL)\n\
2679 #define INTMAX_C(v) (v ## LL)\n\
2680 #define UINTMAX_C(v) (v ## ULL)\n\
2684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2686 * Description of Dec_Intern_Asm fix
2688 tSCC zDec_Intern_AsmName[] =
2692 * File name selection pattern
2694 tSCC zDec_Intern_AsmList[] =
2697 * Machine/OS name selection pattern
2699 #define apzDec_Intern_AsmMachs (const char**)NULL
2700 #define DEC_INTERN_ASM_TEST_CT 0
2701 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2704 * Fix Command Arguments for Dec_Intern_Asm
2706 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2707 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2709 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2715 * Description of Djgpp_Wchar_H fix
2717 tSCC zDjgpp_Wchar_HName[] =
2721 * File name selection pattern
2723 #define zDjgpp_Wchar_HList (char*)NULL
2725 * Machine/OS name selection pattern
2727 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2730 * content selection pattern - do fix if pattern found
2732 tSCC zDjgpp_Wchar_HSelect0[] =
2736 * content bypass pattern - skip fix if pattern found
2738 tSCC zDjgpp_Wchar_HBypass0[] =
2741 #define DJGPP_WCHAR_H_TEST_CT 2
2742 static tTestDesc aDjgpp_Wchar_HTests[] = {
2743 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2744 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2747 * Fix Command Arguments for Djgpp_Wchar_H
2749 static const char* apzDjgpp_Wchar_HPatch[] = {
2752 #include <sys/djtypes.h>",
2753 "#include <stddef.h>",
2756 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2758 * Description of Ecd_Cursor fix
2760 tSCC zEcd_CursorName[] =
2764 * File name selection pattern
2766 tSCC zEcd_CursorList[] =
2767 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2769 * Machine/OS name selection pattern
2771 #define apzEcd_CursorMachs (const char**)NULL
2774 * content selection pattern - do fix if pattern found
2776 tSCC zEcd_CursorSelect0[] =
2779 #define ECD_CURSOR_TEST_CT 1
2780 static tTestDesc aEcd_CursorTests[] = {
2781 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2784 * Fix Command Arguments for Ecd_Cursor
2786 static const char* apzEcd_CursorPatch[] = {
2791 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2793 * Description of Freebsd_Gcc3_Breakage fix
2795 tSCC zFreebsd_Gcc3_BreakageName[] =
2796 "freebsd_gcc3_breakage";
2799 * File name selection pattern
2801 tSCC zFreebsd_Gcc3_BreakageList[] =
2804 * Machine/OS name selection pattern
2806 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2808 (const char*)NULL };
2811 * content selection pattern - do fix if pattern found
2813 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2814 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2817 * content bypass pattern - skip fix if pattern found
2819 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2820 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2822 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2823 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2824 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2825 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2828 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2830 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2832 "%0 || __GNUC__ >= 3",
2835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2837 * Description of Freebsd_Gcc4_Breakage fix
2839 tSCC zFreebsd_Gcc4_BreakageName[] =
2840 "freebsd_gcc4_breakage";
2843 * File name selection pattern
2845 tSCC zFreebsd_Gcc4_BreakageList[] =
2848 * Machine/OS name selection pattern
2850 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2852 (const char*)NULL };
2855 * content selection pattern - do fix if pattern found
2857 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2858 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2860 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2861 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2862 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2865 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2867 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2869 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2874 * Description of Glibc_C99_Inline_1 fix
2876 tSCC zGlibc_C99_Inline_1Name[] =
2877 "glibc_c99_inline_1";
2880 * File name selection pattern
2882 tSCC zGlibc_C99_Inline_1List[] =
2883 "features.h\0*/features.h\0";
2885 * Machine/OS name selection pattern
2887 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2890 * content selection pattern - do fix if pattern found
2892 tSCC zGlibc_C99_Inline_1Select0[] =
2893 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2895 #define GLIBC_C99_INLINE_1_TEST_CT 1
2896 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2897 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2900 * Fix Command Arguments for Glibc_C99_Inline_1
2902 static const char* apzGlibc_C99_Inline_1Patch[] = {
2904 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2909 * Description of Glibc_C99_Inline_1a fix
2911 tSCC zGlibc_C99_Inline_1aName[] =
2912 "glibc_c99_inline_1a";
2915 * File name selection pattern
2917 tSCC zGlibc_C99_Inline_1aList[] =
2918 "features.h\0*/features.h\0";
2920 * Machine/OS name selection pattern
2922 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2925 * content selection pattern - do fix if pattern found
2927 tSCC zGlibc_C99_Inline_1aSelect0[] =
2928 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2929 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2931 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2932 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2933 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2936 * Fix Command Arguments for Glibc_C99_Inline_1a
2938 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2940 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2946 * Description of Glibc_C99_Inline_2 fix
2948 tSCC zGlibc_C99_Inline_2Name[] =
2949 "glibc_c99_inline_2";
2952 * File name selection pattern
2954 tSCC zGlibc_C99_Inline_2List[] =
2955 "sys/stat.h\0*/sys/stat.h\0";
2957 * Machine/OS name selection pattern
2959 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2962 * content selection pattern - do fix if pattern found
2964 tSCC zGlibc_C99_Inline_2Select0[] =
2965 "extern __inline__ int";
2967 #define GLIBC_C99_INLINE_2_TEST_CT 1
2968 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2969 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2972 * Fix Command Arguments for Glibc_C99_Inline_2
2974 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2975 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2978 __inline__ int \\1/",
2979 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2982 __inline__ int \\1/",
2983 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2986 __inline__ int \\1/",
2987 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2990 __inline__ int __REDIRECT\\1 (\\2/",
2991 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2994 __inline__ int __REDIRECT\\1 (\\2/",
2995 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3003 * Description of Glibc_C99_Inline_3 fix
3005 tSCC zGlibc_C99_Inline_3Name[] =
3006 "glibc_c99_inline_3";
3009 * File name selection pattern
3011 tSCC zGlibc_C99_Inline_3List[] =
3012 "bits/string2.h\0*/bits/string2.h\0";
3014 * Machine/OS name selection pattern
3016 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3019 * content selection pattern - do fix if pattern found
3021 tSCC zGlibc_C99_Inline_3Select0[] =
3025 * content bypass pattern - skip fix if pattern found
3027 tSCC zGlibc_C99_Inline_3Bypass0[] =
3028 "__extern_inline|__GNU_STDC_INLINE__";
3030 #define GLIBC_C99_INLINE_3_TEST_CT 2
3031 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3032 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3033 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3036 * Fix Command Arguments for Glibc_C99_Inline_3
3038 static const char* apzGlibc_C99_Inline_3Patch[] = {
3040 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3041 "^# ifdef __cplusplus$",
3044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3046 * Description of Glibc_C99_Inline_4 fix
3048 tSCC zGlibc_C99_Inline_4Name[] =
3049 "glibc_c99_inline_4";
3052 * File name selection pattern
3054 tSCC zGlibc_C99_Inline_4List[] =
3055 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
3057 * Machine/OS name selection pattern
3059 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3062 * content selection pattern - do fix if pattern found
3064 tSCC zGlibc_C99_Inline_4Select0[] =
3065 "(^| )extern __inline";
3068 * content bypass pattern - skip fix if pattern found
3070 tSCC zGlibc_C99_Inline_4Bypass0[] =
3071 "__extern_inline|__gnu_inline__";
3073 #define GLIBC_C99_INLINE_4_TEST_CT 2
3074 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3075 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3076 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3079 * Fix Command Arguments for Glibc_C99_Inline_4
3081 static const char* apzGlibc_C99_Inline_4Patch[] = {
3083 "%0 __attribute__ ((__gnu_inline__))",
3086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3088 * Description of Glibc_Mutex_Init fix
3090 tSCC zGlibc_Mutex_InitName[] =
3094 * File name selection pattern
3096 tSCC zGlibc_Mutex_InitList[] =
3099 * Machine/OS name selection pattern
3101 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3104 * content selection pattern - do fix if pattern found
3106 tSCC zGlibc_Mutex_InitSelect0[] =
3107 "\\{ *\\{ *0, *\\} *\\}";
3109 #define GLIBC_MUTEX_INIT_TEST_CT 1
3110 static tTestDesc aGlibc_Mutex_InitTests[] = {
3111 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3114 * Fix Command Arguments for Glibc_Mutex_Init
3116 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3117 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3119 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3121 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3122 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3123 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3124 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3125 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3126 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3127 "-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\
3129 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3132 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3134 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3135 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3140 * Description of Glibc_Stdint fix
3142 tSCC zGlibc_StdintName[] =
3146 * File name selection pattern
3148 tSCC zGlibc_StdintList[] =
3151 * Machine/OS name selection pattern
3153 #define apzGlibc_StdintMachs (const char**)NULL
3156 * content selection pattern - do fix if pattern found
3158 tSCC zGlibc_StdintSelect0[] =
3161 #define GLIBC_STDINT_TEST_CT 1
3162 static tTestDesc aGlibc_StdintTests[] = {
3163 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3166 * Fix Command Arguments for Glibc_Stdint
3168 static const char* apzGlibc_StdintPatch[] = {
3170 "# define UINT8_C(c)\tc\n\
3171 # define UINT16_C(c)\tc",
3172 "# define UINT8_C\\(c\\)\tc ## U\n\
3173 # define UINT16_C\\(c\\)\tc ## U",
3176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3178 * Description of Glibc_Strncpy fix
3180 tSCC zGlibc_StrncpyName[] =
3184 * File name selection pattern
3186 tSCC zGlibc_StrncpyList[] =
3189 * Machine/OS name selection pattern
3191 #define apzGlibc_StrncpyMachs (const char**)NULL
3194 * content bypass pattern - skip fix if pattern found
3196 tSCC zGlibc_StrncpyBypass0[] =
3197 "__builtin_strncpy";
3199 #define GLIBC_STRNCPY_TEST_CT 1
3200 static tTestDesc aGlibc_StrncpyTests[] = {
3201 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3204 * Fix Command Arguments for Glibc_Strncpy
3206 static const char* apzGlibc_StrncpyPatch[] = {
3208 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3209 "# define strncpy([^\n\
3215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3217 * Description of Glibc_Tgmath fix
3219 tSCC zGlibc_TgmathName[] =
3223 * File name selection pattern
3225 tSCC zGlibc_TgmathList[] =
3228 * Machine/OS name selection pattern
3230 #define apzGlibc_TgmathMachs (const char**)NULL
3233 * content selection pattern - do fix if pattern found
3235 tSCC zGlibc_TgmathSelect0[] =
3236 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3239 * content bypass pattern - skip fix if pattern found
3241 tSCC zGlibc_TgmathBypass0[] =
3242 "__floating_type\\(type\\) \\\\\n\
3243 .*__builtin_classify_type";
3245 #define GLIBC_TGMATH_TEST_CT 2
3246 static tTestDesc aGlibc_TgmathTests[] = {
3247 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3248 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3251 * Fix Command Arguments for Glibc_Tgmath
3253 static const char* apzGlibc_TgmathPatch[] = {
3255 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3260 * Description of Gnu_Types fix
3262 tSCC zGnu_TypesName[] =
3266 * File name selection pattern
3268 tSCC zGnu_TypesList[] =
3269 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3271 * Machine/OS name selection pattern
3273 tSCC* apzGnu_TypesMachs[] = {
3274 "*-*-solaris2.1[0-9]*",
3275 (const char*)NULL };
3278 * content selection pattern - do fix if pattern found
3280 tSCC zGnu_TypesSelect0[] =
3281 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3284 * content bypass pattern - skip fix if pattern found
3286 tSCC zGnu_TypesBypass0[] =
3287 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3289 #define GNU_TYPES_TEST_CT 2
3290 static tTestDesc aGnu_TypesTests[] = {
3291 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3292 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3295 * Fix Command Arguments for Gnu_Types
3297 static const char* apzGnu_TypesPatch[] = {
3301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3303 * Description of Hp_Inline fix
3305 tSCC zHp_InlineName[] =
3309 * File name selection pattern
3311 tSCC zHp_InlineList[] =
3312 "sys/spinlock.h\0machine/machparam.h\0";
3314 * Machine/OS name selection pattern
3316 #define apzHp_InlineMachs (const char**)NULL
3319 * content selection pattern - do fix if pattern found
3321 tSCC zHp_InlineSelect0[] =
3322 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3324 #define HP_INLINE_TEST_CT 1
3325 static tTestDesc aHp_InlineTests[] = {
3326 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3329 * Fix Command Arguments for Hp_Inline
3331 static const char* apzHp_InlinePatch[] = {
3334 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3337 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3339 * Description of Hp_Sysfile fix
3341 tSCC zHp_SysfileName[] =
3345 * File name selection pattern
3347 tSCC zHp_SysfileList[] =
3350 * Machine/OS name selection pattern
3352 #define apzHp_SysfileMachs (const char**)NULL
3355 * content selection pattern - do fix if pattern found
3357 tSCC zHp_SysfileSelect0[] =
3360 #define HP_SYSFILE_TEST_CT 1
3361 static tTestDesc aHp_SysfileTests[] = {
3362 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3365 * Fix Command Arguments for Hp_Sysfile
3367 static const char* apzHp_SysfilePatch[] = {
3369 "(struct file *, ...)",
3373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3375 * Description of Hppa_Hpux_Fp_Macros fix
3377 tSCC zHppa_Hpux_Fp_MacrosName[] =
3378 "hppa_hpux_fp_macros";
3381 * File name selection pattern
3383 tSCC zHppa_Hpux_Fp_MacrosList[] =
3386 * Machine/OS name selection pattern
3388 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3390 (const char*)NULL };
3393 * content selection pattern - do fix if pattern found
3395 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3396 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3397 #[ \t]*define[ \t]*FP_ZERO.*\n\
3398 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3399 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3400 #[ \t]*define[ \t]*FP_NAN.*\n";
3402 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3403 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3404 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3407 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3409 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3411 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3412 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3413 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3415 #ifdef _INCLUDE_HPUX_SOURCE\n",
3418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3420 * Description of Hpux10_Cpp_Pow_Inline fix
3422 tSCC zHpux10_Cpp_Pow_InlineName[] =
3423 "hpux10_cpp_pow_inline";
3426 * File name selection pattern
3428 tSCC zHpux10_Cpp_Pow_InlineList[] =
3429 "fixinc-test-limits.h\0math.h\0";
3431 * Machine/OS name selection pattern
3433 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3436 * content selection pattern - do fix if pattern found
3438 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3439 "^# +ifdef +__cplusplus\n\
3441 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3442 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3444 +extern +\"C\" +\\{\n\
3448 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3449 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3450 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3453 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3455 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3462 * Description of Hpux11_Cpp_Pow_Inline fix
3464 tSCC zHpux11_Cpp_Pow_InlineName[] =
3465 "hpux11_cpp_pow_inline";
3468 * File name selection pattern
3470 tSCC zHpux11_Cpp_Pow_InlineList[] =
3473 * Machine/OS name selection pattern
3475 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3478 * content selection pattern - do fix if pattern found
3480 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3481 " +inline double pow\\(double d,int expon\\) \\{\n\
3482 +return pow\\(d, \\(double\\)expon\\);\n\
3485 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3486 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3487 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3490 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3492 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3499 * Description of Hpux10_Ctype_Declarations1 fix
3501 tSCC zHpux10_Ctype_Declarations1Name[] =
3502 "hpux10_ctype_declarations1";
3505 * File name selection pattern
3507 tSCC zHpux10_Ctype_Declarations1List[] =
3510 * Machine/OS name selection pattern
3512 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3515 * content selection pattern - do fix if pattern found
3517 tSCC zHpux10_Ctype_Declarations1Select0[] =
3518 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3521 * content bypass pattern - skip fix if pattern found
3523 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3524 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3526 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3527 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3528 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3529 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3532 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3534 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3536 "#ifdef _PROTOTYPES\n\
3537 extern int __tolower(int);\n\
3538 extern int __toupper(int);\n\
3539 #else /* NOT _PROTOTYPES */\n\
3540 extern int __tolower();\n\
3541 extern int __toupper();\n\
3542 #endif /* _PROTOTYPES */\n\n\
3546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3548 * Description of Hpux10_Ctype_Declarations2 fix
3550 tSCC zHpux10_Ctype_Declarations2Name[] =
3551 "hpux10_ctype_declarations2";
3554 * File name selection pattern
3556 tSCC zHpux10_Ctype_Declarations2List[] =
3559 * Machine/OS name selection pattern
3561 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3564 * content selection pattern - do fix if pattern found
3566 tSCC zHpux10_Ctype_Declarations2Select0[] =
3567 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3570 * content bypass pattern - skip fix if pattern found
3572 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3573 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3575 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3576 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3577 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3578 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3581 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3583 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3586 #ifdef _PROTOTYPES\n\
3587 extern int _isalnum(int);\n\
3588 extern int _isalpha(int);\n\
3589 extern int _iscntrl(int);\n\
3590 extern int _isdigit(int);\n\
3591 extern int _isgraph(int);\n\
3592 extern int _islower(int);\n\
3593 extern int _isprint(int);\n\
3594 extern int _ispunct(int);\n\
3595 extern int _isspace(int);\n\
3596 extern int _isupper(int);\n\
3597 extern int _isxdigit(int);\n\
3598 # else /* not _PROTOTYPES */\n\
3599 extern int _isalnum();\n\
3600 extern int _isalpha();\n\
3601 extern int _iscntrl();\n\
3602 extern int _isdigit();\n\
3603 extern int _isgraph();\n\
3604 extern int _islower();\n\
3605 extern int _isprint();\n\
3606 extern int _ispunct();\n\
3607 extern int _isspace();\n\
3608 extern int _isupper();\n\
3609 extern int _isxdigit();\n\
3610 #endif /* _PROTOTYPES */\n",
3613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3615 * Description of Hpux10_Stdio_Declarations fix
3617 tSCC zHpux10_Stdio_DeclarationsName[] =
3618 "hpux10_stdio_declarations";
3621 * File name selection pattern
3623 tSCC zHpux10_Stdio_DeclarationsList[] =
3626 * Machine/OS name selection pattern
3628 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3631 * content selection pattern - do fix if pattern found
3633 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3634 "^#[ \t]*define _iob[ \t]*__iob";
3637 * content bypass pattern - skip fix if pattern found
3639 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3640 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3642 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3643 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3644 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3645 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3648 * Fix Command Arguments for Hpux10_Stdio_Declarations
3650 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3653 # if defined(__STDC__) || defined(__cplusplus)\n\
3654 extern int snprintf(char *, size_t, const char *, ...);\n\
3655 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3656 # else /* not __STDC__) || __cplusplus */\n\
3657 extern int snprintf();\n\
3658 extern int vsnprintf();\n\
3659 # endif /* __STDC__) || __cplusplus */\n",
3662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3664 * Description of Hpux11_Abs fix
3666 tSCC zHpux11_AbsName[] =
3670 * File name selection pattern
3672 tSCC zHpux11_AbsList[] =
3675 * Machine/OS name selection pattern
3677 tSCC* apzHpux11_AbsMachs[] = {
3679 (const char*)NULL };
3682 * content selection pattern - do fix if pattern found
3684 tSCC zHpux11_AbsSelect0[] =
3685 "ifndef _MATH_INCLUDED";
3687 #define HPUX11_ABS_TEST_CT 1
3688 static tTestDesc aHpux11_AbsTests[] = {
3689 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3692 * Fix Command Arguments for Hpux11_Abs
3694 static const char* apzHpux11_AbsPatch[] = {
3696 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3701 * Description of Hpux11_Fabsf fix
3703 tSCC zHpux11_FabsfName[] =
3707 * File name selection pattern
3709 tSCC zHpux11_FabsfList[] =
3712 * Machine/OS name selection pattern
3714 #define apzHpux11_FabsfMachs (const char**)NULL
3717 * content selection pattern - do fix if pattern found
3719 tSCC zHpux11_FabsfSelect0[] =
3720 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3723 * content bypass pattern - skip fix if pattern found
3725 tSCC zHpux11_FabsfBypass0[] =
3728 #define HPUX11_FABSF_TEST_CT 2
3729 static tTestDesc aHpux11_FabsfTests[] = {
3730 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3731 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3734 * Fix Command Arguments for Hpux11_Fabsf
3736 static const char* apzHpux11_FabsfPatch[] = {
3738 "#ifndef __cplusplus\n\
3743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3745 * Description of Hpux11_Pthread_Const fix
3747 tSCC zHpux11_Pthread_ConstName[] =
3748 "hpux11_pthread_const";
3751 * File name selection pattern
3753 tSCC zHpux11_Pthread_ConstList[] =
3756 * Machine/OS name selection pattern
3758 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3759 "*-hp-hpux11.[0-3]*",
3760 (const char*)NULL };
3763 * content selection pattern - do fix if pattern found
3765 tSCC zHpux11_Pthread_ConstSelect0[] =
3766 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3768 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3769 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3770 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3773 * Fix Command Arguments for Hpux11_Pthread_Const
3775 static const char* apzHpux11_Pthread_ConstPatch[] = {
3777 "#define __POINTER_SET\t\t((void *) 1L)",
3780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3782 * Description of Hpux11_Size_T fix
3784 tSCC zHpux11_Size_TName[] =
3788 * File name selection pattern
3790 #define zHpux11_Size_TList (char*)NULL
3792 * Machine/OS name selection pattern
3794 tSCC* apzHpux11_Size_TMachs[] = {
3796 (const char*)NULL };
3799 * content selection pattern - do fix if pattern found
3801 tSCC zHpux11_Size_TSelect0[] =
3804 #define HPUX11_SIZE_T_TEST_CT 1
3805 static tTestDesc aHpux11_Size_TTests[] = {
3806 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3809 * Fix Command Arguments for Hpux11_Size_T
3811 static const char* apzHpux11_Size_TPatch[] = {
3816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3818 * Description of Hpux11_Snprintf fix
3820 tSCC zHpux11_SnprintfName[] =
3824 * File name selection pattern
3826 tSCC zHpux11_SnprintfList[] =
3829 * Machine/OS name selection pattern
3831 #define apzHpux11_SnprintfMachs (const char**)NULL
3834 * content selection pattern - do fix if pattern found
3836 tSCC zHpux11_SnprintfSelect0[] =
3837 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3839 #define HPUX11_SNPRINTF_TEST_CT 1
3840 static tTestDesc aHpux11_SnprintfTests[] = {
3841 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3844 * Fix Command Arguments for Hpux11_Snprintf
3846 static const char* apzHpux11_SnprintfPatch[] = {
3851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3853 * Description of Hpux11_Vsnprintf fix
3855 tSCC zHpux11_VsnprintfName[] =
3859 * File name selection pattern
3861 tSCC zHpux11_VsnprintfList[] =
3864 * Machine/OS name selection pattern
3866 #define apzHpux11_VsnprintfMachs (const char**)NULL
3869 * content selection pattern - do fix if pattern found
3871 tSCC zHpux11_VsnprintfSelect0[] =
3872 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3874 #define HPUX11_VSNPRINTF_TEST_CT 1
3875 static tTestDesc aHpux11_VsnprintfTests[] = {
3876 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3879 * Fix Command Arguments for Hpux11_Vsnprintf
3881 static const char* apzHpux11_VsnprintfPatch[] = {
3886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3888 * Description of Hpux8_Bogus_Inlines fix
3890 tSCC zHpux8_Bogus_InlinesName[] =
3891 "hpux8_bogus_inlines";
3894 * File name selection pattern
3896 tSCC zHpux8_Bogus_InlinesList[] =
3899 * Machine/OS name selection pattern
3901 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3904 * content selection pattern - do fix if pattern found
3906 tSCC zHpux8_Bogus_InlinesSelect0[] =
3910 * content bypass pattern - skip fix if pattern found
3912 tSCC zHpux8_Bogus_InlinesBypass0[] =
3915 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3916 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3917 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3918 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3921 * Fix Command Arguments for Hpux8_Bogus_Inlines
3923 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3924 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3925 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3926 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3927 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3930 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3932 * Description of Hpux_Ctype_Macros fix
3934 tSCC zHpux_Ctype_MacrosName[] =
3935 "hpux_ctype_macros";
3938 * File name selection pattern
3940 tSCC zHpux_Ctype_MacrosList[] =
3943 * Machine/OS name selection pattern
3945 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3948 * content selection pattern - do fix if pattern found
3950 tSCC zHpux_Ctype_MacrosSelect0[] =
3951 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3953 #define HPUX_CTYPE_MACROS_TEST_CT 1
3954 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3955 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3958 * Fix Command Arguments for Hpux_Ctype_Macros
3960 static const char* apzHpux_Ctype_MacrosPatch[] = {
3965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3967 * Description of Hpux_Htonl fix
3969 tSCC zHpux_HtonlName[] =
3973 * File name selection pattern
3975 tSCC zHpux_HtonlList[] =
3978 * Machine/OS name selection pattern
3980 #define apzHpux_HtonlMachs (const char**)NULL
3983 * content selection pattern - do fix if pattern found
3985 tSCC zHpux_HtonlSelect0[] =
3986 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
3988 \\* Macros for number representation conversion\\.\n\
3992 #define HPUX_HTONL_TEST_CT 1
3993 static tTestDesc aHpux_HtonlTests[] = {
3994 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3997 * Fix Command Arguments for Hpux_Htonl
3999 static const char* apzHpux_HtonlPatch[] = {
4005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4007 * Description of Hpux_Long_Double fix
4009 tSCC zHpux_Long_DoubleName[] =
4013 * File name selection pattern
4015 tSCC zHpux_Long_DoubleList[] =
4018 * Machine/OS name selection pattern
4020 tSCC* apzHpux_Long_DoubleMachs[] = {
4022 "*-*-hpux11.[012]*",
4023 (const char*)NULL };
4026 * content selection pattern - do fix if pattern found
4028 tSCC zHpux_Long_DoubleSelect0[] =
4029 "extern[ \t]long_double[ \t]strtold";
4032 * content bypass pattern - skip fix if pattern found
4034 tSCC zHpux_Long_DoubleBypass0[] =
4037 #define HPUX_LONG_DOUBLE_TEST_CT 2
4038 static tTestDesc aHpux_Long_DoubleTests[] = {
4039 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4040 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4043 * Fix Command Arguments for Hpux_Long_Double
4045 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4046 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4047 "-e", "s/long_double/long double/g",
4050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4052 * Description of Hpux_Long_Double_2 fix
4054 tSCC zHpux_Long_Double_2Name[] =
4055 "hpux_long_double_2";
4058 * File name selection pattern
4060 tSCC zHpux_Long_Double_2List[] =
4063 * Machine/OS name selection pattern
4065 tSCC* apzHpux_Long_Double_2Machs[] = {
4066 "hppa*-*-hpux11.3*",
4067 (const char*)NULL };
4070 * content selection pattern - do fix if pattern found
4072 tSCC zHpux_Long_Double_2Select0[] =
4073 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4075 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
4076 static tTestDesc aHpux_Long_Double_2Tests[] = {
4077 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4080 * Fix Command Arguments for Hpux_Long_Double_2
4082 static const char* apzHpux_Long_Double_2Patch[] = {
4084 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4087 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4089 * Description of Hpux_Systime fix
4091 tSCC zHpux_SystimeName[] =
4095 * File name selection pattern
4097 tSCC zHpux_SystimeList[] =
4100 * Machine/OS name selection pattern
4102 #define apzHpux_SystimeMachs (const char**)NULL
4105 * content selection pattern - do fix if pattern found
4107 tSCC zHpux_SystimeSelect0[] =
4108 "^extern struct sigevent;";
4110 #define HPUX_SYSTIME_TEST_CT 1
4111 static tTestDesc aHpux_SystimeTests[] = {
4112 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
4115 * Fix Command Arguments for Hpux_Systime
4117 static const char* apzHpux_SystimePatch[] = {
4122 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4124 * Description of Hpux_Spu_Info fix
4126 tSCC zHpux_Spu_InfoName[] =
4130 * File name selection pattern
4132 tSCC zHpux_Spu_InfoList[] =
4133 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
4135 * Machine/OS name selection pattern
4137 tSCC* apzHpux_Spu_InfoMachs[] = {
4139 (const char*)NULL };
4142 * content selection pattern - do fix if pattern found
4144 tSCC zHpux_Spu_InfoSelect0[] =
4145 "^.*extern.*spu_info.*";
4147 #define HPUX_SPU_INFO_TEST_CT 1
4148 static tTestDesc aHpux_Spu_InfoTests[] = {
4149 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
4152 * Fix Command Arguments for Hpux_Spu_Info
4154 static const char* apzHpux_Spu_InfoPatch[] = {
4161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4163 * Description of Hpux11_Extern_Sendfile fix
4165 tSCC zHpux11_Extern_SendfileName[] =
4166 "hpux11_extern_sendfile";
4169 * File name selection pattern
4171 tSCC zHpux11_Extern_SendfileList[] =
4174 * Machine/OS name selection pattern
4176 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4177 "*-hp-hpux11.[12]*",
4178 (const char*)NULL };
4181 * content selection pattern - do fix if pattern found
4183 tSCC zHpux11_Extern_SendfileSelect0[] =
4184 "^[ \t]*extern sbsize_t sendfile.*\n\
4187 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4188 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4189 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4192 * Fix Command Arguments for Hpux11_Extern_Sendfile
4194 static const char* apzHpux11_Extern_SendfilePatch[] = {
4196 "#ifndef _APP32_64BIT_OFF_T\n\
4200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4202 * Description of Hpux11_Extern_Sendpath fix
4204 tSCC zHpux11_Extern_SendpathName[] =
4205 "hpux11_extern_sendpath";
4208 * File name selection pattern
4210 tSCC zHpux11_Extern_SendpathList[] =
4213 * Machine/OS name selection pattern
4215 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4216 "*-hp-hpux11.[12]*",
4217 (const char*)NULL };
4220 * content selection pattern - do fix if pattern found
4222 tSCC zHpux11_Extern_SendpathSelect0[] =
4223 "^[ \t]*extern sbsize_t sendpath.*\n\
4226 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4227 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4228 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4231 * Fix Command Arguments for Hpux11_Extern_Sendpath
4233 static const char* apzHpux11_Extern_SendpathPatch[] = {
4235 "#ifndef _APP32_64BIT_OFF_T\n\
4239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4241 * Description of Hpux_Extern_Errno fix
4243 tSCC zHpux_Extern_ErrnoName[] =
4244 "hpux_extern_errno";
4247 * File name selection pattern
4249 tSCC zHpux_Extern_ErrnoList[] =
4252 * Machine/OS name selection pattern
4254 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4256 "*-hp-hpux11.[0-2]*",
4257 (const char*)NULL };
4260 * content selection pattern - do fix if pattern found
4262 tSCC zHpux_Extern_ErrnoSelect0[] =
4263 "^[ \t]*extern int errno;$";
4265 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4266 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4267 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4270 * Fix Command Arguments for Hpux_Extern_Errno
4272 static const char* apzHpux_Extern_ErrnoPatch[] = {
4274 "#ifdef __cplusplus\n\
4278 #ifdef __cplusplus\n\
4283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4285 * Description of Hpux_Pthread_Initializers fix
4287 tSCC zHpux_Pthread_InitializersName[] =
4288 "hpux_pthread_initializers";
4291 * File name selection pattern
4293 tSCC zHpux_Pthread_InitializersList[] =
4296 * Machine/OS name selection pattern
4298 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4299 "*-hp-hpux11.[0-3]*",
4300 (const char*)NULL };
4301 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
4302 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
4305 * Fix Command Arguments for Hpux_Pthread_Initializers
4307 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4308 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4309 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4310 "-e", "/^[ \t]*0$/d",
4311 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4312 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4313 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4314 "-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\\\\@",
4315 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4316 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4317 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4318 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4319 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4320 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4323 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4325 * Description of Hpux_C99_Intptr fix
4327 tSCC zHpux_C99_IntptrName[] =
4331 * File name selection pattern
4333 tSCC zHpux_C99_IntptrList[] =
4334 "stdint-hpux11.h\0stdint.h\0";
4336 * Machine/OS name selection pattern
4338 tSCC* apzHpux_C99_IntptrMachs[] = {
4340 (const char*)NULL };
4341 #define HPUX_C99_INTPTR_TEST_CT 0
4342 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4345 * Fix Command Arguments for Hpux_C99_Intptr
4347 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4348 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4349 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4350 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4351 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4352 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4353 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4358 * Description of Hpux_C99_Inttypes fix
4360 tSCC zHpux_C99_InttypesName[] =
4361 "hpux_c99_inttypes";
4364 * File name selection pattern
4366 tSCC zHpux_C99_InttypesList[] =
4367 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4369 * Machine/OS name selection pattern
4371 tSCC* apzHpux_C99_InttypesMachs[] = {
4372 "*-hp-hpux11.[23]*",
4373 (const char*)NULL };
4374 #define HPUX_C99_INTTYPES_TEST_CT 0
4375 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4378 * Fix Command Arguments for Hpux_C99_Inttypes
4380 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4381 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4382 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4383 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4384 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4387 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4389 * Description of Hpux_C99_Inttypes2 fix
4391 tSCC zHpux_C99_Inttypes2Name[] =
4392 "hpux_c99_inttypes2";
4395 * File name selection pattern
4397 tSCC zHpux_C99_Inttypes2List[] =
4398 "stdint-hpux11.h\0stdint.h\0";
4400 * Machine/OS name selection pattern
4402 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4404 (const char*)NULL };
4405 #define HPUX_C99_INTTYPES2_TEST_CT 0
4406 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4409 * Fix Command Arguments for Hpux_C99_Inttypes2
4411 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4412 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4413 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4414 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4415 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4420 * Description of Hpux_Stdint_Least_Fast fix
4422 tSCC zHpux_Stdint_Least_FastName[] =
4423 "hpux_stdint_least_fast";
4426 * File name selection pattern
4428 tSCC zHpux_Stdint_Least_FastList[] =
4429 "stdint-hpux11.h\0stdint.h\0";
4431 * Machine/OS name selection pattern
4433 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4435 (const char*)NULL };
4438 * content selection pattern - do fix if pattern found
4440 tSCC zHpux_Stdint_Least_FastSelect0[] =
4441 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4443 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4444 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4445 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4448 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4450 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4452 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4457 * Description of Hpux_Inttype_Int8_T fix
4459 tSCC zHpux_Inttype_Int8_TName[] =
4460 "hpux_inttype_int8_t";
4463 * File name selection pattern
4465 tSCC zHpux_Inttype_Int8_TList[] =
4466 "sys/_inttypes.h\0";
4468 * Machine/OS name selection pattern
4470 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4472 (const char*)NULL };
4475 * content selection pattern - do fix if pattern found
4477 tSCC zHpux_Inttype_Int8_TSelect0[] =
4478 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4480 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4481 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4482 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4485 * Fix Command Arguments for Hpux_Inttype_Int8_T
4487 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4489 "typedef signed char int%18_t;",
4492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4494 * Description of Hpux_Imaginary_I fix
4496 tSCC zHpux_Imaginary_IName[] =
4500 * File name selection pattern
4502 tSCC zHpux_Imaginary_IList[] =
4505 * Machine/OS name selection pattern
4507 tSCC* apzHpux_Imaginary_IMachs[] = {
4509 (const char*)NULL };
4512 * content selection pattern - do fix if pattern found
4514 tSCC zHpux_Imaginary_ISelect0[] =
4515 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4517 #define HPUX_IMAGINARY_I_TEST_CT 1
4518 static tTestDesc aHpux_Imaginary_ITests[] = {
4519 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4522 * Fix Command Arguments for Hpux_Imaginary_I
4524 static const char* apzHpux_Imaginary_IPatch[] = {
4526 "#define _Complex_I (__extension__ 1.0iF)",
4529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4531 * Description of Huge_Val_Hex fix
4533 tSCC zHuge_Val_HexName[] =
4537 * File name selection pattern
4539 tSCC zHuge_Val_HexList[] =
4540 "bits/huge_val.h\0";
4542 * Machine/OS name selection pattern
4544 #define apzHuge_Val_HexMachs (const char**)NULL
4547 * content selection pattern - do fix if pattern found
4549 tSCC zHuge_Val_HexSelect0[] =
4550 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4553 * content bypass pattern - skip fix if pattern found
4555 tSCC zHuge_Val_HexBypass0[] =
4556 "__builtin_huge_val";
4558 #define HUGE_VAL_HEX_TEST_CT 2
4559 static tTestDesc aHuge_Val_HexTests[] = {
4560 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4561 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4564 * Fix Command Arguments for Huge_Val_Hex
4566 static const char* apzHuge_Val_HexPatch[] = {
4568 "#define HUGE_VAL (__builtin_huge_val())\n",
4571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4573 * Description of Huge_Valf_Hex fix
4575 tSCC zHuge_Valf_HexName[] =
4579 * File name selection pattern
4581 tSCC zHuge_Valf_HexList[] =
4582 "bits/huge_val.h\0";
4584 * Machine/OS name selection pattern
4586 #define apzHuge_Valf_HexMachs (const char**)NULL
4589 * content selection pattern - do fix if pattern found
4591 tSCC zHuge_Valf_HexSelect0[] =
4592 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4595 * content bypass pattern - skip fix if pattern found
4597 tSCC zHuge_Valf_HexBypass0[] =
4598 "__builtin_huge_valf";
4600 #define HUGE_VALF_HEX_TEST_CT 2
4601 static tTestDesc aHuge_Valf_HexTests[] = {
4602 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4603 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4606 * Fix Command Arguments for Huge_Valf_Hex
4608 static const char* apzHuge_Valf_HexPatch[] = {
4610 "#define HUGE_VALF (__builtin_huge_valf())\n",
4613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4615 * Description of Huge_Vall_Hex fix
4617 tSCC zHuge_Vall_HexName[] =
4621 * File name selection pattern
4623 tSCC zHuge_Vall_HexList[] =
4624 "bits/huge_val.h\0";
4626 * Machine/OS name selection pattern
4628 #define apzHuge_Vall_HexMachs (const char**)NULL
4631 * content selection pattern - do fix if pattern found
4633 tSCC zHuge_Vall_HexSelect0[] =
4634 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4637 * content bypass pattern - skip fix if pattern found
4639 tSCC zHuge_Vall_HexBypass0[] =
4640 "__builtin_huge_vall";
4642 #define HUGE_VALL_HEX_TEST_CT 2
4643 static tTestDesc aHuge_Vall_HexTests[] = {
4644 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4645 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4648 * Fix Command Arguments for Huge_Vall_Hex
4650 static const char* apzHuge_Vall_HexPatch[] = {
4652 "#define HUGE_VALL (__builtin_huge_vall())\n",
4655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4657 * Description of Int_Abort_Free_And_Exit fix
4659 tSCC zInt_Abort_Free_And_ExitName[] =
4660 "int_abort_free_and_exit";
4663 * File name selection pattern
4665 tSCC zInt_Abort_Free_And_ExitList[] =
4668 * Machine/OS name selection pattern
4670 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4673 * content selection pattern - do fix if pattern found
4675 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4676 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4679 * content bypass pattern - skip fix if pattern found
4681 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4682 "_CLASSIC_ANSI_TYPES";
4684 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4685 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4686 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4687 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4690 * Fix Command Arguments for Int_Abort_Free_And_Exit
4692 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4699 * Description of Io_Quotes_Def fix
4701 tSCC zIo_Quotes_DefName[] =
4705 * File name selection pattern
4707 #define zIo_Quotes_DefList (char*)NULL
4709 * Machine/OS name selection pattern
4711 #define apzIo_Quotes_DefMachs (const char**)NULL
4714 * content selection pattern - do fix if pattern found
4716 tSCC zIo_Quotes_DefSelect0[] =
4717 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4719 #define IO_QUOTES_DEF_TEST_CT 1
4720 static tTestDesc aIo_Quotes_DefTests[] = {
4721 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4724 * Fix Command Arguments for Io_Quotes_Def
4726 static const char* apzIo_Quotes_DefPatch[] = {
4731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4733 * Description of Io_Quotes_Use fix
4735 tSCC zIo_Quotes_UseName[] =
4739 * File name selection pattern
4741 #define zIo_Quotes_UseList (char*)NULL
4743 * Machine/OS name selection pattern
4745 #define apzIo_Quotes_UseMachs (const char**)NULL
4748 * content selection pattern - do fix if pattern found
4750 tSCC zIo_Quotes_UseSelect0[] =
4751 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4753 #define IO_QUOTES_USE_TEST_CT 1
4754 static tTestDesc aIo_Quotes_UseTests[] = {
4755 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4758 * Fix Command Arguments for Io_Quotes_Use
4760 static const char* apzIo_Quotes_UsePatch[] = {
4765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4767 * Description of Ip_Missing_Semi fix
4769 tSCC zIp_Missing_SemiName[] =
4773 * File name selection pattern
4775 tSCC zIp_Missing_SemiList[] =
4778 * Machine/OS name selection pattern
4780 #define apzIp_Missing_SemiMachs (const char**)NULL
4783 * content selection pattern - do fix if pattern found
4785 tSCC zIp_Missing_SemiSelect0[] =
4788 #define IP_MISSING_SEMI_TEST_CT 1
4789 static tTestDesc aIp_Missing_SemiTests[] = {
4790 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4793 * Fix Command Arguments for Ip_Missing_Semi
4795 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4796 "-e", "/^struct/,/^};/s/}$/};/",
4799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4801 * Description of Irix_Limits_Const fix
4803 tSCC zIrix_Limits_ConstName[] =
4804 "irix_limits_const";
4807 * File name selection pattern
4809 tSCC zIrix_Limits_ConstList[] =
4810 "fixinc-test-limits.h\0limits.h\0";
4812 * Machine/OS name selection pattern
4814 #define apzIrix_Limits_ConstMachs (const char**)NULL
4817 * content selection pattern - do fix if pattern found
4819 tSCC zIrix_Limits_ConstSelect0[] =
4822 #define IRIX_LIMITS_CONST_TEST_CT 1
4823 static tTestDesc aIrix_Limits_ConstTests[] = {
4824 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4827 * Fix Command Arguments for Irix_Limits_Const
4829 static const char* apzIrix_Limits_ConstPatch[] = {
4834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4836 * Description of Irix_Stdio_Va_List fix
4838 tSCC zIrix_Stdio_Va_ListName[] =
4839 "irix_stdio_va_list";
4842 * File name selection pattern
4844 tSCC zIrix_Stdio_Va_ListList[] =
4847 * Machine/OS name selection pattern
4849 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4852 * content selection pattern - do fix if pattern found
4854 tSCC zIrix_Stdio_Va_ListSelect0[] =
4855 "/\\* va_list \\*/ char \\*";
4857 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4858 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4859 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4862 * Fix Command Arguments for Irix_Stdio_Va_List
4864 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4871 * Description of Kandr_Concat fix
4873 tSCC zKandr_ConcatName[] =
4877 * File name selection pattern
4879 tSCC zKandr_ConcatList[] =
4880 "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";
4882 * Machine/OS name selection pattern
4884 #define apzKandr_ConcatMachs (const char**)NULL
4887 * content selection pattern - do fix if pattern found
4889 tSCC zKandr_ConcatSelect0[] =
4892 #define KANDR_CONCAT_TEST_CT 1
4893 static tTestDesc aKandr_ConcatTests[] = {
4894 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4897 * Fix Command Arguments for Kandr_Concat
4899 static const char* apzKandr_ConcatPatch[] = {
4904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4906 * Description of Linux_Ia64_Ucontext fix
4908 tSCC zLinux_Ia64_UcontextName[] =
4909 "linux_ia64_ucontext";
4912 * File name selection pattern
4914 tSCC zLinux_Ia64_UcontextList[] =
4917 * Machine/OS name selection pattern
4919 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4921 (const char*)NULL };
4924 * content selection pattern - do fix if pattern found
4926 tSCC zLinux_Ia64_UcontextSelect0[] =
4927 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4929 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4930 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4931 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4934 * Fix Command Arguments for Linux_Ia64_Ucontext
4936 static const char* apzLinux_Ia64_UcontextPatch[] = {
4938 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4943 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4945 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4946 "lynxos_no_warning_in_sys_time_h";
4949 * File name selection pattern
4951 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4954 * Machine/OS name selection pattern
4956 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4959 * content selection pattern - do fix if pattern found
4961 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4962 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4964 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4965 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4966 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4969 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4971 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4978 * Description of Lynxos_Missing_Putenv fix
4980 tSCC zLynxos_Missing_PutenvName[] =
4981 "lynxos_missing_putenv";
4984 * File name selection pattern
4986 tSCC zLynxos_Missing_PutenvList[] =
4989 * Machine/OS name selection pattern
4991 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4993 (const char*)NULL };
4996 * content selection pattern - do fix if pattern found
4998 tSCC zLynxos_Missing_PutenvSelect0[] =
4999 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5002 * content bypass pattern - skip fix if pattern found
5004 tSCC zLynxos_Missing_PutenvBypass0[] =
5007 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5008 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5009 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5010 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5013 * Fix Command Arguments for Lynxos_Missing_Putenv
5015 static const char* apzLynxos_Missing_PutenvPatch[] = {
5018 extern int putenv\t\t\t\t_AP((char *));",
5019 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5022 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5024 * Description of Machine_Ansi_H_Va_List fix
5026 tSCC zMachine_Ansi_H_Va_ListName[] =
5027 "machine_ansi_h_va_list";
5030 * File name selection pattern
5032 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5034 * Machine/OS name selection pattern
5036 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5039 * content selection pattern - do fix if pattern found
5041 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5042 "define[ \t]+_BSD_VA_LIST_[ \t]";
5045 * content bypass pattern - skip fix if pattern found
5047 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5048 "__builtin_va_list";
5050 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5051 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5052 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5053 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5056 * Fix Command Arguments for Machine_Ansi_H_Va_List
5058 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5060 "%1__builtin_va_list",
5061 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5066 * Description of Machine_Name fix
5068 tSCC zMachine_NameName[] =
5072 * File name selection pattern
5074 #define zMachine_NameList (char*)NULL
5076 * Machine/OS name selection pattern
5078 #define apzMachine_NameMachs (const char**)NULL
5081 * perform the C function call test
5083 tSCC zMachine_NameFTst0[] = "machine_name";
5085 #define MACHINE_NAME_TEST_CT 1
5086 static tTestDesc aMachine_NameTests[] = {
5087 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5090 * Fix Command Arguments for Machine_Name
5092 static const char* apzMachine_NamePatch[] = {
5096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5098 * Description of Math_Exception fix
5100 tSCC zMath_ExceptionName[] =
5104 * File name selection pattern
5106 tSCC zMath_ExceptionList[] =
5109 * Machine/OS name selection pattern
5111 #define apzMath_ExceptionMachs (const char**)NULL
5114 * content selection pattern - do fix if pattern found
5116 tSCC zMath_ExceptionSelect0[] =
5120 * content bypass pattern - skip fix if pattern found
5122 tSCC zMath_ExceptionBypass0[] =
5123 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5125 #define MATH_EXCEPTION_TEST_CT 2
5126 static tTestDesc aMath_ExceptionTests[] = {
5127 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5128 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5131 * Fix Command Arguments for Math_Exception
5133 static const char* apzMath_ExceptionPatch[] = {
5135 "#ifdef __cplusplus\n\
5136 #define exception __math_exception\n\
5138 "#ifdef __cplusplus\n\
5143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5145 * Description of Math_Huge_Val_From_Dbl_Max fix
5147 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5148 "math_huge_val_from_dbl_max";
5151 * File name selection pattern
5153 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5156 * Machine/OS name selection pattern
5158 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5161 * content selection pattern - do fix if pattern found
5163 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5164 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5167 * content bypass pattern - skip fix if pattern found
5169 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5170 "define[ \t]+DBL_MAX";
5172 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5173 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5174 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5175 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5178 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5180 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5181 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5182 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5183 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5190 * Description of Nested_Auth_Des fix
5192 tSCC zNested_Auth_DesName[] =
5196 * File name selection pattern
5198 tSCC zNested_Auth_DesList[] =
5201 * Machine/OS name selection pattern
5203 #define apzNested_Auth_DesMachs (const char**)NULL
5206 * content selection pattern - do fix if pattern found
5208 tSCC zNested_Auth_DesSelect0[] =
5209 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5211 #define NESTED_AUTH_DES_TEST_CT 1
5212 static tTestDesc aNested_Auth_DesTests[] = {
5213 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5216 * Fix Command Arguments for Nested_Auth_Des
5218 static const char* apzNested_Auth_DesPatch[] = {
5223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5225 * Description of Netbsd_C99_Inline_1 fix
5227 tSCC zNetbsd_C99_Inline_1Name[] =
5228 "netbsd_c99_inline_1";
5231 * File name selection pattern
5233 tSCC zNetbsd_C99_Inline_1List[] =
5236 * Machine/OS name selection pattern
5238 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5240 (const char*)NULL };
5243 * content selection pattern - do fix if pattern found
5245 tSCC zNetbsd_C99_Inline_1Select0[] =
5246 "extern __inline int";
5248 #define NETBSD_C99_INLINE_1_TEST_CT 1
5249 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5250 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5253 * Fix Command Arguments for Netbsd_C99_Inline_1
5255 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5258 #ifdef __GNUC_STDC_INLINE__\n\
5259 __attribute__((__gnu_inline__))\n\
5264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5266 * Description of Netbsd_C99_Inline_2 fix
5268 tSCC zNetbsd_C99_Inline_2Name[] =
5269 "netbsd_c99_inline_2";
5272 * File name selection pattern
5274 tSCC zNetbsd_C99_Inline_2List[] =
5277 * Machine/OS name selection pattern
5279 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5281 (const char*)NULL };
5284 * content selection pattern - do fix if pattern found
5286 tSCC zNetbsd_C99_Inline_2Select0[] =
5287 "#define _SIGINLINE extern __inline";
5289 #define NETBSD_C99_INLINE_2_TEST_CT 1
5290 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5291 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5294 * Fix Command Arguments for Netbsd_C99_Inline_2
5296 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5298 "#ifdef __GNUC_STDC_INLINE__\n\
5299 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5307 * Description of Netbsd_Extra_Semicolon fix
5309 tSCC zNetbsd_Extra_SemicolonName[] =
5310 "netbsd_extra_semicolon";
5313 * File name selection pattern
5315 tSCC zNetbsd_Extra_SemicolonList[] =
5318 * Machine/OS name selection pattern
5320 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5322 (const char*)NULL };
5325 * content selection pattern - do fix if pattern found
5327 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5328 "#define[ \t]*__END_DECLS[ \t]*};";
5330 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5331 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5332 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5335 * Fix Command Arguments for Netbsd_Extra_Semicolon
5337 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5339 "#define __END_DECLS }",
5342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5344 * Description of Newlib_Stdint_1 fix
5346 tSCC zNewlib_Stdint_1Name[] =
5350 * File name selection pattern
5352 tSCC zNewlib_Stdint_1List[] =
5353 "stdint-newlib.h\0stdint.h\0";
5355 * Machine/OS name selection pattern
5357 #define apzNewlib_Stdint_1Machs (const char**)NULL
5360 * content selection pattern - do fix if pattern found
5362 tSCC zNewlib_Stdint_1Select0[] =
5363 "@todo - Add support for wint_t types";
5365 #define NEWLIB_STDINT_1_TEST_CT 1
5366 static tTestDesc aNewlib_Stdint_1Tests[] = {
5367 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5370 * Fix Command Arguments for Newlib_Stdint_1
5372 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5373 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5374 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5375 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5376 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5377 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5378 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5379 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5380 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5381 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5382 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5383 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5384 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5385 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5386 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5391 * Description of Newlib_Stdint_2 fix
5393 tSCC zNewlib_Stdint_2Name[] =
5397 * File name selection pattern
5399 tSCC zNewlib_Stdint_2List[] =
5400 "stdint-newlib.h\0stdint.h\0";
5402 * Machine/OS name selection pattern
5404 #define apzNewlib_Stdint_2Machs (const char**)NULL
5407 * content selection pattern - do fix if pattern found
5409 tSCC zNewlib_Stdint_2Select0[] =
5410 "@todo - Add support for wint_t types";
5412 #define NEWLIB_STDINT_2_TEST_CT 1
5413 static tTestDesc aNewlib_Stdint_2Tests[] = {
5414 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5417 * Fix Command Arguments for Newlib_Stdint_2
5419 static const char* apzNewlib_Stdint_2Patch[] = {
5421 "#define INTMAX_MAX __INTMAX_MAX__\n\
5422 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5423 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5424 #define WCHAR_MAX __WCHAR_MAX__\n\
5425 #define WCHAR_MIN __WCHAR_MIN__\n\
5426 #define WINT_MAX __WINT_MAX__\n\
5427 #define WINT_MIN __WINT_MIN__\n\n\
5429 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5434 * Description of Next_Math_Prefix fix
5436 tSCC zNext_Math_PrefixName[] =
5440 * File name selection pattern
5442 tSCC zNext_Math_PrefixList[] =
5445 * Machine/OS name selection pattern
5447 #define apzNext_Math_PrefixMachs (const char**)NULL
5450 * content selection pattern - do fix if pattern found
5452 tSCC zNext_Math_PrefixSelect0[] =
5453 "^extern[ \t]+double[ \t]+__const__[ \t]";
5455 #define NEXT_MATH_PREFIX_TEST_CT 1
5456 static tTestDesc aNext_Math_PrefixTests[] = {
5457 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5460 * Fix Command Arguments for Next_Math_Prefix
5462 static const char* apzNext_Math_PrefixPatch[] = {
5464 "extern double %1(",
5465 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5470 * Description of Next_Template fix
5472 tSCC zNext_TemplateName[] =
5476 * File name selection pattern
5478 tSCC zNext_TemplateList[] =
5481 * Machine/OS name selection pattern
5483 #define apzNext_TemplateMachs (const char**)NULL
5486 * content selection pattern - do fix if pattern found
5488 tSCC zNext_TemplateSelect0[] =
5491 #define NEXT_TEMPLATE_TEST_CT 1
5492 static tTestDesc aNext_TemplateTests[] = {
5493 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5496 * Fix Command Arguments for Next_Template
5498 static const char* apzNext_TemplatePatch[] = {
5501 "\\(([^)]*)[ \t]template\\)",
5504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5506 * Description of Next_Volitile fix
5508 tSCC zNext_VolitileName[] =
5512 * File name selection pattern
5514 tSCC zNext_VolitileList[] =
5517 * Machine/OS name selection pattern
5519 #define apzNext_VolitileMachs (const char**)NULL
5522 * content selection pattern - do fix if pattern found
5524 tSCC zNext_VolitileSelect0[] =
5525 "^extern[ \t]+volatile[ \t]+void[ \t]";
5527 #define NEXT_VOLITILE_TEST_CT 1
5528 static tTestDesc aNext_VolitileTests[] = {
5529 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5532 * Fix Command Arguments for Next_Volitile
5534 static const char* apzNext_VolitilePatch[] = {
5537 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5542 * Description of Next_Wait_Union fix
5544 tSCC zNext_Wait_UnionName[] =
5548 * File name selection pattern
5550 tSCC zNext_Wait_UnionList[] =
5553 * Machine/OS name selection pattern
5555 #define apzNext_Wait_UnionMachs (const char**)NULL
5558 * content selection pattern - do fix if pattern found
5560 tSCC zNext_Wait_UnionSelect0[] =
5561 "wait\\(union wait";
5563 #define NEXT_WAIT_UNION_TEST_CT 1
5564 static tTestDesc aNext_Wait_UnionTests[] = {
5565 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5568 * Fix Command Arguments for Next_Wait_Union
5570 static const char* apzNext_Wait_UnionPatch[] = {
5575 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5577 * Description of Nodeent_Syntax fix
5579 tSCC zNodeent_SyntaxName[] =
5583 * File name selection pattern
5585 tSCC zNodeent_SyntaxList[] =
5586 "netdnet/dnetdb.h\0";
5588 * Machine/OS name selection pattern
5590 #define apzNodeent_SyntaxMachs (const char**)NULL
5593 * content selection pattern - do fix if pattern found
5595 tSCC zNodeent_SyntaxSelect0[] =
5596 "char[ \t]*\\*na_addr[ \t]*$";
5598 #define NODEENT_SYNTAX_TEST_CT 1
5599 static tTestDesc aNodeent_SyntaxTests[] = {
5600 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5603 * Fix Command Arguments for Nodeent_Syntax
5605 static const char* apzNodeent_SyntaxPatch[] = {
5610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5612 * Description of Openbsd_Null_Definition fix
5614 tSCC zOpenbsd_Null_DefinitionName[] =
5615 "openbsd_null_definition";
5618 * File name selection pattern
5620 tSCC zOpenbsd_Null_DefinitionList[] =
5621 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5623 * Machine/OS name selection pattern
5625 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5627 (const char*)NULL };
5630 * content selection pattern - do fix if pattern found
5632 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5635 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5636 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5637 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5640 * Fix Command Arguments for Openbsd_Null_Definition
5642 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5645 #ifdef __cplusplus\n\
5647 #define NULL\t__null\n\
5648 #else\t /* ! __GNUG__ */\n\
5650 #endif\t /* __GNUG__ */\n\
5651 #else\t /* ! __cplusplus */\n\
5652 #define NULL\t((void *)0)\n\
5653 #endif\t /* __cplusplus */\n\
5654 #endif\t /* !NULL */",
5655 "^#ifndef[ \t]*NULL\n\
5656 ^#ifdef[ \t]*__GNUG__\n\
5657 ^#define[ \t]*NULL[ \t]*__null\n\
5659 ^#define[ \t]*NULL[ \t]*0L\n\
5664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5666 * Description of Obstack_Lvalue_Cast fix
5668 tSCC zObstack_Lvalue_CastName[] =
5669 "obstack_lvalue_cast";
5672 * File name selection pattern
5674 tSCC zObstack_Lvalue_CastList[] =
5677 * Machine/OS name selection pattern
5679 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5682 * content selection pattern - do fix if pattern found
5684 tSCC zObstack_Lvalue_CastSelect0[] =
5685 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5687 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5688 static tTestDesc aObstack_Lvalue_CastTests[] = {
5689 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5692 * Fix Command Arguments for Obstack_Lvalue_Cast
5694 static const char* apzObstack_Lvalue_CastPatch[] = {
5696 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5701 * Description of Openbsd_Va_Start fix
5703 tSCC zOpenbsd_Va_StartName[] =
5707 * File name selection pattern
5709 tSCC zOpenbsd_Va_StartList[] =
5712 * Machine/OS name selection pattern
5714 tSCC* apzOpenbsd_Va_StartMachs[] = {
5716 (const char*)NULL };
5719 * content selection pattern - do fix if pattern found
5721 tSCC zOpenbsd_Va_StartSelect0[] =
5722 "__builtin_stdarg_start";
5724 #define OPENBSD_VA_START_TEST_CT 1
5725 static tTestDesc aOpenbsd_Va_StartTests[] = {
5726 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5729 * Fix Command Arguments for Openbsd_Va_Start
5731 static const char* apzOpenbsd_Va_StartPatch[] = {
5733 "__builtin_va_start",
5736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5738 * Description of Osf_Namespace_A fix
5740 tSCC zOsf_Namespace_AName[] =
5744 * File name selection pattern
5746 tSCC zOsf_Namespace_AList[] =
5747 "reg_types.h\0sys/lc_core.h\0";
5749 * Machine/OS name selection pattern
5751 #define apzOsf_Namespace_AMachs (const char**)NULL
5754 * perform the 'test' shell command - do fix on success
5756 tSCC zOsf_Namespace_ATest0[] =
5758 tSCC zOsf_Namespace_ATest1[] =
5759 " -r sys/lc_core.h";
5760 tSCC zOsf_Namespace_ATest2[] =
5761 " -n \"`grep '} regex_t;' reg_types.h`\"";
5762 tSCC zOsf_Namespace_ATest3[] =
5763 " -z \"`grep __regex_t regex.h`\"";
5765 #define OSF_NAMESPACE_A_TEST_CT 4
5766 static tTestDesc aOsf_Namespace_ATests[] = {
5767 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5768 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5769 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5770 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5773 * Fix Command Arguments for Osf_Namespace_A
5775 static const char* apzOsf_Namespace_APatch[] = {
5778 "reg(ex|off|match)_t",
5781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5783 * Description of Osf_Namespace_C fix
5785 tSCC zOsf_Namespace_CName[] =
5789 * File name selection pattern
5791 tSCC zOsf_Namespace_CList[] =
5794 * Machine/OS name selection pattern
5796 #define apzOsf_Namespace_CMachs (const char**)NULL
5799 * content selection pattern - do fix if pattern found
5801 tSCC zOsf_Namespace_CSelect0[] =
5802 "#include <reg_types.h>.*";
5805 * perform the 'test' shell command - do fix on success
5807 tSCC zOsf_Namespace_CTest0[] =
5809 tSCC zOsf_Namespace_CTest1[] =
5810 " -r sys/lc_core.h";
5811 tSCC zOsf_Namespace_CTest2[] =
5812 " -n \"`grep '} regex_t;' reg_types.h`\"";
5813 tSCC zOsf_Namespace_CTest3[] =
5814 " -z \"`grep __regex_t regex.h`\"";
5816 #define OSF_NAMESPACE_C_TEST_CT 5
5817 static tTestDesc aOsf_Namespace_CTests[] = {
5818 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5819 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5820 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5821 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5822 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5825 * Fix Command Arguments for Osf_Namespace_C
5827 static const char* apzOsf_Namespace_CPatch[] = {
5830 typedef __regex_t\tregex_t;\n\
5831 typedef __regoff_t\tregoff_t;\n\
5832 typedef __regmatch_t\tregmatch_t;",
5835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5837 * Description of Pthread_Incomplete_Struct_Argument fix
5839 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5840 "pthread_incomplete_struct_argument";
5843 * File name selection pattern
5845 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5848 * Machine/OS name selection pattern
5850 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5853 * content selection pattern - do fix if pattern found
5855 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5856 "struct __jmp_buf_tag";
5858 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5859 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5860 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5863 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5865 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5868 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5873 * Description of Read_Ret_Type fix
5875 tSCC zRead_Ret_TypeName[] =
5879 * File name selection pattern
5881 tSCC zRead_Ret_TypeList[] =
5884 * Machine/OS name selection pattern
5886 #define apzRead_Ret_TypeMachs (const char**)NULL
5889 * content selection pattern - do fix if pattern found
5891 tSCC zRead_Ret_TypeSelect0[] =
5892 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5894 #define READ_RET_TYPE_TEST_CT 1
5895 static tTestDesc aRead_Ret_TypeTests[] = {
5896 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5899 * Fix Command Arguments for Read_Ret_Type
5901 static const char* apzRead_Ret_TypePatch[] = {
5903 "extern unsigned int fread(), fwrite();\n\
5905 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5910 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5912 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5913 "rpc_xdr_lvalue_cast_a";
5916 * File name selection pattern
5918 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5921 * Machine/OS name selection pattern
5923 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5926 * content selection pattern - do fix if pattern found
5928 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5929 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5932 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5933 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5934 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5937 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5939 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5941 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5946 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5948 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5949 "rpc_xdr_lvalue_cast_b";
5952 * File name selection pattern
5954 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5957 * Machine/OS name selection pattern
5959 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5962 * content selection pattern - do fix if pattern found
5964 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5965 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5968 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5969 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5970 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5973 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5975 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5977 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5982 * Description of Rs6000_Double fix
5984 tSCC zRs6000_DoubleName[] =
5988 * File name selection pattern
5990 tSCC zRs6000_DoubleList[] =
5993 * Machine/OS name selection pattern
5995 #define apzRs6000_DoubleMachs (const char**)NULL
5998 * content selection pattern - do fix if pattern found
6000 tSCC zRs6000_DoubleSelect0[] =
6001 "[^a-zA-Z_]class\\(";
6003 #define RS6000_DOUBLE_TEST_CT 1
6004 static tTestDesc aRs6000_DoubleTests[] = {
6005 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6008 * Fix Command Arguments for Rs6000_Double
6010 static const char* apzRs6000_DoublePatch[] = {
6012 "#ifndef __cplusplus\n\
6015 "^.*[^a-zA-Z_]class\\(.*",
6018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6020 * Description of Rs6000_Fchmod fix
6022 tSCC zRs6000_FchmodName[] =
6026 * File name selection pattern
6028 tSCC zRs6000_FchmodList[] =
6031 * Machine/OS name selection pattern
6033 #define apzRs6000_FchmodMachs (const char**)NULL
6036 * content selection pattern - do fix if pattern found
6038 tSCC zRs6000_FchmodSelect0[] =
6039 "fchmod\\(char \\*";
6041 #define RS6000_FCHMOD_TEST_CT 1
6042 static tTestDesc aRs6000_FchmodTests[] = {
6043 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6046 * Fix Command Arguments for Rs6000_Fchmod
6048 static const char* apzRs6000_FchmodPatch[] = {
6053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6055 * Description of Rs6000_Param fix
6057 tSCC zRs6000_ParamName[] =
6061 * File name selection pattern
6063 tSCC zRs6000_ParamList[] =
6064 "stdio.h\0unistd.h\0";
6066 * Machine/OS name selection pattern
6068 #define apzRs6000_ParamMachs (const char**)NULL
6071 * content selection pattern - do fix if pattern found
6073 tSCC zRs6000_ParamSelect0[] =
6074 "rename\\(const char \\*old, const char \\*new\\)";
6076 #define RS6000_PARAM_TEST_CT 1
6077 static tTestDesc aRs6000_ParamTests[] = {
6078 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6081 * Fix Command Arguments for Rs6000_Param
6083 static const char* apzRs6000_ParamPatch[] = {
6085 "rename(const char *_old, const char *_new)",
6088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6090 * Description of Solaris___Restrict fix
6092 tSCC zSolaris___RestrictName[] =
6093 "solaris___restrict";
6096 * File name selection pattern
6098 tSCC zSolaris___RestrictList[] =
6099 "sys/feature_tests.h\0";
6101 * Machine/OS name selection pattern
6103 tSCC* apzSolaris___RestrictMachs[] = {
6105 (const char*)NULL };
6108 * content selection pattern - do fix if pattern found
6110 tSCC zSolaris___RestrictSelect0[] =
6111 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6113 #define SOLARIS___RESTRICT_TEST_CT 1
6114 static tTestDesc aSolaris___RestrictTests[] = {
6115 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6118 * Fix Command Arguments for Solaris___Restrict
6120 static const char* apzSolaris___RestrictPatch[] = {
6122 "#ifdef __cplusplus\n\
6123 #define\t_RESTRICT_KYWD\t__restrict\n\
6129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6131 * Description of Solaris_Complex fix
6133 tSCC zSolaris_ComplexName[] =
6137 * File name selection pattern
6139 tSCC zSolaris_ComplexList[] =
6142 * Machine/OS name selection pattern
6144 tSCC* apzSolaris_ComplexMachs[] = {
6146 (const char*)NULL };
6149 * content selection pattern - do fix if pattern found
6151 tSCC zSolaris_ComplexSelect0[] =
6152 "#define[ \t]_Complex_I[ \t]_Complex_I";
6154 #define SOLARIS_COMPLEX_TEST_CT 1
6155 static tTestDesc aSolaris_ComplexTests[] = {
6156 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6159 * Fix Command Arguments for Solaris_Complex
6161 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6162 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6163 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6164 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6165 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6170 * Description of Solaris_Complex_Cxx fix
6172 tSCC zSolaris_Complex_CxxName[] =
6173 "solaris_complex_cxx";
6176 * File name selection pattern
6178 tSCC zSolaris_Complex_CxxList[] =
6181 * Machine/OS name selection pattern
6183 tSCC* apzSolaris_Complex_CxxMachs[] = {
6185 (const char*)NULL };
6186 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6187 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6190 * Fix Command Arguments for Solaris_Complex_Cxx
6192 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6193 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6194 #ifdef\t__cplusplus\\\n\
6197 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6198 #ifdef\t__cplusplus\\\n\
6203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6205 * Description of Solaris_Cxx_Linkage fix
6207 tSCC zSolaris_Cxx_LinkageName[] =
6208 "solaris_cxx_linkage";
6211 * File name selection pattern
6213 tSCC zSolaris_Cxx_LinkageList[] =
6214 "iso/stdlib_iso.h\0";
6216 * Machine/OS name selection pattern
6218 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6220 (const char*)NULL };
6223 * content selection pattern - do fix if pattern found
6225 tSCC zSolaris_Cxx_LinkageSelect0[] =
6226 "(#if __cplusplus >= 199711L)\n\
6227 (extern \"C\\+\\+\" \\{\n\
6228 )(.*(bsearch|qsort).*)";
6230 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
6231 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6232 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6235 * Fix Command Arguments for Solaris_Cxx_Linkage
6237 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6245 * Description of Solaris_Getc_Strict_Stdc fix
6247 tSCC zSolaris_Getc_Strict_StdcName[] =
6248 "solaris_getc_strict_stdc";
6251 * File name selection pattern
6253 tSCC zSolaris_Getc_Strict_StdcList[] =
6254 "iso/stdio_iso.h\0";
6256 * Machine/OS name selection pattern
6258 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6260 (const char*)NULL };
6263 * content selection pattern - do fix if pattern found
6265 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6266 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6268 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
6269 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6270 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6273 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
6275 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6277 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6282 * Description of Solaris_Longjmp_Noreturn fix
6284 tSCC zSolaris_Longjmp_NoreturnName[] =
6285 "solaris_longjmp_noreturn";
6288 * File name selection pattern
6290 tSCC zSolaris_Longjmp_NoreturnList[] =
6291 "iso/setjmp_iso.h\0";
6293 * Machine/OS name selection pattern
6295 tSCC* apzSolaris_Longjmp_NoreturnMachs[] = {
6297 (const char*)NULL };
6300 * content selection pattern - do fix if pattern found
6302 tSCC zSolaris_Longjmp_NoreturnSelect0[] =
6303 "(.*longjmp\\(jmp_buf.*[^)]+\\));";
6306 * content bypass pattern - skip fix if pattern found
6308 tSCC zSolaris_Longjmp_NoreturnBypass0[] =
6311 #define SOLARIS_LONGJMP_NORETURN_TEST_CT 2
6312 static tTestDesc aSolaris_Longjmp_NoreturnTests[] = {
6313 { TT_NEGREP, zSolaris_Longjmp_NoreturnBypass0, (regex_t*)NULL },
6314 { TT_EGREP, zSolaris_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
6317 * Fix Command Arguments for Solaris_Longjmp_Noreturn
6319 static const char* apzSolaris_Longjmp_NoreturnPatch[] = {
6321 "%1 __attribute__ ((__noreturn__));",
6324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6326 * Description of Solaris_Math_1 fix
6328 tSCC zSolaris_Math_1Name[] =
6332 * File name selection pattern
6334 tSCC zSolaris_Math_1List[] =
6337 * Machine/OS name selection pattern
6339 #define apzSolaris_Math_1Machs (const char**)NULL
6342 * content selection pattern - do fix if pattern found
6344 tSCC zSolaris_Math_1Select0[] =
6345 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6348 * content bypass pattern - skip fix if pattern found
6350 tSCC zSolaris_Math_1Bypass0[] =
6353 #define SOLARIS_MATH_1_TEST_CT 2
6354 static tTestDesc aSolaris_Math_1Tests[] = {
6355 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6356 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6359 * Fix Command Arguments for Solaris_Math_1
6361 static const char* apzSolaris_Math_1Patch[] = {
6363 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6364 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6369 * Description of Solaris_Math_2 fix
6371 tSCC zSolaris_Math_2Name[] =
6375 * File name selection pattern
6377 tSCC zSolaris_Math_2List[] =
6380 * Machine/OS name selection pattern
6382 #define apzSolaris_Math_2Machs (const char**)NULL
6385 * content selection pattern - do fix if pattern found
6387 tSCC zSolaris_Math_2Select0[] =
6388 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6391 * content bypass pattern - skip fix if pattern found
6393 tSCC zSolaris_Math_2Bypass0[] =
6396 #define SOLARIS_MATH_2_TEST_CT 2
6397 static tTestDesc aSolaris_Math_2Tests[] = {
6398 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6399 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6402 * Fix Command Arguments for Solaris_Math_2
6404 static const char* apzSolaris_Math_2Patch[] = {
6406 "#define\tINFINITY\t(__builtin_inff())",
6407 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6410 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6412 * Description of Solaris_Math_3 fix
6414 tSCC zSolaris_Math_3Name[] =
6418 * File name selection pattern
6420 tSCC zSolaris_Math_3List[] =
6423 * Machine/OS name selection pattern
6425 #define apzSolaris_Math_3Machs (const char**)NULL
6428 * content selection pattern - do fix if pattern found
6430 tSCC zSolaris_Math_3Select0[] =
6431 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6434 * content bypass pattern - skip fix if pattern found
6436 tSCC zSolaris_Math_3Bypass0[] =
6439 #define SOLARIS_MATH_3_TEST_CT 2
6440 static tTestDesc aSolaris_Math_3Tests[] = {
6441 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6442 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6445 * Fix Command Arguments for Solaris_Math_3
6447 static const char* apzSolaris_Math_3Patch[] = {
6449 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6450 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6455 * Description of Solaris_Math_4 fix
6457 tSCC zSolaris_Math_4Name[] =
6461 * File name selection pattern
6463 tSCC zSolaris_Math_4List[] =
6466 * Machine/OS name selection pattern
6468 #define apzSolaris_Math_4Machs (const char**)NULL
6471 * content selection pattern - do fix if pattern found
6473 tSCC zSolaris_Math_4Select0[] =
6474 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6477 * content bypass pattern - skip fix if pattern found
6479 tSCC zSolaris_Math_4Bypass0[] =
6482 #define SOLARIS_MATH_4_TEST_CT 2
6483 static tTestDesc aSolaris_Math_4Tests[] = {
6484 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6485 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6488 * Fix Command Arguments for Solaris_Math_4
6490 static const char* apzSolaris_Math_4Patch[] = {
6492 "#define\tfpclassify(x) \\\n\
6493 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6494 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6499 * Description of Solaris_Math_8 fix
6501 tSCC zSolaris_Math_8Name[] =
6505 * File name selection pattern
6507 tSCC zSolaris_Math_8List[] =
6510 * Machine/OS name selection pattern
6512 #define apzSolaris_Math_8Machs (const char**)NULL
6515 * content selection pattern - do fix if pattern found
6517 tSCC zSolaris_Math_8Select0[] =
6518 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6521 * content bypass pattern - skip fix if pattern found
6523 tSCC zSolaris_Math_8Bypass0[] =
6526 #define SOLARIS_MATH_8_TEST_CT 2
6527 static tTestDesc aSolaris_Math_8Tests[] = {
6528 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6529 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6532 * Fix Command Arguments for Solaris_Math_8
6534 static const char* apzSolaris_Math_8Patch[] = {
6536 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6537 \t\t\t ? __builtin_signbitf(x) \\\n\
6538 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6539 \t\t\t ? __builtin_signbitl(x) \\\n\
6540 \t\t\t : __builtin_signbit(x))",
6541 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6546 * Description of Solaris_Math_9 fix
6548 tSCC zSolaris_Math_9Name[] =
6552 * File name selection pattern
6554 tSCC zSolaris_Math_9List[] =
6557 * Machine/OS name selection pattern
6559 #define apzSolaris_Math_9Machs (const char**)NULL
6562 * content selection pattern - do fix if pattern found
6564 tSCC zSolaris_Math_9Select0[] =
6565 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6568 * content bypass pattern - skip fix if pattern found
6570 tSCC zSolaris_Math_9Bypass0[] =
6573 #define SOLARIS_MATH_9_TEST_CT 2
6574 static tTestDesc aSolaris_Math_9Tests[] = {
6575 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6576 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6579 * Fix Command Arguments for Solaris_Math_9
6581 static const char* apzSolaris_Math_9Patch[] = {
6583 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6584 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6589 * Description of Solaris_Math_10 fix
6591 tSCC zSolaris_Math_10Name[] =
6595 * File name selection pattern
6597 tSCC zSolaris_Math_10List[] =
6600 * Machine/OS name selection pattern
6602 #define apzSolaris_Math_10Machs (const char**)NULL
6605 * content selection pattern - do fix if pattern found
6607 tSCC zSolaris_Math_10Select0[] =
6608 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6610 #define SOLARIS_MATH_10_TEST_CT 1
6611 static tTestDesc aSolaris_Math_10Tests[] = {
6612 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6615 * Fix Command Arguments for Solaris_Math_10
6617 static const char* apzSolaris_Math_10Patch[] = {
6619 "#define\tisinf(x) __builtin_isinf(x)",
6620 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6621 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6622 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6623 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6626 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6628 * Description of Solaris_Mutex_Init_2 fix
6630 tSCC zSolaris_Mutex_Init_2Name[] =
6631 "solaris_mutex_init_2";
6634 * File name selection pattern
6636 tSCC zSolaris_Mutex_Init_2List[] =
6639 * Machine/OS name selection pattern
6641 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6642 "*-*-solaris2.[0-9]",
6643 "*-*-solaris2.[0-9][!0-9]*",
6644 (const char*)NULL };
6647 * content selection pattern - do fix if pattern found
6649 tSCC zSolaris_Mutex_Init_2Select0[] =
6650 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6652 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6653 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6654 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6657 * Fix Command Arguments for Solaris_Mutex_Init_2
6659 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6661 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6666 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6667 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6672 * Description of Solaris_Pow_Int_Overload fix
6674 tSCC zSolaris_Pow_Int_OverloadName[] =
6675 "solaris_pow_int_overload";
6678 * File name selection pattern
6680 tSCC zSolaris_Pow_Int_OverloadList[] =
6683 * Machine/OS name selection pattern
6685 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
6687 (const char*)NULL };
6690 * content selection pattern - do fix if pattern found
6692 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
6693 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
6696 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
6697 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
6698 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
6701 * Fix Command Arguments for Solaris_Pow_Int_Overload
6703 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
6705 "#if __cplusplus < 201103L\n\
6710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6712 * Description of Solaris_Rwlock_Init_1 fix
6714 tSCC zSolaris_Rwlock_Init_1Name[] =
6715 "solaris_rwlock_init_1";
6718 * File name selection pattern
6720 tSCC zSolaris_Rwlock_Init_1List[] =
6723 * Machine/OS name selection pattern
6725 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6727 (const char*)NULL };
6730 * content selection pattern - do fix if pattern found
6732 tSCC zSolaris_Rwlock_Init_1Select0[] =
6733 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6735 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6736 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6737 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6740 * Fix Command Arguments for Solaris_Rwlock_Init_1
6742 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6744 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6747 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6749 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6754 * Description of Solaris_Once_Init_1 fix
6756 tSCC zSolaris_Once_Init_1Name[] =
6757 "solaris_once_init_1";
6760 * File name selection pattern
6762 tSCC zSolaris_Once_Init_1List[] =
6765 * Machine/OS name selection pattern
6767 tSCC* apzSolaris_Once_Init_1Machs[] = {
6769 (const char*)NULL };
6772 * content selection pattern - do fix if pattern found
6774 tSCC zSolaris_Once_Init_1Select0[] =
6775 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6777 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6778 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6779 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6782 * Fix Command Arguments for Solaris_Once_Init_1
6784 static const char* apzSolaris_Once_Init_1Patch[] = {
6787 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6792 * Description of Solaris_Once_Init_2 fix
6794 tSCC zSolaris_Once_Init_2Name[] =
6795 "solaris_once_init_2";
6798 * File name selection pattern
6800 tSCC zSolaris_Once_Init_2List[] =
6803 * Machine/OS name selection pattern
6805 tSCC* apzSolaris_Once_Init_2Machs[] = {
6806 "*-*-solaris2.[0-9]",
6807 "*-*-solaris2.[0-9][!0-9]*",
6808 (const char*)NULL };
6811 * content selection pattern - do fix if pattern found
6813 tSCC zSolaris_Once_Init_2Select0[] =
6814 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6816 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6817 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6818 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6821 * Fix Command Arguments for Solaris_Once_Init_2
6823 static const char* apzSolaris_Once_Init_2Patch[] = {
6825 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6828 %1{0}, {0}, {0}, {%3}%4\n\
6830 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6835 * Description of Solaris_Int_Const fix
6837 tSCC zSolaris_Int_ConstName[] =
6838 "solaris_int_const";
6841 * File name selection pattern
6843 tSCC zSolaris_Int_ConstList[] =
6844 "sys/int_const.h\0";
6846 * Machine/OS name selection pattern
6848 tSCC* apzSolaris_Int_ConstMachs[] = {
6850 (const char*)NULL };
6853 * content selection pattern - do fix if pattern found
6855 tSCC zSolaris_Int_ConstSelect0[] =
6856 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6858 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6860 #define SOLARIS_INT_CONST_TEST_CT 1
6861 static tTestDesc aSolaris_Int_ConstTests[] = {
6862 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6865 * Fix Command Arguments for Solaris_Int_Const
6867 static const char* apzSolaris_Int_ConstPatch[] = {
6869 "#define\tUINT8_C(c)\t(c)\n\
6871 #define\tUINT16_C(c)\t(c)",
6874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6876 * Description of Solaris_Int_Limits_1 fix
6878 tSCC zSolaris_Int_Limits_1Name[] =
6879 "solaris_int_limits_1";
6882 * File name selection pattern
6884 tSCC zSolaris_Int_Limits_1List[] =
6885 "sys/int_limits.h\0";
6887 * Machine/OS name selection pattern
6889 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6891 (const char*)NULL };
6894 * content selection pattern - do fix if pattern found
6896 tSCC zSolaris_Int_Limits_1Select0[] =
6897 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6898 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6900 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6901 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6902 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6905 * Fix Command Arguments for Solaris_Int_Limits_1
6907 static const char* apzSolaris_Int_Limits_1Patch[] = {
6909 "#define\tUINT8_MAX\t(255)\n\
6910 #define\tUINT16_MAX\t(65535)",
6913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6915 * Description of Solaris_Int_Limits_2 fix
6917 tSCC zSolaris_Int_Limits_2Name[] =
6918 "solaris_int_limits_2";
6921 * File name selection pattern
6923 tSCC zSolaris_Int_Limits_2List[] =
6924 "sys/int_limits.h\0";
6926 * Machine/OS name selection pattern
6928 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6930 (const char*)NULL };
6933 * content selection pattern - do fix if pattern found
6935 tSCC zSolaris_Int_Limits_2Select0[] =
6936 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6938 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6939 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6940 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6943 * Fix Command Arguments for Solaris_Int_Limits_2
6945 static const char* apzSolaris_Int_Limits_2Patch[] = {
6947 "#define\t%1_FAST16_%2 %132_%2",
6950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6952 * Description of Solaris_Int_Limits_3 fix
6954 tSCC zSolaris_Int_Limits_3Name[] =
6955 "solaris_int_limits_3";
6958 * File name selection pattern
6960 tSCC zSolaris_Int_Limits_3List[] =
6961 "sys/int_limits.h\0";
6963 * Machine/OS name selection pattern
6965 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6967 (const char*)NULL };
6970 * content selection pattern - do fix if pattern found
6972 tSCC zSolaris_Int_Limits_3Select0[] =
6973 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6975 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6976 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6977 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6980 * Fix Command Arguments for Solaris_Int_Limits_3
6982 static const char* apzSolaris_Int_Limits_3Patch[] = {
6984 "#define\tSIZE_MAX\t4294967295U",
6987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6989 * Description of Solaris_Int_Types fix
6991 tSCC zSolaris_Int_TypesName[] =
6992 "solaris_int_types";
6995 * File name selection pattern
6997 tSCC zSolaris_Int_TypesList[] =
6998 "sys/int_types.h\0";
7000 * Machine/OS name selection pattern
7002 #define apzSolaris_Int_TypesMachs (const char**)NULL
7005 * content selection pattern - do fix if pattern found
7007 tSCC zSolaris_Int_TypesSelect0[] =
7008 "__STDC__ - 0 == 0";
7011 * content bypass pattern - skip fix if pattern found
7013 tSCC zSolaris_Int_TypesBypass0[] =
7016 #define SOLARIS_INT_TYPES_TEST_CT 2
7017 static tTestDesc aSolaris_Int_TypesTests[] = {
7018 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
7019 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
7022 * Fix Command Arguments for Solaris_Int_Types
7024 static const char* apzSolaris_Int_TypesPatch[] = {
7026 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
7029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7031 * Description of Solaris_Posix_Spawn_Restrict fix
7033 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7034 "solaris_posix_spawn_restrict";
7037 * File name selection pattern
7039 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7042 * Machine/OS name selection pattern
7044 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7046 (const char*)NULL };
7049 * content selection pattern - do fix if pattern found
7051 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7052 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7054 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7055 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7056 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7059 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7061 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7063 "%1*_RESTRICT_KYWD %2%3",
7066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7068 * Description of Solaris_Std___Filbuf fix
7070 tSCC zSolaris_Std___FilbufName[] =
7071 "solaris_std___filbuf";
7074 * File name selection pattern
7076 tSCC zSolaris_Std___FilbufList[] =
7079 * Machine/OS name selection pattern
7081 tSCC* apzSolaris_Std___FilbufMachs[] = {
7083 (const char*)NULL };
7086 * content selection pattern - do fix if pattern found
7088 tSCC zSolaris_Std___FilbufSelect0[] =
7089 "(using std::perror;\n\
7093 * content bypass pattern - skip fix if pattern found
7095 tSCC zSolaris_Std___FilbufBypass0[] =
7096 "using std::__filbuf";
7098 #define SOLARIS_STD___FILBUF_TEST_CT 2
7099 static tTestDesc aSolaris_Std___FilbufTests[] = {
7100 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7101 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7104 * Fix Command Arguments for Solaris_Std___Filbuf
7106 static const char* apzSolaris_Std___FilbufPatch[] = {
7109 using std::__filbuf;\n\
7110 using std::__flsbuf;\n\
7115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7117 * Description of Solaris_Stdio_Tag fix
7119 tSCC zSolaris_Stdio_TagName[] =
7120 "solaris_stdio_tag";
7123 * File name selection pattern
7125 tSCC zSolaris_Stdio_TagList[] =
7128 * Machine/OS name selection pattern
7130 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7133 * content selection pattern - do fix if pattern found
7135 tSCC zSolaris_Stdio_TagSelect0[] =
7136 "__cplusplus < 54321L";
7139 * content bypass pattern - skip fix if pattern found
7141 tSCC zSolaris_Stdio_TagBypass0[] =
7144 #define SOLARIS_STDIO_TAG_TEST_CT 2
7145 static tTestDesc aSolaris_Stdio_TagTests[] = {
7146 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7147 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7150 * Fix Command Arguments for Solaris_Stdio_Tag
7152 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7153 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7158 * Description of Solaris_Sys_Va_List fix
7160 tSCC zSolaris_Sys_Va_ListName[] =
7161 "solaris_sys_va_list";
7164 * File name selection pattern
7166 tSCC zSolaris_Sys_Va_ListList[] =
7169 * Machine/OS name selection pattern
7171 tSCC* apzSolaris_Sys_Va_ListMachs[] = {
7173 (const char*)NULL };
7176 * content selection pattern - do fix if pattern found
7178 tSCC zSolaris_Sys_Va_ListSelect0[] =
7180 typedef void \\*__va_list;\n\
7182 typedef char \\*__va_list;\n\
7185 #define SOLARIS_SYS_VA_LIST_TEST_CT 1
7186 static tTestDesc aSolaris_Sys_Va_ListTests[] = {
7187 { TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
7190 * Fix Command Arguments for Solaris_Sys_Va_List
7192 static const char* apzSolaris_Sys_Va_ListPatch[] = {
7195 typedef __builtin_va_list __va_list;\n\
7201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7203 * Description of Statsswtch fix
7205 tSCC zStatsswtchName[] =
7209 * File name selection pattern
7211 tSCC zStatsswtchList[] =
7214 * Machine/OS name selection pattern
7216 #define apzStatsswtchMachs (const char**)NULL
7219 * content selection pattern - do fix if pattern found
7221 tSCC zStatsswtchSelect0[] =
7224 #define STATSSWTCH_TEST_CT 1
7225 static tTestDesc aStatsswtchTests[] = {
7226 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
7229 * Fix Command Arguments for Statsswtch
7231 static const char* apzStatsswtchPatch[] = {
7236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7238 * Description of Stdio_Stdarg_H fix
7240 tSCC zStdio_Stdarg_HName[] =
7244 * File name selection pattern
7246 tSCC zStdio_Stdarg_HList[] =
7249 * Machine/OS name selection pattern
7251 tSCC* apzStdio_Stdarg_HMachs[] = {
7252 "*-*-solaris2.1[0-9]*",
7253 (const char*)NULL };
7256 * content bypass pattern - skip fix if pattern found
7258 tSCC zStdio_Stdarg_HBypass0[] =
7259 "include.*(stdarg.h|machine/ansi.h)";
7261 #define STDIO_STDARG_H_TEST_CT 1
7262 static tTestDesc aStdio_Stdarg_HTests[] = {
7263 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7266 * Fix Command Arguments for Stdio_Stdarg_H
7268 static const char* apzStdio_Stdarg_HPatch[] = {
7270 "#define __need___va_list\n\
7271 #include <stdarg.h>\n",
7274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7276 * Description of Stdio_Va_List fix
7278 tSCC zStdio_Va_ListName[] =
7282 * File name selection pattern
7284 tSCC zStdio_Va_ListList[] =
7287 * Machine/OS name selection pattern
7289 tSCC* apzStdio_Va_ListMachs[] = {
7290 "*-*-solaris2.1[0-9]*",
7291 (const char*)NULL };
7294 * content bypass pattern - skip fix if pattern found
7296 tSCC zStdio_Va_ListBypass0[] =
7297 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7299 #define STDIO_VA_LIST_TEST_CT 1
7300 static tTestDesc aStdio_Va_ListTests[] = {
7301 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7304 * Fix Command Arguments for Stdio_Va_List
7306 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7307 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7308 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7309 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7310 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7311 s@ va_list@ __not_va_list__@\n\
7312 s@\\*va_list@*__not_va_list__@\n\
7313 s@ __va_list)@ __gnuc_va_list)@\n\
7314 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7315 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7316 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7317 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7318 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7319 s@VA_LIST@DUMMY_VA_LIST@\n\
7320 s@_Va_LIST@_VA_LIST@",
7323 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7325 * Description of Stdio_Va_List_Clients fix
7327 tSCC zStdio_Va_List_ClientsName[] =
7328 "stdio_va_list_clients";
7331 * File name selection pattern
7333 tSCC zStdio_Va_List_ClientsList[] =
7334 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7336 * Machine/OS name selection pattern
7338 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7341 * content bypass pattern - skip fix if pattern found
7343 tSCC zStdio_Va_List_ClientsBypass0[] =
7344 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7345 tSCC zStdio_Va_List_ClientsBypass1[] =
7346 "include <stdarg\\.h>|#ifdef va_start";
7348 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7349 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7350 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7351 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7354 * Fix Command Arguments for Stdio_Va_List_Clients
7356 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7357 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7358 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7359 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7360 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7361 s@ va_list@ __not_va_list__@\n\
7362 s@\\*va_list@*__not_va_list__@\n\
7363 s@ __va_list)@ __gnuc_va_list)@\n\
7364 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7365 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7366 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7367 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7368 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7369 s@VA_LIST@DUMMY_VA_LIST@\n\
7370 s@_Va_LIST@_VA_LIST@",
7373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7375 * Description of Strict_Ansi_Not fix
7377 tSCC zStrict_Ansi_NotName[] =
7381 * File name selection pattern
7383 #define zStrict_Ansi_NotList (char*)NULL
7385 * Machine/OS name selection pattern
7387 #define apzStrict_Ansi_NotMachs (const char**)NULL
7390 * content selection pattern - do fix if pattern found
7392 tSCC zStrict_Ansi_NotSelect0[] =
7393 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7396 * content bypass pattern - skip fix if pattern found
7398 tSCC zStrict_Ansi_NotBypass0[] =
7399 "GNU and MIPS C compilers define __STDC__ differently";
7400 tSCC zStrict_Ansi_NotBypass1[] =
7401 "__SCO_VERSION__.*__STDC__ != 1";
7404 * perform the C function call test
7406 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7408 #define STRICT_ANSI_NOT_TEST_CT 4
7409 static tTestDesc aStrict_Ansi_NotTests[] = {
7410 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7411 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7412 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7413 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7416 * Fix Command Arguments for Strict_Ansi_Not
7418 static const char* apzStrict_Ansi_NotPatch[] = {
7420 "%1 !defined(__STRICT_ANSI__)",
7423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7425 * Description of Strict_Ansi_Not_Ctd fix
7427 tSCC zStrict_Ansi_Not_CtdName[] =
7428 "strict_ansi_not_ctd";
7431 * File name selection pattern
7433 tSCC zStrict_Ansi_Not_CtdList[] =
7434 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7436 * Machine/OS name selection pattern
7438 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7441 * content selection pattern - do fix if pattern found
7443 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7444 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7447 * perform the C function call test
7449 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7451 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7452 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7453 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7454 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7457 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7459 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7461 "%1 !defined(__STRICT_ANSI__)",
7464 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7466 * Description of Strict_Ansi_Only fix
7468 tSCC zStrict_Ansi_OnlyName[] =
7472 * File name selection pattern
7474 #define zStrict_Ansi_OnlyList (char*)NULL
7476 * Machine/OS name selection pattern
7478 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7481 * content selection pattern - do fix if pattern found
7483 tSCC zStrict_Ansi_OnlySelect0[] =
7484 "^([ \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)";
7487 * perform the C function call test
7489 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7491 #define STRICT_ANSI_ONLY_TEST_CT 2
7492 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7493 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7494 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7497 * Fix Command Arguments for Strict_Ansi_Only
7499 static const char* apzStrict_Ansi_OnlyPatch[] = {
7501 "%1 defined(__STRICT_ANSI__)",
7504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7506 * Description of Struct_File fix
7508 tSCC zStruct_FileName[] =
7512 * File name selection pattern
7514 tSCC zStruct_FileList[] =
7517 * Machine/OS name selection pattern
7519 #define apzStruct_FileMachs (const char**)NULL
7522 * content selection pattern - do fix if pattern found
7524 tSCC zStruct_FileSelect0[] =
7525 "^.*xdrstdio_create.*struct __file_s";
7527 #define STRUCT_FILE_TEST_CT 1
7528 static tTestDesc aStruct_FileTests[] = {
7529 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7532 * Fix Command Arguments for Struct_File
7534 static const char* apzStruct_FilePatch[] = {
7536 "struct __file_s;\n\
7540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7542 * Description of Struct_Sockaddr fix
7544 tSCC zStruct_SockaddrName[] =
7548 * File name selection pattern
7550 tSCC zStruct_SockaddrList[] =
7553 * Machine/OS name selection pattern
7555 #define apzStruct_SockaddrMachs (const char**)NULL
7558 * content selection pattern - do fix if pattern found
7560 tSCC zStruct_SockaddrSelect0[] =
7561 "^.*authdes_create.*struct sockaddr[^_]";
7564 * content bypass pattern - skip fix if pattern found
7566 tSCC zStruct_SockaddrBypass0[] =
7568 tSCC zStruct_SockaddrBypass1[] =
7569 "struct sockaddr;\n";
7571 #define STRUCT_SOCKADDR_TEST_CT 3
7572 static tTestDesc aStruct_SockaddrTests[] = {
7573 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7574 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7575 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7578 * Fix Command Arguments for Struct_Sockaddr
7580 static const char* apzStruct_SockaddrPatch[] = {
7582 "struct sockaddr;\n\
7586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7588 * Description of Sun_Auth_Proto fix
7590 tSCC zSun_Auth_ProtoName[] =
7594 * File name selection pattern
7596 tSCC zSun_Auth_ProtoList[] =
7597 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7599 * Machine/OS name selection pattern
7601 #define apzSun_Auth_ProtoMachs (const char**)NULL
7604 * content selection pattern - do fix if pattern found
7606 tSCC zSun_Auth_ProtoSelect0[] =
7607 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7610 * content bypass pattern - skip fix if pattern found
7612 tSCC zSun_Auth_ProtoBypass0[] =
7615 #define SUN_AUTH_PROTO_TEST_CT 2
7616 static tTestDesc aSun_Auth_ProtoTests[] = {
7617 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7618 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7621 * Fix Command Arguments for Sun_Auth_Proto
7623 static const char* apzSun_Auth_ProtoPatch[] = {
7625 "#ifdef __cplusplus\n\
7630 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7635 * Description of Sun_Bogus_Ifdef fix
7637 tSCC zSun_Bogus_IfdefName[] =
7641 * File name selection pattern
7643 tSCC zSun_Bogus_IfdefList[] =
7644 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7646 * Machine/OS name selection pattern
7648 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7651 * content selection pattern - do fix if pattern found
7653 tSCC zSun_Bogus_IfdefSelect0[] =
7654 "#ifdef(.*\\|\\|.*)";
7656 #define SUN_BOGUS_IFDEF_TEST_CT 1
7657 static tTestDesc aSun_Bogus_IfdefTests[] = {
7658 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7661 * Fix Command Arguments for Sun_Bogus_Ifdef
7663 static const char* apzSun_Bogus_IfdefPatch[] = {
7668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7670 * Description of Sun_Catmacro fix
7672 tSCC zSun_CatmacroName[] =
7676 * File name selection pattern
7678 tSCC zSun_CatmacroList[] =
7679 "pixrect/memvar.h\0";
7681 * Machine/OS name selection pattern
7683 #define apzSun_CatmacroMachs (const char**)NULL
7686 * content selection pattern - do fix if pattern found
7688 tSCC zSun_CatmacroSelect0[] =
7689 "^#define[ \t]+CAT\\(a,b\\).*";
7691 #define SUN_CATMACRO_TEST_CT 1
7692 static tTestDesc aSun_CatmacroTests[] = {
7693 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7696 * Fix Command Arguments for Sun_Catmacro
7698 static const char* apzSun_CatmacroPatch[] = {
7701 # define CAT(a,b) a##b\n\
7707 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7709 * Description of Sun_Malloc fix
7711 tSCC zSun_MallocName[] =
7715 * File name selection pattern
7717 tSCC zSun_MallocList[] =
7720 * Machine/OS name selection pattern
7722 #define apzSun_MallocMachs (const char**)NULL
7725 * content bypass pattern - skip fix if pattern found
7727 tSCC zSun_MallocBypass0[] =
7728 "_CLASSIC_ANSI_TYPES";
7730 #define SUN_MALLOC_TEST_CT 1
7731 static tTestDesc aSun_MallocTests[] = {
7732 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7735 * Fix Command Arguments for Sun_Malloc
7737 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7738 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7739 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7740 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7741 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7742 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7747 * Description of Sun_Rusers_Semi fix
7749 tSCC zSun_Rusers_SemiName[] =
7753 * File name selection pattern
7755 tSCC zSun_Rusers_SemiList[] =
7756 "rpcsvc/rusers.h\0";
7758 * Machine/OS name selection pattern
7760 #define apzSun_Rusers_SemiMachs (const char**)NULL
7763 * content selection pattern - do fix if pattern found
7765 tSCC zSun_Rusers_SemiSelect0[] =
7768 #define SUN_RUSERS_SEMI_TEST_CT 1
7769 static tTestDesc aSun_Rusers_SemiTests[] = {
7770 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7773 * Fix Command Arguments for Sun_Rusers_Semi
7775 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7776 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7781 * Description of Sun_Signal fix
7783 tSCC zSun_SignalName[] =
7787 * File name selection pattern
7789 tSCC zSun_SignalList[] =
7790 "sys/signal.h\0signal.h\0";
7792 * Machine/OS name selection pattern
7794 #define apzSun_SignalMachs (const char**)NULL
7797 * content selection pattern - do fix if pattern found
7799 tSCC zSun_SignalSelect0[] =
7800 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7802 #define SUN_SIGNAL_TEST_CT 1
7803 static tTestDesc aSun_SignalTests[] = {
7804 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7807 * Fix Command Arguments for Sun_Signal
7809 static const char* apzSun_SignalPatch[] = {
7811 "#ifdef __cplusplus\n\
7812 void\t(*signal(...))(...);\n\
7818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7820 * Description of Sunos_Strlen fix
7822 tSCC zSunos_StrlenName[] =
7826 * File name selection pattern
7828 tSCC zSunos_StrlenList[] =
7831 * Machine/OS name selection pattern
7833 #define apzSunos_StrlenMachs (const char**)NULL
7836 * content selection pattern - do fix if pattern found
7838 tSCC zSunos_StrlenSelect0[] =
7839 "int[ \t]*strlen\\(\\);(.*)";
7841 #define SUNOS_STRLEN_TEST_CT 1
7842 static tTestDesc aSunos_StrlenTests[] = {
7843 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7846 * Fix Command Arguments for Sunos_Strlen
7848 static const char* apzSunos_StrlenPatch[] = {
7850 "__SIZE_TYPE__ strlen();%1",
7853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7855 * Description of Svr4_Disable_Opt fix
7857 tSCC zSvr4_Disable_OptName[] =
7861 * File name selection pattern
7863 tSCC zSvr4_Disable_OptList[] =
7866 * Machine/OS name selection pattern
7868 #define apzSvr4_Disable_OptMachs (const char**)NULL
7871 * content selection pattern - do fix if pattern found
7873 tSCC zSvr4_Disable_OptSelect0[] =
7874 "#define.*__std_hdr_";
7876 #define SVR4_DISABLE_OPT_TEST_CT 1
7877 static tTestDesc aSvr4_Disable_OptTests[] = {
7878 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7881 * Fix Command Arguments for Svr4_Disable_Opt
7883 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7884 "-e", "/#define.*__std_hdr_/d",
7887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7889 * Description of Svr4_Getcwd fix
7891 tSCC zSvr4_GetcwdName[] =
7895 * File name selection pattern
7897 tSCC zSvr4_GetcwdList[] =
7898 "stdlib.h\0unistd.h\0prototypes.h\0";
7900 * Machine/OS name selection pattern
7902 #define apzSvr4_GetcwdMachs (const char**)NULL
7905 * content selection pattern - do fix if pattern found
7907 tSCC zSvr4_GetcwdSelect0[] =
7908 "getcwd\\(char \\*, int\\)";
7910 #define SVR4_GETCWD_TEST_CT 1
7911 static tTestDesc aSvr4_GetcwdTests[] = {
7912 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7915 * Fix Command Arguments for Svr4_Getcwd
7917 static const char* apzSvr4_GetcwdPatch[] = {
7919 "getcwd(char *, size_t)",
7922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7924 * Description of Svr4_Profil fix
7926 tSCC zSvr4_ProfilName[] =
7930 * File name selection pattern
7932 tSCC zSvr4_ProfilList[] =
7933 "stdlib.h\0unistd.h\0";
7935 * Machine/OS name selection pattern
7937 #define apzSvr4_ProfilMachs (const char**)NULL
7940 * content selection pattern - do fix if pattern found
7942 tSCC zSvr4_ProfilSelect0[] =
7943 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7945 #define SVR4_PROFIL_TEST_CT 1
7946 static tTestDesc aSvr4_ProfilTests[] = {
7947 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7950 * Fix Command Arguments for Svr4_Profil
7952 static const char* apzSvr4_ProfilPatch[] = {
7954 "profil(unsigned short *, size_t, int, unsigned int)",
7957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7959 * Description of Svr4_Sighandler_Type fix
7961 tSCC zSvr4_Sighandler_TypeName[] =
7962 "svr4_sighandler_type";
7965 * File name selection pattern
7967 tSCC zSvr4_Sighandler_TypeList[] =
7970 * Machine/OS name selection pattern
7972 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7975 * content selection pattern - do fix if pattern found
7977 tSCC zSvr4_Sighandler_TypeSelect0[] =
7978 "void *\\(\\*\\)\\(\\)";
7980 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7981 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7982 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7985 * Fix Command Arguments for Svr4_Sighandler_Type
7987 static const char* apzSvr4_Sighandler_TypePatch[] = {
7992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7994 * Description of Svr4_Undeclared_Getrnge fix
7996 tSCC zSvr4_Undeclared_GetrngeName[] =
7997 "svr4_undeclared_getrnge";
8000 * File name selection pattern
8002 tSCC zSvr4_Undeclared_GetrngeList[] =
8005 * Machine/OS name selection pattern
8007 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8010 * content selection pattern - do fix if pattern found
8012 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8016 * content bypass pattern - skip fix if pattern found
8018 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8019 "static void getrnge";
8021 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8022 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8023 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8024 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8027 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8029 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8032 static int getrnge ();",
8033 "^static int[ \t]+size;",
8036 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8038 * Description of Sysv68_String fix
8040 tSCC zSysv68_StringName[] =
8044 * File name selection pattern
8046 tSCC zSysv68_StringList[] =
8047 "testing.h\0string.h\0";
8049 * Machine/OS name selection pattern
8051 #define apzSysv68_StringMachs (const char**)NULL
8054 * content bypass pattern - skip fix if pattern found
8056 tSCC zSysv68_StringBypass0[] =
8057 "_CLASSIC_ANSI_TYPES";
8059 #define SYSV68_STRING_TEST_CT 1
8060 static tTestDesc aSysv68_StringTests[] = {
8061 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8064 * Fix Command Arguments for Sysv68_String
8066 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8067 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8068 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8069 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8070 "-e", "/^extern char$/N",
8071 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8072 "-e", "/^extern int$/N",
8073 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8074 "-e", "/^\tstrncmp(),$/N",
8075 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8076 extern unsigned int\\\n\
8080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8082 * Description of Sysz_Stdlib_For_Sun fix
8084 tSCC zSysz_Stdlib_For_SunName[] =
8085 "sysz_stdlib_for_sun";
8088 * File name selection pattern
8090 tSCC zSysz_Stdlib_For_SunList[] =
8093 * Machine/OS name selection pattern
8095 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8098 * content selection pattern - do fix if pattern found
8100 tSCC zSysz_Stdlib_For_SunSelect0[] =
8101 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8104 * content bypass pattern - skip fix if pattern found
8106 tSCC zSysz_Stdlib_For_SunBypass0[] =
8107 "_CLASSIC_ANSI_TYPES";
8109 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8110 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8111 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8112 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8115 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8117 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8122 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8124 * Description of Thread_Keyword fix
8126 tSCC zThread_KeywordName[] =
8130 * File name selection pattern
8132 tSCC zThread_KeywordList[] =
8133 "pthread.h\0bits/sigthread.h\0";
8135 * Machine/OS name selection pattern
8137 #define apzThread_KeywordMachs (const char**)NULL
8140 * content selection pattern - do fix if pattern found
8142 tSCC zThread_KeywordSelect0[] =
8143 "([* ])__thread([,)])";
8145 #define THREAD_KEYWORD_TEST_CT 1
8146 static tTestDesc aThread_KeywordTests[] = {
8147 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8150 * Fix Command Arguments for Thread_Keyword
8152 static const char* apzThread_KeywordPatch[] = {
8157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8159 * Description of Tinfo_Cplusplus fix
8161 tSCC zTinfo_CplusplusName[] =
8165 * File name selection pattern
8167 tSCC zTinfo_CplusplusList[] =
8170 * Machine/OS name selection pattern
8172 #define apzTinfo_CplusplusMachs (const char**)NULL
8175 * content selection pattern - do fix if pattern found
8177 tSCC zTinfo_CplusplusSelect0[] =
8180 #define TINFO_CPLUSPLUS_TEST_CT 1
8181 static tTestDesc aTinfo_CplusplusTests[] = {
8182 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8185 * Fix Command Arguments for Tinfo_Cplusplus
8187 static const char* apzTinfo_CplusplusPatch[] = {
8192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8194 * Description of Ultrix_Const fix
8196 tSCC zUltrix_ConstName[] =
8200 * File name selection pattern
8202 tSCC zUltrix_ConstList[] =
8205 * Machine/OS name selection pattern
8207 #define apzUltrix_ConstMachs (const char**)NULL
8210 * content selection pattern - do fix if pattern found
8212 tSCC zUltrix_ConstSelect0[] =
8213 "perror\\( char \\*";
8215 #define ULTRIX_CONST_TEST_CT 1
8216 static tTestDesc aUltrix_ConstTests[] = {
8217 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
8220 * Fix Command Arguments for Ultrix_Const
8222 static const char* apzUltrix_ConstPatch[] = {
8225 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8230 * Description of Ultrix_Const2 fix
8232 tSCC zUltrix_Const2Name[] =
8236 * File name selection pattern
8238 tSCC zUltrix_Const2List[] =
8241 * Machine/OS name selection pattern
8243 #define apzUltrix_Const2Machs (const char**)NULL
8246 * content selection pattern - do fix if pattern found
8248 tSCC zUltrix_Const2Select0[] =
8249 "\\*fopen\\( char \\*";
8251 #define ULTRIX_CONST2_TEST_CT 1
8252 static tTestDesc aUltrix_Const2Tests[] = {
8253 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
8256 * Fix Command Arguments for Ultrix_Const2
8258 static const char* apzUltrix_Const2Patch[] = {
8260 "%1( const char *%3, const char *",
8261 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8266 * Description of Va_I960_Macro fix
8268 tSCC zVa_I960_MacroName[] =
8272 * File name selection pattern
8274 tSCC zVa_I960_MacroList[] =
8275 "arch/i960/archI960.h\0";
8277 * Machine/OS name selection pattern
8279 #define apzVa_I960_MacroMachs (const char**)NULL
8282 * content selection pattern - do fix if pattern found
8284 tSCC zVa_I960_MacroSelect0[] =
8285 "__(vsiz|vali|vpad|alignof__)";
8287 #define VA_I960_MACRO_TEST_CT 1
8288 static tTestDesc aVa_I960_MacroTests[] = {
8289 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8292 * Fix Command Arguments for Va_I960_Macro
8294 static const char* apzVa_I960_MacroPatch[] = {
8299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8301 * Description of Vms_Define_Can_Use_Extern_Prefix fix
8303 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8304 "vms_define_can_use_extern_prefix";
8307 * File name selection pattern
8309 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8310 "rtldef/decc$types.h\0";
8312 * Machine/OS name selection pattern
8314 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8316 (const char*)NULL };
8319 * content selection pattern - do fix if pattern found
8321 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8323 #[ \t]*if defined\\(__DECCXX\\)\n\
8324 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8326 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
8327 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8328 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8331 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8333 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8335 "%0# elif defined (__GNUC__)\n\
8336 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8341 * Description of Vms_Use_Pragma_Extern_Model fix
8343 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8344 "vms_use_pragma_extern_model";
8347 * File name selection pattern
8349 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8351 * Machine/OS name selection pattern
8353 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8355 (const char*)NULL };
8358 * content selection pattern - do fix if pattern found
8360 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8361 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8362 # pragma extern_model __save\n";
8364 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8365 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8366 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8369 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8371 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8373 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8374 # pragma extern_model __save\n",
8377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8379 * Description of Vms_Disable_Decc_String_Builtins fix
8381 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8382 "vms_disable_decc_string_builtins";
8385 * File name selection pattern
8387 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8388 "rtldef/string.h\0";
8390 * Machine/OS name selection pattern
8392 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8394 (const char*)NULL };
8397 * content selection pattern - do fix if pattern found
8399 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8400 "#if !defined\\(__VAX\\)\n";
8402 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8403 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8404 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8407 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8409 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8411 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8416 * Description of Vms_Use_Quoted_Include fix
8418 tSCC zVms_Use_Quoted_IncludeName[] =
8419 "vms_use_quoted_include";
8422 * File name selection pattern
8424 tSCC zVms_Use_Quoted_IncludeList[] =
8425 "rtldef/wait.h\0starlet_c/pthread.h\0";
8427 * Machine/OS name selection pattern
8429 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8431 (const char*)NULL };
8434 * content selection pattern - do fix if pattern found
8436 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8437 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8439 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8440 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8441 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8444 * Fix Command Arguments for Vms_Use_Quoted_Include
8446 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8453 * Description of Vms_Add_Missing_Braces fix
8455 tSCC zVms_Add_Missing_BracesName[] =
8456 "vms_add_missing_braces";
8459 * File name selection pattern
8461 tSCC zVms_Add_Missing_BracesList[] =
8462 "rtldef/signal.h\0";
8464 * Machine/OS name selection pattern
8466 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8468 (const char*)NULL };
8471 * content selection pattern - do fix if pattern found
8473 tSCC zVms_Add_Missing_BracesSelect0[] =
8474 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8476 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8477 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8478 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8481 * Fix Command Arguments for Vms_Add_Missing_Braces
8483 static const char* apzVms_Add_Missing_BracesPatch[] = {
8488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8490 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8492 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8493 "vms_do_not_redeclare_hostalias";
8496 * File name selection pattern
8498 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8499 "rtldef/resolv.h\0";
8501 * Machine/OS name selection pattern
8503 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8505 (const char*)NULL };
8508 * content selection pattern - do fix if pattern found
8510 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8511 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8512 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8514 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8515 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8516 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8519 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8521 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8529 * Description of Vms_Decc_Builtin fix
8531 tSCC zVms_Decc_BuiltinName[] =
8535 * File name selection pattern
8537 tSCC zVms_Decc_BuiltinList[] =
8538 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8540 * Machine/OS name selection pattern
8542 tSCC* apzVms_Decc_BuiltinMachs[] = {
8544 (const char*)NULL };
8547 * content selection pattern - do fix if pattern found
8549 tSCC zVms_Decc_BuiltinSelect0[] =
8550 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8552 #define VMS_DECC_BUILTIN_TEST_CT 1
8553 static tTestDesc aVms_Decc_BuiltinTests[] = {
8554 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8557 * Fix Command Arguments for Vms_Decc_Builtin
8559 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8560 "-e", "s@__MEMSET@memset@",
8561 "-e", "s@__MEMMOVE@memmove@",
8562 "-e", "s@__MEMCPY@memcpy@",
8563 "-e", "s@__STRLEN@strlen@",
8564 "-e", "s@__STRCPY@strcpy@",
8567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8569 * Description of Vms_No_64bit_Getopt fix
8571 tSCC zVms_No_64bit_GetoptName[] =
8572 "vms_no_64bit_getopt";
8575 * File name selection pattern
8577 tSCC zVms_No_64bit_GetoptList[] =
8578 "rtldef/stdio.h\0rtldef/unistd.h\0";
8580 * Machine/OS name selection pattern
8582 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8584 (const char*)NULL };
8587 * content selection pattern - do fix if pattern found
8589 tSCC zVms_No_64bit_GetoptSelect0[] =
8590 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8592 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8593 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8594 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8597 * Fix Command Arguments for Vms_No_64bit_Getopt
8599 static const char* apzVms_No_64bit_GetoptPatch[] = {
8601 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8607 * Description of Vms_Forward_Declare_Struct fix
8609 tSCC zVms_Forward_Declare_StructName[] =
8610 "vms_forward_declare_struct";
8613 * File name selection pattern
8615 tSCC zVms_Forward_Declare_StructList[] =
8618 * Machine/OS name selection pattern
8620 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8622 (const char*)NULL };
8625 * content selection pattern - do fix if pattern found
8627 tSCC zVms_Forward_Declare_StructSelect0[] =
8628 "(/\\* forward decls for C\\+\\+ \\*/\n\
8629 )#ifdef __cplusplus\n";
8631 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8632 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8633 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8636 * Fix Command Arguments for Vms_Forward_Declare_Struct
8638 static const char* apzVms_Forward_Declare_StructPatch[] = {
8640 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8645 * Description of Vms_Use_Fast_Setjmp fix
8647 tSCC zVms_Use_Fast_SetjmpName[] =
8648 "vms_use_fast_setjmp";
8651 * File name selection pattern
8653 tSCC zVms_Use_Fast_SetjmpList[] =
8654 "rtldef/setjmp.h\0";
8656 * Machine/OS name selection pattern
8658 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8660 (const char*)NULL };
8663 * content selection pattern - do fix if pattern found
8665 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8666 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8668 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8669 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8670 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8673 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8675 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8677 "%0 defined (__GNUC__) ||",
8680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8682 * Description of Void_Null fix
8684 tSCC zVoid_NullName[] =
8688 * File name selection pattern
8690 tSCC zVoid_NullList[] =
8691 "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";
8693 * Machine/OS name selection pattern
8695 #define apzVoid_NullMachs (const char**)NULL
8698 * content selection pattern - do fix if pattern found
8700 tSCC zVoid_NullSelect0[] =
8701 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8704 * content bypass pattern - skip fix if pattern found
8706 tSCC zVoid_NullBypass0[] =
8708 tSCC zVoid_NullBypass1[] =
8711 #define VOID_NULL_TEST_CT 3
8712 static tTestDesc aVoid_NullTests[] = {
8713 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8714 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8715 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8718 * Fix Command Arguments for Void_Null
8720 static const char* apzVoid_NullPatch[] = {
8725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8727 * Description of Vxworks_Gcc_Problem fix
8729 tSCC zVxworks_Gcc_ProblemName[] =
8730 "vxworks_gcc_problem";
8733 * File name selection pattern
8735 tSCC zVxworks_Gcc_ProblemList[] =
8736 "types/vxTypesBase.h\0";
8738 * Machine/OS name selection pattern
8740 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8743 * content selection pattern - do fix if pattern found
8745 tSCC zVxworks_Gcc_ProblemSelect0[] =
8746 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8748 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8749 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8750 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8753 * Fix Command Arguments for Vxworks_Gcc_Problem
8755 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8756 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8757 "-e", "/[ \t]size_t/i\\\n\
8758 #ifndef _GCC_SIZE_T\\\n\
8759 #define _GCC_SIZE_T\n",
8760 "-e", "/[ \t]size_t/a\\\n\
8762 "-e", "/[ \t]ptrdiff_t/i\\\n\
8763 #ifndef _GCC_PTRDIFF_T\\\n\
8764 #define _GCC_PTRDIFF_T\n",
8765 "-e", "/[ \t]ptrdiff_t/a\\\n\
8767 "-e", "/[ \t]wchar_t/i\\\n\
8768 #ifndef _GCC_WCHAR_T\\\n\
8769 #define _GCC_WCHAR_T\n",
8770 "-e", "/[ \t]wchar_t/a\\\n\
8774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8776 * Description of Vxworks_Ioctl_Macro fix
8778 tSCC zVxworks_Ioctl_MacroName[] =
8779 "vxworks_ioctl_macro";
8782 * File name selection pattern
8784 tSCC zVxworks_Ioctl_MacroList[] =
8787 * Machine/OS name selection pattern
8789 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
8791 (const char*)NULL };
8792 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
8793 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
8796 * Fix Command Arguments for Vxworks_Ioctl_Macro
8798 static const char* apzVxworks_Ioctl_MacroPatch[] = {
8801 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
8802 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
8805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8807 * Description of Vxworks_Mkdir_Macro fix
8809 tSCC zVxworks_Mkdir_MacroName[] =
8810 "vxworks_mkdir_macro";
8813 * File name selection pattern
8815 tSCC zVxworks_Mkdir_MacroList[] =
8818 * Machine/OS name selection pattern
8820 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
8822 (const char*)NULL };
8823 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
8824 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
8827 * Fix Command Arguments for Vxworks_Mkdir_Macro
8829 static const char* apzVxworks_Mkdir_MacroPatch[] = {
8832 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
8833 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
8836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8838 * Description of Vxworks_Needs_Vxtypes fix
8840 tSCC zVxworks_Needs_VxtypesName[] =
8841 "vxworks_needs_vxtypes";
8844 * File name selection pattern
8846 tSCC zVxworks_Needs_VxtypesList[] =
8849 * Machine/OS name selection pattern
8851 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8854 * content selection pattern - do fix if pattern found
8856 tSCC zVxworks_Needs_VxtypesSelect0[] =
8857 "uint_t([ \t]+_clocks_per_sec)";
8859 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8860 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8861 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8864 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8866 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8873 * Description of Vxworks_Needs_Vxworks fix
8875 tSCC zVxworks_Needs_VxworksName[] =
8876 "vxworks_needs_vxworks";
8879 * File name selection pattern
8881 tSCC zVxworks_Needs_VxworksList[] =
8884 * Machine/OS name selection pattern
8886 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8889 * content selection pattern - do fix if pattern found
8891 tSCC zVxworks_Needs_VxworksSelect0[] =
8892 "#[ \t]define[ \t]+__INCstath";
8895 * perform the 'test' shell command - do fix on success
8897 tSCC zVxworks_Needs_VxworksTest0[] =
8898 " -r types/vxTypesOld.h";
8899 tSCC zVxworks_Needs_VxworksTest1[] =
8900 " -n \"`egrep '#include' $file`\"";
8901 tSCC zVxworks_Needs_VxworksTest2[] =
8902 " -n \"`egrep ULONG $file`\"";
8904 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8905 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8906 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8907 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8908 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8909 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8912 * Fix Command Arguments for Vxworks_Needs_Vxworks
8914 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8915 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8916 #include <types/vxTypesOld.h>\n",
8919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8921 * Description of Vxworks_Regs fix
8923 tSCC zVxworks_RegsName[] =
8927 * File name selection pattern
8929 #define zVxworks_RegsList (char*)NULL
8931 * Machine/OS name selection pattern
8933 tSCC* apzVxworks_RegsMachs[] = {
8935 (const char*)NULL };
8938 * content selection pattern - do fix if pattern found
8940 tSCC zVxworks_RegsSelect0[] =
8941 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
8943 #define VXWORKS_REGS_TEST_CT 1
8944 static tTestDesc aVxworks_RegsTests[] = {
8945 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
8948 * Fix Command Arguments for Vxworks_Regs
8950 static const char* apzVxworks_RegsPatch[] = {
8952 "#include <arch/../regs.h>",
8955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8957 * Description of Vxworks_Time fix
8959 tSCC zVxworks_TimeName[] =
8963 * File name selection pattern
8965 tSCC zVxworks_TimeList[] =
8968 * Machine/OS name selection pattern
8970 #define apzVxworks_TimeMachs (const char**)NULL
8973 * content selection pattern - do fix if pattern found
8975 tSCC zVxworks_TimeSelect0[] =
8976 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8979 * perform the 'test' shell command - do fix on success
8981 tSCC zVxworks_TimeTest0[] =
8984 #define VXWORKS_TIME_TEST_CT 2
8985 static tTestDesc aVxworks_TimeTests[] = {
8986 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8987 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8990 * Fix Command Arguments for Vxworks_Time
8992 static const char* apzVxworks_TimePatch[] = {
8994 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8995 #ifdef __cplusplus\n\
8996 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8998 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9000 #define __gcc_VOIDFUNCPTR_defined\n\
9002 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9007 * Description of Vxworks_Write_Const fix
9009 tSCC zVxworks_Write_ConstName[] =
9010 "vxworks_write_const";
9013 * File name selection pattern
9015 tSCC zVxworks_Write_ConstList[] =
9018 * Machine/OS name selection pattern
9020 tSCC* apzVxworks_Write_ConstMachs[] = {
9022 (const char*)NULL };
9023 #define VXWORKS_WRITE_CONST_TEST_CT 0
9024 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9027 * Fix Command Arguments for Vxworks_Write_Const
9029 static const char* apzVxworks_Write_ConstPatch[] = {
9031 "extern int write (int, const char*, size_t);",
9032 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9035 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9037 * Description of X11_Class fix
9039 tSCC zX11_ClassName[] =
9043 * File name selection pattern
9045 tSCC zX11_ClassList[] =
9048 * Machine/OS name selection pattern
9050 #define apzX11_ClassMachs (const char**)NULL
9053 * content selection pattern - do fix if pattern found
9055 tSCC zX11_ClassSelect0[] =
9056 "^([ \t]*char \\*)class;(.*)";
9059 * content bypass pattern - skip fix if pattern found
9061 tSCC zX11_ClassBypass0[] =
9064 #define X11_CLASS_TEST_CT 2
9065 static tTestDesc aX11_ClassTests[] = {
9066 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9067 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9070 * Fix Command Arguments for X11_Class
9072 static const char* apzX11_ClassPatch[] = {
9074 "#ifdef __cplusplus\n\
9081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9083 * Description of X11_Class_Usage fix
9085 tSCC zX11_Class_UsageName[] =
9089 * File name selection pattern
9091 tSCC zX11_Class_UsageList[] =
9092 "Xm/BaseClassI.h\0";
9094 * Machine/OS name selection pattern
9096 #define apzX11_Class_UsageMachs (const char**)NULL
9099 * content selection pattern - do fix if pattern found
9101 tSCC zX11_Class_UsageSelect0[] =
9105 * content bypass pattern - skip fix if pattern found
9107 tSCC zX11_Class_UsageBypass0[] =
9110 #define X11_CLASS_USAGE_TEST_CT 2
9111 static tTestDesc aX11_Class_UsageTests[] = {
9112 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9113 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9116 * Fix Command Arguments for X11_Class_Usage
9118 static const char* apzX11_Class_UsagePatch[] = {
9123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9125 * Description of X11_New fix
9127 tSCC zX11_NewName[] =
9131 * File name selection pattern
9133 tSCC zX11_NewList[] =
9136 * Machine/OS name selection pattern
9138 #define apzX11_NewMachs (const char**)NULL
9141 * content bypass pattern - skip fix if pattern found
9143 tSCC zX11_NewBypass0[] =
9146 #define X11_NEW_TEST_CT 1
9147 static tTestDesc aX11_NewTests[] = {
9148 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9151 * Fix Command Arguments for X11_New
9153 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9154 "-e", "/Widget\told, new;/i\\\n\
9155 #ifdef __cplusplus\\\n\
9156 \\\tWidget\told, c_new;\\\n\
9158 "-e", "/Widget\told, new;/a\\\n\
9160 "-e", "s/Widget new,/Widget c_new,/g",
9163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9165 * Description of X11_Sprintf fix
9167 tSCC zX11_SprintfName[] =
9171 * File name selection pattern
9173 tSCC zX11_SprintfList[] =
9174 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9176 * Machine/OS name selection pattern
9178 #define apzX11_SprintfMachs (const char**)NULL
9181 * content selection pattern - do fix if pattern found
9183 tSCC zX11_SprintfSelect0[] =
9184 "^extern char \\*\tsprintf\\(\\);$";
9186 #define X11_SPRINTF_TEST_CT 1
9187 static tTestDesc aX11_SprintfTests[] = {
9188 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
9191 * Fix Command Arguments for X11_Sprintf
9193 static const char* apzX11_SprintfPatch[] = {
9195 "#ifndef __STDC__\n\
9197 #endif /* !defined __STDC__ */",
9200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9202 * Description of Feraiseexcept_Nosse_Invalid fix
9204 tSCC zFeraiseexcept_Nosse_InvalidName[] =
9205 "feraiseexcept_nosse_invalid";
9208 * File name selection pattern
9210 tSCC zFeraiseexcept_Nosse_InvalidList[] =
9213 * Machine/OS name selection pattern
9215 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
9216 "i[34567]86-*-linux*",
9219 (const char*)NULL };
9222 * content selection pattern - do fix if pattern found
9224 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
9225 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
9228 * content bypass pattern - skip fix if pattern found
9230 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
9231 "\"fdiv .*; fwait\"";
9233 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
9234 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
9235 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
9236 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
9239 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
9241 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
9243 "# ifdef __SSE_MATH__\n\
9246 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
9247 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
9251 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9253 * Description of Feraiseexcept_Nosse_Divbyzero fix
9255 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
9256 "feraiseexcept_nosse_divbyzero";
9259 * File name selection pattern
9261 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
9264 * Machine/OS name selection pattern
9266 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
9267 "i[34567]86-*-linux*",
9270 (const char*)NULL };
9273 * content selection pattern - do fix if pattern found
9275 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
9276 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
9279 * content bypass pattern - skip fix if pattern found
9281 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
9282 "\"fdivp .*; fwait\"";
9284 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
9285 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
9286 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
9287 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
9290 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
9292 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
9294 "# ifdef __SSE_MATH__\n\
9297 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
9298 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
9303 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9307 #define REGEX_COUNT 265
9308 #define MACH_LIST_SIZE_LIMIT 187
9309 #define FIX_COUNT 227
9312 * Enumerate the fixes
9315 AAB_AIX_STDIO_FIXIDX,
9316 AAB_AIX_FCNTL_FIXIDX,
9317 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9318 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9319 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9320 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9321 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9322 AAB_SUN_MEMCPY_FIXIDX,
9323 AAB_VXWORKS_ASSERT_FIXIDX,
9324 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9325 AAB_VXWORKS_STDINT_FIXIDX,
9326 AAB_VXWORKS_UNISTD_FIXIDX,
9330 AIX_NET_IF_ARP_FIXIDX,
9331 AIX_ONCE_INIT_1_FIXIDX,
9332 AIX_ONCE_INIT_2_FIXIDX,
9333 AIX_MUTEX_INITIALIZER_1_FIXIDX,
9334 AIX_COND_INITIALIZER_1_FIXIDX,
9335 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9337 AIX_STDINT_1_FIXIDX,
9338 AIX_STDINT_2_FIXIDX,
9339 AIX_STDINT_3_FIXIDX,
9340 AIX_STDINT_4_FIXIDX,
9341 AIX_STDINT_5_FIXIDX,
9342 AIX_SYSMACHINE_FIXIDX,
9343 AIX_SYSWAIT_2_FIXIDX,
9344 AIX_VOLATILE_FIXIDX,
9345 ALPHA___ASSERT_FIXIDX,
9346 ALPHA_ASSERT_FIXIDX,
9347 ALPHA_GETOPT_FIXIDX,
9348 ALPHA_IF_SEMICOLON_FIXIDX,
9349 ALPHA_PARENS_FIXIDX,
9351 AVOID_BOOL_DEFINE_FIXIDX,
9352 AVOID_BOOL_TYPE_FIXIDX,
9353 AVOID_WCHAR_T_TYPE_FIXIDX,
9354 BAD_STRUCT_TERM_FIXIDX,
9356 BROKEN_ASSERT_STDIO_FIXIDX,
9357 BROKEN_ASSERT_STDLIB_FIXIDX,
9360 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9361 CDEF_CPLUSPLUS_FIXIDX,
9362 CTRL_QUOTES_DEF_FIXIDX,
9363 CTRL_QUOTES_USE_FIXIDX,
9365 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9366 DARWIN_EXTERNC_FIXIDX,
9367 DARWIN_GCC4_BREAKAGE_FIXIDX,
9368 DARWIN_PRIVATE_EXTERN_FIXIDX,
9369 DARWIN_STDINT_1_FIXIDX,
9370 DARWIN_STDINT_2_FIXIDX,
9371 DARWIN_STDINT_3_FIXIDX,
9372 DARWIN_STDINT_4_FIXIDX,
9373 DARWIN_STDINT_5_FIXIDX,
9374 DARWIN_STDINT_6_FIXIDX,
9375 DARWIN_STDINT_7_FIXIDX,
9376 DEC_INTERN_ASM_FIXIDX,
9377 DJGPP_WCHAR_H_FIXIDX,
9379 FREEBSD_GCC3_BREAKAGE_FIXIDX,
9380 FREEBSD_GCC4_BREAKAGE_FIXIDX,
9381 GLIBC_C99_INLINE_1_FIXIDX,
9382 GLIBC_C99_INLINE_1A_FIXIDX,
9383 GLIBC_C99_INLINE_2_FIXIDX,
9384 GLIBC_C99_INLINE_3_FIXIDX,
9385 GLIBC_C99_INLINE_4_FIXIDX,
9386 GLIBC_MUTEX_INIT_FIXIDX,
9387 GLIBC_STDINT_FIXIDX,
9388 GLIBC_STRNCPY_FIXIDX,
9389 GLIBC_TGMATH_FIXIDX,
9393 HPPA_HPUX_FP_MACROS_FIXIDX,
9394 HPUX10_CPP_POW_INLINE_FIXIDX,
9395 HPUX11_CPP_POW_INLINE_FIXIDX,
9396 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9397 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9398 HPUX10_STDIO_DECLARATIONS_FIXIDX,
9400 HPUX11_FABSF_FIXIDX,
9401 HPUX11_PTHREAD_CONST_FIXIDX,
9402 HPUX11_SIZE_T_FIXIDX,
9403 HPUX11_SNPRINTF_FIXIDX,
9404 HPUX11_VSNPRINTF_FIXIDX,
9405 HPUX8_BOGUS_INLINES_FIXIDX,
9406 HPUX_CTYPE_MACROS_FIXIDX,
9408 HPUX_LONG_DOUBLE_FIXIDX,
9409 HPUX_LONG_DOUBLE_2_FIXIDX,
9410 HPUX_SYSTIME_FIXIDX,
9411 HPUX_SPU_INFO_FIXIDX,
9412 HPUX11_EXTERN_SENDFILE_FIXIDX,
9413 HPUX11_EXTERN_SENDPATH_FIXIDX,
9414 HPUX_EXTERN_ERRNO_FIXIDX,
9415 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9416 HPUX_C99_INTPTR_FIXIDX,
9417 HPUX_C99_INTTYPES_FIXIDX,
9418 HPUX_C99_INTTYPES2_FIXIDX,
9419 HPUX_STDINT_LEAST_FAST_FIXIDX,
9420 HPUX_INTTYPE_INT8_T_FIXIDX,
9421 HPUX_IMAGINARY_I_FIXIDX,
9422 HUGE_VAL_HEX_FIXIDX,
9423 HUGE_VALF_HEX_FIXIDX,
9424 HUGE_VALL_HEX_FIXIDX,
9425 INT_ABORT_FREE_AND_EXIT_FIXIDX,
9426 IO_QUOTES_DEF_FIXIDX,
9427 IO_QUOTES_USE_FIXIDX,
9428 IP_MISSING_SEMI_FIXIDX,
9429 IRIX_LIMITS_CONST_FIXIDX,
9430 IRIX_STDIO_VA_LIST_FIXIDX,
9431 KANDR_CONCAT_FIXIDX,
9432 LINUX_IA64_UCONTEXT_FIXIDX,
9433 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9434 LYNXOS_MISSING_PUTENV_FIXIDX,
9435 MACHINE_ANSI_H_VA_LIST_FIXIDX,
9436 MACHINE_NAME_FIXIDX,
9437 MATH_EXCEPTION_FIXIDX,
9438 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9439 NESTED_AUTH_DES_FIXIDX,
9440 NETBSD_C99_INLINE_1_FIXIDX,
9441 NETBSD_C99_INLINE_2_FIXIDX,
9442 NETBSD_EXTRA_SEMICOLON_FIXIDX,
9443 NEWLIB_STDINT_1_FIXIDX,
9444 NEWLIB_STDINT_2_FIXIDX,
9445 NEXT_MATH_PREFIX_FIXIDX,
9446 NEXT_TEMPLATE_FIXIDX,
9447 NEXT_VOLITILE_FIXIDX,
9448 NEXT_WAIT_UNION_FIXIDX,
9449 NODEENT_SYNTAX_FIXIDX,
9450 OPENBSD_NULL_DEFINITION_FIXIDX,
9451 OBSTACK_LVALUE_CAST_FIXIDX,
9452 OPENBSD_VA_START_FIXIDX,
9453 OSF_NAMESPACE_A_FIXIDX,
9454 OSF_NAMESPACE_C_FIXIDX,
9455 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9456 READ_RET_TYPE_FIXIDX,
9457 RPC_XDR_LVALUE_CAST_A_FIXIDX,
9458 RPC_XDR_LVALUE_CAST_B_FIXIDX,
9459 RS6000_DOUBLE_FIXIDX,
9460 RS6000_FCHMOD_FIXIDX,
9461 RS6000_PARAM_FIXIDX,
9462 SOLARIS___RESTRICT_FIXIDX,
9463 SOLARIS_COMPLEX_FIXIDX,
9464 SOLARIS_COMPLEX_CXX_FIXIDX,
9465 SOLARIS_CXX_LINKAGE_FIXIDX,
9466 SOLARIS_GETC_STRICT_STDC_FIXIDX,
9467 SOLARIS_LONGJMP_NORETURN_FIXIDX,
9468 SOLARIS_MATH_1_FIXIDX,
9469 SOLARIS_MATH_2_FIXIDX,
9470 SOLARIS_MATH_3_FIXIDX,
9471 SOLARIS_MATH_4_FIXIDX,
9472 SOLARIS_MATH_8_FIXIDX,
9473 SOLARIS_MATH_9_FIXIDX,
9474 SOLARIS_MATH_10_FIXIDX,
9475 SOLARIS_MUTEX_INIT_2_FIXIDX,
9476 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9477 SOLARIS_RWLOCK_INIT_1_FIXIDX,
9478 SOLARIS_ONCE_INIT_1_FIXIDX,
9479 SOLARIS_ONCE_INIT_2_FIXIDX,
9480 SOLARIS_INT_CONST_FIXIDX,
9481 SOLARIS_INT_LIMITS_1_FIXIDX,
9482 SOLARIS_INT_LIMITS_2_FIXIDX,
9483 SOLARIS_INT_LIMITS_3_FIXIDX,
9484 SOLARIS_INT_TYPES_FIXIDX,
9485 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9486 SOLARIS_STD___FILBUF_FIXIDX,
9487 SOLARIS_STDIO_TAG_FIXIDX,
9488 SOLARIS_SYS_VA_LIST_FIXIDX,
9490 STDIO_STDARG_H_FIXIDX,
9491 STDIO_VA_LIST_FIXIDX,
9492 STDIO_VA_LIST_CLIENTS_FIXIDX,
9493 STRICT_ANSI_NOT_FIXIDX,
9494 STRICT_ANSI_NOT_CTD_FIXIDX,
9495 STRICT_ANSI_ONLY_FIXIDX,
9497 STRUCT_SOCKADDR_FIXIDX,
9498 SUN_AUTH_PROTO_FIXIDX,
9499 SUN_BOGUS_IFDEF_FIXIDX,
9500 SUN_CATMACRO_FIXIDX,
9502 SUN_RUSERS_SEMI_FIXIDX,
9504 SUNOS_STRLEN_FIXIDX,
9505 SVR4_DISABLE_OPT_FIXIDX,
9508 SVR4_SIGHANDLER_TYPE_FIXIDX,
9509 SVR4_UNDECLARED_GETRNGE_FIXIDX,
9510 SYSV68_STRING_FIXIDX,
9511 SYSZ_STDLIB_FOR_SUN_FIXIDX,
9512 THREAD_KEYWORD_FIXIDX,
9513 TINFO_CPLUSPLUS_FIXIDX,
9514 ULTRIX_CONST_FIXIDX,
9515 ULTRIX_CONST2_FIXIDX,
9516 VA_I960_MACRO_FIXIDX,
9517 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9518 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9519 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9520 VMS_USE_QUOTED_INCLUDE_FIXIDX,
9521 VMS_ADD_MISSING_BRACES_FIXIDX,
9522 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9523 VMS_DECC_BUILTIN_FIXIDX,
9524 VMS_NO_64BIT_GETOPT_FIXIDX,
9525 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9526 VMS_USE_FAST_SETJMP_FIXIDX,
9528 VXWORKS_GCC_PROBLEM_FIXIDX,
9529 VXWORKS_IOCTL_MACRO_FIXIDX,
9530 VXWORKS_MKDIR_MACRO_FIXIDX,
9531 VXWORKS_NEEDS_VXTYPES_FIXIDX,
9532 VXWORKS_NEEDS_VXWORKS_FIXIDX,
9533 VXWORKS_REGS_FIXIDX,
9534 VXWORKS_TIME_FIXIDX,
9535 VXWORKS_WRITE_CONST_FIXIDX,
9537 X11_CLASS_USAGE_FIXIDX,
9540 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9541 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX
9544 tFixDesc fixDescList[ FIX_COUNT ] = {
9545 { zAab_Aix_StdioName, zAab_Aix_StdioList,
9546 apzAab_Aix_StdioMachs,
9547 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9548 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
9550 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
9551 apzAab_Aix_FcntlMachs,
9552 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9553 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
9555 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
9556 apzAab_Darwin7_9_Long_Double_FuncsMachs,
9557 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9558 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9560 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
9561 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9562 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9563 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9565 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
9566 apzAab_Fd_Zero_Gnu_Types_HMachs,
9567 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9568 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9570 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9571 apzAab_Fd_Zero_Selectbits_HMachs,
9572 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9573 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9575 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9576 apzAab_Solaris_Sys_Varargs_HMachs,
9577 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9578 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9580 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9581 apzAab_Sun_MemcpyMachs,
9582 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9583 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9585 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
9586 apzAab_Vxworks_AssertMachs,
9587 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9588 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
9590 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
9591 apzAab_Vxworks_Regs_VxtypesMachs,
9592 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9593 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
9595 { zAab_Vxworks_StdintName, zAab_Vxworks_StdintList,
9596 apzAab_Vxworks_StdintMachs,
9597 AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9598 aAab_Vxworks_StdintTests, apzAab_Vxworks_StdintPatch, 0 },
9600 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
9601 apzAab_Vxworks_UnistdMachs,
9602 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9603 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
9605 { zAix_AssertName, zAix_AssertList,
9607 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9608 aAix_AssertTests, apzAix_AssertPatch, 0 },
9610 { zAix_ComplexName, zAix_ComplexList,
9611 apzAix_ComplexMachs,
9612 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9615 { zAix_MallocName, zAix_MallocList,
9617 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aAix_MallocTests, apzAix_MallocPatch, 0 },
9620 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9621 apzAix_Net_If_ArpMachs,
9622 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9623 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9625 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9626 apzAix_Once_Init_1Machs,
9627 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9628 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9630 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9631 apzAix_Once_Init_2Machs,
9632 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9633 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9635 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9636 apzAix_Mutex_Initializer_1Machs,
9637 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9638 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9640 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9641 apzAix_Cond_Initializer_1Machs,
9642 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9643 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9645 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9646 apzAix_Rwlock_Initializer_1Machs,
9647 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9648 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9650 { zAix_PthreadName, zAix_PthreadList,
9651 apzAix_PthreadMachs,
9652 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9653 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9655 { zAix_Stdint_1Name, zAix_Stdint_1List,
9656 apzAix_Stdint_1Machs,
9657 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9658 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9660 { zAix_Stdint_2Name, zAix_Stdint_2List,
9661 apzAix_Stdint_2Machs,
9662 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9663 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9665 { zAix_Stdint_3Name, zAix_Stdint_3List,
9666 apzAix_Stdint_3Machs,
9667 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9668 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9670 { zAix_Stdint_4Name, zAix_Stdint_4List,
9671 apzAix_Stdint_4Machs,
9672 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9673 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9675 { zAix_Stdint_5Name, zAix_Stdint_5List,
9676 apzAix_Stdint_5Machs,
9677 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9678 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9680 { zAix_SysmachineName, zAix_SysmachineList,
9681 apzAix_SysmachineMachs,
9682 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9683 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9685 { zAix_Syswait_2Name, zAix_Syswait_2List,
9686 apzAix_Syswait_2Machs,
9687 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9688 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9690 { zAix_VolatileName, zAix_VolatileList,
9691 apzAix_VolatileMachs,
9692 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9693 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9695 { zAlpha___AssertName, zAlpha___AssertList,
9696 apzAlpha___AssertMachs,
9697 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9698 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9700 { zAlpha_AssertName, zAlpha_AssertList,
9701 apzAlpha_AssertMachs,
9702 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9703 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9705 { zAlpha_GetoptName, zAlpha_GetoptList,
9706 apzAlpha_GetoptMachs,
9707 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9708 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9710 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9711 apzAlpha_If_SemicolonMachs,
9712 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9713 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9715 { zAlpha_ParensName, zAlpha_ParensList,
9716 apzAlpha_ParensMachs,
9717 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9718 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9720 { zAlpha_SbrkName, zAlpha_SbrkList,
9722 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9723 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9725 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9726 apzAvoid_Bool_DefineMachs,
9727 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9728 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9730 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9731 apzAvoid_Bool_TypeMachs,
9732 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9733 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9735 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9736 apzAvoid_Wchar_T_TypeMachs,
9737 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9738 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9740 { zBad_Struct_TermName, zBad_Struct_TermList,
9741 apzBad_Struct_TermMachs,
9742 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9743 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9745 { zBadquoteName, zBadquoteList,
9747 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9748 aBadquoteTests, apzBadquotePatch, 0 },
9750 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9751 apzBroken_Assert_StdioMachs,
9752 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9753 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9755 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9756 apzBroken_Assert_StdlibMachs,
9757 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9758 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9760 { zBroken_CabsName, zBroken_CabsList,
9761 apzBroken_CabsMachs,
9762 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9763 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9765 { zBroken_NanName, zBroken_NanList,
9767 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9768 aBroken_NanTests, apzBroken_NanPatch, 0 },
9770 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9771 apzBsd_Stdio_Attrs_ConflictMachs,
9772 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9773 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9775 { zCdef_CplusplusName, zCdef_CplusplusList,
9776 apzCdef_CplusplusMachs,
9777 CDEF_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9778 aCdef_CplusplusTests, apzCdef_CplusplusPatch, 0 },
9780 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9781 apzCtrl_Quotes_DefMachs,
9782 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9783 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9785 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9786 apzCtrl_Quotes_UseMachs,
9787 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9788 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9790 { zCxx_UnreadyName, zCxx_UnreadyList,
9791 apzCxx_UnreadyMachs,
9792 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9793 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9795 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
9796 apzDarwin_9_Long_Double_Funcs_2Machs,
9797 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9798 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
9800 { zDarwin_ExterncName, zDarwin_ExterncList,
9801 apzDarwin_ExterncMachs,
9802 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9803 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9805 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9806 apzDarwin_Gcc4_BreakageMachs,
9807 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9808 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9810 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9811 apzDarwin_Private_ExternMachs,
9812 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9813 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9815 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9816 apzDarwin_Stdint_1Machs,
9817 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9818 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9820 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9821 apzDarwin_Stdint_2Machs,
9822 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9823 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9825 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9826 apzDarwin_Stdint_3Machs,
9827 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9828 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9830 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9831 apzDarwin_Stdint_4Machs,
9832 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9833 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9835 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9836 apzDarwin_Stdint_5Machs,
9837 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9838 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9840 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9841 apzDarwin_Stdint_6Machs,
9842 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9843 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9845 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9846 apzDarwin_Stdint_7Machs,
9847 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9848 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9850 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9851 apzDec_Intern_AsmMachs,
9852 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9853 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9855 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9856 apzDjgpp_Wchar_HMachs,
9857 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9858 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9860 { zEcd_CursorName, zEcd_CursorList,
9862 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9863 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9865 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9866 apzFreebsd_Gcc3_BreakageMachs,
9867 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9868 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9870 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9871 apzFreebsd_Gcc4_BreakageMachs,
9872 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9873 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9875 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9876 apzGlibc_C99_Inline_1Machs,
9877 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9878 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9880 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9881 apzGlibc_C99_Inline_1aMachs,
9882 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9883 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9885 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9886 apzGlibc_C99_Inline_2Machs,
9887 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9888 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9890 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9891 apzGlibc_C99_Inline_3Machs,
9892 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9893 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9895 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9896 apzGlibc_C99_Inline_4Machs,
9897 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9898 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9900 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9901 apzGlibc_Mutex_InitMachs,
9902 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9903 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9905 { zGlibc_StdintName, zGlibc_StdintList,
9906 apzGlibc_StdintMachs,
9907 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9908 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9910 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9911 apzGlibc_StrncpyMachs,
9912 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9913 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9915 { zGlibc_TgmathName, zGlibc_TgmathList,
9916 apzGlibc_TgmathMachs,
9917 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9918 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9920 { zGnu_TypesName, zGnu_TypesList,
9922 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9923 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9925 { zHp_InlineName, zHp_InlineList,
9927 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9928 aHp_InlineTests, apzHp_InlinePatch, 0 },
9930 { zHp_SysfileName, zHp_SysfileList,
9932 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9933 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9935 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9936 apzHppa_Hpux_Fp_MacrosMachs,
9937 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9938 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9940 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9941 apzHpux10_Cpp_Pow_InlineMachs,
9942 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9943 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9945 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9946 apzHpux11_Cpp_Pow_InlineMachs,
9947 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9948 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9950 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9951 apzHpux10_Ctype_Declarations1Machs,
9952 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9953 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9955 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9956 apzHpux10_Ctype_Declarations2Machs,
9957 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9958 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9960 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9961 apzHpux10_Stdio_DeclarationsMachs,
9962 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9963 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9965 { zHpux11_AbsName, zHpux11_AbsList,
9967 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9968 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9970 { zHpux11_FabsfName, zHpux11_FabsfList,
9971 apzHpux11_FabsfMachs,
9972 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9973 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9975 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9976 apzHpux11_Pthread_ConstMachs,
9977 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9978 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9980 { zHpux11_Size_TName, zHpux11_Size_TList,
9981 apzHpux11_Size_TMachs,
9982 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9983 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9985 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9986 apzHpux11_SnprintfMachs,
9987 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9988 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9990 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9991 apzHpux11_VsnprintfMachs,
9992 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9993 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9995 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9996 apzHpux8_Bogus_InlinesMachs,
9997 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9998 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10000 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10001 apzHpux_Ctype_MacrosMachs,
10002 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10003 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10005 { zHpux_HtonlName, zHpux_HtonlList,
10006 apzHpux_HtonlMachs,
10007 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10008 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10010 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10011 apzHpux_Long_DoubleMachs,
10012 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10013 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10015 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10016 apzHpux_Long_Double_2Machs,
10017 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10018 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10020 { zHpux_SystimeName, zHpux_SystimeList,
10021 apzHpux_SystimeMachs,
10022 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10023 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10025 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10026 apzHpux_Spu_InfoMachs,
10027 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10028 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10030 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10031 apzHpux11_Extern_SendfileMachs,
10032 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10033 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10035 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10036 apzHpux11_Extern_SendpathMachs,
10037 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10038 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10040 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10041 apzHpux_Extern_ErrnoMachs,
10042 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10043 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10045 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10046 apzHpux_Pthread_InitializersMachs,
10047 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10048 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10050 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10051 apzHpux_C99_IntptrMachs,
10052 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10053 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10055 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10056 apzHpux_C99_InttypesMachs,
10057 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10058 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10060 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10061 apzHpux_C99_Inttypes2Machs,
10062 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10063 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10065 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10066 apzHpux_Stdint_Least_FastMachs,
10067 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10068 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10070 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10071 apzHpux_Inttype_Int8_TMachs,
10072 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10073 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10075 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10076 apzHpux_Imaginary_IMachs,
10077 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10078 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10080 { zHuge_Val_HexName, zHuge_Val_HexList,
10081 apzHuge_Val_HexMachs,
10082 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10083 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10085 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10086 apzHuge_Valf_HexMachs,
10087 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10088 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10090 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10091 apzHuge_Vall_HexMachs,
10092 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10093 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10095 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10096 apzInt_Abort_Free_And_ExitMachs,
10097 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10098 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10100 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10101 apzIo_Quotes_DefMachs,
10102 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10103 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10105 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10106 apzIo_Quotes_UseMachs,
10107 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10108 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10110 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10111 apzIp_Missing_SemiMachs,
10112 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10113 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10115 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10116 apzIrix_Limits_ConstMachs,
10117 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10118 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10120 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10121 apzIrix_Stdio_Va_ListMachs,
10122 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10123 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10125 { zKandr_ConcatName, zKandr_ConcatList,
10126 apzKandr_ConcatMachs,
10127 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10128 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10130 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10131 apzLinux_Ia64_UcontextMachs,
10132 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10133 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10135 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10136 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10137 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10138 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10140 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10141 apzLynxos_Missing_PutenvMachs,
10142 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10143 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10145 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10146 apzMachine_Ansi_H_Va_ListMachs,
10147 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10148 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10150 { zMachine_NameName, zMachine_NameList,
10151 apzMachine_NameMachs,
10152 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10153 aMachine_NameTests, apzMachine_NamePatch, 0 },
10155 { zMath_ExceptionName, zMath_ExceptionList,
10156 apzMath_ExceptionMachs,
10157 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10158 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
10160 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
10161 apzMath_Huge_Val_From_Dbl_MaxMachs,
10162 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10163 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10165 { zNested_Auth_DesName, zNested_Auth_DesList,
10166 apzNested_Auth_DesMachs,
10167 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10168 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
10170 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
10171 apzNetbsd_C99_Inline_1Machs,
10172 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10173 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
10175 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
10176 apzNetbsd_C99_Inline_2Machs,
10177 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10178 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
10180 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
10181 apzNetbsd_Extra_SemicolonMachs,
10182 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10183 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
10185 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
10186 apzNewlib_Stdint_1Machs,
10187 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10188 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
10190 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
10191 apzNewlib_Stdint_2Machs,
10192 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10193 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
10195 { zNext_Math_PrefixName, zNext_Math_PrefixList,
10196 apzNext_Math_PrefixMachs,
10197 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10198 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
10200 { zNext_TemplateName, zNext_TemplateList,
10201 apzNext_TemplateMachs,
10202 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10203 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
10205 { zNext_VolitileName, zNext_VolitileList,
10206 apzNext_VolitileMachs,
10207 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10208 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
10210 { zNext_Wait_UnionName, zNext_Wait_UnionList,
10211 apzNext_Wait_UnionMachs,
10212 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10213 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
10215 { zNodeent_SyntaxName, zNodeent_SyntaxList,
10216 apzNodeent_SyntaxMachs,
10217 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10218 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
10220 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
10221 apzOpenbsd_Null_DefinitionMachs,
10222 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10223 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
10225 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
10226 apzObstack_Lvalue_CastMachs,
10227 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10228 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
10230 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
10231 apzOpenbsd_Va_StartMachs,
10232 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10233 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
10235 { zOsf_Namespace_AName, zOsf_Namespace_AList,
10236 apzOsf_Namespace_AMachs,
10237 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10238 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
10240 { zOsf_Namespace_CName, zOsf_Namespace_CList,
10241 apzOsf_Namespace_CMachs,
10242 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10243 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
10245 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
10246 apzPthread_Incomplete_Struct_ArgumentMachs,
10247 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10248 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10250 { zRead_Ret_TypeName, zRead_Ret_TypeList,
10251 apzRead_Ret_TypeMachs,
10252 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10253 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
10255 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
10256 apzRpc_Xdr_Lvalue_Cast_AMachs,
10257 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10258 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10260 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
10261 apzRpc_Xdr_Lvalue_Cast_BMachs,
10262 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10263 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10265 { zRs6000_DoubleName, zRs6000_DoubleList,
10266 apzRs6000_DoubleMachs,
10267 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10268 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
10270 { zRs6000_FchmodName, zRs6000_FchmodList,
10271 apzRs6000_FchmodMachs,
10272 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10273 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
10275 { zRs6000_ParamName, zRs6000_ParamList,
10276 apzRs6000_ParamMachs,
10277 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10278 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
10280 { zSolaris___RestrictName, zSolaris___RestrictList,
10281 apzSolaris___RestrictMachs,
10282 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10283 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
10285 { zSolaris_ComplexName, zSolaris_ComplexList,
10286 apzSolaris_ComplexMachs,
10287 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10288 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
10290 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
10291 apzSolaris_Complex_CxxMachs,
10292 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10293 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
10295 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
10296 apzSolaris_Cxx_LinkageMachs,
10297 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10298 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
10300 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
10301 apzSolaris_Getc_Strict_StdcMachs,
10302 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10303 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
10305 { zSolaris_Longjmp_NoreturnName, zSolaris_Longjmp_NoreturnList,
10306 apzSolaris_Longjmp_NoreturnMachs,
10307 SOLARIS_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10308 aSolaris_Longjmp_NoreturnTests, apzSolaris_Longjmp_NoreturnPatch, 0 },
10310 { zSolaris_Math_1Name, zSolaris_Math_1List,
10311 apzSolaris_Math_1Machs,
10312 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10313 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
10315 { zSolaris_Math_2Name, zSolaris_Math_2List,
10316 apzSolaris_Math_2Machs,
10317 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10318 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
10320 { zSolaris_Math_3Name, zSolaris_Math_3List,
10321 apzSolaris_Math_3Machs,
10322 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10323 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
10325 { zSolaris_Math_4Name, zSolaris_Math_4List,
10326 apzSolaris_Math_4Machs,
10327 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10328 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
10330 { zSolaris_Math_8Name, zSolaris_Math_8List,
10331 apzSolaris_Math_8Machs,
10332 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10333 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
10335 { zSolaris_Math_9Name, zSolaris_Math_9List,
10336 apzSolaris_Math_9Machs,
10337 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10338 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
10340 { zSolaris_Math_10Name, zSolaris_Math_10List,
10341 apzSolaris_Math_10Machs,
10342 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10343 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
10345 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
10346 apzSolaris_Mutex_Init_2Machs,
10347 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10348 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
10350 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
10351 apzSolaris_Pow_Int_OverloadMachs,
10352 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10353 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
10355 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
10356 apzSolaris_Rwlock_Init_1Machs,
10357 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10358 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
10360 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
10361 apzSolaris_Once_Init_1Machs,
10362 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10363 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
10365 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
10366 apzSolaris_Once_Init_2Machs,
10367 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10368 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
10370 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
10371 apzSolaris_Int_ConstMachs,
10372 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10373 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
10375 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
10376 apzSolaris_Int_Limits_1Machs,
10377 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10378 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
10380 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
10381 apzSolaris_Int_Limits_2Machs,
10382 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10383 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
10385 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
10386 apzSolaris_Int_Limits_3Machs,
10387 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10388 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
10390 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
10391 apzSolaris_Int_TypesMachs,
10392 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10393 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
10395 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
10396 apzSolaris_Posix_Spawn_RestrictMachs,
10397 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10398 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10400 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
10401 apzSolaris_Std___FilbufMachs,
10402 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10403 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
10405 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
10406 apzSolaris_Stdio_TagMachs,
10407 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10408 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
10410 { zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
10411 apzSolaris_Sys_Va_ListMachs,
10412 SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10413 aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
10415 { zStatsswtchName, zStatsswtchList,
10416 apzStatsswtchMachs,
10417 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10418 aStatsswtchTests, apzStatsswtchPatch, 0 },
10420 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
10421 apzStdio_Stdarg_HMachs,
10422 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10423 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
10425 { zStdio_Va_ListName, zStdio_Va_ListList,
10426 apzStdio_Va_ListMachs,
10427 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10428 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
10430 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
10431 apzStdio_Va_List_ClientsMachs,
10432 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10433 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
10435 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
10436 apzStrict_Ansi_NotMachs,
10437 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10438 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
10440 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
10441 apzStrict_Ansi_Not_CtdMachs,
10442 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10443 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
10445 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
10446 apzStrict_Ansi_OnlyMachs,
10447 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10448 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
10450 { zStruct_FileName, zStruct_FileList,
10451 apzStruct_FileMachs,
10452 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10453 aStruct_FileTests, apzStruct_FilePatch, 0 },
10455 { zStruct_SockaddrName, zStruct_SockaddrList,
10456 apzStruct_SockaddrMachs,
10457 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10458 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
10460 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
10461 apzSun_Auth_ProtoMachs,
10462 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10463 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
10465 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
10466 apzSun_Bogus_IfdefMachs,
10467 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10468 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
10470 { zSun_CatmacroName, zSun_CatmacroList,
10471 apzSun_CatmacroMachs,
10472 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10473 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
10475 { zSun_MallocName, zSun_MallocList,
10476 apzSun_MallocMachs,
10477 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10478 aSun_MallocTests, apzSun_MallocPatch, 0 },
10480 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
10481 apzSun_Rusers_SemiMachs,
10482 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10483 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
10485 { zSun_SignalName, zSun_SignalList,
10486 apzSun_SignalMachs,
10487 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10488 aSun_SignalTests, apzSun_SignalPatch, 0 },
10490 { zSunos_StrlenName, zSunos_StrlenList,
10491 apzSunos_StrlenMachs,
10492 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10493 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
10495 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
10496 apzSvr4_Disable_OptMachs,
10497 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10498 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
10500 { zSvr4_GetcwdName, zSvr4_GetcwdList,
10501 apzSvr4_GetcwdMachs,
10502 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10503 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
10505 { zSvr4_ProfilName, zSvr4_ProfilList,
10506 apzSvr4_ProfilMachs,
10507 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10508 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
10510 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
10511 apzSvr4_Sighandler_TypeMachs,
10512 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10513 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
10515 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
10516 apzSvr4_Undeclared_GetrngeMachs,
10517 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10518 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
10520 { zSysv68_StringName, zSysv68_StringList,
10521 apzSysv68_StringMachs,
10522 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
10523 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
10525 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
10526 apzSysz_Stdlib_For_SunMachs,
10527 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10528 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
10530 { zThread_KeywordName, zThread_KeywordList,
10531 apzThread_KeywordMachs,
10532 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10533 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
10535 { zTinfo_CplusplusName, zTinfo_CplusplusList,
10536 apzTinfo_CplusplusMachs,
10537 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10538 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
10540 { zUltrix_ConstName, zUltrix_ConstList,
10541 apzUltrix_ConstMachs,
10542 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10543 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
10545 { zUltrix_Const2Name, zUltrix_Const2List,
10546 apzUltrix_Const2Machs,
10547 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10548 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
10550 { zVa_I960_MacroName, zVa_I960_MacroList,
10551 apzVa_I960_MacroMachs,
10552 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10553 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
10555 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
10556 apzVms_Define_Can_Use_Extern_PrefixMachs,
10557 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10558 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10560 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
10561 apzVms_Use_Pragma_Extern_ModelMachs,
10562 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10563 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10565 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
10566 apzVms_Disable_Decc_String_BuiltinsMachs,
10567 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10568 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10570 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
10571 apzVms_Use_Quoted_IncludeMachs,
10572 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10573 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
10575 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
10576 apzVms_Add_Missing_BracesMachs,
10577 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10578 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
10580 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
10581 apzVms_Do_Not_Redeclare_HostaliasMachs,
10582 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10583 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10585 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
10586 apzVms_Decc_BuiltinMachs,
10587 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10588 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
10590 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
10591 apzVms_No_64bit_GetoptMachs,
10592 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10593 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
10595 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
10596 apzVms_Forward_Declare_StructMachs,
10597 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10598 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10600 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10601 apzVms_Use_Fast_SetjmpMachs,
10602 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10603 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10605 { zVoid_NullName, zVoid_NullList,
10607 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10608 aVoid_NullTests, apzVoid_NullPatch, 0 },
10610 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10611 apzVxworks_Gcc_ProblemMachs,
10612 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10613 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10615 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
10616 apzVxworks_Ioctl_MacroMachs,
10617 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10618 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
10620 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
10621 apzVxworks_Mkdir_MacroMachs,
10622 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10623 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
10625 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10626 apzVxworks_Needs_VxtypesMachs,
10627 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10628 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10630 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10631 apzVxworks_Needs_VxworksMachs,
10632 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10633 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10635 { zVxworks_RegsName, zVxworks_RegsList,
10636 apzVxworks_RegsMachs,
10637 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10638 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
10640 { zVxworks_TimeName, zVxworks_TimeList,
10641 apzVxworks_TimeMachs,
10642 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10643 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10645 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
10646 apzVxworks_Write_ConstMachs,
10647 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10648 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
10650 { zX11_ClassName, zX11_ClassList,
10652 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10653 aX11_ClassTests, apzX11_ClassPatch, 0 },
10655 { zX11_Class_UsageName, zX11_Class_UsageList,
10656 apzX11_Class_UsageMachs,
10657 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10658 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10660 { zX11_NewName, zX11_NewList,
10662 X11_NEW_TEST_CT, FD_MACH_ONLY,
10663 aX11_NewTests, apzX11_NewPatch, 0 },
10665 { zX11_SprintfName, zX11_SprintfList,
10666 apzX11_SprintfMachs,
10667 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10668 aX11_SprintfTests, apzX11_SprintfPatch, 0 },
10670 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10671 apzFeraiseexcept_Nosse_InvalidMachs,
10672 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10673 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10675 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10676 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10677 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10678 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 }