1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed September 16, 2020 at 06:34:57 PM by AutoGen 5.18
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Wed Sep 16 18:34:57 UTC 2020
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 258 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 Darwin_Api_Availability fix
274 tSCC zDarwin_Api_AvailabilityName[] =
275 "darwin_api_availability";
278 * File name selection pattern
280 tSCC zDarwin_Api_AvailabilityList[] =
281 "os/availability.h\0";
283 * Machine/OS name selection pattern
285 tSCC* apzDarwin_Api_AvailabilityMachs[] = {
290 * content selection pattern - do fix if pattern found
292 tSCC zDarwin_Api_AvailabilitySelect0[] =
293 " *#define __API_AVAILABLE.*\n\
294 *#define __API_DEPRECATED.*\n\
295 *#define __API_DEPRECATED_WITH_REPLACEMENT.*\n\
296 *#define __API_UNAVAILABLE.*\n";
299 * content bypass pattern - skip fix if pattern found
301 tSCC zDarwin_Api_AvailabilityBypass0[] =
302 "__IPHONE_OS_VERSION_MIN_REQUIRED";
304 #define DARWIN_API_AVAILABILITY_TEST_CT 2
305 static tTestDesc aDarwin_Api_AvailabilityTests[] = {
306 { TT_NEGREP, zDarwin_Api_AvailabilityBypass0, (regex_t*)NULL },
307 { TT_EGREP, zDarwin_Api_AvailabilitySelect0, (regex_t*)NULL }, };
310 * Fix Command Arguments for Darwin_Api_Availability
312 static const char* apzDarwin_Api_AvailabilityPatch[] = {
314 " #define API_AVAILABLE(...)\n\
315 #define API_DEPRECATED(...)\n\
316 #define API_DEPRECATED_WITH_REPLACEMENT(...)\n\
317 #define API_UNAVAILABLE(...)\n",
320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
322 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
324 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
325 "AAB_fd_zero_asm_posix_types_h";
328 * File name selection pattern
330 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
331 "asm/posix_types.h\0";
333 * Machine/OS name selection pattern
335 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
336 "i[34567]86-*-linux*",
340 * content bypass pattern - skip fix if pattern found
342 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
344 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
346 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
349 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
350 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
351 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
352 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
353 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
356 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
358 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
359 "/* This file fixes a bug in the __FD_ZERO macro\n\
360 for older versions of the Linux kernel. */\n\
361 #ifndef _POSIX_TYPES_H_WRAPPER\n\
362 #include <features.h>\n\
363 #include_next <asm/posix_types.h>\n\n\
364 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
366 #define __FD_ZERO(fdsetp) \\\n\
368 int __d0, __d1; \\\n\
369 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
370 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
371 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
372 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
375 #define _POSIX_TYPES_H_WRAPPER\n\
376 #endif /* _POSIX_TYPES_H_WRAPPER */",
379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
381 * Description of Aab_Fd_Zero_Gnu_Types_H fix
383 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
384 "AAB_fd_zero_gnu_types_h";
387 * File name selection pattern
389 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
392 * Machine/OS name selection pattern
394 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
395 "i[34567]86-*-linux*",
397 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
398 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
401 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
403 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
404 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
405 #ifndef _TYPES_H_WRAPPER\n\
406 #include <features.h>\n\
407 #include_next <gnu/types.h>\n\n\
408 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
410 # define __FD_ZERO(fdsetp) \\\n\
412 int __d0, __d1; \\\n\
413 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
414 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
415 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
416 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
419 #define _TYPES_H_WRAPPER\n\
420 #endif /* _TYPES_H_WRAPPER */",
423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
425 * Description of Aab_Fd_Zero_Selectbits_H fix
427 tSCC zAab_Fd_Zero_Selectbits_HName[] =
428 "AAB_fd_zero_selectbits_h";
431 * File name selection pattern
433 tSCC zAab_Fd_Zero_Selectbits_HList[] =
436 * Machine/OS name selection pattern
438 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
439 "i[34567]86-*-linux*",
441 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
442 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
445 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
447 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
448 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
449 #ifndef _SELECTBITS_H_WRAPPER\n\
450 #include <features.h>\n\
451 #include_next <selectbits.h>\n\n\
452 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
453 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
454 && __GLIBC_MINOR__ == 0\n\
456 #define __FD_ZERO(fdsetp) \\\\\n\
458 int __d0, __d1; \\\\\n\
459 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
460 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
461 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
462 / sizeof (__fd_mask)), \\\\\n\
463 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
464 : \"memory\"); \\\\\n\
467 #define _SELECTBITS_H_WRAPPER\n\
468 #endif /* _SELECTBITS_H_WRAPPER */",
471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
473 * Description of Aab_Solaris_Sys_Varargs_H fix
475 tSCC zAab_Solaris_Sys_Varargs_HName[] =
476 "AAB_solaris_sys_varargs_h";
479 * File name selection pattern
481 tSCC zAab_Solaris_Sys_Varargs_HList[] =
484 * Machine/OS name selection pattern
486 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
489 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
490 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
493 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
495 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
497 #include <stdarg.h>\n\
499 #include <varargs.h>\n\
503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
505 * Description of Aab_Sun_Memcpy fix
507 tSCC zAab_Sun_MemcpyName[] =
511 * File name selection pattern
513 tSCC zAab_Sun_MemcpyList[] =
516 * Machine/OS name selection pattern
518 #define apzAab_Sun_MemcpyMachs (const char**)NULL
521 * content selection pattern - do fix if pattern found
523 tSCC zAab_Sun_MemcpySelect0[] =
524 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
526 #define AAB_SUN_MEMCPY_TEST_CT 1
527 static tTestDesc aAab_Sun_MemcpyTests[] = {
528 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
531 * Fix Command Arguments for Aab_Sun_Memcpy
533 static const char* apzAab_Sun_MemcpyPatch[] = {
534 "/* This file was generated by fixincludes */\n\
535 #ifndef __memory_h__\n\
536 #define __memory_h__\n\n\
538 extern void *memccpy();\n\
539 extern void *memchr();\n\
540 extern void *memcpy();\n\
541 extern void *memset();\n\
543 extern char *memccpy();\n\
544 extern char *memchr();\n\
545 extern char *memcpy();\n\
546 extern char *memset();\n\
547 #endif /* __STDC__ */\n\n\
548 extern int memcmp();\n\n\
549 #endif /* __memory_h__ */",
552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
554 * Description of Aab_Vxworks_Assert fix
556 tSCC zAab_Vxworks_AssertName[] =
557 "AAB_vxworks_assert";
560 * File name selection pattern
562 tSCC zAab_Vxworks_AssertList[] =
565 * Machine/OS name selection pattern
567 tSCC* apzAab_Vxworks_AssertMachs[] = {
570 #define AAB_VXWORKS_ASSERT_TEST_CT 0
571 #define aAab_Vxworks_AssertTests (tTestDesc*)NULL
574 * Fix Command Arguments for Aab_Vxworks_Assert
576 static const char* apzAab_Vxworks_AssertPatch[] = {
581 #define _ASSERT_H\n\n\
582 #ifdef __cplusplus\n\
585 #if defined(__STDC__) || defined(__cplusplus)\n\
586 extern void __assert (const char*);\n\
588 extern void __assert ();\n\
591 #define assert(ign) ((void)0)\n\
593 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
594 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
595 #define assert(test) ((void) \\\n\
596 ((test) ? ((void)0) : \\\n\
597 __assert(\"Assertion failed: \" #test \", file \" \\\n\
598 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
600 #ifdef __cplusplus\n\
605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
607 * Description of Aab_Vxworks_Regs_Vxtypes fix
609 tSCC zAab_Vxworks_Regs_VxtypesName[] =
610 "AAB_vxworks_regs_vxtypes";
613 * File name selection pattern
615 tSCC zAab_Vxworks_Regs_VxtypesList[] =
618 * Machine/OS name selection pattern
620 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
623 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
624 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
627 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
629 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
632 /* regs.h depends on CPU_FAMILY being properly defined, which\n\
633 is done by vxCpu.h. */\n\
634 #include <types/vxCpu.h>\n\
635 /* regs.h includes a CPU_FAMILY-specific header that requires\n\
636 vxTypesOld.h to already have been included. Those headers\n\
637 contain proper _ASMLANGUAGE guards around their typedefs,\n\
638 but vxTypesOld.h itself does not. So we avoid including\n\
639 vxTypesOld.h from assembly. */\n\
640 #ifndef _ASMLANGUAGE\n\
641 #include <types/vxTypesOld.h>\n\
643 #include_next <arch/../regs.h>\n\
647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
649 * Description of Aab_Vxworks_Unistd fix
651 tSCC zAab_Vxworks_UnistdName[] =
652 "AAB_vxworks_unistd";
655 * File name selection pattern
657 tSCC zAab_Vxworks_UnistdList[] =
660 * Machine/OS name selection pattern
662 tSCC* apzAab_Vxworks_UnistdMachs[] = {
665 #define AAB_VXWORKS_UNISTD_TEST_CT 0
666 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
669 * Fix Command Arguments for Aab_Vxworks_Unistd
671 static const char* apzAab_Vxworks_UnistdPatch[] = {
672 "#ifndef _UNISTD_H\n\
674 #include_next <unistd.h>\n\
675 #include <ioLib.h>\n\
676 #ifndef STDIN_FILENO\n\
677 #define STDIN_FILENO 0\n\
679 #ifndef STDOUT_FILENO\n\
680 #define STDOUT_FILENO 1\n\
682 #ifndef STDERR_FILENO\n\
683 #define STDERR_FILENO 2\n\
685 #endif /* _UNISTD_H */",
688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
690 * Description of Aix_Assert fix
692 tSCC zAix_AssertName[] =
696 * File name selection pattern
698 tSCC zAix_AssertList[] =
701 * Machine/OS name selection pattern
703 tSCC* apzAix_AssertMachs[] = {
708 * content selection pattern - do fix if pattern found
710 tSCC zAix_AssertSelect0[] =
711 "#define[ \t]static_assert[ \t]_Static_assert";
713 #define AIX_ASSERT_TEST_CT 1
714 static tTestDesc aAix_AssertTests[] = {
715 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
718 * Fix Command Arguments for Aix_Assert
720 static const char* apzAix_AssertPatch[] = {
722 "#ifndef __cplusplus\n\
727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
729 * Description of Aix_Complex fix
731 tSCC zAix_ComplexName[] =
735 * File name selection pattern
737 tSCC zAix_ComplexList[] =
740 * Machine/OS name selection pattern
742 tSCC* apzAix_ComplexMachs[] = {
747 * content selection pattern - do fix if pattern found
749 tSCC zAix_ComplexSelect0[] =
750 "#define[ \t]_Complex_I[ \t]__I";
752 #define AIX_COMPLEX_TEST_CT 1
753 static tTestDesc aAix_ComplexTests[] = {
754 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
757 * Fix Command Arguments for Aix_Complex
759 static const char* apzAix_ComplexPatch[] = {
761 "#define _Complex_I (__extension__ 1.0iF)",
764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
766 * Description of Aix_Externc fix
768 tSCC zAix_ExterncName[] =
772 * File name selection pattern
774 tSCC zAix_ExterncList[] =
775 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
777 * Machine/OS name selection pattern
779 tSCC* apzAix_ExterncMachs[] = {
784 * content bypass pattern - skip fix if pattern found
786 tSCC zAix_ExterncBypass0[] =
789 #define AIX_EXTERNC_TEST_CT 1
790 static tTestDesc aAix_ExterncTests[] = {
791 { TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
794 * Fix Command Arguments for Aix_Externc
796 static const char* apzAix_ExterncPatch[] = {
798 "#ifdef __cplusplus\n\
801 "#ifdef __cplusplus\n\
806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
808 * Description of Aix_Externcpp1 fix
810 tSCC zAix_Externcpp1Name[] =
814 * File name selection pattern
816 tSCC zAix_Externcpp1List[] =
819 * Machine/OS name selection pattern
821 tSCC* apzAix_Externcpp1Machs[] = {
826 * content selection pattern - do fix if pattern found
828 tSCC zAix_Externcpp1Select0[] =
832 #define AIX_EXTERNCPP1_TEST_CT 1
833 static tTestDesc aAix_Externcpp1Tests[] = {
834 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
837 * Fix Command Arguments for Aix_Externcpp1
839 static const char* apzAix_Externcpp1Patch[] = {
842 #ifdef __cplusplus\n\
846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
848 * Description of Aix_Externcpp2 fix
850 tSCC zAix_Externcpp2Name[] =
854 * File name selection pattern
856 tSCC zAix_Externcpp2List[] =
859 * Machine/OS name selection pattern
861 tSCC* apzAix_Externcpp2Machs[] = {
866 * content selection pattern - do fix if pattern found
868 tSCC zAix_Externcpp2Select0[] =
869 "#endif /\\* COMPAT_43 \\*/\n\
870 #else /\\* __cplusplus \\*/";
872 #define AIX_EXTERNCPP2_TEST_CT 1
873 static tTestDesc aAix_Externcpp2Tests[] = {
874 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
877 * Fix Command Arguments for Aix_Externcpp2
879 static const char* apzAix_Externcpp2Patch[] = {
881 "#endif /* COMPAT_43 */\n\
882 } /* extern \"C++\" */\n\
883 #else /* __cplusplus */",
886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
888 * Description of Aix_Malloc fix
890 tSCC zAix_MallocName[] =
894 * File name selection pattern
896 tSCC zAix_MallocList[] =
899 * Machine/OS name selection pattern
901 tSCC* apzAix_MallocMachs[] = {
906 * content selection pattern - do fix if pattern found
908 tSCC zAix_MallocSelect0[] =
909 "#ifdef __cplusplus";
911 #define AIX_MALLOC_TEST_CT 1
912 static tTestDesc aAix_MallocTests[] = {
913 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
916 * Fix Command Arguments for Aix_Malloc
918 static const char* apzAix_MallocPatch[] = {
920 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
925 * Description of Aix_Net_If_Arp fix
927 tSCC zAix_Net_If_ArpName[] =
931 * File name selection pattern
933 tSCC zAix_Net_If_ArpList[] =
936 * Machine/OS name selection pattern
938 tSCC* apzAix_Net_If_ArpMachs[] = {
943 * content selection pattern - do fix if pattern found
945 tSCC zAix_Net_If_ArpSelect0[] =
946 "^struct fc_softc \\{";
948 #define AIX_NET_IF_ARP_TEST_CT 1
949 static tTestDesc aAix_Net_If_ArpTests[] = {
950 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
953 * Fix Command Arguments for Aix_Net_If_Arp
955 static const char* apzAix_Net_If_ArpPatch[] = {
957 "typedef struct _fc_softc {",
960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
962 * Description of Aix_Null fix
964 tSCC zAix_NullName[] =
968 * File name selection pattern
970 tSCC zAix_NullList[] =
971 "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
973 * Machine/OS name selection pattern
975 tSCC* apzAix_NullMachs[] = {
980 * content selection pattern - do fix if pattern found
982 tSCC zAix_NullSelect0[] =
983 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
986 * content bypass pattern - skip fix if pattern found
988 tSCC zAix_NullBypass0[] =
991 #define AIX_NULL_TEST_CT 2
992 static tTestDesc aAix_NullTests[] = {
993 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
994 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
997 * Fix Command Arguments for Aix_Null
999 static const char* apzAix_NullPatch[] = {
1002 #ifdef __cplusplus\n\
1004 #define NULL __null\n\
1005 #else /* ! __GNUG__ */\n\
1007 #endif /* __GNUG__ */\n\
1008 #else /* ! __cplusplus */\n\
1009 #define NULL ((void *)0)\n\
1010 #endif /* __cplusplus */\n\
1011 #endif /* !NULL */",
1014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1016 * Description of Aix_Once_Init_1 fix
1018 tSCC zAix_Once_Init_1Name[] =
1022 * File name selection pattern
1024 tSCC zAix_Once_Init_1List[] =
1027 * Machine/OS name selection pattern
1029 tSCC* apzAix_Once_Init_1Machs[] = {
1031 (const char*)NULL };
1034 * content selection pattern - do fix if pattern found
1036 tSCC zAix_Once_Init_1Select0[] =
1037 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1040 #define AIX_ONCE_INIT_1_TEST_CT 1
1041 static tTestDesc aAix_Once_Init_1Tests[] = {
1042 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1045 * Fix Command Arguments for Aix_Once_Init_1
1047 static const char* apzAix_Once_Init_1Patch[] = {
1049 "#define PTHREAD_ONCE_INIT \\\n\
1053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1055 * Description of Aix_Once_Init_2 fix
1057 tSCC zAix_Once_Init_2Name[] =
1061 * File name selection pattern
1063 tSCC zAix_Once_Init_2List[] =
1066 * Machine/OS name selection pattern
1068 tSCC* apzAix_Once_Init_2Machs[] = {
1070 (const char*)NULL };
1073 * content selection pattern - do fix if pattern found
1075 tSCC zAix_Once_Init_2Select0[] =
1079 #define AIX_ONCE_INIT_2_TEST_CT 1
1080 static tTestDesc aAix_Once_Init_2Tests[] = {
1081 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1084 * Fix Command Arguments for Aix_Once_Init_2
1086 static const char* apzAix_Once_Init_2Patch[] = {
1092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1094 * Description of Aix_Mutex_Initializer_1 fix
1096 tSCC zAix_Mutex_Initializer_1Name[] =
1097 "aix_mutex_initializer_1";
1100 * File name selection pattern
1102 tSCC zAix_Mutex_Initializer_1List[] =
1105 * Machine/OS name selection pattern
1107 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1109 (const char*)NULL };
1112 * content selection pattern - do fix if pattern found
1114 tSCC zAix_Mutex_Initializer_1Select0[] =
1115 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1118 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1119 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1120 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1123 * Fix Command Arguments for Aix_Mutex_Initializer_1
1125 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1127 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1133 * Description of Aix_Cond_Initializer_1 fix
1135 tSCC zAix_Cond_Initializer_1Name[] =
1136 "aix_cond_initializer_1";
1139 * File name selection pattern
1141 tSCC zAix_Cond_Initializer_1List[] =
1144 * Machine/OS name selection pattern
1146 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1148 (const char*)NULL };
1151 * content selection pattern - do fix if pattern found
1153 tSCC zAix_Cond_Initializer_1Select0[] =
1154 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1157 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1158 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1159 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1162 * Fix Command Arguments for Aix_Cond_Initializer_1
1164 static const char* apzAix_Cond_Initializer_1Patch[] = {
1166 "#define PTHREAD_COND_INITIALIZER \\\n\
1170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1172 * Description of Aix_Rwlock_Initializer_1 fix
1174 tSCC zAix_Rwlock_Initializer_1Name[] =
1175 "aix_rwlock_initializer_1";
1178 * File name selection pattern
1180 tSCC zAix_Rwlock_Initializer_1List[] =
1183 * Machine/OS name selection pattern
1185 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1187 (const char*)NULL };
1190 * content selection pattern - do fix if pattern found
1192 tSCC zAix_Rwlock_Initializer_1Select0[] =
1193 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1196 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1197 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1198 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1201 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1203 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1205 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1211 * Description of Aix_Pthread fix
1213 tSCC zAix_PthreadName[] =
1217 * File name selection pattern
1219 tSCC zAix_PthreadList[] =
1222 * Machine/OS name selection pattern
1224 #define apzAix_PthreadMachs (const char**)NULL
1227 * content selection pattern - do fix if pattern found
1229 tSCC zAix_PthreadSelect0[] =
1230 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1234 #define AIX_PTHREAD_TEST_CT 1
1235 static tTestDesc aAix_PthreadTests[] = {
1236 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1239 * Fix Command Arguments for Aix_Pthread
1241 static const char* apzAix_PthreadPatch[] = {
1246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1248 * Description of Aix_Stdint_1 fix
1250 tSCC zAix_Stdint_1Name[] =
1254 * File name selection pattern
1256 tSCC zAix_Stdint_1List[] =
1257 "stdint-aix.h\0stdint.h\0";
1259 * Machine/OS name selection pattern
1261 tSCC* apzAix_Stdint_1Machs[] = {
1263 (const char*)NULL };
1266 * content selection pattern - do fix if pattern found
1268 tSCC zAix_Stdint_1Select0[] =
1269 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1270 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1272 #define AIX_STDINT_1_TEST_CT 1
1273 static tTestDesc aAix_Stdint_1Tests[] = {
1274 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1277 * Fix Command Arguments for Aix_Stdint_1
1279 static const char* apzAix_Stdint_1Patch[] = {
1281 "#define UINT8_MAX\t(255)\n\
1282 #define UINT16_MAX\t(65535)",
1285 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1287 * Description of Aix_Stdint_2 fix
1289 tSCC zAix_Stdint_2Name[] =
1293 * File name selection pattern
1295 tSCC zAix_Stdint_2List[] =
1296 "stdint-aix.h\0stdint.h\0";
1298 * Machine/OS name selection pattern
1300 tSCC* apzAix_Stdint_2Machs[] = {
1302 (const char*)NULL };
1305 * content selection pattern - do fix if pattern found
1307 tSCC zAix_Stdint_2Select0[] =
1308 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1309 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1310 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1312 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1313 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1314 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1316 #define AIX_STDINT_2_TEST_CT 1
1317 static tTestDesc aAix_Stdint_2Tests[] = {
1318 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1321 * Fix Command Arguments for Aix_Stdint_2
1323 static const char* apzAix_Stdint_2Patch[] = {
1325 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1326 #define INTPTR_MAX\t9223372036854775807L\n\
1327 #define UINTPTR_MAX\t18446744073709551615UL\n\
1329 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1330 #define INTPTR_MAX\t2147483647L\n\
1331 #define UINTPTR_MAX\t4294967295UL",
1334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1336 * Description of Aix_Stdint_3 fix
1338 tSCC zAix_Stdint_3Name[] =
1342 * File name selection pattern
1344 tSCC zAix_Stdint_3List[] =
1345 "stdint-aix.h\0stdint.h\0";
1347 * Machine/OS name selection pattern
1349 tSCC* apzAix_Stdint_3Machs[] = {
1351 (const char*)NULL };
1354 * content selection pattern - do fix if pattern found
1356 tSCC zAix_Stdint_3Select0[] =
1357 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1358 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1360 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1361 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1363 #define AIX_STDINT_3_TEST_CT 1
1364 static tTestDesc aAix_Stdint_3Tests[] = {
1365 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1368 * Fix Command Arguments for Aix_Stdint_3
1370 static const char* apzAix_Stdint_3Patch[] = {
1372 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1373 #define PTRDIFF_MAX\t9223372036854775807L\n\
1375 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1376 #define PTRDIFF_MAX\t2147483647L",
1379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1381 * Description of Aix_Stdint_4 fix
1383 tSCC zAix_Stdint_4Name[] =
1387 * File name selection pattern
1389 tSCC zAix_Stdint_4List[] =
1390 "stdint-aix.h\0stdint.h\0";
1392 * Machine/OS name selection pattern
1394 tSCC* apzAix_Stdint_4Machs[] = {
1396 (const char*)NULL };
1399 * content selection pattern - do fix if pattern found
1401 tSCC zAix_Stdint_4Select0[] =
1402 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1404 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1406 #define AIX_STDINT_4_TEST_CT 1
1407 static tTestDesc aAix_Stdint_4Tests[] = {
1408 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1411 * Fix Command Arguments for Aix_Stdint_4
1413 static const char* apzAix_Stdint_4Patch[] = {
1415 "#define SIZE_MAX\t18446744073709551615UL\n\
1417 #define SIZE_MAX\t4294967295UL",
1420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1422 * Description of Aix_Stdint_5 fix
1424 tSCC zAix_Stdint_5Name[] =
1428 * File name selection pattern
1430 tSCC zAix_Stdint_5List[] =
1431 "stdint-aix.h\0stdint.h\0";
1433 * Machine/OS name selection pattern
1435 tSCC* apzAix_Stdint_5Machs[] = {
1437 (const char*)NULL };
1440 * content selection pattern - do fix if pattern found
1442 tSCC zAix_Stdint_5Select0[] =
1443 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1444 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1446 #define AIX_STDINT_5_TEST_CT 1
1447 static tTestDesc aAix_Stdint_5Tests[] = {
1448 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1451 * Fix Command Arguments for Aix_Stdint_5
1453 static const char* apzAix_Stdint_5Patch[] = {
1455 "#define UINT8_C(c)\tc\n\
1456 #define UINT16_C(c)\tc",
1459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1461 * Description of Aix_Stdio_Inline fix
1463 tSCC zAix_Stdio_InlineName[] =
1467 * File name selection pattern
1469 tSCC zAix_Stdio_InlineList[] =
1472 * Machine/OS name selection pattern
1474 tSCC* apzAix_Stdio_InlineMachs[] = {
1476 (const char*)NULL };
1479 * content selection pattern - do fix if pattern found
1481 tSCC zAix_Stdio_InlineSelect0[] =
1482 "#ifdef __cplusplus\\\n\
1487 #define AIX_STDIO_INLINE_TEST_CT 1
1488 static tTestDesc aAix_Stdio_InlineTests[] = {
1489 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1492 * Fix Command Arguments for Aix_Stdio_Inline
1494 static const char* apzAix_Stdio_InlinePatch[] = {
1496 "#ifdef __cplusplus\n\
1499 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1505 * Description of Aix_Stdlib_Malloc fix
1507 tSCC zAix_Stdlib_MallocName[] =
1508 "aix_stdlib_malloc";
1511 * File name selection pattern
1513 tSCC zAix_Stdlib_MallocList[] =
1516 * Machine/OS name selection pattern
1518 tSCC* apzAix_Stdlib_MallocMachs[] = {
1520 (const char*)NULL };
1523 * content selection pattern - do fix if pattern found
1525 tSCC zAix_Stdlib_MallocSelect0[] =
1526 "#define[ \t]+malloc[ \t]+__linux_malloc";
1528 #define AIX_STDLIB_MALLOC_TEST_CT 1
1529 static tTestDesc aAix_Stdlib_MallocTests[] = {
1530 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1533 * Fix Command Arguments for Aix_Stdlib_Malloc
1535 static const char* apzAix_Stdlib_MallocPatch[] = {
1537 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1542 * Description of Aix_Stdlib_Realloc fix
1544 tSCC zAix_Stdlib_ReallocName[] =
1545 "aix_stdlib_realloc";
1548 * File name selection pattern
1550 tSCC zAix_Stdlib_ReallocList[] =
1553 * Machine/OS name selection pattern
1555 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1557 (const char*)NULL };
1560 * content selection pattern - do fix if pattern found
1562 tSCC zAix_Stdlib_ReallocSelect0[] =
1563 "#define[ \t]+realloc[ \t]+__linux_realloc";
1565 #define AIX_STDLIB_REALLOC_TEST_CT 1
1566 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1567 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1570 * Fix Command Arguments for Aix_Stdlib_Realloc
1572 static const char* apzAix_Stdlib_ReallocPatch[] = {
1574 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1579 * Description of Aix_Stdlib_Calloc fix
1581 tSCC zAix_Stdlib_CallocName[] =
1582 "aix_stdlib_calloc";
1585 * File name selection pattern
1587 tSCC zAix_Stdlib_CallocList[] =
1590 * Machine/OS name selection pattern
1592 tSCC* apzAix_Stdlib_CallocMachs[] = {
1594 (const char*)NULL };
1597 * content selection pattern - do fix if pattern found
1599 tSCC zAix_Stdlib_CallocSelect0[] =
1600 "#define[ \t]+calloc[ \t]+__linux_calloc";
1602 #define AIX_STDLIB_CALLOC_TEST_CT 1
1603 static tTestDesc aAix_Stdlib_CallocTests[] = {
1604 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1607 * Fix Command Arguments for Aix_Stdlib_Calloc
1609 static const char* apzAix_Stdlib_CallocPatch[] = {
1611 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1616 * Description of Aix_Stdlib_Valloc fix
1618 tSCC zAix_Stdlib_VallocName[] =
1619 "aix_stdlib_valloc";
1622 * File name selection pattern
1624 tSCC zAix_Stdlib_VallocList[] =
1627 * Machine/OS name selection pattern
1629 tSCC* apzAix_Stdlib_VallocMachs[] = {
1631 (const char*)NULL };
1634 * content selection pattern - do fix if pattern found
1636 tSCC zAix_Stdlib_VallocSelect0[] =
1637 "#define[ \t]+valloc[ \t]+__linux_valloc";
1639 #define AIX_STDLIB_VALLOC_TEST_CT 1
1640 static tTestDesc aAix_Stdlib_VallocTests[] = {
1641 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1644 * Fix Command Arguments for Aix_Stdlib_Valloc
1646 static const char* apzAix_Stdlib_VallocPatch[] = {
1648 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1653 * Description of Aix_Stdlib_Vec_Malloc fix
1655 tSCC zAix_Stdlib_Vec_MallocName[] =
1656 "aix_stdlib_vec_malloc";
1659 * File name selection pattern
1661 tSCC zAix_Stdlib_Vec_MallocList[] =
1664 * Machine/OS name selection pattern
1666 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1668 (const char*)NULL };
1671 * content selection pattern - do fix if pattern found
1673 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1674 "#define[ \t]+malloc[ \t]+vec_malloc";
1676 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1677 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1678 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1681 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1683 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1685 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1690 * Description of Aix_Stdlib_Vec_Calloc fix
1692 tSCC zAix_Stdlib_Vec_CallocName[] =
1693 "aix_stdlib_vec_calloc";
1696 * File name selection pattern
1698 tSCC zAix_Stdlib_Vec_CallocList[] =
1701 * Machine/OS name selection pattern
1703 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1705 (const char*)NULL };
1708 * content selection pattern - do fix if pattern found
1710 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1711 "#define[ \t]+calloc[ \t]+vec_calloc";
1713 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1714 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1715 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1718 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1720 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1722 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1727 * Description of Aix_Strtof_Const fix
1729 tSCC zAix_Strtof_ConstName[] =
1733 * File name selection pattern
1735 tSCC zAix_Strtof_ConstList[] =
1738 * Machine/OS name selection pattern
1740 tSCC* apzAix_Strtof_ConstMachs[] = {
1742 (const char*)NULL };
1745 * content selection pattern - do fix if pattern found
1747 tSCC zAix_Strtof_ConstSelect0[] =
1748 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1750 #define AIX_STRTOF_CONST_TEST_CT 1
1751 static tTestDesc aAix_Strtof_ConstTests[] = {
1752 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1755 * Fix Command Arguments for Aix_Strtof_Const
1757 static const char* apzAix_Strtof_ConstPatch[] = {
1759 "%1(const char *, char **);",
1762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1764 * Description of Aix_Sysmachine fix
1766 tSCC zAix_SysmachineName[] =
1770 * File name selection pattern
1772 tSCC zAix_SysmachineList[] =
1775 * Machine/OS name selection pattern
1777 tSCC* apzAix_SysmachineMachs[] = {
1779 (const char*)NULL };
1782 * content selection pattern - do fix if pattern found
1784 tSCC zAix_SysmachineSelect0[] =
1787 #define AIX_SYSMACHINE_TEST_CT 1
1788 static tTestDesc aAix_SysmachineTests[] = {
1789 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1792 * Fix Command Arguments for Aix_Sysmachine
1794 static const char* apzAix_SysmachinePatch[] = {
1799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1801 * Description of Aix_Syswait_2 fix
1803 tSCC zAix_Syswait_2Name[] =
1807 * File name selection pattern
1809 tSCC zAix_Syswait_2List[] =
1812 * Machine/OS name selection pattern
1814 tSCC* apzAix_Syswait_2Machs[] = {
1816 (const char*)NULL };
1819 * content selection pattern - do fix if pattern found
1821 tSCC zAix_Syswait_2Select0[] =
1822 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1824 #define AIX_SYSWAIT_2_TEST_CT 1
1825 static tTestDesc aAix_Syswait_2Tests[] = {
1826 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1829 * Fix Command Arguments for Aix_Syswait_2
1831 static const char* apzAix_Syswait_2Patch[] = {
1836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1838 * Description of Aix_Volatile fix
1840 tSCC zAix_VolatileName[] =
1844 * File name selection pattern
1846 tSCC zAix_VolatileList[] =
1849 * Machine/OS name selection pattern
1851 tSCC* apzAix_VolatileMachs[] = {
1853 (const char*)NULL };
1856 * content selection pattern - do fix if pattern found
1858 tSCC zAix_VolatileSelect0[] =
1859 "typedef volatile int sig_atomic_t";
1861 #define AIX_VOLATILE_TEST_CT 1
1862 static tTestDesc aAix_VolatileTests[] = {
1863 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1866 * Fix Command Arguments for Aix_Volatile
1868 static const char* apzAix_VolatilePatch[] = {
1870 "typedef int sig_atomic_t",
1873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1875 * Description of Aix_Unistd fix
1877 tSCC zAix_UnistdName[] =
1881 * File name selection pattern
1883 tSCC zAix_UnistdList[] =
1886 * Machine/OS name selection pattern
1888 tSCC* apzAix_UnistdMachs[] = {
1890 (const char*)NULL };
1893 * content selection pattern - do fix if pattern found
1895 tSCC zAix_UnistdSelect0[] =
1896 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1898 #define AIX_UNISTD_TEST_CT 1
1899 static tTestDesc aAix_UnistdTests[] = {
1900 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1903 * Fix Command Arguments for Aix_Unistd
1905 static const char* apzAix_UnistdPatch[] = {
1907 "\tstatic int\t\tgetdtablesize(void)",
1910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1912 * Description of Alpha___Assert fix
1914 tSCC zAlpha___AssertName[] =
1918 * File name selection pattern
1920 tSCC zAlpha___AssertList[] =
1923 * Machine/OS name selection pattern
1925 #define apzAlpha___AssertMachs (const char**)NULL
1928 * content selection pattern - do fix if pattern found
1930 tSCC zAlpha___AssertSelect0[] =
1931 "__assert\\(char \\*, char \\*, int\\)";
1933 #define ALPHA___ASSERT_TEST_CT 1
1934 static tTestDesc aAlpha___AssertTests[] = {
1935 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1938 * Fix Command Arguments for Alpha___Assert
1940 static const char* apzAlpha___AssertPatch[] = {
1942 "__assert(const char *, const char *, int)",
1945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1947 * Description of Alpha_Assert fix
1949 tSCC zAlpha_AssertName[] =
1953 * File name selection pattern
1955 tSCC zAlpha_AssertList[] =
1958 * Machine/OS name selection pattern
1960 #define apzAlpha_AssertMachs (const char**)NULL
1963 * content selection pattern - do fix if pattern found
1965 tSCC zAlpha_AssertSelect0[] =
1966 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1968 #define ALPHA_ASSERT_TEST_CT 1
1969 static tTestDesc aAlpha_AssertTests[] = {
1970 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1973 * Fix Command Arguments for Alpha_Assert
1975 static const char* apzAlpha_AssertPatch[] = {
1980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1982 * Description of Alpha_Getopt fix
1984 tSCC zAlpha_GetoptName[] =
1988 * File name selection pattern
1990 tSCC zAlpha_GetoptList[] =
1991 "stdio.h\0stdlib.h\0";
1993 * Machine/OS name selection pattern
1995 #define apzAlpha_GetoptMachs (const char**)NULL
1998 * content selection pattern - do fix if pattern found
2000 tSCC zAlpha_GetoptSelect0[] =
2001 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
2003 #define ALPHA_GETOPT_TEST_CT 1
2004 static tTestDesc aAlpha_GetoptTests[] = {
2005 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
2008 * Fix Command Arguments for Alpha_Getopt
2010 static const char* apzAlpha_GetoptPatch[] = {
2012 "getopt(int, char *const[], const char *)",
2015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2017 * Description of Alpha_If_Semicolon fix
2019 tSCC zAlpha_If_SemicolonName[] =
2020 "alpha_if_semicolon";
2023 * File name selection pattern
2025 tSCC zAlpha_If_SemicolonList[] =
2028 * Machine/OS name selection pattern
2030 #define apzAlpha_If_SemicolonMachs (const char**)NULL
2033 * content selection pattern - do fix if pattern found
2035 tSCC zAlpha_If_SemicolonSelect0[] =
2036 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2038 #define ALPHA_IF_SEMICOLON_TEST_CT 1
2039 static tTestDesc aAlpha_If_SemicolonTests[] = {
2040 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
2043 * Fix Command Arguments for Alpha_If_Semicolon
2045 static const char* apzAlpha_If_SemicolonPatch[] = {
2047 "struct sockaddr vmif_paddr;\t/*",
2050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2052 * Description of Alpha_Parens fix
2054 tSCC zAlpha_ParensName[] =
2058 * File name selection pattern
2060 tSCC zAlpha_ParensList[] =
2063 * Machine/OS name selection pattern
2065 #define apzAlpha_ParensMachs (const char**)NULL
2068 * content selection pattern - do fix if pattern found
2070 tSCC zAlpha_ParensSelect0[] =
2071 "#ifndef\\(__mips64\\)";
2073 #define ALPHA_PARENS_TEST_CT 1
2074 static tTestDesc aAlpha_ParensTests[] = {
2075 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2078 * Fix Command Arguments for Alpha_Parens
2080 static const char* apzAlpha_ParensPatch[] = {
2085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2087 * Description of Alpha_Sbrk fix
2089 tSCC zAlpha_SbrkName[] =
2093 * File name selection pattern
2095 tSCC zAlpha_SbrkList[] =
2098 * Machine/OS name selection pattern
2100 #define apzAlpha_SbrkMachs (const char**)NULL
2103 * content selection pattern - do fix if pattern found
2105 tSCC zAlpha_SbrkSelect0[] =
2106 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2108 #define ALPHA_SBRK_TEST_CT 1
2109 static tTestDesc aAlpha_SbrkTests[] = {
2110 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2113 * Fix Command Arguments for Alpha_Sbrk
2115 static const char* apzAlpha_SbrkPatch[] = {
2120 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2122 * Description of Avoid_Bool_Define fix
2124 tSCC zAvoid_Bool_DefineName[] =
2125 "avoid_bool_define";
2128 * File name selection pattern
2130 tSCC zAvoid_Bool_DefineList[] =
2131 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2133 * Machine/OS name selection pattern
2135 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2138 * content selection pattern - do fix if pattern found
2140 tSCC zAvoid_Bool_DefineSelect0[] =
2141 "#[ \t]*define[ \t]+bool[ \t]";
2144 * content bypass pattern - skip fix if pattern found
2146 tSCC zAvoid_Bool_DefineBypass0[] =
2149 #define AVOID_BOOL_DEFINE_TEST_CT 2
2150 static tTestDesc aAvoid_Bool_DefineTests[] = {
2151 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2152 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2155 * Fix Command Arguments for Avoid_Bool_Define
2157 static const char* apzAvoid_Bool_DefinePatch[] = {
2159 "#ifndef __cplusplus\n\
2162 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2167 * Description of Avoid_Bool_Type fix
2169 tSCC zAvoid_Bool_TypeName[] =
2173 * File name selection pattern
2175 tSCC zAvoid_Bool_TypeList[] =
2176 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2178 * Machine/OS name selection pattern
2180 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2183 * content selection pattern - do fix if pattern found
2185 tSCC zAvoid_Bool_TypeSelect0[] =
2186 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2189 * content bypass pattern - skip fix if pattern found
2191 tSCC zAvoid_Bool_TypeBypass0[] =
2194 #define AVOID_BOOL_TYPE_TEST_CT 2
2195 static tTestDesc aAvoid_Bool_TypeTests[] = {
2196 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2197 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2200 * Fix Command Arguments for Avoid_Bool_Type
2202 static const char* apzAvoid_Bool_TypePatch[] = {
2204 "#ifndef __cplusplus\n\
2209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2211 * Description of Avoid_Wchar_T_Type fix
2213 tSCC zAvoid_Wchar_T_TypeName[] =
2214 "avoid_wchar_t_type";
2217 * File name selection pattern
2219 #define zAvoid_Wchar_T_TypeList (char*)NULL
2221 * Machine/OS name selection pattern
2223 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2226 * content selection pattern - do fix if pattern found
2228 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2229 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2232 * content bypass pattern - skip fix if pattern found
2234 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2236 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2238 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2239 "XFree86: xc/lib/X11/Xlib\\.h";
2241 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2242 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2243 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2244 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2245 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2246 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2249 * Fix Command Arguments for Avoid_Wchar_T_Type
2251 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2253 "#ifndef __cplusplus\n\
2258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2260 * Description of Bad_Struct_Term fix
2262 tSCC zBad_Struct_TermName[] =
2266 * File name selection pattern
2268 tSCC zBad_Struct_TermList[] =
2271 * Machine/OS name selection pattern
2273 #define apzBad_Struct_TermMachs (const char**)NULL
2276 * content selection pattern - do fix if pattern found
2278 tSCC zBad_Struct_TermSelect0[] =
2279 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2281 #define BAD_STRUCT_TERM_TEST_CT 1
2282 static tTestDesc aBad_Struct_TermTests[] = {
2283 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2286 * Fix Command Arguments for Bad_Struct_Term
2288 static const char* apzBad_Struct_TermPatch[] = {
2293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2295 * Description of Badquote fix
2297 tSCC zBadquoteName[] =
2301 * File name selection pattern
2303 tSCC zBadquoteList[] =
2304 "sundev/vuid_event.h\0";
2306 * Machine/OS name selection pattern
2308 #define apzBadquoteMachs (const char**)NULL
2311 * content selection pattern - do fix if pattern found
2313 tSCC zBadquoteSelect0[] =
2316 #define BADQUOTE_TEST_CT 1
2317 static tTestDesc aBadquoteTests[] = {
2318 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2321 * Fix Command Arguments for Badquote
2323 static const char* apzBadquotePatch[] = {
2328 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2330 * Description of Broken_Assert_Stdio fix
2332 tSCC zBroken_Assert_StdioName[] =
2333 "broken_assert_stdio";
2336 * File name selection pattern
2338 tSCC zBroken_Assert_StdioList[] =
2341 * Machine/OS name selection pattern
2343 #define apzBroken_Assert_StdioMachs (const char**)NULL
2346 * content selection pattern - do fix if pattern found
2348 tSCC zBroken_Assert_StdioSelect0[] =
2352 * content bypass pattern - skip fix if pattern found
2354 tSCC zBroken_Assert_StdioBypass0[] =
2355 "include.*stdio\\.h";
2357 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2358 static tTestDesc aBroken_Assert_StdioTests[] = {
2359 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2360 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2363 * Fix Command Arguments for Broken_Assert_Stdio
2365 static const char* apzBroken_Assert_StdioPatch[] = {
2367 "#include <stdio.h>\n",
2370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2372 * Description of Broken_Assert_Stdlib fix
2374 tSCC zBroken_Assert_StdlibName[] =
2375 "broken_assert_stdlib";
2378 * File name selection pattern
2380 tSCC zBroken_Assert_StdlibList[] =
2383 * Machine/OS name selection pattern
2385 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2388 * content selection pattern - do fix if pattern found
2390 tSCC zBroken_Assert_StdlibSelect0[] =
2391 "exit *\\(|abort *\\(";
2394 * content bypass pattern - skip fix if pattern found
2396 tSCC zBroken_Assert_StdlibBypass0[] =
2397 "include.*stdlib\\.h";
2399 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2400 static tTestDesc aBroken_Assert_StdlibTests[] = {
2401 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2402 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2405 * Fix Command Arguments for Broken_Assert_Stdlib
2407 static const char* apzBroken_Assert_StdlibPatch[] = {
2409 "#ifdef __cplusplus\n\
2410 #include <stdlib.h>\n\
2414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2416 * Description of Broken_Cabs fix
2418 tSCC zBroken_CabsName[] =
2422 * File name selection pattern
2424 tSCC zBroken_CabsList[] =
2425 "math.h\0architecture/*/math.h\0";
2427 * Machine/OS name selection pattern
2429 #define apzBroken_CabsMachs (const char**)NULL
2432 * content selection pattern - do fix if pattern found
2434 tSCC zBroken_CabsSelect0[] =
2435 "^extern[ \t]+double[ \t]+cabs";
2437 #define BROKEN_CABS_TEST_CT 1
2438 static tTestDesc aBroken_CabsTests[] = {
2439 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2442 * Fix Command Arguments for Broken_Cabs
2444 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2445 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2446 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2451 * Description of Broken_Nan fix
2453 tSCC zBroken_NanName[] =
2457 * File name selection pattern
2459 tSCC zBroken_NanList[] =
2460 "architecture/ppc/math.h\0architecture/*/math.h\0";
2462 * Machine/OS name selection pattern
2464 #define apzBroken_NanMachs (const char**)NULL
2467 * content selection pattern - do fix if pattern found
2469 tSCC zBroken_NanSelect0[] =
2470 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2473 * content bypass pattern - skip fix if pattern found
2475 tSCC zBroken_NanBypass0[] =
2478 #define BROKEN_NAN_TEST_CT 2
2479 static tTestDesc aBroken_NanTests[] = {
2480 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2481 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2484 * Fix Command Arguments for Broken_Nan
2486 static const char* apzBroken_NanPatch[] = {
2491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2493 * Description of Bsd_Stdio_Attrs_Conflict fix
2495 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2496 "bsd_stdio_attrs_conflict";
2499 * File name selection pattern
2501 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2504 * Machine/OS name selection pattern
2506 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2509 (const char*)NULL };
2512 * content selection pattern - do fix if pattern found
2514 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2515 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2517 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2518 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2519 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2522 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2524 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2526 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2527 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2528 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2533 * Description of Ctrl_Quotes_Def fix
2535 tSCC zCtrl_Quotes_DefName[] =
2539 * File name selection pattern
2541 #define zCtrl_Quotes_DefList (char*)NULL
2543 * Machine/OS name selection pattern
2545 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2548 * content selection pattern - do fix if pattern found
2550 tSCC zCtrl_Quotes_DefSelect0[] =
2551 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2553 #define CTRL_QUOTES_DEF_TEST_CT 1
2554 static tTestDesc aCtrl_Quotes_DefTests[] = {
2555 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2558 * Fix Command Arguments for Ctrl_Quotes_Def
2560 static const char* apzCtrl_Quotes_DefPatch[] = {
2565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2567 * Description of Ctrl_Quotes_Use fix
2569 tSCC zCtrl_Quotes_UseName[] =
2573 * File name selection pattern
2575 #define zCtrl_Quotes_UseList (char*)NULL
2577 * Machine/OS name selection pattern
2579 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2582 * content selection pattern - do fix if pattern found
2584 tSCC zCtrl_Quotes_UseSelect0[] =
2585 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2587 #define CTRL_QUOTES_USE_TEST_CT 1
2588 static tTestDesc aCtrl_Quotes_UseTests[] = {
2589 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2592 * Fix Command Arguments for Ctrl_Quotes_Use
2594 static const char* apzCtrl_Quotes_UsePatch[] = {
2599 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2601 * Description of Cxx_Unready fix
2603 tSCC zCxx_UnreadyName[] =
2607 * File name selection pattern
2609 tSCC zCxx_UnreadyList[] =
2610 "sys/mman.h\0rpc/types.h\0";
2612 * Machine/OS name selection pattern
2614 #define apzCxx_UnreadyMachs (const char**)NULL
2617 * content selection pattern - do fix if pattern found
2619 tSCC zCxx_UnreadySelect0[] =
2623 * content bypass pattern - skip fix if pattern found
2625 tSCC zCxx_UnreadyBypass0[] =
2626 "\"C\"|__BEGIN_DECLS";
2628 #define CXX_UNREADY_TEST_CT 2
2629 static tTestDesc aCxx_UnreadyTests[] = {
2630 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2631 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2634 * Fix Command Arguments for Cxx_Unready
2636 static const char* apzCxx_UnreadyPatch[] = {
2638 "#ifdef __cplusplus\n\
2641 "#ifdef __cplusplus\n\
2646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2648 * Description of Darwin_Availabilityinternal fix
2650 tSCC zDarwin_AvailabilityinternalName[] =
2651 "darwin_availabilityinternal";
2654 * File name selection pattern
2656 tSCC zDarwin_AvailabilityinternalList[] =
2657 "AvailabilityInternal.h\0";
2659 * Machine/OS name selection pattern
2661 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2663 (const char*)NULL };
2666 * content selection pattern - do fix if pattern found
2668 tSCC zDarwin_AvailabilityinternalSelect0[] =
2669 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2671 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2672 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2673 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2676 * Fix Command Arguments for Darwin_Availabilityinternal
2678 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2680 "#if defined(__has_attribute)\n\
2681 #if __has_attribute(availability)\n\
2691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2693 * Description of Darwin_9_Long_Double_Funcs_2 fix
2695 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2696 "darwin_9_long_double_funcs_2";
2699 * File name selection pattern
2701 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2704 * Machine/OS name selection pattern
2706 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2708 (const char*)NULL };
2711 * content selection pattern - do fix if pattern found
2713 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2714 "#include[ \\t]+\\\"";
2716 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2717 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2718 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2721 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2723 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2726 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2731 * Description of Darwin_Externc fix
2733 tSCC zDarwin_ExterncName[] =
2737 * File name selection pattern
2739 tSCC zDarwin_ExterncList[] =
2740 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2742 * Machine/OS name selection pattern
2744 tSCC* apzDarwin_ExterncMachs[] = {
2746 (const char*)NULL };
2749 * content bypass pattern - skip fix if pattern found
2751 tSCC zDarwin_ExterncBypass0[] =
2753 tSCC zDarwin_ExterncBypass1[] =
2756 #define DARWIN_EXTERNC_TEST_CT 2
2757 static tTestDesc aDarwin_ExterncTests[] = {
2758 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2759 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2762 * Fix Command Arguments for Darwin_Externc
2764 static const char* apzDarwin_ExterncPatch[] = {
2766 "#ifdef __cplusplus\n\
2769 "#ifdef __cplusplus\n\
2774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2776 * Description of Darwin_Gcc4_Breakage fix
2778 tSCC zDarwin_Gcc4_BreakageName[] =
2779 "darwin_gcc4_breakage";
2782 * File name selection pattern
2784 tSCC zDarwin_Gcc4_BreakageList[] =
2785 "AvailabilityMacros.h\0";
2787 * Machine/OS name selection pattern
2789 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2791 (const char*)NULL };
2794 * content selection pattern - do fix if pattern found
2796 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2797 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2799 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2800 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2801 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2804 * Fix Command Arguments for Darwin_Gcc4_Breakage
2806 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2808 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2813 * Description of Darwin_Ll_Funcs_Avail fix
2815 tSCC zDarwin_Ll_Funcs_AvailName[] =
2816 "darwin_ll_funcs_avail";
2819 * File name selection pattern
2821 tSCC zDarwin_Ll_Funcs_AvailList[] =
2822 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2824 * Machine/OS name selection pattern
2826 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2828 (const char*)NULL };
2831 * content selection pattern - do fix if pattern found
2833 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2834 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2836 #define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2837 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2838 { TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2841 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2843 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2844 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2849 * Description of Darwin_Longjmp_Noreturn fix
2851 tSCC zDarwin_Longjmp_NoreturnName[] =
2852 "darwin_longjmp_noreturn";
2855 * File name selection pattern
2857 tSCC zDarwin_Longjmp_NoreturnList[] =
2860 * Machine/OS name selection pattern
2862 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2864 (const char*)NULL };
2867 * content selection pattern - do fix if pattern found
2869 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2870 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2873 * content bypass pattern - skip fix if pattern found
2875 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2878 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2879 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2880 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2881 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2884 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2886 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2888 "%1 __attribute__ ((__noreturn__));",
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of Darwin_Os_Trace_1 fix
2895 tSCC zDarwin_Os_Trace_1Name[] =
2896 "darwin_os_trace_1";
2899 * File name selection pattern
2901 tSCC zDarwin_Os_Trace_1List[] =
2904 * Machine/OS name selection pattern
2906 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2908 (const char*)NULL };
2911 * content selection pattern - do fix if pattern found
2913 tSCC zDarwin_Os_Trace_1Select0[] =
2914 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2916 #define DARWIN_OS_TRACE_1_TEST_CT 1
2917 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2918 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2921 * Fix Command Arguments for Darwin_Os_Trace_1
2923 static const char* apzDarwin_Os_Trace_1Patch[] = {
2928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2930 * Description of Darwin_Os_Trace_2 fix
2932 tSCC zDarwin_Os_Trace_2Name[] =
2933 "darwin_os_trace_2";
2936 * File name selection pattern
2938 tSCC zDarwin_Os_Trace_2List[] =
2941 * Machine/OS name selection pattern
2943 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2945 (const char*)NULL };
2948 * content selection pattern - do fix if pattern found
2950 tSCC zDarwin_Os_Trace_2Select0[] =
2951 "typedef.*\\^os_trace_payload_t.*";
2953 #define DARWIN_OS_TRACE_2_TEST_CT 1
2954 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2955 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2958 * Fix Command Arguments for Darwin_Os_Trace_2
2960 static const char* apzDarwin_Os_Trace_2Patch[] = {
2967 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2969 * Description of Darwin_Os_Trace_3 fix
2971 tSCC zDarwin_Os_Trace_3Name[] =
2972 "darwin_os_trace_3";
2975 * File name selection pattern
2977 tSCC zDarwin_Os_Trace_3List[] =
2980 * Machine/OS name selection pattern
2982 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2984 (const char*)NULL };
2987 * content selection pattern - do fix if pattern found
2989 tSCC zDarwin_Os_Trace_3Select0[] =
2993 _os_trace.*os_trace_payload_t payload);";
2995 #define DARWIN_OS_TRACE_3_TEST_CT 1
2996 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2997 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
3000 * Fix Command Arguments for Darwin_Os_Trace_3
3002 static const char* apzDarwin_Os_Trace_3Patch[] = {
3009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3011 * Description of Darwin_Os_Base_1 fix
3013 tSCC zDarwin_Os_Base_1Name[] =
3017 * File name selection pattern
3019 tSCC zDarwin_Os_Base_1List[] =
3022 * Machine/OS name selection pattern
3024 tSCC* apzDarwin_Os_Base_1Machs[] = {
3026 (const char*)NULL };
3029 * content selection pattern - do fix if pattern found
3031 tSCC zDarwin_Os_Base_1Select0[] =
3032 "#define __has_attribute.*\n\
3035 #define DARWIN_OS_BASE_1_TEST_CT 1
3036 static tTestDesc aDarwin_Os_Base_1Tests[] = {
3037 { TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
3040 * Fix Command Arguments for Darwin_Os_Base_1
3042 static const char* apzDarwin_Os_Base_1Patch[] = {
3045 #ifndef __has_extension\n\
3046 #define __has_extension(x) 0\n\
3050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3052 * Description of Darwin_Dispatch_Object_1 fix
3054 tSCC zDarwin_Dispatch_Object_1Name[] =
3055 "darwin_dispatch_object_1";
3058 * File name selection pattern
3060 tSCC zDarwin_Dispatch_Object_1List[] =
3061 "dispatch/object.h\0";
3063 * Machine/OS name selection pattern
3065 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3067 (const char*)NULL };
3070 * content selection pattern - do fix if pattern found
3072 tSCC zDarwin_Dispatch_Object_1Select0[] =
3073 "typedef void.*\\^dispatch_block_t.*";
3075 #define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
3076 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3077 { TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3080 * Fix Command Arguments for Darwin_Dispatch_Object_1
3082 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3091 * Description of Darwin_Private_Extern fix
3093 tSCC zDarwin_Private_ExternName[] =
3094 "darwin_private_extern";
3097 * File name selection pattern
3099 tSCC zDarwin_Private_ExternList[] =
3102 * Machine/OS name selection pattern
3104 tSCC* apzDarwin_Private_ExternMachs[] = {
3106 (const char*)NULL };
3109 * content selection pattern - do fix if pattern found
3111 tSCC zDarwin_Private_ExternSelect0[] =
3112 "__private_extern__ [a-z_]+ _dyld_";
3114 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3115 static tTestDesc aDarwin_Private_ExternTests[] = {
3116 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3119 * Fix Command Arguments for Darwin_Private_Extern
3121 static const char* apzDarwin_Private_ExternPatch[] = {
3124 "__private_extern__",
3127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3129 * Description of Darwin_Stdint_1 fix
3131 tSCC zDarwin_Stdint_1Name[] =
3135 * File name selection pattern
3137 tSCC zDarwin_Stdint_1List[] =
3138 "stdint-darwin.h\0stdint.h\0";
3140 * Machine/OS name selection pattern
3142 tSCC* apzDarwin_Stdint_1Machs[] = {
3144 (const char*)NULL };
3147 * content selection pattern - do fix if pattern found
3149 tSCC zDarwin_Stdint_1Select0[] =
3150 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3151 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3153 #define DARWIN_STDINT_1_TEST_CT 1
3154 static tTestDesc aDarwin_Stdint_1Tests[] = {
3155 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3158 * Fix Command Arguments for Darwin_Stdint_1
3160 static const char* apzDarwin_Stdint_1Patch[] = {
3162 "#define UINT8_C(v)\tv\n\
3163 #define UINT16_C(v)\tv",
3166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3168 * Description of Darwin_Stdint_2 fix
3170 tSCC zDarwin_Stdint_2Name[] =
3174 * File name selection pattern
3176 tSCC zDarwin_Stdint_2List[] =
3177 "stdint-darwin.h\0stdint.h\0";
3179 * Machine/OS name selection pattern
3181 tSCC* apzDarwin_Stdint_2Machs[] = {
3183 (const char*)NULL };
3186 * content selection pattern - do fix if pattern found
3188 tSCC zDarwin_Stdint_2Select0[] =
3189 "#if __WORDSIZE == 64\n\
3190 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3191 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3193 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3194 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3197 #define DARWIN_STDINT_2_TEST_CT 1
3198 static tTestDesc aDarwin_Stdint_2Tests[] = {
3199 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3202 * Fix Command Arguments for Darwin_Stdint_2
3204 static const char* apzDarwin_Stdint_2Patch[] = {
3206 "#if __WORDSIZE == 64\n\
3207 #define INTPTR_MAX 9223372036854775807L\n\
3208 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3210 #define INTPTR_MAX 2147483647L\n\
3211 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3217 * Description of Darwin_Stdint_3 fix
3219 tSCC zDarwin_Stdint_3Name[] =
3223 * File name selection pattern
3225 tSCC zDarwin_Stdint_3List[] =
3226 "stdint-darwin.h\0stdint.h\0";
3228 * Machine/OS name selection pattern
3230 tSCC* apzDarwin_Stdint_3Machs[] = {
3232 (const char*)NULL };
3235 * content selection pattern - do fix if pattern found
3237 tSCC zDarwin_Stdint_3Select0[] =
3238 "#if __WORDSIZE == 64\n\
3239 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3241 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3244 #define DARWIN_STDINT_3_TEST_CT 1
3245 static tTestDesc aDarwin_Stdint_3Tests[] = {
3246 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3249 * Fix Command Arguments for Darwin_Stdint_3
3251 static const char* apzDarwin_Stdint_3Patch[] = {
3253 "#if __WORDSIZE == 64\n\
3254 #define UINTPTR_MAX 18446744073709551615UL\n\
3256 #define UINTPTR_MAX 4294967295UL\n\
3260 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3262 * Description of Darwin_Stdint_4 fix
3264 tSCC zDarwin_Stdint_4Name[] =
3268 * File name selection pattern
3270 tSCC zDarwin_Stdint_4List[] =
3271 "stdint-darwin.h\0stdint.h\0";
3273 * Machine/OS name selection pattern
3275 tSCC* apzDarwin_Stdint_4Machs[] = {
3277 (const char*)NULL };
3280 * content selection pattern - do fix if pattern found
3282 tSCC zDarwin_Stdint_4Select0[] =
3283 "#if __WORDSIZE == 64\n\
3284 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3286 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3289 #define DARWIN_STDINT_4_TEST_CT 1
3290 static tTestDesc aDarwin_Stdint_4Tests[] = {
3291 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3294 * Fix Command Arguments for Darwin_Stdint_4
3296 static const char* apzDarwin_Stdint_4Patch[] = {
3298 "#if __WORDSIZE == 64\n\
3299 #define SIZE_MAX 18446744073709551615UL\n\
3301 #define SIZE_MAX 4294967295UL\n\
3305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3307 * Description of Darwin_Stdint_5 fix
3309 tSCC zDarwin_Stdint_5Name[] =
3313 * File name selection pattern
3315 tSCC zDarwin_Stdint_5List[] =
3316 "stdint-darwin.h\0stdint.h\0";
3318 * Machine/OS name selection pattern
3320 tSCC* apzDarwin_Stdint_5Machs[] = {
3322 (const char*)NULL };
3325 * content selection pattern - do fix if pattern found
3327 tSCC zDarwin_Stdint_5Select0[] =
3328 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3329 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3330 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3332 #define DARWIN_STDINT_5_TEST_CT 1
3333 static tTestDesc aDarwin_Stdint_5Tests[] = {
3334 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3337 * Fix Command Arguments for Darwin_Stdint_5
3339 static const char* apzDarwin_Stdint_5Patch[] = {
3341 "#if __WORDSIZE == 64\n\
3342 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3343 #define INTMAX_MAX 9223372036854775807L\n\
3344 #define UINTMAX_MAX 18446744073709551615UL\n\
3346 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3347 #define INTMAX_MAX 9223372036854775807LL\n\
3348 #define UINTMAX_MAX 18446744073709551615ULL\n\
3352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3354 * Description of Darwin_Stdint_6 fix
3356 tSCC zDarwin_Stdint_6Name[] =
3360 * File name selection pattern
3362 tSCC zDarwin_Stdint_6List[] =
3363 "stdint-darwin.h\0stdint.h\0";
3365 * Machine/OS name selection pattern
3367 tSCC* apzDarwin_Stdint_6Machs[] = {
3369 (const char*)NULL };
3372 * content selection pattern - do fix if pattern found
3374 tSCC zDarwin_Stdint_6Select0[] =
3375 "#if __WORDSIZE == 64\n\
3376 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3377 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3379 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3380 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3383 #define DARWIN_STDINT_6_TEST_CT 1
3384 static tTestDesc aDarwin_Stdint_6Tests[] = {
3385 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3388 * Fix Command Arguments for Darwin_Stdint_6
3390 static const char* apzDarwin_Stdint_6Patch[] = {
3392 "#if __WORDSIZE == 64\n\
3393 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3394 #define PTRDIFF_MAX 9223372036854775807L\n\
3396 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3397 #define PTRDIFF_MAX 2147483647\n\
3401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3403 * Description of Darwin_Stdint_7 fix
3405 tSCC zDarwin_Stdint_7Name[] =
3409 * File name selection pattern
3411 tSCC zDarwin_Stdint_7List[] =
3412 "stdint-darwin.h\0stdint.h\0";
3414 * Machine/OS name selection pattern
3416 tSCC* apzDarwin_Stdint_7Machs[] = {
3418 (const char*)NULL };
3421 * content selection pattern - do fix if pattern found
3423 tSCC zDarwin_Stdint_7Select0[] =
3424 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3425 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3427 #define DARWIN_STDINT_7_TEST_CT 1
3428 static tTestDesc aDarwin_Stdint_7Tests[] = {
3429 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3432 * Fix Command Arguments for Darwin_Stdint_7
3434 static const char* apzDarwin_Stdint_7Patch[] = {
3436 "#if __WORDSIZE == 64\n\
3437 #define INTMAX_C(v) (v ## L)\n\
3438 #define UINTMAX_C(v) (v ## UL)\n\
3440 #define INTMAX_C(v) (v ## LL)\n\
3441 #define UINTMAX_C(v) (v ## ULL)\n\
3445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3447 * Description of Darwin_Ucred__Atomic fix
3449 tSCC zDarwin_Ucred__AtomicName[] =
3450 "darwin_ucred__Atomic";
3453 * File name selection pattern
3455 tSCC zDarwin_Ucred__AtomicList[] =
3458 * Machine/OS name selection pattern
3460 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3462 (const char*)NULL };
3465 * content selection pattern - do fix if pattern found
3467 tSCC zDarwin_Ucred__AtomicSelect0[] =
3470 #define DARWIN_UCRED__ATOMIC_TEST_CT 1
3471 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3472 { TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3475 * Fix Command Arguments for Darwin_Ucred__Atomic
3477 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3479 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3480 # define _Atomic volatile\n\
3482 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3489 * Description of Dec_Intern_Asm fix
3491 tSCC zDec_Intern_AsmName[] =
3495 * File name selection pattern
3497 tSCC zDec_Intern_AsmList[] =
3500 * Machine/OS name selection pattern
3502 #define apzDec_Intern_AsmMachs (const char**)NULL
3503 #define DEC_INTERN_ASM_TEST_CT 0
3504 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3507 * Fix Command Arguments for Dec_Intern_Asm
3509 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3510 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3512 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3518 * Description of Djgpp_Wchar_H fix
3520 tSCC zDjgpp_Wchar_HName[] =
3524 * File name selection pattern
3526 #define zDjgpp_Wchar_HList (char*)NULL
3528 * Machine/OS name selection pattern
3530 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3533 * content selection pattern - do fix if pattern found
3535 tSCC zDjgpp_Wchar_HSelect0[] =
3539 * content bypass pattern - skip fix if pattern found
3541 tSCC zDjgpp_Wchar_HBypass0[] =
3544 #define DJGPP_WCHAR_H_TEST_CT 2
3545 static tTestDesc aDjgpp_Wchar_HTests[] = {
3546 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3547 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3550 * Fix Command Arguments for Djgpp_Wchar_H
3552 static const char* apzDjgpp_Wchar_HPatch[] = {
3555 #include <sys/djtypes.h>",
3556 "#include <stddef.h>",
3559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3561 * Description of Ecd_Cursor fix
3563 tSCC zEcd_CursorName[] =
3567 * File name selection pattern
3569 tSCC zEcd_CursorList[] =
3570 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3572 * Machine/OS name selection pattern
3574 #define apzEcd_CursorMachs (const char**)NULL
3577 * content selection pattern - do fix if pattern found
3579 tSCC zEcd_CursorSelect0[] =
3582 #define ECD_CURSOR_TEST_CT 1
3583 static tTestDesc aEcd_CursorTests[] = {
3584 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3587 * Fix Command Arguments for Ecd_Cursor
3589 static const char* apzEcd_CursorPatch[] = {
3594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3596 * Description of Feraiseexcept_Nosse_Divbyzero fix
3598 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3599 "feraiseexcept_nosse_divbyzero";
3602 * File name selection pattern
3604 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3605 "bits/fenv.h\0*/bits/fenv.h\0";
3607 * Machine/OS name selection pattern
3609 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3610 "i[34567]86-*-linux*",
3613 (const char*)NULL };
3616 * content selection pattern - do fix if pattern found
3618 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3619 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3622 * content bypass pattern - skip fix if pattern found
3624 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3625 "\"fdivp .*; fwait\"";
3627 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3628 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3629 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3630 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3633 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3635 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3637 "# ifdef __SSE_MATH__\n\
3640 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3641 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3647 * Description of Feraiseexcept_Nosse_Invalid fix
3649 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3650 "feraiseexcept_nosse_invalid";
3653 * File name selection pattern
3655 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3656 "bits/fenv.h\0*/bits/fenv.h\0";
3658 * Machine/OS name selection pattern
3660 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3661 "i[34567]86-*-linux*",
3664 (const char*)NULL };
3667 * content selection pattern - do fix if pattern found
3669 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3670 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3673 * content bypass pattern - skip fix if pattern found
3675 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3676 "\"fdiv .*; fwait\"";
3678 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3679 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3680 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3681 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3684 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3686 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3688 "# ifdef __SSE_MATH__\n\
3691 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3692 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3698 * Description of Freebsd_Gcc3_Breakage fix
3700 tSCC zFreebsd_Gcc3_BreakageName[] =
3701 "freebsd_gcc3_breakage";
3704 * File name selection pattern
3706 tSCC zFreebsd_Gcc3_BreakageList[] =
3709 * Machine/OS name selection pattern
3711 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3713 (const char*)NULL };
3716 * content selection pattern - do fix if pattern found
3718 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3719 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3722 * content bypass pattern - skip fix if pattern found
3724 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3725 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3727 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3728 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3729 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3730 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3733 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3735 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3737 "%0 || __GNUC__ >= 3",
3740 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3742 * Description of Freebsd_Gcc4_Breakage fix
3744 tSCC zFreebsd_Gcc4_BreakageName[] =
3745 "freebsd_gcc4_breakage";
3748 * File name selection pattern
3750 tSCC zFreebsd_Gcc4_BreakageList[] =
3753 * Machine/OS name selection pattern
3755 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3757 (const char*)NULL };
3760 * content selection pattern - do fix if pattern found
3762 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3763 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3765 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3766 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3767 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3770 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3772 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3774 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3779 * Description of Glibc_C99_Inline_1 fix
3781 tSCC zGlibc_C99_Inline_1Name[] =
3782 "glibc_c99_inline_1";
3785 * File name selection pattern
3787 tSCC zGlibc_C99_Inline_1List[] =
3788 "features.h\0*/features.h\0";
3790 * Machine/OS name selection pattern
3792 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3795 * content selection pattern - do fix if pattern found
3797 tSCC zGlibc_C99_Inline_1Select0[] =
3798 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3800 #define GLIBC_C99_INLINE_1_TEST_CT 1
3801 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3802 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3805 * Fix Command Arguments for Glibc_C99_Inline_1
3807 static const char* apzGlibc_C99_Inline_1Patch[] = {
3809 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3814 * Description of Glibc_C99_Inline_1a fix
3816 tSCC zGlibc_C99_Inline_1aName[] =
3817 "glibc_c99_inline_1a";
3820 * File name selection pattern
3822 tSCC zGlibc_C99_Inline_1aList[] =
3823 "features.h\0*/features.h\0";
3825 * Machine/OS name selection pattern
3827 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3830 * content selection pattern - do fix if pattern found
3832 tSCC zGlibc_C99_Inline_1aSelect0[] =
3833 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3834 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3836 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3837 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3838 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3841 * Fix Command Arguments for Glibc_C99_Inline_1a
3843 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3845 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3851 * Description of Glibc_C99_Inline_2 fix
3853 tSCC zGlibc_C99_Inline_2Name[] =
3854 "glibc_c99_inline_2";
3857 * File name selection pattern
3859 tSCC zGlibc_C99_Inline_2List[] =
3860 "sys/stat.h\0*/sys/stat.h\0";
3862 * Machine/OS name selection pattern
3864 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3867 * content selection pattern - do fix if pattern found
3869 tSCC zGlibc_C99_Inline_2Select0[] =
3870 "extern __inline__ int";
3872 #define GLIBC_C99_INLINE_2_TEST_CT 1
3873 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3874 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3877 * Fix Command Arguments for Glibc_C99_Inline_2
3879 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3880 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3883 __inline__ int \\1/",
3884 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3887 __inline__ int \\1/",
3888 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3891 __inline__ int \\1/",
3892 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3895 __inline__ int __REDIRECT\\1 (\\2/",
3896 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3899 __inline__ int __REDIRECT\\1 (\\2/",
3900 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3908 * Description of Glibc_C99_Inline_3 fix
3910 tSCC zGlibc_C99_Inline_3Name[] =
3911 "glibc_c99_inline_3";
3914 * File name selection pattern
3916 tSCC zGlibc_C99_Inline_3List[] =
3917 "bits/string2.h\0*/bits/string2.h\0";
3919 * Machine/OS name selection pattern
3921 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3924 * content selection pattern - do fix if pattern found
3926 tSCC zGlibc_C99_Inline_3Select0[] =
3930 * content bypass pattern - skip fix if pattern found
3932 tSCC zGlibc_C99_Inline_3Bypass0[] =
3933 "__extern_inline|__GNU_STDC_INLINE__";
3935 #define GLIBC_C99_INLINE_3_TEST_CT 2
3936 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3937 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3938 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3941 * Fix Command Arguments for Glibc_C99_Inline_3
3943 static const char* apzGlibc_C99_Inline_3Patch[] = {
3945 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3946 "^# ifdef __cplusplus$",
3949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3951 * Description of Glibc_C99_Inline_4 fix
3953 tSCC zGlibc_C99_Inline_4Name[] =
3954 "glibc_c99_inline_4";
3957 * File name selection pattern
3959 tSCC zGlibc_C99_Inline_4List[] =
3960 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3962 * Machine/OS name selection pattern
3964 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3967 * content selection pattern - do fix if pattern found
3969 tSCC zGlibc_C99_Inline_4Select0[] =
3970 "(^| )extern __inline";
3973 * content bypass pattern - skip fix if pattern found
3975 tSCC zGlibc_C99_Inline_4Bypass0[] =
3976 "__extern_inline|__gnu_inline__";
3978 #define GLIBC_C99_INLINE_4_TEST_CT 2
3979 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3980 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3981 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3984 * Fix Command Arguments for Glibc_C99_Inline_4
3986 static const char* apzGlibc_C99_Inline_4Patch[] = {
3988 "%0 __attribute__ ((__gnu_inline__))",
3991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3993 * Description of Glibc_Mutex_Init fix
3995 tSCC zGlibc_Mutex_InitName[] =
3999 * File name selection pattern
4001 tSCC zGlibc_Mutex_InitList[] =
4004 * Machine/OS name selection pattern
4006 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4009 * content selection pattern - do fix if pattern found
4011 tSCC zGlibc_Mutex_InitSelect0[] =
4012 "\\{ *\\{ *0, *\\} *\\}";
4014 #define GLIBC_MUTEX_INIT_TEST_CT 1
4015 static tTestDesc aGlibc_Mutex_InitTests[] = {
4016 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4019 * Fix Command Arguments for Glibc_Mutex_Init
4021 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4022 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4024 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4026 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4027 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4028 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4029 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4030 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4031 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4032 "-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\
4034 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4037 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4039 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4040 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4045 * Description of Glibc_Stdint fix
4047 tSCC zGlibc_StdintName[] =
4051 * File name selection pattern
4053 tSCC zGlibc_StdintList[] =
4056 * Machine/OS name selection pattern
4058 #define apzGlibc_StdintMachs (const char**)NULL
4061 * content selection pattern - do fix if pattern found
4063 tSCC zGlibc_StdintSelect0[] =
4066 #define GLIBC_STDINT_TEST_CT 1
4067 static tTestDesc aGlibc_StdintTests[] = {
4068 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4071 * Fix Command Arguments for Glibc_Stdint
4073 static const char* apzGlibc_StdintPatch[] = {
4075 "# define UINT8_C(c)\tc\n\
4076 # define UINT16_C(c)\tc",
4077 "# define UINT8_C\\(c\\)\tc ## U\n\
4078 # define UINT16_C\\(c\\)\tc ## U",
4081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4083 * Description of Glibc_Strncpy fix
4085 tSCC zGlibc_StrncpyName[] =
4089 * File name selection pattern
4091 tSCC zGlibc_StrncpyList[] =
4092 "bits/string2.h\0*/bits/string2.h\0";
4094 * Machine/OS name selection pattern
4096 #define apzGlibc_StrncpyMachs (const char**)NULL
4099 * content bypass pattern - skip fix if pattern found
4101 tSCC zGlibc_StrncpyBypass0[] =
4102 "__builtin_strncpy";
4104 #define GLIBC_STRNCPY_TEST_CT 1
4105 static tTestDesc aGlibc_StrncpyTests[] = {
4106 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4109 * Fix Command Arguments for Glibc_Strncpy
4111 static const char* apzGlibc_StrncpyPatch[] = {
4113 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4114 "# define strncpy([^\n\
4120 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4122 * Description of Glibc_Tgmath fix
4124 tSCC zGlibc_TgmathName[] =
4128 * File name selection pattern
4130 tSCC zGlibc_TgmathList[] =
4133 * Machine/OS name selection pattern
4135 #define apzGlibc_TgmathMachs (const char**)NULL
4138 * content selection pattern - do fix if pattern found
4140 tSCC zGlibc_TgmathSelect0[] =
4141 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4144 * content bypass pattern - skip fix if pattern found
4146 tSCC zGlibc_TgmathBypass0[] =
4147 "__floating_type\\(type\\) \\\\\n\
4148 .*__builtin_classify_type";
4150 #define GLIBC_TGMATH_TEST_CT 2
4151 static tTestDesc aGlibc_TgmathTests[] = {
4152 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4153 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4156 * Fix Command Arguments for Glibc_Tgmath
4158 static const char* apzGlibc_TgmathPatch[] = {
4160 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4165 * Description of Gnu_Types fix
4167 tSCC zGnu_TypesName[] =
4171 * File name selection pattern
4173 tSCC zGnu_TypesList[] =
4174 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4176 * Machine/OS name selection pattern
4178 tSCC* apzGnu_TypesMachs[] = {
4179 "*-*-solaris2.1[0-9]*",
4180 (const char*)NULL };
4183 * content selection pattern - do fix if pattern found
4185 tSCC zGnu_TypesSelect0[] =
4186 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4189 * content bypass pattern - skip fix if pattern found
4191 tSCC zGnu_TypesBypass0[] =
4192 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4194 #define GNU_TYPES_TEST_CT 2
4195 static tTestDesc aGnu_TypesTests[] = {
4196 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4197 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4200 * Fix Command Arguments for Gnu_Types
4202 static const char* apzGnu_TypesPatch[] = {
4206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4208 * Description of Hp_Inline fix
4210 tSCC zHp_InlineName[] =
4214 * File name selection pattern
4216 tSCC zHp_InlineList[] =
4217 "sys/spinlock.h\0machine/machparam.h\0";
4219 * Machine/OS name selection pattern
4221 #define apzHp_InlineMachs (const char**)NULL
4224 * content selection pattern - do fix if pattern found
4226 tSCC zHp_InlineSelect0[] =
4227 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4229 #define HP_INLINE_TEST_CT 1
4230 static tTestDesc aHp_InlineTests[] = {
4231 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4234 * Fix Command Arguments for Hp_Inline
4236 static const char* apzHp_InlinePatch[] = {
4239 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4244 * Description of Hp_Sysfile fix
4246 tSCC zHp_SysfileName[] =
4250 * File name selection pattern
4252 tSCC zHp_SysfileList[] =
4255 * Machine/OS name selection pattern
4257 #define apzHp_SysfileMachs (const char**)NULL
4260 * content selection pattern - do fix if pattern found
4262 tSCC zHp_SysfileSelect0[] =
4265 #define HP_SYSFILE_TEST_CT 1
4266 static tTestDesc aHp_SysfileTests[] = {
4267 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4270 * Fix Command Arguments for Hp_Sysfile
4272 static const char* apzHp_SysfilePatch[] = {
4274 "(struct file *, ...)",
4278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4280 * Description of Hppa_Hpux_Fp_Macros fix
4282 tSCC zHppa_Hpux_Fp_MacrosName[] =
4283 "hppa_hpux_fp_macros";
4286 * File name selection pattern
4288 tSCC zHppa_Hpux_Fp_MacrosList[] =
4291 * Machine/OS name selection pattern
4293 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4295 (const char*)NULL };
4298 * content selection pattern - do fix if pattern found
4300 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4301 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4302 #[ \t]*define[ \t]*FP_ZERO.*\n\
4303 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4304 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4305 #[ \t]*define[ \t]*FP_NAN.*\n";
4307 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4308 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4309 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4312 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4314 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4316 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4317 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4318 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4320 #ifdef _INCLUDE_HPUX_SOURCE\n",
4323 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4325 * Description of Hpux10_Cpp_Pow_Inline fix
4327 tSCC zHpux10_Cpp_Pow_InlineName[] =
4328 "hpux10_cpp_pow_inline";
4331 * File name selection pattern
4333 tSCC zHpux10_Cpp_Pow_InlineList[] =
4334 "fixinc-test-limits.h\0math.h\0";
4336 * Machine/OS name selection pattern
4338 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4341 * content selection pattern - do fix if pattern found
4343 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4344 "^# +ifdef +__cplusplus\n\
4346 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4347 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4349 +extern +\"C\" +\\{\n\
4353 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4354 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4355 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4358 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4360 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4367 * Description of Hpux11_Cpp_Pow_Inline fix
4369 tSCC zHpux11_Cpp_Pow_InlineName[] =
4370 "hpux11_cpp_pow_inline";
4373 * File name selection pattern
4375 tSCC zHpux11_Cpp_Pow_InlineList[] =
4378 * Machine/OS name selection pattern
4380 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4383 * content selection pattern - do fix if pattern found
4385 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4386 " +inline double pow\\(double d,int expon\\) \\{\n\
4387 +return pow\\(d, \\(double\\)expon\\);\n\
4390 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4391 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4392 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4395 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4397 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4404 * Description of Hpux10_Ctype_Declarations1 fix
4406 tSCC zHpux10_Ctype_Declarations1Name[] =
4407 "hpux10_ctype_declarations1";
4410 * File name selection pattern
4412 tSCC zHpux10_Ctype_Declarations1List[] =
4415 * Machine/OS name selection pattern
4417 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4420 * content selection pattern - do fix if pattern found
4422 tSCC zHpux10_Ctype_Declarations1Select0[] =
4423 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4426 * content bypass pattern - skip fix if pattern found
4428 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4429 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4431 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4432 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4433 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4434 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4437 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4439 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4441 "#ifdef _PROTOTYPES\n\
4442 extern int __tolower(int);\n\
4443 extern int __toupper(int);\n\
4444 #else /* NOT _PROTOTYPES */\n\
4445 extern int __tolower();\n\
4446 extern int __toupper();\n\
4447 #endif /* _PROTOTYPES */\n\n\
4451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4453 * Description of Hpux10_Ctype_Declarations2 fix
4455 tSCC zHpux10_Ctype_Declarations2Name[] =
4456 "hpux10_ctype_declarations2";
4459 * File name selection pattern
4461 tSCC zHpux10_Ctype_Declarations2List[] =
4464 * Machine/OS name selection pattern
4466 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4469 * content selection pattern - do fix if pattern found
4471 tSCC zHpux10_Ctype_Declarations2Select0[] =
4472 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4475 * content bypass pattern - skip fix if pattern found
4477 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4478 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4480 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4481 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4482 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4483 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4486 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4488 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4491 #ifdef _PROTOTYPES\n\
4492 extern int _isalnum(int);\n\
4493 extern int _isalpha(int);\n\
4494 extern int _iscntrl(int);\n\
4495 extern int _isdigit(int);\n\
4496 extern int _isgraph(int);\n\
4497 extern int _islower(int);\n\
4498 extern int _isprint(int);\n\
4499 extern int _ispunct(int);\n\
4500 extern int _isspace(int);\n\
4501 extern int _isupper(int);\n\
4502 extern int _isxdigit(int);\n\
4503 # else /* not _PROTOTYPES */\n\
4504 extern int _isalnum();\n\
4505 extern int _isalpha();\n\
4506 extern int _iscntrl();\n\
4507 extern int _isdigit();\n\
4508 extern int _isgraph();\n\
4509 extern int _islower();\n\
4510 extern int _isprint();\n\
4511 extern int _ispunct();\n\
4512 extern int _isspace();\n\
4513 extern int _isupper();\n\
4514 extern int _isxdigit();\n\
4515 #endif /* _PROTOTYPES */\n",
4518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4520 * Description of Hpux10_Stdio_Declarations fix
4522 tSCC zHpux10_Stdio_DeclarationsName[] =
4523 "hpux10_stdio_declarations";
4526 * File name selection pattern
4528 tSCC zHpux10_Stdio_DeclarationsList[] =
4531 * Machine/OS name selection pattern
4533 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4536 * content selection pattern - do fix if pattern found
4538 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4539 "^#[ \t]*define _iob[ \t]*__iob";
4542 * content bypass pattern - skip fix if pattern found
4544 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4545 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4547 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4548 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4549 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4550 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4553 * Fix Command Arguments for Hpux10_Stdio_Declarations
4555 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4558 # if defined(__STDC__) || defined(__cplusplus)\n\
4559 extern int snprintf(char *, size_t, const char *, ...);\n\
4560 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4561 # else /* not __STDC__) || __cplusplus */\n\
4562 extern int snprintf();\n\
4563 extern int vsnprintf();\n\
4564 # endif /* __STDC__) || __cplusplus */\n",
4567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4569 * Description of Hppa_Hpux11_Alloca fix
4571 tSCC zHppa_Hpux11_AllocaName[] =
4572 "hppa_hpux11_alloca";
4575 * File name selection pattern
4577 tSCC zHppa_Hpux11_AllocaList[] =
4580 * Machine/OS name selection pattern
4582 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4584 (const char*)NULL };
4587 * content selection pattern - do fix if pattern found
4589 tSCC zHppa_Hpux11_AllocaSelect0[] =
4590 "#ifndef _STDDEF_INCLUDED";
4592 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4593 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4594 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4597 * Fix Command Arguments for Hppa_Hpux11_Alloca
4599 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4601 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4602 # include <sys/stdsyms.h>\n\
4603 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4609 * Description of Hpux11_Abs fix
4611 tSCC zHpux11_AbsName[] =
4615 * File name selection pattern
4617 tSCC zHpux11_AbsList[] =
4620 * Machine/OS name selection pattern
4622 tSCC* apzHpux11_AbsMachs[] = {
4624 (const char*)NULL };
4627 * content selection pattern - do fix if pattern found
4629 tSCC zHpux11_AbsSelect0[] =
4630 "ifndef _MATH_INCLUDED";
4632 #define HPUX11_ABS_TEST_CT 1
4633 static tTestDesc aHpux11_AbsTests[] = {
4634 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4637 * Fix Command Arguments for Hpux11_Abs
4639 static const char* apzHpux11_AbsPatch[] = {
4641 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4646 * Description of Hpux11_Lwp_Rwlock_Valid fix
4648 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4649 "hpux11_lwp_rwlock_valid";
4652 * File name selection pattern
4654 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4657 * Machine/OS name selection pattern
4659 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4661 (const char*)NULL };
4664 * content selection pattern - do fix if pattern found
4666 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4667 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4669 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4670 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4671 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4674 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4676 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4678 "#define __LWP_RWLOCK_VALID -29551",
4681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4683 * Description of Hpux11_Extern_Sendfile fix
4685 tSCC zHpux11_Extern_SendfileName[] =
4686 "hpux11_extern_sendfile";
4689 * File name selection pattern
4691 tSCC zHpux11_Extern_SendfileList[] =
4694 * Machine/OS name selection pattern
4696 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4697 "*-hp-hpux11.[12]*",
4698 (const char*)NULL };
4701 * content selection pattern - do fix if pattern found
4703 tSCC zHpux11_Extern_SendfileSelect0[] =
4704 "^[ \t]*extern sbsize_t sendfile.*\n\
4707 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4708 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4709 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4712 * Fix Command Arguments for Hpux11_Extern_Sendfile
4714 static const char* apzHpux11_Extern_SendfilePatch[] = {
4716 "#ifndef _APP32_64BIT_OFF_T\n\
4720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4722 * Description of Hpux11_Extern_Sendpath fix
4724 tSCC zHpux11_Extern_SendpathName[] =
4725 "hpux11_extern_sendpath";
4728 * File name selection pattern
4730 tSCC zHpux11_Extern_SendpathList[] =
4733 * Machine/OS name selection pattern
4735 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4736 "*-hp-hpux11.[12]*",
4737 (const char*)NULL };
4740 * content selection pattern - do fix if pattern found
4742 tSCC zHpux11_Extern_SendpathSelect0[] =
4743 "^[ \t]*extern sbsize_t sendpath.*\n\
4746 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4747 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4748 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4751 * Fix Command Arguments for Hpux11_Extern_Sendpath
4753 static const char* apzHpux11_Extern_SendpathPatch[] = {
4755 "#ifndef _APP32_64BIT_OFF_T\n\
4759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4761 * Description of Hpux11_Fabsf fix
4763 tSCC zHpux11_FabsfName[] =
4767 * File name selection pattern
4769 tSCC zHpux11_FabsfList[] =
4772 * Machine/OS name selection pattern
4774 tSCC* apzHpux11_FabsfMachs[] = {
4776 (const char*)NULL };
4779 * content selection pattern - do fix if pattern found
4781 tSCC zHpux11_FabsfSelect0[] =
4782 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4784 #define HPUX11_FABSF_TEST_CT 1
4785 static tTestDesc aHpux11_FabsfTests[] = {
4786 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4789 * Fix Command Arguments for Hpux11_Fabsf
4791 static const char* apzHpux11_FabsfPatch[] = {
4793 "#ifndef __cplusplus\n\
4798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4800 * Description of Hpux11_Pthread_Pointer fix
4802 tSCC zHpux11_Pthread_PointerName[] =
4803 "hpux11_pthread_pointer";
4806 * File name selection pattern
4808 tSCC zHpux11_Pthread_PointerList[] =
4811 * Machine/OS name selection pattern
4813 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4814 "*-hp-hpux11.[0-3]*",
4815 (const char*)NULL };
4818 * content selection pattern - do fix if pattern found
4820 tSCC zHpux11_Pthread_PointerSelect0[] =
4821 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4823 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4824 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4825 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4828 * Fix Command Arguments for Hpux11_Pthread_Pointer
4830 static const char* apzHpux11_Pthread_PointerPatch[] = {
4835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4837 * Description of Hpux11_Pthread_Const fix
4839 tSCC zHpux11_Pthread_ConstName[] =
4840 "hpux11_pthread_const";
4843 * File name selection pattern
4845 tSCC zHpux11_Pthread_ConstList[] =
4848 * Machine/OS name selection pattern
4850 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4851 "*-hp-hpux11.[0-3]*",
4852 (const char*)NULL };
4855 * content selection pattern - do fix if pattern found
4857 tSCC zHpux11_Pthread_ConstSelect0[] =
4858 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4860 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4861 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4862 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4865 * Fix Command Arguments for Hpux11_Pthread_Const
4867 static const char* apzHpux11_Pthread_ConstPatch[] = {
4872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4874 * Description of Hpux11_Size_T fix
4876 tSCC zHpux11_Size_TName[] =
4880 * File name selection pattern
4882 #define zHpux11_Size_TList (char*)NULL
4884 * Machine/OS name selection pattern
4886 tSCC* apzHpux11_Size_TMachs[] = {
4888 (const char*)NULL };
4891 * content selection pattern - do fix if pattern found
4893 tSCC zHpux11_Size_TSelect0[] =
4896 #define HPUX11_SIZE_T_TEST_CT 1
4897 static tTestDesc aHpux11_Size_TTests[] = {
4898 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4901 * Fix Command Arguments for Hpux11_Size_T
4903 static const char* apzHpux11_Size_TPatch[] = {
4908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4910 * Description of Hpux11_Snprintf fix
4912 tSCC zHpux11_SnprintfName[] =
4916 * File name selection pattern
4918 tSCC zHpux11_SnprintfList[] =
4921 * Machine/OS name selection pattern
4923 #define apzHpux11_SnprintfMachs (const char**)NULL
4926 * content selection pattern - do fix if pattern found
4928 tSCC zHpux11_SnprintfSelect0[] =
4929 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4931 #define HPUX11_SNPRINTF_TEST_CT 1
4932 static tTestDesc aHpux11_SnprintfTests[] = {
4933 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4936 * Fix Command Arguments for Hpux11_Snprintf
4938 static const char* apzHpux11_SnprintfPatch[] = {
4943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4945 * Description of Hpux11_Vsnprintf fix
4947 tSCC zHpux11_VsnprintfName[] =
4951 * File name selection pattern
4953 tSCC zHpux11_VsnprintfList[] =
4956 * Machine/OS name selection pattern
4958 #define apzHpux11_VsnprintfMachs (const char**)NULL
4961 * content selection pattern - do fix if pattern found
4963 tSCC zHpux11_VsnprintfSelect0[] =
4964 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4966 #define HPUX11_VSNPRINTF_TEST_CT 1
4967 static tTestDesc aHpux11_VsnprintfTests[] = {
4968 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4971 * Fix Command Arguments for Hpux11_Vsnprintf
4973 static const char* apzHpux11_VsnprintfPatch[] = {
4978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4980 * Description of Hpux_Vsscanf fix
4982 tSCC zHpux_VsscanfName[] =
4986 * File name selection pattern
4988 tSCC zHpux_VsscanfList[] =
4991 * Machine/OS name selection pattern
4993 tSCC* apzHpux_VsscanfMachs[] = {
4995 (const char*)NULL };
4998 * content selection pattern - do fix if pattern found
5000 tSCC zHpux_VsscanfSelect0[] =
5001 "(extern int vsscanf\\()char";
5003 #define HPUX_VSSCANF_TEST_CT 1
5004 static tTestDesc aHpux_VsscanfTests[] = {
5005 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5008 * Fix Command Arguments for Hpux_Vsscanf
5010 static const char* apzHpux_VsscanfPatch[] = {
5015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5017 * Description of Hpux8_Bogus_Inlines fix
5019 tSCC zHpux8_Bogus_InlinesName[] =
5020 "hpux8_bogus_inlines";
5023 * File name selection pattern
5025 tSCC zHpux8_Bogus_InlinesList[] =
5028 * Machine/OS name selection pattern
5030 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5033 * content selection pattern - do fix if pattern found
5035 tSCC zHpux8_Bogus_InlinesSelect0[] =
5039 * content bypass pattern - skip fix if pattern found
5041 tSCC zHpux8_Bogus_InlinesBypass0[] =
5044 #define HPUX8_BOGUS_INLINES_TEST_CT 2
5045 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5046 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5047 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5050 * Fix Command Arguments for Hpux8_Bogus_Inlines
5052 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5053 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5054 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5055 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5056 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5061 * Description of Hpux_C99_Intptr fix
5063 tSCC zHpux_C99_IntptrName[] =
5067 * File name selection pattern
5069 tSCC zHpux_C99_IntptrList[] =
5070 "stdint-hpux11.h\0stdint.h\0";
5072 * Machine/OS name selection pattern
5074 tSCC* apzHpux_C99_IntptrMachs[] = {
5076 (const char*)NULL };
5077 #define HPUX_C99_INTPTR_TEST_CT 0
5078 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5081 * Fix Command Arguments for Hpux_C99_Intptr
5083 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5084 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5085 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5086 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5087 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5088 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5089 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5094 * Description of Hpux_C99_Inttypes fix
5096 tSCC zHpux_C99_InttypesName[] =
5097 "hpux_c99_inttypes";
5100 * File name selection pattern
5102 tSCC zHpux_C99_InttypesList[] =
5103 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5105 * Machine/OS name selection pattern
5107 tSCC* apzHpux_C99_InttypesMachs[] = {
5108 "*-hp-hpux11.[23]*",
5109 (const char*)NULL };
5110 #define HPUX_C99_INTTYPES_TEST_CT 0
5111 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5114 * Fix Command Arguments for Hpux_C99_Inttypes
5116 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5117 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5118 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5119 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5120 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5125 * Description of Hpux_C99_Inttypes2 fix
5127 tSCC zHpux_C99_Inttypes2Name[] =
5128 "hpux_c99_inttypes2";
5131 * File name selection pattern
5133 tSCC zHpux_C99_Inttypes2List[] =
5134 "stdint-hpux11.h\0stdint.h\0";
5136 * Machine/OS name selection pattern
5138 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5140 (const char*)NULL };
5141 #define HPUX_C99_INTTYPES2_TEST_CT 0
5142 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5145 * Fix Command Arguments for Hpux_C99_Inttypes2
5147 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5148 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5149 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5150 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5151 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5154 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5156 * Description of Hpux_C99_Inttypes3 fix
5158 tSCC zHpux_C99_Inttypes3Name[] =
5159 "hpux_c99_inttypes3";
5162 * File name selection pattern
5164 tSCC zHpux_C99_Inttypes3List[] =
5167 * Machine/OS name selection pattern
5169 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5171 (const char*)NULL };
5174 * content selection pattern - do fix if pattern found
5176 tSCC zHpux_C99_Inttypes3Select0[] =
5177 "#define[ \t]INTPTR_MAX[ \t]*\n\
5178 #define[ \t]UINTPTR_MAX[ \t]*\n";
5180 #define HPUX_C99_INTTYPES3_TEST_CT 1
5181 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5182 { TT_EGREP, zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5185 * Fix Command Arguments for Hpux_C99_Inttypes3
5187 static const char* apzHpux_C99_Inttypes3Patch[] = {
5190 #define SIZE_MAX __SIZE_MAX__\n\
5191 #ifdef __INTPTR_MAX__\n\
5192 # undef INTPTR_MAX\n\
5193 # define INTPTR_MAX __INTPTR_MAX__\n\
5194 # undef INTPTR_MIN\n\
5195 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5197 #ifdef __UINTPTR_MAX__\n\
5198 # undef UINTPTR_MAX\n\
5199 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5205 * Description of Hpux_C99_Inttypes4 fix
5207 tSCC zHpux_C99_Inttypes4Name[] =
5208 "hpux_c99_inttypes4";
5211 * File name selection pattern
5213 tSCC zHpux_C99_Inttypes4List[] =
5216 * Machine/OS name selection pattern
5218 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5219 "hppa*-hp-hpux11.[01]*",
5220 (const char*)NULL };
5221 #define HPUX_C99_INTTYPES4_TEST_CT 0
5222 #define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5225 * Fix Command Arguments for Hpux_C99_Inttypes4
5227 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5228 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5229 #define SCNuMAX \t SCNu64\n",
5230 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5231 #define SCNuMAX \t SCNu32\n",
5234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5236 * Description of Hpux_Ctype_Macros fix
5238 tSCC zHpux_Ctype_MacrosName[] =
5239 "hpux_ctype_macros";
5242 * File name selection pattern
5244 tSCC zHpux_Ctype_MacrosList[] =
5247 * Machine/OS name selection pattern
5249 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5252 * content selection pattern - do fix if pattern found
5254 tSCC zHpux_Ctype_MacrosSelect0[] =
5255 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5257 #define HPUX_CTYPE_MACROS_TEST_CT 1
5258 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5259 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5262 * Fix Command Arguments for Hpux_Ctype_Macros
5264 static const char* apzHpux_Ctype_MacrosPatch[] = {
5269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5271 * Description of Hpux_Extern_Errno fix
5273 tSCC zHpux_Extern_ErrnoName[] =
5274 "hpux_extern_errno";
5277 * File name selection pattern
5279 tSCC zHpux_Extern_ErrnoList[] =
5282 * Machine/OS name selection pattern
5284 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5286 "*-hp-hpux11.[0-2]*",
5287 (const char*)NULL };
5290 * content selection pattern - do fix if pattern found
5292 tSCC zHpux_Extern_ErrnoSelect0[] =
5293 "^[ \t]*extern int errno;$";
5295 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5296 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5297 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5300 * Fix Command Arguments for Hpux_Extern_Errno
5302 static const char* apzHpux_Extern_ErrnoPatch[] = {
5304 "#ifdef __cplusplus\n\
5308 #ifdef __cplusplus\n\
5313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5315 * Description of Hpux_Htonl fix
5317 tSCC zHpux_HtonlName[] =
5321 * File name selection pattern
5323 tSCC zHpux_HtonlList[] =
5326 * Machine/OS name selection pattern
5328 #define apzHpux_HtonlMachs (const char**)NULL
5331 * content selection pattern - do fix if pattern found
5333 tSCC zHpux_HtonlSelect0[] =
5334 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5336 \\* Macros for number representation conversion\\.\n\
5340 #define HPUX_HTONL_TEST_CT 1
5341 static tTestDesc aHpux_HtonlTests[] = {
5342 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5345 * Fix Command Arguments for Hpux_Htonl
5347 static const char* apzHpux_HtonlPatch[] = {
5353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5355 * Description of Hpux_Imaginary_I fix
5357 tSCC zHpux_Imaginary_IName[] =
5361 * File name selection pattern
5363 tSCC zHpux_Imaginary_IList[] =
5366 * Machine/OS name selection pattern
5368 tSCC* apzHpux_Imaginary_IMachs[] = {
5370 (const char*)NULL };
5373 * content selection pattern - do fix if pattern found
5375 tSCC zHpux_Imaginary_ISelect0[] =
5376 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5378 #define HPUX_IMAGINARY_I_TEST_CT 1
5379 static tTestDesc aHpux_Imaginary_ITests[] = {
5380 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5383 * Fix Command Arguments for Hpux_Imaginary_I
5385 static const char* apzHpux_Imaginary_IPatch[] = {
5387 "#define _Complex_I (__extension__ 1.0iF)",
5390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5392 * Description of Hpux_Inttype_Int8_T fix
5394 tSCC zHpux_Inttype_Int8_TName[] =
5395 "hpux_inttype_int8_t";
5398 * File name selection pattern
5400 tSCC zHpux_Inttype_Int8_TList[] =
5401 "sys/_inttypes.h\0";
5403 * Machine/OS name selection pattern
5405 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5407 (const char*)NULL };
5410 * content selection pattern - do fix if pattern found
5412 tSCC zHpux_Inttype_Int8_TSelect0[] =
5413 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5415 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5416 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5417 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5420 * Fix Command Arguments for Hpux_Inttype_Int8_T
5422 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5424 "typedef signed char int%18_t;",
5427 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5429 * Description of Hpux_Long_Double fix
5431 tSCC zHpux_Long_DoubleName[] =
5435 * File name selection pattern
5437 tSCC zHpux_Long_DoubleList[] =
5440 * Machine/OS name selection pattern
5442 tSCC* apzHpux_Long_DoubleMachs[] = {
5444 "*-*-hpux11.[012]*",
5445 (const char*)NULL };
5448 * content selection pattern - do fix if pattern found
5450 tSCC zHpux_Long_DoubleSelect0[] =
5451 "extern[ \t]long_double[ \t]strtold";
5454 * content bypass pattern - skip fix if pattern found
5456 tSCC zHpux_Long_DoubleBypass0[] =
5459 #define HPUX_LONG_DOUBLE_TEST_CT 2
5460 static tTestDesc aHpux_Long_DoubleTests[] = {
5461 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5462 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5465 * Fix Command Arguments for Hpux_Long_Double
5467 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5468 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5469 "-e", "s/long_double/long double/g",
5472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5474 * Description of Hpux_Long_Double_2 fix
5476 tSCC zHpux_Long_Double_2Name[] =
5477 "hpux_long_double_2";
5480 * File name selection pattern
5482 tSCC zHpux_Long_Double_2List[] =
5485 * Machine/OS name selection pattern
5487 tSCC* apzHpux_Long_Double_2Machs[] = {
5488 "hppa*-*-hpux11.3*",
5489 (const char*)NULL };
5492 * content selection pattern - do fix if pattern found
5494 tSCC zHpux_Long_Double_2Select0[] =
5495 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5497 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5498 static tTestDesc aHpux_Long_Double_2Tests[] = {
5499 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5502 * Fix Command Arguments for Hpux_Long_Double_2
5504 static const char* apzHpux_Long_Double_2Patch[] = {
5506 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5509 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5511 * Description of Hpux_Pthread_Initializers fix
5513 tSCC zHpux_Pthread_InitializersName[] =
5514 "hpux_pthread_initializers";
5517 * File name selection pattern
5519 tSCC zHpux_Pthread_InitializersList[] =
5522 * Machine/OS name selection pattern
5524 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5525 "*-hp-hpux11.[0-3]*",
5526 (const char*)NULL };
5527 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5528 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5531 * Fix Command Arguments for Hpux_Pthread_Initializers
5533 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5534 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5535 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5536 "-e", "/^[ \t]*0$/d",
5537 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5538 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5539 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5540 "-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\\\\@",
5541 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5542 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5543 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5544 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5545 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5546 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5551 * Description of Hpux_Spu_Info fix
5553 tSCC zHpux_Spu_InfoName[] =
5557 * File name selection pattern
5559 tSCC zHpux_Spu_InfoList[] =
5560 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5562 * Machine/OS name selection pattern
5564 tSCC* apzHpux_Spu_InfoMachs[] = {
5566 (const char*)NULL };
5569 * content selection pattern - do fix if pattern found
5571 tSCC zHpux_Spu_InfoSelect0[] =
5572 "^.*extern.*spu_info.*";
5574 #define HPUX_SPU_INFO_TEST_CT 1
5575 static tTestDesc aHpux_Spu_InfoTests[] = {
5576 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5579 * Fix Command Arguments for Hpux_Spu_Info
5581 static const char* apzHpux_Spu_InfoPatch[] = {
5588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5590 * Description of Hpux_Stdint_Least_Fast fix
5592 tSCC zHpux_Stdint_Least_FastName[] =
5593 "hpux_stdint_least_fast";
5596 * File name selection pattern
5598 tSCC zHpux_Stdint_Least_FastList[] =
5599 "stdint-hpux11.h\0stdint.h\0";
5601 * Machine/OS name selection pattern
5603 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5605 (const char*)NULL };
5608 * content selection pattern - do fix if pattern found
5610 tSCC zHpux_Stdint_Least_FastSelect0[] =
5611 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5613 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5614 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5615 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5618 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5620 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5622 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5627 * Description of Hpux_Longjmp fix
5629 tSCC zHpux_LongjmpName[] =
5633 * File name selection pattern
5635 tSCC zHpux_LongjmpList[] =
5638 * Machine/OS name selection pattern
5640 tSCC* apzHpux_LongjmpMachs[] = {
5642 (const char*)NULL };
5645 * content selection pattern - do fix if pattern found
5647 tSCC zHpux_LongjmpSelect0[] =
5648 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5650 #define HPUX_LONGJMP_TEST_CT 1
5651 static tTestDesc aHpux_LongjmpTests[] = {
5652 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5655 * Fix Command Arguments for Hpux_Longjmp
5657 static const char* apzHpux_LongjmpPatch[] = {
5659 "%0 __attribute__ ((__noreturn__))",
5662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5664 * Description of Hpux_Systime fix
5666 tSCC zHpux_SystimeName[] =
5670 * File name selection pattern
5672 tSCC zHpux_SystimeList[] =
5675 * Machine/OS name selection pattern
5677 #define apzHpux_SystimeMachs (const char**)NULL
5680 * content selection pattern - do fix if pattern found
5682 tSCC zHpux_SystimeSelect0[] =
5683 "^extern struct sigevent;";
5685 #define HPUX_SYSTIME_TEST_CT 1
5686 static tTestDesc aHpux_SystimeTests[] = {
5687 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5690 * Fix Command Arguments for Hpux_Systime
5692 static const char* apzHpux_SystimePatch[] = {
5697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5699 * Description of Huge_Val_Hex fix
5701 tSCC zHuge_Val_HexName[] =
5705 * File name selection pattern
5707 tSCC zHuge_Val_HexList[] =
5708 "bits/huge_val.h\0*/bits/huge_val.h\0";
5710 * Machine/OS name selection pattern
5712 #define apzHuge_Val_HexMachs (const char**)NULL
5715 * content selection pattern - do fix if pattern found
5717 tSCC zHuge_Val_HexSelect0[] =
5718 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5721 * content bypass pattern - skip fix if pattern found
5723 tSCC zHuge_Val_HexBypass0[] =
5724 "__builtin_huge_val";
5726 #define HUGE_VAL_HEX_TEST_CT 2
5727 static tTestDesc aHuge_Val_HexTests[] = {
5728 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5729 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5732 * Fix Command Arguments for Huge_Val_Hex
5734 static const char* apzHuge_Val_HexPatch[] = {
5736 "#define HUGE_VAL (__builtin_huge_val())\n",
5739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5741 * Description of Huge_Valf_Hex fix
5743 tSCC zHuge_Valf_HexName[] =
5747 * File name selection pattern
5749 tSCC zHuge_Valf_HexList[] =
5750 "bits/huge_val.h\0*/bits/huge_val.h\0";
5752 * Machine/OS name selection pattern
5754 #define apzHuge_Valf_HexMachs (const char**)NULL
5757 * content selection pattern - do fix if pattern found
5759 tSCC zHuge_Valf_HexSelect0[] =
5760 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5763 * content bypass pattern - skip fix if pattern found
5765 tSCC zHuge_Valf_HexBypass0[] =
5766 "__builtin_huge_valf";
5768 #define HUGE_VALF_HEX_TEST_CT 2
5769 static tTestDesc aHuge_Valf_HexTests[] = {
5770 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5771 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5774 * Fix Command Arguments for Huge_Valf_Hex
5776 static const char* apzHuge_Valf_HexPatch[] = {
5778 "#define HUGE_VALF (__builtin_huge_valf())\n",
5781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5783 * Description of Huge_Vall_Hex fix
5785 tSCC zHuge_Vall_HexName[] =
5789 * File name selection pattern
5791 tSCC zHuge_Vall_HexList[] =
5792 "bits/huge_val.h\0*/bits/huge_val.h\0";
5794 * Machine/OS name selection pattern
5796 #define apzHuge_Vall_HexMachs (const char**)NULL
5799 * content selection pattern - do fix if pattern found
5801 tSCC zHuge_Vall_HexSelect0[] =
5802 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5805 * content bypass pattern - skip fix if pattern found
5807 tSCC zHuge_Vall_HexBypass0[] =
5808 "__builtin_huge_vall";
5810 #define HUGE_VALL_HEX_TEST_CT 2
5811 static tTestDesc aHuge_Vall_HexTests[] = {
5812 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5813 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5816 * Fix Command Arguments for Huge_Vall_Hex
5818 static const char* apzHuge_Vall_HexPatch[] = {
5820 "#define HUGE_VALL (__builtin_huge_vall())\n",
5823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5825 * Description of Int_Abort_Free_And_Exit fix
5827 tSCC zInt_Abort_Free_And_ExitName[] =
5828 "int_abort_free_and_exit";
5831 * File name selection pattern
5833 tSCC zInt_Abort_Free_And_ExitList[] =
5836 * Machine/OS name selection pattern
5838 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5841 * content selection pattern - do fix if pattern found
5843 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5844 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5847 * content bypass pattern - skip fix if pattern found
5849 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5850 "_CLASSIC_ANSI_TYPES";
5852 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5853 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5854 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5855 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5858 * Fix Command Arguments for Int_Abort_Free_And_Exit
5860 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5867 * Description of Io_Quotes_Def fix
5869 tSCC zIo_Quotes_DefName[] =
5873 * File name selection pattern
5875 #define zIo_Quotes_DefList (char*)NULL
5877 * Machine/OS name selection pattern
5879 #define apzIo_Quotes_DefMachs (const char**)NULL
5882 * content selection pattern - do fix if pattern found
5884 tSCC zIo_Quotes_DefSelect0[] =
5885 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5887 #define IO_QUOTES_DEF_TEST_CT 1
5888 static tTestDesc aIo_Quotes_DefTests[] = {
5889 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5892 * Fix Command Arguments for Io_Quotes_Def
5894 static const char* apzIo_Quotes_DefPatch[] = {
5899 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5901 * Description of Io_Quotes_Use fix
5903 tSCC zIo_Quotes_UseName[] =
5907 * File name selection pattern
5909 #define zIo_Quotes_UseList (char*)NULL
5911 * Machine/OS name selection pattern
5913 #define apzIo_Quotes_UseMachs (const char**)NULL
5916 * content selection pattern - do fix if pattern found
5918 tSCC zIo_Quotes_UseSelect0[] =
5919 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5921 #define IO_QUOTES_USE_TEST_CT 1
5922 static tTestDesc aIo_Quotes_UseTests[] = {
5923 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5926 * Fix Command Arguments for Io_Quotes_Use
5928 static const char* apzIo_Quotes_UsePatch[] = {
5933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5935 * Description of Ip_Missing_Semi fix
5937 tSCC zIp_Missing_SemiName[] =
5941 * File name selection pattern
5943 tSCC zIp_Missing_SemiList[] =
5946 * Machine/OS name selection pattern
5948 #define apzIp_Missing_SemiMachs (const char**)NULL
5951 * content selection pattern - do fix if pattern found
5953 tSCC zIp_Missing_SemiSelect0[] =
5956 #define IP_MISSING_SEMI_TEST_CT 1
5957 static tTestDesc aIp_Missing_SemiTests[] = {
5958 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5961 * Fix Command Arguments for Ip_Missing_Semi
5963 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5964 "-e", "/^struct/,/^};/s/}$/};/",
5967 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5969 * Description of Irix_Limits_Const fix
5971 tSCC zIrix_Limits_ConstName[] =
5972 "irix_limits_const";
5975 * File name selection pattern
5977 tSCC zIrix_Limits_ConstList[] =
5978 "fixinc-test-limits.h\0limits.h\0";
5980 * Machine/OS name selection pattern
5982 #define apzIrix_Limits_ConstMachs (const char**)NULL
5985 * content selection pattern - do fix if pattern found
5987 tSCC zIrix_Limits_ConstSelect0[] =
5990 #define IRIX_LIMITS_CONST_TEST_CT 1
5991 static tTestDesc aIrix_Limits_ConstTests[] = {
5992 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5995 * Fix Command Arguments for Irix_Limits_Const
5997 static const char* apzIrix_Limits_ConstPatch[] = {
6002 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6004 * Description of Irix_Stdio_Va_List fix
6006 tSCC zIrix_Stdio_Va_ListName[] =
6007 "irix_stdio_va_list";
6010 * File name selection pattern
6012 tSCC zIrix_Stdio_Va_ListList[] =
6015 * Machine/OS name selection pattern
6017 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6020 * content selection pattern - do fix if pattern found
6022 tSCC zIrix_Stdio_Va_ListSelect0[] =
6023 "/\\* va_list \\*/ char \\*";
6025 #define IRIX_STDIO_VA_LIST_TEST_CT 1
6026 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6027 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6030 * Fix Command Arguments for Irix_Stdio_Va_List
6032 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6037 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6039 * Description of Kandr_Concat fix
6041 tSCC zKandr_ConcatName[] =
6045 * File name selection pattern
6047 tSCC zKandr_ConcatList[] =
6048 "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";
6050 * Machine/OS name selection pattern
6052 #define apzKandr_ConcatMachs (const char**)NULL
6055 * content selection pattern - do fix if pattern found
6057 tSCC zKandr_ConcatSelect0[] =
6060 #define KANDR_CONCAT_TEST_CT 1
6061 static tTestDesc aKandr_ConcatTests[] = {
6062 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
6065 * Fix Command Arguments for Kandr_Concat
6067 static const char* apzKandr_ConcatPatch[] = {
6072 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6074 * Description of Linux_Ia64_Ucontext fix
6076 tSCC zLinux_Ia64_UcontextName[] =
6077 "linux_ia64_ucontext";
6080 * File name selection pattern
6082 tSCC zLinux_Ia64_UcontextList[] =
6085 * Machine/OS name selection pattern
6087 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6089 (const char*)NULL };
6092 * content selection pattern - do fix if pattern found
6094 tSCC zLinux_Ia64_UcontextSelect0[] =
6095 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6097 #define LINUX_IA64_UCONTEXT_TEST_CT 1
6098 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6099 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6102 * Fix Command Arguments for Linux_Ia64_Ucontext
6104 static const char* apzLinux_Ia64_UcontextPatch[] = {
6106 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6111 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6113 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6114 "lynxos_no_warning_in_sys_time_h";
6117 * File name selection pattern
6119 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6122 * Machine/OS name selection pattern
6124 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6127 * content selection pattern - do fix if pattern found
6129 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6130 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6132 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6133 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6134 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6137 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6139 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6146 * Description of Lynxos_Missing_Putenv fix
6148 tSCC zLynxos_Missing_PutenvName[] =
6149 "lynxos_missing_putenv";
6152 * File name selection pattern
6154 tSCC zLynxos_Missing_PutenvList[] =
6157 * Machine/OS name selection pattern
6159 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6161 (const char*)NULL };
6164 * content selection pattern - do fix if pattern found
6166 tSCC zLynxos_Missing_PutenvSelect0[] =
6167 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6170 * content bypass pattern - skip fix if pattern found
6172 tSCC zLynxos_Missing_PutenvBypass0[] =
6175 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6176 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6177 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6178 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6181 * Fix Command Arguments for Lynxos_Missing_Putenv
6183 static const char* apzLynxos_Missing_PutenvPatch[] = {
6186 extern int putenv\t\t\t\t_AP((char *));",
6187 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6192 * Description of Machine_Ansi_H_Va_List fix
6194 tSCC zMachine_Ansi_H_Va_ListName[] =
6195 "machine_ansi_h_va_list";
6198 * File name selection pattern
6200 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6202 * Machine/OS name selection pattern
6204 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6207 * content selection pattern - do fix if pattern found
6209 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6210 "define[ \t]+_BSD_VA_LIST_[ \t]";
6213 * content bypass pattern - skip fix if pattern found
6215 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6216 "__builtin_va_list";
6218 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6219 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6220 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6221 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6224 * Fix Command Arguments for Machine_Ansi_H_Va_List
6226 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6228 "%1__builtin_va_list",
6229 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6234 * Description of Machine_Name fix
6236 tSCC zMachine_NameName[] =
6240 * File name selection pattern
6242 #define zMachine_NameList (char*)NULL
6244 * Machine/OS name selection pattern
6246 #define apzMachine_NameMachs (const char**)NULL
6249 * perform the C function call test
6251 tSCC zMachine_NameFTst0[] = "machine_name";
6253 #define MACHINE_NAME_TEST_CT 1
6254 static tTestDesc aMachine_NameTests[] = {
6255 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6258 * Fix Command Arguments for Machine_Name
6260 static const char* apzMachine_NamePatch[] = {
6264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6266 * Description of Math_Exception fix
6268 tSCC zMath_ExceptionName[] =
6272 * File name selection pattern
6274 tSCC zMath_ExceptionList[] =
6277 * Machine/OS name selection pattern
6279 tSCC* apzMath_ExceptionMachs[] = {
6280 "*-*-solaris2.1[0-9]*",
6281 (const char*)NULL };
6284 * content selection pattern - do fix if pattern found
6286 tSCC zMath_ExceptionSelect0[] =
6290 * content bypass pattern - skip fix if pattern found
6292 tSCC zMath_ExceptionBypass0[] =
6293 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6295 #define MATH_EXCEPTION_TEST_CT 2
6296 static tTestDesc aMath_ExceptionTests[] = {
6297 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6298 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6301 * Fix Command Arguments for Math_Exception
6303 static const char* apzMath_ExceptionPatch[] = {
6305 "#ifdef __cplusplus\n\
6306 #define exception __math_exception\n\
6308 "#ifdef __cplusplus\n\
6313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6315 * Description of Math_Huge_Val_From_Dbl_Max fix
6317 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6318 "math_huge_val_from_dbl_max";
6321 * File name selection pattern
6323 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6326 * Machine/OS name selection pattern
6328 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6331 * content selection pattern - do fix if pattern found
6333 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6334 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6337 * content bypass pattern - skip fix if pattern found
6339 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6340 "define[ \t]+DBL_MAX";
6342 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6343 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6344 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6345 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6348 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6350 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6351 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6352 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6353 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6360 * Description of Nested_Auth_Des fix
6362 tSCC zNested_Auth_DesName[] =
6366 * File name selection pattern
6368 tSCC zNested_Auth_DesList[] =
6371 * Machine/OS name selection pattern
6373 #define apzNested_Auth_DesMachs (const char**)NULL
6376 * content selection pattern - do fix if pattern found
6378 tSCC zNested_Auth_DesSelect0[] =
6379 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6381 #define NESTED_AUTH_DES_TEST_CT 1
6382 static tTestDesc aNested_Auth_DesTests[] = {
6383 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6386 * Fix Command Arguments for Nested_Auth_Des
6388 static const char* apzNested_Auth_DesPatch[] = {
6393 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6395 * Description of Netbsd_C99_Inline_1 fix
6397 tSCC zNetbsd_C99_Inline_1Name[] =
6398 "netbsd_c99_inline_1";
6401 * File name selection pattern
6403 tSCC zNetbsd_C99_Inline_1List[] =
6406 * Machine/OS name selection pattern
6408 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6410 (const char*)NULL };
6413 * content selection pattern - do fix if pattern found
6415 tSCC zNetbsd_C99_Inline_1Select0[] =
6416 "extern __inline int";
6418 #define NETBSD_C99_INLINE_1_TEST_CT 1
6419 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6420 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6423 * Fix Command Arguments for Netbsd_C99_Inline_1
6425 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6428 #ifdef __GNUC_STDC_INLINE__\n\
6429 __attribute__((__gnu_inline__))\n\
6434 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6436 * Description of Netbsd_C99_Inline_2 fix
6438 tSCC zNetbsd_C99_Inline_2Name[] =
6439 "netbsd_c99_inline_2";
6442 * File name selection pattern
6444 tSCC zNetbsd_C99_Inline_2List[] =
6447 * Machine/OS name selection pattern
6449 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6451 (const char*)NULL };
6454 * content selection pattern - do fix if pattern found
6456 tSCC zNetbsd_C99_Inline_2Select0[] =
6457 "#define _SIGINLINE extern __inline";
6459 #define NETBSD_C99_INLINE_2_TEST_CT 1
6460 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6461 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6464 * Fix Command Arguments for Netbsd_C99_Inline_2
6466 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6468 "#ifdef __GNUC_STDC_INLINE__\n\
6469 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6477 * Description of Netbsd_Extra_Semicolon fix
6479 tSCC zNetbsd_Extra_SemicolonName[] =
6480 "netbsd_extra_semicolon";
6483 * File name selection pattern
6485 tSCC zNetbsd_Extra_SemicolonList[] =
6488 * Machine/OS name selection pattern
6490 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6492 (const char*)NULL };
6495 * content selection pattern - do fix if pattern found
6497 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6498 "#define[ \t]*__END_DECLS[ \t]*};";
6500 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6501 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6502 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6505 * Fix Command Arguments for Netbsd_Extra_Semicolon
6507 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6509 "#define __END_DECLS }",
6512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6514 * Description of Newlib_Stdint_1 fix
6516 tSCC zNewlib_Stdint_1Name[] =
6520 * File name selection pattern
6522 tSCC zNewlib_Stdint_1List[] =
6523 "stdint-newlib.h\0stdint.h\0";
6525 * Machine/OS name selection pattern
6527 #define apzNewlib_Stdint_1Machs (const char**)NULL
6530 * content selection pattern - do fix if pattern found
6532 tSCC zNewlib_Stdint_1Select0[] =
6533 "@todo - Add support for wint_t types";
6535 #define NEWLIB_STDINT_1_TEST_CT 1
6536 static tTestDesc aNewlib_Stdint_1Tests[] = {
6537 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6540 * Fix Command Arguments for Newlib_Stdint_1
6542 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6543 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6544 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6545 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6546 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6547 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6548 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6549 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6550 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6551 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6552 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6553 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6554 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6555 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6556 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6561 * Description of Newlib_Stdint_2 fix
6563 tSCC zNewlib_Stdint_2Name[] =
6567 * File name selection pattern
6569 tSCC zNewlib_Stdint_2List[] =
6570 "stdint-newlib.h\0stdint.h\0";
6572 * Machine/OS name selection pattern
6574 #define apzNewlib_Stdint_2Machs (const char**)NULL
6577 * content selection pattern - do fix if pattern found
6579 tSCC zNewlib_Stdint_2Select0[] =
6580 "@todo - Add support for wint_t types";
6582 #define NEWLIB_STDINT_2_TEST_CT 1
6583 static tTestDesc aNewlib_Stdint_2Tests[] = {
6584 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6587 * Fix Command Arguments for Newlib_Stdint_2
6589 static const char* apzNewlib_Stdint_2Patch[] = {
6591 "#define INTMAX_MAX __INTMAX_MAX__\n\
6592 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6593 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6594 #define WCHAR_MAX __WCHAR_MAX__\n\
6595 #define WCHAR_MIN __WCHAR_MIN__\n\
6596 #define WINT_MAX __WINT_MAX__\n\
6597 #define WINT_MIN __WINT_MIN__\n\n\
6599 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6604 * Description of Next_Math_Prefix fix
6606 tSCC zNext_Math_PrefixName[] =
6610 * File name selection pattern
6612 tSCC zNext_Math_PrefixList[] =
6615 * Machine/OS name selection pattern
6617 #define apzNext_Math_PrefixMachs (const char**)NULL
6620 * content selection pattern - do fix if pattern found
6622 tSCC zNext_Math_PrefixSelect0[] =
6623 "^extern[ \t]+double[ \t]+__const__[ \t]";
6625 #define NEXT_MATH_PREFIX_TEST_CT 1
6626 static tTestDesc aNext_Math_PrefixTests[] = {
6627 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6630 * Fix Command Arguments for Next_Math_Prefix
6632 static const char* apzNext_Math_PrefixPatch[] = {
6634 "extern double %1(",
6635 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6638 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6640 * Description of Next_Template fix
6642 tSCC zNext_TemplateName[] =
6646 * File name selection pattern
6648 tSCC zNext_TemplateList[] =
6651 * Machine/OS name selection pattern
6653 #define apzNext_TemplateMachs (const char**)NULL
6656 * content selection pattern - do fix if pattern found
6658 tSCC zNext_TemplateSelect0[] =
6661 #define NEXT_TEMPLATE_TEST_CT 1
6662 static tTestDesc aNext_TemplateTests[] = {
6663 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6666 * Fix Command Arguments for Next_Template
6668 static const char* apzNext_TemplatePatch[] = {
6671 "\\(([^)]*)[ \t]template\\)",
6674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6676 * Description of Next_Volitile fix
6678 tSCC zNext_VolitileName[] =
6682 * File name selection pattern
6684 tSCC zNext_VolitileList[] =
6687 * Machine/OS name selection pattern
6689 #define apzNext_VolitileMachs (const char**)NULL
6692 * content selection pattern - do fix if pattern found
6694 tSCC zNext_VolitileSelect0[] =
6695 "^extern[ \t]+volatile[ \t]+void[ \t]";
6697 #define NEXT_VOLITILE_TEST_CT 1
6698 static tTestDesc aNext_VolitileTests[] = {
6699 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6702 * Fix Command Arguments for Next_Volitile
6704 static const char* apzNext_VolitilePatch[] = {
6707 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6712 * Description of Next_Wait_Union fix
6714 tSCC zNext_Wait_UnionName[] =
6718 * File name selection pattern
6720 tSCC zNext_Wait_UnionList[] =
6723 * Machine/OS name selection pattern
6725 #define apzNext_Wait_UnionMachs (const char**)NULL
6728 * content selection pattern - do fix if pattern found
6730 tSCC zNext_Wait_UnionSelect0[] =
6731 "wait\\(union wait";
6733 #define NEXT_WAIT_UNION_TEST_CT 1
6734 static tTestDesc aNext_Wait_UnionTests[] = {
6735 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6738 * Fix Command Arguments for Next_Wait_Union
6740 static const char* apzNext_Wait_UnionPatch[] = {
6745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6747 * Description of Nodeent_Syntax fix
6749 tSCC zNodeent_SyntaxName[] =
6753 * File name selection pattern
6755 tSCC zNodeent_SyntaxList[] =
6756 "netdnet/dnetdb.h\0";
6758 * Machine/OS name selection pattern
6760 #define apzNodeent_SyntaxMachs (const char**)NULL
6763 * content selection pattern - do fix if pattern found
6765 tSCC zNodeent_SyntaxSelect0[] =
6766 "char[ \t]*\\*na_addr[ \t]*$";
6768 #define NODEENT_SYNTAX_TEST_CT 1
6769 static tTestDesc aNodeent_SyntaxTests[] = {
6770 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6773 * Fix Command Arguments for Nodeent_Syntax
6775 static const char* apzNodeent_SyntaxPatch[] = {
6780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6782 * Description of Openbsd_Null_Definition fix
6784 tSCC zOpenbsd_Null_DefinitionName[] =
6785 "openbsd_null_definition";
6788 * File name selection pattern
6790 tSCC zOpenbsd_Null_DefinitionList[] =
6791 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6793 * Machine/OS name selection pattern
6795 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6797 (const char*)NULL };
6800 * content selection pattern - do fix if pattern found
6802 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6805 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6806 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6807 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6810 * Fix Command Arguments for Openbsd_Null_Definition
6812 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6815 #ifdef __cplusplus\n\
6817 #define NULL\t__null\n\
6818 #else\t /* ! __GNUG__ */\n\
6820 #endif\t /* __GNUG__ */\n\
6821 #else\t /* ! __cplusplus */\n\
6822 #define NULL\t((void *)0)\n\
6823 #endif\t /* __cplusplus */\n\
6824 #endif\t /* !NULL */",
6825 "^#ifndef[ \t]*NULL\n\
6826 ^#ifdef[ \t]*__GNUG__\n\
6827 ^#define[ \t]*NULL[ \t]*__null\n\
6829 ^#define[ \t]*NULL[ \t]*0L\n\
6834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6836 * Description of Obstack_Lvalue_Cast fix
6838 tSCC zObstack_Lvalue_CastName[] =
6839 "obstack_lvalue_cast";
6842 * File name selection pattern
6844 tSCC zObstack_Lvalue_CastList[] =
6847 * Machine/OS name selection pattern
6849 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6852 * content selection pattern - do fix if pattern found
6854 tSCC zObstack_Lvalue_CastSelect0[] =
6855 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6857 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6858 static tTestDesc aObstack_Lvalue_CastTests[] = {
6859 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6862 * Fix Command Arguments for Obstack_Lvalue_Cast
6864 static const char* apzObstack_Lvalue_CastPatch[] = {
6866 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6871 * Description of Openbsd_Va_Start fix
6873 tSCC zOpenbsd_Va_StartName[] =
6877 * File name selection pattern
6879 tSCC zOpenbsd_Va_StartList[] =
6882 * Machine/OS name selection pattern
6884 tSCC* apzOpenbsd_Va_StartMachs[] = {
6886 (const char*)NULL };
6889 * content selection pattern - do fix if pattern found
6891 tSCC zOpenbsd_Va_StartSelect0[] =
6892 "__builtin_stdarg_start";
6894 #define OPENBSD_VA_START_TEST_CT 1
6895 static tTestDesc aOpenbsd_Va_StartTests[] = {
6896 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6899 * Fix Command Arguments for Openbsd_Va_Start
6901 static const char* apzOpenbsd_Va_StartPatch[] = {
6903 "__builtin_va_start",
6906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6908 * Description of Osf_Namespace_A fix
6910 tSCC zOsf_Namespace_AName[] =
6914 * File name selection pattern
6916 tSCC zOsf_Namespace_AList[] =
6917 "reg_types.h\0sys/lc_core.h\0";
6919 * Machine/OS name selection pattern
6921 #define apzOsf_Namespace_AMachs (const char**)NULL
6924 * perform the 'test' shell command - do fix on success
6926 tSCC zOsf_Namespace_ATest0[] =
6928 tSCC zOsf_Namespace_ATest1[] =
6929 " -r sys/lc_core.h";
6930 tSCC zOsf_Namespace_ATest2[] =
6931 " -n \"`grep '} regex_t;' reg_types.h`\"";
6932 tSCC zOsf_Namespace_ATest3[] =
6933 " -z \"`grep __regex_t regex.h`\"";
6935 #define OSF_NAMESPACE_A_TEST_CT 4
6936 static tTestDesc aOsf_Namespace_ATests[] = {
6937 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6938 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6939 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6940 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6943 * Fix Command Arguments for Osf_Namespace_A
6945 static const char* apzOsf_Namespace_APatch[] = {
6948 "reg(ex|off|match)_t",
6951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6953 * Description of Osf_Namespace_C fix
6955 tSCC zOsf_Namespace_CName[] =
6959 * File name selection pattern
6961 tSCC zOsf_Namespace_CList[] =
6964 * Machine/OS name selection pattern
6966 #define apzOsf_Namespace_CMachs (const char**)NULL
6969 * content selection pattern - do fix if pattern found
6971 tSCC zOsf_Namespace_CSelect0[] =
6972 "#include <reg_types.h>.*";
6975 * perform the 'test' shell command - do fix on success
6977 tSCC zOsf_Namespace_CTest0[] =
6979 tSCC zOsf_Namespace_CTest1[] =
6980 " -r sys/lc_core.h";
6981 tSCC zOsf_Namespace_CTest2[] =
6982 " -n \"`grep '} regex_t;' reg_types.h`\"";
6983 tSCC zOsf_Namespace_CTest3[] =
6984 " -z \"`grep __regex_t regex.h`\"";
6986 #define OSF_NAMESPACE_C_TEST_CT 5
6987 static tTestDesc aOsf_Namespace_CTests[] = {
6988 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6989 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6990 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6991 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6992 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6995 * Fix Command Arguments for Osf_Namespace_C
6997 static const char* apzOsf_Namespace_CPatch[] = {
7000 typedef __regex_t\tregex_t;\n\
7001 typedef __regoff_t\tregoff_t;\n\
7002 typedef __regmatch_t\tregmatch_t;",
7005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7007 * Description of Pthread_Incomplete_Struct_Argument fix
7009 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7010 "pthread_incomplete_struct_argument";
7013 * File name selection pattern
7015 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7018 * Machine/OS name selection pattern
7020 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7023 * content selection pattern - do fix if pattern found
7025 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7026 "struct __jmp_buf_tag";
7028 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
7029 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7030 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7033 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7035 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7038 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7041 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7043 * Description of Read_Ret_Type fix
7045 tSCC zRead_Ret_TypeName[] =
7049 * File name selection pattern
7051 tSCC zRead_Ret_TypeList[] =
7054 * Machine/OS name selection pattern
7056 #define apzRead_Ret_TypeMachs (const char**)NULL
7059 * content selection pattern - do fix if pattern found
7061 tSCC zRead_Ret_TypeSelect0[] =
7062 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7064 #define READ_RET_TYPE_TEST_CT 1
7065 static tTestDesc aRead_Ret_TypeTests[] = {
7066 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7069 * Fix Command Arguments for Read_Ret_Type
7071 static const char* apzRead_Ret_TypePatch[] = {
7073 "extern unsigned int fread(), fwrite();\n\
7075 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7080 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7082 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7083 "rpc_xdr_lvalue_cast_a";
7086 * File name selection pattern
7088 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7091 * Machine/OS name selection pattern
7093 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7096 * content selection pattern - do fix if pattern found
7098 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7099 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7102 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7103 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7104 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7107 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7109 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7111 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7114 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7116 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7118 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7119 "rpc_xdr_lvalue_cast_b";
7122 * File name selection pattern
7124 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7127 * Machine/OS name selection pattern
7129 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7132 * content selection pattern - do fix if pattern found
7134 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7135 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7138 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7139 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7140 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7143 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7145 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7147 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7150 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7152 * Description of Rs6000_Double fix
7154 tSCC zRs6000_DoubleName[] =
7158 * File name selection pattern
7160 tSCC zRs6000_DoubleList[] =
7163 * Machine/OS name selection pattern
7165 #define apzRs6000_DoubleMachs (const char**)NULL
7168 * content selection pattern - do fix if pattern found
7170 tSCC zRs6000_DoubleSelect0[] =
7171 "[^a-zA-Z_]class\\(";
7173 #define RS6000_DOUBLE_TEST_CT 1
7174 static tTestDesc aRs6000_DoubleTests[] = {
7175 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7178 * Fix Command Arguments for Rs6000_Double
7180 static const char* apzRs6000_DoublePatch[] = {
7182 "#ifndef __cplusplus\n\
7185 "^.*[^a-zA-Z_]class\\(.*",
7188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7190 * Description of Rs6000_Fchmod fix
7192 tSCC zRs6000_FchmodName[] =
7196 * File name selection pattern
7198 tSCC zRs6000_FchmodList[] =
7201 * Machine/OS name selection pattern
7203 #define apzRs6000_FchmodMachs (const char**)NULL
7206 * content selection pattern - do fix if pattern found
7208 tSCC zRs6000_FchmodSelect0[] =
7209 "fchmod\\(char \\*";
7211 #define RS6000_FCHMOD_TEST_CT 1
7212 static tTestDesc aRs6000_FchmodTests[] = {
7213 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7216 * Fix Command Arguments for Rs6000_Fchmod
7218 static const char* apzRs6000_FchmodPatch[] = {
7223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7225 * Description of Rs6000_Param fix
7227 tSCC zRs6000_ParamName[] =
7231 * File name selection pattern
7233 tSCC zRs6000_ParamList[] =
7234 "stdio.h\0unistd.h\0";
7236 * Machine/OS name selection pattern
7238 #define apzRs6000_ParamMachs (const char**)NULL
7241 * content selection pattern - do fix if pattern found
7243 tSCC zRs6000_ParamSelect0[] =
7244 "rename\\(const char \\*old, const char \\*new\\)";
7246 #define RS6000_PARAM_TEST_CT 1
7247 static tTestDesc aRs6000_ParamTests[] = {
7248 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7251 * Fix Command Arguments for Rs6000_Param
7253 static const char* apzRs6000_ParamPatch[] = {
7255 "rename(const char *_old, const char *_new)",
7258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7260 * Description of Solaris___Restrict fix
7262 tSCC zSolaris___RestrictName[] =
7263 "solaris___restrict";
7266 * File name selection pattern
7268 tSCC zSolaris___RestrictList[] =
7269 "sys/feature_tests.h\0";
7271 * Machine/OS name selection pattern
7273 tSCC* apzSolaris___RestrictMachs[] = {
7275 (const char*)NULL };
7278 * content selection pattern - do fix if pattern found
7280 tSCC zSolaris___RestrictSelect0[] =
7281 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7283 #define SOLARIS___RESTRICT_TEST_CT 1
7284 static tTestDesc aSolaris___RestrictTests[] = {
7285 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7288 * Fix Command Arguments for Solaris___Restrict
7290 static const char* apzSolaris___RestrictPatch[] = {
7292 "#ifdef __cplusplus\n\
7293 #define\t_RESTRICT_KYWD\t__restrict\n\
7299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7301 * Description of Solaris_Complex fix
7303 tSCC zSolaris_ComplexName[] =
7307 * File name selection pattern
7309 tSCC zSolaris_ComplexList[] =
7312 * Machine/OS name selection pattern
7314 tSCC* apzSolaris_ComplexMachs[] = {
7316 (const char*)NULL };
7319 * content selection pattern - do fix if pattern found
7321 tSCC zSolaris_ComplexSelect0[] =
7322 "#define[ \t]_Complex_I[ \t]_Complex_I";
7324 #define SOLARIS_COMPLEX_TEST_CT 1
7325 static tTestDesc aSolaris_ComplexTests[] = {
7326 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7329 * Fix Command Arguments for Solaris_Complex
7331 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7332 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7333 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7334 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7335 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7340 * Description of Solaris_Complex_Cxx fix
7342 tSCC zSolaris_Complex_CxxName[] =
7343 "solaris_complex_cxx";
7346 * File name selection pattern
7348 tSCC zSolaris_Complex_CxxList[] =
7351 * Machine/OS name selection pattern
7353 tSCC* apzSolaris_Complex_CxxMachs[] = {
7355 (const char*)NULL };
7356 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7357 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7360 * Fix Command Arguments for Solaris_Complex_Cxx
7362 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7363 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7364 #ifdef\t__cplusplus\\\n\
7367 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7368 #ifdef\t__cplusplus\\\n\
7373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7375 * Description of Solaris_Cxx_Linkage fix
7377 tSCC zSolaris_Cxx_LinkageName[] =
7378 "solaris_cxx_linkage";
7381 * File name selection pattern
7383 tSCC zSolaris_Cxx_LinkageList[] =
7384 "iso/stdlib_iso.h\0";
7386 * Machine/OS name selection pattern
7388 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7390 (const char*)NULL };
7393 * content selection pattern - do fix if pattern found
7395 tSCC zSolaris_Cxx_LinkageSelect0[] =
7396 "(#if __cplusplus >= 199711L)\n\
7397 (extern \"C\\+\\+\" \\{\n\
7398 )(.*(bsearch|qsort).*)";
7400 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7401 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7402 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7405 * Fix Command Arguments for Solaris_Cxx_Linkage
7407 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7415 * Description of Solaris_Getc_Strict_Stdc fix
7417 tSCC zSolaris_Getc_Strict_StdcName[] =
7418 "solaris_getc_strict_stdc";
7421 * File name selection pattern
7423 tSCC zSolaris_Getc_Strict_StdcList[] =
7424 "iso/stdio_iso.h\0";
7426 * Machine/OS name selection pattern
7428 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7430 (const char*)NULL };
7433 * content selection pattern - do fix if pattern found
7435 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7436 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7438 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7439 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7440 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7443 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7445 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7447 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7452 * Description of Solaris_Gets_C11 fix
7454 tSCC zSolaris_Gets_C11Name[] =
7458 * File name selection pattern
7460 tSCC zSolaris_Gets_C11List[] =
7461 "iso/stdio_iso.h\0";
7463 * Machine/OS name selection pattern
7465 tSCC* apzSolaris_Gets_C11Machs[] = {
7467 (const char*)NULL };
7470 * content selection pattern - do fix if pattern found
7472 tSCC zSolaris_Gets_C11Select0[] =
7473 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7475 #define SOLARIS_GETS_C11_TEST_CT 1
7476 static tTestDesc aSolaris_Gets_C11Tests[] = {
7477 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7480 * Fix Command Arguments for Solaris_Gets_C11
7482 static const char* apzSolaris_Gets_C11Patch[] = {
7484 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7485 %1 __attribute__((__deprecated__));\n\
7489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7491 * Description of Solaris_Gets_Cxx14 fix
7493 tSCC zSolaris_Gets_Cxx14Name[] =
7494 "solaris_gets_cxx14";
7497 * File name selection pattern
7499 tSCC zSolaris_Gets_Cxx14List[] =
7500 "iso/stdio_iso.h\0";
7502 * Machine/OS name selection pattern
7504 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7506 (const char*)NULL };
7509 * content selection pattern - do fix if pattern found
7511 tSCC zSolaris_Gets_Cxx14Select0[] =
7512 "(#if __STDC_VERSION__ < 201112L)\n\
7513 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7515 #define SOLARIS_GETS_CXX14_TEST_CT 1
7516 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7517 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7520 * Fix Command Arguments for Solaris_Gets_Cxx14
7522 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7524 "%1 && __cplusplus < 201402L\n\
7528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7530 * Description of Solaris_Int_Const fix
7532 tSCC zSolaris_Int_ConstName[] =
7533 "solaris_int_const";
7536 * File name selection pattern
7538 tSCC zSolaris_Int_ConstList[] =
7539 "sys/int_const.h\0";
7541 * Machine/OS name selection pattern
7543 tSCC* apzSolaris_Int_ConstMachs[] = {
7545 (const char*)NULL };
7548 * content selection pattern - do fix if pattern found
7550 tSCC zSolaris_Int_ConstSelect0[] =
7551 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7553 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7555 #define SOLARIS_INT_CONST_TEST_CT 1
7556 static tTestDesc aSolaris_Int_ConstTests[] = {
7557 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7560 * Fix Command Arguments for Solaris_Int_Const
7562 static const char* apzSolaris_Int_ConstPatch[] = {
7564 "#define\tUINT8_C(c)\t(c)\n\
7566 #define\tUINT16_C(c)\t(c)",
7569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7571 * Description of Solaris_Int_Limits_1 fix
7573 tSCC zSolaris_Int_Limits_1Name[] =
7574 "solaris_int_limits_1";
7577 * File name selection pattern
7579 tSCC zSolaris_Int_Limits_1List[] =
7580 "sys/int_limits.h\0";
7582 * Machine/OS name selection pattern
7584 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7586 (const char*)NULL };
7589 * content selection pattern - do fix if pattern found
7591 tSCC zSolaris_Int_Limits_1Select0[] =
7592 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7593 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7595 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7596 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7597 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7600 * Fix Command Arguments for Solaris_Int_Limits_1
7602 static const char* apzSolaris_Int_Limits_1Patch[] = {
7604 "#define\tUINT8_MAX\t(255)\n\
7605 #define\tUINT16_MAX\t(65535)",
7608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7610 * Description of Solaris_Int_Limits_2 fix
7612 tSCC zSolaris_Int_Limits_2Name[] =
7613 "solaris_int_limits_2";
7616 * File name selection pattern
7618 tSCC zSolaris_Int_Limits_2List[] =
7619 "sys/int_limits.h\0";
7621 * Machine/OS name selection pattern
7623 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7625 (const char*)NULL };
7628 * content selection pattern - do fix if pattern found
7630 tSCC zSolaris_Int_Limits_2Select0[] =
7631 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7633 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7634 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7635 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7638 * Fix Command Arguments for Solaris_Int_Limits_2
7640 static const char* apzSolaris_Int_Limits_2Patch[] = {
7642 "#define\t%1_FAST16_%2 %132_%2",
7645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7647 * Description of Solaris_Int_Limits_3 fix
7649 tSCC zSolaris_Int_Limits_3Name[] =
7650 "solaris_int_limits_3";
7653 * File name selection pattern
7655 tSCC zSolaris_Int_Limits_3List[] =
7656 "sys/int_limits.h\0";
7658 * Machine/OS name selection pattern
7660 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7662 (const char*)NULL };
7665 * content selection pattern - do fix if pattern found
7667 tSCC zSolaris_Int_Limits_3Select0[] =
7668 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7670 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7671 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7672 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7675 * Fix Command Arguments for Solaris_Int_Limits_3
7677 static const char* apzSolaris_Int_Limits_3Patch[] = {
7679 "#define\tSIZE_MAX\t4294967295U",
7682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7684 * Description of Solaris_Math_1 fix
7686 tSCC zSolaris_Math_1Name[] =
7690 * File name selection pattern
7692 tSCC zSolaris_Math_1List[] =
7695 * Machine/OS name selection pattern
7697 #define apzSolaris_Math_1Machs (const char**)NULL
7700 * content selection pattern - do fix if pattern found
7702 tSCC zSolaris_Math_1Select0[] =
7703 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7706 * content bypass pattern - skip fix if pattern found
7708 tSCC zSolaris_Math_1Bypass0[] =
7711 #define SOLARIS_MATH_1_TEST_CT 2
7712 static tTestDesc aSolaris_Math_1Tests[] = {
7713 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7714 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7717 * Fix Command Arguments for Solaris_Math_1
7719 static const char* apzSolaris_Math_1Patch[] = {
7721 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7722 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7727 * Description of Solaris_Math_10 fix
7729 tSCC zSolaris_Math_10Name[] =
7733 * File name selection pattern
7735 tSCC zSolaris_Math_10List[] =
7738 * Machine/OS name selection pattern
7740 #define apzSolaris_Math_10Machs (const char**)NULL
7743 * content selection pattern - do fix if pattern found
7745 tSCC zSolaris_Math_10Select0[] =
7746 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7748 #define SOLARIS_MATH_10_TEST_CT 1
7749 static tTestDesc aSolaris_Math_10Tests[] = {
7750 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7753 * Fix Command Arguments for Solaris_Math_10
7755 static const char* apzSolaris_Math_10Patch[] = {
7757 "#define\tisinf(x) __builtin_isinf(x)",
7758 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7759 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7760 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7761 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7766 * Description of Solaris_Math_2 fix
7768 tSCC zSolaris_Math_2Name[] =
7772 * File name selection pattern
7774 tSCC zSolaris_Math_2List[] =
7777 * Machine/OS name selection pattern
7779 #define apzSolaris_Math_2Machs (const char**)NULL
7782 * content selection pattern - do fix if pattern found
7784 tSCC zSolaris_Math_2Select0[] =
7785 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7788 * content bypass pattern - skip fix if pattern found
7790 tSCC zSolaris_Math_2Bypass0[] =
7793 #define SOLARIS_MATH_2_TEST_CT 2
7794 static tTestDesc aSolaris_Math_2Tests[] = {
7795 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7796 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7799 * Fix Command Arguments for Solaris_Math_2
7801 static const char* apzSolaris_Math_2Patch[] = {
7803 "#define\tINFINITY\t(__builtin_inff())",
7804 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7809 * Description of Solaris_Math_3 fix
7811 tSCC zSolaris_Math_3Name[] =
7815 * File name selection pattern
7817 tSCC zSolaris_Math_3List[] =
7820 * Machine/OS name selection pattern
7822 #define apzSolaris_Math_3Machs (const char**)NULL
7825 * content selection pattern - do fix if pattern found
7827 tSCC zSolaris_Math_3Select0[] =
7828 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7831 * content bypass pattern - skip fix if pattern found
7833 tSCC zSolaris_Math_3Bypass0[] =
7836 #define SOLARIS_MATH_3_TEST_CT 2
7837 static tTestDesc aSolaris_Math_3Tests[] = {
7838 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7839 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7842 * Fix Command Arguments for Solaris_Math_3
7844 static const char* apzSolaris_Math_3Patch[] = {
7846 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7847 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7852 * Description of Solaris_Math_4 fix
7854 tSCC zSolaris_Math_4Name[] =
7858 * File name selection pattern
7860 tSCC zSolaris_Math_4List[] =
7863 * Machine/OS name selection pattern
7865 #define apzSolaris_Math_4Machs (const char**)NULL
7868 * content selection pattern - do fix if pattern found
7870 tSCC zSolaris_Math_4Select0[] =
7871 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7874 * content bypass pattern - skip fix if pattern found
7876 tSCC zSolaris_Math_4Bypass0[] =
7879 #define SOLARIS_MATH_4_TEST_CT 2
7880 static tTestDesc aSolaris_Math_4Tests[] = {
7881 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7882 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7885 * Fix Command Arguments for Solaris_Math_4
7887 static const char* apzSolaris_Math_4Patch[] = {
7889 "#define\tfpclassify(x) \\\n\
7890 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7891 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7896 * Description of Solaris_Math_8 fix
7898 tSCC zSolaris_Math_8Name[] =
7902 * File name selection pattern
7904 tSCC zSolaris_Math_8List[] =
7907 * Machine/OS name selection pattern
7909 #define apzSolaris_Math_8Machs (const char**)NULL
7912 * content selection pattern - do fix if pattern found
7914 tSCC zSolaris_Math_8Select0[] =
7915 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7918 * content bypass pattern - skip fix if pattern found
7920 tSCC zSolaris_Math_8Bypass0[] =
7923 #define SOLARIS_MATH_8_TEST_CT 2
7924 static tTestDesc aSolaris_Math_8Tests[] = {
7925 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7926 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7929 * Fix Command Arguments for Solaris_Math_8
7931 static const char* apzSolaris_Math_8Patch[] = {
7933 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7934 \t\t\t ? __builtin_signbitf(x) \\\n\
7935 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7936 \t\t\t ? __builtin_signbitl(x) \\\n\
7937 \t\t\t : __builtin_signbit(x))",
7938 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7943 * Description of Solaris_Math_9 fix
7945 tSCC zSolaris_Math_9Name[] =
7949 * File name selection pattern
7951 tSCC zSolaris_Math_9List[] =
7954 * Machine/OS name selection pattern
7956 #define apzSolaris_Math_9Machs (const char**)NULL
7959 * content selection pattern - do fix if pattern found
7961 tSCC zSolaris_Math_9Select0[] =
7962 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7965 * content bypass pattern - skip fix if pattern found
7967 tSCC zSolaris_Math_9Bypass0[] =
7970 #define SOLARIS_MATH_9_TEST_CT 2
7971 static tTestDesc aSolaris_Math_9Tests[] = {
7972 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7973 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7976 * Fix Command Arguments for Solaris_Math_9
7978 static const char* apzSolaris_Math_9Patch[] = {
7980 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7981 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7986 * Description of Solaris_Math_11 fix
7988 tSCC zSolaris_Math_11Name[] =
7992 * File name selection pattern
7994 tSCC zSolaris_Math_11List[] =
7997 * Machine/OS name selection pattern
7999 #define apzSolaris_Math_11Machs (const char**)NULL
8002 * content selection pattern - do fix if pattern found
8004 tSCC zSolaris_Math_11Select0[] =
8005 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8007 #define SOLARIS_MATH_11_TEST_CT 1
8008 static tTestDesc aSolaris_Math_11Tests[] = {
8009 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
8012 * Fix Command Arguments for Solaris_Math_11
8014 static const char* apzSolaris_Math_11Patch[] = {
8017 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8018 \t\t\t ? __builtin_signbitf(x) \\\n\
8019 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8020 \t\t\t ? __builtin_signbitl(x) \\\n\
8021 \t\t\t : __builtin_signbit(x))",
8022 "^#undef[ \t]+signbit\n\
8023 #if defined\\(__sparc\\)\n\
8024 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8025 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8026 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8027 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8028 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8029 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8030 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8031 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8032 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8033 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8034 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8040 * Description of Solaris_Math_12 fix
8042 tSCC zSolaris_Math_12Name[] =
8046 * File name selection pattern
8048 tSCC zSolaris_Math_12List[] =
8051 * Machine/OS name selection pattern
8053 tSCC* apzSolaris_Math_12Machs[] = {
8055 (const char*)NULL };
8058 * content selection pattern - do fix if pattern found
8060 tSCC zSolaris_Math_12Select0[] =
8061 "#undef.*_GLIBCXX_USE_C99_MATH";
8063 #define SOLARIS_MATH_12_TEST_CT 1
8064 static tTestDesc aSolaris_Math_12Tests[] = {
8065 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
8068 * Fix Command Arguments for Solaris_Math_12
8070 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8071 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8074 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8076 * Description of Solaris_Once_Init_1 fix
8078 tSCC zSolaris_Once_Init_1Name[] =
8079 "solaris_once_init_1";
8082 * File name selection pattern
8084 tSCC zSolaris_Once_Init_1List[] =
8087 * Machine/OS name selection pattern
8089 tSCC* apzSolaris_Once_Init_1Machs[] = {
8091 (const char*)NULL };
8094 * content selection pattern - do fix if pattern found
8096 tSCC zSolaris_Once_Init_1Select0[] =
8097 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8099 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
8100 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8101 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8104 * Fix Command Arguments for Solaris_Once_Init_1
8106 static const char* apzSolaris_Once_Init_1Patch[] = {
8109 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8114 * Description of Solaris_Posix_Spawn_Restrict fix
8116 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8117 "solaris_posix_spawn_restrict";
8120 * File name selection pattern
8122 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8125 * Machine/OS name selection pattern
8127 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8129 (const char*)NULL };
8132 * content selection pattern - do fix if pattern found
8134 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8135 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8137 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8138 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8139 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8142 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8144 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8146 "%1*_RESTRICT_KYWD %2%3",
8149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8151 * Description of Solaris_Pow_Int_Overload fix
8153 tSCC zSolaris_Pow_Int_OverloadName[] =
8154 "solaris_pow_int_overload";
8157 * File name selection pattern
8159 tSCC zSolaris_Pow_Int_OverloadList[] =
8162 * Machine/OS name selection pattern
8164 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8166 (const char*)NULL };
8169 * content selection pattern - do fix if pattern found
8171 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8172 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8175 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8176 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8177 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8180 * Fix Command Arguments for Solaris_Pow_Int_Overload
8182 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8184 "#if __cplusplus < 201103L\n\
8189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8191 * Description of Solaris_Rwlock_Init_1 fix
8193 tSCC zSolaris_Rwlock_Init_1Name[] =
8194 "solaris_rwlock_init_1";
8197 * File name selection pattern
8199 tSCC zSolaris_Rwlock_Init_1List[] =
8202 * Machine/OS name selection pattern
8204 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8206 (const char*)NULL };
8209 * content selection pattern - do fix if pattern found
8211 tSCC zSolaris_Rwlock_Init_1Select0[] =
8212 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8214 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8215 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8216 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8219 * Fix Command Arguments for Solaris_Rwlock_Init_1
8221 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8223 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8226 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8228 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8233 * Description of Solaris_Std___Filbuf fix
8235 tSCC zSolaris_Std___FilbufName[] =
8236 "solaris_std___filbuf";
8239 * File name selection pattern
8241 tSCC zSolaris_Std___FilbufList[] =
8244 * Machine/OS name selection pattern
8246 tSCC* apzSolaris_Std___FilbufMachs[] = {
8248 (const char*)NULL };
8251 * content selection pattern - do fix if pattern found
8253 tSCC zSolaris_Std___FilbufSelect0[] =
8254 "(using std::perror;\n\
8258 * content bypass pattern - skip fix if pattern found
8260 tSCC zSolaris_Std___FilbufBypass0[] =
8261 "using std::__filbuf";
8263 #define SOLARIS_STD___FILBUF_TEST_CT 2
8264 static tTestDesc aSolaris_Std___FilbufTests[] = {
8265 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8266 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8269 * Fix Command Arguments for Solaris_Std___Filbuf
8271 static const char* apzSolaris_Std___FilbufPatch[] = {
8274 using std::__filbuf;\n\
8275 using std::__flsbuf;\n\
8280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8282 * Description of Solaris_Std_Gets_Cxx14 fix
8284 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8285 "solaris_std_gets_cxx14";
8288 * File name selection pattern
8290 tSCC zSolaris_Std_Gets_Cxx14List[] =
8293 * Machine/OS name selection pattern
8295 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8297 (const char*)NULL };
8300 * content selection pattern - do fix if pattern found
8302 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8305 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8306 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8307 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8310 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8312 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8314 "#if __cplusplus < 201402L\n\
8319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8321 * Description of Solaris_Stdio_Tag fix
8323 tSCC zSolaris_Stdio_TagName[] =
8324 "solaris_stdio_tag";
8327 * File name selection pattern
8329 tSCC zSolaris_Stdio_TagList[] =
8332 * Machine/OS name selection pattern
8334 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8337 * content selection pattern - do fix if pattern found
8339 tSCC zSolaris_Stdio_TagSelect0[] =
8340 "__cplusplus < 54321L";
8343 * content bypass pattern - skip fix if pattern found
8345 tSCC zSolaris_Stdio_TagBypass0[] =
8348 #define SOLARIS_STDIO_TAG_TEST_CT 2
8349 static tTestDesc aSolaris_Stdio_TagTests[] = {
8350 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8351 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8354 * Fix Command Arguments for Solaris_Stdio_Tag
8356 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8357 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8362 * Description of Solaris_Stdlib_Noreturn fix
8364 tSCC zSolaris_Stdlib_NoreturnName[] =
8365 "solaris_stdlib_noreturn";
8368 * File name selection pattern
8370 tSCC zSolaris_Stdlib_NoreturnList[] =
8371 "iso/stdlib_c99.h\0";
8373 * Machine/OS name selection pattern
8375 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8377 (const char*)NULL };
8380 * content selection pattern - do fix if pattern found
8382 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8383 "(extern) _Noreturn (void quick_exit\\(int\\));";
8385 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8386 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8387 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8390 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8392 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8394 "%1 %2 __attribute__((__noreturn__));",
8397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8399 * Description of Statsswtch fix
8401 tSCC zStatsswtchName[] =
8405 * File name selection pattern
8407 tSCC zStatsswtchList[] =
8410 * Machine/OS name selection pattern
8412 #define apzStatsswtchMachs (const char**)NULL
8415 * content selection pattern - do fix if pattern found
8417 tSCC zStatsswtchSelect0[] =
8420 #define STATSSWTCH_TEST_CT 1
8421 static tTestDesc aStatsswtchTests[] = {
8422 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8425 * Fix Command Arguments for Statsswtch
8427 static const char* apzStatsswtchPatch[] = {
8432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8434 * Description of Stdio_Stdarg_H fix
8436 tSCC zStdio_Stdarg_HName[] =
8440 * File name selection pattern
8442 tSCC zStdio_Stdarg_HList[] =
8445 * Machine/OS name selection pattern
8447 tSCC* apzStdio_Stdarg_HMachs[] = {
8448 "*-*-solaris2.1[0-9]*",
8449 (const char*)NULL };
8452 * content bypass pattern - skip fix if pattern found
8454 tSCC zStdio_Stdarg_HBypass0[] =
8455 "include.*(stdarg.h|machine/ansi.h)";
8457 #define STDIO_STDARG_H_TEST_CT 1
8458 static tTestDesc aStdio_Stdarg_HTests[] = {
8459 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8462 * Fix Command Arguments for Stdio_Stdarg_H
8464 static const char* apzStdio_Stdarg_HPatch[] = {
8466 "#define __need___va_list\n\
8467 #include <stdarg.h>\n",
8470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8472 * Description of Stdio_Va_List fix
8474 tSCC zStdio_Va_ListName[] =
8478 * File name selection pattern
8480 tSCC zStdio_Va_ListList[] =
8483 * Machine/OS name selection pattern
8485 tSCC* apzStdio_Va_ListMachs[] = {
8486 "*-*-solaris2.1[0-9]*",
8487 (const char*)NULL };
8490 * content bypass pattern - skip fix if pattern found
8492 tSCC zStdio_Va_ListBypass0[] =
8493 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8495 #define STDIO_VA_LIST_TEST_CT 1
8496 static tTestDesc aStdio_Va_ListTests[] = {
8497 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8500 * Fix Command Arguments for Stdio_Va_List
8502 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8503 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8504 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8505 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8506 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8507 s@ va_list@ __not_va_list__@\n\
8508 s@\\*va_list@*__not_va_list__@\n\
8509 s@ __va_list)@ __gnuc_va_list)@\n\
8510 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8511 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8512 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8513 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8514 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8515 s@VA_LIST@DUMMY_VA_LIST@\n\
8516 s@_Va_LIST@_VA_LIST@",
8519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8521 * Description of Stdio_Va_List_Clients fix
8523 tSCC zStdio_Va_List_ClientsName[] =
8524 "stdio_va_list_clients";
8527 * File name selection pattern
8529 tSCC zStdio_Va_List_ClientsList[] =
8530 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8532 * Machine/OS name selection pattern
8534 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8537 * content bypass pattern - skip fix if pattern found
8539 tSCC zStdio_Va_List_ClientsBypass0[] =
8540 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8541 tSCC zStdio_Va_List_ClientsBypass1[] =
8542 "include <stdarg\\.h>|#ifdef va_start";
8544 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8545 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8546 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8547 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8550 * Fix Command Arguments for Stdio_Va_List_Clients
8552 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8553 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8554 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8555 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8556 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8557 s@ va_list@ __not_va_list__@\n\
8558 s@\\*va_list@*__not_va_list__@\n\
8559 s@ __va_list)@ __gnuc_va_list)@\n\
8560 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8561 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8562 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8563 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8564 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8565 s@VA_LIST@DUMMY_VA_LIST@\n\
8566 s@_Va_LIST@_VA_LIST@",
8569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8571 * Description of Strict_Ansi_Not fix
8573 tSCC zStrict_Ansi_NotName[] =
8577 * File name selection pattern
8579 #define zStrict_Ansi_NotList (char*)NULL
8581 * Machine/OS name selection pattern
8583 #define apzStrict_Ansi_NotMachs (const char**)NULL
8586 * content selection pattern - do fix if pattern found
8588 tSCC zStrict_Ansi_NotSelect0[] =
8589 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8592 * content bypass pattern - skip fix if pattern found
8594 tSCC zStrict_Ansi_NotBypass0[] =
8595 "GNU and MIPS C compilers define __STDC__ differently";
8596 tSCC zStrict_Ansi_NotBypass1[] =
8597 "__SCO_VERSION__.*__STDC__ != 1";
8600 * perform the C function call test
8602 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8604 #define STRICT_ANSI_NOT_TEST_CT 4
8605 static tTestDesc aStrict_Ansi_NotTests[] = {
8606 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8607 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8608 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8609 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8612 * Fix Command Arguments for Strict_Ansi_Not
8614 static const char* apzStrict_Ansi_NotPatch[] = {
8616 "%1 !defined(__STRICT_ANSI__)",
8619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8621 * Description of Strict_Ansi_Not_Ctd fix
8623 tSCC zStrict_Ansi_Not_CtdName[] =
8624 "strict_ansi_not_ctd";
8627 * File name selection pattern
8629 tSCC zStrict_Ansi_Not_CtdList[] =
8630 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8632 * Machine/OS name selection pattern
8634 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8637 * content selection pattern - do fix if pattern found
8639 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8640 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8643 * perform the C function call test
8645 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8647 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8648 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8649 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8650 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8653 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8655 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8657 "%1 !defined(__STRICT_ANSI__)",
8660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8662 * Description of Strict_Ansi_Only fix
8664 tSCC zStrict_Ansi_OnlyName[] =
8668 * File name selection pattern
8670 #define zStrict_Ansi_OnlyList (char*)NULL
8672 * Machine/OS name selection pattern
8674 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8677 * content selection pattern - do fix if pattern found
8679 tSCC zStrict_Ansi_OnlySelect0[] =
8680 "^([ \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)";
8683 * perform the C function call test
8685 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8687 #define STRICT_ANSI_ONLY_TEST_CT 2
8688 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8689 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8690 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8693 * Fix Command Arguments for Strict_Ansi_Only
8695 static const char* apzStrict_Ansi_OnlyPatch[] = {
8697 "%1 defined(__STRICT_ANSI__)",
8700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8702 * Description of Struct_File fix
8704 tSCC zStruct_FileName[] =
8708 * File name selection pattern
8710 tSCC zStruct_FileList[] =
8713 * Machine/OS name selection pattern
8715 #define apzStruct_FileMachs (const char**)NULL
8718 * content selection pattern - do fix if pattern found
8720 tSCC zStruct_FileSelect0[] =
8721 "^.*xdrstdio_create.*struct __file_s";
8723 #define STRUCT_FILE_TEST_CT 1
8724 static tTestDesc aStruct_FileTests[] = {
8725 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8728 * Fix Command Arguments for Struct_File
8730 static const char* apzStruct_FilePatch[] = {
8732 "struct __file_s;\n\
8736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8738 * Description of Struct_Sockaddr fix
8740 tSCC zStruct_SockaddrName[] =
8744 * File name selection pattern
8746 tSCC zStruct_SockaddrList[] =
8749 * Machine/OS name selection pattern
8751 #define apzStruct_SockaddrMachs (const char**)NULL
8754 * content selection pattern - do fix if pattern found
8756 tSCC zStruct_SockaddrSelect0[] =
8757 "^.*authdes_create.*struct sockaddr[^_]";
8760 * content bypass pattern - skip fix if pattern found
8762 tSCC zStruct_SockaddrBypass0[] =
8764 tSCC zStruct_SockaddrBypass1[] =
8765 "struct sockaddr;\n";
8767 #define STRUCT_SOCKADDR_TEST_CT 3
8768 static tTestDesc aStruct_SockaddrTests[] = {
8769 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8770 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8771 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8774 * Fix Command Arguments for Struct_Sockaddr
8776 static const char* apzStruct_SockaddrPatch[] = {
8778 "struct sockaddr;\n\
8782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8784 * Description of Sun_Auth_Proto fix
8786 tSCC zSun_Auth_ProtoName[] =
8790 * File name selection pattern
8792 tSCC zSun_Auth_ProtoList[] =
8793 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8795 * Machine/OS name selection pattern
8797 #define apzSun_Auth_ProtoMachs (const char**)NULL
8800 * content selection pattern - do fix if pattern found
8802 tSCC zSun_Auth_ProtoSelect0[] =
8803 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8806 * content bypass pattern - skip fix if pattern found
8808 tSCC zSun_Auth_ProtoBypass0[] =
8811 #define SUN_AUTH_PROTO_TEST_CT 2
8812 static tTestDesc aSun_Auth_ProtoTests[] = {
8813 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8814 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8817 * Fix Command Arguments for Sun_Auth_Proto
8819 static const char* apzSun_Auth_ProtoPatch[] = {
8821 "#ifdef __cplusplus\n\
8826 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8831 * Description of Sun_Bogus_Ifdef fix
8833 tSCC zSun_Bogus_IfdefName[] =
8837 * File name selection pattern
8839 tSCC zSun_Bogus_IfdefList[] =
8840 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8842 * Machine/OS name selection pattern
8844 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8847 * content selection pattern - do fix if pattern found
8849 tSCC zSun_Bogus_IfdefSelect0[] =
8850 "#ifdef(.*\\|\\|.*)";
8852 #define SUN_BOGUS_IFDEF_TEST_CT 1
8853 static tTestDesc aSun_Bogus_IfdefTests[] = {
8854 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8857 * Fix Command Arguments for Sun_Bogus_Ifdef
8859 static const char* apzSun_Bogus_IfdefPatch[] = {
8864 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8866 * Description of Sun_Catmacro fix
8868 tSCC zSun_CatmacroName[] =
8872 * File name selection pattern
8874 tSCC zSun_CatmacroList[] =
8875 "pixrect/memvar.h\0";
8877 * Machine/OS name selection pattern
8879 #define apzSun_CatmacroMachs (const char**)NULL
8882 * content selection pattern - do fix if pattern found
8884 tSCC zSun_CatmacroSelect0[] =
8885 "^#define[ \t]+CAT\\(a,b\\).*";
8887 #define SUN_CATMACRO_TEST_CT 1
8888 static tTestDesc aSun_CatmacroTests[] = {
8889 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8892 * Fix Command Arguments for Sun_Catmacro
8894 static const char* apzSun_CatmacroPatch[] = {
8897 # define CAT(a,b) a##b\n\
8903 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8905 * Description of Sun_Malloc fix
8907 tSCC zSun_MallocName[] =
8911 * File name selection pattern
8913 tSCC zSun_MallocList[] =
8916 * Machine/OS name selection pattern
8918 #define apzSun_MallocMachs (const char**)NULL
8921 * content bypass pattern - skip fix if pattern found
8923 tSCC zSun_MallocBypass0[] =
8924 "_CLASSIC_ANSI_TYPES";
8926 #define SUN_MALLOC_TEST_CT 1
8927 static tTestDesc aSun_MallocTests[] = {
8928 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8931 * Fix Command Arguments for Sun_Malloc
8933 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8934 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8935 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8936 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8937 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8938 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8943 * Description of Sun_Rusers_Semi fix
8945 tSCC zSun_Rusers_SemiName[] =
8949 * File name selection pattern
8951 tSCC zSun_Rusers_SemiList[] =
8952 "rpcsvc/rusers.h\0";
8954 * Machine/OS name selection pattern
8956 #define apzSun_Rusers_SemiMachs (const char**)NULL
8959 * content selection pattern - do fix if pattern found
8961 tSCC zSun_Rusers_SemiSelect0[] =
8964 #define SUN_RUSERS_SEMI_TEST_CT 1
8965 static tTestDesc aSun_Rusers_SemiTests[] = {
8966 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8969 * Fix Command Arguments for Sun_Rusers_Semi
8971 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8972 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8977 * Description of Sun_Signal fix
8979 tSCC zSun_SignalName[] =
8983 * File name selection pattern
8985 tSCC zSun_SignalList[] =
8986 "sys/signal.h\0signal.h\0";
8988 * Machine/OS name selection pattern
8990 #define apzSun_SignalMachs (const char**)NULL
8993 * content selection pattern - do fix if pattern found
8995 tSCC zSun_SignalSelect0[] =
8996 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8998 #define SUN_SIGNAL_TEST_CT 1
8999 static tTestDesc aSun_SignalTests[] = {
9000 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
9003 * Fix Command Arguments for Sun_Signal
9005 static const char* apzSun_SignalPatch[] = {
9007 "#ifdef __cplusplus\n\
9008 void\t(*signal(...))(...);\n\
9014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9016 * Description of Sunos_Strlen fix
9018 tSCC zSunos_StrlenName[] =
9022 * File name selection pattern
9024 tSCC zSunos_StrlenList[] =
9027 * Machine/OS name selection pattern
9029 #define apzSunos_StrlenMachs (const char**)NULL
9032 * content selection pattern - do fix if pattern found
9034 tSCC zSunos_StrlenSelect0[] =
9035 "int[ \t]*strlen\\(\\);(.*)";
9037 #define SUNOS_STRLEN_TEST_CT 1
9038 static tTestDesc aSunos_StrlenTests[] = {
9039 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
9042 * Fix Command Arguments for Sunos_Strlen
9044 static const char* apzSunos_StrlenPatch[] = {
9046 "__SIZE_TYPE__ strlen();%1",
9049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9051 * Description of Suse_Linux_Vt_Cxx fix
9053 tSCC zSuse_Linux_Vt_CxxName[] =
9054 "suse_linux_vt_cxx";
9057 * File name selection pattern
9059 tSCC zSuse_Linux_Vt_CxxList[] =
9062 * Machine/OS name selection pattern
9064 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9067 * content selection pattern - do fix if pattern found
9069 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9070 "^[ \t]*unsigned int new;";
9072 #define SUSE_LINUX_VT_CXX_TEST_CT 1
9073 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9074 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9077 * Fix Command Arguments for Suse_Linux_Vt_Cxx
9079 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9081 "unsigned int newev;",
9084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9086 * Description of Svr4_Disable_Opt fix
9088 tSCC zSvr4_Disable_OptName[] =
9092 * File name selection pattern
9094 tSCC zSvr4_Disable_OptList[] =
9097 * Machine/OS name selection pattern
9099 #define apzSvr4_Disable_OptMachs (const char**)NULL
9102 * content selection pattern - do fix if pattern found
9104 tSCC zSvr4_Disable_OptSelect0[] =
9105 "#define.*__std_hdr_";
9107 #define SVR4_DISABLE_OPT_TEST_CT 1
9108 static tTestDesc aSvr4_Disable_OptTests[] = {
9109 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9112 * Fix Command Arguments for Svr4_Disable_Opt
9114 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9115 "-e", "/#define.*__std_hdr_/d",
9118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9120 * Description of Svr4_Getcwd fix
9122 tSCC zSvr4_GetcwdName[] =
9126 * File name selection pattern
9128 tSCC zSvr4_GetcwdList[] =
9129 "stdlib.h\0unistd.h\0prototypes.h\0";
9131 * Machine/OS name selection pattern
9133 #define apzSvr4_GetcwdMachs (const char**)NULL
9136 * content selection pattern - do fix if pattern found
9138 tSCC zSvr4_GetcwdSelect0[] =
9139 "getcwd\\(char \\*, int\\)";
9141 #define SVR4_GETCWD_TEST_CT 1
9142 static tTestDesc aSvr4_GetcwdTests[] = {
9143 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9146 * Fix Command Arguments for Svr4_Getcwd
9148 static const char* apzSvr4_GetcwdPatch[] = {
9150 "getcwd(char *, size_t)",
9153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9155 * Description of Svr4_Profil fix
9157 tSCC zSvr4_ProfilName[] =
9161 * File name selection pattern
9163 tSCC zSvr4_ProfilList[] =
9164 "stdlib.h\0unistd.h\0";
9166 * Machine/OS name selection pattern
9168 #define apzSvr4_ProfilMachs (const char**)NULL
9171 * content selection pattern - do fix if pattern found
9173 tSCC zSvr4_ProfilSelect0[] =
9174 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9176 #define SVR4_PROFIL_TEST_CT 1
9177 static tTestDesc aSvr4_ProfilTests[] = {
9178 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9181 * Fix Command Arguments for Svr4_Profil
9183 static const char* apzSvr4_ProfilPatch[] = {
9185 "profil(unsigned short *, size_t, int, unsigned int)",
9188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9190 * Description of Svr4_Sighandler_Type fix
9192 tSCC zSvr4_Sighandler_TypeName[] =
9193 "svr4_sighandler_type";
9196 * File name selection pattern
9198 tSCC zSvr4_Sighandler_TypeList[] =
9201 * Machine/OS name selection pattern
9203 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9206 * content selection pattern - do fix if pattern found
9208 tSCC zSvr4_Sighandler_TypeSelect0[] =
9209 "void *\\(\\*\\)\\(\\)";
9211 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9212 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9213 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9216 * Fix Command Arguments for Svr4_Sighandler_Type
9218 static const char* apzSvr4_Sighandler_TypePatch[] = {
9223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9225 * Description of Svr4_Undeclared_Getrnge fix
9227 tSCC zSvr4_Undeclared_GetrngeName[] =
9228 "svr4_undeclared_getrnge";
9231 * File name selection pattern
9233 tSCC zSvr4_Undeclared_GetrngeList[] =
9236 * Machine/OS name selection pattern
9238 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9241 * content selection pattern - do fix if pattern found
9243 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9247 * content bypass pattern - skip fix if pattern found
9249 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9250 "static void getrnge";
9252 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9253 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9254 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9255 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9258 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9260 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9263 static int getrnge ();",
9264 "^static int[ \t]+size;",
9267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9269 * Description of Sysv68_String fix
9271 tSCC zSysv68_StringName[] =
9275 * File name selection pattern
9277 tSCC zSysv68_StringList[] =
9278 "testing.h\0string.h\0";
9280 * Machine/OS name selection pattern
9282 #define apzSysv68_StringMachs (const char**)NULL
9285 * content bypass pattern - skip fix if pattern found
9287 tSCC zSysv68_StringBypass0[] =
9288 "_CLASSIC_ANSI_TYPES";
9290 #define SYSV68_STRING_TEST_CT 1
9291 static tTestDesc aSysv68_StringTests[] = {
9292 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9295 * Fix Command Arguments for Sysv68_String
9297 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9298 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9299 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9300 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9301 "-e", "/^extern char$/N",
9302 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9303 "-e", "/^extern int$/N",
9304 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9305 "-e", "/^\tstrncmp(),$/N",
9306 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9307 extern unsigned int\\\n\
9311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9313 * Description of Sysz_Stdlib_For_Sun fix
9315 tSCC zSysz_Stdlib_For_SunName[] =
9316 "sysz_stdlib_for_sun";
9319 * File name selection pattern
9321 tSCC zSysz_Stdlib_For_SunList[] =
9324 * Machine/OS name selection pattern
9326 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9329 * content selection pattern - do fix if pattern found
9331 tSCC zSysz_Stdlib_For_SunSelect0[] =
9332 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9335 * content bypass pattern - skip fix if pattern found
9337 tSCC zSysz_Stdlib_For_SunBypass0[] =
9338 "_CLASSIC_ANSI_TYPES";
9340 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9341 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9342 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9343 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9346 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9348 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9355 * Description of Thread_Keyword fix
9357 tSCC zThread_KeywordName[] =
9361 * File name selection pattern
9363 tSCC zThread_KeywordList[] =
9364 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9366 * Machine/OS name selection pattern
9368 #define apzThread_KeywordMachs (const char**)NULL
9371 * content selection pattern - do fix if pattern found
9373 tSCC zThread_KeywordSelect0[] =
9374 "([* ])__thread([,)])";
9376 #define THREAD_KEYWORD_TEST_CT 1
9377 static tTestDesc aThread_KeywordTests[] = {
9378 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9381 * Fix Command Arguments for Thread_Keyword
9383 static const char* apzThread_KeywordPatch[] = {
9388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9390 * Description of Tinfo_Cplusplus fix
9392 tSCC zTinfo_CplusplusName[] =
9396 * File name selection pattern
9398 tSCC zTinfo_CplusplusList[] =
9401 * Machine/OS name selection pattern
9403 #define apzTinfo_CplusplusMachs (const char**)NULL
9406 * content selection pattern - do fix if pattern found
9408 tSCC zTinfo_CplusplusSelect0[] =
9411 #define TINFO_CPLUSPLUS_TEST_CT 1
9412 static tTestDesc aTinfo_CplusplusTests[] = {
9413 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9416 * Fix Command Arguments for Tinfo_Cplusplus
9418 static const char* apzTinfo_CplusplusPatch[] = {
9423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9425 * Description of Ultrix_Const fix
9427 tSCC zUltrix_ConstName[] =
9431 * File name selection pattern
9433 tSCC zUltrix_ConstList[] =
9436 * Machine/OS name selection pattern
9438 #define apzUltrix_ConstMachs (const char**)NULL
9441 * content selection pattern - do fix if pattern found
9443 tSCC zUltrix_ConstSelect0[] =
9444 "perror\\( char \\*";
9446 #define ULTRIX_CONST_TEST_CT 1
9447 static tTestDesc aUltrix_ConstTests[] = {
9448 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9451 * Fix Command Arguments for Ultrix_Const
9453 static const char* apzUltrix_ConstPatch[] = {
9456 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9461 * Description of Ultrix_Const2 fix
9463 tSCC zUltrix_Const2Name[] =
9467 * File name selection pattern
9469 tSCC zUltrix_Const2List[] =
9472 * Machine/OS name selection pattern
9474 #define apzUltrix_Const2Machs (const char**)NULL
9477 * content selection pattern - do fix if pattern found
9479 tSCC zUltrix_Const2Select0[] =
9480 "\\*fopen\\( char \\*";
9482 #define ULTRIX_CONST2_TEST_CT 1
9483 static tTestDesc aUltrix_Const2Tests[] = {
9484 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9487 * Fix Command Arguments for Ultrix_Const2
9489 static const char* apzUltrix_Const2Patch[] = {
9491 "%1( const char *%3, const char *",
9492 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9495 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9497 * Description of Va_I960_Macro fix
9499 tSCC zVa_I960_MacroName[] =
9503 * File name selection pattern
9505 tSCC zVa_I960_MacroList[] =
9506 "arch/i960/archI960.h\0";
9508 * Machine/OS name selection pattern
9510 #define apzVa_I960_MacroMachs (const char**)NULL
9513 * content selection pattern - do fix if pattern found
9515 tSCC zVa_I960_MacroSelect0[] =
9516 "__(vsiz|vali|vpad|alignof__)";
9518 #define VA_I960_MACRO_TEST_CT 1
9519 static tTestDesc aVa_I960_MacroTests[] = {
9520 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9523 * Fix Command Arguments for Va_I960_Macro
9525 static const char* apzVa_I960_MacroPatch[] = {
9530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9532 * Description of Vms_Add_Missing_Braces fix
9534 tSCC zVms_Add_Missing_BracesName[] =
9535 "vms_add_missing_braces";
9538 * File name selection pattern
9540 tSCC zVms_Add_Missing_BracesList[] =
9541 "rtldef/signal.h\0";
9543 * Machine/OS name selection pattern
9545 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9547 (const char*)NULL };
9550 * content selection pattern - do fix if pattern found
9552 tSCC zVms_Add_Missing_BracesSelect0[] =
9553 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9555 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9556 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9557 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9560 * Fix Command Arguments for Vms_Add_Missing_Braces
9562 static const char* apzVms_Add_Missing_BracesPatch[] = {
9567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9569 * Description of Vms_Decc_Builtin fix
9571 tSCC zVms_Decc_BuiltinName[] =
9575 * File name selection pattern
9577 tSCC zVms_Decc_BuiltinList[] =
9578 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9580 * Machine/OS name selection pattern
9582 tSCC* apzVms_Decc_BuiltinMachs[] = {
9584 (const char*)NULL };
9587 * content selection pattern - do fix if pattern found
9589 tSCC zVms_Decc_BuiltinSelect0[] =
9590 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9592 #define VMS_DECC_BUILTIN_TEST_CT 1
9593 static tTestDesc aVms_Decc_BuiltinTests[] = {
9594 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9597 * Fix Command Arguments for Vms_Decc_Builtin
9599 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9600 "-e", "s@__MEMSET@memset@",
9601 "-e", "s@__MEMMOVE@memmove@",
9602 "-e", "s@__MEMCPY@memcpy@",
9603 "-e", "s@__STRLEN@strlen@",
9604 "-e", "s@__STRCPY@strcpy@",
9607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9609 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9611 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9612 "vms_define_can_use_extern_prefix";
9615 * File name selection pattern
9617 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9618 "rtldef/decc$types.h\0";
9620 * Machine/OS name selection pattern
9622 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9624 (const char*)NULL };
9627 * content selection pattern - do fix if pattern found
9629 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9631 #[ \t]*if defined\\(__DECCXX\\)\n\
9632 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9634 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9635 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9636 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9639 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9641 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9643 "%0# elif defined (__GNUC__)\n\
9644 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9649 * Description of Vms_Disable_Decc_String_Builtins fix
9651 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9652 "vms_disable_decc_string_builtins";
9655 * File name selection pattern
9657 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9658 "rtldef/string.h\0";
9660 * Machine/OS name selection pattern
9662 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9664 (const char*)NULL };
9667 * content selection pattern - do fix if pattern found
9669 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9670 "#if !defined\\(__VAX\\)\n";
9672 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9673 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9674 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9677 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9679 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9681 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9686 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9688 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9689 "vms_do_not_redeclare_hostalias";
9692 * File name selection pattern
9694 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9695 "rtldef/resolv.h\0";
9697 * Machine/OS name selection pattern
9699 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9701 (const char*)NULL };
9704 * content selection pattern - do fix if pattern found
9706 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9707 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9708 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9710 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9711 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9712 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9715 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9717 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9725 * Description of Vms_Forward_Declare_Struct fix
9727 tSCC zVms_Forward_Declare_StructName[] =
9728 "vms_forward_declare_struct";
9731 * File name selection pattern
9733 tSCC zVms_Forward_Declare_StructList[] =
9736 * Machine/OS name selection pattern
9738 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9740 (const char*)NULL };
9743 * content selection pattern - do fix if pattern found
9745 tSCC zVms_Forward_Declare_StructSelect0[] =
9746 "(/\\* forward decls for C\\+\\+ \\*/\n\
9747 )#ifdef __cplusplus\n";
9749 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9750 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9751 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9754 * Fix Command Arguments for Vms_Forward_Declare_Struct
9756 static const char* apzVms_Forward_Declare_StructPatch[] = {
9758 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9763 * Description of Vms_No_64bit_Getopt fix
9765 tSCC zVms_No_64bit_GetoptName[] =
9766 "vms_no_64bit_getopt";
9769 * File name selection pattern
9771 tSCC zVms_No_64bit_GetoptList[] =
9772 "rtldef/stdio.h\0rtldef/unistd.h\0";
9774 * Machine/OS name selection pattern
9776 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9778 (const char*)NULL };
9781 * content selection pattern - do fix if pattern found
9783 tSCC zVms_No_64bit_GetoptSelect0[] =
9784 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9786 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9787 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9788 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9791 * Fix Command Arguments for Vms_No_64bit_Getopt
9793 static const char* apzVms_No_64bit_GetoptPatch[] = {
9795 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9801 * Description of Vms_Use_Fast_Setjmp fix
9803 tSCC zVms_Use_Fast_SetjmpName[] =
9804 "vms_use_fast_setjmp";
9807 * File name selection pattern
9809 tSCC zVms_Use_Fast_SetjmpList[] =
9810 "rtldef/setjmp.h\0";
9812 * Machine/OS name selection pattern
9814 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9816 (const char*)NULL };
9819 * content selection pattern - do fix if pattern found
9821 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9822 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9824 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9825 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9826 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9829 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9831 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9833 "%0 defined (__GNUC__) ||",
9836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9838 * Description of Vms_Use_Pragma_Extern_Model fix
9840 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9841 "vms_use_pragma_extern_model";
9844 * File name selection pattern
9846 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9848 * Machine/OS name selection pattern
9850 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9852 (const char*)NULL };
9855 * content selection pattern - do fix if pattern found
9857 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9858 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9859 # pragma extern_model __save\n";
9861 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9862 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9863 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9866 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9868 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9870 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9871 # pragma extern_model __save\n",
9874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9876 * Description of Vms_Use_Quoted_Include fix
9878 tSCC zVms_Use_Quoted_IncludeName[] =
9879 "vms_use_quoted_include";
9882 * File name selection pattern
9884 tSCC zVms_Use_Quoted_IncludeList[] =
9885 "rtldef/wait.h\0starlet_c/pthread.h\0";
9887 * Machine/OS name selection pattern
9889 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9891 (const char*)NULL };
9894 * content selection pattern - do fix if pattern found
9896 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9897 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9899 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9900 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9901 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9904 * Fix Command Arguments for Vms_Use_Quoted_Include
9906 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9913 * Description of Void_Null fix
9915 tSCC zVoid_NullName[] =
9919 * File name selection pattern
9921 tSCC zVoid_NullList[] =
9922 "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";
9924 * Machine/OS name selection pattern
9926 #define apzVoid_NullMachs (const char**)NULL
9929 * content selection pattern - do fix if pattern found
9931 tSCC zVoid_NullSelect0[] =
9932 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9935 * content bypass pattern - skip fix if pattern found
9937 tSCC zVoid_NullBypass0[] =
9939 tSCC zVoid_NullBypass1[] =
9942 #define VOID_NULL_TEST_CT 3
9943 static tTestDesc aVoid_NullTests[] = {
9944 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9945 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9946 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9949 * Fix Command Arguments for Void_Null
9951 static const char* apzVoid_NullPatch[] = {
9954 #ifdef __cplusplus\n\
9956 #define NULL __null\n\
9957 #else /* ! __GNUG__ */\n\
9959 #endif /* __GNUG__ */\n\
9960 #else /* ! __cplusplus */\n\
9961 #define NULL ((void *)0)\n\
9962 #endif /* __cplusplus */\n\
9963 #endif /* !NULL */",
9966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9968 * Description of Vxworks_Gcc_Problem fix
9970 tSCC zVxworks_Gcc_ProblemName[] =
9971 "vxworks_gcc_problem";
9974 * File name selection pattern
9976 tSCC zVxworks_Gcc_ProblemList[] =
9977 "types/vxTypesBase.h\0";
9979 * Machine/OS name selection pattern
9981 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9984 * content selection pattern - do fix if pattern found
9986 tSCC zVxworks_Gcc_ProblemSelect0[] =
9987 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9989 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9990 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9991 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9994 * Fix Command Arguments for Vxworks_Gcc_Problem
9996 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9997 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9998 "-e", "/[ \t]size_t/i\\\n\
9999 #ifndef _GCC_SIZE_T\\\n\
10000 #define _GCC_SIZE_T\n",
10001 "-e", "/[ \t]size_t/a\\\n\
10003 "-e", "/[ \t]ptrdiff_t/i\\\n\
10004 #ifndef _GCC_PTRDIFF_T\\\n\
10005 #define _GCC_PTRDIFF_T\n",
10006 "-e", "/[ \t]ptrdiff_t/a\\\n\
10008 "-e", "/[ \t]wchar_t/i\\\n\
10009 #ifndef _GCC_WCHAR_T\\\n\
10010 #define _GCC_WCHAR_T\n",
10011 "-e", "/[ \t]wchar_t/a\\\n\
10015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10017 * Description of Vxworks_Ioctl_Macro fix
10019 tSCC zVxworks_Ioctl_MacroName[] =
10020 "vxworks_ioctl_macro";
10023 * File name selection pattern
10025 tSCC zVxworks_Ioctl_MacroList[] =
10028 * Machine/OS name selection pattern
10030 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10032 (const char*)NULL };
10033 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
10034 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
10037 * Fix Command Arguments for Vxworks_Ioctl_Macro
10039 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10042 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10043 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10048 * Description of Vxworks_Mkdir_Macro fix
10050 tSCC zVxworks_Mkdir_MacroName[] =
10051 "vxworks_mkdir_macro";
10054 * File name selection pattern
10056 tSCC zVxworks_Mkdir_MacroList[] =
10059 * Machine/OS name selection pattern
10061 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
10063 (const char*)NULL };
10064 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
10065 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
10068 * Fix Command Arguments for Vxworks_Mkdir_Macro
10070 static const char* apzVxworks_Mkdir_MacroPatch[] = {
10073 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
10074 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10079 * Description of Vxworks_Needs_Vxtypes fix
10081 tSCC zVxworks_Needs_VxtypesName[] =
10082 "vxworks_needs_vxtypes";
10085 * File name selection pattern
10087 tSCC zVxworks_Needs_VxtypesList[] =
10090 * Machine/OS name selection pattern
10092 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10095 * content selection pattern - do fix if pattern found
10097 tSCC zVxworks_Needs_VxtypesSelect0[] =
10098 "uint_t([ \t]+_clocks_per_sec)";
10100 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
10101 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10102 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10105 * Fix Command Arguments for Vxworks_Needs_Vxtypes
10107 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10114 * Description of Vxworks_Needs_Vxworks fix
10116 tSCC zVxworks_Needs_VxworksName[] =
10117 "vxworks_needs_vxworks";
10120 * File name selection pattern
10122 tSCC zVxworks_Needs_VxworksList[] =
10125 * Machine/OS name selection pattern
10127 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10130 * content selection pattern - do fix if pattern found
10132 tSCC zVxworks_Needs_VxworksSelect0[] =
10133 "#[ \t]define[ \t]+__INCstath";
10136 * perform the 'test' shell command - do fix on success
10138 tSCC zVxworks_Needs_VxworksTest0[] =
10139 " -r types/vxTypesOld.h";
10140 tSCC zVxworks_Needs_VxworksTest1[] =
10141 " -n \"`egrep '#include' $file`\"";
10142 tSCC zVxworks_Needs_VxworksTest2[] =
10143 " -n \"`egrep ULONG $file`\"";
10145 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10146 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10147 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10148 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10149 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10150 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10153 * Fix Command Arguments for Vxworks_Needs_Vxworks
10155 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10156 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10157 #include <types/vxTypesOld.h>\n",
10160 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10162 * Description of Vxworks_Regs fix
10164 tSCC zVxworks_RegsName[] =
10168 * File name selection pattern
10170 #define zVxworks_RegsList (char*)NULL
10172 * Machine/OS name selection pattern
10174 tSCC* apzVxworks_RegsMachs[] = {
10176 (const char*)NULL };
10179 * content selection pattern - do fix if pattern found
10181 tSCC zVxworks_RegsSelect0[] =
10182 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10184 #define VXWORKS_REGS_TEST_CT 1
10185 static tTestDesc aVxworks_RegsTests[] = {
10186 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10189 * Fix Command Arguments for Vxworks_Regs
10191 static const char* apzVxworks_RegsPatch[] = {
10193 "#include <arch/../regs.h>",
10196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10198 * Description of Vxworks_Time fix
10200 tSCC zVxworks_TimeName[] =
10204 * File name selection pattern
10206 tSCC zVxworks_TimeList[] =
10209 * Machine/OS name selection pattern
10211 #define apzVxworks_TimeMachs (const char**)NULL
10214 * content selection pattern - do fix if pattern found
10216 tSCC zVxworks_TimeSelect0[] =
10217 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10220 * perform the 'test' shell command - do fix on success
10222 tSCC zVxworks_TimeTest0[] =
10225 #define VXWORKS_TIME_TEST_CT 2
10226 static tTestDesc aVxworks_TimeTests[] = {
10227 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10228 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10231 * Fix Command Arguments for Vxworks_Time
10233 static const char* apzVxworks_TimePatch[] = {
10235 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10236 #ifdef __cplusplus\n\
10237 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10239 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10241 #define __gcc_VOIDFUNCPTR_defined\n\
10243 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10248 * Description of Vxworks_Write_Const fix
10250 tSCC zVxworks_Write_ConstName[] =
10251 "vxworks_write_const";
10254 * File name selection pattern
10256 tSCC zVxworks_Write_ConstList[] =
10259 * Machine/OS name selection pattern
10261 tSCC* apzVxworks_Write_ConstMachs[] = {
10263 (const char*)NULL };
10264 #define VXWORKS_WRITE_CONST_TEST_CT 0
10265 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10268 * Fix Command Arguments for Vxworks_Write_Const
10270 static const char* apzVxworks_Write_ConstPatch[] = {
10272 "extern int write (int, const char*, size_t);",
10273 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10278 * Description of Vxworks_Iolib_Include_Unistd fix
10280 tSCC zVxworks_Iolib_Include_UnistdName[] =
10281 "vxworks_iolib_include_unistd";
10284 * File name selection pattern
10286 tSCC zVxworks_Iolib_Include_UnistdList[] =
10289 * Machine/OS name selection pattern
10291 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10293 (const char*)NULL };
10296 * content selection pattern - do fix if pattern found
10298 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10299 "#include \"unistd.h\"";
10301 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10302 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10303 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10306 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10308 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10310 "#include <unistd.h>",
10313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10315 * Description of X11_Class fix
10317 tSCC zX11_ClassName[] =
10321 * File name selection pattern
10323 tSCC zX11_ClassList[] =
10326 * Machine/OS name selection pattern
10328 #define apzX11_ClassMachs (const char**)NULL
10331 * content selection pattern - do fix if pattern found
10333 tSCC zX11_ClassSelect0[] =
10334 "^([ \t]*char \\*)class;(.*)";
10337 * content bypass pattern - skip fix if pattern found
10339 tSCC zX11_ClassBypass0[] =
10342 #define X11_CLASS_TEST_CT 2
10343 static tTestDesc aX11_ClassTests[] = {
10344 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10345 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10348 * Fix Command Arguments for X11_Class
10350 static const char* apzX11_ClassPatch[] = {
10352 "#ifdef __cplusplus\n\
10359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10361 * Description of X11_Class_Usage fix
10363 tSCC zX11_Class_UsageName[] =
10367 * File name selection pattern
10369 tSCC zX11_Class_UsageList[] =
10370 "Xm/BaseClassI.h\0";
10372 * Machine/OS name selection pattern
10374 #define apzX11_Class_UsageMachs (const char**)NULL
10377 * content selection pattern - do fix if pattern found
10379 tSCC zX11_Class_UsageSelect0[] =
10383 * content bypass pattern - skip fix if pattern found
10385 tSCC zX11_Class_UsageBypass0[] =
10388 #define X11_CLASS_USAGE_TEST_CT 2
10389 static tTestDesc aX11_Class_UsageTests[] = {
10390 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10391 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10394 * Fix Command Arguments for X11_Class_Usage
10396 static const char* apzX11_Class_UsagePatch[] = {
10401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10403 * Description of X11_New fix
10405 tSCC zX11_NewName[] =
10409 * File name selection pattern
10411 tSCC zX11_NewList[] =
10412 "Xm/Traversal.h\0";
10414 * Machine/OS name selection pattern
10416 #define apzX11_NewMachs (const char**)NULL
10419 * content bypass pattern - skip fix if pattern found
10421 tSCC zX11_NewBypass0[] =
10424 #define X11_NEW_TEST_CT 1
10425 static tTestDesc aX11_NewTests[] = {
10426 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10429 * Fix Command Arguments for X11_New
10431 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10432 "-e", "/Widget\told, new;/i\\\n\
10433 #ifdef __cplusplus\\\n\
10434 \\\tWidget\told, c_new;\\\n\
10436 "-e", "/Widget\told, new;/a\\\n\
10438 "-e", "s/Widget new,/Widget c_new,/g",
10441 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10443 * Description of X11_Sprintf fix
10445 tSCC zX11_SprintfName[] =
10449 * File name selection pattern
10451 tSCC zX11_SprintfList[] =
10452 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10454 * Machine/OS name selection pattern
10456 #define apzX11_SprintfMachs (const char**)NULL
10459 * content selection pattern - do fix if pattern found
10461 tSCC zX11_SprintfSelect0[] =
10462 "^extern char \\*\tsprintf\\(\\);$";
10464 #define X11_SPRINTF_TEST_CT 1
10465 static tTestDesc aX11_SprintfTests[] = {
10466 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10469 * Fix Command Arguments for X11_Sprintf
10471 static const char* apzX11_SprintfPatch[] = {
10473 "#ifndef __STDC__\n\
10475 #endif /* !defined __STDC__ */",
10479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10481 * List of all fixes
10483 #define REGEX_COUNT 296
10484 #define MACH_LIST_SIZE_LIMIT 187
10485 #define FIX_COUNT 258
10488 * Enumerate the fixes
10491 AAB_AIX_STDIO_FIXIDX,
10492 AAB_AIX_FCNTL_FIXIDX,
10493 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10494 DARWIN_API_AVAILABILITY_FIXIDX,
10495 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10496 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10497 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10498 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10499 AAB_SUN_MEMCPY_FIXIDX,
10500 AAB_VXWORKS_ASSERT_FIXIDX,
10501 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10502 AAB_VXWORKS_UNISTD_FIXIDX,
10504 AIX_COMPLEX_FIXIDX,
10505 AIX_EXTERNC_FIXIDX,
10506 AIX_EXTERNCPP1_FIXIDX,
10507 AIX_EXTERNCPP2_FIXIDX,
10509 AIX_NET_IF_ARP_FIXIDX,
10511 AIX_ONCE_INIT_1_FIXIDX,
10512 AIX_ONCE_INIT_2_FIXIDX,
10513 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10514 AIX_COND_INITIALIZER_1_FIXIDX,
10515 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10516 AIX_PTHREAD_FIXIDX,
10517 AIX_STDINT_1_FIXIDX,
10518 AIX_STDINT_2_FIXIDX,
10519 AIX_STDINT_3_FIXIDX,
10520 AIX_STDINT_4_FIXIDX,
10521 AIX_STDINT_5_FIXIDX,
10522 AIX_STDIO_INLINE_FIXIDX,
10523 AIX_STDLIB_MALLOC_FIXIDX,
10524 AIX_STDLIB_REALLOC_FIXIDX,
10525 AIX_STDLIB_CALLOC_FIXIDX,
10526 AIX_STDLIB_VALLOC_FIXIDX,
10527 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10528 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10529 AIX_STRTOF_CONST_FIXIDX,
10530 AIX_SYSMACHINE_FIXIDX,
10531 AIX_SYSWAIT_2_FIXIDX,
10532 AIX_VOLATILE_FIXIDX,
10534 ALPHA___ASSERT_FIXIDX,
10535 ALPHA_ASSERT_FIXIDX,
10536 ALPHA_GETOPT_FIXIDX,
10537 ALPHA_IF_SEMICOLON_FIXIDX,
10538 ALPHA_PARENS_FIXIDX,
10540 AVOID_BOOL_DEFINE_FIXIDX,
10541 AVOID_BOOL_TYPE_FIXIDX,
10542 AVOID_WCHAR_T_TYPE_FIXIDX,
10543 BAD_STRUCT_TERM_FIXIDX,
10545 BROKEN_ASSERT_STDIO_FIXIDX,
10546 BROKEN_ASSERT_STDLIB_FIXIDX,
10547 BROKEN_CABS_FIXIDX,
10549 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10550 CTRL_QUOTES_DEF_FIXIDX,
10551 CTRL_QUOTES_USE_FIXIDX,
10552 CXX_UNREADY_FIXIDX,
10553 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10554 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10555 DARWIN_EXTERNC_FIXIDX,
10556 DARWIN_GCC4_BREAKAGE_FIXIDX,
10557 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10558 DARWIN_LONGJMP_NORETURN_FIXIDX,
10559 DARWIN_OS_TRACE_1_FIXIDX,
10560 DARWIN_OS_TRACE_2_FIXIDX,
10561 DARWIN_OS_TRACE_3_FIXIDX,
10562 DARWIN_OS_BASE_1_FIXIDX,
10563 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10564 DARWIN_PRIVATE_EXTERN_FIXIDX,
10565 DARWIN_STDINT_1_FIXIDX,
10566 DARWIN_STDINT_2_FIXIDX,
10567 DARWIN_STDINT_3_FIXIDX,
10568 DARWIN_STDINT_4_FIXIDX,
10569 DARWIN_STDINT_5_FIXIDX,
10570 DARWIN_STDINT_6_FIXIDX,
10571 DARWIN_STDINT_7_FIXIDX,
10572 DARWIN_UCRED__ATOMIC_FIXIDX,
10573 DEC_INTERN_ASM_FIXIDX,
10574 DJGPP_WCHAR_H_FIXIDX,
10576 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10577 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10578 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10579 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10580 GLIBC_C99_INLINE_1_FIXIDX,
10581 GLIBC_C99_INLINE_1A_FIXIDX,
10582 GLIBC_C99_INLINE_2_FIXIDX,
10583 GLIBC_C99_INLINE_3_FIXIDX,
10584 GLIBC_C99_INLINE_4_FIXIDX,
10585 GLIBC_MUTEX_INIT_FIXIDX,
10586 GLIBC_STDINT_FIXIDX,
10587 GLIBC_STRNCPY_FIXIDX,
10588 GLIBC_TGMATH_FIXIDX,
10592 HPPA_HPUX_FP_MACROS_FIXIDX,
10593 HPUX10_CPP_POW_INLINE_FIXIDX,
10594 HPUX11_CPP_POW_INLINE_FIXIDX,
10595 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10596 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10597 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10598 HPPA_HPUX11_ALLOCA_FIXIDX,
10600 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10601 HPUX11_EXTERN_SENDFILE_FIXIDX,
10602 HPUX11_EXTERN_SENDPATH_FIXIDX,
10603 HPUX11_FABSF_FIXIDX,
10604 HPUX11_PTHREAD_POINTER_FIXIDX,
10605 HPUX11_PTHREAD_CONST_FIXIDX,
10606 HPUX11_SIZE_T_FIXIDX,
10607 HPUX11_SNPRINTF_FIXIDX,
10608 HPUX11_VSNPRINTF_FIXIDX,
10609 HPUX_VSSCANF_FIXIDX,
10610 HPUX8_BOGUS_INLINES_FIXIDX,
10611 HPUX_C99_INTPTR_FIXIDX,
10612 HPUX_C99_INTTYPES_FIXIDX,
10613 HPUX_C99_INTTYPES2_FIXIDX,
10614 HPUX_C99_INTTYPES3_FIXIDX,
10615 HPUX_C99_INTTYPES4_FIXIDX,
10616 HPUX_CTYPE_MACROS_FIXIDX,
10617 HPUX_EXTERN_ERRNO_FIXIDX,
10619 HPUX_IMAGINARY_I_FIXIDX,
10620 HPUX_INTTYPE_INT8_T_FIXIDX,
10621 HPUX_LONG_DOUBLE_FIXIDX,
10622 HPUX_LONG_DOUBLE_2_FIXIDX,
10623 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10624 HPUX_SPU_INFO_FIXIDX,
10625 HPUX_STDINT_LEAST_FAST_FIXIDX,
10626 HPUX_LONGJMP_FIXIDX,
10627 HPUX_SYSTIME_FIXIDX,
10628 HUGE_VAL_HEX_FIXIDX,
10629 HUGE_VALF_HEX_FIXIDX,
10630 HUGE_VALL_HEX_FIXIDX,
10631 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10632 IO_QUOTES_DEF_FIXIDX,
10633 IO_QUOTES_USE_FIXIDX,
10634 IP_MISSING_SEMI_FIXIDX,
10635 IRIX_LIMITS_CONST_FIXIDX,
10636 IRIX_STDIO_VA_LIST_FIXIDX,
10637 KANDR_CONCAT_FIXIDX,
10638 LINUX_IA64_UCONTEXT_FIXIDX,
10639 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10640 LYNXOS_MISSING_PUTENV_FIXIDX,
10641 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10642 MACHINE_NAME_FIXIDX,
10643 MATH_EXCEPTION_FIXIDX,
10644 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10645 NESTED_AUTH_DES_FIXIDX,
10646 NETBSD_C99_INLINE_1_FIXIDX,
10647 NETBSD_C99_INLINE_2_FIXIDX,
10648 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10649 NEWLIB_STDINT_1_FIXIDX,
10650 NEWLIB_STDINT_2_FIXIDX,
10651 NEXT_MATH_PREFIX_FIXIDX,
10652 NEXT_TEMPLATE_FIXIDX,
10653 NEXT_VOLITILE_FIXIDX,
10654 NEXT_WAIT_UNION_FIXIDX,
10655 NODEENT_SYNTAX_FIXIDX,
10656 OPENBSD_NULL_DEFINITION_FIXIDX,
10657 OBSTACK_LVALUE_CAST_FIXIDX,
10658 OPENBSD_VA_START_FIXIDX,
10659 OSF_NAMESPACE_A_FIXIDX,
10660 OSF_NAMESPACE_C_FIXIDX,
10661 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10662 READ_RET_TYPE_FIXIDX,
10663 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10664 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10665 RS6000_DOUBLE_FIXIDX,
10666 RS6000_FCHMOD_FIXIDX,
10667 RS6000_PARAM_FIXIDX,
10668 SOLARIS___RESTRICT_FIXIDX,
10669 SOLARIS_COMPLEX_FIXIDX,
10670 SOLARIS_COMPLEX_CXX_FIXIDX,
10671 SOLARIS_CXX_LINKAGE_FIXIDX,
10672 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10673 SOLARIS_GETS_C11_FIXIDX,
10674 SOLARIS_GETS_CXX14_FIXIDX,
10675 SOLARIS_INT_CONST_FIXIDX,
10676 SOLARIS_INT_LIMITS_1_FIXIDX,
10677 SOLARIS_INT_LIMITS_2_FIXIDX,
10678 SOLARIS_INT_LIMITS_3_FIXIDX,
10679 SOLARIS_MATH_1_FIXIDX,
10680 SOLARIS_MATH_10_FIXIDX,
10681 SOLARIS_MATH_2_FIXIDX,
10682 SOLARIS_MATH_3_FIXIDX,
10683 SOLARIS_MATH_4_FIXIDX,
10684 SOLARIS_MATH_8_FIXIDX,
10685 SOLARIS_MATH_9_FIXIDX,
10686 SOLARIS_MATH_11_FIXIDX,
10687 SOLARIS_MATH_12_FIXIDX,
10688 SOLARIS_ONCE_INIT_1_FIXIDX,
10689 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10690 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10691 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10692 SOLARIS_STD___FILBUF_FIXIDX,
10693 SOLARIS_STD_GETS_CXX14_FIXIDX,
10694 SOLARIS_STDIO_TAG_FIXIDX,
10695 SOLARIS_STDLIB_NORETURN_FIXIDX,
10697 STDIO_STDARG_H_FIXIDX,
10698 STDIO_VA_LIST_FIXIDX,
10699 STDIO_VA_LIST_CLIENTS_FIXIDX,
10700 STRICT_ANSI_NOT_FIXIDX,
10701 STRICT_ANSI_NOT_CTD_FIXIDX,
10702 STRICT_ANSI_ONLY_FIXIDX,
10703 STRUCT_FILE_FIXIDX,
10704 STRUCT_SOCKADDR_FIXIDX,
10705 SUN_AUTH_PROTO_FIXIDX,
10706 SUN_BOGUS_IFDEF_FIXIDX,
10707 SUN_CATMACRO_FIXIDX,
10709 SUN_RUSERS_SEMI_FIXIDX,
10711 SUNOS_STRLEN_FIXIDX,
10712 SUSE_LINUX_VT_CXX_FIXIDX,
10713 SVR4_DISABLE_OPT_FIXIDX,
10714 SVR4_GETCWD_FIXIDX,
10715 SVR4_PROFIL_FIXIDX,
10716 SVR4_SIGHANDLER_TYPE_FIXIDX,
10717 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10718 SYSV68_STRING_FIXIDX,
10719 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10720 THREAD_KEYWORD_FIXIDX,
10721 TINFO_CPLUSPLUS_FIXIDX,
10722 ULTRIX_CONST_FIXIDX,
10723 ULTRIX_CONST2_FIXIDX,
10724 VA_I960_MACRO_FIXIDX,
10725 VMS_ADD_MISSING_BRACES_FIXIDX,
10726 VMS_DECC_BUILTIN_FIXIDX,
10727 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10728 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10729 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10730 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10731 VMS_NO_64BIT_GETOPT_FIXIDX,
10732 VMS_USE_FAST_SETJMP_FIXIDX,
10733 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10734 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10736 VXWORKS_GCC_PROBLEM_FIXIDX,
10737 VXWORKS_IOCTL_MACRO_FIXIDX,
10738 VXWORKS_MKDIR_MACRO_FIXIDX,
10739 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10740 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10741 VXWORKS_REGS_FIXIDX,
10742 VXWORKS_TIME_FIXIDX,
10743 VXWORKS_WRITE_CONST_FIXIDX,
10744 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10746 X11_CLASS_USAGE_FIXIDX,
10751 tFixDesc fixDescList[ FIX_COUNT ] = {
10752 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10753 apzAab_Aix_StdioMachs,
10754 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10755 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10757 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10758 apzAab_Aix_FcntlMachs,
10759 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10760 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10762 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10763 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10764 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10765 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10767 { zDarwin_Api_AvailabilityName, zDarwin_Api_AvailabilityList,
10768 apzDarwin_Api_AvailabilityMachs,
10769 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10770 aDarwin_Api_AvailabilityTests, apzDarwin_Api_AvailabilityPatch, 0 },
10772 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10773 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10774 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10775 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10777 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10778 apzAab_Fd_Zero_Gnu_Types_HMachs,
10779 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10780 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10782 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10783 apzAab_Fd_Zero_Selectbits_HMachs,
10784 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10785 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10787 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10788 apzAab_Solaris_Sys_Varargs_HMachs,
10789 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10790 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10792 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10793 apzAab_Sun_MemcpyMachs,
10794 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10795 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10797 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10798 apzAab_Vxworks_AssertMachs,
10799 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10800 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10802 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10803 apzAab_Vxworks_Regs_VxtypesMachs,
10804 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10805 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10807 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10808 apzAab_Vxworks_UnistdMachs,
10809 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10810 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10812 { zAix_AssertName, zAix_AssertList,
10813 apzAix_AssertMachs,
10814 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10815 aAix_AssertTests, apzAix_AssertPatch, 0 },
10817 { zAix_ComplexName, zAix_ComplexList,
10818 apzAix_ComplexMachs,
10819 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10820 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10822 { zAix_ExterncName, zAix_ExterncList,
10823 apzAix_ExterncMachs,
10824 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10825 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10827 { zAix_Externcpp1Name, zAix_Externcpp1List,
10828 apzAix_Externcpp1Machs,
10829 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10830 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10832 { zAix_Externcpp2Name, zAix_Externcpp2List,
10833 apzAix_Externcpp2Machs,
10834 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10835 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10837 { zAix_MallocName, zAix_MallocList,
10838 apzAix_MallocMachs,
10839 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10840 aAix_MallocTests, apzAix_MallocPatch, 0 },
10842 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10843 apzAix_Net_If_ArpMachs,
10844 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10845 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10847 { zAix_NullName, zAix_NullList,
10849 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10850 aAix_NullTests, apzAix_NullPatch, 0 },
10852 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10853 apzAix_Once_Init_1Machs,
10854 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10855 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10857 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10858 apzAix_Once_Init_2Machs,
10859 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10860 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10862 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10863 apzAix_Mutex_Initializer_1Machs,
10864 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10865 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10867 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10868 apzAix_Cond_Initializer_1Machs,
10869 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10870 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10872 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10873 apzAix_Rwlock_Initializer_1Machs,
10874 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10875 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10877 { zAix_PthreadName, zAix_PthreadList,
10878 apzAix_PthreadMachs,
10879 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10880 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10882 { zAix_Stdint_1Name, zAix_Stdint_1List,
10883 apzAix_Stdint_1Machs,
10884 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10885 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10887 { zAix_Stdint_2Name, zAix_Stdint_2List,
10888 apzAix_Stdint_2Machs,
10889 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10890 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10892 { zAix_Stdint_3Name, zAix_Stdint_3List,
10893 apzAix_Stdint_3Machs,
10894 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10895 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10897 { zAix_Stdint_4Name, zAix_Stdint_4List,
10898 apzAix_Stdint_4Machs,
10899 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10900 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10902 { zAix_Stdint_5Name, zAix_Stdint_5List,
10903 apzAix_Stdint_5Machs,
10904 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10905 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10907 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10908 apzAix_Stdio_InlineMachs,
10909 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10910 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10912 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10913 apzAix_Stdlib_MallocMachs,
10914 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10915 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10917 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10918 apzAix_Stdlib_ReallocMachs,
10919 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10920 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10922 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10923 apzAix_Stdlib_CallocMachs,
10924 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10925 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10927 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10928 apzAix_Stdlib_VallocMachs,
10929 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10930 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10932 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
10933 apzAix_Stdlib_Vec_MallocMachs,
10934 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10935 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
10937 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
10938 apzAix_Stdlib_Vec_CallocMachs,
10939 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10940 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
10942 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10943 apzAix_Strtof_ConstMachs,
10944 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10945 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10947 { zAix_SysmachineName, zAix_SysmachineList,
10948 apzAix_SysmachineMachs,
10949 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10950 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10952 { zAix_Syswait_2Name, zAix_Syswait_2List,
10953 apzAix_Syswait_2Machs,
10954 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10955 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10957 { zAix_VolatileName, zAix_VolatileList,
10958 apzAix_VolatileMachs,
10959 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10960 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10962 { zAix_UnistdName, zAix_UnistdList,
10963 apzAix_UnistdMachs,
10964 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10965 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
10967 { zAlpha___AssertName, zAlpha___AssertList,
10968 apzAlpha___AssertMachs,
10969 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10970 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10972 { zAlpha_AssertName, zAlpha_AssertList,
10973 apzAlpha_AssertMachs,
10974 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10975 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10977 { zAlpha_GetoptName, zAlpha_GetoptList,
10978 apzAlpha_GetoptMachs,
10979 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10980 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10982 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10983 apzAlpha_If_SemicolonMachs,
10984 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10985 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10987 { zAlpha_ParensName, zAlpha_ParensList,
10988 apzAlpha_ParensMachs,
10989 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10990 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10992 { zAlpha_SbrkName, zAlpha_SbrkList,
10993 apzAlpha_SbrkMachs,
10994 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10995 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10997 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10998 apzAvoid_Bool_DefineMachs,
10999 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11000 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
11002 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
11003 apzAvoid_Bool_TypeMachs,
11004 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11005 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
11007 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
11008 apzAvoid_Wchar_T_TypeMachs,
11009 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11010 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
11012 { zBad_Struct_TermName, zBad_Struct_TermList,
11013 apzBad_Struct_TermMachs,
11014 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11015 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
11017 { zBadquoteName, zBadquoteList,
11019 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11020 aBadquoteTests, apzBadquotePatch, 0 },
11022 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
11023 apzBroken_Assert_StdioMachs,
11024 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11025 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
11027 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
11028 apzBroken_Assert_StdlibMachs,
11029 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11030 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
11032 { zBroken_CabsName, zBroken_CabsList,
11033 apzBroken_CabsMachs,
11034 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11035 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
11037 { zBroken_NanName, zBroken_NanList,
11038 apzBroken_NanMachs,
11039 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11040 aBroken_NanTests, apzBroken_NanPatch, 0 },
11042 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
11043 apzBsd_Stdio_Attrs_ConflictMachs,
11044 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11045 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11047 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
11048 apzCtrl_Quotes_DefMachs,
11049 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11050 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
11052 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
11053 apzCtrl_Quotes_UseMachs,
11054 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11055 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
11057 { zCxx_UnreadyName, zCxx_UnreadyList,
11058 apzCxx_UnreadyMachs,
11059 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11060 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
11062 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
11063 apzDarwin_AvailabilityinternalMachs,
11064 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11065 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
11067 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
11068 apzDarwin_9_Long_Double_Funcs_2Machs,
11069 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11070 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11072 { zDarwin_ExterncName, zDarwin_ExterncList,
11073 apzDarwin_ExterncMachs,
11074 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11075 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
11077 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
11078 apzDarwin_Gcc4_BreakageMachs,
11079 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11080 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
11082 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
11083 apzDarwin_Ll_Funcs_AvailMachs,
11084 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11085 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
11087 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
11088 apzDarwin_Longjmp_NoreturnMachs,
11089 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11090 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
11092 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
11093 apzDarwin_Os_Trace_1Machs,
11094 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11095 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
11097 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
11098 apzDarwin_Os_Trace_2Machs,
11099 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11100 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
11102 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
11103 apzDarwin_Os_Trace_3Machs,
11104 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11105 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
11107 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
11108 apzDarwin_Os_Base_1Machs,
11109 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11110 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
11112 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
11113 apzDarwin_Dispatch_Object_1Machs,
11114 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11115 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
11117 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
11118 apzDarwin_Private_ExternMachs,
11119 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11120 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
11122 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
11123 apzDarwin_Stdint_1Machs,
11124 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11125 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
11127 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
11128 apzDarwin_Stdint_2Machs,
11129 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11130 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
11132 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
11133 apzDarwin_Stdint_3Machs,
11134 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11135 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
11137 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
11138 apzDarwin_Stdint_4Machs,
11139 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11140 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11142 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11143 apzDarwin_Stdint_5Machs,
11144 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11145 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11147 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11148 apzDarwin_Stdint_6Machs,
11149 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11150 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11152 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11153 apzDarwin_Stdint_7Machs,
11154 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11155 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11157 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11158 apzDarwin_Ucred__AtomicMachs,
11159 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11160 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11162 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11163 apzDec_Intern_AsmMachs,
11164 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11165 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11167 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11168 apzDjgpp_Wchar_HMachs,
11169 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11170 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11172 { zEcd_CursorName, zEcd_CursorList,
11173 apzEcd_CursorMachs,
11174 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11175 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11177 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11178 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11179 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11180 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11182 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11183 apzFeraiseexcept_Nosse_InvalidMachs,
11184 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11185 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11187 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11188 apzFreebsd_Gcc3_BreakageMachs,
11189 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11190 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11192 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11193 apzFreebsd_Gcc4_BreakageMachs,
11194 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11195 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11197 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11198 apzGlibc_C99_Inline_1Machs,
11199 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11200 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11202 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11203 apzGlibc_C99_Inline_1aMachs,
11204 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11205 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11207 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11208 apzGlibc_C99_Inline_2Machs,
11209 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11210 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11212 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11213 apzGlibc_C99_Inline_3Machs,
11214 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11215 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11217 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11218 apzGlibc_C99_Inline_4Machs,
11219 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11220 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11222 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11223 apzGlibc_Mutex_InitMachs,
11224 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11225 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11227 { zGlibc_StdintName, zGlibc_StdintList,
11228 apzGlibc_StdintMachs,
11229 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11230 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11232 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11233 apzGlibc_StrncpyMachs,
11234 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11235 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11237 { zGlibc_TgmathName, zGlibc_TgmathList,
11238 apzGlibc_TgmathMachs,
11239 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11240 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11242 { zGnu_TypesName, zGnu_TypesList,
11244 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11245 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11247 { zHp_InlineName, zHp_InlineList,
11249 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11250 aHp_InlineTests, apzHp_InlinePatch, 0 },
11252 { zHp_SysfileName, zHp_SysfileList,
11253 apzHp_SysfileMachs,
11254 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11255 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11257 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11258 apzHppa_Hpux_Fp_MacrosMachs,
11259 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11260 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11262 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11263 apzHpux10_Cpp_Pow_InlineMachs,
11264 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11265 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11267 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11268 apzHpux11_Cpp_Pow_InlineMachs,
11269 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11270 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11272 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11273 apzHpux10_Ctype_Declarations1Machs,
11274 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11275 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11277 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11278 apzHpux10_Ctype_Declarations2Machs,
11279 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11280 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11282 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11283 apzHpux10_Stdio_DeclarationsMachs,
11284 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11285 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11287 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11288 apzHppa_Hpux11_AllocaMachs,
11289 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11290 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11292 { zHpux11_AbsName, zHpux11_AbsList,
11293 apzHpux11_AbsMachs,
11294 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11295 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11297 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11298 apzHpux11_Lwp_Rwlock_ValidMachs,
11299 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11300 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11302 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11303 apzHpux11_Extern_SendfileMachs,
11304 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11305 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11307 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11308 apzHpux11_Extern_SendpathMachs,
11309 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11310 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11312 { zHpux11_FabsfName, zHpux11_FabsfList,
11313 apzHpux11_FabsfMachs,
11314 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11315 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11317 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11318 apzHpux11_Pthread_PointerMachs,
11319 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11320 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11322 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11323 apzHpux11_Pthread_ConstMachs,
11324 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11325 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11327 { zHpux11_Size_TName, zHpux11_Size_TList,
11328 apzHpux11_Size_TMachs,
11329 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11330 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11332 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11333 apzHpux11_SnprintfMachs,
11334 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11335 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11337 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11338 apzHpux11_VsnprintfMachs,
11339 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11340 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11342 { zHpux_VsscanfName, zHpux_VsscanfList,
11343 apzHpux_VsscanfMachs,
11344 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11345 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11347 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11348 apzHpux8_Bogus_InlinesMachs,
11349 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11350 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11352 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11353 apzHpux_C99_IntptrMachs,
11354 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11355 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11357 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11358 apzHpux_C99_InttypesMachs,
11359 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11360 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11362 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11363 apzHpux_C99_Inttypes2Machs,
11364 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11365 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11367 { zHpux_C99_Inttypes3Name, zHpux_C99_Inttypes3List,
11368 apzHpux_C99_Inttypes3Machs,
11369 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11370 aHpux_C99_Inttypes3Tests, apzHpux_C99_Inttypes3Patch, 0 },
11372 { zHpux_C99_Inttypes4Name, zHpux_C99_Inttypes4List,
11373 apzHpux_C99_Inttypes4Machs,
11374 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
11375 aHpux_C99_Inttypes4Tests, apzHpux_C99_Inttypes4Patch, 0 },
11377 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11378 apzHpux_Ctype_MacrosMachs,
11379 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11380 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11382 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11383 apzHpux_Extern_ErrnoMachs,
11384 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11385 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11387 { zHpux_HtonlName, zHpux_HtonlList,
11388 apzHpux_HtonlMachs,
11389 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11390 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11392 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11393 apzHpux_Imaginary_IMachs,
11394 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11395 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11397 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11398 apzHpux_Inttype_Int8_TMachs,
11399 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11400 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11402 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11403 apzHpux_Long_DoubleMachs,
11404 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11405 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11407 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11408 apzHpux_Long_Double_2Machs,
11409 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11410 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11412 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11413 apzHpux_Pthread_InitializersMachs,
11414 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11415 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11417 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11418 apzHpux_Spu_InfoMachs,
11419 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11420 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11422 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11423 apzHpux_Stdint_Least_FastMachs,
11424 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11425 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11427 { zHpux_LongjmpName, zHpux_LongjmpList,
11428 apzHpux_LongjmpMachs,
11429 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11430 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11432 { zHpux_SystimeName, zHpux_SystimeList,
11433 apzHpux_SystimeMachs,
11434 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11435 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11437 { zHuge_Val_HexName, zHuge_Val_HexList,
11438 apzHuge_Val_HexMachs,
11439 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11440 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11442 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11443 apzHuge_Valf_HexMachs,
11444 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11445 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11447 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11448 apzHuge_Vall_HexMachs,
11449 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11450 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11452 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11453 apzInt_Abort_Free_And_ExitMachs,
11454 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11455 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11457 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11458 apzIo_Quotes_DefMachs,
11459 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11460 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11462 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11463 apzIo_Quotes_UseMachs,
11464 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11465 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11467 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11468 apzIp_Missing_SemiMachs,
11469 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11470 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11472 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11473 apzIrix_Limits_ConstMachs,
11474 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11475 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11477 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11478 apzIrix_Stdio_Va_ListMachs,
11479 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11480 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11482 { zKandr_ConcatName, zKandr_ConcatList,
11483 apzKandr_ConcatMachs,
11484 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11485 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11487 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11488 apzLinux_Ia64_UcontextMachs,
11489 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11490 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11492 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11493 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11494 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11495 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11497 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11498 apzLynxos_Missing_PutenvMachs,
11499 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11500 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11502 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11503 apzMachine_Ansi_H_Va_ListMachs,
11504 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11505 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11507 { zMachine_NameName, zMachine_NameList,
11508 apzMachine_NameMachs,
11509 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11510 aMachine_NameTests, apzMachine_NamePatch, 0 },
11512 { zMath_ExceptionName, zMath_ExceptionList,
11513 apzMath_ExceptionMachs,
11514 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11515 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11517 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11518 apzMath_Huge_Val_From_Dbl_MaxMachs,
11519 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11520 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11522 { zNested_Auth_DesName, zNested_Auth_DesList,
11523 apzNested_Auth_DesMachs,
11524 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11525 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11527 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11528 apzNetbsd_C99_Inline_1Machs,
11529 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11530 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11532 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11533 apzNetbsd_C99_Inline_2Machs,
11534 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11535 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11537 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11538 apzNetbsd_Extra_SemicolonMachs,
11539 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11540 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11542 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11543 apzNewlib_Stdint_1Machs,
11544 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11545 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11547 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11548 apzNewlib_Stdint_2Machs,
11549 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11550 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11552 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11553 apzNext_Math_PrefixMachs,
11554 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11555 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11557 { zNext_TemplateName, zNext_TemplateList,
11558 apzNext_TemplateMachs,
11559 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11560 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11562 { zNext_VolitileName, zNext_VolitileList,
11563 apzNext_VolitileMachs,
11564 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11565 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11567 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11568 apzNext_Wait_UnionMachs,
11569 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11570 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11572 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11573 apzNodeent_SyntaxMachs,
11574 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11575 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11577 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11578 apzOpenbsd_Null_DefinitionMachs,
11579 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11580 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11582 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11583 apzObstack_Lvalue_CastMachs,
11584 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11585 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11587 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11588 apzOpenbsd_Va_StartMachs,
11589 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11590 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11592 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11593 apzOsf_Namespace_AMachs,
11594 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11595 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11597 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11598 apzOsf_Namespace_CMachs,
11599 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11600 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11602 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11603 apzPthread_Incomplete_Struct_ArgumentMachs,
11604 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11605 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11607 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11608 apzRead_Ret_TypeMachs,
11609 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11610 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11612 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11613 apzRpc_Xdr_Lvalue_Cast_AMachs,
11614 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11615 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11617 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11618 apzRpc_Xdr_Lvalue_Cast_BMachs,
11619 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11620 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11622 { zRs6000_DoubleName, zRs6000_DoubleList,
11623 apzRs6000_DoubleMachs,
11624 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11625 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11627 { zRs6000_FchmodName, zRs6000_FchmodList,
11628 apzRs6000_FchmodMachs,
11629 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11630 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11632 { zRs6000_ParamName, zRs6000_ParamList,
11633 apzRs6000_ParamMachs,
11634 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11635 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11637 { zSolaris___RestrictName, zSolaris___RestrictList,
11638 apzSolaris___RestrictMachs,
11639 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11640 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11642 { zSolaris_ComplexName, zSolaris_ComplexList,
11643 apzSolaris_ComplexMachs,
11644 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11645 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11647 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11648 apzSolaris_Complex_CxxMachs,
11649 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11650 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11652 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11653 apzSolaris_Cxx_LinkageMachs,
11654 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11655 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11657 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11658 apzSolaris_Getc_Strict_StdcMachs,
11659 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11660 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11662 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11663 apzSolaris_Gets_C11Machs,
11664 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11665 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11667 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11668 apzSolaris_Gets_Cxx14Machs,
11669 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11670 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11672 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11673 apzSolaris_Int_ConstMachs,
11674 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11675 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11677 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11678 apzSolaris_Int_Limits_1Machs,
11679 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11680 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11682 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11683 apzSolaris_Int_Limits_2Machs,
11684 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11685 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11687 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11688 apzSolaris_Int_Limits_3Machs,
11689 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11690 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11692 { zSolaris_Math_1Name, zSolaris_Math_1List,
11693 apzSolaris_Math_1Machs,
11694 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11695 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11697 { zSolaris_Math_10Name, zSolaris_Math_10List,
11698 apzSolaris_Math_10Machs,
11699 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11700 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11702 { zSolaris_Math_2Name, zSolaris_Math_2List,
11703 apzSolaris_Math_2Machs,
11704 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11705 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11707 { zSolaris_Math_3Name, zSolaris_Math_3List,
11708 apzSolaris_Math_3Machs,
11709 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11710 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11712 { zSolaris_Math_4Name, zSolaris_Math_4List,
11713 apzSolaris_Math_4Machs,
11714 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11715 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11717 { zSolaris_Math_8Name, zSolaris_Math_8List,
11718 apzSolaris_Math_8Machs,
11719 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11720 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11722 { zSolaris_Math_9Name, zSolaris_Math_9List,
11723 apzSolaris_Math_9Machs,
11724 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11725 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11727 { zSolaris_Math_11Name, zSolaris_Math_11List,
11728 apzSolaris_Math_11Machs,
11729 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11730 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11732 { zSolaris_Math_12Name, zSolaris_Math_12List,
11733 apzSolaris_Math_12Machs,
11734 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11735 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11737 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11738 apzSolaris_Once_Init_1Machs,
11739 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11740 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11742 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11743 apzSolaris_Posix_Spawn_RestrictMachs,
11744 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11745 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11747 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11748 apzSolaris_Pow_Int_OverloadMachs,
11749 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11750 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11752 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11753 apzSolaris_Rwlock_Init_1Machs,
11754 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11755 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11757 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11758 apzSolaris_Std___FilbufMachs,
11759 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11760 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11762 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11763 apzSolaris_Std_Gets_Cxx14Machs,
11764 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11765 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11767 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11768 apzSolaris_Stdio_TagMachs,
11769 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11770 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11772 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11773 apzSolaris_Stdlib_NoreturnMachs,
11774 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11775 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11777 { zStatsswtchName, zStatsswtchList,
11778 apzStatsswtchMachs,
11779 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11780 aStatsswtchTests, apzStatsswtchPatch, 0 },
11782 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11783 apzStdio_Stdarg_HMachs,
11784 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11785 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11787 { zStdio_Va_ListName, zStdio_Va_ListList,
11788 apzStdio_Va_ListMachs,
11789 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11790 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11792 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11793 apzStdio_Va_List_ClientsMachs,
11794 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11795 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11797 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11798 apzStrict_Ansi_NotMachs,
11799 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11800 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11802 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11803 apzStrict_Ansi_Not_CtdMachs,
11804 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11805 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11807 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11808 apzStrict_Ansi_OnlyMachs,
11809 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11810 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11812 { zStruct_FileName, zStruct_FileList,
11813 apzStruct_FileMachs,
11814 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11815 aStruct_FileTests, apzStruct_FilePatch, 0 },
11817 { zStruct_SockaddrName, zStruct_SockaddrList,
11818 apzStruct_SockaddrMachs,
11819 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11820 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11822 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11823 apzSun_Auth_ProtoMachs,
11824 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11825 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11827 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11828 apzSun_Bogus_IfdefMachs,
11829 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11830 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11832 { zSun_CatmacroName, zSun_CatmacroList,
11833 apzSun_CatmacroMachs,
11834 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11835 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11837 { zSun_MallocName, zSun_MallocList,
11838 apzSun_MallocMachs,
11839 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11840 aSun_MallocTests, apzSun_MallocPatch, 0 },
11842 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11843 apzSun_Rusers_SemiMachs,
11844 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11845 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11847 { zSun_SignalName, zSun_SignalList,
11848 apzSun_SignalMachs,
11849 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11850 aSun_SignalTests, apzSun_SignalPatch, 0 },
11852 { zSunos_StrlenName, zSunos_StrlenList,
11853 apzSunos_StrlenMachs,
11854 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11855 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11857 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11858 apzSuse_Linux_Vt_CxxMachs,
11859 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11860 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11862 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11863 apzSvr4_Disable_OptMachs,
11864 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11865 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11867 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11868 apzSvr4_GetcwdMachs,
11869 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11870 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11872 { zSvr4_ProfilName, zSvr4_ProfilList,
11873 apzSvr4_ProfilMachs,
11874 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11875 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11877 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11878 apzSvr4_Sighandler_TypeMachs,
11879 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11880 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11882 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11883 apzSvr4_Undeclared_GetrngeMachs,
11884 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11885 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11887 { zSysv68_StringName, zSysv68_StringList,
11888 apzSysv68_StringMachs,
11889 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11890 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11892 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11893 apzSysz_Stdlib_For_SunMachs,
11894 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11895 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11897 { zThread_KeywordName, zThread_KeywordList,
11898 apzThread_KeywordMachs,
11899 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11900 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11902 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11903 apzTinfo_CplusplusMachs,
11904 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11905 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11907 { zUltrix_ConstName, zUltrix_ConstList,
11908 apzUltrix_ConstMachs,
11909 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11910 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11912 { zUltrix_Const2Name, zUltrix_Const2List,
11913 apzUltrix_Const2Machs,
11914 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11915 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11917 { zVa_I960_MacroName, zVa_I960_MacroList,
11918 apzVa_I960_MacroMachs,
11919 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11920 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11922 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11923 apzVms_Add_Missing_BracesMachs,
11924 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11925 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11927 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11928 apzVms_Decc_BuiltinMachs,
11929 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11930 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11932 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11933 apzVms_Define_Can_Use_Extern_PrefixMachs,
11934 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11935 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11937 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11938 apzVms_Disable_Decc_String_BuiltinsMachs,
11939 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11940 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11942 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11943 apzVms_Do_Not_Redeclare_HostaliasMachs,
11944 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11945 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11947 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11948 apzVms_Forward_Declare_StructMachs,
11949 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11950 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11952 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11953 apzVms_No_64bit_GetoptMachs,
11954 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11955 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11957 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11958 apzVms_Use_Fast_SetjmpMachs,
11959 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11960 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11962 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11963 apzVms_Use_Pragma_Extern_ModelMachs,
11964 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11965 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11967 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11968 apzVms_Use_Quoted_IncludeMachs,
11969 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11970 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11972 { zVoid_NullName, zVoid_NullList,
11974 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11975 aVoid_NullTests, apzVoid_NullPatch, 0 },
11977 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11978 apzVxworks_Gcc_ProblemMachs,
11979 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11980 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11982 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11983 apzVxworks_Ioctl_MacroMachs,
11984 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11985 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11987 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11988 apzVxworks_Mkdir_MacroMachs,
11989 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11990 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11992 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11993 apzVxworks_Needs_VxtypesMachs,
11994 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11995 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11997 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11998 apzVxworks_Needs_VxworksMachs,
11999 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
12000 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
12002 { zVxworks_RegsName, zVxworks_RegsList,
12003 apzVxworks_RegsMachs,
12004 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12005 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
12007 { zVxworks_TimeName, zVxworks_TimeList,
12008 apzVxworks_TimeMachs,
12009 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12010 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
12012 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
12013 apzVxworks_Write_ConstMachs,
12014 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12015 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
12017 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
12018 apzVxworks_Iolib_Include_UnistdMachs,
12019 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12020 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
12022 { zX11_ClassName, zX11_ClassList,
12024 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12025 aX11_ClassTests, apzX11_ClassPatch, 0 },
12027 { zX11_Class_UsageName, zX11_Class_UsageList,
12028 apzX11_Class_UsageMachs,
12029 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12030 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
12032 { zX11_NewName, zX11_NewList,
12034 X11_NEW_TEST_CT, FD_MACH_ONLY,
12035 aX11_NewTests, apzX11_NewPatch, 0 },
12037 { zX11_SprintfName, zX11_SprintfList,
12038 apzX11_SprintfMachs,
12039 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12040 aX11_SprintfTests, apzX11_SprintfPatch, 0 }