1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed October 21, 2020 at 10:43:22 AM by AutoGen 5.18.16
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Wed Oct 21 10:43:22 EDT 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 260 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_Inttypes fix
890 tSCC zAix_InttypesName[] =
894 * File name selection pattern
896 tSCC zAix_InttypesList[] =
899 * Machine/OS name selection pattern
901 tSCC* apzAix_InttypesMachs[] = {
906 * content selection pattern - do fix if pattern found
908 tSCC zAix_InttypesSelect0[] =
909 "#if !defined\\(__cplusplus\\) \\|\\| defined\\(__STDC_FORMAT_MACROS\\)";
911 #define AIX_INTTYPES_TEST_CT 1
912 static tTestDesc aAix_InttypesTests[] = {
913 { TT_EGREP, zAix_InttypesSelect0, (regex_t*)NULL }, };
916 * Fix Command Arguments for Aix_Inttypes
918 static const char* apzAix_InttypesPatch[] = {
923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
925 * Description of Aix_Malloc fix
927 tSCC zAix_MallocName[] =
931 * File name selection pattern
933 tSCC zAix_MallocList[] =
936 * Machine/OS name selection pattern
938 tSCC* apzAix_MallocMachs[] = {
943 * content selection pattern - do fix if pattern found
945 tSCC zAix_MallocSelect0[] =
946 "#ifdef __cplusplus\n\
948 [ \t]extern \"builtin\" char \\*__alloca \\(size_t\\);";
950 #define AIX_MALLOC_TEST_CT 1
951 static tTestDesc aAix_MallocTests[] = {
952 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
955 * Fix Command Arguments for Aix_Malloc
957 static const char* apzAix_MallocPatch[] = {
959 "#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
961 \textern \"builtin\" char *__alloca (size_t);",
964 /* * * * * * * * * * * * * * * * * * * * * * * * * *
966 * Description of Aix_Net_If_Arp fix
968 tSCC zAix_Net_If_ArpName[] =
972 * File name selection pattern
974 tSCC zAix_Net_If_ArpList[] =
977 * Machine/OS name selection pattern
979 tSCC* apzAix_Net_If_ArpMachs[] = {
984 * content selection pattern - do fix if pattern found
986 tSCC zAix_Net_If_ArpSelect0[] =
987 "^struct fc_softc \\{";
989 #define AIX_NET_IF_ARP_TEST_CT 1
990 static tTestDesc aAix_Net_If_ArpTests[] = {
991 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
994 * Fix Command Arguments for Aix_Net_If_Arp
996 static const char* apzAix_Net_If_ArpPatch[] = {
998 "typedef struct _fc_softc {",
1001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1003 * Description of Aix_Null fix
1005 tSCC zAix_NullName[] =
1009 * File name selection pattern
1011 tSCC zAix_NullList[] =
1012 "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";
1014 * Machine/OS name selection pattern
1016 tSCC* apzAix_NullMachs[] = {
1018 (const char*)NULL };
1021 * content selection pattern - do fix if pattern found
1023 tSCC zAix_NullSelect0[] =
1024 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
1027 * content bypass pattern - skip fix if pattern found
1029 tSCC zAix_NullBypass0[] =
1032 #define AIX_NULL_TEST_CT 2
1033 static tTestDesc aAix_NullTests[] = {
1034 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
1035 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
1038 * Fix Command Arguments for Aix_Null
1040 static const char* apzAix_NullPatch[] = {
1043 #ifdef __cplusplus\n\
1045 #define NULL __null\n\
1046 #else /* ! __GNUG__ */\n\
1048 #endif /* __GNUG__ */\n\
1049 #else /* ! __cplusplus */\n\
1050 #define NULL ((void *)0)\n\
1051 #endif /* __cplusplus */\n\
1052 #endif /* !NULL */",
1055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1057 * Description of Aix_Once_Init_1 fix
1059 tSCC zAix_Once_Init_1Name[] =
1063 * File name selection pattern
1065 tSCC zAix_Once_Init_1List[] =
1068 * Machine/OS name selection pattern
1070 tSCC* apzAix_Once_Init_1Machs[] = {
1072 (const char*)NULL };
1075 * content selection pattern - do fix if pattern found
1077 tSCC zAix_Once_Init_1Select0[] =
1078 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1081 #define AIX_ONCE_INIT_1_TEST_CT 1
1082 static tTestDesc aAix_Once_Init_1Tests[] = {
1083 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1086 * Fix Command Arguments for Aix_Once_Init_1
1088 static const char* apzAix_Once_Init_1Patch[] = {
1090 "#define PTHREAD_ONCE_INIT \\\n\
1094 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1096 * Description of Aix_Once_Init_2 fix
1098 tSCC zAix_Once_Init_2Name[] =
1102 * File name selection pattern
1104 tSCC zAix_Once_Init_2List[] =
1107 * Machine/OS name selection pattern
1109 tSCC* apzAix_Once_Init_2Machs[] = {
1111 (const char*)NULL };
1114 * content selection pattern - do fix if pattern found
1116 tSCC zAix_Once_Init_2Select0[] =
1120 #define AIX_ONCE_INIT_2_TEST_CT 1
1121 static tTestDesc aAix_Once_Init_2Tests[] = {
1122 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1125 * Fix Command Arguments for Aix_Once_Init_2
1127 static const char* apzAix_Once_Init_2Patch[] = {
1133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1135 * Description of Aix_Mutex_Initializer_1 fix
1137 tSCC zAix_Mutex_Initializer_1Name[] =
1138 "aix_mutex_initializer_1";
1141 * File name selection pattern
1143 tSCC zAix_Mutex_Initializer_1List[] =
1146 * Machine/OS name selection pattern
1148 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1150 (const char*)NULL };
1153 * content selection pattern - do fix if pattern found
1155 tSCC zAix_Mutex_Initializer_1Select0[] =
1156 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1159 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1160 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1161 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1164 * Fix Command Arguments for Aix_Mutex_Initializer_1
1166 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1168 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1174 * Description of Aix_Cond_Initializer_1 fix
1176 tSCC zAix_Cond_Initializer_1Name[] =
1177 "aix_cond_initializer_1";
1180 * File name selection pattern
1182 tSCC zAix_Cond_Initializer_1List[] =
1185 * Machine/OS name selection pattern
1187 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1189 (const char*)NULL };
1192 * content selection pattern - do fix if pattern found
1194 tSCC zAix_Cond_Initializer_1Select0[] =
1195 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1198 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1199 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1200 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1203 * Fix Command Arguments for Aix_Cond_Initializer_1
1205 static const char* apzAix_Cond_Initializer_1Patch[] = {
1207 "#define PTHREAD_COND_INITIALIZER \\\n\
1211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1213 * Description of Aix_Rwlock_Initializer_1 fix
1215 tSCC zAix_Rwlock_Initializer_1Name[] =
1216 "aix_rwlock_initializer_1";
1219 * File name selection pattern
1221 tSCC zAix_Rwlock_Initializer_1List[] =
1224 * Machine/OS name selection pattern
1226 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1228 (const char*)NULL };
1231 * content selection pattern - do fix if pattern found
1233 tSCC zAix_Rwlock_Initializer_1Select0[] =
1234 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1237 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1238 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1239 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1242 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1244 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1246 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1252 * Description of Aix_Physadr_T fix
1254 tSCC zAix_Physadr_TName[] =
1258 * File name selection pattern
1260 tSCC zAix_Physadr_TList[] =
1263 * Machine/OS name selection pattern
1265 tSCC* apzAix_Physadr_TMachs[] = {
1267 (const char*)NULL };
1270 * content selection pattern - do fix if pattern found
1272 tSCC zAix_Physadr_TSelect0[] =
1273 "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
1275 #define AIX_PHYSADR_T_TEST_CT 1
1276 static tTestDesc aAix_Physadr_TTests[] = {
1277 { TT_EGREP, zAix_Physadr_TSelect0, (regex_t*)NULL }, };
1280 * Fix Command Arguments for Aix_Physadr_T
1282 static const char* apzAix_Physadr_TPatch[] = {
1284 "typedef struct __physadr_s %1",
1287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1289 * Description of Aix_Pthread fix
1291 tSCC zAix_PthreadName[] =
1295 * File name selection pattern
1297 tSCC zAix_PthreadList[] =
1300 * Machine/OS name selection pattern
1302 #define apzAix_PthreadMachs (const char**)NULL
1305 * content selection pattern - do fix if pattern found
1307 tSCC zAix_PthreadSelect0[] =
1308 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1312 #define AIX_PTHREAD_TEST_CT 1
1313 static tTestDesc aAix_PthreadTests[] = {
1314 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1317 * Fix Command Arguments for Aix_Pthread
1319 static const char* apzAix_PthreadPatch[] = {
1324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1326 * Description of Aix_Stdint_1 fix
1328 tSCC zAix_Stdint_1Name[] =
1332 * File name selection pattern
1334 tSCC zAix_Stdint_1List[] =
1335 "stdint-aix.h\0stdint.h\0";
1337 * Machine/OS name selection pattern
1339 tSCC* apzAix_Stdint_1Machs[] = {
1341 (const char*)NULL };
1344 * content selection pattern - do fix if pattern found
1346 tSCC zAix_Stdint_1Select0[] =
1347 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1348 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1350 #define AIX_STDINT_1_TEST_CT 1
1351 static tTestDesc aAix_Stdint_1Tests[] = {
1352 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1355 * Fix Command Arguments for Aix_Stdint_1
1357 static const char* apzAix_Stdint_1Patch[] = {
1359 "#define UINT8_MAX\t(255)\n\
1360 #define UINT16_MAX\t(65535)",
1363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1365 * Description of Aix_Stdint_2 fix
1367 tSCC zAix_Stdint_2Name[] =
1371 * File name selection pattern
1373 tSCC zAix_Stdint_2List[] =
1374 "stdint-aix.h\0stdint.h\0";
1376 * Machine/OS name selection pattern
1378 tSCC* apzAix_Stdint_2Machs[] = {
1380 (const char*)NULL };
1383 * content selection pattern - do fix if pattern found
1385 tSCC zAix_Stdint_2Select0[] =
1386 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1387 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1388 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1390 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1391 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1392 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1394 #define AIX_STDINT_2_TEST_CT 1
1395 static tTestDesc aAix_Stdint_2Tests[] = {
1396 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1399 * Fix Command Arguments for Aix_Stdint_2
1401 static const char* apzAix_Stdint_2Patch[] = {
1403 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1404 #define INTPTR_MAX\t9223372036854775807L\n\
1405 #define UINTPTR_MAX\t18446744073709551615UL\n\
1407 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1408 #define INTPTR_MAX\t2147483647L\n\
1409 #define UINTPTR_MAX\t4294967295UL",
1412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1414 * Description of Aix_Stdint_3 fix
1416 tSCC zAix_Stdint_3Name[] =
1420 * File name selection pattern
1422 tSCC zAix_Stdint_3List[] =
1423 "stdint-aix.h\0stdint.h\0";
1425 * Machine/OS name selection pattern
1427 tSCC* apzAix_Stdint_3Machs[] = {
1429 (const char*)NULL };
1432 * content selection pattern - do fix if pattern found
1434 tSCC zAix_Stdint_3Select0[] =
1435 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1436 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1438 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1439 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1441 #define AIX_STDINT_3_TEST_CT 1
1442 static tTestDesc aAix_Stdint_3Tests[] = {
1443 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1446 * Fix Command Arguments for Aix_Stdint_3
1448 static const char* apzAix_Stdint_3Patch[] = {
1450 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1451 #define PTRDIFF_MAX\t9223372036854775807L\n\
1453 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1454 #define PTRDIFF_MAX\t2147483647L",
1457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1459 * Description of Aix_Stdint_4 fix
1461 tSCC zAix_Stdint_4Name[] =
1465 * File name selection pattern
1467 tSCC zAix_Stdint_4List[] =
1468 "stdint-aix.h\0stdint.h\0";
1470 * Machine/OS name selection pattern
1472 tSCC* apzAix_Stdint_4Machs[] = {
1474 (const char*)NULL };
1477 * content selection pattern - do fix if pattern found
1479 tSCC zAix_Stdint_4Select0[] =
1480 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1482 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1484 #define AIX_STDINT_4_TEST_CT 1
1485 static tTestDesc aAix_Stdint_4Tests[] = {
1486 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1489 * Fix Command Arguments for Aix_Stdint_4
1491 static const char* apzAix_Stdint_4Patch[] = {
1493 "#define SIZE_MAX\t18446744073709551615UL\n\
1495 #define SIZE_MAX\t4294967295UL",
1498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1500 * Description of Aix_Stdint_5 fix
1502 tSCC zAix_Stdint_5Name[] =
1506 * File name selection pattern
1508 tSCC zAix_Stdint_5List[] =
1509 "stdint-aix.h\0stdint.h\0";
1511 * Machine/OS name selection pattern
1513 tSCC* apzAix_Stdint_5Machs[] = {
1515 (const char*)NULL };
1518 * content selection pattern - do fix if pattern found
1520 tSCC zAix_Stdint_5Select0[] =
1521 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1522 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1524 #define AIX_STDINT_5_TEST_CT 1
1525 static tTestDesc aAix_Stdint_5Tests[] = {
1526 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1529 * Fix Command Arguments for Aix_Stdint_5
1531 static const char* apzAix_Stdint_5Patch[] = {
1533 "#define UINT8_C(c)\tc\n\
1534 #define UINT16_C(c)\tc",
1537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1539 * Description of Aix_Stdio_Inline fix
1541 tSCC zAix_Stdio_InlineName[] =
1545 * File name selection pattern
1547 tSCC zAix_Stdio_InlineList[] =
1550 * Machine/OS name selection pattern
1552 tSCC* apzAix_Stdio_InlineMachs[] = {
1554 (const char*)NULL };
1557 * content selection pattern - do fix if pattern found
1559 tSCC zAix_Stdio_InlineSelect0[] =
1560 "#ifdef __cplusplus\\\n\
1565 #define AIX_STDIO_INLINE_TEST_CT 1
1566 static tTestDesc aAix_Stdio_InlineTests[] = {
1567 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1570 * Fix Command Arguments for Aix_Stdio_Inline
1572 static const char* apzAix_Stdio_InlinePatch[] = {
1574 "#ifdef __cplusplus\n\
1577 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1581 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1583 * Description of Aix_Stdlib_Malloc fix
1585 tSCC zAix_Stdlib_MallocName[] =
1586 "aix_stdlib_malloc";
1589 * File name selection pattern
1591 tSCC zAix_Stdlib_MallocList[] =
1594 * Machine/OS name selection pattern
1596 tSCC* apzAix_Stdlib_MallocMachs[] = {
1598 (const char*)NULL };
1601 * content selection pattern - do fix if pattern found
1603 tSCC zAix_Stdlib_MallocSelect0[] =
1604 "#define[ \t]+malloc[ \t]+__linux_malloc";
1606 #define AIX_STDLIB_MALLOC_TEST_CT 1
1607 static tTestDesc aAix_Stdlib_MallocTests[] = {
1608 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1611 * Fix Command Arguments for Aix_Stdlib_Malloc
1613 static const char* apzAix_Stdlib_MallocPatch[] = {
1615 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1620 * Description of Aix_Stdlib_Realloc fix
1622 tSCC zAix_Stdlib_ReallocName[] =
1623 "aix_stdlib_realloc";
1626 * File name selection pattern
1628 tSCC zAix_Stdlib_ReallocList[] =
1631 * Machine/OS name selection pattern
1633 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1635 (const char*)NULL };
1638 * content selection pattern - do fix if pattern found
1640 tSCC zAix_Stdlib_ReallocSelect0[] =
1641 "#define[ \t]+realloc[ \t]+__linux_realloc";
1643 #define AIX_STDLIB_REALLOC_TEST_CT 1
1644 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1645 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1648 * Fix Command Arguments for Aix_Stdlib_Realloc
1650 static const char* apzAix_Stdlib_ReallocPatch[] = {
1652 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1657 * Description of Aix_Stdlib_Calloc fix
1659 tSCC zAix_Stdlib_CallocName[] =
1660 "aix_stdlib_calloc";
1663 * File name selection pattern
1665 tSCC zAix_Stdlib_CallocList[] =
1668 * Machine/OS name selection pattern
1670 tSCC* apzAix_Stdlib_CallocMachs[] = {
1672 (const char*)NULL };
1675 * content selection pattern - do fix if pattern found
1677 tSCC zAix_Stdlib_CallocSelect0[] =
1678 "#define[ \t]+calloc[ \t]+__linux_calloc";
1680 #define AIX_STDLIB_CALLOC_TEST_CT 1
1681 static tTestDesc aAix_Stdlib_CallocTests[] = {
1682 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1685 * Fix Command Arguments for Aix_Stdlib_Calloc
1687 static const char* apzAix_Stdlib_CallocPatch[] = {
1689 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1694 * Description of Aix_Stdlib_Valloc fix
1696 tSCC zAix_Stdlib_VallocName[] =
1697 "aix_stdlib_valloc";
1700 * File name selection pattern
1702 tSCC zAix_Stdlib_VallocList[] =
1705 * Machine/OS name selection pattern
1707 tSCC* apzAix_Stdlib_VallocMachs[] = {
1709 (const char*)NULL };
1712 * content selection pattern - do fix if pattern found
1714 tSCC zAix_Stdlib_VallocSelect0[] =
1715 "#define[ \t]+valloc[ \t]+__linux_valloc";
1717 #define AIX_STDLIB_VALLOC_TEST_CT 1
1718 static tTestDesc aAix_Stdlib_VallocTests[] = {
1719 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1722 * Fix Command Arguments for Aix_Stdlib_Valloc
1724 static const char* apzAix_Stdlib_VallocPatch[] = {
1726 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1731 * Description of Aix_Stdlib_Vec_Malloc fix
1733 tSCC zAix_Stdlib_Vec_MallocName[] =
1734 "aix_stdlib_vec_malloc";
1737 * File name selection pattern
1739 tSCC zAix_Stdlib_Vec_MallocList[] =
1742 * Machine/OS name selection pattern
1744 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1746 (const char*)NULL };
1749 * content selection pattern - do fix if pattern found
1751 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1752 "#define[ \t]+malloc[ \t]+vec_malloc";
1754 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1755 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1756 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1759 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1761 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1763 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1768 * Description of Aix_Stdlib_Vec_Calloc fix
1770 tSCC zAix_Stdlib_Vec_CallocName[] =
1771 "aix_stdlib_vec_calloc";
1774 * File name selection pattern
1776 tSCC zAix_Stdlib_Vec_CallocList[] =
1779 * Machine/OS name selection pattern
1781 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1783 (const char*)NULL };
1786 * content selection pattern - do fix if pattern found
1788 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1789 "#define[ \t]+calloc[ \t]+vec_calloc";
1791 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1792 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1793 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1796 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1798 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1800 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1805 * Description of Aix_Strtof_Const fix
1807 tSCC zAix_Strtof_ConstName[] =
1811 * File name selection pattern
1813 tSCC zAix_Strtof_ConstList[] =
1816 * Machine/OS name selection pattern
1818 tSCC* apzAix_Strtof_ConstMachs[] = {
1820 (const char*)NULL };
1823 * content selection pattern - do fix if pattern found
1825 tSCC zAix_Strtof_ConstSelect0[] =
1826 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1828 #define AIX_STRTOF_CONST_TEST_CT 1
1829 static tTestDesc aAix_Strtof_ConstTests[] = {
1830 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1833 * Fix Command Arguments for Aix_Strtof_Const
1835 static const char* apzAix_Strtof_ConstPatch[] = {
1837 "%1(const char *, char **);",
1840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1842 * Description of Aix_Sysmachine fix
1844 tSCC zAix_SysmachineName[] =
1848 * File name selection pattern
1850 tSCC zAix_SysmachineList[] =
1853 * Machine/OS name selection pattern
1855 tSCC* apzAix_SysmachineMachs[] = {
1857 (const char*)NULL };
1860 * content selection pattern - do fix if pattern found
1862 tSCC zAix_SysmachineSelect0[] =
1865 #define AIX_SYSMACHINE_TEST_CT 1
1866 static tTestDesc aAix_SysmachineTests[] = {
1867 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1870 * Fix Command Arguments for Aix_Sysmachine
1872 static const char* apzAix_SysmachinePatch[] = {
1877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1879 * Description of Aix_Syswait_2 fix
1881 tSCC zAix_Syswait_2Name[] =
1885 * File name selection pattern
1887 tSCC zAix_Syswait_2List[] =
1890 * Machine/OS name selection pattern
1892 tSCC* apzAix_Syswait_2Machs[] = {
1894 (const char*)NULL };
1897 * content selection pattern - do fix if pattern found
1899 tSCC zAix_Syswait_2Select0[] =
1900 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1902 #define AIX_SYSWAIT_2_TEST_CT 1
1903 static tTestDesc aAix_Syswait_2Tests[] = {
1904 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1907 * Fix Command Arguments for Aix_Syswait_2
1909 static const char* apzAix_Syswait_2Patch[] = {
1914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1916 * Description of Aix_Volatile fix
1918 tSCC zAix_VolatileName[] =
1922 * File name selection pattern
1924 tSCC zAix_VolatileList[] =
1927 * Machine/OS name selection pattern
1929 tSCC* apzAix_VolatileMachs[] = {
1931 (const char*)NULL };
1934 * content selection pattern - do fix if pattern found
1936 tSCC zAix_VolatileSelect0[] =
1937 "typedef volatile int sig_atomic_t";
1939 #define AIX_VOLATILE_TEST_CT 1
1940 static tTestDesc aAix_VolatileTests[] = {
1941 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1944 * Fix Command Arguments for Aix_Volatile
1946 static const char* apzAix_VolatilePatch[] = {
1948 "typedef int sig_atomic_t",
1951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1953 * Description of Aix_Unistd fix
1955 tSCC zAix_UnistdName[] =
1959 * File name selection pattern
1961 tSCC zAix_UnistdList[] =
1964 * Machine/OS name selection pattern
1966 tSCC* apzAix_UnistdMachs[] = {
1968 (const char*)NULL };
1971 * content selection pattern - do fix if pattern found
1973 tSCC zAix_UnistdSelect0[] =
1974 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1976 #define AIX_UNISTD_TEST_CT 1
1977 static tTestDesc aAix_UnistdTests[] = {
1978 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1981 * Fix Command Arguments for Aix_Unistd
1983 static const char* apzAix_UnistdPatch[] = {
1985 "\tstatic int\t\tgetdtablesize(void)",
1988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1990 * Description of Alpha___Assert fix
1992 tSCC zAlpha___AssertName[] =
1996 * File name selection pattern
1998 tSCC zAlpha___AssertList[] =
2001 * Machine/OS name selection pattern
2003 #define apzAlpha___AssertMachs (const char**)NULL
2006 * content selection pattern - do fix if pattern found
2008 tSCC zAlpha___AssertSelect0[] =
2009 "__assert\\(char \\*, char \\*, int\\)";
2011 #define ALPHA___ASSERT_TEST_CT 1
2012 static tTestDesc aAlpha___AssertTests[] = {
2013 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
2016 * Fix Command Arguments for Alpha___Assert
2018 static const char* apzAlpha___AssertPatch[] = {
2020 "__assert(const char *, const char *, int)",
2023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2025 * Description of Alpha_Assert fix
2027 tSCC zAlpha_AssertName[] =
2031 * File name selection pattern
2033 tSCC zAlpha_AssertList[] =
2036 * Machine/OS name selection pattern
2038 #define apzAlpha_AssertMachs (const char**)NULL
2041 * content selection pattern - do fix if pattern found
2043 tSCC zAlpha_AssertSelect0[] =
2044 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
2046 #define ALPHA_ASSERT_TEST_CT 1
2047 static tTestDesc aAlpha_AssertTests[] = {
2048 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
2051 * Fix Command Arguments for Alpha_Assert
2053 static const char* apzAlpha_AssertPatch[] = {
2058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2060 * Description of Alpha_Getopt fix
2062 tSCC zAlpha_GetoptName[] =
2066 * File name selection pattern
2068 tSCC zAlpha_GetoptList[] =
2069 "stdio.h\0stdlib.h\0";
2071 * Machine/OS name selection pattern
2073 #define apzAlpha_GetoptMachs (const char**)NULL
2076 * content selection pattern - do fix if pattern found
2078 tSCC zAlpha_GetoptSelect0[] =
2079 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
2081 #define ALPHA_GETOPT_TEST_CT 1
2082 static tTestDesc aAlpha_GetoptTests[] = {
2083 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
2086 * Fix Command Arguments for Alpha_Getopt
2088 static const char* apzAlpha_GetoptPatch[] = {
2090 "getopt(int, char *const[], const char *)",
2093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2095 * Description of Alpha_If_Semicolon fix
2097 tSCC zAlpha_If_SemicolonName[] =
2098 "alpha_if_semicolon";
2101 * File name selection pattern
2103 tSCC zAlpha_If_SemicolonList[] =
2106 * Machine/OS name selection pattern
2108 #define apzAlpha_If_SemicolonMachs (const char**)NULL
2111 * content selection pattern - do fix if pattern found
2113 tSCC zAlpha_If_SemicolonSelect0[] =
2114 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2116 #define ALPHA_IF_SEMICOLON_TEST_CT 1
2117 static tTestDesc aAlpha_If_SemicolonTests[] = {
2118 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
2121 * Fix Command Arguments for Alpha_If_Semicolon
2123 static const char* apzAlpha_If_SemicolonPatch[] = {
2125 "struct sockaddr vmif_paddr;\t/*",
2128 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2130 * Description of Alpha_Parens fix
2132 tSCC zAlpha_ParensName[] =
2136 * File name selection pattern
2138 tSCC zAlpha_ParensList[] =
2141 * Machine/OS name selection pattern
2143 #define apzAlpha_ParensMachs (const char**)NULL
2146 * content selection pattern - do fix if pattern found
2148 tSCC zAlpha_ParensSelect0[] =
2149 "#ifndef\\(__mips64\\)";
2151 #define ALPHA_PARENS_TEST_CT 1
2152 static tTestDesc aAlpha_ParensTests[] = {
2153 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2156 * Fix Command Arguments for Alpha_Parens
2158 static const char* apzAlpha_ParensPatch[] = {
2163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2165 * Description of Alpha_Sbrk fix
2167 tSCC zAlpha_SbrkName[] =
2171 * File name selection pattern
2173 tSCC zAlpha_SbrkList[] =
2176 * Machine/OS name selection pattern
2178 #define apzAlpha_SbrkMachs (const char**)NULL
2181 * content selection pattern - do fix if pattern found
2183 tSCC zAlpha_SbrkSelect0[] =
2184 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2186 #define ALPHA_SBRK_TEST_CT 1
2187 static tTestDesc aAlpha_SbrkTests[] = {
2188 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2191 * Fix Command Arguments for Alpha_Sbrk
2193 static const char* apzAlpha_SbrkPatch[] = {
2198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2200 * Description of Avoid_Bool_Define fix
2202 tSCC zAvoid_Bool_DefineName[] =
2203 "avoid_bool_define";
2206 * File name selection pattern
2208 tSCC zAvoid_Bool_DefineList[] =
2209 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2211 * Machine/OS name selection pattern
2213 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2216 * content selection pattern - do fix if pattern found
2218 tSCC zAvoid_Bool_DefineSelect0[] =
2219 "#[ \t]*define[ \t]+bool[ \t]";
2222 * content bypass pattern - skip fix if pattern found
2224 tSCC zAvoid_Bool_DefineBypass0[] =
2227 #define AVOID_BOOL_DEFINE_TEST_CT 2
2228 static tTestDesc aAvoid_Bool_DefineTests[] = {
2229 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2230 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2233 * Fix Command Arguments for Avoid_Bool_Define
2235 static const char* apzAvoid_Bool_DefinePatch[] = {
2237 "#ifndef __cplusplus\n\
2240 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2245 * Description of Avoid_Bool_Type fix
2247 tSCC zAvoid_Bool_TypeName[] =
2251 * File name selection pattern
2253 tSCC zAvoid_Bool_TypeList[] =
2254 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2256 * Machine/OS name selection pattern
2258 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2261 * content selection pattern - do fix if pattern found
2263 tSCC zAvoid_Bool_TypeSelect0[] =
2264 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2267 * content bypass pattern - skip fix if pattern found
2269 tSCC zAvoid_Bool_TypeBypass0[] =
2272 #define AVOID_BOOL_TYPE_TEST_CT 2
2273 static tTestDesc aAvoid_Bool_TypeTests[] = {
2274 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2275 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2278 * Fix Command Arguments for Avoid_Bool_Type
2280 static const char* apzAvoid_Bool_TypePatch[] = {
2282 "#ifndef __cplusplus\n\
2287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2289 * Description of Avoid_Wchar_T_Type fix
2291 tSCC zAvoid_Wchar_T_TypeName[] =
2292 "avoid_wchar_t_type";
2295 * File name selection pattern
2297 #define zAvoid_Wchar_T_TypeList (char*)NULL
2299 * Machine/OS name selection pattern
2301 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2304 * content selection pattern - do fix if pattern found
2306 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2307 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2310 * content bypass pattern - skip fix if pattern found
2312 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2314 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2316 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2317 "XFree86: xc/lib/X11/Xlib\\.h";
2319 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2320 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2321 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2322 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2323 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2324 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2327 * Fix Command Arguments for Avoid_Wchar_T_Type
2329 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2331 "#ifndef __cplusplus\n\
2336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2338 * Description of Bad_Struct_Term fix
2340 tSCC zBad_Struct_TermName[] =
2344 * File name selection pattern
2346 tSCC zBad_Struct_TermList[] =
2349 * Machine/OS name selection pattern
2351 #define apzBad_Struct_TermMachs (const char**)NULL
2354 * content selection pattern - do fix if pattern found
2356 tSCC zBad_Struct_TermSelect0[] =
2357 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2359 #define BAD_STRUCT_TERM_TEST_CT 1
2360 static tTestDesc aBad_Struct_TermTests[] = {
2361 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2364 * Fix Command Arguments for Bad_Struct_Term
2366 static const char* apzBad_Struct_TermPatch[] = {
2371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2373 * Description of Badquote fix
2375 tSCC zBadquoteName[] =
2379 * File name selection pattern
2381 tSCC zBadquoteList[] =
2382 "sundev/vuid_event.h\0";
2384 * Machine/OS name selection pattern
2386 #define apzBadquoteMachs (const char**)NULL
2389 * content selection pattern - do fix if pattern found
2391 tSCC zBadquoteSelect0[] =
2394 #define BADQUOTE_TEST_CT 1
2395 static tTestDesc aBadquoteTests[] = {
2396 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2399 * Fix Command Arguments for Badquote
2401 static const char* apzBadquotePatch[] = {
2406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2408 * Description of Broken_Assert_Stdio fix
2410 tSCC zBroken_Assert_StdioName[] =
2411 "broken_assert_stdio";
2414 * File name selection pattern
2416 tSCC zBroken_Assert_StdioList[] =
2419 * Machine/OS name selection pattern
2421 #define apzBroken_Assert_StdioMachs (const char**)NULL
2424 * content selection pattern - do fix if pattern found
2426 tSCC zBroken_Assert_StdioSelect0[] =
2430 * content bypass pattern - skip fix if pattern found
2432 tSCC zBroken_Assert_StdioBypass0[] =
2433 "include.*stdio\\.h";
2435 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2436 static tTestDesc aBroken_Assert_StdioTests[] = {
2437 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2438 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2441 * Fix Command Arguments for Broken_Assert_Stdio
2443 static const char* apzBroken_Assert_StdioPatch[] = {
2445 "#include <stdio.h>\n",
2448 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2450 * Description of Broken_Assert_Stdlib fix
2452 tSCC zBroken_Assert_StdlibName[] =
2453 "broken_assert_stdlib";
2456 * File name selection pattern
2458 tSCC zBroken_Assert_StdlibList[] =
2461 * Machine/OS name selection pattern
2463 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2466 * content selection pattern - do fix if pattern found
2468 tSCC zBroken_Assert_StdlibSelect0[] =
2469 "exit *\\(|abort *\\(";
2472 * content bypass pattern - skip fix if pattern found
2474 tSCC zBroken_Assert_StdlibBypass0[] =
2475 "include.*stdlib\\.h";
2477 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2478 static tTestDesc aBroken_Assert_StdlibTests[] = {
2479 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2480 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2483 * Fix Command Arguments for Broken_Assert_Stdlib
2485 static const char* apzBroken_Assert_StdlibPatch[] = {
2487 "#ifdef __cplusplus\n\
2488 #include <stdlib.h>\n\
2492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2494 * Description of Broken_Cabs fix
2496 tSCC zBroken_CabsName[] =
2500 * File name selection pattern
2502 tSCC zBroken_CabsList[] =
2503 "math.h\0architecture/*/math.h\0";
2505 * Machine/OS name selection pattern
2507 #define apzBroken_CabsMachs (const char**)NULL
2510 * content selection pattern - do fix if pattern found
2512 tSCC zBroken_CabsSelect0[] =
2513 "^extern[ \t]+double[ \t]+cabs";
2515 #define BROKEN_CABS_TEST_CT 1
2516 static tTestDesc aBroken_CabsTests[] = {
2517 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2520 * Fix Command Arguments for Broken_Cabs
2522 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2523 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2524 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2529 * Description of Broken_Nan fix
2531 tSCC zBroken_NanName[] =
2535 * File name selection pattern
2537 tSCC zBroken_NanList[] =
2538 "architecture/ppc/math.h\0architecture/*/math.h\0";
2540 * Machine/OS name selection pattern
2542 #define apzBroken_NanMachs (const char**)NULL
2545 * content selection pattern - do fix if pattern found
2547 tSCC zBroken_NanSelect0[] =
2548 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2551 * content bypass pattern - skip fix if pattern found
2553 tSCC zBroken_NanBypass0[] =
2556 #define BROKEN_NAN_TEST_CT 2
2557 static tTestDesc aBroken_NanTests[] = {
2558 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2559 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2562 * Fix Command Arguments for Broken_Nan
2564 static const char* apzBroken_NanPatch[] = {
2569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2571 * Description of Bsd_Stdio_Attrs_Conflict fix
2573 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2574 "bsd_stdio_attrs_conflict";
2577 * File name selection pattern
2579 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2582 * Machine/OS name selection pattern
2584 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2587 (const char*)NULL };
2590 * content selection pattern - do fix if pattern found
2592 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2593 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2595 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2596 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2597 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2600 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2602 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2604 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2605 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2606 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2609 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2611 * Description of Ctrl_Quotes_Def fix
2613 tSCC zCtrl_Quotes_DefName[] =
2617 * File name selection pattern
2619 #define zCtrl_Quotes_DefList (char*)NULL
2621 * Machine/OS name selection pattern
2623 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2626 * content selection pattern - do fix if pattern found
2628 tSCC zCtrl_Quotes_DefSelect0[] =
2629 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2631 #define CTRL_QUOTES_DEF_TEST_CT 1
2632 static tTestDesc aCtrl_Quotes_DefTests[] = {
2633 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2636 * Fix Command Arguments for Ctrl_Quotes_Def
2638 static const char* apzCtrl_Quotes_DefPatch[] = {
2643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2645 * Description of Ctrl_Quotes_Use fix
2647 tSCC zCtrl_Quotes_UseName[] =
2651 * File name selection pattern
2653 #define zCtrl_Quotes_UseList (char*)NULL
2655 * Machine/OS name selection pattern
2657 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2660 * content selection pattern - do fix if pattern found
2662 tSCC zCtrl_Quotes_UseSelect0[] =
2663 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2665 #define CTRL_QUOTES_USE_TEST_CT 1
2666 static tTestDesc aCtrl_Quotes_UseTests[] = {
2667 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2670 * Fix Command Arguments for Ctrl_Quotes_Use
2672 static const char* apzCtrl_Quotes_UsePatch[] = {
2677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2679 * Description of Cxx_Unready fix
2681 tSCC zCxx_UnreadyName[] =
2685 * File name selection pattern
2687 tSCC zCxx_UnreadyList[] =
2688 "sys/mman.h\0rpc/types.h\0";
2690 * Machine/OS name selection pattern
2692 #define apzCxx_UnreadyMachs (const char**)NULL
2695 * content selection pattern - do fix if pattern found
2697 tSCC zCxx_UnreadySelect0[] =
2701 * content bypass pattern - skip fix if pattern found
2703 tSCC zCxx_UnreadyBypass0[] =
2704 "\"C\"|__BEGIN_DECLS";
2706 #define CXX_UNREADY_TEST_CT 2
2707 static tTestDesc aCxx_UnreadyTests[] = {
2708 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2709 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2712 * Fix Command Arguments for Cxx_Unready
2714 static const char* apzCxx_UnreadyPatch[] = {
2716 "#ifdef __cplusplus\n\
2719 "#ifdef __cplusplus\n\
2724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2726 * Description of Darwin_Availabilityinternal fix
2728 tSCC zDarwin_AvailabilityinternalName[] =
2729 "darwin_availabilityinternal";
2732 * File name selection pattern
2734 tSCC zDarwin_AvailabilityinternalList[] =
2735 "AvailabilityInternal.h\0";
2737 * Machine/OS name selection pattern
2739 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2741 (const char*)NULL };
2744 * content selection pattern - do fix if pattern found
2746 tSCC zDarwin_AvailabilityinternalSelect0[] =
2747 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2749 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2750 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2751 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2754 * Fix Command Arguments for Darwin_Availabilityinternal
2756 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2758 "#if defined(__has_attribute)\n\
2759 #if __has_attribute(availability)\n\
2769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2771 * Description of Darwin_9_Long_Double_Funcs_2 fix
2773 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2774 "darwin_9_long_double_funcs_2";
2777 * File name selection pattern
2779 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2782 * Machine/OS name selection pattern
2784 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2786 (const char*)NULL };
2789 * content selection pattern - do fix if pattern found
2791 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2792 "#include[ \\t]+\\\"";
2794 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2795 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2796 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2799 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2801 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2804 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2809 * Description of Darwin_Externc fix
2811 tSCC zDarwin_ExterncName[] =
2815 * File name selection pattern
2817 tSCC zDarwin_ExterncList[] =
2818 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2820 * Machine/OS name selection pattern
2822 tSCC* apzDarwin_ExterncMachs[] = {
2824 (const char*)NULL };
2827 * content bypass pattern - skip fix if pattern found
2829 tSCC zDarwin_ExterncBypass0[] =
2831 tSCC zDarwin_ExterncBypass1[] =
2834 #define DARWIN_EXTERNC_TEST_CT 2
2835 static tTestDesc aDarwin_ExterncTests[] = {
2836 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2837 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2840 * Fix Command Arguments for Darwin_Externc
2842 static const char* apzDarwin_ExterncPatch[] = {
2844 "#ifdef __cplusplus\n\
2847 "#ifdef __cplusplus\n\
2852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2854 * Description of Darwin_Gcc4_Breakage fix
2856 tSCC zDarwin_Gcc4_BreakageName[] =
2857 "darwin_gcc4_breakage";
2860 * File name selection pattern
2862 tSCC zDarwin_Gcc4_BreakageList[] =
2863 "AvailabilityMacros.h\0";
2865 * Machine/OS name selection pattern
2867 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2869 (const char*)NULL };
2872 * content selection pattern - do fix if pattern found
2874 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2875 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2877 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2878 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2879 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2882 * Fix Command Arguments for Darwin_Gcc4_Breakage
2884 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2886 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2891 * Description of Darwin_Ll_Funcs_Avail fix
2893 tSCC zDarwin_Ll_Funcs_AvailName[] =
2894 "darwin_ll_funcs_avail";
2897 * File name selection pattern
2899 tSCC zDarwin_Ll_Funcs_AvailList[] =
2900 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2902 * Machine/OS name selection pattern
2904 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2906 (const char*)NULL };
2909 * content selection pattern - do fix if pattern found
2911 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2912 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2914 #define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2915 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2916 { TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2919 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2921 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2922 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2927 * Description of Darwin_Longjmp_Noreturn fix
2929 tSCC zDarwin_Longjmp_NoreturnName[] =
2930 "darwin_longjmp_noreturn";
2933 * File name selection pattern
2935 tSCC zDarwin_Longjmp_NoreturnList[] =
2938 * Machine/OS name selection pattern
2940 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2942 (const char*)NULL };
2945 * content selection pattern - do fix if pattern found
2947 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2948 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2951 * content bypass pattern - skip fix if pattern found
2953 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2956 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2957 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2958 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2959 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2962 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2964 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2966 "%1 __attribute__ ((__noreturn__));",
2969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2971 * Description of Darwin_Os_Trace_1 fix
2973 tSCC zDarwin_Os_Trace_1Name[] =
2974 "darwin_os_trace_1";
2977 * File name selection pattern
2979 tSCC zDarwin_Os_Trace_1List[] =
2982 * Machine/OS name selection pattern
2984 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2986 (const char*)NULL };
2989 * content selection pattern - do fix if pattern found
2991 tSCC zDarwin_Os_Trace_1Select0[] =
2992 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2994 #define DARWIN_OS_TRACE_1_TEST_CT 1
2995 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2996 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2999 * Fix Command Arguments for Darwin_Os_Trace_1
3001 static const char* apzDarwin_Os_Trace_1Patch[] = {
3006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3008 * Description of Darwin_Os_Trace_2 fix
3010 tSCC zDarwin_Os_Trace_2Name[] =
3011 "darwin_os_trace_2";
3014 * File name selection pattern
3016 tSCC zDarwin_Os_Trace_2List[] =
3019 * Machine/OS name selection pattern
3021 tSCC* apzDarwin_Os_Trace_2Machs[] = {
3023 (const char*)NULL };
3026 * content selection pattern - do fix if pattern found
3028 tSCC zDarwin_Os_Trace_2Select0[] =
3029 "typedef.*\\^os_trace_payload_t.*";
3031 #define DARWIN_OS_TRACE_2_TEST_CT 1
3032 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
3033 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
3036 * Fix Command Arguments for Darwin_Os_Trace_2
3038 static const char* apzDarwin_Os_Trace_2Patch[] = {
3045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3047 * Description of Darwin_Os_Trace_3 fix
3049 tSCC zDarwin_Os_Trace_3Name[] =
3050 "darwin_os_trace_3";
3053 * File name selection pattern
3055 tSCC zDarwin_Os_Trace_3List[] =
3058 * Machine/OS name selection pattern
3060 tSCC* apzDarwin_Os_Trace_3Machs[] = {
3062 (const char*)NULL };
3065 * content selection pattern - do fix if pattern found
3067 tSCC zDarwin_Os_Trace_3Select0[] =
3071 _os_trace.*os_trace_payload_t payload);";
3073 #define DARWIN_OS_TRACE_3_TEST_CT 1
3074 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
3075 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
3078 * Fix Command Arguments for Darwin_Os_Trace_3
3080 static const char* apzDarwin_Os_Trace_3Patch[] = {
3087 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3089 * Description of Darwin_Os_Base_1 fix
3091 tSCC zDarwin_Os_Base_1Name[] =
3095 * File name selection pattern
3097 tSCC zDarwin_Os_Base_1List[] =
3100 * Machine/OS name selection pattern
3102 tSCC* apzDarwin_Os_Base_1Machs[] = {
3104 (const char*)NULL };
3107 * content selection pattern - do fix if pattern found
3109 tSCC zDarwin_Os_Base_1Select0[] =
3110 "#define __has_attribute.*\n\
3113 #define DARWIN_OS_BASE_1_TEST_CT 1
3114 static tTestDesc aDarwin_Os_Base_1Tests[] = {
3115 { TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
3118 * Fix Command Arguments for Darwin_Os_Base_1
3120 static const char* apzDarwin_Os_Base_1Patch[] = {
3123 #ifndef __has_extension\n\
3124 #define __has_extension(x) 0\n\
3128 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3130 * Description of Darwin_Dispatch_Object_1 fix
3132 tSCC zDarwin_Dispatch_Object_1Name[] =
3133 "darwin_dispatch_object_1";
3136 * File name selection pattern
3138 tSCC zDarwin_Dispatch_Object_1List[] =
3139 "dispatch/object.h\0";
3141 * Machine/OS name selection pattern
3143 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3145 (const char*)NULL };
3148 * content selection pattern - do fix if pattern found
3150 tSCC zDarwin_Dispatch_Object_1Select0[] =
3151 "typedef void.*\\^dispatch_block_t.*";
3153 #define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
3154 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3155 { TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3158 * Fix Command Arguments for Darwin_Dispatch_Object_1
3160 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3167 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3169 * Description of Darwin_Private_Extern fix
3171 tSCC zDarwin_Private_ExternName[] =
3172 "darwin_private_extern";
3175 * File name selection pattern
3177 tSCC zDarwin_Private_ExternList[] =
3180 * Machine/OS name selection pattern
3182 tSCC* apzDarwin_Private_ExternMachs[] = {
3184 (const char*)NULL };
3187 * content selection pattern - do fix if pattern found
3189 tSCC zDarwin_Private_ExternSelect0[] =
3190 "__private_extern__ [a-z_]+ _dyld_";
3192 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3193 static tTestDesc aDarwin_Private_ExternTests[] = {
3194 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3197 * Fix Command Arguments for Darwin_Private_Extern
3199 static const char* apzDarwin_Private_ExternPatch[] = {
3202 "__private_extern__",
3205 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3207 * Description of Darwin_Stdint_1 fix
3209 tSCC zDarwin_Stdint_1Name[] =
3213 * File name selection pattern
3215 tSCC zDarwin_Stdint_1List[] =
3216 "stdint-darwin.h\0stdint.h\0";
3218 * Machine/OS name selection pattern
3220 tSCC* apzDarwin_Stdint_1Machs[] = {
3222 (const char*)NULL };
3225 * content selection pattern - do fix if pattern found
3227 tSCC zDarwin_Stdint_1Select0[] =
3228 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3229 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3231 #define DARWIN_STDINT_1_TEST_CT 1
3232 static tTestDesc aDarwin_Stdint_1Tests[] = {
3233 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3236 * Fix Command Arguments for Darwin_Stdint_1
3238 static const char* apzDarwin_Stdint_1Patch[] = {
3240 "#define UINT8_C(v)\tv\n\
3241 #define UINT16_C(v)\tv",
3244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3246 * Description of Darwin_Stdint_2 fix
3248 tSCC zDarwin_Stdint_2Name[] =
3252 * File name selection pattern
3254 tSCC zDarwin_Stdint_2List[] =
3255 "stdint-darwin.h\0stdint.h\0";
3257 * Machine/OS name selection pattern
3259 tSCC* apzDarwin_Stdint_2Machs[] = {
3261 (const char*)NULL };
3264 * content selection pattern - do fix if pattern found
3266 tSCC zDarwin_Stdint_2Select0[] =
3267 "#if __WORDSIZE == 64\n\
3268 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3269 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3271 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3272 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3275 #define DARWIN_STDINT_2_TEST_CT 1
3276 static tTestDesc aDarwin_Stdint_2Tests[] = {
3277 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3280 * Fix Command Arguments for Darwin_Stdint_2
3282 static const char* apzDarwin_Stdint_2Patch[] = {
3284 "#if __WORDSIZE == 64\n\
3285 #define INTPTR_MAX 9223372036854775807L\n\
3286 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3288 #define INTPTR_MAX 2147483647L\n\
3289 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3295 * Description of Darwin_Stdint_3 fix
3297 tSCC zDarwin_Stdint_3Name[] =
3301 * File name selection pattern
3303 tSCC zDarwin_Stdint_3List[] =
3304 "stdint-darwin.h\0stdint.h\0";
3306 * Machine/OS name selection pattern
3308 tSCC* apzDarwin_Stdint_3Machs[] = {
3310 (const char*)NULL };
3313 * content selection pattern - do fix if pattern found
3315 tSCC zDarwin_Stdint_3Select0[] =
3316 "#if __WORDSIZE == 64\n\
3317 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3319 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3322 #define DARWIN_STDINT_3_TEST_CT 1
3323 static tTestDesc aDarwin_Stdint_3Tests[] = {
3324 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3327 * Fix Command Arguments for Darwin_Stdint_3
3329 static const char* apzDarwin_Stdint_3Patch[] = {
3331 "#if __WORDSIZE == 64\n\
3332 #define UINTPTR_MAX 18446744073709551615UL\n\
3334 #define UINTPTR_MAX 4294967295UL\n\
3338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3340 * Description of Darwin_Stdint_4 fix
3342 tSCC zDarwin_Stdint_4Name[] =
3346 * File name selection pattern
3348 tSCC zDarwin_Stdint_4List[] =
3349 "stdint-darwin.h\0stdint.h\0";
3351 * Machine/OS name selection pattern
3353 tSCC* apzDarwin_Stdint_4Machs[] = {
3355 (const char*)NULL };
3358 * content selection pattern - do fix if pattern found
3360 tSCC zDarwin_Stdint_4Select0[] =
3361 "#if __WORDSIZE == 64\n\
3362 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3364 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3367 #define DARWIN_STDINT_4_TEST_CT 1
3368 static tTestDesc aDarwin_Stdint_4Tests[] = {
3369 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3372 * Fix Command Arguments for Darwin_Stdint_4
3374 static const char* apzDarwin_Stdint_4Patch[] = {
3376 "#if __WORDSIZE == 64\n\
3377 #define SIZE_MAX 18446744073709551615UL\n\
3379 #define SIZE_MAX 4294967295UL\n\
3383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3385 * Description of Darwin_Stdint_5 fix
3387 tSCC zDarwin_Stdint_5Name[] =
3391 * File name selection pattern
3393 tSCC zDarwin_Stdint_5List[] =
3394 "stdint-darwin.h\0stdint.h\0";
3396 * Machine/OS name selection pattern
3398 tSCC* apzDarwin_Stdint_5Machs[] = {
3400 (const char*)NULL };
3403 * content selection pattern - do fix if pattern found
3405 tSCC zDarwin_Stdint_5Select0[] =
3406 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3407 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3408 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3410 #define DARWIN_STDINT_5_TEST_CT 1
3411 static tTestDesc aDarwin_Stdint_5Tests[] = {
3412 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3415 * Fix Command Arguments for Darwin_Stdint_5
3417 static const char* apzDarwin_Stdint_5Patch[] = {
3419 "#if __WORDSIZE == 64\n\
3420 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3421 #define INTMAX_MAX 9223372036854775807L\n\
3422 #define UINTMAX_MAX 18446744073709551615UL\n\
3424 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3425 #define INTMAX_MAX 9223372036854775807LL\n\
3426 #define UINTMAX_MAX 18446744073709551615ULL\n\
3430 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3432 * Description of Darwin_Stdint_6 fix
3434 tSCC zDarwin_Stdint_6Name[] =
3438 * File name selection pattern
3440 tSCC zDarwin_Stdint_6List[] =
3441 "stdint-darwin.h\0stdint.h\0";
3443 * Machine/OS name selection pattern
3445 tSCC* apzDarwin_Stdint_6Machs[] = {
3447 (const char*)NULL };
3450 * content selection pattern - do fix if pattern found
3452 tSCC zDarwin_Stdint_6Select0[] =
3453 "#if __WORDSIZE == 64\n\
3454 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3455 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3457 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3458 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3461 #define DARWIN_STDINT_6_TEST_CT 1
3462 static tTestDesc aDarwin_Stdint_6Tests[] = {
3463 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3466 * Fix Command Arguments for Darwin_Stdint_6
3468 static const char* apzDarwin_Stdint_6Patch[] = {
3470 "#if __WORDSIZE == 64\n\
3471 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3472 #define PTRDIFF_MAX 9223372036854775807L\n\
3474 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3475 #define PTRDIFF_MAX 2147483647\n\
3479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3481 * Description of Darwin_Stdint_7 fix
3483 tSCC zDarwin_Stdint_7Name[] =
3487 * File name selection pattern
3489 tSCC zDarwin_Stdint_7List[] =
3490 "stdint-darwin.h\0stdint.h\0";
3492 * Machine/OS name selection pattern
3494 tSCC* apzDarwin_Stdint_7Machs[] = {
3496 (const char*)NULL };
3499 * content selection pattern - do fix if pattern found
3501 tSCC zDarwin_Stdint_7Select0[] =
3502 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3503 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3505 #define DARWIN_STDINT_7_TEST_CT 1
3506 static tTestDesc aDarwin_Stdint_7Tests[] = {
3507 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3510 * Fix Command Arguments for Darwin_Stdint_7
3512 static const char* apzDarwin_Stdint_7Patch[] = {
3514 "#if __WORDSIZE == 64\n\
3515 #define INTMAX_C(v) (v ## L)\n\
3516 #define UINTMAX_C(v) (v ## UL)\n\
3518 #define INTMAX_C(v) (v ## LL)\n\
3519 #define UINTMAX_C(v) (v ## ULL)\n\
3523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3525 * Description of Darwin_Ucred__Atomic fix
3527 tSCC zDarwin_Ucred__AtomicName[] =
3528 "darwin_ucred__Atomic";
3531 * File name selection pattern
3533 tSCC zDarwin_Ucred__AtomicList[] =
3536 * Machine/OS name selection pattern
3538 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3540 (const char*)NULL };
3543 * content selection pattern - do fix if pattern found
3545 tSCC zDarwin_Ucred__AtomicSelect0[] =
3548 #define DARWIN_UCRED__ATOMIC_TEST_CT 1
3549 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3550 { TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3553 * Fix Command Arguments for Darwin_Ucred__Atomic
3555 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3557 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3558 # define _Atomic volatile\n\
3560 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3567 * Description of Dec_Intern_Asm fix
3569 tSCC zDec_Intern_AsmName[] =
3573 * File name selection pattern
3575 tSCC zDec_Intern_AsmList[] =
3578 * Machine/OS name selection pattern
3580 #define apzDec_Intern_AsmMachs (const char**)NULL
3581 #define DEC_INTERN_ASM_TEST_CT 0
3582 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3585 * Fix Command Arguments for Dec_Intern_Asm
3587 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3588 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3590 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3596 * Description of Djgpp_Wchar_H fix
3598 tSCC zDjgpp_Wchar_HName[] =
3602 * File name selection pattern
3604 #define zDjgpp_Wchar_HList (char*)NULL
3606 * Machine/OS name selection pattern
3608 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3611 * content selection pattern - do fix if pattern found
3613 tSCC zDjgpp_Wchar_HSelect0[] =
3617 * content bypass pattern - skip fix if pattern found
3619 tSCC zDjgpp_Wchar_HBypass0[] =
3622 #define DJGPP_WCHAR_H_TEST_CT 2
3623 static tTestDesc aDjgpp_Wchar_HTests[] = {
3624 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3625 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3628 * Fix Command Arguments for Djgpp_Wchar_H
3630 static const char* apzDjgpp_Wchar_HPatch[] = {
3633 #include <sys/djtypes.h>",
3634 "#include <stddef.h>",
3637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3639 * Description of Ecd_Cursor fix
3641 tSCC zEcd_CursorName[] =
3645 * File name selection pattern
3647 tSCC zEcd_CursorList[] =
3648 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3650 * Machine/OS name selection pattern
3652 #define apzEcd_CursorMachs (const char**)NULL
3655 * content selection pattern - do fix if pattern found
3657 tSCC zEcd_CursorSelect0[] =
3660 #define ECD_CURSOR_TEST_CT 1
3661 static tTestDesc aEcd_CursorTests[] = {
3662 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3665 * Fix Command Arguments for Ecd_Cursor
3667 static const char* apzEcd_CursorPatch[] = {
3672 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3674 * Description of Feraiseexcept_Nosse_Divbyzero fix
3676 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3677 "feraiseexcept_nosse_divbyzero";
3680 * File name selection pattern
3682 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3683 "bits/fenv.h\0*/bits/fenv.h\0";
3685 * Machine/OS name selection pattern
3687 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3688 "i[34567]86-*-linux*",
3691 (const char*)NULL };
3694 * content selection pattern - do fix if pattern found
3696 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3697 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3700 * content bypass pattern - skip fix if pattern found
3702 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3703 "\"fdivp .*; fwait\"";
3705 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3706 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3707 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3708 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3711 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3713 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3715 "# ifdef __SSE_MATH__\n\
3718 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3719 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3725 * Description of Feraiseexcept_Nosse_Invalid fix
3727 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3728 "feraiseexcept_nosse_invalid";
3731 * File name selection pattern
3733 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3734 "bits/fenv.h\0*/bits/fenv.h\0";
3736 * Machine/OS name selection pattern
3738 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3739 "i[34567]86-*-linux*",
3742 (const char*)NULL };
3745 * content selection pattern - do fix if pattern found
3747 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3748 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3751 * content bypass pattern - skip fix if pattern found
3753 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3754 "\"fdiv .*; fwait\"";
3756 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3757 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3758 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3759 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3762 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3764 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3766 "# ifdef __SSE_MATH__\n\
3769 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3770 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3776 * Description of Freebsd_Gcc3_Breakage fix
3778 tSCC zFreebsd_Gcc3_BreakageName[] =
3779 "freebsd_gcc3_breakage";
3782 * File name selection pattern
3784 tSCC zFreebsd_Gcc3_BreakageList[] =
3787 * Machine/OS name selection pattern
3789 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3791 (const char*)NULL };
3794 * content selection pattern - do fix if pattern found
3796 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3797 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3800 * content bypass pattern - skip fix if pattern found
3802 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3803 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3805 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3806 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3807 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3808 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3811 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3813 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3815 "%0 || __GNUC__ >= 3",
3818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3820 * Description of Freebsd_Gcc4_Breakage fix
3822 tSCC zFreebsd_Gcc4_BreakageName[] =
3823 "freebsd_gcc4_breakage";
3826 * File name selection pattern
3828 tSCC zFreebsd_Gcc4_BreakageList[] =
3831 * Machine/OS name selection pattern
3833 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3835 (const char*)NULL };
3838 * content selection pattern - do fix if pattern found
3840 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3841 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3843 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3844 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3845 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3848 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3850 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3852 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3857 * Description of Glibc_C99_Inline_1 fix
3859 tSCC zGlibc_C99_Inline_1Name[] =
3860 "glibc_c99_inline_1";
3863 * File name selection pattern
3865 tSCC zGlibc_C99_Inline_1List[] =
3866 "features.h\0*/features.h\0";
3868 * Machine/OS name selection pattern
3870 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3873 * content selection pattern - do fix if pattern found
3875 tSCC zGlibc_C99_Inline_1Select0[] =
3876 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3878 #define GLIBC_C99_INLINE_1_TEST_CT 1
3879 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3880 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3883 * Fix Command Arguments for Glibc_C99_Inline_1
3885 static const char* apzGlibc_C99_Inline_1Patch[] = {
3887 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3892 * Description of Glibc_C99_Inline_1a fix
3894 tSCC zGlibc_C99_Inline_1aName[] =
3895 "glibc_c99_inline_1a";
3898 * File name selection pattern
3900 tSCC zGlibc_C99_Inline_1aList[] =
3901 "features.h\0*/features.h\0";
3903 * Machine/OS name selection pattern
3905 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3908 * content selection pattern - do fix if pattern found
3910 tSCC zGlibc_C99_Inline_1aSelect0[] =
3911 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3912 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3914 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3915 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3916 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3919 * Fix Command Arguments for Glibc_C99_Inline_1a
3921 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3923 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3929 * Description of Glibc_C99_Inline_2 fix
3931 tSCC zGlibc_C99_Inline_2Name[] =
3932 "glibc_c99_inline_2";
3935 * File name selection pattern
3937 tSCC zGlibc_C99_Inline_2List[] =
3938 "sys/stat.h\0*/sys/stat.h\0";
3940 * Machine/OS name selection pattern
3942 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3945 * content selection pattern - do fix if pattern found
3947 tSCC zGlibc_C99_Inline_2Select0[] =
3948 "extern __inline__ int";
3950 #define GLIBC_C99_INLINE_2_TEST_CT 1
3951 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3952 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3955 * Fix Command Arguments for Glibc_C99_Inline_2
3957 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3958 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3961 __inline__ int \\1/",
3962 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3965 __inline__ int \\1/",
3966 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3969 __inline__ int \\1/",
3970 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3973 __inline__ int __REDIRECT\\1 (\\2/",
3974 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3977 __inline__ int __REDIRECT\\1 (\\2/",
3978 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3986 * Description of Glibc_C99_Inline_3 fix
3988 tSCC zGlibc_C99_Inline_3Name[] =
3989 "glibc_c99_inline_3";
3992 * File name selection pattern
3994 tSCC zGlibc_C99_Inline_3List[] =
3995 "bits/string2.h\0*/bits/string2.h\0";
3997 * Machine/OS name selection pattern
3999 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
4002 * content selection pattern - do fix if pattern found
4004 tSCC zGlibc_C99_Inline_3Select0[] =
4008 * content bypass pattern - skip fix if pattern found
4010 tSCC zGlibc_C99_Inline_3Bypass0[] =
4011 "__extern_inline|__GNU_STDC_INLINE__";
4013 #define GLIBC_C99_INLINE_3_TEST_CT 2
4014 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
4015 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
4016 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
4019 * Fix Command Arguments for Glibc_C99_Inline_3
4021 static const char* apzGlibc_C99_Inline_3Patch[] = {
4023 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
4024 "^# ifdef __cplusplus$",
4027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4029 * Description of Glibc_C99_Inline_4 fix
4031 tSCC zGlibc_C99_Inline_4Name[] =
4032 "glibc_c99_inline_4";
4035 * File name selection pattern
4037 tSCC zGlibc_C99_Inline_4List[] =
4038 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
4040 * Machine/OS name selection pattern
4042 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
4045 * content selection pattern - do fix if pattern found
4047 tSCC zGlibc_C99_Inline_4Select0[] =
4048 "(^| )extern __inline";
4051 * content bypass pattern - skip fix if pattern found
4053 tSCC zGlibc_C99_Inline_4Bypass0[] =
4054 "__extern_inline|__gnu_inline__";
4056 #define GLIBC_C99_INLINE_4_TEST_CT 2
4057 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
4058 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
4059 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
4062 * Fix Command Arguments for Glibc_C99_Inline_4
4064 static const char* apzGlibc_C99_Inline_4Patch[] = {
4066 "%0 __attribute__ ((__gnu_inline__))",
4069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4071 * Description of Glibc_Mutex_Init fix
4073 tSCC zGlibc_Mutex_InitName[] =
4077 * File name selection pattern
4079 tSCC zGlibc_Mutex_InitList[] =
4082 * Machine/OS name selection pattern
4084 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4087 * content selection pattern - do fix if pattern found
4089 tSCC zGlibc_Mutex_InitSelect0[] =
4090 "\\{ *\\{ *0, *\\} *\\}";
4092 #define GLIBC_MUTEX_INIT_TEST_CT 1
4093 static tTestDesc aGlibc_Mutex_InitTests[] = {
4094 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4097 * Fix Command Arguments for Glibc_Mutex_Init
4099 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4100 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4102 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4104 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4105 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4106 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4107 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4108 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4109 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4110 "-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\
4112 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4115 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4117 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4118 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4123 * Description of Glibc_Stdint fix
4125 tSCC zGlibc_StdintName[] =
4129 * File name selection pattern
4131 tSCC zGlibc_StdintList[] =
4134 * Machine/OS name selection pattern
4136 #define apzGlibc_StdintMachs (const char**)NULL
4139 * content selection pattern - do fix if pattern found
4141 tSCC zGlibc_StdintSelect0[] =
4144 #define GLIBC_STDINT_TEST_CT 1
4145 static tTestDesc aGlibc_StdintTests[] = {
4146 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4149 * Fix Command Arguments for Glibc_Stdint
4151 static const char* apzGlibc_StdintPatch[] = {
4153 "# define UINT8_C(c)\tc\n\
4154 # define UINT16_C(c)\tc",
4155 "# define UINT8_C\\(c\\)\tc ## U\n\
4156 # define UINT16_C\\(c\\)\tc ## U",
4159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4161 * Description of Glibc_Strncpy fix
4163 tSCC zGlibc_StrncpyName[] =
4167 * File name selection pattern
4169 tSCC zGlibc_StrncpyList[] =
4170 "bits/string2.h\0*/bits/string2.h\0";
4172 * Machine/OS name selection pattern
4174 #define apzGlibc_StrncpyMachs (const char**)NULL
4177 * content bypass pattern - skip fix if pattern found
4179 tSCC zGlibc_StrncpyBypass0[] =
4180 "__builtin_strncpy";
4182 #define GLIBC_STRNCPY_TEST_CT 1
4183 static tTestDesc aGlibc_StrncpyTests[] = {
4184 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4187 * Fix Command Arguments for Glibc_Strncpy
4189 static const char* apzGlibc_StrncpyPatch[] = {
4191 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4192 "# define strncpy([^\n\
4198 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4200 * Description of Glibc_Tgmath fix
4202 tSCC zGlibc_TgmathName[] =
4206 * File name selection pattern
4208 tSCC zGlibc_TgmathList[] =
4211 * Machine/OS name selection pattern
4213 #define apzGlibc_TgmathMachs (const char**)NULL
4216 * content selection pattern - do fix if pattern found
4218 tSCC zGlibc_TgmathSelect0[] =
4219 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4222 * content bypass pattern - skip fix if pattern found
4224 tSCC zGlibc_TgmathBypass0[] =
4225 "__floating_type\\(type\\) \\\\\n\
4226 .*__builtin_classify_type";
4228 #define GLIBC_TGMATH_TEST_CT 2
4229 static tTestDesc aGlibc_TgmathTests[] = {
4230 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4231 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4234 * Fix Command Arguments for Glibc_Tgmath
4236 static const char* apzGlibc_TgmathPatch[] = {
4238 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4243 * Description of Gnu_Types fix
4245 tSCC zGnu_TypesName[] =
4249 * File name selection pattern
4251 tSCC zGnu_TypesList[] =
4252 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4254 * Machine/OS name selection pattern
4256 tSCC* apzGnu_TypesMachs[] = {
4257 "*-*-solaris2.1[0-9]*",
4258 (const char*)NULL };
4261 * content selection pattern - do fix if pattern found
4263 tSCC zGnu_TypesSelect0[] =
4264 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4267 * content bypass pattern - skip fix if pattern found
4269 tSCC zGnu_TypesBypass0[] =
4270 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4272 #define GNU_TYPES_TEST_CT 2
4273 static tTestDesc aGnu_TypesTests[] = {
4274 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4275 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4278 * Fix Command Arguments for Gnu_Types
4280 static const char* apzGnu_TypesPatch[] = {
4284 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4286 * Description of Hp_Inline fix
4288 tSCC zHp_InlineName[] =
4292 * File name selection pattern
4294 tSCC zHp_InlineList[] =
4295 "sys/spinlock.h\0machine/machparam.h\0";
4297 * Machine/OS name selection pattern
4299 #define apzHp_InlineMachs (const char**)NULL
4302 * content selection pattern - do fix if pattern found
4304 tSCC zHp_InlineSelect0[] =
4305 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4307 #define HP_INLINE_TEST_CT 1
4308 static tTestDesc aHp_InlineTests[] = {
4309 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4312 * Fix Command Arguments for Hp_Inline
4314 static const char* apzHp_InlinePatch[] = {
4317 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4322 * Description of Hp_Sysfile fix
4324 tSCC zHp_SysfileName[] =
4328 * File name selection pattern
4330 tSCC zHp_SysfileList[] =
4333 * Machine/OS name selection pattern
4335 #define apzHp_SysfileMachs (const char**)NULL
4338 * content selection pattern - do fix if pattern found
4340 tSCC zHp_SysfileSelect0[] =
4343 #define HP_SYSFILE_TEST_CT 1
4344 static tTestDesc aHp_SysfileTests[] = {
4345 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4348 * Fix Command Arguments for Hp_Sysfile
4350 static const char* apzHp_SysfilePatch[] = {
4352 "(struct file *, ...)",
4356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4358 * Description of Hppa_Hpux_Fp_Macros fix
4360 tSCC zHppa_Hpux_Fp_MacrosName[] =
4361 "hppa_hpux_fp_macros";
4364 * File name selection pattern
4366 tSCC zHppa_Hpux_Fp_MacrosList[] =
4369 * Machine/OS name selection pattern
4371 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4373 (const char*)NULL };
4376 * content selection pattern - do fix if pattern found
4378 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4379 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4380 #[ \t]*define[ \t]*FP_ZERO.*\n\
4381 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4382 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4383 #[ \t]*define[ \t]*FP_NAN.*\n";
4385 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4386 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4387 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4390 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4392 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4394 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4395 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4396 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4398 #ifdef _INCLUDE_HPUX_SOURCE\n",
4401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4403 * Description of Hpux10_Cpp_Pow_Inline fix
4405 tSCC zHpux10_Cpp_Pow_InlineName[] =
4406 "hpux10_cpp_pow_inline";
4409 * File name selection pattern
4411 tSCC zHpux10_Cpp_Pow_InlineList[] =
4412 "fixinc-test-limits.h\0math.h\0";
4414 * Machine/OS name selection pattern
4416 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4419 * content selection pattern - do fix if pattern found
4421 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4422 "^# +ifdef +__cplusplus\n\
4424 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4425 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4427 +extern +\"C\" +\\{\n\
4431 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4432 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4433 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4436 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4438 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4445 * Description of Hpux11_Cpp_Pow_Inline fix
4447 tSCC zHpux11_Cpp_Pow_InlineName[] =
4448 "hpux11_cpp_pow_inline";
4451 * File name selection pattern
4453 tSCC zHpux11_Cpp_Pow_InlineList[] =
4456 * Machine/OS name selection pattern
4458 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4461 * content selection pattern - do fix if pattern found
4463 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4464 " +inline double pow\\(double d,int expon\\) \\{\n\
4465 +return pow\\(d, \\(double\\)expon\\);\n\
4468 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4469 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4470 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4473 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4475 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4480 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4482 * Description of Hpux10_Ctype_Declarations1 fix
4484 tSCC zHpux10_Ctype_Declarations1Name[] =
4485 "hpux10_ctype_declarations1";
4488 * File name selection pattern
4490 tSCC zHpux10_Ctype_Declarations1List[] =
4493 * Machine/OS name selection pattern
4495 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4498 * content selection pattern - do fix if pattern found
4500 tSCC zHpux10_Ctype_Declarations1Select0[] =
4501 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4504 * content bypass pattern - skip fix if pattern found
4506 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4507 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4509 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4510 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4511 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4512 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4515 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4517 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4519 "#ifdef _PROTOTYPES\n\
4520 extern int __tolower(int);\n\
4521 extern int __toupper(int);\n\
4522 #else /* NOT _PROTOTYPES */\n\
4523 extern int __tolower();\n\
4524 extern int __toupper();\n\
4525 #endif /* _PROTOTYPES */\n\n\
4529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4531 * Description of Hpux10_Ctype_Declarations2 fix
4533 tSCC zHpux10_Ctype_Declarations2Name[] =
4534 "hpux10_ctype_declarations2";
4537 * File name selection pattern
4539 tSCC zHpux10_Ctype_Declarations2List[] =
4542 * Machine/OS name selection pattern
4544 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4547 * content selection pattern - do fix if pattern found
4549 tSCC zHpux10_Ctype_Declarations2Select0[] =
4550 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4553 * content bypass pattern - skip fix if pattern found
4555 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4556 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4558 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4559 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4560 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4561 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4564 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4566 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4569 #ifdef _PROTOTYPES\n\
4570 extern int _isalnum(int);\n\
4571 extern int _isalpha(int);\n\
4572 extern int _iscntrl(int);\n\
4573 extern int _isdigit(int);\n\
4574 extern int _isgraph(int);\n\
4575 extern int _islower(int);\n\
4576 extern int _isprint(int);\n\
4577 extern int _ispunct(int);\n\
4578 extern int _isspace(int);\n\
4579 extern int _isupper(int);\n\
4580 extern int _isxdigit(int);\n\
4581 # else /* not _PROTOTYPES */\n\
4582 extern int _isalnum();\n\
4583 extern int _isalpha();\n\
4584 extern int _iscntrl();\n\
4585 extern int _isdigit();\n\
4586 extern int _isgraph();\n\
4587 extern int _islower();\n\
4588 extern int _isprint();\n\
4589 extern int _ispunct();\n\
4590 extern int _isspace();\n\
4591 extern int _isupper();\n\
4592 extern int _isxdigit();\n\
4593 #endif /* _PROTOTYPES */\n",
4596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4598 * Description of Hpux10_Stdio_Declarations fix
4600 tSCC zHpux10_Stdio_DeclarationsName[] =
4601 "hpux10_stdio_declarations";
4604 * File name selection pattern
4606 tSCC zHpux10_Stdio_DeclarationsList[] =
4609 * Machine/OS name selection pattern
4611 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4614 * content selection pattern - do fix if pattern found
4616 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4617 "^#[ \t]*define _iob[ \t]*__iob";
4620 * content bypass pattern - skip fix if pattern found
4622 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4623 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4625 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4626 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4627 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4628 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4631 * Fix Command Arguments for Hpux10_Stdio_Declarations
4633 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4636 # if defined(__STDC__) || defined(__cplusplus)\n\
4637 extern int snprintf(char *, size_t, const char *, ...);\n\
4638 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4639 # else /* not __STDC__) || __cplusplus */\n\
4640 extern int snprintf();\n\
4641 extern int vsnprintf();\n\
4642 # endif /* __STDC__) || __cplusplus */\n",
4645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4647 * Description of Hppa_Hpux11_Alloca fix
4649 tSCC zHppa_Hpux11_AllocaName[] =
4650 "hppa_hpux11_alloca";
4653 * File name selection pattern
4655 tSCC zHppa_Hpux11_AllocaList[] =
4658 * Machine/OS name selection pattern
4660 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4662 (const char*)NULL };
4665 * content selection pattern - do fix if pattern found
4667 tSCC zHppa_Hpux11_AllocaSelect0[] =
4668 "#ifndef _STDDEF_INCLUDED";
4670 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4671 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4672 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4675 * Fix Command Arguments for Hppa_Hpux11_Alloca
4677 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4679 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4680 # include <sys/stdsyms.h>\n\
4681 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4687 * Description of Hpux11_Abs fix
4689 tSCC zHpux11_AbsName[] =
4693 * File name selection pattern
4695 tSCC zHpux11_AbsList[] =
4698 * Machine/OS name selection pattern
4700 tSCC* apzHpux11_AbsMachs[] = {
4702 (const char*)NULL };
4705 * content selection pattern - do fix if pattern found
4707 tSCC zHpux11_AbsSelect0[] =
4708 "ifndef _MATH_INCLUDED";
4710 #define HPUX11_ABS_TEST_CT 1
4711 static tTestDesc aHpux11_AbsTests[] = {
4712 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4715 * Fix Command Arguments for Hpux11_Abs
4717 static const char* apzHpux11_AbsPatch[] = {
4719 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4724 * Description of Hpux11_Lwp_Rwlock_Valid fix
4726 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4727 "hpux11_lwp_rwlock_valid";
4730 * File name selection pattern
4732 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4735 * Machine/OS name selection pattern
4737 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4739 (const char*)NULL };
4742 * content selection pattern - do fix if pattern found
4744 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4745 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4747 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4748 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4749 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4752 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4754 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4756 "#define __LWP_RWLOCK_VALID -29551",
4759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4761 * Description of Hpux11_Extern_Sendfile fix
4763 tSCC zHpux11_Extern_SendfileName[] =
4764 "hpux11_extern_sendfile";
4767 * File name selection pattern
4769 tSCC zHpux11_Extern_SendfileList[] =
4772 * Machine/OS name selection pattern
4774 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4775 "*-hp-hpux11.[12]*",
4776 (const char*)NULL };
4779 * content selection pattern - do fix if pattern found
4781 tSCC zHpux11_Extern_SendfileSelect0[] =
4782 "^[ \t]*extern sbsize_t sendfile.*\n\
4785 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4786 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4787 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4790 * Fix Command Arguments for Hpux11_Extern_Sendfile
4792 static const char* apzHpux11_Extern_SendfilePatch[] = {
4794 "#ifndef _APP32_64BIT_OFF_T\n\
4798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4800 * Description of Hpux11_Extern_Sendpath fix
4802 tSCC zHpux11_Extern_SendpathName[] =
4803 "hpux11_extern_sendpath";
4806 * File name selection pattern
4808 tSCC zHpux11_Extern_SendpathList[] =
4811 * Machine/OS name selection pattern
4813 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4814 "*-hp-hpux11.[12]*",
4815 (const char*)NULL };
4818 * content selection pattern - do fix if pattern found
4820 tSCC zHpux11_Extern_SendpathSelect0[] =
4821 "^[ \t]*extern sbsize_t sendpath.*\n\
4824 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4825 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4826 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4829 * Fix Command Arguments for Hpux11_Extern_Sendpath
4831 static const char* apzHpux11_Extern_SendpathPatch[] = {
4833 "#ifndef _APP32_64BIT_OFF_T\n\
4837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4839 * Description of Hpux11_Fabsf fix
4841 tSCC zHpux11_FabsfName[] =
4845 * File name selection pattern
4847 tSCC zHpux11_FabsfList[] =
4850 * Machine/OS name selection pattern
4852 tSCC* apzHpux11_FabsfMachs[] = {
4854 (const char*)NULL };
4857 * content selection pattern - do fix if pattern found
4859 tSCC zHpux11_FabsfSelect0[] =
4860 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4862 #define HPUX11_FABSF_TEST_CT 1
4863 static tTestDesc aHpux11_FabsfTests[] = {
4864 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4867 * Fix Command Arguments for Hpux11_Fabsf
4869 static const char* apzHpux11_FabsfPatch[] = {
4871 "#ifndef __cplusplus\n\
4876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4878 * Description of Hpux11_Pthread_Pointer fix
4880 tSCC zHpux11_Pthread_PointerName[] =
4881 "hpux11_pthread_pointer";
4884 * File name selection pattern
4886 tSCC zHpux11_Pthread_PointerList[] =
4889 * Machine/OS name selection pattern
4891 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4892 "*-hp-hpux11.[0-3]*",
4893 (const char*)NULL };
4896 * content selection pattern - do fix if pattern found
4898 tSCC zHpux11_Pthread_PointerSelect0[] =
4899 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4901 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4902 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4903 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4906 * Fix Command Arguments for Hpux11_Pthread_Pointer
4908 static const char* apzHpux11_Pthread_PointerPatch[] = {
4913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4915 * Description of Hpux11_Pthread_Const fix
4917 tSCC zHpux11_Pthread_ConstName[] =
4918 "hpux11_pthread_const";
4921 * File name selection pattern
4923 tSCC zHpux11_Pthread_ConstList[] =
4926 * Machine/OS name selection pattern
4928 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4929 "*-hp-hpux11.[0-3]*",
4930 (const char*)NULL };
4933 * content selection pattern - do fix if pattern found
4935 tSCC zHpux11_Pthread_ConstSelect0[] =
4936 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4938 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4939 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4940 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4943 * Fix Command Arguments for Hpux11_Pthread_Const
4945 static const char* apzHpux11_Pthread_ConstPatch[] = {
4950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4952 * Description of Hpux11_Size_T fix
4954 tSCC zHpux11_Size_TName[] =
4958 * File name selection pattern
4960 #define zHpux11_Size_TList (char*)NULL
4962 * Machine/OS name selection pattern
4964 tSCC* apzHpux11_Size_TMachs[] = {
4966 (const char*)NULL };
4969 * content selection pattern - do fix if pattern found
4971 tSCC zHpux11_Size_TSelect0[] =
4974 #define HPUX11_SIZE_T_TEST_CT 1
4975 static tTestDesc aHpux11_Size_TTests[] = {
4976 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4979 * Fix Command Arguments for Hpux11_Size_T
4981 static const char* apzHpux11_Size_TPatch[] = {
4986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4988 * Description of Hpux11_Snprintf fix
4990 tSCC zHpux11_SnprintfName[] =
4994 * File name selection pattern
4996 tSCC zHpux11_SnprintfList[] =
4999 * Machine/OS name selection pattern
5001 #define apzHpux11_SnprintfMachs (const char**)NULL
5004 * content selection pattern - do fix if pattern found
5006 tSCC zHpux11_SnprintfSelect0[] =
5007 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
5009 #define HPUX11_SNPRINTF_TEST_CT 1
5010 static tTestDesc aHpux11_SnprintfTests[] = {
5011 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
5014 * Fix Command Arguments for Hpux11_Snprintf
5016 static const char* apzHpux11_SnprintfPatch[] = {
5021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5023 * Description of Hpux11_Vsnprintf fix
5025 tSCC zHpux11_VsnprintfName[] =
5029 * File name selection pattern
5031 tSCC zHpux11_VsnprintfList[] =
5034 * Machine/OS name selection pattern
5036 #define apzHpux11_VsnprintfMachs (const char**)NULL
5039 * content selection pattern - do fix if pattern found
5041 tSCC zHpux11_VsnprintfSelect0[] =
5042 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
5044 #define HPUX11_VSNPRINTF_TEST_CT 1
5045 static tTestDesc aHpux11_VsnprintfTests[] = {
5046 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
5049 * Fix Command Arguments for Hpux11_Vsnprintf
5051 static const char* apzHpux11_VsnprintfPatch[] = {
5056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5058 * Description of Hpux_Vsscanf fix
5060 tSCC zHpux_VsscanfName[] =
5064 * File name selection pattern
5066 tSCC zHpux_VsscanfList[] =
5069 * Machine/OS name selection pattern
5071 tSCC* apzHpux_VsscanfMachs[] = {
5073 (const char*)NULL };
5076 * content selection pattern - do fix if pattern found
5078 tSCC zHpux_VsscanfSelect0[] =
5079 "(extern int vsscanf\\()char";
5081 #define HPUX_VSSCANF_TEST_CT 1
5082 static tTestDesc aHpux_VsscanfTests[] = {
5083 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5086 * Fix Command Arguments for Hpux_Vsscanf
5088 static const char* apzHpux_VsscanfPatch[] = {
5093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5095 * Description of Hpux8_Bogus_Inlines fix
5097 tSCC zHpux8_Bogus_InlinesName[] =
5098 "hpux8_bogus_inlines";
5101 * File name selection pattern
5103 tSCC zHpux8_Bogus_InlinesList[] =
5106 * Machine/OS name selection pattern
5108 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5111 * content selection pattern - do fix if pattern found
5113 tSCC zHpux8_Bogus_InlinesSelect0[] =
5117 * content bypass pattern - skip fix if pattern found
5119 tSCC zHpux8_Bogus_InlinesBypass0[] =
5122 #define HPUX8_BOGUS_INLINES_TEST_CT 2
5123 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5124 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5125 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5128 * Fix Command Arguments for Hpux8_Bogus_Inlines
5130 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5131 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5132 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5133 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5134 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5139 * Description of Hpux_C99_Intptr fix
5141 tSCC zHpux_C99_IntptrName[] =
5145 * File name selection pattern
5147 tSCC zHpux_C99_IntptrList[] =
5148 "stdint-hpux11.h\0stdint.h\0";
5150 * Machine/OS name selection pattern
5152 tSCC* apzHpux_C99_IntptrMachs[] = {
5154 (const char*)NULL };
5155 #define HPUX_C99_INTPTR_TEST_CT 0
5156 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5159 * Fix Command Arguments for Hpux_C99_Intptr
5161 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5162 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5163 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5164 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5165 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5166 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5167 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5172 * Description of Hpux_C99_Inttypes fix
5174 tSCC zHpux_C99_InttypesName[] =
5175 "hpux_c99_inttypes";
5178 * File name selection pattern
5180 tSCC zHpux_C99_InttypesList[] =
5181 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5183 * Machine/OS name selection pattern
5185 tSCC* apzHpux_C99_InttypesMachs[] = {
5186 "*-hp-hpux11.[23]*",
5187 (const char*)NULL };
5188 #define HPUX_C99_INTTYPES_TEST_CT 0
5189 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5192 * Fix Command Arguments for Hpux_C99_Inttypes
5194 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5195 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5196 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5197 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5198 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5203 * Description of Hpux_C99_Inttypes2 fix
5205 tSCC zHpux_C99_Inttypes2Name[] =
5206 "hpux_c99_inttypes2";
5209 * File name selection pattern
5211 tSCC zHpux_C99_Inttypes2List[] =
5212 "stdint-hpux11.h\0stdint.h\0";
5214 * Machine/OS name selection pattern
5216 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5218 (const char*)NULL };
5219 #define HPUX_C99_INTTYPES2_TEST_CT 0
5220 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5223 * Fix Command Arguments for Hpux_C99_Inttypes2
5225 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5226 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5227 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5228 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5229 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5234 * Description of Hpux_C99_Inttypes3 fix
5236 tSCC zHpux_C99_Inttypes3Name[] =
5237 "hpux_c99_inttypes3";
5240 * File name selection pattern
5242 tSCC zHpux_C99_Inttypes3List[] =
5245 * Machine/OS name selection pattern
5247 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5249 (const char*)NULL };
5252 * content selection pattern - do fix if pattern found
5254 tSCC zHpux_C99_Inttypes3Select0[] =
5255 "#define[ \t]INTPTR_MAX[ \t]*\n\
5256 #define[ \t]UINTPTR_MAX[ \t]*\n";
5258 #define HPUX_C99_INTTYPES3_TEST_CT 1
5259 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5260 { TT_EGREP, zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5263 * Fix Command Arguments for Hpux_C99_Inttypes3
5265 static const char* apzHpux_C99_Inttypes3Patch[] = {
5268 #define SIZE_MAX __SIZE_MAX__\n\
5269 #ifdef __INTPTR_MAX__\n\
5270 # undef INTPTR_MAX\n\
5271 # define INTPTR_MAX __INTPTR_MAX__\n\
5272 # undef INTPTR_MIN\n\
5273 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5275 #ifdef __UINTPTR_MAX__\n\
5276 # undef UINTPTR_MAX\n\
5277 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5283 * Description of Hpux_C99_Inttypes4 fix
5285 tSCC zHpux_C99_Inttypes4Name[] =
5286 "hpux_c99_inttypes4";
5289 * File name selection pattern
5291 tSCC zHpux_C99_Inttypes4List[] =
5294 * Machine/OS name selection pattern
5296 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5297 "hppa*-hp-hpux11.[01]*",
5298 (const char*)NULL };
5299 #define HPUX_C99_INTTYPES4_TEST_CT 0
5300 #define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5303 * Fix Command Arguments for Hpux_C99_Inttypes4
5305 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5306 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5307 #define SCNuMAX \t SCNu64\n",
5308 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5309 #define SCNuMAX \t SCNu32\n",
5312 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5314 * Description of Hpux_Ctype_Macros fix
5316 tSCC zHpux_Ctype_MacrosName[] =
5317 "hpux_ctype_macros";
5320 * File name selection pattern
5322 tSCC zHpux_Ctype_MacrosList[] =
5325 * Machine/OS name selection pattern
5327 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5330 * content selection pattern - do fix if pattern found
5332 tSCC zHpux_Ctype_MacrosSelect0[] =
5333 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5335 #define HPUX_CTYPE_MACROS_TEST_CT 1
5336 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5337 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5340 * Fix Command Arguments for Hpux_Ctype_Macros
5342 static const char* apzHpux_Ctype_MacrosPatch[] = {
5347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5349 * Description of Hpux_Extern_Errno fix
5351 tSCC zHpux_Extern_ErrnoName[] =
5352 "hpux_extern_errno";
5355 * File name selection pattern
5357 tSCC zHpux_Extern_ErrnoList[] =
5360 * Machine/OS name selection pattern
5362 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5364 "*-hp-hpux11.[0-2]*",
5365 (const char*)NULL };
5368 * content selection pattern - do fix if pattern found
5370 tSCC zHpux_Extern_ErrnoSelect0[] =
5371 "^[ \t]*extern int errno;$";
5373 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5374 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5375 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5378 * Fix Command Arguments for Hpux_Extern_Errno
5380 static const char* apzHpux_Extern_ErrnoPatch[] = {
5382 "#ifdef __cplusplus\n\
5386 #ifdef __cplusplus\n\
5391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5393 * Description of Hpux_Htonl fix
5395 tSCC zHpux_HtonlName[] =
5399 * File name selection pattern
5401 tSCC zHpux_HtonlList[] =
5404 * Machine/OS name selection pattern
5406 #define apzHpux_HtonlMachs (const char**)NULL
5409 * content selection pattern - do fix if pattern found
5411 tSCC zHpux_HtonlSelect0[] =
5412 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5414 \\* Macros for number representation conversion\\.\n\
5418 #define HPUX_HTONL_TEST_CT 1
5419 static tTestDesc aHpux_HtonlTests[] = {
5420 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5423 * Fix Command Arguments for Hpux_Htonl
5425 static const char* apzHpux_HtonlPatch[] = {
5431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5433 * Description of Hpux_Imaginary_I fix
5435 tSCC zHpux_Imaginary_IName[] =
5439 * File name selection pattern
5441 tSCC zHpux_Imaginary_IList[] =
5444 * Machine/OS name selection pattern
5446 tSCC* apzHpux_Imaginary_IMachs[] = {
5448 (const char*)NULL };
5451 * content selection pattern - do fix if pattern found
5453 tSCC zHpux_Imaginary_ISelect0[] =
5454 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5456 #define HPUX_IMAGINARY_I_TEST_CT 1
5457 static tTestDesc aHpux_Imaginary_ITests[] = {
5458 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5461 * Fix Command Arguments for Hpux_Imaginary_I
5463 static const char* apzHpux_Imaginary_IPatch[] = {
5465 "#define _Complex_I (__extension__ 1.0iF)",
5468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5470 * Description of Hpux_Inttype_Int8_T fix
5472 tSCC zHpux_Inttype_Int8_TName[] =
5473 "hpux_inttype_int8_t";
5476 * File name selection pattern
5478 tSCC zHpux_Inttype_Int8_TList[] =
5479 "sys/_inttypes.h\0";
5481 * Machine/OS name selection pattern
5483 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5485 (const char*)NULL };
5488 * content selection pattern - do fix if pattern found
5490 tSCC zHpux_Inttype_Int8_TSelect0[] =
5491 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5493 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5494 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5495 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5498 * Fix Command Arguments for Hpux_Inttype_Int8_T
5500 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5502 "typedef signed char int%18_t;",
5505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5507 * Description of Hpux_Long_Double fix
5509 tSCC zHpux_Long_DoubleName[] =
5513 * File name selection pattern
5515 tSCC zHpux_Long_DoubleList[] =
5518 * Machine/OS name selection pattern
5520 tSCC* apzHpux_Long_DoubleMachs[] = {
5522 "*-*-hpux11.[012]*",
5523 (const char*)NULL };
5526 * content selection pattern - do fix if pattern found
5528 tSCC zHpux_Long_DoubleSelect0[] =
5529 "extern[ \t]long_double[ \t]strtold";
5532 * content bypass pattern - skip fix if pattern found
5534 tSCC zHpux_Long_DoubleBypass0[] =
5537 #define HPUX_LONG_DOUBLE_TEST_CT 2
5538 static tTestDesc aHpux_Long_DoubleTests[] = {
5539 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5540 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5543 * Fix Command Arguments for Hpux_Long_Double
5545 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5546 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5547 "-e", "s/long_double/long double/g",
5550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5552 * Description of Hpux_Long_Double_2 fix
5554 tSCC zHpux_Long_Double_2Name[] =
5555 "hpux_long_double_2";
5558 * File name selection pattern
5560 tSCC zHpux_Long_Double_2List[] =
5563 * Machine/OS name selection pattern
5565 tSCC* apzHpux_Long_Double_2Machs[] = {
5566 "hppa*-*-hpux11.3*",
5567 (const char*)NULL };
5570 * content selection pattern - do fix if pattern found
5572 tSCC zHpux_Long_Double_2Select0[] =
5573 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5575 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5576 static tTestDesc aHpux_Long_Double_2Tests[] = {
5577 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5580 * Fix Command Arguments for Hpux_Long_Double_2
5582 static const char* apzHpux_Long_Double_2Patch[] = {
5584 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5589 * Description of Hpux_Pthread_Initializers fix
5591 tSCC zHpux_Pthread_InitializersName[] =
5592 "hpux_pthread_initializers";
5595 * File name selection pattern
5597 tSCC zHpux_Pthread_InitializersList[] =
5600 * Machine/OS name selection pattern
5602 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5603 "*-hp-hpux11.[0-3]*",
5604 (const char*)NULL };
5605 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5606 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5609 * Fix Command Arguments for Hpux_Pthread_Initializers
5611 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5612 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5613 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5614 "-e", "/^[ \t]*0$/d",
5615 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5616 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5617 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5618 "-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\\\\@",
5619 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5620 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5621 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5622 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5623 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5624 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5629 * Description of Hpux_Spu_Info fix
5631 tSCC zHpux_Spu_InfoName[] =
5635 * File name selection pattern
5637 tSCC zHpux_Spu_InfoList[] =
5638 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5640 * Machine/OS name selection pattern
5642 tSCC* apzHpux_Spu_InfoMachs[] = {
5644 (const char*)NULL };
5647 * content selection pattern - do fix if pattern found
5649 tSCC zHpux_Spu_InfoSelect0[] =
5650 "^.*extern.*spu_info.*";
5652 #define HPUX_SPU_INFO_TEST_CT 1
5653 static tTestDesc aHpux_Spu_InfoTests[] = {
5654 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5657 * Fix Command Arguments for Hpux_Spu_Info
5659 static const char* apzHpux_Spu_InfoPatch[] = {
5666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5668 * Description of Hpux_Stdint_Least_Fast fix
5670 tSCC zHpux_Stdint_Least_FastName[] =
5671 "hpux_stdint_least_fast";
5674 * File name selection pattern
5676 tSCC zHpux_Stdint_Least_FastList[] =
5677 "stdint-hpux11.h\0stdint.h\0";
5679 * Machine/OS name selection pattern
5681 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5683 (const char*)NULL };
5686 * content selection pattern - do fix if pattern found
5688 tSCC zHpux_Stdint_Least_FastSelect0[] =
5689 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5691 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5692 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5693 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5696 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5698 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5700 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5705 * Description of Hpux_Longjmp fix
5707 tSCC zHpux_LongjmpName[] =
5711 * File name selection pattern
5713 tSCC zHpux_LongjmpList[] =
5716 * Machine/OS name selection pattern
5718 tSCC* apzHpux_LongjmpMachs[] = {
5720 (const char*)NULL };
5723 * content selection pattern - do fix if pattern found
5725 tSCC zHpux_LongjmpSelect0[] =
5726 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5728 #define HPUX_LONGJMP_TEST_CT 1
5729 static tTestDesc aHpux_LongjmpTests[] = {
5730 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5733 * Fix Command Arguments for Hpux_Longjmp
5735 static const char* apzHpux_LongjmpPatch[] = {
5737 "%0 __attribute__ ((__noreturn__))",
5740 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5742 * Description of Hpux_Systime fix
5744 tSCC zHpux_SystimeName[] =
5748 * File name selection pattern
5750 tSCC zHpux_SystimeList[] =
5753 * Machine/OS name selection pattern
5755 #define apzHpux_SystimeMachs (const char**)NULL
5758 * content selection pattern - do fix if pattern found
5760 tSCC zHpux_SystimeSelect0[] =
5761 "^extern struct sigevent;";
5763 #define HPUX_SYSTIME_TEST_CT 1
5764 static tTestDesc aHpux_SystimeTests[] = {
5765 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5768 * Fix Command Arguments for Hpux_Systime
5770 static const char* apzHpux_SystimePatch[] = {
5775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5777 * Description of Huge_Val_Hex fix
5779 tSCC zHuge_Val_HexName[] =
5783 * File name selection pattern
5785 tSCC zHuge_Val_HexList[] =
5786 "bits/huge_val.h\0*/bits/huge_val.h\0";
5788 * Machine/OS name selection pattern
5790 #define apzHuge_Val_HexMachs (const char**)NULL
5793 * content selection pattern - do fix if pattern found
5795 tSCC zHuge_Val_HexSelect0[] =
5796 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5799 * content bypass pattern - skip fix if pattern found
5801 tSCC zHuge_Val_HexBypass0[] =
5802 "__builtin_huge_val";
5804 #define HUGE_VAL_HEX_TEST_CT 2
5805 static tTestDesc aHuge_Val_HexTests[] = {
5806 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5807 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5810 * Fix Command Arguments for Huge_Val_Hex
5812 static const char* apzHuge_Val_HexPatch[] = {
5814 "#define HUGE_VAL (__builtin_huge_val())\n",
5817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5819 * Description of Huge_Valf_Hex fix
5821 tSCC zHuge_Valf_HexName[] =
5825 * File name selection pattern
5827 tSCC zHuge_Valf_HexList[] =
5828 "bits/huge_val.h\0*/bits/huge_val.h\0";
5830 * Machine/OS name selection pattern
5832 #define apzHuge_Valf_HexMachs (const char**)NULL
5835 * content selection pattern - do fix if pattern found
5837 tSCC zHuge_Valf_HexSelect0[] =
5838 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5841 * content bypass pattern - skip fix if pattern found
5843 tSCC zHuge_Valf_HexBypass0[] =
5844 "__builtin_huge_valf";
5846 #define HUGE_VALF_HEX_TEST_CT 2
5847 static tTestDesc aHuge_Valf_HexTests[] = {
5848 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5849 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5852 * Fix Command Arguments for Huge_Valf_Hex
5854 static const char* apzHuge_Valf_HexPatch[] = {
5856 "#define HUGE_VALF (__builtin_huge_valf())\n",
5859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5861 * Description of Huge_Vall_Hex fix
5863 tSCC zHuge_Vall_HexName[] =
5867 * File name selection pattern
5869 tSCC zHuge_Vall_HexList[] =
5870 "bits/huge_val.h\0*/bits/huge_val.h\0";
5872 * Machine/OS name selection pattern
5874 #define apzHuge_Vall_HexMachs (const char**)NULL
5877 * content selection pattern - do fix if pattern found
5879 tSCC zHuge_Vall_HexSelect0[] =
5880 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5883 * content bypass pattern - skip fix if pattern found
5885 tSCC zHuge_Vall_HexBypass0[] =
5886 "__builtin_huge_vall";
5888 #define HUGE_VALL_HEX_TEST_CT 2
5889 static tTestDesc aHuge_Vall_HexTests[] = {
5890 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5891 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5894 * Fix Command Arguments for Huge_Vall_Hex
5896 static const char* apzHuge_Vall_HexPatch[] = {
5898 "#define HUGE_VALL (__builtin_huge_vall())\n",
5901 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5903 * Description of Int_Abort_Free_And_Exit fix
5905 tSCC zInt_Abort_Free_And_ExitName[] =
5906 "int_abort_free_and_exit";
5909 * File name selection pattern
5911 tSCC zInt_Abort_Free_And_ExitList[] =
5914 * Machine/OS name selection pattern
5916 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5919 * content selection pattern - do fix if pattern found
5921 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5922 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5925 * content bypass pattern - skip fix if pattern found
5927 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5928 "_CLASSIC_ANSI_TYPES";
5930 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5931 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5932 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5933 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5936 * Fix Command Arguments for Int_Abort_Free_And_Exit
5938 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5945 * Description of Io_Quotes_Def fix
5947 tSCC zIo_Quotes_DefName[] =
5951 * File name selection pattern
5953 #define zIo_Quotes_DefList (char*)NULL
5955 * Machine/OS name selection pattern
5957 #define apzIo_Quotes_DefMachs (const char**)NULL
5960 * content selection pattern - do fix if pattern found
5962 tSCC zIo_Quotes_DefSelect0[] =
5963 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5965 #define IO_QUOTES_DEF_TEST_CT 1
5966 static tTestDesc aIo_Quotes_DefTests[] = {
5967 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5970 * Fix Command Arguments for Io_Quotes_Def
5972 static const char* apzIo_Quotes_DefPatch[] = {
5977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5979 * Description of Io_Quotes_Use fix
5981 tSCC zIo_Quotes_UseName[] =
5985 * File name selection pattern
5987 #define zIo_Quotes_UseList (char*)NULL
5989 * Machine/OS name selection pattern
5991 #define apzIo_Quotes_UseMachs (const char**)NULL
5994 * content selection pattern - do fix if pattern found
5996 tSCC zIo_Quotes_UseSelect0[] =
5997 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5999 #define IO_QUOTES_USE_TEST_CT 1
6000 static tTestDesc aIo_Quotes_UseTests[] = {
6001 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
6004 * Fix Command Arguments for Io_Quotes_Use
6006 static const char* apzIo_Quotes_UsePatch[] = {
6011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6013 * Description of Ip_Missing_Semi fix
6015 tSCC zIp_Missing_SemiName[] =
6019 * File name selection pattern
6021 tSCC zIp_Missing_SemiList[] =
6024 * Machine/OS name selection pattern
6026 #define apzIp_Missing_SemiMachs (const char**)NULL
6029 * content selection pattern - do fix if pattern found
6031 tSCC zIp_Missing_SemiSelect0[] =
6034 #define IP_MISSING_SEMI_TEST_CT 1
6035 static tTestDesc aIp_Missing_SemiTests[] = {
6036 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
6039 * Fix Command Arguments for Ip_Missing_Semi
6041 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
6042 "-e", "/^struct/,/^};/s/}$/};/",
6045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6047 * Description of Irix_Limits_Const fix
6049 tSCC zIrix_Limits_ConstName[] =
6050 "irix_limits_const";
6053 * File name selection pattern
6055 tSCC zIrix_Limits_ConstList[] =
6056 "fixinc-test-limits.h\0limits.h\0";
6058 * Machine/OS name selection pattern
6060 #define apzIrix_Limits_ConstMachs (const char**)NULL
6063 * content selection pattern - do fix if pattern found
6065 tSCC zIrix_Limits_ConstSelect0[] =
6068 #define IRIX_LIMITS_CONST_TEST_CT 1
6069 static tTestDesc aIrix_Limits_ConstTests[] = {
6070 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
6073 * Fix Command Arguments for Irix_Limits_Const
6075 static const char* apzIrix_Limits_ConstPatch[] = {
6080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6082 * Description of Irix_Stdio_Va_List fix
6084 tSCC zIrix_Stdio_Va_ListName[] =
6085 "irix_stdio_va_list";
6088 * File name selection pattern
6090 tSCC zIrix_Stdio_Va_ListList[] =
6093 * Machine/OS name selection pattern
6095 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6098 * content selection pattern - do fix if pattern found
6100 tSCC zIrix_Stdio_Va_ListSelect0[] =
6101 "/\\* va_list \\*/ char \\*";
6103 #define IRIX_STDIO_VA_LIST_TEST_CT 1
6104 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6105 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6108 * Fix Command Arguments for Irix_Stdio_Va_List
6110 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6117 * Description of Kandr_Concat fix
6119 tSCC zKandr_ConcatName[] =
6123 * File name selection pattern
6125 tSCC zKandr_ConcatList[] =
6126 "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";
6128 * Machine/OS name selection pattern
6130 #define apzKandr_ConcatMachs (const char**)NULL
6133 * content selection pattern - do fix if pattern found
6135 tSCC zKandr_ConcatSelect0[] =
6138 #define KANDR_CONCAT_TEST_CT 1
6139 static tTestDesc aKandr_ConcatTests[] = {
6140 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
6143 * Fix Command Arguments for Kandr_Concat
6145 static const char* apzKandr_ConcatPatch[] = {
6150 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6152 * Description of Linux_Ia64_Ucontext fix
6154 tSCC zLinux_Ia64_UcontextName[] =
6155 "linux_ia64_ucontext";
6158 * File name selection pattern
6160 tSCC zLinux_Ia64_UcontextList[] =
6163 * Machine/OS name selection pattern
6165 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6167 (const char*)NULL };
6170 * content selection pattern - do fix if pattern found
6172 tSCC zLinux_Ia64_UcontextSelect0[] =
6173 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6175 #define LINUX_IA64_UCONTEXT_TEST_CT 1
6176 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6177 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6180 * Fix Command Arguments for Linux_Ia64_Ucontext
6182 static const char* apzLinux_Ia64_UcontextPatch[] = {
6184 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6189 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6191 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6192 "lynxos_no_warning_in_sys_time_h";
6195 * File name selection pattern
6197 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6200 * Machine/OS name selection pattern
6202 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6205 * content selection pattern - do fix if pattern found
6207 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6208 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6210 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6211 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6212 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6215 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6217 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6224 * Description of Lynxos_Missing_Putenv fix
6226 tSCC zLynxos_Missing_PutenvName[] =
6227 "lynxos_missing_putenv";
6230 * File name selection pattern
6232 tSCC zLynxos_Missing_PutenvList[] =
6235 * Machine/OS name selection pattern
6237 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6239 (const char*)NULL };
6242 * content selection pattern - do fix if pattern found
6244 tSCC zLynxos_Missing_PutenvSelect0[] =
6245 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6248 * content bypass pattern - skip fix if pattern found
6250 tSCC zLynxos_Missing_PutenvBypass0[] =
6253 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6254 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6255 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6256 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6259 * Fix Command Arguments for Lynxos_Missing_Putenv
6261 static const char* apzLynxos_Missing_PutenvPatch[] = {
6264 extern int putenv\t\t\t\t_AP((char *));",
6265 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6270 * Description of Machine_Ansi_H_Va_List fix
6272 tSCC zMachine_Ansi_H_Va_ListName[] =
6273 "machine_ansi_h_va_list";
6276 * File name selection pattern
6278 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6280 * Machine/OS name selection pattern
6282 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6285 * content selection pattern - do fix if pattern found
6287 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6288 "define[ \t]+_BSD_VA_LIST_[ \t]";
6291 * content bypass pattern - skip fix if pattern found
6293 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6294 "__builtin_va_list";
6296 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6297 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6298 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6299 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6302 * Fix Command Arguments for Machine_Ansi_H_Va_List
6304 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6306 "%1__builtin_va_list",
6307 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6312 * Description of Machine_Name fix
6314 tSCC zMachine_NameName[] =
6318 * File name selection pattern
6320 #define zMachine_NameList (char*)NULL
6322 * Machine/OS name selection pattern
6324 #define apzMachine_NameMachs (const char**)NULL
6327 * perform the C function call test
6329 tSCC zMachine_NameFTst0[] = "machine_name";
6331 #define MACHINE_NAME_TEST_CT 1
6332 static tTestDesc aMachine_NameTests[] = {
6333 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6336 * Fix Command Arguments for Machine_Name
6338 static const char* apzMachine_NamePatch[] = {
6342 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6344 * Description of Math_Exception fix
6346 tSCC zMath_ExceptionName[] =
6350 * File name selection pattern
6352 tSCC zMath_ExceptionList[] =
6355 * Machine/OS name selection pattern
6357 tSCC* apzMath_ExceptionMachs[] = {
6358 "*-*-solaris2.1[0-9]*",
6359 (const char*)NULL };
6362 * content selection pattern - do fix if pattern found
6364 tSCC zMath_ExceptionSelect0[] =
6368 * content bypass pattern - skip fix if pattern found
6370 tSCC zMath_ExceptionBypass0[] =
6371 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6373 #define MATH_EXCEPTION_TEST_CT 2
6374 static tTestDesc aMath_ExceptionTests[] = {
6375 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6376 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6379 * Fix Command Arguments for Math_Exception
6381 static const char* apzMath_ExceptionPatch[] = {
6383 "#ifdef __cplusplus\n\
6384 #define exception __math_exception\n\
6386 "#ifdef __cplusplus\n\
6391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6393 * Description of Math_Huge_Val_From_Dbl_Max fix
6395 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6396 "math_huge_val_from_dbl_max";
6399 * File name selection pattern
6401 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6404 * Machine/OS name selection pattern
6406 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6409 * content selection pattern - do fix if pattern found
6411 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6412 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6415 * content bypass pattern - skip fix if pattern found
6417 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6418 "define[ \t]+DBL_MAX";
6420 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6421 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6422 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6423 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6426 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6428 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6429 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6430 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6431 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6438 * Description of Nested_Auth_Des fix
6440 tSCC zNested_Auth_DesName[] =
6444 * File name selection pattern
6446 tSCC zNested_Auth_DesList[] =
6449 * Machine/OS name selection pattern
6451 #define apzNested_Auth_DesMachs (const char**)NULL
6454 * content selection pattern - do fix if pattern found
6456 tSCC zNested_Auth_DesSelect0[] =
6457 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6459 #define NESTED_AUTH_DES_TEST_CT 1
6460 static tTestDesc aNested_Auth_DesTests[] = {
6461 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6464 * Fix Command Arguments for Nested_Auth_Des
6466 static const char* apzNested_Auth_DesPatch[] = {
6471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6473 * Description of Netbsd_C99_Inline_1 fix
6475 tSCC zNetbsd_C99_Inline_1Name[] =
6476 "netbsd_c99_inline_1";
6479 * File name selection pattern
6481 tSCC zNetbsd_C99_Inline_1List[] =
6484 * Machine/OS name selection pattern
6486 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6488 (const char*)NULL };
6491 * content selection pattern - do fix if pattern found
6493 tSCC zNetbsd_C99_Inline_1Select0[] =
6494 "extern __inline int";
6496 #define NETBSD_C99_INLINE_1_TEST_CT 1
6497 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6498 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6501 * Fix Command Arguments for Netbsd_C99_Inline_1
6503 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6506 #ifdef __GNUC_STDC_INLINE__\n\
6507 __attribute__((__gnu_inline__))\n\
6512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6514 * Description of Netbsd_C99_Inline_2 fix
6516 tSCC zNetbsd_C99_Inline_2Name[] =
6517 "netbsd_c99_inline_2";
6520 * File name selection pattern
6522 tSCC zNetbsd_C99_Inline_2List[] =
6525 * Machine/OS name selection pattern
6527 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6529 (const char*)NULL };
6532 * content selection pattern - do fix if pattern found
6534 tSCC zNetbsd_C99_Inline_2Select0[] =
6535 "#define _SIGINLINE extern __inline";
6537 #define NETBSD_C99_INLINE_2_TEST_CT 1
6538 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6539 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6542 * Fix Command Arguments for Netbsd_C99_Inline_2
6544 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6546 "#ifdef __GNUC_STDC_INLINE__\n\
6547 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6555 * Description of Netbsd_Extra_Semicolon fix
6557 tSCC zNetbsd_Extra_SemicolonName[] =
6558 "netbsd_extra_semicolon";
6561 * File name selection pattern
6563 tSCC zNetbsd_Extra_SemicolonList[] =
6566 * Machine/OS name selection pattern
6568 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6570 (const char*)NULL };
6573 * content selection pattern - do fix if pattern found
6575 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6576 "#define[ \t]*__END_DECLS[ \t]*};";
6578 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6579 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6580 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6583 * Fix Command Arguments for Netbsd_Extra_Semicolon
6585 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6587 "#define __END_DECLS }",
6590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6592 * Description of Newlib_Stdint_1 fix
6594 tSCC zNewlib_Stdint_1Name[] =
6598 * File name selection pattern
6600 tSCC zNewlib_Stdint_1List[] =
6601 "stdint-newlib.h\0stdint.h\0";
6603 * Machine/OS name selection pattern
6605 #define apzNewlib_Stdint_1Machs (const char**)NULL
6608 * content selection pattern - do fix if pattern found
6610 tSCC zNewlib_Stdint_1Select0[] =
6611 "@todo - Add support for wint_t types";
6613 #define NEWLIB_STDINT_1_TEST_CT 1
6614 static tTestDesc aNewlib_Stdint_1Tests[] = {
6615 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6618 * Fix Command Arguments for Newlib_Stdint_1
6620 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6621 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6622 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6623 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6624 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6625 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6626 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6627 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6628 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6629 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6630 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6631 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6632 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6633 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6634 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6639 * Description of Newlib_Stdint_2 fix
6641 tSCC zNewlib_Stdint_2Name[] =
6645 * File name selection pattern
6647 tSCC zNewlib_Stdint_2List[] =
6648 "stdint-newlib.h\0stdint.h\0";
6650 * Machine/OS name selection pattern
6652 #define apzNewlib_Stdint_2Machs (const char**)NULL
6655 * content selection pattern - do fix if pattern found
6657 tSCC zNewlib_Stdint_2Select0[] =
6658 "@todo - Add support for wint_t types";
6660 #define NEWLIB_STDINT_2_TEST_CT 1
6661 static tTestDesc aNewlib_Stdint_2Tests[] = {
6662 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6665 * Fix Command Arguments for Newlib_Stdint_2
6667 static const char* apzNewlib_Stdint_2Patch[] = {
6669 "#define INTMAX_MAX __INTMAX_MAX__\n\
6670 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6671 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6672 #define WCHAR_MAX __WCHAR_MAX__\n\
6673 #define WCHAR_MIN __WCHAR_MIN__\n\
6674 #define WINT_MAX __WINT_MAX__\n\
6675 #define WINT_MIN __WINT_MIN__\n\n\
6677 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6682 * Description of Next_Math_Prefix fix
6684 tSCC zNext_Math_PrefixName[] =
6688 * File name selection pattern
6690 tSCC zNext_Math_PrefixList[] =
6693 * Machine/OS name selection pattern
6695 #define apzNext_Math_PrefixMachs (const char**)NULL
6698 * content selection pattern - do fix if pattern found
6700 tSCC zNext_Math_PrefixSelect0[] =
6701 "^extern[ \t]+double[ \t]+__const__[ \t]";
6703 #define NEXT_MATH_PREFIX_TEST_CT 1
6704 static tTestDesc aNext_Math_PrefixTests[] = {
6705 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6708 * Fix Command Arguments for Next_Math_Prefix
6710 static const char* apzNext_Math_PrefixPatch[] = {
6712 "extern double %1(",
6713 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6718 * Description of Next_Template fix
6720 tSCC zNext_TemplateName[] =
6724 * File name selection pattern
6726 tSCC zNext_TemplateList[] =
6729 * Machine/OS name selection pattern
6731 #define apzNext_TemplateMachs (const char**)NULL
6734 * content selection pattern - do fix if pattern found
6736 tSCC zNext_TemplateSelect0[] =
6739 #define NEXT_TEMPLATE_TEST_CT 1
6740 static tTestDesc aNext_TemplateTests[] = {
6741 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6744 * Fix Command Arguments for Next_Template
6746 static const char* apzNext_TemplatePatch[] = {
6749 "\\(([^)]*)[ \t]template\\)",
6752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6754 * Description of Next_Volitile fix
6756 tSCC zNext_VolitileName[] =
6760 * File name selection pattern
6762 tSCC zNext_VolitileList[] =
6765 * Machine/OS name selection pattern
6767 #define apzNext_VolitileMachs (const char**)NULL
6770 * content selection pattern - do fix if pattern found
6772 tSCC zNext_VolitileSelect0[] =
6773 "^extern[ \t]+volatile[ \t]+void[ \t]";
6775 #define NEXT_VOLITILE_TEST_CT 1
6776 static tTestDesc aNext_VolitileTests[] = {
6777 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6780 * Fix Command Arguments for Next_Volitile
6782 static const char* apzNext_VolitilePatch[] = {
6785 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6790 * Description of Next_Wait_Union fix
6792 tSCC zNext_Wait_UnionName[] =
6796 * File name selection pattern
6798 tSCC zNext_Wait_UnionList[] =
6801 * Machine/OS name selection pattern
6803 #define apzNext_Wait_UnionMachs (const char**)NULL
6806 * content selection pattern - do fix if pattern found
6808 tSCC zNext_Wait_UnionSelect0[] =
6809 "wait\\(union wait";
6811 #define NEXT_WAIT_UNION_TEST_CT 1
6812 static tTestDesc aNext_Wait_UnionTests[] = {
6813 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6816 * Fix Command Arguments for Next_Wait_Union
6818 static const char* apzNext_Wait_UnionPatch[] = {
6823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6825 * Description of Nodeent_Syntax fix
6827 tSCC zNodeent_SyntaxName[] =
6831 * File name selection pattern
6833 tSCC zNodeent_SyntaxList[] =
6834 "netdnet/dnetdb.h\0";
6836 * Machine/OS name selection pattern
6838 #define apzNodeent_SyntaxMachs (const char**)NULL
6841 * content selection pattern - do fix if pattern found
6843 tSCC zNodeent_SyntaxSelect0[] =
6844 "char[ \t]*\\*na_addr[ \t]*$";
6846 #define NODEENT_SYNTAX_TEST_CT 1
6847 static tTestDesc aNodeent_SyntaxTests[] = {
6848 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6851 * Fix Command Arguments for Nodeent_Syntax
6853 static const char* apzNodeent_SyntaxPatch[] = {
6858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6860 * Description of Openbsd_Null_Definition fix
6862 tSCC zOpenbsd_Null_DefinitionName[] =
6863 "openbsd_null_definition";
6866 * File name selection pattern
6868 tSCC zOpenbsd_Null_DefinitionList[] =
6869 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6871 * Machine/OS name selection pattern
6873 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6875 (const char*)NULL };
6878 * content selection pattern - do fix if pattern found
6880 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6883 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6884 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6885 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6888 * Fix Command Arguments for Openbsd_Null_Definition
6890 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6893 #ifdef __cplusplus\n\
6895 #define NULL\t__null\n\
6896 #else\t /* ! __GNUG__ */\n\
6898 #endif\t /* __GNUG__ */\n\
6899 #else\t /* ! __cplusplus */\n\
6900 #define NULL\t((void *)0)\n\
6901 #endif\t /* __cplusplus */\n\
6902 #endif\t /* !NULL */",
6903 "^#ifndef[ \t]*NULL\n\
6904 ^#ifdef[ \t]*__GNUG__\n\
6905 ^#define[ \t]*NULL[ \t]*__null\n\
6907 ^#define[ \t]*NULL[ \t]*0L\n\
6912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6914 * Description of Obstack_Lvalue_Cast fix
6916 tSCC zObstack_Lvalue_CastName[] =
6917 "obstack_lvalue_cast";
6920 * File name selection pattern
6922 tSCC zObstack_Lvalue_CastList[] =
6925 * Machine/OS name selection pattern
6927 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6930 * content selection pattern - do fix if pattern found
6932 tSCC zObstack_Lvalue_CastSelect0[] =
6933 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6935 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6936 static tTestDesc aObstack_Lvalue_CastTests[] = {
6937 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6940 * Fix Command Arguments for Obstack_Lvalue_Cast
6942 static const char* apzObstack_Lvalue_CastPatch[] = {
6944 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6949 * Description of Openbsd_Va_Start fix
6951 tSCC zOpenbsd_Va_StartName[] =
6955 * File name selection pattern
6957 tSCC zOpenbsd_Va_StartList[] =
6960 * Machine/OS name selection pattern
6962 tSCC* apzOpenbsd_Va_StartMachs[] = {
6964 (const char*)NULL };
6967 * content selection pattern - do fix if pattern found
6969 tSCC zOpenbsd_Va_StartSelect0[] =
6970 "__builtin_stdarg_start";
6972 #define OPENBSD_VA_START_TEST_CT 1
6973 static tTestDesc aOpenbsd_Va_StartTests[] = {
6974 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6977 * Fix Command Arguments for Openbsd_Va_Start
6979 static const char* apzOpenbsd_Va_StartPatch[] = {
6981 "__builtin_va_start",
6984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6986 * Description of Osf_Namespace_A fix
6988 tSCC zOsf_Namespace_AName[] =
6992 * File name selection pattern
6994 tSCC zOsf_Namespace_AList[] =
6995 "reg_types.h\0sys/lc_core.h\0";
6997 * Machine/OS name selection pattern
6999 #define apzOsf_Namespace_AMachs (const char**)NULL
7002 * perform the 'test' shell command - do fix on success
7004 tSCC zOsf_Namespace_ATest0[] =
7006 tSCC zOsf_Namespace_ATest1[] =
7007 " -r sys/lc_core.h";
7008 tSCC zOsf_Namespace_ATest2[] =
7009 " -n \"`grep '} regex_t;' reg_types.h`\"";
7010 tSCC zOsf_Namespace_ATest3[] =
7011 " -z \"`grep __regex_t regex.h`\"";
7013 #define OSF_NAMESPACE_A_TEST_CT 4
7014 static tTestDesc aOsf_Namespace_ATests[] = {
7015 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
7016 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
7017 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
7018 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
7021 * Fix Command Arguments for Osf_Namespace_A
7023 static const char* apzOsf_Namespace_APatch[] = {
7026 "reg(ex|off|match)_t",
7029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7031 * Description of Osf_Namespace_C fix
7033 tSCC zOsf_Namespace_CName[] =
7037 * File name selection pattern
7039 tSCC zOsf_Namespace_CList[] =
7042 * Machine/OS name selection pattern
7044 #define apzOsf_Namespace_CMachs (const char**)NULL
7047 * content selection pattern - do fix if pattern found
7049 tSCC zOsf_Namespace_CSelect0[] =
7050 "#include <reg_types.h>.*";
7053 * perform the 'test' shell command - do fix on success
7055 tSCC zOsf_Namespace_CTest0[] =
7057 tSCC zOsf_Namespace_CTest1[] =
7058 " -r sys/lc_core.h";
7059 tSCC zOsf_Namespace_CTest2[] =
7060 " -n \"`grep '} regex_t;' reg_types.h`\"";
7061 tSCC zOsf_Namespace_CTest3[] =
7062 " -z \"`grep __regex_t regex.h`\"";
7064 #define OSF_NAMESPACE_C_TEST_CT 5
7065 static tTestDesc aOsf_Namespace_CTests[] = {
7066 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
7067 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
7068 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
7069 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
7070 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
7073 * Fix Command Arguments for Osf_Namespace_C
7075 static const char* apzOsf_Namespace_CPatch[] = {
7078 typedef __regex_t\tregex_t;\n\
7079 typedef __regoff_t\tregoff_t;\n\
7080 typedef __regmatch_t\tregmatch_t;",
7083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7085 * Description of Pthread_Incomplete_Struct_Argument fix
7087 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7088 "pthread_incomplete_struct_argument";
7091 * File name selection pattern
7093 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7096 * Machine/OS name selection pattern
7098 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7101 * content selection pattern - do fix if pattern found
7103 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7104 "struct __jmp_buf_tag";
7106 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
7107 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7108 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7111 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7113 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7116 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7121 * Description of Read_Ret_Type fix
7123 tSCC zRead_Ret_TypeName[] =
7127 * File name selection pattern
7129 tSCC zRead_Ret_TypeList[] =
7132 * Machine/OS name selection pattern
7134 #define apzRead_Ret_TypeMachs (const char**)NULL
7137 * content selection pattern - do fix if pattern found
7139 tSCC zRead_Ret_TypeSelect0[] =
7140 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7142 #define READ_RET_TYPE_TEST_CT 1
7143 static tTestDesc aRead_Ret_TypeTests[] = {
7144 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7147 * Fix Command Arguments for Read_Ret_Type
7149 static const char* apzRead_Ret_TypePatch[] = {
7151 "extern unsigned int fread(), fwrite();\n\
7153 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7158 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7160 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7161 "rpc_xdr_lvalue_cast_a";
7164 * File name selection pattern
7166 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7169 * Machine/OS name selection pattern
7171 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7174 * content selection pattern - do fix if pattern found
7176 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7177 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7180 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7181 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7182 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7185 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7187 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7189 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7194 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7196 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7197 "rpc_xdr_lvalue_cast_b";
7200 * File name selection pattern
7202 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7205 * Machine/OS name selection pattern
7207 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7210 * content selection pattern - do fix if pattern found
7212 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7213 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7216 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7217 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7218 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7221 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7223 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7225 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7230 * Description of Rs6000_Double fix
7232 tSCC zRs6000_DoubleName[] =
7236 * File name selection pattern
7238 tSCC zRs6000_DoubleList[] =
7241 * Machine/OS name selection pattern
7243 #define apzRs6000_DoubleMachs (const char**)NULL
7246 * content selection pattern - do fix if pattern found
7248 tSCC zRs6000_DoubleSelect0[] =
7249 "[^a-zA-Z_]class\\(";
7251 #define RS6000_DOUBLE_TEST_CT 1
7252 static tTestDesc aRs6000_DoubleTests[] = {
7253 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7256 * Fix Command Arguments for Rs6000_Double
7258 static const char* apzRs6000_DoublePatch[] = {
7260 "#ifndef __cplusplus\n\
7263 "^.*[^a-zA-Z_]class\\(.*",
7266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7268 * Description of Rs6000_Fchmod fix
7270 tSCC zRs6000_FchmodName[] =
7274 * File name selection pattern
7276 tSCC zRs6000_FchmodList[] =
7279 * Machine/OS name selection pattern
7281 #define apzRs6000_FchmodMachs (const char**)NULL
7284 * content selection pattern - do fix if pattern found
7286 tSCC zRs6000_FchmodSelect0[] =
7287 "fchmod\\(char \\*";
7289 #define RS6000_FCHMOD_TEST_CT 1
7290 static tTestDesc aRs6000_FchmodTests[] = {
7291 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7294 * Fix Command Arguments for Rs6000_Fchmod
7296 static const char* apzRs6000_FchmodPatch[] = {
7301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7303 * Description of Rs6000_Param fix
7305 tSCC zRs6000_ParamName[] =
7309 * File name selection pattern
7311 tSCC zRs6000_ParamList[] =
7312 "stdio.h\0unistd.h\0";
7314 * Machine/OS name selection pattern
7316 #define apzRs6000_ParamMachs (const char**)NULL
7319 * content selection pattern - do fix if pattern found
7321 tSCC zRs6000_ParamSelect0[] =
7322 "rename\\(const char \\*old, const char \\*new\\)";
7324 #define RS6000_PARAM_TEST_CT 1
7325 static tTestDesc aRs6000_ParamTests[] = {
7326 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7329 * Fix Command Arguments for Rs6000_Param
7331 static const char* apzRs6000_ParamPatch[] = {
7333 "rename(const char *_old, const char *_new)",
7336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7338 * Description of Solaris___Restrict fix
7340 tSCC zSolaris___RestrictName[] =
7341 "solaris___restrict";
7344 * File name selection pattern
7346 tSCC zSolaris___RestrictList[] =
7347 "sys/feature_tests.h\0";
7349 * Machine/OS name selection pattern
7351 tSCC* apzSolaris___RestrictMachs[] = {
7353 (const char*)NULL };
7356 * content selection pattern - do fix if pattern found
7358 tSCC zSolaris___RestrictSelect0[] =
7359 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7361 #define SOLARIS___RESTRICT_TEST_CT 1
7362 static tTestDesc aSolaris___RestrictTests[] = {
7363 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7366 * Fix Command Arguments for Solaris___Restrict
7368 static const char* apzSolaris___RestrictPatch[] = {
7370 "#ifdef __cplusplus\n\
7371 #define\t_RESTRICT_KYWD\t__restrict\n\
7377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7379 * Description of Solaris_Complex fix
7381 tSCC zSolaris_ComplexName[] =
7385 * File name selection pattern
7387 tSCC zSolaris_ComplexList[] =
7390 * Machine/OS name selection pattern
7392 tSCC* apzSolaris_ComplexMachs[] = {
7394 (const char*)NULL };
7397 * content selection pattern - do fix if pattern found
7399 tSCC zSolaris_ComplexSelect0[] =
7400 "#define[ \t]_Complex_I[ \t]_Complex_I";
7402 #define SOLARIS_COMPLEX_TEST_CT 1
7403 static tTestDesc aSolaris_ComplexTests[] = {
7404 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7407 * Fix Command Arguments for Solaris_Complex
7409 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7410 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7411 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7412 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7413 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7416 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7418 * Description of Solaris_Complex_Cxx fix
7420 tSCC zSolaris_Complex_CxxName[] =
7421 "solaris_complex_cxx";
7424 * File name selection pattern
7426 tSCC zSolaris_Complex_CxxList[] =
7429 * Machine/OS name selection pattern
7431 tSCC* apzSolaris_Complex_CxxMachs[] = {
7433 (const char*)NULL };
7434 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7435 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7438 * Fix Command Arguments for Solaris_Complex_Cxx
7440 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7441 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7442 #ifdef\t__cplusplus\\\n\
7445 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7446 #ifdef\t__cplusplus\\\n\
7451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7453 * Description of Solaris_Cxx_Linkage fix
7455 tSCC zSolaris_Cxx_LinkageName[] =
7456 "solaris_cxx_linkage";
7459 * File name selection pattern
7461 tSCC zSolaris_Cxx_LinkageList[] =
7462 "iso/stdlib_iso.h\0";
7464 * Machine/OS name selection pattern
7466 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7468 (const char*)NULL };
7471 * content selection pattern - do fix if pattern found
7473 tSCC zSolaris_Cxx_LinkageSelect0[] =
7474 "(#if __cplusplus >= 199711L)\n\
7475 (extern \"C\\+\\+\" \\{\n\
7476 )(.*(bsearch|qsort).*)";
7478 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7479 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7480 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7483 * Fix Command Arguments for Solaris_Cxx_Linkage
7485 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7493 * Description of Solaris_Getc_Strict_Stdc fix
7495 tSCC zSolaris_Getc_Strict_StdcName[] =
7496 "solaris_getc_strict_stdc";
7499 * File name selection pattern
7501 tSCC zSolaris_Getc_Strict_StdcList[] =
7502 "iso/stdio_iso.h\0";
7504 * Machine/OS name selection pattern
7506 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7508 (const char*)NULL };
7511 * content selection pattern - do fix if pattern found
7513 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7514 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7516 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7517 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7518 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7521 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7523 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7525 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7530 * Description of Solaris_Gets_C11 fix
7532 tSCC zSolaris_Gets_C11Name[] =
7536 * File name selection pattern
7538 tSCC zSolaris_Gets_C11List[] =
7539 "iso/stdio_iso.h\0";
7541 * Machine/OS name selection pattern
7543 tSCC* apzSolaris_Gets_C11Machs[] = {
7545 (const char*)NULL };
7548 * content selection pattern - do fix if pattern found
7550 tSCC zSolaris_Gets_C11Select0[] =
7551 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7553 #define SOLARIS_GETS_C11_TEST_CT 1
7554 static tTestDesc aSolaris_Gets_C11Tests[] = {
7555 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7558 * Fix Command Arguments for Solaris_Gets_C11
7560 static const char* apzSolaris_Gets_C11Patch[] = {
7562 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7563 %1 __attribute__((__deprecated__));\n\
7567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7569 * Description of Solaris_Gets_Cxx14 fix
7571 tSCC zSolaris_Gets_Cxx14Name[] =
7572 "solaris_gets_cxx14";
7575 * File name selection pattern
7577 tSCC zSolaris_Gets_Cxx14List[] =
7578 "iso/stdio_iso.h\0";
7580 * Machine/OS name selection pattern
7582 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7584 (const char*)NULL };
7587 * content selection pattern - do fix if pattern found
7589 tSCC zSolaris_Gets_Cxx14Select0[] =
7590 "(#if __STDC_VERSION__ < 201112L)\n\
7591 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7593 #define SOLARIS_GETS_CXX14_TEST_CT 1
7594 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7595 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7598 * Fix Command Arguments for Solaris_Gets_Cxx14
7600 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7602 "%1 && __cplusplus < 201402L\n\
7606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7608 * Description of Solaris_Int_Const fix
7610 tSCC zSolaris_Int_ConstName[] =
7611 "solaris_int_const";
7614 * File name selection pattern
7616 tSCC zSolaris_Int_ConstList[] =
7617 "sys/int_const.h\0";
7619 * Machine/OS name selection pattern
7621 tSCC* apzSolaris_Int_ConstMachs[] = {
7623 (const char*)NULL };
7626 * content selection pattern - do fix if pattern found
7628 tSCC zSolaris_Int_ConstSelect0[] =
7629 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7631 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7633 #define SOLARIS_INT_CONST_TEST_CT 1
7634 static tTestDesc aSolaris_Int_ConstTests[] = {
7635 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7638 * Fix Command Arguments for Solaris_Int_Const
7640 static const char* apzSolaris_Int_ConstPatch[] = {
7642 "#define\tUINT8_C(c)\t(c)\n\
7644 #define\tUINT16_C(c)\t(c)",
7647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7649 * Description of Solaris_Int_Limits_1 fix
7651 tSCC zSolaris_Int_Limits_1Name[] =
7652 "solaris_int_limits_1";
7655 * File name selection pattern
7657 tSCC zSolaris_Int_Limits_1List[] =
7658 "sys/int_limits.h\0";
7660 * Machine/OS name selection pattern
7662 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7664 (const char*)NULL };
7667 * content selection pattern - do fix if pattern found
7669 tSCC zSolaris_Int_Limits_1Select0[] =
7670 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7671 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7673 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7674 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7675 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7678 * Fix Command Arguments for Solaris_Int_Limits_1
7680 static const char* apzSolaris_Int_Limits_1Patch[] = {
7682 "#define\tUINT8_MAX\t(255)\n\
7683 #define\tUINT16_MAX\t(65535)",
7686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7688 * Description of Solaris_Int_Limits_2 fix
7690 tSCC zSolaris_Int_Limits_2Name[] =
7691 "solaris_int_limits_2";
7694 * File name selection pattern
7696 tSCC zSolaris_Int_Limits_2List[] =
7697 "sys/int_limits.h\0";
7699 * Machine/OS name selection pattern
7701 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7703 (const char*)NULL };
7706 * content selection pattern - do fix if pattern found
7708 tSCC zSolaris_Int_Limits_2Select0[] =
7709 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7711 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7712 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7713 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7716 * Fix Command Arguments for Solaris_Int_Limits_2
7718 static const char* apzSolaris_Int_Limits_2Patch[] = {
7720 "#define\t%1_FAST16_%2 %132_%2",
7723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7725 * Description of Solaris_Int_Limits_3 fix
7727 tSCC zSolaris_Int_Limits_3Name[] =
7728 "solaris_int_limits_3";
7731 * File name selection pattern
7733 tSCC zSolaris_Int_Limits_3List[] =
7734 "sys/int_limits.h\0";
7736 * Machine/OS name selection pattern
7738 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7740 (const char*)NULL };
7743 * content selection pattern - do fix if pattern found
7745 tSCC zSolaris_Int_Limits_3Select0[] =
7746 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7748 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7749 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7750 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7753 * Fix Command Arguments for Solaris_Int_Limits_3
7755 static const char* apzSolaris_Int_Limits_3Patch[] = {
7757 "#define\tSIZE_MAX\t4294967295U",
7760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7762 * Description of Solaris_Math_1 fix
7764 tSCC zSolaris_Math_1Name[] =
7768 * File name selection pattern
7770 tSCC zSolaris_Math_1List[] =
7773 * Machine/OS name selection pattern
7775 #define apzSolaris_Math_1Machs (const char**)NULL
7778 * content selection pattern - do fix if pattern found
7780 tSCC zSolaris_Math_1Select0[] =
7781 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7784 * content bypass pattern - skip fix if pattern found
7786 tSCC zSolaris_Math_1Bypass0[] =
7789 #define SOLARIS_MATH_1_TEST_CT 2
7790 static tTestDesc aSolaris_Math_1Tests[] = {
7791 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7792 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7795 * Fix Command Arguments for Solaris_Math_1
7797 static const char* apzSolaris_Math_1Patch[] = {
7799 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7800 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7805 * Description of Solaris_Math_10 fix
7807 tSCC zSolaris_Math_10Name[] =
7811 * File name selection pattern
7813 tSCC zSolaris_Math_10List[] =
7816 * Machine/OS name selection pattern
7818 #define apzSolaris_Math_10Machs (const char**)NULL
7821 * content selection pattern - do fix if pattern found
7823 tSCC zSolaris_Math_10Select0[] =
7824 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7826 #define SOLARIS_MATH_10_TEST_CT 1
7827 static tTestDesc aSolaris_Math_10Tests[] = {
7828 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7831 * Fix Command Arguments for Solaris_Math_10
7833 static const char* apzSolaris_Math_10Patch[] = {
7835 "#define\tisinf(x) __builtin_isinf(x)",
7836 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7837 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7838 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7839 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7844 * Description of Solaris_Math_2 fix
7846 tSCC zSolaris_Math_2Name[] =
7850 * File name selection pattern
7852 tSCC zSolaris_Math_2List[] =
7855 * Machine/OS name selection pattern
7857 #define apzSolaris_Math_2Machs (const char**)NULL
7860 * content selection pattern - do fix if pattern found
7862 tSCC zSolaris_Math_2Select0[] =
7863 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7866 * content bypass pattern - skip fix if pattern found
7868 tSCC zSolaris_Math_2Bypass0[] =
7871 #define SOLARIS_MATH_2_TEST_CT 2
7872 static tTestDesc aSolaris_Math_2Tests[] = {
7873 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7874 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7877 * Fix Command Arguments for Solaris_Math_2
7879 static const char* apzSolaris_Math_2Patch[] = {
7881 "#define\tINFINITY\t(__builtin_inff())",
7882 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7885 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7887 * Description of Solaris_Math_3 fix
7889 tSCC zSolaris_Math_3Name[] =
7893 * File name selection pattern
7895 tSCC zSolaris_Math_3List[] =
7898 * Machine/OS name selection pattern
7900 #define apzSolaris_Math_3Machs (const char**)NULL
7903 * content selection pattern - do fix if pattern found
7905 tSCC zSolaris_Math_3Select0[] =
7906 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7909 * content bypass pattern - skip fix if pattern found
7911 tSCC zSolaris_Math_3Bypass0[] =
7914 #define SOLARIS_MATH_3_TEST_CT 2
7915 static tTestDesc aSolaris_Math_3Tests[] = {
7916 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7917 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7920 * Fix Command Arguments for Solaris_Math_3
7922 static const char* apzSolaris_Math_3Patch[] = {
7924 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7925 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7930 * Description of Solaris_Math_4 fix
7932 tSCC zSolaris_Math_4Name[] =
7936 * File name selection pattern
7938 tSCC zSolaris_Math_4List[] =
7941 * Machine/OS name selection pattern
7943 #define apzSolaris_Math_4Machs (const char**)NULL
7946 * content selection pattern - do fix if pattern found
7948 tSCC zSolaris_Math_4Select0[] =
7949 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7952 * content bypass pattern - skip fix if pattern found
7954 tSCC zSolaris_Math_4Bypass0[] =
7957 #define SOLARIS_MATH_4_TEST_CT 2
7958 static tTestDesc aSolaris_Math_4Tests[] = {
7959 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7960 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7963 * Fix Command Arguments for Solaris_Math_4
7965 static const char* apzSolaris_Math_4Patch[] = {
7967 "#define\tfpclassify(x) \\\n\
7968 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7969 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7974 * Description of Solaris_Math_8 fix
7976 tSCC zSolaris_Math_8Name[] =
7980 * File name selection pattern
7982 tSCC zSolaris_Math_8List[] =
7985 * Machine/OS name selection pattern
7987 #define apzSolaris_Math_8Machs (const char**)NULL
7990 * content selection pattern - do fix if pattern found
7992 tSCC zSolaris_Math_8Select0[] =
7993 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7996 * content bypass pattern - skip fix if pattern found
7998 tSCC zSolaris_Math_8Bypass0[] =
8001 #define SOLARIS_MATH_8_TEST_CT 2
8002 static tTestDesc aSolaris_Math_8Tests[] = {
8003 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
8004 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
8007 * Fix Command Arguments for Solaris_Math_8
8009 static const char* apzSolaris_Math_8Patch[] = {
8011 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8012 \t\t\t ? __builtin_signbitf(x) \\\n\
8013 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8014 \t\t\t ? __builtin_signbitl(x) \\\n\
8015 \t\t\t : __builtin_signbit(x))",
8016 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
8019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8021 * Description of Solaris_Math_9 fix
8023 tSCC zSolaris_Math_9Name[] =
8027 * File name selection pattern
8029 tSCC zSolaris_Math_9List[] =
8032 * Machine/OS name selection pattern
8034 #define apzSolaris_Math_9Machs (const char**)NULL
8037 * content selection pattern - do fix if pattern found
8039 tSCC zSolaris_Math_9Select0[] =
8040 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8043 * content bypass pattern - skip fix if pattern found
8045 tSCC zSolaris_Math_9Bypass0[] =
8048 #define SOLARIS_MATH_9_TEST_CT 2
8049 static tTestDesc aSolaris_Math_9Tests[] = {
8050 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
8051 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
8054 * Fix Command Arguments for Solaris_Math_9
8056 static const char* apzSolaris_Math_9Patch[] = {
8058 "#define\t%1(x, y)%2__builtin_%1(x, y)",
8059 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
8062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8064 * Description of Solaris_Math_11 fix
8066 tSCC zSolaris_Math_11Name[] =
8070 * File name selection pattern
8072 tSCC zSolaris_Math_11List[] =
8075 * Machine/OS name selection pattern
8077 #define apzSolaris_Math_11Machs (const char**)NULL
8080 * content selection pattern - do fix if pattern found
8082 tSCC zSolaris_Math_11Select0[] =
8083 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8085 #define SOLARIS_MATH_11_TEST_CT 1
8086 static tTestDesc aSolaris_Math_11Tests[] = {
8087 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
8090 * Fix Command Arguments for Solaris_Math_11
8092 static const char* apzSolaris_Math_11Patch[] = {
8095 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8096 \t\t\t ? __builtin_signbitf(x) \\\n\
8097 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8098 \t\t\t ? __builtin_signbitl(x) \\\n\
8099 \t\t\t : __builtin_signbit(x))",
8100 "^#undef[ \t]+signbit\n\
8101 #if defined\\(__sparc\\)\n\
8102 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8103 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8104 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8105 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8106 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8107 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8108 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8109 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8110 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8111 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8112 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8118 * Description of Solaris_Math_12 fix
8120 tSCC zSolaris_Math_12Name[] =
8124 * File name selection pattern
8126 tSCC zSolaris_Math_12List[] =
8129 * Machine/OS name selection pattern
8131 tSCC* apzSolaris_Math_12Machs[] = {
8133 (const char*)NULL };
8136 * content selection pattern - do fix if pattern found
8138 tSCC zSolaris_Math_12Select0[] =
8139 "#undef.*_GLIBCXX_USE_C99_MATH";
8141 #define SOLARIS_MATH_12_TEST_CT 1
8142 static tTestDesc aSolaris_Math_12Tests[] = {
8143 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
8146 * Fix Command Arguments for Solaris_Math_12
8148 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8149 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8152 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8154 * Description of Solaris_Once_Init_1 fix
8156 tSCC zSolaris_Once_Init_1Name[] =
8157 "solaris_once_init_1";
8160 * File name selection pattern
8162 tSCC zSolaris_Once_Init_1List[] =
8165 * Machine/OS name selection pattern
8167 tSCC* apzSolaris_Once_Init_1Machs[] = {
8169 (const char*)NULL };
8172 * content selection pattern - do fix if pattern found
8174 tSCC zSolaris_Once_Init_1Select0[] =
8175 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8177 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
8178 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8179 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8182 * Fix Command Arguments for Solaris_Once_Init_1
8184 static const char* apzSolaris_Once_Init_1Patch[] = {
8187 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8192 * Description of Solaris_Posix_Spawn_Restrict fix
8194 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8195 "solaris_posix_spawn_restrict";
8198 * File name selection pattern
8200 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8203 * Machine/OS name selection pattern
8205 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8207 (const char*)NULL };
8210 * content selection pattern - do fix if pattern found
8212 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8213 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8215 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8216 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8217 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8220 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8222 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8224 "%1*_RESTRICT_KYWD %2%3",
8227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8229 * Description of Solaris_Pow_Int_Overload fix
8231 tSCC zSolaris_Pow_Int_OverloadName[] =
8232 "solaris_pow_int_overload";
8235 * File name selection pattern
8237 tSCC zSolaris_Pow_Int_OverloadList[] =
8240 * Machine/OS name selection pattern
8242 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8244 (const char*)NULL };
8247 * content selection pattern - do fix if pattern found
8249 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8250 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8253 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8254 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8255 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8258 * Fix Command Arguments for Solaris_Pow_Int_Overload
8260 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8262 "#if __cplusplus < 201103L\n\
8267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8269 * Description of Solaris_Rwlock_Init_1 fix
8271 tSCC zSolaris_Rwlock_Init_1Name[] =
8272 "solaris_rwlock_init_1";
8275 * File name selection pattern
8277 tSCC zSolaris_Rwlock_Init_1List[] =
8280 * Machine/OS name selection pattern
8282 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8284 (const char*)NULL };
8287 * content selection pattern - do fix if pattern found
8289 tSCC zSolaris_Rwlock_Init_1Select0[] =
8290 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8292 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8293 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8294 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8297 * Fix Command Arguments for Solaris_Rwlock_Init_1
8299 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8301 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8304 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8306 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8311 * Description of Solaris_Std___Filbuf fix
8313 tSCC zSolaris_Std___FilbufName[] =
8314 "solaris_std___filbuf";
8317 * File name selection pattern
8319 tSCC zSolaris_Std___FilbufList[] =
8322 * Machine/OS name selection pattern
8324 tSCC* apzSolaris_Std___FilbufMachs[] = {
8326 (const char*)NULL };
8329 * content selection pattern - do fix if pattern found
8331 tSCC zSolaris_Std___FilbufSelect0[] =
8332 "(using std::perror;\n\
8336 * content bypass pattern - skip fix if pattern found
8338 tSCC zSolaris_Std___FilbufBypass0[] =
8339 "using std::__filbuf";
8341 #define SOLARIS_STD___FILBUF_TEST_CT 2
8342 static tTestDesc aSolaris_Std___FilbufTests[] = {
8343 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8344 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8347 * Fix Command Arguments for Solaris_Std___Filbuf
8349 static const char* apzSolaris_Std___FilbufPatch[] = {
8352 using std::__filbuf;\n\
8353 using std::__flsbuf;\n\
8358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8360 * Description of Solaris_Std_Gets_Cxx14 fix
8362 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8363 "solaris_std_gets_cxx14";
8366 * File name selection pattern
8368 tSCC zSolaris_Std_Gets_Cxx14List[] =
8371 * Machine/OS name selection pattern
8373 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8375 (const char*)NULL };
8378 * content selection pattern - do fix if pattern found
8380 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8383 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8384 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8385 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8388 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8390 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8392 "#if __cplusplus < 201402L\n\
8397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8399 * Description of Solaris_Stdio_Tag fix
8401 tSCC zSolaris_Stdio_TagName[] =
8402 "solaris_stdio_tag";
8405 * File name selection pattern
8407 tSCC zSolaris_Stdio_TagList[] =
8410 * Machine/OS name selection pattern
8412 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8415 * content selection pattern - do fix if pattern found
8417 tSCC zSolaris_Stdio_TagSelect0[] =
8418 "__cplusplus < 54321L";
8421 * content bypass pattern - skip fix if pattern found
8423 tSCC zSolaris_Stdio_TagBypass0[] =
8426 #define SOLARIS_STDIO_TAG_TEST_CT 2
8427 static tTestDesc aSolaris_Stdio_TagTests[] = {
8428 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8429 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8432 * Fix Command Arguments for Solaris_Stdio_Tag
8434 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8435 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8438 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8440 * Description of Solaris_Stdlib_Noreturn fix
8442 tSCC zSolaris_Stdlib_NoreturnName[] =
8443 "solaris_stdlib_noreturn";
8446 * File name selection pattern
8448 tSCC zSolaris_Stdlib_NoreturnList[] =
8449 "iso/stdlib_c99.h\0";
8451 * Machine/OS name selection pattern
8453 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8455 (const char*)NULL };
8458 * content selection pattern - do fix if pattern found
8460 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8461 "(extern) _Noreturn (void quick_exit\\(int\\));";
8463 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8464 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8465 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8468 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8470 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8472 "%1 %2 __attribute__((__noreturn__));",
8475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8477 * Description of Statsswtch fix
8479 tSCC zStatsswtchName[] =
8483 * File name selection pattern
8485 tSCC zStatsswtchList[] =
8488 * Machine/OS name selection pattern
8490 #define apzStatsswtchMachs (const char**)NULL
8493 * content selection pattern - do fix if pattern found
8495 tSCC zStatsswtchSelect0[] =
8498 #define STATSSWTCH_TEST_CT 1
8499 static tTestDesc aStatsswtchTests[] = {
8500 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8503 * Fix Command Arguments for Statsswtch
8505 static const char* apzStatsswtchPatch[] = {
8510 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8512 * Description of Stdio_Stdarg_H fix
8514 tSCC zStdio_Stdarg_HName[] =
8518 * File name selection pattern
8520 tSCC zStdio_Stdarg_HList[] =
8523 * Machine/OS name selection pattern
8525 tSCC* apzStdio_Stdarg_HMachs[] = {
8526 "*-*-solaris2.1[0-9]*",
8527 (const char*)NULL };
8530 * content bypass pattern - skip fix if pattern found
8532 tSCC zStdio_Stdarg_HBypass0[] =
8533 "include.*(stdarg.h|machine/ansi.h)";
8535 #define STDIO_STDARG_H_TEST_CT 1
8536 static tTestDesc aStdio_Stdarg_HTests[] = {
8537 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8540 * Fix Command Arguments for Stdio_Stdarg_H
8542 static const char* apzStdio_Stdarg_HPatch[] = {
8544 "#define __need___va_list\n\
8545 #include <stdarg.h>\n",
8548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8550 * Description of Stdio_Va_List fix
8552 tSCC zStdio_Va_ListName[] =
8556 * File name selection pattern
8558 tSCC zStdio_Va_ListList[] =
8561 * Machine/OS name selection pattern
8563 tSCC* apzStdio_Va_ListMachs[] = {
8564 "*-*-solaris2.1[0-9]*",
8565 (const char*)NULL };
8568 * content bypass pattern - skip fix if pattern found
8570 tSCC zStdio_Va_ListBypass0[] =
8571 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8573 #define STDIO_VA_LIST_TEST_CT 1
8574 static tTestDesc aStdio_Va_ListTests[] = {
8575 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8578 * Fix Command Arguments for Stdio_Va_List
8580 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8581 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8582 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8583 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8584 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8585 s@ va_list@ __not_va_list__@\n\
8586 s@\\*va_list@*__not_va_list__@\n\
8587 s@ __va_list)@ __gnuc_va_list)@\n\
8588 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8589 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8590 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8591 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8592 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8593 s@VA_LIST@DUMMY_VA_LIST@\n\
8594 s@_Va_LIST@_VA_LIST@",
8597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8599 * Description of Stdio_Va_List_Clients fix
8601 tSCC zStdio_Va_List_ClientsName[] =
8602 "stdio_va_list_clients";
8605 * File name selection pattern
8607 tSCC zStdio_Va_List_ClientsList[] =
8608 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8610 * Machine/OS name selection pattern
8612 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8615 * content bypass pattern - skip fix if pattern found
8617 tSCC zStdio_Va_List_ClientsBypass0[] =
8618 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8619 tSCC zStdio_Va_List_ClientsBypass1[] =
8620 "include <stdarg\\.h>|#ifdef va_start";
8622 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8623 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8624 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8625 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8628 * Fix Command Arguments for Stdio_Va_List_Clients
8630 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8631 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8632 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8633 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8634 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8635 s@ va_list@ __not_va_list__@\n\
8636 s@\\*va_list@*__not_va_list__@\n\
8637 s@ __va_list)@ __gnuc_va_list)@\n\
8638 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8639 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8640 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8641 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8642 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8643 s@VA_LIST@DUMMY_VA_LIST@\n\
8644 s@_Va_LIST@_VA_LIST@",
8647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8649 * Description of Strict_Ansi_Not fix
8651 tSCC zStrict_Ansi_NotName[] =
8655 * File name selection pattern
8657 #define zStrict_Ansi_NotList (char*)NULL
8659 * Machine/OS name selection pattern
8661 #define apzStrict_Ansi_NotMachs (const char**)NULL
8664 * content selection pattern - do fix if pattern found
8666 tSCC zStrict_Ansi_NotSelect0[] =
8667 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8670 * content bypass pattern - skip fix if pattern found
8672 tSCC zStrict_Ansi_NotBypass0[] =
8673 "GNU and MIPS C compilers define __STDC__ differently";
8674 tSCC zStrict_Ansi_NotBypass1[] =
8675 "__SCO_VERSION__.*__STDC__ != 1";
8678 * perform the C function call test
8680 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8682 #define STRICT_ANSI_NOT_TEST_CT 4
8683 static tTestDesc aStrict_Ansi_NotTests[] = {
8684 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8685 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8686 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8687 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8690 * Fix Command Arguments for Strict_Ansi_Not
8692 static const char* apzStrict_Ansi_NotPatch[] = {
8694 "%1 !defined(__STRICT_ANSI__)",
8697 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8699 * Description of Strict_Ansi_Not_Ctd fix
8701 tSCC zStrict_Ansi_Not_CtdName[] =
8702 "strict_ansi_not_ctd";
8705 * File name selection pattern
8707 tSCC zStrict_Ansi_Not_CtdList[] =
8708 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8710 * Machine/OS name selection pattern
8712 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8715 * content selection pattern - do fix if pattern found
8717 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8718 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8721 * perform the C function call test
8723 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8725 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8726 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8727 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8728 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8731 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8733 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8735 "%1 !defined(__STRICT_ANSI__)",
8738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8740 * Description of Strict_Ansi_Only fix
8742 tSCC zStrict_Ansi_OnlyName[] =
8746 * File name selection pattern
8748 #define zStrict_Ansi_OnlyList (char*)NULL
8750 * Machine/OS name selection pattern
8752 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8755 * content selection pattern - do fix if pattern found
8757 tSCC zStrict_Ansi_OnlySelect0[] =
8758 "^([ \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)";
8761 * perform the C function call test
8763 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8765 #define STRICT_ANSI_ONLY_TEST_CT 2
8766 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8767 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8768 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8771 * Fix Command Arguments for Strict_Ansi_Only
8773 static const char* apzStrict_Ansi_OnlyPatch[] = {
8775 "%1 defined(__STRICT_ANSI__)",
8778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8780 * Description of Struct_File fix
8782 tSCC zStruct_FileName[] =
8786 * File name selection pattern
8788 tSCC zStruct_FileList[] =
8791 * Machine/OS name selection pattern
8793 #define apzStruct_FileMachs (const char**)NULL
8796 * content selection pattern - do fix if pattern found
8798 tSCC zStruct_FileSelect0[] =
8799 "^.*xdrstdio_create.*struct __file_s";
8801 #define STRUCT_FILE_TEST_CT 1
8802 static tTestDesc aStruct_FileTests[] = {
8803 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8806 * Fix Command Arguments for Struct_File
8808 static const char* apzStruct_FilePatch[] = {
8810 "struct __file_s;\n\
8814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8816 * Description of Struct_Sockaddr fix
8818 tSCC zStruct_SockaddrName[] =
8822 * File name selection pattern
8824 tSCC zStruct_SockaddrList[] =
8827 * Machine/OS name selection pattern
8829 #define apzStruct_SockaddrMachs (const char**)NULL
8832 * content selection pattern - do fix if pattern found
8834 tSCC zStruct_SockaddrSelect0[] =
8835 "^.*authdes_create.*struct sockaddr[^_]";
8838 * content bypass pattern - skip fix if pattern found
8840 tSCC zStruct_SockaddrBypass0[] =
8842 tSCC zStruct_SockaddrBypass1[] =
8843 "struct sockaddr;\n";
8845 #define STRUCT_SOCKADDR_TEST_CT 3
8846 static tTestDesc aStruct_SockaddrTests[] = {
8847 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8848 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8849 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8852 * Fix Command Arguments for Struct_Sockaddr
8854 static const char* apzStruct_SockaddrPatch[] = {
8856 "struct sockaddr;\n\
8860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8862 * Description of Sun_Auth_Proto fix
8864 tSCC zSun_Auth_ProtoName[] =
8868 * File name selection pattern
8870 tSCC zSun_Auth_ProtoList[] =
8871 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8873 * Machine/OS name selection pattern
8875 #define apzSun_Auth_ProtoMachs (const char**)NULL
8878 * content selection pattern - do fix if pattern found
8880 tSCC zSun_Auth_ProtoSelect0[] =
8881 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8884 * content bypass pattern - skip fix if pattern found
8886 tSCC zSun_Auth_ProtoBypass0[] =
8889 #define SUN_AUTH_PROTO_TEST_CT 2
8890 static tTestDesc aSun_Auth_ProtoTests[] = {
8891 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8892 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8895 * Fix Command Arguments for Sun_Auth_Proto
8897 static const char* apzSun_Auth_ProtoPatch[] = {
8899 "#ifdef __cplusplus\n\
8904 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8909 * Description of Sun_Bogus_Ifdef fix
8911 tSCC zSun_Bogus_IfdefName[] =
8915 * File name selection pattern
8917 tSCC zSun_Bogus_IfdefList[] =
8918 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8920 * Machine/OS name selection pattern
8922 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8925 * content selection pattern - do fix if pattern found
8927 tSCC zSun_Bogus_IfdefSelect0[] =
8928 "#ifdef(.*\\|\\|.*)";
8930 #define SUN_BOGUS_IFDEF_TEST_CT 1
8931 static tTestDesc aSun_Bogus_IfdefTests[] = {
8932 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8935 * Fix Command Arguments for Sun_Bogus_Ifdef
8937 static const char* apzSun_Bogus_IfdefPatch[] = {
8942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8944 * Description of Sun_Catmacro fix
8946 tSCC zSun_CatmacroName[] =
8950 * File name selection pattern
8952 tSCC zSun_CatmacroList[] =
8953 "pixrect/memvar.h\0";
8955 * Machine/OS name selection pattern
8957 #define apzSun_CatmacroMachs (const char**)NULL
8960 * content selection pattern - do fix if pattern found
8962 tSCC zSun_CatmacroSelect0[] =
8963 "^#define[ \t]+CAT\\(a,b\\).*";
8965 #define SUN_CATMACRO_TEST_CT 1
8966 static tTestDesc aSun_CatmacroTests[] = {
8967 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8970 * Fix Command Arguments for Sun_Catmacro
8972 static const char* apzSun_CatmacroPatch[] = {
8975 # define CAT(a,b) a##b\n\
8981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8983 * Description of Sun_Malloc fix
8985 tSCC zSun_MallocName[] =
8989 * File name selection pattern
8991 tSCC zSun_MallocList[] =
8994 * Machine/OS name selection pattern
8996 #define apzSun_MallocMachs (const char**)NULL
8999 * content bypass pattern - skip fix if pattern found
9001 tSCC zSun_MallocBypass0[] =
9002 "_CLASSIC_ANSI_TYPES";
9004 #define SUN_MALLOC_TEST_CT 1
9005 static tTestDesc aSun_MallocTests[] = {
9006 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
9009 * Fix Command Arguments for Sun_Malloc
9011 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
9012 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
9013 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
9014 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
9015 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
9016 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
9019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9021 * Description of Sun_Rusers_Semi fix
9023 tSCC zSun_Rusers_SemiName[] =
9027 * File name selection pattern
9029 tSCC zSun_Rusers_SemiList[] =
9030 "rpcsvc/rusers.h\0";
9032 * Machine/OS name selection pattern
9034 #define apzSun_Rusers_SemiMachs (const char**)NULL
9037 * content selection pattern - do fix if pattern found
9039 tSCC zSun_Rusers_SemiSelect0[] =
9042 #define SUN_RUSERS_SEMI_TEST_CT 1
9043 static tTestDesc aSun_Rusers_SemiTests[] = {
9044 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
9047 * Fix Command Arguments for Sun_Rusers_Semi
9049 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
9050 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
9053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9055 * Description of Sun_Signal fix
9057 tSCC zSun_SignalName[] =
9061 * File name selection pattern
9063 tSCC zSun_SignalList[] =
9064 "sys/signal.h\0signal.h\0";
9066 * Machine/OS name selection pattern
9068 #define apzSun_SignalMachs (const char**)NULL
9071 * content selection pattern - do fix if pattern found
9073 tSCC zSun_SignalSelect0[] =
9074 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
9076 #define SUN_SIGNAL_TEST_CT 1
9077 static tTestDesc aSun_SignalTests[] = {
9078 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
9081 * Fix Command Arguments for Sun_Signal
9083 static const char* apzSun_SignalPatch[] = {
9085 "#ifdef __cplusplus\n\
9086 void\t(*signal(...))(...);\n\
9092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9094 * Description of Sunos_Strlen fix
9096 tSCC zSunos_StrlenName[] =
9100 * File name selection pattern
9102 tSCC zSunos_StrlenList[] =
9105 * Machine/OS name selection pattern
9107 #define apzSunos_StrlenMachs (const char**)NULL
9110 * content selection pattern - do fix if pattern found
9112 tSCC zSunos_StrlenSelect0[] =
9113 "int[ \t]*strlen\\(\\);(.*)";
9115 #define SUNOS_STRLEN_TEST_CT 1
9116 static tTestDesc aSunos_StrlenTests[] = {
9117 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
9120 * Fix Command Arguments for Sunos_Strlen
9122 static const char* apzSunos_StrlenPatch[] = {
9124 "__SIZE_TYPE__ strlen();%1",
9127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9129 * Description of Suse_Linux_Vt_Cxx fix
9131 tSCC zSuse_Linux_Vt_CxxName[] =
9132 "suse_linux_vt_cxx";
9135 * File name selection pattern
9137 tSCC zSuse_Linux_Vt_CxxList[] =
9140 * Machine/OS name selection pattern
9142 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9145 * content selection pattern - do fix if pattern found
9147 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9148 "^[ \t]*unsigned int new;";
9150 #define SUSE_LINUX_VT_CXX_TEST_CT 1
9151 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9152 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9155 * Fix Command Arguments for Suse_Linux_Vt_Cxx
9157 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9159 "unsigned int newev;",
9162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9164 * Description of Svr4_Disable_Opt fix
9166 tSCC zSvr4_Disable_OptName[] =
9170 * File name selection pattern
9172 tSCC zSvr4_Disable_OptList[] =
9175 * Machine/OS name selection pattern
9177 #define apzSvr4_Disable_OptMachs (const char**)NULL
9180 * content selection pattern - do fix if pattern found
9182 tSCC zSvr4_Disable_OptSelect0[] =
9183 "#define.*__std_hdr_";
9185 #define SVR4_DISABLE_OPT_TEST_CT 1
9186 static tTestDesc aSvr4_Disable_OptTests[] = {
9187 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9190 * Fix Command Arguments for Svr4_Disable_Opt
9192 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9193 "-e", "/#define.*__std_hdr_/d",
9196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9198 * Description of Svr4_Getcwd fix
9200 tSCC zSvr4_GetcwdName[] =
9204 * File name selection pattern
9206 tSCC zSvr4_GetcwdList[] =
9207 "stdlib.h\0unistd.h\0prototypes.h\0";
9209 * Machine/OS name selection pattern
9211 #define apzSvr4_GetcwdMachs (const char**)NULL
9214 * content selection pattern - do fix if pattern found
9216 tSCC zSvr4_GetcwdSelect0[] =
9217 "getcwd\\(char \\*, int\\)";
9219 #define SVR4_GETCWD_TEST_CT 1
9220 static tTestDesc aSvr4_GetcwdTests[] = {
9221 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9224 * Fix Command Arguments for Svr4_Getcwd
9226 static const char* apzSvr4_GetcwdPatch[] = {
9228 "getcwd(char *, size_t)",
9231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9233 * Description of Svr4_Profil fix
9235 tSCC zSvr4_ProfilName[] =
9239 * File name selection pattern
9241 tSCC zSvr4_ProfilList[] =
9242 "stdlib.h\0unistd.h\0";
9244 * Machine/OS name selection pattern
9246 #define apzSvr4_ProfilMachs (const char**)NULL
9249 * content selection pattern - do fix if pattern found
9251 tSCC zSvr4_ProfilSelect0[] =
9252 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9254 #define SVR4_PROFIL_TEST_CT 1
9255 static tTestDesc aSvr4_ProfilTests[] = {
9256 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9259 * Fix Command Arguments for Svr4_Profil
9261 static const char* apzSvr4_ProfilPatch[] = {
9263 "profil(unsigned short *, size_t, int, unsigned int)",
9266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9268 * Description of Svr4_Sighandler_Type fix
9270 tSCC zSvr4_Sighandler_TypeName[] =
9271 "svr4_sighandler_type";
9274 * File name selection pattern
9276 tSCC zSvr4_Sighandler_TypeList[] =
9279 * Machine/OS name selection pattern
9281 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9284 * content selection pattern - do fix if pattern found
9286 tSCC zSvr4_Sighandler_TypeSelect0[] =
9287 "void *\\(\\*\\)\\(\\)";
9289 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9290 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9291 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9294 * Fix Command Arguments for Svr4_Sighandler_Type
9296 static const char* apzSvr4_Sighandler_TypePatch[] = {
9301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9303 * Description of Svr4_Undeclared_Getrnge fix
9305 tSCC zSvr4_Undeclared_GetrngeName[] =
9306 "svr4_undeclared_getrnge";
9309 * File name selection pattern
9311 tSCC zSvr4_Undeclared_GetrngeList[] =
9314 * Machine/OS name selection pattern
9316 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9319 * content selection pattern - do fix if pattern found
9321 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9325 * content bypass pattern - skip fix if pattern found
9327 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9328 "static void getrnge";
9330 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9331 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9332 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9333 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9336 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9338 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9341 static int getrnge ();",
9342 "^static int[ \t]+size;",
9345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9347 * Description of Sysv68_String fix
9349 tSCC zSysv68_StringName[] =
9353 * File name selection pattern
9355 tSCC zSysv68_StringList[] =
9356 "testing.h\0string.h\0";
9358 * Machine/OS name selection pattern
9360 #define apzSysv68_StringMachs (const char**)NULL
9363 * content bypass pattern - skip fix if pattern found
9365 tSCC zSysv68_StringBypass0[] =
9366 "_CLASSIC_ANSI_TYPES";
9368 #define SYSV68_STRING_TEST_CT 1
9369 static tTestDesc aSysv68_StringTests[] = {
9370 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9373 * Fix Command Arguments for Sysv68_String
9375 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9376 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9377 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9378 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9379 "-e", "/^extern char$/N",
9380 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9381 "-e", "/^extern int$/N",
9382 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9383 "-e", "/^\tstrncmp(),$/N",
9384 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9385 extern unsigned int\\\n\
9389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9391 * Description of Sysz_Stdlib_For_Sun fix
9393 tSCC zSysz_Stdlib_For_SunName[] =
9394 "sysz_stdlib_for_sun";
9397 * File name selection pattern
9399 tSCC zSysz_Stdlib_For_SunList[] =
9402 * Machine/OS name selection pattern
9404 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9407 * content selection pattern - do fix if pattern found
9409 tSCC zSysz_Stdlib_For_SunSelect0[] =
9410 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9413 * content bypass pattern - skip fix if pattern found
9415 tSCC zSysz_Stdlib_For_SunBypass0[] =
9416 "_CLASSIC_ANSI_TYPES";
9418 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9419 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9420 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9421 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9424 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9426 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9433 * Description of Thread_Keyword fix
9435 tSCC zThread_KeywordName[] =
9439 * File name selection pattern
9441 tSCC zThread_KeywordList[] =
9442 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9444 * Machine/OS name selection pattern
9446 #define apzThread_KeywordMachs (const char**)NULL
9449 * content selection pattern - do fix if pattern found
9451 tSCC zThread_KeywordSelect0[] =
9452 "([* ])__thread([,)])";
9454 #define THREAD_KEYWORD_TEST_CT 1
9455 static tTestDesc aThread_KeywordTests[] = {
9456 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9459 * Fix Command Arguments for Thread_Keyword
9461 static const char* apzThread_KeywordPatch[] = {
9466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9468 * Description of Tinfo_Cplusplus fix
9470 tSCC zTinfo_CplusplusName[] =
9474 * File name selection pattern
9476 tSCC zTinfo_CplusplusList[] =
9479 * Machine/OS name selection pattern
9481 #define apzTinfo_CplusplusMachs (const char**)NULL
9484 * content selection pattern - do fix if pattern found
9486 tSCC zTinfo_CplusplusSelect0[] =
9489 #define TINFO_CPLUSPLUS_TEST_CT 1
9490 static tTestDesc aTinfo_CplusplusTests[] = {
9491 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9494 * Fix Command Arguments for Tinfo_Cplusplus
9496 static const char* apzTinfo_CplusplusPatch[] = {
9501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9503 * Description of Ultrix_Const fix
9505 tSCC zUltrix_ConstName[] =
9509 * File name selection pattern
9511 tSCC zUltrix_ConstList[] =
9514 * Machine/OS name selection pattern
9516 #define apzUltrix_ConstMachs (const char**)NULL
9519 * content selection pattern - do fix if pattern found
9521 tSCC zUltrix_ConstSelect0[] =
9522 "perror\\( char \\*";
9524 #define ULTRIX_CONST_TEST_CT 1
9525 static tTestDesc aUltrix_ConstTests[] = {
9526 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9529 * Fix Command Arguments for Ultrix_Const
9531 static const char* apzUltrix_ConstPatch[] = {
9534 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9539 * Description of Ultrix_Const2 fix
9541 tSCC zUltrix_Const2Name[] =
9545 * File name selection pattern
9547 tSCC zUltrix_Const2List[] =
9550 * Machine/OS name selection pattern
9552 #define apzUltrix_Const2Machs (const char**)NULL
9555 * content selection pattern - do fix if pattern found
9557 tSCC zUltrix_Const2Select0[] =
9558 "\\*fopen\\( char \\*";
9560 #define ULTRIX_CONST2_TEST_CT 1
9561 static tTestDesc aUltrix_Const2Tests[] = {
9562 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9565 * Fix Command Arguments for Ultrix_Const2
9567 static const char* apzUltrix_Const2Patch[] = {
9569 "%1( const char *%3, const char *",
9570 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9575 * Description of Va_I960_Macro fix
9577 tSCC zVa_I960_MacroName[] =
9581 * File name selection pattern
9583 tSCC zVa_I960_MacroList[] =
9584 "arch/i960/archI960.h\0";
9586 * Machine/OS name selection pattern
9588 #define apzVa_I960_MacroMachs (const char**)NULL
9591 * content selection pattern - do fix if pattern found
9593 tSCC zVa_I960_MacroSelect0[] =
9594 "__(vsiz|vali|vpad|alignof__)";
9596 #define VA_I960_MACRO_TEST_CT 1
9597 static tTestDesc aVa_I960_MacroTests[] = {
9598 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9601 * Fix Command Arguments for Va_I960_Macro
9603 static const char* apzVa_I960_MacroPatch[] = {
9608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9610 * Description of Vms_Add_Missing_Braces fix
9612 tSCC zVms_Add_Missing_BracesName[] =
9613 "vms_add_missing_braces";
9616 * File name selection pattern
9618 tSCC zVms_Add_Missing_BracesList[] =
9619 "rtldef/signal.h\0";
9621 * Machine/OS name selection pattern
9623 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9625 (const char*)NULL };
9628 * content selection pattern - do fix if pattern found
9630 tSCC zVms_Add_Missing_BracesSelect0[] =
9631 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9633 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9634 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9635 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9638 * Fix Command Arguments for Vms_Add_Missing_Braces
9640 static const char* apzVms_Add_Missing_BracesPatch[] = {
9645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9647 * Description of Vms_Decc_Builtin fix
9649 tSCC zVms_Decc_BuiltinName[] =
9653 * File name selection pattern
9655 tSCC zVms_Decc_BuiltinList[] =
9656 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9658 * Machine/OS name selection pattern
9660 tSCC* apzVms_Decc_BuiltinMachs[] = {
9662 (const char*)NULL };
9665 * content selection pattern - do fix if pattern found
9667 tSCC zVms_Decc_BuiltinSelect0[] =
9668 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9670 #define VMS_DECC_BUILTIN_TEST_CT 1
9671 static tTestDesc aVms_Decc_BuiltinTests[] = {
9672 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9675 * Fix Command Arguments for Vms_Decc_Builtin
9677 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9678 "-e", "s@__MEMSET@memset@",
9679 "-e", "s@__MEMMOVE@memmove@",
9680 "-e", "s@__MEMCPY@memcpy@",
9681 "-e", "s@__STRLEN@strlen@",
9682 "-e", "s@__STRCPY@strcpy@",
9685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9687 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9689 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9690 "vms_define_can_use_extern_prefix";
9693 * File name selection pattern
9695 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9696 "rtldef/decc$types.h\0";
9698 * Machine/OS name selection pattern
9700 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9702 (const char*)NULL };
9705 * content selection pattern - do fix if pattern found
9707 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9709 #[ \t]*if defined\\(__DECCXX\\)\n\
9710 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9712 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9713 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9714 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9717 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9719 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9721 "%0# elif defined (__GNUC__)\n\
9722 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9727 * Description of Vms_Disable_Decc_String_Builtins fix
9729 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9730 "vms_disable_decc_string_builtins";
9733 * File name selection pattern
9735 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9736 "rtldef/string.h\0";
9738 * Machine/OS name selection pattern
9740 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9742 (const char*)NULL };
9745 * content selection pattern - do fix if pattern found
9747 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9748 "#if !defined\\(__VAX\\)\n";
9750 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9751 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9752 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9755 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9757 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9759 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9764 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9766 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9767 "vms_do_not_redeclare_hostalias";
9770 * File name selection pattern
9772 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9773 "rtldef/resolv.h\0";
9775 * Machine/OS name selection pattern
9777 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9779 (const char*)NULL };
9782 * content selection pattern - do fix if pattern found
9784 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9785 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9786 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9788 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9789 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9790 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9793 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9795 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9803 * Description of Vms_Forward_Declare_Struct fix
9805 tSCC zVms_Forward_Declare_StructName[] =
9806 "vms_forward_declare_struct";
9809 * File name selection pattern
9811 tSCC zVms_Forward_Declare_StructList[] =
9814 * Machine/OS name selection pattern
9816 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9818 (const char*)NULL };
9821 * content selection pattern - do fix if pattern found
9823 tSCC zVms_Forward_Declare_StructSelect0[] =
9824 "(/\\* forward decls for C\\+\\+ \\*/\n\
9825 )#ifdef __cplusplus\n";
9827 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9828 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9829 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9832 * Fix Command Arguments for Vms_Forward_Declare_Struct
9834 static const char* apzVms_Forward_Declare_StructPatch[] = {
9836 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9841 * Description of Vms_No_64bit_Getopt fix
9843 tSCC zVms_No_64bit_GetoptName[] =
9844 "vms_no_64bit_getopt";
9847 * File name selection pattern
9849 tSCC zVms_No_64bit_GetoptList[] =
9850 "rtldef/stdio.h\0rtldef/unistd.h\0";
9852 * Machine/OS name selection pattern
9854 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9856 (const char*)NULL };
9859 * content selection pattern - do fix if pattern found
9861 tSCC zVms_No_64bit_GetoptSelect0[] =
9862 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9864 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9865 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9866 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9869 * Fix Command Arguments for Vms_No_64bit_Getopt
9871 static const char* apzVms_No_64bit_GetoptPatch[] = {
9873 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9879 * Description of Vms_Use_Fast_Setjmp fix
9881 tSCC zVms_Use_Fast_SetjmpName[] =
9882 "vms_use_fast_setjmp";
9885 * File name selection pattern
9887 tSCC zVms_Use_Fast_SetjmpList[] =
9888 "rtldef/setjmp.h\0";
9890 * Machine/OS name selection pattern
9892 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9894 (const char*)NULL };
9897 * content selection pattern - do fix if pattern found
9899 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9900 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9902 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9903 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9904 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9907 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9909 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9911 "%0 defined (__GNUC__) ||",
9914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9916 * Description of Vms_Use_Pragma_Extern_Model fix
9918 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9919 "vms_use_pragma_extern_model";
9922 * File name selection pattern
9924 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9926 * Machine/OS name selection pattern
9928 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9930 (const char*)NULL };
9933 * content selection pattern - do fix if pattern found
9935 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9936 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9937 # pragma extern_model __save\n";
9939 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9940 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9941 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9944 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9946 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9948 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9949 # pragma extern_model __save\n",
9952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9954 * Description of Vms_Use_Quoted_Include fix
9956 tSCC zVms_Use_Quoted_IncludeName[] =
9957 "vms_use_quoted_include";
9960 * File name selection pattern
9962 tSCC zVms_Use_Quoted_IncludeList[] =
9963 "rtldef/wait.h\0starlet_c/pthread.h\0";
9965 * Machine/OS name selection pattern
9967 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9969 (const char*)NULL };
9972 * content selection pattern - do fix if pattern found
9974 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9975 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9977 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9978 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9979 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9982 * Fix Command Arguments for Vms_Use_Quoted_Include
9984 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9991 * Description of Void_Null fix
9993 tSCC zVoid_NullName[] =
9997 * File name selection pattern
9999 tSCC zVoid_NullList[] =
10000 "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";
10002 * Machine/OS name selection pattern
10004 #define apzVoid_NullMachs (const char**)NULL
10007 * content selection pattern - do fix if pattern found
10009 tSCC zVoid_NullSelect0[] =
10010 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
10013 * content bypass pattern - skip fix if pattern found
10015 tSCC zVoid_NullBypass0[] =
10017 tSCC zVoid_NullBypass1[] =
10020 #define VOID_NULL_TEST_CT 3
10021 static tTestDesc aVoid_NullTests[] = {
10022 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
10023 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
10024 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
10027 * Fix Command Arguments for Void_Null
10029 static const char* apzVoid_NullPatch[] = {
10032 #ifdef __cplusplus\n\
10034 #define NULL __null\n\
10035 #else /* ! __GNUG__ */\n\
10037 #endif /* __GNUG__ */\n\
10038 #else /* ! __cplusplus */\n\
10039 #define NULL ((void *)0)\n\
10040 #endif /* __cplusplus */\n\
10041 #endif /* !NULL */",
10044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10046 * Description of Vxworks_Gcc_Problem fix
10048 tSCC zVxworks_Gcc_ProblemName[] =
10049 "vxworks_gcc_problem";
10052 * File name selection pattern
10054 tSCC zVxworks_Gcc_ProblemList[] =
10055 "types/vxTypesBase.h\0";
10057 * Machine/OS name selection pattern
10059 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
10062 * content selection pattern - do fix if pattern found
10064 tSCC zVxworks_Gcc_ProblemSelect0[] =
10065 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
10067 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
10068 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
10069 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
10072 * Fix Command Arguments for Vxworks_Gcc_Problem
10074 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
10075 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
10076 "-e", "/[ \t]size_t/i\\\n\
10077 #ifndef _GCC_SIZE_T\\\n\
10078 #define _GCC_SIZE_T\n",
10079 "-e", "/[ \t]size_t/a\\\n\
10081 "-e", "/[ \t]ptrdiff_t/i\\\n\
10082 #ifndef _GCC_PTRDIFF_T\\\n\
10083 #define _GCC_PTRDIFF_T\n",
10084 "-e", "/[ \t]ptrdiff_t/a\\\n\
10086 "-e", "/[ \t]wchar_t/i\\\n\
10087 #ifndef _GCC_WCHAR_T\\\n\
10088 #define _GCC_WCHAR_T\n",
10089 "-e", "/[ \t]wchar_t/a\\\n\
10093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10095 * Description of Vxworks_Ioctl_Macro fix
10097 tSCC zVxworks_Ioctl_MacroName[] =
10098 "vxworks_ioctl_macro";
10101 * File name selection pattern
10103 tSCC zVxworks_Ioctl_MacroList[] =
10106 * Machine/OS name selection pattern
10108 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10110 (const char*)NULL };
10111 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
10112 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
10115 * Fix Command Arguments for Vxworks_Ioctl_Macro
10117 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10120 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10121 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10124 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10126 * Description of Vxworks_Mkdir_Macro fix
10128 tSCC zVxworks_Mkdir_MacroName[] =
10129 "vxworks_mkdir_macro";
10132 * File name selection pattern
10134 tSCC zVxworks_Mkdir_MacroList[] =
10137 * Machine/OS name selection pattern
10139 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
10141 (const char*)NULL };
10142 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
10143 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
10146 * Fix Command Arguments for Vxworks_Mkdir_Macro
10148 static const char* apzVxworks_Mkdir_MacroPatch[] = {
10151 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
10152 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10157 * Description of Vxworks_Needs_Vxtypes fix
10159 tSCC zVxworks_Needs_VxtypesName[] =
10160 "vxworks_needs_vxtypes";
10163 * File name selection pattern
10165 tSCC zVxworks_Needs_VxtypesList[] =
10168 * Machine/OS name selection pattern
10170 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10173 * content selection pattern - do fix if pattern found
10175 tSCC zVxworks_Needs_VxtypesSelect0[] =
10176 "uint_t([ \t]+_clocks_per_sec)";
10178 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
10179 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10180 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10183 * Fix Command Arguments for Vxworks_Needs_Vxtypes
10185 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10192 * Description of Vxworks_Needs_Vxworks fix
10194 tSCC zVxworks_Needs_VxworksName[] =
10195 "vxworks_needs_vxworks";
10198 * File name selection pattern
10200 tSCC zVxworks_Needs_VxworksList[] =
10203 * Machine/OS name selection pattern
10205 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10208 * content selection pattern - do fix if pattern found
10210 tSCC zVxworks_Needs_VxworksSelect0[] =
10211 "#[ \t]define[ \t]+__INCstath";
10214 * perform the 'test' shell command - do fix on success
10216 tSCC zVxworks_Needs_VxworksTest0[] =
10217 " -r types/vxTypesOld.h";
10218 tSCC zVxworks_Needs_VxworksTest1[] =
10219 " -n \"`egrep '#include' $file`\"";
10220 tSCC zVxworks_Needs_VxworksTest2[] =
10221 " -n \"`egrep ULONG $file`\"";
10223 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10224 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10225 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10226 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10227 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10228 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10231 * Fix Command Arguments for Vxworks_Needs_Vxworks
10233 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10234 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10235 #include <types/vxTypesOld.h>\n",
10238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10240 * Description of Vxworks_Regs fix
10242 tSCC zVxworks_RegsName[] =
10246 * File name selection pattern
10248 #define zVxworks_RegsList (char*)NULL
10250 * Machine/OS name selection pattern
10252 tSCC* apzVxworks_RegsMachs[] = {
10254 (const char*)NULL };
10257 * content selection pattern - do fix if pattern found
10259 tSCC zVxworks_RegsSelect0[] =
10260 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10262 #define VXWORKS_REGS_TEST_CT 1
10263 static tTestDesc aVxworks_RegsTests[] = {
10264 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10267 * Fix Command Arguments for Vxworks_Regs
10269 static const char* apzVxworks_RegsPatch[] = {
10271 "#include <arch/../regs.h>",
10274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10276 * Description of Vxworks_Time fix
10278 tSCC zVxworks_TimeName[] =
10282 * File name selection pattern
10284 tSCC zVxworks_TimeList[] =
10287 * Machine/OS name selection pattern
10289 #define apzVxworks_TimeMachs (const char**)NULL
10292 * content selection pattern - do fix if pattern found
10294 tSCC zVxworks_TimeSelect0[] =
10295 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10298 * perform the 'test' shell command - do fix on success
10300 tSCC zVxworks_TimeTest0[] =
10303 #define VXWORKS_TIME_TEST_CT 2
10304 static tTestDesc aVxworks_TimeTests[] = {
10305 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10306 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10309 * Fix Command Arguments for Vxworks_Time
10311 static const char* apzVxworks_TimePatch[] = {
10313 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10314 #ifdef __cplusplus\n\
10315 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10317 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10319 #define __gcc_VOIDFUNCPTR_defined\n\
10321 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10326 * Description of Vxworks_Write_Const fix
10328 tSCC zVxworks_Write_ConstName[] =
10329 "vxworks_write_const";
10332 * File name selection pattern
10334 tSCC zVxworks_Write_ConstList[] =
10337 * Machine/OS name selection pattern
10339 tSCC* apzVxworks_Write_ConstMachs[] = {
10341 (const char*)NULL };
10342 #define VXWORKS_WRITE_CONST_TEST_CT 0
10343 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10346 * Fix Command Arguments for Vxworks_Write_Const
10348 static const char* apzVxworks_Write_ConstPatch[] = {
10350 "extern int write (int, const char*, size_t);",
10351 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10356 * Description of Vxworks_Iolib_Include_Unistd fix
10358 tSCC zVxworks_Iolib_Include_UnistdName[] =
10359 "vxworks_iolib_include_unistd";
10362 * File name selection pattern
10364 tSCC zVxworks_Iolib_Include_UnistdList[] =
10367 * Machine/OS name selection pattern
10369 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10371 (const char*)NULL };
10374 * content selection pattern - do fix if pattern found
10376 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10377 "#include \"unistd.h\"";
10379 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10380 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10381 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10384 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10386 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10388 "#include <unistd.h>",
10391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10393 * Description of X11_Class fix
10395 tSCC zX11_ClassName[] =
10399 * File name selection pattern
10401 tSCC zX11_ClassList[] =
10404 * Machine/OS name selection pattern
10406 #define apzX11_ClassMachs (const char**)NULL
10409 * content selection pattern - do fix if pattern found
10411 tSCC zX11_ClassSelect0[] =
10412 "^([ \t]*char \\*)class;(.*)";
10415 * content bypass pattern - skip fix if pattern found
10417 tSCC zX11_ClassBypass0[] =
10420 #define X11_CLASS_TEST_CT 2
10421 static tTestDesc aX11_ClassTests[] = {
10422 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10423 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10426 * Fix Command Arguments for X11_Class
10428 static const char* apzX11_ClassPatch[] = {
10430 "#ifdef __cplusplus\n\
10437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10439 * Description of X11_Class_Usage fix
10441 tSCC zX11_Class_UsageName[] =
10445 * File name selection pattern
10447 tSCC zX11_Class_UsageList[] =
10448 "Xm/BaseClassI.h\0";
10450 * Machine/OS name selection pattern
10452 #define apzX11_Class_UsageMachs (const char**)NULL
10455 * content selection pattern - do fix if pattern found
10457 tSCC zX11_Class_UsageSelect0[] =
10461 * content bypass pattern - skip fix if pattern found
10463 tSCC zX11_Class_UsageBypass0[] =
10466 #define X11_CLASS_USAGE_TEST_CT 2
10467 static tTestDesc aX11_Class_UsageTests[] = {
10468 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10469 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10472 * Fix Command Arguments for X11_Class_Usage
10474 static const char* apzX11_Class_UsagePatch[] = {
10479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10481 * Description of X11_New fix
10483 tSCC zX11_NewName[] =
10487 * File name selection pattern
10489 tSCC zX11_NewList[] =
10490 "Xm/Traversal.h\0";
10492 * Machine/OS name selection pattern
10494 #define apzX11_NewMachs (const char**)NULL
10497 * content bypass pattern - skip fix if pattern found
10499 tSCC zX11_NewBypass0[] =
10502 #define X11_NEW_TEST_CT 1
10503 static tTestDesc aX11_NewTests[] = {
10504 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10507 * Fix Command Arguments for X11_New
10509 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10510 "-e", "/Widget\told, new;/i\\\n\
10511 #ifdef __cplusplus\\\n\
10512 \\\tWidget\told, c_new;\\\n\
10514 "-e", "/Widget\told, new;/a\\\n\
10516 "-e", "s/Widget new,/Widget c_new,/g",
10519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10521 * Description of X11_Sprintf fix
10523 tSCC zX11_SprintfName[] =
10527 * File name selection pattern
10529 tSCC zX11_SprintfList[] =
10530 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10532 * Machine/OS name selection pattern
10534 #define apzX11_SprintfMachs (const char**)NULL
10537 * content selection pattern - do fix if pattern found
10539 tSCC zX11_SprintfSelect0[] =
10540 "^extern char \\*\tsprintf\\(\\);$";
10542 #define X11_SPRINTF_TEST_CT 1
10543 static tTestDesc aX11_SprintfTests[] = {
10544 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10547 * Fix Command Arguments for X11_Sprintf
10549 static const char* apzX11_SprintfPatch[] = {
10551 "#ifndef __STDC__\n\
10553 #endif /* !defined __STDC__ */",
10557 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10559 * List of all fixes
10561 #define REGEX_COUNT 298
10562 #define MACH_LIST_SIZE_LIMIT 187
10563 #define FIX_COUNT 260
10566 * Enumerate the fixes
10569 AAB_AIX_STDIO_FIXIDX,
10570 AAB_AIX_FCNTL_FIXIDX,
10571 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10572 DARWIN_API_AVAILABILITY_FIXIDX,
10573 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10574 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10575 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10576 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10577 AAB_SUN_MEMCPY_FIXIDX,
10578 AAB_VXWORKS_ASSERT_FIXIDX,
10579 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10580 AAB_VXWORKS_UNISTD_FIXIDX,
10582 AIX_COMPLEX_FIXIDX,
10583 AIX_EXTERNC_FIXIDX,
10584 AIX_EXTERNCPP1_FIXIDX,
10585 AIX_EXTERNCPP2_FIXIDX,
10586 AIX_INTTYPES_FIXIDX,
10588 AIX_NET_IF_ARP_FIXIDX,
10590 AIX_ONCE_INIT_1_FIXIDX,
10591 AIX_ONCE_INIT_2_FIXIDX,
10592 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10593 AIX_COND_INITIALIZER_1_FIXIDX,
10594 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10595 AIX_PHYSADR_T_FIXIDX,
10596 AIX_PTHREAD_FIXIDX,
10597 AIX_STDINT_1_FIXIDX,
10598 AIX_STDINT_2_FIXIDX,
10599 AIX_STDINT_3_FIXIDX,
10600 AIX_STDINT_4_FIXIDX,
10601 AIX_STDINT_5_FIXIDX,
10602 AIX_STDIO_INLINE_FIXIDX,
10603 AIX_STDLIB_MALLOC_FIXIDX,
10604 AIX_STDLIB_REALLOC_FIXIDX,
10605 AIX_STDLIB_CALLOC_FIXIDX,
10606 AIX_STDLIB_VALLOC_FIXIDX,
10607 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10608 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10609 AIX_STRTOF_CONST_FIXIDX,
10610 AIX_SYSMACHINE_FIXIDX,
10611 AIX_SYSWAIT_2_FIXIDX,
10612 AIX_VOLATILE_FIXIDX,
10614 ALPHA___ASSERT_FIXIDX,
10615 ALPHA_ASSERT_FIXIDX,
10616 ALPHA_GETOPT_FIXIDX,
10617 ALPHA_IF_SEMICOLON_FIXIDX,
10618 ALPHA_PARENS_FIXIDX,
10620 AVOID_BOOL_DEFINE_FIXIDX,
10621 AVOID_BOOL_TYPE_FIXIDX,
10622 AVOID_WCHAR_T_TYPE_FIXIDX,
10623 BAD_STRUCT_TERM_FIXIDX,
10625 BROKEN_ASSERT_STDIO_FIXIDX,
10626 BROKEN_ASSERT_STDLIB_FIXIDX,
10627 BROKEN_CABS_FIXIDX,
10629 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10630 CTRL_QUOTES_DEF_FIXIDX,
10631 CTRL_QUOTES_USE_FIXIDX,
10632 CXX_UNREADY_FIXIDX,
10633 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10634 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10635 DARWIN_EXTERNC_FIXIDX,
10636 DARWIN_GCC4_BREAKAGE_FIXIDX,
10637 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10638 DARWIN_LONGJMP_NORETURN_FIXIDX,
10639 DARWIN_OS_TRACE_1_FIXIDX,
10640 DARWIN_OS_TRACE_2_FIXIDX,
10641 DARWIN_OS_TRACE_3_FIXIDX,
10642 DARWIN_OS_BASE_1_FIXIDX,
10643 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10644 DARWIN_PRIVATE_EXTERN_FIXIDX,
10645 DARWIN_STDINT_1_FIXIDX,
10646 DARWIN_STDINT_2_FIXIDX,
10647 DARWIN_STDINT_3_FIXIDX,
10648 DARWIN_STDINT_4_FIXIDX,
10649 DARWIN_STDINT_5_FIXIDX,
10650 DARWIN_STDINT_6_FIXIDX,
10651 DARWIN_STDINT_7_FIXIDX,
10652 DARWIN_UCRED__ATOMIC_FIXIDX,
10653 DEC_INTERN_ASM_FIXIDX,
10654 DJGPP_WCHAR_H_FIXIDX,
10656 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10657 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10658 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10659 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10660 GLIBC_C99_INLINE_1_FIXIDX,
10661 GLIBC_C99_INLINE_1A_FIXIDX,
10662 GLIBC_C99_INLINE_2_FIXIDX,
10663 GLIBC_C99_INLINE_3_FIXIDX,
10664 GLIBC_C99_INLINE_4_FIXIDX,
10665 GLIBC_MUTEX_INIT_FIXIDX,
10666 GLIBC_STDINT_FIXIDX,
10667 GLIBC_STRNCPY_FIXIDX,
10668 GLIBC_TGMATH_FIXIDX,
10672 HPPA_HPUX_FP_MACROS_FIXIDX,
10673 HPUX10_CPP_POW_INLINE_FIXIDX,
10674 HPUX11_CPP_POW_INLINE_FIXIDX,
10675 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10676 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10677 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10678 HPPA_HPUX11_ALLOCA_FIXIDX,
10680 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10681 HPUX11_EXTERN_SENDFILE_FIXIDX,
10682 HPUX11_EXTERN_SENDPATH_FIXIDX,
10683 HPUX11_FABSF_FIXIDX,
10684 HPUX11_PTHREAD_POINTER_FIXIDX,
10685 HPUX11_PTHREAD_CONST_FIXIDX,
10686 HPUX11_SIZE_T_FIXIDX,
10687 HPUX11_SNPRINTF_FIXIDX,
10688 HPUX11_VSNPRINTF_FIXIDX,
10689 HPUX_VSSCANF_FIXIDX,
10690 HPUX8_BOGUS_INLINES_FIXIDX,
10691 HPUX_C99_INTPTR_FIXIDX,
10692 HPUX_C99_INTTYPES_FIXIDX,
10693 HPUX_C99_INTTYPES2_FIXIDX,
10694 HPUX_C99_INTTYPES3_FIXIDX,
10695 HPUX_C99_INTTYPES4_FIXIDX,
10696 HPUX_CTYPE_MACROS_FIXIDX,
10697 HPUX_EXTERN_ERRNO_FIXIDX,
10699 HPUX_IMAGINARY_I_FIXIDX,
10700 HPUX_INTTYPE_INT8_T_FIXIDX,
10701 HPUX_LONG_DOUBLE_FIXIDX,
10702 HPUX_LONG_DOUBLE_2_FIXIDX,
10703 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10704 HPUX_SPU_INFO_FIXIDX,
10705 HPUX_STDINT_LEAST_FAST_FIXIDX,
10706 HPUX_LONGJMP_FIXIDX,
10707 HPUX_SYSTIME_FIXIDX,
10708 HUGE_VAL_HEX_FIXIDX,
10709 HUGE_VALF_HEX_FIXIDX,
10710 HUGE_VALL_HEX_FIXIDX,
10711 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10712 IO_QUOTES_DEF_FIXIDX,
10713 IO_QUOTES_USE_FIXIDX,
10714 IP_MISSING_SEMI_FIXIDX,
10715 IRIX_LIMITS_CONST_FIXIDX,
10716 IRIX_STDIO_VA_LIST_FIXIDX,
10717 KANDR_CONCAT_FIXIDX,
10718 LINUX_IA64_UCONTEXT_FIXIDX,
10719 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10720 LYNXOS_MISSING_PUTENV_FIXIDX,
10721 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10722 MACHINE_NAME_FIXIDX,
10723 MATH_EXCEPTION_FIXIDX,
10724 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10725 NESTED_AUTH_DES_FIXIDX,
10726 NETBSD_C99_INLINE_1_FIXIDX,
10727 NETBSD_C99_INLINE_2_FIXIDX,
10728 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10729 NEWLIB_STDINT_1_FIXIDX,
10730 NEWLIB_STDINT_2_FIXIDX,
10731 NEXT_MATH_PREFIX_FIXIDX,
10732 NEXT_TEMPLATE_FIXIDX,
10733 NEXT_VOLITILE_FIXIDX,
10734 NEXT_WAIT_UNION_FIXIDX,
10735 NODEENT_SYNTAX_FIXIDX,
10736 OPENBSD_NULL_DEFINITION_FIXIDX,
10737 OBSTACK_LVALUE_CAST_FIXIDX,
10738 OPENBSD_VA_START_FIXIDX,
10739 OSF_NAMESPACE_A_FIXIDX,
10740 OSF_NAMESPACE_C_FIXIDX,
10741 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10742 READ_RET_TYPE_FIXIDX,
10743 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10744 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10745 RS6000_DOUBLE_FIXIDX,
10746 RS6000_FCHMOD_FIXIDX,
10747 RS6000_PARAM_FIXIDX,
10748 SOLARIS___RESTRICT_FIXIDX,
10749 SOLARIS_COMPLEX_FIXIDX,
10750 SOLARIS_COMPLEX_CXX_FIXIDX,
10751 SOLARIS_CXX_LINKAGE_FIXIDX,
10752 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10753 SOLARIS_GETS_C11_FIXIDX,
10754 SOLARIS_GETS_CXX14_FIXIDX,
10755 SOLARIS_INT_CONST_FIXIDX,
10756 SOLARIS_INT_LIMITS_1_FIXIDX,
10757 SOLARIS_INT_LIMITS_2_FIXIDX,
10758 SOLARIS_INT_LIMITS_3_FIXIDX,
10759 SOLARIS_MATH_1_FIXIDX,
10760 SOLARIS_MATH_10_FIXIDX,
10761 SOLARIS_MATH_2_FIXIDX,
10762 SOLARIS_MATH_3_FIXIDX,
10763 SOLARIS_MATH_4_FIXIDX,
10764 SOLARIS_MATH_8_FIXIDX,
10765 SOLARIS_MATH_9_FIXIDX,
10766 SOLARIS_MATH_11_FIXIDX,
10767 SOLARIS_MATH_12_FIXIDX,
10768 SOLARIS_ONCE_INIT_1_FIXIDX,
10769 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10770 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10771 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10772 SOLARIS_STD___FILBUF_FIXIDX,
10773 SOLARIS_STD_GETS_CXX14_FIXIDX,
10774 SOLARIS_STDIO_TAG_FIXIDX,
10775 SOLARIS_STDLIB_NORETURN_FIXIDX,
10777 STDIO_STDARG_H_FIXIDX,
10778 STDIO_VA_LIST_FIXIDX,
10779 STDIO_VA_LIST_CLIENTS_FIXIDX,
10780 STRICT_ANSI_NOT_FIXIDX,
10781 STRICT_ANSI_NOT_CTD_FIXIDX,
10782 STRICT_ANSI_ONLY_FIXIDX,
10783 STRUCT_FILE_FIXIDX,
10784 STRUCT_SOCKADDR_FIXIDX,
10785 SUN_AUTH_PROTO_FIXIDX,
10786 SUN_BOGUS_IFDEF_FIXIDX,
10787 SUN_CATMACRO_FIXIDX,
10789 SUN_RUSERS_SEMI_FIXIDX,
10791 SUNOS_STRLEN_FIXIDX,
10792 SUSE_LINUX_VT_CXX_FIXIDX,
10793 SVR4_DISABLE_OPT_FIXIDX,
10794 SVR4_GETCWD_FIXIDX,
10795 SVR4_PROFIL_FIXIDX,
10796 SVR4_SIGHANDLER_TYPE_FIXIDX,
10797 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10798 SYSV68_STRING_FIXIDX,
10799 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10800 THREAD_KEYWORD_FIXIDX,
10801 TINFO_CPLUSPLUS_FIXIDX,
10802 ULTRIX_CONST_FIXIDX,
10803 ULTRIX_CONST2_FIXIDX,
10804 VA_I960_MACRO_FIXIDX,
10805 VMS_ADD_MISSING_BRACES_FIXIDX,
10806 VMS_DECC_BUILTIN_FIXIDX,
10807 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10808 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10809 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10810 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10811 VMS_NO_64BIT_GETOPT_FIXIDX,
10812 VMS_USE_FAST_SETJMP_FIXIDX,
10813 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10814 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10816 VXWORKS_GCC_PROBLEM_FIXIDX,
10817 VXWORKS_IOCTL_MACRO_FIXIDX,
10818 VXWORKS_MKDIR_MACRO_FIXIDX,
10819 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10820 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10821 VXWORKS_REGS_FIXIDX,
10822 VXWORKS_TIME_FIXIDX,
10823 VXWORKS_WRITE_CONST_FIXIDX,
10824 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10826 X11_CLASS_USAGE_FIXIDX,
10831 tFixDesc fixDescList[ FIX_COUNT ] = {
10832 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10833 apzAab_Aix_StdioMachs,
10834 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10835 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10837 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10838 apzAab_Aix_FcntlMachs,
10839 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10840 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10842 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10843 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10844 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10845 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10847 { zDarwin_Api_AvailabilityName, zDarwin_Api_AvailabilityList,
10848 apzDarwin_Api_AvailabilityMachs,
10849 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10850 aDarwin_Api_AvailabilityTests, apzDarwin_Api_AvailabilityPatch, 0 },
10852 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10853 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10854 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10855 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10857 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10858 apzAab_Fd_Zero_Gnu_Types_HMachs,
10859 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10860 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10862 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10863 apzAab_Fd_Zero_Selectbits_HMachs,
10864 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10865 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10867 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10868 apzAab_Solaris_Sys_Varargs_HMachs,
10869 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10870 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10872 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10873 apzAab_Sun_MemcpyMachs,
10874 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10875 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10877 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10878 apzAab_Vxworks_AssertMachs,
10879 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10880 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10882 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10883 apzAab_Vxworks_Regs_VxtypesMachs,
10884 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10885 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10887 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10888 apzAab_Vxworks_UnistdMachs,
10889 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10890 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10892 { zAix_AssertName, zAix_AssertList,
10893 apzAix_AssertMachs,
10894 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10895 aAix_AssertTests, apzAix_AssertPatch, 0 },
10897 { zAix_ComplexName, zAix_ComplexList,
10898 apzAix_ComplexMachs,
10899 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10900 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10902 { zAix_ExterncName, zAix_ExterncList,
10903 apzAix_ExterncMachs,
10904 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10905 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10907 { zAix_Externcpp1Name, zAix_Externcpp1List,
10908 apzAix_Externcpp1Machs,
10909 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10910 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10912 { zAix_Externcpp2Name, zAix_Externcpp2List,
10913 apzAix_Externcpp2Machs,
10914 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10915 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10917 { zAix_InttypesName, zAix_InttypesList,
10918 apzAix_InttypesMachs,
10919 AIX_INTTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10920 aAix_InttypesTests, apzAix_InttypesPatch, 0 },
10922 { zAix_MallocName, zAix_MallocList,
10923 apzAix_MallocMachs,
10924 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10925 aAix_MallocTests, apzAix_MallocPatch, 0 },
10927 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10928 apzAix_Net_If_ArpMachs,
10929 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10930 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10932 { zAix_NullName, zAix_NullList,
10934 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10935 aAix_NullTests, apzAix_NullPatch, 0 },
10937 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10938 apzAix_Once_Init_1Machs,
10939 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10940 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10942 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10943 apzAix_Once_Init_2Machs,
10944 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10945 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10947 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10948 apzAix_Mutex_Initializer_1Machs,
10949 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10950 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10952 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10953 apzAix_Cond_Initializer_1Machs,
10954 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10955 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10957 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10958 apzAix_Rwlock_Initializer_1Machs,
10959 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10960 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10962 { zAix_Physadr_TName, zAix_Physadr_TList,
10963 apzAix_Physadr_TMachs,
10964 AIX_PHYSADR_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10965 aAix_Physadr_TTests, apzAix_Physadr_TPatch, 0 },
10967 { zAix_PthreadName, zAix_PthreadList,
10968 apzAix_PthreadMachs,
10969 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10970 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10972 { zAix_Stdint_1Name, zAix_Stdint_1List,
10973 apzAix_Stdint_1Machs,
10974 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10975 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10977 { zAix_Stdint_2Name, zAix_Stdint_2List,
10978 apzAix_Stdint_2Machs,
10979 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10980 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10982 { zAix_Stdint_3Name, zAix_Stdint_3List,
10983 apzAix_Stdint_3Machs,
10984 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10985 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10987 { zAix_Stdint_4Name, zAix_Stdint_4List,
10988 apzAix_Stdint_4Machs,
10989 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10990 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10992 { zAix_Stdint_5Name, zAix_Stdint_5List,
10993 apzAix_Stdint_5Machs,
10994 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10995 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10997 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10998 apzAix_Stdio_InlineMachs,
10999 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11000 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
11002 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
11003 apzAix_Stdlib_MallocMachs,
11004 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11005 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
11007 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
11008 apzAix_Stdlib_ReallocMachs,
11009 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11010 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
11012 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
11013 apzAix_Stdlib_CallocMachs,
11014 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11015 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
11017 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
11018 apzAix_Stdlib_VallocMachs,
11019 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11020 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
11022 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
11023 apzAix_Stdlib_Vec_MallocMachs,
11024 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11025 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
11027 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
11028 apzAix_Stdlib_Vec_CallocMachs,
11029 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11030 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
11032 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
11033 apzAix_Strtof_ConstMachs,
11034 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11035 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
11037 { zAix_SysmachineName, zAix_SysmachineList,
11038 apzAix_SysmachineMachs,
11039 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11040 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
11042 { zAix_Syswait_2Name, zAix_Syswait_2List,
11043 apzAix_Syswait_2Machs,
11044 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11045 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
11047 { zAix_VolatileName, zAix_VolatileList,
11048 apzAix_VolatileMachs,
11049 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11050 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
11052 { zAix_UnistdName, zAix_UnistdList,
11053 apzAix_UnistdMachs,
11054 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11055 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
11057 { zAlpha___AssertName, zAlpha___AssertList,
11058 apzAlpha___AssertMachs,
11059 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11060 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
11062 { zAlpha_AssertName, zAlpha_AssertList,
11063 apzAlpha_AssertMachs,
11064 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11065 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
11067 { zAlpha_GetoptName, zAlpha_GetoptList,
11068 apzAlpha_GetoptMachs,
11069 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11070 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
11072 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
11073 apzAlpha_If_SemicolonMachs,
11074 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11075 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
11077 { zAlpha_ParensName, zAlpha_ParensList,
11078 apzAlpha_ParensMachs,
11079 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11080 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
11082 { zAlpha_SbrkName, zAlpha_SbrkList,
11083 apzAlpha_SbrkMachs,
11084 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11085 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
11087 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
11088 apzAvoid_Bool_DefineMachs,
11089 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11090 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
11092 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
11093 apzAvoid_Bool_TypeMachs,
11094 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11095 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
11097 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
11098 apzAvoid_Wchar_T_TypeMachs,
11099 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11100 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
11102 { zBad_Struct_TermName, zBad_Struct_TermList,
11103 apzBad_Struct_TermMachs,
11104 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11105 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
11107 { zBadquoteName, zBadquoteList,
11109 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11110 aBadquoteTests, apzBadquotePatch, 0 },
11112 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
11113 apzBroken_Assert_StdioMachs,
11114 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11115 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
11117 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
11118 apzBroken_Assert_StdlibMachs,
11119 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11120 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
11122 { zBroken_CabsName, zBroken_CabsList,
11123 apzBroken_CabsMachs,
11124 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11125 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
11127 { zBroken_NanName, zBroken_NanList,
11128 apzBroken_NanMachs,
11129 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11130 aBroken_NanTests, apzBroken_NanPatch, 0 },
11132 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
11133 apzBsd_Stdio_Attrs_ConflictMachs,
11134 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11135 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11137 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
11138 apzCtrl_Quotes_DefMachs,
11139 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11140 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
11142 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
11143 apzCtrl_Quotes_UseMachs,
11144 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11145 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
11147 { zCxx_UnreadyName, zCxx_UnreadyList,
11148 apzCxx_UnreadyMachs,
11149 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11150 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
11152 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
11153 apzDarwin_AvailabilityinternalMachs,
11154 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11155 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
11157 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
11158 apzDarwin_9_Long_Double_Funcs_2Machs,
11159 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11160 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11162 { zDarwin_ExterncName, zDarwin_ExterncList,
11163 apzDarwin_ExterncMachs,
11164 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11165 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
11167 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
11168 apzDarwin_Gcc4_BreakageMachs,
11169 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11170 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
11172 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
11173 apzDarwin_Ll_Funcs_AvailMachs,
11174 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11175 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
11177 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
11178 apzDarwin_Longjmp_NoreturnMachs,
11179 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11180 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
11182 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
11183 apzDarwin_Os_Trace_1Machs,
11184 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11185 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
11187 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
11188 apzDarwin_Os_Trace_2Machs,
11189 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11190 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
11192 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
11193 apzDarwin_Os_Trace_3Machs,
11194 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11195 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
11197 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
11198 apzDarwin_Os_Base_1Machs,
11199 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11200 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
11202 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
11203 apzDarwin_Dispatch_Object_1Machs,
11204 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11205 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
11207 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
11208 apzDarwin_Private_ExternMachs,
11209 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11210 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
11212 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
11213 apzDarwin_Stdint_1Machs,
11214 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11215 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
11217 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
11218 apzDarwin_Stdint_2Machs,
11219 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11220 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
11222 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
11223 apzDarwin_Stdint_3Machs,
11224 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11225 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
11227 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
11228 apzDarwin_Stdint_4Machs,
11229 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11230 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11232 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11233 apzDarwin_Stdint_5Machs,
11234 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11235 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11237 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11238 apzDarwin_Stdint_6Machs,
11239 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11240 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11242 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11243 apzDarwin_Stdint_7Machs,
11244 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11245 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11247 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11248 apzDarwin_Ucred__AtomicMachs,
11249 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11250 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11252 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11253 apzDec_Intern_AsmMachs,
11254 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11255 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11257 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11258 apzDjgpp_Wchar_HMachs,
11259 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11260 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11262 { zEcd_CursorName, zEcd_CursorList,
11263 apzEcd_CursorMachs,
11264 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11265 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11267 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11268 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11269 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11270 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11272 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11273 apzFeraiseexcept_Nosse_InvalidMachs,
11274 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11275 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11277 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11278 apzFreebsd_Gcc3_BreakageMachs,
11279 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11280 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11282 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11283 apzFreebsd_Gcc4_BreakageMachs,
11284 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11285 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11287 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11288 apzGlibc_C99_Inline_1Machs,
11289 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11290 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11292 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11293 apzGlibc_C99_Inline_1aMachs,
11294 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11295 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11297 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11298 apzGlibc_C99_Inline_2Machs,
11299 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11300 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11302 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11303 apzGlibc_C99_Inline_3Machs,
11304 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11305 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11307 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11308 apzGlibc_C99_Inline_4Machs,
11309 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11310 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11312 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11313 apzGlibc_Mutex_InitMachs,
11314 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11315 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11317 { zGlibc_StdintName, zGlibc_StdintList,
11318 apzGlibc_StdintMachs,
11319 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11320 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11322 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11323 apzGlibc_StrncpyMachs,
11324 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11325 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11327 { zGlibc_TgmathName, zGlibc_TgmathList,
11328 apzGlibc_TgmathMachs,
11329 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11330 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11332 { zGnu_TypesName, zGnu_TypesList,
11334 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11335 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11337 { zHp_InlineName, zHp_InlineList,
11339 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11340 aHp_InlineTests, apzHp_InlinePatch, 0 },
11342 { zHp_SysfileName, zHp_SysfileList,
11343 apzHp_SysfileMachs,
11344 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11345 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11347 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11348 apzHppa_Hpux_Fp_MacrosMachs,
11349 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11350 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11352 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11353 apzHpux10_Cpp_Pow_InlineMachs,
11354 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11355 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11357 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11358 apzHpux11_Cpp_Pow_InlineMachs,
11359 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11360 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11362 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11363 apzHpux10_Ctype_Declarations1Machs,
11364 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11365 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11367 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11368 apzHpux10_Ctype_Declarations2Machs,
11369 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11370 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11372 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11373 apzHpux10_Stdio_DeclarationsMachs,
11374 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11375 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11377 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11378 apzHppa_Hpux11_AllocaMachs,
11379 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11380 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11382 { zHpux11_AbsName, zHpux11_AbsList,
11383 apzHpux11_AbsMachs,
11384 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11385 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11387 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11388 apzHpux11_Lwp_Rwlock_ValidMachs,
11389 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11390 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11392 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11393 apzHpux11_Extern_SendfileMachs,
11394 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11395 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11397 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11398 apzHpux11_Extern_SendpathMachs,
11399 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11400 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11402 { zHpux11_FabsfName, zHpux11_FabsfList,
11403 apzHpux11_FabsfMachs,
11404 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11405 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11407 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11408 apzHpux11_Pthread_PointerMachs,
11409 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11410 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11412 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11413 apzHpux11_Pthread_ConstMachs,
11414 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11415 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11417 { zHpux11_Size_TName, zHpux11_Size_TList,
11418 apzHpux11_Size_TMachs,
11419 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11420 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11422 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11423 apzHpux11_SnprintfMachs,
11424 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11425 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11427 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11428 apzHpux11_VsnprintfMachs,
11429 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11430 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11432 { zHpux_VsscanfName, zHpux_VsscanfList,
11433 apzHpux_VsscanfMachs,
11434 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11435 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11437 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11438 apzHpux8_Bogus_InlinesMachs,
11439 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11440 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11442 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11443 apzHpux_C99_IntptrMachs,
11444 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11445 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11447 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11448 apzHpux_C99_InttypesMachs,
11449 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11450 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11452 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11453 apzHpux_C99_Inttypes2Machs,
11454 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11455 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11457 { zHpux_C99_Inttypes3Name, zHpux_C99_Inttypes3List,
11458 apzHpux_C99_Inttypes3Machs,
11459 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11460 aHpux_C99_Inttypes3Tests, apzHpux_C99_Inttypes3Patch, 0 },
11462 { zHpux_C99_Inttypes4Name, zHpux_C99_Inttypes4List,
11463 apzHpux_C99_Inttypes4Machs,
11464 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
11465 aHpux_C99_Inttypes4Tests, apzHpux_C99_Inttypes4Patch, 0 },
11467 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11468 apzHpux_Ctype_MacrosMachs,
11469 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11470 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11472 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11473 apzHpux_Extern_ErrnoMachs,
11474 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11475 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11477 { zHpux_HtonlName, zHpux_HtonlList,
11478 apzHpux_HtonlMachs,
11479 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11480 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11482 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11483 apzHpux_Imaginary_IMachs,
11484 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11485 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11487 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11488 apzHpux_Inttype_Int8_TMachs,
11489 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11490 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11492 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11493 apzHpux_Long_DoubleMachs,
11494 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11495 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11497 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11498 apzHpux_Long_Double_2Machs,
11499 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11500 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11502 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11503 apzHpux_Pthread_InitializersMachs,
11504 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11505 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11507 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11508 apzHpux_Spu_InfoMachs,
11509 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11510 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11512 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11513 apzHpux_Stdint_Least_FastMachs,
11514 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11515 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11517 { zHpux_LongjmpName, zHpux_LongjmpList,
11518 apzHpux_LongjmpMachs,
11519 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11520 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11522 { zHpux_SystimeName, zHpux_SystimeList,
11523 apzHpux_SystimeMachs,
11524 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11525 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11527 { zHuge_Val_HexName, zHuge_Val_HexList,
11528 apzHuge_Val_HexMachs,
11529 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11530 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11532 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11533 apzHuge_Valf_HexMachs,
11534 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11535 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11537 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11538 apzHuge_Vall_HexMachs,
11539 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11540 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11542 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11543 apzInt_Abort_Free_And_ExitMachs,
11544 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11545 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11547 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11548 apzIo_Quotes_DefMachs,
11549 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11550 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11552 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11553 apzIo_Quotes_UseMachs,
11554 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11555 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11557 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11558 apzIp_Missing_SemiMachs,
11559 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11560 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11562 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11563 apzIrix_Limits_ConstMachs,
11564 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11565 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11567 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11568 apzIrix_Stdio_Va_ListMachs,
11569 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11570 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11572 { zKandr_ConcatName, zKandr_ConcatList,
11573 apzKandr_ConcatMachs,
11574 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11575 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11577 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11578 apzLinux_Ia64_UcontextMachs,
11579 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11580 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11582 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11583 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11584 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11585 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11587 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11588 apzLynxos_Missing_PutenvMachs,
11589 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11590 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11592 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11593 apzMachine_Ansi_H_Va_ListMachs,
11594 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11595 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11597 { zMachine_NameName, zMachine_NameList,
11598 apzMachine_NameMachs,
11599 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11600 aMachine_NameTests, apzMachine_NamePatch, 0 },
11602 { zMath_ExceptionName, zMath_ExceptionList,
11603 apzMath_ExceptionMachs,
11604 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11605 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11607 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11608 apzMath_Huge_Val_From_Dbl_MaxMachs,
11609 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11610 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11612 { zNested_Auth_DesName, zNested_Auth_DesList,
11613 apzNested_Auth_DesMachs,
11614 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11615 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11617 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11618 apzNetbsd_C99_Inline_1Machs,
11619 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11620 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11622 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11623 apzNetbsd_C99_Inline_2Machs,
11624 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11625 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11627 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11628 apzNetbsd_Extra_SemicolonMachs,
11629 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11630 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11632 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11633 apzNewlib_Stdint_1Machs,
11634 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11635 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11637 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11638 apzNewlib_Stdint_2Machs,
11639 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11640 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11642 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11643 apzNext_Math_PrefixMachs,
11644 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11645 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11647 { zNext_TemplateName, zNext_TemplateList,
11648 apzNext_TemplateMachs,
11649 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11650 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11652 { zNext_VolitileName, zNext_VolitileList,
11653 apzNext_VolitileMachs,
11654 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11655 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11657 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11658 apzNext_Wait_UnionMachs,
11659 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11660 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11662 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11663 apzNodeent_SyntaxMachs,
11664 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11665 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11667 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11668 apzOpenbsd_Null_DefinitionMachs,
11669 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11670 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11672 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11673 apzObstack_Lvalue_CastMachs,
11674 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11675 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11677 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11678 apzOpenbsd_Va_StartMachs,
11679 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11680 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11682 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11683 apzOsf_Namespace_AMachs,
11684 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11685 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11687 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11688 apzOsf_Namespace_CMachs,
11689 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11690 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11692 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11693 apzPthread_Incomplete_Struct_ArgumentMachs,
11694 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11695 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11697 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11698 apzRead_Ret_TypeMachs,
11699 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11700 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11702 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11703 apzRpc_Xdr_Lvalue_Cast_AMachs,
11704 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11705 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11707 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11708 apzRpc_Xdr_Lvalue_Cast_BMachs,
11709 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11710 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11712 { zRs6000_DoubleName, zRs6000_DoubleList,
11713 apzRs6000_DoubleMachs,
11714 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11715 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11717 { zRs6000_FchmodName, zRs6000_FchmodList,
11718 apzRs6000_FchmodMachs,
11719 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11720 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11722 { zRs6000_ParamName, zRs6000_ParamList,
11723 apzRs6000_ParamMachs,
11724 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11725 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11727 { zSolaris___RestrictName, zSolaris___RestrictList,
11728 apzSolaris___RestrictMachs,
11729 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11730 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11732 { zSolaris_ComplexName, zSolaris_ComplexList,
11733 apzSolaris_ComplexMachs,
11734 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11735 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11737 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11738 apzSolaris_Complex_CxxMachs,
11739 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11740 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11742 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11743 apzSolaris_Cxx_LinkageMachs,
11744 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11745 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11747 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11748 apzSolaris_Getc_Strict_StdcMachs,
11749 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11750 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11752 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11753 apzSolaris_Gets_C11Machs,
11754 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11755 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11757 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11758 apzSolaris_Gets_Cxx14Machs,
11759 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11760 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11762 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11763 apzSolaris_Int_ConstMachs,
11764 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11765 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11767 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11768 apzSolaris_Int_Limits_1Machs,
11769 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11770 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11772 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11773 apzSolaris_Int_Limits_2Machs,
11774 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11775 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11777 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11778 apzSolaris_Int_Limits_3Machs,
11779 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11780 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11782 { zSolaris_Math_1Name, zSolaris_Math_1List,
11783 apzSolaris_Math_1Machs,
11784 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11785 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11787 { zSolaris_Math_10Name, zSolaris_Math_10List,
11788 apzSolaris_Math_10Machs,
11789 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11790 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11792 { zSolaris_Math_2Name, zSolaris_Math_2List,
11793 apzSolaris_Math_2Machs,
11794 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11795 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11797 { zSolaris_Math_3Name, zSolaris_Math_3List,
11798 apzSolaris_Math_3Machs,
11799 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11800 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11802 { zSolaris_Math_4Name, zSolaris_Math_4List,
11803 apzSolaris_Math_4Machs,
11804 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11805 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11807 { zSolaris_Math_8Name, zSolaris_Math_8List,
11808 apzSolaris_Math_8Machs,
11809 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11810 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11812 { zSolaris_Math_9Name, zSolaris_Math_9List,
11813 apzSolaris_Math_9Machs,
11814 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11815 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11817 { zSolaris_Math_11Name, zSolaris_Math_11List,
11818 apzSolaris_Math_11Machs,
11819 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11820 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11822 { zSolaris_Math_12Name, zSolaris_Math_12List,
11823 apzSolaris_Math_12Machs,
11824 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11825 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11827 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11828 apzSolaris_Once_Init_1Machs,
11829 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11830 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11832 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11833 apzSolaris_Posix_Spawn_RestrictMachs,
11834 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11835 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11837 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11838 apzSolaris_Pow_Int_OverloadMachs,
11839 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11840 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11842 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11843 apzSolaris_Rwlock_Init_1Machs,
11844 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11845 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11847 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11848 apzSolaris_Std___FilbufMachs,
11849 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11850 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11852 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11853 apzSolaris_Std_Gets_Cxx14Machs,
11854 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11855 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11857 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11858 apzSolaris_Stdio_TagMachs,
11859 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11860 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11862 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11863 apzSolaris_Stdlib_NoreturnMachs,
11864 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11865 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11867 { zStatsswtchName, zStatsswtchList,
11868 apzStatsswtchMachs,
11869 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11870 aStatsswtchTests, apzStatsswtchPatch, 0 },
11872 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11873 apzStdio_Stdarg_HMachs,
11874 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11875 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11877 { zStdio_Va_ListName, zStdio_Va_ListList,
11878 apzStdio_Va_ListMachs,
11879 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11880 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11882 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11883 apzStdio_Va_List_ClientsMachs,
11884 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11885 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11887 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11888 apzStrict_Ansi_NotMachs,
11889 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11890 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11892 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11893 apzStrict_Ansi_Not_CtdMachs,
11894 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11895 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11897 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11898 apzStrict_Ansi_OnlyMachs,
11899 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11900 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11902 { zStruct_FileName, zStruct_FileList,
11903 apzStruct_FileMachs,
11904 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11905 aStruct_FileTests, apzStruct_FilePatch, 0 },
11907 { zStruct_SockaddrName, zStruct_SockaddrList,
11908 apzStruct_SockaddrMachs,
11909 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11910 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11912 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11913 apzSun_Auth_ProtoMachs,
11914 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11915 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11917 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11918 apzSun_Bogus_IfdefMachs,
11919 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11920 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11922 { zSun_CatmacroName, zSun_CatmacroList,
11923 apzSun_CatmacroMachs,
11924 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11925 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11927 { zSun_MallocName, zSun_MallocList,
11928 apzSun_MallocMachs,
11929 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11930 aSun_MallocTests, apzSun_MallocPatch, 0 },
11932 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11933 apzSun_Rusers_SemiMachs,
11934 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11935 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11937 { zSun_SignalName, zSun_SignalList,
11938 apzSun_SignalMachs,
11939 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11940 aSun_SignalTests, apzSun_SignalPatch, 0 },
11942 { zSunos_StrlenName, zSunos_StrlenList,
11943 apzSunos_StrlenMachs,
11944 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11945 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11947 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11948 apzSuse_Linux_Vt_CxxMachs,
11949 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11950 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11952 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11953 apzSvr4_Disable_OptMachs,
11954 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11955 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11957 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11958 apzSvr4_GetcwdMachs,
11959 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11960 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11962 { zSvr4_ProfilName, zSvr4_ProfilList,
11963 apzSvr4_ProfilMachs,
11964 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11965 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11967 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11968 apzSvr4_Sighandler_TypeMachs,
11969 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11970 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11972 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11973 apzSvr4_Undeclared_GetrngeMachs,
11974 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11975 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11977 { zSysv68_StringName, zSysv68_StringList,
11978 apzSysv68_StringMachs,
11979 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11980 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11982 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11983 apzSysz_Stdlib_For_SunMachs,
11984 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11985 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11987 { zThread_KeywordName, zThread_KeywordList,
11988 apzThread_KeywordMachs,
11989 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11990 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11992 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11993 apzTinfo_CplusplusMachs,
11994 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11995 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11997 { zUltrix_ConstName, zUltrix_ConstList,
11998 apzUltrix_ConstMachs,
11999 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12000 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
12002 { zUltrix_Const2Name, zUltrix_Const2List,
12003 apzUltrix_Const2Machs,
12004 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12005 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
12007 { zVa_I960_MacroName, zVa_I960_MacroList,
12008 apzVa_I960_MacroMachs,
12009 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12010 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
12012 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
12013 apzVms_Add_Missing_BracesMachs,
12014 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12015 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
12017 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
12018 apzVms_Decc_BuiltinMachs,
12019 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
12020 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
12022 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
12023 apzVms_Define_Can_Use_Extern_PrefixMachs,
12024 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12025 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
12027 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
12028 apzVms_Disable_Decc_String_BuiltinsMachs,
12029 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12030 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
12032 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
12033 apzVms_Do_Not_Redeclare_HostaliasMachs,
12034 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12035 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
12037 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
12038 apzVms_Forward_Declare_StructMachs,
12039 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12040 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
12042 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
12043 apzVms_No_64bit_GetoptMachs,
12044 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12045 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
12047 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
12048 apzVms_Use_Fast_SetjmpMachs,
12049 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12050 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
12052 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
12053 apzVms_Use_Pragma_Extern_ModelMachs,
12054 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12055 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
12057 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
12058 apzVms_Use_Quoted_IncludeMachs,
12059 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12060 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
12062 { zVoid_NullName, zVoid_NullList,
12064 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12065 aVoid_NullTests, apzVoid_NullPatch, 0 },
12067 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
12068 apzVxworks_Gcc_ProblemMachs,
12069 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
12070 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
12072 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
12073 apzVxworks_Ioctl_MacroMachs,
12074 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12075 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
12077 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
12078 apzVxworks_Mkdir_MacroMachs,
12079 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12080 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
12082 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
12083 apzVxworks_Needs_VxtypesMachs,
12084 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12085 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
12087 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
12088 apzVxworks_Needs_VxworksMachs,
12089 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
12090 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
12092 { zVxworks_RegsName, zVxworks_RegsList,
12093 apzVxworks_RegsMachs,
12094 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12095 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
12097 { zVxworks_TimeName, zVxworks_TimeList,
12098 apzVxworks_TimeMachs,
12099 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12100 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
12102 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
12103 apzVxworks_Write_ConstMachs,
12104 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12105 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
12107 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
12108 apzVxworks_Iolib_Include_UnistdMachs,
12109 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12110 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
12112 { zX11_ClassName, zX11_ClassList,
12114 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12115 aX11_ClassTests, apzX11_ClassPatch, 0 },
12117 { zX11_Class_UsageName, zX11_Class_UsageList,
12118 apzX11_Class_UsageMachs,
12119 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12120 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
12122 { zX11_NewName, zX11_NewList,
12124 X11_NEW_TEST_CT, FD_MACH_ONLY,
12125 aX11_NewTests, apzX11_NewPatch, 0 },
12127 { zX11_SprintfName, zX11_SprintfList,
12128 apzX11_SprintfMachs,
12129 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12130 aX11_SprintfTests, apzX11_SprintfPatch, 0 }