1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed August 30, 2021 at 07:31:11 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 Mon Aug 30 19:31:11 UTC 2021
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 261 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 Dec_Intern_Asm fix
3571 tSCC zDec_Intern_AsmName[] =
3575 * File name selection pattern
3577 tSCC zDec_Intern_AsmList[] =
3580 * Machine/OS name selection pattern
3582 #define apzDec_Intern_AsmMachs (const char**)NULL
3583 #define DEC_INTERN_ASM_TEST_CT 0
3584 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3587 * Fix Command Arguments for Dec_Intern_Asm
3589 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3590 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3592 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3598 * Description of Djgpp_Wchar_H fix
3600 tSCC zDjgpp_Wchar_HName[] =
3604 * File name selection pattern
3606 #define zDjgpp_Wchar_HList (char*)NULL
3608 * Machine/OS name selection pattern
3610 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3613 * content selection pattern - do fix if pattern found
3615 tSCC zDjgpp_Wchar_HSelect0[] =
3619 * content bypass pattern - skip fix if pattern found
3621 tSCC zDjgpp_Wchar_HBypass0[] =
3624 #define DJGPP_WCHAR_H_TEST_CT 2
3625 static tTestDesc aDjgpp_Wchar_HTests[] = {
3626 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3627 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3630 * Fix Command Arguments for Djgpp_Wchar_H
3632 static const char* apzDjgpp_Wchar_HPatch[] = {
3635 #include <sys/djtypes.h>",
3636 "#include <stddef.h>",
3639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3641 * Description of Ecd_Cursor fix
3643 tSCC zEcd_CursorName[] =
3647 * File name selection pattern
3649 tSCC zEcd_CursorList[] =
3650 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3652 * Machine/OS name selection pattern
3654 #define apzEcd_CursorMachs (const char**)NULL
3657 * content selection pattern - do fix if pattern found
3659 tSCC zEcd_CursorSelect0[] =
3662 #define ECD_CURSOR_TEST_CT 1
3663 static tTestDesc aEcd_CursorTests[] = {
3664 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3667 * Fix Command Arguments for Ecd_Cursor
3669 static const char* apzEcd_CursorPatch[] = {
3674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3676 * Description of Feraiseexcept_Nosse_Divbyzero fix
3678 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3679 "feraiseexcept_nosse_divbyzero";
3682 * File name selection pattern
3684 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3685 "bits/fenv.h\0*/bits/fenv.h\0";
3687 * Machine/OS name selection pattern
3689 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3690 "i[34567]86-*-linux*",
3693 (const char*)NULL };
3696 * content selection pattern - do fix if pattern found
3698 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3699 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3702 * content bypass pattern - skip fix if pattern found
3704 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3705 "\"fdivp .*; fwait\"";
3707 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3708 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3709 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3710 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3713 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3715 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3717 "# ifdef __SSE_MATH__\n\
3720 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3721 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3727 * Description of Feraiseexcept_Nosse_Invalid fix
3729 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3730 "feraiseexcept_nosse_invalid";
3733 * File name selection pattern
3735 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3736 "bits/fenv.h\0*/bits/fenv.h\0";
3738 * Machine/OS name selection pattern
3740 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3741 "i[34567]86-*-linux*",
3744 (const char*)NULL };
3747 * content selection pattern - do fix if pattern found
3749 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3750 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3753 * content bypass pattern - skip fix if pattern found
3755 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3756 "\"fdiv .*; fwait\"";
3758 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3759 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3760 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3761 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3764 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3766 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3768 "# ifdef __SSE_MATH__\n\
3771 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3772 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3778 * Description of Freebsd_Gcc3_Breakage fix
3780 tSCC zFreebsd_Gcc3_BreakageName[] =
3781 "freebsd_gcc3_breakage";
3784 * File name selection pattern
3786 tSCC zFreebsd_Gcc3_BreakageList[] =
3789 * Machine/OS name selection pattern
3791 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3793 (const char*)NULL };
3796 * content selection pattern - do fix if pattern found
3798 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3799 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3802 * content bypass pattern - skip fix if pattern found
3804 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3805 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3807 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3808 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3809 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3810 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3813 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3815 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3817 "%0 || __GNUC__ >= 3",
3820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3822 * Description of Freebsd_Gcc4_Breakage fix
3824 tSCC zFreebsd_Gcc4_BreakageName[] =
3825 "freebsd_gcc4_breakage";
3828 * File name selection pattern
3830 tSCC zFreebsd_Gcc4_BreakageList[] =
3833 * Machine/OS name selection pattern
3835 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3837 (const char*)NULL };
3840 * content selection pattern - do fix if pattern found
3842 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3843 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3845 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3846 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3847 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3850 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3852 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3854 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3859 * Description of Glibc_C99_Inline_1 fix
3861 tSCC zGlibc_C99_Inline_1Name[] =
3862 "glibc_c99_inline_1";
3865 * File name selection pattern
3867 tSCC zGlibc_C99_Inline_1List[] =
3868 "features.h\0*/features.h\0";
3870 * Machine/OS name selection pattern
3872 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3875 * content selection pattern - do fix if pattern found
3877 tSCC zGlibc_C99_Inline_1Select0[] =
3878 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3880 #define GLIBC_C99_INLINE_1_TEST_CT 1
3881 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3882 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3885 * Fix Command Arguments for Glibc_C99_Inline_1
3887 static const char* apzGlibc_C99_Inline_1Patch[] = {
3889 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3892 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3894 * Description of Glibc_C99_Inline_1a fix
3896 tSCC zGlibc_C99_Inline_1aName[] =
3897 "glibc_c99_inline_1a";
3900 * File name selection pattern
3902 tSCC zGlibc_C99_Inline_1aList[] =
3903 "features.h\0*/features.h\0";
3905 * Machine/OS name selection pattern
3907 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3910 * content selection pattern - do fix if pattern found
3912 tSCC zGlibc_C99_Inline_1aSelect0[] =
3913 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3914 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3916 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3917 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3918 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3921 * Fix Command Arguments for Glibc_C99_Inline_1a
3923 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3925 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3929 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3931 * Description of Glibc_C99_Inline_2 fix
3933 tSCC zGlibc_C99_Inline_2Name[] =
3934 "glibc_c99_inline_2";
3937 * File name selection pattern
3939 tSCC zGlibc_C99_Inline_2List[] =
3940 "sys/stat.h\0*/sys/stat.h\0";
3942 * Machine/OS name selection pattern
3944 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3947 * content selection pattern - do fix if pattern found
3949 tSCC zGlibc_C99_Inline_2Select0[] =
3950 "extern __inline__ int";
3952 #define GLIBC_C99_INLINE_2_TEST_CT 1
3953 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3954 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3957 * Fix Command Arguments for Glibc_C99_Inline_2
3959 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3960 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3963 __inline__ int \\1/",
3964 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3967 __inline__ int \\1/",
3968 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3971 __inline__ int \\1/",
3972 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3975 __inline__ int __REDIRECT\\1 (\\2/",
3976 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3979 __inline__ int __REDIRECT\\1 (\\2/",
3980 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3988 * Description of Glibc_C99_Inline_3 fix
3990 tSCC zGlibc_C99_Inline_3Name[] =
3991 "glibc_c99_inline_3";
3994 * File name selection pattern
3996 tSCC zGlibc_C99_Inline_3List[] =
3997 "bits/string2.h\0*/bits/string2.h\0";
3999 * Machine/OS name selection pattern
4001 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
4004 * content selection pattern - do fix if pattern found
4006 tSCC zGlibc_C99_Inline_3Select0[] =
4010 * content bypass pattern - skip fix if pattern found
4012 tSCC zGlibc_C99_Inline_3Bypass0[] =
4013 "__extern_inline|__GNU_STDC_INLINE__";
4015 #define GLIBC_C99_INLINE_3_TEST_CT 2
4016 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
4017 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
4018 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
4021 * Fix Command Arguments for Glibc_C99_Inline_3
4023 static const char* apzGlibc_C99_Inline_3Patch[] = {
4025 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
4026 "^# ifdef __cplusplus$",
4029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4031 * Description of Glibc_C99_Inline_4 fix
4033 tSCC zGlibc_C99_Inline_4Name[] =
4034 "glibc_c99_inline_4";
4037 * File name selection pattern
4039 tSCC zGlibc_C99_Inline_4List[] =
4040 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
4042 * Machine/OS name selection pattern
4044 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
4047 * content selection pattern - do fix if pattern found
4049 tSCC zGlibc_C99_Inline_4Select0[] =
4050 "(^| )extern __inline";
4053 * content bypass pattern - skip fix if pattern found
4055 tSCC zGlibc_C99_Inline_4Bypass0[] =
4056 "__extern_inline|__gnu_inline__";
4058 #define GLIBC_C99_INLINE_4_TEST_CT 2
4059 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
4060 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
4061 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
4064 * Fix Command Arguments for Glibc_C99_Inline_4
4066 static const char* apzGlibc_C99_Inline_4Patch[] = {
4068 "%0 __attribute__ ((__gnu_inline__))",
4071 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4073 * Description of Glibc_Mutex_Init fix
4075 tSCC zGlibc_Mutex_InitName[] =
4079 * File name selection pattern
4081 tSCC zGlibc_Mutex_InitList[] =
4084 * Machine/OS name selection pattern
4086 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4089 * content selection pattern - do fix if pattern found
4091 tSCC zGlibc_Mutex_InitSelect0[] =
4092 "\\{ *\\{ *0, *\\} *\\}";
4094 #define GLIBC_MUTEX_INIT_TEST_CT 1
4095 static tTestDesc aGlibc_Mutex_InitTests[] = {
4096 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4099 * Fix Command Arguments for Glibc_Mutex_Init
4101 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4102 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4104 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4106 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4107 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4108 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4109 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4110 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4111 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4112 "-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\
4114 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4117 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4119 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4120 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4125 * Description of Glibc_Stdint fix
4127 tSCC zGlibc_StdintName[] =
4131 * File name selection pattern
4133 tSCC zGlibc_StdintList[] =
4136 * Machine/OS name selection pattern
4138 #define apzGlibc_StdintMachs (const char**)NULL
4141 * content selection pattern - do fix if pattern found
4143 tSCC zGlibc_StdintSelect0[] =
4146 #define GLIBC_STDINT_TEST_CT 1
4147 static tTestDesc aGlibc_StdintTests[] = {
4148 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4151 * Fix Command Arguments for Glibc_Stdint
4153 static const char* apzGlibc_StdintPatch[] = {
4155 "# define UINT8_C(c)\tc\n\
4156 # define UINT16_C(c)\tc",
4157 "# define UINT8_C\\(c\\)\tc ## U\n\
4158 # define UINT16_C\\(c\\)\tc ## U",
4161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4163 * Description of Glibc_Strncpy fix
4165 tSCC zGlibc_StrncpyName[] =
4169 * File name selection pattern
4171 tSCC zGlibc_StrncpyList[] =
4172 "bits/string2.h\0*/bits/string2.h\0";
4174 * Machine/OS name selection pattern
4176 #define apzGlibc_StrncpyMachs (const char**)NULL
4179 * content bypass pattern - skip fix if pattern found
4181 tSCC zGlibc_StrncpyBypass0[] =
4182 "__builtin_strncpy";
4184 #define GLIBC_STRNCPY_TEST_CT 1
4185 static tTestDesc aGlibc_StrncpyTests[] = {
4186 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4189 * Fix Command Arguments for Glibc_Strncpy
4191 static const char* apzGlibc_StrncpyPatch[] = {
4193 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4194 "# define strncpy([^\n\
4200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4202 * Description of Glibc_Tgmath fix
4204 tSCC zGlibc_TgmathName[] =
4208 * File name selection pattern
4210 tSCC zGlibc_TgmathList[] =
4213 * Machine/OS name selection pattern
4215 #define apzGlibc_TgmathMachs (const char**)NULL
4218 * content selection pattern - do fix if pattern found
4220 tSCC zGlibc_TgmathSelect0[] =
4221 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4224 * content bypass pattern - skip fix if pattern found
4226 tSCC zGlibc_TgmathBypass0[] =
4227 "__floating_type\\(type\\) \\\\\n\
4228 .*__builtin_classify_type";
4230 #define GLIBC_TGMATH_TEST_CT 2
4231 static tTestDesc aGlibc_TgmathTests[] = {
4232 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4233 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4236 * Fix Command Arguments for Glibc_Tgmath
4238 static const char* apzGlibc_TgmathPatch[] = {
4240 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4245 * Description of Gnu_Types fix
4247 tSCC zGnu_TypesName[] =
4251 * File name selection pattern
4253 tSCC zGnu_TypesList[] =
4254 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4256 * Machine/OS name selection pattern
4258 tSCC* apzGnu_TypesMachs[] = {
4259 "*-*-solaris2.1[0-9]*",
4260 (const char*)NULL };
4263 * content selection pattern - do fix if pattern found
4265 tSCC zGnu_TypesSelect0[] =
4266 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4269 * content bypass pattern - skip fix if pattern found
4271 tSCC zGnu_TypesBypass0[] =
4272 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4274 #define GNU_TYPES_TEST_CT 2
4275 static tTestDesc aGnu_TypesTests[] = {
4276 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4277 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4280 * Fix Command Arguments for Gnu_Types
4282 static const char* apzGnu_TypesPatch[] = {
4286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4288 * Description of Hp_Inline fix
4290 tSCC zHp_InlineName[] =
4294 * File name selection pattern
4296 tSCC zHp_InlineList[] =
4297 "sys/spinlock.h\0machine/machparam.h\0";
4299 * Machine/OS name selection pattern
4301 #define apzHp_InlineMachs (const char**)NULL
4304 * content selection pattern - do fix if pattern found
4306 tSCC zHp_InlineSelect0[] =
4307 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4309 #define HP_INLINE_TEST_CT 1
4310 static tTestDesc aHp_InlineTests[] = {
4311 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4314 * Fix Command Arguments for Hp_Inline
4316 static const char* apzHp_InlinePatch[] = {
4319 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4322 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4324 * Description of Hp_Sysfile fix
4326 tSCC zHp_SysfileName[] =
4330 * File name selection pattern
4332 tSCC zHp_SysfileList[] =
4335 * Machine/OS name selection pattern
4337 #define apzHp_SysfileMachs (const char**)NULL
4340 * content selection pattern - do fix if pattern found
4342 tSCC zHp_SysfileSelect0[] =
4345 #define HP_SYSFILE_TEST_CT 1
4346 static tTestDesc aHp_SysfileTests[] = {
4347 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4350 * Fix Command Arguments for Hp_Sysfile
4352 static const char* apzHp_SysfilePatch[] = {
4354 "(struct file *, ...)",
4358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4360 * Description of Hppa_Hpux_Fp_Macros fix
4362 tSCC zHppa_Hpux_Fp_MacrosName[] =
4363 "hppa_hpux_fp_macros";
4366 * File name selection pattern
4368 tSCC zHppa_Hpux_Fp_MacrosList[] =
4371 * Machine/OS name selection pattern
4373 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4375 (const char*)NULL };
4378 * content selection pattern - do fix if pattern found
4380 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4381 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4382 #[ \t]*define[ \t]*FP_ZERO.*\n\
4383 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4384 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4385 #[ \t]*define[ \t]*FP_NAN.*\n";
4387 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4388 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4389 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4392 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4394 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4396 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4397 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4398 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4400 #ifdef _INCLUDE_HPUX_SOURCE\n",
4403 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4405 * Description of Hpux10_Cpp_Pow_Inline fix
4407 tSCC zHpux10_Cpp_Pow_InlineName[] =
4408 "hpux10_cpp_pow_inline";
4411 * File name selection pattern
4413 tSCC zHpux10_Cpp_Pow_InlineList[] =
4414 "fixinc-test-limits.h\0math.h\0";
4416 * Machine/OS name selection pattern
4418 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4421 * content selection pattern - do fix if pattern found
4423 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4424 "^# +ifdef +__cplusplus\n\
4426 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4427 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4429 +extern +\"C\" +\\{\n\
4433 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4434 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4435 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4438 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4440 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4447 * Description of Hpux11_Cpp_Pow_Inline fix
4449 tSCC zHpux11_Cpp_Pow_InlineName[] =
4450 "hpux11_cpp_pow_inline";
4453 * File name selection pattern
4455 tSCC zHpux11_Cpp_Pow_InlineList[] =
4458 * Machine/OS name selection pattern
4460 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4463 * content selection pattern - do fix if pattern found
4465 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4466 " +inline double pow\\(double d,int expon\\) \\{\n\
4467 +return pow\\(d, \\(double\\)expon\\);\n\
4470 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4471 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4472 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4475 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4477 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4484 * Description of Hpux10_Ctype_Declarations1 fix
4486 tSCC zHpux10_Ctype_Declarations1Name[] =
4487 "hpux10_ctype_declarations1";
4490 * File name selection pattern
4492 tSCC zHpux10_Ctype_Declarations1List[] =
4495 * Machine/OS name selection pattern
4497 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4500 * content selection pattern - do fix if pattern found
4502 tSCC zHpux10_Ctype_Declarations1Select0[] =
4503 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4506 * content bypass pattern - skip fix if pattern found
4508 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4509 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4511 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4512 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4513 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4514 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4517 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4519 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4521 "#ifdef _PROTOTYPES\n\
4522 extern int __tolower(int);\n\
4523 extern int __toupper(int);\n\
4524 #else /* NOT _PROTOTYPES */\n\
4525 extern int __tolower();\n\
4526 extern int __toupper();\n\
4527 #endif /* _PROTOTYPES */\n\n\
4531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4533 * Description of Hpux10_Ctype_Declarations2 fix
4535 tSCC zHpux10_Ctype_Declarations2Name[] =
4536 "hpux10_ctype_declarations2";
4539 * File name selection pattern
4541 tSCC zHpux10_Ctype_Declarations2List[] =
4544 * Machine/OS name selection pattern
4546 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4549 * content selection pattern - do fix if pattern found
4551 tSCC zHpux10_Ctype_Declarations2Select0[] =
4552 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4555 * content bypass pattern - skip fix if pattern found
4557 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4558 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4560 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4561 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4562 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4563 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4566 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4568 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4571 #ifdef _PROTOTYPES\n\
4572 extern int _isalnum(int);\n\
4573 extern int _isalpha(int);\n\
4574 extern int _iscntrl(int);\n\
4575 extern int _isdigit(int);\n\
4576 extern int _isgraph(int);\n\
4577 extern int _islower(int);\n\
4578 extern int _isprint(int);\n\
4579 extern int _ispunct(int);\n\
4580 extern int _isspace(int);\n\
4581 extern int _isupper(int);\n\
4582 extern int _isxdigit(int);\n\
4583 # else /* not _PROTOTYPES */\n\
4584 extern int _isalnum();\n\
4585 extern int _isalpha();\n\
4586 extern int _iscntrl();\n\
4587 extern int _isdigit();\n\
4588 extern int _isgraph();\n\
4589 extern int _islower();\n\
4590 extern int _isprint();\n\
4591 extern int _ispunct();\n\
4592 extern int _isspace();\n\
4593 extern int _isupper();\n\
4594 extern int _isxdigit();\n\
4595 #endif /* _PROTOTYPES */\n",
4598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4600 * Description of Hpux10_Stdio_Declarations fix
4602 tSCC zHpux10_Stdio_DeclarationsName[] =
4603 "hpux10_stdio_declarations";
4606 * File name selection pattern
4608 tSCC zHpux10_Stdio_DeclarationsList[] =
4611 * Machine/OS name selection pattern
4613 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4616 * content selection pattern - do fix if pattern found
4618 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4619 "^#[ \t]*define _iob[ \t]*__iob";
4622 * content bypass pattern - skip fix if pattern found
4624 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4625 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4627 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4628 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4629 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4630 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4633 * Fix Command Arguments for Hpux10_Stdio_Declarations
4635 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4638 # if defined(__STDC__) || defined(__cplusplus)\n\
4639 extern int snprintf(char *, size_t, const char *, ...);\n\
4640 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4641 # else /* not __STDC__) || __cplusplus */\n\
4642 extern int snprintf();\n\
4643 extern int vsnprintf();\n\
4644 # endif /* __STDC__) || __cplusplus */\n",
4647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4649 * Description of Hppa_Hpux11_Alloca fix
4651 tSCC zHppa_Hpux11_AllocaName[] =
4652 "hppa_hpux11_alloca";
4655 * File name selection pattern
4657 tSCC zHppa_Hpux11_AllocaList[] =
4660 * Machine/OS name selection pattern
4662 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4664 (const char*)NULL };
4667 * content selection pattern - do fix if pattern found
4669 tSCC zHppa_Hpux11_AllocaSelect0[] =
4670 "#ifndef _STDDEF_INCLUDED";
4672 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4673 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4674 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4677 * Fix Command Arguments for Hppa_Hpux11_Alloca
4679 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4681 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4682 # include <sys/stdsyms.h>\n\
4683 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4687 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4689 * Description of Hpux11_Abs fix
4691 tSCC zHpux11_AbsName[] =
4695 * File name selection pattern
4697 tSCC zHpux11_AbsList[] =
4700 * Machine/OS name selection pattern
4702 tSCC* apzHpux11_AbsMachs[] = {
4704 (const char*)NULL };
4707 * content selection pattern - do fix if pattern found
4709 tSCC zHpux11_AbsSelect0[] =
4710 "ifndef _MATH_INCLUDED";
4712 #define HPUX11_ABS_TEST_CT 1
4713 static tTestDesc aHpux11_AbsTests[] = {
4714 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4717 * Fix Command Arguments for Hpux11_Abs
4719 static const char* apzHpux11_AbsPatch[] = {
4721 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4724 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4726 * Description of Hpux11_Lwp_Rwlock_Valid fix
4728 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4729 "hpux11_lwp_rwlock_valid";
4732 * File name selection pattern
4734 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4737 * Machine/OS name selection pattern
4739 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4741 (const char*)NULL };
4744 * content selection pattern - do fix if pattern found
4746 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4747 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4749 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4750 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4751 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4754 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4756 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4758 "#define __LWP_RWLOCK_VALID -29551",
4761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4763 * Description of Hpux11_Extern_Sendfile fix
4765 tSCC zHpux11_Extern_SendfileName[] =
4766 "hpux11_extern_sendfile";
4769 * File name selection pattern
4771 tSCC zHpux11_Extern_SendfileList[] =
4774 * Machine/OS name selection pattern
4776 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4777 "*-hp-hpux11.[12]*",
4778 (const char*)NULL };
4781 * content selection pattern - do fix if pattern found
4783 tSCC zHpux11_Extern_SendfileSelect0[] =
4784 "^[ \t]*extern sbsize_t sendfile.*\n\
4787 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4788 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4789 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4792 * Fix Command Arguments for Hpux11_Extern_Sendfile
4794 static const char* apzHpux11_Extern_SendfilePatch[] = {
4796 "#ifndef _APP32_64BIT_OFF_T\n\
4800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4802 * Description of Hpux11_Extern_Sendpath fix
4804 tSCC zHpux11_Extern_SendpathName[] =
4805 "hpux11_extern_sendpath";
4808 * File name selection pattern
4810 tSCC zHpux11_Extern_SendpathList[] =
4813 * Machine/OS name selection pattern
4815 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4816 "*-hp-hpux11.[12]*",
4817 (const char*)NULL };
4820 * content selection pattern - do fix if pattern found
4822 tSCC zHpux11_Extern_SendpathSelect0[] =
4823 "^[ \t]*extern sbsize_t sendpath.*\n\
4826 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4827 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4828 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4831 * Fix Command Arguments for Hpux11_Extern_Sendpath
4833 static const char* apzHpux11_Extern_SendpathPatch[] = {
4835 "#ifndef _APP32_64BIT_OFF_T\n\
4839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4841 * Description of Hpux11_Fabsf fix
4843 tSCC zHpux11_FabsfName[] =
4847 * File name selection pattern
4849 tSCC zHpux11_FabsfList[] =
4852 * Machine/OS name selection pattern
4854 tSCC* apzHpux11_FabsfMachs[] = {
4856 (const char*)NULL };
4859 * content selection pattern - do fix if pattern found
4861 tSCC zHpux11_FabsfSelect0[] =
4862 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4864 #define HPUX11_FABSF_TEST_CT 1
4865 static tTestDesc aHpux11_FabsfTests[] = {
4866 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4869 * Fix Command Arguments for Hpux11_Fabsf
4871 static const char* apzHpux11_FabsfPatch[] = {
4873 "#ifndef __cplusplus\n\
4878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4880 * Description of Hpux11_Pthread_Pointer fix
4882 tSCC zHpux11_Pthread_PointerName[] =
4883 "hpux11_pthread_pointer";
4886 * File name selection pattern
4888 tSCC zHpux11_Pthread_PointerList[] =
4891 * Machine/OS name selection pattern
4893 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4894 "*-hp-hpux11.[0-3]*",
4895 (const char*)NULL };
4898 * content selection pattern - do fix if pattern found
4900 tSCC zHpux11_Pthread_PointerSelect0[] =
4901 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4903 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4904 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4905 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4908 * Fix Command Arguments for Hpux11_Pthread_Pointer
4910 static const char* apzHpux11_Pthread_PointerPatch[] = {
4915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4917 * Description of Hpux11_Pthread_Const fix
4919 tSCC zHpux11_Pthread_ConstName[] =
4920 "hpux11_pthread_const";
4923 * File name selection pattern
4925 tSCC zHpux11_Pthread_ConstList[] =
4928 * Machine/OS name selection pattern
4930 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4931 "*-hp-hpux11.[0-3]*",
4932 (const char*)NULL };
4935 * content selection pattern - do fix if pattern found
4937 tSCC zHpux11_Pthread_ConstSelect0[] =
4938 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4940 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4941 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4942 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4945 * Fix Command Arguments for Hpux11_Pthread_Const
4947 static const char* apzHpux11_Pthread_ConstPatch[] = {
4952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4954 * Description of Hpux11_Size_T fix
4956 tSCC zHpux11_Size_TName[] =
4960 * File name selection pattern
4962 #define zHpux11_Size_TList (char*)NULL
4964 * Machine/OS name selection pattern
4966 tSCC* apzHpux11_Size_TMachs[] = {
4968 (const char*)NULL };
4971 * content selection pattern - do fix if pattern found
4973 tSCC zHpux11_Size_TSelect0[] =
4976 #define HPUX11_SIZE_T_TEST_CT 1
4977 static tTestDesc aHpux11_Size_TTests[] = {
4978 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4981 * Fix Command Arguments for Hpux11_Size_T
4983 static const char* apzHpux11_Size_TPatch[] = {
4988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4990 * Description of Hpux11_Snprintf fix
4992 tSCC zHpux11_SnprintfName[] =
4996 * File name selection pattern
4998 tSCC zHpux11_SnprintfList[] =
5001 * Machine/OS name selection pattern
5003 #define apzHpux11_SnprintfMachs (const char**)NULL
5006 * content selection pattern - do fix if pattern found
5008 tSCC zHpux11_SnprintfSelect0[] =
5009 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
5011 #define HPUX11_SNPRINTF_TEST_CT 1
5012 static tTestDesc aHpux11_SnprintfTests[] = {
5013 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
5016 * Fix Command Arguments for Hpux11_Snprintf
5018 static const char* apzHpux11_SnprintfPatch[] = {
5023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5025 * Description of Hpux11_Vsnprintf fix
5027 tSCC zHpux11_VsnprintfName[] =
5031 * File name selection pattern
5033 tSCC zHpux11_VsnprintfList[] =
5036 * Machine/OS name selection pattern
5038 #define apzHpux11_VsnprintfMachs (const char**)NULL
5041 * content selection pattern - do fix if pattern found
5043 tSCC zHpux11_VsnprintfSelect0[] =
5044 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
5046 #define HPUX11_VSNPRINTF_TEST_CT 1
5047 static tTestDesc aHpux11_VsnprintfTests[] = {
5048 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
5051 * Fix Command Arguments for Hpux11_Vsnprintf
5053 static const char* apzHpux11_VsnprintfPatch[] = {
5058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5060 * Description of Hpux_Vsscanf fix
5062 tSCC zHpux_VsscanfName[] =
5066 * File name selection pattern
5068 tSCC zHpux_VsscanfList[] =
5071 * Machine/OS name selection pattern
5073 tSCC* apzHpux_VsscanfMachs[] = {
5075 (const char*)NULL };
5078 * content selection pattern - do fix if pattern found
5080 tSCC zHpux_VsscanfSelect0[] =
5081 "(extern int vsscanf\\()char";
5083 #define HPUX_VSSCANF_TEST_CT 1
5084 static tTestDesc aHpux_VsscanfTests[] = {
5085 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5088 * Fix Command Arguments for Hpux_Vsscanf
5090 static const char* apzHpux_VsscanfPatch[] = {
5095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5097 * Description of Hpux8_Bogus_Inlines fix
5099 tSCC zHpux8_Bogus_InlinesName[] =
5100 "hpux8_bogus_inlines";
5103 * File name selection pattern
5105 tSCC zHpux8_Bogus_InlinesList[] =
5108 * Machine/OS name selection pattern
5110 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5113 * content selection pattern - do fix if pattern found
5115 tSCC zHpux8_Bogus_InlinesSelect0[] =
5119 * content bypass pattern - skip fix if pattern found
5121 tSCC zHpux8_Bogus_InlinesBypass0[] =
5124 #define HPUX8_BOGUS_INLINES_TEST_CT 2
5125 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5126 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5127 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5130 * Fix Command Arguments for Hpux8_Bogus_Inlines
5132 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5133 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5134 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5135 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5136 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5139 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5141 * Description of Hpux_C99_Intptr fix
5143 tSCC zHpux_C99_IntptrName[] =
5147 * File name selection pattern
5149 tSCC zHpux_C99_IntptrList[] =
5150 "stdint-hpux11.h\0stdint.h\0";
5152 * Machine/OS name selection pattern
5154 tSCC* apzHpux_C99_IntptrMachs[] = {
5156 (const char*)NULL };
5157 #define HPUX_C99_INTPTR_TEST_CT 0
5158 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5161 * Fix Command Arguments for Hpux_C99_Intptr
5163 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5164 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5165 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5166 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5167 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5168 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5169 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5174 * Description of Hpux_C99_Inttypes fix
5176 tSCC zHpux_C99_InttypesName[] =
5177 "hpux_c99_inttypes";
5180 * File name selection pattern
5182 tSCC zHpux_C99_InttypesList[] =
5183 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5185 * Machine/OS name selection pattern
5187 tSCC* apzHpux_C99_InttypesMachs[] = {
5188 "*-hp-hpux11.[23]*",
5189 (const char*)NULL };
5190 #define HPUX_C99_INTTYPES_TEST_CT 0
5191 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5194 * Fix Command Arguments for Hpux_C99_Inttypes
5196 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5197 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5198 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5199 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5200 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5205 * Description of Hpux_C99_Inttypes2 fix
5207 tSCC zHpux_C99_Inttypes2Name[] =
5208 "hpux_c99_inttypes2";
5211 * File name selection pattern
5213 tSCC zHpux_C99_Inttypes2List[] =
5214 "stdint-hpux11.h\0stdint.h\0";
5216 * Machine/OS name selection pattern
5218 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5220 (const char*)NULL };
5221 #define HPUX_C99_INTTYPES2_TEST_CT 0
5222 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5225 * Fix Command Arguments for Hpux_C99_Inttypes2
5227 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5228 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5229 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5230 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5231 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5236 * Description of Hpux_C99_Inttypes3 fix
5238 tSCC zHpux_C99_Inttypes3Name[] =
5239 "hpux_c99_inttypes3";
5242 * File name selection pattern
5244 tSCC zHpux_C99_Inttypes3List[] =
5247 * Machine/OS name selection pattern
5249 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5251 (const char*)NULL };
5254 * content selection pattern - do fix if pattern found
5256 tSCC zHpux_C99_Inttypes3Select0[] =
5257 "#define[ \t]INTPTR_MAX[ \t]*\n\
5258 #define[ \t]UINTPTR_MAX[ \t]*\n";
5260 #define HPUX_C99_INTTYPES3_TEST_CT 1
5261 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5262 { TT_EGREP, zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5265 * Fix Command Arguments for Hpux_C99_Inttypes3
5267 static const char* apzHpux_C99_Inttypes3Patch[] = {
5270 #define SIZE_MAX __SIZE_MAX__\n\
5271 #ifdef __INTPTR_MAX__\n\
5272 # undef INTPTR_MAX\n\
5273 # define INTPTR_MAX __INTPTR_MAX__\n\
5274 # undef INTPTR_MIN\n\
5275 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5277 #ifdef __UINTPTR_MAX__\n\
5278 # undef UINTPTR_MAX\n\
5279 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5283 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5285 * Description of Hpux_C99_Inttypes4 fix
5287 tSCC zHpux_C99_Inttypes4Name[] =
5288 "hpux_c99_inttypes4";
5291 * File name selection pattern
5293 tSCC zHpux_C99_Inttypes4List[] =
5296 * Machine/OS name selection pattern
5298 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5299 "hppa*-hp-hpux11.[01]*",
5300 (const char*)NULL };
5301 #define HPUX_C99_INTTYPES4_TEST_CT 0
5302 #define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5305 * Fix Command Arguments for Hpux_C99_Inttypes4
5307 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5308 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5309 #define SCNuMAX \t SCNu64\n",
5310 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5311 #define SCNuMAX \t SCNu32\n",
5314 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5316 * Description of Hpux_C99_Inttypes5 fix
5318 tSCC zHpux_C99_Inttypes5Name[] =
5319 "hpux_c99_inttypes5";
5322 * File name selection pattern
5324 tSCC zHpux_C99_Inttypes5List[] =
5327 * Machine/OS name selection pattern
5329 tSCC* apzHpux_C99_Inttypes5Machs[] = {
5330 "hppa*-hp-hpux11.[01]*",
5331 (const char*)NULL };
5334 * content selection pattern - do fix if pattern found
5336 tSCC zHpux_C99_Inttypes5Select0[] =
5337 "#ifndef[ \t]_KERNEL[ \t]*\n";
5339 #define HPUX_C99_INTTYPES5_TEST_CT 1
5340 static tTestDesc aHpux_C99_Inttypes5Tests[] = {
5341 { TT_EGREP, zHpux_C99_Inttypes5Select0, (regex_t*)NULL }, };
5344 * Fix Command Arguments for Hpux_C99_Inttypes5
5346 static const char* apzHpux_C99_Inttypes5Patch[] = {
5348 "#ifndef __LP64__\n\
5349 #define PRIdPTR\t\tPRId32\n\
5350 #define PRIiPTR\t\tPRIi32\n\
5351 #define PRIoPTR\t\tPRIo32\n\
5352 #define PRIuPTR\t\tPRIu32\n\
5353 #define PRIxPTR\t\tPRIx32\n\
5354 #define PRIXPTR\t\tPRIX32\n\
5356 #define PRIdPTR\t\tPRId64\n\
5357 #define PRIiPTR\t\tPRIi64\n\
5358 #define PRIoPTR\t\tPRIo64\n\
5359 #define PRIuPTR\t\tPRIu64\n\
5360 #define PRIxPTR\t\tPRIx64\n\
5361 #define PRIXPTR\t\tPRIX64\n\
5366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5368 * Description of Hpux_Ctype_Macros fix
5370 tSCC zHpux_Ctype_MacrosName[] =
5371 "hpux_ctype_macros";
5374 * File name selection pattern
5376 tSCC zHpux_Ctype_MacrosList[] =
5379 * Machine/OS name selection pattern
5381 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5384 * content selection pattern - do fix if pattern found
5386 tSCC zHpux_Ctype_MacrosSelect0[] =
5387 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5389 #define HPUX_CTYPE_MACROS_TEST_CT 1
5390 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5391 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5394 * Fix Command Arguments for Hpux_Ctype_Macros
5396 static const char* apzHpux_Ctype_MacrosPatch[] = {
5401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5403 * Description of Hpux_Extern_Errno fix
5405 tSCC zHpux_Extern_ErrnoName[] =
5406 "hpux_extern_errno";
5409 * File name selection pattern
5411 tSCC zHpux_Extern_ErrnoList[] =
5414 * Machine/OS name selection pattern
5416 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5418 "*-hp-hpux11.[0-2]*",
5419 (const char*)NULL };
5422 * content selection pattern - do fix if pattern found
5424 tSCC zHpux_Extern_ErrnoSelect0[] =
5425 "^[ \t]*extern int errno;$";
5427 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5428 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5429 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5432 * Fix Command Arguments for Hpux_Extern_Errno
5434 static const char* apzHpux_Extern_ErrnoPatch[] = {
5436 "#ifdef __cplusplus\n\
5440 #ifdef __cplusplus\n\
5445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5447 * Description of Hpux_Htonl fix
5449 tSCC zHpux_HtonlName[] =
5453 * File name selection pattern
5455 tSCC zHpux_HtonlList[] =
5458 * Machine/OS name selection pattern
5460 #define apzHpux_HtonlMachs (const char**)NULL
5463 * content selection pattern - do fix if pattern found
5465 tSCC zHpux_HtonlSelect0[] =
5466 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5468 \\* Macros for number representation conversion\\.\n\
5472 #define HPUX_HTONL_TEST_CT 1
5473 static tTestDesc aHpux_HtonlTests[] = {
5474 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5477 * Fix Command Arguments for Hpux_Htonl
5479 static const char* apzHpux_HtonlPatch[] = {
5485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5487 * Description of Hpux_Imaginary_I fix
5489 tSCC zHpux_Imaginary_IName[] =
5493 * File name selection pattern
5495 tSCC zHpux_Imaginary_IList[] =
5498 * Machine/OS name selection pattern
5500 tSCC* apzHpux_Imaginary_IMachs[] = {
5502 (const char*)NULL };
5505 * content selection pattern - do fix if pattern found
5507 tSCC zHpux_Imaginary_ISelect0[] =
5508 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5510 #define HPUX_IMAGINARY_I_TEST_CT 1
5511 static tTestDesc aHpux_Imaginary_ITests[] = {
5512 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5515 * Fix Command Arguments for Hpux_Imaginary_I
5517 static const char* apzHpux_Imaginary_IPatch[] = {
5519 "#define _Complex_I (__extension__ 1.0iF)",
5522 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5524 * Description of Hpux_Inttype_Int8_T fix
5526 tSCC zHpux_Inttype_Int8_TName[] =
5527 "hpux_inttype_int8_t";
5530 * File name selection pattern
5532 tSCC zHpux_Inttype_Int8_TList[] =
5533 "sys/_inttypes.h\0";
5535 * Machine/OS name selection pattern
5537 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5539 (const char*)NULL };
5542 * content selection pattern - do fix if pattern found
5544 tSCC zHpux_Inttype_Int8_TSelect0[] =
5545 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5547 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5548 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5549 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5552 * Fix Command Arguments for Hpux_Inttype_Int8_T
5554 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5556 "typedef signed char int%18_t;",
5559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5561 * Description of Hpux_Long_Double fix
5563 tSCC zHpux_Long_DoubleName[] =
5567 * File name selection pattern
5569 tSCC zHpux_Long_DoubleList[] =
5572 * Machine/OS name selection pattern
5574 tSCC* apzHpux_Long_DoubleMachs[] = {
5576 "*-*-hpux11.[012]*",
5577 (const char*)NULL };
5580 * content selection pattern - do fix if pattern found
5582 tSCC zHpux_Long_DoubleSelect0[] =
5583 "extern[ \t]long_double[ \t]strtold";
5586 * content bypass pattern - skip fix if pattern found
5588 tSCC zHpux_Long_DoubleBypass0[] =
5591 #define HPUX_LONG_DOUBLE_TEST_CT 2
5592 static tTestDesc aHpux_Long_DoubleTests[] = {
5593 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5594 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5597 * Fix Command Arguments for Hpux_Long_Double
5599 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5600 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5601 "-e", "s/long_double/long double/g",
5604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5606 * Description of Hpux_Long_Double_2 fix
5608 tSCC zHpux_Long_Double_2Name[] =
5609 "hpux_long_double_2";
5612 * File name selection pattern
5614 tSCC zHpux_Long_Double_2List[] =
5617 * Machine/OS name selection pattern
5619 tSCC* apzHpux_Long_Double_2Machs[] = {
5620 "hppa*-*-hpux11.3*",
5621 (const char*)NULL };
5624 * content selection pattern - do fix if pattern found
5626 tSCC zHpux_Long_Double_2Select0[] =
5627 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5629 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5630 static tTestDesc aHpux_Long_Double_2Tests[] = {
5631 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5634 * Fix Command Arguments for Hpux_Long_Double_2
5636 static const char* apzHpux_Long_Double_2Patch[] = {
5638 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5643 * Description of Hpux_Pthread_Initializers fix
5645 tSCC zHpux_Pthread_InitializersName[] =
5646 "hpux_pthread_initializers";
5649 * File name selection pattern
5651 tSCC zHpux_Pthread_InitializersList[] =
5654 * Machine/OS name selection pattern
5656 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5657 "*-hp-hpux11.[0-3]*",
5658 (const char*)NULL };
5659 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5660 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5663 * Fix Command Arguments for Hpux_Pthread_Initializers
5665 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5666 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5667 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5668 "-e", "/^[ \t]*0$/d",
5669 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5670 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5671 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5672 "-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\\\\@",
5673 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5674 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5675 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5676 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5677 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5678 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5683 * Description of Hpux_Spu_Info fix
5685 tSCC zHpux_Spu_InfoName[] =
5689 * File name selection pattern
5691 tSCC zHpux_Spu_InfoList[] =
5692 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5694 * Machine/OS name selection pattern
5696 tSCC* apzHpux_Spu_InfoMachs[] = {
5698 (const char*)NULL };
5701 * content selection pattern - do fix if pattern found
5703 tSCC zHpux_Spu_InfoSelect0[] =
5704 "^.*extern.*spu_info.*";
5706 #define HPUX_SPU_INFO_TEST_CT 1
5707 static tTestDesc aHpux_Spu_InfoTests[] = {
5708 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5711 * Fix Command Arguments for Hpux_Spu_Info
5713 static const char* apzHpux_Spu_InfoPatch[] = {
5720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5722 * Description of Hpux_Stdint_Least_Fast fix
5724 tSCC zHpux_Stdint_Least_FastName[] =
5725 "hpux_stdint_least_fast";
5728 * File name selection pattern
5730 tSCC zHpux_Stdint_Least_FastList[] =
5731 "stdint-hpux11.h\0stdint.h\0";
5733 * Machine/OS name selection pattern
5735 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5737 (const char*)NULL };
5740 * content selection pattern - do fix if pattern found
5742 tSCC zHpux_Stdint_Least_FastSelect0[] =
5743 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5745 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5746 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5747 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5750 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5752 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5754 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5759 * Description of Hpux_Longjmp fix
5761 tSCC zHpux_LongjmpName[] =
5765 * File name selection pattern
5767 tSCC zHpux_LongjmpList[] =
5770 * Machine/OS name selection pattern
5772 tSCC* apzHpux_LongjmpMachs[] = {
5774 (const char*)NULL };
5777 * content selection pattern - do fix if pattern found
5779 tSCC zHpux_LongjmpSelect0[] =
5780 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5782 #define HPUX_LONGJMP_TEST_CT 1
5783 static tTestDesc aHpux_LongjmpTests[] = {
5784 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5787 * Fix Command Arguments for Hpux_Longjmp
5789 static const char* apzHpux_LongjmpPatch[] = {
5791 "%0 __attribute__ ((__noreturn__))",
5794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5796 * Description of Hpux_Systime fix
5798 tSCC zHpux_SystimeName[] =
5802 * File name selection pattern
5804 tSCC zHpux_SystimeList[] =
5807 * Machine/OS name selection pattern
5809 #define apzHpux_SystimeMachs (const char**)NULL
5812 * content selection pattern - do fix if pattern found
5814 tSCC zHpux_SystimeSelect0[] =
5815 "^extern struct sigevent;";
5817 #define HPUX_SYSTIME_TEST_CT 1
5818 static tTestDesc aHpux_SystimeTests[] = {
5819 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5822 * Fix Command Arguments for Hpux_Systime
5824 static const char* apzHpux_SystimePatch[] = {
5829 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5831 * Description of Huge_Val_Hex fix
5833 tSCC zHuge_Val_HexName[] =
5837 * File name selection pattern
5839 tSCC zHuge_Val_HexList[] =
5840 "bits/huge_val.h\0*/bits/huge_val.h\0";
5842 * Machine/OS name selection pattern
5844 #define apzHuge_Val_HexMachs (const char**)NULL
5847 * content selection pattern - do fix if pattern found
5849 tSCC zHuge_Val_HexSelect0[] =
5850 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5853 * content bypass pattern - skip fix if pattern found
5855 tSCC zHuge_Val_HexBypass0[] =
5856 "__builtin_huge_val";
5858 #define HUGE_VAL_HEX_TEST_CT 2
5859 static tTestDesc aHuge_Val_HexTests[] = {
5860 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5861 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5864 * Fix Command Arguments for Huge_Val_Hex
5866 static const char* apzHuge_Val_HexPatch[] = {
5868 "#define HUGE_VAL (__builtin_huge_val())\n",
5871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5873 * Description of Huge_Valf_Hex fix
5875 tSCC zHuge_Valf_HexName[] =
5879 * File name selection pattern
5881 tSCC zHuge_Valf_HexList[] =
5882 "bits/huge_val.h\0*/bits/huge_val.h\0";
5884 * Machine/OS name selection pattern
5886 #define apzHuge_Valf_HexMachs (const char**)NULL
5889 * content selection pattern - do fix if pattern found
5891 tSCC zHuge_Valf_HexSelect0[] =
5892 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5895 * content bypass pattern - skip fix if pattern found
5897 tSCC zHuge_Valf_HexBypass0[] =
5898 "__builtin_huge_valf";
5900 #define HUGE_VALF_HEX_TEST_CT 2
5901 static tTestDesc aHuge_Valf_HexTests[] = {
5902 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5903 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5906 * Fix Command Arguments for Huge_Valf_Hex
5908 static const char* apzHuge_Valf_HexPatch[] = {
5910 "#define HUGE_VALF (__builtin_huge_valf())\n",
5913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5915 * Description of Huge_Vall_Hex fix
5917 tSCC zHuge_Vall_HexName[] =
5921 * File name selection pattern
5923 tSCC zHuge_Vall_HexList[] =
5924 "bits/huge_val.h\0*/bits/huge_val.h\0";
5926 * Machine/OS name selection pattern
5928 #define apzHuge_Vall_HexMachs (const char**)NULL
5931 * content selection pattern - do fix if pattern found
5933 tSCC zHuge_Vall_HexSelect0[] =
5934 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5937 * content bypass pattern - skip fix if pattern found
5939 tSCC zHuge_Vall_HexBypass0[] =
5940 "__builtin_huge_vall";
5942 #define HUGE_VALL_HEX_TEST_CT 2
5943 static tTestDesc aHuge_Vall_HexTests[] = {
5944 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5945 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5948 * Fix Command Arguments for Huge_Vall_Hex
5950 static const char* apzHuge_Vall_HexPatch[] = {
5952 "#define HUGE_VALL (__builtin_huge_vall())\n",
5955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5957 * Description of Int_Abort_Free_And_Exit fix
5959 tSCC zInt_Abort_Free_And_ExitName[] =
5960 "int_abort_free_and_exit";
5963 * File name selection pattern
5965 tSCC zInt_Abort_Free_And_ExitList[] =
5968 * Machine/OS name selection pattern
5970 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5973 * content selection pattern - do fix if pattern found
5975 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5976 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5979 * content bypass pattern - skip fix if pattern found
5981 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5982 "_CLASSIC_ANSI_TYPES";
5984 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5985 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5986 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5987 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5990 * Fix Command Arguments for Int_Abort_Free_And_Exit
5992 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5999 * Description of Io_Quotes_Def fix
6001 tSCC zIo_Quotes_DefName[] =
6005 * File name selection pattern
6007 #define zIo_Quotes_DefList (char*)NULL
6009 * Machine/OS name selection pattern
6011 #define apzIo_Quotes_DefMachs (const char**)NULL
6014 * content selection pattern - do fix if pattern found
6016 tSCC zIo_Quotes_DefSelect0[] =
6017 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
6019 #define IO_QUOTES_DEF_TEST_CT 1
6020 static tTestDesc aIo_Quotes_DefTests[] = {
6021 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
6024 * Fix Command Arguments for Io_Quotes_Def
6026 static const char* apzIo_Quotes_DefPatch[] = {
6031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6033 * Description of Io_Quotes_Use fix
6035 tSCC zIo_Quotes_UseName[] =
6039 * File name selection pattern
6041 #define zIo_Quotes_UseList (char*)NULL
6043 * Machine/OS name selection pattern
6045 #define apzIo_Quotes_UseMachs (const char**)NULL
6048 * content selection pattern - do fix if pattern found
6050 tSCC zIo_Quotes_UseSelect0[] =
6051 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
6053 #define IO_QUOTES_USE_TEST_CT 1
6054 static tTestDesc aIo_Quotes_UseTests[] = {
6055 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
6058 * Fix Command Arguments for Io_Quotes_Use
6060 static const char* apzIo_Quotes_UsePatch[] = {
6065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6067 * Description of Ip_Missing_Semi fix
6069 tSCC zIp_Missing_SemiName[] =
6073 * File name selection pattern
6075 tSCC zIp_Missing_SemiList[] =
6078 * Machine/OS name selection pattern
6080 #define apzIp_Missing_SemiMachs (const char**)NULL
6083 * content selection pattern - do fix if pattern found
6085 tSCC zIp_Missing_SemiSelect0[] =
6088 #define IP_MISSING_SEMI_TEST_CT 1
6089 static tTestDesc aIp_Missing_SemiTests[] = {
6090 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
6093 * Fix Command Arguments for Ip_Missing_Semi
6095 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
6096 "-e", "/^struct/,/^};/s/}$/};/",
6099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6101 * Description of Irix_Limits_Const fix
6103 tSCC zIrix_Limits_ConstName[] =
6104 "irix_limits_const";
6107 * File name selection pattern
6109 tSCC zIrix_Limits_ConstList[] =
6110 "fixinc-test-limits.h\0limits.h\0";
6112 * Machine/OS name selection pattern
6114 #define apzIrix_Limits_ConstMachs (const char**)NULL
6117 * content selection pattern - do fix if pattern found
6119 tSCC zIrix_Limits_ConstSelect0[] =
6122 #define IRIX_LIMITS_CONST_TEST_CT 1
6123 static tTestDesc aIrix_Limits_ConstTests[] = {
6124 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
6127 * Fix Command Arguments for Irix_Limits_Const
6129 static const char* apzIrix_Limits_ConstPatch[] = {
6134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6136 * Description of Irix_Stdio_Va_List fix
6138 tSCC zIrix_Stdio_Va_ListName[] =
6139 "irix_stdio_va_list";
6142 * File name selection pattern
6144 tSCC zIrix_Stdio_Va_ListList[] =
6147 * Machine/OS name selection pattern
6149 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6152 * content selection pattern - do fix if pattern found
6154 tSCC zIrix_Stdio_Va_ListSelect0[] =
6155 "/\\* va_list \\*/ char \\*";
6157 #define IRIX_STDIO_VA_LIST_TEST_CT 1
6158 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6159 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6162 * Fix Command Arguments for Irix_Stdio_Va_List
6164 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6169 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6171 * Description of Kandr_Concat fix
6173 tSCC zKandr_ConcatName[] =
6177 * File name selection pattern
6179 tSCC zKandr_ConcatList[] =
6180 "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";
6182 * Machine/OS name selection pattern
6184 #define apzKandr_ConcatMachs (const char**)NULL
6187 * content selection pattern - do fix if pattern found
6189 tSCC zKandr_ConcatSelect0[] =
6192 #define KANDR_CONCAT_TEST_CT 1
6193 static tTestDesc aKandr_ConcatTests[] = {
6194 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
6197 * Fix Command Arguments for Kandr_Concat
6199 static const char* apzKandr_ConcatPatch[] = {
6204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6206 * Description of Linux_Ia64_Ucontext fix
6208 tSCC zLinux_Ia64_UcontextName[] =
6209 "linux_ia64_ucontext";
6212 * File name selection pattern
6214 tSCC zLinux_Ia64_UcontextList[] =
6217 * Machine/OS name selection pattern
6219 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6221 (const char*)NULL };
6224 * content selection pattern - do fix if pattern found
6226 tSCC zLinux_Ia64_UcontextSelect0[] =
6227 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6229 #define LINUX_IA64_UCONTEXT_TEST_CT 1
6230 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6231 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6234 * Fix Command Arguments for Linux_Ia64_Ucontext
6236 static const char* apzLinux_Ia64_UcontextPatch[] = {
6238 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6243 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6245 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6246 "lynxos_no_warning_in_sys_time_h";
6249 * File name selection pattern
6251 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6254 * Machine/OS name selection pattern
6256 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6259 * content selection pattern - do fix if pattern found
6261 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6262 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6264 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6265 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6266 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6269 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6271 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6278 * Description of Lynxos_Missing_Putenv fix
6280 tSCC zLynxos_Missing_PutenvName[] =
6281 "lynxos_missing_putenv";
6284 * File name selection pattern
6286 tSCC zLynxos_Missing_PutenvList[] =
6289 * Machine/OS name selection pattern
6291 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6293 (const char*)NULL };
6296 * content selection pattern - do fix if pattern found
6298 tSCC zLynxos_Missing_PutenvSelect0[] =
6299 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6302 * content bypass pattern - skip fix if pattern found
6304 tSCC zLynxos_Missing_PutenvBypass0[] =
6307 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6308 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6309 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6310 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6313 * Fix Command Arguments for Lynxos_Missing_Putenv
6315 static const char* apzLynxos_Missing_PutenvPatch[] = {
6318 extern int putenv\t\t\t\t_AP((char *));",
6319 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6322 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6324 * Description of Machine_Ansi_H_Va_List fix
6326 tSCC zMachine_Ansi_H_Va_ListName[] =
6327 "machine_ansi_h_va_list";
6330 * File name selection pattern
6332 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6334 * Machine/OS name selection pattern
6336 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6339 * content selection pattern - do fix if pattern found
6341 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6342 "define[ \t]+_BSD_VA_LIST_[ \t]";
6345 * content bypass pattern - skip fix if pattern found
6347 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6348 "__builtin_va_list";
6350 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6351 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6352 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6353 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6356 * Fix Command Arguments for Machine_Ansi_H_Va_List
6358 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6360 "%1__builtin_va_list",
6361 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6366 * Description of Machine_Name fix
6368 tSCC zMachine_NameName[] =
6372 * File name selection pattern
6374 #define zMachine_NameList (char*)NULL
6376 * Machine/OS name selection pattern
6378 #define apzMachine_NameMachs (const char**)NULL
6381 * perform the C function call test
6383 tSCC zMachine_NameFTst0[] = "machine_name";
6385 #define MACHINE_NAME_TEST_CT 1
6386 static tTestDesc aMachine_NameTests[] = {
6387 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6390 * Fix Command Arguments for Machine_Name
6392 static const char* apzMachine_NamePatch[] = {
6396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6398 * Description of Math_Exception fix
6400 tSCC zMath_ExceptionName[] =
6404 * File name selection pattern
6406 tSCC zMath_ExceptionList[] =
6409 * Machine/OS name selection pattern
6411 tSCC* apzMath_ExceptionMachs[] = {
6412 "*-*-solaris2.1[0-9]*",
6413 (const char*)NULL };
6416 * content selection pattern - do fix if pattern found
6418 tSCC zMath_ExceptionSelect0[] =
6422 * content bypass pattern - skip fix if pattern found
6424 tSCC zMath_ExceptionBypass0[] =
6425 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6427 #define MATH_EXCEPTION_TEST_CT 2
6428 static tTestDesc aMath_ExceptionTests[] = {
6429 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6430 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6433 * Fix Command Arguments for Math_Exception
6435 static const char* apzMath_ExceptionPatch[] = {
6437 "#ifdef __cplusplus\n\
6438 #define exception __math_exception\n\
6440 "#ifdef __cplusplus\n\
6445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6447 * Description of Math_Huge_Val_From_Dbl_Max fix
6449 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6450 "math_huge_val_from_dbl_max";
6453 * File name selection pattern
6455 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6458 * Machine/OS name selection pattern
6460 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6463 * content selection pattern - do fix if pattern found
6465 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6466 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6469 * content bypass pattern - skip fix if pattern found
6471 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6472 "define[ \t]+DBL_MAX";
6474 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6475 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6476 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6477 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6480 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6482 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6483 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6484 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6485 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6492 * Description of Nested_Auth_Des fix
6494 tSCC zNested_Auth_DesName[] =
6498 * File name selection pattern
6500 tSCC zNested_Auth_DesList[] =
6503 * Machine/OS name selection pattern
6505 #define apzNested_Auth_DesMachs (const char**)NULL
6508 * content selection pattern - do fix if pattern found
6510 tSCC zNested_Auth_DesSelect0[] =
6511 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6513 #define NESTED_AUTH_DES_TEST_CT 1
6514 static tTestDesc aNested_Auth_DesTests[] = {
6515 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6518 * Fix Command Arguments for Nested_Auth_Des
6520 static const char* apzNested_Auth_DesPatch[] = {
6525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6527 * Description of Netbsd_C99_Inline_1 fix
6529 tSCC zNetbsd_C99_Inline_1Name[] =
6530 "netbsd_c99_inline_1";
6533 * File name selection pattern
6535 tSCC zNetbsd_C99_Inline_1List[] =
6538 * Machine/OS name selection pattern
6540 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6542 (const char*)NULL };
6545 * content selection pattern - do fix if pattern found
6547 tSCC zNetbsd_C99_Inline_1Select0[] =
6548 "extern __inline int";
6550 #define NETBSD_C99_INLINE_1_TEST_CT 1
6551 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6552 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6555 * Fix Command Arguments for Netbsd_C99_Inline_1
6557 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6560 #ifdef __GNUC_STDC_INLINE__\n\
6561 __attribute__((__gnu_inline__))\n\
6566 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6568 * Description of Netbsd_C99_Inline_2 fix
6570 tSCC zNetbsd_C99_Inline_2Name[] =
6571 "netbsd_c99_inline_2";
6574 * File name selection pattern
6576 tSCC zNetbsd_C99_Inline_2List[] =
6579 * Machine/OS name selection pattern
6581 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6583 (const char*)NULL };
6586 * content selection pattern - do fix if pattern found
6588 tSCC zNetbsd_C99_Inline_2Select0[] =
6589 "#define _SIGINLINE extern __inline";
6591 #define NETBSD_C99_INLINE_2_TEST_CT 1
6592 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6593 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6596 * Fix Command Arguments for Netbsd_C99_Inline_2
6598 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6600 "#ifdef __GNUC_STDC_INLINE__\n\
6601 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6609 * Description of Netbsd_Extra_Semicolon fix
6611 tSCC zNetbsd_Extra_SemicolonName[] =
6612 "netbsd_extra_semicolon";
6615 * File name selection pattern
6617 tSCC zNetbsd_Extra_SemicolonList[] =
6620 * Machine/OS name selection pattern
6622 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6624 (const char*)NULL };
6627 * content selection pattern - do fix if pattern found
6629 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6630 "#define[ \t]*__END_DECLS[ \t]*};";
6632 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6633 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6634 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6637 * Fix Command Arguments for Netbsd_Extra_Semicolon
6639 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6641 "#define __END_DECLS }",
6644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6646 * Description of Newlib_Stdint_1 fix
6648 tSCC zNewlib_Stdint_1Name[] =
6652 * File name selection pattern
6654 tSCC zNewlib_Stdint_1List[] =
6655 "stdint-newlib.h\0stdint.h\0";
6657 * Machine/OS name selection pattern
6659 #define apzNewlib_Stdint_1Machs (const char**)NULL
6662 * content selection pattern - do fix if pattern found
6664 tSCC zNewlib_Stdint_1Select0[] =
6665 "@todo - Add support for wint_t types";
6667 #define NEWLIB_STDINT_1_TEST_CT 1
6668 static tTestDesc aNewlib_Stdint_1Tests[] = {
6669 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6672 * Fix Command Arguments for Newlib_Stdint_1
6674 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6675 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6676 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6677 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6678 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6679 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6680 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6681 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6682 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6683 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6684 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6685 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6686 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6687 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6688 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6693 * Description of Newlib_Stdint_2 fix
6695 tSCC zNewlib_Stdint_2Name[] =
6699 * File name selection pattern
6701 tSCC zNewlib_Stdint_2List[] =
6702 "stdint-newlib.h\0stdint.h\0";
6704 * Machine/OS name selection pattern
6706 #define apzNewlib_Stdint_2Machs (const char**)NULL
6709 * content selection pattern - do fix if pattern found
6711 tSCC zNewlib_Stdint_2Select0[] =
6712 "@todo - Add support for wint_t types";
6714 #define NEWLIB_STDINT_2_TEST_CT 1
6715 static tTestDesc aNewlib_Stdint_2Tests[] = {
6716 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6719 * Fix Command Arguments for Newlib_Stdint_2
6721 static const char* apzNewlib_Stdint_2Patch[] = {
6723 "#define INTMAX_MAX __INTMAX_MAX__\n\
6724 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6725 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6726 #define WCHAR_MAX __WCHAR_MAX__\n\
6727 #define WCHAR_MIN __WCHAR_MIN__\n\
6728 #define WINT_MAX __WINT_MAX__\n\
6729 #define WINT_MIN __WINT_MIN__\n\n\
6731 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6734 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6736 * Description of Next_Math_Prefix fix
6738 tSCC zNext_Math_PrefixName[] =
6742 * File name selection pattern
6744 tSCC zNext_Math_PrefixList[] =
6747 * Machine/OS name selection pattern
6749 #define apzNext_Math_PrefixMachs (const char**)NULL
6752 * content selection pattern - do fix if pattern found
6754 tSCC zNext_Math_PrefixSelect0[] =
6755 "^extern[ \t]+double[ \t]+__const__[ \t]";
6757 #define NEXT_MATH_PREFIX_TEST_CT 1
6758 static tTestDesc aNext_Math_PrefixTests[] = {
6759 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6762 * Fix Command Arguments for Next_Math_Prefix
6764 static const char* apzNext_Math_PrefixPatch[] = {
6766 "extern double %1(",
6767 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6772 * Description of Next_Template fix
6774 tSCC zNext_TemplateName[] =
6778 * File name selection pattern
6780 tSCC zNext_TemplateList[] =
6783 * Machine/OS name selection pattern
6785 #define apzNext_TemplateMachs (const char**)NULL
6788 * content selection pattern - do fix if pattern found
6790 tSCC zNext_TemplateSelect0[] =
6793 #define NEXT_TEMPLATE_TEST_CT 1
6794 static tTestDesc aNext_TemplateTests[] = {
6795 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6798 * Fix Command Arguments for Next_Template
6800 static const char* apzNext_TemplatePatch[] = {
6803 "\\(([^)]*)[ \t]template\\)",
6806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6808 * Description of Next_Volitile fix
6810 tSCC zNext_VolitileName[] =
6814 * File name selection pattern
6816 tSCC zNext_VolitileList[] =
6819 * Machine/OS name selection pattern
6821 #define apzNext_VolitileMachs (const char**)NULL
6824 * content selection pattern - do fix if pattern found
6826 tSCC zNext_VolitileSelect0[] =
6827 "^extern[ \t]+volatile[ \t]+void[ \t]";
6829 #define NEXT_VOLITILE_TEST_CT 1
6830 static tTestDesc aNext_VolitileTests[] = {
6831 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6834 * Fix Command Arguments for Next_Volitile
6836 static const char* apzNext_VolitilePatch[] = {
6839 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6844 * Description of Next_Wait_Union fix
6846 tSCC zNext_Wait_UnionName[] =
6850 * File name selection pattern
6852 tSCC zNext_Wait_UnionList[] =
6855 * Machine/OS name selection pattern
6857 #define apzNext_Wait_UnionMachs (const char**)NULL
6860 * content selection pattern - do fix if pattern found
6862 tSCC zNext_Wait_UnionSelect0[] =
6863 "wait\\(union wait";
6865 #define NEXT_WAIT_UNION_TEST_CT 1
6866 static tTestDesc aNext_Wait_UnionTests[] = {
6867 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6870 * Fix Command Arguments for Next_Wait_Union
6872 static const char* apzNext_Wait_UnionPatch[] = {
6877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6879 * Description of Nodeent_Syntax fix
6881 tSCC zNodeent_SyntaxName[] =
6885 * File name selection pattern
6887 tSCC zNodeent_SyntaxList[] =
6888 "netdnet/dnetdb.h\0";
6890 * Machine/OS name selection pattern
6892 #define apzNodeent_SyntaxMachs (const char**)NULL
6895 * content selection pattern - do fix if pattern found
6897 tSCC zNodeent_SyntaxSelect0[] =
6898 "char[ \t]*\\*na_addr[ \t]*$";
6900 #define NODEENT_SYNTAX_TEST_CT 1
6901 static tTestDesc aNodeent_SyntaxTests[] = {
6902 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6905 * Fix Command Arguments for Nodeent_Syntax
6907 static const char* apzNodeent_SyntaxPatch[] = {
6912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6914 * Description of Openbsd_Null_Definition fix
6916 tSCC zOpenbsd_Null_DefinitionName[] =
6917 "openbsd_null_definition";
6920 * File name selection pattern
6922 tSCC zOpenbsd_Null_DefinitionList[] =
6923 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6925 * Machine/OS name selection pattern
6927 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6929 (const char*)NULL };
6932 * content selection pattern - do fix if pattern found
6934 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6937 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6938 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6939 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6942 * Fix Command Arguments for Openbsd_Null_Definition
6944 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6947 #ifdef __cplusplus\n\
6949 #define NULL\t__null\n\
6950 #else\t /* ! __GNUG__ */\n\
6952 #endif\t /* __GNUG__ */\n\
6953 #else\t /* ! __cplusplus */\n\
6954 #define NULL\t((void *)0)\n\
6955 #endif\t /* __cplusplus */\n\
6956 #endif\t /* !NULL */",
6957 "^#ifndef[ \t]*NULL\n\
6958 ^#ifdef[ \t]*__GNUG__\n\
6959 ^#define[ \t]*NULL[ \t]*__null\n\
6961 ^#define[ \t]*NULL[ \t]*0L\n\
6966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6968 * Description of Obstack_Lvalue_Cast fix
6970 tSCC zObstack_Lvalue_CastName[] =
6971 "obstack_lvalue_cast";
6974 * File name selection pattern
6976 tSCC zObstack_Lvalue_CastList[] =
6979 * Machine/OS name selection pattern
6981 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6984 * content selection pattern - do fix if pattern found
6986 tSCC zObstack_Lvalue_CastSelect0[] =
6987 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6989 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6990 static tTestDesc aObstack_Lvalue_CastTests[] = {
6991 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6994 * Fix Command Arguments for Obstack_Lvalue_Cast
6996 static const char* apzObstack_Lvalue_CastPatch[] = {
6998 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
7001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7003 * Description of Openbsd_Va_Start fix
7005 tSCC zOpenbsd_Va_StartName[] =
7009 * File name selection pattern
7011 tSCC zOpenbsd_Va_StartList[] =
7014 * Machine/OS name selection pattern
7016 tSCC* apzOpenbsd_Va_StartMachs[] = {
7018 (const char*)NULL };
7021 * content selection pattern - do fix if pattern found
7023 tSCC zOpenbsd_Va_StartSelect0[] =
7024 "__builtin_stdarg_start";
7026 #define OPENBSD_VA_START_TEST_CT 1
7027 static tTestDesc aOpenbsd_Va_StartTests[] = {
7028 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
7031 * Fix Command Arguments for Openbsd_Va_Start
7033 static const char* apzOpenbsd_Va_StartPatch[] = {
7035 "__builtin_va_start",
7038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7040 * Description of Osf_Namespace_A fix
7042 tSCC zOsf_Namespace_AName[] =
7046 * File name selection pattern
7048 tSCC zOsf_Namespace_AList[] =
7049 "reg_types.h\0sys/lc_core.h\0";
7051 * Machine/OS name selection pattern
7053 #define apzOsf_Namespace_AMachs (const char**)NULL
7056 * perform the 'test' shell command - do fix on success
7058 tSCC zOsf_Namespace_ATest0[] =
7060 tSCC zOsf_Namespace_ATest1[] =
7061 " -r sys/lc_core.h";
7062 tSCC zOsf_Namespace_ATest2[] =
7063 " -n \"`grep '} regex_t;' reg_types.h`\"";
7064 tSCC zOsf_Namespace_ATest3[] =
7065 " -z \"`grep __regex_t regex.h`\"";
7067 #define OSF_NAMESPACE_A_TEST_CT 4
7068 static tTestDesc aOsf_Namespace_ATests[] = {
7069 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
7070 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
7071 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
7072 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
7075 * Fix Command Arguments for Osf_Namespace_A
7077 static const char* apzOsf_Namespace_APatch[] = {
7080 "reg(ex|off|match)_t",
7083 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7085 * Description of Osf_Namespace_C fix
7087 tSCC zOsf_Namespace_CName[] =
7091 * File name selection pattern
7093 tSCC zOsf_Namespace_CList[] =
7096 * Machine/OS name selection pattern
7098 #define apzOsf_Namespace_CMachs (const char**)NULL
7101 * content selection pattern - do fix if pattern found
7103 tSCC zOsf_Namespace_CSelect0[] =
7104 "#include <reg_types.h>.*";
7107 * perform the 'test' shell command - do fix on success
7109 tSCC zOsf_Namespace_CTest0[] =
7111 tSCC zOsf_Namespace_CTest1[] =
7112 " -r sys/lc_core.h";
7113 tSCC zOsf_Namespace_CTest2[] =
7114 " -n \"`grep '} regex_t;' reg_types.h`\"";
7115 tSCC zOsf_Namespace_CTest3[] =
7116 " -z \"`grep __regex_t regex.h`\"";
7118 #define OSF_NAMESPACE_C_TEST_CT 5
7119 static tTestDesc aOsf_Namespace_CTests[] = {
7120 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
7121 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
7122 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
7123 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
7124 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
7127 * Fix Command Arguments for Osf_Namespace_C
7129 static const char* apzOsf_Namespace_CPatch[] = {
7132 typedef __regex_t\tregex_t;\n\
7133 typedef __regoff_t\tregoff_t;\n\
7134 typedef __regmatch_t\tregmatch_t;",
7137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7139 * Description of Pthread_Incomplete_Struct_Argument fix
7141 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7142 "pthread_incomplete_struct_argument";
7145 * File name selection pattern
7147 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7150 * Machine/OS name selection pattern
7152 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7155 * content selection pattern - do fix if pattern found
7157 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7158 "struct __jmp_buf_tag";
7160 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
7161 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7162 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7165 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7167 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7170 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7175 * Description of Read_Ret_Type fix
7177 tSCC zRead_Ret_TypeName[] =
7181 * File name selection pattern
7183 tSCC zRead_Ret_TypeList[] =
7186 * Machine/OS name selection pattern
7188 #define apzRead_Ret_TypeMachs (const char**)NULL
7191 * content selection pattern - do fix if pattern found
7193 tSCC zRead_Ret_TypeSelect0[] =
7194 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7196 #define READ_RET_TYPE_TEST_CT 1
7197 static tTestDesc aRead_Ret_TypeTests[] = {
7198 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7201 * Fix Command Arguments for Read_Ret_Type
7203 static const char* apzRead_Ret_TypePatch[] = {
7205 "extern unsigned int fread(), fwrite();\n\
7207 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7212 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7214 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7215 "rpc_xdr_lvalue_cast_a";
7218 * File name selection pattern
7220 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7223 * Machine/OS name selection pattern
7225 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7228 * content selection pattern - do fix if pattern found
7230 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7231 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7234 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7235 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7236 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7239 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7241 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7243 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7248 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7250 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7251 "rpc_xdr_lvalue_cast_b";
7254 * File name selection pattern
7256 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7259 * Machine/OS name selection pattern
7261 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7264 * content selection pattern - do fix if pattern found
7266 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7267 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7270 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7271 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7272 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7275 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7277 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7279 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7284 * Description of Rs6000_Double fix
7286 tSCC zRs6000_DoubleName[] =
7290 * File name selection pattern
7292 tSCC zRs6000_DoubleList[] =
7295 * Machine/OS name selection pattern
7297 #define apzRs6000_DoubleMachs (const char**)NULL
7300 * content selection pattern - do fix if pattern found
7302 tSCC zRs6000_DoubleSelect0[] =
7303 "[^a-zA-Z_]class\\(";
7305 #define RS6000_DOUBLE_TEST_CT 1
7306 static tTestDesc aRs6000_DoubleTests[] = {
7307 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7310 * Fix Command Arguments for Rs6000_Double
7312 static const char* apzRs6000_DoublePatch[] = {
7314 "#ifndef __cplusplus\n\
7317 "^.*[^a-zA-Z_]class\\(.*",
7320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7322 * Description of Rs6000_Fchmod fix
7324 tSCC zRs6000_FchmodName[] =
7328 * File name selection pattern
7330 tSCC zRs6000_FchmodList[] =
7333 * Machine/OS name selection pattern
7335 #define apzRs6000_FchmodMachs (const char**)NULL
7338 * content selection pattern - do fix if pattern found
7340 tSCC zRs6000_FchmodSelect0[] =
7341 "fchmod\\(char \\*";
7343 #define RS6000_FCHMOD_TEST_CT 1
7344 static tTestDesc aRs6000_FchmodTests[] = {
7345 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7348 * Fix Command Arguments for Rs6000_Fchmod
7350 static const char* apzRs6000_FchmodPatch[] = {
7355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7357 * Description of Rs6000_Param fix
7359 tSCC zRs6000_ParamName[] =
7363 * File name selection pattern
7365 tSCC zRs6000_ParamList[] =
7366 "stdio.h\0unistd.h\0";
7368 * Machine/OS name selection pattern
7370 #define apzRs6000_ParamMachs (const char**)NULL
7373 * content selection pattern - do fix if pattern found
7375 tSCC zRs6000_ParamSelect0[] =
7376 "rename\\(const char \\*old, const char \\*new\\)";
7378 #define RS6000_PARAM_TEST_CT 1
7379 static tTestDesc aRs6000_ParamTests[] = {
7380 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7383 * Fix Command Arguments for Rs6000_Param
7385 static const char* apzRs6000_ParamPatch[] = {
7387 "rename(const char *_old, const char *_new)",
7390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7392 * Description of Solaris___Restrict fix
7394 tSCC zSolaris___RestrictName[] =
7395 "solaris___restrict";
7398 * File name selection pattern
7400 tSCC zSolaris___RestrictList[] =
7401 "sys/feature_tests.h\0";
7403 * Machine/OS name selection pattern
7405 tSCC* apzSolaris___RestrictMachs[] = {
7407 (const char*)NULL };
7410 * content selection pattern - do fix if pattern found
7412 tSCC zSolaris___RestrictSelect0[] =
7413 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7415 #define SOLARIS___RESTRICT_TEST_CT 1
7416 static tTestDesc aSolaris___RestrictTests[] = {
7417 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7420 * Fix Command Arguments for Solaris___Restrict
7422 static const char* apzSolaris___RestrictPatch[] = {
7424 "#ifdef __cplusplus\n\
7425 #define\t_RESTRICT_KYWD\t__restrict\n\
7431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7433 * Description of Solaris_Complex fix
7435 tSCC zSolaris_ComplexName[] =
7439 * File name selection pattern
7441 tSCC zSolaris_ComplexList[] =
7444 * Machine/OS name selection pattern
7446 tSCC* apzSolaris_ComplexMachs[] = {
7448 (const char*)NULL };
7451 * content selection pattern - do fix if pattern found
7453 tSCC zSolaris_ComplexSelect0[] =
7454 "#define[ \t]_Complex_I[ \t]_Complex_I";
7456 #define SOLARIS_COMPLEX_TEST_CT 1
7457 static tTestDesc aSolaris_ComplexTests[] = {
7458 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7461 * Fix Command Arguments for Solaris_Complex
7463 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7464 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7465 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7466 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7467 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7470 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7472 * Description of Solaris_Complex_Cxx fix
7474 tSCC zSolaris_Complex_CxxName[] =
7475 "solaris_complex_cxx";
7478 * File name selection pattern
7480 tSCC zSolaris_Complex_CxxList[] =
7483 * Machine/OS name selection pattern
7485 tSCC* apzSolaris_Complex_CxxMachs[] = {
7487 (const char*)NULL };
7488 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7489 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7492 * Fix Command Arguments for Solaris_Complex_Cxx
7494 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7495 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7496 #ifdef\t__cplusplus\\\n\
7499 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7500 #ifdef\t__cplusplus\\\n\
7505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7507 * Description of Solaris_Cxx_Linkage fix
7509 tSCC zSolaris_Cxx_LinkageName[] =
7510 "solaris_cxx_linkage";
7513 * File name selection pattern
7515 tSCC zSolaris_Cxx_LinkageList[] =
7516 "iso/stdlib_iso.h\0";
7518 * Machine/OS name selection pattern
7520 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7522 (const char*)NULL };
7525 * content selection pattern - do fix if pattern found
7527 tSCC zSolaris_Cxx_LinkageSelect0[] =
7528 "(#if __cplusplus >= 199711L)\n\
7529 (extern \"C\\+\\+\" \\{\n\
7530 )(.*(bsearch|qsort).*)";
7532 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7533 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7534 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7537 * Fix Command Arguments for Solaris_Cxx_Linkage
7539 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7547 * Description of Solaris_Getc_Strict_Stdc fix
7549 tSCC zSolaris_Getc_Strict_StdcName[] =
7550 "solaris_getc_strict_stdc";
7553 * File name selection pattern
7555 tSCC zSolaris_Getc_Strict_StdcList[] =
7556 "iso/stdio_iso.h\0";
7558 * Machine/OS name selection pattern
7560 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7562 (const char*)NULL };
7565 * content selection pattern - do fix if pattern found
7567 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7568 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7570 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7571 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7572 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7575 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7577 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7579 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7584 * Description of Solaris_Gets_C11 fix
7586 tSCC zSolaris_Gets_C11Name[] =
7590 * File name selection pattern
7592 tSCC zSolaris_Gets_C11List[] =
7593 "iso/stdio_iso.h\0";
7595 * Machine/OS name selection pattern
7597 tSCC* apzSolaris_Gets_C11Machs[] = {
7599 (const char*)NULL };
7602 * content selection pattern - do fix if pattern found
7604 tSCC zSolaris_Gets_C11Select0[] =
7605 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7607 #define SOLARIS_GETS_C11_TEST_CT 1
7608 static tTestDesc aSolaris_Gets_C11Tests[] = {
7609 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7612 * Fix Command Arguments for Solaris_Gets_C11
7614 static const char* apzSolaris_Gets_C11Patch[] = {
7616 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7617 %1 __attribute__((__deprecated__));\n\
7621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7623 * Description of Solaris_Gets_Cxx14 fix
7625 tSCC zSolaris_Gets_Cxx14Name[] =
7626 "solaris_gets_cxx14";
7629 * File name selection pattern
7631 tSCC zSolaris_Gets_Cxx14List[] =
7632 "iso/stdio_iso.h\0";
7634 * Machine/OS name selection pattern
7636 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7638 (const char*)NULL };
7641 * content selection pattern - do fix if pattern found
7643 tSCC zSolaris_Gets_Cxx14Select0[] =
7644 "(#if __STDC_VERSION__ < 201112L)\n\
7645 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7647 #define SOLARIS_GETS_CXX14_TEST_CT 1
7648 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7649 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7652 * Fix Command Arguments for Solaris_Gets_Cxx14
7654 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7656 "%1 && __cplusplus < 201402L\n\
7660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7662 * Description of Solaris_Int_Const fix
7664 tSCC zSolaris_Int_ConstName[] =
7665 "solaris_int_const";
7668 * File name selection pattern
7670 tSCC zSolaris_Int_ConstList[] =
7671 "sys/int_const.h\0";
7673 * Machine/OS name selection pattern
7675 tSCC* apzSolaris_Int_ConstMachs[] = {
7677 (const char*)NULL };
7680 * content selection pattern - do fix if pattern found
7682 tSCC zSolaris_Int_ConstSelect0[] =
7683 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7685 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7687 #define SOLARIS_INT_CONST_TEST_CT 1
7688 static tTestDesc aSolaris_Int_ConstTests[] = {
7689 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7692 * Fix Command Arguments for Solaris_Int_Const
7694 static const char* apzSolaris_Int_ConstPatch[] = {
7696 "#define\tUINT8_C(c)\t(c)\n\
7698 #define\tUINT16_C(c)\t(c)",
7701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7703 * Description of Solaris_Int_Limits_1 fix
7705 tSCC zSolaris_Int_Limits_1Name[] =
7706 "solaris_int_limits_1";
7709 * File name selection pattern
7711 tSCC zSolaris_Int_Limits_1List[] =
7712 "sys/int_limits.h\0";
7714 * Machine/OS name selection pattern
7716 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7718 (const char*)NULL };
7721 * content selection pattern - do fix if pattern found
7723 tSCC zSolaris_Int_Limits_1Select0[] =
7724 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7725 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7727 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7728 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7729 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7732 * Fix Command Arguments for Solaris_Int_Limits_1
7734 static const char* apzSolaris_Int_Limits_1Patch[] = {
7736 "#define\tUINT8_MAX\t(255)\n\
7737 #define\tUINT16_MAX\t(65535)",
7740 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7742 * Description of Solaris_Int_Limits_2 fix
7744 tSCC zSolaris_Int_Limits_2Name[] =
7745 "solaris_int_limits_2";
7748 * File name selection pattern
7750 tSCC zSolaris_Int_Limits_2List[] =
7751 "sys/int_limits.h\0";
7753 * Machine/OS name selection pattern
7755 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7757 (const char*)NULL };
7760 * content selection pattern - do fix if pattern found
7762 tSCC zSolaris_Int_Limits_2Select0[] =
7763 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7765 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7766 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7767 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7770 * Fix Command Arguments for Solaris_Int_Limits_2
7772 static const char* apzSolaris_Int_Limits_2Patch[] = {
7774 "#define\t%1_FAST16_%2 %132_%2",
7777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7779 * Description of Solaris_Int_Limits_3 fix
7781 tSCC zSolaris_Int_Limits_3Name[] =
7782 "solaris_int_limits_3";
7785 * File name selection pattern
7787 tSCC zSolaris_Int_Limits_3List[] =
7788 "sys/int_limits.h\0";
7790 * Machine/OS name selection pattern
7792 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7794 (const char*)NULL };
7797 * content selection pattern - do fix if pattern found
7799 tSCC zSolaris_Int_Limits_3Select0[] =
7800 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7802 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7803 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7804 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7807 * Fix Command Arguments for Solaris_Int_Limits_3
7809 static const char* apzSolaris_Int_Limits_3Patch[] = {
7811 "#define\tSIZE_MAX\t4294967295U",
7814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7816 * Description of Solaris_Math_1 fix
7818 tSCC zSolaris_Math_1Name[] =
7822 * File name selection pattern
7824 tSCC zSolaris_Math_1List[] =
7827 * Machine/OS name selection pattern
7829 #define apzSolaris_Math_1Machs (const char**)NULL
7832 * content selection pattern - do fix if pattern found
7834 tSCC zSolaris_Math_1Select0[] =
7835 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7838 * content bypass pattern - skip fix if pattern found
7840 tSCC zSolaris_Math_1Bypass0[] =
7843 #define SOLARIS_MATH_1_TEST_CT 2
7844 static tTestDesc aSolaris_Math_1Tests[] = {
7845 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7846 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7849 * Fix Command Arguments for Solaris_Math_1
7851 static const char* apzSolaris_Math_1Patch[] = {
7853 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7854 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7859 * Description of Solaris_Math_10 fix
7861 tSCC zSolaris_Math_10Name[] =
7865 * File name selection pattern
7867 tSCC zSolaris_Math_10List[] =
7870 * Machine/OS name selection pattern
7872 #define apzSolaris_Math_10Machs (const char**)NULL
7875 * content selection pattern - do fix if pattern found
7877 tSCC zSolaris_Math_10Select0[] =
7878 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7880 #define SOLARIS_MATH_10_TEST_CT 1
7881 static tTestDesc aSolaris_Math_10Tests[] = {
7882 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7885 * Fix Command Arguments for Solaris_Math_10
7887 static const char* apzSolaris_Math_10Patch[] = {
7889 "#define\tisinf(x) __builtin_isinf(x)",
7890 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7891 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7892 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7893 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7898 * Description of Solaris_Math_2 fix
7900 tSCC zSolaris_Math_2Name[] =
7904 * File name selection pattern
7906 tSCC zSolaris_Math_2List[] =
7909 * Machine/OS name selection pattern
7911 #define apzSolaris_Math_2Machs (const char**)NULL
7914 * content selection pattern - do fix if pattern found
7916 tSCC zSolaris_Math_2Select0[] =
7917 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7920 * content bypass pattern - skip fix if pattern found
7922 tSCC zSolaris_Math_2Bypass0[] =
7925 #define SOLARIS_MATH_2_TEST_CT 2
7926 static tTestDesc aSolaris_Math_2Tests[] = {
7927 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7928 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7931 * Fix Command Arguments for Solaris_Math_2
7933 static const char* apzSolaris_Math_2Patch[] = {
7935 "#define\tINFINITY\t(__builtin_inff())",
7936 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941 * Description of Solaris_Math_3 fix
7943 tSCC zSolaris_Math_3Name[] =
7947 * File name selection pattern
7949 tSCC zSolaris_Math_3List[] =
7952 * Machine/OS name selection pattern
7954 #define apzSolaris_Math_3Machs (const char**)NULL
7957 * content selection pattern - do fix if pattern found
7959 tSCC zSolaris_Math_3Select0[] =
7960 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7963 * content bypass pattern - skip fix if pattern found
7965 tSCC zSolaris_Math_3Bypass0[] =
7968 #define SOLARIS_MATH_3_TEST_CT 2
7969 static tTestDesc aSolaris_Math_3Tests[] = {
7970 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7971 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7974 * Fix Command Arguments for Solaris_Math_3
7976 static const char* apzSolaris_Math_3Patch[] = {
7978 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7979 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7984 * Description of Solaris_Math_4 fix
7986 tSCC zSolaris_Math_4Name[] =
7990 * File name selection pattern
7992 tSCC zSolaris_Math_4List[] =
7995 * Machine/OS name selection pattern
7997 #define apzSolaris_Math_4Machs (const char**)NULL
8000 * content selection pattern - do fix if pattern found
8002 tSCC zSolaris_Math_4Select0[] =
8003 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8006 * content bypass pattern - skip fix if pattern found
8008 tSCC zSolaris_Math_4Bypass0[] =
8011 #define SOLARIS_MATH_4_TEST_CT 2
8012 static tTestDesc aSolaris_Math_4Tests[] = {
8013 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
8014 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
8017 * Fix Command Arguments for Solaris_Math_4
8019 static const char* apzSolaris_Math_4Patch[] = {
8021 "#define\tfpclassify(x) \\\n\
8022 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
8023 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
8026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8028 * Description of Solaris_Math_8 fix
8030 tSCC zSolaris_Math_8Name[] =
8034 * File name selection pattern
8036 tSCC zSolaris_Math_8List[] =
8039 * Machine/OS name selection pattern
8041 #define apzSolaris_Math_8Machs (const char**)NULL
8044 * content selection pattern - do fix if pattern found
8046 tSCC zSolaris_Math_8Select0[] =
8047 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
8050 * content bypass pattern - skip fix if pattern found
8052 tSCC zSolaris_Math_8Bypass0[] =
8055 #define SOLARIS_MATH_8_TEST_CT 2
8056 static tTestDesc aSolaris_Math_8Tests[] = {
8057 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
8058 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
8061 * Fix Command Arguments for Solaris_Math_8
8063 static const char* apzSolaris_Math_8Patch[] = {
8065 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8066 \t\t\t ? __builtin_signbitf(x) \\\n\
8067 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8068 \t\t\t ? __builtin_signbitl(x) \\\n\
8069 \t\t\t : __builtin_signbit(x))",
8070 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
8073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8075 * Description of Solaris_Math_9 fix
8077 tSCC zSolaris_Math_9Name[] =
8081 * File name selection pattern
8083 tSCC zSolaris_Math_9List[] =
8086 * Machine/OS name selection pattern
8088 #define apzSolaris_Math_9Machs (const char**)NULL
8091 * content selection pattern - do fix if pattern found
8093 tSCC zSolaris_Math_9Select0[] =
8094 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8097 * content bypass pattern - skip fix if pattern found
8099 tSCC zSolaris_Math_9Bypass0[] =
8102 #define SOLARIS_MATH_9_TEST_CT 2
8103 static tTestDesc aSolaris_Math_9Tests[] = {
8104 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
8105 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
8108 * Fix Command Arguments for Solaris_Math_9
8110 static const char* apzSolaris_Math_9Patch[] = {
8112 "#define\t%1(x, y)%2__builtin_%1(x, y)",
8113 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
8116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8118 * Description of Solaris_Math_11 fix
8120 tSCC zSolaris_Math_11Name[] =
8124 * File name selection pattern
8126 tSCC zSolaris_Math_11List[] =
8129 * Machine/OS name selection pattern
8131 #define apzSolaris_Math_11Machs (const char**)NULL
8134 * content selection pattern - do fix if pattern found
8136 tSCC zSolaris_Math_11Select0[] =
8137 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8139 #define SOLARIS_MATH_11_TEST_CT 1
8140 static tTestDesc aSolaris_Math_11Tests[] = {
8141 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
8144 * Fix Command Arguments for Solaris_Math_11
8146 static const char* apzSolaris_Math_11Patch[] = {
8149 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8150 \t\t\t ? __builtin_signbitf(x) \\\n\
8151 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8152 \t\t\t ? __builtin_signbitl(x) \\\n\
8153 \t\t\t : __builtin_signbit(x))",
8154 "^#undef[ \t]+signbit\n\
8155 #if defined\\(__sparc\\)\n\
8156 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8157 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8158 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8159 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8160 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8161 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8162 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8163 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8164 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8165 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8166 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8172 * Description of Solaris_Math_12 fix
8174 tSCC zSolaris_Math_12Name[] =
8178 * File name selection pattern
8180 tSCC zSolaris_Math_12List[] =
8183 * Machine/OS name selection pattern
8185 tSCC* apzSolaris_Math_12Machs[] = {
8187 (const char*)NULL };
8190 * content selection pattern - do fix if pattern found
8192 tSCC zSolaris_Math_12Select0[] =
8193 "#undef.*_GLIBCXX_USE_C99_MATH";
8195 #define SOLARIS_MATH_12_TEST_CT 1
8196 static tTestDesc aSolaris_Math_12Tests[] = {
8197 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
8200 * Fix Command Arguments for Solaris_Math_12
8202 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8203 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8208 * Description of Solaris_Once_Init_1 fix
8210 tSCC zSolaris_Once_Init_1Name[] =
8211 "solaris_once_init_1";
8214 * File name selection pattern
8216 tSCC zSolaris_Once_Init_1List[] =
8219 * Machine/OS name selection pattern
8221 tSCC* apzSolaris_Once_Init_1Machs[] = {
8223 (const char*)NULL };
8226 * content selection pattern - do fix if pattern found
8228 tSCC zSolaris_Once_Init_1Select0[] =
8229 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8231 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
8232 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8233 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8236 * Fix Command Arguments for Solaris_Once_Init_1
8238 static const char* apzSolaris_Once_Init_1Patch[] = {
8241 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8246 * Description of Solaris_Posix_Spawn_Restrict fix
8248 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8249 "solaris_posix_spawn_restrict";
8252 * File name selection pattern
8254 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8257 * Machine/OS name selection pattern
8259 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8261 (const char*)NULL };
8264 * content selection pattern - do fix if pattern found
8266 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8267 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8269 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8270 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8271 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8274 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8276 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8278 "%1*_RESTRICT_KYWD %2%3",
8281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8283 * Description of Solaris_Pow_Int_Overload fix
8285 tSCC zSolaris_Pow_Int_OverloadName[] =
8286 "solaris_pow_int_overload";
8289 * File name selection pattern
8291 tSCC zSolaris_Pow_Int_OverloadList[] =
8294 * Machine/OS name selection pattern
8296 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8298 (const char*)NULL };
8301 * content selection pattern - do fix if pattern found
8303 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8304 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8307 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8308 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8309 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8312 * Fix Command Arguments for Solaris_Pow_Int_Overload
8314 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8316 "#if __cplusplus < 201103L\n\
8321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8323 * Description of Solaris_Rwlock_Init_1 fix
8325 tSCC zSolaris_Rwlock_Init_1Name[] =
8326 "solaris_rwlock_init_1";
8329 * File name selection pattern
8331 tSCC zSolaris_Rwlock_Init_1List[] =
8334 * Machine/OS name selection pattern
8336 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8338 (const char*)NULL };
8341 * content selection pattern - do fix if pattern found
8343 tSCC zSolaris_Rwlock_Init_1Select0[] =
8344 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8346 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8347 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8348 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8351 * Fix Command Arguments for Solaris_Rwlock_Init_1
8353 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8355 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8358 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8360 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8365 * Description of Solaris_Std___Filbuf fix
8367 tSCC zSolaris_Std___FilbufName[] =
8368 "solaris_std___filbuf";
8371 * File name selection pattern
8373 tSCC zSolaris_Std___FilbufList[] =
8376 * Machine/OS name selection pattern
8378 tSCC* apzSolaris_Std___FilbufMachs[] = {
8380 (const char*)NULL };
8383 * content selection pattern - do fix if pattern found
8385 tSCC zSolaris_Std___FilbufSelect0[] =
8386 "(using std::perror;\n\
8390 * content bypass pattern - skip fix if pattern found
8392 tSCC zSolaris_Std___FilbufBypass0[] =
8393 "using std::__filbuf";
8395 #define SOLARIS_STD___FILBUF_TEST_CT 2
8396 static tTestDesc aSolaris_Std___FilbufTests[] = {
8397 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8398 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8401 * Fix Command Arguments for Solaris_Std___Filbuf
8403 static const char* apzSolaris_Std___FilbufPatch[] = {
8406 using std::__filbuf;\n\
8407 using std::__flsbuf;\n\
8412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8414 * Description of Solaris_Std_Gets_Cxx14 fix
8416 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8417 "solaris_std_gets_cxx14";
8420 * File name selection pattern
8422 tSCC zSolaris_Std_Gets_Cxx14List[] =
8425 * Machine/OS name selection pattern
8427 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8429 (const char*)NULL };
8432 * content selection pattern - do fix if pattern found
8434 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8437 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8438 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8439 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8442 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8444 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8446 "#if __cplusplus < 201402L\n\
8451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8453 * Description of Solaris_Stdio_Tag fix
8455 tSCC zSolaris_Stdio_TagName[] =
8456 "solaris_stdio_tag";
8459 * File name selection pattern
8461 tSCC zSolaris_Stdio_TagList[] =
8464 * Machine/OS name selection pattern
8466 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8469 * content selection pattern - do fix if pattern found
8471 tSCC zSolaris_Stdio_TagSelect0[] =
8472 "__cplusplus < 54321L";
8475 * content bypass pattern - skip fix if pattern found
8477 tSCC zSolaris_Stdio_TagBypass0[] =
8480 #define SOLARIS_STDIO_TAG_TEST_CT 2
8481 static tTestDesc aSolaris_Stdio_TagTests[] = {
8482 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8483 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8486 * Fix Command Arguments for Solaris_Stdio_Tag
8488 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8489 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8492 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8494 * Description of Solaris_Stdlib_Noreturn fix
8496 tSCC zSolaris_Stdlib_NoreturnName[] =
8497 "solaris_stdlib_noreturn";
8500 * File name selection pattern
8502 tSCC zSolaris_Stdlib_NoreturnList[] =
8503 "iso/stdlib_c99.h\0";
8505 * Machine/OS name selection pattern
8507 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8509 (const char*)NULL };
8512 * content selection pattern - do fix if pattern found
8514 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8515 "(extern) _Noreturn (void quick_exit\\(int\\));";
8517 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8518 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8519 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8522 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8524 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8526 "%1 %2 __attribute__((__noreturn__));",
8529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8531 * Description of Statsswtch fix
8533 tSCC zStatsswtchName[] =
8537 * File name selection pattern
8539 tSCC zStatsswtchList[] =
8542 * Machine/OS name selection pattern
8544 #define apzStatsswtchMachs (const char**)NULL
8547 * content selection pattern - do fix if pattern found
8549 tSCC zStatsswtchSelect0[] =
8552 #define STATSSWTCH_TEST_CT 1
8553 static tTestDesc aStatsswtchTests[] = {
8554 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8557 * Fix Command Arguments for Statsswtch
8559 static const char* apzStatsswtchPatch[] = {
8564 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8566 * Description of Stdio_Stdarg_H fix
8568 tSCC zStdio_Stdarg_HName[] =
8572 * File name selection pattern
8574 tSCC zStdio_Stdarg_HList[] =
8577 * Machine/OS name selection pattern
8579 tSCC* apzStdio_Stdarg_HMachs[] = {
8580 "*-*-solaris2.1[0-9]*",
8581 (const char*)NULL };
8584 * content bypass pattern - skip fix if pattern found
8586 tSCC zStdio_Stdarg_HBypass0[] =
8587 "include.*(stdarg.h|machine/ansi.h)";
8589 #define STDIO_STDARG_H_TEST_CT 1
8590 static tTestDesc aStdio_Stdarg_HTests[] = {
8591 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8594 * Fix Command Arguments for Stdio_Stdarg_H
8596 static const char* apzStdio_Stdarg_HPatch[] = {
8598 "#define __need___va_list\n\
8599 #include <stdarg.h>\n",
8602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8604 * Description of Stdio_Va_List fix
8606 tSCC zStdio_Va_ListName[] =
8610 * File name selection pattern
8612 tSCC zStdio_Va_ListList[] =
8615 * Machine/OS name selection pattern
8617 tSCC* apzStdio_Va_ListMachs[] = {
8618 "*-*-solaris2.1[0-9]*",
8619 (const char*)NULL };
8622 * content bypass pattern - skip fix if pattern found
8624 tSCC zStdio_Va_ListBypass0[] =
8625 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8627 #define STDIO_VA_LIST_TEST_CT 1
8628 static tTestDesc aStdio_Va_ListTests[] = {
8629 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8632 * Fix Command Arguments for Stdio_Va_List
8634 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8635 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8636 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8637 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8638 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8639 s@ va_list@ __not_va_list__@\n\
8640 s@\\*va_list@*__not_va_list__@\n\
8641 s@ __va_list)@ __gnuc_va_list)@\n\
8642 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8643 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8644 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8645 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8646 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8647 s@VA_LIST@DUMMY_VA_LIST@\n\
8648 s@_Va_LIST@_VA_LIST@",
8651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8653 * Description of Stdio_Va_List_Clients fix
8655 tSCC zStdio_Va_List_ClientsName[] =
8656 "stdio_va_list_clients";
8659 * File name selection pattern
8661 tSCC zStdio_Va_List_ClientsList[] =
8662 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8664 * Machine/OS name selection pattern
8666 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8669 * content bypass pattern - skip fix if pattern found
8671 tSCC zStdio_Va_List_ClientsBypass0[] =
8672 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8673 tSCC zStdio_Va_List_ClientsBypass1[] =
8674 "include <stdarg\\.h>|#ifdef va_start";
8676 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8677 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8678 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8679 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8682 * Fix Command Arguments for Stdio_Va_List_Clients
8684 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8685 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8686 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8687 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8688 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8689 s@ va_list@ __not_va_list__@\n\
8690 s@\\*va_list@*__not_va_list__@\n\
8691 s@ __va_list)@ __gnuc_va_list)@\n\
8692 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8693 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8694 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8695 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8696 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8697 s@VA_LIST@DUMMY_VA_LIST@\n\
8698 s@_Va_LIST@_VA_LIST@",
8701 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8703 * Description of Strict_Ansi_Not fix
8705 tSCC zStrict_Ansi_NotName[] =
8709 * File name selection pattern
8711 #define zStrict_Ansi_NotList (char*)NULL
8713 * Machine/OS name selection pattern
8715 #define apzStrict_Ansi_NotMachs (const char**)NULL
8718 * content selection pattern - do fix if pattern found
8720 tSCC zStrict_Ansi_NotSelect0[] =
8721 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8724 * content bypass pattern - skip fix if pattern found
8726 tSCC zStrict_Ansi_NotBypass0[] =
8727 "GNU and MIPS C compilers define __STDC__ differently";
8728 tSCC zStrict_Ansi_NotBypass1[] =
8729 "__SCO_VERSION__.*__STDC__ != 1";
8732 * perform the C function call test
8734 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8736 #define STRICT_ANSI_NOT_TEST_CT 4
8737 static tTestDesc aStrict_Ansi_NotTests[] = {
8738 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8739 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8740 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8741 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8744 * Fix Command Arguments for Strict_Ansi_Not
8746 static const char* apzStrict_Ansi_NotPatch[] = {
8748 "%1 !defined(__STRICT_ANSI__)",
8751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8753 * Description of Strict_Ansi_Not_Ctd fix
8755 tSCC zStrict_Ansi_Not_CtdName[] =
8756 "strict_ansi_not_ctd";
8759 * File name selection pattern
8761 tSCC zStrict_Ansi_Not_CtdList[] =
8762 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8764 * Machine/OS name selection pattern
8766 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8769 * content selection pattern - do fix if pattern found
8771 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8772 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8775 * perform the C function call test
8777 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8779 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8780 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8781 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8782 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8785 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8787 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8789 "%1 !defined(__STRICT_ANSI__)",
8792 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8794 * Description of Strict_Ansi_Only fix
8796 tSCC zStrict_Ansi_OnlyName[] =
8800 * File name selection pattern
8802 #define zStrict_Ansi_OnlyList (char*)NULL
8804 * Machine/OS name selection pattern
8806 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8809 * content selection pattern - do fix if pattern found
8811 tSCC zStrict_Ansi_OnlySelect0[] =
8812 "^([ \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)";
8815 * perform the C function call test
8817 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8819 #define STRICT_ANSI_ONLY_TEST_CT 2
8820 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8821 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8822 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8825 * Fix Command Arguments for Strict_Ansi_Only
8827 static const char* apzStrict_Ansi_OnlyPatch[] = {
8829 "%1 defined(__STRICT_ANSI__)",
8832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8834 * Description of Struct_File fix
8836 tSCC zStruct_FileName[] =
8840 * File name selection pattern
8842 tSCC zStruct_FileList[] =
8845 * Machine/OS name selection pattern
8847 #define apzStruct_FileMachs (const char**)NULL
8850 * content selection pattern - do fix if pattern found
8852 tSCC zStruct_FileSelect0[] =
8853 "^.*xdrstdio_create.*struct __file_s";
8855 #define STRUCT_FILE_TEST_CT 1
8856 static tTestDesc aStruct_FileTests[] = {
8857 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8860 * Fix Command Arguments for Struct_File
8862 static const char* apzStruct_FilePatch[] = {
8864 "struct __file_s;\n\
8868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8870 * Description of Struct_Sockaddr fix
8872 tSCC zStruct_SockaddrName[] =
8876 * File name selection pattern
8878 tSCC zStruct_SockaddrList[] =
8881 * Machine/OS name selection pattern
8883 #define apzStruct_SockaddrMachs (const char**)NULL
8886 * content selection pattern - do fix if pattern found
8888 tSCC zStruct_SockaddrSelect0[] =
8889 "^.*authdes_create.*struct sockaddr[^_]";
8892 * content bypass pattern - skip fix if pattern found
8894 tSCC zStruct_SockaddrBypass0[] =
8896 tSCC zStruct_SockaddrBypass1[] =
8897 "struct sockaddr;\n";
8899 #define STRUCT_SOCKADDR_TEST_CT 3
8900 static tTestDesc aStruct_SockaddrTests[] = {
8901 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8902 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8903 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8906 * Fix Command Arguments for Struct_Sockaddr
8908 static const char* apzStruct_SockaddrPatch[] = {
8910 "struct sockaddr;\n\
8914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8916 * Description of Sun_Auth_Proto fix
8918 tSCC zSun_Auth_ProtoName[] =
8922 * File name selection pattern
8924 tSCC zSun_Auth_ProtoList[] =
8925 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8927 * Machine/OS name selection pattern
8929 #define apzSun_Auth_ProtoMachs (const char**)NULL
8932 * content selection pattern - do fix if pattern found
8934 tSCC zSun_Auth_ProtoSelect0[] =
8935 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8938 * content bypass pattern - skip fix if pattern found
8940 tSCC zSun_Auth_ProtoBypass0[] =
8943 #define SUN_AUTH_PROTO_TEST_CT 2
8944 static tTestDesc aSun_Auth_ProtoTests[] = {
8945 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8946 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8949 * Fix Command Arguments for Sun_Auth_Proto
8951 static const char* apzSun_Auth_ProtoPatch[] = {
8953 "#ifdef __cplusplus\n\
8958 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8963 * Description of Sun_Bogus_Ifdef fix
8965 tSCC zSun_Bogus_IfdefName[] =
8969 * File name selection pattern
8971 tSCC zSun_Bogus_IfdefList[] =
8972 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8974 * Machine/OS name selection pattern
8976 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8979 * content selection pattern - do fix if pattern found
8981 tSCC zSun_Bogus_IfdefSelect0[] =
8982 "#ifdef(.*\\|\\|.*)";
8984 #define SUN_BOGUS_IFDEF_TEST_CT 1
8985 static tTestDesc aSun_Bogus_IfdefTests[] = {
8986 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8989 * Fix Command Arguments for Sun_Bogus_Ifdef
8991 static const char* apzSun_Bogus_IfdefPatch[] = {
8996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8998 * Description of Sun_Catmacro fix
9000 tSCC zSun_CatmacroName[] =
9004 * File name selection pattern
9006 tSCC zSun_CatmacroList[] =
9007 "pixrect/memvar.h\0";
9009 * Machine/OS name selection pattern
9011 #define apzSun_CatmacroMachs (const char**)NULL
9014 * content selection pattern - do fix if pattern found
9016 tSCC zSun_CatmacroSelect0[] =
9017 "^#define[ \t]+CAT\\(a,b\\).*";
9019 #define SUN_CATMACRO_TEST_CT 1
9020 static tTestDesc aSun_CatmacroTests[] = {
9021 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
9024 * Fix Command Arguments for Sun_Catmacro
9026 static const char* apzSun_CatmacroPatch[] = {
9029 # define CAT(a,b) a##b\n\
9035 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9037 * Description of Sun_Malloc fix
9039 tSCC zSun_MallocName[] =
9043 * File name selection pattern
9045 tSCC zSun_MallocList[] =
9048 * Machine/OS name selection pattern
9050 #define apzSun_MallocMachs (const char**)NULL
9053 * content bypass pattern - skip fix if pattern found
9055 tSCC zSun_MallocBypass0[] =
9056 "_CLASSIC_ANSI_TYPES";
9058 #define SUN_MALLOC_TEST_CT 1
9059 static tTestDesc aSun_MallocTests[] = {
9060 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
9063 * Fix Command Arguments for Sun_Malloc
9065 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
9066 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
9067 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
9068 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
9069 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
9070 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
9073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9075 * Description of Sun_Rusers_Semi fix
9077 tSCC zSun_Rusers_SemiName[] =
9081 * File name selection pattern
9083 tSCC zSun_Rusers_SemiList[] =
9084 "rpcsvc/rusers.h\0";
9086 * Machine/OS name selection pattern
9088 #define apzSun_Rusers_SemiMachs (const char**)NULL
9091 * content selection pattern - do fix if pattern found
9093 tSCC zSun_Rusers_SemiSelect0[] =
9096 #define SUN_RUSERS_SEMI_TEST_CT 1
9097 static tTestDesc aSun_Rusers_SemiTests[] = {
9098 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
9101 * Fix Command Arguments for Sun_Rusers_Semi
9103 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
9104 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
9107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9109 * Description of Sun_Signal fix
9111 tSCC zSun_SignalName[] =
9115 * File name selection pattern
9117 tSCC zSun_SignalList[] =
9118 "sys/signal.h\0signal.h\0";
9120 * Machine/OS name selection pattern
9122 #define apzSun_SignalMachs (const char**)NULL
9125 * content selection pattern - do fix if pattern found
9127 tSCC zSun_SignalSelect0[] =
9128 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
9130 #define SUN_SIGNAL_TEST_CT 1
9131 static tTestDesc aSun_SignalTests[] = {
9132 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
9135 * Fix Command Arguments for Sun_Signal
9137 static const char* apzSun_SignalPatch[] = {
9139 "#ifdef __cplusplus\n\
9140 void\t(*signal(...))(...);\n\
9146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9148 * Description of Sunos_Strlen fix
9150 tSCC zSunos_StrlenName[] =
9154 * File name selection pattern
9156 tSCC zSunos_StrlenList[] =
9159 * Machine/OS name selection pattern
9161 #define apzSunos_StrlenMachs (const char**)NULL
9164 * content selection pattern - do fix if pattern found
9166 tSCC zSunos_StrlenSelect0[] =
9167 "int[ \t]*strlen\\(\\);(.*)";
9169 #define SUNOS_STRLEN_TEST_CT 1
9170 static tTestDesc aSunos_StrlenTests[] = {
9171 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
9174 * Fix Command Arguments for Sunos_Strlen
9176 static const char* apzSunos_StrlenPatch[] = {
9178 "__SIZE_TYPE__ strlen();%1",
9181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9183 * Description of Suse_Linux_Vt_Cxx fix
9185 tSCC zSuse_Linux_Vt_CxxName[] =
9186 "suse_linux_vt_cxx";
9189 * File name selection pattern
9191 tSCC zSuse_Linux_Vt_CxxList[] =
9194 * Machine/OS name selection pattern
9196 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9199 * content selection pattern - do fix if pattern found
9201 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9202 "^[ \t]*unsigned int new;";
9204 #define SUSE_LINUX_VT_CXX_TEST_CT 1
9205 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9206 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9209 * Fix Command Arguments for Suse_Linux_Vt_Cxx
9211 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9213 "unsigned int newev;",
9216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9218 * Description of Svr4_Disable_Opt fix
9220 tSCC zSvr4_Disable_OptName[] =
9224 * File name selection pattern
9226 tSCC zSvr4_Disable_OptList[] =
9229 * Machine/OS name selection pattern
9231 #define apzSvr4_Disable_OptMachs (const char**)NULL
9234 * content selection pattern - do fix if pattern found
9236 tSCC zSvr4_Disable_OptSelect0[] =
9237 "#define.*__std_hdr_";
9239 #define SVR4_DISABLE_OPT_TEST_CT 1
9240 static tTestDesc aSvr4_Disable_OptTests[] = {
9241 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9244 * Fix Command Arguments for Svr4_Disable_Opt
9246 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9247 "-e", "/#define.*__std_hdr_/d",
9250 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9252 * Description of Svr4_Getcwd fix
9254 tSCC zSvr4_GetcwdName[] =
9258 * File name selection pattern
9260 tSCC zSvr4_GetcwdList[] =
9261 "stdlib.h\0unistd.h\0prototypes.h\0";
9263 * Machine/OS name selection pattern
9265 #define apzSvr4_GetcwdMachs (const char**)NULL
9268 * content selection pattern - do fix if pattern found
9270 tSCC zSvr4_GetcwdSelect0[] =
9271 "getcwd\\(char \\*, int\\)";
9273 #define SVR4_GETCWD_TEST_CT 1
9274 static tTestDesc aSvr4_GetcwdTests[] = {
9275 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9278 * Fix Command Arguments for Svr4_Getcwd
9280 static const char* apzSvr4_GetcwdPatch[] = {
9282 "getcwd(char *, size_t)",
9285 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9287 * Description of Svr4_Profil fix
9289 tSCC zSvr4_ProfilName[] =
9293 * File name selection pattern
9295 tSCC zSvr4_ProfilList[] =
9296 "stdlib.h\0unistd.h\0";
9298 * Machine/OS name selection pattern
9300 #define apzSvr4_ProfilMachs (const char**)NULL
9303 * content selection pattern - do fix if pattern found
9305 tSCC zSvr4_ProfilSelect0[] =
9306 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9308 #define SVR4_PROFIL_TEST_CT 1
9309 static tTestDesc aSvr4_ProfilTests[] = {
9310 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9313 * Fix Command Arguments for Svr4_Profil
9315 static const char* apzSvr4_ProfilPatch[] = {
9317 "profil(unsigned short *, size_t, int, unsigned int)",
9320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9322 * Description of Svr4_Sighandler_Type fix
9324 tSCC zSvr4_Sighandler_TypeName[] =
9325 "svr4_sighandler_type";
9328 * File name selection pattern
9330 tSCC zSvr4_Sighandler_TypeList[] =
9333 * Machine/OS name selection pattern
9335 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9338 * content selection pattern - do fix if pattern found
9340 tSCC zSvr4_Sighandler_TypeSelect0[] =
9341 "void *\\(\\*\\)\\(\\)";
9343 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9344 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9345 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9348 * Fix Command Arguments for Svr4_Sighandler_Type
9350 static const char* apzSvr4_Sighandler_TypePatch[] = {
9355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9357 * Description of Svr4_Undeclared_Getrnge fix
9359 tSCC zSvr4_Undeclared_GetrngeName[] =
9360 "svr4_undeclared_getrnge";
9363 * File name selection pattern
9365 tSCC zSvr4_Undeclared_GetrngeList[] =
9368 * Machine/OS name selection pattern
9370 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9373 * content selection pattern - do fix if pattern found
9375 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9379 * content bypass pattern - skip fix if pattern found
9381 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9382 "static void getrnge";
9384 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9385 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9386 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9387 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9390 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9392 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9395 static int getrnge ();",
9396 "^static int[ \t]+size;",
9399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9401 * Description of Sysv68_String fix
9403 tSCC zSysv68_StringName[] =
9407 * File name selection pattern
9409 tSCC zSysv68_StringList[] =
9410 "testing.h\0string.h\0";
9412 * Machine/OS name selection pattern
9414 #define apzSysv68_StringMachs (const char**)NULL
9417 * content bypass pattern - skip fix if pattern found
9419 tSCC zSysv68_StringBypass0[] =
9420 "_CLASSIC_ANSI_TYPES";
9422 #define SYSV68_STRING_TEST_CT 1
9423 static tTestDesc aSysv68_StringTests[] = {
9424 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9427 * Fix Command Arguments for Sysv68_String
9429 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9430 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9431 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9432 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9433 "-e", "/^extern char$/N",
9434 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9435 "-e", "/^extern int$/N",
9436 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9437 "-e", "/^\tstrncmp(),$/N",
9438 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9439 extern unsigned int\\\n\
9443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9445 * Description of Sysz_Stdlib_For_Sun fix
9447 tSCC zSysz_Stdlib_For_SunName[] =
9448 "sysz_stdlib_for_sun";
9451 * File name selection pattern
9453 tSCC zSysz_Stdlib_For_SunList[] =
9456 * Machine/OS name selection pattern
9458 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9461 * content selection pattern - do fix if pattern found
9463 tSCC zSysz_Stdlib_For_SunSelect0[] =
9464 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9467 * content bypass pattern - skip fix if pattern found
9469 tSCC zSysz_Stdlib_For_SunBypass0[] =
9470 "_CLASSIC_ANSI_TYPES";
9472 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9473 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9474 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9475 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9478 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9480 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9487 * Description of Thread_Keyword fix
9489 tSCC zThread_KeywordName[] =
9493 * File name selection pattern
9495 tSCC zThread_KeywordList[] =
9496 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9498 * Machine/OS name selection pattern
9500 #define apzThread_KeywordMachs (const char**)NULL
9503 * content selection pattern - do fix if pattern found
9505 tSCC zThread_KeywordSelect0[] =
9506 "([* ])__thread([,)])";
9508 #define THREAD_KEYWORD_TEST_CT 1
9509 static tTestDesc aThread_KeywordTests[] = {
9510 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9513 * Fix Command Arguments for Thread_Keyword
9515 static const char* apzThread_KeywordPatch[] = {
9520 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9522 * Description of Tinfo_Cplusplus fix
9524 tSCC zTinfo_CplusplusName[] =
9528 * File name selection pattern
9530 tSCC zTinfo_CplusplusList[] =
9533 * Machine/OS name selection pattern
9535 #define apzTinfo_CplusplusMachs (const char**)NULL
9538 * content selection pattern - do fix if pattern found
9540 tSCC zTinfo_CplusplusSelect0[] =
9543 #define TINFO_CPLUSPLUS_TEST_CT 1
9544 static tTestDesc aTinfo_CplusplusTests[] = {
9545 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9548 * Fix Command Arguments for Tinfo_Cplusplus
9550 static const char* apzTinfo_CplusplusPatch[] = {
9555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9557 * Description of Ultrix_Const fix
9559 tSCC zUltrix_ConstName[] =
9563 * File name selection pattern
9565 tSCC zUltrix_ConstList[] =
9568 * Machine/OS name selection pattern
9570 #define apzUltrix_ConstMachs (const char**)NULL
9573 * content selection pattern - do fix if pattern found
9575 tSCC zUltrix_ConstSelect0[] =
9576 "perror\\( char \\*";
9578 #define ULTRIX_CONST_TEST_CT 1
9579 static tTestDesc aUltrix_ConstTests[] = {
9580 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9583 * Fix Command Arguments for Ultrix_Const
9585 static const char* apzUltrix_ConstPatch[] = {
9588 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9593 * Description of Ultrix_Const2 fix
9595 tSCC zUltrix_Const2Name[] =
9599 * File name selection pattern
9601 tSCC zUltrix_Const2List[] =
9604 * Machine/OS name selection pattern
9606 #define apzUltrix_Const2Machs (const char**)NULL
9609 * content selection pattern - do fix if pattern found
9611 tSCC zUltrix_Const2Select0[] =
9612 "\\*fopen\\( char \\*";
9614 #define ULTRIX_CONST2_TEST_CT 1
9615 static tTestDesc aUltrix_Const2Tests[] = {
9616 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9619 * Fix Command Arguments for Ultrix_Const2
9621 static const char* apzUltrix_Const2Patch[] = {
9623 "%1( const char *%3, const char *",
9624 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9629 * Description of Va_I960_Macro fix
9631 tSCC zVa_I960_MacroName[] =
9635 * File name selection pattern
9637 tSCC zVa_I960_MacroList[] =
9638 "arch/i960/archI960.h\0";
9640 * Machine/OS name selection pattern
9642 #define apzVa_I960_MacroMachs (const char**)NULL
9645 * content selection pattern - do fix if pattern found
9647 tSCC zVa_I960_MacroSelect0[] =
9648 "__(vsiz|vali|vpad|alignof__)";
9650 #define VA_I960_MACRO_TEST_CT 1
9651 static tTestDesc aVa_I960_MacroTests[] = {
9652 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9655 * Fix Command Arguments for Va_I960_Macro
9657 static const char* apzVa_I960_MacroPatch[] = {
9662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9664 * Description of Vms_Add_Missing_Braces fix
9666 tSCC zVms_Add_Missing_BracesName[] =
9667 "vms_add_missing_braces";
9670 * File name selection pattern
9672 tSCC zVms_Add_Missing_BracesList[] =
9673 "rtldef/signal.h\0";
9675 * Machine/OS name selection pattern
9677 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9679 (const char*)NULL };
9682 * content selection pattern - do fix if pattern found
9684 tSCC zVms_Add_Missing_BracesSelect0[] =
9685 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9687 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9688 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9689 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9692 * Fix Command Arguments for Vms_Add_Missing_Braces
9694 static const char* apzVms_Add_Missing_BracesPatch[] = {
9699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9701 * Description of Vms_Decc_Builtin fix
9703 tSCC zVms_Decc_BuiltinName[] =
9707 * File name selection pattern
9709 tSCC zVms_Decc_BuiltinList[] =
9710 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9712 * Machine/OS name selection pattern
9714 tSCC* apzVms_Decc_BuiltinMachs[] = {
9716 (const char*)NULL };
9719 * content selection pattern - do fix if pattern found
9721 tSCC zVms_Decc_BuiltinSelect0[] =
9722 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9724 #define VMS_DECC_BUILTIN_TEST_CT 1
9725 static tTestDesc aVms_Decc_BuiltinTests[] = {
9726 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9729 * Fix Command Arguments for Vms_Decc_Builtin
9731 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9732 "-e", "s@__MEMSET@memset@",
9733 "-e", "s@__MEMMOVE@memmove@",
9734 "-e", "s@__MEMCPY@memcpy@",
9735 "-e", "s@__STRLEN@strlen@",
9736 "-e", "s@__STRCPY@strcpy@",
9739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9741 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9743 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9744 "vms_define_can_use_extern_prefix";
9747 * File name selection pattern
9749 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9750 "rtldef/decc$types.h\0";
9752 * Machine/OS name selection pattern
9754 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9756 (const char*)NULL };
9759 * content selection pattern - do fix if pattern found
9761 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9763 #[ \t]*if defined\\(__DECCXX\\)\n\
9764 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9766 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9767 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9768 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9771 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9773 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9775 "%0# elif defined (__GNUC__)\n\
9776 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9781 * Description of Vms_Disable_Decc_String_Builtins fix
9783 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9784 "vms_disable_decc_string_builtins";
9787 * File name selection pattern
9789 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9790 "rtldef/string.h\0";
9792 * Machine/OS name selection pattern
9794 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9796 (const char*)NULL };
9799 * content selection pattern - do fix if pattern found
9801 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9802 "#if !defined\\(__VAX\\)\n";
9804 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9805 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9806 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9809 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9811 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9813 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9818 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9820 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9821 "vms_do_not_redeclare_hostalias";
9824 * File name selection pattern
9826 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9827 "rtldef/resolv.h\0";
9829 * Machine/OS name selection pattern
9831 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9833 (const char*)NULL };
9836 * content selection pattern - do fix if pattern found
9838 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9839 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9840 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9842 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9843 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9844 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9847 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9849 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9857 * Description of Vms_Forward_Declare_Struct fix
9859 tSCC zVms_Forward_Declare_StructName[] =
9860 "vms_forward_declare_struct";
9863 * File name selection pattern
9865 tSCC zVms_Forward_Declare_StructList[] =
9868 * Machine/OS name selection pattern
9870 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9872 (const char*)NULL };
9875 * content selection pattern - do fix if pattern found
9877 tSCC zVms_Forward_Declare_StructSelect0[] =
9878 "(/\\* forward decls for C\\+\\+ \\*/\n\
9879 )#ifdef __cplusplus\n";
9881 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9882 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9883 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9886 * Fix Command Arguments for Vms_Forward_Declare_Struct
9888 static const char* apzVms_Forward_Declare_StructPatch[] = {
9890 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9895 * Description of Vms_No_64bit_Getopt fix
9897 tSCC zVms_No_64bit_GetoptName[] =
9898 "vms_no_64bit_getopt";
9901 * File name selection pattern
9903 tSCC zVms_No_64bit_GetoptList[] =
9904 "rtldef/stdio.h\0rtldef/unistd.h\0";
9906 * Machine/OS name selection pattern
9908 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9910 (const char*)NULL };
9913 * content selection pattern - do fix if pattern found
9915 tSCC zVms_No_64bit_GetoptSelect0[] =
9916 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9918 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9919 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9920 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9923 * Fix Command Arguments for Vms_No_64bit_Getopt
9925 static const char* apzVms_No_64bit_GetoptPatch[] = {
9927 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9933 * Description of Vms_Use_Fast_Setjmp fix
9935 tSCC zVms_Use_Fast_SetjmpName[] =
9936 "vms_use_fast_setjmp";
9939 * File name selection pattern
9941 tSCC zVms_Use_Fast_SetjmpList[] =
9942 "rtldef/setjmp.h\0";
9944 * Machine/OS name selection pattern
9946 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9948 (const char*)NULL };
9951 * content selection pattern - do fix if pattern found
9953 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9954 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9956 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9957 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9958 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9961 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9963 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9965 "%0 defined (__GNUC__) ||",
9968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9970 * Description of Vms_Use_Pragma_Extern_Model fix
9972 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9973 "vms_use_pragma_extern_model";
9976 * File name selection pattern
9978 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9980 * Machine/OS name selection pattern
9982 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9984 (const char*)NULL };
9987 * content selection pattern - do fix if pattern found
9989 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9990 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9991 # pragma extern_model __save\n";
9993 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9994 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9995 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9998 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
10000 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
10002 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
10003 # pragma extern_model __save\n",
10006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10008 * Description of Vms_Use_Quoted_Include fix
10010 tSCC zVms_Use_Quoted_IncludeName[] =
10011 "vms_use_quoted_include";
10014 * File name selection pattern
10016 tSCC zVms_Use_Quoted_IncludeList[] =
10017 "rtldef/wait.h\0starlet_c/pthread.h\0";
10019 * Machine/OS name selection pattern
10021 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
10023 (const char*)NULL };
10026 * content selection pattern - do fix if pattern found
10028 tSCC zVms_Use_Quoted_IncludeSelect0[] =
10029 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
10031 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
10032 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
10033 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
10036 * Fix Command Arguments for Vms_Use_Quoted_Include
10038 static const char* apzVms_Use_Quoted_IncludePatch[] = {
10043 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10045 * Description of Void_Null fix
10047 tSCC zVoid_NullName[] =
10051 * File name selection pattern
10053 tSCC zVoid_NullList[] =
10054 "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";
10056 * Machine/OS name selection pattern
10058 #define apzVoid_NullMachs (const char**)NULL
10061 * content selection pattern - do fix if pattern found
10063 tSCC zVoid_NullSelect0[] =
10064 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
10067 * content bypass pattern - skip fix if pattern found
10069 tSCC zVoid_NullBypass0[] =
10071 tSCC zVoid_NullBypass1[] =
10074 #define VOID_NULL_TEST_CT 3
10075 static tTestDesc aVoid_NullTests[] = {
10076 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
10077 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
10078 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
10081 * Fix Command Arguments for Void_Null
10083 static const char* apzVoid_NullPatch[] = {
10086 #ifdef __cplusplus\n\
10088 #define NULL __null\n\
10089 #else /* ! __GNUG__ */\n\
10091 #endif /* __GNUG__ */\n\
10092 #else /* ! __cplusplus */\n\
10093 #define NULL ((void *)0)\n\
10094 #endif /* __cplusplus */\n\
10095 #endif /* !NULL */",
10098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10100 * Description of Vxworks_Gcc_Problem fix
10102 tSCC zVxworks_Gcc_ProblemName[] =
10103 "vxworks_gcc_problem";
10106 * File name selection pattern
10108 tSCC zVxworks_Gcc_ProblemList[] =
10109 "types/vxTypesBase.h\0";
10111 * Machine/OS name selection pattern
10113 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
10116 * content selection pattern - do fix if pattern found
10118 tSCC zVxworks_Gcc_ProblemSelect0[] =
10119 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
10121 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
10122 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
10123 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
10126 * Fix Command Arguments for Vxworks_Gcc_Problem
10128 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
10129 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
10130 "-e", "/[ \t]size_t/i\\\n\
10131 #ifndef _GCC_SIZE_T\\\n\
10132 #define _GCC_SIZE_T\n",
10133 "-e", "/[ \t]size_t/a\\\n\
10135 "-e", "/[ \t]ptrdiff_t/i\\\n\
10136 #ifndef _GCC_PTRDIFF_T\\\n\
10137 #define _GCC_PTRDIFF_T\n",
10138 "-e", "/[ \t]ptrdiff_t/a\\\n\
10140 "-e", "/[ \t]wchar_t/i\\\n\
10141 #ifndef _GCC_WCHAR_T\\\n\
10142 #define _GCC_WCHAR_T\n",
10143 "-e", "/[ \t]wchar_t/a\\\n\
10147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10149 * Description of Vxworks_Ioctl_Macro fix
10151 tSCC zVxworks_Ioctl_MacroName[] =
10152 "vxworks_ioctl_macro";
10155 * File name selection pattern
10157 tSCC zVxworks_Ioctl_MacroList[] =
10160 * Machine/OS name selection pattern
10162 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10164 (const char*)NULL };
10165 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
10166 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
10169 * Fix Command Arguments for Vxworks_Ioctl_Macro
10171 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10174 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10175 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10180 * Description of Vxworks_Mkdir_Macro fix
10182 tSCC zVxworks_Mkdir_MacroName[] =
10183 "vxworks_mkdir_macro";
10186 * File name selection pattern
10188 tSCC zVxworks_Mkdir_MacroList[] =
10191 * Machine/OS name selection pattern
10193 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
10195 (const char*)NULL };
10196 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
10197 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
10200 * Fix Command Arguments for Vxworks_Mkdir_Macro
10202 static const char* apzVxworks_Mkdir_MacroPatch[] = {
10205 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
10206 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10209 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10211 * Description of Vxworks_Needs_Vxtypes fix
10213 tSCC zVxworks_Needs_VxtypesName[] =
10214 "vxworks_needs_vxtypes";
10217 * File name selection pattern
10219 tSCC zVxworks_Needs_VxtypesList[] =
10222 * Machine/OS name selection pattern
10224 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10227 * content selection pattern - do fix if pattern found
10229 tSCC zVxworks_Needs_VxtypesSelect0[] =
10230 "uint_t([ \t]+_clocks_per_sec)";
10232 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
10233 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10234 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10237 * Fix Command Arguments for Vxworks_Needs_Vxtypes
10239 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10246 * Description of Vxworks_Needs_Vxworks fix
10248 tSCC zVxworks_Needs_VxworksName[] =
10249 "vxworks_needs_vxworks";
10252 * File name selection pattern
10254 tSCC zVxworks_Needs_VxworksList[] =
10257 * Machine/OS name selection pattern
10259 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10262 * content selection pattern - do fix if pattern found
10264 tSCC zVxworks_Needs_VxworksSelect0[] =
10265 "#[ \t]define[ \t]+__INCstath";
10268 * perform the 'test' shell command - do fix on success
10270 tSCC zVxworks_Needs_VxworksTest0[] =
10271 " -r types/vxTypesOld.h";
10272 tSCC zVxworks_Needs_VxworksTest1[] =
10273 " -n \"`egrep '#include' $file`\"";
10274 tSCC zVxworks_Needs_VxworksTest2[] =
10275 " -n \"`egrep ULONG $file`\"";
10277 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10278 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10279 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10280 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10281 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10282 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10285 * Fix Command Arguments for Vxworks_Needs_Vxworks
10287 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10288 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10289 #include <types/vxTypesOld.h>\n",
10292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10294 * Description of Vxworks_Regs fix
10296 tSCC zVxworks_RegsName[] =
10300 * File name selection pattern
10302 #define zVxworks_RegsList (char*)NULL
10304 * Machine/OS name selection pattern
10306 tSCC* apzVxworks_RegsMachs[] = {
10308 (const char*)NULL };
10311 * content selection pattern - do fix if pattern found
10313 tSCC zVxworks_RegsSelect0[] =
10314 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10316 #define VXWORKS_REGS_TEST_CT 1
10317 static tTestDesc aVxworks_RegsTests[] = {
10318 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10321 * Fix Command Arguments for Vxworks_Regs
10323 static const char* apzVxworks_RegsPatch[] = {
10325 "#include <arch/../regs.h>",
10328 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10330 * Description of Vxworks_Time fix
10332 tSCC zVxworks_TimeName[] =
10336 * File name selection pattern
10338 tSCC zVxworks_TimeList[] =
10341 * Machine/OS name selection pattern
10343 #define apzVxworks_TimeMachs (const char**)NULL
10346 * content selection pattern - do fix if pattern found
10348 tSCC zVxworks_TimeSelect0[] =
10349 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10352 * perform the 'test' shell command - do fix on success
10354 tSCC zVxworks_TimeTest0[] =
10357 #define VXWORKS_TIME_TEST_CT 2
10358 static tTestDesc aVxworks_TimeTests[] = {
10359 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10360 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10363 * Fix Command Arguments for Vxworks_Time
10365 static const char* apzVxworks_TimePatch[] = {
10367 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10368 #ifdef __cplusplus\n\
10369 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10371 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10373 #define __gcc_VOIDFUNCPTR_defined\n\
10375 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10380 * Description of Vxworks_Write_Const fix
10382 tSCC zVxworks_Write_ConstName[] =
10383 "vxworks_write_const";
10386 * File name selection pattern
10388 tSCC zVxworks_Write_ConstList[] =
10391 * Machine/OS name selection pattern
10393 tSCC* apzVxworks_Write_ConstMachs[] = {
10395 (const char*)NULL };
10396 #define VXWORKS_WRITE_CONST_TEST_CT 0
10397 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10400 * Fix Command Arguments for Vxworks_Write_Const
10402 static const char* apzVxworks_Write_ConstPatch[] = {
10404 "extern int write (int, const char*, size_t);",
10405 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10410 * Description of Vxworks_Iolib_Include_Unistd fix
10412 tSCC zVxworks_Iolib_Include_UnistdName[] =
10413 "vxworks_iolib_include_unistd";
10416 * File name selection pattern
10418 tSCC zVxworks_Iolib_Include_UnistdList[] =
10421 * Machine/OS name selection pattern
10423 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10425 (const char*)NULL };
10428 * content selection pattern - do fix if pattern found
10430 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10431 "#include \"unistd.h\"";
10433 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10434 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10435 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10438 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10440 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10442 "#include <unistd.h>",
10445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10447 * Description of X11_Class fix
10449 tSCC zX11_ClassName[] =
10453 * File name selection pattern
10455 tSCC zX11_ClassList[] =
10458 * Machine/OS name selection pattern
10460 #define apzX11_ClassMachs (const char**)NULL
10463 * content selection pattern - do fix if pattern found
10465 tSCC zX11_ClassSelect0[] =
10466 "^([ \t]*char \\*)class;(.*)";
10469 * content bypass pattern - skip fix if pattern found
10471 tSCC zX11_ClassBypass0[] =
10474 #define X11_CLASS_TEST_CT 2
10475 static tTestDesc aX11_ClassTests[] = {
10476 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10477 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10480 * Fix Command Arguments for X11_Class
10482 static const char* apzX11_ClassPatch[] = {
10484 "#ifdef __cplusplus\n\
10491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10493 * Description of X11_Class_Usage fix
10495 tSCC zX11_Class_UsageName[] =
10499 * File name selection pattern
10501 tSCC zX11_Class_UsageList[] =
10502 "Xm/BaseClassI.h\0";
10504 * Machine/OS name selection pattern
10506 #define apzX11_Class_UsageMachs (const char**)NULL
10509 * content selection pattern - do fix if pattern found
10511 tSCC zX11_Class_UsageSelect0[] =
10515 * content bypass pattern - skip fix if pattern found
10517 tSCC zX11_Class_UsageBypass0[] =
10520 #define X11_CLASS_USAGE_TEST_CT 2
10521 static tTestDesc aX11_Class_UsageTests[] = {
10522 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10523 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10526 * Fix Command Arguments for X11_Class_Usage
10528 static const char* apzX11_Class_UsagePatch[] = {
10533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10535 * Description of X11_New fix
10537 tSCC zX11_NewName[] =
10541 * File name selection pattern
10543 tSCC zX11_NewList[] =
10544 "Xm/Traversal.h\0";
10546 * Machine/OS name selection pattern
10548 #define apzX11_NewMachs (const char**)NULL
10551 * content bypass pattern - skip fix if pattern found
10553 tSCC zX11_NewBypass0[] =
10556 #define X11_NEW_TEST_CT 1
10557 static tTestDesc aX11_NewTests[] = {
10558 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10561 * Fix Command Arguments for X11_New
10563 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10564 "-e", "/Widget\told, new;/i\\\n\
10565 #ifdef __cplusplus\\\n\
10566 \\\tWidget\told, c_new;\\\n\
10568 "-e", "/Widget\told, new;/a\\\n\
10570 "-e", "s/Widget new,/Widget c_new,/g",
10573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10575 * Description of X11_Sprintf fix
10577 tSCC zX11_SprintfName[] =
10581 * File name selection pattern
10583 tSCC zX11_SprintfList[] =
10584 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10586 * Machine/OS name selection pattern
10588 #define apzX11_SprintfMachs (const char**)NULL
10591 * content selection pattern - do fix if pattern found
10593 tSCC zX11_SprintfSelect0[] =
10594 "^extern char \\*\tsprintf\\(\\);$";
10596 #define X11_SPRINTF_TEST_CT 1
10597 static tTestDesc aX11_SprintfTests[] = {
10598 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10601 * Fix Command Arguments for X11_Sprintf
10603 static const char* apzX11_SprintfPatch[] = {
10605 "#ifndef __STDC__\n\
10607 #endif /* !defined __STDC__ */",
10611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10613 * List of all fixes
10615 #define REGEX_COUNT 299
10616 #define MACH_LIST_SIZE_LIMIT 187
10617 #define FIX_COUNT 261
10620 * Enumerate the fixes
10623 AAB_AIX_STDIO_FIXIDX,
10624 AAB_AIX_FCNTL_FIXIDX,
10625 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10626 DARWIN_API_AVAILABILITY_FIXIDX,
10627 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10628 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10629 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10630 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10631 AAB_SUN_MEMCPY_FIXIDX,
10632 AAB_VXWORKS_ASSERT_FIXIDX,
10633 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10634 AAB_VXWORKS_UNISTD_FIXIDX,
10636 AIX_COMPLEX_FIXIDX,
10637 AIX_EXTERNC_FIXIDX,
10638 AIX_EXTERNCPP1_FIXIDX,
10639 AIX_EXTERNCPP2_FIXIDX,
10640 AIX_INTTYPES_FIXIDX,
10642 AIX_NET_IF_ARP_FIXIDX,
10644 AIX_ONCE_INIT_1_FIXIDX,
10645 AIX_ONCE_INIT_2_FIXIDX,
10646 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10647 AIX_COND_INITIALIZER_1_FIXIDX,
10648 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10649 AIX_PHYSADR_T_FIXIDX,
10650 AIX_PTHREAD_FIXIDX,
10651 AIX_STDINT_1_FIXIDX,
10652 AIX_STDINT_2_FIXIDX,
10653 AIX_STDINT_3_FIXIDX,
10654 AIX_STDINT_4_FIXIDX,
10655 AIX_STDINT_5_FIXIDX,
10656 AIX_STDIO_INLINE_FIXIDX,
10657 AIX_STDLIB_MALLOC_FIXIDX,
10658 AIX_STDLIB_REALLOC_FIXIDX,
10659 AIX_STDLIB_CALLOC_FIXIDX,
10660 AIX_STDLIB_VALLOC_FIXIDX,
10661 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10662 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10663 AIX_STRTOF_CONST_FIXIDX,
10664 AIX_SYSMACHINE_FIXIDX,
10665 AIX_SYSWAIT_2_FIXIDX,
10666 AIX_VOLATILE_FIXIDX,
10668 ALPHA___ASSERT_FIXIDX,
10669 ALPHA_ASSERT_FIXIDX,
10670 ALPHA_GETOPT_FIXIDX,
10671 ALPHA_IF_SEMICOLON_FIXIDX,
10672 ALPHA_PARENS_FIXIDX,
10674 AVOID_BOOL_DEFINE_FIXIDX,
10675 AVOID_BOOL_TYPE_FIXIDX,
10676 AVOID_WCHAR_T_TYPE_FIXIDX,
10677 BAD_STRUCT_TERM_FIXIDX,
10679 BROKEN_ASSERT_STDIO_FIXIDX,
10680 BROKEN_ASSERT_STDLIB_FIXIDX,
10681 BROKEN_CABS_FIXIDX,
10683 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10684 CTRL_QUOTES_DEF_FIXIDX,
10685 CTRL_QUOTES_USE_FIXIDX,
10686 CXX_UNREADY_FIXIDX,
10687 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10688 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10689 DARWIN_EXTERNC_FIXIDX,
10690 DARWIN_GCC4_BREAKAGE_FIXIDX,
10691 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10692 DARWIN_LONGJMP_NORETURN_FIXIDX,
10693 DARWIN_OS_TRACE_1_FIXIDX,
10694 DARWIN_OS_TRACE_2_FIXIDX,
10695 DARWIN_OS_TRACE_3_FIXIDX,
10696 DARWIN_OS_BASE_1_FIXIDX,
10697 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10698 DARWIN_PRIVATE_EXTERN_FIXIDX,
10699 DARWIN_STDINT_1_FIXIDX,
10700 DARWIN_STDINT_2_FIXIDX,
10701 DARWIN_STDINT_3_FIXIDX,
10702 DARWIN_STDINT_4_FIXIDX,
10703 DARWIN_STDINT_5_FIXIDX,
10704 DARWIN_STDINT_6_FIXIDX,
10705 DARWIN_STDINT_7_FIXIDX,
10706 DARWIN_UCRED__ATOMIC_FIXIDX,
10707 DEC_INTERN_ASM_FIXIDX,
10708 DJGPP_WCHAR_H_FIXIDX,
10710 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10711 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10712 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10713 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10714 GLIBC_C99_INLINE_1_FIXIDX,
10715 GLIBC_C99_INLINE_1A_FIXIDX,
10716 GLIBC_C99_INLINE_2_FIXIDX,
10717 GLIBC_C99_INLINE_3_FIXIDX,
10718 GLIBC_C99_INLINE_4_FIXIDX,
10719 GLIBC_MUTEX_INIT_FIXIDX,
10720 GLIBC_STDINT_FIXIDX,
10721 GLIBC_STRNCPY_FIXIDX,
10722 GLIBC_TGMATH_FIXIDX,
10726 HPPA_HPUX_FP_MACROS_FIXIDX,
10727 HPUX10_CPP_POW_INLINE_FIXIDX,
10728 HPUX11_CPP_POW_INLINE_FIXIDX,
10729 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10730 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10731 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10732 HPPA_HPUX11_ALLOCA_FIXIDX,
10734 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10735 HPUX11_EXTERN_SENDFILE_FIXIDX,
10736 HPUX11_EXTERN_SENDPATH_FIXIDX,
10737 HPUX11_FABSF_FIXIDX,
10738 HPUX11_PTHREAD_POINTER_FIXIDX,
10739 HPUX11_PTHREAD_CONST_FIXIDX,
10740 HPUX11_SIZE_T_FIXIDX,
10741 HPUX11_SNPRINTF_FIXIDX,
10742 HPUX11_VSNPRINTF_FIXIDX,
10743 HPUX_VSSCANF_FIXIDX,
10744 HPUX8_BOGUS_INLINES_FIXIDX,
10745 HPUX_C99_INTPTR_FIXIDX,
10746 HPUX_C99_INTTYPES_FIXIDX,
10747 HPUX_C99_INTTYPES2_FIXIDX,
10748 HPUX_C99_INTTYPES3_FIXIDX,
10749 HPUX_C99_INTTYPES4_FIXIDX,
10750 HPUX_C99_INTTYPES5_FIXIDX,
10751 HPUX_CTYPE_MACROS_FIXIDX,
10752 HPUX_EXTERN_ERRNO_FIXIDX,
10754 HPUX_IMAGINARY_I_FIXIDX,
10755 HPUX_INTTYPE_INT8_T_FIXIDX,
10756 HPUX_LONG_DOUBLE_FIXIDX,
10757 HPUX_LONG_DOUBLE_2_FIXIDX,
10758 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10759 HPUX_SPU_INFO_FIXIDX,
10760 HPUX_STDINT_LEAST_FAST_FIXIDX,
10761 HPUX_LONGJMP_FIXIDX,
10762 HPUX_SYSTIME_FIXIDX,
10763 HUGE_VAL_HEX_FIXIDX,
10764 HUGE_VALF_HEX_FIXIDX,
10765 HUGE_VALL_HEX_FIXIDX,
10766 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10767 IO_QUOTES_DEF_FIXIDX,
10768 IO_QUOTES_USE_FIXIDX,
10769 IP_MISSING_SEMI_FIXIDX,
10770 IRIX_LIMITS_CONST_FIXIDX,
10771 IRIX_STDIO_VA_LIST_FIXIDX,
10772 KANDR_CONCAT_FIXIDX,
10773 LINUX_IA64_UCONTEXT_FIXIDX,
10774 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10775 LYNXOS_MISSING_PUTENV_FIXIDX,
10776 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10777 MACHINE_NAME_FIXIDX,
10778 MATH_EXCEPTION_FIXIDX,
10779 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10780 NESTED_AUTH_DES_FIXIDX,
10781 NETBSD_C99_INLINE_1_FIXIDX,
10782 NETBSD_C99_INLINE_2_FIXIDX,
10783 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10784 NEWLIB_STDINT_1_FIXIDX,
10785 NEWLIB_STDINT_2_FIXIDX,
10786 NEXT_MATH_PREFIX_FIXIDX,
10787 NEXT_TEMPLATE_FIXIDX,
10788 NEXT_VOLITILE_FIXIDX,
10789 NEXT_WAIT_UNION_FIXIDX,
10790 NODEENT_SYNTAX_FIXIDX,
10791 OPENBSD_NULL_DEFINITION_FIXIDX,
10792 OBSTACK_LVALUE_CAST_FIXIDX,
10793 OPENBSD_VA_START_FIXIDX,
10794 OSF_NAMESPACE_A_FIXIDX,
10795 OSF_NAMESPACE_C_FIXIDX,
10796 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10797 READ_RET_TYPE_FIXIDX,
10798 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10799 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10800 RS6000_DOUBLE_FIXIDX,
10801 RS6000_FCHMOD_FIXIDX,
10802 RS6000_PARAM_FIXIDX,
10803 SOLARIS___RESTRICT_FIXIDX,
10804 SOLARIS_COMPLEX_FIXIDX,
10805 SOLARIS_COMPLEX_CXX_FIXIDX,
10806 SOLARIS_CXX_LINKAGE_FIXIDX,
10807 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10808 SOLARIS_GETS_C11_FIXIDX,
10809 SOLARIS_GETS_CXX14_FIXIDX,
10810 SOLARIS_INT_CONST_FIXIDX,
10811 SOLARIS_INT_LIMITS_1_FIXIDX,
10812 SOLARIS_INT_LIMITS_2_FIXIDX,
10813 SOLARIS_INT_LIMITS_3_FIXIDX,
10814 SOLARIS_MATH_1_FIXIDX,
10815 SOLARIS_MATH_10_FIXIDX,
10816 SOLARIS_MATH_2_FIXIDX,
10817 SOLARIS_MATH_3_FIXIDX,
10818 SOLARIS_MATH_4_FIXIDX,
10819 SOLARIS_MATH_8_FIXIDX,
10820 SOLARIS_MATH_9_FIXIDX,
10821 SOLARIS_MATH_11_FIXIDX,
10822 SOLARIS_MATH_12_FIXIDX,
10823 SOLARIS_ONCE_INIT_1_FIXIDX,
10824 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10825 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10826 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10827 SOLARIS_STD___FILBUF_FIXIDX,
10828 SOLARIS_STD_GETS_CXX14_FIXIDX,
10829 SOLARIS_STDIO_TAG_FIXIDX,
10830 SOLARIS_STDLIB_NORETURN_FIXIDX,
10832 STDIO_STDARG_H_FIXIDX,
10833 STDIO_VA_LIST_FIXIDX,
10834 STDIO_VA_LIST_CLIENTS_FIXIDX,
10835 STRICT_ANSI_NOT_FIXIDX,
10836 STRICT_ANSI_NOT_CTD_FIXIDX,
10837 STRICT_ANSI_ONLY_FIXIDX,
10838 STRUCT_FILE_FIXIDX,
10839 STRUCT_SOCKADDR_FIXIDX,
10840 SUN_AUTH_PROTO_FIXIDX,
10841 SUN_BOGUS_IFDEF_FIXIDX,
10842 SUN_CATMACRO_FIXIDX,
10844 SUN_RUSERS_SEMI_FIXIDX,
10846 SUNOS_STRLEN_FIXIDX,
10847 SUSE_LINUX_VT_CXX_FIXIDX,
10848 SVR4_DISABLE_OPT_FIXIDX,
10849 SVR4_GETCWD_FIXIDX,
10850 SVR4_PROFIL_FIXIDX,
10851 SVR4_SIGHANDLER_TYPE_FIXIDX,
10852 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10853 SYSV68_STRING_FIXIDX,
10854 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10855 THREAD_KEYWORD_FIXIDX,
10856 TINFO_CPLUSPLUS_FIXIDX,
10857 ULTRIX_CONST_FIXIDX,
10858 ULTRIX_CONST2_FIXIDX,
10859 VA_I960_MACRO_FIXIDX,
10860 VMS_ADD_MISSING_BRACES_FIXIDX,
10861 VMS_DECC_BUILTIN_FIXIDX,
10862 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10863 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10864 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10865 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10866 VMS_NO_64BIT_GETOPT_FIXIDX,
10867 VMS_USE_FAST_SETJMP_FIXIDX,
10868 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10869 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10871 VXWORKS_GCC_PROBLEM_FIXIDX,
10872 VXWORKS_IOCTL_MACRO_FIXIDX,
10873 VXWORKS_MKDIR_MACRO_FIXIDX,
10874 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10875 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10876 VXWORKS_REGS_FIXIDX,
10877 VXWORKS_TIME_FIXIDX,
10878 VXWORKS_WRITE_CONST_FIXIDX,
10879 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10881 X11_CLASS_USAGE_FIXIDX,
10886 tFixDesc fixDescList[ FIX_COUNT ] = {
10887 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10888 apzAab_Aix_StdioMachs,
10889 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10890 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10892 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10893 apzAab_Aix_FcntlMachs,
10894 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10895 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10897 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10898 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10899 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10900 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10902 { zDarwin_Api_AvailabilityName, zDarwin_Api_AvailabilityList,
10903 apzDarwin_Api_AvailabilityMachs,
10904 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10905 aDarwin_Api_AvailabilityTests, apzDarwin_Api_AvailabilityPatch, 0 },
10907 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10908 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10909 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10910 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10912 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10913 apzAab_Fd_Zero_Gnu_Types_HMachs,
10914 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10915 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10917 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10918 apzAab_Fd_Zero_Selectbits_HMachs,
10919 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10920 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10922 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10923 apzAab_Solaris_Sys_Varargs_HMachs,
10924 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10925 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10927 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10928 apzAab_Sun_MemcpyMachs,
10929 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10930 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10932 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10933 apzAab_Vxworks_AssertMachs,
10934 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10935 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10937 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10938 apzAab_Vxworks_Regs_VxtypesMachs,
10939 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10940 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10942 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10943 apzAab_Vxworks_UnistdMachs,
10944 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10945 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10947 { zAix_AssertName, zAix_AssertList,
10948 apzAix_AssertMachs,
10949 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10950 aAix_AssertTests, apzAix_AssertPatch, 0 },
10952 { zAix_ComplexName, zAix_ComplexList,
10953 apzAix_ComplexMachs,
10954 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10955 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10957 { zAix_ExterncName, zAix_ExterncList,
10958 apzAix_ExterncMachs,
10959 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10960 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10962 { zAix_Externcpp1Name, zAix_Externcpp1List,
10963 apzAix_Externcpp1Machs,
10964 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10965 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10967 { zAix_Externcpp2Name, zAix_Externcpp2List,
10968 apzAix_Externcpp2Machs,
10969 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10970 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10972 { zAix_InttypesName, zAix_InttypesList,
10973 apzAix_InttypesMachs,
10974 AIX_INTTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10975 aAix_InttypesTests, apzAix_InttypesPatch, 0 },
10977 { zAix_MallocName, zAix_MallocList,
10978 apzAix_MallocMachs,
10979 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10980 aAix_MallocTests, apzAix_MallocPatch, 0 },
10982 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10983 apzAix_Net_If_ArpMachs,
10984 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10985 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10987 { zAix_NullName, zAix_NullList,
10989 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10990 aAix_NullTests, apzAix_NullPatch, 0 },
10992 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10993 apzAix_Once_Init_1Machs,
10994 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10995 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10997 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10998 apzAix_Once_Init_2Machs,
10999 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11000 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
11002 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
11003 apzAix_Mutex_Initializer_1Machs,
11004 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11005 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
11007 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
11008 apzAix_Cond_Initializer_1Machs,
11009 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11010 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
11012 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
11013 apzAix_Rwlock_Initializer_1Machs,
11014 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11015 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
11017 { zAix_Physadr_TName, zAix_Physadr_TList,
11018 apzAix_Physadr_TMachs,
11019 AIX_PHYSADR_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11020 aAix_Physadr_TTests, apzAix_Physadr_TPatch, 0 },
11022 { zAix_PthreadName, zAix_PthreadList,
11023 apzAix_PthreadMachs,
11024 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11025 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
11027 { zAix_Stdint_1Name, zAix_Stdint_1List,
11028 apzAix_Stdint_1Machs,
11029 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11030 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
11032 { zAix_Stdint_2Name, zAix_Stdint_2List,
11033 apzAix_Stdint_2Machs,
11034 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11035 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
11037 { zAix_Stdint_3Name, zAix_Stdint_3List,
11038 apzAix_Stdint_3Machs,
11039 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11040 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
11042 { zAix_Stdint_4Name, zAix_Stdint_4List,
11043 apzAix_Stdint_4Machs,
11044 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11045 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
11047 { zAix_Stdint_5Name, zAix_Stdint_5List,
11048 apzAix_Stdint_5Machs,
11049 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11050 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
11052 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
11053 apzAix_Stdio_InlineMachs,
11054 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11055 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
11057 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
11058 apzAix_Stdlib_MallocMachs,
11059 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11060 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
11062 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
11063 apzAix_Stdlib_ReallocMachs,
11064 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11065 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
11067 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
11068 apzAix_Stdlib_CallocMachs,
11069 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11070 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
11072 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
11073 apzAix_Stdlib_VallocMachs,
11074 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11075 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
11077 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
11078 apzAix_Stdlib_Vec_MallocMachs,
11079 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11080 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
11082 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
11083 apzAix_Stdlib_Vec_CallocMachs,
11084 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11085 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
11087 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
11088 apzAix_Strtof_ConstMachs,
11089 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11090 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
11092 { zAix_SysmachineName, zAix_SysmachineList,
11093 apzAix_SysmachineMachs,
11094 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11095 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
11097 { zAix_Syswait_2Name, zAix_Syswait_2List,
11098 apzAix_Syswait_2Machs,
11099 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11100 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
11102 { zAix_VolatileName, zAix_VolatileList,
11103 apzAix_VolatileMachs,
11104 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11105 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
11107 { zAix_UnistdName, zAix_UnistdList,
11108 apzAix_UnistdMachs,
11109 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11110 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
11112 { zAlpha___AssertName, zAlpha___AssertList,
11113 apzAlpha___AssertMachs,
11114 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11115 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
11117 { zAlpha_AssertName, zAlpha_AssertList,
11118 apzAlpha_AssertMachs,
11119 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11120 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
11122 { zAlpha_GetoptName, zAlpha_GetoptList,
11123 apzAlpha_GetoptMachs,
11124 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11125 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
11127 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
11128 apzAlpha_If_SemicolonMachs,
11129 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11130 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
11132 { zAlpha_ParensName, zAlpha_ParensList,
11133 apzAlpha_ParensMachs,
11134 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11135 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
11137 { zAlpha_SbrkName, zAlpha_SbrkList,
11138 apzAlpha_SbrkMachs,
11139 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11140 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
11142 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
11143 apzAvoid_Bool_DefineMachs,
11144 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11145 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
11147 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
11148 apzAvoid_Bool_TypeMachs,
11149 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11150 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
11152 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
11153 apzAvoid_Wchar_T_TypeMachs,
11154 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11155 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
11157 { zBad_Struct_TermName, zBad_Struct_TermList,
11158 apzBad_Struct_TermMachs,
11159 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11160 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
11162 { zBadquoteName, zBadquoteList,
11164 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11165 aBadquoteTests, apzBadquotePatch, 0 },
11167 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
11168 apzBroken_Assert_StdioMachs,
11169 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11170 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
11172 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
11173 apzBroken_Assert_StdlibMachs,
11174 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11175 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
11177 { zBroken_CabsName, zBroken_CabsList,
11178 apzBroken_CabsMachs,
11179 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11180 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
11182 { zBroken_NanName, zBroken_NanList,
11183 apzBroken_NanMachs,
11184 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11185 aBroken_NanTests, apzBroken_NanPatch, 0 },
11187 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
11188 apzBsd_Stdio_Attrs_ConflictMachs,
11189 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11190 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11192 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
11193 apzCtrl_Quotes_DefMachs,
11194 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11195 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
11197 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
11198 apzCtrl_Quotes_UseMachs,
11199 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11200 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
11202 { zCxx_UnreadyName, zCxx_UnreadyList,
11203 apzCxx_UnreadyMachs,
11204 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11205 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
11207 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
11208 apzDarwin_AvailabilityinternalMachs,
11209 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11210 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
11212 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
11213 apzDarwin_9_Long_Double_Funcs_2Machs,
11214 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11215 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11217 { zDarwin_ExterncName, zDarwin_ExterncList,
11218 apzDarwin_ExterncMachs,
11219 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11220 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
11222 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
11223 apzDarwin_Gcc4_BreakageMachs,
11224 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11225 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
11227 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
11228 apzDarwin_Ll_Funcs_AvailMachs,
11229 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11230 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
11232 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
11233 apzDarwin_Longjmp_NoreturnMachs,
11234 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11235 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
11237 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
11238 apzDarwin_Os_Trace_1Machs,
11239 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11240 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
11242 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
11243 apzDarwin_Os_Trace_2Machs,
11244 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11245 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
11247 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
11248 apzDarwin_Os_Trace_3Machs,
11249 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11250 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
11252 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
11253 apzDarwin_Os_Base_1Machs,
11254 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11255 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
11257 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
11258 apzDarwin_Dispatch_Object_1Machs,
11259 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11260 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
11262 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
11263 apzDarwin_Private_ExternMachs,
11264 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11265 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
11267 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
11268 apzDarwin_Stdint_1Machs,
11269 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11270 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
11272 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
11273 apzDarwin_Stdint_2Machs,
11274 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11275 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
11277 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
11278 apzDarwin_Stdint_3Machs,
11279 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11280 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
11282 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
11283 apzDarwin_Stdint_4Machs,
11284 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11285 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11287 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11288 apzDarwin_Stdint_5Machs,
11289 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11290 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11292 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11293 apzDarwin_Stdint_6Machs,
11294 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11295 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11297 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11298 apzDarwin_Stdint_7Machs,
11299 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11300 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11302 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11303 apzDarwin_Ucred__AtomicMachs,
11304 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11305 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11307 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11308 apzDec_Intern_AsmMachs,
11309 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11310 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11312 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11313 apzDjgpp_Wchar_HMachs,
11314 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11315 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11317 { zEcd_CursorName, zEcd_CursorList,
11318 apzEcd_CursorMachs,
11319 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11320 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11322 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11323 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11324 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11325 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11327 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11328 apzFeraiseexcept_Nosse_InvalidMachs,
11329 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11330 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11332 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11333 apzFreebsd_Gcc3_BreakageMachs,
11334 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11335 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11337 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11338 apzFreebsd_Gcc4_BreakageMachs,
11339 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11340 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11342 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11343 apzGlibc_C99_Inline_1Machs,
11344 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11345 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11347 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11348 apzGlibc_C99_Inline_1aMachs,
11349 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11350 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11352 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11353 apzGlibc_C99_Inline_2Machs,
11354 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11355 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11357 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11358 apzGlibc_C99_Inline_3Machs,
11359 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11360 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11362 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11363 apzGlibc_C99_Inline_4Machs,
11364 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11365 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11367 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11368 apzGlibc_Mutex_InitMachs,
11369 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11370 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11372 { zGlibc_StdintName, zGlibc_StdintList,
11373 apzGlibc_StdintMachs,
11374 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11375 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11377 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11378 apzGlibc_StrncpyMachs,
11379 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11380 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11382 { zGlibc_TgmathName, zGlibc_TgmathList,
11383 apzGlibc_TgmathMachs,
11384 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11385 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11387 { zGnu_TypesName, zGnu_TypesList,
11389 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11390 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11392 { zHp_InlineName, zHp_InlineList,
11394 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11395 aHp_InlineTests, apzHp_InlinePatch, 0 },
11397 { zHp_SysfileName, zHp_SysfileList,
11398 apzHp_SysfileMachs,
11399 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11400 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11402 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11403 apzHppa_Hpux_Fp_MacrosMachs,
11404 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11405 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11407 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11408 apzHpux10_Cpp_Pow_InlineMachs,
11409 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11410 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11412 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11413 apzHpux11_Cpp_Pow_InlineMachs,
11414 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11415 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11417 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11418 apzHpux10_Ctype_Declarations1Machs,
11419 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11420 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11422 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11423 apzHpux10_Ctype_Declarations2Machs,
11424 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11425 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11427 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11428 apzHpux10_Stdio_DeclarationsMachs,
11429 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11430 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11432 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11433 apzHppa_Hpux11_AllocaMachs,
11434 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11435 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11437 { zHpux11_AbsName, zHpux11_AbsList,
11438 apzHpux11_AbsMachs,
11439 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11440 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11442 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11443 apzHpux11_Lwp_Rwlock_ValidMachs,
11444 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11445 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11447 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11448 apzHpux11_Extern_SendfileMachs,
11449 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11450 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11452 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11453 apzHpux11_Extern_SendpathMachs,
11454 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11455 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11457 { zHpux11_FabsfName, zHpux11_FabsfList,
11458 apzHpux11_FabsfMachs,
11459 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11460 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11462 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11463 apzHpux11_Pthread_PointerMachs,
11464 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11465 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11467 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11468 apzHpux11_Pthread_ConstMachs,
11469 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11470 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11472 { zHpux11_Size_TName, zHpux11_Size_TList,
11473 apzHpux11_Size_TMachs,
11474 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11475 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11477 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11478 apzHpux11_SnprintfMachs,
11479 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11480 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11482 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11483 apzHpux11_VsnprintfMachs,
11484 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11485 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11487 { zHpux_VsscanfName, zHpux_VsscanfList,
11488 apzHpux_VsscanfMachs,
11489 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11490 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11492 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11493 apzHpux8_Bogus_InlinesMachs,
11494 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11495 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11497 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11498 apzHpux_C99_IntptrMachs,
11499 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11500 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11502 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11503 apzHpux_C99_InttypesMachs,
11504 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11505 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11507 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11508 apzHpux_C99_Inttypes2Machs,
11509 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11510 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11512 { zHpux_C99_Inttypes3Name, zHpux_C99_Inttypes3List,
11513 apzHpux_C99_Inttypes3Machs,
11514 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11515 aHpux_C99_Inttypes3Tests, apzHpux_C99_Inttypes3Patch, 0 },
11517 { zHpux_C99_Inttypes4Name, zHpux_C99_Inttypes4List,
11518 apzHpux_C99_Inttypes4Machs,
11519 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
11520 aHpux_C99_Inttypes4Tests, apzHpux_C99_Inttypes4Patch, 0 },
11522 { zHpux_C99_Inttypes5Name, zHpux_C99_Inttypes5List,
11523 apzHpux_C99_Inttypes5Machs,
11524 HPUX_C99_INTTYPES5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11525 aHpux_C99_Inttypes5Tests, apzHpux_C99_Inttypes5Patch, 0 },
11527 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11528 apzHpux_Ctype_MacrosMachs,
11529 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11530 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11532 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11533 apzHpux_Extern_ErrnoMachs,
11534 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11535 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11537 { zHpux_HtonlName, zHpux_HtonlList,
11538 apzHpux_HtonlMachs,
11539 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11540 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11542 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11543 apzHpux_Imaginary_IMachs,
11544 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11545 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11547 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11548 apzHpux_Inttype_Int8_TMachs,
11549 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11550 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11552 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11553 apzHpux_Long_DoubleMachs,
11554 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11555 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11557 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11558 apzHpux_Long_Double_2Machs,
11559 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11560 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11562 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11563 apzHpux_Pthread_InitializersMachs,
11564 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11565 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11567 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11568 apzHpux_Spu_InfoMachs,
11569 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11570 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11572 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11573 apzHpux_Stdint_Least_FastMachs,
11574 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11575 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11577 { zHpux_LongjmpName, zHpux_LongjmpList,
11578 apzHpux_LongjmpMachs,
11579 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11580 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11582 { zHpux_SystimeName, zHpux_SystimeList,
11583 apzHpux_SystimeMachs,
11584 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11585 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11587 { zHuge_Val_HexName, zHuge_Val_HexList,
11588 apzHuge_Val_HexMachs,
11589 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11590 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11592 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11593 apzHuge_Valf_HexMachs,
11594 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11595 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11597 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11598 apzHuge_Vall_HexMachs,
11599 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11600 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11602 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11603 apzInt_Abort_Free_And_ExitMachs,
11604 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11605 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11607 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11608 apzIo_Quotes_DefMachs,
11609 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11610 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11612 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11613 apzIo_Quotes_UseMachs,
11614 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11615 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11617 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11618 apzIp_Missing_SemiMachs,
11619 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11620 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11622 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11623 apzIrix_Limits_ConstMachs,
11624 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11625 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11627 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11628 apzIrix_Stdio_Va_ListMachs,
11629 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11630 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11632 { zKandr_ConcatName, zKandr_ConcatList,
11633 apzKandr_ConcatMachs,
11634 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11635 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11637 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11638 apzLinux_Ia64_UcontextMachs,
11639 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11640 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11642 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11643 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11644 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11645 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11647 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11648 apzLynxos_Missing_PutenvMachs,
11649 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11650 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11652 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11653 apzMachine_Ansi_H_Va_ListMachs,
11654 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11655 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11657 { zMachine_NameName, zMachine_NameList,
11658 apzMachine_NameMachs,
11659 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11660 aMachine_NameTests, apzMachine_NamePatch, 0 },
11662 { zMath_ExceptionName, zMath_ExceptionList,
11663 apzMath_ExceptionMachs,
11664 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11665 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11667 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11668 apzMath_Huge_Val_From_Dbl_MaxMachs,
11669 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11670 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11672 { zNested_Auth_DesName, zNested_Auth_DesList,
11673 apzNested_Auth_DesMachs,
11674 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11675 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11677 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11678 apzNetbsd_C99_Inline_1Machs,
11679 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11680 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11682 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11683 apzNetbsd_C99_Inline_2Machs,
11684 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11685 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11687 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11688 apzNetbsd_Extra_SemicolonMachs,
11689 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11690 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11692 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11693 apzNewlib_Stdint_1Machs,
11694 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11695 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11697 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11698 apzNewlib_Stdint_2Machs,
11699 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11700 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11702 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11703 apzNext_Math_PrefixMachs,
11704 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11705 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11707 { zNext_TemplateName, zNext_TemplateList,
11708 apzNext_TemplateMachs,
11709 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11710 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11712 { zNext_VolitileName, zNext_VolitileList,
11713 apzNext_VolitileMachs,
11714 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11715 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11717 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11718 apzNext_Wait_UnionMachs,
11719 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11720 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11722 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11723 apzNodeent_SyntaxMachs,
11724 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11725 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11727 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11728 apzOpenbsd_Null_DefinitionMachs,
11729 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11730 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11732 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11733 apzObstack_Lvalue_CastMachs,
11734 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11735 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11737 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11738 apzOpenbsd_Va_StartMachs,
11739 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11740 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11742 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11743 apzOsf_Namespace_AMachs,
11744 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11745 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11747 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11748 apzOsf_Namespace_CMachs,
11749 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11750 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11752 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11753 apzPthread_Incomplete_Struct_ArgumentMachs,
11754 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11755 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11757 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11758 apzRead_Ret_TypeMachs,
11759 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11760 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11762 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11763 apzRpc_Xdr_Lvalue_Cast_AMachs,
11764 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11765 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11767 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11768 apzRpc_Xdr_Lvalue_Cast_BMachs,
11769 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11770 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11772 { zRs6000_DoubleName, zRs6000_DoubleList,
11773 apzRs6000_DoubleMachs,
11774 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11775 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11777 { zRs6000_FchmodName, zRs6000_FchmodList,
11778 apzRs6000_FchmodMachs,
11779 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11780 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11782 { zRs6000_ParamName, zRs6000_ParamList,
11783 apzRs6000_ParamMachs,
11784 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11785 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11787 { zSolaris___RestrictName, zSolaris___RestrictList,
11788 apzSolaris___RestrictMachs,
11789 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11790 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11792 { zSolaris_ComplexName, zSolaris_ComplexList,
11793 apzSolaris_ComplexMachs,
11794 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11795 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11797 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11798 apzSolaris_Complex_CxxMachs,
11799 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11800 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11802 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11803 apzSolaris_Cxx_LinkageMachs,
11804 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11805 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11807 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11808 apzSolaris_Getc_Strict_StdcMachs,
11809 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11810 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11812 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11813 apzSolaris_Gets_C11Machs,
11814 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11815 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11817 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11818 apzSolaris_Gets_Cxx14Machs,
11819 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11820 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11822 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11823 apzSolaris_Int_ConstMachs,
11824 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11825 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11827 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11828 apzSolaris_Int_Limits_1Machs,
11829 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11830 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11832 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11833 apzSolaris_Int_Limits_2Machs,
11834 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11835 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11837 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11838 apzSolaris_Int_Limits_3Machs,
11839 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11840 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11842 { zSolaris_Math_1Name, zSolaris_Math_1List,
11843 apzSolaris_Math_1Machs,
11844 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11845 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11847 { zSolaris_Math_10Name, zSolaris_Math_10List,
11848 apzSolaris_Math_10Machs,
11849 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11850 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11852 { zSolaris_Math_2Name, zSolaris_Math_2List,
11853 apzSolaris_Math_2Machs,
11854 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11855 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11857 { zSolaris_Math_3Name, zSolaris_Math_3List,
11858 apzSolaris_Math_3Machs,
11859 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11860 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11862 { zSolaris_Math_4Name, zSolaris_Math_4List,
11863 apzSolaris_Math_4Machs,
11864 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11865 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11867 { zSolaris_Math_8Name, zSolaris_Math_8List,
11868 apzSolaris_Math_8Machs,
11869 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11870 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11872 { zSolaris_Math_9Name, zSolaris_Math_9List,
11873 apzSolaris_Math_9Machs,
11874 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11875 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11877 { zSolaris_Math_11Name, zSolaris_Math_11List,
11878 apzSolaris_Math_11Machs,
11879 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11880 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11882 { zSolaris_Math_12Name, zSolaris_Math_12List,
11883 apzSolaris_Math_12Machs,
11884 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11885 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11887 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11888 apzSolaris_Once_Init_1Machs,
11889 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11890 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11892 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11893 apzSolaris_Posix_Spawn_RestrictMachs,
11894 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11895 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11897 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11898 apzSolaris_Pow_Int_OverloadMachs,
11899 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11900 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11902 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11903 apzSolaris_Rwlock_Init_1Machs,
11904 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11905 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11907 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11908 apzSolaris_Std___FilbufMachs,
11909 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11910 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11912 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11913 apzSolaris_Std_Gets_Cxx14Machs,
11914 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11915 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11917 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11918 apzSolaris_Stdio_TagMachs,
11919 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11920 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11922 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11923 apzSolaris_Stdlib_NoreturnMachs,
11924 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11925 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11927 { zStatsswtchName, zStatsswtchList,
11928 apzStatsswtchMachs,
11929 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11930 aStatsswtchTests, apzStatsswtchPatch, 0 },
11932 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11933 apzStdio_Stdarg_HMachs,
11934 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11935 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11937 { zStdio_Va_ListName, zStdio_Va_ListList,
11938 apzStdio_Va_ListMachs,
11939 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11940 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11942 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11943 apzStdio_Va_List_ClientsMachs,
11944 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11945 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11947 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11948 apzStrict_Ansi_NotMachs,
11949 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11950 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11952 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11953 apzStrict_Ansi_Not_CtdMachs,
11954 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11955 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11957 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11958 apzStrict_Ansi_OnlyMachs,
11959 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11960 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11962 { zStruct_FileName, zStruct_FileList,
11963 apzStruct_FileMachs,
11964 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11965 aStruct_FileTests, apzStruct_FilePatch, 0 },
11967 { zStruct_SockaddrName, zStruct_SockaddrList,
11968 apzStruct_SockaddrMachs,
11969 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11970 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11972 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11973 apzSun_Auth_ProtoMachs,
11974 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11975 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11977 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11978 apzSun_Bogus_IfdefMachs,
11979 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11980 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11982 { zSun_CatmacroName, zSun_CatmacroList,
11983 apzSun_CatmacroMachs,
11984 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11985 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11987 { zSun_MallocName, zSun_MallocList,
11988 apzSun_MallocMachs,
11989 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11990 aSun_MallocTests, apzSun_MallocPatch, 0 },
11992 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11993 apzSun_Rusers_SemiMachs,
11994 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11995 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11997 { zSun_SignalName, zSun_SignalList,
11998 apzSun_SignalMachs,
11999 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12000 aSun_SignalTests, apzSun_SignalPatch, 0 },
12002 { zSunos_StrlenName, zSunos_StrlenList,
12003 apzSunos_StrlenMachs,
12004 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12005 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
12007 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
12008 apzSuse_Linux_Vt_CxxMachs,
12009 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12010 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
12012 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
12013 apzSvr4_Disable_OptMachs,
12014 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
12015 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
12017 { zSvr4_GetcwdName, zSvr4_GetcwdList,
12018 apzSvr4_GetcwdMachs,
12019 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12020 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
12022 { zSvr4_ProfilName, zSvr4_ProfilList,
12023 apzSvr4_ProfilMachs,
12024 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12025 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
12027 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
12028 apzSvr4_Sighandler_TypeMachs,
12029 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12030 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
12032 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
12033 apzSvr4_Undeclared_GetrngeMachs,
12034 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12035 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
12037 { zSysv68_StringName, zSysv68_StringList,
12038 apzSysv68_StringMachs,
12039 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
12040 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
12042 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
12043 apzSysz_Stdlib_For_SunMachs,
12044 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12045 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
12047 { zThread_KeywordName, zThread_KeywordList,
12048 apzThread_KeywordMachs,
12049 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12050 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
12052 { zTinfo_CplusplusName, zTinfo_CplusplusList,
12053 apzTinfo_CplusplusMachs,
12054 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12055 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
12057 { zUltrix_ConstName, zUltrix_ConstList,
12058 apzUltrix_ConstMachs,
12059 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12060 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
12062 { zUltrix_Const2Name, zUltrix_Const2List,
12063 apzUltrix_Const2Machs,
12064 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12065 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
12067 { zVa_I960_MacroName, zVa_I960_MacroList,
12068 apzVa_I960_MacroMachs,
12069 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12070 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
12072 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
12073 apzVms_Add_Missing_BracesMachs,
12074 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12075 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
12077 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
12078 apzVms_Decc_BuiltinMachs,
12079 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
12080 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
12082 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
12083 apzVms_Define_Can_Use_Extern_PrefixMachs,
12084 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12085 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
12087 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
12088 apzVms_Disable_Decc_String_BuiltinsMachs,
12089 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12090 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
12092 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
12093 apzVms_Do_Not_Redeclare_HostaliasMachs,
12094 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12095 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
12097 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
12098 apzVms_Forward_Declare_StructMachs,
12099 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12100 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
12102 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
12103 apzVms_No_64bit_GetoptMachs,
12104 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12105 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
12107 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
12108 apzVms_Use_Fast_SetjmpMachs,
12109 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12110 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
12112 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
12113 apzVms_Use_Pragma_Extern_ModelMachs,
12114 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12115 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
12117 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
12118 apzVms_Use_Quoted_IncludeMachs,
12119 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12120 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
12122 { zVoid_NullName, zVoid_NullList,
12124 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12125 aVoid_NullTests, apzVoid_NullPatch, 0 },
12127 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
12128 apzVxworks_Gcc_ProblemMachs,
12129 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
12130 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
12132 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
12133 apzVxworks_Ioctl_MacroMachs,
12134 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12135 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
12137 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
12138 apzVxworks_Mkdir_MacroMachs,
12139 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12140 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
12142 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
12143 apzVxworks_Needs_VxtypesMachs,
12144 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12145 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
12147 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
12148 apzVxworks_Needs_VxworksMachs,
12149 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
12150 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
12152 { zVxworks_RegsName, zVxworks_RegsList,
12153 apzVxworks_RegsMachs,
12154 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12155 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
12157 { zVxworks_TimeName, zVxworks_TimeList,
12158 apzVxworks_TimeMachs,
12159 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12160 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
12162 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
12163 apzVxworks_Write_ConstMachs,
12164 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12165 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
12167 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
12168 apzVxworks_Iolib_Include_UnistdMachs,
12169 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12170 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
12172 { zX11_ClassName, zX11_ClassList,
12174 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12175 aX11_ClassTests, apzX11_ClassPatch, 0 },
12177 { zX11_Class_UsageName, zX11_Class_UsageList,
12178 apzX11_Class_UsageMachs,
12179 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12180 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
12182 { zX11_NewName, zX11_NewList,
12184 X11_NEW_TEST_CT, FD_MACH_ONLY,
12185 aX11_NewTests, apzX11_NewPatch, 0 },
12187 { zX11_SprintfName, zX11_SprintfList,
12188 apzX11_SprintfMachs,
12189 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12190 aX11_SprintfTests, apzX11_SprintfPatch, 0 }