1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed October 3, 2020 at 11:40:52 PM by AutoGen 5.18
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat Oct 3 23:40:52 UTC 2020
11 * You must regenerate it. Use the ./genfixes script.
14 * This is part of the fixincl program used to install modified versions of
15 * certain ANSI-incompatible system header files which are fixed to work
16 * correctly with ANSI C and placed in a directory that GNU C will search.
18 * This file contains 259 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_Pthread fix
1254 tSCC zAix_PthreadName[] =
1258 * File name selection pattern
1260 tSCC zAix_PthreadList[] =
1263 * Machine/OS name selection pattern
1265 #define apzAix_PthreadMachs (const char**)NULL
1268 * content selection pattern - do fix if pattern found
1270 tSCC zAix_PthreadSelect0[] =
1271 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1275 #define AIX_PTHREAD_TEST_CT 1
1276 static tTestDesc aAix_PthreadTests[] = {
1277 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1280 * Fix Command Arguments for Aix_Pthread
1282 static const char* apzAix_PthreadPatch[] = {
1287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1289 * Description of Aix_Stdint_1 fix
1291 tSCC zAix_Stdint_1Name[] =
1295 * File name selection pattern
1297 tSCC zAix_Stdint_1List[] =
1298 "stdint-aix.h\0stdint.h\0";
1300 * Machine/OS name selection pattern
1302 tSCC* apzAix_Stdint_1Machs[] = {
1304 (const char*)NULL };
1307 * content selection pattern - do fix if pattern found
1309 tSCC zAix_Stdint_1Select0[] =
1310 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1311 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1313 #define AIX_STDINT_1_TEST_CT 1
1314 static tTestDesc aAix_Stdint_1Tests[] = {
1315 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1318 * Fix Command Arguments for Aix_Stdint_1
1320 static const char* apzAix_Stdint_1Patch[] = {
1322 "#define UINT8_MAX\t(255)\n\
1323 #define UINT16_MAX\t(65535)",
1326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1328 * Description of Aix_Stdint_2 fix
1330 tSCC zAix_Stdint_2Name[] =
1334 * File name selection pattern
1336 tSCC zAix_Stdint_2List[] =
1337 "stdint-aix.h\0stdint.h\0";
1339 * Machine/OS name selection pattern
1341 tSCC* apzAix_Stdint_2Machs[] = {
1343 (const char*)NULL };
1346 * content selection pattern - do fix if pattern found
1348 tSCC zAix_Stdint_2Select0[] =
1349 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1350 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1351 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1353 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1354 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1355 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1357 #define AIX_STDINT_2_TEST_CT 1
1358 static tTestDesc aAix_Stdint_2Tests[] = {
1359 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1362 * Fix Command Arguments for Aix_Stdint_2
1364 static const char* apzAix_Stdint_2Patch[] = {
1366 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1367 #define INTPTR_MAX\t9223372036854775807L\n\
1368 #define UINTPTR_MAX\t18446744073709551615UL\n\
1370 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1371 #define INTPTR_MAX\t2147483647L\n\
1372 #define UINTPTR_MAX\t4294967295UL",
1375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1377 * Description of Aix_Stdint_3 fix
1379 tSCC zAix_Stdint_3Name[] =
1383 * File name selection pattern
1385 tSCC zAix_Stdint_3List[] =
1386 "stdint-aix.h\0stdint.h\0";
1388 * Machine/OS name selection pattern
1390 tSCC* apzAix_Stdint_3Machs[] = {
1392 (const char*)NULL };
1395 * content selection pattern - do fix if pattern found
1397 tSCC zAix_Stdint_3Select0[] =
1398 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1399 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1401 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1402 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1404 #define AIX_STDINT_3_TEST_CT 1
1405 static tTestDesc aAix_Stdint_3Tests[] = {
1406 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1409 * Fix Command Arguments for Aix_Stdint_3
1411 static const char* apzAix_Stdint_3Patch[] = {
1413 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1414 #define PTRDIFF_MAX\t9223372036854775807L\n\
1416 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1417 #define PTRDIFF_MAX\t2147483647L",
1420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1422 * Description of Aix_Stdint_4 fix
1424 tSCC zAix_Stdint_4Name[] =
1428 * File name selection pattern
1430 tSCC zAix_Stdint_4List[] =
1431 "stdint-aix.h\0stdint.h\0";
1433 * Machine/OS name selection pattern
1435 tSCC* apzAix_Stdint_4Machs[] = {
1437 (const char*)NULL };
1440 * content selection pattern - do fix if pattern found
1442 tSCC zAix_Stdint_4Select0[] =
1443 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1445 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1447 #define AIX_STDINT_4_TEST_CT 1
1448 static tTestDesc aAix_Stdint_4Tests[] = {
1449 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1452 * Fix Command Arguments for Aix_Stdint_4
1454 static const char* apzAix_Stdint_4Patch[] = {
1456 "#define SIZE_MAX\t18446744073709551615UL\n\
1458 #define SIZE_MAX\t4294967295UL",
1461 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1463 * Description of Aix_Stdint_5 fix
1465 tSCC zAix_Stdint_5Name[] =
1469 * File name selection pattern
1471 tSCC zAix_Stdint_5List[] =
1472 "stdint-aix.h\0stdint.h\0";
1474 * Machine/OS name selection pattern
1476 tSCC* apzAix_Stdint_5Machs[] = {
1478 (const char*)NULL };
1481 * content selection pattern - do fix if pattern found
1483 tSCC zAix_Stdint_5Select0[] =
1484 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1485 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1487 #define AIX_STDINT_5_TEST_CT 1
1488 static tTestDesc aAix_Stdint_5Tests[] = {
1489 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1492 * Fix Command Arguments for Aix_Stdint_5
1494 static const char* apzAix_Stdint_5Patch[] = {
1496 "#define UINT8_C(c)\tc\n\
1497 #define UINT16_C(c)\tc",
1500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1502 * Description of Aix_Stdio_Inline fix
1504 tSCC zAix_Stdio_InlineName[] =
1508 * File name selection pattern
1510 tSCC zAix_Stdio_InlineList[] =
1513 * Machine/OS name selection pattern
1515 tSCC* apzAix_Stdio_InlineMachs[] = {
1517 (const char*)NULL };
1520 * content selection pattern - do fix if pattern found
1522 tSCC zAix_Stdio_InlineSelect0[] =
1523 "#ifdef __cplusplus\\\n\
1528 #define AIX_STDIO_INLINE_TEST_CT 1
1529 static tTestDesc aAix_Stdio_InlineTests[] = {
1530 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1533 * Fix Command Arguments for Aix_Stdio_Inline
1535 static const char* apzAix_Stdio_InlinePatch[] = {
1537 "#ifdef __cplusplus\n\
1540 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1546 * Description of Aix_Stdlib_Malloc fix
1548 tSCC zAix_Stdlib_MallocName[] =
1549 "aix_stdlib_malloc";
1552 * File name selection pattern
1554 tSCC zAix_Stdlib_MallocList[] =
1557 * Machine/OS name selection pattern
1559 tSCC* apzAix_Stdlib_MallocMachs[] = {
1561 (const char*)NULL };
1564 * content selection pattern - do fix if pattern found
1566 tSCC zAix_Stdlib_MallocSelect0[] =
1567 "#define[ \t]+malloc[ \t]+__linux_malloc";
1569 #define AIX_STDLIB_MALLOC_TEST_CT 1
1570 static tTestDesc aAix_Stdlib_MallocTests[] = {
1571 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1574 * Fix Command Arguments for Aix_Stdlib_Malloc
1576 static const char* apzAix_Stdlib_MallocPatch[] = {
1578 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1581 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1583 * Description of Aix_Stdlib_Realloc fix
1585 tSCC zAix_Stdlib_ReallocName[] =
1586 "aix_stdlib_realloc";
1589 * File name selection pattern
1591 tSCC zAix_Stdlib_ReallocList[] =
1594 * Machine/OS name selection pattern
1596 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1598 (const char*)NULL };
1601 * content selection pattern - do fix if pattern found
1603 tSCC zAix_Stdlib_ReallocSelect0[] =
1604 "#define[ \t]+realloc[ \t]+__linux_realloc";
1606 #define AIX_STDLIB_REALLOC_TEST_CT 1
1607 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1608 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1611 * Fix Command Arguments for Aix_Stdlib_Realloc
1613 static const char* apzAix_Stdlib_ReallocPatch[] = {
1615 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1620 * Description of Aix_Stdlib_Calloc fix
1622 tSCC zAix_Stdlib_CallocName[] =
1623 "aix_stdlib_calloc";
1626 * File name selection pattern
1628 tSCC zAix_Stdlib_CallocList[] =
1631 * Machine/OS name selection pattern
1633 tSCC* apzAix_Stdlib_CallocMachs[] = {
1635 (const char*)NULL };
1638 * content selection pattern - do fix if pattern found
1640 tSCC zAix_Stdlib_CallocSelect0[] =
1641 "#define[ \t]+calloc[ \t]+__linux_calloc";
1643 #define AIX_STDLIB_CALLOC_TEST_CT 1
1644 static tTestDesc aAix_Stdlib_CallocTests[] = {
1645 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1648 * Fix Command Arguments for Aix_Stdlib_Calloc
1650 static const char* apzAix_Stdlib_CallocPatch[] = {
1652 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1657 * Description of Aix_Stdlib_Valloc fix
1659 tSCC zAix_Stdlib_VallocName[] =
1660 "aix_stdlib_valloc";
1663 * File name selection pattern
1665 tSCC zAix_Stdlib_VallocList[] =
1668 * Machine/OS name selection pattern
1670 tSCC* apzAix_Stdlib_VallocMachs[] = {
1672 (const char*)NULL };
1675 * content selection pattern - do fix if pattern found
1677 tSCC zAix_Stdlib_VallocSelect0[] =
1678 "#define[ \t]+valloc[ \t]+__linux_valloc";
1680 #define AIX_STDLIB_VALLOC_TEST_CT 1
1681 static tTestDesc aAix_Stdlib_VallocTests[] = {
1682 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1685 * Fix Command Arguments for Aix_Stdlib_Valloc
1687 static const char* apzAix_Stdlib_VallocPatch[] = {
1689 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1694 * Description of Aix_Stdlib_Vec_Malloc fix
1696 tSCC zAix_Stdlib_Vec_MallocName[] =
1697 "aix_stdlib_vec_malloc";
1700 * File name selection pattern
1702 tSCC zAix_Stdlib_Vec_MallocList[] =
1705 * Machine/OS name selection pattern
1707 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1709 (const char*)NULL };
1712 * content selection pattern - do fix if pattern found
1714 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1715 "#define[ \t]+malloc[ \t]+vec_malloc";
1717 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1718 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1719 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1722 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1724 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1726 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1731 * Description of Aix_Stdlib_Vec_Calloc fix
1733 tSCC zAix_Stdlib_Vec_CallocName[] =
1734 "aix_stdlib_vec_calloc";
1737 * File name selection pattern
1739 tSCC zAix_Stdlib_Vec_CallocList[] =
1742 * Machine/OS name selection pattern
1744 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1746 (const char*)NULL };
1749 * content selection pattern - do fix if pattern found
1751 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1752 "#define[ \t]+calloc[ \t]+vec_calloc";
1754 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1755 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1756 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1759 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1761 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1763 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1768 * Description of Aix_Strtof_Const fix
1770 tSCC zAix_Strtof_ConstName[] =
1774 * File name selection pattern
1776 tSCC zAix_Strtof_ConstList[] =
1779 * Machine/OS name selection pattern
1781 tSCC* apzAix_Strtof_ConstMachs[] = {
1783 (const char*)NULL };
1786 * content selection pattern - do fix if pattern found
1788 tSCC zAix_Strtof_ConstSelect0[] =
1789 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1791 #define AIX_STRTOF_CONST_TEST_CT 1
1792 static tTestDesc aAix_Strtof_ConstTests[] = {
1793 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1796 * Fix Command Arguments for Aix_Strtof_Const
1798 static const char* apzAix_Strtof_ConstPatch[] = {
1800 "%1(const char *, char **);",
1803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1805 * Description of Aix_Sysmachine fix
1807 tSCC zAix_SysmachineName[] =
1811 * File name selection pattern
1813 tSCC zAix_SysmachineList[] =
1816 * Machine/OS name selection pattern
1818 tSCC* apzAix_SysmachineMachs[] = {
1820 (const char*)NULL };
1823 * content selection pattern - do fix if pattern found
1825 tSCC zAix_SysmachineSelect0[] =
1828 #define AIX_SYSMACHINE_TEST_CT 1
1829 static tTestDesc aAix_SysmachineTests[] = {
1830 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1833 * Fix Command Arguments for Aix_Sysmachine
1835 static const char* apzAix_SysmachinePatch[] = {
1840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1842 * Description of Aix_Syswait_2 fix
1844 tSCC zAix_Syswait_2Name[] =
1848 * File name selection pattern
1850 tSCC zAix_Syswait_2List[] =
1853 * Machine/OS name selection pattern
1855 tSCC* apzAix_Syswait_2Machs[] = {
1857 (const char*)NULL };
1860 * content selection pattern - do fix if pattern found
1862 tSCC zAix_Syswait_2Select0[] =
1863 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1865 #define AIX_SYSWAIT_2_TEST_CT 1
1866 static tTestDesc aAix_Syswait_2Tests[] = {
1867 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1870 * Fix Command Arguments for Aix_Syswait_2
1872 static const char* apzAix_Syswait_2Patch[] = {
1877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1879 * Description of Aix_Volatile fix
1881 tSCC zAix_VolatileName[] =
1885 * File name selection pattern
1887 tSCC zAix_VolatileList[] =
1890 * Machine/OS name selection pattern
1892 tSCC* apzAix_VolatileMachs[] = {
1894 (const char*)NULL };
1897 * content selection pattern - do fix if pattern found
1899 tSCC zAix_VolatileSelect0[] =
1900 "typedef volatile int sig_atomic_t";
1902 #define AIX_VOLATILE_TEST_CT 1
1903 static tTestDesc aAix_VolatileTests[] = {
1904 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1907 * Fix Command Arguments for Aix_Volatile
1909 static const char* apzAix_VolatilePatch[] = {
1911 "typedef int sig_atomic_t",
1914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1916 * Description of Aix_Unistd fix
1918 tSCC zAix_UnistdName[] =
1922 * File name selection pattern
1924 tSCC zAix_UnistdList[] =
1927 * Machine/OS name selection pattern
1929 tSCC* apzAix_UnistdMachs[] = {
1931 (const char*)NULL };
1934 * content selection pattern - do fix if pattern found
1936 tSCC zAix_UnistdSelect0[] =
1937 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1939 #define AIX_UNISTD_TEST_CT 1
1940 static tTestDesc aAix_UnistdTests[] = {
1941 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1944 * Fix Command Arguments for Aix_Unistd
1946 static const char* apzAix_UnistdPatch[] = {
1948 "\tstatic int\t\tgetdtablesize(void)",
1951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1953 * Description of Alpha___Assert fix
1955 tSCC zAlpha___AssertName[] =
1959 * File name selection pattern
1961 tSCC zAlpha___AssertList[] =
1964 * Machine/OS name selection pattern
1966 #define apzAlpha___AssertMachs (const char**)NULL
1969 * content selection pattern - do fix if pattern found
1971 tSCC zAlpha___AssertSelect0[] =
1972 "__assert\\(char \\*, char \\*, int\\)";
1974 #define ALPHA___ASSERT_TEST_CT 1
1975 static tTestDesc aAlpha___AssertTests[] = {
1976 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1979 * Fix Command Arguments for Alpha___Assert
1981 static const char* apzAlpha___AssertPatch[] = {
1983 "__assert(const char *, const char *, int)",
1986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1988 * Description of Alpha_Assert fix
1990 tSCC zAlpha_AssertName[] =
1994 * File name selection pattern
1996 tSCC zAlpha_AssertList[] =
1999 * Machine/OS name selection pattern
2001 #define apzAlpha_AssertMachs (const char**)NULL
2004 * content selection pattern - do fix if pattern found
2006 tSCC zAlpha_AssertSelect0[] =
2007 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
2009 #define ALPHA_ASSERT_TEST_CT 1
2010 static tTestDesc aAlpha_AssertTests[] = {
2011 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
2014 * Fix Command Arguments for Alpha_Assert
2016 static const char* apzAlpha_AssertPatch[] = {
2021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2023 * Description of Alpha_Getopt fix
2025 tSCC zAlpha_GetoptName[] =
2029 * File name selection pattern
2031 tSCC zAlpha_GetoptList[] =
2032 "stdio.h\0stdlib.h\0";
2034 * Machine/OS name selection pattern
2036 #define apzAlpha_GetoptMachs (const char**)NULL
2039 * content selection pattern - do fix if pattern found
2041 tSCC zAlpha_GetoptSelect0[] =
2042 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
2044 #define ALPHA_GETOPT_TEST_CT 1
2045 static tTestDesc aAlpha_GetoptTests[] = {
2046 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
2049 * Fix Command Arguments for Alpha_Getopt
2051 static const char* apzAlpha_GetoptPatch[] = {
2053 "getopt(int, char *const[], const char *)",
2056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2058 * Description of Alpha_If_Semicolon fix
2060 tSCC zAlpha_If_SemicolonName[] =
2061 "alpha_if_semicolon";
2064 * File name selection pattern
2066 tSCC zAlpha_If_SemicolonList[] =
2069 * Machine/OS name selection pattern
2071 #define apzAlpha_If_SemicolonMachs (const char**)NULL
2074 * content selection pattern - do fix if pattern found
2076 tSCC zAlpha_If_SemicolonSelect0[] =
2077 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2079 #define ALPHA_IF_SEMICOLON_TEST_CT 1
2080 static tTestDesc aAlpha_If_SemicolonTests[] = {
2081 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
2084 * Fix Command Arguments for Alpha_If_Semicolon
2086 static const char* apzAlpha_If_SemicolonPatch[] = {
2088 "struct sockaddr vmif_paddr;\t/*",
2091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2093 * Description of Alpha_Parens fix
2095 tSCC zAlpha_ParensName[] =
2099 * File name selection pattern
2101 tSCC zAlpha_ParensList[] =
2104 * Machine/OS name selection pattern
2106 #define apzAlpha_ParensMachs (const char**)NULL
2109 * content selection pattern - do fix if pattern found
2111 tSCC zAlpha_ParensSelect0[] =
2112 "#ifndef\\(__mips64\\)";
2114 #define ALPHA_PARENS_TEST_CT 1
2115 static tTestDesc aAlpha_ParensTests[] = {
2116 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2119 * Fix Command Arguments for Alpha_Parens
2121 static const char* apzAlpha_ParensPatch[] = {
2126 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2128 * Description of Alpha_Sbrk fix
2130 tSCC zAlpha_SbrkName[] =
2134 * File name selection pattern
2136 tSCC zAlpha_SbrkList[] =
2139 * Machine/OS name selection pattern
2141 #define apzAlpha_SbrkMachs (const char**)NULL
2144 * content selection pattern - do fix if pattern found
2146 tSCC zAlpha_SbrkSelect0[] =
2147 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2149 #define ALPHA_SBRK_TEST_CT 1
2150 static tTestDesc aAlpha_SbrkTests[] = {
2151 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2154 * Fix Command Arguments for Alpha_Sbrk
2156 static const char* apzAlpha_SbrkPatch[] = {
2161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2163 * Description of Avoid_Bool_Define fix
2165 tSCC zAvoid_Bool_DefineName[] =
2166 "avoid_bool_define";
2169 * File name selection pattern
2171 tSCC zAvoid_Bool_DefineList[] =
2172 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2174 * Machine/OS name selection pattern
2176 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2179 * content selection pattern - do fix if pattern found
2181 tSCC zAvoid_Bool_DefineSelect0[] =
2182 "#[ \t]*define[ \t]+bool[ \t]";
2185 * content bypass pattern - skip fix if pattern found
2187 tSCC zAvoid_Bool_DefineBypass0[] =
2190 #define AVOID_BOOL_DEFINE_TEST_CT 2
2191 static tTestDesc aAvoid_Bool_DefineTests[] = {
2192 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2193 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2196 * Fix Command Arguments for Avoid_Bool_Define
2198 static const char* apzAvoid_Bool_DefinePatch[] = {
2200 "#ifndef __cplusplus\n\
2203 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2208 * Description of Avoid_Bool_Type fix
2210 tSCC zAvoid_Bool_TypeName[] =
2214 * File name selection pattern
2216 tSCC zAvoid_Bool_TypeList[] =
2217 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2219 * Machine/OS name selection pattern
2221 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2224 * content selection pattern - do fix if pattern found
2226 tSCC zAvoid_Bool_TypeSelect0[] =
2227 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2230 * content bypass pattern - skip fix if pattern found
2232 tSCC zAvoid_Bool_TypeBypass0[] =
2235 #define AVOID_BOOL_TYPE_TEST_CT 2
2236 static tTestDesc aAvoid_Bool_TypeTests[] = {
2237 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2238 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2241 * Fix Command Arguments for Avoid_Bool_Type
2243 static const char* apzAvoid_Bool_TypePatch[] = {
2245 "#ifndef __cplusplus\n\
2250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2252 * Description of Avoid_Wchar_T_Type fix
2254 tSCC zAvoid_Wchar_T_TypeName[] =
2255 "avoid_wchar_t_type";
2258 * File name selection pattern
2260 #define zAvoid_Wchar_T_TypeList (char*)NULL
2262 * Machine/OS name selection pattern
2264 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2267 * content selection pattern - do fix if pattern found
2269 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2270 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2273 * content bypass pattern - skip fix if pattern found
2275 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2277 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2279 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2280 "XFree86: xc/lib/X11/Xlib\\.h";
2282 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2283 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2284 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2285 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2286 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2287 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2290 * Fix Command Arguments for Avoid_Wchar_T_Type
2292 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2294 "#ifndef __cplusplus\n\
2299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2301 * Description of Bad_Struct_Term fix
2303 tSCC zBad_Struct_TermName[] =
2307 * File name selection pattern
2309 tSCC zBad_Struct_TermList[] =
2312 * Machine/OS name selection pattern
2314 #define apzBad_Struct_TermMachs (const char**)NULL
2317 * content selection pattern - do fix if pattern found
2319 tSCC zBad_Struct_TermSelect0[] =
2320 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2322 #define BAD_STRUCT_TERM_TEST_CT 1
2323 static tTestDesc aBad_Struct_TermTests[] = {
2324 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2327 * Fix Command Arguments for Bad_Struct_Term
2329 static const char* apzBad_Struct_TermPatch[] = {
2334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2336 * Description of Badquote fix
2338 tSCC zBadquoteName[] =
2342 * File name selection pattern
2344 tSCC zBadquoteList[] =
2345 "sundev/vuid_event.h\0";
2347 * Machine/OS name selection pattern
2349 #define apzBadquoteMachs (const char**)NULL
2352 * content selection pattern - do fix if pattern found
2354 tSCC zBadquoteSelect0[] =
2357 #define BADQUOTE_TEST_CT 1
2358 static tTestDesc aBadquoteTests[] = {
2359 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2362 * Fix Command Arguments for Badquote
2364 static const char* apzBadquotePatch[] = {
2369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2371 * Description of Broken_Assert_Stdio fix
2373 tSCC zBroken_Assert_StdioName[] =
2374 "broken_assert_stdio";
2377 * File name selection pattern
2379 tSCC zBroken_Assert_StdioList[] =
2382 * Machine/OS name selection pattern
2384 #define apzBroken_Assert_StdioMachs (const char**)NULL
2387 * content selection pattern - do fix if pattern found
2389 tSCC zBroken_Assert_StdioSelect0[] =
2393 * content bypass pattern - skip fix if pattern found
2395 tSCC zBroken_Assert_StdioBypass0[] =
2396 "include.*stdio\\.h";
2398 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2399 static tTestDesc aBroken_Assert_StdioTests[] = {
2400 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2401 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2404 * Fix Command Arguments for Broken_Assert_Stdio
2406 static const char* apzBroken_Assert_StdioPatch[] = {
2408 "#include <stdio.h>\n",
2411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2413 * Description of Broken_Assert_Stdlib fix
2415 tSCC zBroken_Assert_StdlibName[] =
2416 "broken_assert_stdlib";
2419 * File name selection pattern
2421 tSCC zBroken_Assert_StdlibList[] =
2424 * Machine/OS name selection pattern
2426 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2429 * content selection pattern - do fix if pattern found
2431 tSCC zBroken_Assert_StdlibSelect0[] =
2432 "exit *\\(|abort *\\(";
2435 * content bypass pattern - skip fix if pattern found
2437 tSCC zBroken_Assert_StdlibBypass0[] =
2438 "include.*stdlib\\.h";
2440 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2441 static tTestDesc aBroken_Assert_StdlibTests[] = {
2442 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2443 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2446 * Fix Command Arguments for Broken_Assert_Stdlib
2448 static const char* apzBroken_Assert_StdlibPatch[] = {
2450 "#ifdef __cplusplus\n\
2451 #include <stdlib.h>\n\
2455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2457 * Description of Broken_Cabs fix
2459 tSCC zBroken_CabsName[] =
2463 * File name selection pattern
2465 tSCC zBroken_CabsList[] =
2466 "math.h\0architecture/*/math.h\0";
2468 * Machine/OS name selection pattern
2470 #define apzBroken_CabsMachs (const char**)NULL
2473 * content selection pattern - do fix if pattern found
2475 tSCC zBroken_CabsSelect0[] =
2476 "^extern[ \t]+double[ \t]+cabs";
2478 #define BROKEN_CABS_TEST_CT 1
2479 static tTestDesc aBroken_CabsTests[] = {
2480 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2483 * Fix Command Arguments for Broken_Cabs
2485 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2486 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2487 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2492 * Description of Broken_Nan fix
2494 tSCC zBroken_NanName[] =
2498 * File name selection pattern
2500 tSCC zBroken_NanList[] =
2501 "architecture/ppc/math.h\0architecture/*/math.h\0";
2503 * Machine/OS name selection pattern
2505 #define apzBroken_NanMachs (const char**)NULL
2508 * content selection pattern - do fix if pattern found
2510 tSCC zBroken_NanSelect0[] =
2511 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2514 * content bypass pattern - skip fix if pattern found
2516 tSCC zBroken_NanBypass0[] =
2519 #define BROKEN_NAN_TEST_CT 2
2520 static tTestDesc aBroken_NanTests[] = {
2521 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2522 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2525 * Fix Command Arguments for Broken_Nan
2527 static const char* apzBroken_NanPatch[] = {
2532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2534 * Description of Bsd_Stdio_Attrs_Conflict fix
2536 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2537 "bsd_stdio_attrs_conflict";
2540 * File name selection pattern
2542 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2545 * Machine/OS name selection pattern
2547 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2550 (const char*)NULL };
2553 * content selection pattern - do fix if pattern found
2555 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2556 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2558 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2559 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2560 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2563 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2565 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2567 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2568 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2569 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2574 * Description of Ctrl_Quotes_Def fix
2576 tSCC zCtrl_Quotes_DefName[] =
2580 * File name selection pattern
2582 #define zCtrl_Quotes_DefList (char*)NULL
2584 * Machine/OS name selection pattern
2586 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2589 * content selection pattern - do fix if pattern found
2591 tSCC zCtrl_Quotes_DefSelect0[] =
2592 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2594 #define CTRL_QUOTES_DEF_TEST_CT 1
2595 static tTestDesc aCtrl_Quotes_DefTests[] = {
2596 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2599 * Fix Command Arguments for Ctrl_Quotes_Def
2601 static const char* apzCtrl_Quotes_DefPatch[] = {
2606 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2608 * Description of Ctrl_Quotes_Use fix
2610 tSCC zCtrl_Quotes_UseName[] =
2614 * File name selection pattern
2616 #define zCtrl_Quotes_UseList (char*)NULL
2618 * Machine/OS name selection pattern
2620 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2623 * content selection pattern - do fix if pattern found
2625 tSCC zCtrl_Quotes_UseSelect0[] =
2626 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2628 #define CTRL_QUOTES_USE_TEST_CT 1
2629 static tTestDesc aCtrl_Quotes_UseTests[] = {
2630 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2633 * Fix Command Arguments for Ctrl_Quotes_Use
2635 static const char* apzCtrl_Quotes_UsePatch[] = {
2640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2642 * Description of Cxx_Unready fix
2644 tSCC zCxx_UnreadyName[] =
2648 * File name selection pattern
2650 tSCC zCxx_UnreadyList[] =
2651 "sys/mman.h\0rpc/types.h\0";
2653 * Machine/OS name selection pattern
2655 #define apzCxx_UnreadyMachs (const char**)NULL
2658 * content selection pattern - do fix if pattern found
2660 tSCC zCxx_UnreadySelect0[] =
2664 * content bypass pattern - skip fix if pattern found
2666 tSCC zCxx_UnreadyBypass0[] =
2667 "\"C\"|__BEGIN_DECLS";
2669 #define CXX_UNREADY_TEST_CT 2
2670 static tTestDesc aCxx_UnreadyTests[] = {
2671 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2672 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2675 * Fix Command Arguments for Cxx_Unready
2677 static const char* apzCxx_UnreadyPatch[] = {
2679 "#ifdef __cplusplus\n\
2682 "#ifdef __cplusplus\n\
2687 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2689 * Description of Darwin_Availabilityinternal fix
2691 tSCC zDarwin_AvailabilityinternalName[] =
2692 "darwin_availabilityinternal";
2695 * File name selection pattern
2697 tSCC zDarwin_AvailabilityinternalList[] =
2698 "AvailabilityInternal.h\0";
2700 * Machine/OS name selection pattern
2702 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2704 (const char*)NULL };
2707 * content selection pattern - do fix if pattern found
2709 tSCC zDarwin_AvailabilityinternalSelect0[] =
2710 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2712 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2713 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2714 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2717 * Fix Command Arguments for Darwin_Availabilityinternal
2719 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2721 "#if defined(__has_attribute)\n\
2722 #if __has_attribute(availability)\n\
2732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2734 * Description of Darwin_9_Long_Double_Funcs_2 fix
2736 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2737 "darwin_9_long_double_funcs_2";
2740 * File name selection pattern
2742 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2745 * Machine/OS name selection pattern
2747 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2749 (const char*)NULL };
2752 * content selection pattern - do fix if pattern found
2754 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2755 "#include[ \\t]+\\\"";
2757 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2758 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2759 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2762 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2764 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2767 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2772 * Description of Darwin_Externc fix
2774 tSCC zDarwin_ExterncName[] =
2778 * File name selection pattern
2780 tSCC zDarwin_ExterncList[] =
2781 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2783 * Machine/OS name selection pattern
2785 tSCC* apzDarwin_ExterncMachs[] = {
2787 (const char*)NULL };
2790 * content bypass pattern - skip fix if pattern found
2792 tSCC zDarwin_ExterncBypass0[] =
2794 tSCC zDarwin_ExterncBypass1[] =
2797 #define DARWIN_EXTERNC_TEST_CT 2
2798 static tTestDesc aDarwin_ExterncTests[] = {
2799 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2800 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2803 * Fix Command Arguments for Darwin_Externc
2805 static const char* apzDarwin_ExterncPatch[] = {
2807 "#ifdef __cplusplus\n\
2810 "#ifdef __cplusplus\n\
2815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2817 * Description of Darwin_Gcc4_Breakage fix
2819 tSCC zDarwin_Gcc4_BreakageName[] =
2820 "darwin_gcc4_breakage";
2823 * File name selection pattern
2825 tSCC zDarwin_Gcc4_BreakageList[] =
2826 "AvailabilityMacros.h\0";
2828 * Machine/OS name selection pattern
2830 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2832 (const char*)NULL };
2835 * content selection pattern - do fix if pattern found
2837 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2838 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2840 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2841 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2842 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2845 * Fix Command Arguments for Darwin_Gcc4_Breakage
2847 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2849 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2854 * Description of Darwin_Ll_Funcs_Avail fix
2856 tSCC zDarwin_Ll_Funcs_AvailName[] =
2857 "darwin_ll_funcs_avail";
2860 * File name selection pattern
2862 tSCC zDarwin_Ll_Funcs_AvailList[] =
2863 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2865 * Machine/OS name selection pattern
2867 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2869 (const char*)NULL };
2872 * content selection pattern - do fix if pattern found
2874 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2875 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2877 #define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2878 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2879 { TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2882 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2884 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2885 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2890 * Description of Darwin_Longjmp_Noreturn fix
2892 tSCC zDarwin_Longjmp_NoreturnName[] =
2893 "darwin_longjmp_noreturn";
2896 * File name selection pattern
2898 tSCC zDarwin_Longjmp_NoreturnList[] =
2901 * Machine/OS name selection pattern
2903 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2905 (const char*)NULL };
2908 * content selection pattern - do fix if pattern found
2910 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2911 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2914 * content bypass pattern - skip fix if pattern found
2916 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2919 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2920 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2921 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2922 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2925 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2927 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2929 "%1 __attribute__ ((__noreturn__));",
2932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2934 * Description of Darwin_Os_Trace_1 fix
2936 tSCC zDarwin_Os_Trace_1Name[] =
2937 "darwin_os_trace_1";
2940 * File name selection pattern
2942 tSCC zDarwin_Os_Trace_1List[] =
2945 * Machine/OS name selection pattern
2947 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2949 (const char*)NULL };
2952 * content selection pattern - do fix if pattern found
2954 tSCC zDarwin_Os_Trace_1Select0[] =
2955 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2957 #define DARWIN_OS_TRACE_1_TEST_CT 1
2958 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2959 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2962 * Fix Command Arguments for Darwin_Os_Trace_1
2964 static const char* apzDarwin_Os_Trace_1Patch[] = {
2969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2971 * Description of Darwin_Os_Trace_2 fix
2973 tSCC zDarwin_Os_Trace_2Name[] =
2974 "darwin_os_trace_2";
2977 * File name selection pattern
2979 tSCC zDarwin_Os_Trace_2List[] =
2982 * Machine/OS name selection pattern
2984 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2986 (const char*)NULL };
2989 * content selection pattern - do fix if pattern found
2991 tSCC zDarwin_Os_Trace_2Select0[] =
2992 "typedef.*\\^os_trace_payload_t.*";
2994 #define DARWIN_OS_TRACE_2_TEST_CT 1
2995 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2996 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2999 * Fix Command Arguments for Darwin_Os_Trace_2
3001 static const char* apzDarwin_Os_Trace_2Patch[] = {
3008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3010 * Description of Darwin_Os_Trace_3 fix
3012 tSCC zDarwin_Os_Trace_3Name[] =
3013 "darwin_os_trace_3";
3016 * File name selection pattern
3018 tSCC zDarwin_Os_Trace_3List[] =
3021 * Machine/OS name selection pattern
3023 tSCC* apzDarwin_Os_Trace_3Machs[] = {
3025 (const char*)NULL };
3028 * content selection pattern - do fix if pattern found
3030 tSCC zDarwin_Os_Trace_3Select0[] =
3034 _os_trace.*os_trace_payload_t payload);";
3036 #define DARWIN_OS_TRACE_3_TEST_CT 1
3037 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
3038 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
3041 * Fix Command Arguments for Darwin_Os_Trace_3
3043 static const char* apzDarwin_Os_Trace_3Patch[] = {
3050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3052 * Description of Darwin_Os_Base_1 fix
3054 tSCC zDarwin_Os_Base_1Name[] =
3058 * File name selection pattern
3060 tSCC zDarwin_Os_Base_1List[] =
3063 * Machine/OS name selection pattern
3065 tSCC* apzDarwin_Os_Base_1Machs[] = {
3067 (const char*)NULL };
3070 * content selection pattern - do fix if pattern found
3072 tSCC zDarwin_Os_Base_1Select0[] =
3073 "#define __has_attribute.*\n\
3076 #define DARWIN_OS_BASE_1_TEST_CT 1
3077 static tTestDesc aDarwin_Os_Base_1Tests[] = {
3078 { TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
3081 * Fix Command Arguments for Darwin_Os_Base_1
3083 static const char* apzDarwin_Os_Base_1Patch[] = {
3086 #ifndef __has_extension\n\
3087 #define __has_extension(x) 0\n\
3091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3093 * Description of Darwin_Dispatch_Object_1 fix
3095 tSCC zDarwin_Dispatch_Object_1Name[] =
3096 "darwin_dispatch_object_1";
3099 * File name selection pattern
3101 tSCC zDarwin_Dispatch_Object_1List[] =
3102 "dispatch/object.h\0";
3104 * Machine/OS name selection pattern
3106 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3108 (const char*)NULL };
3111 * content selection pattern - do fix if pattern found
3113 tSCC zDarwin_Dispatch_Object_1Select0[] =
3114 "typedef void.*\\^dispatch_block_t.*";
3116 #define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
3117 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3118 { TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3121 * Fix Command Arguments for Darwin_Dispatch_Object_1
3123 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3132 * Description of Darwin_Private_Extern fix
3134 tSCC zDarwin_Private_ExternName[] =
3135 "darwin_private_extern";
3138 * File name selection pattern
3140 tSCC zDarwin_Private_ExternList[] =
3143 * Machine/OS name selection pattern
3145 tSCC* apzDarwin_Private_ExternMachs[] = {
3147 (const char*)NULL };
3150 * content selection pattern - do fix if pattern found
3152 tSCC zDarwin_Private_ExternSelect0[] =
3153 "__private_extern__ [a-z_]+ _dyld_";
3155 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3156 static tTestDesc aDarwin_Private_ExternTests[] = {
3157 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3160 * Fix Command Arguments for Darwin_Private_Extern
3162 static const char* apzDarwin_Private_ExternPatch[] = {
3165 "__private_extern__",
3168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3170 * Description of Darwin_Stdint_1 fix
3172 tSCC zDarwin_Stdint_1Name[] =
3176 * File name selection pattern
3178 tSCC zDarwin_Stdint_1List[] =
3179 "stdint-darwin.h\0stdint.h\0";
3181 * Machine/OS name selection pattern
3183 tSCC* apzDarwin_Stdint_1Machs[] = {
3185 (const char*)NULL };
3188 * content selection pattern - do fix if pattern found
3190 tSCC zDarwin_Stdint_1Select0[] =
3191 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3192 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3194 #define DARWIN_STDINT_1_TEST_CT 1
3195 static tTestDesc aDarwin_Stdint_1Tests[] = {
3196 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3199 * Fix Command Arguments for Darwin_Stdint_1
3201 static const char* apzDarwin_Stdint_1Patch[] = {
3203 "#define UINT8_C(v)\tv\n\
3204 #define UINT16_C(v)\tv",
3207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3209 * Description of Darwin_Stdint_2 fix
3211 tSCC zDarwin_Stdint_2Name[] =
3215 * File name selection pattern
3217 tSCC zDarwin_Stdint_2List[] =
3218 "stdint-darwin.h\0stdint.h\0";
3220 * Machine/OS name selection pattern
3222 tSCC* apzDarwin_Stdint_2Machs[] = {
3224 (const char*)NULL };
3227 * content selection pattern - do fix if pattern found
3229 tSCC zDarwin_Stdint_2Select0[] =
3230 "#if __WORDSIZE == 64\n\
3231 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3232 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3234 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3235 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3238 #define DARWIN_STDINT_2_TEST_CT 1
3239 static tTestDesc aDarwin_Stdint_2Tests[] = {
3240 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3243 * Fix Command Arguments for Darwin_Stdint_2
3245 static const char* apzDarwin_Stdint_2Patch[] = {
3247 "#if __WORDSIZE == 64\n\
3248 #define INTPTR_MAX 9223372036854775807L\n\
3249 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3251 #define INTPTR_MAX 2147483647L\n\
3252 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3258 * Description of Darwin_Stdint_3 fix
3260 tSCC zDarwin_Stdint_3Name[] =
3264 * File name selection pattern
3266 tSCC zDarwin_Stdint_3List[] =
3267 "stdint-darwin.h\0stdint.h\0";
3269 * Machine/OS name selection pattern
3271 tSCC* apzDarwin_Stdint_3Machs[] = {
3273 (const char*)NULL };
3276 * content selection pattern - do fix if pattern found
3278 tSCC zDarwin_Stdint_3Select0[] =
3279 "#if __WORDSIZE == 64\n\
3280 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3282 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3285 #define DARWIN_STDINT_3_TEST_CT 1
3286 static tTestDesc aDarwin_Stdint_3Tests[] = {
3287 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3290 * Fix Command Arguments for Darwin_Stdint_3
3292 static const char* apzDarwin_Stdint_3Patch[] = {
3294 "#if __WORDSIZE == 64\n\
3295 #define UINTPTR_MAX 18446744073709551615UL\n\
3297 #define UINTPTR_MAX 4294967295UL\n\
3301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3303 * Description of Darwin_Stdint_4 fix
3305 tSCC zDarwin_Stdint_4Name[] =
3309 * File name selection pattern
3311 tSCC zDarwin_Stdint_4List[] =
3312 "stdint-darwin.h\0stdint.h\0";
3314 * Machine/OS name selection pattern
3316 tSCC* apzDarwin_Stdint_4Machs[] = {
3318 (const char*)NULL };
3321 * content selection pattern - do fix if pattern found
3323 tSCC zDarwin_Stdint_4Select0[] =
3324 "#if __WORDSIZE == 64\n\
3325 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3327 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3330 #define DARWIN_STDINT_4_TEST_CT 1
3331 static tTestDesc aDarwin_Stdint_4Tests[] = {
3332 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3335 * Fix Command Arguments for Darwin_Stdint_4
3337 static const char* apzDarwin_Stdint_4Patch[] = {
3339 "#if __WORDSIZE == 64\n\
3340 #define SIZE_MAX 18446744073709551615UL\n\
3342 #define SIZE_MAX 4294967295UL\n\
3346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3348 * Description of Darwin_Stdint_5 fix
3350 tSCC zDarwin_Stdint_5Name[] =
3354 * File name selection pattern
3356 tSCC zDarwin_Stdint_5List[] =
3357 "stdint-darwin.h\0stdint.h\0";
3359 * Machine/OS name selection pattern
3361 tSCC* apzDarwin_Stdint_5Machs[] = {
3363 (const char*)NULL };
3366 * content selection pattern - do fix if pattern found
3368 tSCC zDarwin_Stdint_5Select0[] =
3369 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3370 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3371 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3373 #define DARWIN_STDINT_5_TEST_CT 1
3374 static tTestDesc aDarwin_Stdint_5Tests[] = {
3375 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3378 * Fix Command Arguments for Darwin_Stdint_5
3380 static const char* apzDarwin_Stdint_5Patch[] = {
3382 "#if __WORDSIZE == 64\n\
3383 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3384 #define INTMAX_MAX 9223372036854775807L\n\
3385 #define UINTMAX_MAX 18446744073709551615UL\n\
3387 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3388 #define INTMAX_MAX 9223372036854775807LL\n\
3389 #define UINTMAX_MAX 18446744073709551615ULL\n\
3393 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3395 * Description of Darwin_Stdint_6 fix
3397 tSCC zDarwin_Stdint_6Name[] =
3401 * File name selection pattern
3403 tSCC zDarwin_Stdint_6List[] =
3404 "stdint-darwin.h\0stdint.h\0";
3406 * Machine/OS name selection pattern
3408 tSCC* apzDarwin_Stdint_6Machs[] = {
3410 (const char*)NULL };
3413 * content selection pattern - do fix if pattern found
3415 tSCC zDarwin_Stdint_6Select0[] =
3416 "#if __WORDSIZE == 64\n\
3417 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3418 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3420 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3421 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3424 #define DARWIN_STDINT_6_TEST_CT 1
3425 static tTestDesc aDarwin_Stdint_6Tests[] = {
3426 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3429 * Fix Command Arguments for Darwin_Stdint_6
3431 static const char* apzDarwin_Stdint_6Patch[] = {
3433 "#if __WORDSIZE == 64\n\
3434 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3435 #define PTRDIFF_MAX 9223372036854775807L\n\
3437 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3438 #define PTRDIFF_MAX 2147483647\n\
3442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3444 * Description of Darwin_Stdint_7 fix
3446 tSCC zDarwin_Stdint_7Name[] =
3450 * File name selection pattern
3452 tSCC zDarwin_Stdint_7List[] =
3453 "stdint-darwin.h\0stdint.h\0";
3455 * Machine/OS name selection pattern
3457 tSCC* apzDarwin_Stdint_7Machs[] = {
3459 (const char*)NULL };
3462 * content selection pattern - do fix if pattern found
3464 tSCC zDarwin_Stdint_7Select0[] =
3465 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3466 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3468 #define DARWIN_STDINT_7_TEST_CT 1
3469 static tTestDesc aDarwin_Stdint_7Tests[] = {
3470 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3473 * Fix Command Arguments for Darwin_Stdint_7
3475 static const char* apzDarwin_Stdint_7Patch[] = {
3477 "#if __WORDSIZE == 64\n\
3478 #define INTMAX_C(v) (v ## L)\n\
3479 #define UINTMAX_C(v) (v ## UL)\n\
3481 #define INTMAX_C(v) (v ## LL)\n\
3482 #define UINTMAX_C(v) (v ## ULL)\n\
3486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3488 * Description of Darwin_Ucred__Atomic fix
3490 tSCC zDarwin_Ucred__AtomicName[] =
3491 "darwin_ucred__Atomic";
3494 * File name selection pattern
3496 tSCC zDarwin_Ucred__AtomicList[] =
3499 * Machine/OS name selection pattern
3501 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3503 (const char*)NULL };
3506 * content selection pattern - do fix if pattern found
3508 tSCC zDarwin_Ucred__AtomicSelect0[] =
3511 #define DARWIN_UCRED__ATOMIC_TEST_CT 1
3512 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3513 { TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3516 * Fix Command Arguments for Darwin_Ucred__Atomic
3518 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3520 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3521 # define _Atomic volatile\n\
3523 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3530 * Description of Dec_Intern_Asm fix
3532 tSCC zDec_Intern_AsmName[] =
3536 * File name selection pattern
3538 tSCC zDec_Intern_AsmList[] =
3541 * Machine/OS name selection pattern
3543 #define apzDec_Intern_AsmMachs (const char**)NULL
3544 #define DEC_INTERN_ASM_TEST_CT 0
3545 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3548 * Fix Command Arguments for Dec_Intern_Asm
3550 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3551 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3553 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3557 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3559 * Description of Djgpp_Wchar_H fix
3561 tSCC zDjgpp_Wchar_HName[] =
3565 * File name selection pattern
3567 #define zDjgpp_Wchar_HList (char*)NULL
3569 * Machine/OS name selection pattern
3571 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3574 * content selection pattern - do fix if pattern found
3576 tSCC zDjgpp_Wchar_HSelect0[] =
3580 * content bypass pattern - skip fix if pattern found
3582 tSCC zDjgpp_Wchar_HBypass0[] =
3585 #define DJGPP_WCHAR_H_TEST_CT 2
3586 static tTestDesc aDjgpp_Wchar_HTests[] = {
3587 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3588 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3591 * Fix Command Arguments for Djgpp_Wchar_H
3593 static const char* apzDjgpp_Wchar_HPatch[] = {
3596 #include <sys/djtypes.h>",
3597 "#include <stddef.h>",
3600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3602 * Description of Ecd_Cursor fix
3604 tSCC zEcd_CursorName[] =
3608 * File name selection pattern
3610 tSCC zEcd_CursorList[] =
3611 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3613 * Machine/OS name selection pattern
3615 #define apzEcd_CursorMachs (const char**)NULL
3618 * content selection pattern - do fix if pattern found
3620 tSCC zEcd_CursorSelect0[] =
3623 #define ECD_CURSOR_TEST_CT 1
3624 static tTestDesc aEcd_CursorTests[] = {
3625 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3628 * Fix Command Arguments for Ecd_Cursor
3630 static const char* apzEcd_CursorPatch[] = {
3635 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3637 * Description of Feraiseexcept_Nosse_Divbyzero fix
3639 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3640 "feraiseexcept_nosse_divbyzero";
3643 * File name selection pattern
3645 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3646 "bits/fenv.h\0*/bits/fenv.h\0";
3648 * Machine/OS name selection pattern
3650 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3651 "i[34567]86-*-linux*",
3654 (const char*)NULL };
3657 * content selection pattern - do fix if pattern found
3659 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3660 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3663 * content bypass pattern - skip fix if pattern found
3665 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3666 "\"fdivp .*; fwait\"";
3668 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3669 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3670 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3671 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3674 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3676 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3678 "# ifdef __SSE_MATH__\n\
3681 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3682 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3688 * Description of Feraiseexcept_Nosse_Invalid fix
3690 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3691 "feraiseexcept_nosse_invalid";
3694 * File name selection pattern
3696 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3697 "bits/fenv.h\0*/bits/fenv.h\0";
3699 * Machine/OS name selection pattern
3701 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3702 "i[34567]86-*-linux*",
3705 (const char*)NULL };
3708 * content selection pattern - do fix if pattern found
3710 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3711 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3714 * content bypass pattern - skip fix if pattern found
3716 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3717 "\"fdiv .*; fwait\"";
3719 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3720 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3721 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3722 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3725 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3727 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3729 "# ifdef __SSE_MATH__\n\
3732 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3733 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3739 * Description of Freebsd_Gcc3_Breakage fix
3741 tSCC zFreebsd_Gcc3_BreakageName[] =
3742 "freebsd_gcc3_breakage";
3745 * File name selection pattern
3747 tSCC zFreebsd_Gcc3_BreakageList[] =
3750 * Machine/OS name selection pattern
3752 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3754 (const char*)NULL };
3757 * content selection pattern - do fix if pattern found
3759 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3760 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3763 * content bypass pattern - skip fix if pattern found
3765 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3766 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3768 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3769 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3770 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3771 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3774 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3776 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3778 "%0 || __GNUC__ >= 3",
3781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3783 * Description of Freebsd_Gcc4_Breakage fix
3785 tSCC zFreebsd_Gcc4_BreakageName[] =
3786 "freebsd_gcc4_breakage";
3789 * File name selection pattern
3791 tSCC zFreebsd_Gcc4_BreakageList[] =
3794 * Machine/OS name selection pattern
3796 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3798 (const char*)NULL };
3801 * content selection pattern - do fix if pattern found
3803 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3804 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3806 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3807 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3808 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3811 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3813 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3815 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3820 * Description of Glibc_C99_Inline_1 fix
3822 tSCC zGlibc_C99_Inline_1Name[] =
3823 "glibc_c99_inline_1";
3826 * File name selection pattern
3828 tSCC zGlibc_C99_Inline_1List[] =
3829 "features.h\0*/features.h\0";
3831 * Machine/OS name selection pattern
3833 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3836 * content selection pattern - do fix if pattern found
3838 tSCC zGlibc_C99_Inline_1Select0[] =
3839 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3841 #define GLIBC_C99_INLINE_1_TEST_CT 1
3842 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3843 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3846 * Fix Command Arguments for Glibc_C99_Inline_1
3848 static const char* apzGlibc_C99_Inline_1Patch[] = {
3850 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3853 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3855 * Description of Glibc_C99_Inline_1a fix
3857 tSCC zGlibc_C99_Inline_1aName[] =
3858 "glibc_c99_inline_1a";
3861 * File name selection pattern
3863 tSCC zGlibc_C99_Inline_1aList[] =
3864 "features.h\0*/features.h\0";
3866 * Machine/OS name selection pattern
3868 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3871 * content selection pattern - do fix if pattern found
3873 tSCC zGlibc_C99_Inline_1aSelect0[] =
3874 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3875 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3877 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3878 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3879 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3882 * Fix Command Arguments for Glibc_C99_Inline_1a
3884 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3886 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3892 * Description of Glibc_C99_Inline_2 fix
3894 tSCC zGlibc_C99_Inline_2Name[] =
3895 "glibc_c99_inline_2";
3898 * File name selection pattern
3900 tSCC zGlibc_C99_Inline_2List[] =
3901 "sys/stat.h\0*/sys/stat.h\0";
3903 * Machine/OS name selection pattern
3905 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3908 * content selection pattern - do fix if pattern found
3910 tSCC zGlibc_C99_Inline_2Select0[] =
3911 "extern __inline__ int";
3913 #define GLIBC_C99_INLINE_2_TEST_CT 1
3914 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3915 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3918 * Fix Command Arguments for Glibc_C99_Inline_2
3920 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3921 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3924 __inline__ int \\1/",
3925 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3928 __inline__ int \\1/",
3929 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3932 __inline__ int \\1/",
3933 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3936 __inline__ int __REDIRECT\\1 (\\2/",
3937 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3940 __inline__ int __REDIRECT\\1 (\\2/",
3941 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3949 * Description of Glibc_C99_Inline_3 fix
3951 tSCC zGlibc_C99_Inline_3Name[] =
3952 "glibc_c99_inline_3";
3955 * File name selection pattern
3957 tSCC zGlibc_C99_Inline_3List[] =
3958 "bits/string2.h\0*/bits/string2.h\0";
3960 * Machine/OS name selection pattern
3962 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3965 * content selection pattern - do fix if pattern found
3967 tSCC zGlibc_C99_Inline_3Select0[] =
3971 * content bypass pattern - skip fix if pattern found
3973 tSCC zGlibc_C99_Inline_3Bypass0[] =
3974 "__extern_inline|__GNU_STDC_INLINE__";
3976 #define GLIBC_C99_INLINE_3_TEST_CT 2
3977 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3978 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3979 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3982 * Fix Command Arguments for Glibc_C99_Inline_3
3984 static const char* apzGlibc_C99_Inline_3Patch[] = {
3986 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3987 "^# ifdef __cplusplus$",
3990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3992 * Description of Glibc_C99_Inline_4 fix
3994 tSCC zGlibc_C99_Inline_4Name[] =
3995 "glibc_c99_inline_4";
3998 * File name selection pattern
4000 tSCC zGlibc_C99_Inline_4List[] =
4001 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
4003 * Machine/OS name selection pattern
4005 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
4008 * content selection pattern - do fix if pattern found
4010 tSCC zGlibc_C99_Inline_4Select0[] =
4011 "(^| )extern __inline";
4014 * content bypass pattern - skip fix if pattern found
4016 tSCC zGlibc_C99_Inline_4Bypass0[] =
4017 "__extern_inline|__gnu_inline__";
4019 #define GLIBC_C99_INLINE_4_TEST_CT 2
4020 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
4021 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
4022 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
4025 * Fix Command Arguments for Glibc_C99_Inline_4
4027 static const char* apzGlibc_C99_Inline_4Patch[] = {
4029 "%0 __attribute__ ((__gnu_inline__))",
4032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4034 * Description of Glibc_Mutex_Init fix
4036 tSCC zGlibc_Mutex_InitName[] =
4040 * File name selection pattern
4042 tSCC zGlibc_Mutex_InitList[] =
4045 * Machine/OS name selection pattern
4047 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4050 * content selection pattern - do fix if pattern found
4052 tSCC zGlibc_Mutex_InitSelect0[] =
4053 "\\{ *\\{ *0, *\\} *\\}";
4055 #define GLIBC_MUTEX_INIT_TEST_CT 1
4056 static tTestDesc aGlibc_Mutex_InitTests[] = {
4057 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4060 * Fix Command Arguments for Glibc_Mutex_Init
4062 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4063 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4065 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4067 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4068 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4069 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4070 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4071 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4072 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4073 "-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\
4075 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4078 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4080 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4081 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4086 * Description of Glibc_Stdint fix
4088 tSCC zGlibc_StdintName[] =
4092 * File name selection pattern
4094 tSCC zGlibc_StdintList[] =
4097 * Machine/OS name selection pattern
4099 #define apzGlibc_StdintMachs (const char**)NULL
4102 * content selection pattern - do fix if pattern found
4104 tSCC zGlibc_StdintSelect0[] =
4107 #define GLIBC_STDINT_TEST_CT 1
4108 static tTestDesc aGlibc_StdintTests[] = {
4109 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4112 * Fix Command Arguments for Glibc_Stdint
4114 static const char* apzGlibc_StdintPatch[] = {
4116 "# define UINT8_C(c)\tc\n\
4117 # define UINT16_C(c)\tc",
4118 "# define UINT8_C\\(c\\)\tc ## U\n\
4119 # define UINT16_C\\(c\\)\tc ## U",
4122 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4124 * Description of Glibc_Strncpy fix
4126 tSCC zGlibc_StrncpyName[] =
4130 * File name selection pattern
4132 tSCC zGlibc_StrncpyList[] =
4133 "bits/string2.h\0*/bits/string2.h\0";
4135 * Machine/OS name selection pattern
4137 #define apzGlibc_StrncpyMachs (const char**)NULL
4140 * content bypass pattern - skip fix if pattern found
4142 tSCC zGlibc_StrncpyBypass0[] =
4143 "__builtin_strncpy";
4145 #define GLIBC_STRNCPY_TEST_CT 1
4146 static tTestDesc aGlibc_StrncpyTests[] = {
4147 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4150 * Fix Command Arguments for Glibc_Strncpy
4152 static const char* apzGlibc_StrncpyPatch[] = {
4154 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4155 "# define strncpy([^\n\
4161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4163 * Description of Glibc_Tgmath fix
4165 tSCC zGlibc_TgmathName[] =
4169 * File name selection pattern
4171 tSCC zGlibc_TgmathList[] =
4174 * Machine/OS name selection pattern
4176 #define apzGlibc_TgmathMachs (const char**)NULL
4179 * content selection pattern - do fix if pattern found
4181 tSCC zGlibc_TgmathSelect0[] =
4182 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4185 * content bypass pattern - skip fix if pattern found
4187 tSCC zGlibc_TgmathBypass0[] =
4188 "__floating_type\\(type\\) \\\\\n\
4189 .*__builtin_classify_type";
4191 #define GLIBC_TGMATH_TEST_CT 2
4192 static tTestDesc aGlibc_TgmathTests[] = {
4193 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4194 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4197 * Fix Command Arguments for Glibc_Tgmath
4199 static const char* apzGlibc_TgmathPatch[] = {
4201 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4206 * Description of Gnu_Types fix
4208 tSCC zGnu_TypesName[] =
4212 * File name selection pattern
4214 tSCC zGnu_TypesList[] =
4215 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4217 * Machine/OS name selection pattern
4219 tSCC* apzGnu_TypesMachs[] = {
4220 "*-*-solaris2.1[0-9]*",
4221 (const char*)NULL };
4224 * content selection pattern - do fix if pattern found
4226 tSCC zGnu_TypesSelect0[] =
4227 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4230 * content bypass pattern - skip fix if pattern found
4232 tSCC zGnu_TypesBypass0[] =
4233 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4235 #define GNU_TYPES_TEST_CT 2
4236 static tTestDesc aGnu_TypesTests[] = {
4237 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4238 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4241 * Fix Command Arguments for Gnu_Types
4243 static const char* apzGnu_TypesPatch[] = {
4247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4249 * Description of Hp_Inline fix
4251 tSCC zHp_InlineName[] =
4255 * File name selection pattern
4257 tSCC zHp_InlineList[] =
4258 "sys/spinlock.h\0machine/machparam.h\0";
4260 * Machine/OS name selection pattern
4262 #define apzHp_InlineMachs (const char**)NULL
4265 * content selection pattern - do fix if pattern found
4267 tSCC zHp_InlineSelect0[] =
4268 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4270 #define HP_INLINE_TEST_CT 1
4271 static tTestDesc aHp_InlineTests[] = {
4272 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4275 * Fix Command Arguments for Hp_Inline
4277 static const char* apzHp_InlinePatch[] = {
4280 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4285 * Description of Hp_Sysfile fix
4287 tSCC zHp_SysfileName[] =
4291 * File name selection pattern
4293 tSCC zHp_SysfileList[] =
4296 * Machine/OS name selection pattern
4298 #define apzHp_SysfileMachs (const char**)NULL
4301 * content selection pattern - do fix if pattern found
4303 tSCC zHp_SysfileSelect0[] =
4306 #define HP_SYSFILE_TEST_CT 1
4307 static tTestDesc aHp_SysfileTests[] = {
4308 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4311 * Fix Command Arguments for Hp_Sysfile
4313 static const char* apzHp_SysfilePatch[] = {
4315 "(struct file *, ...)",
4319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4321 * Description of Hppa_Hpux_Fp_Macros fix
4323 tSCC zHppa_Hpux_Fp_MacrosName[] =
4324 "hppa_hpux_fp_macros";
4327 * File name selection pattern
4329 tSCC zHppa_Hpux_Fp_MacrosList[] =
4332 * Machine/OS name selection pattern
4334 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4336 (const char*)NULL };
4339 * content selection pattern - do fix if pattern found
4341 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4342 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4343 #[ \t]*define[ \t]*FP_ZERO.*\n\
4344 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4345 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4346 #[ \t]*define[ \t]*FP_NAN.*\n";
4348 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4349 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4350 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4353 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4355 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4357 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4358 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4359 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4361 #ifdef _INCLUDE_HPUX_SOURCE\n",
4364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4366 * Description of Hpux10_Cpp_Pow_Inline fix
4368 tSCC zHpux10_Cpp_Pow_InlineName[] =
4369 "hpux10_cpp_pow_inline";
4372 * File name selection pattern
4374 tSCC zHpux10_Cpp_Pow_InlineList[] =
4375 "fixinc-test-limits.h\0math.h\0";
4377 * Machine/OS name selection pattern
4379 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4382 * content selection pattern - do fix if pattern found
4384 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4385 "^# +ifdef +__cplusplus\n\
4387 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4388 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4390 +extern +\"C\" +\\{\n\
4394 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4395 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4396 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4399 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4401 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4408 * Description of Hpux11_Cpp_Pow_Inline fix
4410 tSCC zHpux11_Cpp_Pow_InlineName[] =
4411 "hpux11_cpp_pow_inline";
4414 * File name selection pattern
4416 tSCC zHpux11_Cpp_Pow_InlineList[] =
4419 * Machine/OS name selection pattern
4421 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4424 * content selection pattern - do fix if pattern found
4426 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4427 " +inline double pow\\(double d,int expon\\) \\{\n\
4428 +return pow\\(d, \\(double\\)expon\\);\n\
4431 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4432 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4433 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4436 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4438 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4445 * Description of Hpux10_Ctype_Declarations1 fix
4447 tSCC zHpux10_Ctype_Declarations1Name[] =
4448 "hpux10_ctype_declarations1";
4451 * File name selection pattern
4453 tSCC zHpux10_Ctype_Declarations1List[] =
4456 * Machine/OS name selection pattern
4458 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4461 * content selection pattern - do fix if pattern found
4463 tSCC zHpux10_Ctype_Declarations1Select0[] =
4464 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4467 * content bypass pattern - skip fix if pattern found
4469 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4470 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4472 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4473 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4474 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4475 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4478 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4480 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4482 "#ifdef _PROTOTYPES\n\
4483 extern int __tolower(int);\n\
4484 extern int __toupper(int);\n\
4485 #else /* NOT _PROTOTYPES */\n\
4486 extern int __tolower();\n\
4487 extern int __toupper();\n\
4488 #endif /* _PROTOTYPES */\n\n\
4492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4494 * Description of Hpux10_Ctype_Declarations2 fix
4496 tSCC zHpux10_Ctype_Declarations2Name[] =
4497 "hpux10_ctype_declarations2";
4500 * File name selection pattern
4502 tSCC zHpux10_Ctype_Declarations2List[] =
4505 * Machine/OS name selection pattern
4507 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4510 * content selection pattern - do fix if pattern found
4512 tSCC zHpux10_Ctype_Declarations2Select0[] =
4513 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4516 * content bypass pattern - skip fix if pattern found
4518 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4519 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4521 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4522 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4523 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4524 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4527 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4529 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4532 #ifdef _PROTOTYPES\n\
4533 extern int _isalnum(int);\n\
4534 extern int _isalpha(int);\n\
4535 extern int _iscntrl(int);\n\
4536 extern int _isdigit(int);\n\
4537 extern int _isgraph(int);\n\
4538 extern int _islower(int);\n\
4539 extern int _isprint(int);\n\
4540 extern int _ispunct(int);\n\
4541 extern int _isspace(int);\n\
4542 extern int _isupper(int);\n\
4543 extern int _isxdigit(int);\n\
4544 # else /* not _PROTOTYPES */\n\
4545 extern int _isalnum();\n\
4546 extern int _isalpha();\n\
4547 extern int _iscntrl();\n\
4548 extern int _isdigit();\n\
4549 extern int _isgraph();\n\
4550 extern int _islower();\n\
4551 extern int _isprint();\n\
4552 extern int _ispunct();\n\
4553 extern int _isspace();\n\
4554 extern int _isupper();\n\
4555 extern int _isxdigit();\n\
4556 #endif /* _PROTOTYPES */\n",
4559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4561 * Description of Hpux10_Stdio_Declarations fix
4563 tSCC zHpux10_Stdio_DeclarationsName[] =
4564 "hpux10_stdio_declarations";
4567 * File name selection pattern
4569 tSCC zHpux10_Stdio_DeclarationsList[] =
4572 * Machine/OS name selection pattern
4574 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4577 * content selection pattern - do fix if pattern found
4579 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4580 "^#[ \t]*define _iob[ \t]*__iob";
4583 * content bypass pattern - skip fix if pattern found
4585 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4586 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4588 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4589 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4590 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4591 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4594 * Fix Command Arguments for Hpux10_Stdio_Declarations
4596 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4599 # if defined(__STDC__) || defined(__cplusplus)\n\
4600 extern int snprintf(char *, size_t, const char *, ...);\n\
4601 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4602 # else /* not __STDC__) || __cplusplus */\n\
4603 extern int snprintf();\n\
4604 extern int vsnprintf();\n\
4605 # endif /* __STDC__) || __cplusplus */\n",
4608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4610 * Description of Hppa_Hpux11_Alloca fix
4612 tSCC zHppa_Hpux11_AllocaName[] =
4613 "hppa_hpux11_alloca";
4616 * File name selection pattern
4618 tSCC zHppa_Hpux11_AllocaList[] =
4621 * Machine/OS name selection pattern
4623 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4625 (const char*)NULL };
4628 * content selection pattern - do fix if pattern found
4630 tSCC zHppa_Hpux11_AllocaSelect0[] =
4631 "#ifndef _STDDEF_INCLUDED";
4633 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4634 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4635 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4638 * Fix Command Arguments for Hppa_Hpux11_Alloca
4640 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4642 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4643 # include <sys/stdsyms.h>\n\
4644 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4650 * Description of Hpux11_Abs fix
4652 tSCC zHpux11_AbsName[] =
4656 * File name selection pattern
4658 tSCC zHpux11_AbsList[] =
4661 * Machine/OS name selection pattern
4663 tSCC* apzHpux11_AbsMachs[] = {
4665 (const char*)NULL };
4668 * content selection pattern - do fix if pattern found
4670 tSCC zHpux11_AbsSelect0[] =
4671 "ifndef _MATH_INCLUDED";
4673 #define HPUX11_ABS_TEST_CT 1
4674 static tTestDesc aHpux11_AbsTests[] = {
4675 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4678 * Fix Command Arguments for Hpux11_Abs
4680 static const char* apzHpux11_AbsPatch[] = {
4682 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4687 * Description of Hpux11_Lwp_Rwlock_Valid fix
4689 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4690 "hpux11_lwp_rwlock_valid";
4693 * File name selection pattern
4695 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4698 * Machine/OS name selection pattern
4700 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4702 (const char*)NULL };
4705 * content selection pattern - do fix if pattern found
4707 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4708 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4710 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4711 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4712 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4715 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4717 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4719 "#define __LWP_RWLOCK_VALID -29551",
4722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4724 * Description of Hpux11_Extern_Sendfile fix
4726 tSCC zHpux11_Extern_SendfileName[] =
4727 "hpux11_extern_sendfile";
4730 * File name selection pattern
4732 tSCC zHpux11_Extern_SendfileList[] =
4735 * Machine/OS name selection pattern
4737 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4738 "*-hp-hpux11.[12]*",
4739 (const char*)NULL };
4742 * content selection pattern - do fix if pattern found
4744 tSCC zHpux11_Extern_SendfileSelect0[] =
4745 "^[ \t]*extern sbsize_t sendfile.*\n\
4748 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4749 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4750 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4753 * Fix Command Arguments for Hpux11_Extern_Sendfile
4755 static const char* apzHpux11_Extern_SendfilePatch[] = {
4757 "#ifndef _APP32_64BIT_OFF_T\n\
4761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4763 * Description of Hpux11_Extern_Sendpath fix
4765 tSCC zHpux11_Extern_SendpathName[] =
4766 "hpux11_extern_sendpath";
4769 * File name selection pattern
4771 tSCC zHpux11_Extern_SendpathList[] =
4774 * Machine/OS name selection pattern
4776 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4777 "*-hp-hpux11.[12]*",
4778 (const char*)NULL };
4781 * content selection pattern - do fix if pattern found
4783 tSCC zHpux11_Extern_SendpathSelect0[] =
4784 "^[ \t]*extern sbsize_t sendpath.*\n\
4787 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4788 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4789 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4792 * Fix Command Arguments for Hpux11_Extern_Sendpath
4794 static const char* apzHpux11_Extern_SendpathPatch[] = {
4796 "#ifndef _APP32_64BIT_OFF_T\n\
4800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4802 * Description of Hpux11_Fabsf fix
4804 tSCC zHpux11_FabsfName[] =
4808 * File name selection pattern
4810 tSCC zHpux11_FabsfList[] =
4813 * Machine/OS name selection pattern
4815 tSCC* apzHpux11_FabsfMachs[] = {
4817 (const char*)NULL };
4820 * content selection pattern - do fix if pattern found
4822 tSCC zHpux11_FabsfSelect0[] =
4823 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4825 #define HPUX11_FABSF_TEST_CT 1
4826 static tTestDesc aHpux11_FabsfTests[] = {
4827 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4830 * Fix Command Arguments for Hpux11_Fabsf
4832 static const char* apzHpux11_FabsfPatch[] = {
4834 "#ifndef __cplusplus\n\
4839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4841 * Description of Hpux11_Pthread_Pointer fix
4843 tSCC zHpux11_Pthread_PointerName[] =
4844 "hpux11_pthread_pointer";
4847 * File name selection pattern
4849 tSCC zHpux11_Pthread_PointerList[] =
4852 * Machine/OS name selection pattern
4854 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4855 "*-hp-hpux11.[0-3]*",
4856 (const char*)NULL };
4859 * content selection pattern - do fix if pattern found
4861 tSCC zHpux11_Pthread_PointerSelect0[] =
4862 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4864 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4865 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4866 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4869 * Fix Command Arguments for Hpux11_Pthread_Pointer
4871 static const char* apzHpux11_Pthread_PointerPatch[] = {
4876 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4878 * Description of Hpux11_Pthread_Const fix
4880 tSCC zHpux11_Pthread_ConstName[] =
4881 "hpux11_pthread_const";
4884 * File name selection pattern
4886 tSCC zHpux11_Pthread_ConstList[] =
4889 * Machine/OS name selection pattern
4891 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4892 "*-hp-hpux11.[0-3]*",
4893 (const char*)NULL };
4896 * content selection pattern - do fix if pattern found
4898 tSCC zHpux11_Pthread_ConstSelect0[] =
4899 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4901 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4902 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4903 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4906 * Fix Command Arguments for Hpux11_Pthread_Const
4908 static const char* apzHpux11_Pthread_ConstPatch[] = {
4913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4915 * Description of Hpux11_Size_T fix
4917 tSCC zHpux11_Size_TName[] =
4921 * File name selection pattern
4923 #define zHpux11_Size_TList (char*)NULL
4925 * Machine/OS name selection pattern
4927 tSCC* apzHpux11_Size_TMachs[] = {
4929 (const char*)NULL };
4932 * content selection pattern - do fix if pattern found
4934 tSCC zHpux11_Size_TSelect0[] =
4937 #define HPUX11_SIZE_T_TEST_CT 1
4938 static tTestDesc aHpux11_Size_TTests[] = {
4939 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4942 * Fix Command Arguments for Hpux11_Size_T
4944 static const char* apzHpux11_Size_TPatch[] = {
4949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4951 * Description of Hpux11_Snprintf fix
4953 tSCC zHpux11_SnprintfName[] =
4957 * File name selection pattern
4959 tSCC zHpux11_SnprintfList[] =
4962 * Machine/OS name selection pattern
4964 #define apzHpux11_SnprintfMachs (const char**)NULL
4967 * content selection pattern - do fix if pattern found
4969 tSCC zHpux11_SnprintfSelect0[] =
4970 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4972 #define HPUX11_SNPRINTF_TEST_CT 1
4973 static tTestDesc aHpux11_SnprintfTests[] = {
4974 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4977 * Fix Command Arguments for Hpux11_Snprintf
4979 static const char* apzHpux11_SnprintfPatch[] = {
4984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4986 * Description of Hpux11_Vsnprintf fix
4988 tSCC zHpux11_VsnprintfName[] =
4992 * File name selection pattern
4994 tSCC zHpux11_VsnprintfList[] =
4997 * Machine/OS name selection pattern
4999 #define apzHpux11_VsnprintfMachs (const char**)NULL
5002 * content selection pattern - do fix if pattern found
5004 tSCC zHpux11_VsnprintfSelect0[] =
5005 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
5007 #define HPUX11_VSNPRINTF_TEST_CT 1
5008 static tTestDesc aHpux11_VsnprintfTests[] = {
5009 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
5012 * Fix Command Arguments for Hpux11_Vsnprintf
5014 static const char* apzHpux11_VsnprintfPatch[] = {
5019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5021 * Description of Hpux_Vsscanf fix
5023 tSCC zHpux_VsscanfName[] =
5027 * File name selection pattern
5029 tSCC zHpux_VsscanfList[] =
5032 * Machine/OS name selection pattern
5034 tSCC* apzHpux_VsscanfMachs[] = {
5036 (const char*)NULL };
5039 * content selection pattern - do fix if pattern found
5041 tSCC zHpux_VsscanfSelect0[] =
5042 "(extern int vsscanf\\()char";
5044 #define HPUX_VSSCANF_TEST_CT 1
5045 static tTestDesc aHpux_VsscanfTests[] = {
5046 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5049 * Fix Command Arguments for Hpux_Vsscanf
5051 static const char* apzHpux_VsscanfPatch[] = {
5056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5058 * Description of Hpux8_Bogus_Inlines fix
5060 tSCC zHpux8_Bogus_InlinesName[] =
5061 "hpux8_bogus_inlines";
5064 * File name selection pattern
5066 tSCC zHpux8_Bogus_InlinesList[] =
5069 * Machine/OS name selection pattern
5071 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5074 * content selection pattern - do fix if pattern found
5076 tSCC zHpux8_Bogus_InlinesSelect0[] =
5080 * content bypass pattern - skip fix if pattern found
5082 tSCC zHpux8_Bogus_InlinesBypass0[] =
5085 #define HPUX8_BOGUS_INLINES_TEST_CT 2
5086 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5087 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5088 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5091 * Fix Command Arguments for Hpux8_Bogus_Inlines
5093 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5094 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5095 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5096 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5097 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5102 * Description of Hpux_C99_Intptr fix
5104 tSCC zHpux_C99_IntptrName[] =
5108 * File name selection pattern
5110 tSCC zHpux_C99_IntptrList[] =
5111 "stdint-hpux11.h\0stdint.h\0";
5113 * Machine/OS name selection pattern
5115 tSCC* apzHpux_C99_IntptrMachs[] = {
5117 (const char*)NULL };
5118 #define HPUX_C99_INTPTR_TEST_CT 0
5119 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5122 * Fix Command Arguments for Hpux_C99_Intptr
5124 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5125 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5126 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5127 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5128 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5129 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5130 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5135 * Description of Hpux_C99_Inttypes fix
5137 tSCC zHpux_C99_InttypesName[] =
5138 "hpux_c99_inttypes";
5141 * File name selection pattern
5143 tSCC zHpux_C99_InttypesList[] =
5144 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5146 * Machine/OS name selection pattern
5148 tSCC* apzHpux_C99_InttypesMachs[] = {
5149 "*-hp-hpux11.[23]*",
5150 (const char*)NULL };
5151 #define HPUX_C99_INTTYPES_TEST_CT 0
5152 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5155 * Fix Command Arguments for Hpux_C99_Inttypes
5157 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5158 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5159 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5160 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5161 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5164 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5166 * Description of Hpux_C99_Inttypes2 fix
5168 tSCC zHpux_C99_Inttypes2Name[] =
5169 "hpux_c99_inttypes2";
5172 * File name selection pattern
5174 tSCC zHpux_C99_Inttypes2List[] =
5175 "stdint-hpux11.h\0stdint.h\0";
5177 * Machine/OS name selection pattern
5179 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5181 (const char*)NULL };
5182 #define HPUX_C99_INTTYPES2_TEST_CT 0
5183 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5186 * Fix Command Arguments for Hpux_C99_Inttypes2
5188 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5189 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5190 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5191 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5192 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5197 * Description of Hpux_C99_Inttypes3 fix
5199 tSCC zHpux_C99_Inttypes3Name[] =
5200 "hpux_c99_inttypes3";
5203 * File name selection pattern
5205 tSCC zHpux_C99_Inttypes3List[] =
5208 * Machine/OS name selection pattern
5210 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5212 (const char*)NULL };
5215 * content selection pattern - do fix if pattern found
5217 tSCC zHpux_C99_Inttypes3Select0[] =
5218 "#define[ \t]INTPTR_MAX[ \t]*\n\
5219 #define[ \t]UINTPTR_MAX[ \t]*\n";
5221 #define HPUX_C99_INTTYPES3_TEST_CT 1
5222 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5223 { TT_EGREP, zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5226 * Fix Command Arguments for Hpux_C99_Inttypes3
5228 static const char* apzHpux_C99_Inttypes3Patch[] = {
5231 #define SIZE_MAX __SIZE_MAX__\n\
5232 #ifdef __INTPTR_MAX__\n\
5233 # undef INTPTR_MAX\n\
5234 # define INTPTR_MAX __INTPTR_MAX__\n\
5235 # undef INTPTR_MIN\n\
5236 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5238 #ifdef __UINTPTR_MAX__\n\
5239 # undef UINTPTR_MAX\n\
5240 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5246 * Description of Hpux_C99_Inttypes4 fix
5248 tSCC zHpux_C99_Inttypes4Name[] =
5249 "hpux_c99_inttypes4";
5252 * File name selection pattern
5254 tSCC zHpux_C99_Inttypes4List[] =
5257 * Machine/OS name selection pattern
5259 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5260 "hppa*-hp-hpux11.[01]*",
5261 (const char*)NULL };
5262 #define HPUX_C99_INTTYPES4_TEST_CT 0
5263 #define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5266 * Fix Command Arguments for Hpux_C99_Inttypes4
5268 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5269 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5270 #define SCNuMAX \t SCNu64\n",
5271 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5272 #define SCNuMAX \t SCNu32\n",
5275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5277 * Description of Hpux_Ctype_Macros fix
5279 tSCC zHpux_Ctype_MacrosName[] =
5280 "hpux_ctype_macros";
5283 * File name selection pattern
5285 tSCC zHpux_Ctype_MacrosList[] =
5288 * Machine/OS name selection pattern
5290 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5293 * content selection pattern - do fix if pattern found
5295 tSCC zHpux_Ctype_MacrosSelect0[] =
5296 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5298 #define HPUX_CTYPE_MACROS_TEST_CT 1
5299 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5300 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5303 * Fix Command Arguments for Hpux_Ctype_Macros
5305 static const char* apzHpux_Ctype_MacrosPatch[] = {
5310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5312 * Description of Hpux_Extern_Errno fix
5314 tSCC zHpux_Extern_ErrnoName[] =
5315 "hpux_extern_errno";
5318 * File name selection pattern
5320 tSCC zHpux_Extern_ErrnoList[] =
5323 * Machine/OS name selection pattern
5325 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5327 "*-hp-hpux11.[0-2]*",
5328 (const char*)NULL };
5331 * content selection pattern - do fix if pattern found
5333 tSCC zHpux_Extern_ErrnoSelect0[] =
5334 "^[ \t]*extern int errno;$";
5336 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5337 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5338 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5341 * Fix Command Arguments for Hpux_Extern_Errno
5343 static const char* apzHpux_Extern_ErrnoPatch[] = {
5345 "#ifdef __cplusplus\n\
5349 #ifdef __cplusplus\n\
5354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5356 * Description of Hpux_Htonl fix
5358 tSCC zHpux_HtonlName[] =
5362 * File name selection pattern
5364 tSCC zHpux_HtonlList[] =
5367 * Machine/OS name selection pattern
5369 #define apzHpux_HtonlMachs (const char**)NULL
5372 * content selection pattern - do fix if pattern found
5374 tSCC zHpux_HtonlSelect0[] =
5375 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5377 \\* Macros for number representation conversion\\.\n\
5381 #define HPUX_HTONL_TEST_CT 1
5382 static tTestDesc aHpux_HtonlTests[] = {
5383 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5386 * Fix Command Arguments for Hpux_Htonl
5388 static const char* apzHpux_HtonlPatch[] = {
5394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5396 * Description of Hpux_Imaginary_I fix
5398 tSCC zHpux_Imaginary_IName[] =
5402 * File name selection pattern
5404 tSCC zHpux_Imaginary_IList[] =
5407 * Machine/OS name selection pattern
5409 tSCC* apzHpux_Imaginary_IMachs[] = {
5411 (const char*)NULL };
5414 * content selection pattern - do fix if pattern found
5416 tSCC zHpux_Imaginary_ISelect0[] =
5417 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5419 #define HPUX_IMAGINARY_I_TEST_CT 1
5420 static tTestDesc aHpux_Imaginary_ITests[] = {
5421 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5424 * Fix Command Arguments for Hpux_Imaginary_I
5426 static const char* apzHpux_Imaginary_IPatch[] = {
5428 "#define _Complex_I (__extension__ 1.0iF)",
5431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5433 * Description of Hpux_Inttype_Int8_T fix
5435 tSCC zHpux_Inttype_Int8_TName[] =
5436 "hpux_inttype_int8_t";
5439 * File name selection pattern
5441 tSCC zHpux_Inttype_Int8_TList[] =
5442 "sys/_inttypes.h\0";
5444 * Machine/OS name selection pattern
5446 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5448 (const char*)NULL };
5451 * content selection pattern - do fix if pattern found
5453 tSCC zHpux_Inttype_Int8_TSelect0[] =
5454 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5456 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5457 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5458 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5461 * Fix Command Arguments for Hpux_Inttype_Int8_T
5463 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5465 "typedef signed char int%18_t;",
5468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5470 * Description of Hpux_Long_Double fix
5472 tSCC zHpux_Long_DoubleName[] =
5476 * File name selection pattern
5478 tSCC zHpux_Long_DoubleList[] =
5481 * Machine/OS name selection pattern
5483 tSCC* apzHpux_Long_DoubleMachs[] = {
5485 "*-*-hpux11.[012]*",
5486 (const char*)NULL };
5489 * content selection pattern - do fix if pattern found
5491 tSCC zHpux_Long_DoubleSelect0[] =
5492 "extern[ \t]long_double[ \t]strtold";
5495 * content bypass pattern - skip fix if pattern found
5497 tSCC zHpux_Long_DoubleBypass0[] =
5500 #define HPUX_LONG_DOUBLE_TEST_CT 2
5501 static tTestDesc aHpux_Long_DoubleTests[] = {
5502 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5503 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5506 * Fix Command Arguments for Hpux_Long_Double
5508 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5509 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5510 "-e", "s/long_double/long double/g",
5513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5515 * Description of Hpux_Long_Double_2 fix
5517 tSCC zHpux_Long_Double_2Name[] =
5518 "hpux_long_double_2";
5521 * File name selection pattern
5523 tSCC zHpux_Long_Double_2List[] =
5526 * Machine/OS name selection pattern
5528 tSCC* apzHpux_Long_Double_2Machs[] = {
5529 "hppa*-*-hpux11.3*",
5530 (const char*)NULL };
5533 * content selection pattern - do fix if pattern found
5535 tSCC zHpux_Long_Double_2Select0[] =
5536 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5538 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5539 static tTestDesc aHpux_Long_Double_2Tests[] = {
5540 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5543 * Fix Command Arguments for Hpux_Long_Double_2
5545 static const char* apzHpux_Long_Double_2Patch[] = {
5547 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5552 * Description of Hpux_Pthread_Initializers fix
5554 tSCC zHpux_Pthread_InitializersName[] =
5555 "hpux_pthread_initializers";
5558 * File name selection pattern
5560 tSCC zHpux_Pthread_InitializersList[] =
5563 * Machine/OS name selection pattern
5565 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5566 "*-hp-hpux11.[0-3]*",
5567 (const char*)NULL };
5568 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5569 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5572 * Fix Command Arguments for Hpux_Pthread_Initializers
5574 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5575 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5576 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5577 "-e", "/^[ \t]*0$/d",
5578 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5579 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5580 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5581 "-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\\\\@",
5582 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5583 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5584 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5585 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5586 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5587 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5592 * Description of Hpux_Spu_Info fix
5594 tSCC zHpux_Spu_InfoName[] =
5598 * File name selection pattern
5600 tSCC zHpux_Spu_InfoList[] =
5601 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5603 * Machine/OS name selection pattern
5605 tSCC* apzHpux_Spu_InfoMachs[] = {
5607 (const char*)NULL };
5610 * content selection pattern - do fix if pattern found
5612 tSCC zHpux_Spu_InfoSelect0[] =
5613 "^.*extern.*spu_info.*";
5615 #define HPUX_SPU_INFO_TEST_CT 1
5616 static tTestDesc aHpux_Spu_InfoTests[] = {
5617 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5620 * Fix Command Arguments for Hpux_Spu_Info
5622 static const char* apzHpux_Spu_InfoPatch[] = {
5629 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5631 * Description of Hpux_Stdint_Least_Fast fix
5633 tSCC zHpux_Stdint_Least_FastName[] =
5634 "hpux_stdint_least_fast";
5637 * File name selection pattern
5639 tSCC zHpux_Stdint_Least_FastList[] =
5640 "stdint-hpux11.h\0stdint.h\0";
5642 * Machine/OS name selection pattern
5644 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5646 (const char*)NULL };
5649 * content selection pattern - do fix if pattern found
5651 tSCC zHpux_Stdint_Least_FastSelect0[] =
5652 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5654 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5655 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5656 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5659 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5661 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5663 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5668 * Description of Hpux_Longjmp fix
5670 tSCC zHpux_LongjmpName[] =
5674 * File name selection pattern
5676 tSCC zHpux_LongjmpList[] =
5679 * Machine/OS name selection pattern
5681 tSCC* apzHpux_LongjmpMachs[] = {
5683 (const char*)NULL };
5686 * content selection pattern - do fix if pattern found
5688 tSCC zHpux_LongjmpSelect0[] =
5689 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5691 #define HPUX_LONGJMP_TEST_CT 1
5692 static tTestDesc aHpux_LongjmpTests[] = {
5693 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5696 * Fix Command Arguments for Hpux_Longjmp
5698 static const char* apzHpux_LongjmpPatch[] = {
5700 "%0 __attribute__ ((__noreturn__))",
5703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5705 * Description of Hpux_Systime fix
5707 tSCC zHpux_SystimeName[] =
5711 * File name selection pattern
5713 tSCC zHpux_SystimeList[] =
5716 * Machine/OS name selection pattern
5718 #define apzHpux_SystimeMachs (const char**)NULL
5721 * content selection pattern - do fix if pattern found
5723 tSCC zHpux_SystimeSelect0[] =
5724 "^extern struct sigevent;";
5726 #define HPUX_SYSTIME_TEST_CT 1
5727 static tTestDesc aHpux_SystimeTests[] = {
5728 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5731 * Fix Command Arguments for Hpux_Systime
5733 static const char* apzHpux_SystimePatch[] = {
5738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5740 * Description of Huge_Val_Hex fix
5742 tSCC zHuge_Val_HexName[] =
5746 * File name selection pattern
5748 tSCC zHuge_Val_HexList[] =
5749 "bits/huge_val.h\0*/bits/huge_val.h\0";
5751 * Machine/OS name selection pattern
5753 #define apzHuge_Val_HexMachs (const char**)NULL
5756 * content selection pattern - do fix if pattern found
5758 tSCC zHuge_Val_HexSelect0[] =
5759 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5762 * content bypass pattern - skip fix if pattern found
5764 tSCC zHuge_Val_HexBypass0[] =
5765 "__builtin_huge_val";
5767 #define HUGE_VAL_HEX_TEST_CT 2
5768 static tTestDesc aHuge_Val_HexTests[] = {
5769 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5770 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5773 * Fix Command Arguments for Huge_Val_Hex
5775 static const char* apzHuge_Val_HexPatch[] = {
5777 "#define HUGE_VAL (__builtin_huge_val())\n",
5780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5782 * Description of Huge_Valf_Hex fix
5784 tSCC zHuge_Valf_HexName[] =
5788 * File name selection pattern
5790 tSCC zHuge_Valf_HexList[] =
5791 "bits/huge_val.h\0*/bits/huge_val.h\0";
5793 * Machine/OS name selection pattern
5795 #define apzHuge_Valf_HexMachs (const char**)NULL
5798 * content selection pattern - do fix if pattern found
5800 tSCC zHuge_Valf_HexSelect0[] =
5801 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5804 * content bypass pattern - skip fix if pattern found
5806 tSCC zHuge_Valf_HexBypass0[] =
5807 "__builtin_huge_valf";
5809 #define HUGE_VALF_HEX_TEST_CT 2
5810 static tTestDesc aHuge_Valf_HexTests[] = {
5811 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5812 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5815 * Fix Command Arguments for Huge_Valf_Hex
5817 static const char* apzHuge_Valf_HexPatch[] = {
5819 "#define HUGE_VALF (__builtin_huge_valf())\n",
5822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5824 * Description of Huge_Vall_Hex fix
5826 tSCC zHuge_Vall_HexName[] =
5830 * File name selection pattern
5832 tSCC zHuge_Vall_HexList[] =
5833 "bits/huge_val.h\0*/bits/huge_val.h\0";
5835 * Machine/OS name selection pattern
5837 #define apzHuge_Vall_HexMachs (const char**)NULL
5840 * content selection pattern - do fix if pattern found
5842 tSCC zHuge_Vall_HexSelect0[] =
5843 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5846 * content bypass pattern - skip fix if pattern found
5848 tSCC zHuge_Vall_HexBypass0[] =
5849 "__builtin_huge_vall";
5851 #define HUGE_VALL_HEX_TEST_CT 2
5852 static tTestDesc aHuge_Vall_HexTests[] = {
5853 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5854 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5857 * Fix Command Arguments for Huge_Vall_Hex
5859 static const char* apzHuge_Vall_HexPatch[] = {
5861 "#define HUGE_VALL (__builtin_huge_vall())\n",
5864 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5866 * Description of Int_Abort_Free_And_Exit fix
5868 tSCC zInt_Abort_Free_And_ExitName[] =
5869 "int_abort_free_and_exit";
5872 * File name selection pattern
5874 tSCC zInt_Abort_Free_And_ExitList[] =
5877 * Machine/OS name selection pattern
5879 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5882 * content selection pattern - do fix if pattern found
5884 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5885 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5888 * content bypass pattern - skip fix if pattern found
5890 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5891 "_CLASSIC_ANSI_TYPES";
5893 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5894 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5895 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5896 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5899 * Fix Command Arguments for Int_Abort_Free_And_Exit
5901 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5908 * Description of Io_Quotes_Def fix
5910 tSCC zIo_Quotes_DefName[] =
5914 * File name selection pattern
5916 #define zIo_Quotes_DefList (char*)NULL
5918 * Machine/OS name selection pattern
5920 #define apzIo_Quotes_DefMachs (const char**)NULL
5923 * content selection pattern - do fix if pattern found
5925 tSCC zIo_Quotes_DefSelect0[] =
5926 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5928 #define IO_QUOTES_DEF_TEST_CT 1
5929 static tTestDesc aIo_Quotes_DefTests[] = {
5930 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5933 * Fix Command Arguments for Io_Quotes_Def
5935 static const char* apzIo_Quotes_DefPatch[] = {
5940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5942 * Description of Io_Quotes_Use fix
5944 tSCC zIo_Quotes_UseName[] =
5948 * File name selection pattern
5950 #define zIo_Quotes_UseList (char*)NULL
5952 * Machine/OS name selection pattern
5954 #define apzIo_Quotes_UseMachs (const char**)NULL
5957 * content selection pattern - do fix if pattern found
5959 tSCC zIo_Quotes_UseSelect0[] =
5960 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5962 #define IO_QUOTES_USE_TEST_CT 1
5963 static tTestDesc aIo_Quotes_UseTests[] = {
5964 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5967 * Fix Command Arguments for Io_Quotes_Use
5969 static const char* apzIo_Quotes_UsePatch[] = {
5974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5976 * Description of Ip_Missing_Semi fix
5978 tSCC zIp_Missing_SemiName[] =
5982 * File name selection pattern
5984 tSCC zIp_Missing_SemiList[] =
5987 * Machine/OS name selection pattern
5989 #define apzIp_Missing_SemiMachs (const char**)NULL
5992 * content selection pattern - do fix if pattern found
5994 tSCC zIp_Missing_SemiSelect0[] =
5997 #define IP_MISSING_SEMI_TEST_CT 1
5998 static tTestDesc aIp_Missing_SemiTests[] = {
5999 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
6002 * Fix Command Arguments for Ip_Missing_Semi
6004 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
6005 "-e", "/^struct/,/^};/s/}$/};/",
6008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6010 * Description of Irix_Limits_Const fix
6012 tSCC zIrix_Limits_ConstName[] =
6013 "irix_limits_const";
6016 * File name selection pattern
6018 tSCC zIrix_Limits_ConstList[] =
6019 "fixinc-test-limits.h\0limits.h\0";
6021 * Machine/OS name selection pattern
6023 #define apzIrix_Limits_ConstMachs (const char**)NULL
6026 * content selection pattern - do fix if pattern found
6028 tSCC zIrix_Limits_ConstSelect0[] =
6031 #define IRIX_LIMITS_CONST_TEST_CT 1
6032 static tTestDesc aIrix_Limits_ConstTests[] = {
6033 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
6036 * Fix Command Arguments for Irix_Limits_Const
6038 static const char* apzIrix_Limits_ConstPatch[] = {
6043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6045 * Description of Irix_Stdio_Va_List fix
6047 tSCC zIrix_Stdio_Va_ListName[] =
6048 "irix_stdio_va_list";
6051 * File name selection pattern
6053 tSCC zIrix_Stdio_Va_ListList[] =
6056 * Machine/OS name selection pattern
6058 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6061 * content selection pattern - do fix if pattern found
6063 tSCC zIrix_Stdio_Va_ListSelect0[] =
6064 "/\\* va_list \\*/ char \\*";
6066 #define IRIX_STDIO_VA_LIST_TEST_CT 1
6067 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6068 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6071 * Fix Command Arguments for Irix_Stdio_Va_List
6073 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6080 * Description of Kandr_Concat fix
6082 tSCC zKandr_ConcatName[] =
6086 * File name selection pattern
6088 tSCC zKandr_ConcatList[] =
6089 "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";
6091 * Machine/OS name selection pattern
6093 #define apzKandr_ConcatMachs (const char**)NULL
6096 * content selection pattern - do fix if pattern found
6098 tSCC zKandr_ConcatSelect0[] =
6101 #define KANDR_CONCAT_TEST_CT 1
6102 static tTestDesc aKandr_ConcatTests[] = {
6103 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
6106 * Fix Command Arguments for Kandr_Concat
6108 static const char* apzKandr_ConcatPatch[] = {
6113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6115 * Description of Linux_Ia64_Ucontext fix
6117 tSCC zLinux_Ia64_UcontextName[] =
6118 "linux_ia64_ucontext";
6121 * File name selection pattern
6123 tSCC zLinux_Ia64_UcontextList[] =
6126 * Machine/OS name selection pattern
6128 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6130 (const char*)NULL };
6133 * content selection pattern - do fix if pattern found
6135 tSCC zLinux_Ia64_UcontextSelect0[] =
6136 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6138 #define LINUX_IA64_UCONTEXT_TEST_CT 1
6139 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6140 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6143 * Fix Command Arguments for Linux_Ia64_Ucontext
6145 static const char* apzLinux_Ia64_UcontextPatch[] = {
6147 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6150 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6152 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6154 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6155 "lynxos_no_warning_in_sys_time_h";
6158 * File name selection pattern
6160 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6163 * Machine/OS name selection pattern
6165 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6168 * content selection pattern - do fix if pattern found
6170 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6171 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6173 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6174 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6175 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6178 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6180 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6187 * Description of Lynxos_Missing_Putenv fix
6189 tSCC zLynxos_Missing_PutenvName[] =
6190 "lynxos_missing_putenv";
6193 * File name selection pattern
6195 tSCC zLynxos_Missing_PutenvList[] =
6198 * Machine/OS name selection pattern
6200 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6202 (const char*)NULL };
6205 * content selection pattern - do fix if pattern found
6207 tSCC zLynxos_Missing_PutenvSelect0[] =
6208 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6211 * content bypass pattern - skip fix if pattern found
6213 tSCC zLynxos_Missing_PutenvBypass0[] =
6216 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6217 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6218 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6219 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6222 * Fix Command Arguments for Lynxos_Missing_Putenv
6224 static const char* apzLynxos_Missing_PutenvPatch[] = {
6227 extern int putenv\t\t\t\t_AP((char *));",
6228 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6233 * Description of Machine_Ansi_H_Va_List fix
6235 tSCC zMachine_Ansi_H_Va_ListName[] =
6236 "machine_ansi_h_va_list";
6239 * File name selection pattern
6241 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6243 * Machine/OS name selection pattern
6245 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6248 * content selection pattern - do fix if pattern found
6250 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6251 "define[ \t]+_BSD_VA_LIST_[ \t]";
6254 * content bypass pattern - skip fix if pattern found
6256 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6257 "__builtin_va_list";
6259 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6260 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6261 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6262 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6265 * Fix Command Arguments for Machine_Ansi_H_Va_List
6267 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6269 "%1__builtin_va_list",
6270 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6273 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6275 * Description of Machine_Name fix
6277 tSCC zMachine_NameName[] =
6281 * File name selection pattern
6283 #define zMachine_NameList (char*)NULL
6285 * Machine/OS name selection pattern
6287 #define apzMachine_NameMachs (const char**)NULL
6290 * perform the C function call test
6292 tSCC zMachine_NameFTst0[] = "machine_name";
6294 #define MACHINE_NAME_TEST_CT 1
6295 static tTestDesc aMachine_NameTests[] = {
6296 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6299 * Fix Command Arguments for Machine_Name
6301 static const char* apzMachine_NamePatch[] = {
6305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6307 * Description of Math_Exception fix
6309 tSCC zMath_ExceptionName[] =
6313 * File name selection pattern
6315 tSCC zMath_ExceptionList[] =
6318 * Machine/OS name selection pattern
6320 tSCC* apzMath_ExceptionMachs[] = {
6321 "*-*-solaris2.1[0-9]*",
6322 (const char*)NULL };
6325 * content selection pattern - do fix if pattern found
6327 tSCC zMath_ExceptionSelect0[] =
6331 * content bypass pattern - skip fix if pattern found
6333 tSCC zMath_ExceptionBypass0[] =
6334 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6336 #define MATH_EXCEPTION_TEST_CT 2
6337 static tTestDesc aMath_ExceptionTests[] = {
6338 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6339 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6342 * Fix Command Arguments for Math_Exception
6344 static const char* apzMath_ExceptionPatch[] = {
6346 "#ifdef __cplusplus\n\
6347 #define exception __math_exception\n\
6349 "#ifdef __cplusplus\n\
6354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6356 * Description of Math_Huge_Val_From_Dbl_Max fix
6358 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6359 "math_huge_val_from_dbl_max";
6362 * File name selection pattern
6364 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6367 * Machine/OS name selection pattern
6369 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6372 * content selection pattern - do fix if pattern found
6374 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6375 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6378 * content bypass pattern - skip fix if pattern found
6380 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6381 "define[ \t]+DBL_MAX";
6383 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6384 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6385 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6386 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6389 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6391 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6392 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6393 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6394 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6401 * Description of Nested_Auth_Des fix
6403 tSCC zNested_Auth_DesName[] =
6407 * File name selection pattern
6409 tSCC zNested_Auth_DesList[] =
6412 * Machine/OS name selection pattern
6414 #define apzNested_Auth_DesMachs (const char**)NULL
6417 * content selection pattern - do fix if pattern found
6419 tSCC zNested_Auth_DesSelect0[] =
6420 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6422 #define NESTED_AUTH_DES_TEST_CT 1
6423 static tTestDesc aNested_Auth_DesTests[] = {
6424 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6427 * Fix Command Arguments for Nested_Auth_Des
6429 static const char* apzNested_Auth_DesPatch[] = {
6434 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6436 * Description of Netbsd_C99_Inline_1 fix
6438 tSCC zNetbsd_C99_Inline_1Name[] =
6439 "netbsd_c99_inline_1";
6442 * File name selection pattern
6444 tSCC zNetbsd_C99_Inline_1List[] =
6447 * Machine/OS name selection pattern
6449 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6451 (const char*)NULL };
6454 * content selection pattern - do fix if pattern found
6456 tSCC zNetbsd_C99_Inline_1Select0[] =
6457 "extern __inline int";
6459 #define NETBSD_C99_INLINE_1_TEST_CT 1
6460 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6461 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6464 * Fix Command Arguments for Netbsd_C99_Inline_1
6466 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6469 #ifdef __GNUC_STDC_INLINE__\n\
6470 __attribute__((__gnu_inline__))\n\
6475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6477 * Description of Netbsd_C99_Inline_2 fix
6479 tSCC zNetbsd_C99_Inline_2Name[] =
6480 "netbsd_c99_inline_2";
6483 * File name selection pattern
6485 tSCC zNetbsd_C99_Inline_2List[] =
6488 * Machine/OS name selection pattern
6490 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6492 (const char*)NULL };
6495 * content selection pattern - do fix if pattern found
6497 tSCC zNetbsd_C99_Inline_2Select0[] =
6498 "#define _SIGINLINE extern __inline";
6500 #define NETBSD_C99_INLINE_2_TEST_CT 1
6501 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6502 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6505 * Fix Command Arguments for Netbsd_C99_Inline_2
6507 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6509 "#ifdef __GNUC_STDC_INLINE__\n\
6510 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6518 * Description of Netbsd_Extra_Semicolon fix
6520 tSCC zNetbsd_Extra_SemicolonName[] =
6521 "netbsd_extra_semicolon";
6524 * File name selection pattern
6526 tSCC zNetbsd_Extra_SemicolonList[] =
6529 * Machine/OS name selection pattern
6531 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6533 (const char*)NULL };
6536 * content selection pattern - do fix if pattern found
6538 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6539 "#define[ \t]*__END_DECLS[ \t]*};";
6541 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6542 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6543 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6546 * Fix Command Arguments for Netbsd_Extra_Semicolon
6548 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6550 "#define __END_DECLS }",
6553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6555 * Description of Newlib_Stdint_1 fix
6557 tSCC zNewlib_Stdint_1Name[] =
6561 * File name selection pattern
6563 tSCC zNewlib_Stdint_1List[] =
6564 "stdint-newlib.h\0stdint.h\0";
6566 * Machine/OS name selection pattern
6568 #define apzNewlib_Stdint_1Machs (const char**)NULL
6571 * content selection pattern - do fix if pattern found
6573 tSCC zNewlib_Stdint_1Select0[] =
6574 "@todo - Add support for wint_t types";
6576 #define NEWLIB_STDINT_1_TEST_CT 1
6577 static tTestDesc aNewlib_Stdint_1Tests[] = {
6578 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6581 * Fix Command Arguments for Newlib_Stdint_1
6583 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6584 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6585 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6586 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6587 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6588 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6589 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6590 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6591 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6592 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6593 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6594 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6595 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6596 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6597 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6602 * Description of Newlib_Stdint_2 fix
6604 tSCC zNewlib_Stdint_2Name[] =
6608 * File name selection pattern
6610 tSCC zNewlib_Stdint_2List[] =
6611 "stdint-newlib.h\0stdint.h\0";
6613 * Machine/OS name selection pattern
6615 #define apzNewlib_Stdint_2Machs (const char**)NULL
6618 * content selection pattern - do fix if pattern found
6620 tSCC zNewlib_Stdint_2Select0[] =
6621 "@todo - Add support for wint_t types";
6623 #define NEWLIB_STDINT_2_TEST_CT 1
6624 static tTestDesc aNewlib_Stdint_2Tests[] = {
6625 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6628 * Fix Command Arguments for Newlib_Stdint_2
6630 static const char* apzNewlib_Stdint_2Patch[] = {
6632 "#define INTMAX_MAX __INTMAX_MAX__\n\
6633 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6634 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6635 #define WCHAR_MAX __WCHAR_MAX__\n\
6636 #define WCHAR_MIN __WCHAR_MIN__\n\
6637 #define WINT_MAX __WINT_MAX__\n\
6638 #define WINT_MIN __WINT_MIN__\n\n\
6640 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6645 * Description of Next_Math_Prefix fix
6647 tSCC zNext_Math_PrefixName[] =
6651 * File name selection pattern
6653 tSCC zNext_Math_PrefixList[] =
6656 * Machine/OS name selection pattern
6658 #define apzNext_Math_PrefixMachs (const char**)NULL
6661 * content selection pattern - do fix if pattern found
6663 tSCC zNext_Math_PrefixSelect0[] =
6664 "^extern[ \t]+double[ \t]+__const__[ \t]";
6666 #define NEXT_MATH_PREFIX_TEST_CT 1
6667 static tTestDesc aNext_Math_PrefixTests[] = {
6668 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6671 * Fix Command Arguments for Next_Math_Prefix
6673 static const char* apzNext_Math_PrefixPatch[] = {
6675 "extern double %1(",
6676 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6681 * Description of Next_Template fix
6683 tSCC zNext_TemplateName[] =
6687 * File name selection pattern
6689 tSCC zNext_TemplateList[] =
6692 * Machine/OS name selection pattern
6694 #define apzNext_TemplateMachs (const char**)NULL
6697 * content selection pattern - do fix if pattern found
6699 tSCC zNext_TemplateSelect0[] =
6702 #define NEXT_TEMPLATE_TEST_CT 1
6703 static tTestDesc aNext_TemplateTests[] = {
6704 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6707 * Fix Command Arguments for Next_Template
6709 static const char* apzNext_TemplatePatch[] = {
6712 "\\(([^)]*)[ \t]template\\)",
6715 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6717 * Description of Next_Volitile fix
6719 tSCC zNext_VolitileName[] =
6723 * File name selection pattern
6725 tSCC zNext_VolitileList[] =
6728 * Machine/OS name selection pattern
6730 #define apzNext_VolitileMachs (const char**)NULL
6733 * content selection pattern - do fix if pattern found
6735 tSCC zNext_VolitileSelect0[] =
6736 "^extern[ \t]+volatile[ \t]+void[ \t]";
6738 #define NEXT_VOLITILE_TEST_CT 1
6739 static tTestDesc aNext_VolitileTests[] = {
6740 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6743 * Fix Command Arguments for Next_Volitile
6745 static const char* apzNext_VolitilePatch[] = {
6748 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6753 * Description of Next_Wait_Union fix
6755 tSCC zNext_Wait_UnionName[] =
6759 * File name selection pattern
6761 tSCC zNext_Wait_UnionList[] =
6764 * Machine/OS name selection pattern
6766 #define apzNext_Wait_UnionMachs (const char**)NULL
6769 * content selection pattern - do fix if pattern found
6771 tSCC zNext_Wait_UnionSelect0[] =
6772 "wait\\(union wait";
6774 #define NEXT_WAIT_UNION_TEST_CT 1
6775 static tTestDesc aNext_Wait_UnionTests[] = {
6776 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6779 * Fix Command Arguments for Next_Wait_Union
6781 static const char* apzNext_Wait_UnionPatch[] = {
6786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6788 * Description of Nodeent_Syntax fix
6790 tSCC zNodeent_SyntaxName[] =
6794 * File name selection pattern
6796 tSCC zNodeent_SyntaxList[] =
6797 "netdnet/dnetdb.h\0";
6799 * Machine/OS name selection pattern
6801 #define apzNodeent_SyntaxMachs (const char**)NULL
6804 * content selection pattern - do fix if pattern found
6806 tSCC zNodeent_SyntaxSelect0[] =
6807 "char[ \t]*\\*na_addr[ \t]*$";
6809 #define NODEENT_SYNTAX_TEST_CT 1
6810 static tTestDesc aNodeent_SyntaxTests[] = {
6811 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6814 * Fix Command Arguments for Nodeent_Syntax
6816 static const char* apzNodeent_SyntaxPatch[] = {
6821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6823 * Description of Openbsd_Null_Definition fix
6825 tSCC zOpenbsd_Null_DefinitionName[] =
6826 "openbsd_null_definition";
6829 * File name selection pattern
6831 tSCC zOpenbsd_Null_DefinitionList[] =
6832 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6834 * Machine/OS name selection pattern
6836 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6838 (const char*)NULL };
6841 * content selection pattern - do fix if pattern found
6843 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6846 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6847 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6848 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6851 * Fix Command Arguments for Openbsd_Null_Definition
6853 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6856 #ifdef __cplusplus\n\
6858 #define NULL\t__null\n\
6859 #else\t /* ! __GNUG__ */\n\
6861 #endif\t /* __GNUG__ */\n\
6862 #else\t /* ! __cplusplus */\n\
6863 #define NULL\t((void *)0)\n\
6864 #endif\t /* __cplusplus */\n\
6865 #endif\t /* !NULL */",
6866 "^#ifndef[ \t]*NULL\n\
6867 ^#ifdef[ \t]*__GNUG__\n\
6868 ^#define[ \t]*NULL[ \t]*__null\n\
6870 ^#define[ \t]*NULL[ \t]*0L\n\
6875 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6877 * Description of Obstack_Lvalue_Cast fix
6879 tSCC zObstack_Lvalue_CastName[] =
6880 "obstack_lvalue_cast";
6883 * File name selection pattern
6885 tSCC zObstack_Lvalue_CastList[] =
6888 * Machine/OS name selection pattern
6890 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6893 * content selection pattern - do fix if pattern found
6895 tSCC zObstack_Lvalue_CastSelect0[] =
6896 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6898 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6899 static tTestDesc aObstack_Lvalue_CastTests[] = {
6900 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6903 * Fix Command Arguments for Obstack_Lvalue_Cast
6905 static const char* apzObstack_Lvalue_CastPatch[] = {
6907 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6912 * Description of Openbsd_Va_Start fix
6914 tSCC zOpenbsd_Va_StartName[] =
6918 * File name selection pattern
6920 tSCC zOpenbsd_Va_StartList[] =
6923 * Machine/OS name selection pattern
6925 tSCC* apzOpenbsd_Va_StartMachs[] = {
6927 (const char*)NULL };
6930 * content selection pattern - do fix if pattern found
6932 tSCC zOpenbsd_Va_StartSelect0[] =
6933 "__builtin_stdarg_start";
6935 #define OPENBSD_VA_START_TEST_CT 1
6936 static tTestDesc aOpenbsd_Va_StartTests[] = {
6937 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6940 * Fix Command Arguments for Openbsd_Va_Start
6942 static const char* apzOpenbsd_Va_StartPatch[] = {
6944 "__builtin_va_start",
6947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6949 * Description of Osf_Namespace_A fix
6951 tSCC zOsf_Namespace_AName[] =
6955 * File name selection pattern
6957 tSCC zOsf_Namespace_AList[] =
6958 "reg_types.h\0sys/lc_core.h\0";
6960 * Machine/OS name selection pattern
6962 #define apzOsf_Namespace_AMachs (const char**)NULL
6965 * perform the 'test' shell command - do fix on success
6967 tSCC zOsf_Namespace_ATest0[] =
6969 tSCC zOsf_Namespace_ATest1[] =
6970 " -r sys/lc_core.h";
6971 tSCC zOsf_Namespace_ATest2[] =
6972 " -n \"`grep '} regex_t;' reg_types.h`\"";
6973 tSCC zOsf_Namespace_ATest3[] =
6974 " -z \"`grep __regex_t regex.h`\"";
6976 #define OSF_NAMESPACE_A_TEST_CT 4
6977 static tTestDesc aOsf_Namespace_ATests[] = {
6978 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6979 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6980 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6981 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6984 * Fix Command Arguments for Osf_Namespace_A
6986 static const char* apzOsf_Namespace_APatch[] = {
6989 "reg(ex|off|match)_t",
6992 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6994 * Description of Osf_Namespace_C fix
6996 tSCC zOsf_Namespace_CName[] =
7000 * File name selection pattern
7002 tSCC zOsf_Namespace_CList[] =
7005 * Machine/OS name selection pattern
7007 #define apzOsf_Namespace_CMachs (const char**)NULL
7010 * content selection pattern - do fix if pattern found
7012 tSCC zOsf_Namespace_CSelect0[] =
7013 "#include <reg_types.h>.*";
7016 * perform the 'test' shell command - do fix on success
7018 tSCC zOsf_Namespace_CTest0[] =
7020 tSCC zOsf_Namespace_CTest1[] =
7021 " -r sys/lc_core.h";
7022 tSCC zOsf_Namespace_CTest2[] =
7023 " -n \"`grep '} regex_t;' reg_types.h`\"";
7024 tSCC zOsf_Namespace_CTest3[] =
7025 " -z \"`grep __regex_t regex.h`\"";
7027 #define OSF_NAMESPACE_C_TEST_CT 5
7028 static tTestDesc aOsf_Namespace_CTests[] = {
7029 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
7030 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
7031 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
7032 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
7033 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
7036 * Fix Command Arguments for Osf_Namespace_C
7038 static const char* apzOsf_Namespace_CPatch[] = {
7041 typedef __regex_t\tregex_t;\n\
7042 typedef __regoff_t\tregoff_t;\n\
7043 typedef __regmatch_t\tregmatch_t;",
7046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7048 * Description of Pthread_Incomplete_Struct_Argument fix
7050 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7051 "pthread_incomplete_struct_argument";
7054 * File name selection pattern
7056 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7059 * Machine/OS name selection pattern
7061 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7064 * content selection pattern - do fix if pattern found
7066 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7067 "struct __jmp_buf_tag";
7069 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
7070 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7071 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7074 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7076 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7079 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7084 * Description of Read_Ret_Type fix
7086 tSCC zRead_Ret_TypeName[] =
7090 * File name selection pattern
7092 tSCC zRead_Ret_TypeList[] =
7095 * Machine/OS name selection pattern
7097 #define apzRead_Ret_TypeMachs (const char**)NULL
7100 * content selection pattern - do fix if pattern found
7102 tSCC zRead_Ret_TypeSelect0[] =
7103 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7105 #define READ_RET_TYPE_TEST_CT 1
7106 static tTestDesc aRead_Ret_TypeTests[] = {
7107 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7110 * Fix Command Arguments for Read_Ret_Type
7112 static const char* apzRead_Ret_TypePatch[] = {
7114 "extern unsigned int fread(), fwrite();\n\
7116 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7121 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7123 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7124 "rpc_xdr_lvalue_cast_a";
7127 * File name selection pattern
7129 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7132 * Machine/OS name selection pattern
7134 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7137 * content selection pattern - do fix if pattern found
7139 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7140 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7143 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7144 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7145 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7148 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7150 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7152 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7157 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7159 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7160 "rpc_xdr_lvalue_cast_b";
7163 * File name selection pattern
7165 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7168 * Machine/OS name selection pattern
7170 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7173 * content selection pattern - do fix if pattern found
7175 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7176 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7179 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7180 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7181 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7184 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7186 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7188 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7191 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7193 * Description of Rs6000_Double fix
7195 tSCC zRs6000_DoubleName[] =
7199 * File name selection pattern
7201 tSCC zRs6000_DoubleList[] =
7204 * Machine/OS name selection pattern
7206 #define apzRs6000_DoubleMachs (const char**)NULL
7209 * content selection pattern - do fix if pattern found
7211 tSCC zRs6000_DoubleSelect0[] =
7212 "[^a-zA-Z_]class\\(";
7214 #define RS6000_DOUBLE_TEST_CT 1
7215 static tTestDesc aRs6000_DoubleTests[] = {
7216 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7219 * Fix Command Arguments for Rs6000_Double
7221 static const char* apzRs6000_DoublePatch[] = {
7223 "#ifndef __cplusplus\n\
7226 "^.*[^a-zA-Z_]class\\(.*",
7229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7231 * Description of Rs6000_Fchmod fix
7233 tSCC zRs6000_FchmodName[] =
7237 * File name selection pattern
7239 tSCC zRs6000_FchmodList[] =
7242 * Machine/OS name selection pattern
7244 #define apzRs6000_FchmodMachs (const char**)NULL
7247 * content selection pattern - do fix if pattern found
7249 tSCC zRs6000_FchmodSelect0[] =
7250 "fchmod\\(char \\*";
7252 #define RS6000_FCHMOD_TEST_CT 1
7253 static tTestDesc aRs6000_FchmodTests[] = {
7254 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7257 * Fix Command Arguments for Rs6000_Fchmod
7259 static const char* apzRs6000_FchmodPatch[] = {
7264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7266 * Description of Rs6000_Param fix
7268 tSCC zRs6000_ParamName[] =
7272 * File name selection pattern
7274 tSCC zRs6000_ParamList[] =
7275 "stdio.h\0unistd.h\0";
7277 * Machine/OS name selection pattern
7279 #define apzRs6000_ParamMachs (const char**)NULL
7282 * content selection pattern - do fix if pattern found
7284 tSCC zRs6000_ParamSelect0[] =
7285 "rename\\(const char \\*old, const char \\*new\\)";
7287 #define RS6000_PARAM_TEST_CT 1
7288 static tTestDesc aRs6000_ParamTests[] = {
7289 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7292 * Fix Command Arguments for Rs6000_Param
7294 static const char* apzRs6000_ParamPatch[] = {
7296 "rename(const char *_old, const char *_new)",
7299 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7301 * Description of Solaris___Restrict fix
7303 tSCC zSolaris___RestrictName[] =
7304 "solaris___restrict";
7307 * File name selection pattern
7309 tSCC zSolaris___RestrictList[] =
7310 "sys/feature_tests.h\0";
7312 * Machine/OS name selection pattern
7314 tSCC* apzSolaris___RestrictMachs[] = {
7316 (const char*)NULL };
7319 * content selection pattern - do fix if pattern found
7321 tSCC zSolaris___RestrictSelect0[] =
7322 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7324 #define SOLARIS___RESTRICT_TEST_CT 1
7325 static tTestDesc aSolaris___RestrictTests[] = {
7326 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7329 * Fix Command Arguments for Solaris___Restrict
7331 static const char* apzSolaris___RestrictPatch[] = {
7333 "#ifdef __cplusplus\n\
7334 #define\t_RESTRICT_KYWD\t__restrict\n\
7340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7342 * Description of Solaris_Complex fix
7344 tSCC zSolaris_ComplexName[] =
7348 * File name selection pattern
7350 tSCC zSolaris_ComplexList[] =
7353 * Machine/OS name selection pattern
7355 tSCC* apzSolaris_ComplexMachs[] = {
7357 (const char*)NULL };
7360 * content selection pattern - do fix if pattern found
7362 tSCC zSolaris_ComplexSelect0[] =
7363 "#define[ \t]_Complex_I[ \t]_Complex_I";
7365 #define SOLARIS_COMPLEX_TEST_CT 1
7366 static tTestDesc aSolaris_ComplexTests[] = {
7367 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7370 * Fix Command Arguments for Solaris_Complex
7372 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7373 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7374 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7375 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7376 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7381 * Description of Solaris_Complex_Cxx fix
7383 tSCC zSolaris_Complex_CxxName[] =
7384 "solaris_complex_cxx";
7387 * File name selection pattern
7389 tSCC zSolaris_Complex_CxxList[] =
7392 * Machine/OS name selection pattern
7394 tSCC* apzSolaris_Complex_CxxMachs[] = {
7396 (const char*)NULL };
7397 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7398 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7401 * Fix Command Arguments for Solaris_Complex_Cxx
7403 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7404 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7405 #ifdef\t__cplusplus\\\n\
7408 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7409 #ifdef\t__cplusplus\\\n\
7414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7416 * Description of Solaris_Cxx_Linkage fix
7418 tSCC zSolaris_Cxx_LinkageName[] =
7419 "solaris_cxx_linkage";
7422 * File name selection pattern
7424 tSCC zSolaris_Cxx_LinkageList[] =
7425 "iso/stdlib_iso.h\0";
7427 * Machine/OS name selection pattern
7429 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7431 (const char*)NULL };
7434 * content selection pattern - do fix if pattern found
7436 tSCC zSolaris_Cxx_LinkageSelect0[] =
7437 "(#if __cplusplus >= 199711L)\n\
7438 (extern \"C\\+\\+\" \\{\n\
7439 )(.*(bsearch|qsort).*)";
7441 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7442 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7443 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7446 * Fix Command Arguments for Solaris_Cxx_Linkage
7448 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7456 * Description of Solaris_Getc_Strict_Stdc fix
7458 tSCC zSolaris_Getc_Strict_StdcName[] =
7459 "solaris_getc_strict_stdc";
7462 * File name selection pattern
7464 tSCC zSolaris_Getc_Strict_StdcList[] =
7465 "iso/stdio_iso.h\0";
7467 * Machine/OS name selection pattern
7469 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7471 (const char*)NULL };
7474 * content selection pattern - do fix if pattern found
7476 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7477 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7479 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7480 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7481 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7484 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7486 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7488 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7493 * Description of Solaris_Gets_C11 fix
7495 tSCC zSolaris_Gets_C11Name[] =
7499 * File name selection pattern
7501 tSCC zSolaris_Gets_C11List[] =
7502 "iso/stdio_iso.h\0";
7504 * Machine/OS name selection pattern
7506 tSCC* apzSolaris_Gets_C11Machs[] = {
7508 (const char*)NULL };
7511 * content selection pattern - do fix if pattern found
7513 tSCC zSolaris_Gets_C11Select0[] =
7514 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7516 #define SOLARIS_GETS_C11_TEST_CT 1
7517 static tTestDesc aSolaris_Gets_C11Tests[] = {
7518 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7521 * Fix Command Arguments for Solaris_Gets_C11
7523 static const char* apzSolaris_Gets_C11Patch[] = {
7525 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7526 %1 __attribute__((__deprecated__));\n\
7530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7532 * Description of Solaris_Gets_Cxx14 fix
7534 tSCC zSolaris_Gets_Cxx14Name[] =
7535 "solaris_gets_cxx14";
7538 * File name selection pattern
7540 tSCC zSolaris_Gets_Cxx14List[] =
7541 "iso/stdio_iso.h\0";
7543 * Machine/OS name selection pattern
7545 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7547 (const char*)NULL };
7550 * content selection pattern - do fix if pattern found
7552 tSCC zSolaris_Gets_Cxx14Select0[] =
7553 "(#if __STDC_VERSION__ < 201112L)\n\
7554 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7556 #define SOLARIS_GETS_CXX14_TEST_CT 1
7557 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7558 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7561 * Fix Command Arguments for Solaris_Gets_Cxx14
7563 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7565 "%1 && __cplusplus < 201402L\n\
7569 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7571 * Description of Solaris_Int_Const fix
7573 tSCC zSolaris_Int_ConstName[] =
7574 "solaris_int_const";
7577 * File name selection pattern
7579 tSCC zSolaris_Int_ConstList[] =
7580 "sys/int_const.h\0";
7582 * Machine/OS name selection pattern
7584 tSCC* apzSolaris_Int_ConstMachs[] = {
7586 (const char*)NULL };
7589 * content selection pattern - do fix if pattern found
7591 tSCC zSolaris_Int_ConstSelect0[] =
7592 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7594 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7596 #define SOLARIS_INT_CONST_TEST_CT 1
7597 static tTestDesc aSolaris_Int_ConstTests[] = {
7598 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7601 * Fix Command Arguments for Solaris_Int_Const
7603 static const char* apzSolaris_Int_ConstPatch[] = {
7605 "#define\tUINT8_C(c)\t(c)\n\
7607 #define\tUINT16_C(c)\t(c)",
7610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7612 * Description of Solaris_Int_Limits_1 fix
7614 tSCC zSolaris_Int_Limits_1Name[] =
7615 "solaris_int_limits_1";
7618 * File name selection pattern
7620 tSCC zSolaris_Int_Limits_1List[] =
7621 "sys/int_limits.h\0";
7623 * Machine/OS name selection pattern
7625 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7627 (const char*)NULL };
7630 * content selection pattern - do fix if pattern found
7632 tSCC zSolaris_Int_Limits_1Select0[] =
7633 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7634 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7636 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7637 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7638 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7641 * Fix Command Arguments for Solaris_Int_Limits_1
7643 static const char* apzSolaris_Int_Limits_1Patch[] = {
7645 "#define\tUINT8_MAX\t(255)\n\
7646 #define\tUINT16_MAX\t(65535)",
7649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7651 * Description of Solaris_Int_Limits_2 fix
7653 tSCC zSolaris_Int_Limits_2Name[] =
7654 "solaris_int_limits_2";
7657 * File name selection pattern
7659 tSCC zSolaris_Int_Limits_2List[] =
7660 "sys/int_limits.h\0";
7662 * Machine/OS name selection pattern
7664 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7666 (const char*)NULL };
7669 * content selection pattern - do fix if pattern found
7671 tSCC zSolaris_Int_Limits_2Select0[] =
7672 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7674 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7675 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7676 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7679 * Fix Command Arguments for Solaris_Int_Limits_2
7681 static const char* apzSolaris_Int_Limits_2Patch[] = {
7683 "#define\t%1_FAST16_%2 %132_%2",
7686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7688 * Description of Solaris_Int_Limits_3 fix
7690 tSCC zSolaris_Int_Limits_3Name[] =
7691 "solaris_int_limits_3";
7694 * File name selection pattern
7696 tSCC zSolaris_Int_Limits_3List[] =
7697 "sys/int_limits.h\0";
7699 * Machine/OS name selection pattern
7701 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7703 (const char*)NULL };
7706 * content selection pattern - do fix if pattern found
7708 tSCC zSolaris_Int_Limits_3Select0[] =
7709 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7711 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7712 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7713 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7716 * Fix Command Arguments for Solaris_Int_Limits_3
7718 static const char* apzSolaris_Int_Limits_3Patch[] = {
7720 "#define\tSIZE_MAX\t4294967295U",
7723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7725 * Description of Solaris_Math_1 fix
7727 tSCC zSolaris_Math_1Name[] =
7731 * File name selection pattern
7733 tSCC zSolaris_Math_1List[] =
7736 * Machine/OS name selection pattern
7738 #define apzSolaris_Math_1Machs (const char**)NULL
7741 * content selection pattern - do fix if pattern found
7743 tSCC zSolaris_Math_1Select0[] =
7744 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7747 * content bypass pattern - skip fix if pattern found
7749 tSCC zSolaris_Math_1Bypass0[] =
7752 #define SOLARIS_MATH_1_TEST_CT 2
7753 static tTestDesc aSolaris_Math_1Tests[] = {
7754 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7755 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7758 * Fix Command Arguments for Solaris_Math_1
7760 static const char* apzSolaris_Math_1Patch[] = {
7762 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7763 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7768 * Description of Solaris_Math_10 fix
7770 tSCC zSolaris_Math_10Name[] =
7774 * File name selection pattern
7776 tSCC zSolaris_Math_10List[] =
7779 * Machine/OS name selection pattern
7781 #define apzSolaris_Math_10Machs (const char**)NULL
7784 * content selection pattern - do fix if pattern found
7786 tSCC zSolaris_Math_10Select0[] =
7787 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7789 #define SOLARIS_MATH_10_TEST_CT 1
7790 static tTestDesc aSolaris_Math_10Tests[] = {
7791 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7794 * Fix Command Arguments for Solaris_Math_10
7796 static const char* apzSolaris_Math_10Patch[] = {
7798 "#define\tisinf(x) __builtin_isinf(x)",
7799 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7800 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7801 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7802 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7807 * Description of Solaris_Math_2 fix
7809 tSCC zSolaris_Math_2Name[] =
7813 * File name selection pattern
7815 tSCC zSolaris_Math_2List[] =
7818 * Machine/OS name selection pattern
7820 #define apzSolaris_Math_2Machs (const char**)NULL
7823 * content selection pattern - do fix if pattern found
7825 tSCC zSolaris_Math_2Select0[] =
7826 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7829 * content bypass pattern - skip fix if pattern found
7831 tSCC zSolaris_Math_2Bypass0[] =
7834 #define SOLARIS_MATH_2_TEST_CT 2
7835 static tTestDesc aSolaris_Math_2Tests[] = {
7836 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7837 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7840 * Fix Command Arguments for Solaris_Math_2
7842 static const char* apzSolaris_Math_2Patch[] = {
7844 "#define\tINFINITY\t(__builtin_inff())",
7845 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7850 * Description of Solaris_Math_3 fix
7852 tSCC zSolaris_Math_3Name[] =
7856 * File name selection pattern
7858 tSCC zSolaris_Math_3List[] =
7861 * Machine/OS name selection pattern
7863 #define apzSolaris_Math_3Machs (const char**)NULL
7866 * content selection pattern - do fix if pattern found
7868 tSCC zSolaris_Math_3Select0[] =
7869 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7872 * content bypass pattern - skip fix if pattern found
7874 tSCC zSolaris_Math_3Bypass0[] =
7877 #define SOLARIS_MATH_3_TEST_CT 2
7878 static tTestDesc aSolaris_Math_3Tests[] = {
7879 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7880 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7883 * Fix Command Arguments for Solaris_Math_3
7885 static const char* apzSolaris_Math_3Patch[] = {
7887 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7888 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7893 * Description of Solaris_Math_4 fix
7895 tSCC zSolaris_Math_4Name[] =
7899 * File name selection pattern
7901 tSCC zSolaris_Math_4List[] =
7904 * Machine/OS name selection pattern
7906 #define apzSolaris_Math_4Machs (const char**)NULL
7909 * content selection pattern - do fix if pattern found
7911 tSCC zSolaris_Math_4Select0[] =
7912 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7915 * content bypass pattern - skip fix if pattern found
7917 tSCC zSolaris_Math_4Bypass0[] =
7920 #define SOLARIS_MATH_4_TEST_CT 2
7921 static tTestDesc aSolaris_Math_4Tests[] = {
7922 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7923 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7926 * Fix Command Arguments for Solaris_Math_4
7928 static const char* apzSolaris_Math_4Patch[] = {
7930 "#define\tfpclassify(x) \\\n\
7931 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7932 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7937 * Description of Solaris_Math_8 fix
7939 tSCC zSolaris_Math_8Name[] =
7943 * File name selection pattern
7945 tSCC zSolaris_Math_8List[] =
7948 * Machine/OS name selection pattern
7950 #define apzSolaris_Math_8Machs (const char**)NULL
7953 * content selection pattern - do fix if pattern found
7955 tSCC zSolaris_Math_8Select0[] =
7956 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7959 * content bypass pattern - skip fix if pattern found
7961 tSCC zSolaris_Math_8Bypass0[] =
7964 #define SOLARIS_MATH_8_TEST_CT 2
7965 static tTestDesc aSolaris_Math_8Tests[] = {
7966 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7967 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7970 * Fix Command Arguments for Solaris_Math_8
7972 static const char* apzSolaris_Math_8Patch[] = {
7974 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7975 \t\t\t ? __builtin_signbitf(x) \\\n\
7976 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7977 \t\t\t ? __builtin_signbitl(x) \\\n\
7978 \t\t\t : __builtin_signbit(x))",
7979 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7984 * Description of Solaris_Math_9 fix
7986 tSCC zSolaris_Math_9Name[] =
7990 * File name selection pattern
7992 tSCC zSolaris_Math_9List[] =
7995 * Machine/OS name selection pattern
7997 #define apzSolaris_Math_9Machs (const char**)NULL
8000 * content selection pattern - do fix if pattern found
8002 tSCC zSolaris_Math_9Select0[] =
8003 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8006 * content bypass pattern - skip fix if pattern found
8008 tSCC zSolaris_Math_9Bypass0[] =
8011 #define SOLARIS_MATH_9_TEST_CT 2
8012 static tTestDesc aSolaris_Math_9Tests[] = {
8013 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
8014 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
8017 * Fix Command Arguments for Solaris_Math_9
8019 static const char* apzSolaris_Math_9Patch[] = {
8021 "#define\t%1(x, y)%2__builtin_%1(x, y)",
8022 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
8025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8027 * Description of Solaris_Math_11 fix
8029 tSCC zSolaris_Math_11Name[] =
8033 * File name selection pattern
8035 tSCC zSolaris_Math_11List[] =
8038 * Machine/OS name selection pattern
8040 #define apzSolaris_Math_11Machs (const char**)NULL
8043 * content selection pattern - do fix if pattern found
8045 tSCC zSolaris_Math_11Select0[] =
8046 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8048 #define SOLARIS_MATH_11_TEST_CT 1
8049 static tTestDesc aSolaris_Math_11Tests[] = {
8050 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
8053 * Fix Command Arguments for Solaris_Math_11
8055 static const char* apzSolaris_Math_11Patch[] = {
8058 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8059 \t\t\t ? __builtin_signbitf(x) \\\n\
8060 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8061 \t\t\t ? __builtin_signbitl(x) \\\n\
8062 \t\t\t : __builtin_signbit(x))",
8063 "^#undef[ \t]+signbit\n\
8064 #if defined\\(__sparc\\)\n\
8065 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8066 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8067 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8068 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8069 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8070 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8071 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8072 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8073 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8074 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8075 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8079 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8081 * Description of Solaris_Math_12 fix
8083 tSCC zSolaris_Math_12Name[] =
8087 * File name selection pattern
8089 tSCC zSolaris_Math_12List[] =
8092 * Machine/OS name selection pattern
8094 tSCC* apzSolaris_Math_12Machs[] = {
8096 (const char*)NULL };
8099 * content selection pattern - do fix if pattern found
8101 tSCC zSolaris_Math_12Select0[] =
8102 "#undef.*_GLIBCXX_USE_C99_MATH";
8104 #define SOLARIS_MATH_12_TEST_CT 1
8105 static tTestDesc aSolaris_Math_12Tests[] = {
8106 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
8109 * Fix Command Arguments for Solaris_Math_12
8111 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8112 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8117 * Description of Solaris_Once_Init_1 fix
8119 tSCC zSolaris_Once_Init_1Name[] =
8120 "solaris_once_init_1";
8123 * File name selection pattern
8125 tSCC zSolaris_Once_Init_1List[] =
8128 * Machine/OS name selection pattern
8130 tSCC* apzSolaris_Once_Init_1Machs[] = {
8132 (const char*)NULL };
8135 * content selection pattern - do fix if pattern found
8137 tSCC zSolaris_Once_Init_1Select0[] =
8138 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8140 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
8141 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8142 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8145 * Fix Command Arguments for Solaris_Once_Init_1
8147 static const char* apzSolaris_Once_Init_1Patch[] = {
8150 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8155 * Description of Solaris_Posix_Spawn_Restrict fix
8157 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8158 "solaris_posix_spawn_restrict";
8161 * File name selection pattern
8163 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8166 * Machine/OS name selection pattern
8168 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8170 (const char*)NULL };
8173 * content selection pattern - do fix if pattern found
8175 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8176 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8178 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8179 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8180 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8183 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8185 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8187 "%1*_RESTRICT_KYWD %2%3",
8190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8192 * Description of Solaris_Pow_Int_Overload fix
8194 tSCC zSolaris_Pow_Int_OverloadName[] =
8195 "solaris_pow_int_overload";
8198 * File name selection pattern
8200 tSCC zSolaris_Pow_Int_OverloadList[] =
8203 * Machine/OS name selection pattern
8205 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8207 (const char*)NULL };
8210 * content selection pattern - do fix if pattern found
8212 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8213 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8216 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8217 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8218 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8221 * Fix Command Arguments for Solaris_Pow_Int_Overload
8223 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8225 "#if __cplusplus < 201103L\n\
8230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8232 * Description of Solaris_Rwlock_Init_1 fix
8234 tSCC zSolaris_Rwlock_Init_1Name[] =
8235 "solaris_rwlock_init_1";
8238 * File name selection pattern
8240 tSCC zSolaris_Rwlock_Init_1List[] =
8243 * Machine/OS name selection pattern
8245 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8247 (const char*)NULL };
8250 * content selection pattern - do fix if pattern found
8252 tSCC zSolaris_Rwlock_Init_1Select0[] =
8253 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8255 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8256 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8257 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8260 * Fix Command Arguments for Solaris_Rwlock_Init_1
8262 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8264 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8267 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8269 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8274 * Description of Solaris_Std___Filbuf fix
8276 tSCC zSolaris_Std___FilbufName[] =
8277 "solaris_std___filbuf";
8280 * File name selection pattern
8282 tSCC zSolaris_Std___FilbufList[] =
8285 * Machine/OS name selection pattern
8287 tSCC* apzSolaris_Std___FilbufMachs[] = {
8289 (const char*)NULL };
8292 * content selection pattern - do fix if pattern found
8294 tSCC zSolaris_Std___FilbufSelect0[] =
8295 "(using std::perror;\n\
8299 * content bypass pattern - skip fix if pattern found
8301 tSCC zSolaris_Std___FilbufBypass0[] =
8302 "using std::__filbuf";
8304 #define SOLARIS_STD___FILBUF_TEST_CT 2
8305 static tTestDesc aSolaris_Std___FilbufTests[] = {
8306 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8307 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8310 * Fix Command Arguments for Solaris_Std___Filbuf
8312 static const char* apzSolaris_Std___FilbufPatch[] = {
8315 using std::__filbuf;\n\
8316 using std::__flsbuf;\n\
8321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8323 * Description of Solaris_Std_Gets_Cxx14 fix
8325 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8326 "solaris_std_gets_cxx14";
8329 * File name selection pattern
8331 tSCC zSolaris_Std_Gets_Cxx14List[] =
8334 * Machine/OS name selection pattern
8336 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8338 (const char*)NULL };
8341 * content selection pattern - do fix if pattern found
8343 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8346 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8347 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8348 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8351 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8353 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8355 "#if __cplusplus < 201402L\n\
8360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8362 * Description of Solaris_Stdio_Tag fix
8364 tSCC zSolaris_Stdio_TagName[] =
8365 "solaris_stdio_tag";
8368 * File name selection pattern
8370 tSCC zSolaris_Stdio_TagList[] =
8373 * Machine/OS name selection pattern
8375 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8378 * content selection pattern - do fix if pattern found
8380 tSCC zSolaris_Stdio_TagSelect0[] =
8381 "__cplusplus < 54321L";
8384 * content bypass pattern - skip fix if pattern found
8386 tSCC zSolaris_Stdio_TagBypass0[] =
8389 #define SOLARIS_STDIO_TAG_TEST_CT 2
8390 static tTestDesc aSolaris_Stdio_TagTests[] = {
8391 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8392 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8395 * Fix Command Arguments for Solaris_Stdio_Tag
8397 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8398 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8403 * Description of Solaris_Stdlib_Noreturn fix
8405 tSCC zSolaris_Stdlib_NoreturnName[] =
8406 "solaris_stdlib_noreturn";
8409 * File name selection pattern
8411 tSCC zSolaris_Stdlib_NoreturnList[] =
8412 "iso/stdlib_c99.h\0";
8414 * Machine/OS name selection pattern
8416 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8418 (const char*)NULL };
8421 * content selection pattern - do fix if pattern found
8423 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8424 "(extern) _Noreturn (void quick_exit\\(int\\));";
8426 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8427 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8428 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8431 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8433 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8435 "%1 %2 __attribute__((__noreturn__));",
8438 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8440 * Description of Statsswtch fix
8442 tSCC zStatsswtchName[] =
8446 * File name selection pattern
8448 tSCC zStatsswtchList[] =
8451 * Machine/OS name selection pattern
8453 #define apzStatsswtchMachs (const char**)NULL
8456 * content selection pattern - do fix if pattern found
8458 tSCC zStatsswtchSelect0[] =
8461 #define STATSSWTCH_TEST_CT 1
8462 static tTestDesc aStatsswtchTests[] = {
8463 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8466 * Fix Command Arguments for Statsswtch
8468 static const char* apzStatsswtchPatch[] = {
8473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8475 * Description of Stdio_Stdarg_H fix
8477 tSCC zStdio_Stdarg_HName[] =
8481 * File name selection pattern
8483 tSCC zStdio_Stdarg_HList[] =
8486 * Machine/OS name selection pattern
8488 tSCC* apzStdio_Stdarg_HMachs[] = {
8489 "*-*-solaris2.1[0-9]*",
8490 (const char*)NULL };
8493 * content bypass pattern - skip fix if pattern found
8495 tSCC zStdio_Stdarg_HBypass0[] =
8496 "include.*(stdarg.h|machine/ansi.h)";
8498 #define STDIO_STDARG_H_TEST_CT 1
8499 static tTestDesc aStdio_Stdarg_HTests[] = {
8500 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8503 * Fix Command Arguments for Stdio_Stdarg_H
8505 static const char* apzStdio_Stdarg_HPatch[] = {
8507 "#define __need___va_list\n\
8508 #include <stdarg.h>\n",
8511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8513 * Description of Stdio_Va_List fix
8515 tSCC zStdio_Va_ListName[] =
8519 * File name selection pattern
8521 tSCC zStdio_Va_ListList[] =
8524 * Machine/OS name selection pattern
8526 tSCC* apzStdio_Va_ListMachs[] = {
8527 "*-*-solaris2.1[0-9]*",
8528 (const char*)NULL };
8531 * content bypass pattern - skip fix if pattern found
8533 tSCC zStdio_Va_ListBypass0[] =
8534 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8536 #define STDIO_VA_LIST_TEST_CT 1
8537 static tTestDesc aStdio_Va_ListTests[] = {
8538 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8541 * Fix Command Arguments for Stdio_Va_List
8543 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8544 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8545 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8546 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8547 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8548 s@ va_list@ __not_va_list__@\n\
8549 s@\\*va_list@*__not_va_list__@\n\
8550 s@ __va_list)@ __gnuc_va_list)@\n\
8551 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8552 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8553 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8554 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8555 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8556 s@VA_LIST@DUMMY_VA_LIST@\n\
8557 s@_Va_LIST@_VA_LIST@",
8560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8562 * Description of Stdio_Va_List_Clients fix
8564 tSCC zStdio_Va_List_ClientsName[] =
8565 "stdio_va_list_clients";
8568 * File name selection pattern
8570 tSCC zStdio_Va_List_ClientsList[] =
8571 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8573 * Machine/OS name selection pattern
8575 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8578 * content bypass pattern - skip fix if pattern found
8580 tSCC zStdio_Va_List_ClientsBypass0[] =
8581 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8582 tSCC zStdio_Va_List_ClientsBypass1[] =
8583 "include <stdarg\\.h>|#ifdef va_start";
8585 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8586 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8587 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8588 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8591 * Fix Command Arguments for Stdio_Va_List_Clients
8593 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8594 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8595 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8596 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8597 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8598 s@ va_list@ __not_va_list__@\n\
8599 s@\\*va_list@*__not_va_list__@\n\
8600 s@ __va_list)@ __gnuc_va_list)@\n\
8601 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8602 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8603 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8604 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8605 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8606 s@VA_LIST@DUMMY_VA_LIST@\n\
8607 s@_Va_LIST@_VA_LIST@",
8610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8612 * Description of Strict_Ansi_Not fix
8614 tSCC zStrict_Ansi_NotName[] =
8618 * File name selection pattern
8620 #define zStrict_Ansi_NotList (char*)NULL
8622 * Machine/OS name selection pattern
8624 #define apzStrict_Ansi_NotMachs (const char**)NULL
8627 * content selection pattern - do fix if pattern found
8629 tSCC zStrict_Ansi_NotSelect0[] =
8630 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8633 * content bypass pattern - skip fix if pattern found
8635 tSCC zStrict_Ansi_NotBypass0[] =
8636 "GNU and MIPS C compilers define __STDC__ differently";
8637 tSCC zStrict_Ansi_NotBypass1[] =
8638 "__SCO_VERSION__.*__STDC__ != 1";
8641 * perform the C function call test
8643 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8645 #define STRICT_ANSI_NOT_TEST_CT 4
8646 static tTestDesc aStrict_Ansi_NotTests[] = {
8647 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8648 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8649 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8650 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8653 * Fix Command Arguments for Strict_Ansi_Not
8655 static const char* apzStrict_Ansi_NotPatch[] = {
8657 "%1 !defined(__STRICT_ANSI__)",
8660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8662 * Description of Strict_Ansi_Not_Ctd fix
8664 tSCC zStrict_Ansi_Not_CtdName[] =
8665 "strict_ansi_not_ctd";
8668 * File name selection pattern
8670 tSCC zStrict_Ansi_Not_CtdList[] =
8671 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8673 * Machine/OS name selection pattern
8675 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8678 * content selection pattern - do fix if pattern found
8680 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8681 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8684 * perform the C function call test
8686 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8688 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8689 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8690 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8691 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8694 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8696 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8698 "%1 !defined(__STRICT_ANSI__)",
8701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8703 * Description of Strict_Ansi_Only fix
8705 tSCC zStrict_Ansi_OnlyName[] =
8709 * File name selection pattern
8711 #define zStrict_Ansi_OnlyList (char*)NULL
8713 * Machine/OS name selection pattern
8715 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8718 * content selection pattern - do fix if pattern found
8720 tSCC zStrict_Ansi_OnlySelect0[] =
8721 "^([ \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)";
8724 * perform the C function call test
8726 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8728 #define STRICT_ANSI_ONLY_TEST_CT 2
8729 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8730 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8731 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8734 * Fix Command Arguments for Strict_Ansi_Only
8736 static const char* apzStrict_Ansi_OnlyPatch[] = {
8738 "%1 defined(__STRICT_ANSI__)",
8741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8743 * Description of Struct_File fix
8745 tSCC zStruct_FileName[] =
8749 * File name selection pattern
8751 tSCC zStruct_FileList[] =
8754 * Machine/OS name selection pattern
8756 #define apzStruct_FileMachs (const char**)NULL
8759 * content selection pattern - do fix if pattern found
8761 tSCC zStruct_FileSelect0[] =
8762 "^.*xdrstdio_create.*struct __file_s";
8764 #define STRUCT_FILE_TEST_CT 1
8765 static tTestDesc aStruct_FileTests[] = {
8766 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8769 * Fix Command Arguments for Struct_File
8771 static const char* apzStruct_FilePatch[] = {
8773 "struct __file_s;\n\
8777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8779 * Description of Struct_Sockaddr fix
8781 tSCC zStruct_SockaddrName[] =
8785 * File name selection pattern
8787 tSCC zStruct_SockaddrList[] =
8790 * Machine/OS name selection pattern
8792 #define apzStruct_SockaddrMachs (const char**)NULL
8795 * content selection pattern - do fix if pattern found
8797 tSCC zStruct_SockaddrSelect0[] =
8798 "^.*authdes_create.*struct sockaddr[^_]";
8801 * content bypass pattern - skip fix if pattern found
8803 tSCC zStruct_SockaddrBypass0[] =
8805 tSCC zStruct_SockaddrBypass1[] =
8806 "struct sockaddr;\n";
8808 #define STRUCT_SOCKADDR_TEST_CT 3
8809 static tTestDesc aStruct_SockaddrTests[] = {
8810 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8811 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8812 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8815 * Fix Command Arguments for Struct_Sockaddr
8817 static const char* apzStruct_SockaddrPatch[] = {
8819 "struct sockaddr;\n\
8823 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8825 * Description of Sun_Auth_Proto fix
8827 tSCC zSun_Auth_ProtoName[] =
8831 * File name selection pattern
8833 tSCC zSun_Auth_ProtoList[] =
8834 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8836 * Machine/OS name selection pattern
8838 #define apzSun_Auth_ProtoMachs (const char**)NULL
8841 * content selection pattern - do fix if pattern found
8843 tSCC zSun_Auth_ProtoSelect0[] =
8844 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8847 * content bypass pattern - skip fix if pattern found
8849 tSCC zSun_Auth_ProtoBypass0[] =
8852 #define SUN_AUTH_PROTO_TEST_CT 2
8853 static tTestDesc aSun_Auth_ProtoTests[] = {
8854 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8855 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8858 * Fix Command Arguments for Sun_Auth_Proto
8860 static const char* apzSun_Auth_ProtoPatch[] = {
8862 "#ifdef __cplusplus\n\
8867 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8872 * Description of Sun_Bogus_Ifdef fix
8874 tSCC zSun_Bogus_IfdefName[] =
8878 * File name selection pattern
8880 tSCC zSun_Bogus_IfdefList[] =
8881 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8883 * Machine/OS name selection pattern
8885 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8888 * content selection pattern - do fix if pattern found
8890 tSCC zSun_Bogus_IfdefSelect0[] =
8891 "#ifdef(.*\\|\\|.*)";
8893 #define SUN_BOGUS_IFDEF_TEST_CT 1
8894 static tTestDesc aSun_Bogus_IfdefTests[] = {
8895 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8898 * Fix Command Arguments for Sun_Bogus_Ifdef
8900 static const char* apzSun_Bogus_IfdefPatch[] = {
8905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8907 * Description of Sun_Catmacro fix
8909 tSCC zSun_CatmacroName[] =
8913 * File name selection pattern
8915 tSCC zSun_CatmacroList[] =
8916 "pixrect/memvar.h\0";
8918 * Machine/OS name selection pattern
8920 #define apzSun_CatmacroMachs (const char**)NULL
8923 * content selection pattern - do fix if pattern found
8925 tSCC zSun_CatmacroSelect0[] =
8926 "^#define[ \t]+CAT\\(a,b\\).*";
8928 #define SUN_CATMACRO_TEST_CT 1
8929 static tTestDesc aSun_CatmacroTests[] = {
8930 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8933 * Fix Command Arguments for Sun_Catmacro
8935 static const char* apzSun_CatmacroPatch[] = {
8938 # define CAT(a,b) a##b\n\
8944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8946 * Description of Sun_Malloc fix
8948 tSCC zSun_MallocName[] =
8952 * File name selection pattern
8954 tSCC zSun_MallocList[] =
8957 * Machine/OS name selection pattern
8959 #define apzSun_MallocMachs (const char**)NULL
8962 * content bypass pattern - skip fix if pattern found
8964 tSCC zSun_MallocBypass0[] =
8965 "_CLASSIC_ANSI_TYPES";
8967 #define SUN_MALLOC_TEST_CT 1
8968 static tTestDesc aSun_MallocTests[] = {
8969 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8972 * Fix Command Arguments for Sun_Malloc
8974 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8975 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8976 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8977 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8978 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8979 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8984 * Description of Sun_Rusers_Semi fix
8986 tSCC zSun_Rusers_SemiName[] =
8990 * File name selection pattern
8992 tSCC zSun_Rusers_SemiList[] =
8993 "rpcsvc/rusers.h\0";
8995 * Machine/OS name selection pattern
8997 #define apzSun_Rusers_SemiMachs (const char**)NULL
9000 * content selection pattern - do fix if pattern found
9002 tSCC zSun_Rusers_SemiSelect0[] =
9005 #define SUN_RUSERS_SEMI_TEST_CT 1
9006 static tTestDesc aSun_Rusers_SemiTests[] = {
9007 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
9010 * Fix Command Arguments for Sun_Rusers_Semi
9012 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
9013 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
9016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9018 * Description of Sun_Signal fix
9020 tSCC zSun_SignalName[] =
9024 * File name selection pattern
9026 tSCC zSun_SignalList[] =
9027 "sys/signal.h\0signal.h\0";
9029 * Machine/OS name selection pattern
9031 #define apzSun_SignalMachs (const char**)NULL
9034 * content selection pattern - do fix if pattern found
9036 tSCC zSun_SignalSelect0[] =
9037 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
9039 #define SUN_SIGNAL_TEST_CT 1
9040 static tTestDesc aSun_SignalTests[] = {
9041 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
9044 * Fix Command Arguments for Sun_Signal
9046 static const char* apzSun_SignalPatch[] = {
9048 "#ifdef __cplusplus\n\
9049 void\t(*signal(...))(...);\n\
9055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9057 * Description of Sunos_Strlen fix
9059 tSCC zSunos_StrlenName[] =
9063 * File name selection pattern
9065 tSCC zSunos_StrlenList[] =
9068 * Machine/OS name selection pattern
9070 #define apzSunos_StrlenMachs (const char**)NULL
9073 * content selection pattern - do fix if pattern found
9075 tSCC zSunos_StrlenSelect0[] =
9076 "int[ \t]*strlen\\(\\);(.*)";
9078 #define SUNOS_STRLEN_TEST_CT 1
9079 static tTestDesc aSunos_StrlenTests[] = {
9080 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
9083 * Fix Command Arguments for Sunos_Strlen
9085 static const char* apzSunos_StrlenPatch[] = {
9087 "__SIZE_TYPE__ strlen();%1",
9090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9092 * Description of Suse_Linux_Vt_Cxx fix
9094 tSCC zSuse_Linux_Vt_CxxName[] =
9095 "suse_linux_vt_cxx";
9098 * File name selection pattern
9100 tSCC zSuse_Linux_Vt_CxxList[] =
9103 * Machine/OS name selection pattern
9105 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9108 * content selection pattern - do fix if pattern found
9110 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9111 "^[ \t]*unsigned int new;";
9113 #define SUSE_LINUX_VT_CXX_TEST_CT 1
9114 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9115 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9118 * Fix Command Arguments for Suse_Linux_Vt_Cxx
9120 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9122 "unsigned int newev;",
9125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9127 * Description of Svr4_Disable_Opt fix
9129 tSCC zSvr4_Disable_OptName[] =
9133 * File name selection pattern
9135 tSCC zSvr4_Disable_OptList[] =
9138 * Machine/OS name selection pattern
9140 #define apzSvr4_Disable_OptMachs (const char**)NULL
9143 * content selection pattern - do fix if pattern found
9145 tSCC zSvr4_Disable_OptSelect0[] =
9146 "#define.*__std_hdr_";
9148 #define SVR4_DISABLE_OPT_TEST_CT 1
9149 static tTestDesc aSvr4_Disable_OptTests[] = {
9150 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9153 * Fix Command Arguments for Svr4_Disable_Opt
9155 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9156 "-e", "/#define.*__std_hdr_/d",
9159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9161 * Description of Svr4_Getcwd fix
9163 tSCC zSvr4_GetcwdName[] =
9167 * File name selection pattern
9169 tSCC zSvr4_GetcwdList[] =
9170 "stdlib.h\0unistd.h\0prototypes.h\0";
9172 * Machine/OS name selection pattern
9174 #define apzSvr4_GetcwdMachs (const char**)NULL
9177 * content selection pattern - do fix if pattern found
9179 tSCC zSvr4_GetcwdSelect0[] =
9180 "getcwd\\(char \\*, int\\)";
9182 #define SVR4_GETCWD_TEST_CT 1
9183 static tTestDesc aSvr4_GetcwdTests[] = {
9184 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9187 * Fix Command Arguments for Svr4_Getcwd
9189 static const char* apzSvr4_GetcwdPatch[] = {
9191 "getcwd(char *, size_t)",
9194 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9196 * Description of Svr4_Profil fix
9198 tSCC zSvr4_ProfilName[] =
9202 * File name selection pattern
9204 tSCC zSvr4_ProfilList[] =
9205 "stdlib.h\0unistd.h\0";
9207 * Machine/OS name selection pattern
9209 #define apzSvr4_ProfilMachs (const char**)NULL
9212 * content selection pattern - do fix if pattern found
9214 tSCC zSvr4_ProfilSelect0[] =
9215 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9217 #define SVR4_PROFIL_TEST_CT 1
9218 static tTestDesc aSvr4_ProfilTests[] = {
9219 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9222 * Fix Command Arguments for Svr4_Profil
9224 static const char* apzSvr4_ProfilPatch[] = {
9226 "profil(unsigned short *, size_t, int, unsigned int)",
9229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9231 * Description of Svr4_Sighandler_Type fix
9233 tSCC zSvr4_Sighandler_TypeName[] =
9234 "svr4_sighandler_type";
9237 * File name selection pattern
9239 tSCC zSvr4_Sighandler_TypeList[] =
9242 * Machine/OS name selection pattern
9244 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9247 * content selection pattern - do fix if pattern found
9249 tSCC zSvr4_Sighandler_TypeSelect0[] =
9250 "void *\\(\\*\\)\\(\\)";
9252 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9253 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9254 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9257 * Fix Command Arguments for Svr4_Sighandler_Type
9259 static const char* apzSvr4_Sighandler_TypePatch[] = {
9264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9266 * Description of Svr4_Undeclared_Getrnge fix
9268 tSCC zSvr4_Undeclared_GetrngeName[] =
9269 "svr4_undeclared_getrnge";
9272 * File name selection pattern
9274 tSCC zSvr4_Undeclared_GetrngeList[] =
9277 * Machine/OS name selection pattern
9279 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9282 * content selection pattern - do fix if pattern found
9284 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9288 * content bypass pattern - skip fix if pattern found
9290 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9291 "static void getrnge";
9293 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9294 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9295 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9296 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9299 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9301 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9304 static int getrnge ();",
9305 "^static int[ \t]+size;",
9308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9310 * Description of Sysv68_String fix
9312 tSCC zSysv68_StringName[] =
9316 * File name selection pattern
9318 tSCC zSysv68_StringList[] =
9319 "testing.h\0string.h\0";
9321 * Machine/OS name selection pattern
9323 #define apzSysv68_StringMachs (const char**)NULL
9326 * content bypass pattern - skip fix if pattern found
9328 tSCC zSysv68_StringBypass0[] =
9329 "_CLASSIC_ANSI_TYPES";
9331 #define SYSV68_STRING_TEST_CT 1
9332 static tTestDesc aSysv68_StringTests[] = {
9333 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9336 * Fix Command Arguments for Sysv68_String
9338 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9339 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9340 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9341 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9342 "-e", "/^extern char$/N",
9343 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9344 "-e", "/^extern int$/N",
9345 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9346 "-e", "/^\tstrncmp(),$/N",
9347 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9348 extern unsigned int\\\n\
9352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9354 * Description of Sysz_Stdlib_For_Sun fix
9356 tSCC zSysz_Stdlib_For_SunName[] =
9357 "sysz_stdlib_for_sun";
9360 * File name selection pattern
9362 tSCC zSysz_Stdlib_For_SunList[] =
9365 * Machine/OS name selection pattern
9367 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9370 * content selection pattern - do fix if pattern found
9372 tSCC zSysz_Stdlib_For_SunSelect0[] =
9373 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9376 * content bypass pattern - skip fix if pattern found
9378 tSCC zSysz_Stdlib_For_SunBypass0[] =
9379 "_CLASSIC_ANSI_TYPES";
9381 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9382 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9383 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9384 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9387 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9389 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9396 * Description of Thread_Keyword fix
9398 tSCC zThread_KeywordName[] =
9402 * File name selection pattern
9404 tSCC zThread_KeywordList[] =
9405 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9407 * Machine/OS name selection pattern
9409 #define apzThread_KeywordMachs (const char**)NULL
9412 * content selection pattern - do fix if pattern found
9414 tSCC zThread_KeywordSelect0[] =
9415 "([* ])__thread([,)])";
9417 #define THREAD_KEYWORD_TEST_CT 1
9418 static tTestDesc aThread_KeywordTests[] = {
9419 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9422 * Fix Command Arguments for Thread_Keyword
9424 static const char* apzThread_KeywordPatch[] = {
9429 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9431 * Description of Tinfo_Cplusplus fix
9433 tSCC zTinfo_CplusplusName[] =
9437 * File name selection pattern
9439 tSCC zTinfo_CplusplusList[] =
9442 * Machine/OS name selection pattern
9444 #define apzTinfo_CplusplusMachs (const char**)NULL
9447 * content selection pattern - do fix if pattern found
9449 tSCC zTinfo_CplusplusSelect0[] =
9452 #define TINFO_CPLUSPLUS_TEST_CT 1
9453 static tTestDesc aTinfo_CplusplusTests[] = {
9454 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9457 * Fix Command Arguments for Tinfo_Cplusplus
9459 static const char* apzTinfo_CplusplusPatch[] = {
9464 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9466 * Description of Ultrix_Const fix
9468 tSCC zUltrix_ConstName[] =
9472 * File name selection pattern
9474 tSCC zUltrix_ConstList[] =
9477 * Machine/OS name selection pattern
9479 #define apzUltrix_ConstMachs (const char**)NULL
9482 * content selection pattern - do fix if pattern found
9484 tSCC zUltrix_ConstSelect0[] =
9485 "perror\\( char \\*";
9487 #define ULTRIX_CONST_TEST_CT 1
9488 static tTestDesc aUltrix_ConstTests[] = {
9489 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9492 * Fix Command Arguments for Ultrix_Const
9494 static const char* apzUltrix_ConstPatch[] = {
9497 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9502 * Description of Ultrix_Const2 fix
9504 tSCC zUltrix_Const2Name[] =
9508 * File name selection pattern
9510 tSCC zUltrix_Const2List[] =
9513 * Machine/OS name selection pattern
9515 #define apzUltrix_Const2Machs (const char**)NULL
9518 * content selection pattern - do fix if pattern found
9520 tSCC zUltrix_Const2Select0[] =
9521 "\\*fopen\\( char \\*";
9523 #define ULTRIX_CONST2_TEST_CT 1
9524 static tTestDesc aUltrix_Const2Tests[] = {
9525 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9528 * Fix Command Arguments for Ultrix_Const2
9530 static const char* apzUltrix_Const2Patch[] = {
9532 "%1( const char *%3, const char *",
9533 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9536 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9538 * Description of Va_I960_Macro fix
9540 tSCC zVa_I960_MacroName[] =
9544 * File name selection pattern
9546 tSCC zVa_I960_MacroList[] =
9547 "arch/i960/archI960.h\0";
9549 * Machine/OS name selection pattern
9551 #define apzVa_I960_MacroMachs (const char**)NULL
9554 * content selection pattern - do fix if pattern found
9556 tSCC zVa_I960_MacroSelect0[] =
9557 "__(vsiz|vali|vpad|alignof__)";
9559 #define VA_I960_MACRO_TEST_CT 1
9560 static tTestDesc aVa_I960_MacroTests[] = {
9561 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9564 * Fix Command Arguments for Va_I960_Macro
9566 static const char* apzVa_I960_MacroPatch[] = {
9571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9573 * Description of Vms_Add_Missing_Braces fix
9575 tSCC zVms_Add_Missing_BracesName[] =
9576 "vms_add_missing_braces";
9579 * File name selection pattern
9581 tSCC zVms_Add_Missing_BracesList[] =
9582 "rtldef/signal.h\0";
9584 * Machine/OS name selection pattern
9586 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9588 (const char*)NULL };
9591 * content selection pattern - do fix if pattern found
9593 tSCC zVms_Add_Missing_BracesSelect0[] =
9594 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9596 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9597 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9598 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9601 * Fix Command Arguments for Vms_Add_Missing_Braces
9603 static const char* apzVms_Add_Missing_BracesPatch[] = {
9608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9610 * Description of Vms_Decc_Builtin fix
9612 tSCC zVms_Decc_BuiltinName[] =
9616 * File name selection pattern
9618 tSCC zVms_Decc_BuiltinList[] =
9619 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9621 * Machine/OS name selection pattern
9623 tSCC* apzVms_Decc_BuiltinMachs[] = {
9625 (const char*)NULL };
9628 * content selection pattern - do fix if pattern found
9630 tSCC zVms_Decc_BuiltinSelect0[] =
9631 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9633 #define VMS_DECC_BUILTIN_TEST_CT 1
9634 static tTestDesc aVms_Decc_BuiltinTests[] = {
9635 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9638 * Fix Command Arguments for Vms_Decc_Builtin
9640 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9641 "-e", "s@__MEMSET@memset@",
9642 "-e", "s@__MEMMOVE@memmove@",
9643 "-e", "s@__MEMCPY@memcpy@",
9644 "-e", "s@__STRLEN@strlen@",
9645 "-e", "s@__STRCPY@strcpy@",
9648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9650 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9652 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9653 "vms_define_can_use_extern_prefix";
9656 * File name selection pattern
9658 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9659 "rtldef/decc$types.h\0";
9661 * Machine/OS name selection pattern
9663 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9665 (const char*)NULL };
9668 * content selection pattern - do fix if pattern found
9670 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9672 #[ \t]*if defined\\(__DECCXX\\)\n\
9673 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9675 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9676 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9677 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9680 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9682 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9684 "%0# elif defined (__GNUC__)\n\
9685 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9690 * Description of Vms_Disable_Decc_String_Builtins fix
9692 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9693 "vms_disable_decc_string_builtins";
9696 * File name selection pattern
9698 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9699 "rtldef/string.h\0";
9701 * Machine/OS name selection pattern
9703 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9705 (const char*)NULL };
9708 * content selection pattern - do fix if pattern found
9710 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9711 "#if !defined\\(__VAX\\)\n";
9713 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9714 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9715 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9718 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9720 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9722 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9727 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9729 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9730 "vms_do_not_redeclare_hostalias";
9733 * File name selection pattern
9735 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9736 "rtldef/resolv.h\0";
9738 * Machine/OS name selection pattern
9740 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9742 (const char*)NULL };
9745 * content selection pattern - do fix if pattern found
9747 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9748 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9749 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9751 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9752 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9753 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9756 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9758 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9766 * Description of Vms_Forward_Declare_Struct fix
9768 tSCC zVms_Forward_Declare_StructName[] =
9769 "vms_forward_declare_struct";
9772 * File name selection pattern
9774 tSCC zVms_Forward_Declare_StructList[] =
9777 * Machine/OS name selection pattern
9779 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9781 (const char*)NULL };
9784 * content selection pattern - do fix if pattern found
9786 tSCC zVms_Forward_Declare_StructSelect0[] =
9787 "(/\\* forward decls for C\\+\\+ \\*/\n\
9788 )#ifdef __cplusplus\n";
9790 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9791 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9792 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9795 * Fix Command Arguments for Vms_Forward_Declare_Struct
9797 static const char* apzVms_Forward_Declare_StructPatch[] = {
9799 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9804 * Description of Vms_No_64bit_Getopt fix
9806 tSCC zVms_No_64bit_GetoptName[] =
9807 "vms_no_64bit_getopt";
9810 * File name selection pattern
9812 tSCC zVms_No_64bit_GetoptList[] =
9813 "rtldef/stdio.h\0rtldef/unistd.h\0";
9815 * Machine/OS name selection pattern
9817 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9819 (const char*)NULL };
9822 * content selection pattern - do fix if pattern found
9824 tSCC zVms_No_64bit_GetoptSelect0[] =
9825 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9827 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9828 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9829 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9832 * Fix Command Arguments for Vms_No_64bit_Getopt
9834 static const char* apzVms_No_64bit_GetoptPatch[] = {
9836 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9842 * Description of Vms_Use_Fast_Setjmp fix
9844 tSCC zVms_Use_Fast_SetjmpName[] =
9845 "vms_use_fast_setjmp";
9848 * File name selection pattern
9850 tSCC zVms_Use_Fast_SetjmpList[] =
9851 "rtldef/setjmp.h\0";
9853 * Machine/OS name selection pattern
9855 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9857 (const char*)NULL };
9860 * content selection pattern - do fix if pattern found
9862 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9863 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9865 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9866 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9867 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9870 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9872 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9874 "%0 defined (__GNUC__) ||",
9877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9879 * Description of Vms_Use_Pragma_Extern_Model fix
9881 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9882 "vms_use_pragma_extern_model";
9885 * File name selection pattern
9887 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9889 * Machine/OS name selection pattern
9891 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9893 (const char*)NULL };
9896 * content selection pattern - do fix if pattern found
9898 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9899 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9900 # pragma extern_model __save\n";
9902 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9903 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9904 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9907 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9909 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9911 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9912 # pragma extern_model __save\n",
9915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9917 * Description of Vms_Use_Quoted_Include fix
9919 tSCC zVms_Use_Quoted_IncludeName[] =
9920 "vms_use_quoted_include";
9923 * File name selection pattern
9925 tSCC zVms_Use_Quoted_IncludeList[] =
9926 "rtldef/wait.h\0starlet_c/pthread.h\0";
9928 * Machine/OS name selection pattern
9930 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9932 (const char*)NULL };
9935 * content selection pattern - do fix if pattern found
9937 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9938 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9940 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9941 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9942 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9945 * Fix Command Arguments for Vms_Use_Quoted_Include
9947 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9954 * Description of Void_Null fix
9956 tSCC zVoid_NullName[] =
9960 * File name selection pattern
9962 tSCC zVoid_NullList[] =
9963 "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";
9965 * Machine/OS name selection pattern
9967 #define apzVoid_NullMachs (const char**)NULL
9970 * content selection pattern - do fix if pattern found
9972 tSCC zVoid_NullSelect0[] =
9973 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9976 * content bypass pattern - skip fix if pattern found
9978 tSCC zVoid_NullBypass0[] =
9980 tSCC zVoid_NullBypass1[] =
9983 #define VOID_NULL_TEST_CT 3
9984 static tTestDesc aVoid_NullTests[] = {
9985 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9986 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9987 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9990 * Fix Command Arguments for Void_Null
9992 static const char* apzVoid_NullPatch[] = {
9995 #ifdef __cplusplus\n\
9997 #define NULL __null\n\
9998 #else /* ! __GNUG__ */\n\
10000 #endif /* __GNUG__ */\n\
10001 #else /* ! __cplusplus */\n\
10002 #define NULL ((void *)0)\n\
10003 #endif /* __cplusplus */\n\
10004 #endif /* !NULL */",
10007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10009 * Description of Vxworks_Gcc_Problem fix
10011 tSCC zVxworks_Gcc_ProblemName[] =
10012 "vxworks_gcc_problem";
10015 * File name selection pattern
10017 tSCC zVxworks_Gcc_ProblemList[] =
10018 "types/vxTypesBase.h\0";
10020 * Machine/OS name selection pattern
10022 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
10025 * content selection pattern - do fix if pattern found
10027 tSCC zVxworks_Gcc_ProblemSelect0[] =
10028 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
10030 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
10031 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
10032 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
10035 * Fix Command Arguments for Vxworks_Gcc_Problem
10037 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
10038 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
10039 "-e", "/[ \t]size_t/i\\\n\
10040 #ifndef _GCC_SIZE_T\\\n\
10041 #define _GCC_SIZE_T\n",
10042 "-e", "/[ \t]size_t/a\\\n\
10044 "-e", "/[ \t]ptrdiff_t/i\\\n\
10045 #ifndef _GCC_PTRDIFF_T\\\n\
10046 #define _GCC_PTRDIFF_T\n",
10047 "-e", "/[ \t]ptrdiff_t/a\\\n\
10049 "-e", "/[ \t]wchar_t/i\\\n\
10050 #ifndef _GCC_WCHAR_T\\\n\
10051 #define _GCC_WCHAR_T\n",
10052 "-e", "/[ \t]wchar_t/a\\\n\
10056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10058 * Description of Vxworks_Ioctl_Macro fix
10060 tSCC zVxworks_Ioctl_MacroName[] =
10061 "vxworks_ioctl_macro";
10064 * File name selection pattern
10066 tSCC zVxworks_Ioctl_MacroList[] =
10069 * Machine/OS name selection pattern
10071 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10073 (const char*)NULL };
10074 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
10075 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
10078 * Fix Command Arguments for Vxworks_Ioctl_Macro
10080 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10083 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10084 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10087 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10089 * Description of Vxworks_Mkdir_Macro fix
10091 tSCC zVxworks_Mkdir_MacroName[] =
10092 "vxworks_mkdir_macro";
10095 * File name selection pattern
10097 tSCC zVxworks_Mkdir_MacroList[] =
10100 * Machine/OS name selection pattern
10102 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
10104 (const char*)NULL };
10105 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
10106 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
10109 * Fix Command Arguments for Vxworks_Mkdir_Macro
10111 static const char* apzVxworks_Mkdir_MacroPatch[] = {
10114 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
10115 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10120 * Description of Vxworks_Needs_Vxtypes fix
10122 tSCC zVxworks_Needs_VxtypesName[] =
10123 "vxworks_needs_vxtypes";
10126 * File name selection pattern
10128 tSCC zVxworks_Needs_VxtypesList[] =
10131 * Machine/OS name selection pattern
10133 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10136 * content selection pattern - do fix if pattern found
10138 tSCC zVxworks_Needs_VxtypesSelect0[] =
10139 "uint_t([ \t]+_clocks_per_sec)";
10141 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
10142 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10143 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10146 * Fix Command Arguments for Vxworks_Needs_Vxtypes
10148 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10155 * Description of Vxworks_Needs_Vxworks fix
10157 tSCC zVxworks_Needs_VxworksName[] =
10158 "vxworks_needs_vxworks";
10161 * File name selection pattern
10163 tSCC zVxworks_Needs_VxworksList[] =
10166 * Machine/OS name selection pattern
10168 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10171 * content selection pattern - do fix if pattern found
10173 tSCC zVxworks_Needs_VxworksSelect0[] =
10174 "#[ \t]define[ \t]+__INCstath";
10177 * perform the 'test' shell command - do fix on success
10179 tSCC zVxworks_Needs_VxworksTest0[] =
10180 " -r types/vxTypesOld.h";
10181 tSCC zVxworks_Needs_VxworksTest1[] =
10182 " -n \"`egrep '#include' $file`\"";
10183 tSCC zVxworks_Needs_VxworksTest2[] =
10184 " -n \"`egrep ULONG $file`\"";
10186 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10187 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10188 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10189 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10190 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10191 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10194 * Fix Command Arguments for Vxworks_Needs_Vxworks
10196 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10197 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10198 #include <types/vxTypesOld.h>\n",
10201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10203 * Description of Vxworks_Regs fix
10205 tSCC zVxworks_RegsName[] =
10209 * File name selection pattern
10211 #define zVxworks_RegsList (char*)NULL
10213 * Machine/OS name selection pattern
10215 tSCC* apzVxworks_RegsMachs[] = {
10217 (const char*)NULL };
10220 * content selection pattern - do fix if pattern found
10222 tSCC zVxworks_RegsSelect0[] =
10223 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10225 #define VXWORKS_REGS_TEST_CT 1
10226 static tTestDesc aVxworks_RegsTests[] = {
10227 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10230 * Fix Command Arguments for Vxworks_Regs
10232 static const char* apzVxworks_RegsPatch[] = {
10234 "#include <arch/../regs.h>",
10237 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10239 * Description of Vxworks_Time fix
10241 tSCC zVxworks_TimeName[] =
10245 * File name selection pattern
10247 tSCC zVxworks_TimeList[] =
10250 * Machine/OS name selection pattern
10252 #define apzVxworks_TimeMachs (const char**)NULL
10255 * content selection pattern - do fix if pattern found
10257 tSCC zVxworks_TimeSelect0[] =
10258 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10261 * perform the 'test' shell command - do fix on success
10263 tSCC zVxworks_TimeTest0[] =
10266 #define VXWORKS_TIME_TEST_CT 2
10267 static tTestDesc aVxworks_TimeTests[] = {
10268 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10269 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10272 * Fix Command Arguments for Vxworks_Time
10274 static const char* apzVxworks_TimePatch[] = {
10276 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10277 #ifdef __cplusplus\n\
10278 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10280 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10282 #define __gcc_VOIDFUNCPTR_defined\n\
10284 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10287 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10289 * Description of Vxworks_Write_Const fix
10291 tSCC zVxworks_Write_ConstName[] =
10292 "vxworks_write_const";
10295 * File name selection pattern
10297 tSCC zVxworks_Write_ConstList[] =
10300 * Machine/OS name selection pattern
10302 tSCC* apzVxworks_Write_ConstMachs[] = {
10304 (const char*)NULL };
10305 #define VXWORKS_WRITE_CONST_TEST_CT 0
10306 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10309 * Fix Command Arguments for Vxworks_Write_Const
10311 static const char* apzVxworks_Write_ConstPatch[] = {
10313 "extern int write (int, const char*, size_t);",
10314 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10319 * Description of Vxworks_Iolib_Include_Unistd fix
10321 tSCC zVxworks_Iolib_Include_UnistdName[] =
10322 "vxworks_iolib_include_unistd";
10325 * File name selection pattern
10327 tSCC zVxworks_Iolib_Include_UnistdList[] =
10330 * Machine/OS name selection pattern
10332 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10334 (const char*)NULL };
10337 * content selection pattern - do fix if pattern found
10339 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10340 "#include \"unistd.h\"";
10342 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10343 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10344 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10347 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10349 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10351 "#include <unistd.h>",
10354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10356 * Description of X11_Class fix
10358 tSCC zX11_ClassName[] =
10362 * File name selection pattern
10364 tSCC zX11_ClassList[] =
10367 * Machine/OS name selection pattern
10369 #define apzX11_ClassMachs (const char**)NULL
10372 * content selection pattern - do fix if pattern found
10374 tSCC zX11_ClassSelect0[] =
10375 "^([ \t]*char \\*)class;(.*)";
10378 * content bypass pattern - skip fix if pattern found
10380 tSCC zX11_ClassBypass0[] =
10383 #define X11_CLASS_TEST_CT 2
10384 static tTestDesc aX11_ClassTests[] = {
10385 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10386 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10389 * Fix Command Arguments for X11_Class
10391 static const char* apzX11_ClassPatch[] = {
10393 "#ifdef __cplusplus\n\
10400 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10402 * Description of X11_Class_Usage fix
10404 tSCC zX11_Class_UsageName[] =
10408 * File name selection pattern
10410 tSCC zX11_Class_UsageList[] =
10411 "Xm/BaseClassI.h\0";
10413 * Machine/OS name selection pattern
10415 #define apzX11_Class_UsageMachs (const char**)NULL
10418 * content selection pattern - do fix if pattern found
10420 tSCC zX11_Class_UsageSelect0[] =
10424 * content bypass pattern - skip fix if pattern found
10426 tSCC zX11_Class_UsageBypass0[] =
10429 #define X11_CLASS_USAGE_TEST_CT 2
10430 static tTestDesc aX11_Class_UsageTests[] = {
10431 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10432 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10435 * Fix Command Arguments for X11_Class_Usage
10437 static const char* apzX11_Class_UsagePatch[] = {
10442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10444 * Description of X11_New fix
10446 tSCC zX11_NewName[] =
10450 * File name selection pattern
10452 tSCC zX11_NewList[] =
10453 "Xm/Traversal.h\0";
10455 * Machine/OS name selection pattern
10457 #define apzX11_NewMachs (const char**)NULL
10460 * content bypass pattern - skip fix if pattern found
10462 tSCC zX11_NewBypass0[] =
10465 #define X11_NEW_TEST_CT 1
10466 static tTestDesc aX11_NewTests[] = {
10467 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10470 * Fix Command Arguments for X11_New
10472 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10473 "-e", "/Widget\told, new;/i\\\n\
10474 #ifdef __cplusplus\\\n\
10475 \\\tWidget\told, c_new;\\\n\
10477 "-e", "/Widget\told, new;/a\\\n\
10479 "-e", "s/Widget new,/Widget c_new,/g",
10482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10484 * Description of X11_Sprintf fix
10486 tSCC zX11_SprintfName[] =
10490 * File name selection pattern
10492 tSCC zX11_SprintfList[] =
10493 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10495 * Machine/OS name selection pattern
10497 #define apzX11_SprintfMachs (const char**)NULL
10500 * content selection pattern - do fix if pattern found
10502 tSCC zX11_SprintfSelect0[] =
10503 "^extern char \\*\tsprintf\\(\\);$";
10505 #define X11_SPRINTF_TEST_CT 1
10506 static tTestDesc aX11_SprintfTests[] = {
10507 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10510 * Fix Command Arguments for X11_Sprintf
10512 static const char* apzX11_SprintfPatch[] = {
10514 "#ifndef __STDC__\n\
10516 #endif /* !defined __STDC__ */",
10520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10522 * List of all fixes
10524 #define REGEX_COUNT 297
10525 #define MACH_LIST_SIZE_LIMIT 187
10526 #define FIX_COUNT 259
10529 * Enumerate the fixes
10532 AAB_AIX_STDIO_FIXIDX,
10533 AAB_AIX_FCNTL_FIXIDX,
10534 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10535 DARWIN_API_AVAILABILITY_FIXIDX,
10536 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10537 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10538 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10539 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10540 AAB_SUN_MEMCPY_FIXIDX,
10541 AAB_VXWORKS_ASSERT_FIXIDX,
10542 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10543 AAB_VXWORKS_UNISTD_FIXIDX,
10545 AIX_COMPLEX_FIXIDX,
10546 AIX_EXTERNC_FIXIDX,
10547 AIX_EXTERNCPP1_FIXIDX,
10548 AIX_EXTERNCPP2_FIXIDX,
10549 AIX_INTTYPES_FIXIDX,
10551 AIX_NET_IF_ARP_FIXIDX,
10553 AIX_ONCE_INIT_1_FIXIDX,
10554 AIX_ONCE_INIT_2_FIXIDX,
10555 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10556 AIX_COND_INITIALIZER_1_FIXIDX,
10557 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10558 AIX_PTHREAD_FIXIDX,
10559 AIX_STDINT_1_FIXIDX,
10560 AIX_STDINT_2_FIXIDX,
10561 AIX_STDINT_3_FIXIDX,
10562 AIX_STDINT_4_FIXIDX,
10563 AIX_STDINT_5_FIXIDX,
10564 AIX_STDIO_INLINE_FIXIDX,
10565 AIX_STDLIB_MALLOC_FIXIDX,
10566 AIX_STDLIB_REALLOC_FIXIDX,
10567 AIX_STDLIB_CALLOC_FIXIDX,
10568 AIX_STDLIB_VALLOC_FIXIDX,
10569 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10570 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10571 AIX_STRTOF_CONST_FIXIDX,
10572 AIX_SYSMACHINE_FIXIDX,
10573 AIX_SYSWAIT_2_FIXIDX,
10574 AIX_VOLATILE_FIXIDX,
10576 ALPHA___ASSERT_FIXIDX,
10577 ALPHA_ASSERT_FIXIDX,
10578 ALPHA_GETOPT_FIXIDX,
10579 ALPHA_IF_SEMICOLON_FIXIDX,
10580 ALPHA_PARENS_FIXIDX,
10582 AVOID_BOOL_DEFINE_FIXIDX,
10583 AVOID_BOOL_TYPE_FIXIDX,
10584 AVOID_WCHAR_T_TYPE_FIXIDX,
10585 BAD_STRUCT_TERM_FIXIDX,
10587 BROKEN_ASSERT_STDIO_FIXIDX,
10588 BROKEN_ASSERT_STDLIB_FIXIDX,
10589 BROKEN_CABS_FIXIDX,
10591 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10592 CTRL_QUOTES_DEF_FIXIDX,
10593 CTRL_QUOTES_USE_FIXIDX,
10594 CXX_UNREADY_FIXIDX,
10595 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10596 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10597 DARWIN_EXTERNC_FIXIDX,
10598 DARWIN_GCC4_BREAKAGE_FIXIDX,
10599 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10600 DARWIN_LONGJMP_NORETURN_FIXIDX,
10601 DARWIN_OS_TRACE_1_FIXIDX,
10602 DARWIN_OS_TRACE_2_FIXIDX,
10603 DARWIN_OS_TRACE_3_FIXIDX,
10604 DARWIN_OS_BASE_1_FIXIDX,
10605 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10606 DARWIN_PRIVATE_EXTERN_FIXIDX,
10607 DARWIN_STDINT_1_FIXIDX,
10608 DARWIN_STDINT_2_FIXIDX,
10609 DARWIN_STDINT_3_FIXIDX,
10610 DARWIN_STDINT_4_FIXIDX,
10611 DARWIN_STDINT_5_FIXIDX,
10612 DARWIN_STDINT_6_FIXIDX,
10613 DARWIN_STDINT_7_FIXIDX,
10614 DARWIN_UCRED__ATOMIC_FIXIDX,
10615 DEC_INTERN_ASM_FIXIDX,
10616 DJGPP_WCHAR_H_FIXIDX,
10618 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10619 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10620 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10621 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10622 GLIBC_C99_INLINE_1_FIXIDX,
10623 GLIBC_C99_INLINE_1A_FIXIDX,
10624 GLIBC_C99_INLINE_2_FIXIDX,
10625 GLIBC_C99_INLINE_3_FIXIDX,
10626 GLIBC_C99_INLINE_4_FIXIDX,
10627 GLIBC_MUTEX_INIT_FIXIDX,
10628 GLIBC_STDINT_FIXIDX,
10629 GLIBC_STRNCPY_FIXIDX,
10630 GLIBC_TGMATH_FIXIDX,
10634 HPPA_HPUX_FP_MACROS_FIXIDX,
10635 HPUX10_CPP_POW_INLINE_FIXIDX,
10636 HPUX11_CPP_POW_INLINE_FIXIDX,
10637 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10638 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10639 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10640 HPPA_HPUX11_ALLOCA_FIXIDX,
10642 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10643 HPUX11_EXTERN_SENDFILE_FIXIDX,
10644 HPUX11_EXTERN_SENDPATH_FIXIDX,
10645 HPUX11_FABSF_FIXIDX,
10646 HPUX11_PTHREAD_POINTER_FIXIDX,
10647 HPUX11_PTHREAD_CONST_FIXIDX,
10648 HPUX11_SIZE_T_FIXIDX,
10649 HPUX11_SNPRINTF_FIXIDX,
10650 HPUX11_VSNPRINTF_FIXIDX,
10651 HPUX_VSSCANF_FIXIDX,
10652 HPUX8_BOGUS_INLINES_FIXIDX,
10653 HPUX_C99_INTPTR_FIXIDX,
10654 HPUX_C99_INTTYPES_FIXIDX,
10655 HPUX_C99_INTTYPES2_FIXIDX,
10656 HPUX_C99_INTTYPES3_FIXIDX,
10657 HPUX_C99_INTTYPES4_FIXIDX,
10658 HPUX_CTYPE_MACROS_FIXIDX,
10659 HPUX_EXTERN_ERRNO_FIXIDX,
10661 HPUX_IMAGINARY_I_FIXIDX,
10662 HPUX_INTTYPE_INT8_T_FIXIDX,
10663 HPUX_LONG_DOUBLE_FIXIDX,
10664 HPUX_LONG_DOUBLE_2_FIXIDX,
10665 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10666 HPUX_SPU_INFO_FIXIDX,
10667 HPUX_STDINT_LEAST_FAST_FIXIDX,
10668 HPUX_LONGJMP_FIXIDX,
10669 HPUX_SYSTIME_FIXIDX,
10670 HUGE_VAL_HEX_FIXIDX,
10671 HUGE_VALF_HEX_FIXIDX,
10672 HUGE_VALL_HEX_FIXIDX,
10673 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10674 IO_QUOTES_DEF_FIXIDX,
10675 IO_QUOTES_USE_FIXIDX,
10676 IP_MISSING_SEMI_FIXIDX,
10677 IRIX_LIMITS_CONST_FIXIDX,
10678 IRIX_STDIO_VA_LIST_FIXIDX,
10679 KANDR_CONCAT_FIXIDX,
10680 LINUX_IA64_UCONTEXT_FIXIDX,
10681 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10682 LYNXOS_MISSING_PUTENV_FIXIDX,
10683 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10684 MACHINE_NAME_FIXIDX,
10685 MATH_EXCEPTION_FIXIDX,
10686 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10687 NESTED_AUTH_DES_FIXIDX,
10688 NETBSD_C99_INLINE_1_FIXIDX,
10689 NETBSD_C99_INLINE_2_FIXIDX,
10690 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10691 NEWLIB_STDINT_1_FIXIDX,
10692 NEWLIB_STDINT_2_FIXIDX,
10693 NEXT_MATH_PREFIX_FIXIDX,
10694 NEXT_TEMPLATE_FIXIDX,
10695 NEXT_VOLITILE_FIXIDX,
10696 NEXT_WAIT_UNION_FIXIDX,
10697 NODEENT_SYNTAX_FIXIDX,
10698 OPENBSD_NULL_DEFINITION_FIXIDX,
10699 OBSTACK_LVALUE_CAST_FIXIDX,
10700 OPENBSD_VA_START_FIXIDX,
10701 OSF_NAMESPACE_A_FIXIDX,
10702 OSF_NAMESPACE_C_FIXIDX,
10703 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10704 READ_RET_TYPE_FIXIDX,
10705 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10706 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10707 RS6000_DOUBLE_FIXIDX,
10708 RS6000_FCHMOD_FIXIDX,
10709 RS6000_PARAM_FIXIDX,
10710 SOLARIS___RESTRICT_FIXIDX,
10711 SOLARIS_COMPLEX_FIXIDX,
10712 SOLARIS_COMPLEX_CXX_FIXIDX,
10713 SOLARIS_CXX_LINKAGE_FIXIDX,
10714 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10715 SOLARIS_GETS_C11_FIXIDX,
10716 SOLARIS_GETS_CXX14_FIXIDX,
10717 SOLARIS_INT_CONST_FIXIDX,
10718 SOLARIS_INT_LIMITS_1_FIXIDX,
10719 SOLARIS_INT_LIMITS_2_FIXIDX,
10720 SOLARIS_INT_LIMITS_3_FIXIDX,
10721 SOLARIS_MATH_1_FIXIDX,
10722 SOLARIS_MATH_10_FIXIDX,
10723 SOLARIS_MATH_2_FIXIDX,
10724 SOLARIS_MATH_3_FIXIDX,
10725 SOLARIS_MATH_4_FIXIDX,
10726 SOLARIS_MATH_8_FIXIDX,
10727 SOLARIS_MATH_9_FIXIDX,
10728 SOLARIS_MATH_11_FIXIDX,
10729 SOLARIS_MATH_12_FIXIDX,
10730 SOLARIS_ONCE_INIT_1_FIXIDX,
10731 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10732 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10733 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10734 SOLARIS_STD___FILBUF_FIXIDX,
10735 SOLARIS_STD_GETS_CXX14_FIXIDX,
10736 SOLARIS_STDIO_TAG_FIXIDX,
10737 SOLARIS_STDLIB_NORETURN_FIXIDX,
10739 STDIO_STDARG_H_FIXIDX,
10740 STDIO_VA_LIST_FIXIDX,
10741 STDIO_VA_LIST_CLIENTS_FIXIDX,
10742 STRICT_ANSI_NOT_FIXIDX,
10743 STRICT_ANSI_NOT_CTD_FIXIDX,
10744 STRICT_ANSI_ONLY_FIXIDX,
10745 STRUCT_FILE_FIXIDX,
10746 STRUCT_SOCKADDR_FIXIDX,
10747 SUN_AUTH_PROTO_FIXIDX,
10748 SUN_BOGUS_IFDEF_FIXIDX,
10749 SUN_CATMACRO_FIXIDX,
10751 SUN_RUSERS_SEMI_FIXIDX,
10753 SUNOS_STRLEN_FIXIDX,
10754 SUSE_LINUX_VT_CXX_FIXIDX,
10755 SVR4_DISABLE_OPT_FIXIDX,
10756 SVR4_GETCWD_FIXIDX,
10757 SVR4_PROFIL_FIXIDX,
10758 SVR4_SIGHANDLER_TYPE_FIXIDX,
10759 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10760 SYSV68_STRING_FIXIDX,
10761 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10762 THREAD_KEYWORD_FIXIDX,
10763 TINFO_CPLUSPLUS_FIXIDX,
10764 ULTRIX_CONST_FIXIDX,
10765 ULTRIX_CONST2_FIXIDX,
10766 VA_I960_MACRO_FIXIDX,
10767 VMS_ADD_MISSING_BRACES_FIXIDX,
10768 VMS_DECC_BUILTIN_FIXIDX,
10769 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10770 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10771 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10772 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10773 VMS_NO_64BIT_GETOPT_FIXIDX,
10774 VMS_USE_FAST_SETJMP_FIXIDX,
10775 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10776 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10778 VXWORKS_GCC_PROBLEM_FIXIDX,
10779 VXWORKS_IOCTL_MACRO_FIXIDX,
10780 VXWORKS_MKDIR_MACRO_FIXIDX,
10781 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10782 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10783 VXWORKS_REGS_FIXIDX,
10784 VXWORKS_TIME_FIXIDX,
10785 VXWORKS_WRITE_CONST_FIXIDX,
10786 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10788 X11_CLASS_USAGE_FIXIDX,
10793 tFixDesc fixDescList[ FIX_COUNT ] = {
10794 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10795 apzAab_Aix_StdioMachs,
10796 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10797 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10799 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10800 apzAab_Aix_FcntlMachs,
10801 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10802 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10804 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10805 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10806 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10807 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10809 { zDarwin_Api_AvailabilityName, zDarwin_Api_AvailabilityList,
10810 apzDarwin_Api_AvailabilityMachs,
10811 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10812 aDarwin_Api_AvailabilityTests, apzDarwin_Api_AvailabilityPatch, 0 },
10814 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10815 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10816 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10817 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10819 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10820 apzAab_Fd_Zero_Gnu_Types_HMachs,
10821 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10822 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10824 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10825 apzAab_Fd_Zero_Selectbits_HMachs,
10826 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10827 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10829 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10830 apzAab_Solaris_Sys_Varargs_HMachs,
10831 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10832 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10834 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10835 apzAab_Sun_MemcpyMachs,
10836 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10837 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10839 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10840 apzAab_Vxworks_AssertMachs,
10841 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10842 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10844 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10845 apzAab_Vxworks_Regs_VxtypesMachs,
10846 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10847 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10849 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10850 apzAab_Vxworks_UnistdMachs,
10851 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10852 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10854 { zAix_AssertName, zAix_AssertList,
10855 apzAix_AssertMachs,
10856 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10857 aAix_AssertTests, apzAix_AssertPatch, 0 },
10859 { zAix_ComplexName, zAix_ComplexList,
10860 apzAix_ComplexMachs,
10861 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10862 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10864 { zAix_ExterncName, zAix_ExterncList,
10865 apzAix_ExterncMachs,
10866 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10867 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10869 { zAix_Externcpp1Name, zAix_Externcpp1List,
10870 apzAix_Externcpp1Machs,
10871 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10872 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10874 { zAix_Externcpp2Name, zAix_Externcpp2List,
10875 apzAix_Externcpp2Machs,
10876 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10877 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10879 { zAix_InttypesName, zAix_InttypesList,
10880 apzAix_InttypesMachs,
10881 AIX_INTTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10882 aAix_InttypesTests, apzAix_InttypesPatch, 0 },
10884 { zAix_MallocName, zAix_MallocList,
10885 apzAix_MallocMachs,
10886 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10887 aAix_MallocTests, apzAix_MallocPatch, 0 },
10889 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10890 apzAix_Net_If_ArpMachs,
10891 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10892 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10894 { zAix_NullName, zAix_NullList,
10896 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10897 aAix_NullTests, apzAix_NullPatch, 0 },
10899 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10900 apzAix_Once_Init_1Machs,
10901 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10902 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10904 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10905 apzAix_Once_Init_2Machs,
10906 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10907 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10909 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10910 apzAix_Mutex_Initializer_1Machs,
10911 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10912 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10914 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10915 apzAix_Cond_Initializer_1Machs,
10916 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10917 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10919 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10920 apzAix_Rwlock_Initializer_1Machs,
10921 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10922 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10924 { zAix_PthreadName, zAix_PthreadList,
10925 apzAix_PthreadMachs,
10926 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10927 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10929 { zAix_Stdint_1Name, zAix_Stdint_1List,
10930 apzAix_Stdint_1Machs,
10931 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10932 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10934 { zAix_Stdint_2Name, zAix_Stdint_2List,
10935 apzAix_Stdint_2Machs,
10936 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10937 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10939 { zAix_Stdint_3Name, zAix_Stdint_3List,
10940 apzAix_Stdint_3Machs,
10941 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10942 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10944 { zAix_Stdint_4Name, zAix_Stdint_4List,
10945 apzAix_Stdint_4Machs,
10946 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10947 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10949 { zAix_Stdint_5Name, zAix_Stdint_5List,
10950 apzAix_Stdint_5Machs,
10951 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10952 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10954 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10955 apzAix_Stdio_InlineMachs,
10956 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10957 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10959 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10960 apzAix_Stdlib_MallocMachs,
10961 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10962 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10964 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10965 apzAix_Stdlib_ReallocMachs,
10966 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10967 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10969 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10970 apzAix_Stdlib_CallocMachs,
10971 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10972 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10974 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10975 apzAix_Stdlib_VallocMachs,
10976 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10977 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10979 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
10980 apzAix_Stdlib_Vec_MallocMachs,
10981 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10982 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
10984 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
10985 apzAix_Stdlib_Vec_CallocMachs,
10986 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10987 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
10989 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10990 apzAix_Strtof_ConstMachs,
10991 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10992 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10994 { zAix_SysmachineName, zAix_SysmachineList,
10995 apzAix_SysmachineMachs,
10996 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10997 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10999 { zAix_Syswait_2Name, zAix_Syswait_2List,
11000 apzAix_Syswait_2Machs,
11001 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11002 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
11004 { zAix_VolatileName, zAix_VolatileList,
11005 apzAix_VolatileMachs,
11006 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11007 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
11009 { zAix_UnistdName, zAix_UnistdList,
11010 apzAix_UnistdMachs,
11011 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11012 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
11014 { zAlpha___AssertName, zAlpha___AssertList,
11015 apzAlpha___AssertMachs,
11016 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11017 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
11019 { zAlpha_AssertName, zAlpha_AssertList,
11020 apzAlpha_AssertMachs,
11021 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11022 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
11024 { zAlpha_GetoptName, zAlpha_GetoptList,
11025 apzAlpha_GetoptMachs,
11026 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11027 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
11029 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
11030 apzAlpha_If_SemicolonMachs,
11031 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11032 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
11034 { zAlpha_ParensName, zAlpha_ParensList,
11035 apzAlpha_ParensMachs,
11036 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11037 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
11039 { zAlpha_SbrkName, zAlpha_SbrkList,
11040 apzAlpha_SbrkMachs,
11041 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11042 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
11044 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
11045 apzAvoid_Bool_DefineMachs,
11046 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11047 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
11049 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
11050 apzAvoid_Bool_TypeMachs,
11051 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11052 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
11054 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
11055 apzAvoid_Wchar_T_TypeMachs,
11056 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11057 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
11059 { zBad_Struct_TermName, zBad_Struct_TermList,
11060 apzBad_Struct_TermMachs,
11061 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11062 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
11064 { zBadquoteName, zBadquoteList,
11066 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11067 aBadquoteTests, apzBadquotePatch, 0 },
11069 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
11070 apzBroken_Assert_StdioMachs,
11071 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11072 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
11074 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
11075 apzBroken_Assert_StdlibMachs,
11076 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11077 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
11079 { zBroken_CabsName, zBroken_CabsList,
11080 apzBroken_CabsMachs,
11081 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11082 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
11084 { zBroken_NanName, zBroken_NanList,
11085 apzBroken_NanMachs,
11086 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11087 aBroken_NanTests, apzBroken_NanPatch, 0 },
11089 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
11090 apzBsd_Stdio_Attrs_ConflictMachs,
11091 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11092 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11094 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
11095 apzCtrl_Quotes_DefMachs,
11096 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11097 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
11099 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
11100 apzCtrl_Quotes_UseMachs,
11101 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11102 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
11104 { zCxx_UnreadyName, zCxx_UnreadyList,
11105 apzCxx_UnreadyMachs,
11106 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11107 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
11109 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
11110 apzDarwin_AvailabilityinternalMachs,
11111 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11112 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
11114 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
11115 apzDarwin_9_Long_Double_Funcs_2Machs,
11116 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11117 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11119 { zDarwin_ExterncName, zDarwin_ExterncList,
11120 apzDarwin_ExterncMachs,
11121 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11122 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
11124 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
11125 apzDarwin_Gcc4_BreakageMachs,
11126 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11127 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
11129 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
11130 apzDarwin_Ll_Funcs_AvailMachs,
11131 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11132 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
11134 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
11135 apzDarwin_Longjmp_NoreturnMachs,
11136 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11137 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
11139 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
11140 apzDarwin_Os_Trace_1Machs,
11141 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11142 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
11144 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
11145 apzDarwin_Os_Trace_2Machs,
11146 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11147 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
11149 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
11150 apzDarwin_Os_Trace_3Machs,
11151 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11152 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
11154 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
11155 apzDarwin_Os_Base_1Machs,
11156 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11157 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
11159 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
11160 apzDarwin_Dispatch_Object_1Machs,
11161 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11162 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
11164 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
11165 apzDarwin_Private_ExternMachs,
11166 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11167 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
11169 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
11170 apzDarwin_Stdint_1Machs,
11171 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11172 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
11174 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
11175 apzDarwin_Stdint_2Machs,
11176 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11177 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
11179 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
11180 apzDarwin_Stdint_3Machs,
11181 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11182 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
11184 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
11185 apzDarwin_Stdint_4Machs,
11186 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11187 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11189 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11190 apzDarwin_Stdint_5Machs,
11191 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11192 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11194 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11195 apzDarwin_Stdint_6Machs,
11196 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11197 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11199 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11200 apzDarwin_Stdint_7Machs,
11201 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11202 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11204 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11205 apzDarwin_Ucred__AtomicMachs,
11206 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11207 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11209 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11210 apzDec_Intern_AsmMachs,
11211 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11212 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11214 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11215 apzDjgpp_Wchar_HMachs,
11216 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11217 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11219 { zEcd_CursorName, zEcd_CursorList,
11220 apzEcd_CursorMachs,
11221 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11222 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11224 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11225 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11226 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11227 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11229 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11230 apzFeraiseexcept_Nosse_InvalidMachs,
11231 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11232 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11234 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11235 apzFreebsd_Gcc3_BreakageMachs,
11236 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11237 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11239 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11240 apzFreebsd_Gcc4_BreakageMachs,
11241 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11242 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11244 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11245 apzGlibc_C99_Inline_1Machs,
11246 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11247 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11249 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11250 apzGlibc_C99_Inline_1aMachs,
11251 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11252 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11254 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11255 apzGlibc_C99_Inline_2Machs,
11256 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11257 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11259 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11260 apzGlibc_C99_Inline_3Machs,
11261 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11262 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11264 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11265 apzGlibc_C99_Inline_4Machs,
11266 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11267 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11269 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11270 apzGlibc_Mutex_InitMachs,
11271 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11272 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11274 { zGlibc_StdintName, zGlibc_StdintList,
11275 apzGlibc_StdintMachs,
11276 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11277 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11279 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11280 apzGlibc_StrncpyMachs,
11281 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11282 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11284 { zGlibc_TgmathName, zGlibc_TgmathList,
11285 apzGlibc_TgmathMachs,
11286 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11287 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11289 { zGnu_TypesName, zGnu_TypesList,
11291 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11292 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11294 { zHp_InlineName, zHp_InlineList,
11296 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11297 aHp_InlineTests, apzHp_InlinePatch, 0 },
11299 { zHp_SysfileName, zHp_SysfileList,
11300 apzHp_SysfileMachs,
11301 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11302 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11304 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11305 apzHppa_Hpux_Fp_MacrosMachs,
11306 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11307 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11309 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11310 apzHpux10_Cpp_Pow_InlineMachs,
11311 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11312 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11314 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11315 apzHpux11_Cpp_Pow_InlineMachs,
11316 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11317 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11319 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11320 apzHpux10_Ctype_Declarations1Machs,
11321 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11322 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11324 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11325 apzHpux10_Ctype_Declarations2Machs,
11326 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11327 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11329 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11330 apzHpux10_Stdio_DeclarationsMachs,
11331 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11332 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11334 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11335 apzHppa_Hpux11_AllocaMachs,
11336 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11337 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11339 { zHpux11_AbsName, zHpux11_AbsList,
11340 apzHpux11_AbsMachs,
11341 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11342 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11344 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11345 apzHpux11_Lwp_Rwlock_ValidMachs,
11346 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11347 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11349 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11350 apzHpux11_Extern_SendfileMachs,
11351 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11352 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11354 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11355 apzHpux11_Extern_SendpathMachs,
11356 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11357 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11359 { zHpux11_FabsfName, zHpux11_FabsfList,
11360 apzHpux11_FabsfMachs,
11361 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11362 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11364 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11365 apzHpux11_Pthread_PointerMachs,
11366 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11367 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11369 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11370 apzHpux11_Pthread_ConstMachs,
11371 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11372 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11374 { zHpux11_Size_TName, zHpux11_Size_TList,
11375 apzHpux11_Size_TMachs,
11376 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11377 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11379 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11380 apzHpux11_SnprintfMachs,
11381 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11382 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11384 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11385 apzHpux11_VsnprintfMachs,
11386 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11387 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11389 { zHpux_VsscanfName, zHpux_VsscanfList,
11390 apzHpux_VsscanfMachs,
11391 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11392 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11394 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11395 apzHpux8_Bogus_InlinesMachs,
11396 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11397 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11399 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11400 apzHpux_C99_IntptrMachs,
11401 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11402 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11404 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11405 apzHpux_C99_InttypesMachs,
11406 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11407 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11409 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11410 apzHpux_C99_Inttypes2Machs,
11411 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11412 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11414 { zHpux_C99_Inttypes3Name, zHpux_C99_Inttypes3List,
11415 apzHpux_C99_Inttypes3Machs,
11416 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11417 aHpux_C99_Inttypes3Tests, apzHpux_C99_Inttypes3Patch, 0 },
11419 { zHpux_C99_Inttypes4Name, zHpux_C99_Inttypes4List,
11420 apzHpux_C99_Inttypes4Machs,
11421 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
11422 aHpux_C99_Inttypes4Tests, apzHpux_C99_Inttypes4Patch, 0 },
11424 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11425 apzHpux_Ctype_MacrosMachs,
11426 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11427 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11429 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11430 apzHpux_Extern_ErrnoMachs,
11431 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11432 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11434 { zHpux_HtonlName, zHpux_HtonlList,
11435 apzHpux_HtonlMachs,
11436 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11437 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11439 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11440 apzHpux_Imaginary_IMachs,
11441 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11442 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11444 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11445 apzHpux_Inttype_Int8_TMachs,
11446 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11447 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11449 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11450 apzHpux_Long_DoubleMachs,
11451 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11452 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11454 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11455 apzHpux_Long_Double_2Machs,
11456 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11457 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11459 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11460 apzHpux_Pthread_InitializersMachs,
11461 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11462 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11464 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11465 apzHpux_Spu_InfoMachs,
11466 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11467 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11469 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11470 apzHpux_Stdint_Least_FastMachs,
11471 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11472 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11474 { zHpux_LongjmpName, zHpux_LongjmpList,
11475 apzHpux_LongjmpMachs,
11476 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11477 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11479 { zHpux_SystimeName, zHpux_SystimeList,
11480 apzHpux_SystimeMachs,
11481 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11482 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11484 { zHuge_Val_HexName, zHuge_Val_HexList,
11485 apzHuge_Val_HexMachs,
11486 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11487 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11489 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11490 apzHuge_Valf_HexMachs,
11491 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11492 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11494 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11495 apzHuge_Vall_HexMachs,
11496 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11497 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11499 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11500 apzInt_Abort_Free_And_ExitMachs,
11501 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11502 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11504 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11505 apzIo_Quotes_DefMachs,
11506 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11507 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11509 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11510 apzIo_Quotes_UseMachs,
11511 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11512 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11514 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11515 apzIp_Missing_SemiMachs,
11516 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11517 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11519 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11520 apzIrix_Limits_ConstMachs,
11521 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11522 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11524 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11525 apzIrix_Stdio_Va_ListMachs,
11526 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11527 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11529 { zKandr_ConcatName, zKandr_ConcatList,
11530 apzKandr_ConcatMachs,
11531 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11532 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11534 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11535 apzLinux_Ia64_UcontextMachs,
11536 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11537 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11539 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11540 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11541 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11542 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11544 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11545 apzLynxos_Missing_PutenvMachs,
11546 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11547 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11549 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11550 apzMachine_Ansi_H_Va_ListMachs,
11551 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11552 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11554 { zMachine_NameName, zMachine_NameList,
11555 apzMachine_NameMachs,
11556 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11557 aMachine_NameTests, apzMachine_NamePatch, 0 },
11559 { zMath_ExceptionName, zMath_ExceptionList,
11560 apzMath_ExceptionMachs,
11561 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11562 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11564 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11565 apzMath_Huge_Val_From_Dbl_MaxMachs,
11566 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11567 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11569 { zNested_Auth_DesName, zNested_Auth_DesList,
11570 apzNested_Auth_DesMachs,
11571 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11572 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11574 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11575 apzNetbsd_C99_Inline_1Machs,
11576 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11577 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11579 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11580 apzNetbsd_C99_Inline_2Machs,
11581 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11582 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11584 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11585 apzNetbsd_Extra_SemicolonMachs,
11586 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11587 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11589 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11590 apzNewlib_Stdint_1Machs,
11591 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11592 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11594 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11595 apzNewlib_Stdint_2Machs,
11596 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11597 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11599 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11600 apzNext_Math_PrefixMachs,
11601 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11602 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11604 { zNext_TemplateName, zNext_TemplateList,
11605 apzNext_TemplateMachs,
11606 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11607 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11609 { zNext_VolitileName, zNext_VolitileList,
11610 apzNext_VolitileMachs,
11611 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11612 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11614 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11615 apzNext_Wait_UnionMachs,
11616 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11617 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11619 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11620 apzNodeent_SyntaxMachs,
11621 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11622 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11624 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11625 apzOpenbsd_Null_DefinitionMachs,
11626 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11627 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11629 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11630 apzObstack_Lvalue_CastMachs,
11631 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11632 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11634 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11635 apzOpenbsd_Va_StartMachs,
11636 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11637 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11639 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11640 apzOsf_Namespace_AMachs,
11641 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11642 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11644 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11645 apzOsf_Namespace_CMachs,
11646 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11647 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11649 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11650 apzPthread_Incomplete_Struct_ArgumentMachs,
11651 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11652 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11654 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11655 apzRead_Ret_TypeMachs,
11656 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11657 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11659 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11660 apzRpc_Xdr_Lvalue_Cast_AMachs,
11661 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11662 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11664 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11665 apzRpc_Xdr_Lvalue_Cast_BMachs,
11666 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11667 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11669 { zRs6000_DoubleName, zRs6000_DoubleList,
11670 apzRs6000_DoubleMachs,
11671 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11672 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11674 { zRs6000_FchmodName, zRs6000_FchmodList,
11675 apzRs6000_FchmodMachs,
11676 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11677 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11679 { zRs6000_ParamName, zRs6000_ParamList,
11680 apzRs6000_ParamMachs,
11681 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11682 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11684 { zSolaris___RestrictName, zSolaris___RestrictList,
11685 apzSolaris___RestrictMachs,
11686 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11687 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11689 { zSolaris_ComplexName, zSolaris_ComplexList,
11690 apzSolaris_ComplexMachs,
11691 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11692 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11694 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11695 apzSolaris_Complex_CxxMachs,
11696 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11697 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11699 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11700 apzSolaris_Cxx_LinkageMachs,
11701 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11702 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11704 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11705 apzSolaris_Getc_Strict_StdcMachs,
11706 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11707 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11709 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11710 apzSolaris_Gets_C11Machs,
11711 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11712 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11714 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11715 apzSolaris_Gets_Cxx14Machs,
11716 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11717 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11719 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11720 apzSolaris_Int_ConstMachs,
11721 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11722 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11724 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11725 apzSolaris_Int_Limits_1Machs,
11726 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11727 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11729 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11730 apzSolaris_Int_Limits_2Machs,
11731 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11732 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11734 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11735 apzSolaris_Int_Limits_3Machs,
11736 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11737 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11739 { zSolaris_Math_1Name, zSolaris_Math_1List,
11740 apzSolaris_Math_1Machs,
11741 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11742 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11744 { zSolaris_Math_10Name, zSolaris_Math_10List,
11745 apzSolaris_Math_10Machs,
11746 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11747 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11749 { zSolaris_Math_2Name, zSolaris_Math_2List,
11750 apzSolaris_Math_2Machs,
11751 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11752 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11754 { zSolaris_Math_3Name, zSolaris_Math_3List,
11755 apzSolaris_Math_3Machs,
11756 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11757 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11759 { zSolaris_Math_4Name, zSolaris_Math_4List,
11760 apzSolaris_Math_4Machs,
11761 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11762 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11764 { zSolaris_Math_8Name, zSolaris_Math_8List,
11765 apzSolaris_Math_8Machs,
11766 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11767 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11769 { zSolaris_Math_9Name, zSolaris_Math_9List,
11770 apzSolaris_Math_9Machs,
11771 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11772 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11774 { zSolaris_Math_11Name, zSolaris_Math_11List,
11775 apzSolaris_Math_11Machs,
11776 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11777 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11779 { zSolaris_Math_12Name, zSolaris_Math_12List,
11780 apzSolaris_Math_12Machs,
11781 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11782 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11784 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11785 apzSolaris_Once_Init_1Machs,
11786 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11787 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11789 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11790 apzSolaris_Posix_Spawn_RestrictMachs,
11791 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11792 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11794 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11795 apzSolaris_Pow_Int_OverloadMachs,
11796 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11797 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11799 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11800 apzSolaris_Rwlock_Init_1Machs,
11801 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11802 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11804 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11805 apzSolaris_Std___FilbufMachs,
11806 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11807 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11809 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11810 apzSolaris_Std_Gets_Cxx14Machs,
11811 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11812 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11814 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11815 apzSolaris_Stdio_TagMachs,
11816 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11817 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11819 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11820 apzSolaris_Stdlib_NoreturnMachs,
11821 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11822 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11824 { zStatsswtchName, zStatsswtchList,
11825 apzStatsswtchMachs,
11826 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11827 aStatsswtchTests, apzStatsswtchPatch, 0 },
11829 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11830 apzStdio_Stdarg_HMachs,
11831 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11832 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11834 { zStdio_Va_ListName, zStdio_Va_ListList,
11835 apzStdio_Va_ListMachs,
11836 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11837 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11839 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11840 apzStdio_Va_List_ClientsMachs,
11841 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11842 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11844 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11845 apzStrict_Ansi_NotMachs,
11846 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11847 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11849 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11850 apzStrict_Ansi_Not_CtdMachs,
11851 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11852 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11854 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11855 apzStrict_Ansi_OnlyMachs,
11856 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11857 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11859 { zStruct_FileName, zStruct_FileList,
11860 apzStruct_FileMachs,
11861 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11862 aStruct_FileTests, apzStruct_FilePatch, 0 },
11864 { zStruct_SockaddrName, zStruct_SockaddrList,
11865 apzStruct_SockaddrMachs,
11866 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11867 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11869 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11870 apzSun_Auth_ProtoMachs,
11871 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11872 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11874 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11875 apzSun_Bogus_IfdefMachs,
11876 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11877 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11879 { zSun_CatmacroName, zSun_CatmacroList,
11880 apzSun_CatmacroMachs,
11881 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11882 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11884 { zSun_MallocName, zSun_MallocList,
11885 apzSun_MallocMachs,
11886 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11887 aSun_MallocTests, apzSun_MallocPatch, 0 },
11889 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11890 apzSun_Rusers_SemiMachs,
11891 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11892 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11894 { zSun_SignalName, zSun_SignalList,
11895 apzSun_SignalMachs,
11896 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11897 aSun_SignalTests, apzSun_SignalPatch, 0 },
11899 { zSunos_StrlenName, zSunos_StrlenList,
11900 apzSunos_StrlenMachs,
11901 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11902 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11904 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11905 apzSuse_Linux_Vt_CxxMachs,
11906 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11907 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11909 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11910 apzSvr4_Disable_OptMachs,
11911 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11912 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11914 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11915 apzSvr4_GetcwdMachs,
11916 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11917 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11919 { zSvr4_ProfilName, zSvr4_ProfilList,
11920 apzSvr4_ProfilMachs,
11921 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11922 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11924 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11925 apzSvr4_Sighandler_TypeMachs,
11926 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11927 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11929 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11930 apzSvr4_Undeclared_GetrngeMachs,
11931 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11932 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11934 { zSysv68_StringName, zSysv68_StringList,
11935 apzSysv68_StringMachs,
11936 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11937 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11939 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11940 apzSysz_Stdlib_For_SunMachs,
11941 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11942 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11944 { zThread_KeywordName, zThread_KeywordList,
11945 apzThread_KeywordMachs,
11946 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11947 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11949 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11950 apzTinfo_CplusplusMachs,
11951 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11952 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11954 { zUltrix_ConstName, zUltrix_ConstList,
11955 apzUltrix_ConstMachs,
11956 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11957 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11959 { zUltrix_Const2Name, zUltrix_Const2List,
11960 apzUltrix_Const2Machs,
11961 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11962 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11964 { zVa_I960_MacroName, zVa_I960_MacroList,
11965 apzVa_I960_MacroMachs,
11966 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11967 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11969 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11970 apzVms_Add_Missing_BracesMachs,
11971 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11972 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11974 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11975 apzVms_Decc_BuiltinMachs,
11976 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11977 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11979 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11980 apzVms_Define_Can_Use_Extern_PrefixMachs,
11981 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11982 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11984 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11985 apzVms_Disable_Decc_String_BuiltinsMachs,
11986 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11987 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11989 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11990 apzVms_Do_Not_Redeclare_HostaliasMachs,
11991 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11992 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11994 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11995 apzVms_Forward_Declare_StructMachs,
11996 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11997 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11999 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
12000 apzVms_No_64bit_GetoptMachs,
12001 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12002 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
12004 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
12005 apzVms_Use_Fast_SetjmpMachs,
12006 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12007 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
12009 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
12010 apzVms_Use_Pragma_Extern_ModelMachs,
12011 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12012 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
12014 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
12015 apzVms_Use_Quoted_IncludeMachs,
12016 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12017 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
12019 { zVoid_NullName, zVoid_NullList,
12021 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12022 aVoid_NullTests, apzVoid_NullPatch, 0 },
12024 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
12025 apzVxworks_Gcc_ProblemMachs,
12026 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
12027 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
12029 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
12030 apzVxworks_Ioctl_MacroMachs,
12031 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12032 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
12034 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
12035 apzVxworks_Mkdir_MacroMachs,
12036 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12037 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
12039 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
12040 apzVxworks_Needs_VxtypesMachs,
12041 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12042 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
12044 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
12045 apzVxworks_Needs_VxworksMachs,
12046 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
12047 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
12049 { zVxworks_RegsName, zVxworks_RegsList,
12050 apzVxworks_RegsMachs,
12051 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12052 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
12054 { zVxworks_TimeName, zVxworks_TimeList,
12055 apzVxworks_TimeMachs,
12056 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12057 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
12059 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
12060 apzVxworks_Write_ConstMachs,
12061 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12062 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
12064 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
12065 apzVxworks_Iolib_Include_UnistdMachs,
12066 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12067 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
12069 { zX11_ClassName, zX11_ClassList,
12071 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12072 aX11_ClassTests, apzX11_ClassPatch, 0 },
12074 { zX11_Class_UsageName, zX11_Class_UsageList,
12075 apzX11_Class_UsageMachs,
12076 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12077 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
12079 { zX11_NewName, zX11_NewList,
12081 X11_NEW_TEST_CT, FD_MACH_ONLY,
12082 aX11_NewTests, apzX11_NewPatch, 0 },
12084 { zX11_SprintfName, zX11_SprintfList,
12085 apzX11_SprintfMachs,
12086 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12087 aX11_SprintfTests, apzX11_SprintfPatch, 0 }