1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed January 25, 2020 at 12:15:43 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 Sat Jan 25 12:15:43 EST 2020
11 * You must regenerate it. Use the ./genfixes script.
14 * This is part of the fixincl program used to install modified versions of
15 * certain ANSI-incompatible system header files which are fixed to work
16 * correctly with ANSI C and placed in a directory that GNU C will search.
18 * This file contains 258 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
24 * The Free Software Foundation, Inc.
26 * inclhack is free software: you can redistribute it and/or modify it
27 * under the terms of the GNU General Public License as published by the
28 * Free Software Foundation, either version 3 of the License, or
29 * (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful, but
32 * WITHOUT ANY WARRANTY; without even the implied warranty of
33 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
34 * See the GNU General Public License for more details.
36 * You should have received a copy of the GNU General Public License along
37 * with this program. If not, see <http://www.gnu.org/licenses/>.
40 #define SED_PROGRAM "/usr/bin/sed"
42 static char const sed_cmd_z[] = SED_PROGRAM;
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
46 * Description of Aab_Aix_Stdio fix
48 tSCC zAab_Aix_StdioName[] =
52 * File name selection pattern
54 tSCC zAab_Aix_StdioList[] =
57 * Machine/OS name selection pattern
59 tSCC* apzAab_Aix_StdioMachs[] = {
64 * content selection pattern - do fix if pattern found
66 tSCC zAab_Aix_StdioSelect0[] =
67 "define fopen fopen64";
69 #define AAB_AIX_STDIO_TEST_CT 1
70 static tTestDesc aAab_Aix_StdioTests[] = {
71 { TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
74 * Fix Command Arguments for Aab_Aix_Stdio
76 static const char* apzAab_Aix_StdioPatch[] = {
80 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
81 #define __need__aix_stdio_h_fix\n\
82 #ifdef __need__aix_stdio_h_fix\n\
89 /* Alias the symbols using asm */\n\
91 extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
92 extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
93 extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
94 extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
95 extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
96 extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
104 * Description of Aab_Aix_Fcntl fix
106 tSCC zAab_Aix_FcntlName[] =
110 * File name selection pattern
112 tSCC zAab_Aix_FcntlList[] =
115 * Machine/OS name selection pattern
117 tSCC* apzAab_Aix_FcntlMachs[] = {
122 * content selection pattern - do fix if pattern found
124 tSCC zAab_Aix_FcntlSelect0[] =
125 "define open[ \t]open64";
127 #define AAB_AIX_FCNTL_TEST_CT 1
128 static tTestDesc aAab_Aix_FcntlTests[] = {
129 { TT_EGREP, zAab_Aix_FcntlSelect0, (regex_t*)NULL }, };
132 * Fix Command Arguments for Aab_Aix_Fcntl
134 static const char* apzAab_Aix_FcntlPatch[] = {
138 #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
139 #define __need__aix_fcntl_h_fix\n\
140 #ifdef __need__aix_fcntl_h_fix\n\
144 /* Alias the symbols using asm */\n\
146 extern int open(const char *, int, ...) __asm__(\"open64\");\n\
147 extern int creat(const char *, mode_t) __asm__(\"creat64\");\n\
148 #if (_XOPEN_SOURCE >= 700)\n\
149 extern int openat(int, const char *, int, ...) __asm__(\"open64at\");\n\
156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
158 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
160 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
161 "AAB_darwin7_9_long_double_funcs";
164 * File name selection pattern
166 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
167 "architecture/ppc/math.h\0";
169 * Machine/OS name selection pattern
171 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
176 * content bypass pattern - skip fix if pattern found
178 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
181 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
182 static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
183 { TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
186 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
188 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
189 "/* This file prototypes the long double functions available on Mac OS\n\
192 # undef __APPLE_CC__\n\
193 # define __APPLE_CC__ 1345\n\
194 # include_next <architecture/ppc/math.h>\n\
195 # undef __APPLE_CC__\n\
196 # define __APPLE_CC__ 1\n\
197 # ifndef __LIBMLDBL_COMPAT\n\
198 # ifdef __LONG_DOUBLE_128__\n\
199 # define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
201 # define __LIBMLDBL_COMPAT(sym)\n\
202 # endif /* __LONG_DOUBLE_128__ */\n\
203 # endif /* __LIBMLDBL_COMPAT */\n\
204 # ifdef __cplusplus\n\
207 extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
208 extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
209 extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
210 extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
211 extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
212 extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
213 extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
214 extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
215 extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
216 extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
217 extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
218 extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
219 extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
220 extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
221 extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
222 extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
223 extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
224 extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
225 extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
226 extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
227 extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
228 extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
229 extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
230 extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
231 extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
232 extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
233 extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
234 extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
235 extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
236 extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
237 extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
238 extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
239 extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
240 extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
241 extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
242 extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
243 extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
244 extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
245 extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
246 extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
247 extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
248 extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
249 extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
250 extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
251 extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
252 extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
253 extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
254 extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
255 extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
256 extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
257 extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
258 extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
259 extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
260 extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
261 extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
262 extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
263 extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
264 # ifdef __cplusplus\n\
267 #endif /* __MATH__ */",
270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
272 * Description of Darwin_Api_Availability fix
274 tSCC zDarwin_Api_AvailabilityName[] =
275 "darwin_api_availability";
278 * File name selection pattern
280 tSCC zDarwin_Api_AvailabilityList[] =
281 "os/availability.h\0";
283 * Machine/OS name selection pattern
285 tSCC* apzDarwin_Api_AvailabilityMachs[] = {
290 * content selection pattern - do fix if pattern found
292 tSCC zDarwin_Api_AvailabilitySelect0[] =
293 " *#define __API_AVAILABLE.*\n\
294 *#define __API_DEPRECATED.*\n\
295 *#define __API_DEPRECATED_WITH_REPLACEMENT.*\n\
296 *#define __API_UNAVAILABLE.*\n";
299 * content bypass pattern - skip fix if pattern found
301 tSCC zDarwin_Api_AvailabilityBypass0[] =
302 "__IPHONE_OS_VERSION_MIN_REQUIRED";
304 #define DARWIN_API_AVAILABILITY_TEST_CT 2
305 static tTestDesc aDarwin_Api_AvailabilityTests[] = {
306 { TT_NEGREP, zDarwin_Api_AvailabilityBypass0, (regex_t*)NULL },
307 { TT_EGREP, zDarwin_Api_AvailabilitySelect0, (regex_t*)NULL }, };
310 * Fix Command Arguments for Darwin_Api_Availability
312 static const char* apzDarwin_Api_AvailabilityPatch[] = {
314 " #define API_AVAILABLE(...)\n\
315 #define API_DEPRECATED(...)\n\
316 #define API_DEPRECATED_WITH_REPLACEMENT(...)\n\
317 #define API_UNAVAILABLE(...)\n",
320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
322 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
324 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
325 "AAB_fd_zero_asm_posix_types_h";
328 * File name selection pattern
330 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
331 "asm/posix_types.h\0";
333 * Machine/OS name selection pattern
335 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
336 "i[34567]86-*-linux*",
340 * content bypass pattern - skip fix if pattern found
342 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
344 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
346 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
349 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
350 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
351 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
352 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
353 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
356 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
358 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
359 "/* This file fixes a bug in the __FD_ZERO macro\n\
360 for older versions of the Linux kernel. */\n\
361 #ifndef _POSIX_TYPES_H_WRAPPER\n\
362 #include <features.h>\n\
363 #include_next <asm/posix_types.h>\n\n\
364 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
366 #define __FD_ZERO(fdsetp) \\\n\
368 int __d0, __d1; \\\n\
369 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
370 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
371 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
372 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
375 #define _POSIX_TYPES_H_WRAPPER\n\
376 #endif /* _POSIX_TYPES_H_WRAPPER */",
379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
381 * Description of Aab_Fd_Zero_Gnu_Types_H fix
383 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
384 "AAB_fd_zero_gnu_types_h";
387 * File name selection pattern
389 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
392 * Machine/OS name selection pattern
394 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
395 "i[34567]86-*-linux*",
397 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
398 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
401 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
403 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
404 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
405 #ifndef _TYPES_H_WRAPPER\n\
406 #include <features.h>\n\
407 #include_next <gnu/types.h>\n\n\
408 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
410 # define __FD_ZERO(fdsetp) \\\n\
412 int __d0, __d1; \\\n\
413 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
414 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
415 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
416 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
419 #define _TYPES_H_WRAPPER\n\
420 #endif /* _TYPES_H_WRAPPER */",
423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
425 * Description of Aab_Fd_Zero_Selectbits_H fix
427 tSCC zAab_Fd_Zero_Selectbits_HName[] =
428 "AAB_fd_zero_selectbits_h";
431 * File name selection pattern
433 tSCC zAab_Fd_Zero_Selectbits_HList[] =
436 * Machine/OS name selection pattern
438 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
439 "i[34567]86-*-linux*",
441 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
442 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
445 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
447 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
448 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
449 #ifndef _SELECTBITS_H_WRAPPER\n\
450 #include <features.h>\n\
451 #include_next <selectbits.h>\n\n\
452 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
453 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
454 && __GLIBC_MINOR__ == 0\n\
456 #define __FD_ZERO(fdsetp) \\\\\n\
458 int __d0, __d1; \\\\\n\
459 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
460 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
461 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
462 / sizeof (__fd_mask)), \\\\\n\
463 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
464 : \"memory\"); \\\\\n\
467 #define _SELECTBITS_H_WRAPPER\n\
468 #endif /* _SELECTBITS_H_WRAPPER */",
471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
473 * Description of Aab_Solaris_Sys_Varargs_H fix
475 tSCC zAab_Solaris_Sys_Varargs_HName[] =
476 "AAB_solaris_sys_varargs_h";
479 * File name selection pattern
481 tSCC zAab_Solaris_Sys_Varargs_HList[] =
484 * Machine/OS name selection pattern
486 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
489 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
490 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
493 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
495 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
497 #include <stdarg.h>\n\
499 #include <varargs.h>\n\
503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
505 * Description of Aab_Sun_Memcpy fix
507 tSCC zAab_Sun_MemcpyName[] =
511 * File name selection pattern
513 tSCC zAab_Sun_MemcpyList[] =
516 * Machine/OS name selection pattern
518 #define apzAab_Sun_MemcpyMachs (const char**)NULL
521 * content selection pattern - do fix if pattern found
523 tSCC zAab_Sun_MemcpySelect0[] =
524 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
526 #define AAB_SUN_MEMCPY_TEST_CT 1
527 static tTestDesc aAab_Sun_MemcpyTests[] = {
528 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
531 * Fix Command Arguments for Aab_Sun_Memcpy
533 static const char* apzAab_Sun_MemcpyPatch[] = {
534 "/* This file was generated by fixincludes */\n\
535 #ifndef __memory_h__\n\
536 #define __memory_h__\n\n\
538 extern void *memccpy();\n\
539 extern void *memchr();\n\
540 extern void *memcpy();\n\
541 extern void *memset();\n\
543 extern char *memccpy();\n\
544 extern char *memchr();\n\
545 extern char *memcpy();\n\
546 extern char *memset();\n\
547 #endif /* __STDC__ */\n\n\
548 extern int memcmp();\n\n\
549 #endif /* __memory_h__ */",
552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
554 * Description of Aab_Vxworks_Assert fix
556 tSCC zAab_Vxworks_AssertName[] =
557 "AAB_vxworks_assert";
560 * File name selection pattern
562 tSCC zAab_Vxworks_AssertList[] =
565 * Machine/OS name selection pattern
567 tSCC* apzAab_Vxworks_AssertMachs[] = {
570 #define AAB_VXWORKS_ASSERT_TEST_CT 0
571 #define aAab_Vxworks_AssertTests (tTestDesc*)NULL
574 * Fix Command Arguments for Aab_Vxworks_Assert
576 static const char* apzAab_Vxworks_AssertPatch[] = {
581 #define _ASSERT_H\n\n\
582 #ifdef __cplusplus\n\
585 #if defined(__STDC__) || defined(__cplusplus)\n\
586 extern void __assert (const char*);\n\
588 extern void __assert ();\n\
591 #define assert(ign) ((void)0)\n\
593 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
594 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
595 #define assert(test) ((void) \\\n\
596 ((test) ? ((void)0) : \\\n\
597 __assert(\"Assertion failed: \" #test \", file \" \\\n\
598 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
600 #ifdef __cplusplus\n\
605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
607 * Description of Aab_Vxworks_Regs_Vxtypes fix
609 tSCC zAab_Vxworks_Regs_VxtypesName[] =
610 "AAB_vxworks_regs_vxtypes";
613 * File name selection pattern
615 tSCC zAab_Vxworks_Regs_VxtypesList[] =
618 * Machine/OS name selection pattern
620 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
623 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
624 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
627 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
629 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
632 /* regs.h depends on CPU_FAMILY being properly defined, which\n\
633 is done by vxCpu.h. */\n\
634 #include <types/vxCpu.h>\n\
635 /* regs.h includes a CPU_FAMILY-specific header that requires\n\
636 vxTypesOld.h to already have been included. Those headers\n\
637 contain proper _ASMLANGUAGE guards around their typedefs,\n\
638 but vxTypesOld.h itself does not. So we avoid including\n\
639 vxTypesOld.h from assembly. */\n\
640 #ifndef _ASMLANGUAGE\n\
641 #include <types/vxTypesOld.h>\n\
643 #include_next <arch/../regs.h>\n\
647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
649 * Description of Aab_Vxworks_Unistd fix
651 tSCC zAab_Vxworks_UnistdName[] =
652 "AAB_vxworks_unistd";
655 * File name selection pattern
657 tSCC zAab_Vxworks_UnistdList[] =
660 * Machine/OS name selection pattern
662 tSCC* apzAab_Vxworks_UnistdMachs[] = {
665 #define AAB_VXWORKS_UNISTD_TEST_CT 0
666 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
669 * Fix Command Arguments for Aab_Vxworks_Unistd
671 static const char* apzAab_Vxworks_UnistdPatch[] = {
672 "#ifndef _UNISTD_H\n\
674 #include_next <unistd.h>\n\
675 #include <ioLib.h>\n\
676 #ifndef STDIN_FILENO\n\
677 #define STDIN_FILENO 0\n\
679 #ifndef STDOUT_FILENO\n\
680 #define STDOUT_FILENO 1\n\
682 #ifndef STDERR_FILENO\n\
683 #define STDERR_FILENO 2\n\
685 #endif /* _UNISTD_H */",
688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
690 * Description of Aix_Assert fix
692 tSCC zAix_AssertName[] =
696 * File name selection pattern
698 tSCC zAix_AssertList[] =
701 * Machine/OS name selection pattern
703 tSCC* apzAix_AssertMachs[] = {
708 * content selection pattern - do fix if pattern found
710 tSCC zAix_AssertSelect0[] =
711 "#define[ \t]static_assert[ \t]_Static_assert";
713 #define AIX_ASSERT_TEST_CT 1
714 static tTestDesc aAix_AssertTests[] = {
715 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
718 * Fix Command Arguments for Aix_Assert
720 static const char* apzAix_AssertPatch[] = {
722 "#ifndef __cplusplus\n\
727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
729 * Description of Aix_Complex fix
731 tSCC zAix_ComplexName[] =
735 * File name selection pattern
737 tSCC zAix_ComplexList[] =
740 * Machine/OS name selection pattern
742 tSCC* apzAix_ComplexMachs[] = {
747 * content selection pattern - do fix if pattern found
749 tSCC zAix_ComplexSelect0[] =
750 "#define[ \t]_Complex_I[ \t]__I";
752 #define AIX_COMPLEX_TEST_CT 1
753 static tTestDesc aAix_ComplexTests[] = {
754 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
757 * Fix Command Arguments for Aix_Complex
759 static const char* apzAix_ComplexPatch[] = {
761 "#define _Complex_I (__extension__ 1.0iF)",
764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
766 * Description of Aix_Externc fix
768 tSCC zAix_ExterncName[] =
772 * File name selection pattern
774 tSCC zAix_ExterncList[] =
775 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
777 * Machine/OS name selection pattern
779 tSCC* apzAix_ExterncMachs[] = {
784 * content bypass pattern - skip fix if pattern found
786 tSCC zAix_ExterncBypass0[] =
789 #define AIX_EXTERNC_TEST_CT 1
790 static tTestDesc aAix_ExterncTests[] = {
791 { TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
794 * Fix Command Arguments for Aix_Externc
796 static const char* apzAix_ExterncPatch[] = {
798 "#ifdef __cplusplus\n\
801 "#ifdef __cplusplus\n\
806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
808 * Description of Aix_Externcpp1 fix
810 tSCC zAix_Externcpp1Name[] =
814 * File name selection pattern
816 tSCC zAix_Externcpp1List[] =
819 * Machine/OS name selection pattern
821 tSCC* apzAix_Externcpp1Machs[] = {
826 * content selection pattern - do fix if pattern found
828 tSCC zAix_Externcpp1Select0[] =
829 "#ifdef __cplusplus";
831 #define AIX_EXTERNCPP1_TEST_CT 1
832 static tTestDesc aAix_Externcpp1Tests[] = {
833 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
836 * Fix Command Arguments for Aix_Externcpp1
838 static const char* apzAix_Externcpp1Patch[] = {
840 "#ifdef __cplusplus\n\
844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
846 * Description of Aix_Externcpp2 fix
848 tSCC zAix_Externcpp2Name[] =
852 * File name selection pattern
854 tSCC zAix_Externcpp2List[] =
857 * Machine/OS name selection pattern
859 tSCC* apzAix_Externcpp2Machs[] = {
864 * content selection pattern - do fix if pattern found
866 tSCC zAix_Externcpp2Select0[] =
867 "#else /\\* __cplusplus \\*/";
869 #define AIX_EXTERNCPP2_TEST_CT 1
870 static tTestDesc aAix_Externcpp2Tests[] = {
871 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
874 * Fix Command Arguments for Aix_Externcpp2
876 static const char* apzAix_Externcpp2Patch[] = {
878 "} /* extern \"C++\" */\n\
879 #else /* __cplusplus */",
882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
884 * Description of Aix_Malloc fix
886 tSCC zAix_MallocName[] =
890 * File name selection pattern
892 tSCC zAix_MallocList[] =
895 * Machine/OS name selection pattern
897 tSCC* apzAix_MallocMachs[] = {
902 * content selection pattern - do fix if pattern found
904 tSCC zAix_MallocSelect0[] =
905 "#ifdef __cplusplus";
907 #define AIX_MALLOC_TEST_CT 1
908 static tTestDesc aAix_MallocTests[] = {
909 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
912 * Fix Command Arguments for Aix_Malloc
914 static const char* apzAix_MallocPatch[] = {
916 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
921 * Description of Aix_Net_If_Arp fix
923 tSCC zAix_Net_If_ArpName[] =
927 * File name selection pattern
929 tSCC zAix_Net_If_ArpList[] =
932 * Machine/OS name selection pattern
934 tSCC* apzAix_Net_If_ArpMachs[] = {
939 * content selection pattern - do fix if pattern found
941 tSCC zAix_Net_If_ArpSelect0[] =
942 "^struct fc_softc \\{";
944 #define AIX_NET_IF_ARP_TEST_CT 1
945 static tTestDesc aAix_Net_If_ArpTests[] = {
946 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
949 * Fix Command Arguments for Aix_Net_If_Arp
951 static const char* apzAix_Net_If_ArpPatch[] = {
953 "typedef struct _fc_softc {",
956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
958 * Description of Aix_Null fix
960 tSCC zAix_NullName[] =
964 * File name selection pattern
966 tSCC zAix_NullList[] =
967 "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";
969 * Machine/OS name selection pattern
971 tSCC* apzAix_NullMachs[] = {
976 * content selection pattern - do fix if pattern found
978 tSCC zAix_NullSelect0[] =
979 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
982 * content bypass pattern - skip fix if pattern found
984 tSCC zAix_NullBypass0[] =
987 #define AIX_NULL_TEST_CT 2
988 static tTestDesc aAix_NullTests[] = {
989 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
990 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
993 * Fix Command Arguments for Aix_Null
995 static const char* apzAix_NullPatch[] = {
998 #ifdef __cplusplus\n\
1000 #define NULL __null\n\
1001 #else /* ! __GNUG__ */\n\
1003 #endif /* __GNUG__ */\n\
1004 #else /* ! __cplusplus */\n\
1005 #define NULL ((void *)0)\n\
1006 #endif /* __cplusplus */\n\
1007 #endif /* !NULL */",
1010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1012 * Description of Aix_Once_Init_1 fix
1014 tSCC zAix_Once_Init_1Name[] =
1018 * File name selection pattern
1020 tSCC zAix_Once_Init_1List[] =
1023 * Machine/OS name selection pattern
1025 tSCC* apzAix_Once_Init_1Machs[] = {
1027 (const char*)NULL };
1030 * content selection pattern - do fix if pattern found
1032 tSCC zAix_Once_Init_1Select0[] =
1033 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1036 #define AIX_ONCE_INIT_1_TEST_CT 1
1037 static tTestDesc aAix_Once_Init_1Tests[] = {
1038 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1041 * Fix Command Arguments for Aix_Once_Init_1
1043 static const char* apzAix_Once_Init_1Patch[] = {
1045 "#define PTHREAD_ONCE_INIT \\\n\
1049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1051 * Description of Aix_Once_Init_2 fix
1053 tSCC zAix_Once_Init_2Name[] =
1057 * File name selection pattern
1059 tSCC zAix_Once_Init_2List[] =
1062 * Machine/OS name selection pattern
1064 tSCC* apzAix_Once_Init_2Machs[] = {
1066 (const char*)NULL };
1069 * content selection pattern - do fix if pattern found
1071 tSCC zAix_Once_Init_2Select0[] =
1075 #define AIX_ONCE_INIT_2_TEST_CT 1
1076 static tTestDesc aAix_Once_Init_2Tests[] = {
1077 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1080 * Fix Command Arguments for Aix_Once_Init_2
1082 static const char* apzAix_Once_Init_2Patch[] = {
1088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1090 * Description of Aix_Mutex_Initializer_1 fix
1092 tSCC zAix_Mutex_Initializer_1Name[] =
1093 "aix_mutex_initializer_1";
1096 * File name selection pattern
1098 tSCC zAix_Mutex_Initializer_1List[] =
1101 * Machine/OS name selection pattern
1103 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1105 (const char*)NULL };
1108 * content selection pattern - do fix if pattern found
1110 tSCC zAix_Mutex_Initializer_1Select0[] =
1111 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1114 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1115 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1116 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1119 * Fix Command Arguments for Aix_Mutex_Initializer_1
1121 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1123 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1129 * Description of Aix_Cond_Initializer_1 fix
1131 tSCC zAix_Cond_Initializer_1Name[] =
1132 "aix_cond_initializer_1";
1135 * File name selection pattern
1137 tSCC zAix_Cond_Initializer_1List[] =
1140 * Machine/OS name selection pattern
1142 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1144 (const char*)NULL };
1147 * content selection pattern - do fix if pattern found
1149 tSCC zAix_Cond_Initializer_1Select0[] =
1150 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1153 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1154 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1155 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1158 * Fix Command Arguments for Aix_Cond_Initializer_1
1160 static const char* apzAix_Cond_Initializer_1Patch[] = {
1162 "#define PTHREAD_COND_INITIALIZER \\\n\
1166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1168 * Description of Aix_Rwlock_Initializer_1 fix
1170 tSCC zAix_Rwlock_Initializer_1Name[] =
1171 "aix_rwlock_initializer_1";
1174 * File name selection pattern
1176 tSCC zAix_Rwlock_Initializer_1List[] =
1179 * Machine/OS name selection pattern
1181 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1183 (const char*)NULL };
1186 * content selection pattern - do fix if pattern found
1188 tSCC zAix_Rwlock_Initializer_1Select0[] =
1189 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1192 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1193 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1194 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1197 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1199 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1201 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1205 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1207 * Description of Aix_Pthread fix
1209 tSCC zAix_PthreadName[] =
1213 * File name selection pattern
1215 tSCC zAix_PthreadList[] =
1218 * Machine/OS name selection pattern
1220 #define apzAix_PthreadMachs (const char**)NULL
1223 * content selection pattern - do fix if pattern found
1225 tSCC zAix_PthreadSelect0[] =
1226 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1230 #define AIX_PTHREAD_TEST_CT 1
1231 static tTestDesc aAix_PthreadTests[] = {
1232 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1235 * Fix Command Arguments for Aix_Pthread
1237 static const char* apzAix_PthreadPatch[] = {
1242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1244 * Description of Aix_Stdint_1 fix
1246 tSCC zAix_Stdint_1Name[] =
1250 * File name selection pattern
1252 tSCC zAix_Stdint_1List[] =
1253 "stdint-aix.h\0stdint.h\0";
1255 * Machine/OS name selection pattern
1257 tSCC* apzAix_Stdint_1Machs[] = {
1259 (const char*)NULL };
1262 * content selection pattern - do fix if pattern found
1264 tSCC zAix_Stdint_1Select0[] =
1265 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1266 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1268 #define AIX_STDINT_1_TEST_CT 1
1269 static tTestDesc aAix_Stdint_1Tests[] = {
1270 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1273 * Fix Command Arguments for Aix_Stdint_1
1275 static const char* apzAix_Stdint_1Patch[] = {
1277 "#define UINT8_MAX\t(255)\n\
1278 #define UINT16_MAX\t(65535)",
1281 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1283 * Description of Aix_Stdint_2 fix
1285 tSCC zAix_Stdint_2Name[] =
1289 * File name selection pattern
1291 tSCC zAix_Stdint_2List[] =
1292 "stdint-aix.h\0stdint.h\0";
1294 * Machine/OS name selection pattern
1296 tSCC* apzAix_Stdint_2Machs[] = {
1298 (const char*)NULL };
1301 * content selection pattern - do fix if pattern found
1303 tSCC zAix_Stdint_2Select0[] =
1304 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1305 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1306 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1308 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1309 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1310 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1312 #define AIX_STDINT_2_TEST_CT 1
1313 static tTestDesc aAix_Stdint_2Tests[] = {
1314 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1317 * Fix Command Arguments for Aix_Stdint_2
1319 static const char* apzAix_Stdint_2Patch[] = {
1321 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1322 #define INTPTR_MAX\t9223372036854775807L\n\
1323 #define UINTPTR_MAX\t18446744073709551615UL\n\
1325 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1326 #define INTPTR_MAX\t2147483647L\n\
1327 #define UINTPTR_MAX\t4294967295UL",
1330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1332 * Description of Aix_Stdint_3 fix
1334 tSCC zAix_Stdint_3Name[] =
1338 * File name selection pattern
1340 tSCC zAix_Stdint_3List[] =
1341 "stdint-aix.h\0stdint.h\0";
1343 * Machine/OS name selection pattern
1345 tSCC* apzAix_Stdint_3Machs[] = {
1347 (const char*)NULL };
1350 * content selection pattern - do fix if pattern found
1352 tSCC zAix_Stdint_3Select0[] =
1353 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1354 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1356 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1357 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1359 #define AIX_STDINT_3_TEST_CT 1
1360 static tTestDesc aAix_Stdint_3Tests[] = {
1361 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1364 * Fix Command Arguments for Aix_Stdint_3
1366 static const char* apzAix_Stdint_3Patch[] = {
1368 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1369 #define PTRDIFF_MAX\t9223372036854775807L\n\
1371 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1372 #define PTRDIFF_MAX\t2147483647L",
1375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1377 * Description of Aix_Stdint_4 fix
1379 tSCC zAix_Stdint_4Name[] =
1383 * File name selection pattern
1385 tSCC zAix_Stdint_4List[] =
1386 "stdint-aix.h\0stdint.h\0";
1388 * Machine/OS name selection pattern
1390 tSCC* apzAix_Stdint_4Machs[] = {
1392 (const char*)NULL };
1395 * content selection pattern - do fix if pattern found
1397 tSCC zAix_Stdint_4Select0[] =
1398 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1400 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1402 #define AIX_STDINT_4_TEST_CT 1
1403 static tTestDesc aAix_Stdint_4Tests[] = {
1404 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1407 * Fix Command Arguments for Aix_Stdint_4
1409 static const char* apzAix_Stdint_4Patch[] = {
1411 "#define SIZE_MAX\t18446744073709551615UL\n\
1413 #define SIZE_MAX\t4294967295UL",
1416 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1418 * Description of Aix_Stdint_5 fix
1420 tSCC zAix_Stdint_5Name[] =
1424 * File name selection pattern
1426 tSCC zAix_Stdint_5List[] =
1427 "stdint-aix.h\0stdint.h\0";
1429 * Machine/OS name selection pattern
1431 tSCC* apzAix_Stdint_5Machs[] = {
1433 (const char*)NULL };
1436 * content selection pattern - do fix if pattern found
1438 tSCC zAix_Stdint_5Select0[] =
1439 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1440 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1442 #define AIX_STDINT_5_TEST_CT 1
1443 static tTestDesc aAix_Stdint_5Tests[] = {
1444 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1447 * Fix Command Arguments for Aix_Stdint_5
1449 static const char* apzAix_Stdint_5Patch[] = {
1451 "#define UINT8_C(c)\tc\n\
1452 #define UINT16_C(c)\tc",
1455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1457 * Description of Aix_Stdio_Inline fix
1459 tSCC zAix_Stdio_InlineName[] =
1463 * File name selection pattern
1465 tSCC zAix_Stdio_InlineList[] =
1468 * Machine/OS name selection pattern
1470 tSCC* apzAix_Stdio_InlineMachs[] = {
1472 (const char*)NULL };
1475 * content selection pattern - do fix if pattern found
1477 tSCC zAix_Stdio_InlineSelect0[] =
1478 "#ifdef __cplusplus\\\n\
1483 #define AIX_STDIO_INLINE_TEST_CT 1
1484 static tTestDesc aAix_Stdio_InlineTests[] = {
1485 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1488 * Fix Command Arguments for Aix_Stdio_Inline
1490 static const char* apzAix_Stdio_InlinePatch[] = {
1492 "#ifdef __cplusplus\n\
1495 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1501 * Description of Aix_Stdlib_Malloc fix
1503 tSCC zAix_Stdlib_MallocName[] =
1504 "aix_stdlib_malloc";
1507 * File name selection pattern
1509 tSCC zAix_Stdlib_MallocList[] =
1512 * Machine/OS name selection pattern
1514 tSCC* apzAix_Stdlib_MallocMachs[] = {
1516 (const char*)NULL };
1519 * content selection pattern - do fix if pattern found
1521 tSCC zAix_Stdlib_MallocSelect0[] =
1522 "#define[ \t]+malloc[ \t]+__linux_malloc";
1524 #define AIX_STDLIB_MALLOC_TEST_CT 1
1525 static tTestDesc aAix_Stdlib_MallocTests[] = {
1526 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1529 * Fix Command Arguments for Aix_Stdlib_Malloc
1531 static const char* apzAix_Stdlib_MallocPatch[] = {
1533 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1536 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1538 * Description of Aix_Stdlib_Realloc fix
1540 tSCC zAix_Stdlib_ReallocName[] =
1541 "aix_stdlib_realloc";
1544 * File name selection pattern
1546 tSCC zAix_Stdlib_ReallocList[] =
1549 * Machine/OS name selection pattern
1551 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1553 (const char*)NULL };
1556 * content selection pattern - do fix if pattern found
1558 tSCC zAix_Stdlib_ReallocSelect0[] =
1559 "#define[ \t]+realloc[ \t]+__linux_realloc";
1561 #define AIX_STDLIB_REALLOC_TEST_CT 1
1562 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1563 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1566 * Fix Command Arguments for Aix_Stdlib_Realloc
1568 static const char* apzAix_Stdlib_ReallocPatch[] = {
1570 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1575 * Description of Aix_Stdlib_Calloc fix
1577 tSCC zAix_Stdlib_CallocName[] =
1578 "aix_stdlib_calloc";
1581 * File name selection pattern
1583 tSCC zAix_Stdlib_CallocList[] =
1586 * Machine/OS name selection pattern
1588 tSCC* apzAix_Stdlib_CallocMachs[] = {
1590 (const char*)NULL };
1593 * content selection pattern - do fix if pattern found
1595 tSCC zAix_Stdlib_CallocSelect0[] =
1596 "#define[ \t]+calloc[ \t]+__linux_calloc";
1598 #define AIX_STDLIB_CALLOC_TEST_CT 1
1599 static tTestDesc aAix_Stdlib_CallocTests[] = {
1600 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1603 * Fix Command Arguments for Aix_Stdlib_Calloc
1605 static const char* apzAix_Stdlib_CallocPatch[] = {
1607 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1612 * Description of Aix_Stdlib_Valloc fix
1614 tSCC zAix_Stdlib_VallocName[] =
1615 "aix_stdlib_valloc";
1618 * File name selection pattern
1620 tSCC zAix_Stdlib_VallocList[] =
1623 * Machine/OS name selection pattern
1625 tSCC* apzAix_Stdlib_VallocMachs[] = {
1627 (const char*)NULL };
1630 * content selection pattern - do fix if pattern found
1632 tSCC zAix_Stdlib_VallocSelect0[] =
1633 "#define[ \t]+valloc[ \t]+__linux_valloc";
1635 #define AIX_STDLIB_VALLOC_TEST_CT 1
1636 static tTestDesc aAix_Stdlib_VallocTests[] = {
1637 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1640 * Fix Command Arguments for Aix_Stdlib_Valloc
1642 static const char* apzAix_Stdlib_VallocPatch[] = {
1644 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1649 * Description of Aix_Stdlib_Vec_Malloc fix
1651 tSCC zAix_Stdlib_Vec_MallocName[] =
1652 "aix_stdlib_vec_malloc";
1655 * File name selection pattern
1657 tSCC zAix_Stdlib_Vec_MallocList[] =
1660 * Machine/OS name selection pattern
1662 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1664 (const char*)NULL };
1667 * content selection pattern - do fix if pattern found
1669 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1670 "#define[ \t]+malloc[ \t]+vec_malloc";
1672 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1673 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1674 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1677 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1679 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1681 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1686 * Description of Aix_Stdlib_Vec_Calloc fix
1688 tSCC zAix_Stdlib_Vec_CallocName[] =
1689 "aix_stdlib_vec_calloc";
1692 * File name selection pattern
1694 tSCC zAix_Stdlib_Vec_CallocList[] =
1697 * Machine/OS name selection pattern
1699 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1701 (const char*)NULL };
1704 * content selection pattern - do fix if pattern found
1706 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1707 "#define[ \t]+calloc[ \t]+vec_calloc";
1709 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1710 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1711 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1714 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1716 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1718 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1723 * Description of Aix_Strtof_Const fix
1725 tSCC zAix_Strtof_ConstName[] =
1729 * File name selection pattern
1731 tSCC zAix_Strtof_ConstList[] =
1734 * Machine/OS name selection pattern
1736 tSCC* apzAix_Strtof_ConstMachs[] = {
1738 (const char*)NULL };
1741 * content selection pattern - do fix if pattern found
1743 tSCC zAix_Strtof_ConstSelect0[] =
1744 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1746 #define AIX_STRTOF_CONST_TEST_CT 1
1747 static tTestDesc aAix_Strtof_ConstTests[] = {
1748 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1751 * Fix Command Arguments for Aix_Strtof_Const
1753 static const char* apzAix_Strtof_ConstPatch[] = {
1755 "%1(const char *, char **);",
1758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1760 * Description of Aix_Sysmachine fix
1762 tSCC zAix_SysmachineName[] =
1766 * File name selection pattern
1768 tSCC zAix_SysmachineList[] =
1771 * Machine/OS name selection pattern
1773 tSCC* apzAix_SysmachineMachs[] = {
1775 (const char*)NULL };
1778 * content selection pattern - do fix if pattern found
1780 tSCC zAix_SysmachineSelect0[] =
1783 #define AIX_SYSMACHINE_TEST_CT 1
1784 static tTestDesc aAix_SysmachineTests[] = {
1785 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1788 * Fix Command Arguments for Aix_Sysmachine
1790 static const char* apzAix_SysmachinePatch[] = {
1795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1797 * Description of Aix_Syswait_2 fix
1799 tSCC zAix_Syswait_2Name[] =
1803 * File name selection pattern
1805 tSCC zAix_Syswait_2List[] =
1808 * Machine/OS name selection pattern
1810 tSCC* apzAix_Syswait_2Machs[] = {
1812 (const char*)NULL };
1815 * content selection pattern - do fix if pattern found
1817 tSCC zAix_Syswait_2Select0[] =
1818 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1820 #define AIX_SYSWAIT_2_TEST_CT 1
1821 static tTestDesc aAix_Syswait_2Tests[] = {
1822 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1825 * Fix Command Arguments for Aix_Syswait_2
1827 static const char* apzAix_Syswait_2Patch[] = {
1832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1834 * Description of Aix_Volatile fix
1836 tSCC zAix_VolatileName[] =
1840 * File name selection pattern
1842 tSCC zAix_VolatileList[] =
1845 * Machine/OS name selection pattern
1847 tSCC* apzAix_VolatileMachs[] = {
1849 (const char*)NULL };
1852 * content selection pattern - do fix if pattern found
1854 tSCC zAix_VolatileSelect0[] =
1855 "typedef volatile int sig_atomic_t";
1857 #define AIX_VOLATILE_TEST_CT 1
1858 static tTestDesc aAix_VolatileTests[] = {
1859 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1862 * Fix Command Arguments for Aix_Volatile
1864 static const char* apzAix_VolatilePatch[] = {
1866 "typedef int sig_atomic_t",
1869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1871 * Description of Aix_Unistd fix
1873 tSCC zAix_UnistdName[] =
1877 * File name selection pattern
1879 tSCC zAix_UnistdList[] =
1882 * Machine/OS name selection pattern
1884 tSCC* apzAix_UnistdMachs[] = {
1886 (const char*)NULL };
1889 * content selection pattern - do fix if pattern found
1891 tSCC zAix_UnistdSelect0[] =
1892 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1894 #define AIX_UNISTD_TEST_CT 1
1895 static tTestDesc aAix_UnistdTests[] = {
1896 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1899 * Fix Command Arguments for Aix_Unistd
1901 static const char* apzAix_UnistdPatch[] = {
1903 "\tstatic int\t\tgetdtablesize(void)",
1906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1908 * Description of Alpha___Assert fix
1910 tSCC zAlpha___AssertName[] =
1914 * File name selection pattern
1916 tSCC zAlpha___AssertList[] =
1919 * Machine/OS name selection pattern
1921 #define apzAlpha___AssertMachs (const char**)NULL
1924 * content selection pattern - do fix if pattern found
1926 tSCC zAlpha___AssertSelect0[] =
1927 "__assert\\(char \\*, char \\*, int\\)";
1929 #define ALPHA___ASSERT_TEST_CT 1
1930 static tTestDesc aAlpha___AssertTests[] = {
1931 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1934 * Fix Command Arguments for Alpha___Assert
1936 static const char* apzAlpha___AssertPatch[] = {
1938 "__assert(const char *, const char *, int)",
1941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1943 * Description of Alpha_Assert fix
1945 tSCC zAlpha_AssertName[] =
1949 * File name selection pattern
1951 tSCC zAlpha_AssertList[] =
1954 * Machine/OS name selection pattern
1956 #define apzAlpha_AssertMachs (const char**)NULL
1959 * content selection pattern - do fix if pattern found
1961 tSCC zAlpha_AssertSelect0[] =
1962 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1964 #define ALPHA_ASSERT_TEST_CT 1
1965 static tTestDesc aAlpha_AssertTests[] = {
1966 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1969 * Fix Command Arguments for Alpha_Assert
1971 static const char* apzAlpha_AssertPatch[] = {
1976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1978 * Description of Alpha_Getopt fix
1980 tSCC zAlpha_GetoptName[] =
1984 * File name selection pattern
1986 tSCC zAlpha_GetoptList[] =
1987 "stdio.h\0stdlib.h\0";
1989 * Machine/OS name selection pattern
1991 #define apzAlpha_GetoptMachs (const char**)NULL
1994 * content selection pattern - do fix if pattern found
1996 tSCC zAlpha_GetoptSelect0[] =
1997 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1999 #define ALPHA_GETOPT_TEST_CT 1
2000 static tTestDesc aAlpha_GetoptTests[] = {
2001 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
2004 * Fix Command Arguments for Alpha_Getopt
2006 static const char* apzAlpha_GetoptPatch[] = {
2008 "getopt(int, char *const[], const char *)",
2011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2013 * Description of Alpha_If_Semicolon fix
2015 tSCC zAlpha_If_SemicolonName[] =
2016 "alpha_if_semicolon";
2019 * File name selection pattern
2021 tSCC zAlpha_If_SemicolonList[] =
2024 * Machine/OS name selection pattern
2026 #define apzAlpha_If_SemicolonMachs (const char**)NULL
2029 * content selection pattern - do fix if pattern found
2031 tSCC zAlpha_If_SemicolonSelect0[] =
2032 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2034 #define ALPHA_IF_SEMICOLON_TEST_CT 1
2035 static tTestDesc aAlpha_If_SemicolonTests[] = {
2036 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
2039 * Fix Command Arguments for Alpha_If_Semicolon
2041 static const char* apzAlpha_If_SemicolonPatch[] = {
2043 "struct sockaddr vmif_paddr;\t/*",
2046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2048 * Description of Alpha_Parens fix
2050 tSCC zAlpha_ParensName[] =
2054 * File name selection pattern
2056 tSCC zAlpha_ParensList[] =
2059 * Machine/OS name selection pattern
2061 #define apzAlpha_ParensMachs (const char**)NULL
2064 * content selection pattern - do fix if pattern found
2066 tSCC zAlpha_ParensSelect0[] =
2067 "#ifndef\\(__mips64\\)";
2069 #define ALPHA_PARENS_TEST_CT 1
2070 static tTestDesc aAlpha_ParensTests[] = {
2071 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2074 * Fix Command Arguments for Alpha_Parens
2076 static const char* apzAlpha_ParensPatch[] = {
2081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2083 * Description of Alpha_Sbrk fix
2085 tSCC zAlpha_SbrkName[] =
2089 * File name selection pattern
2091 tSCC zAlpha_SbrkList[] =
2094 * Machine/OS name selection pattern
2096 #define apzAlpha_SbrkMachs (const char**)NULL
2099 * content selection pattern - do fix if pattern found
2101 tSCC zAlpha_SbrkSelect0[] =
2102 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2104 #define ALPHA_SBRK_TEST_CT 1
2105 static tTestDesc aAlpha_SbrkTests[] = {
2106 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2109 * Fix Command Arguments for Alpha_Sbrk
2111 static const char* apzAlpha_SbrkPatch[] = {
2116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2118 * Description of Avoid_Bool_Define fix
2120 tSCC zAvoid_Bool_DefineName[] =
2121 "avoid_bool_define";
2124 * File name selection pattern
2126 tSCC zAvoid_Bool_DefineList[] =
2127 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2129 * Machine/OS name selection pattern
2131 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2134 * content selection pattern - do fix if pattern found
2136 tSCC zAvoid_Bool_DefineSelect0[] =
2137 "#[ \t]*define[ \t]+bool[ \t]";
2140 * content bypass pattern - skip fix if pattern found
2142 tSCC zAvoid_Bool_DefineBypass0[] =
2145 #define AVOID_BOOL_DEFINE_TEST_CT 2
2146 static tTestDesc aAvoid_Bool_DefineTests[] = {
2147 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2148 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2151 * Fix Command Arguments for Avoid_Bool_Define
2153 static const char* apzAvoid_Bool_DefinePatch[] = {
2155 "#ifndef __cplusplus\n\
2158 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2163 * Description of Avoid_Bool_Type fix
2165 tSCC zAvoid_Bool_TypeName[] =
2169 * File name selection pattern
2171 tSCC zAvoid_Bool_TypeList[] =
2172 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2174 * Machine/OS name selection pattern
2176 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2179 * content selection pattern - do fix if pattern found
2181 tSCC zAvoid_Bool_TypeSelect0[] =
2182 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2185 * content bypass pattern - skip fix if pattern found
2187 tSCC zAvoid_Bool_TypeBypass0[] =
2190 #define AVOID_BOOL_TYPE_TEST_CT 2
2191 static tTestDesc aAvoid_Bool_TypeTests[] = {
2192 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2193 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2196 * Fix Command Arguments for Avoid_Bool_Type
2198 static const char* apzAvoid_Bool_TypePatch[] = {
2200 "#ifndef __cplusplus\n\
2205 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2207 * Description of Avoid_Wchar_T_Type fix
2209 tSCC zAvoid_Wchar_T_TypeName[] =
2210 "avoid_wchar_t_type";
2213 * File name selection pattern
2215 #define zAvoid_Wchar_T_TypeList (char*)NULL
2217 * Machine/OS name selection pattern
2219 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2222 * content selection pattern - do fix if pattern found
2224 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2225 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2228 * content bypass pattern - skip fix if pattern found
2230 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2232 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2234 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2235 "XFree86: xc/lib/X11/Xlib\\.h";
2237 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2238 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2239 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2240 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2241 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2242 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2245 * Fix Command Arguments for Avoid_Wchar_T_Type
2247 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2249 "#ifndef __cplusplus\n\
2254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2256 * Description of Bad_Struct_Term fix
2258 tSCC zBad_Struct_TermName[] =
2262 * File name selection pattern
2264 tSCC zBad_Struct_TermList[] =
2267 * Machine/OS name selection pattern
2269 #define apzBad_Struct_TermMachs (const char**)NULL
2272 * content selection pattern - do fix if pattern found
2274 tSCC zBad_Struct_TermSelect0[] =
2275 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2277 #define BAD_STRUCT_TERM_TEST_CT 1
2278 static tTestDesc aBad_Struct_TermTests[] = {
2279 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2282 * Fix Command Arguments for Bad_Struct_Term
2284 static const char* apzBad_Struct_TermPatch[] = {
2289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2291 * Description of Badquote fix
2293 tSCC zBadquoteName[] =
2297 * File name selection pattern
2299 tSCC zBadquoteList[] =
2300 "sundev/vuid_event.h\0";
2302 * Machine/OS name selection pattern
2304 #define apzBadquoteMachs (const char**)NULL
2307 * content selection pattern - do fix if pattern found
2309 tSCC zBadquoteSelect0[] =
2312 #define BADQUOTE_TEST_CT 1
2313 static tTestDesc aBadquoteTests[] = {
2314 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2317 * Fix Command Arguments for Badquote
2319 static const char* apzBadquotePatch[] = {
2324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2326 * Description of Broken_Assert_Stdio fix
2328 tSCC zBroken_Assert_StdioName[] =
2329 "broken_assert_stdio";
2332 * File name selection pattern
2334 tSCC zBroken_Assert_StdioList[] =
2337 * Machine/OS name selection pattern
2339 #define apzBroken_Assert_StdioMachs (const char**)NULL
2342 * content selection pattern - do fix if pattern found
2344 tSCC zBroken_Assert_StdioSelect0[] =
2348 * content bypass pattern - skip fix if pattern found
2350 tSCC zBroken_Assert_StdioBypass0[] =
2351 "include.*stdio\\.h";
2353 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2354 static tTestDesc aBroken_Assert_StdioTests[] = {
2355 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2356 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2359 * Fix Command Arguments for Broken_Assert_Stdio
2361 static const char* apzBroken_Assert_StdioPatch[] = {
2363 "#include <stdio.h>\n",
2366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2368 * Description of Broken_Assert_Stdlib fix
2370 tSCC zBroken_Assert_StdlibName[] =
2371 "broken_assert_stdlib";
2374 * File name selection pattern
2376 tSCC zBroken_Assert_StdlibList[] =
2379 * Machine/OS name selection pattern
2381 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2384 * content selection pattern - do fix if pattern found
2386 tSCC zBroken_Assert_StdlibSelect0[] =
2387 "exit *\\(|abort *\\(";
2390 * content bypass pattern - skip fix if pattern found
2392 tSCC zBroken_Assert_StdlibBypass0[] =
2393 "include.*stdlib\\.h";
2395 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2396 static tTestDesc aBroken_Assert_StdlibTests[] = {
2397 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2398 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2401 * Fix Command Arguments for Broken_Assert_Stdlib
2403 static const char* apzBroken_Assert_StdlibPatch[] = {
2405 "#ifdef __cplusplus\n\
2406 #include <stdlib.h>\n\
2410 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2412 * Description of Broken_Cabs fix
2414 tSCC zBroken_CabsName[] =
2418 * File name selection pattern
2420 tSCC zBroken_CabsList[] =
2421 "math.h\0architecture/*/math.h\0";
2423 * Machine/OS name selection pattern
2425 #define apzBroken_CabsMachs (const char**)NULL
2428 * content selection pattern - do fix if pattern found
2430 tSCC zBroken_CabsSelect0[] =
2431 "^extern[ \t]+double[ \t]+cabs";
2433 #define BROKEN_CABS_TEST_CT 1
2434 static tTestDesc aBroken_CabsTests[] = {
2435 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2438 * Fix Command Arguments for Broken_Cabs
2440 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2441 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2442 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2445 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2447 * Description of Broken_Nan fix
2449 tSCC zBroken_NanName[] =
2453 * File name selection pattern
2455 tSCC zBroken_NanList[] =
2456 "architecture/ppc/math.h\0architecture/*/math.h\0";
2458 * Machine/OS name selection pattern
2460 #define apzBroken_NanMachs (const char**)NULL
2463 * content selection pattern - do fix if pattern found
2465 tSCC zBroken_NanSelect0[] =
2466 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2469 * content bypass pattern - skip fix if pattern found
2471 tSCC zBroken_NanBypass0[] =
2474 #define BROKEN_NAN_TEST_CT 2
2475 static tTestDesc aBroken_NanTests[] = {
2476 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2477 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2480 * Fix Command Arguments for Broken_Nan
2482 static const char* apzBroken_NanPatch[] = {
2487 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2489 * Description of Bsd_Stdio_Attrs_Conflict fix
2491 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2492 "bsd_stdio_attrs_conflict";
2495 * File name selection pattern
2497 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2500 * Machine/OS name selection pattern
2502 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2505 (const char*)NULL };
2508 * content selection pattern - do fix if pattern found
2510 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2511 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2513 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2514 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2515 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2518 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2520 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2522 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2523 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2524 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2529 * Description of Ctrl_Quotes_Def fix
2531 tSCC zCtrl_Quotes_DefName[] =
2535 * File name selection pattern
2537 #define zCtrl_Quotes_DefList (char*)NULL
2539 * Machine/OS name selection pattern
2541 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2544 * content selection pattern - do fix if pattern found
2546 tSCC zCtrl_Quotes_DefSelect0[] =
2547 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2549 #define CTRL_QUOTES_DEF_TEST_CT 1
2550 static tTestDesc aCtrl_Quotes_DefTests[] = {
2551 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2554 * Fix Command Arguments for Ctrl_Quotes_Def
2556 static const char* apzCtrl_Quotes_DefPatch[] = {
2561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2563 * Description of Ctrl_Quotes_Use fix
2565 tSCC zCtrl_Quotes_UseName[] =
2569 * File name selection pattern
2571 #define zCtrl_Quotes_UseList (char*)NULL
2573 * Machine/OS name selection pattern
2575 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2578 * content selection pattern - do fix if pattern found
2580 tSCC zCtrl_Quotes_UseSelect0[] =
2581 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2583 #define CTRL_QUOTES_USE_TEST_CT 1
2584 static tTestDesc aCtrl_Quotes_UseTests[] = {
2585 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2588 * Fix Command Arguments for Ctrl_Quotes_Use
2590 static const char* apzCtrl_Quotes_UsePatch[] = {
2595 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2597 * Description of Cxx_Unready fix
2599 tSCC zCxx_UnreadyName[] =
2603 * File name selection pattern
2605 tSCC zCxx_UnreadyList[] =
2606 "sys/mman.h\0rpc/types.h\0";
2608 * Machine/OS name selection pattern
2610 #define apzCxx_UnreadyMachs (const char**)NULL
2613 * content selection pattern - do fix if pattern found
2615 tSCC zCxx_UnreadySelect0[] =
2619 * content bypass pattern - skip fix if pattern found
2621 tSCC zCxx_UnreadyBypass0[] =
2622 "\"C\"|__BEGIN_DECLS";
2624 #define CXX_UNREADY_TEST_CT 2
2625 static tTestDesc aCxx_UnreadyTests[] = {
2626 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2627 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2630 * Fix Command Arguments for Cxx_Unready
2632 static const char* apzCxx_UnreadyPatch[] = {
2634 "#ifdef __cplusplus\n\
2637 "#ifdef __cplusplus\n\
2642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2644 * Description of Darwin_Availabilityinternal fix
2646 tSCC zDarwin_AvailabilityinternalName[] =
2647 "darwin_availabilityinternal";
2650 * File name selection pattern
2652 tSCC zDarwin_AvailabilityinternalList[] =
2653 "AvailabilityInternal.h\0";
2655 * Machine/OS name selection pattern
2657 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2659 (const char*)NULL };
2662 * content selection pattern - do fix if pattern found
2664 tSCC zDarwin_AvailabilityinternalSelect0[] =
2665 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2667 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2668 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2669 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2672 * Fix Command Arguments for Darwin_Availabilityinternal
2674 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2676 "#if defined(__has_attribute)\n\
2677 #if __has_attribute(availability)\n\
2687 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2689 * Description of Darwin_9_Long_Double_Funcs_2 fix
2691 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2692 "darwin_9_long_double_funcs_2";
2695 * File name selection pattern
2697 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2700 * Machine/OS name selection pattern
2702 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2704 (const char*)NULL };
2707 * content selection pattern - do fix if pattern found
2709 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2710 "#include[ \\t]+\\\"";
2712 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2713 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2714 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2717 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2719 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2722 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2727 * Description of Darwin_Externc fix
2729 tSCC zDarwin_ExterncName[] =
2733 * File name selection pattern
2735 tSCC zDarwin_ExterncList[] =
2736 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2738 * Machine/OS name selection pattern
2740 tSCC* apzDarwin_ExterncMachs[] = {
2742 (const char*)NULL };
2745 * content bypass pattern - skip fix if pattern found
2747 tSCC zDarwin_ExterncBypass0[] =
2749 tSCC zDarwin_ExterncBypass1[] =
2752 #define DARWIN_EXTERNC_TEST_CT 2
2753 static tTestDesc aDarwin_ExterncTests[] = {
2754 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2755 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2758 * Fix Command Arguments for Darwin_Externc
2760 static const char* apzDarwin_ExterncPatch[] = {
2762 "#ifdef __cplusplus\n\
2765 "#ifdef __cplusplus\n\
2770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2772 * Description of Darwin_Gcc4_Breakage fix
2774 tSCC zDarwin_Gcc4_BreakageName[] =
2775 "darwin_gcc4_breakage";
2778 * File name selection pattern
2780 tSCC zDarwin_Gcc4_BreakageList[] =
2781 "AvailabilityMacros.h\0";
2783 * Machine/OS name selection pattern
2785 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2787 (const char*)NULL };
2790 * content selection pattern - do fix if pattern found
2792 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2793 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2795 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2796 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2797 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2800 * Fix Command Arguments for Darwin_Gcc4_Breakage
2802 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2804 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2809 * Description of Darwin_Ll_Funcs_Avail fix
2811 tSCC zDarwin_Ll_Funcs_AvailName[] =
2812 "darwin_ll_funcs_avail";
2815 * File name selection pattern
2817 tSCC zDarwin_Ll_Funcs_AvailList[] =
2818 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2820 * Machine/OS name selection pattern
2822 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2824 (const char*)NULL };
2827 * content selection pattern - do fix if pattern found
2829 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2830 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2832 #define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2833 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2834 { TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2837 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2839 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2840 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2843 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2845 * Description of Darwin_Longjmp_Noreturn fix
2847 tSCC zDarwin_Longjmp_NoreturnName[] =
2848 "darwin_longjmp_noreturn";
2851 * File name selection pattern
2853 tSCC zDarwin_Longjmp_NoreturnList[] =
2856 * Machine/OS name selection pattern
2858 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2860 (const char*)NULL };
2863 * content selection pattern - do fix if pattern found
2865 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2866 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2869 * content bypass pattern - skip fix if pattern found
2871 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2874 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2875 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2876 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2877 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2880 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2882 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2884 "%1 __attribute__ ((__noreturn__));",
2887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2889 * Description of Darwin_Os_Trace_1 fix
2891 tSCC zDarwin_Os_Trace_1Name[] =
2892 "darwin_os_trace_1";
2895 * File name selection pattern
2897 tSCC zDarwin_Os_Trace_1List[] =
2900 * Machine/OS name selection pattern
2902 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2904 (const char*)NULL };
2907 * content selection pattern - do fix if pattern found
2909 tSCC zDarwin_Os_Trace_1Select0[] =
2910 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2912 #define DARWIN_OS_TRACE_1_TEST_CT 1
2913 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2914 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2917 * Fix Command Arguments for Darwin_Os_Trace_1
2919 static const char* apzDarwin_Os_Trace_1Patch[] = {
2924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2926 * Description of Darwin_Os_Trace_2 fix
2928 tSCC zDarwin_Os_Trace_2Name[] =
2929 "darwin_os_trace_2";
2932 * File name selection pattern
2934 tSCC zDarwin_Os_Trace_2List[] =
2937 * Machine/OS name selection pattern
2939 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2941 (const char*)NULL };
2944 * content selection pattern - do fix if pattern found
2946 tSCC zDarwin_Os_Trace_2Select0[] =
2947 "typedef.*\\^os_trace_payload_t.*";
2949 #define DARWIN_OS_TRACE_2_TEST_CT 1
2950 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2951 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2954 * Fix Command Arguments for Darwin_Os_Trace_2
2956 static const char* apzDarwin_Os_Trace_2Patch[] = {
2963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2965 * Description of Darwin_Os_Trace_3 fix
2967 tSCC zDarwin_Os_Trace_3Name[] =
2968 "darwin_os_trace_3";
2971 * File name selection pattern
2973 tSCC zDarwin_Os_Trace_3List[] =
2976 * Machine/OS name selection pattern
2978 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2980 (const char*)NULL };
2983 * content selection pattern - do fix if pattern found
2985 tSCC zDarwin_Os_Trace_3Select0[] =
2989 _os_trace.*os_trace_payload_t payload);";
2991 #define DARWIN_OS_TRACE_3_TEST_CT 1
2992 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2993 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
2996 * Fix Command Arguments for Darwin_Os_Trace_3
2998 static const char* apzDarwin_Os_Trace_3Patch[] = {
3005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3007 * Description of Darwin_Os_Base_1 fix
3009 tSCC zDarwin_Os_Base_1Name[] =
3013 * File name selection pattern
3015 tSCC zDarwin_Os_Base_1List[] =
3018 * Machine/OS name selection pattern
3020 tSCC* apzDarwin_Os_Base_1Machs[] = {
3022 (const char*)NULL };
3025 * content selection pattern - do fix if pattern found
3027 tSCC zDarwin_Os_Base_1Select0[] =
3028 "#define __has_attribute.*\n\
3031 #define DARWIN_OS_BASE_1_TEST_CT 1
3032 static tTestDesc aDarwin_Os_Base_1Tests[] = {
3033 { TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
3036 * Fix Command Arguments for Darwin_Os_Base_1
3038 static const char* apzDarwin_Os_Base_1Patch[] = {
3041 #ifndef __has_extension\n\
3042 #define __has_extension(x) 0\n\
3046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3048 * Description of Darwin_Dispatch_Object_1 fix
3050 tSCC zDarwin_Dispatch_Object_1Name[] =
3051 "darwin_dispatch_object_1";
3054 * File name selection pattern
3056 tSCC zDarwin_Dispatch_Object_1List[] =
3057 "dispatch/object.h\0";
3059 * Machine/OS name selection pattern
3061 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3063 (const char*)NULL };
3066 * content selection pattern - do fix if pattern found
3068 tSCC zDarwin_Dispatch_Object_1Select0[] =
3069 "typedef void.*\\^dispatch_block_t.*";
3071 #define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
3072 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3073 { TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3076 * Fix Command Arguments for Darwin_Dispatch_Object_1
3078 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3087 * Description of Darwin_Private_Extern fix
3089 tSCC zDarwin_Private_ExternName[] =
3090 "darwin_private_extern";
3093 * File name selection pattern
3095 tSCC zDarwin_Private_ExternList[] =
3098 * Machine/OS name selection pattern
3100 tSCC* apzDarwin_Private_ExternMachs[] = {
3102 (const char*)NULL };
3105 * content selection pattern - do fix if pattern found
3107 tSCC zDarwin_Private_ExternSelect0[] =
3108 "__private_extern__ [a-z_]+ _dyld_";
3110 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3111 static tTestDesc aDarwin_Private_ExternTests[] = {
3112 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3115 * Fix Command Arguments for Darwin_Private_Extern
3117 static const char* apzDarwin_Private_ExternPatch[] = {
3120 "__private_extern__",
3123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3125 * Description of Darwin_Stdint_1 fix
3127 tSCC zDarwin_Stdint_1Name[] =
3131 * File name selection pattern
3133 tSCC zDarwin_Stdint_1List[] =
3134 "stdint-darwin.h\0stdint.h\0";
3136 * Machine/OS name selection pattern
3138 tSCC* apzDarwin_Stdint_1Machs[] = {
3140 (const char*)NULL };
3143 * content selection pattern - do fix if pattern found
3145 tSCC zDarwin_Stdint_1Select0[] =
3146 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3147 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3149 #define DARWIN_STDINT_1_TEST_CT 1
3150 static tTestDesc aDarwin_Stdint_1Tests[] = {
3151 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3154 * Fix Command Arguments for Darwin_Stdint_1
3156 static const char* apzDarwin_Stdint_1Patch[] = {
3158 "#define UINT8_C(v)\tv\n\
3159 #define UINT16_C(v)\tv",
3162 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3164 * Description of Darwin_Stdint_2 fix
3166 tSCC zDarwin_Stdint_2Name[] =
3170 * File name selection pattern
3172 tSCC zDarwin_Stdint_2List[] =
3173 "stdint-darwin.h\0stdint.h\0";
3175 * Machine/OS name selection pattern
3177 tSCC* apzDarwin_Stdint_2Machs[] = {
3179 (const char*)NULL };
3182 * content selection pattern - do fix if pattern found
3184 tSCC zDarwin_Stdint_2Select0[] =
3185 "#if __WORDSIZE == 64\n\
3186 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3187 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3189 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3190 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3193 #define DARWIN_STDINT_2_TEST_CT 1
3194 static tTestDesc aDarwin_Stdint_2Tests[] = {
3195 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3198 * Fix Command Arguments for Darwin_Stdint_2
3200 static const char* apzDarwin_Stdint_2Patch[] = {
3202 "#if __WORDSIZE == 64\n\
3203 #define INTPTR_MAX 9223372036854775807L\n\
3204 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3206 #define INTPTR_MAX 2147483647L\n\
3207 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3211 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3213 * Description of Darwin_Stdint_3 fix
3215 tSCC zDarwin_Stdint_3Name[] =
3219 * File name selection pattern
3221 tSCC zDarwin_Stdint_3List[] =
3222 "stdint-darwin.h\0stdint.h\0";
3224 * Machine/OS name selection pattern
3226 tSCC* apzDarwin_Stdint_3Machs[] = {
3228 (const char*)NULL };
3231 * content selection pattern - do fix if pattern found
3233 tSCC zDarwin_Stdint_3Select0[] =
3234 "#if __WORDSIZE == 64\n\
3235 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3237 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3240 #define DARWIN_STDINT_3_TEST_CT 1
3241 static tTestDesc aDarwin_Stdint_3Tests[] = {
3242 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3245 * Fix Command Arguments for Darwin_Stdint_3
3247 static const char* apzDarwin_Stdint_3Patch[] = {
3249 "#if __WORDSIZE == 64\n\
3250 #define UINTPTR_MAX 18446744073709551615UL\n\
3252 #define UINTPTR_MAX 4294967295UL\n\
3256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3258 * Description of Darwin_Stdint_4 fix
3260 tSCC zDarwin_Stdint_4Name[] =
3264 * File name selection pattern
3266 tSCC zDarwin_Stdint_4List[] =
3267 "stdint-darwin.h\0stdint.h\0";
3269 * Machine/OS name selection pattern
3271 tSCC* apzDarwin_Stdint_4Machs[] = {
3273 (const char*)NULL };
3276 * content selection pattern - do fix if pattern found
3278 tSCC zDarwin_Stdint_4Select0[] =
3279 "#if __WORDSIZE == 64\n\
3280 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3282 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3285 #define DARWIN_STDINT_4_TEST_CT 1
3286 static tTestDesc aDarwin_Stdint_4Tests[] = {
3287 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3290 * Fix Command Arguments for Darwin_Stdint_4
3292 static const char* apzDarwin_Stdint_4Patch[] = {
3294 "#if __WORDSIZE == 64\n\
3295 #define SIZE_MAX 18446744073709551615UL\n\
3297 #define SIZE_MAX 4294967295UL\n\
3301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3303 * Description of Darwin_Stdint_5 fix
3305 tSCC zDarwin_Stdint_5Name[] =
3309 * File name selection pattern
3311 tSCC zDarwin_Stdint_5List[] =
3312 "stdint-darwin.h\0stdint.h\0";
3314 * Machine/OS name selection pattern
3316 tSCC* apzDarwin_Stdint_5Machs[] = {
3318 (const char*)NULL };
3321 * content selection pattern - do fix if pattern found
3323 tSCC zDarwin_Stdint_5Select0[] =
3324 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3325 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3326 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3328 #define DARWIN_STDINT_5_TEST_CT 1
3329 static tTestDesc aDarwin_Stdint_5Tests[] = {
3330 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3333 * Fix Command Arguments for Darwin_Stdint_5
3335 static const char* apzDarwin_Stdint_5Patch[] = {
3337 "#if __WORDSIZE == 64\n\
3338 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3339 #define INTMAX_MAX 9223372036854775807L\n\
3340 #define UINTMAX_MAX 18446744073709551615UL\n\
3342 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3343 #define INTMAX_MAX 9223372036854775807LL\n\
3344 #define UINTMAX_MAX 18446744073709551615ULL\n\
3348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3350 * Description of Darwin_Stdint_6 fix
3352 tSCC zDarwin_Stdint_6Name[] =
3356 * File name selection pattern
3358 tSCC zDarwin_Stdint_6List[] =
3359 "stdint-darwin.h\0stdint.h\0";
3361 * Machine/OS name selection pattern
3363 tSCC* apzDarwin_Stdint_6Machs[] = {
3365 (const char*)NULL };
3368 * content selection pattern - do fix if pattern found
3370 tSCC zDarwin_Stdint_6Select0[] =
3371 "#if __WORDSIZE == 64\n\
3372 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3373 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3375 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3376 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3379 #define DARWIN_STDINT_6_TEST_CT 1
3380 static tTestDesc aDarwin_Stdint_6Tests[] = {
3381 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3384 * Fix Command Arguments for Darwin_Stdint_6
3386 static const char* apzDarwin_Stdint_6Patch[] = {
3388 "#if __WORDSIZE == 64\n\
3389 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3390 #define PTRDIFF_MAX 9223372036854775807L\n\
3392 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3393 #define PTRDIFF_MAX 2147483647\n\
3397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3399 * Description of Darwin_Stdint_7 fix
3401 tSCC zDarwin_Stdint_7Name[] =
3405 * File name selection pattern
3407 tSCC zDarwin_Stdint_7List[] =
3408 "stdint-darwin.h\0stdint.h\0";
3410 * Machine/OS name selection pattern
3412 tSCC* apzDarwin_Stdint_7Machs[] = {
3414 (const char*)NULL };
3417 * content selection pattern - do fix if pattern found
3419 tSCC zDarwin_Stdint_7Select0[] =
3420 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3421 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3423 #define DARWIN_STDINT_7_TEST_CT 1
3424 static tTestDesc aDarwin_Stdint_7Tests[] = {
3425 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3428 * Fix Command Arguments for Darwin_Stdint_7
3430 static const char* apzDarwin_Stdint_7Patch[] = {
3432 "#if __WORDSIZE == 64\n\
3433 #define INTMAX_C(v) (v ## L)\n\
3434 #define UINTMAX_C(v) (v ## UL)\n\
3436 #define INTMAX_C(v) (v ## LL)\n\
3437 #define UINTMAX_C(v) (v ## ULL)\n\
3441 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3443 * Description of Darwin_Ucred__Atomic fix
3445 tSCC zDarwin_Ucred__AtomicName[] =
3446 "darwin_ucred__Atomic";
3449 * File name selection pattern
3451 tSCC zDarwin_Ucred__AtomicList[] =
3454 * Machine/OS name selection pattern
3456 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3458 (const char*)NULL };
3461 * content selection pattern - do fix if pattern found
3463 tSCC zDarwin_Ucred__AtomicSelect0[] =
3466 #define DARWIN_UCRED__ATOMIC_TEST_CT 1
3467 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3468 { TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3471 * Fix Command Arguments for Darwin_Ucred__Atomic
3473 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3475 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3476 # define _Atomic volatile\n\
3478 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3483 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3485 * Description of Dec_Intern_Asm fix
3487 tSCC zDec_Intern_AsmName[] =
3491 * File name selection pattern
3493 tSCC zDec_Intern_AsmList[] =
3496 * Machine/OS name selection pattern
3498 #define apzDec_Intern_AsmMachs (const char**)NULL
3499 #define DEC_INTERN_ASM_TEST_CT 0
3500 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3503 * Fix Command Arguments for Dec_Intern_Asm
3505 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3506 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3508 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3514 * Description of Djgpp_Wchar_H fix
3516 tSCC zDjgpp_Wchar_HName[] =
3520 * File name selection pattern
3522 #define zDjgpp_Wchar_HList (char*)NULL
3524 * Machine/OS name selection pattern
3526 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3529 * content selection pattern - do fix if pattern found
3531 tSCC zDjgpp_Wchar_HSelect0[] =
3535 * content bypass pattern - skip fix if pattern found
3537 tSCC zDjgpp_Wchar_HBypass0[] =
3540 #define DJGPP_WCHAR_H_TEST_CT 2
3541 static tTestDesc aDjgpp_Wchar_HTests[] = {
3542 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3543 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3546 * Fix Command Arguments for Djgpp_Wchar_H
3548 static const char* apzDjgpp_Wchar_HPatch[] = {
3551 #include <sys/djtypes.h>",
3552 "#include <stddef.h>",
3555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3557 * Description of Ecd_Cursor fix
3559 tSCC zEcd_CursorName[] =
3563 * File name selection pattern
3565 tSCC zEcd_CursorList[] =
3566 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3568 * Machine/OS name selection pattern
3570 #define apzEcd_CursorMachs (const char**)NULL
3573 * content selection pattern - do fix if pattern found
3575 tSCC zEcd_CursorSelect0[] =
3578 #define ECD_CURSOR_TEST_CT 1
3579 static tTestDesc aEcd_CursorTests[] = {
3580 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3583 * Fix Command Arguments for Ecd_Cursor
3585 static const char* apzEcd_CursorPatch[] = {
3590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3592 * Description of Feraiseexcept_Nosse_Divbyzero fix
3594 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3595 "feraiseexcept_nosse_divbyzero";
3598 * File name selection pattern
3600 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3601 "bits/fenv.h\0*/bits/fenv.h\0";
3603 * Machine/OS name selection pattern
3605 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3606 "i[34567]86-*-linux*",
3609 (const char*)NULL };
3612 * content selection pattern - do fix if pattern found
3614 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3615 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3618 * content bypass pattern - skip fix if pattern found
3620 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3621 "\"fdivp .*; fwait\"";
3623 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3624 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3625 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3626 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3629 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3631 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3633 "# ifdef __SSE_MATH__\n\
3636 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3637 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3643 * Description of Feraiseexcept_Nosse_Invalid fix
3645 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3646 "feraiseexcept_nosse_invalid";
3649 * File name selection pattern
3651 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3652 "bits/fenv.h\0*/bits/fenv.h\0";
3654 * Machine/OS name selection pattern
3656 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3657 "i[34567]86-*-linux*",
3660 (const char*)NULL };
3663 * content selection pattern - do fix if pattern found
3665 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3666 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3669 * content bypass pattern - skip fix if pattern found
3671 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3672 "\"fdiv .*; fwait\"";
3674 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3675 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3676 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3677 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3680 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3682 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3684 "# ifdef __SSE_MATH__\n\
3687 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3688 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3694 * Description of Freebsd_Gcc3_Breakage fix
3696 tSCC zFreebsd_Gcc3_BreakageName[] =
3697 "freebsd_gcc3_breakage";
3700 * File name selection pattern
3702 tSCC zFreebsd_Gcc3_BreakageList[] =
3705 * Machine/OS name selection pattern
3707 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3709 (const char*)NULL };
3712 * content selection pattern - do fix if pattern found
3714 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3715 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3718 * content bypass pattern - skip fix if pattern found
3720 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3721 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3723 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3724 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3725 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3726 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3729 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3731 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3733 "%0 || __GNUC__ >= 3",
3736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3738 * Description of Freebsd_Gcc4_Breakage fix
3740 tSCC zFreebsd_Gcc4_BreakageName[] =
3741 "freebsd_gcc4_breakage";
3744 * File name selection pattern
3746 tSCC zFreebsd_Gcc4_BreakageList[] =
3749 * Machine/OS name selection pattern
3751 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3753 (const char*)NULL };
3756 * content selection pattern - do fix if pattern found
3758 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3759 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3761 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3762 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3763 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3766 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3768 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3770 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3775 * Description of Glibc_C99_Inline_1 fix
3777 tSCC zGlibc_C99_Inline_1Name[] =
3778 "glibc_c99_inline_1";
3781 * File name selection pattern
3783 tSCC zGlibc_C99_Inline_1List[] =
3784 "features.h\0*/features.h\0";
3786 * Machine/OS name selection pattern
3788 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3791 * content selection pattern - do fix if pattern found
3793 tSCC zGlibc_C99_Inline_1Select0[] =
3794 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3796 #define GLIBC_C99_INLINE_1_TEST_CT 1
3797 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3798 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3801 * Fix Command Arguments for Glibc_C99_Inline_1
3803 static const char* apzGlibc_C99_Inline_1Patch[] = {
3805 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3808 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3810 * Description of Glibc_C99_Inline_1a fix
3812 tSCC zGlibc_C99_Inline_1aName[] =
3813 "glibc_c99_inline_1a";
3816 * File name selection pattern
3818 tSCC zGlibc_C99_Inline_1aList[] =
3819 "features.h\0*/features.h\0";
3821 * Machine/OS name selection pattern
3823 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3826 * content selection pattern - do fix if pattern found
3828 tSCC zGlibc_C99_Inline_1aSelect0[] =
3829 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3830 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3832 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3833 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3834 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3837 * Fix Command Arguments for Glibc_C99_Inline_1a
3839 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3841 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3845 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3847 * Description of Glibc_C99_Inline_2 fix
3849 tSCC zGlibc_C99_Inline_2Name[] =
3850 "glibc_c99_inline_2";
3853 * File name selection pattern
3855 tSCC zGlibc_C99_Inline_2List[] =
3856 "sys/stat.h\0*/sys/stat.h\0";
3858 * Machine/OS name selection pattern
3860 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3863 * content selection pattern - do fix if pattern found
3865 tSCC zGlibc_C99_Inline_2Select0[] =
3866 "extern __inline__ int";
3868 #define GLIBC_C99_INLINE_2_TEST_CT 1
3869 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3870 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3873 * Fix Command Arguments for Glibc_C99_Inline_2
3875 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3876 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3879 __inline__ int \\1/",
3880 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3883 __inline__ int \\1/",
3884 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3887 __inline__ int \\1/",
3888 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3891 __inline__ int __REDIRECT\\1 (\\2/",
3892 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3895 __inline__ int __REDIRECT\\1 (\\2/",
3896 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3904 * Description of Glibc_C99_Inline_3 fix
3906 tSCC zGlibc_C99_Inline_3Name[] =
3907 "glibc_c99_inline_3";
3910 * File name selection pattern
3912 tSCC zGlibc_C99_Inline_3List[] =
3913 "bits/string2.h\0*/bits/string2.h\0";
3915 * Machine/OS name selection pattern
3917 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3920 * content selection pattern - do fix if pattern found
3922 tSCC zGlibc_C99_Inline_3Select0[] =
3926 * content bypass pattern - skip fix if pattern found
3928 tSCC zGlibc_C99_Inline_3Bypass0[] =
3929 "__extern_inline|__GNU_STDC_INLINE__";
3931 #define GLIBC_C99_INLINE_3_TEST_CT 2
3932 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3933 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3934 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3937 * Fix Command Arguments for Glibc_C99_Inline_3
3939 static const char* apzGlibc_C99_Inline_3Patch[] = {
3941 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3942 "^# ifdef __cplusplus$",
3945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3947 * Description of Glibc_C99_Inline_4 fix
3949 tSCC zGlibc_C99_Inline_4Name[] =
3950 "glibc_c99_inline_4";
3953 * File name selection pattern
3955 tSCC zGlibc_C99_Inline_4List[] =
3956 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3958 * Machine/OS name selection pattern
3960 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3963 * content selection pattern - do fix if pattern found
3965 tSCC zGlibc_C99_Inline_4Select0[] =
3966 "(^| )extern __inline";
3969 * content bypass pattern - skip fix if pattern found
3971 tSCC zGlibc_C99_Inline_4Bypass0[] =
3972 "__extern_inline|__gnu_inline__";
3974 #define GLIBC_C99_INLINE_4_TEST_CT 2
3975 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3976 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3977 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3980 * Fix Command Arguments for Glibc_C99_Inline_4
3982 static const char* apzGlibc_C99_Inline_4Patch[] = {
3984 "%0 __attribute__ ((__gnu_inline__))",
3987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3989 * Description of Glibc_Mutex_Init fix
3991 tSCC zGlibc_Mutex_InitName[] =
3995 * File name selection pattern
3997 tSCC zGlibc_Mutex_InitList[] =
4000 * Machine/OS name selection pattern
4002 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4005 * content selection pattern - do fix if pattern found
4007 tSCC zGlibc_Mutex_InitSelect0[] =
4008 "\\{ *\\{ *0, *\\} *\\}";
4010 #define GLIBC_MUTEX_INIT_TEST_CT 1
4011 static tTestDesc aGlibc_Mutex_InitTests[] = {
4012 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4015 * Fix Command Arguments for Glibc_Mutex_Init
4017 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4018 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4020 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4022 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4023 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4024 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4025 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4026 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4027 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4028 "-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\
4030 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4033 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4035 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4036 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4039 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4041 * Description of Glibc_Stdint fix
4043 tSCC zGlibc_StdintName[] =
4047 * File name selection pattern
4049 tSCC zGlibc_StdintList[] =
4052 * Machine/OS name selection pattern
4054 #define apzGlibc_StdintMachs (const char**)NULL
4057 * content selection pattern - do fix if pattern found
4059 tSCC zGlibc_StdintSelect0[] =
4062 #define GLIBC_STDINT_TEST_CT 1
4063 static tTestDesc aGlibc_StdintTests[] = {
4064 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4067 * Fix Command Arguments for Glibc_Stdint
4069 static const char* apzGlibc_StdintPatch[] = {
4071 "# define UINT8_C(c)\tc\n\
4072 # define UINT16_C(c)\tc",
4073 "# define UINT8_C\\(c\\)\tc ## U\n\
4074 # define UINT16_C\\(c\\)\tc ## U",
4077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4079 * Description of Glibc_Strncpy fix
4081 tSCC zGlibc_StrncpyName[] =
4085 * File name selection pattern
4087 tSCC zGlibc_StrncpyList[] =
4088 "bits/string2.h\0*/bits/string2.h\0";
4090 * Machine/OS name selection pattern
4092 #define apzGlibc_StrncpyMachs (const char**)NULL
4095 * content bypass pattern - skip fix if pattern found
4097 tSCC zGlibc_StrncpyBypass0[] =
4098 "__builtin_strncpy";
4100 #define GLIBC_STRNCPY_TEST_CT 1
4101 static tTestDesc aGlibc_StrncpyTests[] = {
4102 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4105 * Fix Command Arguments for Glibc_Strncpy
4107 static const char* apzGlibc_StrncpyPatch[] = {
4109 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4110 "# define strncpy([^\n\
4116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4118 * Description of Glibc_Tgmath fix
4120 tSCC zGlibc_TgmathName[] =
4124 * File name selection pattern
4126 tSCC zGlibc_TgmathList[] =
4129 * Machine/OS name selection pattern
4131 #define apzGlibc_TgmathMachs (const char**)NULL
4134 * content selection pattern - do fix if pattern found
4136 tSCC zGlibc_TgmathSelect0[] =
4137 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4140 * content bypass pattern - skip fix if pattern found
4142 tSCC zGlibc_TgmathBypass0[] =
4143 "__floating_type\\(type\\) \\\\\n\
4144 .*__builtin_classify_type";
4146 #define GLIBC_TGMATH_TEST_CT 2
4147 static tTestDesc aGlibc_TgmathTests[] = {
4148 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4149 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4152 * Fix Command Arguments for Glibc_Tgmath
4154 static const char* apzGlibc_TgmathPatch[] = {
4156 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4159 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4161 * Description of Gnu_Types fix
4163 tSCC zGnu_TypesName[] =
4167 * File name selection pattern
4169 tSCC zGnu_TypesList[] =
4170 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4172 * Machine/OS name selection pattern
4174 tSCC* apzGnu_TypesMachs[] = {
4175 "*-*-solaris2.1[0-9]*",
4176 (const char*)NULL };
4179 * content selection pattern - do fix if pattern found
4181 tSCC zGnu_TypesSelect0[] =
4182 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4185 * content bypass pattern - skip fix if pattern found
4187 tSCC zGnu_TypesBypass0[] =
4188 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4190 #define GNU_TYPES_TEST_CT 2
4191 static tTestDesc aGnu_TypesTests[] = {
4192 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4193 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4196 * Fix Command Arguments for Gnu_Types
4198 static const char* apzGnu_TypesPatch[] = {
4202 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4204 * Description of Hp_Inline fix
4206 tSCC zHp_InlineName[] =
4210 * File name selection pattern
4212 tSCC zHp_InlineList[] =
4213 "sys/spinlock.h\0machine/machparam.h\0";
4215 * Machine/OS name selection pattern
4217 #define apzHp_InlineMachs (const char**)NULL
4220 * content selection pattern - do fix if pattern found
4222 tSCC zHp_InlineSelect0[] =
4223 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4225 #define HP_INLINE_TEST_CT 1
4226 static tTestDesc aHp_InlineTests[] = {
4227 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4230 * Fix Command Arguments for Hp_Inline
4232 static const char* apzHp_InlinePatch[] = {
4235 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4240 * Description of Hp_Sysfile fix
4242 tSCC zHp_SysfileName[] =
4246 * File name selection pattern
4248 tSCC zHp_SysfileList[] =
4251 * Machine/OS name selection pattern
4253 #define apzHp_SysfileMachs (const char**)NULL
4256 * content selection pattern - do fix if pattern found
4258 tSCC zHp_SysfileSelect0[] =
4261 #define HP_SYSFILE_TEST_CT 1
4262 static tTestDesc aHp_SysfileTests[] = {
4263 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4266 * Fix Command Arguments for Hp_Sysfile
4268 static const char* apzHp_SysfilePatch[] = {
4270 "(struct file *, ...)",
4274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4276 * Description of Hppa_Hpux_Fp_Macros fix
4278 tSCC zHppa_Hpux_Fp_MacrosName[] =
4279 "hppa_hpux_fp_macros";
4282 * File name selection pattern
4284 tSCC zHppa_Hpux_Fp_MacrosList[] =
4287 * Machine/OS name selection pattern
4289 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4291 (const char*)NULL };
4294 * content selection pattern - do fix if pattern found
4296 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4297 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4298 #[ \t]*define[ \t]*FP_ZERO.*\n\
4299 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4300 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4301 #[ \t]*define[ \t]*FP_NAN.*\n";
4303 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4304 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4305 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4308 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4310 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4312 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4313 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4314 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4316 #ifdef _INCLUDE_HPUX_SOURCE\n",
4319 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4321 * Description of Hpux10_Cpp_Pow_Inline fix
4323 tSCC zHpux10_Cpp_Pow_InlineName[] =
4324 "hpux10_cpp_pow_inline";
4327 * File name selection pattern
4329 tSCC zHpux10_Cpp_Pow_InlineList[] =
4330 "fixinc-test-limits.h\0math.h\0";
4332 * Machine/OS name selection pattern
4334 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4337 * content selection pattern - do fix if pattern found
4339 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4340 "^# +ifdef +__cplusplus\n\
4342 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4343 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4345 +extern +\"C\" +\\{\n\
4349 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4350 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4351 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4354 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4356 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4361 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4363 * Description of Hpux11_Cpp_Pow_Inline fix
4365 tSCC zHpux11_Cpp_Pow_InlineName[] =
4366 "hpux11_cpp_pow_inline";
4369 * File name selection pattern
4371 tSCC zHpux11_Cpp_Pow_InlineList[] =
4374 * Machine/OS name selection pattern
4376 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4379 * content selection pattern - do fix if pattern found
4381 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4382 " +inline double pow\\(double d,int expon\\) \\{\n\
4383 +return pow\\(d, \\(double\\)expon\\);\n\
4386 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4387 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4388 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4391 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4393 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4400 * Description of Hpux10_Ctype_Declarations1 fix
4402 tSCC zHpux10_Ctype_Declarations1Name[] =
4403 "hpux10_ctype_declarations1";
4406 * File name selection pattern
4408 tSCC zHpux10_Ctype_Declarations1List[] =
4411 * Machine/OS name selection pattern
4413 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4416 * content selection pattern - do fix if pattern found
4418 tSCC zHpux10_Ctype_Declarations1Select0[] =
4419 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4422 * content bypass pattern - skip fix if pattern found
4424 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4425 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4427 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4428 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4429 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4430 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4433 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4435 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4437 "#ifdef _PROTOTYPES\n\
4438 extern int __tolower(int);\n\
4439 extern int __toupper(int);\n\
4440 #else /* NOT _PROTOTYPES */\n\
4441 extern int __tolower();\n\
4442 extern int __toupper();\n\
4443 #endif /* _PROTOTYPES */\n\n\
4447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4449 * Description of Hpux10_Ctype_Declarations2 fix
4451 tSCC zHpux10_Ctype_Declarations2Name[] =
4452 "hpux10_ctype_declarations2";
4455 * File name selection pattern
4457 tSCC zHpux10_Ctype_Declarations2List[] =
4460 * Machine/OS name selection pattern
4462 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4465 * content selection pattern - do fix if pattern found
4467 tSCC zHpux10_Ctype_Declarations2Select0[] =
4468 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4471 * content bypass pattern - skip fix if pattern found
4473 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4474 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4476 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4477 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4478 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4479 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4482 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4484 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4487 #ifdef _PROTOTYPES\n\
4488 extern int _isalnum(int);\n\
4489 extern int _isalpha(int);\n\
4490 extern int _iscntrl(int);\n\
4491 extern int _isdigit(int);\n\
4492 extern int _isgraph(int);\n\
4493 extern int _islower(int);\n\
4494 extern int _isprint(int);\n\
4495 extern int _ispunct(int);\n\
4496 extern int _isspace(int);\n\
4497 extern int _isupper(int);\n\
4498 extern int _isxdigit(int);\n\
4499 # else /* not _PROTOTYPES */\n\
4500 extern int _isalnum();\n\
4501 extern int _isalpha();\n\
4502 extern int _iscntrl();\n\
4503 extern int _isdigit();\n\
4504 extern int _isgraph();\n\
4505 extern int _islower();\n\
4506 extern int _isprint();\n\
4507 extern int _ispunct();\n\
4508 extern int _isspace();\n\
4509 extern int _isupper();\n\
4510 extern int _isxdigit();\n\
4511 #endif /* _PROTOTYPES */\n",
4514 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4516 * Description of Hpux10_Stdio_Declarations fix
4518 tSCC zHpux10_Stdio_DeclarationsName[] =
4519 "hpux10_stdio_declarations";
4522 * File name selection pattern
4524 tSCC zHpux10_Stdio_DeclarationsList[] =
4527 * Machine/OS name selection pattern
4529 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4532 * content selection pattern - do fix if pattern found
4534 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4535 "^#[ \t]*define _iob[ \t]*__iob";
4538 * content bypass pattern - skip fix if pattern found
4540 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4541 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4543 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4544 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4545 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4546 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4549 * Fix Command Arguments for Hpux10_Stdio_Declarations
4551 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4554 # if defined(__STDC__) || defined(__cplusplus)\n\
4555 extern int snprintf(char *, size_t, const char *, ...);\n\
4556 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4557 # else /* not __STDC__) || __cplusplus */\n\
4558 extern int snprintf();\n\
4559 extern int vsnprintf();\n\
4560 # endif /* __STDC__) || __cplusplus */\n",
4563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4565 * Description of Hppa_Hpux11_Alloca fix
4567 tSCC zHppa_Hpux11_AllocaName[] =
4568 "hppa_hpux11_alloca";
4571 * File name selection pattern
4573 tSCC zHppa_Hpux11_AllocaList[] =
4576 * Machine/OS name selection pattern
4578 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4580 (const char*)NULL };
4583 * content selection pattern - do fix if pattern found
4585 tSCC zHppa_Hpux11_AllocaSelect0[] =
4586 "#ifndef _STDDEF_INCLUDED";
4588 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4589 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4590 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4593 * Fix Command Arguments for Hppa_Hpux11_Alloca
4595 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4597 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4598 # include <sys/stdsyms.h>\n\
4599 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4605 * Description of Hpux11_Abs fix
4607 tSCC zHpux11_AbsName[] =
4611 * File name selection pattern
4613 tSCC zHpux11_AbsList[] =
4616 * Machine/OS name selection pattern
4618 tSCC* apzHpux11_AbsMachs[] = {
4620 (const char*)NULL };
4623 * content selection pattern - do fix if pattern found
4625 tSCC zHpux11_AbsSelect0[] =
4626 "ifndef _MATH_INCLUDED";
4628 #define HPUX11_ABS_TEST_CT 1
4629 static tTestDesc aHpux11_AbsTests[] = {
4630 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4633 * Fix Command Arguments for Hpux11_Abs
4635 static const char* apzHpux11_AbsPatch[] = {
4637 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4642 * Description of Hpux11_Lwp_Rwlock_Valid fix
4644 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4645 "hpux11_lwp_rwlock_valid";
4648 * File name selection pattern
4650 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4653 * Machine/OS name selection pattern
4655 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4657 (const char*)NULL };
4660 * content selection pattern - do fix if pattern found
4662 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4663 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4665 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4666 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4667 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4670 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4672 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4674 "#define __LWP_RWLOCK_VALID -29551",
4677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4679 * Description of Hpux11_Extern_Sendfile fix
4681 tSCC zHpux11_Extern_SendfileName[] =
4682 "hpux11_extern_sendfile";
4685 * File name selection pattern
4687 tSCC zHpux11_Extern_SendfileList[] =
4690 * Machine/OS name selection pattern
4692 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4693 "*-hp-hpux11.[12]*",
4694 (const char*)NULL };
4697 * content selection pattern - do fix if pattern found
4699 tSCC zHpux11_Extern_SendfileSelect0[] =
4700 "^[ \t]*extern sbsize_t sendfile.*\n\
4703 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4704 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4705 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4708 * Fix Command Arguments for Hpux11_Extern_Sendfile
4710 static const char* apzHpux11_Extern_SendfilePatch[] = {
4712 "#ifndef _APP32_64BIT_OFF_T\n\
4716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4718 * Description of Hpux11_Extern_Sendpath fix
4720 tSCC zHpux11_Extern_SendpathName[] =
4721 "hpux11_extern_sendpath";
4724 * File name selection pattern
4726 tSCC zHpux11_Extern_SendpathList[] =
4729 * Machine/OS name selection pattern
4731 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4732 "*-hp-hpux11.[12]*",
4733 (const char*)NULL };
4736 * content selection pattern - do fix if pattern found
4738 tSCC zHpux11_Extern_SendpathSelect0[] =
4739 "^[ \t]*extern sbsize_t sendpath.*\n\
4742 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4743 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4744 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4747 * Fix Command Arguments for Hpux11_Extern_Sendpath
4749 static const char* apzHpux11_Extern_SendpathPatch[] = {
4751 "#ifndef _APP32_64BIT_OFF_T\n\
4755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4757 * Description of Hpux11_Fabsf fix
4759 tSCC zHpux11_FabsfName[] =
4763 * File name selection pattern
4765 tSCC zHpux11_FabsfList[] =
4768 * Machine/OS name selection pattern
4770 tSCC* apzHpux11_FabsfMachs[] = {
4772 (const char*)NULL };
4775 * content selection pattern - do fix if pattern found
4777 tSCC zHpux11_FabsfSelect0[] =
4778 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4780 #define HPUX11_FABSF_TEST_CT 1
4781 static tTestDesc aHpux11_FabsfTests[] = {
4782 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4785 * Fix Command Arguments for Hpux11_Fabsf
4787 static const char* apzHpux11_FabsfPatch[] = {
4789 "#ifndef __cplusplus\n\
4794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4796 * Description of Hpux11_Pthread_Pointer fix
4798 tSCC zHpux11_Pthread_PointerName[] =
4799 "hpux11_pthread_pointer";
4802 * File name selection pattern
4804 tSCC zHpux11_Pthread_PointerList[] =
4807 * Machine/OS name selection pattern
4809 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4810 "*-hp-hpux11.[0-3]*",
4811 (const char*)NULL };
4814 * content selection pattern - do fix if pattern found
4816 tSCC zHpux11_Pthread_PointerSelect0[] =
4817 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4819 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4820 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4821 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4824 * Fix Command Arguments for Hpux11_Pthread_Pointer
4826 static const char* apzHpux11_Pthread_PointerPatch[] = {
4831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4833 * Description of Hpux11_Pthread_Const fix
4835 tSCC zHpux11_Pthread_ConstName[] =
4836 "hpux11_pthread_const";
4839 * File name selection pattern
4841 tSCC zHpux11_Pthread_ConstList[] =
4844 * Machine/OS name selection pattern
4846 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4847 "*-hp-hpux11.[0-3]*",
4848 (const char*)NULL };
4851 * content selection pattern - do fix if pattern found
4853 tSCC zHpux11_Pthread_ConstSelect0[] =
4854 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4856 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4857 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4858 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4861 * Fix Command Arguments for Hpux11_Pthread_Const
4863 static const char* apzHpux11_Pthread_ConstPatch[] = {
4868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4870 * Description of Hpux11_Size_T fix
4872 tSCC zHpux11_Size_TName[] =
4876 * File name selection pattern
4878 #define zHpux11_Size_TList (char*)NULL
4880 * Machine/OS name selection pattern
4882 tSCC* apzHpux11_Size_TMachs[] = {
4884 (const char*)NULL };
4887 * content selection pattern - do fix if pattern found
4889 tSCC zHpux11_Size_TSelect0[] =
4892 #define HPUX11_SIZE_T_TEST_CT 1
4893 static tTestDesc aHpux11_Size_TTests[] = {
4894 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4897 * Fix Command Arguments for Hpux11_Size_T
4899 static const char* apzHpux11_Size_TPatch[] = {
4904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4906 * Description of Hpux11_Snprintf fix
4908 tSCC zHpux11_SnprintfName[] =
4912 * File name selection pattern
4914 tSCC zHpux11_SnprintfList[] =
4917 * Machine/OS name selection pattern
4919 #define apzHpux11_SnprintfMachs (const char**)NULL
4922 * content selection pattern - do fix if pattern found
4924 tSCC zHpux11_SnprintfSelect0[] =
4925 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4927 #define HPUX11_SNPRINTF_TEST_CT 1
4928 static tTestDesc aHpux11_SnprintfTests[] = {
4929 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4932 * Fix Command Arguments for Hpux11_Snprintf
4934 static const char* apzHpux11_SnprintfPatch[] = {
4939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4941 * Description of Hpux11_Vsnprintf fix
4943 tSCC zHpux11_VsnprintfName[] =
4947 * File name selection pattern
4949 tSCC zHpux11_VsnprintfList[] =
4952 * Machine/OS name selection pattern
4954 #define apzHpux11_VsnprintfMachs (const char**)NULL
4957 * content selection pattern - do fix if pattern found
4959 tSCC zHpux11_VsnprintfSelect0[] =
4960 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4962 #define HPUX11_VSNPRINTF_TEST_CT 1
4963 static tTestDesc aHpux11_VsnprintfTests[] = {
4964 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4967 * Fix Command Arguments for Hpux11_Vsnprintf
4969 static const char* apzHpux11_VsnprintfPatch[] = {
4974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4976 * Description of Hpux_Vsscanf fix
4978 tSCC zHpux_VsscanfName[] =
4982 * File name selection pattern
4984 tSCC zHpux_VsscanfList[] =
4987 * Machine/OS name selection pattern
4989 tSCC* apzHpux_VsscanfMachs[] = {
4991 (const char*)NULL };
4994 * content selection pattern - do fix if pattern found
4996 tSCC zHpux_VsscanfSelect0[] =
4997 "(extern int vsscanf\\()char";
4999 #define HPUX_VSSCANF_TEST_CT 1
5000 static tTestDesc aHpux_VsscanfTests[] = {
5001 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5004 * Fix Command Arguments for Hpux_Vsscanf
5006 static const char* apzHpux_VsscanfPatch[] = {
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Hpux8_Bogus_Inlines fix
5015 tSCC zHpux8_Bogus_InlinesName[] =
5016 "hpux8_bogus_inlines";
5019 * File name selection pattern
5021 tSCC zHpux8_Bogus_InlinesList[] =
5024 * Machine/OS name selection pattern
5026 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5029 * content selection pattern - do fix if pattern found
5031 tSCC zHpux8_Bogus_InlinesSelect0[] =
5035 * content bypass pattern - skip fix if pattern found
5037 tSCC zHpux8_Bogus_InlinesBypass0[] =
5040 #define HPUX8_BOGUS_INLINES_TEST_CT 2
5041 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5042 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5043 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5046 * Fix Command Arguments for Hpux8_Bogus_Inlines
5048 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5049 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5050 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5051 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5052 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5057 * Description of Hpux_C99_Intptr fix
5059 tSCC zHpux_C99_IntptrName[] =
5063 * File name selection pattern
5065 tSCC zHpux_C99_IntptrList[] =
5066 "stdint-hpux11.h\0stdint.h\0";
5068 * Machine/OS name selection pattern
5070 tSCC* apzHpux_C99_IntptrMachs[] = {
5072 (const char*)NULL };
5073 #define HPUX_C99_INTPTR_TEST_CT 0
5074 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5077 * Fix Command Arguments for Hpux_C99_Intptr
5079 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5080 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5081 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5082 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5083 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5084 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5085 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5090 * Description of Hpux_C99_Inttypes fix
5092 tSCC zHpux_C99_InttypesName[] =
5093 "hpux_c99_inttypes";
5096 * File name selection pattern
5098 tSCC zHpux_C99_InttypesList[] =
5099 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5101 * Machine/OS name selection pattern
5103 tSCC* apzHpux_C99_InttypesMachs[] = {
5104 "*-hp-hpux11.[23]*",
5105 (const char*)NULL };
5106 #define HPUX_C99_INTTYPES_TEST_CT 0
5107 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5110 * Fix Command Arguments for Hpux_C99_Inttypes
5112 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5113 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5114 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5115 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5116 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5121 * Description of Hpux_C99_Inttypes2 fix
5123 tSCC zHpux_C99_Inttypes2Name[] =
5124 "hpux_c99_inttypes2";
5127 * File name selection pattern
5129 tSCC zHpux_C99_Inttypes2List[] =
5130 "stdint-hpux11.h\0stdint.h\0";
5132 * Machine/OS name selection pattern
5134 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5136 (const char*)NULL };
5137 #define HPUX_C99_INTTYPES2_TEST_CT 0
5138 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5141 * Fix Command Arguments for Hpux_C99_Inttypes2
5143 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5144 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5145 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5146 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5147 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5150 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5152 * Description of Hpux_C99_Inttypes3 fix
5154 tSCC zHpux_C99_Inttypes3Name[] =
5155 "hpux_c99_inttypes3";
5158 * File name selection pattern
5160 tSCC zHpux_C99_Inttypes3List[] =
5163 * Machine/OS name selection pattern
5165 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5167 (const char*)NULL };
5170 * content selection pattern - do fix if pattern found
5172 tSCC zHpux_C99_Inttypes3Select0[] =
5173 "#define[ \t]INTPTR_MAX[ \t]*\n\
5174 #define[ \t]UINTPTR_MAX[ \t]*\n";
5176 #define HPUX_C99_INTTYPES3_TEST_CT 1
5177 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5178 { TT_EGREP, zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5181 * Fix Command Arguments for Hpux_C99_Inttypes3
5183 static const char* apzHpux_C99_Inttypes3Patch[] = {
5186 #define SIZE_MAX __SIZE_MAX__\n\
5187 #ifdef __INTPTR_MAX__\n\
5188 # undef INTPTR_MAX\n\
5189 # define INTPTR_MAX __INTPTR_MAX__\n\
5190 # undef INTPTR_MIN\n\
5191 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5193 #ifdef __UINTPTR_MAX__\n\
5194 # undef UINTPTR_MAX\n\
5195 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5201 * Description of Hpux_C99_Inttypes4 fix
5203 tSCC zHpux_C99_Inttypes4Name[] =
5204 "hpux_c99_inttypes4";
5207 * File name selection pattern
5209 tSCC zHpux_C99_Inttypes4List[] =
5212 * Machine/OS name selection pattern
5214 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5215 "hppa*-hp-hpux11.[01]*",
5216 (const char*)NULL };
5217 #define HPUX_C99_INTTYPES4_TEST_CT 0
5218 #define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5221 * Fix Command Arguments for Hpux_C99_Inttypes4
5223 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5224 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5225 #define SCNuMAX \t SCNu64\n",
5226 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5227 #define SCNuMAX \t SCNu32\n",
5230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5232 * Description of Hpux_Ctype_Macros fix
5234 tSCC zHpux_Ctype_MacrosName[] =
5235 "hpux_ctype_macros";
5238 * File name selection pattern
5240 tSCC zHpux_Ctype_MacrosList[] =
5243 * Machine/OS name selection pattern
5245 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5248 * content selection pattern - do fix if pattern found
5250 tSCC zHpux_Ctype_MacrosSelect0[] =
5251 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5253 #define HPUX_CTYPE_MACROS_TEST_CT 1
5254 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5255 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5258 * Fix Command Arguments for Hpux_Ctype_Macros
5260 static const char* apzHpux_Ctype_MacrosPatch[] = {
5265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5267 * Description of Hpux_Extern_Errno fix
5269 tSCC zHpux_Extern_ErrnoName[] =
5270 "hpux_extern_errno";
5273 * File name selection pattern
5275 tSCC zHpux_Extern_ErrnoList[] =
5278 * Machine/OS name selection pattern
5280 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5282 "*-hp-hpux11.[0-2]*",
5283 (const char*)NULL };
5286 * content selection pattern - do fix if pattern found
5288 tSCC zHpux_Extern_ErrnoSelect0[] =
5289 "^[ \t]*extern int errno;$";
5291 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5292 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5293 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5296 * Fix Command Arguments for Hpux_Extern_Errno
5298 static const char* apzHpux_Extern_ErrnoPatch[] = {
5300 "#ifdef __cplusplus\n\
5304 #ifdef __cplusplus\n\
5309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5311 * Description of Hpux_Htonl fix
5313 tSCC zHpux_HtonlName[] =
5317 * File name selection pattern
5319 tSCC zHpux_HtonlList[] =
5322 * Machine/OS name selection pattern
5324 #define apzHpux_HtonlMachs (const char**)NULL
5327 * content selection pattern - do fix if pattern found
5329 tSCC zHpux_HtonlSelect0[] =
5330 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5332 \\* Macros for number representation conversion\\.\n\
5336 #define HPUX_HTONL_TEST_CT 1
5337 static tTestDesc aHpux_HtonlTests[] = {
5338 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5341 * Fix Command Arguments for Hpux_Htonl
5343 static const char* apzHpux_HtonlPatch[] = {
5349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5351 * Description of Hpux_Imaginary_I fix
5353 tSCC zHpux_Imaginary_IName[] =
5357 * File name selection pattern
5359 tSCC zHpux_Imaginary_IList[] =
5362 * Machine/OS name selection pattern
5364 tSCC* apzHpux_Imaginary_IMachs[] = {
5366 (const char*)NULL };
5369 * content selection pattern - do fix if pattern found
5371 tSCC zHpux_Imaginary_ISelect0[] =
5372 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5374 #define HPUX_IMAGINARY_I_TEST_CT 1
5375 static tTestDesc aHpux_Imaginary_ITests[] = {
5376 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5379 * Fix Command Arguments for Hpux_Imaginary_I
5381 static const char* apzHpux_Imaginary_IPatch[] = {
5383 "#define _Complex_I (__extension__ 1.0iF)",
5386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5388 * Description of Hpux_Inttype_Int8_T fix
5390 tSCC zHpux_Inttype_Int8_TName[] =
5391 "hpux_inttype_int8_t";
5394 * File name selection pattern
5396 tSCC zHpux_Inttype_Int8_TList[] =
5397 "sys/_inttypes.h\0";
5399 * Machine/OS name selection pattern
5401 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5403 (const char*)NULL };
5406 * content selection pattern - do fix if pattern found
5408 tSCC zHpux_Inttype_Int8_TSelect0[] =
5409 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5411 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5412 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5413 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5416 * Fix Command Arguments for Hpux_Inttype_Int8_T
5418 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5420 "typedef signed char int%18_t;",
5423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5425 * Description of Hpux_Long_Double fix
5427 tSCC zHpux_Long_DoubleName[] =
5431 * File name selection pattern
5433 tSCC zHpux_Long_DoubleList[] =
5436 * Machine/OS name selection pattern
5438 tSCC* apzHpux_Long_DoubleMachs[] = {
5440 "*-*-hpux11.[012]*",
5441 (const char*)NULL };
5444 * content selection pattern - do fix if pattern found
5446 tSCC zHpux_Long_DoubleSelect0[] =
5447 "extern[ \t]long_double[ \t]strtold";
5450 * content bypass pattern - skip fix if pattern found
5452 tSCC zHpux_Long_DoubleBypass0[] =
5455 #define HPUX_LONG_DOUBLE_TEST_CT 2
5456 static tTestDesc aHpux_Long_DoubleTests[] = {
5457 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5458 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5461 * Fix Command Arguments for Hpux_Long_Double
5463 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5464 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5465 "-e", "s/long_double/long double/g",
5468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5470 * Description of Hpux_Long_Double_2 fix
5472 tSCC zHpux_Long_Double_2Name[] =
5473 "hpux_long_double_2";
5476 * File name selection pattern
5478 tSCC zHpux_Long_Double_2List[] =
5481 * Machine/OS name selection pattern
5483 tSCC* apzHpux_Long_Double_2Machs[] = {
5484 "hppa*-*-hpux11.3*",
5485 (const char*)NULL };
5488 * content selection pattern - do fix if pattern found
5490 tSCC zHpux_Long_Double_2Select0[] =
5491 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5493 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5494 static tTestDesc aHpux_Long_Double_2Tests[] = {
5495 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5498 * Fix Command Arguments for Hpux_Long_Double_2
5500 static const char* apzHpux_Long_Double_2Patch[] = {
5502 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5507 * Description of Hpux_Pthread_Initializers fix
5509 tSCC zHpux_Pthread_InitializersName[] =
5510 "hpux_pthread_initializers";
5513 * File name selection pattern
5515 tSCC zHpux_Pthread_InitializersList[] =
5518 * Machine/OS name selection pattern
5520 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5521 "*-hp-hpux11.[0-3]*",
5522 (const char*)NULL };
5523 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5524 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5527 * Fix Command Arguments for Hpux_Pthread_Initializers
5529 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5530 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5531 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5532 "-e", "/^[ \t]*0$/d",
5533 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5534 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5535 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5536 "-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\\\\@",
5537 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5538 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5539 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5540 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5541 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5542 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5547 * Description of Hpux_Spu_Info fix
5549 tSCC zHpux_Spu_InfoName[] =
5553 * File name selection pattern
5555 tSCC zHpux_Spu_InfoList[] =
5556 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5558 * Machine/OS name selection pattern
5560 tSCC* apzHpux_Spu_InfoMachs[] = {
5562 (const char*)NULL };
5565 * content selection pattern - do fix if pattern found
5567 tSCC zHpux_Spu_InfoSelect0[] =
5568 "^.*extern.*spu_info.*";
5570 #define HPUX_SPU_INFO_TEST_CT 1
5571 static tTestDesc aHpux_Spu_InfoTests[] = {
5572 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5575 * Fix Command Arguments for Hpux_Spu_Info
5577 static const char* apzHpux_Spu_InfoPatch[] = {
5584 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5586 * Description of Hpux_Stdint_Least_Fast fix
5588 tSCC zHpux_Stdint_Least_FastName[] =
5589 "hpux_stdint_least_fast";
5592 * File name selection pattern
5594 tSCC zHpux_Stdint_Least_FastList[] =
5595 "stdint-hpux11.h\0stdint.h\0";
5597 * Machine/OS name selection pattern
5599 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5601 (const char*)NULL };
5604 * content selection pattern - do fix if pattern found
5606 tSCC zHpux_Stdint_Least_FastSelect0[] =
5607 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5609 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5610 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5611 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5614 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5616 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5618 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5621 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5623 * Description of Hpux_Longjmp fix
5625 tSCC zHpux_LongjmpName[] =
5629 * File name selection pattern
5631 tSCC zHpux_LongjmpList[] =
5634 * Machine/OS name selection pattern
5636 tSCC* apzHpux_LongjmpMachs[] = {
5638 (const char*)NULL };
5641 * content selection pattern - do fix if pattern found
5643 tSCC zHpux_LongjmpSelect0[] =
5644 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5646 #define HPUX_LONGJMP_TEST_CT 1
5647 static tTestDesc aHpux_LongjmpTests[] = {
5648 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5651 * Fix Command Arguments for Hpux_Longjmp
5653 static const char* apzHpux_LongjmpPatch[] = {
5655 "%0 __attribute__ ((__noreturn__))",
5658 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5660 * Description of Hpux_Systime fix
5662 tSCC zHpux_SystimeName[] =
5666 * File name selection pattern
5668 tSCC zHpux_SystimeList[] =
5671 * Machine/OS name selection pattern
5673 #define apzHpux_SystimeMachs (const char**)NULL
5676 * content selection pattern - do fix if pattern found
5678 tSCC zHpux_SystimeSelect0[] =
5679 "^extern struct sigevent;";
5681 #define HPUX_SYSTIME_TEST_CT 1
5682 static tTestDesc aHpux_SystimeTests[] = {
5683 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5686 * Fix Command Arguments for Hpux_Systime
5688 static const char* apzHpux_SystimePatch[] = {
5693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5695 * Description of Huge_Val_Hex fix
5697 tSCC zHuge_Val_HexName[] =
5701 * File name selection pattern
5703 tSCC zHuge_Val_HexList[] =
5704 "bits/huge_val.h\0*/bits/huge_val.h\0";
5706 * Machine/OS name selection pattern
5708 #define apzHuge_Val_HexMachs (const char**)NULL
5711 * content selection pattern - do fix if pattern found
5713 tSCC zHuge_Val_HexSelect0[] =
5714 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5717 * content bypass pattern - skip fix if pattern found
5719 tSCC zHuge_Val_HexBypass0[] =
5720 "__builtin_huge_val";
5722 #define HUGE_VAL_HEX_TEST_CT 2
5723 static tTestDesc aHuge_Val_HexTests[] = {
5724 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5725 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5728 * Fix Command Arguments for Huge_Val_Hex
5730 static const char* apzHuge_Val_HexPatch[] = {
5732 "#define HUGE_VAL (__builtin_huge_val())\n",
5735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5737 * Description of Huge_Valf_Hex fix
5739 tSCC zHuge_Valf_HexName[] =
5743 * File name selection pattern
5745 tSCC zHuge_Valf_HexList[] =
5746 "bits/huge_val.h\0*/bits/huge_val.h\0";
5748 * Machine/OS name selection pattern
5750 #define apzHuge_Valf_HexMachs (const char**)NULL
5753 * content selection pattern - do fix if pattern found
5755 tSCC zHuge_Valf_HexSelect0[] =
5756 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5759 * content bypass pattern - skip fix if pattern found
5761 tSCC zHuge_Valf_HexBypass0[] =
5762 "__builtin_huge_valf";
5764 #define HUGE_VALF_HEX_TEST_CT 2
5765 static tTestDesc aHuge_Valf_HexTests[] = {
5766 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5767 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5770 * Fix Command Arguments for Huge_Valf_Hex
5772 static const char* apzHuge_Valf_HexPatch[] = {
5774 "#define HUGE_VALF (__builtin_huge_valf())\n",
5777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5779 * Description of Huge_Vall_Hex fix
5781 tSCC zHuge_Vall_HexName[] =
5785 * File name selection pattern
5787 tSCC zHuge_Vall_HexList[] =
5788 "bits/huge_val.h\0*/bits/huge_val.h\0";
5790 * Machine/OS name selection pattern
5792 #define apzHuge_Vall_HexMachs (const char**)NULL
5795 * content selection pattern - do fix if pattern found
5797 tSCC zHuge_Vall_HexSelect0[] =
5798 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5801 * content bypass pattern - skip fix if pattern found
5803 tSCC zHuge_Vall_HexBypass0[] =
5804 "__builtin_huge_vall";
5806 #define HUGE_VALL_HEX_TEST_CT 2
5807 static tTestDesc aHuge_Vall_HexTests[] = {
5808 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5809 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5812 * Fix Command Arguments for Huge_Vall_Hex
5814 static const char* apzHuge_Vall_HexPatch[] = {
5816 "#define HUGE_VALL (__builtin_huge_vall())\n",
5819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5821 * Description of Int_Abort_Free_And_Exit fix
5823 tSCC zInt_Abort_Free_And_ExitName[] =
5824 "int_abort_free_and_exit";
5827 * File name selection pattern
5829 tSCC zInt_Abort_Free_And_ExitList[] =
5832 * Machine/OS name selection pattern
5834 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5837 * content selection pattern - do fix if pattern found
5839 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5840 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5843 * content bypass pattern - skip fix if pattern found
5845 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5846 "_CLASSIC_ANSI_TYPES";
5848 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5849 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5850 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5851 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5854 * Fix Command Arguments for Int_Abort_Free_And_Exit
5856 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5863 * Description of Io_Quotes_Def fix
5865 tSCC zIo_Quotes_DefName[] =
5869 * File name selection pattern
5871 #define zIo_Quotes_DefList (char*)NULL
5873 * Machine/OS name selection pattern
5875 #define apzIo_Quotes_DefMachs (const char**)NULL
5878 * content selection pattern - do fix if pattern found
5880 tSCC zIo_Quotes_DefSelect0[] =
5881 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5883 #define IO_QUOTES_DEF_TEST_CT 1
5884 static tTestDesc aIo_Quotes_DefTests[] = {
5885 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5888 * Fix Command Arguments for Io_Quotes_Def
5890 static const char* apzIo_Quotes_DefPatch[] = {
5895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5897 * Description of Io_Quotes_Use fix
5899 tSCC zIo_Quotes_UseName[] =
5903 * File name selection pattern
5905 #define zIo_Quotes_UseList (char*)NULL
5907 * Machine/OS name selection pattern
5909 #define apzIo_Quotes_UseMachs (const char**)NULL
5912 * content selection pattern - do fix if pattern found
5914 tSCC zIo_Quotes_UseSelect0[] =
5915 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5917 #define IO_QUOTES_USE_TEST_CT 1
5918 static tTestDesc aIo_Quotes_UseTests[] = {
5919 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5922 * Fix Command Arguments for Io_Quotes_Use
5924 static const char* apzIo_Quotes_UsePatch[] = {
5929 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5931 * Description of Ip_Missing_Semi fix
5933 tSCC zIp_Missing_SemiName[] =
5937 * File name selection pattern
5939 tSCC zIp_Missing_SemiList[] =
5942 * Machine/OS name selection pattern
5944 #define apzIp_Missing_SemiMachs (const char**)NULL
5947 * content selection pattern - do fix if pattern found
5949 tSCC zIp_Missing_SemiSelect0[] =
5952 #define IP_MISSING_SEMI_TEST_CT 1
5953 static tTestDesc aIp_Missing_SemiTests[] = {
5954 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5957 * Fix Command Arguments for Ip_Missing_Semi
5959 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5960 "-e", "/^struct/,/^};/s/}$/};/",
5963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5965 * Description of Irix_Limits_Const fix
5967 tSCC zIrix_Limits_ConstName[] =
5968 "irix_limits_const";
5971 * File name selection pattern
5973 tSCC zIrix_Limits_ConstList[] =
5974 "fixinc-test-limits.h\0limits.h\0";
5976 * Machine/OS name selection pattern
5978 #define apzIrix_Limits_ConstMachs (const char**)NULL
5981 * content selection pattern - do fix if pattern found
5983 tSCC zIrix_Limits_ConstSelect0[] =
5986 #define IRIX_LIMITS_CONST_TEST_CT 1
5987 static tTestDesc aIrix_Limits_ConstTests[] = {
5988 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5991 * Fix Command Arguments for Irix_Limits_Const
5993 static const char* apzIrix_Limits_ConstPatch[] = {
5998 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6000 * Description of Irix_Stdio_Va_List fix
6002 tSCC zIrix_Stdio_Va_ListName[] =
6003 "irix_stdio_va_list";
6006 * File name selection pattern
6008 tSCC zIrix_Stdio_Va_ListList[] =
6011 * Machine/OS name selection pattern
6013 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6016 * content selection pattern - do fix if pattern found
6018 tSCC zIrix_Stdio_Va_ListSelect0[] =
6019 "/\\* va_list \\*/ char \\*";
6021 #define IRIX_STDIO_VA_LIST_TEST_CT 1
6022 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6023 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6026 * Fix Command Arguments for Irix_Stdio_Va_List
6028 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6033 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6035 * Description of Kandr_Concat fix
6037 tSCC zKandr_ConcatName[] =
6041 * File name selection pattern
6043 tSCC zKandr_ConcatList[] =
6044 "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";
6046 * Machine/OS name selection pattern
6048 #define apzKandr_ConcatMachs (const char**)NULL
6051 * content selection pattern - do fix if pattern found
6053 tSCC zKandr_ConcatSelect0[] =
6056 #define KANDR_CONCAT_TEST_CT 1
6057 static tTestDesc aKandr_ConcatTests[] = {
6058 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
6061 * Fix Command Arguments for Kandr_Concat
6063 static const char* apzKandr_ConcatPatch[] = {
6068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6070 * Description of Linux_Ia64_Ucontext fix
6072 tSCC zLinux_Ia64_UcontextName[] =
6073 "linux_ia64_ucontext";
6076 * File name selection pattern
6078 tSCC zLinux_Ia64_UcontextList[] =
6081 * Machine/OS name selection pattern
6083 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6085 (const char*)NULL };
6088 * content selection pattern - do fix if pattern found
6090 tSCC zLinux_Ia64_UcontextSelect0[] =
6091 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6093 #define LINUX_IA64_UCONTEXT_TEST_CT 1
6094 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6095 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6098 * Fix Command Arguments for Linux_Ia64_Ucontext
6100 static const char* apzLinux_Ia64_UcontextPatch[] = {
6102 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6107 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6109 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6110 "lynxos_no_warning_in_sys_time_h";
6113 * File name selection pattern
6115 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6118 * Machine/OS name selection pattern
6120 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6123 * content selection pattern - do fix if pattern found
6125 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6126 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6128 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6129 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6130 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6133 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6135 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6142 * Description of Lynxos_Missing_Putenv fix
6144 tSCC zLynxos_Missing_PutenvName[] =
6145 "lynxos_missing_putenv";
6148 * File name selection pattern
6150 tSCC zLynxos_Missing_PutenvList[] =
6153 * Machine/OS name selection pattern
6155 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6157 (const char*)NULL };
6160 * content selection pattern - do fix if pattern found
6162 tSCC zLynxos_Missing_PutenvSelect0[] =
6163 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6166 * content bypass pattern - skip fix if pattern found
6168 tSCC zLynxos_Missing_PutenvBypass0[] =
6171 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6172 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6173 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6174 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6177 * Fix Command Arguments for Lynxos_Missing_Putenv
6179 static const char* apzLynxos_Missing_PutenvPatch[] = {
6182 extern int putenv\t\t\t\t_AP((char *));",
6183 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6188 * Description of Machine_Ansi_H_Va_List fix
6190 tSCC zMachine_Ansi_H_Va_ListName[] =
6191 "machine_ansi_h_va_list";
6194 * File name selection pattern
6196 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6198 * Machine/OS name selection pattern
6200 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6203 * content selection pattern - do fix if pattern found
6205 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6206 "define[ \t]+_BSD_VA_LIST_[ \t]";
6209 * content bypass pattern - skip fix if pattern found
6211 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6212 "__builtin_va_list";
6214 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6215 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6216 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6217 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6220 * Fix Command Arguments for Machine_Ansi_H_Va_List
6222 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6224 "%1__builtin_va_list",
6225 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6230 * Description of Machine_Name fix
6232 tSCC zMachine_NameName[] =
6236 * File name selection pattern
6238 #define zMachine_NameList (char*)NULL
6240 * Machine/OS name selection pattern
6242 #define apzMachine_NameMachs (const char**)NULL
6245 * perform the C function call test
6247 tSCC zMachine_NameFTst0[] = "machine_name";
6249 #define MACHINE_NAME_TEST_CT 1
6250 static tTestDesc aMachine_NameTests[] = {
6251 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6254 * Fix Command Arguments for Machine_Name
6256 static const char* apzMachine_NamePatch[] = {
6260 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6262 * Description of Math_Exception fix
6264 tSCC zMath_ExceptionName[] =
6268 * File name selection pattern
6270 tSCC zMath_ExceptionList[] =
6273 * Machine/OS name selection pattern
6275 tSCC* apzMath_ExceptionMachs[] = {
6276 "*-*-solaris2.1[0-9]*",
6277 (const char*)NULL };
6280 * content selection pattern - do fix if pattern found
6282 tSCC zMath_ExceptionSelect0[] =
6286 * content bypass pattern - skip fix if pattern found
6288 tSCC zMath_ExceptionBypass0[] =
6289 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6291 #define MATH_EXCEPTION_TEST_CT 2
6292 static tTestDesc aMath_ExceptionTests[] = {
6293 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6294 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6297 * Fix Command Arguments for Math_Exception
6299 static const char* apzMath_ExceptionPatch[] = {
6301 "#ifdef __cplusplus\n\
6302 #define exception __math_exception\n\
6304 "#ifdef __cplusplus\n\
6309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6311 * Description of Math_Huge_Val_From_Dbl_Max fix
6313 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6314 "math_huge_val_from_dbl_max";
6317 * File name selection pattern
6319 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6322 * Machine/OS name selection pattern
6324 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6327 * content selection pattern - do fix if pattern found
6329 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6330 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6333 * content bypass pattern - skip fix if pattern found
6335 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6336 "define[ \t]+DBL_MAX";
6338 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6339 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6340 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6341 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6344 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6346 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6347 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6348 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6349 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6356 * Description of Nested_Auth_Des fix
6358 tSCC zNested_Auth_DesName[] =
6362 * File name selection pattern
6364 tSCC zNested_Auth_DesList[] =
6367 * Machine/OS name selection pattern
6369 #define apzNested_Auth_DesMachs (const char**)NULL
6372 * content selection pattern - do fix if pattern found
6374 tSCC zNested_Auth_DesSelect0[] =
6375 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6377 #define NESTED_AUTH_DES_TEST_CT 1
6378 static tTestDesc aNested_Auth_DesTests[] = {
6379 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6382 * Fix Command Arguments for Nested_Auth_Des
6384 static const char* apzNested_Auth_DesPatch[] = {
6389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6391 * Description of Netbsd_C99_Inline_1 fix
6393 tSCC zNetbsd_C99_Inline_1Name[] =
6394 "netbsd_c99_inline_1";
6397 * File name selection pattern
6399 tSCC zNetbsd_C99_Inline_1List[] =
6402 * Machine/OS name selection pattern
6404 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6406 (const char*)NULL };
6409 * content selection pattern - do fix if pattern found
6411 tSCC zNetbsd_C99_Inline_1Select0[] =
6412 "extern __inline int";
6414 #define NETBSD_C99_INLINE_1_TEST_CT 1
6415 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6416 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6419 * Fix Command Arguments for Netbsd_C99_Inline_1
6421 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6424 #ifdef __GNUC_STDC_INLINE__\n\
6425 __attribute__((__gnu_inline__))\n\
6430 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6432 * Description of Netbsd_C99_Inline_2 fix
6434 tSCC zNetbsd_C99_Inline_2Name[] =
6435 "netbsd_c99_inline_2";
6438 * File name selection pattern
6440 tSCC zNetbsd_C99_Inline_2List[] =
6443 * Machine/OS name selection pattern
6445 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6447 (const char*)NULL };
6450 * content selection pattern - do fix if pattern found
6452 tSCC zNetbsd_C99_Inline_2Select0[] =
6453 "#define _SIGINLINE extern __inline";
6455 #define NETBSD_C99_INLINE_2_TEST_CT 1
6456 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6457 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6460 * Fix Command Arguments for Netbsd_C99_Inline_2
6462 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6464 "#ifdef __GNUC_STDC_INLINE__\n\
6465 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6473 * Description of Netbsd_Extra_Semicolon fix
6475 tSCC zNetbsd_Extra_SemicolonName[] =
6476 "netbsd_extra_semicolon";
6479 * File name selection pattern
6481 tSCC zNetbsd_Extra_SemicolonList[] =
6484 * Machine/OS name selection pattern
6486 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6488 (const char*)NULL };
6491 * content selection pattern - do fix if pattern found
6493 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6494 "#define[ \t]*__END_DECLS[ \t]*};";
6496 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6497 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6498 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6501 * Fix Command Arguments for Netbsd_Extra_Semicolon
6503 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6505 "#define __END_DECLS }",
6508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6510 * Description of Newlib_Stdint_1 fix
6512 tSCC zNewlib_Stdint_1Name[] =
6516 * File name selection pattern
6518 tSCC zNewlib_Stdint_1List[] =
6519 "stdint-newlib.h\0stdint.h\0";
6521 * Machine/OS name selection pattern
6523 #define apzNewlib_Stdint_1Machs (const char**)NULL
6526 * content selection pattern - do fix if pattern found
6528 tSCC zNewlib_Stdint_1Select0[] =
6529 "@todo - Add support for wint_t types";
6531 #define NEWLIB_STDINT_1_TEST_CT 1
6532 static tTestDesc aNewlib_Stdint_1Tests[] = {
6533 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6536 * Fix Command Arguments for Newlib_Stdint_1
6538 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6539 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6540 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6541 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6542 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6543 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6544 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6545 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6546 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6547 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6548 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6549 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6550 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6551 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6552 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6557 * Description of Newlib_Stdint_2 fix
6559 tSCC zNewlib_Stdint_2Name[] =
6563 * File name selection pattern
6565 tSCC zNewlib_Stdint_2List[] =
6566 "stdint-newlib.h\0stdint.h\0";
6568 * Machine/OS name selection pattern
6570 #define apzNewlib_Stdint_2Machs (const char**)NULL
6573 * content selection pattern - do fix if pattern found
6575 tSCC zNewlib_Stdint_2Select0[] =
6576 "@todo - Add support for wint_t types";
6578 #define NEWLIB_STDINT_2_TEST_CT 1
6579 static tTestDesc aNewlib_Stdint_2Tests[] = {
6580 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6583 * Fix Command Arguments for Newlib_Stdint_2
6585 static const char* apzNewlib_Stdint_2Patch[] = {
6587 "#define INTMAX_MAX __INTMAX_MAX__\n\
6588 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6589 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6590 #define WCHAR_MAX __WCHAR_MAX__\n\
6591 #define WCHAR_MIN __WCHAR_MIN__\n\
6592 #define WINT_MAX __WINT_MAX__\n\
6593 #define WINT_MIN __WINT_MIN__\n\n\
6595 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6600 * Description of Next_Math_Prefix fix
6602 tSCC zNext_Math_PrefixName[] =
6606 * File name selection pattern
6608 tSCC zNext_Math_PrefixList[] =
6611 * Machine/OS name selection pattern
6613 #define apzNext_Math_PrefixMachs (const char**)NULL
6616 * content selection pattern - do fix if pattern found
6618 tSCC zNext_Math_PrefixSelect0[] =
6619 "^extern[ \t]+double[ \t]+__const__[ \t]";
6621 #define NEXT_MATH_PREFIX_TEST_CT 1
6622 static tTestDesc aNext_Math_PrefixTests[] = {
6623 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6626 * Fix Command Arguments for Next_Math_Prefix
6628 static const char* apzNext_Math_PrefixPatch[] = {
6630 "extern double %1(",
6631 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6636 * Description of Next_Template fix
6638 tSCC zNext_TemplateName[] =
6642 * File name selection pattern
6644 tSCC zNext_TemplateList[] =
6647 * Machine/OS name selection pattern
6649 #define apzNext_TemplateMachs (const char**)NULL
6652 * content selection pattern - do fix if pattern found
6654 tSCC zNext_TemplateSelect0[] =
6657 #define NEXT_TEMPLATE_TEST_CT 1
6658 static tTestDesc aNext_TemplateTests[] = {
6659 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6662 * Fix Command Arguments for Next_Template
6664 static const char* apzNext_TemplatePatch[] = {
6667 "\\(([^)]*)[ \t]template\\)",
6670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6672 * Description of Next_Volitile fix
6674 tSCC zNext_VolitileName[] =
6678 * File name selection pattern
6680 tSCC zNext_VolitileList[] =
6683 * Machine/OS name selection pattern
6685 #define apzNext_VolitileMachs (const char**)NULL
6688 * content selection pattern - do fix if pattern found
6690 tSCC zNext_VolitileSelect0[] =
6691 "^extern[ \t]+volatile[ \t]+void[ \t]";
6693 #define NEXT_VOLITILE_TEST_CT 1
6694 static tTestDesc aNext_VolitileTests[] = {
6695 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6698 * Fix Command Arguments for Next_Volitile
6700 static const char* apzNext_VolitilePatch[] = {
6703 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6708 * Description of Next_Wait_Union fix
6710 tSCC zNext_Wait_UnionName[] =
6714 * File name selection pattern
6716 tSCC zNext_Wait_UnionList[] =
6719 * Machine/OS name selection pattern
6721 #define apzNext_Wait_UnionMachs (const char**)NULL
6724 * content selection pattern - do fix if pattern found
6726 tSCC zNext_Wait_UnionSelect0[] =
6727 "wait\\(union wait";
6729 #define NEXT_WAIT_UNION_TEST_CT 1
6730 static tTestDesc aNext_Wait_UnionTests[] = {
6731 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6734 * Fix Command Arguments for Next_Wait_Union
6736 static const char* apzNext_Wait_UnionPatch[] = {
6741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6743 * Description of Nodeent_Syntax fix
6745 tSCC zNodeent_SyntaxName[] =
6749 * File name selection pattern
6751 tSCC zNodeent_SyntaxList[] =
6752 "netdnet/dnetdb.h\0";
6754 * Machine/OS name selection pattern
6756 #define apzNodeent_SyntaxMachs (const char**)NULL
6759 * content selection pattern - do fix if pattern found
6761 tSCC zNodeent_SyntaxSelect0[] =
6762 "char[ \t]*\\*na_addr[ \t]*$";
6764 #define NODEENT_SYNTAX_TEST_CT 1
6765 static tTestDesc aNodeent_SyntaxTests[] = {
6766 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6769 * Fix Command Arguments for Nodeent_Syntax
6771 static const char* apzNodeent_SyntaxPatch[] = {
6776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6778 * Description of Openbsd_Null_Definition fix
6780 tSCC zOpenbsd_Null_DefinitionName[] =
6781 "openbsd_null_definition";
6784 * File name selection pattern
6786 tSCC zOpenbsd_Null_DefinitionList[] =
6787 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6789 * Machine/OS name selection pattern
6791 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6793 (const char*)NULL };
6796 * content selection pattern - do fix if pattern found
6798 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6801 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6802 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6803 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6806 * Fix Command Arguments for Openbsd_Null_Definition
6808 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6811 #ifdef __cplusplus\n\
6813 #define NULL\t__null\n\
6814 #else\t /* ! __GNUG__ */\n\
6816 #endif\t /* __GNUG__ */\n\
6817 #else\t /* ! __cplusplus */\n\
6818 #define NULL\t((void *)0)\n\
6819 #endif\t /* __cplusplus */\n\
6820 #endif\t /* !NULL */",
6821 "^#ifndef[ \t]*NULL\n\
6822 ^#ifdef[ \t]*__GNUG__\n\
6823 ^#define[ \t]*NULL[ \t]*__null\n\
6825 ^#define[ \t]*NULL[ \t]*0L\n\
6830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6832 * Description of Obstack_Lvalue_Cast fix
6834 tSCC zObstack_Lvalue_CastName[] =
6835 "obstack_lvalue_cast";
6838 * File name selection pattern
6840 tSCC zObstack_Lvalue_CastList[] =
6843 * Machine/OS name selection pattern
6845 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6848 * content selection pattern - do fix if pattern found
6850 tSCC zObstack_Lvalue_CastSelect0[] =
6851 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6853 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6854 static tTestDesc aObstack_Lvalue_CastTests[] = {
6855 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6858 * Fix Command Arguments for Obstack_Lvalue_Cast
6860 static const char* apzObstack_Lvalue_CastPatch[] = {
6862 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6865 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6867 * Description of Openbsd_Va_Start fix
6869 tSCC zOpenbsd_Va_StartName[] =
6873 * File name selection pattern
6875 tSCC zOpenbsd_Va_StartList[] =
6878 * Machine/OS name selection pattern
6880 tSCC* apzOpenbsd_Va_StartMachs[] = {
6882 (const char*)NULL };
6885 * content selection pattern - do fix if pattern found
6887 tSCC zOpenbsd_Va_StartSelect0[] =
6888 "__builtin_stdarg_start";
6890 #define OPENBSD_VA_START_TEST_CT 1
6891 static tTestDesc aOpenbsd_Va_StartTests[] = {
6892 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6895 * Fix Command Arguments for Openbsd_Va_Start
6897 static const char* apzOpenbsd_Va_StartPatch[] = {
6899 "__builtin_va_start",
6902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6904 * Description of Osf_Namespace_A fix
6906 tSCC zOsf_Namespace_AName[] =
6910 * File name selection pattern
6912 tSCC zOsf_Namespace_AList[] =
6913 "reg_types.h\0sys/lc_core.h\0";
6915 * Machine/OS name selection pattern
6917 #define apzOsf_Namespace_AMachs (const char**)NULL
6920 * perform the 'test' shell command - do fix on success
6922 tSCC zOsf_Namespace_ATest0[] =
6924 tSCC zOsf_Namespace_ATest1[] =
6925 " -r sys/lc_core.h";
6926 tSCC zOsf_Namespace_ATest2[] =
6927 " -n \"`grep '} regex_t;' reg_types.h`\"";
6928 tSCC zOsf_Namespace_ATest3[] =
6929 " -z \"`grep __regex_t regex.h`\"";
6931 #define OSF_NAMESPACE_A_TEST_CT 4
6932 static tTestDesc aOsf_Namespace_ATests[] = {
6933 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6934 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6935 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6936 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6939 * Fix Command Arguments for Osf_Namespace_A
6941 static const char* apzOsf_Namespace_APatch[] = {
6944 "reg(ex|off|match)_t",
6947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6949 * Description of Osf_Namespace_C fix
6951 tSCC zOsf_Namespace_CName[] =
6955 * File name selection pattern
6957 tSCC zOsf_Namespace_CList[] =
6960 * Machine/OS name selection pattern
6962 #define apzOsf_Namespace_CMachs (const char**)NULL
6965 * content selection pattern - do fix if pattern found
6967 tSCC zOsf_Namespace_CSelect0[] =
6968 "#include <reg_types.h>.*";
6971 * perform the 'test' shell command - do fix on success
6973 tSCC zOsf_Namespace_CTest0[] =
6975 tSCC zOsf_Namespace_CTest1[] =
6976 " -r sys/lc_core.h";
6977 tSCC zOsf_Namespace_CTest2[] =
6978 " -n \"`grep '} regex_t;' reg_types.h`\"";
6979 tSCC zOsf_Namespace_CTest3[] =
6980 " -z \"`grep __regex_t regex.h`\"";
6982 #define OSF_NAMESPACE_C_TEST_CT 5
6983 static tTestDesc aOsf_Namespace_CTests[] = {
6984 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6985 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6986 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6987 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6988 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6991 * Fix Command Arguments for Osf_Namespace_C
6993 static const char* apzOsf_Namespace_CPatch[] = {
6996 typedef __regex_t\tregex_t;\n\
6997 typedef __regoff_t\tregoff_t;\n\
6998 typedef __regmatch_t\tregmatch_t;",
7001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7003 * Description of Pthread_Incomplete_Struct_Argument fix
7005 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7006 "pthread_incomplete_struct_argument";
7009 * File name selection pattern
7011 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7014 * Machine/OS name selection pattern
7016 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7019 * content selection pattern - do fix if pattern found
7021 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7022 "struct __jmp_buf_tag";
7024 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
7025 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7026 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7029 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7031 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7034 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7037 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7039 * Description of Read_Ret_Type fix
7041 tSCC zRead_Ret_TypeName[] =
7045 * File name selection pattern
7047 tSCC zRead_Ret_TypeList[] =
7050 * Machine/OS name selection pattern
7052 #define apzRead_Ret_TypeMachs (const char**)NULL
7055 * content selection pattern - do fix if pattern found
7057 tSCC zRead_Ret_TypeSelect0[] =
7058 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7060 #define READ_RET_TYPE_TEST_CT 1
7061 static tTestDesc aRead_Ret_TypeTests[] = {
7062 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7065 * Fix Command Arguments for Read_Ret_Type
7067 static const char* apzRead_Ret_TypePatch[] = {
7069 "extern unsigned int fread(), fwrite();\n\
7071 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7074 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7076 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7078 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7079 "rpc_xdr_lvalue_cast_a";
7082 * File name selection pattern
7084 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7087 * Machine/OS name selection pattern
7089 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7092 * content selection pattern - do fix if pattern found
7094 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7095 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7098 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7099 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7100 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7103 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7105 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7107 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7112 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7114 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7115 "rpc_xdr_lvalue_cast_b";
7118 * File name selection pattern
7120 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7123 * Machine/OS name selection pattern
7125 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7128 * content selection pattern - do fix if pattern found
7130 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7131 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7134 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7135 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7136 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7139 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7141 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7143 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7148 * Description of Rs6000_Double fix
7150 tSCC zRs6000_DoubleName[] =
7154 * File name selection pattern
7156 tSCC zRs6000_DoubleList[] =
7159 * Machine/OS name selection pattern
7161 #define apzRs6000_DoubleMachs (const char**)NULL
7164 * content selection pattern - do fix if pattern found
7166 tSCC zRs6000_DoubleSelect0[] =
7167 "[^a-zA-Z_]class\\(";
7169 #define RS6000_DOUBLE_TEST_CT 1
7170 static tTestDesc aRs6000_DoubleTests[] = {
7171 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7174 * Fix Command Arguments for Rs6000_Double
7176 static const char* apzRs6000_DoublePatch[] = {
7178 "#ifndef __cplusplus\n\
7181 "^.*[^a-zA-Z_]class\\(.*",
7184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7186 * Description of Rs6000_Fchmod fix
7188 tSCC zRs6000_FchmodName[] =
7192 * File name selection pattern
7194 tSCC zRs6000_FchmodList[] =
7197 * Machine/OS name selection pattern
7199 #define apzRs6000_FchmodMachs (const char**)NULL
7202 * content selection pattern - do fix if pattern found
7204 tSCC zRs6000_FchmodSelect0[] =
7205 "fchmod\\(char \\*";
7207 #define RS6000_FCHMOD_TEST_CT 1
7208 static tTestDesc aRs6000_FchmodTests[] = {
7209 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7212 * Fix Command Arguments for Rs6000_Fchmod
7214 static const char* apzRs6000_FchmodPatch[] = {
7219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7221 * Description of Rs6000_Param fix
7223 tSCC zRs6000_ParamName[] =
7227 * File name selection pattern
7229 tSCC zRs6000_ParamList[] =
7230 "stdio.h\0unistd.h\0";
7232 * Machine/OS name selection pattern
7234 #define apzRs6000_ParamMachs (const char**)NULL
7237 * content selection pattern - do fix if pattern found
7239 tSCC zRs6000_ParamSelect0[] =
7240 "rename\\(const char \\*old, const char \\*new\\)";
7242 #define RS6000_PARAM_TEST_CT 1
7243 static tTestDesc aRs6000_ParamTests[] = {
7244 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7247 * Fix Command Arguments for Rs6000_Param
7249 static const char* apzRs6000_ParamPatch[] = {
7251 "rename(const char *_old, const char *_new)",
7254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7256 * Description of Solaris___Restrict fix
7258 tSCC zSolaris___RestrictName[] =
7259 "solaris___restrict";
7262 * File name selection pattern
7264 tSCC zSolaris___RestrictList[] =
7265 "sys/feature_tests.h\0";
7267 * Machine/OS name selection pattern
7269 tSCC* apzSolaris___RestrictMachs[] = {
7271 (const char*)NULL };
7274 * content selection pattern - do fix if pattern found
7276 tSCC zSolaris___RestrictSelect0[] =
7277 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7279 #define SOLARIS___RESTRICT_TEST_CT 1
7280 static tTestDesc aSolaris___RestrictTests[] = {
7281 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7284 * Fix Command Arguments for Solaris___Restrict
7286 static const char* apzSolaris___RestrictPatch[] = {
7288 "#ifdef __cplusplus\n\
7289 #define\t_RESTRICT_KYWD\t__restrict\n\
7295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7297 * Description of Solaris_Complex fix
7299 tSCC zSolaris_ComplexName[] =
7303 * File name selection pattern
7305 tSCC zSolaris_ComplexList[] =
7308 * Machine/OS name selection pattern
7310 tSCC* apzSolaris_ComplexMachs[] = {
7312 (const char*)NULL };
7315 * content selection pattern - do fix if pattern found
7317 tSCC zSolaris_ComplexSelect0[] =
7318 "#define[ \t]_Complex_I[ \t]_Complex_I";
7320 #define SOLARIS_COMPLEX_TEST_CT 1
7321 static tTestDesc aSolaris_ComplexTests[] = {
7322 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7325 * Fix Command Arguments for Solaris_Complex
7327 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7328 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7329 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7330 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7331 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7336 * Description of Solaris_Complex_Cxx fix
7338 tSCC zSolaris_Complex_CxxName[] =
7339 "solaris_complex_cxx";
7342 * File name selection pattern
7344 tSCC zSolaris_Complex_CxxList[] =
7347 * Machine/OS name selection pattern
7349 tSCC* apzSolaris_Complex_CxxMachs[] = {
7351 (const char*)NULL };
7352 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7353 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7356 * Fix Command Arguments for Solaris_Complex_Cxx
7358 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7359 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7360 #ifdef\t__cplusplus\\\n\
7363 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7364 #ifdef\t__cplusplus\\\n\
7369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7371 * Description of Solaris_Cxx_Linkage fix
7373 tSCC zSolaris_Cxx_LinkageName[] =
7374 "solaris_cxx_linkage";
7377 * File name selection pattern
7379 tSCC zSolaris_Cxx_LinkageList[] =
7380 "iso/stdlib_iso.h\0";
7382 * Machine/OS name selection pattern
7384 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7386 (const char*)NULL };
7389 * content selection pattern - do fix if pattern found
7391 tSCC zSolaris_Cxx_LinkageSelect0[] =
7392 "(#if __cplusplus >= 199711L)\n\
7393 (extern \"C\\+\\+\" \\{\n\
7394 )(.*(bsearch|qsort).*)";
7396 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7397 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7398 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7401 * Fix Command Arguments for Solaris_Cxx_Linkage
7403 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7409 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7411 * Description of Solaris_Getc_Strict_Stdc fix
7413 tSCC zSolaris_Getc_Strict_StdcName[] =
7414 "solaris_getc_strict_stdc";
7417 * File name selection pattern
7419 tSCC zSolaris_Getc_Strict_StdcList[] =
7420 "iso/stdio_iso.h\0";
7422 * Machine/OS name selection pattern
7424 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7426 (const char*)NULL };
7429 * content selection pattern - do fix if pattern found
7431 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7432 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7434 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7435 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7436 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7439 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7441 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7443 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7448 * Description of Solaris_Gets_C11 fix
7450 tSCC zSolaris_Gets_C11Name[] =
7454 * File name selection pattern
7456 tSCC zSolaris_Gets_C11List[] =
7457 "iso/stdio_iso.h\0";
7459 * Machine/OS name selection pattern
7461 tSCC* apzSolaris_Gets_C11Machs[] = {
7463 (const char*)NULL };
7466 * content selection pattern - do fix if pattern found
7468 tSCC zSolaris_Gets_C11Select0[] =
7469 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7471 #define SOLARIS_GETS_C11_TEST_CT 1
7472 static tTestDesc aSolaris_Gets_C11Tests[] = {
7473 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7476 * Fix Command Arguments for Solaris_Gets_C11
7478 static const char* apzSolaris_Gets_C11Patch[] = {
7480 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7481 %1 __attribute__((__deprecated__));\n\
7485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7487 * Description of Solaris_Gets_Cxx14 fix
7489 tSCC zSolaris_Gets_Cxx14Name[] =
7490 "solaris_gets_cxx14";
7493 * File name selection pattern
7495 tSCC zSolaris_Gets_Cxx14List[] =
7496 "iso/stdio_iso.h\0";
7498 * Machine/OS name selection pattern
7500 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7502 (const char*)NULL };
7505 * content selection pattern - do fix if pattern found
7507 tSCC zSolaris_Gets_Cxx14Select0[] =
7508 "(#if __STDC_VERSION__ < 201112L)\n\
7509 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7511 #define SOLARIS_GETS_CXX14_TEST_CT 1
7512 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7513 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7516 * Fix Command Arguments for Solaris_Gets_Cxx14
7518 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7520 "%1 && __cplusplus < 201402L\n\
7524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7526 * Description of Solaris_Int_Const fix
7528 tSCC zSolaris_Int_ConstName[] =
7529 "solaris_int_const";
7532 * File name selection pattern
7534 tSCC zSolaris_Int_ConstList[] =
7535 "sys/int_const.h\0";
7537 * Machine/OS name selection pattern
7539 tSCC* apzSolaris_Int_ConstMachs[] = {
7541 (const char*)NULL };
7544 * content selection pattern - do fix if pattern found
7546 tSCC zSolaris_Int_ConstSelect0[] =
7547 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7549 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7551 #define SOLARIS_INT_CONST_TEST_CT 1
7552 static tTestDesc aSolaris_Int_ConstTests[] = {
7553 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7556 * Fix Command Arguments for Solaris_Int_Const
7558 static const char* apzSolaris_Int_ConstPatch[] = {
7560 "#define\tUINT8_C(c)\t(c)\n\
7562 #define\tUINT16_C(c)\t(c)",
7565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7567 * Description of Solaris_Int_Limits_1 fix
7569 tSCC zSolaris_Int_Limits_1Name[] =
7570 "solaris_int_limits_1";
7573 * File name selection pattern
7575 tSCC zSolaris_Int_Limits_1List[] =
7576 "sys/int_limits.h\0";
7578 * Machine/OS name selection pattern
7580 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7582 (const char*)NULL };
7585 * content selection pattern - do fix if pattern found
7587 tSCC zSolaris_Int_Limits_1Select0[] =
7588 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7589 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7591 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7592 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7593 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7596 * Fix Command Arguments for Solaris_Int_Limits_1
7598 static const char* apzSolaris_Int_Limits_1Patch[] = {
7600 "#define\tUINT8_MAX\t(255)\n\
7601 #define\tUINT16_MAX\t(65535)",
7604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7606 * Description of Solaris_Int_Limits_2 fix
7608 tSCC zSolaris_Int_Limits_2Name[] =
7609 "solaris_int_limits_2";
7612 * File name selection pattern
7614 tSCC zSolaris_Int_Limits_2List[] =
7615 "sys/int_limits.h\0";
7617 * Machine/OS name selection pattern
7619 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7621 (const char*)NULL };
7624 * content selection pattern - do fix if pattern found
7626 tSCC zSolaris_Int_Limits_2Select0[] =
7627 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7629 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7630 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7631 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7634 * Fix Command Arguments for Solaris_Int_Limits_2
7636 static const char* apzSolaris_Int_Limits_2Patch[] = {
7638 "#define\t%1_FAST16_%2 %132_%2",
7641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7643 * Description of Solaris_Int_Limits_3 fix
7645 tSCC zSolaris_Int_Limits_3Name[] =
7646 "solaris_int_limits_3";
7649 * File name selection pattern
7651 tSCC zSolaris_Int_Limits_3List[] =
7652 "sys/int_limits.h\0";
7654 * Machine/OS name selection pattern
7656 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7658 (const char*)NULL };
7661 * content selection pattern - do fix if pattern found
7663 tSCC zSolaris_Int_Limits_3Select0[] =
7664 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7666 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7667 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7668 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7671 * Fix Command Arguments for Solaris_Int_Limits_3
7673 static const char* apzSolaris_Int_Limits_3Patch[] = {
7675 "#define\tSIZE_MAX\t4294967295U",
7678 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7680 * Description of Solaris_Math_1 fix
7682 tSCC zSolaris_Math_1Name[] =
7686 * File name selection pattern
7688 tSCC zSolaris_Math_1List[] =
7691 * Machine/OS name selection pattern
7693 #define apzSolaris_Math_1Machs (const char**)NULL
7696 * content selection pattern - do fix if pattern found
7698 tSCC zSolaris_Math_1Select0[] =
7699 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7702 * content bypass pattern - skip fix if pattern found
7704 tSCC zSolaris_Math_1Bypass0[] =
7707 #define SOLARIS_MATH_1_TEST_CT 2
7708 static tTestDesc aSolaris_Math_1Tests[] = {
7709 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7710 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7713 * Fix Command Arguments for Solaris_Math_1
7715 static const char* apzSolaris_Math_1Patch[] = {
7717 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7718 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7723 * Description of Solaris_Math_10 fix
7725 tSCC zSolaris_Math_10Name[] =
7729 * File name selection pattern
7731 tSCC zSolaris_Math_10List[] =
7734 * Machine/OS name selection pattern
7736 #define apzSolaris_Math_10Machs (const char**)NULL
7739 * content selection pattern - do fix if pattern found
7741 tSCC zSolaris_Math_10Select0[] =
7742 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7744 #define SOLARIS_MATH_10_TEST_CT 1
7745 static tTestDesc aSolaris_Math_10Tests[] = {
7746 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7749 * Fix Command Arguments for Solaris_Math_10
7751 static const char* apzSolaris_Math_10Patch[] = {
7753 "#define\tisinf(x) __builtin_isinf(x)",
7754 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7755 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7756 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7757 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7762 * Description of Solaris_Math_2 fix
7764 tSCC zSolaris_Math_2Name[] =
7768 * File name selection pattern
7770 tSCC zSolaris_Math_2List[] =
7773 * Machine/OS name selection pattern
7775 #define apzSolaris_Math_2Machs (const char**)NULL
7778 * content selection pattern - do fix if pattern found
7780 tSCC zSolaris_Math_2Select0[] =
7781 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7784 * content bypass pattern - skip fix if pattern found
7786 tSCC zSolaris_Math_2Bypass0[] =
7789 #define SOLARIS_MATH_2_TEST_CT 2
7790 static tTestDesc aSolaris_Math_2Tests[] = {
7791 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7792 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7795 * Fix Command Arguments for Solaris_Math_2
7797 static const char* apzSolaris_Math_2Patch[] = {
7799 "#define\tINFINITY\t(__builtin_inff())",
7800 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7805 * Description of Solaris_Math_3 fix
7807 tSCC zSolaris_Math_3Name[] =
7811 * File name selection pattern
7813 tSCC zSolaris_Math_3List[] =
7816 * Machine/OS name selection pattern
7818 #define apzSolaris_Math_3Machs (const char**)NULL
7821 * content selection pattern - do fix if pattern found
7823 tSCC zSolaris_Math_3Select0[] =
7824 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7827 * content bypass pattern - skip fix if pattern found
7829 tSCC zSolaris_Math_3Bypass0[] =
7832 #define SOLARIS_MATH_3_TEST_CT 2
7833 static tTestDesc aSolaris_Math_3Tests[] = {
7834 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7835 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7838 * Fix Command Arguments for Solaris_Math_3
7840 static const char* apzSolaris_Math_3Patch[] = {
7842 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7843 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7848 * Description of Solaris_Math_4 fix
7850 tSCC zSolaris_Math_4Name[] =
7854 * File name selection pattern
7856 tSCC zSolaris_Math_4List[] =
7859 * Machine/OS name selection pattern
7861 #define apzSolaris_Math_4Machs (const char**)NULL
7864 * content selection pattern - do fix if pattern found
7866 tSCC zSolaris_Math_4Select0[] =
7867 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7870 * content bypass pattern - skip fix if pattern found
7872 tSCC zSolaris_Math_4Bypass0[] =
7875 #define SOLARIS_MATH_4_TEST_CT 2
7876 static tTestDesc aSolaris_Math_4Tests[] = {
7877 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7878 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7881 * Fix Command Arguments for Solaris_Math_4
7883 static const char* apzSolaris_Math_4Patch[] = {
7885 "#define\tfpclassify(x) \\\n\
7886 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7887 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7892 * Description of Solaris_Math_8 fix
7894 tSCC zSolaris_Math_8Name[] =
7898 * File name selection pattern
7900 tSCC zSolaris_Math_8List[] =
7903 * Machine/OS name selection pattern
7905 #define apzSolaris_Math_8Machs (const char**)NULL
7908 * content selection pattern - do fix if pattern found
7910 tSCC zSolaris_Math_8Select0[] =
7911 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7914 * content bypass pattern - skip fix if pattern found
7916 tSCC zSolaris_Math_8Bypass0[] =
7919 #define SOLARIS_MATH_8_TEST_CT 2
7920 static tTestDesc aSolaris_Math_8Tests[] = {
7921 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7922 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7925 * Fix Command Arguments for Solaris_Math_8
7927 static const char* apzSolaris_Math_8Patch[] = {
7929 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7930 \t\t\t ? __builtin_signbitf(x) \\\n\
7931 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7932 \t\t\t ? __builtin_signbitl(x) \\\n\
7933 \t\t\t : __builtin_signbit(x))",
7934 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7939 * Description of Solaris_Math_9 fix
7941 tSCC zSolaris_Math_9Name[] =
7945 * File name selection pattern
7947 tSCC zSolaris_Math_9List[] =
7950 * Machine/OS name selection pattern
7952 #define apzSolaris_Math_9Machs (const char**)NULL
7955 * content selection pattern - do fix if pattern found
7957 tSCC zSolaris_Math_9Select0[] =
7958 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7961 * content bypass pattern - skip fix if pattern found
7963 tSCC zSolaris_Math_9Bypass0[] =
7966 #define SOLARIS_MATH_9_TEST_CT 2
7967 static tTestDesc aSolaris_Math_9Tests[] = {
7968 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7969 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7972 * Fix Command Arguments for Solaris_Math_9
7974 static const char* apzSolaris_Math_9Patch[] = {
7976 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7977 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7982 * Description of Solaris_Math_11 fix
7984 tSCC zSolaris_Math_11Name[] =
7988 * File name selection pattern
7990 tSCC zSolaris_Math_11List[] =
7993 * Machine/OS name selection pattern
7995 #define apzSolaris_Math_11Machs (const char**)NULL
7998 * content selection pattern - do fix if pattern found
8000 tSCC zSolaris_Math_11Select0[] =
8001 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8003 #define SOLARIS_MATH_11_TEST_CT 1
8004 static tTestDesc aSolaris_Math_11Tests[] = {
8005 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
8008 * Fix Command Arguments for Solaris_Math_11
8010 static const char* apzSolaris_Math_11Patch[] = {
8013 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8014 \t\t\t ? __builtin_signbitf(x) \\\n\
8015 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
8016 \t\t\t ? __builtin_signbitl(x) \\\n\
8017 \t\t\t : __builtin_signbit(x))",
8018 "^#undef[ \t]+signbit\n\
8019 #if defined\\(__sparc\\)\n\
8020 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8021 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8022 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8023 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8024 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8025 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8026 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8027 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8028 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8029 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8030 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8034 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8036 * Description of Solaris_Math_12 fix
8038 tSCC zSolaris_Math_12Name[] =
8042 * File name selection pattern
8044 tSCC zSolaris_Math_12List[] =
8047 * Machine/OS name selection pattern
8049 tSCC* apzSolaris_Math_12Machs[] = {
8051 (const char*)NULL };
8054 * content selection pattern - do fix if pattern found
8056 tSCC zSolaris_Math_12Select0[] =
8057 "#undef.*_GLIBCXX_USE_C99_MATH";
8059 #define SOLARIS_MATH_12_TEST_CT 1
8060 static tTestDesc aSolaris_Math_12Tests[] = {
8061 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
8064 * Fix Command Arguments for Solaris_Math_12
8066 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8067 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8072 * Description of Solaris_Once_Init_1 fix
8074 tSCC zSolaris_Once_Init_1Name[] =
8075 "solaris_once_init_1";
8078 * File name selection pattern
8080 tSCC zSolaris_Once_Init_1List[] =
8083 * Machine/OS name selection pattern
8085 tSCC* apzSolaris_Once_Init_1Machs[] = {
8087 (const char*)NULL };
8090 * content selection pattern - do fix if pattern found
8092 tSCC zSolaris_Once_Init_1Select0[] =
8093 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8095 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
8096 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8097 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8100 * Fix Command Arguments for Solaris_Once_Init_1
8102 static const char* apzSolaris_Once_Init_1Patch[] = {
8105 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8110 * Description of Solaris_Posix_Spawn_Restrict fix
8112 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8113 "solaris_posix_spawn_restrict";
8116 * File name selection pattern
8118 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8121 * Machine/OS name selection pattern
8123 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8125 (const char*)NULL };
8128 * content selection pattern - do fix if pattern found
8130 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8131 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8133 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8134 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8135 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8138 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8140 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8142 "%1*_RESTRICT_KYWD %2%3",
8145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8147 * Description of Solaris_Pow_Int_Overload fix
8149 tSCC zSolaris_Pow_Int_OverloadName[] =
8150 "solaris_pow_int_overload";
8153 * File name selection pattern
8155 tSCC zSolaris_Pow_Int_OverloadList[] =
8158 * Machine/OS name selection pattern
8160 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8162 (const char*)NULL };
8165 * content selection pattern - do fix if pattern found
8167 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8168 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8171 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8172 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8173 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8176 * Fix Command Arguments for Solaris_Pow_Int_Overload
8178 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8180 "#if __cplusplus < 201103L\n\
8185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8187 * Description of Solaris_Rwlock_Init_1 fix
8189 tSCC zSolaris_Rwlock_Init_1Name[] =
8190 "solaris_rwlock_init_1";
8193 * File name selection pattern
8195 tSCC zSolaris_Rwlock_Init_1List[] =
8198 * Machine/OS name selection pattern
8200 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8202 (const char*)NULL };
8205 * content selection pattern - do fix if pattern found
8207 tSCC zSolaris_Rwlock_Init_1Select0[] =
8208 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8210 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8211 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8212 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8215 * Fix Command Arguments for Solaris_Rwlock_Init_1
8217 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8219 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8222 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8224 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8229 * Description of Solaris_Std___Filbuf fix
8231 tSCC zSolaris_Std___FilbufName[] =
8232 "solaris_std___filbuf";
8235 * File name selection pattern
8237 tSCC zSolaris_Std___FilbufList[] =
8240 * Machine/OS name selection pattern
8242 tSCC* apzSolaris_Std___FilbufMachs[] = {
8244 (const char*)NULL };
8247 * content selection pattern - do fix if pattern found
8249 tSCC zSolaris_Std___FilbufSelect0[] =
8250 "(using std::perror;\n\
8254 * content bypass pattern - skip fix if pattern found
8256 tSCC zSolaris_Std___FilbufBypass0[] =
8257 "using std::__filbuf";
8259 #define SOLARIS_STD___FILBUF_TEST_CT 2
8260 static tTestDesc aSolaris_Std___FilbufTests[] = {
8261 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8262 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8265 * Fix Command Arguments for Solaris_Std___Filbuf
8267 static const char* apzSolaris_Std___FilbufPatch[] = {
8270 using std::__filbuf;\n\
8271 using std::__flsbuf;\n\
8276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8278 * Description of Solaris_Std_Gets_Cxx14 fix
8280 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8281 "solaris_std_gets_cxx14";
8284 * File name selection pattern
8286 tSCC zSolaris_Std_Gets_Cxx14List[] =
8289 * Machine/OS name selection pattern
8291 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8293 (const char*)NULL };
8296 * content selection pattern - do fix if pattern found
8298 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8301 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8302 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8303 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8306 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8308 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8310 "#if __cplusplus < 201402L\n\
8315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8317 * Description of Solaris_Stdio_Tag fix
8319 tSCC zSolaris_Stdio_TagName[] =
8320 "solaris_stdio_tag";
8323 * File name selection pattern
8325 tSCC zSolaris_Stdio_TagList[] =
8328 * Machine/OS name selection pattern
8330 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8333 * content selection pattern - do fix if pattern found
8335 tSCC zSolaris_Stdio_TagSelect0[] =
8336 "__cplusplus < 54321L";
8339 * content bypass pattern - skip fix if pattern found
8341 tSCC zSolaris_Stdio_TagBypass0[] =
8344 #define SOLARIS_STDIO_TAG_TEST_CT 2
8345 static tTestDesc aSolaris_Stdio_TagTests[] = {
8346 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8347 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8350 * Fix Command Arguments for Solaris_Stdio_Tag
8352 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8353 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8358 * Description of Solaris_Stdlib_Noreturn fix
8360 tSCC zSolaris_Stdlib_NoreturnName[] =
8361 "solaris_stdlib_noreturn";
8364 * File name selection pattern
8366 tSCC zSolaris_Stdlib_NoreturnList[] =
8367 "iso/stdlib_c99.h\0";
8369 * Machine/OS name selection pattern
8371 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8373 (const char*)NULL };
8376 * content selection pattern - do fix if pattern found
8378 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8379 "(extern) _Noreturn (void quick_exit\\(int\\));";
8381 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8382 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8383 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8386 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8388 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8390 "%1 %2 __attribute__((__noreturn__));",
8393 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8395 * Description of Statsswtch fix
8397 tSCC zStatsswtchName[] =
8401 * File name selection pattern
8403 tSCC zStatsswtchList[] =
8406 * Machine/OS name selection pattern
8408 #define apzStatsswtchMachs (const char**)NULL
8411 * content selection pattern - do fix if pattern found
8413 tSCC zStatsswtchSelect0[] =
8416 #define STATSSWTCH_TEST_CT 1
8417 static tTestDesc aStatsswtchTests[] = {
8418 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8421 * Fix Command Arguments for Statsswtch
8423 static const char* apzStatsswtchPatch[] = {
8428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8430 * Description of Stdio_Stdarg_H fix
8432 tSCC zStdio_Stdarg_HName[] =
8436 * File name selection pattern
8438 tSCC zStdio_Stdarg_HList[] =
8441 * Machine/OS name selection pattern
8443 tSCC* apzStdio_Stdarg_HMachs[] = {
8444 "*-*-solaris2.1[0-9]*",
8445 (const char*)NULL };
8448 * content bypass pattern - skip fix if pattern found
8450 tSCC zStdio_Stdarg_HBypass0[] =
8451 "include.*(stdarg.h|machine/ansi.h)";
8453 #define STDIO_STDARG_H_TEST_CT 1
8454 static tTestDesc aStdio_Stdarg_HTests[] = {
8455 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8458 * Fix Command Arguments for Stdio_Stdarg_H
8460 static const char* apzStdio_Stdarg_HPatch[] = {
8462 "#define __need___va_list\n\
8463 #include <stdarg.h>\n",
8466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8468 * Description of Stdio_Va_List fix
8470 tSCC zStdio_Va_ListName[] =
8474 * File name selection pattern
8476 tSCC zStdio_Va_ListList[] =
8479 * Machine/OS name selection pattern
8481 tSCC* apzStdio_Va_ListMachs[] = {
8482 "*-*-solaris2.1[0-9]*",
8483 (const char*)NULL };
8486 * content bypass pattern - skip fix if pattern found
8488 tSCC zStdio_Va_ListBypass0[] =
8489 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8491 #define STDIO_VA_LIST_TEST_CT 1
8492 static tTestDesc aStdio_Va_ListTests[] = {
8493 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8496 * Fix Command Arguments for Stdio_Va_List
8498 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8499 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8500 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8501 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8502 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8503 s@ va_list@ __not_va_list__@\n\
8504 s@\\*va_list@*__not_va_list__@\n\
8505 s@ __va_list)@ __gnuc_va_list)@\n\
8506 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8507 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8508 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8509 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8510 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8511 s@VA_LIST@DUMMY_VA_LIST@\n\
8512 s@_Va_LIST@_VA_LIST@",
8515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8517 * Description of Stdio_Va_List_Clients fix
8519 tSCC zStdio_Va_List_ClientsName[] =
8520 "stdio_va_list_clients";
8523 * File name selection pattern
8525 tSCC zStdio_Va_List_ClientsList[] =
8526 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8528 * Machine/OS name selection pattern
8530 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8533 * content bypass pattern - skip fix if pattern found
8535 tSCC zStdio_Va_List_ClientsBypass0[] =
8536 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8537 tSCC zStdio_Va_List_ClientsBypass1[] =
8538 "include <stdarg\\.h>|#ifdef va_start";
8540 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8541 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8542 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8543 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8546 * Fix Command Arguments for Stdio_Va_List_Clients
8548 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8549 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8550 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8551 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8552 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8553 s@ va_list@ __not_va_list__@\n\
8554 s@\\*va_list@*__not_va_list__@\n\
8555 s@ __va_list)@ __gnuc_va_list)@\n\
8556 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8557 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8558 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8559 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8560 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8561 s@VA_LIST@DUMMY_VA_LIST@\n\
8562 s@_Va_LIST@_VA_LIST@",
8565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8567 * Description of Strict_Ansi_Not fix
8569 tSCC zStrict_Ansi_NotName[] =
8573 * File name selection pattern
8575 #define zStrict_Ansi_NotList (char*)NULL
8577 * Machine/OS name selection pattern
8579 #define apzStrict_Ansi_NotMachs (const char**)NULL
8582 * content selection pattern - do fix if pattern found
8584 tSCC zStrict_Ansi_NotSelect0[] =
8585 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8588 * content bypass pattern - skip fix if pattern found
8590 tSCC zStrict_Ansi_NotBypass0[] =
8591 "GNU and MIPS C compilers define __STDC__ differently";
8592 tSCC zStrict_Ansi_NotBypass1[] =
8593 "__SCO_VERSION__.*__STDC__ != 1";
8596 * perform the C function call test
8598 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8600 #define STRICT_ANSI_NOT_TEST_CT 4
8601 static tTestDesc aStrict_Ansi_NotTests[] = {
8602 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8603 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8604 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8605 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8608 * Fix Command Arguments for Strict_Ansi_Not
8610 static const char* apzStrict_Ansi_NotPatch[] = {
8612 "%1 !defined(__STRICT_ANSI__)",
8615 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8617 * Description of Strict_Ansi_Not_Ctd fix
8619 tSCC zStrict_Ansi_Not_CtdName[] =
8620 "strict_ansi_not_ctd";
8623 * File name selection pattern
8625 tSCC zStrict_Ansi_Not_CtdList[] =
8626 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8628 * Machine/OS name selection pattern
8630 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8633 * content selection pattern - do fix if pattern found
8635 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8636 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8639 * perform the C function call test
8641 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8643 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8644 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8645 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8646 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8649 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8651 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8653 "%1 !defined(__STRICT_ANSI__)",
8656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8658 * Description of Strict_Ansi_Only fix
8660 tSCC zStrict_Ansi_OnlyName[] =
8664 * File name selection pattern
8666 #define zStrict_Ansi_OnlyList (char*)NULL
8668 * Machine/OS name selection pattern
8670 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8673 * content selection pattern - do fix if pattern found
8675 tSCC zStrict_Ansi_OnlySelect0[] =
8676 "^([ \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)";
8679 * perform the C function call test
8681 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8683 #define STRICT_ANSI_ONLY_TEST_CT 2
8684 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8685 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8686 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8689 * Fix Command Arguments for Strict_Ansi_Only
8691 static const char* apzStrict_Ansi_OnlyPatch[] = {
8693 "%1 defined(__STRICT_ANSI__)",
8696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8698 * Description of Struct_File fix
8700 tSCC zStruct_FileName[] =
8704 * File name selection pattern
8706 tSCC zStruct_FileList[] =
8709 * Machine/OS name selection pattern
8711 #define apzStruct_FileMachs (const char**)NULL
8714 * content selection pattern - do fix if pattern found
8716 tSCC zStruct_FileSelect0[] =
8717 "^.*xdrstdio_create.*struct __file_s";
8719 #define STRUCT_FILE_TEST_CT 1
8720 static tTestDesc aStruct_FileTests[] = {
8721 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8724 * Fix Command Arguments for Struct_File
8726 static const char* apzStruct_FilePatch[] = {
8728 "struct __file_s;\n\
8732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8734 * Description of Struct_Sockaddr fix
8736 tSCC zStruct_SockaddrName[] =
8740 * File name selection pattern
8742 tSCC zStruct_SockaddrList[] =
8745 * Machine/OS name selection pattern
8747 #define apzStruct_SockaddrMachs (const char**)NULL
8750 * content selection pattern - do fix if pattern found
8752 tSCC zStruct_SockaddrSelect0[] =
8753 "^.*authdes_create.*struct sockaddr[^_]";
8756 * content bypass pattern - skip fix if pattern found
8758 tSCC zStruct_SockaddrBypass0[] =
8760 tSCC zStruct_SockaddrBypass1[] =
8761 "struct sockaddr;\n";
8763 #define STRUCT_SOCKADDR_TEST_CT 3
8764 static tTestDesc aStruct_SockaddrTests[] = {
8765 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8766 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8767 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8770 * Fix Command Arguments for Struct_Sockaddr
8772 static const char* apzStruct_SockaddrPatch[] = {
8774 "struct sockaddr;\n\
8778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8780 * Description of Sun_Auth_Proto fix
8782 tSCC zSun_Auth_ProtoName[] =
8786 * File name selection pattern
8788 tSCC zSun_Auth_ProtoList[] =
8789 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8791 * Machine/OS name selection pattern
8793 #define apzSun_Auth_ProtoMachs (const char**)NULL
8796 * content selection pattern - do fix if pattern found
8798 tSCC zSun_Auth_ProtoSelect0[] =
8799 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8802 * content bypass pattern - skip fix if pattern found
8804 tSCC zSun_Auth_ProtoBypass0[] =
8807 #define SUN_AUTH_PROTO_TEST_CT 2
8808 static tTestDesc aSun_Auth_ProtoTests[] = {
8809 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8810 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8813 * Fix Command Arguments for Sun_Auth_Proto
8815 static const char* apzSun_Auth_ProtoPatch[] = {
8817 "#ifdef __cplusplus\n\
8822 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8827 * Description of Sun_Bogus_Ifdef fix
8829 tSCC zSun_Bogus_IfdefName[] =
8833 * File name selection pattern
8835 tSCC zSun_Bogus_IfdefList[] =
8836 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8838 * Machine/OS name selection pattern
8840 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8843 * content selection pattern - do fix if pattern found
8845 tSCC zSun_Bogus_IfdefSelect0[] =
8846 "#ifdef(.*\\|\\|.*)";
8848 #define SUN_BOGUS_IFDEF_TEST_CT 1
8849 static tTestDesc aSun_Bogus_IfdefTests[] = {
8850 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8853 * Fix Command Arguments for Sun_Bogus_Ifdef
8855 static const char* apzSun_Bogus_IfdefPatch[] = {
8860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8862 * Description of Sun_Catmacro fix
8864 tSCC zSun_CatmacroName[] =
8868 * File name selection pattern
8870 tSCC zSun_CatmacroList[] =
8871 "pixrect/memvar.h\0";
8873 * Machine/OS name selection pattern
8875 #define apzSun_CatmacroMachs (const char**)NULL
8878 * content selection pattern - do fix if pattern found
8880 tSCC zSun_CatmacroSelect0[] =
8881 "^#define[ \t]+CAT\\(a,b\\).*";
8883 #define SUN_CATMACRO_TEST_CT 1
8884 static tTestDesc aSun_CatmacroTests[] = {
8885 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8888 * Fix Command Arguments for Sun_Catmacro
8890 static const char* apzSun_CatmacroPatch[] = {
8893 # define CAT(a,b) a##b\n\
8899 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8901 * Description of Sun_Malloc fix
8903 tSCC zSun_MallocName[] =
8907 * File name selection pattern
8909 tSCC zSun_MallocList[] =
8912 * Machine/OS name selection pattern
8914 #define apzSun_MallocMachs (const char**)NULL
8917 * content bypass pattern - skip fix if pattern found
8919 tSCC zSun_MallocBypass0[] =
8920 "_CLASSIC_ANSI_TYPES";
8922 #define SUN_MALLOC_TEST_CT 1
8923 static tTestDesc aSun_MallocTests[] = {
8924 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8927 * Fix Command Arguments for Sun_Malloc
8929 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8930 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8931 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8932 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8933 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8934 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8939 * Description of Sun_Rusers_Semi fix
8941 tSCC zSun_Rusers_SemiName[] =
8945 * File name selection pattern
8947 tSCC zSun_Rusers_SemiList[] =
8948 "rpcsvc/rusers.h\0";
8950 * Machine/OS name selection pattern
8952 #define apzSun_Rusers_SemiMachs (const char**)NULL
8955 * content selection pattern - do fix if pattern found
8957 tSCC zSun_Rusers_SemiSelect0[] =
8960 #define SUN_RUSERS_SEMI_TEST_CT 1
8961 static tTestDesc aSun_Rusers_SemiTests[] = {
8962 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8965 * Fix Command Arguments for Sun_Rusers_Semi
8967 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8968 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8973 * Description of Sun_Signal fix
8975 tSCC zSun_SignalName[] =
8979 * File name selection pattern
8981 tSCC zSun_SignalList[] =
8982 "sys/signal.h\0signal.h\0";
8984 * Machine/OS name selection pattern
8986 #define apzSun_SignalMachs (const char**)NULL
8989 * content selection pattern - do fix if pattern found
8991 tSCC zSun_SignalSelect0[] =
8992 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8994 #define SUN_SIGNAL_TEST_CT 1
8995 static tTestDesc aSun_SignalTests[] = {
8996 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
8999 * Fix Command Arguments for Sun_Signal
9001 static const char* apzSun_SignalPatch[] = {
9003 "#ifdef __cplusplus\n\
9004 void\t(*signal(...))(...);\n\
9010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9012 * Description of Sunos_Strlen fix
9014 tSCC zSunos_StrlenName[] =
9018 * File name selection pattern
9020 tSCC zSunos_StrlenList[] =
9023 * Machine/OS name selection pattern
9025 #define apzSunos_StrlenMachs (const char**)NULL
9028 * content selection pattern - do fix if pattern found
9030 tSCC zSunos_StrlenSelect0[] =
9031 "int[ \t]*strlen\\(\\);(.*)";
9033 #define SUNOS_STRLEN_TEST_CT 1
9034 static tTestDesc aSunos_StrlenTests[] = {
9035 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
9038 * Fix Command Arguments for Sunos_Strlen
9040 static const char* apzSunos_StrlenPatch[] = {
9042 "__SIZE_TYPE__ strlen();%1",
9045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9047 * Description of Suse_Linux_Vt_Cxx fix
9049 tSCC zSuse_Linux_Vt_CxxName[] =
9050 "suse_linux_vt_cxx";
9053 * File name selection pattern
9055 tSCC zSuse_Linux_Vt_CxxList[] =
9058 * Machine/OS name selection pattern
9060 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9063 * content selection pattern - do fix if pattern found
9065 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9066 "^[ \t]*unsigned int new;";
9068 #define SUSE_LINUX_VT_CXX_TEST_CT 1
9069 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9070 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9073 * Fix Command Arguments for Suse_Linux_Vt_Cxx
9075 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9077 "unsigned int newev;",
9080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9082 * Description of Svr4_Disable_Opt fix
9084 tSCC zSvr4_Disable_OptName[] =
9088 * File name selection pattern
9090 tSCC zSvr4_Disable_OptList[] =
9093 * Machine/OS name selection pattern
9095 #define apzSvr4_Disable_OptMachs (const char**)NULL
9098 * content selection pattern - do fix if pattern found
9100 tSCC zSvr4_Disable_OptSelect0[] =
9101 "#define.*__std_hdr_";
9103 #define SVR4_DISABLE_OPT_TEST_CT 1
9104 static tTestDesc aSvr4_Disable_OptTests[] = {
9105 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9108 * Fix Command Arguments for Svr4_Disable_Opt
9110 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9111 "-e", "/#define.*__std_hdr_/d",
9114 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9116 * Description of Svr4_Getcwd fix
9118 tSCC zSvr4_GetcwdName[] =
9122 * File name selection pattern
9124 tSCC zSvr4_GetcwdList[] =
9125 "stdlib.h\0unistd.h\0prototypes.h\0";
9127 * Machine/OS name selection pattern
9129 #define apzSvr4_GetcwdMachs (const char**)NULL
9132 * content selection pattern - do fix if pattern found
9134 tSCC zSvr4_GetcwdSelect0[] =
9135 "getcwd\\(char \\*, int\\)";
9137 #define SVR4_GETCWD_TEST_CT 1
9138 static tTestDesc aSvr4_GetcwdTests[] = {
9139 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9142 * Fix Command Arguments for Svr4_Getcwd
9144 static const char* apzSvr4_GetcwdPatch[] = {
9146 "getcwd(char *, size_t)",
9149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9151 * Description of Svr4_Profil fix
9153 tSCC zSvr4_ProfilName[] =
9157 * File name selection pattern
9159 tSCC zSvr4_ProfilList[] =
9160 "stdlib.h\0unistd.h\0";
9162 * Machine/OS name selection pattern
9164 #define apzSvr4_ProfilMachs (const char**)NULL
9167 * content selection pattern - do fix if pattern found
9169 tSCC zSvr4_ProfilSelect0[] =
9170 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9172 #define SVR4_PROFIL_TEST_CT 1
9173 static tTestDesc aSvr4_ProfilTests[] = {
9174 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9177 * Fix Command Arguments for Svr4_Profil
9179 static const char* apzSvr4_ProfilPatch[] = {
9181 "profil(unsigned short *, size_t, int, unsigned int)",
9184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9186 * Description of Svr4_Sighandler_Type fix
9188 tSCC zSvr4_Sighandler_TypeName[] =
9189 "svr4_sighandler_type";
9192 * File name selection pattern
9194 tSCC zSvr4_Sighandler_TypeList[] =
9197 * Machine/OS name selection pattern
9199 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9202 * content selection pattern - do fix if pattern found
9204 tSCC zSvr4_Sighandler_TypeSelect0[] =
9205 "void *\\(\\*\\)\\(\\)";
9207 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9208 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9209 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9212 * Fix Command Arguments for Svr4_Sighandler_Type
9214 static const char* apzSvr4_Sighandler_TypePatch[] = {
9219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9221 * Description of Svr4_Undeclared_Getrnge fix
9223 tSCC zSvr4_Undeclared_GetrngeName[] =
9224 "svr4_undeclared_getrnge";
9227 * File name selection pattern
9229 tSCC zSvr4_Undeclared_GetrngeList[] =
9232 * Machine/OS name selection pattern
9234 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9237 * content selection pattern - do fix if pattern found
9239 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9243 * content bypass pattern - skip fix if pattern found
9245 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9246 "static void getrnge";
9248 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9249 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9250 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9251 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9254 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9256 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9259 static int getrnge ();",
9260 "^static int[ \t]+size;",
9263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9265 * Description of Sysv68_String fix
9267 tSCC zSysv68_StringName[] =
9271 * File name selection pattern
9273 tSCC zSysv68_StringList[] =
9274 "testing.h\0string.h\0";
9276 * Machine/OS name selection pattern
9278 #define apzSysv68_StringMachs (const char**)NULL
9281 * content bypass pattern - skip fix if pattern found
9283 tSCC zSysv68_StringBypass0[] =
9284 "_CLASSIC_ANSI_TYPES";
9286 #define SYSV68_STRING_TEST_CT 1
9287 static tTestDesc aSysv68_StringTests[] = {
9288 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9291 * Fix Command Arguments for Sysv68_String
9293 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9294 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9295 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9296 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9297 "-e", "/^extern char$/N",
9298 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9299 "-e", "/^extern int$/N",
9300 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9301 "-e", "/^\tstrncmp(),$/N",
9302 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9303 extern unsigned int\\\n\
9307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9309 * Description of Sysz_Stdlib_For_Sun fix
9311 tSCC zSysz_Stdlib_For_SunName[] =
9312 "sysz_stdlib_for_sun";
9315 * File name selection pattern
9317 tSCC zSysz_Stdlib_For_SunList[] =
9320 * Machine/OS name selection pattern
9322 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9325 * content selection pattern - do fix if pattern found
9327 tSCC zSysz_Stdlib_For_SunSelect0[] =
9328 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9331 * content bypass pattern - skip fix if pattern found
9333 tSCC zSysz_Stdlib_For_SunBypass0[] =
9334 "_CLASSIC_ANSI_TYPES";
9336 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9337 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9338 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9339 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9342 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9344 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9351 * Description of Thread_Keyword fix
9353 tSCC zThread_KeywordName[] =
9357 * File name selection pattern
9359 tSCC zThread_KeywordList[] =
9360 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9362 * Machine/OS name selection pattern
9364 #define apzThread_KeywordMachs (const char**)NULL
9367 * content selection pattern - do fix if pattern found
9369 tSCC zThread_KeywordSelect0[] =
9370 "([* ])__thread([,)])";
9372 #define THREAD_KEYWORD_TEST_CT 1
9373 static tTestDesc aThread_KeywordTests[] = {
9374 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9377 * Fix Command Arguments for Thread_Keyword
9379 static const char* apzThread_KeywordPatch[] = {
9384 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9386 * Description of Tinfo_Cplusplus fix
9388 tSCC zTinfo_CplusplusName[] =
9392 * File name selection pattern
9394 tSCC zTinfo_CplusplusList[] =
9397 * Machine/OS name selection pattern
9399 #define apzTinfo_CplusplusMachs (const char**)NULL
9402 * content selection pattern - do fix if pattern found
9404 tSCC zTinfo_CplusplusSelect0[] =
9407 #define TINFO_CPLUSPLUS_TEST_CT 1
9408 static tTestDesc aTinfo_CplusplusTests[] = {
9409 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9412 * Fix Command Arguments for Tinfo_Cplusplus
9414 static const char* apzTinfo_CplusplusPatch[] = {
9419 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9421 * Description of Ultrix_Const fix
9423 tSCC zUltrix_ConstName[] =
9427 * File name selection pattern
9429 tSCC zUltrix_ConstList[] =
9432 * Machine/OS name selection pattern
9434 #define apzUltrix_ConstMachs (const char**)NULL
9437 * content selection pattern - do fix if pattern found
9439 tSCC zUltrix_ConstSelect0[] =
9440 "perror\\( char \\*";
9442 #define ULTRIX_CONST_TEST_CT 1
9443 static tTestDesc aUltrix_ConstTests[] = {
9444 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9447 * Fix Command Arguments for Ultrix_Const
9449 static const char* apzUltrix_ConstPatch[] = {
9452 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9457 * Description of Ultrix_Const2 fix
9459 tSCC zUltrix_Const2Name[] =
9463 * File name selection pattern
9465 tSCC zUltrix_Const2List[] =
9468 * Machine/OS name selection pattern
9470 #define apzUltrix_Const2Machs (const char**)NULL
9473 * content selection pattern - do fix if pattern found
9475 tSCC zUltrix_Const2Select0[] =
9476 "\\*fopen\\( char \\*";
9478 #define ULTRIX_CONST2_TEST_CT 1
9479 static tTestDesc aUltrix_Const2Tests[] = {
9480 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9483 * Fix Command Arguments for Ultrix_Const2
9485 static const char* apzUltrix_Const2Patch[] = {
9487 "%1( const char *%3, const char *",
9488 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9493 * Description of Va_I960_Macro fix
9495 tSCC zVa_I960_MacroName[] =
9499 * File name selection pattern
9501 tSCC zVa_I960_MacroList[] =
9502 "arch/i960/archI960.h\0";
9504 * Machine/OS name selection pattern
9506 #define apzVa_I960_MacroMachs (const char**)NULL
9509 * content selection pattern - do fix if pattern found
9511 tSCC zVa_I960_MacroSelect0[] =
9512 "__(vsiz|vali|vpad|alignof__)";
9514 #define VA_I960_MACRO_TEST_CT 1
9515 static tTestDesc aVa_I960_MacroTests[] = {
9516 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9519 * Fix Command Arguments for Va_I960_Macro
9521 static const char* apzVa_I960_MacroPatch[] = {
9526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9528 * Description of Vms_Add_Missing_Braces fix
9530 tSCC zVms_Add_Missing_BracesName[] =
9531 "vms_add_missing_braces";
9534 * File name selection pattern
9536 tSCC zVms_Add_Missing_BracesList[] =
9537 "rtldef/signal.h\0";
9539 * Machine/OS name selection pattern
9541 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9543 (const char*)NULL };
9546 * content selection pattern - do fix if pattern found
9548 tSCC zVms_Add_Missing_BracesSelect0[] =
9549 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9551 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9552 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9553 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9556 * Fix Command Arguments for Vms_Add_Missing_Braces
9558 static const char* apzVms_Add_Missing_BracesPatch[] = {
9563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9565 * Description of Vms_Decc_Builtin fix
9567 tSCC zVms_Decc_BuiltinName[] =
9571 * File name selection pattern
9573 tSCC zVms_Decc_BuiltinList[] =
9574 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9576 * Machine/OS name selection pattern
9578 tSCC* apzVms_Decc_BuiltinMachs[] = {
9580 (const char*)NULL };
9583 * content selection pattern - do fix if pattern found
9585 tSCC zVms_Decc_BuiltinSelect0[] =
9586 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9588 #define VMS_DECC_BUILTIN_TEST_CT 1
9589 static tTestDesc aVms_Decc_BuiltinTests[] = {
9590 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9593 * Fix Command Arguments for Vms_Decc_Builtin
9595 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9596 "-e", "s@__MEMSET@memset@",
9597 "-e", "s@__MEMMOVE@memmove@",
9598 "-e", "s@__MEMCPY@memcpy@",
9599 "-e", "s@__STRLEN@strlen@",
9600 "-e", "s@__STRCPY@strcpy@",
9603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9605 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9607 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9608 "vms_define_can_use_extern_prefix";
9611 * File name selection pattern
9613 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9614 "rtldef/decc$types.h\0";
9616 * Machine/OS name selection pattern
9618 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9620 (const char*)NULL };
9623 * content selection pattern - do fix if pattern found
9625 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9627 #[ \t]*if defined\\(__DECCXX\\)\n\
9628 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9630 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9631 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9632 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9635 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9637 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9639 "%0# elif defined (__GNUC__)\n\
9640 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9645 * Description of Vms_Disable_Decc_String_Builtins fix
9647 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9648 "vms_disable_decc_string_builtins";
9651 * File name selection pattern
9653 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9654 "rtldef/string.h\0";
9656 * Machine/OS name selection pattern
9658 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9660 (const char*)NULL };
9663 * content selection pattern - do fix if pattern found
9665 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9666 "#if !defined\\(__VAX\\)\n";
9668 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9669 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9670 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9673 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9675 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9677 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9682 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9684 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9685 "vms_do_not_redeclare_hostalias";
9688 * File name selection pattern
9690 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9691 "rtldef/resolv.h\0";
9693 * Machine/OS name selection pattern
9695 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9697 (const char*)NULL };
9700 * content selection pattern - do fix if pattern found
9702 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9703 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9704 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9706 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9707 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9708 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9711 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9713 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9721 * Description of Vms_Forward_Declare_Struct fix
9723 tSCC zVms_Forward_Declare_StructName[] =
9724 "vms_forward_declare_struct";
9727 * File name selection pattern
9729 tSCC zVms_Forward_Declare_StructList[] =
9732 * Machine/OS name selection pattern
9734 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9736 (const char*)NULL };
9739 * content selection pattern - do fix if pattern found
9741 tSCC zVms_Forward_Declare_StructSelect0[] =
9742 "(/\\* forward decls for C\\+\\+ \\*/\n\
9743 )#ifdef __cplusplus\n";
9745 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9746 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9747 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9750 * Fix Command Arguments for Vms_Forward_Declare_Struct
9752 static const char* apzVms_Forward_Declare_StructPatch[] = {
9754 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9759 * Description of Vms_No_64bit_Getopt fix
9761 tSCC zVms_No_64bit_GetoptName[] =
9762 "vms_no_64bit_getopt";
9765 * File name selection pattern
9767 tSCC zVms_No_64bit_GetoptList[] =
9768 "rtldef/stdio.h\0rtldef/unistd.h\0";
9770 * Machine/OS name selection pattern
9772 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9774 (const char*)NULL };
9777 * content selection pattern - do fix if pattern found
9779 tSCC zVms_No_64bit_GetoptSelect0[] =
9780 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9782 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9783 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9784 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9787 * Fix Command Arguments for Vms_No_64bit_Getopt
9789 static const char* apzVms_No_64bit_GetoptPatch[] = {
9791 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9797 * Description of Vms_Use_Fast_Setjmp fix
9799 tSCC zVms_Use_Fast_SetjmpName[] =
9800 "vms_use_fast_setjmp";
9803 * File name selection pattern
9805 tSCC zVms_Use_Fast_SetjmpList[] =
9806 "rtldef/setjmp.h\0";
9808 * Machine/OS name selection pattern
9810 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9812 (const char*)NULL };
9815 * content selection pattern - do fix if pattern found
9817 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9818 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9820 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9821 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9822 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9825 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9827 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9829 "%0 defined (__GNUC__) ||",
9832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9834 * Description of Vms_Use_Pragma_Extern_Model fix
9836 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9837 "vms_use_pragma_extern_model";
9840 * File name selection pattern
9842 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9844 * Machine/OS name selection pattern
9846 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9848 (const char*)NULL };
9851 * content selection pattern - do fix if pattern found
9853 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9854 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9855 # pragma extern_model __save\n";
9857 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9858 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9859 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9862 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9864 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9866 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9867 # pragma extern_model __save\n",
9870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9872 * Description of Vms_Use_Quoted_Include fix
9874 tSCC zVms_Use_Quoted_IncludeName[] =
9875 "vms_use_quoted_include";
9878 * File name selection pattern
9880 tSCC zVms_Use_Quoted_IncludeList[] =
9881 "rtldef/wait.h\0starlet_c/pthread.h\0";
9883 * Machine/OS name selection pattern
9885 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9887 (const char*)NULL };
9890 * content selection pattern - do fix if pattern found
9892 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9893 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9895 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9896 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9897 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9900 * Fix Command Arguments for Vms_Use_Quoted_Include
9902 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9909 * Description of Void_Null fix
9911 tSCC zVoid_NullName[] =
9915 * File name selection pattern
9917 tSCC zVoid_NullList[] =
9918 "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";
9920 * Machine/OS name selection pattern
9922 #define apzVoid_NullMachs (const char**)NULL
9925 * content selection pattern - do fix if pattern found
9927 tSCC zVoid_NullSelect0[] =
9928 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9931 * content bypass pattern - skip fix if pattern found
9933 tSCC zVoid_NullBypass0[] =
9935 tSCC zVoid_NullBypass1[] =
9938 #define VOID_NULL_TEST_CT 3
9939 static tTestDesc aVoid_NullTests[] = {
9940 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9941 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9942 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9945 * Fix Command Arguments for Void_Null
9947 static const char* apzVoid_NullPatch[] = {
9950 #ifdef __cplusplus\n\
9952 #define NULL __null\n\
9953 #else /* ! __GNUG__ */\n\
9955 #endif /* __GNUG__ */\n\
9956 #else /* ! __cplusplus */\n\
9957 #define NULL ((void *)0)\n\
9958 #endif /* __cplusplus */\n\
9959 #endif /* !NULL */",
9962 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9964 * Description of Vxworks_Gcc_Problem fix
9966 tSCC zVxworks_Gcc_ProblemName[] =
9967 "vxworks_gcc_problem";
9970 * File name selection pattern
9972 tSCC zVxworks_Gcc_ProblemList[] =
9973 "types/vxTypesBase.h\0";
9975 * Machine/OS name selection pattern
9977 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9980 * content selection pattern - do fix if pattern found
9982 tSCC zVxworks_Gcc_ProblemSelect0[] =
9983 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9985 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9986 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9987 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9990 * Fix Command Arguments for Vxworks_Gcc_Problem
9992 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9993 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9994 "-e", "/[ \t]size_t/i\\\n\
9995 #ifndef _GCC_SIZE_T\\\n\
9996 #define _GCC_SIZE_T\n",
9997 "-e", "/[ \t]size_t/a\\\n\
9999 "-e", "/[ \t]ptrdiff_t/i\\\n\
10000 #ifndef _GCC_PTRDIFF_T\\\n\
10001 #define _GCC_PTRDIFF_T\n",
10002 "-e", "/[ \t]ptrdiff_t/a\\\n\
10004 "-e", "/[ \t]wchar_t/i\\\n\
10005 #ifndef _GCC_WCHAR_T\\\n\
10006 #define _GCC_WCHAR_T\n",
10007 "-e", "/[ \t]wchar_t/a\\\n\
10011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10013 * Description of Vxworks_Ioctl_Macro fix
10015 tSCC zVxworks_Ioctl_MacroName[] =
10016 "vxworks_ioctl_macro";
10019 * File name selection pattern
10021 tSCC zVxworks_Ioctl_MacroList[] =
10024 * Machine/OS name selection pattern
10026 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10028 (const char*)NULL };
10029 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
10030 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
10033 * Fix Command Arguments for Vxworks_Ioctl_Macro
10035 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10038 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10039 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10042 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10044 * Description of Vxworks_Mkdir_Macro fix
10046 tSCC zVxworks_Mkdir_MacroName[] =
10047 "vxworks_mkdir_macro";
10050 * File name selection pattern
10052 tSCC zVxworks_Mkdir_MacroList[] =
10055 * Machine/OS name selection pattern
10057 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
10059 (const char*)NULL };
10060 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
10061 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
10064 * Fix Command Arguments for Vxworks_Mkdir_Macro
10066 static const char* apzVxworks_Mkdir_MacroPatch[] = {
10069 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
10070 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10075 * Description of Vxworks_Needs_Vxtypes fix
10077 tSCC zVxworks_Needs_VxtypesName[] =
10078 "vxworks_needs_vxtypes";
10081 * File name selection pattern
10083 tSCC zVxworks_Needs_VxtypesList[] =
10086 * Machine/OS name selection pattern
10088 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10091 * content selection pattern - do fix if pattern found
10093 tSCC zVxworks_Needs_VxtypesSelect0[] =
10094 "uint_t([ \t]+_clocks_per_sec)";
10096 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
10097 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10098 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10101 * Fix Command Arguments for Vxworks_Needs_Vxtypes
10103 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10110 * Description of Vxworks_Needs_Vxworks fix
10112 tSCC zVxworks_Needs_VxworksName[] =
10113 "vxworks_needs_vxworks";
10116 * File name selection pattern
10118 tSCC zVxworks_Needs_VxworksList[] =
10121 * Machine/OS name selection pattern
10123 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10126 * content selection pattern - do fix if pattern found
10128 tSCC zVxworks_Needs_VxworksSelect0[] =
10129 "#[ \t]define[ \t]+__INCstath";
10132 * perform the 'test' shell command - do fix on success
10134 tSCC zVxworks_Needs_VxworksTest0[] =
10135 " -r types/vxTypesOld.h";
10136 tSCC zVxworks_Needs_VxworksTest1[] =
10137 " -n \"`egrep '#include' $file`\"";
10138 tSCC zVxworks_Needs_VxworksTest2[] =
10139 " -n \"`egrep ULONG $file`\"";
10141 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10142 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10143 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10144 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10145 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10146 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10149 * Fix Command Arguments for Vxworks_Needs_Vxworks
10151 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10152 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10153 #include <types/vxTypesOld.h>\n",
10156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10158 * Description of Vxworks_Regs fix
10160 tSCC zVxworks_RegsName[] =
10164 * File name selection pattern
10166 #define zVxworks_RegsList (char*)NULL
10168 * Machine/OS name selection pattern
10170 tSCC* apzVxworks_RegsMachs[] = {
10172 (const char*)NULL };
10175 * content selection pattern - do fix if pattern found
10177 tSCC zVxworks_RegsSelect0[] =
10178 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10180 #define VXWORKS_REGS_TEST_CT 1
10181 static tTestDesc aVxworks_RegsTests[] = {
10182 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10185 * Fix Command Arguments for Vxworks_Regs
10187 static const char* apzVxworks_RegsPatch[] = {
10189 "#include <arch/../regs.h>",
10192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10194 * Description of Vxworks_Time fix
10196 tSCC zVxworks_TimeName[] =
10200 * File name selection pattern
10202 tSCC zVxworks_TimeList[] =
10205 * Machine/OS name selection pattern
10207 #define apzVxworks_TimeMachs (const char**)NULL
10210 * content selection pattern - do fix if pattern found
10212 tSCC zVxworks_TimeSelect0[] =
10213 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10216 * perform the 'test' shell command - do fix on success
10218 tSCC zVxworks_TimeTest0[] =
10221 #define VXWORKS_TIME_TEST_CT 2
10222 static tTestDesc aVxworks_TimeTests[] = {
10223 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10224 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10227 * Fix Command Arguments for Vxworks_Time
10229 static const char* apzVxworks_TimePatch[] = {
10231 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10232 #ifdef __cplusplus\n\
10233 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10235 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10237 #define __gcc_VOIDFUNCPTR_defined\n\
10239 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10244 * Description of Vxworks_Write_Const fix
10246 tSCC zVxworks_Write_ConstName[] =
10247 "vxworks_write_const";
10250 * File name selection pattern
10252 tSCC zVxworks_Write_ConstList[] =
10255 * Machine/OS name selection pattern
10257 tSCC* apzVxworks_Write_ConstMachs[] = {
10259 (const char*)NULL };
10260 #define VXWORKS_WRITE_CONST_TEST_CT 0
10261 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10264 * Fix Command Arguments for Vxworks_Write_Const
10266 static const char* apzVxworks_Write_ConstPatch[] = {
10268 "extern int write (int, const char*, size_t);",
10269 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10274 * Description of Vxworks_Iolib_Include_Unistd fix
10276 tSCC zVxworks_Iolib_Include_UnistdName[] =
10277 "vxworks_iolib_include_unistd";
10280 * File name selection pattern
10282 tSCC zVxworks_Iolib_Include_UnistdList[] =
10285 * Machine/OS name selection pattern
10287 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10289 (const char*)NULL };
10292 * content selection pattern - do fix if pattern found
10294 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10295 "#include \"unistd.h\"";
10297 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10298 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10299 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10302 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10304 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10306 "#include <unistd.h>",
10309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10311 * Description of X11_Class fix
10313 tSCC zX11_ClassName[] =
10317 * File name selection pattern
10319 tSCC zX11_ClassList[] =
10322 * Machine/OS name selection pattern
10324 #define apzX11_ClassMachs (const char**)NULL
10327 * content selection pattern - do fix if pattern found
10329 tSCC zX11_ClassSelect0[] =
10330 "^([ \t]*char \\*)class;(.*)";
10333 * content bypass pattern - skip fix if pattern found
10335 tSCC zX11_ClassBypass0[] =
10338 #define X11_CLASS_TEST_CT 2
10339 static tTestDesc aX11_ClassTests[] = {
10340 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10341 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10344 * Fix Command Arguments for X11_Class
10346 static const char* apzX11_ClassPatch[] = {
10348 "#ifdef __cplusplus\n\
10355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10357 * Description of X11_Class_Usage fix
10359 tSCC zX11_Class_UsageName[] =
10363 * File name selection pattern
10365 tSCC zX11_Class_UsageList[] =
10366 "Xm/BaseClassI.h\0";
10368 * Machine/OS name selection pattern
10370 #define apzX11_Class_UsageMachs (const char**)NULL
10373 * content selection pattern - do fix if pattern found
10375 tSCC zX11_Class_UsageSelect0[] =
10379 * content bypass pattern - skip fix if pattern found
10381 tSCC zX11_Class_UsageBypass0[] =
10384 #define X11_CLASS_USAGE_TEST_CT 2
10385 static tTestDesc aX11_Class_UsageTests[] = {
10386 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10387 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10390 * Fix Command Arguments for X11_Class_Usage
10392 static const char* apzX11_Class_UsagePatch[] = {
10397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10399 * Description of X11_New fix
10401 tSCC zX11_NewName[] =
10405 * File name selection pattern
10407 tSCC zX11_NewList[] =
10408 "Xm/Traversal.h\0";
10410 * Machine/OS name selection pattern
10412 #define apzX11_NewMachs (const char**)NULL
10415 * content bypass pattern - skip fix if pattern found
10417 tSCC zX11_NewBypass0[] =
10420 #define X11_NEW_TEST_CT 1
10421 static tTestDesc aX11_NewTests[] = {
10422 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10425 * Fix Command Arguments for X11_New
10427 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10428 "-e", "/Widget\told, new;/i\\\n\
10429 #ifdef __cplusplus\\\n\
10430 \\\tWidget\told, c_new;\\\n\
10432 "-e", "/Widget\told, new;/a\\\n\
10434 "-e", "s/Widget new,/Widget c_new,/g",
10437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10439 * Description of X11_Sprintf fix
10441 tSCC zX11_SprintfName[] =
10445 * File name selection pattern
10447 tSCC zX11_SprintfList[] =
10448 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10450 * Machine/OS name selection pattern
10452 #define apzX11_SprintfMachs (const char**)NULL
10455 * content selection pattern - do fix if pattern found
10457 tSCC zX11_SprintfSelect0[] =
10458 "^extern char \\*\tsprintf\\(\\);$";
10460 #define X11_SPRINTF_TEST_CT 1
10461 static tTestDesc aX11_SprintfTests[] = {
10462 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10465 * Fix Command Arguments for X11_Sprintf
10467 static const char* apzX11_SprintfPatch[] = {
10469 "#ifndef __STDC__\n\
10471 #endif /* !defined __STDC__ */",
10475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10477 * List of all fixes
10479 #define REGEX_COUNT 296
10480 #define MACH_LIST_SIZE_LIMIT 187
10481 #define FIX_COUNT 258
10484 * Enumerate the fixes
10487 AAB_AIX_STDIO_FIXIDX,
10488 AAB_AIX_FCNTL_FIXIDX,
10489 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10490 DARWIN_API_AVAILABILITY_FIXIDX,
10491 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10492 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10493 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10494 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10495 AAB_SUN_MEMCPY_FIXIDX,
10496 AAB_VXWORKS_ASSERT_FIXIDX,
10497 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10498 AAB_VXWORKS_UNISTD_FIXIDX,
10500 AIX_COMPLEX_FIXIDX,
10501 AIX_EXTERNC_FIXIDX,
10502 AIX_EXTERNCPP1_FIXIDX,
10503 AIX_EXTERNCPP2_FIXIDX,
10505 AIX_NET_IF_ARP_FIXIDX,
10507 AIX_ONCE_INIT_1_FIXIDX,
10508 AIX_ONCE_INIT_2_FIXIDX,
10509 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10510 AIX_COND_INITIALIZER_1_FIXIDX,
10511 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10512 AIX_PTHREAD_FIXIDX,
10513 AIX_STDINT_1_FIXIDX,
10514 AIX_STDINT_2_FIXIDX,
10515 AIX_STDINT_3_FIXIDX,
10516 AIX_STDINT_4_FIXIDX,
10517 AIX_STDINT_5_FIXIDX,
10518 AIX_STDIO_INLINE_FIXIDX,
10519 AIX_STDLIB_MALLOC_FIXIDX,
10520 AIX_STDLIB_REALLOC_FIXIDX,
10521 AIX_STDLIB_CALLOC_FIXIDX,
10522 AIX_STDLIB_VALLOC_FIXIDX,
10523 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10524 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10525 AIX_STRTOF_CONST_FIXIDX,
10526 AIX_SYSMACHINE_FIXIDX,
10527 AIX_SYSWAIT_2_FIXIDX,
10528 AIX_VOLATILE_FIXIDX,
10530 ALPHA___ASSERT_FIXIDX,
10531 ALPHA_ASSERT_FIXIDX,
10532 ALPHA_GETOPT_FIXIDX,
10533 ALPHA_IF_SEMICOLON_FIXIDX,
10534 ALPHA_PARENS_FIXIDX,
10536 AVOID_BOOL_DEFINE_FIXIDX,
10537 AVOID_BOOL_TYPE_FIXIDX,
10538 AVOID_WCHAR_T_TYPE_FIXIDX,
10539 BAD_STRUCT_TERM_FIXIDX,
10541 BROKEN_ASSERT_STDIO_FIXIDX,
10542 BROKEN_ASSERT_STDLIB_FIXIDX,
10543 BROKEN_CABS_FIXIDX,
10545 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10546 CTRL_QUOTES_DEF_FIXIDX,
10547 CTRL_QUOTES_USE_FIXIDX,
10548 CXX_UNREADY_FIXIDX,
10549 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10550 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10551 DARWIN_EXTERNC_FIXIDX,
10552 DARWIN_GCC4_BREAKAGE_FIXIDX,
10553 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10554 DARWIN_LONGJMP_NORETURN_FIXIDX,
10555 DARWIN_OS_TRACE_1_FIXIDX,
10556 DARWIN_OS_TRACE_2_FIXIDX,
10557 DARWIN_OS_TRACE_3_FIXIDX,
10558 DARWIN_OS_BASE_1_FIXIDX,
10559 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10560 DARWIN_PRIVATE_EXTERN_FIXIDX,
10561 DARWIN_STDINT_1_FIXIDX,
10562 DARWIN_STDINT_2_FIXIDX,
10563 DARWIN_STDINT_3_FIXIDX,
10564 DARWIN_STDINT_4_FIXIDX,
10565 DARWIN_STDINT_5_FIXIDX,
10566 DARWIN_STDINT_6_FIXIDX,
10567 DARWIN_STDINT_7_FIXIDX,
10568 DARWIN_UCRED__ATOMIC_FIXIDX,
10569 DEC_INTERN_ASM_FIXIDX,
10570 DJGPP_WCHAR_H_FIXIDX,
10572 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10573 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10574 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10575 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10576 GLIBC_C99_INLINE_1_FIXIDX,
10577 GLIBC_C99_INLINE_1A_FIXIDX,
10578 GLIBC_C99_INLINE_2_FIXIDX,
10579 GLIBC_C99_INLINE_3_FIXIDX,
10580 GLIBC_C99_INLINE_4_FIXIDX,
10581 GLIBC_MUTEX_INIT_FIXIDX,
10582 GLIBC_STDINT_FIXIDX,
10583 GLIBC_STRNCPY_FIXIDX,
10584 GLIBC_TGMATH_FIXIDX,
10588 HPPA_HPUX_FP_MACROS_FIXIDX,
10589 HPUX10_CPP_POW_INLINE_FIXIDX,
10590 HPUX11_CPP_POW_INLINE_FIXIDX,
10591 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10592 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10593 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10594 HPPA_HPUX11_ALLOCA_FIXIDX,
10596 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10597 HPUX11_EXTERN_SENDFILE_FIXIDX,
10598 HPUX11_EXTERN_SENDPATH_FIXIDX,
10599 HPUX11_FABSF_FIXIDX,
10600 HPUX11_PTHREAD_POINTER_FIXIDX,
10601 HPUX11_PTHREAD_CONST_FIXIDX,
10602 HPUX11_SIZE_T_FIXIDX,
10603 HPUX11_SNPRINTF_FIXIDX,
10604 HPUX11_VSNPRINTF_FIXIDX,
10605 HPUX_VSSCANF_FIXIDX,
10606 HPUX8_BOGUS_INLINES_FIXIDX,
10607 HPUX_C99_INTPTR_FIXIDX,
10608 HPUX_C99_INTTYPES_FIXIDX,
10609 HPUX_C99_INTTYPES2_FIXIDX,
10610 HPUX_C99_INTTYPES3_FIXIDX,
10611 HPUX_C99_INTTYPES4_FIXIDX,
10612 HPUX_CTYPE_MACROS_FIXIDX,
10613 HPUX_EXTERN_ERRNO_FIXIDX,
10615 HPUX_IMAGINARY_I_FIXIDX,
10616 HPUX_INTTYPE_INT8_T_FIXIDX,
10617 HPUX_LONG_DOUBLE_FIXIDX,
10618 HPUX_LONG_DOUBLE_2_FIXIDX,
10619 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10620 HPUX_SPU_INFO_FIXIDX,
10621 HPUX_STDINT_LEAST_FAST_FIXIDX,
10622 HPUX_LONGJMP_FIXIDX,
10623 HPUX_SYSTIME_FIXIDX,
10624 HUGE_VAL_HEX_FIXIDX,
10625 HUGE_VALF_HEX_FIXIDX,
10626 HUGE_VALL_HEX_FIXIDX,
10627 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10628 IO_QUOTES_DEF_FIXIDX,
10629 IO_QUOTES_USE_FIXIDX,
10630 IP_MISSING_SEMI_FIXIDX,
10631 IRIX_LIMITS_CONST_FIXIDX,
10632 IRIX_STDIO_VA_LIST_FIXIDX,
10633 KANDR_CONCAT_FIXIDX,
10634 LINUX_IA64_UCONTEXT_FIXIDX,
10635 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10636 LYNXOS_MISSING_PUTENV_FIXIDX,
10637 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10638 MACHINE_NAME_FIXIDX,
10639 MATH_EXCEPTION_FIXIDX,
10640 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10641 NESTED_AUTH_DES_FIXIDX,
10642 NETBSD_C99_INLINE_1_FIXIDX,
10643 NETBSD_C99_INLINE_2_FIXIDX,
10644 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10645 NEWLIB_STDINT_1_FIXIDX,
10646 NEWLIB_STDINT_2_FIXIDX,
10647 NEXT_MATH_PREFIX_FIXIDX,
10648 NEXT_TEMPLATE_FIXIDX,
10649 NEXT_VOLITILE_FIXIDX,
10650 NEXT_WAIT_UNION_FIXIDX,
10651 NODEENT_SYNTAX_FIXIDX,
10652 OPENBSD_NULL_DEFINITION_FIXIDX,
10653 OBSTACK_LVALUE_CAST_FIXIDX,
10654 OPENBSD_VA_START_FIXIDX,
10655 OSF_NAMESPACE_A_FIXIDX,
10656 OSF_NAMESPACE_C_FIXIDX,
10657 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10658 READ_RET_TYPE_FIXIDX,
10659 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10660 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10661 RS6000_DOUBLE_FIXIDX,
10662 RS6000_FCHMOD_FIXIDX,
10663 RS6000_PARAM_FIXIDX,
10664 SOLARIS___RESTRICT_FIXIDX,
10665 SOLARIS_COMPLEX_FIXIDX,
10666 SOLARIS_COMPLEX_CXX_FIXIDX,
10667 SOLARIS_CXX_LINKAGE_FIXIDX,
10668 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10669 SOLARIS_GETS_C11_FIXIDX,
10670 SOLARIS_GETS_CXX14_FIXIDX,
10671 SOLARIS_INT_CONST_FIXIDX,
10672 SOLARIS_INT_LIMITS_1_FIXIDX,
10673 SOLARIS_INT_LIMITS_2_FIXIDX,
10674 SOLARIS_INT_LIMITS_3_FIXIDX,
10675 SOLARIS_MATH_1_FIXIDX,
10676 SOLARIS_MATH_10_FIXIDX,
10677 SOLARIS_MATH_2_FIXIDX,
10678 SOLARIS_MATH_3_FIXIDX,
10679 SOLARIS_MATH_4_FIXIDX,
10680 SOLARIS_MATH_8_FIXIDX,
10681 SOLARIS_MATH_9_FIXIDX,
10682 SOLARIS_MATH_11_FIXIDX,
10683 SOLARIS_MATH_12_FIXIDX,
10684 SOLARIS_ONCE_INIT_1_FIXIDX,
10685 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10686 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10687 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10688 SOLARIS_STD___FILBUF_FIXIDX,
10689 SOLARIS_STD_GETS_CXX14_FIXIDX,
10690 SOLARIS_STDIO_TAG_FIXIDX,
10691 SOLARIS_STDLIB_NORETURN_FIXIDX,
10693 STDIO_STDARG_H_FIXIDX,
10694 STDIO_VA_LIST_FIXIDX,
10695 STDIO_VA_LIST_CLIENTS_FIXIDX,
10696 STRICT_ANSI_NOT_FIXIDX,
10697 STRICT_ANSI_NOT_CTD_FIXIDX,
10698 STRICT_ANSI_ONLY_FIXIDX,
10699 STRUCT_FILE_FIXIDX,
10700 STRUCT_SOCKADDR_FIXIDX,
10701 SUN_AUTH_PROTO_FIXIDX,
10702 SUN_BOGUS_IFDEF_FIXIDX,
10703 SUN_CATMACRO_FIXIDX,
10705 SUN_RUSERS_SEMI_FIXIDX,
10707 SUNOS_STRLEN_FIXIDX,
10708 SUSE_LINUX_VT_CXX_FIXIDX,
10709 SVR4_DISABLE_OPT_FIXIDX,
10710 SVR4_GETCWD_FIXIDX,
10711 SVR4_PROFIL_FIXIDX,
10712 SVR4_SIGHANDLER_TYPE_FIXIDX,
10713 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10714 SYSV68_STRING_FIXIDX,
10715 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10716 THREAD_KEYWORD_FIXIDX,
10717 TINFO_CPLUSPLUS_FIXIDX,
10718 ULTRIX_CONST_FIXIDX,
10719 ULTRIX_CONST2_FIXIDX,
10720 VA_I960_MACRO_FIXIDX,
10721 VMS_ADD_MISSING_BRACES_FIXIDX,
10722 VMS_DECC_BUILTIN_FIXIDX,
10723 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10724 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10725 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10726 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10727 VMS_NO_64BIT_GETOPT_FIXIDX,
10728 VMS_USE_FAST_SETJMP_FIXIDX,
10729 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10730 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10732 VXWORKS_GCC_PROBLEM_FIXIDX,
10733 VXWORKS_IOCTL_MACRO_FIXIDX,
10734 VXWORKS_MKDIR_MACRO_FIXIDX,
10735 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10736 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10737 VXWORKS_REGS_FIXIDX,
10738 VXWORKS_TIME_FIXIDX,
10739 VXWORKS_WRITE_CONST_FIXIDX,
10740 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10742 X11_CLASS_USAGE_FIXIDX,
10747 tFixDesc fixDescList[ FIX_COUNT ] = {
10748 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10749 apzAab_Aix_StdioMachs,
10750 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10751 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10753 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10754 apzAab_Aix_FcntlMachs,
10755 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10756 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10758 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10759 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10760 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10761 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10763 { zDarwin_Api_AvailabilityName, zDarwin_Api_AvailabilityList,
10764 apzDarwin_Api_AvailabilityMachs,
10765 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10766 aDarwin_Api_AvailabilityTests, apzDarwin_Api_AvailabilityPatch, 0 },
10768 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10769 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10770 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10771 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10773 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10774 apzAab_Fd_Zero_Gnu_Types_HMachs,
10775 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10776 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10778 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10779 apzAab_Fd_Zero_Selectbits_HMachs,
10780 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10781 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10783 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10784 apzAab_Solaris_Sys_Varargs_HMachs,
10785 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10786 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10788 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10789 apzAab_Sun_MemcpyMachs,
10790 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10791 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10793 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10794 apzAab_Vxworks_AssertMachs,
10795 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10796 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10798 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10799 apzAab_Vxworks_Regs_VxtypesMachs,
10800 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10801 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10803 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10804 apzAab_Vxworks_UnistdMachs,
10805 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10806 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10808 { zAix_AssertName, zAix_AssertList,
10809 apzAix_AssertMachs,
10810 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10811 aAix_AssertTests, apzAix_AssertPatch, 0 },
10813 { zAix_ComplexName, zAix_ComplexList,
10814 apzAix_ComplexMachs,
10815 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10816 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10818 { zAix_ExterncName, zAix_ExterncList,
10819 apzAix_ExterncMachs,
10820 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10821 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10823 { zAix_Externcpp1Name, zAix_Externcpp1List,
10824 apzAix_Externcpp1Machs,
10825 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10826 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10828 { zAix_Externcpp2Name, zAix_Externcpp2List,
10829 apzAix_Externcpp2Machs,
10830 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10831 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10833 { zAix_MallocName, zAix_MallocList,
10834 apzAix_MallocMachs,
10835 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10836 aAix_MallocTests, apzAix_MallocPatch, 0 },
10838 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10839 apzAix_Net_If_ArpMachs,
10840 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10841 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10843 { zAix_NullName, zAix_NullList,
10845 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10846 aAix_NullTests, apzAix_NullPatch, 0 },
10848 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10849 apzAix_Once_Init_1Machs,
10850 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10851 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10853 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10854 apzAix_Once_Init_2Machs,
10855 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10856 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10858 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10859 apzAix_Mutex_Initializer_1Machs,
10860 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10861 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10863 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10864 apzAix_Cond_Initializer_1Machs,
10865 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10866 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10868 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10869 apzAix_Rwlock_Initializer_1Machs,
10870 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10871 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10873 { zAix_PthreadName, zAix_PthreadList,
10874 apzAix_PthreadMachs,
10875 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10876 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10878 { zAix_Stdint_1Name, zAix_Stdint_1List,
10879 apzAix_Stdint_1Machs,
10880 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10881 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10883 { zAix_Stdint_2Name, zAix_Stdint_2List,
10884 apzAix_Stdint_2Machs,
10885 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10886 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10888 { zAix_Stdint_3Name, zAix_Stdint_3List,
10889 apzAix_Stdint_3Machs,
10890 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10891 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10893 { zAix_Stdint_4Name, zAix_Stdint_4List,
10894 apzAix_Stdint_4Machs,
10895 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10896 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10898 { zAix_Stdint_5Name, zAix_Stdint_5List,
10899 apzAix_Stdint_5Machs,
10900 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10901 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10903 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10904 apzAix_Stdio_InlineMachs,
10905 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10906 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10908 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10909 apzAix_Stdlib_MallocMachs,
10910 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10911 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10913 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10914 apzAix_Stdlib_ReallocMachs,
10915 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10916 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10918 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10919 apzAix_Stdlib_CallocMachs,
10920 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10921 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10923 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10924 apzAix_Stdlib_VallocMachs,
10925 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10926 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10928 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
10929 apzAix_Stdlib_Vec_MallocMachs,
10930 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10931 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
10933 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
10934 apzAix_Stdlib_Vec_CallocMachs,
10935 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10936 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
10938 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10939 apzAix_Strtof_ConstMachs,
10940 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10941 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10943 { zAix_SysmachineName, zAix_SysmachineList,
10944 apzAix_SysmachineMachs,
10945 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10946 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10948 { zAix_Syswait_2Name, zAix_Syswait_2List,
10949 apzAix_Syswait_2Machs,
10950 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10951 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10953 { zAix_VolatileName, zAix_VolatileList,
10954 apzAix_VolatileMachs,
10955 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10956 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10958 { zAix_UnistdName, zAix_UnistdList,
10959 apzAix_UnistdMachs,
10960 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10961 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
10963 { zAlpha___AssertName, zAlpha___AssertList,
10964 apzAlpha___AssertMachs,
10965 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10966 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10968 { zAlpha_AssertName, zAlpha_AssertList,
10969 apzAlpha_AssertMachs,
10970 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10971 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10973 { zAlpha_GetoptName, zAlpha_GetoptList,
10974 apzAlpha_GetoptMachs,
10975 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10976 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10978 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10979 apzAlpha_If_SemicolonMachs,
10980 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10981 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10983 { zAlpha_ParensName, zAlpha_ParensList,
10984 apzAlpha_ParensMachs,
10985 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10986 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10988 { zAlpha_SbrkName, zAlpha_SbrkList,
10989 apzAlpha_SbrkMachs,
10990 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10991 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10993 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10994 apzAvoid_Bool_DefineMachs,
10995 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10996 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
10998 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
10999 apzAvoid_Bool_TypeMachs,
11000 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11001 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
11003 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
11004 apzAvoid_Wchar_T_TypeMachs,
11005 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11006 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
11008 { zBad_Struct_TermName, zBad_Struct_TermList,
11009 apzBad_Struct_TermMachs,
11010 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11011 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
11013 { zBadquoteName, zBadquoteList,
11015 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11016 aBadquoteTests, apzBadquotePatch, 0 },
11018 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
11019 apzBroken_Assert_StdioMachs,
11020 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11021 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
11023 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
11024 apzBroken_Assert_StdlibMachs,
11025 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11026 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
11028 { zBroken_CabsName, zBroken_CabsList,
11029 apzBroken_CabsMachs,
11030 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11031 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
11033 { zBroken_NanName, zBroken_NanList,
11034 apzBroken_NanMachs,
11035 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11036 aBroken_NanTests, apzBroken_NanPatch, 0 },
11038 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
11039 apzBsd_Stdio_Attrs_ConflictMachs,
11040 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11041 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11043 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
11044 apzCtrl_Quotes_DefMachs,
11045 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11046 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
11048 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
11049 apzCtrl_Quotes_UseMachs,
11050 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11051 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
11053 { zCxx_UnreadyName, zCxx_UnreadyList,
11054 apzCxx_UnreadyMachs,
11055 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11056 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
11058 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
11059 apzDarwin_AvailabilityinternalMachs,
11060 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11061 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
11063 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
11064 apzDarwin_9_Long_Double_Funcs_2Machs,
11065 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11066 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11068 { zDarwin_ExterncName, zDarwin_ExterncList,
11069 apzDarwin_ExterncMachs,
11070 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11071 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
11073 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
11074 apzDarwin_Gcc4_BreakageMachs,
11075 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11076 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
11078 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
11079 apzDarwin_Ll_Funcs_AvailMachs,
11080 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11081 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
11083 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
11084 apzDarwin_Longjmp_NoreturnMachs,
11085 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11086 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
11088 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
11089 apzDarwin_Os_Trace_1Machs,
11090 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11091 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
11093 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
11094 apzDarwin_Os_Trace_2Machs,
11095 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11096 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
11098 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
11099 apzDarwin_Os_Trace_3Machs,
11100 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11101 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
11103 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
11104 apzDarwin_Os_Base_1Machs,
11105 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11106 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
11108 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
11109 apzDarwin_Dispatch_Object_1Machs,
11110 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11111 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
11113 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
11114 apzDarwin_Private_ExternMachs,
11115 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11116 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
11118 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
11119 apzDarwin_Stdint_1Machs,
11120 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11121 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
11123 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
11124 apzDarwin_Stdint_2Machs,
11125 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11126 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
11128 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
11129 apzDarwin_Stdint_3Machs,
11130 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11131 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
11133 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
11134 apzDarwin_Stdint_4Machs,
11135 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11136 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11138 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11139 apzDarwin_Stdint_5Machs,
11140 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11141 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11143 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11144 apzDarwin_Stdint_6Machs,
11145 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11146 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11148 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11149 apzDarwin_Stdint_7Machs,
11150 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11151 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11153 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11154 apzDarwin_Ucred__AtomicMachs,
11155 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11156 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11158 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11159 apzDec_Intern_AsmMachs,
11160 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11161 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11163 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11164 apzDjgpp_Wchar_HMachs,
11165 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11166 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11168 { zEcd_CursorName, zEcd_CursorList,
11169 apzEcd_CursorMachs,
11170 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11171 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11173 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11174 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11175 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11176 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11178 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11179 apzFeraiseexcept_Nosse_InvalidMachs,
11180 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11181 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11183 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11184 apzFreebsd_Gcc3_BreakageMachs,
11185 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11186 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11188 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11189 apzFreebsd_Gcc4_BreakageMachs,
11190 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11191 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11193 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11194 apzGlibc_C99_Inline_1Machs,
11195 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11196 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11198 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11199 apzGlibc_C99_Inline_1aMachs,
11200 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11201 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11203 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11204 apzGlibc_C99_Inline_2Machs,
11205 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11206 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11208 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11209 apzGlibc_C99_Inline_3Machs,
11210 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11211 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11213 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11214 apzGlibc_C99_Inline_4Machs,
11215 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11216 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11218 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11219 apzGlibc_Mutex_InitMachs,
11220 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11221 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11223 { zGlibc_StdintName, zGlibc_StdintList,
11224 apzGlibc_StdintMachs,
11225 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11226 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11228 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11229 apzGlibc_StrncpyMachs,
11230 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11231 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11233 { zGlibc_TgmathName, zGlibc_TgmathList,
11234 apzGlibc_TgmathMachs,
11235 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11236 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11238 { zGnu_TypesName, zGnu_TypesList,
11240 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11241 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11243 { zHp_InlineName, zHp_InlineList,
11245 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11246 aHp_InlineTests, apzHp_InlinePatch, 0 },
11248 { zHp_SysfileName, zHp_SysfileList,
11249 apzHp_SysfileMachs,
11250 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11251 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11253 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11254 apzHppa_Hpux_Fp_MacrosMachs,
11255 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11256 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11258 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11259 apzHpux10_Cpp_Pow_InlineMachs,
11260 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11261 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11263 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11264 apzHpux11_Cpp_Pow_InlineMachs,
11265 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11266 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11268 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11269 apzHpux10_Ctype_Declarations1Machs,
11270 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11271 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11273 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11274 apzHpux10_Ctype_Declarations2Machs,
11275 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11276 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11278 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11279 apzHpux10_Stdio_DeclarationsMachs,
11280 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11281 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11283 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11284 apzHppa_Hpux11_AllocaMachs,
11285 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11286 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11288 { zHpux11_AbsName, zHpux11_AbsList,
11289 apzHpux11_AbsMachs,
11290 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11291 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11293 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11294 apzHpux11_Lwp_Rwlock_ValidMachs,
11295 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11296 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11298 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11299 apzHpux11_Extern_SendfileMachs,
11300 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11301 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11303 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11304 apzHpux11_Extern_SendpathMachs,
11305 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11306 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11308 { zHpux11_FabsfName, zHpux11_FabsfList,
11309 apzHpux11_FabsfMachs,
11310 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11311 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11313 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11314 apzHpux11_Pthread_PointerMachs,
11315 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11316 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11318 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11319 apzHpux11_Pthread_ConstMachs,
11320 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11321 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11323 { zHpux11_Size_TName, zHpux11_Size_TList,
11324 apzHpux11_Size_TMachs,
11325 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11326 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11328 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11329 apzHpux11_SnprintfMachs,
11330 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11331 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11333 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11334 apzHpux11_VsnprintfMachs,
11335 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11336 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11338 { zHpux_VsscanfName, zHpux_VsscanfList,
11339 apzHpux_VsscanfMachs,
11340 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11341 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11343 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11344 apzHpux8_Bogus_InlinesMachs,
11345 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11346 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11348 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11349 apzHpux_C99_IntptrMachs,
11350 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11351 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11353 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11354 apzHpux_C99_InttypesMachs,
11355 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11356 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11358 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11359 apzHpux_C99_Inttypes2Machs,
11360 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11361 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11363 { zHpux_C99_Inttypes3Name, zHpux_C99_Inttypes3List,
11364 apzHpux_C99_Inttypes3Machs,
11365 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11366 aHpux_C99_Inttypes3Tests, apzHpux_C99_Inttypes3Patch, 0 },
11368 { zHpux_C99_Inttypes4Name, zHpux_C99_Inttypes4List,
11369 apzHpux_C99_Inttypes4Machs,
11370 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
11371 aHpux_C99_Inttypes4Tests, apzHpux_C99_Inttypes4Patch, 0 },
11373 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11374 apzHpux_Ctype_MacrosMachs,
11375 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11376 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11378 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11379 apzHpux_Extern_ErrnoMachs,
11380 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11381 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11383 { zHpux_HtonlName, zHpux_HtonlList,
11384 apzHpux_HtonlMachs,
11385 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11386 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11388 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11389 apzHpux_Imaginary_IMachs,
11390 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11391 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11393 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11394 apzHpux_Inttype_Int8_TMachs,
11395 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11396 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11398 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11399 apzHpux_Long_DoubleMachs,
11400 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11401 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11403 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11404 apzHpux_Long_Double_2Machs,
11405 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11406 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11408 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11409 apzHpux_Pthread_InitializersMachs,
11410 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11411 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11413 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11414 apzHpux_Spu_InfoMachs,
11415 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11416 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11418 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11419 apzHpux_Stdint_Least_FastMachs,
11420 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11421 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11423 { zHpux_LongjmpName, zHpux_LongjmpList,
11424 apzHpux_LongjmpMachs,
11425 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11426 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11428 { zHpux_SystimeName, zHpux_SystimeList,
11429 apzHpux_SystimeMachs,
11430 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11431 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11433 { zHuge_Val_HexName, zHuge_Val_HexList,
11434 apzHuge_Val_HexMachs,
11435 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11436 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11438 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11439 apzHuge_Valf_HexMachs,
11440 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11441 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11443 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11444 apzHuge_Vall_HexMachs,
11445 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11446 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11448 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11449 apzInt_Abort_Free_And_ExitMachs,
11450 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11451 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11453 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11454 apzIo_Quotes_DefMachs,
11455 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11456 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11458 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11459 apzIo_Quotes_UseMachs,
11460 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11461 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11463 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11464 apzIp_Missing_SemiMachs,
11465 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11466 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11468 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11469 apzIrix_Limits_ConstMachs,
11470 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11471 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11473 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11474 apzIrix_Stdio_Va_ListMachs,
11475 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11476 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11478 { zKandr_ConcatName, zKandr_ConcatList,
11479 apzKandr_ConcatMachs,
11480 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11481 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11483 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11484 apzLinux_Ia64_UcontextMachs,
11485 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11486 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11488 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11489 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11490 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11491 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11493 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11494 apzLynxos_Missing_PutenvMachs,
11495 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11496 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11498 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11499 apzMachine_Ansi_H_Va_ListMachs,
11500 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11501 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11503 { zMachine_NameName, zMachine_NameList,
11504 apzMachine_NameMachs,
11505 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11506 aMachine_NameTests, apzMachine_NamePatch, 0 },
11508 { zMath_ExceptionName, zMath_ExceptionList,
11509 apzMath_ExceptionMachs,
11510 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11511 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11513 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11514 apzMath_Huge_Val_From_Dbl_MaxMachs,
11515 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11516 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11518 { zNested_Auth_DesName, zNested_Auth_DesList,
11519 apzNested_Auth_DesMachs,
11520 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11521 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11523 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11524 apzNetbsd_C99_Inline_1Machs,
11525 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11526 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11528 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11529 apzNetbsd_C99_Inline_2Machs,
11530 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11531 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11533 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11534 apzNetbsd_Extra_SemicolonMachs,
11535 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11536 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11538 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11539 apzNewlib_Stdint_1Machs,
11540 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11541 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11543 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11544 apzNewlib_Stdint_2Machs,
11545 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11546 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11548 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11549 apzNext_Math_PrefixMachs,
11550 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11551 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11553 { zNext_TemplateName, zNext_TemplateList,
11554 apzNext_TemplateMachs,
11555 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11556 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11558 { zNext_VolitileName, zNext_VolitileList,
11559 apzNext_VolitileMachs,
11560 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11561 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11563 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11564 apzNext_Wait_UnionMachs,
11565 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11566 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11568 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11569 apzNodeent_SyntaxMachs,
11570 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11571 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11573 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11574 apzOpenbsd_Null_DefinitionMachs,
11575 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11576 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11578 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11579 apzObstack_Lvalue_CastMachs,
11580 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11581 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11583 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11584 apzOpenbsd_Va_StartMachs,
11585 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11586 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11588 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11589 apzOsf_Namespace_AMachs,
11590 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11591 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11593 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11594 apzOsf_Namespace_CMachs,
11595 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11596 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11598 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11599 apzPthread_Incomplete_Struct_ArgumentMachs,
11600 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11601 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11603 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11604 apzRead_Ret_TypeMachs,
11605 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11606 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11608 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11609 apzRpc_Xdr_Lvalue_Cast_AMachs,
11610 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11611 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11613 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11614 apzRpc_Xdr_Lvalue_Cast_BMachs,
11615 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11616 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11618 { zRs6000_DoubleName, zRs6000_DoubleList,
11619 apzRs6000_DoubleMachs,
11620 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11621 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11623 { zRs6000_FchmodName, zRs6000_FchmodList,
11624 apzRs6000_FchmodMachs,
11625 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11626 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11628 { zRs6000_ParamName, zRs6000_ParamList,
11629 apzRs6000_ParamMachs,
11630 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11631 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11633 { zSolaris___RestrictName, zSolaris___RestrictList,
11634 apzSolaris___RestrictMachs,
11635 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11636 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11638 { zSolaris_ComplexName, zSolaris_ComplexList,
11639 apzSolaris_ComplexMachs,
11640 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11641 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11643 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11644 apzSolaris_Complex_CxxMachs,
11645 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11646 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11648 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11649 apzSolaris_Cxx_LinkageMachs,
11650 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11651 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11653 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11654 apzSolaris_Getc_Strict_StdcMachs,
11655 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11656 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11658 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11659 apzSolaris_Gets_C11Machs,
11660 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11661 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11663 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11664 apzSolaris_Gets_Cxx14Machs,
11665 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11666 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11668 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11669 apzSolaris_Int_ConstMachs,
11670 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11671 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11673 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11674 apzSolaris_Int_Limits_1Machs,
11675 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11676 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11678 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11679 apzSolaris_Int_Limits_2Machs,
11680 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11681 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11683 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11684 apzSolaris_Int_Limits_3Machs,
11685 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11686 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11688 { zSolaris_Math_1Name, zSolaris_Math_1List,
11689 apzSolaris_Math_1Machs,
11690 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11691 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11693 { zSolaris_Math_10Name, zSolaris_Math_10List,
11694 apzSolaris_Math_10Machs,
11695 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11696 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11698 { zSolaris_Math_2Name, zSolaris_Math_2List,
11699 apzSolaris_Math_2Machs,
11700 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11701 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11703 { zSolaris_Math_3Name, zSolaris_Math_3List,
11704 apzSolaris_Math_3Machs,
11705 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11706 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11708 { zSolaris_Math_4Name, zSolaris_Math_4List,
11709 apzSolaris_Math_4Machs,
11710 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11711 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11713 { zSolaris_Math_8Name, zSolaris_Math_8List,
11714 apzSolaris_Math_8Machs,
11715 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11716 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11718 { zSolaris_Math_9Name, zSolaris_Math_9List,
11719 apzSolaris_Math_9Machs,
11720 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11721 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11723 { zSolaris_Math_11Name, zSolaris_Math_11List,
11724 apzSolaris_Math_11Machs,
11725 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11726 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11728 { zSolaris_Math_12Name, zSolaris_Math_12List,
11729 apzSolaris_Math_12Machs,
11730 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11731 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11733 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11734 apzSolaris_Once_Init_1Machs,
11735 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11736 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11738 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11739 apzSolaris_Posix_Spawn_RestrictMachs,
11740 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11741 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11743 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11744 apzSolaris_Pow_Int_OverloadMachs,
11745 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11746 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11748 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11749 apzSolaris_Rwlock_Init_1Machs,
11750 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11751 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11753 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11754 apzSolaris_Std___FilbufMachs,
11755 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11756 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11758 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11759 apzSolaris_Std_Gets_Cxx14Machs,
11760 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11761 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11763 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11764 apzSolaris_Stdio_TagMachs,
11765 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11766 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11768 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11769 apzSolaris_Stdlib_NoreturnMachs,
11770 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11771 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11773 { zStatsswtchName, zStatsswtchList,
11774 apzStatsswtchMachs,
11775 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11776 aStatsswtchTests, apzStatsswtchPatch, 0 },
11778 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11779 apzStdio_Stdarg_HMachs,
11780 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11781 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11783 { zStdio_Va_ListName, zStdio_Va_ListList,
11784 apzStdio_Va_ListMachs,
11785 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11786 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11788 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11789 apzStdio_Va_List_ClientsMachs,
11790 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11791 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11793 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11794 apzStrict_Ansi_NotMachs,
11795 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11796 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11798 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11799 apzStrict_Ansi_Not_CtdMachs,
11800 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11801 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11803 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11804 apzStrict_Ansi_OnlyMachs,
11805 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11806 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11808 { zStruct_FileName, zStruct_FileList,
11809 apzStruct_FileMachs,
11810 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11811 aStruct_FileTests, apzStruct_FilePatch, 0 },
11813 { zStruct_SockaddrName, zStruct_SockaddrList,
11814 apzStruct_SockaddrMachs,
11815 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11816 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11818 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11819 apzSun_Auth_ProtoMachs,
11820 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11821 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11823 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11824 apzSun_Bogus_IfdefMachs,
11825 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11826 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11828 { zSun_CatmacroName, zSun_CatmacroList,
11829 apzSun_CatmacroMachs,
11830 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11831 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11833 { zSun_MallocName, zSun_MallocList,
11834 apzSun_MallocMachs,
11835 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11836 aSun_MallocTests, apzSun_MallocPatch, 0 },
11838 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11839 apzSun_Rusers_SemiMachs,
11840 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11841 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11843 { zSun_SignalName, zSun_SignalList,
11844 apzSun_SignalMachs,
11845 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11846 aSun_SignalTests, apzSun_SignalPatch, 0 },
11848 { zSunos_StrlenName, zSunos_StrlenList,
11849 apzSunos_StrlenMachs,
11850 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11851 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11853 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11854 apzSuse_Linux_Vt_CxxMachs,
11855 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11856 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11858 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11859 apzSvr4_Disable_OptMachs,
11860 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11861 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11863 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11864 apzSvr4_GetcwdMachs,
11865 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11866 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11868 { zSvr4_ProfilName, zSvr4_ProfilList,
11869 apzSvr4_ProfilMachs,
11870 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11871 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11873 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11874 apzSvr4_Sighandler_TypeMachs,
11875 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11876 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11878 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11879 apzSvr4_Undeclared_GetrngeMachs,
11880 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11881 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11883 { zSysv68_StringName, zSysv68_StringList,
11884 apzSysv68_StringMachs,
11885 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11886 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11888 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11889 apzSysz_Stdlib_For_SunMachs,
11890 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11891 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11893 { zThread_KeywordName, zThread_KeywordList,
11894 apzThread_KeywordMachs,
11895 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11896 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11898 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11899 apzTinfo_CplusplusMachs,
11900 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11901 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11903 { zUltrix_ConstName, zUltrix_ConstList,
11904 apzUltrix_ConstMachs,
11905 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11906 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11908 { zUltrix_Const2Name, zUltrix_Const2List,
11909 apzUltrix_Const2Machs,
11910 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11911 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11913 { zVa_I960_MacroName, zVa_I960_MacroList,
11914 apzVa_I960_MacroMachs,
11915 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11916 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11918 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11919 apzVms_Add_Missing_BracesMachs,
11920 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11921 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11923 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11924 apzVms_Decc_BuiltinMachs,
11925 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11926 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11928 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11929 apzVms_Define_Can_Use_Extern_PrefixMachs,
11930 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11931 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11933 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11934 apzVms_Disable_Decc_String_BuiltinsMachs,
11935 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11936 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11938 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11939 apzVms_Do_Not_Redeclare_HostaliasMachs,
11940 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11941 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11943 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11944 apzVms_Forward_Declare_StructMachs,
11945 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11946 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11948 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11949 apzVms_No_64bit_GetoptMachs,
11950 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11951 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11953 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11954 apzVms_Use_Fast_SetjmpMachs,
11955 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11956 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11958 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11959 apzVms_Use_Pragma_Extern_ModelMachs,
11960 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11961 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11963 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11964 apzVms_Use_Quoted_IncludeMachs,
11965 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11966 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11968 { zVoid_NullName, zVoid_NullList,
11970 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11971 aVoid_NullTests, apzVoid_NullPatch, 0 },
11973 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11974 apzVxworks_Gcc_ProblemMachs,
11975 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11976 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11978 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11979 apzVxworks_Ioctl_MacroMachs,
11980 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11981 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11983 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11984 apzVxworks_Mkdir_MacroMachs,
11985 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11986 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11988 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11989 apzVxworks_Needs_VxtypesMachs,
11990 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11991 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11993 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11994 apzVxworks_Needs_VxworksMachs,
11995 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11996 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
11998 { zVxworks_RegsName, zVxworks_RegsList,
11999 apzVxworks_RegsMachs,
12000 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12001 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
12003 { zVxworks_TimeName, zVxworks_TimeList,
12004 apzVxworks_TimeMachs,
12005 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12006 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
12008 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
12009 apzVxworks_Write_ConstMachs,
12010 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12011 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
12013 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
12014 apzVxworks_Iolib_Include_UnistdMachs,
12015 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12016 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
12018 { zX11_ClassName, zX11_ClassList,
12020 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12021 aX11_ClassTests, apzX11_ClassPatch, 0 },
12023 { zX11_Class_UsageName, zX11_Class_UsageList,
12024 apzX11_Class_UsageMachs,
12025 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12026 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
12028 { zX11_NewName, zX11_NewList,
12030 X11_NEW_TEST_CT, FD_MACH_ONLY,
12031 aX11_NewTests, apzX11_NewPatch, 0 },
12033 { zX11_SprintfName, zX11_SprintfList,
12034 apzX11_SprintfMachs,
12035 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12036 aX11_SprintfTests, apzX11_SprintfPatch, 0 }