1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed September 29, 2022 at 10:22:55 PM by AutoGen 5.18.16
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Thu Sep 29 22:22:55 CEST 2022
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 272 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[] =
830 #ifdef __cplusplus\n\
831 extern \"C\" int naccept\\(int, struct sockaddr \\*, socklen_t \\*\\);";
833 #define AIX_EXTERNCPP1_TEST_CT 1
834 static tTestDesc aAix_Externcpp1Tests[] = {
835 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
838 * Fix Command Arguments for Aix_Externcpp1
840 static const char* apzAix_Externcpp1Patch[] = {
843 #ifdef __cplusplus\n\
845 extern \"C\" int naccept(int, struct sockaddr *, socklen_t *);",
848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
850 * Description of Aix_Externcpp2 fix
852 tSCC zAix_Externcpp2Name[] =
856 * File name selection pattern
858 tSCC zAix_Externcpp2List[] =
861 * Machine/OS name selection pattern
863 tSCC* apzAix_Externcpp2Machs[] = {
868 * content selection pattern - do fix if pattern found
870 tSCC zAix_Externcpp2Select0[] =
871 "#endif /\\* COMPAT_43 \\*/\n\
872 #else /\\* __cplusplus \\*/";
874 #define AIX_EXTERNCPP2_TEST_CT 1
875 static tTestDesc aAix_Externcpp2Tests[] = {
876 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
879 * Fix Command Arguments for Aix_Externcpp2
881 static const char* apzAix_Externcpp2Patch[] = {
883 "#endif /* COMPAT_43 */\n\
884 } /* extern \"C++\" */\n\
885 #else /* __cplusplus */",
888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
890 * Description of Aix_Inttypes fix
892 tSCC zAix_InttypesName[] =
896 * File name selection pattern
898 tSCC zAix_InttypesList[] =
901 * Machine/OS name selection pattern
903 tSCC* apzAix_InttypesMachs[] = {
908 * content selection pattern - do fix if pattern found
910 tSCC zAix_InttypesSelect0[] =
911 "#if !defined\\(__cplusplus\\) \\|\\| defined\\(__STDC_FORMAT_MACROS\\)";
913 #define AIX_INTTYPES_TEST_CT 1
914 static tTestDesc aAix_InttypesTests[] = {
915 { TT_EGREP, zAix_InttypesSelect0, (regex_t*)NULL }, };
918 * Fix Command Arguments for Aix_Inttypes
920 static const char* apzAix_InttypesPatch[] = {
925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
927 * Description of Aix_Malloc fix
929 tSCC zAix_MallocName[] =
933 * File name selection pattern
935 tSCC zAix_MallocList[] =
938 * Machine/OS name selection pattern
940 tSCC* apzAix_MallocMachs[] = {
945 * content selection pattern - do fix if pattern found
947 tSCC zAix_MallocSelect0[] =
948 "#ifdef __cplusplus\n\
950 [ \t]extern \"builtin\" char \\*__alloca \\(size_t\\);";
952 #define AIX_MALLOC_TEST_CT 1
953 static tTestDesc aAix_MallocTests[] = {
954 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
957 * Fix Command Arguments for Aix_Malloc
959 static const char* apzAix_MallocPatch[] = {
961 "#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
963 \textern \"builtin\" char *__alloca (size_t);",
966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
968 * Description of Aix_Net_If_Arp fix
970 tSCC zAix_Net_If_ArpName[] =
974 * File name selection pattern
976 tSCC zAix_Net_If_ArpList[] =
979 * Machine/OS name selection pattern
981 tSCC* apzAix_Net_If_ArpMachs[] = {
986 * content selection pattern - do fix if pattern found
988 tSCC zAix_Net_If_ArpSelect0[] =
989 "^struct fc_softc \\{";
991 #define AIX_NET_IF_ARP_TEST_CT 1
992 static tTestDesc aAix_Net_If_ArpTests[] = {
993 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
996 * Fix Command Arguments for Aix_Net_If_Arp
998 static const char* apzAix_Net_If_ArpPatch[] = {
1000 "typedef struct _fc_softc {",
1003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1005 * Description of Aix_Null fix
1007 tSCC zAix_NullName[] =
1011 * File name selection pattern
1013 tSCC zAix_NullList[] =
1014 "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";
1016 * Machine/OS name selection pattern
1018 tSCC* apzAix_NullMachs[] = {
1020 (const char*)NULL };
1023 * content selection pattern - do fix if pattern found
1025 tSCC zAix_NullSelect0[] =
1026 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
1029 * content bypass pattern - skip fix if pattern found
1031 tSCC zAix_NullBypass0[] =
1034 #define AIX_NULL_TEST_CT 2
1035 static tTestDesc aAix_NullTests[] = {
1036 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
1037 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
1040 * Fix Command Arguments for Aix_Null
1042 static const char* apzAix_NullPatch[] = {
1045 #ifdef __cplusplus\n\
1047 #define NULL __null\n\
1048 #else /* ! __GNUG__ */\n\
1050 #endif /* __GNUG__ */\n\
1051 #else /* ! __cplusplus */\n\
1052 #define NULL ((void *)0)\n\
1053 #endif /* __cplusplus */\n\
1054 #endif /* !NULL */",
1057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1059 * Description of Aix_Once_Init_1 fix
1061 tSCC zAix_Once_Init_1Name[] =
1065 * File name selection pattern
1067 tSCC zAix_Once_Init_1List[] =
1070 * Machine/OS name selection pattern
1072 tSCC* apzAix_Once_Init_1Machs[] = {
1074 (const char*)NULL };
1077 * content selection pattern - do fix if pattern found
1079 tSCC zAix_Once_Init_1Select0[] =
1080 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1083 #define AIX_ONCE_INIT_1_TEST_CT 1
1084 static tTestDesc aAix_Once_Init_1Tests[] = {
1085 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1088 * Fix Command Arguments for Aix_Once_Init_1
1090 static const char* apzAix_Once_Init_1Patch[] = {
1092 "#define PTHREAD_ONCE_INIT \\\n\
1096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1098 * Description of Aix_Once_Init_2 fix
1100 tSCC zAix_Once_Init_2Name[] =
1104 * File name selection pattern
1106 tSCC zAix_Once_Init_2List[] =
1109 * Machine/OS name selection pattern
1111 tSCC* apzAix_Once_Init_2Machs[] = {
1113 (const char*)NULL };
1116 * content selection pattern - do fix if pattern found
1118 tSCC zAix_Once_Init_2Select0[] =
1122 #define AIX_ONCE_INIT_2_TEST_CT 1
1123 static tTestDesc aAix_Once_Init_2Tests[] = {
1124 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1127 * Fix Command Arguments for Aix_Once_Init_2
1129 static const char* apzAix_Once_Init_2Patch[] = {
1135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1137 * Description of Aix_Mutex_Initializer_1 fix
1139 tSCC zAix_Mutex_Initializer_1Name[] =
1140 "aix_mutex_initializer_1";
1143 * File name selection pattern
1145 tSCC zAix_Mutex_Initializer_1List[] =
1148 * Machine/OS name selection pattern
1150 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1152 (const char*)NULL };
1155 * content selection pattern - do fix if pattern found
1157 tSCC zAix_Mutex_Initializer_1Select0[] =
1158 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1161 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1162 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1163 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1166 * Fix Command Arguments for Aix_Mutex_Initializer_1
1168 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1170 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1176 * Description of Aix_Cond_Initializer_1 fix
1178 tSCC zAix_Cond_Initializer_1Name[] =
1179 "aix_cond_initializer_1";
1182 * File name selection pattern
1184 tSCC zAix_Cond_Initializer_1List[] =
1187 * Machine/OS name selection pattern
1189 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1191 (const char*)NULL };
1194 * content selection pattern - do fix if pattern found
1196 tSCC zAix_Cond_Initializer_1Select0[] =
1197 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1200 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1201 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1202 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1205 * Fix Command Arguments for Aix_Cond_Initializer_1
1207 static const char* apzAix_Cond_Initializer_1Patch[] = {
1209 "#define PTHREAD_COND_INITIALIZER \\\n\
1213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1215 * Description of Aix_Rwlock_Initializer_1 fix
1217 tSCC zAix_Rwlock_Initializer_1Name[] =
1218 "aix_rwlock_initializer_1";
1221 * File name selection pattern
1223 tSCC zAix_Rwlock_Initializer_1List[] =
1226 * Machine/OS name selection pattern
1228 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1230 (const char*)NULL };
1233 * content selection pattern - do fix if pattern found
1235 tSCC zAix_Rwlock_Initializer_1Select0[] =
1236 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1239 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1240 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1241 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1244 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1246 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1248 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1254 * Description of Aix_Physadr_T fix
1256 tSCC zAix_Physadr_TName[] =
1260 * File name selection pattern
1262 tSCC zAix_Physadr_TList[] =
1265 * Machine/OS name selection pattern
1267 tSCC* apzAix_Physadr_TMachs[] = {
1269 (const char*)NULL };
1272 * content selection pattern - do fix if pattern found
1274 tSCC zAix_Physadr_TSelect0[] =
1275 "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
1277 #define AIX_PHYSADR_T_TEST_CT 1
1278 static tTestDesc aAix_Physadr_TTests[] = {
1279 { TT_EGREP, zAix_Physadr_TSelect0, (regex_t*)NULL }, };
1282 * Fix Command Arguments for Aix_Physadr_T
1284 static const char* apzAix_Physadr_TPatch[] = {
1286 "typedef struct __physadr_s %1",
1289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1291 * Description of Aix_Pthread fix
1293 tSCC zAix_PthreadName[] =
1297 * File name selection pattern
1299 tSCC zAix_PthreadList[] =
1302 * Machine/OS name selection pattern
1304 #define apzAix_PthreadMachs (const char**)NULL
1307 * content selection pattern - do fix if pattern found
1309 tSCC zAix_PthreadSelect0[] =
1310 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1314 #define AIX_PTHREAD_TEST_CT 1
1315 static tTestDesc aAix_PthreadTests[] = {
1316 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1319 * Fix Command Arguments for Aix_Pthread
1321 static const char* apzAix_PthreadPatch[] = {
1326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1328 * Description of Aix_Stdint_1 fix
1330 tSCC zAix_Stdint_1Name[] =
1334 * File name selection pattern
1336 tSCC zAix_Stdint_1List[] =
1337 "stdint-aix.h\0stdint.h\0";
1339 * Machine/OS name selection pattern
1341 tSCC* apzAix_Stdint_1Machs[] = {
1343 (const char*)NULL };
1346 * content selection pattern - do fix if pattern found
1348 tSCC zAix_Stdint_1Select0[] =
1349 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1350 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1352 #define AIX_STDINT_1_TEST_CT 1
1353 static tTestDesc aAix_Stdint_1Tests[] = {
1354 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1357 * Fix Command Arguments for Aix_Stdint_1
1359 static const char* apzAix_Stdint_1Patch[] = {
1361 "#define UINT8_MAX\t(255)\n\
1362 #define UINT16_MAX\t(65535)",
1365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1367 * Description of Aix_Stdint_2 fix
1369 tSCC zAix_Stdint_2Name[] =
1373 * File name selection pattern
1375 tSCC zAix_Stdint_2List[] =
1376 "stdint-aix.h\0stdint.h\0";
1378 * Machine/OS name selection pattern
1380 tSCC* apzAix_Stdint_2Machs[] = {
1382 (const char*)NULL };
1385 * content selection pattern - do fix if pattern found
1387 tSCC zAix_Stdint_2Select0[] =
1388 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1389 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1390 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1392 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1393 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1394 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1396 #define AIX_STDINT_2_TEST_CT 1
1397 static tTestDesc aAix_Stdint_2Tests[] = {
1398 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1401 * Fix Command Arguments for Aix_Stdint_2
1403 static const char* apzAix_Stdint_2Patch[] = {
1405 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1406 #define INTPTR_MAX\t9223372036854775807L\n\
1407 #define UINTPTR_MAX\t18446744073709551615UL\n\
1409 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1410 #define INTPTR_MAX\t2147483647L\n\
1411 #define UINTPTR_MAX\t4294967295UL",
1414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1416 * Description of Aix_Stdint_3 fix
1418 tSCC zAix_Stdint_3Name[] =
1422 * File name selection pattern
1424 tSCC zAix_Stdint_3List[] =
1425 "stdint-aix.h\0stdint.h\0";
1427 * Machine/OS name selection pattern
1429 tSCC* apzAix_Stdint_3Machs[] = {
1431 (const char*)NULL };
1434 * content selection pattern - do fix if pattern found
1436 tSCC zAix_Stdint_3Select0[] =
1437 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1438 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1440 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1441 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1443 #define AIX_STDINT_3_TEST_CT 1
1444 static tTestDesc aAix_Stdint_3Tests[] = {
1445 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1448 * Fix Command Arguments for Aix_Stdint_3
1450 static const char* apzAix_Stdint_3Patch[] = {
1452 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1453 #define PTRDIFF_MAX\t9223372036854775807L\n\
1455 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1456 #define PTRDIFF_MAX\t2147483647L",
1459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1461 * Description of Aix_Stdint_4 fix
1463 tSCC zAix_Stdint_4Name[] =
1467 * File name selection pattern
1469 tSCC zAix_Stdint_4List[] =
1470 "stdint-aix.h\0stdint.h\0";
1472 * Machine/OS name selection pattern
1474 tSCC* apzAix_Stdint_4Machs[] = {
1476 (const char*)NULL };
1479 * content selection pattern - do fix if pattern found
1481 tSCC zAix_Stdint_4Select0[] =
1482 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1484 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1486 #define AIX_STDINT_4_TEST_CT 1
1487 static tTestDesc aAix_Stdint_4Tests[] = {
1488 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1491 * Fix Command Arguments for Aix_Stdint_4
1493 static const char* apzAix_Stdint_4Patch[] = {
1495 "#define SIZE_MAX\t18446744073709551615UL\n\
1497 #define SIZE_MAX\t4294967295UL",
1500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1502 * Description of Aix_Stdint_5 fix
1504 tSCC zAix_Stdint_5Name[] =
1508 * File name selection pattern
1510 tSCC zAix_Stdint_5List[] =
1511 "stdint-aix.h\0stdint.h\0";
1513 * Machine/OS name selection pattern
1515 tSCC* apzAix_Stdint_5Machs[] = {
1517 (const char*)NULL };
1520 * content selection pattern - do fix if pattern found
1522 tSCC zAix_Stdint_5Select0[] =
1523 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1524 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1526 #define AIX_STDINT_5_TEST_CT 1
1527 static tTestDesc aAix_Stdint_5Tests[] = {
1528 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1531 * Fix Command Arguments for Aix_Stdint_5
1533 static const char* apzAix_Stdint_5Patch[] = {
1535 "#define UINT8_C(c)\tc\n\
1536 #define UINT16_C(c)\tc",
1539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1541 * Description of Aix_Stdio_Inline fix
1543 tSCC zAix_Stdio_InlineName[] =
1547 * File name selection pattern
1549 tSCC zAix_Stdio_InlineList[] =
1552 * Machine/OS name selection pattern
1554 tSCC* apzAix_Stdio_InlineMachs[] = {
1556 (const char*)NULL };
1559 * content selection pattern - do fix if pattern found
1561 tSCC zAix_Stdio_InlineSelect0[] =
1562 "#ifdef __cplusplus\\\n\
1567 #define AIX_STDIO_INLINE_TEST_CT 1
1568 static tTestDesc aAix_Stdio_InlineTests[] = {
1569 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1572 * Fix Command Arguments for Aix_Stdio_Inline
1574 static const char* apzAix_Stdio_InlinePatch[] = {
1576 "#ifdef __cplusplus\n\
1579 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1585 * Description of Aix_Stdlib_Malloc fix
1587 tSCC zAix_Stdlib_MallocName[] =
1588 "aix_stdlib_malloc";
1591 * File name selection pattern
1593 tSCC zAix_Stdlib_MallocList[] =
1596 * Machine/OS name selection pattern
1598 tSCC* apzAix_Stdlib_MallocMachs[] = {
1600 (const char*)NULL };
1603 * content selection pattern - do fix if pattern found
1605 tSCC zAix_Stdlib_MallocSelect0[] =
1606 "#define[ \t]+malloc[ \t]+__linux_malloc";
1608 #define AIX_STDLIB_MALLOC_TEST_CT 1
1609 static tTestDesc aAix_Stdlib_MallocTests[] = {
1610 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1613 * Fix Command Arguments for Aix_Stdlib_Malloc
1615 static const char* apzAix_Stdlib_MallocPatch[] = {
1617 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1622 * Description of Aix_Stdlib_Realloc fix
1624 tSCC zAix_Stdlib_ReallocName[] =
1625 "aix_stdlib_realloc";
1628 * File name selection pattern
1630 tSCC zAix_Stdlib_ReallocList[] =
1633 * Machine/OS name selection pattern
1635 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1637 (const char*)NULL };
1640 * content selection pattern - do fix if pattern found
1642 tSCC zAix_Stdlib_ReallocSelect0[] =
1643 "#define[ \t]+realloc[ \t]+__linux_realloc";
1645 #define AIX_STDLIB_REALLOC_TEST_CT 1
1646 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1647 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1650 * Fix Command Arguments for Aix_Stdlib_Realloc
1652 static const char* apzAix_Stdlib_ReallocPatch[] = {
1654 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1657 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1659 * Description of Aix_Stdlib_Calloc fix
1661 tSCC zAix_Stdlib_CallocName[] =
1662 "aix_stdlib_calloc";
1665 * File name selection pattern
1667 tSCC zAix_Stdlib_CallocList[] =
1670 * Machine/OS name selection pattern
1672 tSCC* apzAix_Stdlib_CallocMachs[] = {
1674 (const char*)NULL };
1677 * content selection pattern - do fix if pattern found
1679 tSCC zAix_Stdlib_CallocSelect0[] =
1680 "#define[ \t]+calloc[ \t]+__linux_calloc";
1682 #define AIX_STDLIB_CALLOC_TEST_CT 1
1683 static tTestDesc aAix_Stdlib_CallocTests[] = {
1684 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1687 * Fix Command Arguments for Aix_Stdlib_Calloc
1689 static const char* apzAix_Stdlib_CallocPatch[] = {
1691 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1696 * Description of Aix_Stdlib_Valloc fix
1698 tSCC zAix_Stdlib_VallocName[] =
1699 "aix_stdlib_valloc";
1702 * File name selection pattern
1704 tSCC zAix_Stdlib_VallocList[] =
1707 * Machine/OS name selection pattern
1709 tSCC* apzAix_Stdlib_VallocMachs[] = {
1711 (const char*)NULL };
1714 * content selection pattern - do fix if pattern found
1716 tSCC zAix_Stdlib_VallocSelect0[] =
1717 "#define[ \t]+valloc[ \t]+__linux_valloc";
1719 #define AIX_STDLIB_VALLOC_TEST_CT 1
1720 static tTestDesc aAix_Stdlib_VallocTests[] = {
1721 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1724 * Fix Command Arguments for Aix_Stdlib_Valloc
1726 static const char* apzAix_Stdlib_VallocPatch[] = {
1728 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1733 * Description of Aix_Stdlib_Vec_Malloc fix
1735 tSCC zAix_Stdlib_Vec_MallocName[] =
1736 "aix_stdlib_vec_malloc";
1739 * File name selection pattern
1741 tSCC zAix_Stdlib_Vec_MallocList[] =
1744 * Machine/OS name selection pattern
1746 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1748 (const char*)NULL };
1751 * content selection pattern - do fix if pattern found
1753 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1754 "#define[ \t]+malloc[ \t]+vec_malloc";
1756 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1757 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1758 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1761 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1763 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1765 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1770 * Description of Aix_Stdlib_Vec_Calloc fix
1772 tSCC zAix_Stdlib_Vec_CallocName[] =
1773 "aix_stdlib_vec_calloc";
1776 * File name selection pattern
1778 tSCC zAix_Stdlib_Vec_CallocList[] =
1781 * Machine/OS name selection pattern
1783 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1785 (const char*)NULL };
1788 * content selection pattern - do fix if pattern found
1790 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1791 "#define[ \t]+calloc[ \t]+vec_calloc";
1793 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1794 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1795 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1798 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1800 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1802 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1807 * Description of Aix_Strtof_Const fix
1809 tSCC zAix_Strtof_ConstName[] =
1813 * File name selection pattern
1815 tSCC zAix_Strtof_ConstList[] =
1818 * Machine/OS name selection pattern
1820 tSCC* apzAix_Strtof_ConstMachs[] = {
1822 (const char*)NULL };
1825 * content selection pattern - do fix if pattern found
1827 tSCC zAix_Strtof_ConstSelect0[] =
1828 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1830 #define AIX_STRTOF_CONST_TEST_CT 1
1831 static tTestDesc aAix_Strtof_ConstTests[] = {
1832 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1835 * Fix Command Arguments for Aix_Strtof_Const
1837 static const char* apzAix_Strtof_ConstPatch[] = {
1839 "%1(const char *, char **);",
1842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1844 * Description of Aix_Sysmachine fix
1846 tSCC zAix_SysmachineName[] =
1850 * File name selection pattern
1852 tSCC zAix_SysmachineList[] =
1855 * Machine/OS name selection pattern
1857 tSCC* apzAix_SysmachineMachs[] = {
1859 (const char*)NULL };
1862 * content selection pattern - do fix if pattern found
1864 tSCC zAix_SysmachineSelect0[] =
1867 #define AIX_SYSMACHINE_TEST_CT 1
1868 static tTestDesc aAix_SysmachineTests[] = {
1869 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1872 * Fix Command Arguments for Aix_Sysmachine
1874 static const char* apzAix_SysmachinePatch[] = {
1879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1881 * Description of Aix_Syswait_2 fix
1883 tSCC zAix_Syswait_2Name[] =
1887 * File name selection pattern
1889 tSCC zAix_Syswait_2List[] =
1892 * Machine/OS name selection pattern
1894 tSCC* apzAix_Syswait_2Machs[] = {
1896 (const char*)NULL };
1899 * content selection pattern - do fix if pattern found
1901 tSCC zAix_Syswait_2Select0[] =
1902 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1904 #define AIX_SYSWAIT_2_TEST_CT 1
1905 static tTestDesc aAix_Syswait_2Tests[] = {
1906 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1909 * Fix Command Arguments for Aix_Syswait_2
1911 static const char* apzAix_Syswait_2Patch[] = {
1916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1918 * Description of Aix_Volatile fix
1920 tSCC zAix_VolatileName[] =
1924 * File name selection pattern
1926 tSCC zAix_VolatileList[] =
1929 * Machine/OS name selection pattern
1931 tSCC* apzAix_VolatileMachs[] = {
1933 (const char*)NULL };
1936 * content selection pattern - do fix if pattern found
1938 tSCC zAix_VolatileSelect0[] =
1939 "typedef volatile int sig_atomic_t";
1941 #define AIX_VOLATILE_TEST_CT 1
1942 static tTestDesc aAix_VolatileTests[] = {
1943 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1946 * Fix Command Arguments for Aix_Volatile
1948 static const char* apzAix_VolatilePatch[] = {
1950 "typedef int sig_atomic_t",
1953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1955 * Description of Aix_Unistd fix
1957 tSCC zAix_UnistdName[] =
1961 * File name selection pattern
1963 tSCC zAix_UnistdList[] =
1966 * Machine/OS name selection pattern
1968 tSCC* apzAix_UnistdMachs[] = {
1970 (const char*)NULL };
1973 * content selection pattern - do fix if pattern found
1975 tSCC zAix_UnistdSelect0[] =
1976 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1978 #define AIX_UNISTD_TEST_CT 1
1979 static tTestDesc aAix_UnistdTests[] = {
1980 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1983 * Fix Command Arguments for Aix_Unistd
1985 static const char* apzAix_UnistdPatch[] = {
1987 "\tstatic int\t\tgetdtablesize(void)",
1990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1992 * Description of Alpha___Assert fix
1994 tSCC zAlpha___AssertName[] =
1998 * File name selection pattern
2000 tSCC zAlpha___AssertList[] =
2003 * Machine/OS name selection pattern
2005 #define apzAlpha___AssertMachs (const char**)NULL
2008 * content selection pattern - do fix if pattern found
2010 tSCC zAlpha___AssertSelect0[] =
2011 "__assert\\(char \\*, char \\*, int\\)";
2013 #define ALPHA___ASSERT_TEST_CT 1
2014 static tTestDesc aAlpha___AssertTests[] = {
2015 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
2018 * Fix Command Arguments for Alpha___Assert
2020 static const char* apzAlpha___AssertPatch[] = {
2022 "__assert(const char *, const char *, int)",
2025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2027 * Description of Alpha_Assert fix
2029 tSCC zAlpha_AssertName[] =
2033 * File name selection pattern
2035 tSCC zAlpha_AssertList[] =
2038 * Machine/OS name selection pattern
2040 #define apzAlpha_AssertMachs (const char**)NULL
2043 * content selection pattern - do fix if pattern found
2045 tSCC zAlpha_AssertSelect0[] =
2046 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
2048 #define ALPHA_ASSERT_TEST_CT 1
2049 static tTestDesc aAlpha_AssertTests[] = {
2050 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
2053 * Fix Command Arguments for Alpha_Assert
2055 static const char* apzAlpha_AssertPatch[] = {
2060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2062 * Description of Alpha_Getopt fix
2064 tSCC zAlpha_GetoptName[] =
2068 * File name selection pattern
2070 tSCC zAlpha_GetoptList[] =
2071 "stdio.h\0stdlib.h\0";
2073 * Machine/OS name selection pattern
2075 #define apzAlpha_GetoptMachs (const char**)NULL
2078 * content selection pattern - do fix if pattern found
2080 tSCC zAlpha_GetoptSelect0[] =
2081 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
2083 #define ALPHA_GETOPT_TEST_CT 1
2084 static tTestDesc aAlpha_GetoptTests[] = {
2085 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
2088 * Fix Command Arguments for Alpha_Getopt
2090 static const char* apzAlpha_GetoptPatch[] = {
2092 "getopt(int, char *const[], const char *)",
2095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2097 * Description of Alpha_If_Semicolon fix
2099 tSCC zAlpha_If_SemicolonName[] =
2100 "alpha_if_semicolon";
2103 * File name selection pattern
2105 tSCC zAlpha_If_SemicolonList[] =
2108 * Machine/OS name selection pattern
2110 #define apzAlpha_If_SemicolonMachs (const char**)NULL
2113 * content selection pattern - do fix if pattern found
2115 tSCC zAlpha_If_SemicolonSelect0[] =
2116 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2118 #define ALPHA_IF_SEMICOLON_TEST_CT 1
2119 static tTestDesc aAlpha_If_SemicolonTests[] = {
2120 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
2123 * Fix Command Arguments for Alpha_If_Semicolon
2125 static const char* apzAlpha_If_SemicolonPatch[] = {
2127 "struct sockaddr vmif_paddr;\t/*",
2130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2132 * Description of Alpha_Parens fix
2134 tSCC zAlpha_ParensName[] =
2138 * File name selection pattern
2140 tSCC zAlpha_ParensList[] =
2143 * Machine/OS name selection pattern
2145 #define apzAlpha_ParensMachs (const char**)NULL
2148 * content selection pattern - do fix if pattern found
2150 tSCC zAlpha_ParensSelect0[] =
2151 "#ifndef\\(__mips64\\)";
2153 #define ALPHA_PARENS_TEST_CT 1
2154 static tTestDesc aAlpha_ParensTests[] = {
2155 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2158 * Fix Command Arguments for Alpha_Parens
2160 static const char* apzAlpha_ParensPatch[] = {
2165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2167 * Description of Alpha_Sbrk fix
2169 tSCC zAlpha_SbrkName[] =
2173 * File name selection pattern
2175 tSCC zAlpha_SbrkList[] =
2178 * Machine/OS name selection pattern
2180 #define apzAlpha_SbrkMachs (const char**)NULL
2183 * content selection pattern - do fix if pattern found
2185 tSCC zAlpha_SbrkSelect0[] =
2186 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2188 #define ALPHA_SBRK_TEST_CT 1
2189 static tTestDesc aAlpha_SbrkTests[] = {
2190 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2193 * Fix Command Arguments for Alpha_Sbrk
2195 static const char* apzAlpha_SbrkPatch[] = {
2200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2202 * Description of Avoid_Bool_Define fix
2204 tSCC zAvoid_Bool_DefineName[] =
2205 "avoid_bool_define";
2208 * File name selection pattern
2210 tSCC zAvoid_Bool_DefineList[] =
2211 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2213 * Machine/OS name selection pattern
2215 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2218 * content selection pattern - do fix if pattern found
2220 tSCC zAvoid_Bool_DefineSelect0[] =
2221 "#[ \t]*define[ \t]+bool[ \t]";
2224 * content bypass pattern - skip fix if pattern found
2226 tSCC zAvoid_Bool_DefineBypass0[] =
2229 #define AVOID_BOOL_DEFINE_TEST_CT 2
2230 static tTestDesc aAvoid_Bool_DefineTests[] = {
2231 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2232 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2235 * Fix Command Arguments for Avoid_Bool_Define
2237 static const char* apzAvoid_Bool_DefinePatch[] = {
2239 "#ifndef __cplusplus\n\
2242 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2247 * Description of Avoid_Bool_Type fix
2249 tSCC zAvoid_Bool_TypeName[] =
2253 * File name selection pattern
2255 tSCC zAvoid_Bool_TypeList[] =
2256 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2258 * Machine/OS name selection pattern
2260 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2263 * content selection pattern - do fix if pattern found
2265 tSCC zAvoid_Bool_TypeSelect0[] =
2266 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2269 * content bypass pattern - skip fix if pattern found
2271 tSCC zAvoid_Bool_TypeBypass0[] =
2274 #define AVOID_BOOL_TYPE_TEST_CT 2
2275 static tTestDesc aAvoid_Bool_TypeTests[] = {
2276 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2277 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2280 * Fix Command Arguments for Avoid_Bool_Type
2282 static const char* apzAvoid_Bool_TypePatch[] = {
2284 "#ifndef __cplusplus\n\
2289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2291 * Description of Avoid_Wchar_T_Type fix
2293 tSCC zAvoid_Wchar_T_TypeName[] =
2294 "avoid_wchar_t_type";
2297 * File name selection pattern
2299 #define zAvoid_Wchar_T_TypeList (char*)NULL
2301 * Machine/OS name selection pattern
2303 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2306 * content selection pattern - do fix if pattern found
2308 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2309 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2312 * content bypass pattern - skip fix if pattern found
2314 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2316 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2318 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2319 "XFree86: xc/lib/X11/Xlib\\.h";
2321 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2322 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2323 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2324 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2325 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2326 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2329 * Fix Command Arguments for Avoid_Wchar_T_Type
2331 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2333 "#ifndef __cplusplus\n\
2338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2340 * Description of Bad_Struct_Term fix
2342 tSCC zBad_Struct_TermName[] =
2346 * File name selection pattern
2348 tSCC zBad_Struct_TermList[] =
2351 * Machine/OS name selection pattern
2353 #define apzBad_Struct_TermMachs (const char**)NULL
2356 * content selection pattern - do fix if pattern found
2358 tSCC zBad_Struct_TermSelect0[] =
2359 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2361 #define BAD_STRUCT_TERM_TEST_CT 1
2362 static tTestDesc aBad_Struct_TermTests[] = {
2363 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2366 * Fix Command Arguments for Bad_Struct_Term
2368 static const char* apzBad_Struct_TermPatch[] = {
2373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2375 * Description of Badquote fix
2377 tSCC zBadquoteName[] =
2381 * File name selection pattern
2383 tSCC zBadquoteList[] =
2384 "sundev/vuid_event.h\0";
2386 * Machine/OS name selection pattern
2388 #define apzBadquoteMachs (const char**)NULL
2391 * content selection pattern - do fix if pattern found
2393 tSCC zBadquoteSelect0[] =
2396 #define BADQUOTE_TEST_CT 1
2397 static tTestDesc aBadquoteTests[] = {
2398 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2401 * Fix Command Arguments for Badquote
2403 static const char* apzBadquotePatch[] = {
2408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2410 * Description of Broken_Assert_Stdio fix
2412 tSCC zBroken_Assert_StdioName[] =
2413 "broken_assert_stdio";
2416 * File name selection pattern
2418 tSCC zBroken_Assert_StdioList[] =
2421 * Machine/OS name selection pattern
2423 #define apzBroken_Assert_StdioMachs (const char**)NULL
2426 * content selection pattern - do fix if pattern found
2428 tSCC zBroken_Assert_StdioSelect0[] =
2432 * content bypass pattern - skip fix if pattern found
2434 tSCC zBroken_Assert_StdioBypass0[] =
2435 "include.*stdio\\.h";
2437 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2438 static tTestDesc aBroken_Assert_StdioTests[] = {
2439 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2440 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2443 * Fix Command Arguments for Broken_Assert_Stdio
2445 static const char* apzBroken_Assert_StdioPatch[] = {
2447 "#include <stdio.h>\n",
2450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2452 * Description of Broken_Assert_Stdlib fix
2454 tSCC zBroken_Assert_StdlibName[] =
2455 "broken_assert_stdlib";
2458 * File name selection pattern
2460 tSCC zBroken_Assert_StdlibList[] =
2463 * Machine/OS name selection pattern
2465 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2468 * content selection pattern - do fix if pattern found
2470 tSCC zBroken_Assert_StdlibSelect0[] =
2471 "exit *\\(|abort *\\(";
2474 * content bypass pattern - skip fix if pattern found
2476 tSCC zBroken_Assert_StdlibBypass0[] =
2477 "include.*stdlib\\.h";
2479 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2480 static tTestDesc aBroken_Assert_StdlibTests[] = {
2481 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2482 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2485 * Fix Command Arguments for Broken_Assert_Stdlib
2487 static const char* apzBroken_Assert_StdlibPatch[] = {
2489 "#ifdef __cplusplus\n\
2490 #include <stdlib.h>\n\
2494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2496 * Description of Broken_Cabs fix
2498 tSCC zBroken_CabsName[] =
2502 * File name selection pattern
2504 tSCC zBroken_CabsList[] =
2505 "math.h\0architecture/*/math.h\0";
2507 * Machine/OS name selection pattern
2509 #define apzBroken_CabsMachs (const char**)NULL
2512 * content selection pattern - do fix if pattern found
2514 tSCC zBroken_CabsSelect0[] =
2515 "^extern[ \t]+double[ \t]+cabs";
2517 #define BROKEN_CABS_TEST_CT 1
2518 static tTestDesc aBroken_CabsTests[] = {
2519 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2522 * Fix Command Arguments for Broken_Cabs
2524 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2525 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2526 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2531 * Description of Broken_Nan fix
2533 tSCC zBroken_NanName[] =
2537 * File name selection pattern
2539 tSCC zBroken_NanList[] =
2540 "architecture/ppc/math.h\0architecture/*/math.h\0";
2542 * Machine/OS name selection pattern
2544 #define apzBroken_NanMachs (const char**)NULL
2547 * content selection pattern - do fix if pattern found
2549 tSCC zBroken_NanSelect0[] =
2550 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2553 * content bypass pattern - skip fix if pattern found
2555 tSCC zBroken_NanBypass0[] =
2558 #define BROKEN_NAN_TEST_CT 2
2559 static tTestDesc aBroken_NanTests[] = {
2560 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2561 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2564 * Fix Command Arguments for Broken_Nan
2566 static const char* apzBroken_NanPatch[] = {
2571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2573 * Description of Bsd_Stdio_Attrs_Conflict fix
2575 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2576 "bsd_stdio_attrs_conflict";
2579 * File name selection pattern
2581 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2584 * Machine/OS name selection pattern
2586 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2589 (const char*)NULL };
2592 * content selection pattern - do fix if pattern found
2594 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2595 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2597 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2598 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2599 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2602 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2604 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2606 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2607 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2608 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2613 * Description of Ctrl_Quotes_Def fix
2615 tSCC zCtrl_Quotes_DefName[] =
2619 * File name selection pattern
2621 #define zCtrl_Quotes_DefList (char*)NULL
2623 * Machine/OS name selection pattern
2625 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2628 * content selection pattern - do fix if pattern found
2630 tSCC zCtrl_Quotes_DefSelect0[] =
2631 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2633 #define CTRL_QUOTES_DEF_TEST_CT 1
2634 static tTestDesc aCtrl_Quotes_DefTests[] = {
2635 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2638 * Fix Command Arguments for Ctrl_Quotes_Def
2640 static const char* apzCtrl_Quotes_DefPatch[] = {
2645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2647 * Description of Ctrl_Quotes_Use fix
2649 tSCC zCtrl_Quotes_UseName[] =
2653 * File name selection pattern
2655 #define zCtrl_Quotes_UseList (char*)NULL
2657 * Machine/OS name selection pattern
2659 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2662 * content selection pattern - do fix if pattern found
2664 tSCC zCtrl_Quotes_UseSelect0[] =
2665 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2667 #define CTRL_QUOTES_USE_TEST_CT 1
2668 static tTestDesc aCtrl_Quotes_UseTests[] = {
2669 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2672 * Fix Command Arguments for Ctrl_Quotes_Use
2674 static const char* apzCtrl_Quotes_UsePatch[] = {
2679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2681 * Description of Cxx_Unready fix
2683 tSCC zCxx_UnreadyName[] =
2687 * File name selection pattern
2689 tSCC zCxx_UnreadyList[] =
2690 "sys/mman.h\0rpc/types.h\0";
2692 * Machine/OS name selection pattern
2694 #define apzCxx_UnreadyMachs (const char**)NULL
2697 * content selection pattern - do fix if pattern found
2699 tSCC zCxx_UnreadySelect0[] =
2703 * content bypass pattern - skip fix if pattern found
2705 tSCC zCxx_UnreadyBypass0[] =
2706 "\"C\"|__BEGIN_DECLS";
2708 #define CXX_UNREADY_TEST_CT 2
2709 static tTestDesc aCxx_UnreadyTests[] = {
2710 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2711 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2714 * Fix Command Arguments for Cxx_Unready
2716 static const char* apzCxx_UnreadyPatch[] = {
2718 "#ifdef __cplusplus\n\
2721 "#ifdef __cplusplus\n\
2726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2728 * Description of Darwin_Availabilityinternal fix
2730 tSCC zDarwin_AvailabilityinternalName[] =
2731 "darwin_availabilityinternal";
2734 * File name selection pattern
2736 tSCC zDarwin_AvailabilityinternalList[] =
2737 "AvailabilityInternal.h\0";
2739 * Machine/OS name selection pattern
2741 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2743 (const char*)NULL };
2746 * content selection pattern - do fix if pattern found
2748 tSCC zDarwin_AvailabilityinternalSelect0[] =
2749 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2751 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2752 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2753 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2756 * Fix Command Arguments for Darwin_Availabilityinternal
2758 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2760 "#if defined(__has_attribute)\n\
2761 #if __has_attribute(availability)\n\
2771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2773 * Description of Darwin_9_Long_Double_Funcs_2 fix
2775 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2776 "darwin_9_long_double_funcs_2";
2779 * File name selection pattern
2781 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2784 * Machine/OS name selection pattern
2786 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2788 (const char*)NULL };
2791 * content selection pattern - do fix if pattern found
2793 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2794 "#include[ \\t]+\\\"";
2796 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2797 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2798 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2801 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2803 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2806 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2811 * Description of Darwin_Externc fix
2813 tSCC zDarwin_ExterncName[] =
2817 * File name selection pattern
2819 tSCC zDarwin_ExterncList[] =
2820 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2822 * Machine/OS name selection pattern
2824 tSCC* apzDarwin_ExterncMachs[] = {
2826 (const char*)NULL };
2829 * content bypass pattern - skip fix if pattern found
2831 tSCC zDarwin_ExterncBypass0[] =
2833 tSCC zDarwin_ExterncBypass1[] =
2836 #define DARWIN_EXTERNC_TEST_CT 2
2837 static tTestDesc aDarwin_ExterncTests[] = {
2838 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2839 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2842 * Fix Command Arguments for Darwin_Externc
2844 static const char* apzDarwin_ExterncPatch[] = {
2846 "#ifdef __cplusplus\n\
2849 "#ifdef __cplusplus\n\
2854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2856 * Description of Darwin_Gcc4_Breakage fix
2858 tSCC zDarwin_Gcc4_BreakageName[] =
2859 "darwin_gcc4_breakage";
2862 * File name selection pattern
2864 tSCC zDarwin_Gcc4_BreakageList[] =
2865 "AvailabilityMacros.h\0";
2867 * Machine/OS name selection pattern
2869 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2871 (const char*)NULL };
2874 * content selection pattern - do fix if pattern found
2876 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2877 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2879 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2880 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2881 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2884 * Fix Command Arguments for Darwin_Gcc4_Breakage
2886 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2888 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2893 * Description of Darwin_Ll_Funcs_Avail fix
2895 tSCC zDarwin_Ll_Funcs_AvailName[] =
2896 "darwin_ll_funcs_avail";
2899 * File name selection pattern
2901 tSCC zDarwin_Ll_Funcs_AvailList[] =
2902 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2904 * Machine/OS name selection pattern
2906 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2908 (const char*)NULL };
2911 * content selection pattern - do fix if pattern found
2913 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2914 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2916 #define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2917 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2918 { TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2921 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2923 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2924 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2929 * Description of Darwin_Longjmp_Noreturn fix
2931 tSCC zDarwin_Longjmp_NoreturnName[] =
2932 "darwin_longjmp_noreturn";
2935 * File name selection pattern
2937 tSCC zDarwin_Longjmp_NoreturnList[] =
2940 * Machine/OS name selection pattern
2942 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2944 (const char*)NULL };
2947 * content selection pattern - do fix if pattern found
2949 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2950 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2953 * content bypass pattern - skip fix if pattern found
2955 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2958 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2959 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2960 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2961 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2964 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2966 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2968 "%1 __attribute__ ((__noreturn__));",
2971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2973 * Description of Darwin_Os_Trace_1 fix
2975 tSCC zDarwin_Os_Trace_1Name[] =
2976 "darwin_os_trace_1";
2979 * File name selection pattern
2981 tSCC zDarwin_Os_Trace_1List[] =
2984 * Machine/OS name selection pattern
2986 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2988 (const char*)NULL };
2991 * content selection pattern - do fix if pattern found
2993 tSCC zDarwin_Os_Trace_1Select0[] =
2994 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2996 #define DARWIN_OS_TRACE_1_TEST_CT 1
2997 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2998 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
3001 * Fix Command Arguments for Darwin_Os_Trace_1
3003 static const char* apzDarwin_Os_Trace_1Patch[] = {
3008 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3010 * Description of Darwin_Os_Trace_2 fix
3012 tSCC zDarwin_Os_Trace_2Name[] =
3013 "darwin_os_trace_2";
3016 * File name selection pattern
3018 tSCC zDarwin_Os_Trace_2List[] =
3021 * Machine/OS name selection pattern
3023 tSCC* apzDarwin_Os_Trace_2Machs[] = {
3025 (const char*)NULL };
3028 * content selection pattern - do fix if pattern found
3030 tSCC zDarwin_Os_Trace_2Select0[] =
3031 "typedef.*\\^os_trace_payload_t.*";
3033 #define DARWIN_OS_TRACE_2_TEST_CT 1
3034 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
3035 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
3038 * Fix Command Arguments for Darwin_Os_Trace_2
3040 static const char* apzDarwin_Os_Trace_2Patch[] = {
3047 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3049 * Description of Darwin_Os_Trace_3 fix
3051 tSCC zDarwin_Os_Trace_3Name[] =
3052 "darwin_os_trace_3";
3055 * File name selection pattern
3057 tSCC zDarwin_Os_Trace_3List[] =
3060 * Machine/OS name selection pattern
3062 tSCC* apzDarwin_Os_Trace_3Machs[] = {
3064 (const char*)NULL };
3067 * content selection pattern - do fix if pattern found
3069 tSCC zDarwin_Os_Trace_3Select0[] =
3073 _os_trace.*os_trace_payload_t payload);";
3075 #define DARWIN_OS_TRACE_3_TEST_CT 1
3076 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
3077 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
3080 * Fix Command Arguments for Darwin_Os_Trace_3
3082 static const char* apzDarwin_Os_Trace_3Patch[] = {
3089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3091 * Description of Darwin_Os_Base_1 fix
3093 tSCC zDarwin_Os_Base_1Name[] =
3097 * File name selection pattern
3099 tSCC zDarwin_Os_Base_1List[] =
3102 * Machine/OS name selection pattern
3104 tSCC* apzDarwin_Os_Base_1Machs[] = {
3106 (const char*)NULL };
3109 * content selection pattern - do fix if pattern found
3111 tSCC zDarwin_Os_Base_1Select0[] =
3112 "#define __has_attribute.*\n\
3115 #define DARWIN_OS_BASE_1_TEST_CT 1
3116 static tTestDesc aDarwin_Os_Base_1Tests[] = {
3117 { TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
3120 * Fix Command Arguments for Darwin_Os_Base_1
3122 static const char* apzDarwin_Os_Base_1Patch[] = {
3125 #ifndef __has_extension\n\
3126 #define __has_extension(x) 0\n\
3130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3132 * Description of Darwin_Dispatch_Object_1 fix
3134 tSCC zDarwin_Dispatch_Object_1Name[] =
3135 "darwin_dispatch_object_1";
3138 * File name selection pattern
3140 tSCC zDarwin_Dispatch_Object_1List[] =
3141 "dispatch/object.h\0";
3143 * Machine/OS name selection pattern
3145 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3147 (const char*)NULL };
3150 * content selection pattern - do fix if pattern found
3152 tSCC zDarwin_Dispatch_Object_1Select0[] =
3153 "typedef void.*\\^dispatch_block_t.*";
3155 #define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
3156 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3157 { TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3160 * Fix Command Arguments for Darwin_Dispatch_Object_1
3162 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3171 * Description of Darwin_Private_Extern fix
3173 tSCC zDarwin_Private_ExternName[] =
3174 "darwin_private_extern";
3177 * File name selection pattern
3179 tSCC zDarwin_Private_ExternList[] =
3182 * Machine/OS name selection pattern
3184 tSCC* apzDarwin_Private_ExternMachs[] = {
3186 (const char*)NULL };
3189 * content selection pattern - do fix if pattern found
3191 tSCC zDarwin_Private_ExternSelect0[] =
3192 "__private_extern__ [a-z_]+ _dyld_";
3194 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3195 static tTestDesc aDarwin_Private_ExternTests[] = {
3196 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3199 * Fix Command Arguments for Darwin_Private_Extern
3201 static const char* apzDarwin_Private_ExternPatch[] = {
3204 "__private_extern__",
3207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3209 * Description of Darwin_Stdint_1 fix
3211 tSCC zDarwin_Stdint_1Name[] =
3215 * File name selection pattern
3217 tSCC zDarwin_Stdint_1List[] =
3218 "stdint-darwin.h\0stdint.h\0";
3220 * Machine/OS name selection pattern
3222 tSCC* apzDarwin_Stdint_1Machs[] = {
3224 (const char*)NULL };
3227 * content selection pattern - do fix if pattern found
3229 tSCC zDarwin_Stdint_1Select0[] =
3230 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3231 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3233 #define DARWIN_STDINT_1_TEST_CT 1
3234 static tTestDesc aDarwin_Stdint_1Tests[] = {
3235 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3238 * Fix Command Arguments for Darwin_Stdint_1
3240 static const char* apzDarwin_Stdint_1Patch[] = {
3242 "#define UINT8_C(v)\tv\n\
3243 #define UINT16_C(v)\tv",
3246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3248 * Description of Darwin_Stdint_2 fix
3250 tSCC zDarwin_Stdint_2Name[] =
3254 * File name selection pattern
3256 tSCC zDarwin_Stdint_2List[] =
3257 "stdint-darwin.h\0stdint.h\0";
3259 * Machine/OS name selection pattern
3261 tSCC* apzDarwin_Stdint_2Machs[] = {
3263 (const char*)NULL };
3266 * content selection pattern - do fix if pattern found
3268 tSCC zDarwin_Stdint_2Select0[] =
3269 "#if __WORDSIZE == 64\n\
3270 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3271 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3273 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3274 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3277 #define DARWIN_STDINT_2_TEST_CT 1
3278 static tTestDesc aDarwin_Stdint_2Tests[] = {
3279 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3282 * Fix Command Arguments for Darwin_Stdint_2
3284 static const char* apzDarwin_Stdint_2Patch[] = {
3286 "#if __WORDSIZE == 64\n\
3287 #define INTPTR_MAX 9223372036854775807L\n\
3288 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3290 #define INTPTR_MAX 2147483647L\n\
3291 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3297 * Description of Darwin_Stdint_3 fix
3299 tSCC zDarwin_Stdint_3Name[] =
3303 * File name selection pattern
3305 tSCC zDarwin_Stdint_3List[] =
3306 "stdint-darwin.h\0stdint.h\0";
3308 * Machine/OS name selection pattern
3310 tSCC* apzDarwin_Stdint_3Machs[] = {
3312 (const char*)NULL };
3315 * content selection pattern - do fix if pattern found
3317 tSCC zDarwin_Stdint_3Select0[] =
3318 "#if __WORDSIZE == 64\n\
3319 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3321 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3324 #define DARWIN_STDINT_3_TEST_CT 1
3325 static tTestDesc aDarwin_Stdint_3Tests[] = {
3326 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3329 * Fix Command Arguments for Darwin_Stdint_3
3331 static const char* apzDarwin_Stdint_3Patch[] = {
3333 "#if __WORDSIZE == 64\n\
3334 #define UINTPTR_MAX 18446744073709551615UL\n\
3336 #define UINTPTR_MAX 4294967295UL\n\
3340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3342 * Description of Darwin_Stdint_4 fix
3344 tSCC zDarwin_Stdint_4Name[] =
3348 * File name selection pattern
3350 tSCC zDarwin_Stdint_4List[] =
3351 "stdint-darwin.h\0stdint.h\0";
3353 * Machine/OS name selection pattern
3355 tSCC* apzDarwin_Stdint_4Machs[] = {
3357 (const char*)NULL };
3360 * content selection pattern - do fix if pattern found
3362 tSCC zDarwin_Stdint_4Select0[] =
3363 "#if __WORDSIZE == 64\n\
3364 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3366 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3369 #define DARWIN_STDINT_4_TEST_CT 1
3370 static tTestDesc aDarwin_Stdint_4Tests[] = {
3371 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3374 * Fix Command Arguments for Darwin_Stdint_4
3376 static const char* apzDarwin_Stdint_4Patch[] = {
3378 "#if __WORDSIZE == 64\n\
3379 #define SIZE_MAX 18446744073709551615UL\n\
3381 #define SIZE_MAX 4294967295UL\n\
3385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3387 * Description of Darwin_Stdint_5 fix
3389 tSCC zDarwin_Stdint_5Name[] =
3393 * File name selection pattern
3395 tSCC zDarwin_Stdint_5List[] =
3396 "stdint-darwin.h\0stdint.h\0";
3398 * Machine/OS name selection pattern
3400 tSCC* apzDarwin_Stdint_5Machs[] = {
3402 (const char*)NULL };
3405 * content selection pattern - do fix if pattern found
3407 tSCC zDarwin_Stdint_5Select0[] =
3408 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3409 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3410 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3412 #define DARWIN_STDINT_5_TEST_CT 1
3413 static tTestDesc aDarwin_Stdint_5Tests[] = {
3414 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3417 * Fix Command Arguments for Darwin_Stdint_5
3419 static const char* apzDarwin_Stdint_5Patch[] = {
3421 "#if __WORDSIZE == 64\n\
3422 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3423 #define INTMAX_MAX 9223372036854775807L\n\
3424 #define UINTMAX_MAX 18446744073709551615UL\n\
3426 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3427 #define INTMAX_MAX 9223372036854775807LL\n\
3428 #define UINTMAX_MAX 18446744073709551615ULL\n\
3432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3434 * Description of Darwin_Stdint_6 fix
3436 tSCC zDarwin_Stdint_6Name[] =
3440 * File name selection pattern
3442 tSCC zDarwin_Stdint_6List[] =
3443 "stdint-darwin.h\0stdint.h\0";
3445 * Machine/OS name selection pattern
3447 tSCC* apzDarwin_Stdint_6Machs[] = {
3449 (const char*)NULL };
3452 * content selection pattern - do fix if pattern found
3454 tSCC zDarwin_Stdint_6Select0[] =
3455 "#if __WORDSIZE == 64\n\
3456 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3457 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3459 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3460 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3463 #define DARWIN_STDINT_6_TEST_CT 1
3464 static tTestDesc aDarwin_Stdint_6Tests[] = {
3465 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3468 * Fix Command Arguments for Darwin_Stdint_6
3470 static const char* apzDarwin_Stdint_6Patch[] = {
3472 "#if __WORDSIZE == 64\n\
3473 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3474 #define PTRDIFF_MAX 9223372036854775807L\n\
3476 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3477 #define PTRDIFF_MAX 2147483647\n\
3481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3483 * Description of Darwin_Stdint_7 fix
3485 tSCC zDarwin_Stdint_7Name[] =
3489 * File name selection pattern
3491 tSCC zDarwin_Stdint_7List[] =
3492 "stdint-darwin.h\0stdint.h\0";
3494 * Machine/OS name selection pattern
3496 tSCC* apzDarwin_Stdint_7Machs[] = {
3498 (const char*)NULL };
3501 * content selection pattern - do fix if pattern found
3503 tSCC zDarwin_Stdint_7Select0[] =
3504 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3505 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3507 #define DARWIN_STDINT_7_TEST_CT 1
3508 static tTestDesc aDarwin_Stdint_7Tests[] = {
3509 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3512 * Fix Command Arguments for Darwin_Stdint_7
3514 static const char* apzDarwin_Stdint_7Patch[] = {
3516 "#if __WORDSIZE == 64\n\
3517 #define INTMAX_C(v) (v ## L)\n\
3518 #define UINTMAX_C(v) (v ## UL)\n\
3520 #define INTMAX_C(v) (v ## LL)\n\
3521 #define UINTMAX_C(v) (v ## ULL)\n\
3525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3527 * Description of Darwin_Ucred__Atomic fix
3529 tSCC zDarwin_Ucred__AtomicName[] =
3530 "darwin_ucred__Atomic";
3533 * File name selection pattern
3535 tSCC zDarwin_Ucred__AtomicList[] =
3538 * Machine/OS name selection pattern
3540 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3542 (const char*)NULL };
3545 * content selection pattern - do fix if pattern found
3547 tSCC zDarwin_Ucred__AtomicSelect0[] =
3550 #define DARWIN_UCRED__ATOMIC_TEST_CT 1
3551 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3552 { TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3555 * Fix Command Arguments for Darwin_Ucred__Atomic
3557 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3559 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3560 # define _Atomic volatile\n\
3562 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3569 * Description of Darwin_Flt_Eval_Method fix
3571 tSCC zDarwin_Flt_Eval_MethodName[] =
3572 "darwin_flt_eval_method";
3575 * File name selection pattern
3577 tSCC zDarwin_Flt_Eval_MethodList[] =
3580 * Machine/OS name selection pattern
3582 tSCC* apzDarwin_Flt_Eval_MethodMachs[] = {
3584 (const char*)NULL };
3587 * content selection pattern - do fix if pattern found
3589 tSCC zDarwin_Flt_Eval_MethodSelect0[] =
3590 "^#if __FLT_EVAL_METHOD__ == 0$";
3592 #define DARWIN_FLT_EVAL_METHOD_TEST_CT 1
3593 static tTestDesc aDarwin_Flt_Eval_MethodTests[] = {
3594 { TT_EGREP, zDarwin_Flt_Eval_MethodSelect0, (regex_t*)NULL }, };
3597 * Fix Command Arguments for Darwin_Flt_Eval_Method
3599 static const char* apzDarwin_Flt_Eval_MethodPatch[] = {
3601 "#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 16",
3604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3606 * Description of Dec_Intern_Asm fix
3608 tSCC zDec_Intern_AsmName[] =
3612 * File name selection pattern
3614 tSCC zDec_Intern_AsmList[] =
3617 * Machine/OS name selection pattern
3619 #define apzDec_Intern_AsmMachs (const char**)NULL
3620 #define DEC_INTERN_ASM_TEST_CT 0
3621 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3624 * Fix Command Arguments for Dec_Intern_Asm
3626 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3627 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3629 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3635 * Description of Djgpp_Wchar_H fix
3637 tSCC zDjgpp_Wchar_HName[] =
3641 * File name selection pattern
3643 #define zDjgpp_Wchar_HList (char*)NULL
3645 * Machine/OS name selection pattern
3647 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3650 * content selection pattern - do fix if pattern found
3652 tSCC zDjgpp_Wchar_HSelect0[] =
3656 * content bypass pattern - skip fix if pattern found
3658 tSCC zDjgpp_Wchar_HBypass0[] =
3661 #define DJGPP_WCHAR_H_TEST_CT 2
3662 static tTestDesc aDjgpp_Wchar_HTests[] = {
3663 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3664 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3667 * Fix Command Arguments for Djgpp_Wchar_H
3669 static const char* apzDjgpp_Wchar_HPatch[] = {
3672 #include <sys/djtypes.h>",
3673 "#include <stddef.h>",
3676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3678 * Description of Ecd_Cursor fix
3680 tSCC zEcd_CursorName[] =
3684 * File name selection pattern
3686 tSCC zEcd_CursorList[] =
3687 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3689 * Machine/OS name selection pattern
3691 #define apzEcd_CursorMachs (const char**)NULL
3694 * content selection pattern - do fix if pattern found
3696 tSCC zEcd_CursorSelect0[] =
3699 #define ECD_CURSOR_TEST_CT 1
3700 static tTestDesc aEcd_CursorTests[] = {
3701 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3704 * Fix Command Arguments for Ecd_Cursor
3706 static const char* apzEcd_CursorPatch[] = {
3711 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3713 * Description of Feraiseexcept_Nosse_Divbyzero fix
3715 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3716 "feraiseexcept_nosse_divbyzero";
3719 * File name selection pattern
3721 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3722 "bits/fenv.h\0*/bits/fenv.h\0";
3724 * Machine/OS name selection pattern
3726 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3727 "i[34567]86-*-linux*",
3730 (const char*)NULL };
3733 * content selection pattern - do fix if pattern found
3735 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3736 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3739 * content bypass pattern - skip fix if pattern found
3741 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3742 "\"fdivp .*; fwait\"";
3744 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3745 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3746 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3747 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3750 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3752 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3754 "# ifdef __SSE_MATH__\n\
3757 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3758 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3764 * Description of Feraiseexcept_Nosse_Invalid fix
3766 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3767 "feraiseexcept_nosse_invalid";
3770 * File name selection pattern
3772 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3773 "bits/fenv.h\0*/bits/fenv.h\0";
3775 * Machine/OS name selection pattern
3777 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3778 "i[34567]86-*-linux*",
3781 (const char*)NULL };
3784 * content selection pattern - do fix if pattern found
3786 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3787 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3790 * content bypass pattern - skip fix if pattern found
3792 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3793 "\"fdiv .*; fwait\"";
3795 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3796 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3797 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3798 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3801 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3803 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3805 "# ifdef __SSE_MATH__\n\
3808 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3809 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3815 * Description of Freebsd_Gcc3_Breakage fix
3817 tSCC zFreebsd_Gcc3_BreakageName[] =
3818 "freebsd_gcc3_breakage";
3821 * File name selection pattern
3823 tSCC zFreebsd_Gcc3_BreakageList[] =
3826 * Machine/OS name selection pattern
3828 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3830 (const char*)NULL };
3833 * content selection pattern - do fix if pattern found
3835 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3836 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3839 * content bypass pattern - skip fix if pattern found
3841 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3842 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3844 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3845 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3846 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3847 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3850 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3852 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3854 "%0 || __GNUC__ >= 3",
3857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3859 * Description of Freebsd_Gcc4_Breakage fix
3861 tSCC zFreebsd_Gcc4_BreakageName[] =
3862 "freebsd_gcc4_breakage";
3865 * File name selection pattern
3867 tSCC zFreebsd_Gcc4_BreakageList[] =
3870 * Machine/OS name selection pattern
3872 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3874 (const char*)NULL };
3877 * content selection pattern - do fix if pattern found
3879 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3880 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3882 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3883 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3884 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3887 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3889 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3891 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3896 * Description of Glibc_C99_Inline_1 fix
3898 tSCC zGlibc_C99_Inline_1Name[] =
3899 "glibc_c99_inline_1";
3902 * File name selection pattern
3904 tSCC zGlibc_C99_Inline_1List[] =
3905 "features.h\0*/features.h\0";
3907 * Machine/OS name selection pattern
3909 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3912 * content selection pattern - do fix if pattern found
3914 tSCC zGlibc_C99_Inline_1Select0[] =
3915 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3917 #define GLIBC_C99_INLINE_1_TEST_CT 1
3918 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3919 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3922 * Fix Command Arguments for Glibc_C99_Inline_1
3924 static const char* apzGlibc_C99_Inline_1Patch[] = {
3926 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3929 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3931 * Description of Glibc_C99_Inline_1a fix
3933 tSCC zGlibc_C99_Inline_1aName[] =
3934 "glibc_c99_inline_1a";
3937 * File name selection pattern
3939 tSCC zGlibc_C99_Inline_1aList[] =
3940 "features.h\0*/features.h\0";
3942 * Machine/OS name selection pattern
3944 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3947 * content selection pattern - do fix if pattern found
3949 tSCC zGlibc_C99_Inline_1aSelect0[] =
3950 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3951 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3953 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3954 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3955 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3958 * Fix Command Arguments for Glibc_C99_Inline_1a
3960 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3962 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3968 * Description of Glibc_C99_Inline_2 fix
3970 tSCC zGlibc_C99_Inline_2Name[] =
3971 "glibc_c99_inline_2";
3974 * File name selection pattern
3976 tSCC zGlibc_C99_Inline_2List[] =
3977 "sys/stat.h\0*/sys/stat.h\0";
3979 * Machine/OS name selection pattern
3981 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3984 * content selection pattern - do fix if pattern found
3986 tSCC zGlibc_C99_Inline_2Select0[] =
3987 "extern __inline__ int";
3989 #define GLIBC_C99_INLINE_2_TEST_CT 1
3990 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3991 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3994 * Fix Command Arguments for Glibc_C99_Inline_2
3996 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3997 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4000 __inline__ int \\1/",
4001 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4004 __inline__ int \\1/",
4005 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4008 __inline__ int \\1/",
4009 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4012 __inline__ int __REDIRECT\\1 (\\2/",
4013 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4016 __inline__ int __REDIRECT\\1 (\\2/",
4017 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
4023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4025 * Description of Glibc_C99_Inline_3 fix
4027 tSCC zGlibc_C99_Inline_3Name[] =
4028 "glibc_c99_inline_3";
4031 * File name selection pattern
4033 tSCC zGlibc_C99_Inline_3List[] =
4034 "bits/string2.h\0*/bits/string2.h\0";
4036 * Machine/OS name selection pattern
4038 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
4041 * content selection pattern - do fix if pattern found
4043 tSCC zGlibc_C99_Inline_3Select0[] =
4047 * content bypass pattern - skip fix if pattern found
4049 tSCC zGlibc_C99_Inline_3Bypass0[] =
4050 "__extern_inline|__GNU_STDC_INLINE__";
4052 #define GLIBC_C99_INLINE_3_TEST_CT 2
4053 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
4054 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
4055 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
4058 * Fix Command Arguments for Glibc_C99_Inline_3
4060 static const char* apzGlibc_C99_Inline_3Patch[] = {
4062 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
4063 "^# ifdef __cplusplus$",
4066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4068 * Description of Glibc_C99_Inline_4 fix
4070 tSCC zGlibc_C99_Inline_4Name[] =
4071 "glibc_c99_inline_4";
4074 * File name selection pattern
4076 tSCC zGlibc_C99_Inline_4List[] =
4077 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
4079 * Machine/OS name selection pattern
4081 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
4084 * content selection pattern - do fix if pattern found
4086 tSCC zGlibc_C99_Inline_4Select0[] =
4087 "(^| )extern __inline";
4090 * content bypass pattern - skip fix if pattern found
4092 tSCC zGlibc_C99_Inline_4Bypass0[] =
4093 "__extern_inline|__gnu_inline__";
4095 #define GLIBC_C99_INLINE_4_TEST_CT 2
4096 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
4097 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
4098 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
4101 * Fix Command Arguments for Glibc_C99_Inline_4
4103 static const char* apzGlibc_C99_Inline_4Patch[] = {
4105 "%0 __attribute__ ((__gnu_inline__))",
4108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4110 * Description of Glibc_Cxx_Floatn_1 fix
4112 tSCC zGlibc_Cxx_Floatn_1Name[] =
4113 "glibc_cxx_floatn_1";
4116 * File name selection pattern
4118 tSCC zGlibc_Cxx_Floatn_1List[] =
4119 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4121 * Machine/OS name selection pattern
4123 #define apzGlibc_Cxx_Floatn_1Machs (const char**)NULL
4126 * content selection pattern - do fix if pattern found
4128 tSCC zGlibc_Cxx_Floatn_1Select0[] =
4129 "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4132 )?([ \t]*#[ \t]*if[^\n\
4134 )?[ \t]*#[ \t]*define __f(16|32|64|128)x?\\()";
4136 #define GLIBC_CXX_FLOATN_1_TEST_CT 1
4137 static tTestDesc aGlibc_Cxx_Floatn_1Tests[] = {
4138 { TT_EGREP, zGlibc_Cxx_Floatn_1Select0, (regex_t*)NULL }, };
4141 * Fix Command Arguments for Glibc_Cxx_Floatn_1
4143 static const char* apzGlibc_Cxx_Floatn_1Patch[] = {
4145 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4151 * Description of Glibc_Cxx_Floatn_2 fix
4153 tSCC zGlibc_Cxx_Floatn_2Name[] =
4154 "glibc_cxx_floatn_2";
4157 * File name selection pattern
4159 tSCC zGlibc_Cxx_Floatn_2List[] =
4160 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4162 * Machine/OS name selection pattern
4164 #define apzGlibc_Cxx_Floatn_2Machs (const char**)NULL
4167 * content selection pattern - do fix if pattern found
4169 tSCC zGlibc_Cxx_Floatn_2Select0[] =
4170 "^([ \t]*#[ \t]*(el)?if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4173 )?[ \t]*typedef[ \t]+[^\n\
4174 ]*[ \t]+_Float(16|32|64|128)x?([ \t]+__attribute__ \\(\\(__mode__ \\(__HF__\\)\\)\\))?;)";
4176 #define GLIBC_CXX_FLOATN_2_TEST_CT 1
4177 static tTestDesc aGlibc_Cxx_Floatn_2Tests[] = {
4178 { TT_EGREP, zGlibc_Cxx_Floatn_2Select0, (regex_t*)NULL }, };
4181 * Fix Command Arguments for Glibc_Cxx_Floatn_2
4183 static const char* apzGlibc_Cxx_Floatn_2Patch[] = {
4185 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4191 * Description of Glibc_Cxx_Floatn_3 fix
4193 tSCC zGlibc_Cxx_Floatn_3Name[] =
4194 "glibc_cxx_floatn_3";
4197 * File name selection pattern
4199 tSCC zGlibc_Cxx_Floatn_3List[] =
4200 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4202 * Machine/OS name selection pattern
4204 #define apzGlibc_Cxx_Floatn_3Machs (const char**)NULL
4207 * content selection pattern - do fix if pattern found
4209 tSCC zGlibc_Cxx_Floatn_3Select0[] =
4210 "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4215 )?([ \t]*#[ \t]*if[^\n\
4217 )?([ \t]*typedef[ \t]+[^\n\
4219 )?[ \t]*#[ \t]*define __CFLOAT(16|32|64|128)X?[ \t]+)";
4221 #define GLIBC_CXX_FLOATN_3_TEST_CT 1
4222 static tTestDesc aGlibc_Cxx_Floatn_3Tests[] = {
4223 { TT_EGREP, zGlibc_Cxx_Floatn_3Select0, (regex_t*)NULL }, };
4226 * Fix Command Arguments for Glibc_Cxx_Floatn_3
4228 static const char* apzGlibc_Cxx_Floatn_3Patch[] = {
4230 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4236 * Description of Glibc_Cxx_Floatn_4 fix
4238 tSCC zGlibc_Cxx_Floatn_4Name[] =
4239 "glibc_cxx_floatn_4";
4242 * File name selection pattern
4244 tSCC zGlibc_Cxx_Floatn_4List[] =
4245 "bits/floatn.h\0*/bits/floatn.h\0";
4247 * Machine/OS name selection pattern
4249 #define apzGlibc_Cxx_Floatn_4Machs (const char**)NULL
4252 * content selection pattern - do fix if pattern found
4254 tSCC zGlibc_Cxx_Floatn_4Select0[] =
4255 "^([ \t]*#[ \t]*if __LDBL_MANT_DIG__ == 113 && )defined __cplusplus\n\
4258 )?[ \t]*typedef[ \t]+[^\n\
4259 ]*[ \t]+_Float128;)";
4261 #define GLIBC_CXX_FLOATN_4_TEST_CT 1
4262 static tTestDesc aGlibc_Cxx_Floatn_4Tests[] = {
4263 { TT_EGREP, zGlibc_Cxx_Floatn_4Select0, (regex_t*)NULL }, };
4266 * Fix Command Arguments for Glibc_Cxx_Floatn_4
4268 static const char* apzGlibc_Cxx_Floatn_4Patch[] = {
4270 "%1defined __cplusplus && !__GNUC_PREREQ (13, 0)\n\
4274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4276 * Description of Glibc_Cxx_Floatn_5 fix
4278 tSCC zGlibc_Cxx_Floatn_5Name[] =
4279 "glibc_cxx_floatn_5";
4282 * File name selection pattern
4284 tSCC zGlibc_Cxx_Floatn_5List[] =
4285 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4287 * Machine/OS name selection pattern
4289 #define apzGlibc_Cxx_Floatn_5Machs (const char**)NULL
4292 * content selection pattern - do fix if pattern found
4294 tSCC zGlibc_Cxx_Floatn_5Select0[] =
4295 "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4296 ([ \t]*#[ \t]+error \"_Float128[xX] supported but no )";
4298 #define GLIBC_CXX_FLOATN_5_TEST_CT 1
4299 static tTestDesc aGlibc_Cxx_Floatn_5Tests[] = {
4300 { TT_EGREP, zGlibc_Cxx_Floatn_5Select0, (regex_t*)NULL }, };
4303 * Fix Command Arguments for Glibc_Cxx_Floatn_5
4305 static const char* apzGlibc_Cxx_Floatn_5Patch[] = {
4307 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4313 * Description of Glibc_Mutex_Init fix
4315 tSCC zGlibc_Mutex_InitName[] =
4319 * File name selection pattern
4321 tSCC zGlibc_Mutex_InitList[] =
4324 * Machine/OS name selection pattern
4326 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4329 * content selection pattern - do fix if pattern found
4331 tSCC zGlibc_Mutex_InitSelect0[] =
4332 "\\{ *\\{ *0, *\\} *\\}";
4334 #define GLIBC_MUTEX_INIT_TEST_CT 1
4335 static tTestDesc aGlibc_Mutex_InitTests[] = {
4336 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4339 * Fix Command Arguments for Glibc_Mutex_Init
4341 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4342 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4344 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4346 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4347 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4348 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4349 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4350 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4351 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4352 "-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\
4354 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4357 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4359 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4360 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4365 * Description of Glibc_Stdint fix
4367 tSCC zGlibc_StdintName[] =
4371 * File name selection pattern
4373 tSCC zGlibc_StdintList[] =
4376 * Machine/OS name selection pattern
4378 #define apzGlibc_StdintMachs (const char**)NULL
4381 * content selection pattern - do fix if pattern found
4383 tSCC zGlibc_StdintSelect0[] =
4386 #define GLIBC_STDINT_TEST_CT 1
4387 static tTestDesc aGlibc_StdintTests[] = {
4388 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4391 * Fix Command Arguments for Glibc_Stdint
4393 static const char* apzGlibc_StdintPatch[] = {
4395 "# define UINT8_C(c)\tc\n\
4396 # define UINT16_C(c)\tc",
4397 "# define UINT8_C\\(c\\)\tc ## U\n\
4398 # define UINT16_C\\(c\\)\tc ## U",
4401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4403 * Description of Glibc_Strncpy fix
4405 tSCC zGlibc_StrncpyName[] =
4409 * File name selection pattern
4411 tSCC zGlibc_StrncpyList[] =
4412 "bits/string2.h\0*/bits/string2.h\0";
4414 * Machine/OS name selection pattern
4416 #define apzGlibc_StrncpyMachs (const char**)NULL
4419 * content bypass pattern - skip fix if pattern found
4421 tSCC zGlibc_StrncpyBypass0[] =
4422 "__builtin_strncpy";
4424 #define GLIBC_STRNCPY_TEST_CT 1
4425 static tTestDesc aGlibc_StrncpyTests[] = {
4426 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4429 * Fix Command Arguments for Glibc_Strncpy
4431 static const char* apzGlibc_StrncpyPatch[] = {
4433 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4434 "# define strncpy([^\n\
4440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4442 * Description of Glibc_Tgmath fix
4444 tSCC zGlibc_TgmathName[] =
4448 * File name selection pattern
4450 tSCC zGlibc_TgmathList[] =
4453 * Machine/OS name selection pattern
4455 #define apzGlibc_TgmathMachs (const char**)NULL
4458 * content selection pattern - do fix if pattern found
4460 tSCC zGlibc_TgmathSelect0[] =
4461 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4464 * content bypass pattern - skip fix if pattern found
4466 tSCC zGlibc_TgmathBypass0[] =
4467 "__floating_type\\(type\\) \\\\\n\
4468 .*__builtin_classify_type";
4470 #define GLIBC_TGMATH_TEST_CT 2
4471 static tTestDesc aGlibc_TgmathTests[] = {
4472 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4473 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4476 * Fix Command Arguments for Glibc_Tgmath
4478 static const char* apzGlibc_TgmathPatch[] = {
4480 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4485 * Description of Gnu_Types fix
4487 tSCC zGnu_TypesName[] =
4491 * File name selection pattern
4493 tSCC zGnu_TypesList[] =
4494 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4496 * Machine/OS name selection pattern
4498 tSCC* apzGnu_TypesMachs[] = {
4499 "*-*-solaris2.1[0-9]*",
4500 (const char*)NULL };
4503 * content selection pattern - do fix if pattern found
4505 tSCC zGnu_TypesSelect0[] =
4506 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4509 * content bypass pattern - skip fix if pattern found
4511 tSCC zGnu_TypesBypass0[] =
4512 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4514 #define GNU_TYPES_TEST_CT 2
4515 static tTestDesc aGnu_TypesTests[] = {
4516 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4517 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4520 * Fix Command Arguments for Gnu_Types
4522 static const char* apzGnu_TypesPatch[] = {
4526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4528 * Description of Hp_Inline fix
4530 tSCC zHp_InlineName[] =
4534 * File name selection pattern
4536 tSCC zHp_InlineList[] =
4537 "sys/spinlock.h\0machine/machparam.h\0";
4539 * Machine/OS name selection pattern
4541 #define apzHp_InlineMachs (const char**)NULL
4544 * content selection pattern - do fix if pattern found
4546 tSCC zHp_InlineSelect0[] =
4547 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4549 #define HP_INLINE_TEST_CT 1
4550 static tTestDesc aHp_InlineTests[] = {
4551 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4554 * Fix Command Arguments for Hp_Inline
4556 static const char* apzHp_InlinePatch[] = {
4559 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4564 * Description of Hp_Sysfile fix
4566 tSCC zHp_SysfileName[] =
4570 * File name selection pattern
4572 tSCC zHp_SysfileList[] =
4575 * Machine/OS name selection pattern
4577 #define apzHp_SysfileMachs (const char**)NULL
4580 * content selection pattern - do fix if pattern found
4582 tSCC zHp_SysfileSelect0[] =
4585 #define HP_SYSFILE_TEST_CT 1
4586 static tTestDesc aHp_SysfileTests[] = {
4587 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4590 * Fix Command Arguments for Hp_Sysfile
4592 static const char* apzHp_SysfilePatch[] = {
4594 "(struct file *, ...)",
4598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4600 * Description of Hppa_Hpux_Fp_Macros fix
4602 tSCC zHppa_Hpux_Fp_MacrosName[] =
4603 "hppa_hpux_fp_macros";
4606 * File name selection pattern
4608 tSCC zHppa_Hpux_Fp_MacrosList[] =
4611 * Machine/OS name selection pattern
4613 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4615 (const char*)NULL };
4618 * content selection pattern - do fix if pattern found
4620 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4621 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4622 #[ \t]*define[ \t]*FP_ZERO.*\n\
4623 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4624 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4625 #[ \t]*define[ \t]*FP_NAN.*\n";
4627 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4628 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4629 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4632 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4634 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4636 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4637 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4638 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4640 #ifdef _INCLUDE_HPUX_SOURCE\n",
4643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4645 * Description of Hpux10_Cpp_Pow_Inline fix
4647 tSCC zHpux10_Cpp_Pow_InlineName[] =
4648 "hpux10_cpp_pow_inline";
4651 * File name selection pattern
4653 tSCC zHpux10_Cpp_Pow_InlineList[] =
4654 "fixinc-test-limits.h\0math.h\0";
4656 * Machine/OS name selection pattern
4658 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4661 * content selection pattern - do fix if pattern found
4663 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4664 "^# +ifdef +__cplusplus\n\
4666 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4667 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4669 +extern +\"C\" +\\{\n\
4673 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4674 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4675 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4678 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4680 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4687 * Description of Hpux11_Cpp_Pow_Inline fix
4689 tSCC zHpux11_Cpp_Pow_InlineName[] =
4690 "hpux11_cpp_pow_inline";
4693 * File name selection pattern
4695 tSCC zHpux11_Cpp_Pow_InlineList[] =
4698 * Machine/OS name selection pattern
4700 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4703 * content selection pattern - do fix if pattern found
4705 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4706 " +inline double pow\\(double d,int expon\\) \\{\n\
4707 +return pow\\(d, \\(double\\)expon\\);\n\
4710 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4711 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4712 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4715 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4717 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4724 * Description of Hpux_Math_Constexpr fix
4726 tSCC zHpux_Math_ConstexprName[] =
4727 "hpux_math_constexpr";
4730 * File name selection pattern
4732 tSCC zHpux_Math_ConstexprList[] =
4735 * Machine/OS name selection pattern
4737 tSCC* apzHpux_Math_ConstexprMachs[] = {
4739 (const char*)NULL };
4740 #define HPUX_MATH_CONSTEXPR_TEST_CT 0
4741 #define aHpux_Math_ConstexprTests (tTestDesc*)NULL
4744 * Fix Command Arguments for Hpux_Math_Constexpr
4746 static const char* apzHpux_Math_ConstexprPatch[] = { sed_cmd_z,
4747 "-e", "s@^[ \t]*extern[ \t]*const[ \t]*double[ \t]*_DINFINITY;[ \t]*$@# define _DINFINITY (__builtin_inf ())@",
4748 "-e", "s@^[ \t]*extern[ \t]*const[ \t]*float[ \t]*_SINFINITY;[ \t]*$@# define _SINFINITY (__builtin_inff ())@",
4749 "-e", "s@^[ \t]*extern[ \t]*const[ \t]*float[ \t]*_SQNAN;[ \t]*$@# define _SQNAN (__builtin_nanf (\\\"\\\"))@",
4752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4754 * Description of Hpux10_Ctype_Declarations1 fix
4756 tSCC zHpux10_Ctype_Declarations1Name[] =
4757 "hpux10_ctype_declarations1";
4760 * File name selection pattern
4762 tSCC zHpux10_Ctype_Declarations1List[] =
4765 * Machine/OS name selection pattern
4767 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4770 * content selection pattern - do fix if pattern found
4772 tSCC zHpux10_Ctype_Declarations1Select0[] =
4773 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4776 * content bypass pattern - skip fix if pattern found
4778 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4779 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4781 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4782 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4783 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4784 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4787 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4789 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4791 "#ifdef _PROTOTYPES\n\
4792 extern int __tolower(int);\n\
4793 extern int __toupper(int);\n\
4794 #else /* NOT _PROTOTYPES */\n\
4795 extern int __tolower();\n\
4796 extern int __toupper();\n\
4797 #endif /* _PROTOTYPES */\n\n\
4801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4803 * Description of Hpux10_Ctype_Declarations2 fix
4805 tSCC zHpux10_Ctype_Declarations2Name[] =
4806 "hpux10_ctype_declarations2";
4809 * File name selection pattern
4811 tSCC zHpux10_Ctype_Declarations2List[] =
4814 * Machine/OS name selection pattern
4816 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4819 * content selection pattern - do fix if pattern found
4821 tSCC zHpux10_Ctype_Declarations2Select0[] =
4822 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4825 * content bypass pattern - skip fix if pattern found
4827 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4828 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4830 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4831 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4832 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4833 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4836 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4838 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4841 #ifdef _PROTOTYPES\n\
4842 extern int _isalnum(int);\n\
4843 extern int _isalpha(int);\n\
4844 extern int _iscntrl(int);\n\
4845 extern int _isdigit(int);\n\
4846 extern int _isgraph(int);\n\
4847 extern int _islower(int);\n\
4848 extern int _isprint(int);\n\
4849 extern int _ispunct(int);\n\
4850 extern int _isspace(int);\n\
4851 extern int _isupper(int);\n\
4852 extern int _isxdigit(int);\n\
4853 # else /* not _PROTOTYPES */\n\
4854 extern int _isalnum();\n\
4855 extern int _isalpha();\n\
4856 extern int _iscntrl();\n\
4857 extern int _isdigit();\n\
4858 extern int _isgraph();\n\
4859 extern int _islower();\n\
4860 extern int _isprint();\n\
4861 extern int _ispunct();\n\
4862 extern int _isspace();\n\
4863 extern int _isupper();\n\
4864 extern int _isxdigit();\n\
4865 #endif /* _PROTOTYPES */\n",
4868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4870 * Description of Hpux10_Stdio_Declarations fix
4872 tSCC zHpux10_Stdio_DeclarationsName[] =
4873 "hpux10_stdio_declarations";
4876 * File name selection pattern
4878 tSCC zHpux10_Stdio_DeclarationsList[] =
4881 * Machine/OS name selection pattern
4883 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4886 * content selection pattern - do fix if pattern found
4888 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4889 "^#[ \t]*define _iob[ \t]*__iob";
4892 * content bypass pattern - skip fix if pattern found
4894 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4895 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4897 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4898 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4899 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4900 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4903 * Fix Command Arguments for Hpux10_Stdio_Declarations
4905 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4908 # if defined(__STDC__) || defined(__cplusplus)\n\
4909 extern int snprintf(char *, size_t, const char *, ...);\n\
4910 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4911 # else /* not __STDC__) || __cplusplus */\n\
4912 extern int snprintf();\n\
4913 extern int vsnprintf();\n\
4914 # endif /* __STDC__) || __cplusplus */\n",
4917 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4919 * Description of Hppa_Hpux11_Alloca fix
4921 tSCC zHppa_Hpux11_AllocaName[] =
4922 "hppa_hpux11_alloca";
4925 * File name selection pattern
4927 tSCC zHppa_Hpux11_AllocaList[] =
4930 * Machine/OS name selection pattern
4932 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4934 (const char*)NULL };
4937 * content selection pattern - do fix if pattern found
4939 tSCC zHppa_Hpux11_AllocaSelect0[] =
4940 "#ifndef _STDDEF_INCLUDED";
4942 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4943 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4944 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4947 * Fix Command Arguments for Hppa_Hpux11_Alloca
4949 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4951 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4952 # include <sys/stdsyms.h>\n\
4953 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4959 * Description of Hpux11_Abs fix
4961 tSCC zHpux11_AbsName[] =
4965 * File name selection pattern
4967 tSCC zHpux11_AbsList[] =
4970 * Machine/OS name selection pattern
4972 tSCC* apzHpux11_AbsMachs[] = {
4974 (const char*)NULL };
4977 * content selection pattern - do fix if pattern found
4979 tSCC zHpux11_AbsSelect0[] =
4980 "ifndef _MATH_INCLUDED";
4982 #define HPUX11_ABS_TEST_CT 1
4983 static tTestDesc aHpux11_AbsTests[] = {
4984 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4987 * Fix Command Arguments for Hpux11_Abs
4989 static const char* apzHpux11_AbsPatch[] = {
4991 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4994 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4996 * Description of Hpux11_Lwp_Rwlock_Valid fix
4998 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4999 "hpux11_lwp_rwlock_valid";
5002 * File name selection pattern
5004 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
5007 * Machine/OS name selection pattern
5009 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
5011 (const char*)NULL };
5014 * content selection pattern - do fix if pattern found
5016 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
5017 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
5019 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
5020 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
5021 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
5024 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
5026 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
5028 "#define __LWP_RWLOCK_VALID -29551",
5031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5033 * Description of Hpux11_Extern_Sendfile fix
5035 tSCC zHpux11_Extern_SendfileName[] =
5036 "hpux11_extern_sendfile";
5039 * File name selection pattern
5041 tSCC zHpux11_Extern_SendfileList[] =
5044 * Machine/OS name selection pattern
5046 tSCC* apzHpux11_Extern_SendfileMachs[] = {
5047 "*-hp-hpux11.[12]*",
5048 (const char*)NULL };
5051 * content selection pattern - do fix if pattern found
5053 tSCC zHpux11_Extern_SendfileSelect0[] =
5054 "^[ \t]*extern sbsize_t sendfile.*\n\
5057 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
5058 static tTestDesc aHpux11_Extern_SendfileTests[] = {
5059 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
5062 * Fix Command Arguments for Hpux11_Extern_Sendfile
5064 static const char* apzHpux11_Extern_SendfilePatch[] = {
5066 "#ifndef _APP32_64BIT_OFF_T\n\
5070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5072 * Description of Hpux11_Extern_Sendpath fix
5074 tSCC zHpux11_Extern_SendpathName[] =
5075 "hpux11_extern_sendpath";
5078 * File name selection pattern
5080 tSCC zHpux11_Extern_SendpathList[] =
5083 * Machine/OS name selection pattern
5085 tSCC* apzHpux11_Extern_SendpathMachs[] = {
5086 "*-hp-hpux11.[12]*",
5087 (const char*)NULL };
5090 * content selection pattern - do fix if pattern found
5092 tSCC zHpux11_Extern_SendpathSelect0[] =
5093 "^[ \t]*extern sbsize_t sendpath.*\n\
5096 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
5097 static tTestDesc aHpux11_Extern_SendpathTests[] = {
5098 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
5101 * Fix Command Arguments for Hpux11_Extern_Sendpath
5103 static const char* apzHpux11_Extern_SendpathPatch[] = {
5105 "#ifndef _APP32_64BIT_OFF_T\n\
5109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5111 * Description of Hpux11_Fabsf fix
5113 tSCC zHpux11_FabsfName[] =
5117 * File name selection pattern
5119 tSCC zHpux11_FabsfList[] =
5122 * Machine/OS name selection pattern
5124 tSCC* apzHpux11_FabsfMachs[] = {
5126 (const char*)NULL };
5129 * content selection pattern - do fix if pattern found
5131 tSCC zHpux11_FabsfSelect0[] =
5132 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
5134 #define HPUX11_FABSF_TEST_CT 1
5135 static tTestDesc aHpux11_FabsfTests[] = {
5136 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
5139 * Fix Command Arguments for Hpux11_Fabsf
5141 static const char* apzHpux11_FabsfPatch[] = {
5143 "#ifndef __cplusplus\n\
5148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5150 * Description of Hpux11_Pthread_Pointer fix
5152 tSCC zHpux11_Pthread_PointerName[] =
5153 "hpux11_pthread_pointer";
5156 * File name selection pattern
5158 tSCC zHpux11_Pthread_PointerList[] =
5161 * Machine/OS name selection pattern
5163 tSCC* apzHpux11_Pthread_PointerMachs[] = {
5164 "*-hp-hpux11.[0-3]*",
5165 (const char*)NULL };
5168 * content selection pattern - do fix if pattern found
5170 tSCC zHpux11_Pthread_PointerSelect0[] =
5171 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
5173 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
5174 static tTestDesc aHpux11_Pthread_PointerTests[] = {
5175 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
5178 * Fix Command Arguments for Hpux11_Pthread_Pointer
5180 static const char* apzHpux11_Pthread_PointerPatch[] = {
5185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5187 * Description of Hpux11_Pthread_Const fix
5189 tSCC zHpux11_Pthread_ConstName[] =
5190 "hpux11_pthread_const";
5193 * File name selection pattern
5195 tSCC zHpux11_Pthread_ConstList[] =
5198 * Machine/OS name selection pattern
5200 tSCC* apzHpux11_Pthread_ConstMachs[] = {
5201 "*-hp-hpux11.[0-3]*",
5202 (const char*)NULL };
5205 * content selection pattern - do fix if pattern found
5207 tSCC zHpux11_Pthread_ConstSelect0[] =
5208 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
5210 #define HPUX11_PTHREAD_CONST_TEST_CT 1
5211 static tTestDesc aHpux11_Pthread_ConstTests[] = {
5212 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
5215 * Fix Command Arguments for Hpux11_Pthread_Const
5217 static const char* apzHpux11_Pthread_ConstPatch[] = {
5222 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5224 * Description of Hpux11_Size_T fix
5226 tSCC zHpux11_Size_TName[] =
5230 * File name selection pattern
5232 #define zHpux11_Size_TList (char*)NULL
5234 * Machine/OS name selection pattern
5236 tSCC* apzHpux11_Size_TMachs[] = {
5238 (const char*)NULL };
5241 * content selection pattern - do fix if pattern found
5243 tSCC zHpux11_Size_TSelect0[] =
5246 #define HPUX11_SIZE_T_TEST_CT 1
5247 static tTestDesc aHpux11_Size_TTests[] = {
5248 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
5251 * Fix Command Arguments for Hpux11_Size_T
5253 static const char* apzHpux11_Size_TPatch[] = {
5258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5260 * Description of Hpux11_Snprintf fix
5262 tSCC zHpux11_SnprintfName[] =
5266 * File name selection pattern
5268 tSCC zHpux11_SnprintfList[] =
5271 * Machine/OS name selection pattern
5273 #define apzHpux11_SnprintfMachs (const char**)NULL
5276 * content selection pattern - do fix if pattern found
5278 tSCC zHpux11_SnprintfSelect0[] =
5279 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
5281 #define HPUX11_SNPRINTF_TEST_CT 1
5282 static tTestDesc aHpux11_SnprintfTests[] = {
5283 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
5286 * Fix Command Arguments for Hpux11_Snprintf
5288 static const char* apzHpux11_SnprintfPatch[] = {
5293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5295 * Description of Hpux11_Vsnprintf fix
5297 tSCC zHpux11_VsnprintfName[] =
5301 * File name selection pattern
5303 tSCC zHpux11_VsnprintfList[] =
5306 * Machine/OS name selection pattern
5308 #define apzHpux11_VsnprintfMachs (const char**)NULL
5311 * content selection pattern - do fix if pattern found
5313 tSCC zHpux11_VsnprintfSelect0[] =
5314 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
5316 #define HPUX11_VSNPRINTF_TEST_CT 1
5317 static tTestDesc aHpux11_VsnprintfTests[] = {
5318 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
5321 * Fix Command Arguments for Hpux11_Vsnprintf
5323 static const char* apzHpux11_VsnprintfPatch[] = {
5328 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5330 * Description of Hpux_Vsscanf fix
5332 tSCC zHpux_VsscanfName[] =
5336 * File name selection pattern
5338 tSCC zHpux_VsscanfList[] =
5341 * Machine/OS name selection pattern
5343 tSCC* apzHpux_VsscanfMachs[] = {
5345 (const char*)NULL };
5348 * content selection pattern - do fix if pattern found
5350 tSCC zHpux_VsscanfSelect0[] =
5351 "(extern int vsscanf\\()char";
5353 #define HPUX_VSSCANF_TEST_CT 1
5354 static tTestDesc aHpux_VsscanfTests[] = {
5355 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5358 * Fix Command Arguments for Hpux_Vsscanf
5360 static const char* apzHpux_VsscanfPatch[] = {
5365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5367 * Description of Hpux8_Bogus_Inlines fix
5369 tSCC zHpux8_Bogus_InlinesName[] =
5370 "hpux8_bogus_inlines";
5373 * File name selection pattern
5375 tSCC zHpux8_Bogus_InlinesList[] =
5378 * Machine/OS name selection pattern
5380 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5383 * content selection pattern - do fix if pattern found
5385 tSCC zHpux8_Bogus_InlinesSelect0[] =
5389 * content bypass pattern - skip fix if pattern found
5391 tSCC zHpux8_Bogus_InlinesBypass0[] =
5394 #define HPUX8_BOGUS_INLINES_TEST_CT 2
5395 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5396 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5397 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5400 * Fix Command Arguments for Hpux8_Bogus_Inlines
5402 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5403 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5404 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5405 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5406 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5409 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5411 * Description of Hpux_C99_Intptr fix
5413 tSCC zHpux_C99_IntptrName[] =
5417 * File name selection pattern
5419 tSCC zHpux_C99_IntptrList[] =
5420 "stdint-hpux11.h\0stdint.h\0";
5422 * Machine/OS name selection pattern
5424 tSCC* apzHpux_C99_IntptrMachs[] = {
5426 (const char*)NULL };
5427 #define HPUX_C99_INTPTR_TEST_CT 0
5428 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5431 * Fix Command Arguments for Hpux_C99_Intptr
5433 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5434 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5435 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5436 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5437 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5438 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5439 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5442 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5444 * Description of Hpux_C99_Inttypes fix
5446 tSCC zHpux_C99_InttypesName[] =
5447 "hpux_c99_inttypes";
5450 * File name selection pattern
5452 tSCC zHpux_C99_InttypesList[] =
5453 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5455 * Machine/OS name selection pattern
5457 tSCC* apzHpux_C99_InttypesMachs[] = {
5458 "*-hp-hpux11.[23]*",
5459 (const char*)NULL };
5460 #define HPUX_C99_INTTYPES_TEST_CT 0
5461 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5464 * Fix Command Arguments for Hpux_C99_Inttypes
5466 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5467 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5468 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5469 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5470 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5475 * Description of Hpux_C99_Inttypes2 fix
5477 tSCC zHpux_C99_Inttypes2Name[] =
5478 "hpux_c99_inttypes2";
5481 * File name selection pattern
5483 tSCC zHpux_C99_Inttypes2List[] =
5484 "stdint-hpux11.h\0stdint.h\0";
5486 * Machine/OS name selection pattern
5488 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5490 (const char*)NULL };
5491 #define HPUX_C99_INTTYPES2_TEST_CT 0
5492 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5495 * Fix Command Arguments for Hpux_C99_Inttypes2
5497 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5498 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5499 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5500 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5501 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5506 * Description of Hpux_C99_Inttypes3 fix
5508 tSCC zHpux_C99_Inttypes3Name[] =
5509 "hpux_c99_inttypes3";
5512 * File name selection pattern
5514 tSCC zHpux_C99_Inttypes3List[] =
5517 * Machine/OS name selection pattern
5519 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5521 (const char*)NULL };
5524 * content selection pattern - do fix if pattern found
5526 tSCC zHpux_C99_Inttypes3Select0[] =
5527 "#define[ \t]INTPTR_MAX[ \t]*\n\
5528 #define[ \t]UINTPTR_MAX[ \t]*\n";
5530 #define HPUX_C99_INTTYPES3_TEST_CT 1
5531 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5532 { TT_EGREP, zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5535 * Fix Command Arguments for Hpux_C99_Inttypes3
5537 static const char* apzHpux_C99_Inttypes3Patch[] = {
5540 #define SIZE_MAX __SIZE_MAX__\n\
5541 #ifdef __INTPTR_MAX__\n\
5542 # undef INTPTR_MAX\n\
5543 # define INTPTR_MAX __INTPTR_MAX__\n\
5544 # undef INTPTR_MIN\n\
5545 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5547 #ifdef __UINTPTR_MAX__\n\
5548 # undef UINTPTR_MAX\n\
5549 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5555 * Description of Hpux_C99_Inttypes4 fix
5557 tSCC zHpux_C99_Inttypes4Name[] =
5558 "hpux_c99_inttypes4";
5561 * File name selection pattern
5563 tSCC zHpux_C99_Inttypes4List[] =
5566 * Machine/OS name selection pattern
5568 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5569 "hppa*-hp-hpux11.[01]*",
5570 (const char*)NULL };
5571 #define HPUX_C99_INTTYPES4_TEST_CT 0
5572 #define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5575 * Fix Command Arguments for Hpux_C99_Inttypes4
5577 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5578 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5579 #define SCNuMAX \t SCNu64\n",
5580 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5581 #define SCNuMAX \t SCNu32\n",
5584 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5586 * Description of Hpux_C99_Inttypes5 fix
5588 tSCC zHpux_C99_Inttypes5Name[] =
5589 "hpux_c99_inttypes5";
5592 * File name selection pattern
5594 tSCC zHpux_C99_Inttypes5List[] =
5597 * Machine/OS name selection pattern
5599 tSCC* apzHpux_C99_Inttypes5Machs[] = {
5600 "hppa*-hp-hpux11.[01]*",
5601 (const char*)NULL };
5604 * content selection pattern - do fix if pattern found
5606 tSCC zHpux_C99_Inttypes5Select0[] =
5607 "#ifndef[ \t]_KERNEL[ \t]*\n";
5609 #define HPUX_C99_INTTYPES5_TEST_CT 1
5610 static tTestDesc aHpux_C99_Inttypes5Tests[] = {
5611 { TT_EGREP, zHpux_C99_Inttypes5Select0, (regex_t*)NULL }, };
5614 * Fix Command Arguments for Hpux_C99_Inttypes5
5616 static const char* apzHpux_C99_Inttypes5Patch[] = {
5618 "#ifndef __LP64__\n\
5619 #define PRIdPTR\t\tPRId32\n\
5620 #define PRIiPTR\t\tPRIi32\n\
5621 #define PRIoPTR\t\tPRIo32\n\
5622 #define PRIuPTR\t\tPRIu32\n\
5623 #define PRIxPTR\t\tPRIx32\n\
5624 #define PRIXPTR\t\tPRIX32\n\
5626 #define PRIdPTR\t\tPRId64\n\
5627 #define PRIiPTR\t\tPRIi64\n\
5628 #define PRIoPTR\t\tPRIo64\n\
5629 #define PRIuPTR\t\tPRIu64\n\
5630 #define PRIxPTR\t\tPRIx64\n\
5631 #define PRIXPTR\t\tPRIX64\n\
5636 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5638 * Description of Hpux_Ctype_Macros fix
5640 tSCC zHpux_Ctype_MacrosName[] =
5641 "hpux_ctype_macros";
5644 * File name selection pattern
5646 tSCC zHpux_Ctype_MacrosList[] =
5649 * Machine/OS name selection pattern
5651 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5654 * content selection pattern - do fix if pattern found
5656 tSCC zHpux_Ctype_MacrosSelect0[] =
5657 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5659 #define HPUX_CTYPE_MACROS_TEST_CT 1
5660 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5661 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5664 * Fix Command Arguments for Hpux_Ctype_Macros
5666 static const char* apzHpux_Ctype_MacrosPatch[] = {
5671 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5673 * Description of Hpux_Extern_Errno fix
5675 tSCC zHpux_Extern_ErrnoName[] =
5676 "hpux_extern_errno";
5679 * File name selection pattern
5681 tSCC zHpux_Extern_ErrnoList[] =
5684 * Machine/OS name selection pattern
5686 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5688 "*-hp-hpux11.[0-2]*",
5689 (const char*)NULL };
5692 * content selection pattern - do fix if pattern found
5694 tSCC zHpux_Extern_ErrnoSelect0[] =
5695 "^[ \t]*extern int errno;$";
5697 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5698 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5699 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5702 * Fix Command Arguments for Hpux_Extern_Errno
5704 static const char* apzHpux_Extern_ErrnoPatch[] = {
5706 "#ifdef __cplusplus\n\
5710 #ifdef __cplusplus\n\
5715 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5717 * Description of Hpux_Htonl fix
5719 tSCC zHpux_HtonlName[] =
5723 * File name selection pattern
5725 tSCC zHpux_HtonlList[] =
5728 * Machine/OS name selection pattern
5730 #define apzHpux_HtonlMachs (const char**)NULL
5733 * content selection pattern - do fix if pattern found
5735 tSCC zHpux_HtonlSelect0[] =
5736 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5738 \\* Macros for number representation conversion\\.\n\
5742 #define HPUX_HTONL_TEST_CT 1
5743 static tTestDesc aHpux_HtonlTests[] = {
5744 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5747 * Fix Command Arguments for Hpux_Htonl
5749 static const char* apzHpux_HtonlPatch[] = {
5755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5757 * Description of Hpux_Imaginary_I fix
5759 tSCC zHpux_Imaginary_IName[] =
5763 * File name selection pattern
5765 tSCC zHpux_Imaginary_IList[] =
5768 * Machine/OS name selection pattern
5770 tSCC* apzHpux_Imaginary_IMachs[] = {
5772 (const char*)NULL };
5775 * content selection pattern - do fix if pattern found
5777 tSCC zHpux_Imaginary_ISelect0[] =
5778 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5780 #define HPUX_IMAGINARY_I_TEST_CT 1
5781 static tTestDesc aHpux_Imaginary_ITests[] = {
5782 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5785 * Fix Command Arguments for Hpux_Imaginary_I
5787 static const char* apzHpux_Imaginary_IPatch[] = {
5789 "#define _Complex_I (__extension__ 1.0iF)",
5792 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5794 * Description of Hpux_Inttype_Int8_T fix
5796 tSCC zHpux_Inttype_Int8_TName[] =
5797 "hpux_inttype_int8_t";
5800 * File name selection pattern
5802 tSCC zHpux_Inttype_Int8_TList[] =
5803 "sys/_inttypes.h\0";
5805 * Machine/OS name selection pattern
5807 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5809 (const char*)NULL };
5812 * content selection pattern - do fix if pattern found
5814 tSCC zHpux_Inttype_Int8_TSelect0[] =
5815 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5817 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5818 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5819 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5822 * Fix Command Arguments for Hpux_Inttype_Int8_T
5824 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5826 "typedef signed char int%18_t;",
5829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5831 * Description of Hpux_Long_Double fix
5833 tSCC zHpux_Long_DoubleName[] =
5837 * File name selection pattern
5839 tSCC zHpux_Long_DoubleList[] =
5842 * Machine/OS name selection pattern
5844 tSCC* apzHpux_Long_DoubleMachs[] = {
5846 "*-*-hpux11.[012]*",
5847 (const char*)NULL };
5850 * content selection pattern - do fix if pattern found
5852 tSCC zHpux_Long_DoubleSelect0[] =
5853 "extern[ \t]long_double[ \t]strtold";
5856 * content bypass pattern - skip fix if pattern found
5858 tSCC zHpux_Long_DoubleBypass0[] =
5861 #define HPUX_LONG_DOUBLE_TEST_CT 2
5862 static tTestDesc aHpux_Long_DoubleTests[] = {
5863 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5864 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5867 * Fix Command Arguments for Hpux_Long_Double
5869 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5870 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5871 "-e", "s/long_double/long double/g",
5874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5876 * Description of Hpux_Long_Double_2 fix
5878 tSCC zHpux_Long_Double_2Name[] =
5879 "hpux_long_double_2";
5882 * File name selection pattern
5884 tSCC zHpux_Long_Double_2List[] =
5887 * Machine/OS name selection pattern
5889 tSCC* apzHpux_Long_Double_2Machs[] = {
5890 "hppa*-*-hpux11.3*",
5891 (const char*)NULL };
5894 * content selection pattern - do fix if pattern found
5896 tSCC zHpux_Long_Double_2Select0[] =
5897 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5899 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5900 static tTestDesc aHpux_Long_Double_2Tests[] = {
5901 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5904 * Fix Command Arguments for Hpux_Long_Double_2
5906 static const char* apzHpux_Long_Double_2Patch[] = {
5908 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5913 * Description of Hpux_Pthread_Initializers fix
5915 tSCC zHpux_Pthread_InitializersName[] =
5916 "hpux_pthread_initializers";
5919 * File name selection pattern
5921 tSCC zHpux_Pthread_InitializersList[] =
5924 * Machine/OS name selection pattern
5926 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5927 "*-hp-hpux11.[0-3]*",
5928 (const char*)NULL };
5929 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5930 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5933 * Fix Command Arguments for Hpux_Pthread_Initializers
5935 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5936 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5937 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5938 "-e", "/^[ \t]*0$/d",
5939 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5940 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5941 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5942 "-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\\\\@",
5943 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5944 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5945 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5946 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5947 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5948 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5953 * Description of Hpux_Spu_Info fix
5955 tSCC zHpux_Spu_InfoName[] =
5959 * File name selection pattern
5961 tSCC zHpux_Spu_InfoList[] =
5962 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5964 * Machine/OS name selection pattern
5966 tSCC* apzHpux_Spu_InfoMachs[] = {
5968 (const char*)NULL };
5971 * content selection pattern - do fix if pattern found
5973 tSCC zHpux_Spu_InfoSelect0[] =
5974 "^.*extern.*spu_info.*";
5976 #define HPUX_SPU_INFO_TEST_CT 1
5977 static tTestDesc aHpux_Spu_InfoTests[] = {
5978 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5981 * Fix Command Arguments for Hpux_Spu_Info
5983 static const char* apzHpux_Spu_InfoPatch[] = {
5990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5992 * Description of Hpux_Stdint_Least_Fast fix
5994 tSCC zHpux_Stdint_Least_FastName[] =
5995 "hpux_stdint_least_fast";
5998 * File name selection pattern
6000 tSCC zHpux_Stdint_Least_FastList[] =
6001 "stdint-hpux11.h\0stdint.h\0";
6003 * Machine/OS name selection pattern
6005 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
6007 (const char*)NULL };
6010 * content selection pattern - do fix if pattern found
6012 tSCC zHpux_Stdint_Least_FastSelect0[] =
6013 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
6015 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
6016 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
6017 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
6020 * Fix Command Arguments for Hpux_Stdint_Least_Fast
6022 static const char* apzHpux_Stdint_Least_FastPatch[] = {
6024 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
6027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6029 * Description of Hpux_Longjmp fix
6031 tSCC zHpux_LongjmpName[] =
6035 * File name selection pattern
6037 tSCC zHpux_LongjmpList[] =
6040 * Machine/OS name selection pattern
6042 tSCC* apzHpux_LongjmpMachs[] = {
6044 (const char*)NULL };
6047 * content selection pattern - do fix if pattern found
6049 tSCC zHpux_LongjmpSelect0[] =
6050 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
6052 #define HPUX_LONGJMP_TEST_CT 1
6053 static tTestDesc aHpux_LongjmpTests[] = {
6054 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
6057 * Fix Command Arguments for Hpux_Longjmp
6059 static const char* apzHpux_LongjmpPatch[] = {
6061 "%0 __attribute__ ((__noreturn__))",
6064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6066 * Description of Hpux_Systime fix
6068 tSCC zHpux_SystimeName[] =
6072 * File name selection pattern
6074 tSCC zHpux_SystimeList[] =
6077 * Machine/OS name selection pattern
6079 #define apzHpux_SystimeMachs (const char**)NULL
6082 * content selection pattern - do fix if pattern found
6084 tSCC zHpux_SystimeSelect0[] =
6085 "^extern struct sigevent;";
6087 #define HPUX_SYSTIME_TEST_CT 1
6088 static tTestDesc aHpux_SystimeTests[] = {
6089 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
6092 * Fix Command Arguments for Hpux_Systime
6094 static const char* apzHpux_SystimePatch[] = {
6099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6101 * Description of Huge_Val_Hex fix
6103 tSCC zHuge_Val_HexName[] =
6107 * File name selection pattern
6109 tSCC zHuge_Val_HexList[] =
6110 "bits/huge_val.h\0*/bits/huge_val.h\0";
6112 * Machine/OS name selection pattern
6114 #define apzHuge_Val_HexMachs (const char**)NULL
6117 * content selection pattern - do fix if pattern found
6119 tSCC zHuge_Val_HexSelect0[] =
6120 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
6123 * content bypass pattern - skip fix if pattern found
6125 tSCC zHuge_Val_HexBypass0[] =
6126 "__builtin_huge_val";
6128 #define HUGE_VAL_HEX_TEST_CT 2
6129 static tTestDesc aHuge_Val_HexTests[] = {
6130 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
6131 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
6134 * Fix Command Arguments for Huge_Val_Hex
6136 static const char* apzHuge_Val_HexPatch[] = {
6138 "#define HUGE_VAL (__builtin_huge_val())\n",
6141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6143 * Description of Huge_Valf_Hex fix
6145 tSCC zHuge_Valf_HexName[] =
6149 * File name selection pattern
6151 tSCC zHuge_Valf_HexList[] =
6152 "bits/huge_val.h\0*/bits/huge_val.h\0";
6154 * Machine/OS name selection pattern
6156 #define apzHuge_Valf_HexMachs (const char**)NULL
6159 * content selection pattern - do fix if pattern found
6161 tSCC zHuge_Valf_HexSelect0[] =
6162 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
6165 * content bypass pattern - skip fix if pattern found
6167 tSCC zHuge_Valf_HexBypass0[] =
6168 "__builtin_huge_valf";
6170 #define HUGE_VALF_HEX_TEST_CT 2
6171 static tTestDesc aHuge_Valf_HexTests[] = {
6172 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
6173 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
6176 * Fix Command Arguments for Huge_Valf_Hex
6178 static const char* apzHuge_Valf_HexPatch[] = {
6180 "#define HUGE_VALF (__builtin_huge_valf())\n",
6183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6185 * Description of Huge_Vall_Hex fix
6187 tSCC zHuge_Vall_HexName[] =
6191 * File name selection pattern
6193 tSCC zHuge_Vall_HexList[] =
6194 "bits/huge_val.h\0*/bits/huge_val.h\0";
6196 * Machine/OS name selection pattern
6198 #define apzHuge_Vall_HexMachs (const char**)NULL
6201 * content selection pattern - do fix if pattern found
6203 tSCC zHuge_Vall_HexSelect0[] =
6204 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
6207 * content bypass pattern - skip fix if pattern found
6209 tSCC zHuge_Vall_HexBypass0[] =
6210 "__builtin_huge_vall";
6212 #define HUGE_VALL_HEX_TEST_CT 2
6213 static tTestDesc aHuge_Vall_HexTests[] = {
6214 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
6215 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
6218 * Fix Command Arguments for Huge_Vall_Hex
6220 static const char* apzHuge_Vall_HexPatch[] = {
6222 "#define HUGE_VALL (__builtin_huge_vall())\n",
6225 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6227 * Description of Int_Abort_Free_And_Exit fix
6229 tSCC zInt_Abort_Free_And_ExitName[] =
6230 "int_abort_free_and_exit";
6233 * File name selection pattern
6235 tSCC zInt_Abort_Free_And_ExitList[] =
6238 * Machine/OS name selection pattern
6240 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
6243 * content selection pattern - do fix if pattern found
6245 tSCC zInt_Abort_Free_And_ExitSelect0[] =
6246 "int[ \t]+(abort|free|exit)[ \t]*\\(";
6249 * content bypass pattern - skip fix if pattern found
6251 tSCC zInt_Abort_Free_And_ExitBypass0[] =
6252 "_CLASSIC_ANSI_TYPES";
6254 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
6255 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
6256 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
6257 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
6260 * Fix Command Arguments for Int_Abort_Free_And_Exit
6262 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
6267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6269 * Description of Io_Quotes_Def fix
6271 tSCC zIo_Quotes_DefName[] =
6275 * File name selection pattern
6277 #define zIo_Quotes_DefList (char*)NULL
6279 * Machine/OS name selection pattern
6281 #define apzIo_Quotes_DefMachs (const char**)NULL
6284 * content selection pattern - do fix if pattern found
6286 tSCC zIo_Quotes_DefSelect0[] =
6287 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
6289 #define IO_QUOTES_DEF_TEST_CT 1
6290 static tTestDesc aIo_Quotes_DefTests[] = {
6291 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
6294 * Fix Command Arguments for Io_Quotes_Def
6296 static const char* apzIo_Quotes_DefPatch[] = {
6301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6303 * Description of Io_Quotes_Use fix
6305 tSCC zIo_Quotes_UseName[] =
6309 * File name selection pattern
6311 #define zIo_Quotes_UseList (char*)NULL
6313 * Machine/OS name selection pattern
6315 #define apzIo_Quotes_UseMachs (const char**)NULL
6318 * content selection pattern - do fix if pattern found
6320 tSCC zIo_Quotes_UseSelect0[] =
6321 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
6323 #define IO_QUOTES_USE_TEST_CT 1
6324 static tTestDesc aIo_Quotes_UseTests[] = {
6325 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
6328 * Fix Command Arguments for Io_Quotes_Use
6330 static const char* apzIo_Quotes_UsePatch[] = {
6335 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6337 * Description of Ip_Missing_Semi fix
6339 tSCC zIp_Missing_SemiName[] =
6343 * File name selection pattern
6345 tSCC zIp_Missing_SemiList[] =
6348 * Machine/OS name selection pattern
6350 #define apzIp_Missing_SemiMachs (const char**)NULL
6353 * content selection pattern - do fix if pattern found
6355 tSCC zIp_Missing_SemiSelect0[] =
6358 #define IP_MISSING_SEMI_TEST_CT 1
6359 static tTestDesc aIp_Missing_SemiTests[] = {
6360 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
6363 * Fix Command Arguments for Ip_Missing_Semi
6365 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
6366 "-e", "/^struct/,/^};/s/}$/};/",
6369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6371 * Description of Irix_Limits_Const fix
6373 tSCC zIrix_Limits_ConstName[] =
6374 "irix_limits_const";
6377 * File name selection pattern
6379 tSCC zIrix_Limits_ConstList[] =
6380 "fixinc-test-limits.h\0limits.h\0";
6382 * Machine/OS name selection pattern
6384 #define apzIrix_Limits_ConstMachs (const char**)NULL
6387 * content selection pattern - do fix if pattern found
6389 tSCC zIrix_Limits_ConstSelect0[] =
6392 #define IRIX_LIMITS_CONST_TEST_CT 1
6393 static tTestDesc aIrix_Limits_ConstTests[] = {
6394 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
6397 * Fix Command Arguments for Irix_Limits_Const
6399 static const char* apzIrix_Limits_ConstPatch[] = {
6404 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6406 * Description of Irix_Stdio_Va_List fix
6408 tSCC zIrix_Stdio_Va_ListName[] =
6409 "irix_stdio_va_list";
6412 * File name selection pattern
6414 tSCC zIrix_Stdio_Va_ListList[] =
6417 * Machine/OS name selection pattern
6419 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6422 * content selection pattern - do fix if pattern found
6424 tSCC zIrix_Stdio_Va_ListSelect0[] =
6425 "/\\* va_list \\*/ char \\*";
6427 #define IRIX_STDIO_VA_LIST_TEST_CT 1
6428 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6429 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6432 * Fix Command Arguments for Irix_Stdio_Va_List
6434 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6441 * Description of Kandr_Concat fix
6443 tSCC zKandr_ConcatName[] =
6447 * File name selection pattern
6449 tSCC zKandr_ConcatList[] =
6450 "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";
6452 * Machine/OS name selection pattern
6454 #define apzKandr_ConcatMachs (const char**)NULL
6457 * content selection pattern - do fix if pattern found
6459 tSCC zKandr_ConcatSelect0[] =
6462 #define KANDR_CONCAT_TEST_CT 1
6463 static tTestDesc aKandr_ConcatTests[] = {
6464 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
6467 * Fix Command Arguments for Kandr_Concat
6469 static const char* apzKandr_ConcatPatch[] = {
6474 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6476 * Description of Linux_Ia64_Ucontext fix
6478 tSCC zLinux_Ia64_UcontextName[] =
6479 "linux_ia64_ucontext";
6482 * File name selection pattern
6484 tSCC zLinux_Ia64_UcontextList[] =
6487 * Machine/OS name selection pattern
6489 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6491 (const char*)NULL };
6494 * content selection pattern - do fix if pattern found
6496 tSCC zLinux_Ia64_UcontextSelect0[] =
6497 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6499 #define LINUX_IA64_UCONTEXT_TEST_CT 1
6500 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6501 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6504 * Fix Command Arguments for Linux_Ia64_Ucontext
6506 static const char* apzLinux_Ia64_UcontextPatch[] = {
6508 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6513 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6515 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6516 "lynxos_no_warning_in_sys_time_h";
6519 * File name selection pattern
6521 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6524 * Machine/OS name selection pattern
6526 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6529 * content selection pattern - do fix if pattern found
6531 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6532 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6534 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6535 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6536 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6539 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6541 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6548 * Description of Lynxos_Missing_Putenv fix
6550 tSCC zLynxos_Missing_PutenvName[] =
6551 "lynxos_missing_putenv";
6554 * File name selection pattern
6556 tSCC zLynxos_Missing_PutenvList[] =
6559 * Machine/OS name selection pattern
6561 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6563 (const char*)NULL };
6566 * content selection pattern - do fix if pattern found
6568 tSCC zLynxos_Missing_PutenvSelect0[] =
6569 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6572 * content bypass pattern - skip fix if pattern found
6574 tSCC zLynxos_Missing_PutenvBypass0[] =
6577 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6578 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6579 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6580 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6583 * Fix Command Arguments for Lynxos_Missing_Putenv
6585 static const char* apzLynxos_Missing_PutenvPatch[] = {
6588 extern int putenv\t\t\t\t_AP((char *));",
6589 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6594 * Description of Machine_Ansi_H_Va_List fix
6596 tSCC zMachine_Ansi_H_Va_ListName[] =
6597 "machine_ansi_h_va_list";
6600 * File name selection pattern
6602 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6604 * Machine/OS name selection pattern
6606 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6609 * content selection pattern - do fix if pattern found
6611 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6612 "define[ \t]+_BSD_VA_LIST_[ \t]";
6615 * content bypass pattern - skip fix if pattern found
6617 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6618 "__builtin_va_list";
6620 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6621 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6622 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6623 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6626 * Fix Command Arguments for Machine_Ansi_H_Va_List
6628 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6630 "%1__builtin_va_list",
6631 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6636 * Description of Machine_Name fix
6638 tSCC zMachine_NameName[] =
6642 * File name selection pattern
6644 #define zMachine_NameList (char*)NULL
6646 * Machine/OS name selection pattern
6648 #define apzMachine_NameMachs (const char**)NULL
6651 * perform the C function call test
6653 tSCC zMachine_NameFTst0[] = "machine_name";
6655 #define MACHINE_NAME_TEST_CT 1
6656 static tTestDesc aMachine_NameTests[] = {
6657 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6660 * Fix Command Arguments for Machine_Name
6662 static const char* apzMachine_NamePatch[] = {
6666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6668 * Description of Math_Exception fix
6670 tSCC zMath_ExceptionName[] =
6674 * File name selection pattern
6676 tSCC zMath_ExceptionList[] =
6679 * Machine/OS name selection pattern
6681 tSCC* apzMath_ExceptionMachs[] = {
6682 "*-*-solaris2.1[0-9]*",
6683 (const char*)NULL };
6686 * content selection pattern - do fix if pattern found
6688 tSCC zMath_ExceptionSelect0[] =
6692 * content bypass pattern - skip fix if pattern found
6694 tSCC zMath_ExceptionBypass0[] =
6695 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6697 #define MATH_EXCEPTION_TEST_CT 2
6698 static tTestDesc aMath_ExceptionTests[] = {
6699 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6700 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6703 * Fix Command Arguments for Math_Exception
6705 static const char* apzMath_ExceptionPatch[] = {
6707 "#ifdef __cplusplus\n\
6708 #define exception __math_exception\n\
6710 "#ifdef __cplusplus\n\
6715 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6717 * Description of Math_Huge_Val_From_Dbl_Max fix
6719 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6720 "math_huge_val_from_dbl_max";
6723 * File name selection pattern
6725 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6728 * Machine/OS name selection pattern
6730 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6733 * content selection pattern - do fix if pattern found
6735 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6736 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6739 * content bypass pattern - skip fix if pattern found
6741 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6742 "define[ \t]+DBL_MAX";
6744 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6745 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6746 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6747 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6750 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6752 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6753 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6754 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6755 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6762 * Description of Nested_Auth_Des fix
6764 tSCC zNested_Auth_DesName[] =
6768 * File name selection pattern
6770 tSCC zNested_Auth_DesList[] =
6773 * Machine/OS name selection pattern
6775 #define apzNested_Auth_DesMachs (const char**)NULL
6778 * content selection pattern - do fix if pattern found
6780 tSCC zNested_Auth_DesSelect0[] =
6781 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6783 #define NESTED_AUTH_DES_TEST_CT 1
6784 static tTestDesc aNested_Auth_DesTests[] = {
6785 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6788 * Fix Command Arguments for Nested_Auth_Des
6790 static const char* apzNested_Auth_DesPatch[] = {
6795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6797 * Description of Netbsd_C99_Inline_1 fix
6799 tSCC zNetbsd_C99_Inline_1Name[] =
6800 "netbsd_c99_inline_1";
6803 * File name selection pattern
6805 tSCC zNetbsd_C99_Inline_1List[] =
6808 * Machine/OS name selection pattern
6810 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6812 (const char*)NULL };
6815 * content selection pattern - do fix if pattern found
6817 tSCC zNetbsd_C99_Inline_1Select0[] =
6818 "extern __inline int";
6820 #define NETBSD_C99_INLINE_1_TEST_CT 1
6821 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6822 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6825 * Fix Command Arguments for Netbsd_C99_Inline_1
6827 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6830 #ifdef __GNUC_STDC_INLINE__\n\
6831 __attribute__((__gnu_inline__))\n\
6836 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6838 * Description of Netbsd_C99_Inline_2 fix
6840 tSCC zNetbsd_C99_Inline_2Name[] =
6841 "netbsd_c99_inline_2";
6844 * File name selection pattern
6846 tSCC zNetbsd_C99_Inline_2List[] =
6849 * Machine/OS name selection pattern
6851 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6853 (const char*)NULL };
6856 * content selection pattern - do fix if pattern found
6858 tSCC zNetbsd_C99_Inline_2Select0[] =
6859 "#define _SIGINLINE extern __inline";
6861 #define NETBSD_C99_INLINE_2_TEST_CT 1
6862 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6863 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6866 * Fix Command Arguments for Netbsd_C99_Inline_2
6868 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6870 "#ifdef __GNUC_STDC_INLINE__\n\
6871 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6879 * Description of Netbsd_Extra_Semicolon fix
6881 tSCC zNetbsd_Extra_SemicolonName[] =
6882 "netbsd_extra_semicolon";
6885 * File name selection pattern
6887 tSCC zNetbsd_Extra_SemicolonList[] =
6890 * Machine/OS name selection pattern
6892 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6894 (const char*)NULL };
6897 * content selection pattern - do fix if pattern found
6899 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6900 "#define[ \t]*__END_DECLS[ \t]*};";
6902 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6903 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6904 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6907 * Fix Command Arguments for Netbsd_Extra_Semicolon
6909 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6911 "#define __END_DECLS }",
6914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6916 * Description of Newlib_Stdint_1 fix
6918 tSCC zNewlib_Stdint_1Name[] =
6922 * File name selection pattern
6924 tSCC zNewlib_Stdint_1List[] =
6925 "stdint-newlib.h\0stdint.h\0";
6927 * Machine/OS name selection pattern
6929 #define apzNewlib_Stdint_1Machs (const char**)NULL
6932 * content selection pattern - do fix if pattern found
6934 tSCC zNewlib_Stdint_1Select0[] =
6935 "@todo - Add support for wint_t types";
6937 #define NEWLIB_STDINT_1_TEST_CT 1
6938 static tTestDesc aNewlib_Stdint_1Tests[] = {
6939 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6942 * Fix Command Arguments for Newlib_Stdint_1
6944 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6945 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6946 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6947 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6948 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6949 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6950 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6951 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6952 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6953 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6954 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6955 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6956 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6957 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6958 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6963 * Description of Newlib_Stdint_2 fix
6965 tSCC zNewlib_Stdint_2Name[] =
6969 * File name selection pattern
6971 tSCC zNewlib_Stdint_2List[] =
6972 "stdint-newlib.h\0stdint.h\0";
6974 * Machine/OS name selection pattern
6976 #define apzNewlib_Stdint_2Machs (const char**)NULL
6979 * content selection pattern - do fix if pattern found
6981 tSCC zNewlib_Stdint_2Select0[] =
6982 "@todo - Add support for wint_t types";
6984 #define NEWLIB_STDINT_2_TEST_CT 1
6985 static tTestDesc aNewlib_Stdint_2Tests[] = {
6986 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6989 * Fix Command Arguments for Newlib_Stdint_2
6991 static const char* apzNewlib_Stdint_2Patch[] = {
6993 "#define INTMAX_MAX __INTMAX_MAX__\n\
6994 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6995 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6996 #define WCHAR_MAX __WCHAR_MAX__\n\
6997 #define WCHAR_MIN __WCHAR_MIN__\n\
6998 #define WINT_MAX __WINT_MAX__\n\
6999 #define WINT_MIN __WINT_MIN__\n\n\
7001 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
7004 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7006 * Description of Next_Math_Prefix fix
7008 tSCC zNext_Math_PrefixName[] =
7012 * File name selection pattern
7014 tSCC zNext_Math_PrefixList[] =
7017 * Machine/OS name selection pattern
7019 #define apzNext_Math_PrefixMachs (const char**)NULL
7022 * content selection pattern - do fix if pattern found
7024 tSCC zNext_Math_PrefixSelect0[] =
7025 "^extern[ \t]+double[ \t]+__const__[ \t]";
7027 #define NEXT_MATH_PREFIX_TEST_CT 1
7028 static tTestDesc aNext_Math_PrefixTests[] = {
7029 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
7032 * Fix Command Arguments for Next_Math_Prefix
7034 static const char* apzNext_Math_PrefixPatch[] = {
7036 "extern double %1(",
7037 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
7040 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7042 * Description of Next_Template fix
7044 tSCC zNext_TemplateName[] =
7048 * File name selection pattern
7050 tSCC zNext_TemplateList[] =
7053 * Machine/OS name selection pattern
7055 #define apzNext_TemplateMachs (const char**)NULL
7058 * content selection pattern - do fix if pattern found
7060 tSCC zNext_TemplateSelect0[] =
7063 #define NEXT_TEMPLATE_TEST_CT 1
7064 static tTestDesc aNext_TemplateTests[] = {
7065 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
7068 * Fix Command Arguments for Next_Template
7070 static const char* apzNext_TemplatePatch[] = {
7073 "\\(([^)]*)[ \t]template\\)",
7076 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7078 * Description of Next_Volitile fix
7080 tSCC zNext_VolitileName[] =
7084 * File name selection pattern
7086 tSCC zNext_VolitileList[] =
7089 * Machine/OS name selection pattern
7091 #define apzNext_VolitileMachs (const char**)NULL
7094 * content selection pattern - do fix if pattern found
7096 tSCC zNext_VolitileSelect0[] =
7097 "^extern[ \t]+volatile[ \t]+void[ \t]";
7099 #define NEXT_VOLITILE_TEST_CT 1
7100 static tTestDesc aNext_VolitileTests[] = {
7101 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
7104 * Fix Command Arguments for Next_Volitile
7106 static const char* apzNext_VolitilePatch[] = {
7109 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
7112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7114 * Description of Next_Wait_Union fix
7116 tSCC zNext_Wait_UnionName[] =
7120 * File name selection pattern
7122 tSCC zNext_Wait_UnionList[] =
7125 * Machine/OS name selection pattern
7127 #define apzNext_Wait_UnionMachs (const char**)NULL
7130 * content selection pattern - do fix if pattern found
7132 tSCC zNext_Wait_UnionSelect0[] =
7133 "wait\\(union wait";
7135 #define NEXT_WAIT_UNION_TEST_CT 1
7136 static tTestDesc aNext_Wait_UnionTests[] = {
7137 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
7140 * Fix Command Arguments for Next_Wait_Union
7142 static const char* apzNext_Wait_UnionPatch[] = {
7147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7149 * Description of Nodeent_Syntax fix
7151 tSCC zNodeent_SyntaxName[] =
7155 * File name selection pattern
7157 tSCC zNodeent_SyntaxList[] =
7158 "netdnet/dnetdb.h\0";
7160 * Machine/OS name selection pattern
7162 #define apzNodeent_SyntaxMachs (const char**)NULL
7165 * content selection pattern - do fix if pattern found
7167 tSCC zNodeent_SyntaxSelect0[] =
7168 "char[ \t]*\\*na_addr[ \t]*$";
7170 #define NODEENT_SYNTAX_TEST_CT 1
7171 static tTestDesc aNodeent_SyntaxTests[] = {
7172 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
7175 * Fix Command Arguments for Nodeent_Syntax
7177 static const char* apzNodeent_SyntaxPatch[] = {
7182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7184 * Description of Openbsd_Null_Definition fix
7186 tSCC zOpenbsd_Null_DefinitionName[] =
7187 "openbsd_null_definition";
7190 * File name selection pattern
7192 tSCC zOpenbsd_Null_DefinitionList[] =
7193 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
7195 * Machine/OS name selection pattern
7197 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
7199 (const char*)NULL };
7202 * content selection pattern - do fix if pattern found
7204 tSCC zOpenbsd_Null_DefinitionSelect0[] =
7207 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
7208 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
7209 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
7212 * Fix Command Arguments for Openbsd_Null_Definition
7214 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
7217 #ifdef __cplusplus\n\
7219 #define NULL\t__null\n\
7220 #else\t /* ! __GNUG__ */\n\
7222 #endif\t /* __GNUG__ */\n\
7223 #else\t /* ! __cplusplus */\n\
7224 #define NULL\t((void *)0)\n\
7225 #endif\t /* __cplusplus */\n\
7226 #endif\t /* !NULL */",
7227 "^#ifndef[ \t]*NULL\n\
7228 ^#ifdef[ \t]*__GNUG__\n\
7229 ^#define[ \t]*NULL[ \t]*__null\n\
7231 ^#define[ \t]*NULL[ \t]*0L\n\
7236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7238 * Description of Obstack_Lvalue_Cast fix
7240 tSCC zObstack_Lvalue_CastName[] =
7241 "obstack_lvalue_cast";
7244 * File name selection pattern
7246 tSCC zObstack_Lvalue_CastList[] =
7249 * Machine/OS name selection pattern
7251 #define apzObstack_Lvalue_CastMachs (const char**)NULL
7254 * content selection pattern - do fix if pattern found
7256 tSCC zObstack_Lvalue_CastSelect0[] =
7257 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
7259 #define OBSTACK_LVALUE_CAST_TEST_CT 1
7260 static tTestDesc aObstack_Lvalue_CastTests[] = {
7261 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
7264 * Fix Command Arguments for Obstack_Lvalue_Cast
7266 static const char* apzObstack_Lvalue_CastPatch[] = {
7268 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
7271 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7273 * Description of Openbsd_Va_Start fix
7275 tSCC zOpenbsd_Va_StartName[] =
7279 * File name selection pattern
7281 tSCC zOpenbsd_Va_StartList[] =
7284 * Machine/OS name selection pattern
7286 tSCC* apzOpenbsd_Va_StartMachs[] = {
7288 (const char*)NULL };
7291 * content selection pattern - do fix if pattern found
7293 tSCC zOpenbsd_Va_StartSelect0[] =
7294 "__builtin_stdarg_start";
7296 #define OPENBSD_VA_START_TEST_CT 1
7297 static tTestDesc aOpenbsd_Va_StartTests[] = {
7298 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
7301 * Fix Command Arguments for Openbsd_Va_Start
7303 static const char* apzOpenbsd_Va_StartPatch[] = {
7305 "__builtin_va_start",
7308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7310 * Description of Osf_Namespace_A fix
7312 tSCC zOsf_Namespace_AName[] =
7316 * File name selection pattern
7318 tSCC zOsf_Namespace_AList[] =
7319 "reg_types.h\0sys/lc_core.h\0";
7321 * Machine/OS name selection pattern
7323 #define apzOsf_Namespace_AMachs (const char**)NULL
7326 * perform the 'test' shell command - do fix on success
7328 tSCC zOsf_Namespace_ATest0[] =
7330 tSCC zOsf_Namespace_ATest1[] =
7331 " -r sys/lc_core.h";
7332 tSCC zOsf_Namespace_ATest2[] =
7333 " -n \"`grep '} regex_t;' reg_types.h`\"";
7334 tSCC zOsf_Namespace_ATest3[] =
7335 " -z \"`grep __regex_t regex.h`\"";
7337 #define OSF_NAMESPACE_A_TEST_CT 4
7338 static tTestDesc aOsf_Namespace_ATests[] = {
7339 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
7340 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
7341 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
7342 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
7345 * Fix Command Arguments for Osf_Namespace_A
7347 static const char* apzOsf_Namespace_APatch[] = {
7350 "reg(ex|off|match)_t",
7353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7355 * Description of Osf_Namespace_C fix
7357 tSCC zOsf_Namespace_CName[] =
7361 * File name selection pattern
7363 tSCC zOsf_Namespace_CList[] =
7366 * Machine/OS name selection pattern
7368 #define apzOsf_Namespace_CMachs (const char**)NULL
7371 * content selection pattern - do fix if pattern found
7373 tSCC zOsf_Namespace_CSelect0[] =
7374 "#include <reg_types.h>.*";
7377 * perform the 'test' shell command - do fix on success
7379 tSCC zOsf_Namespace_CTest0[] =
7381 tSCC zOsf_Namespace_CTest1[] =
7382 " -r sys/lc_core.h";
7383 tSCC zOsf_Namespace_CTest2[] =
7384 " -n \"`grep '} regex_t;' reg_types.h`\"";
7385 tSCC zOsf_Namespace_CTest3[] =
7386 " -z \"`grep __regex_t regex.h`\"";
7388 #define OSF_NAMESPACE_C_TEST_CT 5
7389 static tTestDesc aOsf_Namespace_CTests[] = {
7390 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
7391 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
7392 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
7393 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
7394 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
7397 * Fix Command Arguments for Osf_Namespace_C
7399 static const char* apzOsf_Namespace_CPatch[] = {
7402 typedef __regex_t\tregex_t;\n\
7403 typedef __regoff_t\tregoff_t;\n\
7404 typedef __regmatch_t\tregmatch_t;",
7407 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7409 * Description of Pthread_Incomplete_Struct_Argument fix
7411 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7412 "pthread_incomplete_struct_argument";
7415 * File name selection pattern
7417 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7420 * Machine/OS name selection pattern
7422 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7425 * content selection pattern - do fix if pattern found
7427 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7428 "struct __jmp_buf_tag";
7430 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
7431 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7432 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7435 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7437 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7440 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7445 * Description of Read_Ret_Type fix
7447 tSCC zRead_Ret_TypeName[] =
7451 * File name selection pattern
7453 tSCC zRead_Ret_TypeList[] =
7456 * Machine/OS name selection pattern
7458 #define apzRead_Ret_TypeMachs (const char**)NULL
7461 * content selection pattern - do fix if pattern found
7463 tSCC zRead_Ret_TypeSelect0[] =
7464 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7466 #define READ_RET_TYPE_TEST_CT 1
7467 static tTestDesc aRead_Ret_TypeTests[] = {
7468 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7471 * Fix Command Arguments for Read_Ret_Type
7473 static const char* apzRead_Ret_TypePatch[] = {
7475 "extern unsigned int fread(), fwrite();\n\
7477 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7480 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7482 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7484 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7485 "rpc_xdr_lvalue_cast_a";
7488 * File name selection pattern
7490 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7493 * Machine/OS name selection pattern
7495 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7498 * content selection pattern - do fix if pattern found
7500 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7501 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7504 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7505 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7506 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7509 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7511 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7513 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7518 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7520 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7521 "rpc_xdr_lvalue_cast_b";
7524 * File name selection pattern
7526 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7529 * Machine/OS name selection pattern
7531 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7534 * content selection pattern - do fix if pattern found
7536 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7537 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7540 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7541 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7542 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7545 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7547 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7549 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7554 * Description of Rs6000_Double fix
7556 tSCC zRs6000_DoubleName[] =
7560 * File name selection pattern
7562 tSCC zRs6000_DoubleList[] =
7565 * Machine/OS name selection pattern
7567 #define apzRs6000_DoubleMachs (const char**)NULL
7570 * content selection pattern - do fix if pattern found
7572 tSCC zRs6000_DoubleSelect0[] =
7573 "[^a-zA-Z_]class\\(";
7575 #define RS6000_DOUBLE_TEST_CT 1
7576 static tTestDesc aRs6000_DoubleTests[] = {
7577 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7580 * Fix Command Arguments for Rs6000_Double
7582 static const char* apzRs6000_DoublePatch[] = {
7584 "#ifndef __cplusplus\n\
7587 "^.*[^a-zA-Z_]class\\(.*",
7590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7592 * Description of Rs6000_Fchmod fix
7594 tSCC zRs6000_FchmodName[] =
7598 * File name selection pattern
7600 tSCC zRs6000_FchmodList[] =
7603 * Machine/OS name selection pattern
7605 #define apzRs6000_FchmodMachs (const char**)NULL
7608 * content selection pattern - do fix if pattern found
7610 tSCC zRs6000_FchmodSelect0[] =
7611 "fchmod\\(char \\*";
7613 #define RS6000_FCHMOD_TEST_CT 1
7614 static tTestDesc aRs6000_FchmodTests[] = {
7615 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7618 * Fix Command Arguments for Rs6000_Fchmod
7620 static const char* apzRs6000_FchmodPatch[] = {
7625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7627 * Description of Rs6000_Param fix
7629 tSCC zRs6000_ParamName[] =
7633 * File name selection pattern
7635 tSCC zRs6000_ParamList[] =
7636 "stdio.h\0unistd.h\0";
7638 * Machine/OS name selection pattern
7640 #define apzRs6000_ParamMachs (const char**)NULL
7643 * content selection pattern - do fix if pattern found
7645 tSCC zRs6000_ParamSelect0[] =
7646 "rename\\(const char \\*old, const char \\*new\\)";
7648 #define RS6000_PARAM_TEST_CT 1
7649 static tTestDesc aRs6000_ParamTests[] = {
7650 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7653 * Fix Command Arguments for Rs6000_Param
7655 static const char* apzRs6000_ParamPatch[] = {
7657 "rename(const char *_old, const char *_new)",
7660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7662 * Description of Solaris___Restrict fix
7664 tSCC zSolaris___RestrictName[] =
7665 "solaris___restrict";
7668 * File name selection pattern
7670 tSCC zSolaris___RestrictList[] =
7671 "sys/feature_tests.h\0";
7673 * Machine/OS name selection pattern
7675 tSCC* apzSolaris___RestrictMachs[] = {
7677 (const char*)NULL };
7680 * content selection pattern - do fix if pattern found
7682 tSCC zSolaris___RestrictSelect0[] =
7683 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7685 #define SOLARIS___RESTRICT_TEST_CT 1
7686 static tTestDesc aSolaris___RestrictTests[] = {
7687 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7690 * Fix Command Arguments for Solaris___Restrict
7692 static const char* apzSolaris___RestrictPatch[] = {
7694 "#ifdef __cplusplus\n\
7695 #define\t_RESTRICT_KYWD\t__restrict\n\
7701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7703 * Description of Solaris_Complex fix
7705 tSCC zSolaris_ComplexName[] =
7709 * File name selection pattern
7711 tSCC zSolaris_ComplexList[] =
7714 * Machine/OS name selection pattern
7716 tSCC* apzSolaris_ComplexMachs[] = {
7718 (const char*)NULL };
7721 * content selection pattern - do fix if pattern found
7723 tSCC zSolaris_ComplexSelect0[] =
7724 "#define[ \t]_Complex_I[ \t]_Complex_I";
7726 #define SOLARIS_COMPLEX_TEST_CT 1
7727 static tTestDesc aSolaris_ComplexTests[] = {
7728 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7731 * Fix Command Arguments for Solaris_Complex
7733 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7734 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7735 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7736 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7737 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7740 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7742 * Description of Solaris_Complex_Cxx fix
7744 tSCC zSolaris_Complex_CxxName[] =
7745 "solaris_complex_cxx";
7748 * File name selection pattern
7750 tSCC zSolaris_Complex_CxxList[] =
7753 * Machine/OS name selection pattern
7755 tSCC* apzSolaris_Complex_CxxMachs[] = {
7757 (const char*)NULL };
7758 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7759 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7762 * Fix Command Arguments for Solaris_Complex_Cxx
7764 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7765 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7766 #ifdef\t__cplusplus\\\n\
7769 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7770 #ifdef\t__cplusplus\\\n\
7775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7777 * Description of Solaris_Cxx_Linkage fix
7779 tSCC zSolaris_Cxx_LinkageName[] =
7780 "solaris_cxx_linkage";
7783 * File name selection pattern
7785 tSCC zSolaris_Cxx_LinkageList[] =
7786 "iso/stdlib_iso.h\0";
7788 * Machine/OS name selection pattern
7790 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7792 (const char*)NULL };
7795 * content selection pattern - do fix if pattern found
7797 tSCC zSolaris_Cxx_LinkageSelect0[] =
7798 "(#if __cplusplus >= 199711L)\n\
7799 (extern \"C\\+\\+\" \\{\n\
7800 )(.*(bsearch|qsort).*)";
7802 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7803 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7804 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7807 * Fix Command Arguments for Solaris_Cxx_Linkage
7809 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7817 * Description of Solaris_Getc_Strict_Stdc fix
7819 tSCC zSolaris_Getc_Strict_StdcName[] =
7820 "solaris_getc_strict_stdc";
7823 * File name selection pattern
7825 tSCC zSolaris_Getc_Strict_StdcList[] =
7826 "iso/stdio_iso.h\0";
7828 * Machine/OS name selection pattern
7830 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7832 (const char*)NULL };
7835 * content selection pattern - do fix if pattern found
7837 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7838 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7840 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7841 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7842 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7845 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7847 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7849 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7854 * Description of Solaris_Gets_C11 fix
7856 tSCC zSolaris_Gets_C11Name[] =
7860 * File name selection pattern
7862 tSCC zSolaris_Gets_C11List[] =
7863 "iso/stdio_iso.h\0";
7865 * Machine/OS name selection pattern
7867 tSCC* apzSolaris_Gets_C11Machs[] = {
7869 (const char*)NULL };
7872 * content selection pattern - do fix if pattern found
7874 tSCC zSolaris_Gets_C11Select0[] =
7875 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7877 #define SOLARIS_GETS_C11_TEST_CT 1
7878 static tTestDesc aSolaris_Gets_C11Tests[] = {
7879 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7882 * Fix Command Arguments for Solaris_Gets_C11
7884 static const char* apzSolaris_Gets_C11Patch[] = {
7886 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7887 %1 __attribute__((__deprecated__));\n\
7891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7893 * Description of Solaris_Gets_Cxx14 fix
7895 tSCC zSolaris_Gets_Cxx14Name[] =
7896 "solaris_gets_cxx14";
7899 * File name selection pattern
7901 tSCC zSolaris_Gets_Cxx14List[] =
7902 "iso/stdio_iso.h\0";
7904 * Machine/OS name selection pattern
7906 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7908 (const char*)NULL };
7911 * content selection pattern - do fix if pattern found
7913 tSCC zSolaris_Gets_Cxx14Select0[] =
7914 "(#if __STDC_VERSION__ < 201112L)\n\
7915 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7917 #define SOLARIS_GETS_CXX14_TEST_CT 1
7918 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7919 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7922 * Fix Command Arguments for Solaris_Gets_Cxx14
7924 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7926 "%1 && __cplusplus < 201402L\n\
7930 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7932 * Description of Solaris_Int_Const fix
7934 tSCC zSolaris_Int_ConstName[] =
7935 "solaris_int_const";
7938 * File name selection pattern
7940 tSCC zSolaris_Int_ConstList[] =
7941 "sys/int_const.h\0";
7943 * Machine/OS name selection pattern
7945 tSCC* apzSolaris_Int_ConstMachs[] = {
7947 (const char*)NULL };
7950 * content selection pattern - do fix if pattern found
7952 tSCC zSolaris_Int_ConstSelect0[] =
7953 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7955 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7957 #define SOLARIS_INT_CONST_TEST_CT 1
7958 static tTestDesc aSolaris_Int_ConstTests[] = {
7959 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7962 * Fix Command Arguments for Solaris_Int_Const
7964 static const char* apzSolaris_Int_ConstPatch[] = {
7966 "#define\tUINT8_C(c)\t(c)\n\
7968 #define\tUINT16_C(c)\t(c)",
7971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7973 * Description of Solaris_Int_Limits_1 fix
7975 tSCC zSolaris_Int_Limits_1Name[] =
7976 "solaris_int_limits_1";
7979 * File name selection pattern
7981 tSCC zSolaris_Int_Limits_1List[] =
7982 "sys/int_limits.h\0";
7984 * Machine/OS name selection pattern
7986 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7988 (const char*)NULL };
7991 * content selection pattern - do fix if pattern found
7993 tSCC zSolaris_Int_Limits_1Select0[] =
7994 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7995 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7997 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7998 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7999 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
8002 * Fix Command Arguments for Solaris_Int_Limits_1
8004 static const char* apzSolaris_Int_Limits_1Patch[] = {
8006 "#define\tUINT8_MAX\t(255)\n\
8007 #define\tUINT16_MAX\t(65535)",
8010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8012 * Description of Solaris_Int_Limits_2 fix
8014 tSCC zSolaris_Int_Limits_2Name[] =
8015 "solaris_int_limits_2";
8018 * File name selection pattern
8020 tSCC zSolaris_Int_Limits_2List[] =
8021 "sys/int_limits.h\0";
8023 * Machine/OS name selection pattern
8025 tSCC* apzSolaris_Int_Limits_2Machs[] = {
8027 (const char*)NULL };
8030 * content selection pattern - do fix if pattern found
8032 tSCC zSolaris_Int_Limits_2Select0[] =
8033 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
8035 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
8036 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
8037 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
8040 * Fix Command Arguments for Solaris_Int_Limits_2
8042 static const char* apzSolaris_Int_Limits_2Patch[] = {
8044 "#define\t%1_FAST16_%2 %132_%2",
8047 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8049 * Description of Solaris_Int_Limits_3 fix
8051 tSCC zSolaris_Int_Limits_3Name[] =
8052 "solaris_int_limits_3";
8055 * File name selection pattern
8057 tSCC zSolaris_Int_Limits_3List[] =
8058 "sys/int_limits.h\0";
8060 * Machine/OS name selection pattern
8062 tSCC* apzSolaris_Int_Limits_3Machs[] = {
8064 (const char*)NULL };
8067 * content selection pattern - do fix if pattern found
8069 tSCC zSolaris_Int_Limits_3Select0[] =
8070 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
8072 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
8073 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
8074 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
8077 * Fix Command Arguments for Solaris_Int_Limits_3
8079 static const char* apzSolaris_Int_Limits_3Patch[] = {
8081 "#define\tSIZE_MAX\t4294967295U",
8084 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8086 * Description of Solaris_Math_1 fix
8088 tSCC zSolaris_Math_1Name[] =
8092 * File name selection pattern
8094 tSCC zSolaris_Math_1List[] =
8097 * Machine/OS name selection pattern
8099 #define apzSolaris_Math_1Machs (const char**)NULL
8102 * content selection pattern - do fix if pattern found
8104 tSCC zSolaris_Math_1Select0[] =
8105 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8108 * content bypass pattern - skip fix if pattern found
8110 tSCC zSolaris_Math_1Bypass0[] =
8113 #define SOLARIS_MATH_1_TEST_CT 2
8114 static tTestDesc aSolaris_Math_1Tests[] = {
8115 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
8116 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
8119 * Fix Command Arguments for Solaris_Math_1
8121 static const char* apzSolaris_Math_1Patch[] = {
8123 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
8124 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
8127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8129 * Description of Solaris_Math_10 fix
8131 tSCC zSolaris_Math_10Name[] =
8135 * File name selection pattern
8137 tSCC zSolaris_Math_10List[] =
8140 * Machine/OS name selection pattern
8142 #define apzSolaris_Math_10Machs (const char**)NULL
8145 * content selection pattern - do fix if pattern found
8147 tSCC zSolaris_Math_10Select0[] =
8148 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8150 #define SOLARIS_MATH_10_TEST_CT 1
8151 static tTestDesc aSolaris_Math_10Tests[] = {
8152 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
8155 * Fix Command Arguments for Solaris_Math_10
8157 static const char* apzSolaris_Math_10Patch[] = {
8159 "#define\tisinf(x) __builtin_isinf(x)",
8160 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
8161 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8162 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
8163 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
8166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8168 * Description of Solaris_Math_2 fix
8170 tSCC zSolaris_Math_2Name[] =
8174 * File name selection pattern
8176 tSCC zSolaris_Math_2List[] =
8179 * Machine/OS name selection pattern
8181 #define apzSolaris_Math_2Machs (const char**)NULL
8184 * content selection pattern - do fix if pattern found
8186 tSCC zSolaris_Math_2Select0[] =
8187 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8190 * content bypass pattern - skip fix if pattern found
8192 tSCC zSolaris_Math_2Bypass0[] =
8195 #define SOLARIS_MATH_2_TEST_CT 2
8196 static tTestDesc aSolaris_Math_2Tests[] = {
8197 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
8198 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
8201 * Fix Command Arguments for Solaris_Math_2
8203 static const char* apzSolaris_Math_2Patch[] = {
8205 "#define\tINFINITY\t(__builtin_inff())",
8206 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
8209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8211 * Description of Solaris_Math_3 fix
8213 tSCC zSolaris_Math_3Name[] =
8217 * File name selection pattern
8219 tSCC zSolaris_Math_3List[] =
8222 * Machine/OS name selection pattern
8224 #define apzSolaris_Math_3Machs (const char**)NULL
8227 * content selection pattern - do fix if pattern found
8229 tSCC zSolaris_Math_3Select0[] =
8230 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8233 * content bypass pattern - skip fix if pattern found
8235 tSCC zSolaris_Math_3Bypass0[] =
8238 #define SOLARIS_MATH_3_TEST_CT 2
8239 static tTestDesc aSolaris_Math_3Tests[] = {
8240 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
8241 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
8244 * Fix Command Arguments for Solaris_Math_3
8246 static const char* apzSolaris_Math_3Patch[] = {
8248 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
8249 "^#define[ \t]+NAN[ \t]+__builtin_nan",
8252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8254 * Description of Solaris_Math_4 fix
8256 tSCC zSolaris_Math_4Name[] =
8260 * File name selection pattern
8262 tSCC zSolaris_Math_4List[] =
8265 * Machine/OS name selection pattern
8267 #define apzSolaris_Math_4Machs (const char**)NULL
8270 * content selection pattern - do fix if pattern found
8272 tSCC zSolaris_Math_4Select0[] =
8273 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8276 * content bypass pattern - skip fix if pattern found
8278 tSCC zSolaris_Math_4Bypass0[] =
8281 #define SOLARIS_MATH_4_TEST_CT 2
8282 static tTestDesc aSolaris_Math_4Tests[] = {
8283 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
8284 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
8287 * Fix Command Arguments for Solaris_Math_4
8289 static const char* apzSolaris_Math_4Patch[] = {
8291 "#define\tfpclassify(x) \\\n\
8292 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
8293 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
8296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8298 * Description of Solaris_Math_8 fix
8300 tSCC zSolaris_Math_8Name[] =
8304 * File name selection pattern
8306 tSCC zSolaris_Math_8List[] =
8309 * Machine/OS name selection pattern
8311 #define apzSolaris_Math_8Machs (const char**)NULL
8314 * content selection pattern - do fix if pattern found
8316 tSCC zSolaris_Math_8Select0[] =
8317 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
8320 * content bypass pattern - skip fix if pattern found
8322 tSCC zSolaris_Math_8Bypass0[] =
8325 #define SOLARIS_MATH_8_TEST_CT 2
8326 static tTestDesc aSolaris_Math_8Tests[] = {
8327 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
8328 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
8331 * Fix Command Arguments for Solaris_Math_8
8333 static const char* apzSolaris_Math_8Patch[] = {
8335 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8336 \t\t\t ? __builtin_signbitf(x) \\\n\
8337 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8338 \t\t\t ? __builtin_signbitl(x) \\\n\
8339 \t\t\t : __builtin_signbit(x))",
8340 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
8343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8345 * Description of Solaris_Math_9 fix
8347 tSCC zSolaris_Math_9Name[] =
8351 * File name selection pattern
8353 tSCC zSolaris_Math_9List[] =
8356 * Machine/OS name selection pattern
8358 #define apzSolaris_Math_9Machs (const char**)NULL
8361 * content selection pattern - do fix if pattern found
8363 tSCC zSolaris_Math_9Select0[] =
8364 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8367 * content bypass pattern - skip fix if pattern found
8369 tSCC zSolaris_Math_9Bypass0[] =
8372 #define SOLARIS_MATH_9_TEST_CT 2
8373 static tTestDesc aSolaris_Math_9Tests[] = {
8374 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
8375 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
8378 * Fix Command Arguments for Solaris_Math_9
8380 static const char* apzSolaris_Math_9Patch[] = {
8382 "#define\t%1(x, y)%2__builtin_%1(x, y)",
8383 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
8386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8388 * Description of Solaris_Math_11 fix
8390 tSCC zSolaris_Math_11Name[] =
8394 * File name selection pattern
8396 tSCC zSolaris_Math_11List[] =
8399 * Machine/OS name selection pattern
8401 #define apzSolaris_Math_11Machs (const char**)NULL
8404 * content selection pattern - do fix if pattern found
8406 tSCC zSolaris_Math_11Select0[] =
8407 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8409 #define SOLARIS_MATH_11_TEST_CT 1
8410 static tTestDesc aSolaris_Math_11Tests[] = {
8411 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
8414 * Fix Command Arguments for Solaris_Math_11
8416 static const char* apzSolaris_Math_11Patch[] = {
8419 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8420 \t\t\t ? __builtin_signbitf(x) \\\n\
8421 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8422 \t\t\t ? __builtin_signbitl(x) \\\n\
8423 \t\t\t : __builtin_signbit(x))",
8424 "^#undef[ \t]+signbit\n\
8425 #if defined\\(__sparc\\)\n\
8426 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8427 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8428 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8429 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8430 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8431 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8432 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8433 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8434 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8435 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8436 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8442 * Description of Solaris_Math_12 fix
8444 tSCC zSolaris_Math_12Name[] =
8448 * File name selection pattern
8450 tSCC zSolaris_Math_12List[] =
8453 * Machine/OS name selection pattern
8455 tSCC* apzSolaris_Math_12Machs[] = {
8457 (const char*)NULL };
8460 * content selection pattern - do fix if pattern found
8462 tSCC zSolaris_Math_12Select0[] =
8463 "#undef.*_GLIBCXX_USE_C99_MATH";
8465 #define SOLARIS_MATH_12_TEST_CT 1
8466 static tTestDesc aSolaris_Math_12Tests[] = {
8467 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
8470 * Fix Command Arguments for Solaris_Math_12
8472 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8473 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8476 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8478 * Description of Solaris_Once_Init_1 fix
8480 tSCC zSolaris_Once_Init_1Name[] =
8481 "solaris_once_init_1";
8484 * File name selection pattern
8486 tSCC zSolaris_Once_Init_1List[] =
8489 * Machine/OS name selection pattern
8491 tSCC* apzSolaris_Once_Init_1Machs[] = {
8493 (const char*)NULL };
8496 * content selection pattern - do fix if pattern found
8498 tSCC zSolaris_Once_Init_1Select0[] =
8499 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8501 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
8502 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8503 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8506 * Fix Command Arguments for Solaris_Once_Init_1
8508 static const char* apzSolaris_Once_Init_1Patch[] = {
8511 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8516 * Description of Solaris_Posix_Spawn_Restrict fix
8518 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8519 "solaris_posix_spawn_restrict";
8522 * File name selection pattern
8524 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8527 * Machine/OS name selection pattern
8529 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8531 (const char*)NULL };
8534 * content selection pattern - do fix if pattern found
8536 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8537 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8539 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8540 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8541 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8544 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8546 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8548 "%1*_RESTRICT_KYWD %2%3",
8551 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8553 * Description of Solaris_Pow_Int_Overload fix
8555 tSCC zSolaris_Pow_Int_OverloadName[] =
8556 "solaris_pow_int_overload";
8559 * File name selection pattern
8561 tSCC zSolaris_Pow_Int_OverloadList[] =
8564 * Machine/OS name selection pattern
8566 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8568 (const char*)NULL };
8571 * content selection pattern - do fix if pattern found
8573 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8574 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8577 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8578 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8579 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8582 * Fix Command Arguments for Solaris_Pow_Int_Overload
8584 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8586 "#if __cplusplus < 201103L\n\
8591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8593 * Description of Solaris_Rwlock_Init_1 fix
8595 tSCC zSolaris_Rwlock_Init_1Name[] =
8596 "solaris_rwlock_init_1";
8599 * File name selection pattern
8601 tSCC zSolaris_Rwlock_Init_1List[] =
8604 * Machine/OS name selection pattern
8606 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8608 (const char*)NULL };
8611 * content selection pattern - do fix if pattern found
8613 tSCC zSolaris_Rwlock_Init_1Select0[] =
8614 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8616 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8617 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8618 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8621 * Fix Command Arguments for Solaris_Rwlock_Init_1
8623 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8625 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8628 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8630 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8635 * Description of Solaris_Std___Filbuf fix
8637 tSCC zSolaris_Std___FilbufName[] =
8638 "solaris_std___filbuf";
8641 * File name selection pattern
8643 tSCC zSolaris_Std___FilbufList[] =
8646 * Machine/OS name selection pattern
8648 tSCC* apzSolaris_Std___FilbufMachs[] = {
8650 (const char*)NULL };
8653 * content selection pattern - do fix if pattern found
8655 tSCC zSolaris_Std___FilbufSelect0[] =
8656 "(using std::perror;\n\
8660 * content bypass pattern - skip fix if pattern found
8662 tSCC zSolaris_Std___FilbufBypass0[] =
8663 "using std::__filbuf";
8665 #define SOLARIS_STD___FILBUF_TEST_CT 2
8666 static tTestDesc aSolaris_Std___FilbufTests[] = {
8667 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8668 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8671 * Fix Command Arguments for Solaris_Std___Filbuf
8673 static const char* apzSolaris_Std___FilbufPatch[] = {
8676 using std::__filbuf;\n\
8677 using std::__flsbuf;\n\
8682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8684 * Description of Solaris_Std_Gets_Cxx14 fix
8686 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8687 "solaris_std_gets_cxx14";
8690 * File name selection pattern
8692 tSCC zSolaris_Std_Gets_Cxx14List[] =
8695 * Machine/OS name selection pattern
8697 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8699 (const char*)NULL };
8702 * content selection pattern - do fix if pattern found
8704 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8707 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8708 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8709 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8712 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8714 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8716 "#if __cplusplus < 201402L\n\
8721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8723 * Description of Solaris_Stdio_Tag fix
8725 tSCC zSolaris_Stdio_TagName[] =
8726 "solaris_stdio_tag";
8729 * File name selection pattern
8731 tSCC zSolaris_Stdio_TagList[] =
8734 * Machine/OS name selection pattern
8736 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8739 * content selection pattern - do fix if pattern found
8741 tSCC zSolaris_Stdio_TagSelect0[] =
8742 "__cplusplus < 54321L";
8745 * content bypass pattern - skip fix if pattern found
8747 tSCC zSolaris_Stdio_TagBypass0[] =
8750 #define SOLARIS_STDIO_TAG_TEST_CT 2
8751 static tTestDesc aSolaris_Stdio_TagTests[] = {
8752 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8753 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8756 * Fix Command Arguments for Solaris_Stdio_Tag
8758 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8759 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8764 * Description of Solaris_Stdlib_Noreturn fix
8766 tSCC zSolaris_Stdlib_NoreturnName[] =
8767 "solaris_stdlib_noreturn";
8770 * File name selection pattern
8772 tSCC zSolaris_Stdlib_NoreturnList[] =
8773 "iso/stdlib_c99.h\0";
8775 * Machine/OS name selection pattern
8777 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8779 (const char*)NULL };
8782 * content selection pattern - do fix if pattern found
8784 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8785 "(extern) _Noreturn (void quick_exit\\(int\\));";
8787 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8788 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8789 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8792 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8794 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8796 "%1 %2 __attribute__((__noreturn__));",
8799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8801 * Description of Statsswtch fix
8803 tSCC zStatsswtchName[] =
8807 * File name selection pattern
8809 tSCC zStatsswtchList[] =
8812 * Machine/OS name selection pattern
8814 #define apzStatsswtchMachs (const char**)NULL
8817 * content selection pattern - do fix if pattern found
8819 tSCC zStatsswtchSelect0[] =
8822 #define STATSSWTCH_TEST_CT 1
8823 static tTestDesc aStatsswtchTests[] = {
8824 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8827 * Fix Command Arguments for Statsswtch
8829 static const char* apzStatsswtchPatch[] = {
8834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8836 * Description of Stdio_Stdarg_H fix
8838 tSCC zStdio_Stdarg_HName[] =
8842 * File name selection pattern
8844 tSCC zStdio_Stdarg_HList[] =
8847 * Machine/OS name selection pattern
8849 tSCC* apzStdio_Stdarg_HMachs[] = {
8850 "*-*-solaris2.1[0-9]*",
8851 (const char*)NULL };
8854 * content bypass pattern - skip fix if pattern found
8856 tSCC zStdio_Stdarg_HBypass0[] =
8857 "include.*(stdarg.h|machine/ansi.h)";
8859 #define STDIO_STDARG_H_TEST_CT 1
8860 static tTestDesc aStdio_Stdarg_HTests[] = {
8861 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8864 * Fix Command Arguments for Stdio_Stdarg_H
8866 static const char* apzStdio_Stdarg_HPatch[] = {
8868 "#define __need___va_list\n\
8869 #include <stdarg.h>\n",
8872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8874 * Description of Stdio_Va_List fix
8876 tSCC zStdio_Va_ListName[] =
8880 * File name selection pattern
8882 tSCC zStdio_Va_ListList[] =
8885 * Machine/OS name selection pattern
8887 tSCC* apzStdio_Va_ListMachs[] = {
8888 "*-*-solaris2.1[0-9]*",
8889 (const char*)NULL };
8892 * content bypass pattern - skip fix if pattern found
8894 tSCC zStdio_Va_ListBypass0[] =
8895 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8897 #define STDIO_VA_LIST_TEST_CT 1
8898 static tTestDesc aStdio_Va_ListTests[] = {
8899 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8902 * Fix Command Arguments for Stdio_Va_List
8904 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8905 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8906 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8907 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8908 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8909 s@ va_list@ __not_va_list__@\n\
8910 s@\\*va_list@*__not_va_list__@\n\
8911 s@ __va_list)@ __gnuc_va_list)@\n\
8912 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8913 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8914 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8915 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8916 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8917 s@VA_LIST@DUMMY_VA_LIST@\n\
8918 s@_Va_LIST@_VA_LIST@",
8921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8923 * Description of Stdio_Va_List_Clients fix
8925 tSCC zStdio_Va_List_ClientsName[] =
8926 "stdio_va_list_clients";
8929 * File name selection pattern
8931 tSCC zStdio_Va_List_ClientsList[] =
8932 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8934 * Machine/OS name selection pattern
8936 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8939 * content bypass pattern - skip fix if pattern found
8941 tSCC zStdio_Va_List_ClientsBypass0[] =
8942 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8943 tSCC zStdio_Va_List_ClientsBypass1[] =
8944 "include <stdarg\\.h>|#ifdef va_start";
8946 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8947 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8948 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8949 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8952 * Fix Command Arguments for Stdio_Va_List_Clients
8954 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8955 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8956 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8957 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8958 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8959 s@ va_list@ __not_va_list__@\n\
8960 s@\\*va_list@*__not_va_list__@\n\
8961 s@ __va_list)@ __gnuc_va_list)@\n\
8962 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8963 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8964 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8965 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8966 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8967 s@VA_LIST@DUMMY_VA_LIST@\n\
8968 s@_Va_LIST@_VA_LIST@",
8971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8973 * Description of Strict_Ansi_Not fix
8975 tSCC zStrict_Ansi_NotName[] =
8979 * File name selection pattern
8981 #define zStrict_Ansi_NotList (char*)NULL
8983 * Machine/OS name selection pattern
8985 #define apzStrict_Ansi_NotMachs (const char**)NULL
8988 * content selection pattern - do fix if pattern found
8990 tSCC zStrict_Ansi_NotSelect0[] =
8991 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8994 * content bypass pattern - skip fix if pattern found
8996 tSCC zStrict_Ansi_NotBypass0[] =
8997 "GNU and MIPS C compilers define __STDC__ differently";
8998 tSCC zStrict_Ansi_NotBypass1[] =
8999 "__SCO_VERSION__.*__STDC__ != 1";
9002 * perform the C function call test
9004 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
9006 #define STRICT_ANSI_NOT_TEST_CT 4
9007 static tTestDesc aStrict_Ansi_NotTests[] = {
9008 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
9009 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
9010 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
9011 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
9014 * Fix Command Arguments for Strict_Ansi_Not
9016 static const char* apzStrict_Ansi_NotPatch[] = {
9018 "%1 !defined(__STRICT_ANSI__)",
9021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9023 * Description of Strict_Ansi_Not_Ctd fix
9025 tSCC zStrict_Ansi_Not_CtdName[] =
9026 "strict_ansi_not_ctd";
9029 * File name selection pattern
9031 tSCC zStrict_Ansi_Not_CtdList[] =
9032 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
9034 * Machine/OS name selection pattern
9036 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
9039 * content selection pattern - do fix if pattern found
9041 tSCC zStrict_Ansi_Not_CtdSelect0[] =
9042 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
9045 * perform the C function call test
9047 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
9049 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
9050 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
9051 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
9052 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
9055 * Fix Command Arguments for Strict_Ansi_Not_Ctd
9057 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
9059 "%1 !defined(__STRICT_ANSI__)",
9062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9064 * Description of Strict_Ansi_Only fix
9066 tSCC zStrict_Ansi_OnlyName[] =
9070 * File name selection pattern
9072 #define zStrict_Ansi_OnlyList (char*)NULL
9074 * Machine/OS name selection pattern
9076 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
9079 * content selection pattern - do fix if pattern found
9081 tSCC zStrict_Ansi_OnlySelect0[] =
9082 "^([ \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)";
9085 * perform the C function call test
9087 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
9089 #define STRICT_ANSI_ONLY_TEST_CT 2
9090 static tTestDesc aStrict_Ansi_OnlyTests[] = {
9091 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
9092 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
9095 * Fix Command Arguments for Strict_Ansi_Only
9097 static const char* apzStrict_Ansi_OnlyPatch[] = {
9099 "%1 defined(__STRICT_ANSI__)",
9102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9104 * Description of Struct_File fix
9106 tSCC zStruct_FileName[] =
9110 * File name selection pattern
9112 tSCC zStruct_FileList[] =
9115 * Machine/OS name selection pattern
9117 #define apzStruct_FileMachs (const char**)NULL
9120 * content selection pattern - do fix if pattern found
9122 tSCC zStruct_FileSelect0[] =
9123 "^.*xdrstdio_create.*struct __file_s";
9125 #define STRUCT_FILE_TEST_CT 1
9126 static tTestDesc aStruct_FileTests[] = {
9127 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
9130 * Fix Command Arguments for Struct_File
9132 static const char* apzStruct_FilePatch[] = {
9134 "struct __file_s;\n\
9138 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9140 * Description of Struct_Sockaddr fix
9142 tSCC zStruct_SockaddrName[] =
9146 * File name selection pattern
9148 tSCC zStruct_SockaddrList[] =
9151 * Machine/OS name selection pattern
9153 #define apzStruct_SockaddrMachs (const char**)NULL
9156 * content selection pattern - do fix if pattern found
9158 tSCC zStruct_SockaddrSelect0[] =
9159 "^.*authdes_create.*struct sockaddr[^_]";
9162 * content bypass pattern - skip fix if pattern found
9164 tSCC zStruct_SockaddrBypass0[] =
9166 tSCC zStruct_SockaddrBypass1[] =
9167 "struct sockaddr;\n";
9169 #define STRUCT_SOCKADDR_TEST_CT 3
9170 static tTestDesc aStruct_SockaddrTests[] = {
9171 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
9172 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
9173 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
9176 * Fix Command Arguments for Struct_Sockaddr
9178 static const char* apzStruct_SockaddrPatch[] = {
9180 "struct sockaddr;\n\
9184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9186 * Description of Sun_Auth_Proto fix
9188 tSCC zSun_Auth_ProtoName[] =
9192 * File name selection pattern
9194 tSCC zSun_Auth_ProtoList[] =
9195 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
9197 * Machine/OS name selection pattern
9199 #define apzSun_Auth_ProtoMachs (const char**)NULL
9202 * content selection pattern - do fix if pattern found
9204 tSCC zSun_Auth_ProtoSelect0[] =
9205 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
9208 * content bypass pattern - skip fix if pattern found
9210 tSCC zSun_Auth_ProtoBypass0[] =
9213 #define SUN_AUTH_PROTO_TEST_CT 2
9214 static tTestDesc aSun_Auth_ProtoTests[] = {
9215 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
9216 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
9219 * Fix Command Arguments for Sun_Auth_Proto
9221 static const char* apzSun_Auth_ProtoPatch[] = {
9223 "#ifdef __cplusplus\n\
9228 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
9231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9233 * Description of Sun_Bogus_Ifdef fix
9235 tSCC zSun_Bogus_IfdefName[] =
9239 * File name selection pattern
9241 tSCC zSun_Bogus_IfdefList[] =
9242 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
9244 * Machine/OS name selection pattern
9246 #define apzSun_Bogus_IfdefMachs (const char**)NULL
9249 * content selection pattern - do fix if pattern found
9251 tSCC zSun_Bogus_IfdefSelect0[] =
9252 "#ifdef(.*\\|\\|.*)";
9254 #define SUN_BOGUS_IFDEF_TEST_CT 1
9255 static tTestDesc aSun_Bogus_IfdefTests[] = {
9256 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
9259 * Fix Command Arguments for Sun_Bogus_Ifdef
9261 static const char* apzSun_Bogus_IfdefPatch[] = {
9266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9268 * Description of Sun_Catmacro fix
9270 tSCC zSun_CatmacroName[] =
9274 * File name selection pattern
9276 tSCC zSun_CatmacroList[] =
9277 "pixrect/memvar.h\0";
9279 * Machine/OS name selection pattern
9281 #define apzSun_CatmacroMachs (const char**)NULL
9284 * content selection pattern - do fix if pattern found
9286 tSCC zSun_CatmacroSelect0[] =
9287 "^#define[ \t]+CAT\\(a,b\\).*";
9289 #define SUN_CATMACRO_TEST_CT 1
9290 static tTestDesc aSun_CatmacroTests[] = {
9291 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
9294 * Fix Command Arguments for Sun_Catmacro
9296 static const char* apzSun_CatmacroPatch[] = {
9299 # define CAT(a,b) a##b\n\
9305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9307 * Description of Sun_Malloc fix
9309 tSCC zSun_MallocName[] =
9313 * File name selection pattern
9315 tSCC zSun_MallocList[] =
9318 * Machine/OS name selection pattern
9320 #define apzSun_MallocMachs (const char**)NULL
9323 * content bypass pattern - skip fix if pattern found
9325 tSCC zSun_MallocBypass0[] =
9326 "_CLASSIC_ANSI_TYPES";
9328 #define SUN_MALLOC_TEST_CT 1
9329 static tTestDesc aSun_MallocTests[] = {
9330 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
9333 * Fix Command Arguments for Sun_Malloc
9335 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
9336 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
9337 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
9338 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
9339 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
9340 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
9343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9345 * Description of Sun_Rusers_Semi fix
9347 tSCC zSun_Rusers_SemiName[] =
9351 * File name selection pattern
9353 tSCC zSun_Rusers_SemiList[] =
9354 "rpcsvc/rusers.h\0";
9356 * Machine/OS name selection pattern
9358 #define apzSun_Rusers_SemiMachs (const char**)NULL
9361 * content selection pattern - do fix if pattern found
9363 tSCC zSun_Rusers_SemiSelect0[] =
9366 #define SUN_RUSERS_SEMI_TEST_CT 1
9367 static tTestDesc aSun_Rusers_SemiTests[] = {
9368 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
9371 * Fix Command Arguments for Sun_Rusers_Semi
9373 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
9374 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
9377 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9379 * Description of Sun_Signal fix
9381 tSCC zSun_SignalName[] =
9385 * File name selection pattern
9387 tSCC zSun_SignalList[] =
9388 "sys/signal.h\0signal.h\0";
9390 * Machine/OS name selection pattern
9392 #define apzSun_SignalMachs (const char**)NULL
9395 * content selection pattern - do fix if pattern found
9397 tSCC zSun_SignalSelect0[] =
9398 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
9400 #define SUN_SIGNAL_TEST_CT 1
9401 static tTestDesc aSun_SignalTests[] = {
9402 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
9405 * Fix Command Arguments for Sun_Signal
9407 static const char* apzSun_SignalPatch[] = {
9409 "#ifdef __cplusplus\n\
9410 void\t(*signal(...))(...);\n\
9416 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9418 * Description of Sunos_Strlen fix
9420 tSCC zSunos_StrlenName[] =
9424 * File name selection pattern
9426 tSCC zSunos_StrlenList[] =
9429 * Machine/OS name selection pattern
9431 #define apzSunos_StrlenMachs (const char**)NULL
9434 * content selection pattern - do fix if pattern found
9436 tSCC zSunos_StrlenSelect0[] =
9437 "int[ \t]*strlen\\(\\);(.*)";
9439 #define SUNOS_STRLEN_TEST_CT 1
9440 static tTestDesc aSunos_StrlenTests[] = {
9441 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
9444 * Fix Command Arguments for Sunos_Strlen
9446 static const char* apzSunos_StrlenPatch[] = {
9448 "__SIZE_TYPE__ strlen();%1",
9451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9453 * Description of Suse_Linux_Vt_Cxx fix
9455 tSCC zSuse_Linux_Vt_CxxName[] =
9456 "suse_linux_vt_cxx";
9459 * File name selection pattern
9461 tSCC zSuse_Linux_Vt_CxxList[] =
9464 * Machine/OS name selection pattern
9466 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9469 * content selection pattern - do fix if pattern found
9471 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9472 "^[ \t]*unsigned int new;";
9474 #define SUSE_LINUX_VT_CXX_TEST_CT 1
9475 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9476 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9479 * Fix Command Arguments for Suse_Linux_Vt_Cxx
9481 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9483 "unsigned int newev;",
9486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9488 * Description of Svr4_Disable_Opt fix
9490 tSCC zSvr4_Disable_OptName[] =
9494 * File name selection pattern
9496 tSCC zSvr4_Disable_OptList[] =
9499 * Machine/OS name selection pattern
9501 #define apzSvr4_Disable_OptMachs (const char**)NULL
9504 * content selection pattern - do fix if pattern found
9506 tSCC zSvr4_Disable_OptSelect0[] =
9507 "#define.*__std_hdr_";
9509 #define SVR4_DISABLE_OPT_TEST_CT 1
9510 static tTestDesc aSvr4_Disable_OptTests[] = {
9511 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9514 * Fix Command Arguments for Svr4_Disable_Opt
9516 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9517 "-e", "/#define.*__std_hdr_/d",
9520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9522 * Description of Svr4_Getcwd fix
9524 tSCC zSvr4_GetcwdName[] =
9528 * File name selection pattern
9530 tSCC zSvr4_GetcwdList[] =
9531 "stdlib.h\0unistd.h\0prototypes.h\0";
9533 * Machine/OS name selection pattern
9535 #define apzSvr4_GetcwdMachs (const char**)NULL
9538 * content selection pattern - do fix if pattern found
9540 tSCC zSvr4_GetcwdSelect0[] =
9541 "getcwd\\(char \\*, int\\)";
9543 #define SVR4_GETCWD_TEST_CT 1
9544 static tTestDesc aSvr4_GetcwdTests[] = {
9545 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9548 * Fix Command Arguments for Svr4_Getcwd
9550 static const char* apzSvr4_GetcwdPatch[] = {
9552 "getcwd(char *, size_t)",
9555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9557 * Description of Svr4_Profil fix
9559 tSCC zSvr4_ProfilName[] =
9563 * File name selection pattern
9565 tSCC zSvr4_ProfilList[] =
9566 "stdlib.h\0unistd.h\0";
9568 * Machine/OS name selection pattern
9570 #define apzSvr4_ProfilMachs (const char**)NULL
9573 * content selection pattern - do fix if pattern found
9575 tSCC zSvr4_ProfilSelect0[] =
9576 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9578 #define SVR4_PROFIL_TEST_CT 1
9579 static tTestDesc aSvr4_ProfilTests[] = {
9580 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9583 * Fix Command Arguments for Svr4_Profil
9585 static const char* apzSvr4_ProfilPatch[] = {
9587 "profil(unsigned short *, size_t, int, unsigned int)",
9590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9592 * Description of Svr4_Sighandler_Type fix
9594 tSCC zSvr4_Sighandler_TypeName[] =
9595 "svr4_sighandler_type";
9598 * File name selection pattern
9600 tSCC zSvr4_Sighandler_TypeList[] =
9603 * Machine/OS name selection pattern
9605 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9608 * content selection pattern - do fix if pattern found
9610 tSCC zSvr4_Sighandler_TypeSelect0[] =
9611 "void *\\(\\*\\)\\(\\)";
9613 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9614 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9615 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9618 * Fix Command Arguments for Svr4_Sighandler_Type
9620 static const char* apzSvr4_Sighandler_TypePatch[] = {
9625 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9627 * Description of Svr4_Undeclared_Getrnge fix
9629 tSCC zSvr4_Undeclared_GetrngeName[] =
9630 "svr4_undeclared_getrnge";
9633 * File name selection pattern
9635 tSCC zSvr4_Undeclared_GetrngeList[] =
9638 * Machine/OS name selection pattern
9640 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9643 * content selection pattern - do fix if pattern found
9645 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9649 * content bypass pattern - skip fix if pattern found
9651 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9652 "static void getrnge";
9654 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9655 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9656 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9657 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9660 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9662 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9665 static int getrnge ();",
9666 "^static int[ \t]+size;",
9669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9671 * Description of Sysv68_String fix
9673 tSCC zSysv68_StringName[] =
9677 * File name selection pattern
9679 tSCC zSysv68_StringList[] =
9680 "testing.h\0string.h\0";
9682 * Machine/OS name selection pattern
9684 #define apzSysv68_StringMachs (const char**)NULL
9687 * content bypass pattern - skip fix if pattern found
9689 tSCC zSysv68_StringBypass0[] =
9690 "_CLASSIC_ANSI_TYPES";
9692 #define SYSV68_STRING_TEST_CT 1
9693 static tTestDesc aSysv68_StringTests[] = {
9694 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9697 * Fix Command Arguments for Sysv68_String
9699 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9700 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9701 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9702 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9703 "-e", "/^extern char$/N",
9704 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9705 "-e", "/^extern int$/N",
9706 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9707 "-e", "/^\tstrncmp(),$/N",
9708 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9709 extern unsigned int\\\n\
9713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9715 * Description of Sysz_Stdlib_For_Sun fix
9717 tSCC zSysz_Stdlib_For_SunName[] =
9718 "sysz_stdlib_for_sun";
9721 * File name selection pattern
9723 tSCC zSysz_Stdlib_For_SunList[] =
9726 * Machine/OS name selection pattern
9728 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9731 * content selection pattern - do fix if pattern found
9733 tSCC zSysz_Stdlib_For_SunSelect0[] =
9734 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9737 * content bypass pattern - skip fix if pattern found
9739 tSCC zSysz_Stdlib_For_SunBypass0[] =
9740 "_CLASSIC_ANSI_TYPES";
9742 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9743 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9744 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9745 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9748 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9750 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9757 * Description of Thread_Keyword fix
9759 tSCC zThread_KeywordName[] =
9763 * File name selection pattern
9765 tSCC zThread_KeywordList[] =
9766 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9768 * Machine/OS name selection pattern
9770 #define apzThread_KeywordMachs (const char**)NULL
9773 * content selection pattern - do fix if pattern found
9775 tSCC zThread_KeywordSelect0[] =
9776 "([* ])__thread([,)])";
9778 #define THREAD_KEYWORD_TEST_CT 1
9779 static tTestDesc aThread_KeywordTests[] = {
9780 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9783 * Fix Command Arguments for Thread_Keyword
9785 static const char* apzThread_KeywordPatch[] = {
9790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9792 * Description of Tinfo_Cplusplus fix
9794 tSCC zTinfo_CplusplusName[] =
9798 * File name selection pattern
9800 tSCC zTinfo_CplusplusList[] =
9803 * Machine/OS name selection pattern
9805 #define apzTinfo_CplusplusMachs (const char**)NULL
9808 * content selection pattern - do fix if pattern found
9810 tSCC zTinfo_CplusplusSelect0[] =
9813 #define TINFO_CPLUSPLUS_TEST_CT 1
9814 static tTestDesc aTinfo_CplusplusTests[] = {
9815 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9818 * Fix Command Arguments for Tinfo_Cplusplus
9820 static const char* apzTinfo_CplusplusPatch[] = {
9825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9827 * Description of Ultrix_Const fix
9829 tSCC zUltrix_ConstName[] =
9833 * File name selection pattern
9835 tSCC zUltrix_ConstList[] =
9838 * Machine/OS name selection pattern
9840 #define apzUltrix_ConstMachs (const char**)NULL
9843 * content selection pattern - do fix if pattern found
9845 tSCC zUltrix_ConstSelect0[] =
9846 "perror\\( char \\*";
9848 #define ULTRIX_CONST_TEST_CT 1
9849 static tTestDesc aUltrix_ConstTests[] = {
9850 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9853 * Fix Command Arguments for Ultrix_Const
9855 static const char* apzUltrix_ConstPatch[] = {
9858 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9863 * Description of Ultrix_Const2 fix
9865 tSCC zUltrix_Const2Name[] =
9869 * File name selection pattern
9871 tSCC zUltrix_Const2List[] =
9874 * Machine/OS name selection pattern
9876 #define apzUltrix_Const2Machs (const char**)NULL
9879 * content selection pattern - do fix if pattern found
9881 tSCC zUltrix_Const2Select0[] =
9882 "\\*fopen\\( char \\*";
9884 #define ULTRIX_CONST2_TEST_CT 1
9885 static tTestDesc aUltrix_Const2Tests[] = {
9886 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9889 * Fix Command Arguments for Ultrix_Const2
9891 static const char* apzUltrix_Const2Patch[] = {
9893 "%1( const char *%3, const char *",
9894 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9899 * Description of Va_I960_Macro fix
9901 tSCC zVa_I960_MacroName[] =
9905 * File name selection pattern
9907 tSCC zVa_I960_MacroList[] =
9908 "arch/i960/archI960.h\0";
9910 * Machine/OS name selection pattern
9912 #define apzVa_I960_MacroMachs (const char**)NULL
9915 * content selection pattern - do fix if pattern found
9917 tSCC zVa_I960_MacroSelect0[] =
9918 "__(vsiz|vali|vpad|alignof__)";
9920 #define VA_I960_MACRO_TEST_CT 1
9921 static tTestDesc aVa_I960_MacroTests[] = {
9922 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9925 * Fix Command Arguments for Va_I960_Macro
9927 static const char* apzVa_I960_MacroPatch[] = {
9932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9934 * Description of Vms_Add_Missing_Braces fix
9936 tSCC zVms_Add_Missing_BracesName[] =
9937 "vms_add_missing_braces";
9940 * File name selection pattern
9942 tSCC zVms_Add_Missing_BracesList[] =
9943 "rtldef/signal.h\0";
9945 * Machine/OS name selection pattern
9947 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9949 (const char*)NULL };
9952 * content selection pattern - do fix if pattern found
9954 tSCC zVms_Add_Missing_BracesSelect0[] =
9955 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9957 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9958 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9959 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9962 * Fix Command Arguments for Vms_Add_Missing_Braces
9964 static const char* apzVms_Add_Missing_BracesPatch[] = {
9969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9971 * Description of Vms_Decc_Builtin fix
9973 tSCC zVms_Decc_BuiltinName[] =
9977 * File name selection pattern
9979 tSCC zVms_Decc_BuiltinList[] =
9980 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9982 * Machine/OS name selection pattern
9984 tSCC* apzVms_Decc_BuiltinMachs[] = {
9986 (const char*)NULL };
9989 * content selection pattern - do fix if pattern found
9991 tSCC zVms_Decc_BuiltinSelect0[] =
9992 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9994 #define VMS_DECC_BUILTIN_TEST_CT 1
9995 static tTestDesc aVms_Decc_BuiltinTests[] = {
9996 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9999 * Fix Command Arguments for Vms_Decc_Builtin
10001 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
10002 "-e", "s@__MEMSET@memset@",
10003 "-e", "s@__MEMMOVE@memmove@",
10004 "-e", "s@__MEMCPY@memcpy@",
10005 "-e", "s@__STRLEN@strlen@",
10006 "-e", "s@__STRCPY@strcpy@",
10009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10011 * Description of Vms_Define_Can_Use_Extern_Prefix fix
10013 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
10014 "vms_define_can_use_extern_prefix";
10017 * File name selection pattern
10019 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
10020 "rtldef/decc$types.h\0";
10022 * Machine/OS name selection pattern
10024 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
10026 (const char*)NULL };
10029 * content selection pattern - do fix if pattern found
10031 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
10033 #[ \t]*if defined\\(__DECCXX\\)\n\
10034 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
10036 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
10037 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
10038 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
10041 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
10043 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
10045 "%0# elif defined (__GNUC__)\n\
10046 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
10049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10051 * Description of Vms_Disable_Decc_String_Builtins fix
10053 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
10054 "vms_disable_decc_string_builtins";
10057 * File name selection pattern
10059 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
10060 "rtldef/string.h\0";
10062 * Machine/OS name selection pattern
10064 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
10066 (const char*)NULL };
10069 * content selection pattern - do fix if pattern found
10071 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
10072 "#if !defined\\(__VAX\\)\n";
10074 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
10075 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
10076 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
10079 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
10081 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
10083 "#if !defined(__VAX) && !defined(__GNUC__)\n",
10086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10088 * Description of Vms_Do_Not_Redeclare_Hostalias fix
10090 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
10091 "vms_do_not_redeclare_hostalias";
10094 * File name selection pattern
10096 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
10097 "rtldef/resolv.h\0";
10099 * Machine/OS name selection pattern
10101 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
10103 (const char*)NULL };
10106 * content selection pattern - do fix if pattern found
10108 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
10109 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
10110 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
10112 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
10113 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
10114 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
10117 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
10119 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
10125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10127 * Description of Vms_Forward_Declare_Struct fix
10129 tSCC zVms_Forward_Declare_StructName[] =
10130 "vms_forward_declare_struct";
10133 * File name selection pattern
10135 tSCC zVms_Forward_Declare_StructList[] =
10138 * Machine/OS name selection pattern
10140 tSCC* apzVms_Forward_Declare_StructMachs[] = {
10142 (const char*)NULL };
10145 * content selection pattern - do fix if pattern found
10147 tSCC zVms_Forward_Declare_StructSelect0[] =
10148 "(/\\* forward decls for C\\+\\+ \\*/\n\
10149 )#ifdef __cplusplus\n";
10151 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
10152 static tTestDesc aVms_Forward_Declare_StructTests[] = {
10153 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
10156 * Fix Command Arguments for Vms_Forward_Declare_Struct
10158 static const char* apzVms_Forward_Declare_StructPatch[] = {
10160 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
10163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10165 * Description of Vms_No_64bit_Getopt fix
10167 tSCC zVms_No_64bit_GetoptName[] =
10168 "vms_no_64bit_getopt";
10171 * File name selection pattern
10173 tSCC zVms_No_64bit_GetoptList[] =
10174 "rtldef/stdio.h\0rtldef/unistd.h\0";
10176 * Machine/OS name selection pattern
10178 tSCC* apzVms_No_64bit_GetoptMachs[] = {
10180 (const char*)NULL };
10183 * content selection pattern - do fix if pattern found
10185 tSCC zVms_No_64bit_GetoptSelect0[] =
10186 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
10188 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
10189 static tTestDesc aVms_No_64bit_GetoptTests[] = {
10190 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
10193 * Fix Command Arguments for Vms_No_64bit_Getopt
10195 static const char* apzVms_No_64bit_GetoptPatch[] = {
10197 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
10201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10203 * Description of Vms_Use_Fast_Setjmp fix
10205 tSCC zVms_Use_Fast_SetjmpName[] =
10206 "vms_use_fast_setjmp";
10209 * File name selection pattern
10211 tSCC zVms_Use_Fast_SetjmpList[] =
10212 "rtldef/setjmp.h\0";
10214 * Machine/OS name selection pattern
10216 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
10218 (const char*)NULL };
10221 * content selection pattern - do fix if pattern found
10223 tSCC zVms_Use_Fast_SetjmpSelect0[] =
10224 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
10226 #define VMS_USE_FAST_SETJMP_TEST_CT 1
10227 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
10228 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
10231 * Fix Command Arguments for Vms_Use_Fast_Setjmp
10233 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
10235 "%0 defined (__GNUC__) ||",
10238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10240 * Description of Vms_Use_Pragma_Extern_Model fix
10242 tSCC zVms_Use_Pragma_Extern_ModelName[] =
10243 "vms_use_pragma_extern_model";
10246 * File name selection pattern
10248 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
10250 * Machine/OS name selection pattern
10252 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
10254 (const char*)NULL };
10257 * content selection pattern - do fix if pattern found
10259 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
10260 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
10261 # pragma extern_model __save\n";
10263 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
10264 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
10265 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
10268 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
10270 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
10272 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
10273 # pragma extern_model __save\n",
10276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10278 * Description of Vms_Use_Quoted_Include fix
10280 tSCC zVms_Use_Quoted_IncludeName[] =
10281 "vms_use_quoted_include";
10284 * File name selection pattern
10286 tSCC zVms_Use_Quoted_IncludeList[] =
10287 "rtldef/wait.h\0starlet_c/pthread.h\0";
10289 * Machine/OS name selection pattern
10291 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
10293 (const char*)NULL };
10296 * content selection pattern - do fix if pattern found
10298 tSCC zVms_Use_Quoted_IncludeSelect0[] =
10299 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
10301 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
10302 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
10303 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
10306 * Fix Command Arguments for Vms_Use_Quoted_Include
10308 static const char* apzVms_Use_Quoted_IncludePatch[] = {
10313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10315 * Description of Void_Null fix
10317 tSCC zVoid_NullName[] =
10321 * File name selection pattern
10323 tSCC zVoid_NullList[] =
10324 "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";
10326 * Machine/OS name selection pattern
10328 #define apzVoid_NullMachs (const char**)NULL
10331 * content selection pattern - do fix if pattern found
10333 tSCC zVoid_NullSelect0[] =
10334 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
10337 * content bypass pattern - skip fix if pattern found
10339 tSCC zVoid_NullBypass0[] =
10341 tSCC zVoid_NullBypass1[] =
10344 #define VOID_NULL_TEST_CT 3
10345 static tTestDesc aVoid_NullTests[] = {
10346 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
10347 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
10348 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
10351 * Fix Command Arguments for Void_Null
10353 static const char* apzVoid_NullPatch[] = {
10356 #ifdef __cplusplus\n\
10358 #define NULL __null\n\
10359 #else /* ! __GNUG__ */\n\
10361 #endif /* __GNUG__ */\n\
10362 #else /* ! __cplusplus */\n\
10363 #define NULL ((void *)0)\n\
10364 #endif /* __cplusplus */\n\
10365 #endif /* !NULL */",
10368 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10370 * Description of Vxworks_Gcc_Problem fix
10372 tSCC zVxworks_Gcc_ProblemName[] =
10373 "vxworks_gcc_problem";
10376 * File name selection pattern
10378 tSCC zVxworks_Gcc_ProblemList[] =
10379 "types/vxTypesBase.h\0";
10381 * Machine/OS name selection pattern
10383 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
10386 * content selection pattern - do fix if pattern found
10388 tSCC zVxworks_Gcc_ProblemSelect0[] =
10389 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
10391 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
10392 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
10393 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
10396 * Fix Command Arguments for Vxworks_Gcc_Problem
10398 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
10399 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
10400 "-e", "/[ \t]size_t/i\\\n\
10401 #ifndef _GCC_SIZE_T\\\n\
10402 #define _GCC_SIZE_T\n",
10403 "-e", "/[ \t]size_t/a\\\n\
10405 "-e", "/[ \t]ptrdiff_t/i\\\n\
10406 #ifndef _GCC_PTRDIFF_T\\\n\
10407 #define _GCC_PTRDIFF_T\n",
10408 "-e", "/[ \t]ptrdiff_t/a\\\n\
10410 "-e", "/[ \t]wchar_t/i\\\n\
10411 #ifndef _GCC_WCHAR_T\\\n\
10412 #define _GCC_WCHAR_T\n",
10413 "-e", "/[ \t]wchar_t/a\\\n\
10417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10419 * Description of Vxworks_Ioctl_Macro fix
10421 tSCC zVxworks_Ioctl_MacroName[] =
10422 "vxworks_ioctl_macro";
10425 * File name selection pattern
10427 tSCC zVxworks_Ioctl_MacroList[] =
10430 * Machine/OS name selection pattern
10432 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10434 (const char*)NULL };
10435 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
10436 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
10439 * Fix Command Arguments for Vxworks_Ioctl_Macro
10441 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10444 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10445 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10448 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10450 * Description of Vxworks_Math_H_Fp_C99 fix
10452 tSCC zVxworks_Math_H_Fp_C99Name[] =
10453 "vxworks_math_h_fp_c99";
10456 * File name selection pattern
10458 tSCC zVxworks_Math_H_Fp_C99List[] =
10461 * Machine/OS name selection pattern
10463 tSCC* apzVxworks_Math_H_Fp_C99Machs[] = {
10465 (const char*)NULL };
10468 * content selection pattern - do fix if pattern found
10470 tSCC zVxworks_Math_H_Fp_C99Select0[] =
10471 "#define HUGE_VAL[ \t]*_ARCH.*";
10474 * content bypass pattern - skip fix if pattern found
10476 tSCC zVxworks_Math_H_Fp_C99Bypass0[] =
10477 "#define[ \t]+FP_INFINITE";
10479 #define VXWORKS_MATH_H_FP_C99_TEST_CT 2
10480 static tTestDesc aVxworks_Math_H_Fp_C99Tests[] = {
10481 { TT_NEGREP, zVxworks_Math_H_Fp_C99Bypass0, (regex_t*)NULL },
10482 { TT_EGREP, zVxworks_Math_H_Fp_C99Select0, (regex_t*)NULL }, };
10485 * Fix Command Arguments for Vxworks_Math_H_Fp_C99
10487 static const char* apzVxworks_Math_H_Fp_C99Patch[] = {
10492 #define FP_INFINITE 1\n\
10493 #define FP_NAN 2\n\
10494 #define FP_NORMAL (-1)\n\
10495 #define FP_SUBNORMAL (-2)\n\
10496 #define FP_ZERO 0\n\n\
10497 #define fpclassify(x) \\\n\
10498 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, \\\n\
10499 \t\t FP_SUBNORMAL, FP_ZERO, (x))\n\n\
10500 #define signbit(x) __builtin_signbit(x)\n\
10501 #define isfinite(x) __builtin_isfinite(x)\n\
10502 #define isnormal(x) __builtin_isnormal(x)\n\
10503 #define isnan(x) __builtin_isnan(x)\n\
10504 #define isinf(x) __builtin_isinf(x)\n\n\
10505 #define isgreater(x, y) __builtin_isgreater((x),(y))\n\
10506 #define isgreaterequal(x, y) __builtin_isgreaterequal((x),(y))\n\
10507 #define isless(x, y) __builtin_isless((x),(y))\n\
10508 #define islessequal(x, y) __builtin_islessequal((x),(y))\n\
10509 #define islessgreater(x, y) __builtin_islessgreater((x),(y))\n\
10510 #define isunordered(x, y) __builtin_isunordered((x),(y))\n\n\
10511 #endif /* _C99 */\n",
10514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10516 * Description of Vxworks_Posix_Mkdir fix
10518 tSCC zVxworks_Posix_MkdirName[] =
10519 "vxworks_posix_mkdir";
10522 * File name selection pattern
10524 tSCC zVxworks_Posix_MkdirList[] =
10527 * Machine/OS name selection pattern
10529 tSCC* apzVxworks_Posix_MkdirMachs[] = {
10531 (const char*)NULL };
10532 #define VXWORKS_POSIX_MKDIR_TEST_CT 0
10533 #define aVxworks_Posix_MkdirTests (tTestDesc*)NULL
10536 * Fix Command Arguments for Vxworks_Posix_Mkdir
10538 static const char* apzVxworks_Posix_MkdirPatch[] = {
10540 "extern STATUS mkdir(const char *dir, ...);",
10541 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10546 * Description of Vxworks_Needs_Vxtypes fix
10548 tSCC zVxworks_Needs_VxtypesName[] =
10549 "vxworks_needs_vxtypes";
10552 * File name selection pattern
10554 tSCC zVxworks_Needs_VxtypesList[] =
10557 * Machine/OS name selection pattern
10559 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10562 * content selection pattern - do fix if pattern found
10564 tSCC zVxworks_Needs_VxtypesSelect0[] =
10565 "uint_t([ \t]+_clocks_per_sec)";
10567 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
10568 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10569 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10572 * Fix Command Arguments for Vxworks_Needs_Vxtypes
10574 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10581 * Description of Vxworks_Needs_Vxworks fix
10583 tSCC zVxworks_Needs_VxworksName[] =
10584 "vxworks_needs_vxworks";
10587 * File name selection pattern
10589 tSCC zVxworks_Needs_VxworksList[] =
10592 * Machine/OS name selection pattern
10594 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10597 * content selection pattern - do fix if pattern found
10599 tSCC zVxworks_Needs_VxworksSelect0[] =
10600 "#[ \t]define[ \t]+__INCstath";
10603 * perform the 'test' shell command - do fix on success
10605 tSCC zVxworks_Needs_VxworksTest0[] =
10606 " -r types/vxTypesOld.h";
10607 tSCC zVxworks_Needs_VxworksTest1[] =
10608 " -n \"`egrep '#include' $file`\"";
10609 tSCC zVxworks_Needs_VxworksTest2[] =
10610 " -n \"`egrep ULONG $file`\"";
10612 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10613 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10614 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10615 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10616 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10617 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10620 * Fix Command Arguments for Vxworks_Needs_Vxworks
10622 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10623 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10624 #include <types/vxTypesOld.h>\n",
10627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10629 * Description of Vxworks_Next_Yvals fix
10631 tSCC zVxworks_Next_YvalsName[] =
10632 "vxworks_next_yvals";
10635 * File name selection pattern
10637 tSCC zVxworks_Next_YvalsList[] =
10640 * Machine/OS name selection pattern
10642 tSCC* apzVxworks_Next_YvalsMachs[] = {
10644 (const char*)NULL };
10647 * content selection pattern - do fix if pattern found
10649 tSCC zVxworks_Next_YvalsSelect0[] =
10650 "#include_next <yvals.h>";
10652 #define VXWORKS_NEXT_YVALS_TEST_CT 1
10653 static tTestDesc aVxworks_Next_YvalsTests[] = {
10654 { TT_EGREP, zVxworks_Next_YvalsSelect0, (regex_t*)NULL }, };
10657 * Fix Command Arguments for Vxworks_Next_Yvals
10659 static const char* apzVxworks_Next_YvalsPatch[] = {
10661 "#if 0 /* GCC does not provide yvals.h. */\n\
10665 (#include_next <yvals.h>\n\
10669 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10671 * Description of Vxworks_Regs fix
10673 tSCC zVxworks_RegsName[] =
10677 * File name selection pattern
10679 #define zVxworks_RegsList (char*)NULL
10681 * Machine/OS name selection pattern
10683 tSCC* apzVxworks_RegsMachs[] = {
10685 (const char*)NULL };
10688 * content selection pattern - do fix if pattern found
10690 tSCC zVxworks_RegsSelect0[] =
10691 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10693 #define VXWORKS_REGS_TEST_CT 1
10694 static tTestDesc aVxworks_RegsTests[] = {
10695 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10698 * Fix Command Arguments for Vxworks_Regs
10700 static const char* apzVxworks_RegsPatch[] = {
10702 "#include <arch/../regs.h>",
10705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10707 * Description of Vxworks_Posix_Open fix
10709 tSCC zVxworks_Posix_OpenName[] =
10710 "vxworks_posix_open";
10713 * File name selection pattern
10715 tSCC zVxworks_Posix_OpenList[] =
10718 * Machine/OS name selection pattern
10720 tSCC* apzVxworks_Posix_OpenMachs[] = {
10722 (const char*)NULL };
10725 * content selection pattern - do fix if pattern found
10727 tSCC zVxworks_Posix_OpenSelect0[] =
10728 "extern int.*open \\(const char \\*[ a-z]*, int[ a-z]*, int[ a-z]*\\);";
10730 #define VXWORKS_POSIX_OPEN_TEST_CT 1
10731 static tTestDesc aVxworks_Posix_OpenTests[] = {
10732 { TT_EGREP, zVxworks_Posix_OpenSelect0, (regex_t*)NULL }, };
10735 * Fix Command Arguments for Vxworks_Posix_Open
10737 static const char* apzVxworks_Posix_OpenPatch[] = {
10740 #if defined(__cplusplus)\n\
10741 extern \"C++\" {\n\
10742 inline int open (const char *, int) __attribute__((__always_inline__));\n\n\
10744 open (const char *name, int flags)\n\
10746 return open (name, flags, 0);\n\
10752 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10754 * Description of Vxworks_Time fix
10756 tSCC zVxworks_TimeName[] =
10760 * File name selection pattern
10762 tSCC zVxworks_TimeList[] =
10765 * Machine/OS name selection pattern
10767 #define apzVxworks_TimeMachs (const char**)NULL
10770 * content selection pattern - do fix if pattern found
10772 tSCC zVxworks_TimeSelect0[] =
10773 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10776 * perform the 'test' shell command - do fix on success
10778 tSCC zVxworks_TimeTest0[] =
10781 #define VXWORKS_TIME_TEST_CT 2
10782 static tTestDesc aVxworks_TimeTests[] = {
10783 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10784 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10787 * Fix Command Arguments for Vxworks_Time
10789 static const char* apzVxworks_TimePatch[] = {
10791 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10792 #ifdef __cplusplus\n\
10793 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10795 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10797 #define __gcc_VOIDFUNCPTR_defined\n\
10799 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10804 * Description of Vxworks_Write_Const fix
10806 tSCC zVxworks_Write_ConstName[] =
10807 "vxworks_write_const";
10810 * File name selection pattern
10812 tSCC zVxworks_Write_ConstList[] =
10815 * Machine/OS name selection pattern
10817 tSCC* apzVxworks_Write_ConstMachs[] = {
10819 (const char*)NULL };
10820 #define VXWORKS_WRITE_CONST_TEST_CT 0
10821 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10824 * Fix Command Arguments for Vxworks_Write_Const
10826 static const char* apzVxworks_Write_ConstPatch[] = {
10828 "extern int write (int, const char*, size_t);",
10829 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10834 * Description of Vxworks_Iolib_Include_Unistd fix
10836 tSCC zVxworks_Iolib_Include_UnistdName[] =
10837 "vxworks_iolib_include_unistd";
10840 * File name selection pattern
10842 tSCC zVxworks_Iolib_Include_UnistdList[] =
10845 * Machine/OS name selection pattern
10847 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10849 (const char*)NULL };
10852 * content selection pattern - do fix if pattern found
10854 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10855 "#include \"unistd.h\"";
10857 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10858 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10859 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10862 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10864 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10866 "#include <unistd.h>",
10869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10871 * Description of Vxworks_Time_H_Syslib fix
10873 tSCC zVxworks_Time_H_SyslibName[] =
10874 "vxworks_time_h_syslib";
10877 * File name selection pattern
10879 tSCC zVxworks_Time_H_SyslibList[] =
10882 * Machine/OS name selection pattern
10884 tSCC* apzVxworks_Time_H_SyslibMachs[] = {
10886 (const char*)NULL };
10889 * content selection pattern - do fix if pattern found
10891 tSCC zVxworks_Time_H_SyslibSelect0[] =
10892 "[ \t]*#define[ \t]+CLOCKS_PER_SEC[ \t]+sysClkRateGet.*";
10894 #define VXWORKS_TIME_H_SYSLIB_TEST_CT 1
10895 static tTestDesc aVxworks_Time_H_SyslibTests[] = {
10896 { TT_EGREP, zVxworks_Time_H_SyslibSelect0, (regex_t*)NULL }, };
10899 * Fix Command Arguments for Vxworks_Time_H_Syslib
10901 static const char* apzVxworks_Time_H_SyslibPatch[] = {
10904 #include <sysLib.h>",
10905 "#include <vxWorks.h>|#endif.* _YVALS.*",
10908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10910 * Description of X11_Class fix
10912 tSCC zX11_ClassName[] =
10916 * File name selection pattern
10918 tSCC zX11_ClassList[] =
10921 * Machine/OS name selection pattern
10923 #define apzX11_ClassMachs (const char**)NULL
10926 * content selection pattern - do fix if pattern found
10928 tSCC zX11_ClassSelect0[] =
10929 "^([ \t]*char \\*)class;(.*)";
10932 * content bypass pattern - skip fix if pattern found
10934 tSCC zX11_ClassBypass0[] =
10937 #define X11_CLASS_TEST_CT 2
10938 static tTestDesc aX11_ClassTests[] = {
10939 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10940 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10943 * Fix Command Arguments for X11_Class
10945 static const char* apzX11_ClassPatch[] = {
10947 "#ifdef __cplusplus\n\
10954 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10956 * Description of X11_Class_Usage fix
10958 tSCC zX11_Class_UsageName[] =
10962 * File name selection pattern
10964 tSCC zX11_Class_UsageList[] =
10965 "Xm/BaseClassI.h\0";
10967 * Machine/OS name selection pattern
10969 #define apzX11_Class_UsageMachs (const char**)NULL
10972 * content selection pattern - do fix if pattern found
10974 tSCC zX11_Class_UsageSelect0[] =
10978 * content bypass pattern - skip fix if pattern found
10980 tSCC zX11_Class_UsageBypass0[] =
10983 #define X11_CLASS_USAGE_TEST_CT 2
10984 static tTestDesc aX11_Class_UsageTests[] = {
10985 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10986 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10989 * Fix Command Arguments for X11_Class_Usage
10991 static const char* apzX11_Class_UsagePatch[] = {
10996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10998 * Description of X11_New fix
11000 tSCC zX11_NewName[] =
11004 * File name selection pattern
11006 tSCC zX11_NewList[] =
11007 "Xm/Traversal.h\0";
11009 * Machine/OS name selection pattern
11011 #define apzX11_NewMachs (const char**)NULL
11014 * content bypass pattern - skip fix if pattern found
11016 tSCC zX11_NewBypass0[] =
11019 #define X11_NEW_TEST_CT 1
11020 static tTestDesc aX11_NewTests[] = {
11021 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
11024 * Fix Command Arguments for X11_New
11026 static const char* apzX11_NewPatch[] = { sed_cmd_z,
11027 "-e", "/Widget\told, new;/i\\\n\
11028 #ifdef __cplusplus\\\n\
11029 \\\tWidget\told, c_new;\\\n\
11031 "-e", "/Widget\told, new;/a\\\n\
11033 "-e", "s/Widget new,/Widget c_new,/g",
11036 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11038 * Description of X11_Sprintf fix
11040 tSCC zX11_SprintfName[] =
11044 * File name selection pattern
11046 tSCC zX11_SprintfList[] =
11047 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
11049 * Machine/OS name selection pattern
11051 #define apzX11_SprintfMachs (const char**)NULL
11054 * content selection pattern - do fix if pattern found
11056 tSCC zX11_SprintfSelect0[] =
11057 "^extern char \\*\tsprintf\\(\\);$";
11059 #define X11_SPRINTF_TEST_CT 1
11060 static tTestDesc aX11_SprintfTests[] = {
11061 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
11064 * Fix Command Arguments for X11_Sprintf
11066 static const char* apzX11_SprintfPatch[] = {
11068 "#ifndef __STDC__\n\
11070 #endif /* !defined __STDC__ */",
11074 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11076 * List of all fixes
11078 #define REGEX_COUNT 310
11079 #define MACH_LIST_SIZE_LIMIT 187
11080 #define FIX_COUNT 272
11083 * Enumerate the fixes
11086 AAB_AIX_STDIO_FIXIDX,
11087 AAB_AIX_FCNTL_FIXIDX,
11088 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
11089 DARWIN_API_AVAILABILITY_FIXIDX,
11090 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
11091 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
11092 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
11093 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
11094 AAB_SUN_MEMCPY_FIXIDX,
11095 AAB_VXWORKS_ASSERT_FIXIDX,
11096 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
11097 AAB_VXWORKS_UNISTD_FIXIDX,
11099 AIX_COMPLEX_FIXIDX,
11100 AIX_EXTERNC_FIXIDX,
11101 AIX_EXTERNCPP1_FIXIDX,
11102 AIX_EXTERNCPP2_FIXIDX,
11103 AIX_INTTYPES_FIXIDX,
11105 AIX_NET_IF_ARP_FIXIDX,
11107 AIX_ONCE_INIT_1_FIXIDX,
11108 AIX_ONCE_INIT_2_FIXIDX,
11109 AIX_MUTEX_INITIALIZER_1_FIXIDX,
11110 AIX_COND_INITIALIZER_1_FIXIDX,
11111 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
11112 AIX_PHYSADR_T_FIXIDX,
11113 AIX_PTHREAD_FIXIDX,
11114 AIX_STDINT_1_FIXIDX,
11115 AIX_STDINT_2_FIXIDX,
11116 AIX_STDINT_3_FIXIDX,
11117 AIX_STDINT_4_FIXIDX,
11118 AIX_STDINT_5_FIXIDX,
11119 AIX_STDIO_INLINE_FIXIDX,
11120 AIX_STDLIB_MALLOC_FIXIDX,
11121 AIX_STDLIB_REALLOC_FIXIDX,
11122 AIX_STDLIB_CALLOC_FIXIDX,
11123 AIX_STDLIB_VALLOC_FIXIDX,
11124 AIX_STDLIB_VEC_MALLOC_FIXIDX,
11125 AIX_STDLIB_VEC_CALLOC_FIXIDX,
11126 AIX_STRTOF_CONST_FIXIDX,
11127 AIX_SYSMACHINE_FIXIDX,
11128 AIX_SYSWAIT_2_FIXIDX,
11129 AIX_VOLATILE_FIXIDX,
11131 ALPHA___ASSERT_FIXIDX,
11132 ALPHA_ASSERT_FIXIDX,
11133 ALPHA_GETOPT_FIXIDX,
11134 ALPHA_IF_SEMICOLON_FIXIDX,
11135 ALPHA_PARENS_FIXIDX,
11137 AVOID_BOOL_DEFINE_FIXIDX,
11138 AVOID_BOOL_TYPE_FIXIDX,
11139 AVOID_WCHAR_T_TYPE_FIXIDX,
11140 BAD_STRUCT_TERM_FIXIDX,
11142 BROKEN_ASSERT_STDIO_FIXIDX,
11143 BROKEN_ASSERT_STDLIB_FIXIDX,
11144 BROKEN_CABS_FIXIDX,
11146 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
11147 CTRL_QUOTES_DEF_FIXIDX,
11148 CTRL_QUOTES_USE_FIXIDX,
11149 CXX_UNREADY_FIXIDX,
11150 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
11151 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
11152 DARWIN_EXTERNC_FIXIDX,
11153 DARWIN_GCC4_BREAKAGE_FIXIDX,
11154 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
11155 DARWIN_LONGJMP_NORETURN_FIXIDX,
11156 DARWIN_OS_TRACE_1_FIXIDX,
11157 DARWIN_OS_TRACE_2_FIXIDX,
11158 DARWIN_OS_TRACE_3_FIXIDX,
11159 DARWIN_OS_BASE_1_FIXIDX,
11160 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
11161 DARWIN_PRIVATE_EXTERN_FIXIDX,
11162 DARWIN_STDINT_1_FIXIDX,
11163 DARWIN_STDINT_2_FIXIDX,
11164 DARWIN_STDINT_3_FIXIDX,
11165 DARWIN_STDINT_4_FIXIDX,
11166 DARWIN_STDINT_5_FIXIDX,
11167 DARWIN_STDINT_6_FIXIDX,
11168 DARWIN_STDINT_7_FIXIDX,
11169 DARWIN_UCRED__ATOMIC_FIXIDX,
11170 DARWIN_FLT_EVAL_METHOD_FIXIDX,
11171 DEC_INTERN_ASM_FIXIDX,
11172 DJGPP_WCHAR_H_FIXIDX,
11174 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
11175 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
11176 FREEBSD_GCC3_BREAKAGE_FIXIDX,
11177 FREEBSD_GCC4_BREAKAGE_FIXIDX,
11178 GLIBC_C99_INLINE_1_FIXIDX,
11179 GLIBC_C99_INLINE_1A_FIXIDX,
11180 GLIBC_C99_INLINE_2_FIXIDX,
11181 GLIBC_C99_INLINE_3_FIXIDX,
11182 GLIBC_C99_INLINE_4_FIXIDX,
11183 GLIBC_CXX_FLOATN_1_FIXIDX,
11184 GLIBC_CXX_FLOATN_2_FIXIDX,
11185 GLIBC_CXX_FLOATN_3_FIXIDX,
11186 GLIBC_CXX_FLOATN_4_FIXIDX,
11187 GLIBC_CXX_FLOATN_5_FIXIDX,
11188 GLIBC_MUTEX_INIT_FIXIDX,
11189 GLIBC_STDINT_FIXIDX,
11190 GLIBC_STRNCPY_FIXIDX,
11191 GLIBC_TGMATH_FIXIDX,
11195 HPPA_HPUX_FP_MACROS_FIXIDX,
11196 HPUX10_CPP_POW_INLINE_FIXIDX,
11197 HPUX11_CPP_POW_INLINE_FIXIDX,
11198 HPUX_MATH_CONSTEXPR_FIXIDX,
11199 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
11200 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
11201 HPUX10_STDIO_DECLARATIONS_FIXIDX,
11202 HPPA_HPUX11_ALLOCA_FIXIDX,
11204 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
11205 HPUX11_EXTERN_SENDFILE_FIXIDX,
11206 HPUX11_EXTERN_SENDPATH_FIXIDX,
11207 HPUX11_FABSF_FIXIDX,
11208 HPUX11_PTHREAD_POINTER_FIXIDX,
11209 HPUX11_PTHREAD_CONST_FIXIDX,
11210 HPUX11_SIZE_T_FIXIDX,
11211 HPUX11_SNPRINTF_FIXIDX,
11212 HPUX11_VSNPRINTF_FIXIDX,
11213 HPUX_VSSCANF_FIXIDX,
11214 HPUX8_BOGUS_INLINES_FIXIDX,
11215 HPUX_C99_INTPTR_FIXIDX,
11216 HPUX_C99_INTTYPES_FIXIDX,
11217 HPUX_C99_INTTYPES2_FIXIDX,
11218 HPUX_C99_INTTYPES3_FIXIDX,
11219 HPUX_C99_INTTYPES4_FIXIDX,
11220 HPUX_C99_INTTYPES5_FIXIDX,
11221 HPUX_CTYPE_MACROS_FIXIDX,
11222 HPUX_EXTERN_ERRNO_FIXIDX,
11224 HPUX_IMAGINARY_I_FIXIDX,
11225 HPUX_INTTYPE_INT8_T_FIXIDX,
11226 HPUX_LONG_DOUBLE_FIXIDX,
11227 HPUX_LONG_DOUBLE_2_FIXIDX,
11228 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
11229 HPUX_SPU_INFO_FIXIDX,
11230 HPUX_STDINT_LEAST_FAST_FIXIDX,
11231 HPUX_LONGJMP_FIXIDX,
11232 HPUX_SYSTIME_FIXIDX,
11233 HUGE_VAL_HEX_FIXIDX,
11234 HUGE_VALF_HEX_FIXIDX,
11235 HUGE_VALL_HEX_FIXIDX,
11236 INT_ABORT_FREE_AND_EXIT_FIXIDX,
11237 IO_QUOTES_DEF_FIXIDX,
11238 IO_QUOTES_USE_FIXIDX,
11239 IP_MISSING_SEMI_FIXIDX,
11240 IRIX_LIMITS_CONST_FIXIDX,
11241 IRIX_STDIO_VA_LIST_FIXIDX,
11242 KANDR_CONCAT_FIXIDX,
11243 LINUX_IA64_UCONTEXT_FIXIDX,
11244 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
11245 LYNXOS_MISSING_PUTENV_FIXIDX,
11246 MACHINE_ANSI_H_VA_LIST_FIXIDX,
11247 MACHINE_NAME_FIXIDX,
11248 MATH_EXCEPTION_FIXIDX,
11249 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
11250 NESTED_AUTH_DES_FIXIDX,
11251 NETBSD_C99_INLINE_1_FIXIDX,
11252 NETBSD_C99_INLINE_2_FIXIDX,
11253 NETBSD_EXTRA_SEMICOLON_FIXIDX,
11254 NEWLIB_STDINT_1_FIXIDX,
11255 NEWLIB_STDINT_2_FIXIDX,
11256 NEXT_MATH_PREFIX_FIXIDX,
11257 NEXT_TEMPLATE_FIXIDX,
11258 NEXT_VOLITILE_FIXIDX,
11259 NEXT_WAIT_UNION_FIXIDX,
11260 NODEENT_SYNTAX_FIXIDX,
11261 OPENBSD_NULL_DEFINITION_FIXIDX,
11262 OBSTACK_LVALUE_CAST_FIXIDX,
11263 OPENBSD_VA_START_FIXIDX,
11264 OSF_NAMESPACE_A_FIXIDX,
11265 OSF_NAMESPACE_C_FIXIDX,
11266 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
11267 READ_RET_TYPE_FIXIDX,
11268 RPC_XDR_LVALUE_CAST_A_FIXIDX,
11269 RPC_XDR_LVALUE_CAST_B_FIXIDX,
11270 RS6000_DOUBLE_FIXIDX,
11271 RS6000_FCHMOD_FIXIDX,
11272 RS6000_PARAM_FIXIDX,
11273 SOLARIS___RESTRICT_FIXIDX,
11274 SOLARIS_COMPLEX_FIXIDX,
11275 SOLARIS_COMPLEX_CXX_FIXIDX,
11276 SOLARIS_CXX_LINKAGE_FIXIDX,
11277 SOLARIS_GETC_STRICT_STDC_FIXIDX,
11278 SOLARIS_GETS_C11_FIXIDX,
11279 SOLARIS_GETS_CXX14_FIXIDX,
11280 SOLARIS_INT_CONST_FIXIDX,
11281 SOLARIS_INT_LIMITS_1_FIXIDX,
11282 SOLARIS_INT_LIMITS_2_FIXIDX,
11283 SOLARIS_INT_LIMITS_3_FIXIDX,
11284 SOLARIS_MATH_1_FIXIDX,
11285 SOLARIS_MATH_10_FIXIDX,
11286 SOLARIS_MATH_2_FIXIDX,
11287 SOLARIS_MATH_3_FIXIDX,
11288 SOLARIS_MATH_4_FIXIDX,
11289 SOLARIS_MATH_8_FIXIDX,
11290 SOLARIS_MATH_9_FIXIDX,
11291 SOLARIS_MATH_11_FIXIDX,
11292 SOLARIS_MATH_12_FIXIDX,
11293 SOLARIS_ONCE_INIT_1_FIXIDX,
11294 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
11295 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
11296 SOLARIS_RWLOCK_INIT_1_FIXIDX,
11297 SOLARIS_STD___FILBUF_FIXIDX,
11298 SOLARIS_STD_GETS_CXX14_FIXIDX,
11299 SOLARIS_STDIO_TAG_FIXIDX,
11300 SOLARIS_STDLIB_NORETURN_FIXIDX,
11302 STDIO_STDARG_H_FIXIDX,
11303 STDIO_VA_LIST_FIXIDX,
11304 STDIO_VA_LIST_CLIENTS_FIXIDX,
11305 STRICT_ANSI_NOT_FIXIDX,
11306 STRICT_ANSI_NOT_CTD_FIXIDX,
11307 STRICT_ANSI_ONLY_FIXIDX,
11308 STRUCT_FILE_FIXIDX,
11309 STRUCT_SOCKADDR_FIXIDX,
11310 SUN_AUTH_PROTO_FIXIDX,
11311 SUN_BOGUS_IFDEF_FIXIDX,
11312 SUN_CATMACRO_FIXIDX,
11314 SUN_RUSERS_SEMI_FIXIDX,
11316 SUNOS_STRLEN_FIXIDX,
11317 SUSE_LINUX_VT_CXX_FIXIDX,
11318 SVR4_DISABLE_OPT_FIXIDX,
11319 SVR4_GETCWD_FIXIDX,
11320 SVR4_PROFIL_FIXIDX,
11321 SVR4_SIGHANDLER_TYPE_FIXIDX,
11322 SVR4_UNDECLARED_GETRNGE_FIXIDX,
11323 SYSV68_STRING_FIXIDX,
11324 SYSZ_STDLIB_FOR_SUN_FIXIDX,
11325 THREAD_KEYWORD_FIXIDX,
11326 TINFO_CPLUSPLUS_FIXIDX,
11327 ULTRIX_CONST_FIXIDX,
11328 ULTRIX_CONST2_FIXIDX,
11329 VA_I960_MACRO_FIXIDX,
11330 VMS_ADD_MISSING_BRACES_FIXIDX,
11331 VMS_DECC_BUILTIN_FIXIDX,
11332 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
11333 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
11334 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
11335 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
11336 VMS_NO_64BIT_GETOPT_FIXIDX,
11337 VMS_USE_FAST_SETJMP_FIXIDX,
11338 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
11339 VMS_USE_QUOTED_INCLUDE_FIXIDX,
11341 VXWORKS_GCC_PROBLEM_FIXIDX,
11342 VXWORKS_IOCTL_MACRO_FIXIDX,
11343 VXWORKS_MATH_H_FP_C99_FIXIDX,
11344 VXWORKS_POSIX_MKDIR_FIXIDX,
11345 VXWORKS_NEEDS_VXTYPES_FIXIDX,
11346 VXWORKS_NEEDS_VXWORKS_FIXIDX,
11347 VXWORKS_NEXT_YVALS_FIXIDX,
11348 VXWORKS_REGS_FIXIDX,
11349 VXWORKS_POSIX_OPEN_FIXIDX,
11350 VXWORKS_TIME_FIXIDX,
11351 VXWORKS_WRITE_CONST_FIXIDX,
11352 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
11353 VXWORKS_TIME_H_SYSLIB_FIXIDX,
11355 X11_CLASS_USAGE_FIXIDX,
11360 tFixDesc fixDescList[ FIX_COUNT ] = {
11361 { zAab_Aix_StdioName, zAab_Aix_StdioList,
11362 apzAab_Aix_StdioMachs,
11363 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11364 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
11366 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
11367 apzAab_Aix_FcntlMachs,
11368 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11369 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
11371 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
11372 apzAab_Darwin7_9_Long_Double_FuncsMachs,
11373 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11374 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
11376 { zDarwin_Api_AvailabilityName, zDarwin_Api_AvailabilityList,
11377 apzDarwin_Api_AvailabilityMachs,
11378 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11379 aDarwin_Api_AvailabilityTests, apzDarwin_Api_AvailabilityPatch, 0 },
11381 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
11382 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
11383 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11384 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
11386 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
11387 apzAab_Fd_Zero_Gnu_Types_HMachs,
11388 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11389 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
11391 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
11392 apzAab_Fd_Zero_Selectbits_HMachs,
11393 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11394 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
11396 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
11397 apzAab_Solaris_Sys_Varargs_HMachs,
11398 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11399 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
11401 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
11402 apzAab_Sun_MemcpyMachs,
11403 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11404 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
11406 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
11407 apzAab_Vxworks_AssertMachs,
11408 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11409 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
11411 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
11412 apzAab_Vxworks_Regs_VxtypesMachs,
11413 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11414 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
11416 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
11417 apzAab_Vxworks_UnistdMachs,
11418 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11419 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
11421 { zAix_AssertName, zAix_AssertList,
11422 apzAix_AssertMachs,
11423 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11424 aAix_AssertTests, apzAix_AssertPatch, 0 },
11426 { zAix_ComplexName, zAix_ComplexList,
11427 apzAix_ComplexMachs,
11428 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11429 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
11431 { zAix_ExterncName, zAix_ExterncList,
11432 apzAix_ExterncMachs,
11433 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11434 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
11436 { zAix_Externcpp1Name, zAix_Externcpp1List,
11437 apzAix_Externcpp1Machs,
11438 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11439 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
11441 { zAix_Externcpp2Name, zAix_Externcpp2List,
11442 apzAix_Externcpp2Machs,
11443 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11444 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
11446 { zAix_InttypesName, zAix_InttypesList,
11447 apzAix_InttypesMachs,
11448 AIX_INTTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11449 aAix_InttypesTests, apzAix_InttypesPatch, 0 },
11451 { zAix_MallocName, zAix_MallocList,
11452 apzAix_MallocMachs,
11453 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11454 aAix_MallocTests, apzAix_MallocPatch, 0 },
11456 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
11457 apzAix_Net_If_ArpMachs,
11458 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11459 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
11461 { zAix_NullName, zAix_NullList,
11463 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11464 aAix_NullTests, apzAix_NullPatch, 0 },
11466 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
11467 apzAix_Once_Init_1Machs,
11468 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11469 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
11471 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
11472 apzAix_Once_Init_2Machs,
11473 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11474 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
11476 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
11477 apzAix_Mutex_Initializer_1Machs,
11478 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11479 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
11481 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
11482 apzAix_Cond_Initializer_1Machs,
11483 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11484 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
11486 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
11487 apzAix_Rwlock_Initializer_1Machs,
11488 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11489 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
11491 { zAix_Physadr_TName, zAix_Physadr_TList,
11492 apzAix_Physadr_TMachs,
11493 AIX_PHYSADR_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11494 aAix_Physadr_TTests, apzAix_Physadr_TPatch, 0 },
11496 { zAix_PthreadName, zAix_PthreadList,
11497 apzAix_PthreadMachs,
11498 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11499 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
11501 { zAix_Stdint_1Name, zAix_Stdint_1List,
11502 apzAix_Stdint_1Machs,
11503 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11504 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
11506 { zAix_Stdint_2Name, zAix_Stdint_2List,
11507 apzAix_Stdint_2Machs,
11508 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11509 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
11511 { zAix_Stdint_3Name, zAix_Stdint_3List,
11512 apzAix_Stdint_3Machs,
11513 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11514 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
11516 { zAix_Stdint_4Name, zAix_Stdint_4List,
11517 apzAix_Stdint_4Machs,
11518 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11519 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
11521 { zAix_Stdint_5Name, zAix_Stdint_5List,
11522 apzAix_Stdint_5Machs,
11523 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11524 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
11526 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
11527 apzAix_Stdio_InlineMachs,
11528 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11529 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
11531 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
11532 apzAix_Stdlib_MallocMachs,
11533 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11534 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
11536 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
11537 apzAix_Stdlib_ReallocMachs,
11538 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11539 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
11541 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
11542 apzAix_Stdlib_CallocMachs,
11543 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11544 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
11546 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
11547 apzAix_Stdlib_VallocMachs,
11548 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11549 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
11551 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
11552 apzAix_Stdlib_Vec_MallocMachs,
11553 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11554 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
11556 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
11557 apzAix_Stdlib_Vec_CallocMachs,
11558 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11559 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
11561 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
11562 apzAix_Strtof_ConstMachs,
11563 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11564 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
11566 { zAix_SysmachineName, zAix_SysmachineList,
11567 apzAix_SysmachineMachs,
11568 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11569 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
11571 { zAix_Syswait_2Name, zAix_Syswait_2List,
11572 apzAix_Syswait_2Machs,
11573 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11574 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
11576 { zAix_VolatileName, zAix_VolatileList,
11577 apzAix_VolatileMachs,
11578 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11579 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
11581 { zAix_UnistdName, zAix_UnistdList,
11582 apzAix_UnistdMachs,
11583 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11584 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
11586 { zAlpha___AssertName, zAlpha___AssertList,
11587 apzAlpha___AssertMachs,
11588 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11589 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
11591 { zAlpha_AssertName, zAlpha_AssertList,
11592 apzAlpha_AssertMachs,
11593 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11594 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
11596 { zAlpha_GetoptName, zAlpha_GetoptList,
11597 apzAlpha_GetoptMachs,
11598 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11599 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
11601 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
11602 apzAlpha_If_SemicolonMachs,
11603 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11604 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
11606 { zAlpha_ParensName, zAlpha_ParensList,
11607 apzAlpha_ParensMachs,
11608 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11609 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
11611 { zAlpha_SbrkName, zAlpha_SbrkList,
11612 apzAlpha_SbrkMachs,
11613 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11614 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
11616 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
11617 apzAvoid_Bool_DefineMachs,
11618 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11619 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
11621 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
11622 apzAvoid_Bool_TypeMachs,
11623 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11624 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
11626 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
11627 apzAvoid_Wchar_T_TypeMachs,
11628 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11629 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
11631 { zBad_Struct_TermName, zBad_Struct_TermList,
11632 apzBad_Struct_TermMachs,
11633 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11634 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
11636 { zBadquoteName, zBadquoteList,
11638 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11639 aBadquoteTests, apzBadquotePatch, 0 },
11641 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
11642 apzBroken_Assert_StdioMachs,
11643 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11644 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
11646 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
11647 apzBroken_Assert_StdlibMachs,
11648 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11649 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
11651 { zBroken_CabsName, zBroken_CabsList,
11652 apzBroken_CabsMachs,
11653 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11654 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
11656 { zBroken_NanName, zBroken_NanList,
11657 apzBroken_NanMachs,
11658 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11659 aBroken_NanTests, apzBroken_NanPatch, 0 },
11661 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
11662 apzBsd_Stdio_Attrs_ConflictMachs,
11663 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11664 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11666 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
11667 apzCtrl_Quotes_DefMachs,
11668 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11669 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
11671 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
11672 apzCtrl_Quotes_UseMachs,
11673 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11674 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
11676 { zCxx_UnreadyName, zCxx_UnreadyList,
11677 apzCxx_UnreadyMachs,
11678 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11679 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
11681 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
11682 apzDarwin_AvailabilityinternalMachs,
11683 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11684 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
11686 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
11687 apzDarwin_9_Long_Double_Funcs_2Machs,
11688 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11689 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11691 { zDarwin_ExterncName, zDarwin_ExterncList,
11692 apzDarwin_ExterncMachs,
11693 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11694 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
11696 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
11697 apzDarwin_Gcc4_BreakageMachs,
11698 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11699 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
11701 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
11702 apzDarwin_Ll_Funcs_AvailMachs,
11703 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11704 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
11706 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
11707 apzDarwin_Longjmp_NoreturnMachs,
11708 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11709 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
11711 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
11712 apzDarwin_Os_Trace_1Machs,
11713 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11714 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
11716 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
11717 apzDarwin_Os_Trace_2Machs,
11718 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11719 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
11721 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
11722 apzDarwin_Os_Trace_3Machs,
11723 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11724 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
11726 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
11727 apzDarwin_Os_Base_1Machs,
11728 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11729 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
11731 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
11732 apzDarwin_Dispatch_Object_1Machs,
11733 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11734 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
11736 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
11737 apzDarwin_Private_ExternMachs,
11738 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11739 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
11741 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
11742 apzDarwin_Stdint_1Machs,
11743 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11744 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
11746 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
11747 apzDarwin_Stdint_2Machs,
11748 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11749 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
11751 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
11752 apzDarwin_Stdint_3Machs,
11753 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11754 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
11756 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
11757 apzDarwin_Stdint_4Machs,
11758 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11759 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11761 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11762 apzDarwin_Stdint_5Machs,
11763 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11764 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11766 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11767 apzDarwin_Stdint_6Machs,
11768 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11769 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11771 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11772 apzDarwin_Stdint_7Machs,
11773 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11774 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11776 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11777 apzDarwin_Ucred__AtomicMachs,
11778 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11779 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11781 { zDarwin_Flt_Eval_MethodName, zDarwin_Flt_Eval_MethodList,
11782 apzDarwin_Flt_Eval_MethodMachs,
11783 DARWIN_FLT_EVAL_METHOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11784 aDarwin_Flt_Eval_MethodTests, apzDarwin_Flt_Eval_MethodPatch, 0 },
11786 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11787 apzDec_Intern_AsmMachs,
11788 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11789 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11791 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11792 apzDjgpp_Wchar_HMachs,
11793 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11794 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11796 { zEcd_CursorName, zEcd_CursorList,
11797 apzEcd_CursorMachs,
11798 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11799 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11801 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11802 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11803 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11804 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11806 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11807 apzFeraiseexcept_Nosse_InvalidMachs,
11808 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11809 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11811 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11812 apzFreebsd_Gcc3_BreakageMachs,
11813 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11814 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11816 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11817 apzFreebsd_Gcc4_BreakageMachs,
11818 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11819 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11821 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11822 apzGlibc_C99_Inline_1Machs,
11823 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11824 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11826 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11827 apzGlibc_C99_Inline_1aMachs,
11828 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11829 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11831 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11832 apzGlibc_C99_Inline_2Machs,
11833 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11834 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11836 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11837 apzGlibc_C99_Inline_3Machs,
11838 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11839 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11841 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11842 apzGlibc_C99_Inline_4Machs,
11843 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11844 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11846 { zGlibc_Cxx_Floatn_1Name, zGlibc_Cxx_Floatn_1List,
11847 apzGlibc_Cxx_Floatn_1Machs,
11848 GLIBC_CXX_FLOATN_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11849 aGlibc_Cxx_Floatn_1Tests, apzGlibc_Cxx_Floatn_1Patch, 0 },
11851 { zGlibc_Cxx_Floatn_2Name, zGlibc_Cxx_Floatn_2List,
11852 apzGlibc_Cxx_Floatn_2Machs,
11853 GLIBC_CXX_FLOATN_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11854 aGlibc_Cxx_Floatn_2Tests, apzGlibc_Cxx_Floatn_2Patch, 0 },
11856 { zGlibc_Cxx_Floatn_3Name, zGlibc_Cxx_Floatn_3List,
11857 apzGlibc_Cxx_Floatn_3Machs,
11858 GLIBC_CXX_FLOATN_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11859 aGlibc_Cxx_Floatn_3Tests, apzGlibc_Cxx_Floatn_3Patch, 0 },
11861 { zGlibc_Cxx_Floatn_4Name, zGlibc_Cxx_Floatn_4List,
11862 apzGlibc_Cxx_Floatn_4Machs,
11863 GLIBC_CXX_FLOATN_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11864 aGlibc_Cxx_Floatn_4Tests, apzGlibc_Cxx_Floatn_4Patch, 0 },
11866 { zGlibc_Cxx_Floatn_5Name, zGlibc_Cxx_Floatn_5List,
11867 apzGlibc_Cxx_Floatn_5Machs,
11868 GLIBC_CXX_FLOATN_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11869 aGlibc_Cxx_Floatn_5Tests, apzGlibc_Cxx_Floatn_5Patch, 0 },
11871 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11872 apzGlibc_Mutex_InitMachs,
11873 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11874 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11876 { zGlibc_StdintName, zGlibc_StdintList,
11877 apzGlibc_StdintMachs,
11878 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11879 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11881 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11882 apzGlibc_StrncpyMachs,
11883 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11884 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11886 { zGlibc_TgmathName, zGlibc_TgmathList,
11887 apzGlibc_TgmathMachs,
11888 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11889 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11891 { zGnu_TypesName, zGnu_TypesList,
11893 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11894 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11896 { zHp_InlineName, zHp_InlineList,
11898 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11899 aHp_InlineTests, apzHp_InlinePatch, 0 },
11901 { zHp_SysfileName, zHp_SysfileList,
11902 apzHp_SysfileMachs,
11903 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11904 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11906 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11907 apzHppa_Hpux_Fp_MacrosMachs,
11908 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11909 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11911 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11912 apzHpux10_Cpp_Pow_InlineMachs,
11913 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11914 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11916 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11917 apzHpux11_Cpp_Pow_InlineMachs,
11918 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11919 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11921 { zHpux_Math_ConstexprName, zHpux_Math_ConstexprList,
11922 apzHpux_Math_ConstexprMachs,
11923 HPUX_MATH_CONSTEXPR_TEST_CT, FD_MACH_ONLY,
11924 aHpux_Math_ConstexprTests, apzHpux_Math_ConstexprPatch, 0 },
11926 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11927 apzHpux10_Ctype_Declarations1Machs,
11928 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11929 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11931 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11932 apzHpux10_Ctype_Declarations2Machs,
11933 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11934 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11936 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11937 apzHpux10_Stdio_DeclarationsMachs,
11938 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11939 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11941 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11942 apzHppa_Hpux11_AllocaMachs,
11943 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11944 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11946 { zHpux11_AbsName, zHpux11_AbsList,
11947 apzHpux11_AbsMachs,
11948 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11949 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11951 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11952 apzHpux11_Lwp_Rwlock_ValidMachs,
11953 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11954 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11956 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11957 apzHpux11_Extern_SendfileMachs,
11958 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11959 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11961 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11962 apzHpux11_Extern_SendpathMachs,
11963 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11964 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11966 { zHpux11_FabsfName, zHpux11_FabsfList,
11967 apzHpux11_FabsfMachs,
11968 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11969 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11971 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11972 apzHpux11_Pthread_PointerMachs,
11973 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11974 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11976 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11977 apzHpux11_Pthread_ConstMachs,
11978 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11979 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11981 { zHpux11_Size_TName, zHpux11_Size_TList,
11982 apzHpux11_Size_TMachs,
11983 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11984 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11986 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11987 apzHpux11_SnprintfMachs,
11988 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11989 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11991 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11992 apzHpux11_VsnprintfMachs,
11993 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11994 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11996 { zHpux_VsscanfName, zHpux_VsscanfList,
11997 apzHpux_VsscanfMachs,
11998 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11999 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
12001 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
12002 apzHpux8_Bogus_InlinesMachs,
12003 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
12004 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
12006 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
12007 apzHpux_C99_IntptrMachs,
12008 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
12009 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
12011 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
12012 apzHpux_C99_InttypesMachs,
12013 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
12014 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
12016 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
12017 apzHpux_C99_Inttypes2Machs,
12018 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
12019 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
12021 { zHpux_C99_Inttypes3Name, zHpux_C99_Inttypes3List,
12022 apzHpux_C99_Inttypes3Machs,
12023 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12024 aHpux_C99_Inttypes3Tests, apzHpux_C99_Inttypes3Patch, 0 },
12026 { zHpux_C99_Inttypes4Name, zHpux_C99_Inttypes4List,
12027 apzHpux_C99_Inttypes4Machs,
12028 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
12029 aHpux_C99_Inttypes4Tests, apzHpux_C99_Inttypes4Patch, 0 },
12031 { zHpux_C99_Inttypes5Name, zHpux_C99_Inttypes5List,
12032 apzHpux_C99_Inttypes5Machs,
12033 HPUX_C99_INTTYPES5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12034 aHpux_C99_Inttypes5Tests, apzHpux_C99_Inttypes5Patch, 0 },
12036 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
12037 apzHpux_Ctype_MacrosMachs,
12038 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12039 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
12041 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
12042 apzHpux_Extern_ErrnoMachs,
12043 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12044 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
12046 { zHpux_HtonlName, zHpux_HtonlList,
12047 apzHpux_HtonlMachs,
12048 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12049 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
12051 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
12052 apzHpux_Imaginary_IMachs,
12053 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12054 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
12056 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
12057 apzHpux_Inttype_Int8_TMachs,
12058 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12059 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
12061 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
12062 apzHpux_Long_DoubleMachs,
12063 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
12064 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
12066 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
12067 apzHpux_Long_Double_2Machs,
12068 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12069 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
12071 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
12072 apzHpux_Pthread_InitializersMachs,
12073 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
12074 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
12076 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
12077 apzHpux_Spu_InfoMachs,
12078 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12079 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
12081 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
12082 apzHpux_Stdint_Least_FastMachs,
12083 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12084 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
12086 { zHpux_LongjmpName, zHpux_LongjmpList,
12087 apzHpux_LongjmpMachs,
12088 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12089 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
12091 { zHpux_SystimeName, zHpux_SystimeList,
12092 apzHpux_SystimeMachs,
12093 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12094 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
12096 { zHuge_Val_HexName, zHuge_Val_HexList,
12097 apzHuge_Val_HexMachs,
12098 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12099 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
12101 { zHuge_Valf_HexName, zHuge_Valf_HexList,
12102 apzHuge_Valf_HexMachs,
12103 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12104 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
12106 { zHuge_Vall_HexName, zHuge_Vall_HexList,
12107 apzHuge_Vall_HexMachs,
12108 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12109 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
12111 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
12112 apzInt_Abort_Free_And_ExitMachs,
12113 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12114 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
12116 { zIo_Quotes_DefName, zIo_Quotes_DefList,
12117 apzIo_Quotes_DefMachs,
12118 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12119 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
12121 { zIo_Quotes_UseName, zIo_Quotes_UseList,
12122 apzIo_Quotes_UseMachs,
12123 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12124 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
12126 { zIp_Missing_SemiName, zIp_Missing_SemiList,
12127 apzIp_Missing_SemiMachs,
12128 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
12129 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
12131 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
12132 apzIrix_Limits_ConstMachs,
12133 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12134 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
12136 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
12137 apzIrix_Stdio_Va_ListMachs,
12138 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12139 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
12141 { zKandr_ConcatName, zKandr_ConcatList,
12142 apzKandr_ConcatMachs,
12143 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12144 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
12146 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
12147 apzLinux_Ia64_UcontextMachs,
12148 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12149 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
12151 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
12152 apzLynxos_No_Warning_In_Sys_Time_HMachs,
12153 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12154 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
12156 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
12157 apzLynxos_Missing_PutenvMachs,
12158 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12159 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
12161 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
12162 apzMachine_Ansi_H_Va_ListMachs,
12163 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12164 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
12166 { zMachine_NameName, zMachine_NameList,
12167 apzMachine_NameMachs,
12168 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12169 aMachine_NameTests, apzMachine_NamePatch, 0 },
12171 { zMath_ExceptionName, zMath_ExceptionList,
12172 apzMath_ExceptionMachs,
12173 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
12174 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
12176 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
12177 apzMath_Huge_Val_From_Dbl_MaxMachs,
12178 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
12179 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
12181 { zNested_Auth_DesName, zNested_Auth_DesList,
12182 apzNested_Auth_DesMachs,
12183 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12184 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
12186 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
12187 apzNetbsd_C99_Inline_1Machs,
12188 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12189 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
12191 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
12192 apzNetbsd_C99_Inline_2Machs,
12193 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12194 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
12196 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
12197 apzNetbsd_Extra_SemicolonMachs,
12198 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12199 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
12201 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
12202 apzNewlib_Stdint_1Machs,
12203 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
12204 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
12206 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
12207 apzNewlib_Stdint_2Machs,
12208 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12209 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
12211 { zNext_Math_PrefixName, zNext_Math_PrefixList,
12212 apzNext_Math_PrefixMachs,
12213 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12214 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
12216 { zNext_TemplateName, zNext_TemplateList,
12217 apzNext_TemplateMachs,
12218 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12219 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
12221 { zNext_VolitileName, zNext_VolitileList,
12222 apzNext_VolitileMachs,
12223 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12224 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
12226 { zNext_Wait_UnionName, zNext_Wait_UnionList,
12227 apzNext_Wait_UnionMachs,
12228 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12229 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
12231 { zNodeent_SyntaxName, zNodeent_SyntaxList,
12232 apzNodeent_SyntaxMachs,
12233 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12234 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
12236 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
12237 apzOpenbsd_Null_DefinitionMachs,
12238 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12239 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
12241 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
12242 apzObstack_Lvalue_CastMachs,
12243 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12244 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
12246 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
12247 apzOpenbsd_Va_StartMachs,
12248 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12249 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
12251 { zOsf_Namespace_AName, zOsf_Namespace_AList,
12252 apzOsf_Namespace_AMachs,
12253 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12254 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
12256 { zOsf_Namespace_CName, zOsf_Namespace_CList,
12257 apzOsf_Namespace_CMachs,
12258 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12259 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
12261 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
12262 apzPthread_Incomplete_Struct_ArgumentMachs,
12263 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12264 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
12266 { zRead_Ret_TypeName, zRead_Ret_TypeList,
12267 apzRead_Ret_TypeMachs,
12268 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12269 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
12271 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
12272 apzRpc_Xdr_Lvalue_Cast_AMachs,
12273 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12274 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
12276 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
12277 apzRpc_Xdr_Lvalue_Cast_BMachs,
12278 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12279 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
12281 { zRs6000_DoubleName, zRs6000_DoubleList,
12282 apzRs6000_DoubleMachs,
12283 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12284 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
12286 { zRs6000_FchmodName, zRs6000_FchmodList,
12287 apzRs6000_FchmodMachs,
12288 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12289 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
12291 { zRs6000_ParamName, zRs6000_ParamList,
12292 apzRs6000_ParamMachs,
12293 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12294 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
12296 { zSolaris___RestrictName, zSolaris___RestrictList,
12297 apzSolaris___RestrictMachs,
12298 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12299 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
12301 { zSolaris_ComplexName, zSolaris_ComplexList,
12302 apzSolaris_ComplexMachs,
12303 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
12304 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
12306 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
12307 apzSolaris_Complex_CxxMachs,
12308 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
12309 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
12311 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
12312 apzSolaris_Cxx_LinkageMachs,
12313 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12314 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
12316 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
12317 apzSolaris_Getc_Strict_StdcMachs,
12318 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12319 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
12321 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
12322 apzSolaris_Gets_C11Machs,
12323 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12324 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
12326 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
12327 apzSolaris_Gets_Cxx14Machs,
12328 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12329 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
12331 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
12332 apzSolaris_Int_ConstMachs,
12333 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12334 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
12336 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
12337 apzSolaris_Int_Limits_1Machs,
12338 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12339 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
12341 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
12342 apzSolaris_Int_Limits_2Machs,
12343 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12344 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
12346 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
12347 apzSolaris_Int_Limits_3Machs,
12348 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12349 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
12351 { zSolaris_Math_1Name, zSolaris_Math_1List,
12352 apzSolaris_Math_1Machs,
12353 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12354 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
12356 { zSolaris_Math_10Name, zSolaris_Math_10List,
12357 apzSolaris_Math_10Machs,
12358 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12359 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
12361 { zSolaris_Math_2Name, zSolaris_Math_2List,
12362 apzSolaris_Math_2Machs,
12363 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12364 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
12366 { zSolaris_Math_3Name, zSolaris_Math_3List,
12367 apzSolaris_Math_3Machs,
12368 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12369 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
12371 { zSolaris_Math_4Name, zSolaris_Math_4List,
12372 apzSolaris_Math_4Machs,
12373 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12374 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
12376 { zSolaris_Math_8Name, zSolaris_Math_8List,
12377 apzSolaris_Math_8Machs,
12378 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12379 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
12381 { zSolaris_Math_9Name, zSolaris_Math_9List,
12382 apzSolaris_Math_9Machs,
12383 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12384 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
12386 { zSolaris_Math_11Name, zSolaris_Math_11List,
12387 apzSolaris_Math_11Machs,
12388 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12389 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
12391 { zSolaris_Math_12Name, zSolaris_Math_12List,
12392 apzSolaris_Math_12Machs,
12393 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
12394 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
12396 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
12397 apzSolaris_Once_Init_1Machs,
12398 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12399 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
12401 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
12402 apzSolaris_Posix_Spawn_RestrictMachs,
12403 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12404 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
12406 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
12407 apzSolaris_Pow_Int_OverloadMachs,
12408 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12409 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
12411 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
12412 apzSolaris_Rwlock_Init_1Machs,
12413 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12414 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
12416 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
12417 apzSolaris_Std___FilbufMachs,
12418 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12419 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
12421 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
12422 apzSolaris_Std_Gets_Cxx14Machs,
12423 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12424 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
12426 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
12427 apzSolaris_Stdio_TagMachs,
12428 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
12429 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
12431 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
12432 apzSolaris_Stdlib_NoreturnMachs,
12433 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12434 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
12436 { zStatsswtchName, zStatsswtchList,
12437 apzStatsswtchMachs,
12438 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12439 aStatsswtchTests, apzStatsswtchPatch, 0 },
12441 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
12442 apzStdio_Stdarg_HMachs,
12443 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
12444 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
12446 { zStdio_Va_ListName, zStdio_Va_ListList,
12447 apzStdio_Va_ListMachs,
12448 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
12449 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
12451 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
12452 apzStdio_Va_List_ClientsMachs,
12453 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
12454 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
12456 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
12457 apzStrict_Ansi_NotMachs,
12458 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12459 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
12461 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
12462 apzStrict_Ansi_Not_CtdMachs,
12463 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12464 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
12466 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
12467 apzStrict_Ansi_OnlyMachs,
12468 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12469 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
12471 { zStruct_FileName, zStruct_FileList,
12472 apzStruct_FileMachs,
12473 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12474 aStruct_FileTests, apzStruct_FilePatch, 0 },
12476 { zStruct_SockaddrName, zStruct_SockaddrList,
12477 apzStruct_SockaddrMachs,
12478 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12479 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
12481 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
12482 apzSun_Auth_ProtoMachs,
12483 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12484 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
12486 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
12487 apzSun_Bogus_IfdefMachs,
12488 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12489 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
12491 { zSun_CatmacroName, zSun_CatmacroList,
12492 apzSun_CatmacroMachs,
12493 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12494 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
12496 { zSun_MallocName, zSun_MallocList,
12497 apzSun_MallocMachs,
12498 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
12499 aSun_MallocTests, apzSun_MallocPatch, 0 },
12501 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
12502 apzSun_Rusers_SemiMachs,
12503 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
12504 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
12506 { zSun_SignalName, zSun_SignalList,
12507 apzSun_SignalMachs,
12508 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12509 aSun_SignalTests, apzSun_SignalPatch, 0 },
12511 { zSunos_StrlenName, zSunos_StrlenList,
12512 apzSunos_StrlenMachs,
12513 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12514 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
12516 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
12517 apzSuse_Linux_Vt_CxxMachs,
12518 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12519 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
12521 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
12522 apzSvr4_Disable_OptMachs,
12523 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
12524 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
12526 { zSvr4_GetcwdName, zSvr4_GetcwdList,
12527 apzSvr4_GetcwdMachs,
12528 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12529 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
12531 { zSvr4_ProfilName, zSvr4_ProfilList,
12532 apzSvr4_ProfilMachs,
12533 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12534 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
12536 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
12537 apzSvr4_Sighandler_TypeMachs,
12538 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12539 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
12541 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
12542 apzSvr4_Undeclared_GetrngeMachs,
12543 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12544 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
12546 { zSysv68_StringName, zSysv68_StringList,
12547 apzSysv68_StringMachs,
12548 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
12549 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
12551 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
12552 apzSysz_Stdlib_For_SunMachs,
12553 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12554 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
12556 { zThread_KeywordName, zThread_KeywordList,
12557 apzThread_KeywordMachs,
12558 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12559 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
12561 { zTinfo_CplusplusName, zTinfo_CplusplusList,
12562 apzTinfo_CplusplusMachs,
12563 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12564 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
12566 { zUltrix_ConstName, zUltrix_ConstList,
12567 apzUltrix_ConstMachs,
12568 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12569 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
12571 { zUltrix_Const2Name, zUltrix_Const2List,
12572 apzUltrix_Const2Machs,
12573 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12574 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
12576 { zVa_I960_MacroName, zVa_I960_MacroList,
12577 apzVa_I960_MacroMachs,
12578 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12579 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
12581 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
12582 apzVms_Add_Missing_BracesMachs,
12583 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12584 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
12586 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
12587 apzVms_Decc_BuiltinMachs,
12588 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
12589 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
12591 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
12592 apzVms_Define_Can_Use_Extern_PrefixMachs,
12593 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12594 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
12596 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
12597 apzVms_Disable_Decc_String_BuiltinsMachs,
12598 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12599 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
12601 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
12602 apzVms_Do_Not_Redeclare_HostaliasMachs,
12603 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12604 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
12606 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
12607 apzVms_Forward_Declare_StructMachs,
12608 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12609 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
12611 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
12612 apzVms_No_64bit_GetoptMachs,
12613 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12614 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
12616 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
12617 apzVms_Use_Fast_SetjmpMachs,
12618 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12619 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
12621 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
12622 apzVms_Use_Pragma_Extern_ModelMachs,
12623 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12624 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
12626 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
12627 apzVms_Use_Quoted_IncludeMachs,
12628 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12629 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
12631 { zVoid_NullName, zVoid_NullList,
12633 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12634 aVoid_NullTests, apzVoid_NullPatch, 0 },
12636 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
12637 apzVxworks_Gcc_ProblemMachs,
12638 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
12639 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
12641 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
12642 apzVxworks_Ioctl_MacroMachs,
12643 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12644 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
12646 { zVxworks_Math_H_Fp_C99Name, zVxworks_Math_H_Fp_C99List,
12647 apzVxworks_Math_H_Fp_C99Machs,
12648 VXWORKS_MATH_H_FP_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12649 aVxworks_Math_H_Fp_C99Tests, apzVxworks_Math_H_Fp_C99Patch, 0 },
12651 { zVxworks_Posix_MkdirName, zVxworks_Posix_MkdirList,
12652 apzVxworks_Posix_MkdirMachs,
12653 VXWORKS_POSIX_MKDIR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12654 aVxworks_Posix_MkdirTests, apzVxworks_Posix_MkdirPatch, 0 },
12656 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
12657 apzVxworks_Needs_VxtypesMachs,
12658 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12659 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
12661 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
12662 apzVxworks_Needs_VxworksMachs,
12663 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
12664 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
12666 { zVxworks_Next_YvalsName, zVxworks_Next_YvalsList,
12667 apzVxworks_Next_YvalsMachs,
12668 VXWORKS_NEXT_YVALS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12669 aVxworks_Next_YvalsTests, apzVxworks_Next_YvalsPatch, 0 },
12671 { zVxworks_RegsName, zVxworks_RegsList,
12672 apzVxworks_RegsMachs,
12673 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12674 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
12676 { zVxworks_Posix_OpenName, zVxworks_Posix_OpenList,
12677 apzVxworks_Posix_OpenMachs,
12678 VXWORKS_POSIX_OPEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12679 aVxworks_Posix_OpenTests, apzVxworks_Posix_OpenPatch, 0 },
12681 { zVxworks_TimeName, zVxworks_TimeList,
12682 apzVxworks_TimeMachs,
12683 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12684 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
12686 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
12687 apzVxworks_Write_ConstMachs,
12688 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12689 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
12691 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
12692 apzVxworks_Iolib_Include_UnistdMachs,
12693 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12694 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
12696 { zVxworks_Time_H_SyslibName, zVxworks_Time_H_SyslibList,
12697 apzVxworks_Time_H_SyslibMachs,
12698 VXWORKS_TIME_H_SYSLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12699 aVxworks_Time_H_SyslibTests, apzVxworks_Time_H_SyslibPatch, 0 },
12701 { zX11_ClassName, zX11_ClassList,
12703 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12704 aX11_ClassTests, apzX11_ClassPatch, 0 },
12706 { zX11_Class_UsageName, zX11_Class_UsageList,
12707 apzX11_Class_UsageMachs,
12708 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12709 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
12711 { zX11_NewName, zX11_NewList,
12713 X11_NEW_TEST_CT, FD_MACH_ONLY,
12714 aX11_NewTests, apzX11_NewPatch, 0 },
12716 { zX11_SprintfName, zX11_SprintfList,
12717 apzX11_SprintfMachs,
12718 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12719 aX11_SprintfTests, apzX11_SprintfPatch, 0 }