1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed June 21, 2019 at 08:06:27 PM by AutoGen 5.17.4
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Fri Jun 21 20:06:27 BST 2019
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 255 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 Aab_Fd_Zero_Asm_Posix_Types_H fix
274 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
275 "AAB_fd_zero_asm_posix_types_h";
278 * File name selection pattern
280 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
281 "asm/posix_types.h\0";
283 * Machine/OS name selection pattern
285 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
286 "i[34567]86-*-linux*",
290 * content bypass pattern - skip fix if pattern found
292 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
294 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
296 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
299 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
300 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
301 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
302 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
303 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
306 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
308 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
309 "/* This file fixes a bug in the __FD_ZERO macro\n\
310 for older versions of the Linux kernel. */\n\
311 #ifndef _POSIX_TYPES_H_WRAPPER\n\
312 #include <features.h>\n\
313 #include_next <asm/posix_types.h>\n\n\
314 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
316 #define __FD_ZERO(fdsetp) \\\n\
318 int __d0, __d1; \\\n\
319 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
320 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
321 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
322 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
325 #define _POSIX_TYPES_H_WRAPPER\n\
326 #endif /* _POSIX_TYPES_H_WRAPPER */",
329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
331 * Description of Aab_Fd_Zero_Gnu_Types_H fix
333 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
334 "AAB_fd_zero_gnu_types_h";
337 * File name selection pattern
339 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
342 * Machine/OS name selection pattern
344 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
345 "i[34567]86-*-linux*",
347 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
348 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
351 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
353 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
354 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
355 #ifndef _TYPES_H_WRAPPER\n\
356 #include <features.h>\n\
357 #include_next <gnu/types.h>\n\n\
358 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
360 # define __FD_ZERO(fdsetp) \\\n\
362 int __d0, __d1; \\\n\
363 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
364 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
365 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
366 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
369 #define _TYPES_H_WRAPPER\n\
370 #endif /* _TYPES_H_WRAPPER */",
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375 * Description of Aab_Fd_Zero_Selectbits_H fix
377 tSCC zAab_Fd_Zero_Selectbits_HName[] =
378 "AAB_fd_zero_selectbits_h";
381 * File name selection pattern
383 tSCC zAab_Fd_Zero_Selectbits_HList[] =
386 * Machine/OS name selection pattern
388 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
389 "i[34567]86-*-linux*",
391 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
392 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
395 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
397 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
398 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
399 #ifndef _SELECTBITS_H_WRAPPER\n\
400 #include <features.h>\n\
401 #include_next <selectbits.h>\n\n\
402 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
403 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
404 && __GLIBC_MINOR__ == 0\n\
406 #define __FD_ZERO(fdsetp) \\\\\n\
408 int __d0, __d1; \\\\\n\
409 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
410 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
411 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
412 / sizeof (__fd_mask)), \\\\\n\
413 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
414 : \"memory\"); \\\\\n\
417 #define _SELECTBITS_H_WRAPPER\n\
418 #endif /* _SELECTBITS_H_WRAPPER */",
421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
423 * Description of Aab_Solaris_Sys_Varargs_H fix
425 tSCC zAab_Solaris_Sys_Varargs_HName[] =
426 "AAB_solaris_sys_varargs_h";
429 * File name selection pattern
431 tSCC zAab_Solaris_Sys_Varargs_HList[] =
434 * Machine/OS name selection pattern
436 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
439 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
440 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
443 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
445 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
447 #include <stdarg.h>\n\
449 #include <varargs.h>\n\
453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
455 * Description of Aab_Sun_Memcpy fix
457 tSCC zAab_Sun_MemcpyName[] =
461 * File name selection pattern
463 tSCC zAab_Sun_MemcpyList[] =
466 * Machine/OS name selection pattern
468 #define apzAab_Sun_MemcpyMachs (const char**)NULL
471 * content selection pattern - do fix if pattern found
473 tSCC zAab_Sun_MemcpySelect0[] =
474 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
476 #define AAB_SUN_MEMCPY_TEST_CT 1
477 static tTestDesc aAab_Sun_MemcpyTests[] = {
478 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
481 * Fix Command Arguments for Aab_Sun_Memcpy
483 static const char* apzAab_Sun_MemcpyPatch[] = {
484 "/* This file was generated by fixincludes */\n\
485 #ifndef __memory_h__\n\
486 #define __memory_h__\n\n\
488 extern void *memccpy();\n\
489 extern void *memchr();\n\
490 extern void *memcpy();\n\
491 extern void *memset();\n\
493 extern char *memccpy();\n\
494 extern char *memchr();\n\
495 extern char *memcpy();\n\
496 extern char *memset();\n\
497 #endif /* __STDC__ */\n\n\
498 extern int memcmp();\n\n\
499 #endif /* __memory_h__ */",
502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
504 * Description of Aab_Vxworks_Assert fix
506 tSCC zAab_Vxworks_AssertName[] =
507 "AAB_vxworks_assert";
510 * File name selection pattern
512 tSCC zAab_Vxworks_AssertList[] =
515 * Machine/OS name selection pattern
517 tSCC* apzAab_Vxworks_AssertMachs[] = {
520 #define AAB_VXWORKS_ASSERT_TEST_CT 0
521 #define aAab_Vxworks_AssertTests (tTestDesc*)NULL
524 * Fix Command Arguments for Aab_Vxworks_Assert
526 static const char* apzAab_Vxworks_AssertPatch[] = {
531 #define _ASSERT_H\n\n\
532 #ifdef __cplusplus\n\
535 #if defined(__STDC__) || defined(__cplusplus)\n\
536 extern void __assert (const char*);\n\
538 extern void __assert ();\n\
541 #define assert(ign) ((void)0)\n\
543 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
544 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
545 #define assert(test) ((void) \\\n\
546 ((test) ? ((void)0) : \\\n\
547 __assert(\"Assertion failed: \" #test \", file \" \\\n\
548 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
550 #ifdef __cplusplus\n\
555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
557 * Description of Aab_Vxworks_Regs_Vxtypes fix
559 tSCC zAab_Vxworks_Regs_VxtypesName[] =
560 "AAB_vxworks_regs_vxtypes";
563 * File name selection pattern
565 tSCC zAab_Vxworks_Regs_VxtypesList[] =
568 * Machine/OS name selection pattern
570 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
573 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
574 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
577 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
579 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
582 /* regs.h depends on CPU_FAMILY being properly defined, which\n\
583 is done by vxCpu.h. */\n\
584 #include <types/vxCpu.h>\n\
585 /* regs.h includes a CPU_FAMILY-specific header that requires\n\
586 vxTypesOld.h to already have been included. Those headers\n\
587 contain proper _ASMLANGUAGE guards around their typedefs,\n\
588 but vxTypesOld.h itself does not. So we avoid including\n\
589 vxTypesOld.h from assembly. */\n\
590 #ifndef _ASMLANGUAGE\n\
591 #include <types/vxTypesOld.h>\n\
593 #include_next <arch/../regs.h>\n\
597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
599 * Description of Aab_Vxworks_Unistd fix
601 tSCC zAab_Vxworks_UnistdName[] =
602 "AAB_vxworks_unistd";
605 * File name selection pattern
607 tSCC zAab_Vxworks_UnistdList[] =
610 * Machine/OS name selection pattern
612 tSCC* apzAab_Vxworks_UnistdMachs[] = {
615 #define AAB_VXWORKS_UNISTD_TEST_CT 0
616 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
619 * Fix Command Arguments for Aab_Vxworks_Unistd
621 static const char* apzAab_Vxworks_UnistdPatch[] = {
622 "#ifndef _UNISTD_H\n\
624 #include_next <unistd.h>\n\
625 #include <ioLib.h>\n\
626 #ifndef STDIN_FILENO\n\
627 #define STDIN_FILENO 0\n\
629 #ifndef STDOUT_FILENO\n\
630 #define STDOUT_FILENO 1\n\
632 #ifndef STDERR_FILENO\n\
633 #define STDERR_FILENO 2\n\
635 #endif /* _UNISTD_H */",
638 /* * * * * * * * * * * * * * * * * * * * * * * * * *
640 * Description of Aix_Assert fix
642 tSCC zAix_AssertName[] =
646 * File name selection pattern
648 tSCC zAix_AssertList[] =
651 * Machine/OS name selection pattern
653 tSCC* apzAix_AssertMachs[] = {
658 * content selection pattern - do fix if pattern found
660 tSCC zAix_AssertSelect0[] =
661 "#define[ \t]static_assert[ \t]_Static_assert";
663 #define AIX_ASSERT_TEST_CT 1
664 static tTestDesc aAix_AssertTests[] = {
665 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
668 * Fix Command Arguments for Aix_Assert
670 static const char* apzAix_AssertPatch[] = {
672 "#ifndef __cplusplus\n\
677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
679 * Description of Aix_Complex fix
681 tSCC zAix_ComplexName[] =
685 * File name selection pattern
687 tSCC zAix_ComplexList[] =
690 * Machine/OS name selection pattern
692 tSCC* apzAix_ComplexMachs[] = {
697 * content selection pattern - do fix if pattern found
699 tSCC zAix_ComplexSelect0[] =
700 "#define[ \t]_Complex_I[ \t]__I";
702 #define AIX_COMPLEX_TEST_CT 1
703 static tTestDesc aAix_ComplexTests[] = {
704 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
707 * Fix Command Arguments for Aix_Complex
709 static const char* apzAix_ComplexPatch[] = {
711 "#define _Complex_I (__extension__ 1.0iF)",
714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
716 * Description of Aix_Externc fix
718 tSCC zAix_ExterncName[] =
722 * File name selection pattern
724 tSCC zAix_ExterncList[] =
725 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
727 * Machine/OS name selection pattern
729 tSCC* apzAix_ExterncMachs[] = {
734 * content bypass pattern - skip fix if pattern found
736 tSCC zAix_ExterncBypass0[] =
739 #define AIX_EXTERNC_TEST_CT 1
740 static tTestDesc aAix_ExterncTests[] = {
741 { TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
744 * Fix Command Arguments for Aix_Externc
746 static const char* apzAix_ExterncPatch[] = {
748 "#ifdef __cplusplus\n\
751 "#ifdef __cplusplus\n\
756 /* * * * * * * * * * * * * * * * * * * * * * * * * *
758 * Description of Aix_Externcpp1 fix
760 tSCC zAix_Externcpp1Name[] =
764 * File name selection pattern
766 tSCC zAix_Externcpp1List[] =
769 * Machine/OS name selection pattern
771 tSCC* apzAix_Externcpp1Machs[] = {
776 * content selection pattern - do fix if pattern found
778 tSCC zAix_Externcpp1Select0[] =
779 "#ifdef __cplusplus";
781 #define AIX_EXTERNCPP1_TEST_CT 1
782 static tTestDesc aAix_Externcpp1Tests[] = {
783 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
786 * Fix Command Arguments for Aix_Externcpp1
788 static const char* apzAix_Externcpp1Patch[] = {
790 "#ifdef __cplusplus\n\
794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
796 * Description of Aix_Externcpp2 fix
798 tSCC zAix_Externcpp2Name[] =
802 * File name selection pattern
804 tSCC zAix_Externcpp2List[] =
807 * Machine/OS name selection pattern
809 tSCC* apzAix_Externcpp2Machs[] = {
814 * content selection pattern - do fix if pattern found
816 tSCC zAix_Externcpp2Select0[] =
817 "#else /\\* __cplusplus \\*/";
819 #define AIX_EXTERNCPP2_TEST_CT 1
820 static tTestDesc aAix_Externcpp2Tests[] = {
821 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
824 * Fix Command Arguments for Aix_Externcpp2
826 static const char* apzAix_Externcpp2Patch[] = {
828 "} /* extern \"C++\" */\n\
829 #else /* __cplusplus */",
832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
834 * Description of Aix_Malloc fix
836 tSCC zAix_MallocName[] =
840 * File name selection pattern
842 tSCC zAix_MallocList[] =
845 * Machine/OS name selection pattern
847 tSCC* apzAix_MallocMachs[] = {
852 * content selection pattern - do fix if pattern found
854 tSCC zAix_MallocSelect0[] =
855 "#ifdef __cplusplus";
857 #define AIX_MALLOC_TEST_CT 1
858 static tTestDesc aAix_MallocTests[] = {
859 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
862 * Fix Command Arguments for Aix_Malloc
864 static const char* apzAix_MallocPatch[] = {
866 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
871 * Description of Aix_Net_If_Arp fix
873 tSCC zAix_Net_If_ArpName[] =
877 * File name selection pattern
879 tSCC zAix_Net_If_ArpList[] =
882 * Machine/OS name selection pattern
884 tSCC* apzAix_Net_If_ArpMachs[] = {
889 * content selection pattern - do fix if pattern found
891 tSCC zAix_Net_If_ArpSelect0[] =
892 "^struct fc_softc \\{";
894 #define AIX_NET_IF_ARP_TEST_CT 1
895 static tTestDesc aAix_Net_If_ArpTests[] = {
896 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
899 * Fix Command Arguments for Aix_Net_If_Arp
901 static const char* apzAix_Net_If_ArpPatch[] = {
903 "typedef struct _fc_softc {",
906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
908 * Description of Aix_Null fix
910 tSCC zAix_NullName[] =
914 * File name selection pattern
916 tSCC zAix_NullList[] =
917 "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";
919 * Machine/OS name selection pattern
921 tSCC* apzAix_NullMachs[] = {
926 * content selection pattern - do fix if pattern found
928 tSCC zAix_NullSelect0[] =
929 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
932 * content bypass pattern - skip fix if pattern found
934 tSCC zAix_NullBypass0[] =
937 #define AIX_NULL_TEST_CT 2
938 static tTestDesc aAix_NullTests[] = {
939 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
940 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
943 * Fix Command Arguments for Aix_Null
945 static const char* apzAix_NullPatch[] = {
948 #ifdef __cplusplus\n\
950 #define NULL __null\n\
951 #else /* ! __GNUG__ */\n\
953 #endif /* __GNUG__ */\n\
954 #else /* ! __cplusplus */\n\
955 #define NULL ((void *)0)\n\
956 #endif /* __cplusplus */\n\
960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
962 * Description of Aix_Once_Init_1 fix
964 tSCC zAix_Once_Init_1Name[] =
968 * File name selection pattern
970 tSCC zAix_Once_Init_1List[] =
973 * Machine/OS name selection pattern
975 tSCC* apzAix_Once_Init_1Machs[] = {
980 * content selection pattern - do fix if pattern found
982 tSCC zAix_Once_Init_1Select0[] =
983 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
986 #define AIX_ONCE_INIT_1_TEST_CT 1
987 static tTestDesc aAix_Once_Init_1Tests[] = {
988 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
991 * Fix Command Arguments for Aix_Once_Init_1
993 static const char* apzAix_Once_Init_1Patch[] = {
995 "#define PTHREAD_ONCE_INIT \\\n\
999 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1001 * Description of Aix_Once_Init_2 fix
1003 tSCC zAix_Once_Init_2Name[] =
1007 * File name selection pattern
1009 tSCC zAix_Once_Init_2List[] =
1012 * Machine/OS name selection pattern
1014 tSCC* apzAix_Once_Init_2Machs[] = {
1016 (const char*)NULL };
1019 * content selection pattern - do fix if pattern found
1021 tSCC zAix_Once_Init_2Select0[] =
1025 #define AIX_ONCE_INIT_2_TEST_CT 1
1026 static tTestDesc aAix_Once_Init_2Tests[] = {
1027 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1030 * Fix Command Arguments for Aix_Once_Init_2
1032 static const char* apzAix_Once_Init_2Patch[] = {
1038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1040 * Description of Aix_Mutex_Initializer_1 fix
1042 tSCC zAix_Mutex_Initializer_1Name[] =
1043 "aix_mutex_initializer_1";
1046 * File name selection pattern
1048 tSCC zAix_Mutex_Initializer_1List[] =
1051 * Machine/OS name selection pattern
1053 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1055 (const char*)NULL };
1058 * content selection pattern - do fix if pattern found
1060 tSCC zAix_Mutex_Initializer_1Select0[] =
1061 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1064 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1065 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1066 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1069 * Fix Command Arguments for Aix_Mutex_Initializer_1
1071 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1073 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1079 * Description of Aix_Cond_Initializer_1 fix
1081 tSCC zAix_Cond_Initializer_1Name[] =
1082 "aix_cond_initializer_1";
1085 * File name selection pattern
1087 tSCC zAix_Cond_Initializer_1List[] =
1090 * Machine/OS name selection pattern
1092 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1094 (const char*)NULL };
1097 * content selection pattern - do fix if pattern found
1099 tSCC zAix_Cond_Initializer_1Select0[] =
1100 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1103 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1104 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1105 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1108 * Fix Command Arguments for Aix_Cond_Initializer_1
1110 static const char* apzAix_Cond_Initializer_1Patch[] = {
1112 "#define PTHREAD_COND_INITIALIZER \\\n\
1116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1118 * Description of Aix_Rwlock_Initializer_1 fix
1120 tSCC zAix_Rwlock_Initializer_1Name[] =
1121 "aix_rwlock_initializer_1";
1124 * File name selection pattern
1126 tSCC zAix_Rwlock_Initializer_1List[] =
1129 * Machine/OS name selection pattern
1131 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1133 (const char*)NULL };
1136 * content selection pattern - do fix if pattern found
1138 tSCC zAix_Rwlock_Initializer_1Select0[] =
1139 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1142 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1143 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1144 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1147 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1149 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1151 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1157 * Description of Aix_Pthread fix
1159 tSCC zAix_PthreadName[] =
1163 * File name selection pattern
1165 tSCC zAix_PthreadList[] =
1168 * Machine/OS name selection pattern
1170 #define apzAix_PthreadMachs (const char**)NULL
1173 * content selection pattern - do fix if pattern found
1175 tSCC zAix_PthreadSelect0[] =
1176 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1180 #define AIX_PTHREAD_TEST_CT 1
1181 static tTestDesc aAix_PthreadTests[] = {
1182 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1185 * Fix Command Arguments for Aix_Pthread
1187 static const char* apzAix_PthreadPatch[] = {
1192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1194 * Description of Aix_Stdint_1 fix
1196 tSCC zAix_Stdint_1Name[] =
1200 * File name selection pattern
1202 tSCC zAix_Stdint_1List[] =
1203 "stdint-aix.h\0stdint.h\0";
1205 * Machine/OS name selection pattern
1207 tSCC* apzAix_Stdint_1Machs[] = {
1209 (const char*)NULL };
1212 * content selection pattern - do fix if pattern found
1214 tSCC zAix_Stdint_1Select0[] =
1215 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1216 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1218 #define AIX_STDINT_1_TEST_CT 1
1219 static tTestDesc aAix_Stdint_1Tests[] = {
1220 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1223 * Fix Command Arguments for Aix_Stdint_1
1225 static const char* apzAix_Stdint_1Patch[] = {
1227 "#define UINT8_MAX\t(255)\n\
1228 #define UINT16_MAX\t(65535)",
1231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1233 * Description of Aix_Stdint_2 fix
1235 tSCC zAix_Stdint_2Name[] =
1239 * File name selection pattern
1241 tSCC zAix_Stdint_2List[] =
1242 "stdint-aix.h\0stdint.h\0";
1244 * Machine/OS name selection pattern
1246 tSCC* apzAix_Stdint_2Machs[] = {
1248 (const char*)NULL };
1251 * content selection pattern - do fix if pattern found
1253 tSCC zAix_Stdint_2Select0[] =
1254 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1255 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1256 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1258 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1259 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1260 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1262 #define AIX_STDINT_2_TEST_CT 1
1263 static tTestDesc aAix_Stdint_2Tests[] = {
1264 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1267 * Fix Command Arguments for Aix_Stdint_2
1269 static const char* apzAix_Stdint_2Patch[] = {
1271 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1272 #define INTPTR_MAX\t9223372036854775807L\n\
1273 #define UINTPTR_MAX\t18446744073709551615UL\n\
1275 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1276 #define INTPTR_MAX\t2147483647L\n\
1277 #define UINTPTR_MAX\t4294967295UL",
1280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1282 * Description of Aix_Stdint_3 fix
1284 tSCC zAix_Stdint_3Name[] =
1288 * File name selection pattern
1290 tSCC zAix_Stdint_3List[] =
1291 "stdint-aix.h\0stdint.h\0";
1293 * Machine/OS name selection pattern
1295 tSCC* apzAix_Stdint_3Machs[] = {
1297 (const char*)NULL };
1300 * content selection pattern - do fix if pattern found
1302 tSCC zAix_Stdint_3Select0[] =
1303 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1304 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1306 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1307 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1309 #define AIX_STDINT_3_TEST_CT 1
1310 static tTestDesc aAix_Stdint_3Tests[] = {
1311 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1314 * Fix Command Arguments for Aix_Stdint_3
1316 static const char* apzAix_Stdint_3Patch[] = {
1318 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1319 #define PTRDIFF_MAX\t9223372036854775807L\n\
1321 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1322 #define PTRDIFF_MAX\t2147483647L",
1325 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1327 * Description of Aix_Stdint_4 fix
1329 tSCC zAix_Stdint_4Name[] =
1333 * File name selection pattern
1335 tSCC zAix_Stdint_4List[] =
1336 "stdint-aix.h\0stdint.h\0";
1338 * Machine/OS name selection pattern
1340 tSCC* apzAix_Stdint_4Machs[] = {
1342 (const char*)NULL };
1345 * content selection pattern - do fix if pattern found
1347 tSCC zAix_Stdint_4Select0[] =
1348 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1350 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1352 #define AIX_STDINT_4_TEST_CT 1
1353 static tTestDesc aAix_Stdint_4Tests[] = {
1354 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1357 * Fix Command Arguments for Aix_Stdint_4
1359 static const char* apzAix_Stdint_4Patch[] = {
1361 "#define SIZE_MAX\t18446744073709551615UL\n\
1363 #define SIZE_MAX\t4294967295UL",
1366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1368 * Description of Aix_Stdint_5 fix
1370 tSCC zAix_Stdint_5Name[] =
1374 * File name selection pattern
1376 tSCC zAix_Stdint_5List[] =
1377 "stdint-aix.h\0stdint.h\0";
1379 * Machine/OS name selection pattern
1381 tSCC* apzAix_Stdint_5Machs[] = {
1383 (const char*)NULL };
1386 * content selection pattern - do fix if pattern found
1388 tSCC zAix_Stdint_5Select0[] =
1389 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1390 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1392 #define AIX_STDINT_5_TEST_CT 1
1393 static tTestDesc aAix_Stdint_5Tests[] = {
1394 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1397 * Fix Command Arguments for Aix_Stdint_5
1399 static const char* apzAix_Stdint_5Patch[] = {
1401 "#define UINT8_C(c)\tc\n\
1402 #define UINT16_C(c)\tc",
1405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1407 * Description of Aix_Stdio_Inline fix
1409 tSCC zAix_Stdio_InlineName[] =
1413 * File name selection pattern
1415 tSCC zAix_Stdio_InlineList[] =
1418 * Machine/OS name selection pattern
1420 tSCC* apzAix_Stdio_InlineMachs[] = {
1422 (const char*)NULL };
1425 * content selection pattern - do fix if pattern found
1427 tSCC zAix_Stdio_InlineSelect0[] =
1428 "#ifdef __cplusplus\\\n\
1433 #define AIX_STDIO_INLINE_TEST_CT 1
1434 static tTestDesc aAix_Stdio_InlineTests[] = {
1435 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1438 * Fix Command Arguments for Aix_Stdio_Inline
1440 static const char* apzAix_Stdio_InlinePatch[] = {
1442 "#ifdef __cplusplus\n\
1445 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1451 * Description of Aix_Stdlib_Malloc fix
1453 tSCC zAix_Stdlib_MallocName[] =
1454 "aix_stdlib_malloc";
1457 * File name selection pattern
1459 tSCC zAix_Stdlib_MallocList[] =
1462 * Machine/OS name selection pattern
1464 tSCC* apzAix_Stdlib_MallocMachs[] = {
1466 (const char*)NULL };
1469 * content selection pattern - do fix if pattern found
1471 tSCC zAix_Stdlib_MallocSelect0[] =
1472 "#define[ \t]+malloc[ \t]+__linux_malloc";
1474 #define AIX_STDLIB_MALLOC_TEST_CT 1
1475 static tTestDesc aAix_Stdlib_MallocTests[] = {
1476 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1479 * Fix Command Arguments for Aix_Stdlib_Malloc
1481 static const char* apzAix_Stdlib_MallocPatch[] = {
1483 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1488 * Description of Aix_Stdlib_Realloc fix
1490 tSCC zAix_Stdlib_ReallocName[] =
1491 "aix_stdlib_realloc";
1494 * File name selection pattern
1496 tSCC zAix_Stdlib_ReallocList[] =
1499 * Machine/OS name selection pattern
1501 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1503 (const char*)NULL };
1506 * content selection pattern - do fix if pattern found
1508 tSCC zAix_Stdlib_ReallocSelect0[] =
1509 "#define[ \t]+realloc[ \t]+__linux_realloc";
1511 #define AIX_STDLIB_REALLOC_TEST_CT 1
1512 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1513 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1516 * Fix Command Arguments for Aix_Stdlib_Realloc
1518 static const char* apzAix_Stdlib_ReallocPatch[] = {
1520 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1525 * Description of Aix_Stdlib_Calloc fix
1527 tSCC zAix_Stdlib_CallocName[] =
1528 "aix_stdlib_calloc";
1531 * File name selection pattern
1533 tSCC zAix_Stdlib_CallocList[] =
1536 * Machine/OS name selection pattern
1538 tSCC* apzAix_Stdlib_CallocMachs[] = {
1540 (const char*)NULL };
1543 * content selection pattern - do fix if pattern found
1545 tSCC zAix_Stdlib_CallocSelect0[] =
1546 "#define[ \t]+calloc[ \t]+__linux_calloc";
1548 #define AIX_STDLIB_CALLOC_TEST_CT 1
1549 static tTestDesc aAix_Stdlib_CallocTests[] = {
1550 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1553 * Fix Command Arguments for Aix_Stdlib_Calloc
1555 static const char* apzAix_Stdlib_CallocPatch[] = {
1557 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1562 * Description of Aix_Stdlib_Valloc fix
1564 tSCC zAix_Stdlib_VallocName[] =
1565 "aix_stdlib_valloc";
1568 * File name selection pattern
1570 tSCC zAix_Stdlib_VallocList[] =
1573 * Machine/OS name selection pattern
1575 tSCC* apzAix_Stdlib_VallocMachs[] = {
1577 (const char*)NULL };
1580 * content selection pattern - do fix if pattern found
1582 tSCC zAix_Stdlib_VallocSelect0[] =
1583 "#define[ \t]+valloc[ \t]+__linux_valloc";
1585 #define AIX_STDLIB_VALLOC_TEST_CT 1
1586 static tTestDesc aAix_Stdlib_VallocTests[] = {
1587 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1590 * Fix Command Arguments for Aix_Stdlib_Valloc
1592 static const char* apzAix_Stdlib_VallocPatch[] = {
1594 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1599 * Description of Aix_Stdlib_Vec_Malloc fix
1601 tSCC zAix_Stdlib_Vec_MallocName[] =
1602 "aix_stdlib_vec_malloc";
1605 * File name selection pattern
1607 tSCC zAix_Stdlib_Vec_MallocList[] =
1610 * Machine/OS name selection pattern
1612 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1614 (const char*)NULL };
1617 * content selection pattern - do fix if pattern found
1619 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1620 "#define[ \t]+malloc[ \t]+vec_malloc";
1622 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1623 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1624 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1627 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1629 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1631 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1636 * Description of Aix_Stdlib_Vec_Calloc fix
1638 tSCC zAix_Stdlib_Vec_CallocName[] =
1639 "aix_stdlib_vec_calloc";
1642 * File name selection pattern
1644 tSCC zAix_Stdlib_Vec_CallocList[] =
1647 * Machine/OS name selection pattern
1649 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1651 (const char*)NULL };
1654 * content selection pattern - do fix if pattern found
1656 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1657 "#define[ \t]+calloc[ \t]+vec_calloc";
1659 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1660 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1661 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1664 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1666 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1668 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1671 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1673 * Description of Aix_Strtof_Const fix
1675 tSCC zAix_Strtof_ConstName[] =
1679 * File name selection pattern
1681 tSCC zAix_Strtof_ConstList[] =
1684 * Machine/OS name selection pattern
1686 tSCC* apzAix_Strtof_ConstMachs[] = {
1688 (const char*)NULL };
1691 * content selection pattern - do fix if pattern found
1693 tSCC zAix_Strtof_ConstSelect0[] =
1694 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1696 #define AIX_STRTOF_CONST_TEST_CT 1
1697 static tTestDesc aAix_Strtof_ConstTests[] = {
1698 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1701 * Fix Command Arguments for Aix_Strtof_Const
1703 static const char* apzAix_Strtof_ConstPatch[] = {
1705 "%1(const char *, char **);",
1708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1710 * Description of Aix_Sysmachine fix
1712 tSCC zAix_SysmachineName[] =
1716 * File name selection pattern
1718 tSCC zAix_SysmachineList[] =
1721 * Machine/OS name selection pattern
1723 tSCC* apzAix_SysmachineMachs[] = {
1725 (const char*)NULL };
1728 * content selection pattern - do fix if pattern found
1730 tSCC zAix_SysmachineSelect0[] =
1733 #define AIX_SYSMACHINE_TEST_CT 1
1734 static tTestDesc aAix_SysmachineTests[] = {
1735 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1738 * Fix Command Arguments for Aix_Sysmachine
1740 static const char* apzAix_SysmachinePatch[] = {
1745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1747 * Description of Aix_Syswait_2 fix
1749 tSCC zAix_Syswait_2Name[] =
1753 * File name selection pattern
1755 tSCC zAix_Syswait_2List[] =
1758 * Machine/OS name selection pattern
1760 tSCC* apzAix_Syswait_2Machs[] = {
1762 (const char*)NULL };
1765 * content selection pattern - do fix if pattern found
1767 tSCC zAix_Syswait_2Select0[] =
1768 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1770 #define AIX_SYSWAIT_2_TEST_CT 1
1771 static tTestDesc aAix_Syswait_2Tests[] = {
1772 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1775 * Fix Command Arguments for Aix_Syswait_2
1777 static const char* apzAix_Syswait_2Patch[] = {
1782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1784 * Description of Aix_Volatile fix
1786 tSCC zAix_VolatileName[] =
1790 * File name selection pattern
1792 tSCC zAix_VolatileList[] =
1795 * Machine/OS name selection pattern
1797 tSCC* apzAix_VolatileMachs[] = {
1799 (const char*)NULL };
1802 * content selection pattern - do fix if pattern found
1804 tSCC zAix_VolatileSelect0[] =
1805 "typedef volatile int sig_atomic_t";
1807 #define AIX_VOLATILE_TEST_CT 1
1808 static tTestDesc aAix_VolatileTests[] = {
1809 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1812 * Fix Command Arguments for Aix_Volatile
1814 static const char* apzAix_VolatilePatch[] = {
1816 "typedef int sig_atomic_t",
1819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1821 * Description of Aix_Unistd fix
1823 tSCC zAix_UnistdName[] =
1827 * File name selection pattern
1829 tSCC zAix_UnistdList[] =
1832 * Machine/OS name selection pattern
1834 tSCC* apzAix_UnistdMachs[] = {
1836 (const char*)NULL };
1839 * content selection pattern - do fix if pattern found
1841 tSCC zAix_UnistdSelect0[] =
1842 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1844 #define AIX_UNISTD_TEST_CT 1
1845 static tTestDesc aAix_UnistdTests[] = {
1846 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1849 * Fix Command Arguments for Aix_Unistd
1851 static const char* apzAix_UnistdPatch[] = {
1853 "\tstatic int\t\tgetdtablesize(void)",
1856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1858 * Description of Alpha___Assert fix
1860 tSCC zAlpha___AssertName[] =
1864 * File name selection pattern
1866 tSCC zAlpha___AssertList[] =
1869 * Machine/OS name selection pattern
1871 #define apzAlpha___AssertMachs (const char**)NULL
1874 * content selection pattern - do fix if pattern found
1876 tSCC zAlpha___AssertSelect0[] =
1877 "__assert\\(char \\*, char \\*, int\\)";
1879 #define ALPHA___ASSERT_TEST_CT 1
1880 static tTestDesc aAlpha___AssertTests[] = {
1881 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1884 * Fix Command Arguments for Alpha___Assert
1886 static const char* apzAlpha___AssertPatch[] = {
1888 "__assert(const char *, const char *, int)",
1891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1893 * Description of Alpha_Assert fix
1895 tSCC zAlpha_AssertName[] =
1899 * File name selection pattern
1901 tSCC zAlpha_AssertList[] =
1904 * Machine/OS name selection pattern
1906 #define apzAlpha_AssertMachs (const char**)NULL
1909 * content selection pattern - do fix if pattern found
1911 tSCC zAlpha_AssertSelect0[] =
1912 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1914 #define ALPHA_ASSERT_TEST_CT 1
1915 static tTestDesc aAlpha_AssertTests[] = {
1916 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1919 * Fix Command Arguments for Alpha_Assert
1921 static const char* apzAlpha_AssertPatch[] = {
1926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1928 * Description of Alpha_Getopt fix
1930 tSCC zAlpha_GetoptName[] =
1934 * File name selection pattern
1936 tSCC zAlpha_GetoptList[] =
1937 "stdio.h\0stdlib.h\0";
1939 * Machine/OS name selection pattern
1941 #define apzAlpha_GetoptMachs (const char**)NULL
1944 * content selection pattern - do fix if pattern found
1946 tSCC zAlpha_GetoptSelect0[] =
1947 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1949 #define ALPHA_GETOPT_TEST_CT 1
1950 static tTestDesc aAlpha_GetoptTests[] = {
1951 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1954 * Fix Command Arguments for Alpha_Getopt
1956 static const char* apzAlpha_GetoptPatch[] = {
1958 "getopt(int, char *const[], const char *)",
1961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1963 * Description of Alpha_If_Semicolon fix
1965 tSCC zAlpha_If_SemicolonName[] =
1966 "alpha_if_semicolon";
1969 * File name selection pattern
1971 tSCC zAlpha_If_SemicolonList[] =
1974 * Machine/OS name selection pattern
1976 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1979 * content selection pattern - do fix if pattern found
1981 tSCC zAlpha_If_SemicolonSelect0[] =
1982 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1984 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1985 static tTestDesc aAlpha_If_SemicolonTests[] = {
1986 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1989 * Fix Command Arguments for Alpha_If_Semicolon
1991 static const char* apzAlpha_If_SemicolonPatch[] = {
1993 "struct sockaddr vmif_paddr;\t/*",
1996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1998 * Description of Alpha_Parens fix
2000 tSCC zAlpha_ParensName[] =
2004 * File name selection pattern
2006 tSCC zAlpha_ParensList[] =
2009 * Machine/OS name selection pattern
2011 #define apzAlpha_ParensMachs (const char**)NULL
2014 * content selection pattern - do fix if pattern found
2016 tSCC zAlpha_ParensSelect0[] =
2017 "#ifndef\\(__mips64\\)";
2019 #define ALPHA_PARENS_TEST_CT 1
2020 static tTestDesc aAlpha_ParensTests[] = {
2021 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2024 * Fix Command Arguments for Alpha_Parens
2026 static const char* apzAlpha_ParensPatch[] = {
2031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2033 * Description of Alpha_Sbrk fix
2035 tSCC zAlpha_SbrkName[] =
2039 * File name selection pattern
2041 tSCC zAlpha_SbrkList[] =
2044 * Machine/OS name selection pattern
2046 #define apzAlpha_SbrkMachs (const char**)NULL
2049 * content selection pattern - do fix if pattern found
2051 tSCC zAlpha_SbrkSelect0[] =
2052 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2054 #define ALPHA_SBRK_TEST_CT 1
2055 static tTestDesc aAlpha_SbrkTests[] = {
2056 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2059 * Fix Command Arguments for Alpha_Sbrk
2061 static const char* apzAlpha_SbrkPatch[] = {
2066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2068 * Description of Avoid_Bool_Define fix
2070 tSCC zAvoid_Bool_DefineName[] =
2071 "avoid_bool_define";
2074 * File name selection pattern
2076 tSCC zAvoid_Bool_DefineList[] =
2077 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2079 * Machine/OS name selection pattern
2081 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2084 * content selection pattern - do fix if pattern found
2086 tSCC zAvoid_Bool_DefineSelect0[] =
2087 "#[ \t]*define[ \t]+bool[ \t]";
2090 * content bypass pattern - skip fix if pattern found
2092 tSCC zAvoid_Bool_DefineBypass0[] =
2095 #define AVOID_BOOL_DEFINE_TEST_CT 2
2096 static tTestDesc aAvoid_Bool_DefineTests[] = {
2097 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2098 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2101 * Fix Command Arguments for Avoid_Bool_Define
2103 static const char* apzAvoid_Bool_DefinePatch[] = {
2105 "#ifndef __cplusplus\n\
2108 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2113 * Description of Avoid_Bool_Type fix
2115 tSCC zAvoid_Bool_TypeName[] =
2119 * File name selection pattern
2121 tSCC zAvoid_Bool_TypeList[] =
2122 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2124 * Machine/OS name selection pattern
2126 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2129 * content selection pattern - do fix if pattern found
2131 tSCC zAvoid_Bool_TypeSelect0[] =
2132 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2135 * content bypass pattern - skip fix if pattern found
2137 tSCC zAvoid_Bool_TypeBypass0[] =
2140 #define AVOID_BOOL_TYPE_TEST_CT 2
2141 static tTestDesc aAvoid_Bool_TypeTests[] = {
2142 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2143 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2146 * Fix Command Arguments for Avoid_Bool_Type
2148 static const char* apzAvoid_Bool_TypePatch[] = {
2150 "#ifndef __cplusplus\n\
2155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2157 * Description of Avoid_Wchar_T_Type fix
2159 tSCC zAvoid_Wchar_T_TypeName[] =
2160 "avoid_wchar_t_type";
2163 * File name selection pattern
2165 #define zAvoid_Wchar_T_TypeList (char*)NULL
2167 * Machine/OS name selection pattern
2169 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2172 * content selection pattern - do fix if pattern found
2174 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2175 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2178 * content bypass pattern - skip fix if pattern found
2180 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2182 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2184 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2185 "XFree86: xc/lib/X11/Xlib\\.h";
2187 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2188 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2189 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2190 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2191 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2192 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2195 * Fix Command Arguments for Avoid_Wchar_T_Type
2197 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2199 "#ifndef __cplusplus\n\
2204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2206 * Description of Bad_Struct_Term fix
2208 tSCC zBad_Struct_TermName[] =
2212 * File name selection pattern
2214 tSCC zBad_Struct_TermList[] =
2217 * Machine/OS name selection pattern
2219 #define apzBad_Struct_TermMachs (const char**)NULL
2222 * content selection pattern - do fix if pattern found
2224 tSCC zBad_Struct_TermSelect0[] =
2225 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2227 #define BAD_STRUCT_TERM_TEST_CT 1
2228 static tTestDesc aBad_Struct_TermTests[] = {
2229 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2232 * Fix Command Arguments for Bad_Struct_Term
2234 static const char* apzBad_Struct_TermPatch[] = {
2239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2241 * Description of Badquote fix
2243 tSCC zBadquoteName[] =
2247 * File name selection pattern
2249 tSCC zBadquoteList[] =
2250 "sundev/vuid_event.h\0";
2252 * Machine/OS name selection pattern
2254 #define apzBadquoteMachs (const char**)NULL
2257 * content selection pattern - do fix if pattern found
2259 tSCC zBadquoteSelect0[] =
2262 #define BADQUOTE_TEST_CT 1
2263 static tTestDesc aBadquoteTests[] = {
2264 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2267 * Fix Command Arguments for Badquote
2269 static const char* apzBadquotePatch[] = {
2274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2276 * Description of Broken_Assert_Stdio fix
2278 tSCC zBroken_Assert_StdioName[] =
2279 "broken_assert_stdio";
2282 * File name selection pattern
2284 tSCC zBroken_Assert_StdioList[] =
2287 * Machine/OS name selection pattern
2289 #define apzBroken_Assert_StdioMachs (const char**)NULL
2292 * content selection pattern - do fix if pattern found
2294 tSCC zBroken_Assert_StdioSelect0[] =
2298 * content bypass pattern - skip fix if pattern found
2300 tSCC zBroken_Assert_StdioBypass0[] =
2301 "include.*stdio\\.h";
2303 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2304 static tTestDesc aBroken_Assert_StdioTests[] = {
2305 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2306 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2309 * Fix Command Arguments for Broken_Assert_Stdio
2311 static const char* apzBroken_Assert_StdioPatch[] = {
2313 "#include <stdio.h>\n",
2316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2318 * Description of Broken_Assert_Stdlib fix
2320 tSCC zBroken_Assert_StdlibName[] =
2321 "broken_assert_stdlib";
2324 * File name selection pattern
2326 tSCC zBroken_Assert_StdlibList[] =
2329 * Machine/OS name selection pattern
2331 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2334 * content selection pattern - do fix if pattern found
2336 tSCC zBroken_Assert_StdlibSelect0[] =
2337 "exit *\\(|abort *\\(";
2340 * content bypass pattern - skip fix if pattern found
2342 tSCC zBroken_Assert_StdlibBypass0[] =
2343 "include.*stdlib\\.h";
2345 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2346 static tTestDesc aBroken_Assert_StdlibTests[] = {
2347 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2348 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2351 * Fix Command Arguments for Broken_Assert_Stdlib
2353 static const char* apzBroken_Assert_StdlibPatch[] = {
2355 "#ifdef __cplusplus\n\
2356 #include <stdlib.h>\n\
2360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2362 * Description of Broken_Cabs fix
2364 tSCC zBroken_CabsName[] =
2368 * File name selection pattern
2370 tSCC zBroken_CabsList[] =
2371 "math.h\0architecture/*/math.h\0";
2373 * Machine/OS name selection pattern
2375 #define apzBroken_CabsMachs (const char**)NULL
2378 * content selection pattern - do fix if pattern found
2380 tSCC zBroken_CabsSelect0[] =
2381 "^extern[ \t]+double[ \t]+cabs";
2383 #define BROKEN_CABS_TEST_CT 1
2384 static tTestDesc aBroken_CabsTests[] = {
2385 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2388 * Fix Command Arguments for Broken_Cabs
2390 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2391 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2392 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2397 * Description of Broken_Nan fix
2399 tSCC zBroken_NanName[] =
2403 * File name selection pattern
2405 tSCC zBroken_NanList[] =
2406 "architecture/ppc/math.h\0architecture/*/math.h\0";
2408 * Machine/OS name selection pattern
2410 #define apzBroken_NanMachs (const char**)NULL
2413 * content selection pattern - do fix if pattern found
2415 tSCC zBroken_NanSelect0[] =
2416 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2419 * content bypass pattern - skip fix if pattern found
2421 tSCC zBroken_NanBypass0[] =
2424 #define BROKEN_NAN_TEST_CT 2
2425 static tTestDesc aBroken_NanTests[] = {
2426 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2427 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2430 * Fix Command Arguments for Broken_Nan
2432 static const char* apzBroken_NanPatch[] = {
2437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2439 * Description of Bsd_Stdio_Attrs_Conflict fix
2441 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2442 "bsd_stdio_attrs_conflict";
2445 * File name selection pattern
2447 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2450 * Machine/OS name selection pattern
2452 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2455 (const char*)NULL };
2458 * content selection pattern - do fix if pattern found
2460 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2461 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2463 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2464 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2465 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2468 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2470 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2472 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2473 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2474 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2479 * Description of Ctrl_Quotes_Def fix
2481 tSCC zCtrl_Quotes_DefName[] =
2485 * File name selection pattern
2487 #define zCtrl_Quotes_DefList (char*)NULL
2489 * Machine/OS name selection pattern
2491 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2494 * content selection pattern - do fix if pattern found
2496 tSCC zCtrl_Quotes_DefSelect0[] =
2497 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2499 #define CTRL_QUOTES_DEF_TEST_CT 1
2500 static tTestDesc aCtrl_Quotes_DefTests[] = {
2501 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2504 * Fix Command Arguments for Ctrl_Quotes_Def
2506 static const char* apzCtrl_Quotes_DefPatch[] = {
2511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2513 * Description of Ctrl_Quotes_Use fix
2515 tSCC zCtrl_Quotes_UseName[] =
2519 * File name selection pattern
2521 #define zCtrl_Quotes_UseList (char*)NULL
2523 * Machine/OS name selection pattern
2525 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2528 * content selection pattern - do fix if pattern found
2530 tSCC zCtrl_Quotes_UseSelect0[] =
2531 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2533 #define CTRL_QUOTES_USE_TEST_CT 1
2534 static tTestDesc aCtrl_Quotes_UseTests[] = {
2535 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2538 * Fix Command Arguments for Ctrl_Quotes_Use
2540 static const char* apzCtrl_Quotes_UsePatch[] = {
2545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2547 * Description of Cxx_Unready fix
2549 tSCC zCxx_UnreadyName[] =
2553 * File name selection pattern
2555 tSCC zCxx_UnreadyList[] =
2556 "sys/mman.h\0rpc/types.h\0";
2558 * Machine/OS name selection pattern
2560 #define apzCxx_UnreadyMachs (const char**)NULL
2563 * content selection pattern - do fix if pattern found
2565 tSCC zCxx_UnreadySelect0[] =
2569 * content bypass pattern - skip fix if pattern found
2571 tSCC zCxx_UnreadyBypass0[] =
2572 "\"C\"|__BEGIN_DECLS";
2574 #define CXX_UNREADY_TEST_CT 2
2575 static tTestDesc aCxx_UnreadyTests[] = {
2576 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2577 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2580 * Fix Command Arguments for Cxx_Unready
2582 static const char* apzCxx_UnreadyPatch[] = {
2584 "#ifdef __cplusplus\n\
2587 "#ifdef __cplusplus\n\
2592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2594 * Description of Darwin_Availabilityinternal fix
2596 tSCC zDarwin_AvailabilityinternalName[] =
2597 "darwin_availabilityinternal";
2600 * File name selection pattern
2602 tSCC zDarwin_AvailabilityinternalList[] =
2603 "AvailabilityInternal.h\0";
2605 * Machine/OS name selection pattern
2607 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2609 (const char*)NULL };
2612 * content selection pattern - do fix if pattern found
2614 tSCC zDarwin_AvailabilityinternalSelect0[] =
2615 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2617 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2618 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2619 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2622 * Fix Command Arguments for Darwin_Availabilityinternal
2624 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2626 "#if defined(__has_attribute)\n\
2627 #if __has_attribute(availability)\n\
2637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2639 * Description of Darwin_9_Long_Double_Funcs_2 fix
2641 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2642 "darwin_9_long_double_funcs_2";
2645 * File name selection pattern
2647 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2650 * Machine/OS name selection pattern
2652 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2654 (const char*)NULL };
2657 * content selection pattern - do fix if pattern found
2659 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2660 "#include[ \\t]+\\\"";
2662 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2663 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2664 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2667 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2669 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2672 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2677 * Description of Darwin_Externc fix
2679 tSCC zDarwin_ExterncName[] =
2683 * File name selection pattern
2685 tSCC zDarwin_ExterncList[] =
2686 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2688 * Machine/OS name selection pattern
2690 tSCC* apzDarwin_ExterncMachs[] = {
2692 (const char*)NULL };
2695 * content bypass pattern - skip fix if pattern found
2697 tSCC zDarwin_ExterncBypass0[] =
2699 tSCC zDarwin_ExterncBypass1[] =
2702 #define DARWIN_EXTERNC_TEST_CT 2
2703 static tTestDesc aDarwin_ExterncTests[] = {
2704 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2705 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2708 * Fix Command Arguments for Darwin_Externc
2710 static const char* apzDarwin_ExterncPatch[] = {
2712 "#ifdef __cplusplus\n\
2715 "#ifdef __cplusplus\n\
2720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2722 * Description of Darwin_Gcc4_Breakage fix
2724 tSCC zDarwin_Gcc4_BreakageName[] =
2725 "darwin_gcc4_breakage";
2728 * File name selection pattern
2730 tSCC zDarwin_Gcc4_BreakageList[] =
2731 "AvailabilityMacros.h\0";
2733 * Machine/OS name selection pattern
2735 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2737 (const char*)NULL };
2740 * content selection pattern - do fix if pattern found
2742 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2743 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2745 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2746 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2747 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2750 * Fix Command Arguments for Darwin_Gcc4_Breakage
2752 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2754 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2759 * Description of Darwin_Ll_Funcs_Avail fix
2761 tSCC zDarwin_Ll_Funcs_AvailName[] =
2762 "darwin_ll_funcs_avail";
2765 * File name selection pattern
2767 tSCC zDarwin_Ll_Funcs_AvailList[] =
2768 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2770 * Machine/OS name selection pattern
2772 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2774 (const char*)NULL };
2777 * content selection pattern - do fix if pattern found
2779 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2780 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2782 #define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2783 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2784 { TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2787 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2789 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2790 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2795 * Description of Darwin_Longjmp_Noreturn fix
2797 tSCC zDarwin_Longjmp_NoreturnName[] =
2798 "darwin_longjmp_noreturn";
2801 * File name selection pattern
2803 tSCC zDarwin_Longjmp_NoreturnList[] =
2806 * Machine/OS name selection pattern
2808 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2810 (const char*)NULL };
2813 * content selection pattern - do fix if pattern found
2815 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2816 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2819 * content bypass pattern - skip fix if pattern found
2821 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2824 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2825 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2826 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2827 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2830 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2832 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2834 "%1 __attribute__ ((__noreturn__));",
2837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2839 * Description of Darwin_Os_Trace_1 fix
2841 tSCC zDarwin_Os_Trace_1Name[] =
2842 "darwin_os_trace_1";
2845 * File name selection pattern
2847 tSCC zDarwin_Os_Trace_1List[] =
2850 * Machine/OS name selection pattern
2852 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2854 (const char*)NULL };
2857 * content selection pattern - do fix if pattern found
2859 tSCC zDarwin_Os_Trace_1Select0[] =
2860 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2862 #define DARWIN_OS_TRACE_1_TEST_CT 1
2863 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2864 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2867 * Fix Command Arguments for Darwin_Os_Trace_1
2869 static const char* apzDarwin_Os_Trace_1Patch[] = {
2874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2876 * Description of Darwin_Os_Trace_2 fix
2878 tSCC zDarwin_Os_Trace_2Name[] =
2879 "darwin_os_trace_2";
2882 * File name selection pattern
2884 tSCC zDarwin_Os_Trace_2List[] =
2887 * Machine/OS name selection pattern
2889 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2891 (const char*)NULL };
2894 * content selection pattern - do fix if pattern found
2896 tSCC zDarwin_Os_Trace_2Select0[] =
2897 "typedef.*\\^os_trace_payload_t.*";
2899 #define DARWIN_OS_TRACE_2_TEST_CT 1
2900 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2901 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2904 * Fix Command Arguments for Darwin_Os_Trace_2
2906 static const char* apzDarwin_Os_Trace_2Patch[] = {
2913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2915 * Description of Darwin_Os_Trace_3 fix
2917 tSCC zDarwin_Os_Trace_3Name[] =
2918 "darwin_os_trace_3";
2921 * File name selection pattern
2923 tSCC zDarwin_Os_Trace_3List[] =
2926 * Machine/OS name selection pattern
2928 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2930 (const char*)NULL };
2933 * content selection pattern - do fix if pattern found
2935 tSCC zDarwin_Os_Trace_3Select0[] =
2939 _os_trace.*os_trace_payload_t payload);";
2941 #define DARWIN_OS_TRACE_3_TEST_CT 1
2942 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2943 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
2946 * Fix Command Arguments for Darwin_Os_Trace_3
2948 static const char* apzDarwin_Os_Trace_3Patch[] = {
2955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2957 * Description of Darwin_Os_Base_1 fix
2959 tSCC zDarwin_Os_Base_1Name[] =
2963 * File name selection pattern
2965 tSCC zDarwin_Os_Base_1List[] =
2968 * Machine/OS name selection pattern
2970 tSCC* apzDarwin_Os_Base_1Machs[] = {
2972 (const char*)NULL };
2975 * content selection pattern - do fix if pattern found
2977 tSCC zDarwin_Os_Base_1Select0[] =
2978 "#define __has_attribute.*\n\
2981 #define DARWIN_OS_BASE_1_TEST_CT 1
2982 static tTestDesc aDarwin_Os_Base_1Tests[] = {
2983 { TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
2986 * Fix Command Arguments for Darwin_Os_Base_1
2988 static const char* apzDarwin_Os_Base_1Patch[] = {
2991 #ifndef __has_extension\n\
2992 #define __has_extension(x) 0\n\
2996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2998 * Description of Darwin_Dispatch_Object_1 fix
3000 tSCC zDarwin_Dispatch_Object_1Name[] =
3001 "darwin_dispatch_object_1";
3004 * File name selection pattern
3006 tSCC zDarwin_Dispatch_Object_1List[] =
3007 "dispatch/object.h\0";
3009 * Machine/OS name selection pattern
3011 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3013 (const char*)NULL };
3016 * content selection pattern - do fix if pattern found
3018 tSCC zDarwin_Dispatch_Object_1Select0[] =
3019 "typedef void.*\\^dispatch_block_t.*";
3021 #define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
3022 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3023 { TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3026 * Fix Command Arguments for Darwin_Dispatch_Object_1
3028 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3035 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3037 * Description of Darwin_Private_Extern fix
3039 tSCC zDarwin_Private_ExternName[] =
3040 "darwin_private_extern";
3043 * File name selection pattern
3045 tSCC zDarwin_Private_ExternList[] =
3048 * Machine/OS name selection pattern
3050 tSCC* apzDarwin_Private_ExternMachs[] = {
3052 (const char*)NULL };
3055 * content selection pattern - do fix if pattern found
3057 tSCC zDarwin_Private_ExternSelect0[] =
3058 "__private_extern__ [a-z_]+ _dyld_";
3060 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3061 static tTestDesc aDarwin_Private_ExternTests[] = {
3062 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3065 * Fix Command Arguments for Darwin_Private_Extern
3067 static const char* apzDarwin_Private_ExternPatch[] = {
3070 "__private_extern__",
3073 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3075 * Description of Darwin_Stdint_1 fix
3077 tSCC zDarwin_Stdint_1Name[] =
3081 * File name selection pattern
3083 tSCC zDarwin_Stdint_1List[] =
3084 "stdint-darwin.h\0stdint.h\0";
3086 * Machine/OS name selection pattern
3088 tSCC* apzDarwin_Stdint_1Machs[] = {
3090 (const char*)NULL };
3093 * content selection pattern - do fix if pattern found
3095 tSCC zDarwin_Stdint_1Select0[] =
3096 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3097 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3099 #define DARWIN_STDINT_1_TEST_CT 1
3100 static tTestDesc aDarwin_Stdint_1Tests[] = {
3101 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3104 * Fix Command Arguments for Darwin_Stdint_1
3106 static const char* apzDarwin_Stdint_1Patch[] = {
3108 "#define UINT8_C(v)\tv\n\
3109 #define UINT16_C(v)\tv",
3112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3114 * Description of Darwin_Stdint_2 fix
3116 tSCC zDarwin_Stdint_2Name[] =
3120 * File name selection pattern
3122 tSCC zDarwin_Stdint_2List[] =
3123 "stdint-darwin.h\0stdint.h\0";
3125 * Machine/OS name selection pattern
3127 tSCC* apzDarwin_Stdint_2Machs[] = {
3129 (const char*)NULL };
3132 * content selection pattern - do fix if pattern found
3134 tSCC zDarwin_Stdint_2Select0[] =
3135 "#if __WORDSIZE == 64\n\
3136 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3137 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3139 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3140 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3143 #define DARWIN_STDINT_2_TEST_CT 1
3144 static tTestDesc aDarwin_Stdint_2Tests[] = {
3145 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3148 * Fix Command Arguments for Darwin_Stdint_2
3150 static const char* apzDarwin_Stdint_2Patch[] = {
3152 "#if __WORDSIZE == 64\n\
3153 #define INTPTR_MAX 9223372036854775807L\n\
3154 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3156 #define INTPTR_MAX 2147483647L\n\
3157 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3163 * Description of Darwin_Stdint_3 fix
3165 tSCC zDarwin_Stdint_3Name[] =
3169 * File name selection pattern
3171 tSCC zDarwin_Stdint_3List[] =
3172 "stdint-darwin.h\0stdint.h\0";
3174 * Machine/OS name selection pattern
3176 tSCC* apzDarwin_Stdint_3Machs[] = {
3178 (const char*)NULL };
3181 * content selection pattern - do fix if pattern found
3183 tSCC zDarwin_Stdint_3Select0[] =
3184 "#if __WORDSIZE == 64\n\
3185 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3187 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3190 #define DARWIN_STDINT_3_TEST_CT 1
3191 static tTestDesc aDarwin_Stdint_3Tests[] = {
3192 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3195 * Fix Command Arguments for Darwin_Stdint_3
3197 static const char* apzDarwin_Stdint_3Patch[] = {
3199 "#if __WORDSIZE == 64\n\
3200 #define UINTPTR_MAX 18446744073709551615UL\n\
3202 #define UINTPTR_MAX 4294967295UL\n\
3206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3208 * Description of Darwin_Stdint_4 fix
3210 tSCC zDarwin_Stdint_4Name[] =
3214 * File name selection pattern
3216 tSCC zDarwin_Stdint_4List[] =
3217 "stdint-darwin.h\0stdint.h\0";
3219 * Machine/OS name selection pattern
3221 tSCC* apzDarwin_Stdint_4Machs[] = {
3223 (const char*)NULL };
3226 * content selection pattern - do fix if pattern found
3228 tSCC zDarwin_Stdint_4Select0[] =
3229 "#if __WORDSIZE == 64\n\
3230 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3232 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3235 #define DARWIN_STDINT_4_TEST_CT 1
3236 static tTestDesc aDarwin_Stdint_4Tests[] = {
3237 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3240 * Fix Command Arguments for Darwin_Stdint_4
3242 static const char* apzDarwin_Stdint_4Patch[] = {
3244 "#if __WORDSIZE == 64\n\
3245 #define SIZE_MAX 18446744073709551615UL\n\
3247 #define SIZE_MAX 4294967295UL\n\
3251 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3253 * Description of Darwin_Stdint_5 fix
3255 tSCC zDarwin_Stdint_5Name[] =
3259 * File name selection pattern
3261 tSCC zDarwin_Stdint_5List[] =
3262 "stdint-darwin.h\0stdint.h\0";
3264 * Machine/OS name selection pattern
3266 tSCC* apzDarwin_Stdint_5Machs[] = {
3268 (const char*)NULL };
3271 * content selection pattern - do fix if pattern found
3273 tSCC zDarwin_Stdint_5Select0[] =
3274 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3275 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3276 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3278 #define DARWIN_STDINT_5_TEST_CT 1
3279 static tTestDesc aDarwin_Stdint_5Tests[] = {
3280 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3283 * Fix Command Arguments for Darwin_Stdint_5
3285 static const char* apzDarwin_Stdint_5Patch[] = {
3287 "#if __WORDSIZE == 64\n\
3288 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3289 #define INTMAX_MAX 9223372036854775807L\n\
3290 #define UINTMAX_MAX 18446744073709551615UL\n\
3292 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3293 #define INTMAX_MAX 9223372036854775807LL\n\
3294 #define UINTMAX_MAX 18446744073709551615ULL\n\
3298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3300 * Description of Darwin_Stdint_6 fix
3302 tSCC zDarwin_Stdint_6Name[] =
3306 * File name selection pattern
3308 tSCC zDarwin_Stdint_6List[] =
3309 "stdint-darwin.h\0stdint.h\0";
3311 * Machine/OS name selection pattern
3313 tSCC* apzDarwin_Stdint_6Machs[] = {
3315 (const char*)NULL };
3318 * content selection pattern - do fix if pattern found
3320 tSCC zDarwin_Stdint_6Select0[] =
3321 "#if __WORDSIZE == 64\n\
3322 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3323 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3325 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3326 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3329 #define DARWIN_STDINT_6_TEST_CT 1
3330 static tTestDesc aDarwin_Stdint_6Tests[] = {
3331 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3334 * Fix Command Arguments for Darwin_Stdint_6
3336 static const char* apzDarwin_Stdint_6Patch[] = {
3338 "#if __WORDSIZE == 64\n\
3339 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3340 #define PTRDIFF_MAX 9223372036854775807L\n\
3342 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3343 #define PTRDIFF_MAX 2147483647\n\
3347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3349 * Description of Darwin_Stdint_7 fix
3351 tSCC zDarwin_Stdint_7Name[] =
3355 * File name selection pattern
3357 tSCC zDarwin_Stdint_7List[] =
3358 "stdint-darwin.h\0stdint.h\0";
3360 * Machine/OS name selection pattern
3362 tSCC* apzDarwin_Stdint_7Machs[] = {
3364 (const char*)NULL };
3367 * content selection pattern - do fix if pattern found
3369 tSCC zDarwin_Stdint_7Select0[] =
3370 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3371 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3373 #define DARWIN_STDINT_7_TEST_CT 1
3374 static tTestDesc aDarwin_Stdint_7Tests[] = {
3375 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3378 * Fix Command Arguments for Darwin_Stdint_7
3380 static const char* apzDarwin_Stdint_7Patch[] = {
3382 "#if __WORDSIZE == 64\n\
3383 #define INTMAX_C(v) (v ## L)\n\
3384 #define UINTMAX_C(v) (v ## UL)\n\
3386 #define INTMAX_C(v) (v ## LL)\n\
3387 #define UINTMAX_C(v) (v ## ULL)\n\
3391 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3393 * Description of Darwin_Ucred__Atomic fix
3395 tSCC zDarwin_Ucred__AtomicName[] =
3396 "darwin_ucred__Atomic";
3399 * File name selection pattern
3401 tSCC zDarwin_Ucred__AtomicList[] =
3404 * Machine/OS name selection pattern
3406 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3408 (const char*)NULL };
3411 * content selection pattern - do fix if pattern found
3413 tSCC zDarwin_Ucred__AtomicSelect0[] =
3416 #define DARWIN_UCRED__ATOMIC_TEST_CT 1
3417 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3418 { TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3421 * Fix Command Arguments for Darwin_Ucred__Atomic
3423 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3425 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3426 # define _Atomic volatile\n\
3428 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3435 * Description of Dec_Intern_Asm fix
3437 tSCC zDec_Intern_AsmName[] =
3441 * File name selection pattern
3443 tSCC zDec_Intern_AsmList[] =
3446 * Machine/OS name selection pattern
3448 #define apzDec_Intern_AsmMachs (const char**)NULL
3449 #define DEC_INTERN_ASM_TEST_CT 0
3450 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3453 * Fix Command Arguments for Dec_Intern_Asm
3455 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3456 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3458 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3464 * Description of Djgpp_Wchar_H fix
3466 tSCC zDjgpp_Wchar_HName[] =
3470 * File name selection pattern
3472 #define zDjgpp_Wchar_HList (char*)NULL
3474 * Machine/OS name selection pattern
3476 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3479 * content selection pattern - do fix if pattern found
3481 tSCC zDjgpp_Wchar_HSelect0[] =
3485 * content bypass pattern - skip fix if pattern found
3487 tSCC zDjgpp_Wchar_HBypass0[] =
3490 #define DJGPP_WCHAR_H_TEST_CT 2
3491 static tTestDesc aDjgpp_Wchar_HTests[] = {
3492 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3493 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3496 * Fix Command Arguments for Djgpp_Wchar_H
3498 static const char* apzDjgpp_Wchar_HPatch[] = {
3501 #include <sys/djtypes.h>",
3502 "#include <stddef.h>",
3505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3507 * Description of Ecd_Cursor fix
3509 tSCC zEcd_CursorName[] =
3513 * File name selection pattern
3515 tSCC zEcd_CursorList[] =
3516 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3518 * Machine/OS name selection pattern
3520 #define apzEcd_CursorMachs (const char**)NULL
3523 * content selection pattern - do fix if pattern found
3525 tSCC zEcd_CursorSelect0[] =
3528 #define ECD_CURSOR_TEST_CT 1
3529 static tTestDesc aEcd_CursorTests[] = {
3530 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3533 * Fix Command Arguments for Ecd_Cursor
3535 static const char* apzEcd_CursorPatch[] = {
3540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3542 * Description of Feraiseexcept_Nosse_Divbyzero fix
3544 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3545 "feraiseexcept_nosse_divbyzero";
3548 * File name selection pattern
3550 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3551 "bits/fenv.h\0*/bits/fenv.h\0";
3553 * Machine/OS name selection pattern
3555 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3556 "i[34567]86-*-linux*",
3559 (const char*)NULL };
3562 * content selection pattern - do fix if pattern found
3564 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3565 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3568 * content bypass pattern - skip fix if pattern found
3570 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3571 "\"fdivp .*; fwait\"";
3573 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3574 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3575 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3576 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3579 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3581 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3583 "# ifdef __SSE_MATH__\n\
3586 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3587 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3593 * Description of Feraiseexcept_Nosse_Invalid fix
3595 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3596 "feraiseexcept_nosse_invalid";
3599 * File name selection pattern
3601 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3602 "bits/fenv.h\0*/bits/fenv.h\0";
3604 * Machine/OS name selection pattern
3606 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3607 "i[34567]86-*-linux*",
3610 (const char*)NULL };
3613 * content selection pattern - do fix if pattern found
3615 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3616 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3619 * content bypass pattern - skip fix if pattern found
3621 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3622 "\"fdiv .*; fwait\"";
3624 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3625 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3626 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3627 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3630 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3632 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3634 "# ifdef __SSE_MATH__\n\
3637 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3638 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3642 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3644 * Description of Freebsd_Gcc3_Breakage fix
3646 tSCC zFreebsd_Gcc3_BreakageName[] =
3647 "freebsd_gcc3_breakage";
3650 * File name selection pattern
3652 tSCC zFreebsd_Gcc3_BreakageList[] =
3655 * Machine/OS name selection pattern
3657 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3659 (const char*)NULL };
3662 * content selection pattern - do fix if pattern found
3664 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3665 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3668 * content bypass pattern - skip fix if pattern found
3670 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3671 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3673 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3674 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3675 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3676 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3679 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3681 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3683 "%0 || __GNUC__ >= 3",
3686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3688 * Description of Freebsd_Gcc4_Breakage fix
3690 tSCC zFreebsd_Gcc4_BreakageName[] =
3691 "freebsd_gcc4_breakage";
3694 * File name selection pattern
3696 tSCC zFreebsd_Gcc4_BreakageList[] =
3699 * Machine/OS name selection pattern
3701 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3703 (const char*)NULL };
3706 * content selection pattern - do fix if pattern found
3708 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3709 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3711 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3712 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3713 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3716 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3718 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3720 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3725 * Description of Glibc_C99_Inline_1 fix
3727 tSCC zGlibc_C99_Inline_1Name[] =
3728 "glibc_c99_inline_1";
3731 * File name selection pattern
3733 tSCC zGlibc_C99_Inline_1List[] =
3734 "features.h\0*/features.h\0";
3736 * Machine/OS name selection pattern
3738 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3741 * content selection pattern - do fix if pattern found
3743 tSCC zGlibc_C99_Inline_1Select0[] =
3744 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3746 #define GLIBC_C99_INLINE_1_TEST_CT 1
3747 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3748 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3751 * Fix Command Arguments for Glibc_C99_Inline_1
3753 static const char* apzGlibc_C99_Inline_1Patch[] = {
3755 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3760 * Description of Glibc_C99_Inline_1a fix
3762 tSCC zGlibc_C99_Inline_1aName[] =
3763 "glibc_c99_inline_1a";
3766 * File name selection pattern
3768 tSCC zGlibc_C99_Inline_1aList[] =
3769 "features.h\0*/features.h\0";
3771 * Machine/OS name selection pattern
3773 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3776 * content selection pattern - do fix if pattern found
3778 tSCC zGlibc_C99_Inline_1aSelect0[] =
3779 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3780 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3782 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3783 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3784 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3787 * Fix Command Arguments for Glibc_C99_Inline_1a
3789 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3791 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3795 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3797 * Description of Glibc_C99_Inline_2 fix
3799 tSCC zGlibc_C99_Inline_2Name[] =
3800 "glibc_c99_inline_2";
3803 * File name selection pattern
3805 tSCC zGlibc_C99_Inline_2List[] =
3806 "sys/stat.h\0*/sys/stat.h\0";
3808 * Machine/OS name selection pattern
3810 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3813 * content selection pattern - do fix if pattern found
3815 tSCC zGlibc_C99_Inline_2Select0[] =
3816 "extern __inline__ int";
3818 #define GLIBC_C99_INLINE_2_TEST_CT 1
3819 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3820 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3823 * Fix Command Arguments for Glibc_C99_Inline_2
3825 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3826 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3829 __inline__ int \\1/",
3830 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3833 __inline__ int \\1/",
3834 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3837 __inline__ int \\1/",
3838 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3841 __inline__ int __REDIRECT\\1 (\\2/",
3842 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3845 __inline__ int __REDIRECT\\1 (\\2/",
3846 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3854 * Description of Glibc_C99_Inline_3 fix
3856 tSCC zGlibc_C99_Inline_3Name[] =
3857 "glibc_c99_inline_3";
3860 * File name selection pattern
3862 tSCC zGlibc_C99_Inline_3List[] =
3863 "bits/string2.h\0*/bits/string2.h\0";
3865 * Machine/OS name selection pattern
3867 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3870 * content selection pattern - do fix if pattern found
3872 tSCC zGlibc_C99_Inline_3Select0[] =
3876 * content bypass pattern - skip fix if pattern found
3878 tSCC zGlibc_C99_Inline_3Bypass0[] =
3879 "__extern_inline|__GNU_STDC_INLINE__";
3881 #define GLIBC_C99_INLINE_3_TEST_CT 2
3882 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3883 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3884 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3887 * Fix Command Arguments for Glibc_C99_Inline_3
3889 static const char* apzGlibc_C99_Inline_3Patch[] = {
3891 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3892 "^# ifdef __cplusplus$",
3895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3897 * Description of Glibc_C99_Inline_4 fix
3899 tSCC zGlibc_C99_Inline_4Name[] =
3900 "glibc_c99_inline_4";
3903 * File name selection pattern
3905 tSCC zGlibc_C99_Inline_4List[] =
3906 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3908 * Machine/OS name selection pattern
3910 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3913 * content selection pattern - do fix if pattern found
3915 tSCC zGlibc_C99_Inline_4Select0[] =
3916 "(^| )extern __inline";
3919 * content bypass pattern - skip fix if pattern found
3921 tSCC zGlibc_C99_Inline_4Bypass0[] =
3922 "__extern_inline|__gnu_inline__";
3924 #define GLIBC_C99_INLINE_4_TEST_CT 2
3925 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3926 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3927 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3930 * Fix Command Arguments for Glibc_C99_Inline_4
3932 static const char* apzGlibc_C99_Inline_4Patch[] = {
3934 "%0 __attribute__ ((__gnu_inline__))",
3937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3939 * Description of Glibc_Mutex_Init fix
3941 tSCC zGlibc_Mutex_InitName[] =
3945 * File name selection pattern
3947 tSCC zGlibc_Mutex_InitList[] =
3950 * Machine/OS name selection pattern
3952 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3955 * content selection pattern - do fix if pattern found
3957 tSCC zGlibc_Mutex_InitSelect0[] =
3958 "\\{ *\\{ *0, *\\} *\\}";
3960 #define GLIBC_MUTEX_INIT_TEST_CT 1
3961 static tTestDesc aGlibc_Mutex_InitTests[] = {
3962 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3965 * Fix Command Arguments for Glibc_Mutex_Init
3967 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3968 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3970 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3972 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3973 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3974 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3975 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3976 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3977 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3978 "-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\
3980 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3983 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3985 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3986 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3991 * Description of Glibc_Stdint fix
3993 tSCC zGlibc_StdintName[] =
3997 * File name selection pattern
3999 tSCC zGlibc_StdintList[] =
4002 * Machine/OS name selection pattern
4004 #define apzGlibc_StdintMachs (const char**)NULL
4007 * content selection pattern - do fix if pattern found
4009 tSCC zGlibc_StdintSelect0[] =
4012 #define GLIBC_STDINT_TEST_CT 1
4013 static tTestDesc aGlibc_StdintTests[] = {
4014 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
4017 * Fix Command Arguments for Glibc_Stdint
4019 static const char* apzGlibc_StdintPatch[] = {
4021 "# define UINT8_C(c)\tc\n\
4022 # define UINT16_C(c)\tc",
4023 "# define UINT8_C\\(c\\)\tc ## U\n\
4024 # define UINT16_C\\(c\\)\tc ## U",
4027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4029 * Description of Glibc_Strncpy fix
4031 tSCC zGlibc_StrncpyName[] =
4035 * File name selection pattern
4037 tSCC zGlibc_StrncpyList[] =
4038 "bits/string2.h\0*/bits/string2.h\0";
4040 * Machine/OS name selection pattern
4042 #define apzGlibc_StrncpyMachs (const char**)NULL
4045 * content bypass pattern - skip fix if pattern found
4047 tSCC zGlibc_StrncpyBypass0[] =
4048 "__builtin_strncpy";
4050 #define GLIBC_STRNCPY_TEST_CT 1
4051 static tTestDesc aGlibc_StrncpyTests[] = {
4052 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4055 * Fix Command Arguments for Glibc_Strncpy
4057 static const char* apzGlibc_StrncpyPatch[] = {
4059 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4060 "# define strncpy([^\n\
4066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4068 * Description of Glibc_Tgmath fix
4070 tSCC zGlibc_TgmathName[] =
4074 * File name selection pattern
4076 tSCC zGlibc_TgmathList[] =
4079 * Machine/OS name selection pattern
4081 #define apzGlibc_TgmathMachs (const char**)NULL
4084 * content selection pattern - do fix if pattern found
4086 tSCC zGlibc_TgmathSelect0[] =
4087 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4090 * content bypass pattern - skip fix if pattern found
4092 tSCC zGlibc_TgmathBypass0[] =
4093 "__floating_type\\(type\\) \\\\\n\
4094 .*__builtin_classify_type";
4096 #define GLIBC_TGMATH_TEST_CT 2
4097 static tTestDesc aGlibc_TgmathTests[] = {
4098 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
4099 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4102 * Fix Command Arguments for Glibc_Tgmath
4104 static const char* apzGlibc_TgmathPatch[] = {
4106 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4111 * Description of Gnu_Types fix
4113 tSCC zGnu_TypesName[] =
4117 * File name selection pattern
4119 tSCC zGnu_TypesList[] =
4120 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4122 * Machine/OS name selection pattern
4124 tSCC* apzGnu_TypesMachs[] = {
4125 "*-*-solaris2.1[0-9]*",
4126 (const char*)NULL };
4129 * content selection pattern - do fix if pattern found
4131 tSCC zGnu_TypesSelect0[] =
4132 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4135 * content bypass pattern - skip fix if pattern found
4137 tSCC zGnu_TypesBypass0[] =
4138 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4140 #define GNU_TYPES_TEST_CT 2
4141 static tTestDesc aGnu_TypesTests[] = {
4142 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
4143 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
4146 * Fix Command Arguments for Gnu_Types
4148 static const char* apzGnu_TypesPatch[] = {
4152 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4154 * Description of Hp_Inline fix
4156 tSCC zHp_InlineName[] =
4160 * File name selection pattern
4162 tSCC zHp_InlineList[] =
4163 "sys/spinlock.h\0machine/machparam.h\0";
4165 * Machine/OS name selection pattern
4167 #define apzHp_InlineMachs (const char**)NULL
4170 * content selection pattern - do fix if pattern found
4172 tSCC zHp_InlineSelect0[] =
4173 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4175 #define HP_INLINE_TEST_CT 1
4176 static tTestDesc aHp_InlineTests[] = {
4177 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4180 * Fix Command Arguments for Hp_Inline
4182 static const char* apzHp_InlinePatch[] = {
4185 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4190 * Description of Hp_Sysfile fix
4192 tSCC zHp_SysfileName[] =
4196 * File name selection pattern
4198 tSCC zHp_SysfileList[] =
4201 * Machine/OS name selection pattern
4203 #define apzHp_SysfileMachs (const char**)NULL
4206 * content selection pattern - do fix if pattern found
4208 tSCC zHp_SysfileSelect0[] =
4211 #define HP_SYSFILE_TEST_CT 1
4212 static tTestDesc aHp_SysfileTests[] = {
4213 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4216 * Fix Command Arguments for Hp_Sysfile
4218 static const char* apzHp_SysfilePatch[] = {
4220 "(struct file *, ...)",
4224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4226 * Description of Hppa_Hpux_Fp_Macros fix
4228 tSCC zHppa_Hpux_Fp_MacrosName[] =
4229 "hppa_hpux_fp_macros";
4232 * File name selection pattern
4234 tSCC zHppa_Hpux_Fp_MacrosList[] =
4237 * Machine/OS name selection pattern
4239 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4241 (const char*)NULL };
4244 * content selection pattern - do fix if pattern found
4246 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4247 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4248 #[ \t]*define[ \t]*FP_ZERO.*\n\
4249 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4250 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4251 #[ \t]*define[ \t]*FP_NAN.*\n";
4253 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4254 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4255 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4258 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4260 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4262 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4263 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4264 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4266 #ifdef _INCLUDE_HPUX_SOURCE\n",
4269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4271 * Description of Hpux10_Cpp_Pow_Inline fix
4273 tSCC zHpux10_Cpp_Pow_InlineName[] =
4274 "hpux10_cpp_pow_inline";
4277 * File name selection pattern
4279 tSCC zHpux10_Cpp_Pow_InlineList[] =
4280 "fixinc-test-limits.h\0math.h\0";
4282 * Machine/OS name selection pattern
4284 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4287 * content selection pattern - do fix if pattern found
4289 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4290 "^# +ifdef +__cplusplus\n\
4292 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4293 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4295 +extern +\"C\" +\\{\n\
4299 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4300 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4301 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4304 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4306 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4313 * Description of Hpux11_Cpp_Pow_Inline fix
4315 tSCC zHpux11_Cpp_Pow_InlineName[] =
4316 "hpux11_cpp_pow_inline";
4319 * File name selection pattern
4321 tSCC zHpux11_Cpp_Pow_InlineList[] =
4324 * Machine/OS name selection pattern
4326 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4329 * content selection pattern - do fix if pattern found
4331 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4332 " +inline double pow\\(double d,int expon\\) \\{\n\
4333 +return pow\\(d, \\(double\\)expon\\);\n\
4336 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4337 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4338 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4341 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4343 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4350 * Description of Hpux10_Ctype_Declarations1 fix
4352 tSCC zHpux10_Ctype_Declarations1Name[] =
4353 "hpux10_ctype_declarations1";
4356 * File name selection pattern
4358 tSCC zHpux10_Ctype_Declarations1List[] =
4361 * Machine/OS name selection pattern
4363 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4366 * content selection pattern - do fix if pattern found
4368 tSCC zHpux10_Ctype_Declarations1Select0[] =
4369 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4372 * content bypass pattern - skip fix if pattern found
4374 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4375 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4377 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4378 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4379 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4380 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4383 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4385 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4387 "#ifdef _PROTOTYPES\n\
4388 extern int __tolower(int);\n\
4389 extern int __toupper(int);\n\
4390 #else /* NOT _PROTOTYPES */\n\
4391 extern int __tolower();\n\
4392 extern int __toupper();\n\
4393 #endif /* _PROTOTYPES */\n\n\
4397 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4399 * Description of Hpux10_Ctype_Declarations2 fix
4401 tSCC zHpux10_Ctype_Declarations2Name[] =
4402 "hpux10_ctype_declarations2";
4405 * File name selection pattern
4407 tSCC zHpux10_Ctype_Declarations2List[] =
4410 * Machine/OS name selection pattern
4412 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4415 * content selection pattern - do fix if pattern found
4417 tSCC zHpux10_Ctype_Declarations2Select0[] =
4418 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4421 * content bypass pattern - skip fix if pattern found
4423 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4424 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4426 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4427 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4428 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4429 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4432 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4434 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4437 #ifdef _PROTOTYPES\n\
4438 extern int _isalnum(int);\n\
4439 extern int _isalpha(int);\n\
4440 extern int _iscntrl(int);\n\
4441 extern int _isdigit(int);\n\
4442 extern int _isgraph(int);\n\
4443 extern int _islower(int);\n\
4444 extern int _isprint(int);\n\
4445 extern int _ispunct(int);\n\
4446 extern int _isspace(int);\n\
4447 extern int _isupper(int);\n\
4448 extern int _isxdigit(int);\n\
4449 # else /* not _PROTOTYPES */\n\
4450 extern int _isalnum();\n\
4451 extern int _isalpha();\n\
4452 extern int _iscntrl();\n\
4453 extern int _isdigit();\n\
4454 extern int _isgraph();\n\
4455 extern int _islower();\n\
4456 extern int _isprint();\n\
4457 extern int _ispunct();\n\
4458 extern int _isspace();\n\
4459 extern int _isupper();\n\
4460 extern int _isxdigit();\n\
4461 #endif /* _PROTOTYPES */\n",
4464 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4466 * Description of Hpux10_Stdio_Declarations fix
4468 tSCC zHpux10_Stdio_DeclarationsName[] =
4469 "hpux10_stdio_declarations";
4472 * File name selection pattern
4474 tSCC zHpux10_Stdio_DeclarationsList[] =
4477 * Machine/OS name selection pattern
4479 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4482 * content selection pattern - do fix if pattern found
4484 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4485 "^#[ \t]*define _iob[ \t]*__iob";
4488 * content bypass pattern - skip fix if pattern found
4490 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4491 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4493 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4494 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4495 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4496 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4499 * Fix Command Arguments for Hpux10_Stdio_Declarations
4501 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4504 # if defined(__STDC__) || defined(__cplusplus)\n\
4505 extern int snprintf(char *, size_t, const char *, ...);\n\
4506 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4507 # else /* not __STDC__) || __cplusplus */\n\
4508 extern int snprintf();\n\
4509 extern int vsnprintf();\n\
4510 # endif /* __STDC__) || __cplusplus */\n",
4513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4515 * Description of Hppa_Hpux11_Alloca fix
4517 tSCC zHppa_Hpux11_AllocaName[] =
4518 "hppa_hpux11_alloca";
4521 * File name selection pattern
4523 tSCC zHppa_Hpux11_AllocaList[] =
4526 * Machine/OS name selection pattern
4528 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4530 (const char*)NULL };
4533 * content selection pattern - do fix if pattern found
4535 tSCC zHppa_Hpux11_AllocaSelect0[] =
4536 "#ifndef _STDDEF_INCLUDED";
4538 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4539 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4540 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4543 * Fix Command Arguments for Hppa_Hpux11_Alloca
4545 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4547 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4548 # include <sys/stdsyms.h>\n\
4549 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4555 * Description of Hpux11_Abs fix
4557 tSCC zHpux11_AbsName[] =
4561 * File name selection pattern
4563 tSCC zHpux11_AbsList[] =
4566 * Machine/OS name selection pattern
4568 tSCC* apzHpux11_AbsMachs[] = {
4570 (const char*)NULL };
4573 * content selection pattern - do fix if pattern found
4575 tSCC zHpux11_AbsSelect0[] =
4576 "ifndef _MATH_INCLUDED";
4578 #define HPUX11_ABS_TEST_CT 1
4579 static tTestDesc aHpux11_AbsTests[] = {
4580 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4583 * Fix Command Arguments for Hpux11_Abs
4585 static const char* apzHpux11_AbsPatch[] = {
4587 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4592 * Description of Hpux11_Lwp_Rwlock_Valid fix
4594 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4595 "hpux11_lwp_rwlock_valid";
4598 * File name selection pattern
4600 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4603 * Machine/OS name selection pattern
4605 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4607 (const char*)NULL };
4610 * content selection pattern - do fix if pattern found
4612 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4613 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4615 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4616 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4617 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4620 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4622 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4624 "#define __LWP_RWLOCK_VALID -29551",
4627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4629 * Description of Hpux11_Extern_Sendfile fix
4631 tSCC zHpux11_Extern_SendfileName[] =
4632 "hpux11_extern_sendfile";
4635 * File name selection pattern
4637 tSCC zHpux11_Extern_SendfileList[] =
4640 * Machine/OS name selection pattern
4642 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4643 "*-hp-hpux11.[12]*",
4644 (const char*)NULL };
4647 * content selection pattern - do fix if pattern found
4649 tSCC zHpux11_Extern_SendfileSelect0[] =
4650 "^[ \t]*extern sbsize_t sendfile.*\n\
4653 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4654 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4655 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4658 * Fix Command Arguments for Hpux11_Extern_Sendfile
4660 static const char* apzHpux11_Extern_SendfilePatch[] = {
4662 "#ifndef _APP32_64BIT_OFF_T\n\
4666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4668 * Description of Hpux11_Extern_Sendpath fix
4670 tSCC zHpux11_Extern_SendpathName[] =
4671 "hpux11_extern_sendpath";
4674 * File name selection pattern
4676 tSCC zHpux11_Extern_SendpathList[] =
4679 * Machine/OS name selection pattern
4681 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4682 "*-hp-hpux11.[12]*",
4683 (const char*)NULL };
4686 * content selection pattern - do fix if pattern found
4688 tSCC zHpux11_Extern_SendpathSelect0[] =
4689 "^[ \t]*extern sbsize_t sendpath.*\n\
4692 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4693 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4694 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4697 * Fix Command Arguments for Hpux11_Extern_Sendpath
4699 static const char* apzHpux11_Extern_SendpathPatch[] = {
4701 "#ifndef _APP32_64BIT_OFF_T\n\
4705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4707 * Description of Hpux11_Fabsf fix
4709 tSCC zHpux11_FabsfName[] =
4713 * File name selection pattern
4715 tSCC zHpux11_FabsfList[] =
4718 * Machine/OS name selection pattern
4720 tSCC* apzHpux11_FabsfMachs[] = {
4722 (const char*)NULL };
4725 * content selection pattern - do fix if pattern found
4727 tSCC zHpux11_FabsfSelect0[] =
4728 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4730 #define HPUX11_FABSF_TEST_CT 1
4731 static tTestDesc aHpux11_FabsfTests[] = {
4732 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4735 * Fix Command Arguments for Hpux11_Fabsf
4737 static const char* apzHpux11_FabsfPatch[] = {
4739 "#ifndef __cplusplus\n\
4744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4746 * Description of Hpux11_Pthread_Pointer fix
4748 tSCC zHpux11_Pthread_PointerName[] =
4749 "hpux11_pthread_pointer";
4752 * File name selection pattern
4754 tSCC zHpux11_Pthread_PointerList[] =
4757 * Machine/OS name selection pattern
4759 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4760 "*-hp-hpux11.[0-3]*",
4761 (const char*)NULL };
4764 * content selection pattern - do fix if pattern found
4766 tSCC zHpux11_Pthread_PointerSelect0[] =
4767 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4769 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4770 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4771 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4774 * Fix Command Arguments for Hpux11_Pthread_Pointer
4776 static const char* apzHpux11_Pthread_PointerPatch[] = {
4781 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4783 * Description of Hpux11_Pthread_Const fix
4785 tSCC zHpux11_Pthread_ConstName[] =
4786 "hpux11_pthread_const";
4789 * File name selection pattern
4791 tSCC zHpux11_Pthread_ConstList[] =
4794 * Machine/OS name selection pattern
4796 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4797 "*-hp-hpux11.[0-3]*",
4798 (const char*)NULL };
4801 * content selection pattern - do fix if pattern found
4803 tSCC zHpux11_Pthread_ConstSelect0[] =
4804 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4806 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4807 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4808 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4811 * Fix Command Arguments for Hpux11_Pthread_Const
4813 static const char* apzHpux11_Pthread_ConstPatch[] = {
4818 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4820 * Description of Hpux11_Size_T fix
4822 tSCC zHpux11_Size_TName[] =
4826 * File name selection pattern
4828 #define zHpux11_Size_TList (char*)NULL
4830 * Machine/OS name selection pattern
4832 tSCC* apzHpux11_Size_TMachs[] = {
4834 (const char*)NULL };
4837 * content selection pattern - do fix if pattern found
4839 tSCC zHpux11_Size_TSelect0[] =
4842 #define HPUX11_SIZE_T_TEST_CT 1
4843 static tTestDesc aHpux11_Size_TTests[] = {
4844 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4847 * Fix Command Arguments for Hpux11_Size_T
4849 static const char* apzHpux11_Size_TPatch[] = {
4854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4856 * Description of Hpux11_Snprintf fix
4858 tSCC zHpux11_SnprintfName[] =
4862 * File name selection pattern
4864 tSCC zHpux11_SnprintfList[] =
4867 * Machine/OS name selection pattern
4869 #define apzHpux11_SnprintfMachs (const char**)NULL
4872 * content selection pattern - do fix if pattern found
4874 tSCC zHpux11_SnprintfSelect0[] =
4875 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4877 #define HPUX11_SNPRINTF_TEST_CT 1
4878 static tTestDesc aHpux11_SnprintfTests[] = {
4879 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4882 * Fix Command Arguments for Hpux11_Snprintf
4884 static const char* apzHpux11_SnprintfPatch[] = {
4889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4891 * Description of Hpux11_Vsnprintf fix
4893 tSCC zHpux11_VsnprintfName[] =
4897 * File name selection pattern
4899 tSCC zHpux11_VsnprintfList[] =
4902 * Machine/OS name selection pattern
4904 #define apzHpux11_VsnprintfMachs (const char**)NULL
4907 * content selection pattern - do fix if pattern found
4909 tSCC zHpux11_VsnprintfSelect0[] =
4910 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4912 #define HPUX11_VSNPRINTF_TEST_CT 1
4913 static tTestDesc aHpux11_VsnprintfTests[] = {
4914 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4917 * Fix Command Arguments for Hpux11_Vsnprintf
4919 static const char* apzHpux11_VsnprintfPatch[] = {
4924 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4926 * Description of Hpux_Vsscanf fix
4928 tSCC zHpux_VsscanfName[] =
4932 * File name selection pattern
4934 tSCC zHpux_VsscanfList[] =
4937 * Machine/OS name selection pattern
4939 tSCC* apzHpux_VsscanfMachs[] = {
4941 (const char*)NULL };
4944 * content selection pattern - do fix if pattern found
4946 tSCC zHpux_VsscanfSelect0[] =
4947 "(extern int vsscanf\\()char";
4949 #define HPUX_VSSCANF_TEST_CT 1
4950 static tTestDesc aHpux_VsscanfTests[] = {
4951 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4954 * Fix Command Arguments for Hpux_Vsscanf
4956 static const char* apzHpux_VsscanfPatch[] = {
4961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4963 * Description of Hpux8_Bogus_Inlines fix
4965 tSCC zHpux8_Bogus_InlinesName[] =
4966 "hpux8_bogus_inlines";
4969 * File name selection pattern
4971 tSCC zHpux8_Bogus_InlinesList[] =
4974 * Machine/OS name selection pattern
4976 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4979 * content selection pattern - do fix if pattern found
4981 tSCC zHpux8_Bogus_InlinesSelect0[] =
4985 * content bypass pattern - skip fix if pattern found
4987 tSCC zHpux8_Bogus_InlinesBypass0[] =
4990 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4991 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4992 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4993 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4996 * Fix Command Arguments for Hpux8_Bogus_Inlines
4998 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4999 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5000 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5001 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5002 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5007 * Description of Hpux_C99_Intptr fix
5009 tSCC zHpux_C99_IntptrName[] =
5013 * File name selection pattern
5015 tSCC zHpux_C99_IntptrList[] =
5016 "stdint-hpux11.h\0stdint.h\0";
5018 * Machine/OS name selection pattern
5020 tSCC* apzHpux_C99_IntptrMachs[] = {
5022 (const char*)NULL };
5023 #define HPUX_C99_INTPTR_TEST_CT 0
5024 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
5027 * Fix Command Arguments for Hpux_C99_Intptr
5029 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5030 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5031 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5032 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5033 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5034 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5035 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5040 * Description of Hpux_C99_Inttypes fix
5042 tSCC zHpux_C99_InttypesName[] =
5043 "hpux_c99_inttypes";
5046 * File name selection pattern
5048 tSCC zHpux_C99_InttypesList[] =
5049 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5051 * Machine/OS name selection pattern
5053 tSCC* apzHpux_C99_InttypesMachs[] = {
5054 "*-hp-hpux11.[23]*",
5055 (const char*)NULL };
5056 #define HPUX_C99_INTTYPES_TEST_CT 0
5057 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
5060 * Fix Command Arguments for Hpux_C99_Inttypes
5062 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5063 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5064 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5065 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5066 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5071 * Description of Hpux_C99_Inttypes2 fix
5073 tSCC zHpux_C99_Inttypes2Name[] =
5074 "hpux_c99_inttypes2";
5077 * File name selection pattern
5079 tSCC zHpux_C99_Inttypes2List[] =
5080 "stdint-hpux11.h\0stdint.h\0";
5082 * Machine/OS name selection pattern
5084 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5086 (const char*)NULL };
5087 #define HPUX_C99_INTTYPES2_TEST_CT 0
5088 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5091 * Fix Command Arguments for Hpux_C99_Inttypes2
5093 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5094 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5095 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5096 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5097 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5102 * Description of Hpux_Ctype_Macros fix
5104 tSCC zHpux_Ctype_MacrosName[] =
5105 "hpux_ctype_macros";
5108 * File name selection pattern
5110 tSCC zHpux_Ctype_MacrosList[] =
5113 * Machine/OS name selection pattern
5115 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5118 * content selection pattern - do fix if pattern found
5120 tSCC zHpux_Ctype_MacrosSelect0[] =
5121 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5123 #define HPUX_CTYPE_MACROS_TEST_CT 1
5124 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5125 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5128 * Fix Command Arguments for Hpux_Ctype_Macros
5130 static const char* apzHpux_Ctype_MacrosPatch[] = {
5135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5137 * Description of Hpux_Extern_Errno fix
5139 tSCC zHpux_Extern_ErrnoName[] =
5140 "hpux_extern_errno";
5143 * File name selection pattern
5145 tSCC zHpux_Extern_ErrnoList[] =
5148 * Machine/OS name selection pattern
5150 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5152 "*-hp-hpux11.[0-2]*",
5153 (const char*)NULL };
5156 * content selection pattern - do fix if pattern found
5158 tSCC zHpux_Extern_ErrnoSelect0[] =
5159 "^[ \t]*extern int errno;$";
5161 #define HPUX_EXTERN_ERRNO_TEST_CT 1
5162 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5163 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5166 * Fix Command Arguments for Hpux_Extern_Errno
5168 static const char* apzHpux_Extern_ErrnoPatch[] = {
5170 "#ifdef __cplusplus\n\
5174 #ifdef __cplusplus\n\
5179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5181 * Description of Hpux_Htonl fix
5183 tSCC zHpux_HtonlName[] =
5187 * File name selection pattern
5189 tSCC zHpux_HtonlList[] =
5192 * Machine/OS name selection pattern
5194 #define apzHpux_HtonlMachs (const char**)NULL
5197 * content selection pattern - do fix if pattern found
5199 tSCC zHpux_HtonlSelect0[] =
5200 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5202 \\* Macros for number representation conversion\\.\n\
5206 #define HPUX_HTONL_TEST_CT 1
5207 static tTestDesc aHpux_HtonlTests[] = {
5208 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5211 * Fix Command Arguments for Hpux_Htonl
5213 static const char* apzHpux_HtonlPatch[] = {
5219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5221 * Description of Hpux_Imaginary_I fix
5223 tSCC zHpux_Imaginary_IName[] =
5227 * File name selection pattern
5229 tSCC zHpux_Imaginary_IList[] =
5232 * Machine/OS name selection pattern
5234 tSCC* apzHpux_Imaginary_IMachs[] = {
5236 (const char*)NULL };
5239 * content selection pattern - do fix if pattern found
5241 tSCC zHpux_Imaginary_ISelect0[] =
5242 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5244 #define HPUX_IMAGINARY_I_TEST_CT 1
5245 static tTestDesc aHpux_Imaginary_ITests[] = {
5246 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5249 * Fix Command Arguments for Hpux_Imaginary_I
5251 static const char* apzHpux_Imaginary_IPatch[] = {
5253 "#define _Complex_I (__extension__ 1.0iF)",
5256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5258 * Description of Hpux_Inttype_Int8_T fix
5260 tSCC zHpux_Inttype_Int8_TName[] =
5261 "hpux_inttype_int8_t";
5264 * File name selection pattern
5266 tSCC zHpux_Inttype_Int8_TList[] =
5267 "sys/_inttypes.h\0";
5269 * Machine/OS name selection pattern
5271 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5273 (const char*)NULL };
5276 * content selection pattern - do fix if pattern found
5278 tSCC zHpux_Inttype_Int8_TSelect0[] =
5279 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5281 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5282 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5283 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5286 * Fix Command Arguments for Hpux_Inttype_Int8_T
5288 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5290 "typedef signed char int%18_t;",
5293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5295 * Description of Hpux_Long_Double fix
5297 tSCC zHpux_Long_DoubleName[] =
5301 * File name selection pattern
5303 tSCC zHpux_Long_DoubleList[] =
5306 * Machine/OS name selection pattern
5308 tSCC* apzHpux_Long_DoubleMachs[] = {
5310 "*-*-hpux11.[012]*",
5311 (const char*)NULL };
5314 * content selection pattern - do fix if pattern found
5316 tSCC zHpux_Long_DoubleSelect0[] =
5317 "extern[ \t]long_double[ \t]strtold";
5320 * content bypass pattern - skip fix if pattern found
5322 tSCC zHpux_Long_DoubleBypass0[] =
5325 #define HPUX_LONG_DOUBLE_TEST_CT 2
5326 static tTestDesc aHpux_Long_DoubleTests[] = {
5327 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5328 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5331 * Fix Command Arguments for Hpux_Long_Double
5333 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5334 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5335 "-e", "s/long_double/long double/g",
5338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5340 * Description of Hpux_Long_Double_2 fix
5342 tSCC zHpux_Long_Double_2Name[] =
5343 "hpux_long_double_2";
5346 * File name selection pattern
5348 tSCC zHpux_Long_Double_2List[] =
5351 * Machine/OS name selection pattern
5353 tSCC* apzHpux_Long_Double_2Machs[] = {
5354 "hppa*-*-hpux11.3*",
5355 (const char*)NULL };
5358 * content selection pattern - do fix if pattern found
5360 tSCC zHpux_Long_Double_2Select0[] =
5361 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5363 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5364 static tTestDesc aHpux_Long_Double_2Tests[] = {
5365 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5368 * Fix Command Arguments for Hpux_Long_Double_2
5370 static const char* apzHpux_Long_Double_2Patch[] = {
5372 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5375 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5377 * Description of Hpux_Pthread_Initializers fix
5379 tSCC zHpux_Pthread_InitializersName[] =
5380 "hpux_pthread_initializers";
5383 * File name selection pattern
5385 tSCC zHpux_Pthread_InitializersList[] =
5388 * Machine/OS name selection pattern
5390 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5391 "*-hp-hpux11.[0-3]*",
5392 (const char*)NULL };
5393 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5394 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5397 * Fix Command Arguments for Hpux_Pthread_Initializers
5399 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5400 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5401 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5402 "-e", "/^[ \t]*0$/d",
5403 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5404 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5405 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5406 "-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\\\\@",
5407 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5408 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5409 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5410 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5411 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5412 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5417 * Description of Hpux_Spu_Info fix
5419 tSCC zHpux_Spu_InfoName[] =
5423 * File name selection pattern
5425 tSCC zHpux_Spu_InfoList[] =
5426 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5428 * Machine/OS name selection pattern
5430 tSCC* apzHpux_Spu_InfoMachs[] = {
5432 (const char*)NULL };
5435 * content selection pattern - do fix if pattern found
5437 tSCC zHpux_Spu_InfoSelect0[] =
5438 "^.*extern.*spu_info.*";
5440 #define HPUX_SPU_INFO_TEST_CT 1
5441 static tTestDesc aHpux_Spu_InfoTests[] = {
5442 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5445 * Fix Command Arguments for Hpux_Spu_Info
5447 static const char* apzHpux_Spu_InfoPatch[] = {
5454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5456 * Description of Hpux_Stdint_Least_Fast fix
5458 tSCC zHpux_Stdint_Least_FastName[] =
5459 "hpux_stdint_least_fast";
5462 * File name selection pattern
5464 tSCC zHpux_Stdint_Least_FastList[] =
5465 "stdint-hpux11.h\0stdint.h\0";
5467 * Machine/OS name selection pattern
5469 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5471 (const char*)NULL };
5474 * content selection pattern - do fix if pattern found
5476 tSCC zHpux_Stdint_Least_FastSelect0[] =
5477 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5479 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5480 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5481 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5484 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5486 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5488 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5493 * Description of Hpux_Longjmp fix
5495 tSCC zHpux_LongjmpName[] =
5499 * File name selection pattern
5501 tSCC zHpux_LongjmpList[] =
5504 * Machine/OS name selection pattern
5506 tSCC* apzHpux_LongjmpMachs[] = {
5508 (const char*)NULL };
5511 * content selection pattern - do fix if pattern found
5513 tSCC zHpux_LongjmpSelect0[] =
5514 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5516 #define HPUX_LONGJMP_TEST_CT 1
5517 static tTestDesc aHpux_LongjmpTests[] = {
5518 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5521 * Fix Command Arguments for Hpux_Longjmp
5523 static const char* apzHpux_LongjmpPatch[] = {
5525 "%0 __attribute__ ((__noreturn__))",
5528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5530 * Description of Hpux_Systime fix
5532 tSCC zHpux_SystimeName[] =
5536 * File name selection pattern
5538 tSCC zHpux_SystimeList[] =
5541 * Machine/OS name selection pattern
5543 #define apzHpux_SystimeMachs (const char**)NULL
5546 * content selection pattern - do fix if pattern found
5548 tSCC zHpux_SystimeSelect0[] =
5549 "^extern struct sigevent;";
5551 #define HPUX_SYSTIME_TEST_CT 1
5552 static tTestDesc aHpux_SystimeTests[] = {
5553 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5556 * Fix Command Arguments for Hpux_Systime
5558 static const char* apzHpux_SystimePatch[] = {
5563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5565 * Description of Huge_Val_Hex fix
5567 tSCC zHuge_Val_HexName[] =
5571 * File name selection pattern
5573 tSCC zHuge_Val_HexList[] =
5574 "bits/huge_val.h\0*/bits/huge_val.h\0";
5576 * Machine/OS name selection pattern
5578 #define apzHuge_Val_HexMachs (const char**)NULL
5581 * content selection pattern - do fix if pattern found
5583 tSCC zHuge_Val_HexSelect0[] =
5584 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5587 * content bypass pattern - skip fix if pattern found
5589 tSCC zHuge_Val_HexBypass0[] =
5590 "__builtin_huge_val";
5592 #define HUGE_VAL_HEX_TEST_CT 2
5593 static tTestDesc aHuge_Val_HexTests[] = {
5594 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5595 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5598 * Fix Command Arguments for Huge_Val_Hex
5600 static const char* apzHuge_Val_HexPatch[] = {
5602 "#define HUGE_VAL (__builtin_huge_val())\n",
5605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5607 * Description of Huge_Valf_Hex fix
5609 tSCC zHuge_Valf_HexName[] =
5613 * File name selection pattern
5615 tSCC zHuge_Valf_HexList[] =
5616 "bits/huge_val.h\0*/bits/huge_val.h\0";
5618 * Machine/OS name selection pattern
5620 #define apzHuge_Valf_HexMachs (const char**)NULL
5623 * content selection pattern - do fix if pattern found
5625 tSCC zHuge_Valf_HexSelect0[] =
5626 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5629 * content bypass pattern - skip fix if pattern found
5631 tSCC zHuge_Valf_HexBypass0[] =
5632 "__builtin_huge_valf";
5634 #define HUGE_VALF_HEX_TEST_CT 2
5635 static tTestDesc aHuge_Valf_HexTests[] = {
5636 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5637 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5640 * Fix Command Arguments for Huge_Valf_Hex
5642 static const char* apzHuge_Valf_HexPatch[] = {
5644 "#define HUGE_VALF (__builtin_huge_valf())\n",
5647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5649 * Description of Huge_Vall_Hex fix
5651 tSCC zHuge_Vall_HexName[] =
5655 * File name selection pattern
5657 tSCC zHuge_Vall_HexList[] =
5658 "bits/huge_val.h\0*/bits/huge_val.h\0";
5660 * Machine/OS name selection pattern
5662 #define apzHuge_Vall_HexMachs (const char**)NULL
5665 * content selection pattern - do fix if pattern found
5667 tSCC zHuge_Vall_HexSelect0[] =
5668 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5671 * content bypass pattern - skip fix if pattern found
5673 tSCC zHuge_Vall_HexBypass0[] =
5674 "__builtin_huge_vall";
5676 #define HUGE_VALL_HEX_TEST_CT 2
5677 static tTestDesc aHuge_Vall_HexTests[] = {
5678 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5679 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5682 * Fix Command Arguments for Huge_Vall_Hex
5684 static const char* apzHuge_Vall_HexPatch[] = {
5686 "#define HUGE_VALL (__builtin_huge_vall())\n",
5689 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5691 * Description of Int_Abort_Free_And_Exit fix
5693 tSCC zInt_Abort_Free_And_ExitName[] =
5694 "int_abort_free_and_exit";
5697 * File name selection pattern
5699 tSCC zInt_Abort_Free_And_ExitList[] =
5702 * Machine/OS name selection pattern
5704 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5707 * content selection pattern - do fix if pattern found
5709 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5710 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5713 * content bypass pattern - skip fix if pattern found
5715 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5716 "_CLASSIC_ANSI_TYPES";
5718 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5719 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5720 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5721 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5724 * Fix Command Arguments for Int_Abort_Free_And_Exit
5726 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5733 * Description of Io_Quotes_Def fix
5735 tSCC zIo_Quotes_DefName[] =
5739 * File name selection pattern
5741 #define zIo_Quotes_DefList (char*)NULL
5743 * Machine/OS name selection pattern
5745 #define apzIo_Quotes_DefMachs (const char**)NULL
5748 * content selection pattern - do fix if pattern found
5750 tSCC zIo_Quotes_DefSelect0[] =
5751 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5753 #define IO_QUOTES_DEF_TEST_CT 1
5754 static tTestDesc aIo_Quotes_DefTests[] = {
5755 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5758 * Fix Command Arguments for Io_Quotes_Def
5760 static const char* apzIo_Quotes_DefPatch[] = {
5765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5767 * Description of Io_Quotes_Use fix
5769 tSCC zIo_Quotes_UseName[] =
5773 * File name selection pattern
5775 #define zIo_Quotes_UseList (char*)NULL
5777 * Machine/OS name selection pattern
5779 #define apzIo_Quotes_UseMachs (const char**)NULL
5782 * content selection pattern - do fix if pattern found
5784 tSCC zIo_Quotes_UseSelect0[] =
5785 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5787 #define IO_QUOTES_USE_TEST_CT 1
5788 static tTestDesc aIo_Quotes_UseTests[] = {
5789 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5792 * Fix Command Arguments for Io_Quotes_Use
5794 static const char* apzIo_Quotes_UsePatch[] = {
5799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5801 * Description of Ip_Missing_Semi fix
5803 tSCC zIp_Missing_SemiName[] =
5807 * File name selection pattern
5809 tSCC zIp_Missing_SemiList[] =
5812 * Machine/OS name selection pattern
5814 #define apzIp_Missing_SemiMachs (const char**)NULL
5817 * content selection pattern - do fix if pattern found
5819 tSCC zIp_Missing_SemiSelect0[] =
5822 #define IP_MISSING_SEMI_TEST_CT 1
5823 static tTestDesc aIp_Missing_SemiTests[] = {
5824 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5827 * Fix Command Arguments for Ip_Missing_Semi
5829 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5830 "-e", "/^struct/,/^};/s/}$/};/",
5833 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5835 * Description of Irix_Limits_Const fix
5837 tSCC zIrix_Limits_ConstName[] =
5838 "irix_limits_const";
5841 * File name selection pattern
5843 tSCC zIrix_Limits_ConstList[] =
5844 "fixinc-test-limits.h\0limits.h\0";
5846 * Machine/OS name selection pattern
5848 #define apzIrix_Limits_ConstMachs (const char**)NULL
5851 * content selection pattern - do fix if pattern found
5853 tSCC zIrix_Limits_ConstSelect0[] =
5856 #define IRIX_LIMITS_CONST_TEST_CT 1
5857 static tTestDesc aIrix_Limits_ConstTests[] = {
5858 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5861 * Fix Command Arguments for Irix_Limits_Const
5863 static const char* apzIrix_Limits_ConstPatch[] = {
5868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5870 * Description of Irix_Stdio_Va_List fix
5872 tSCC zIrix_Stdio_Va_ListName[] =
5873 "irix_stdio_va_list";
5876 * File name selection pattern
5878 tSCC zIrix_Stdio_Va_ListList[] =
5881 * Machine/OS name selection pattern
5883 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5886 * content selection pattern - do fix if pattern found
5888 tSCC zIrix_Stdio_Va_ListSelect0[] =
5889 "/\\* va_list \\*/ char \\*";
5891 #define IRIX_STDIO_VA_LIST_TEST_CT 1
5892 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5893 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5896 * Fix Command Arguments for Irix_Stdio_Va_List
5898 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5903 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5905 * Description of Kandr_Concat fix
5907 tSCC zKandr_ConcatName[] =
5911 * File name selection pattern
5913 tSCC zKandr_ConcatList[] =
5914 "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";
5916 * Machine/OS name selection pattern
5918 #define apzKandr_ConcatMachs (const char**)NULL
5921 * content selection pattern - do fix if pattern found
5923 tSCC zKandr_ConcatSelect0[] =
5926 #define KANDR_CONCAT_TEST_CT 1
5927 static tTestDesc aKandr_ConcatTests[] = {
5928 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5931 * Fix Command Arguments for Kandr_Concat
5933 static const char* apzKandr_ConcatPatch[] = {
5938 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5940 * Description of Linux_Ia64_Ucontext fix
5942 tSCC zLinux_Ia64_UcontextName[] =
5943 "linux_ia64_ucontext";
5946 * File name selection pattern
5948 tSCC zLinux_Ia64_UcontextList[] =
5951 * Machine/OS name selection pattern
5953 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5955 (const char*)NULL };
5958 * content selection pattern - do fix if pattern found
5960 tSCC zLinux_Ia64_UcontextSelect0[] =
5961 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5963 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5964 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5965 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5968 * Fix Command Arguments for Linux_Ia64_Ucontext
5970 static const char* apzLinux_Ia64_UcontextPatch[] = {
5972 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5977 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5979 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5980 "lynxos_no_warning_in_sys_time_h";
5983 * File name selection pattern
5985 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5988 * Machine/OS name selection pattern
5990 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5993 * content selection pattern - do fix if pattern found
5995 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5996 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5998 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5999 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6000 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6003 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6005 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6012 * Description of Lynxos_Missing_Putenv fix
6014 tSCC zLynxos_Missing_PutenvName[] =
6015 "lynxos_missing_putenv";
6018 * File name selection pattern
6020 tSCC zLynxos_Missing_PutenvList[] =
6023 * Machine/OS name selection pattern
6025 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6027 (const char*)NULL };
6030 * content selection pattern - do fix if pattern found
6032 tSCC zLynxos_Missing_PutenvSelect0[] =
6033 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6036 * content bypass pattern - skip fix if pattern found
6038 tSCC zLynxos_Missing_PutenvBypass0[] =
6041 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
6042 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6043 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6044 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6047 * Fix Command Arguments for Lynxos_Missing_Putenv
6049 static const char* apzLynxos_Missing_PutenvPatch[] = {
6052 extern int putenv\t\t\t\t_AP((char *));",
6053 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6058 * Description of Machine_Ansi_H_Va_List fix
6060 tSCC zMachine_Ansi_H_Va_ListName[] =
6061 "machine_ansi_h_va_list";
6064 * File name selection pattern
6066 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6068 * Machine/OS name selection pattern
6070 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6073 * content selection pattern - do fix if pattern found
6075 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6076 "define[ \t]+_BSD_VA_LIST_[ \t]";
6079 * content bypass pattern - skip fix if pattern found
6081 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6082 "__builtin_va_list";
6084 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6085 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6086 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6087 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6090 * Fix Command Arguments for Machine_Ansi_H_Va_List
6092 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6094 "%1__builtin_va_list",
6095 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6100 * Description of Machine_Name fix
6102 tSCC zMachine_NameName[] =
6106 * File name selection pattern
6108 #define zMachine_NameList (char*)NULL
6110 * Machine/OS name selection pattern
6112 #define apzMachine_NameMachs (const char**)NULL
6115 * perform the C function call test
6117 tSCC zMachine_NameFTst0[] = "machine_name";
6119 #define MACHINE_NAME_TEST_CT 1
6120 static tTestDesc aMachine_NameTests[] = {
6121 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
6124 * Fix Command Arguments for Machine_Name
6126 static const char* apzMachine_NamePatch[] = {
6130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6132 * Description of Math_Exception fix
6134 tSCC zMath_ExceptionName[] =
6138 * File name selection pattern
6140 tSCC zMath_ExceptionList[] =
6143 * Machine/OS name selection pattern
6145 tSCC* apzMath_ExceptionMachs[] = {
6146 "*-*-solaris2.1[0-9]*",
6147 (const char*)NULL };
6150 * content selection pattern - do fix if pattern found
6152 tSCC zMath_ExceptionSelect0[] =
6156 * content bypass pattern - skip fix if pattern found
6158 tSCC zMath_ExceptionBypass0[] =
6159 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6161 #define MATH_EXCEPTION_TEST_CT 2
6162 static tTestDesc aMath_ExceptionTests[] = {
6163 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
6164 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
6167 * Fix Command Arguments for Math_Exception
6169 static const char* apzMath_ExceptionPatch[] = {
6171 "#ifdef __cplusplus\n\
6172 #define exception __math_exception\n\
6174 "#ifdef __cplusplus\n\
6179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6181 * Description of Math_Huge_Val_From_Dbl_Max fix
6183 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6184 "math_huge_val_from_dbl_max";
6187 * File name selection pattern
6189 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6192 * Machine/OS name selection pattern
6194 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6197 * content selection pattern - do fix if pattern found
6199 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6200 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6203 * content bypass pattern - skip fix if pattern found
6205 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6206 "define[ \t]+DBL_MAX";
6208 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6209 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6210 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6211 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6214 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6216 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6217 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6218 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6219 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6224 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6226 * Description of Nested_Auth_Des fix
6228 tSCC zNested_Auth_DesName[] =
6232 * File name selection pattern
6234 tSCC zNested_Auth_DesList[] =
6237 * Machine/OS name selection pattern
6239 #define apzNested_Auth_DesMachs (const char**)NULL
6242 * content selection pattern - do fix if pattern found
6244 tSCC zNested_Auth_DesSelect0[] =
6245 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6247 #define NESTED_AUTH_DES_TEST_CT 1
6248 static tTestDesc aNested_Auth_DesTests[] = {
6249 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6252 * Fix Command Arguments for Nested_Auth_Des
6254 static const char* apzNested_Auth_DesPatch[] = {
6259 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6261 * Description of Netbsd_C99_Inline_1 fix
6263 tSCC zNetbsd_C99_Inline_1Name[] =
6264 "netbsd_c99_inline_1";
6267 * File name selection pattern
6269 tSCC zNetbsd_C99_Inline_1List[] =
6272 * Machine/OS name selection pattern
6274 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6276 (const char*)NULL };
6279 * content selection pattern - do fix if pattern found
6281 tSCC zNetbsd_C99_Inline_1Select0[] =
6282 "extern __inline int";
6284 #define NETBSD_C99_INLINE_1_TEST_CT 1
6285 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6286 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6289 * Fix Command Arguments for Netbsd_C99_Inline_1
6291 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6294 #ifdef __GNUC_STDC_INLINE__\n\
6295 __attribute__((__gnu_inline__))\n\
6300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6302 * Description of Netbsd_C99_Inline_2 fix
6304 tSCC zNetbsd_C99_Inline_2Name[] =
6305 "netbsd_c99_inline_2";
6308 * File name selection pattern
6310 tSCC zNetbsd_C99_Inline_2List[] =
6313 * Machine/OS name selection pattern
6315 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6317 (const char*)NULL };
6320 * content selection pattern - do fix if pattern found
6322 tSCC zNetbsd_C99_Inline_2Select0[] =
6323 "#define _SIGINLINE extern __inline";
6325 #define NETBSD_C99_INLINE_2_TEST_CT 1
6326 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6327 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6330 * Fix Command Arguments for Netbsd_C99_Inline_2
6332 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6334 "#ifdef __GNUC_STDC_INLINE__\n\
6335 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6343 * Description of Netbsd_Extra_Semicolon fix
6345 tSCC zNetbsd_Extra_SemicolonName[] =
6346 "netbsd_extra_semicolon";
6349 * File name selection pattern
6351 tSCC zNetbsd_Extra_SemicolonList[] =
6354 * Machine/OS name selection pattern
6356 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6358 (const char*)NULL };
6361 * content selection pattern - do fix if pattern found
6363 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6364 "#define[ \t]*__END_DECLS[ \t]*};";
6366 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6367 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6368 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6371 * Fix Command Arguments for Netbsd_Extra_Semicolon
6373 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6375 "#define __END_DECLS }",
6378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6380 * Description of Newlib_Stdint_1 fix
6382 tSCC zNewlib_Stdint_1Name[] =
6386 * File name selection pattern
6388 tSCC zNewlib_Stdint_1List[] =
6389 "stdint-newlib.h\0stdint.h\0";
6391 * Machine/OS name selection pattern
6393 #define apzNewlib_Stdint_1Machs (const char**)NULL
6396 * content selection pattern - do fix if pattern found
6398 tSCC zNewlib_Stdint_1Select0[] =
6399 "@todo - Add support for wint_t types";
6401 #define NEWLIB_STDINT_1_TEST_CT 1
6402 static tTestDesc aNewlib_Stdint_1Tests[] = {
6403 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6406 * Fix Command Arguments for Newlib_Stdint_1
6408 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6409 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6410 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6411 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6412 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6413 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6414 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6415 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6416 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6417 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6418 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6419 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6420 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6421 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6422 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6427 * Description of Newlib_Stdint_2 fix
6429 tSCC zNewlib_Stdint_2Name[] =
6433 * File name selection pattern
6435 tSCC zNewlib_Stdint_2List[] =
6436 "stdint-newlib.h\0stdint.h\0";
6438 * Machine/OS name selection pattern
6440 #define apzNewlib_Stdint_2Machs (const char**)NULL
6443 * content selection pattern - do fix if pattern found
6445 tSCC zNewlib_Stdint_2Select0[] =
6446 "@todo - Add support for wint_t types";
6448 #define NEWLIB_STDINT_2_TEST_CT 1
6449 static tTestDesc aNewlib_Stdint_2Tests[] = {
6450 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6453 * Fix Command Arguments for Newlib_Stdint_2
6455 static const char* apzNewlib_Stdint_2Patch[] = {
6457 "#define INTMAX_MAX __INTMAX_MAX__\n\
6458 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6459 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6460 #define WCHAR_MAX __WCHAR_MAX__\n\
6461 #define WCHAR_MIN __WCHAR_MIN__\n\
6462 #define WINT_MAX __WINT_MAX__\n\
6463 #define WINT_MIN __WINT_MIN__\n\n\
6465 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6470 * Description of Next_Math_Prefix fix
6472 tSCC zNext_Math_PrefixName[] =
6476 * File name selection pattern
6478 tSCC zNext_Math_PrefixList[] =
6481 * Machine/OS name selection pattern
6483 #define apzNext_Math_PrefixMachs (const char**)NULL
6486 * content selection pattern - do fix if pattern found
6488 tSCC zNext_Math_PrefixSelect0[] =
6489 "^extern[ \t]+double[ \t]+__const__[ \t]";
6491 #define NEXT_MATH_PREFIX_TEST_CT 1
6492 static tTestDesc aNext_Math_PrefixTests[] = {
6493 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6496 * Fix Command Arguments for Next_Math_Prefix
6498 static const char* apzNext_Math_PrefixPatch[] = {
6500 "extern double %1(",
6501 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6506 * Description of Next_Template fix
6508 tSCC zNext_TemplateName[] =
6512 * File name selection pattern
6514 tSCC zNext_TemplateList[] =
6517 * Machine/OS name selection pattern
6519 #define apzNext_TemplateMachs (const char**)NULL
6522 * content selection pattern - do fix if pattern found
6524 tSCC zNext_TemplateSelect0[] =
6527 #define NEXT_TEMPLATE_TEST_CT 1
6528 static tTestDesc aNext_TemplateTests[] = {
6529 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6532 * Fix Command Arguments for Next_Template
6534 static const char* apzNext_TemplatePatch[] = {
6537 "\\(([^)]*)[ \t]template\\)",
6540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6542 * Description of Next_Volitile fix
6544 tSCC zNext_VolitileName[] =
6548 * File name selection pattern
6550 tSCC zNext_VolitileList[] =
6553 * Machine/OS name selection pattern
6555 #define apzNext_VolitileMachs (const char**)NULL
6558 * content selection pattern - do fix if pattern found
6560 tSCC zNext_VolitileSelect0[] =
6561 "^extern[ \t]+volatile[ \t]+void[ \t]";
6563 #define NEXT_VOLITILE_TEST_CT 1
6564 static tTestDesc aNext_VolitileTests[] = {
6565 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6568 * Fix Command Arguments for Next_Volitile
6570 static const char* apzNext_VolitilePatch[] = {
6573 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6578 * Description of Next_Wait_Union fix
6580 tSCC zNext_Wait_UnionName[] =
6584 * File name selection pattern
6586 tSCC zNext_Wait_UnionList[] =
6589 * Machine/OS name selection pattern
6591 #define apzNext_Wait_UnionMachs (const char**)NULL
6594 * content selection pattern - do fix if pattern found
6596 tSCC zNext_Wait_UnionSelect0[] =
6597 "wait\\(union wait";
6599 #define NEXT_WAIT_UNION_TEST_CT 1
6600 static tTestDesc aNext_Wait_UnionTests[] = {
6601 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6604 * Fix Command Arguments for Next_Wait_Union
6606 static const char* apzNext_Wait_UnionPatch[] = {
6611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6613 * Description of Nodeent_Syntax fix
6615 tSCC zNodeent_SyntaxName[] =
6619 * File name selection pattern
6621 tSCC zNodeent_SyntaxList[] =
6622 "netdnet/dnetdb.h\0";
6624 * Machine/OS name selection pattern
6626 #define apzNodeent_SyntaxMachs (const char**)NULL
6629 * content selection pattern - do fix if pattern found
6631 tSCC zNodeent_SyntaxSelect0[] =
6632 "char[ \t]*\\*na_addr[ \t]*$";
6634 #define NODEENT_SYNTAX_TEST_CT 1
6635 static tTestDesc aNodeent_SyntaxTests[] = {
6636 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6639 * Fix Command Arguments for Nodeent_Syntax
6641 static const char* apzNodeent_SyntaxPatch[] = {
6646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6648 * Description of Openbsd_Null_Definition fix
6650 tSCC zOpenbsd_Null_DefinitionName[] =
6651 "openbsd_null_definition";
6654 * File name selection pattern
6656 tSCC zOpenbsd_Null_DefinitionList[] =
6657 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6659 * Machine/OS name selection pattern
6661 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6663 (const char*)NULL };
6666 * content selection pattern - do fix if pattern found
6668 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6671 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6672 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6673 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6676 * Fix Command Arguments for Openbsd_Null_Definition
6678 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6681 #ifdef __cplusplus\n\
6683 #define NULL\t__null\n\
6684 #else\t /* ! __GNUG__ */\n\
6686 #endif\t /* __GNUG__ */\n\
6687 #else\t /* ! __cplusplus */\n\
6688 #define NULL\t((void *)0)\n\
6689 #endif\t /* __cplusplus */\n\
6690 #endif\t /* !NULL */",
6691 "^#ifndef[ \t]*NULL\n\
6692 ^#ifdef[ \t]*__GNUG__\n\
6693 ^#define[ \t]*NULL[ \t]*__null\n\
6695 ^#define[ \t]*NULL[ \t]*0L\n\
6700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6702 * Description of Obstack_Lvalue_Cast fix
6704 tSCC zObstack_Lvalue_CastName[] =
6705 "obstack_lvalue_cast";
6708 * File name selection pattern
6710 tSCC zObstack_Lvalue_CastList[] =
6713 * Machine/OS name selection pattern
6715 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6718 * content selection pattern - do fix if pattern found
6720 tSCC zObstack_Lvalue_CastSelect0[] =
6721 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6723 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6724 static tTestDesc aObstack_Lvalue_CastTests[] = {
6725 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6728 * Fix Command Arguments for Obstack_Lvalue_Cast
6730 static const char* apzObstack_Lvalue_CastPatch[] = {
6732 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6737 * Description of Openbsd_Va_Start fix
6739 tSCC zOpenbsd_Va_StartName[] =
6743 * File name selection pattern
6745 tSCC zOpenbsd_Va_StartList[] =
6748 * Machine/OS name selection pattern
6750 tSCC* apzOpenbsd_Va_StartMachs[] = {
6752 (const char*)NULL };
6755 * content selection pattern - do fix if pattern found
6757 tSCC zOpenbsd_Va_StartSelect0[] =
6758 "__builtin_stdarg_start";
6760 #define OPENBSD_VA_START_TEST_CT 1
6761 static tTestDesc aOpenbsd_Va_StartTests[] = {
6762 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6765 * Fix Command Arguments for Openbsd_Va_Start
6767 static const char* apzOpenbsd_Va_StartPatch[] = {
6769 "__builtin_va_start",
6772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6774 * Description of Osf_Namespace_A fix
6776 tSCC zOsf_Namespace_AName[] =
6780 * File name selection pattern
6782 tSCC zOsf_Namespace_AList[] =
6783 "reg_types.h\0sys/lc_core.h\0";
6785 * Machine/OS name selection pattern
6787 #define apzOsf_Namespace_AMachs (const char**)NULL
6790 * perform the 'test' shell command - do fix on success
6792 tSCC zOsf_Namespace_ATest0[] =
6794 tSCC zOsf_Namespace_ATest1[] =
6795 " -r sys/lc_core.h";
6796 tSCC zOsf_Namespace_ATest2[] =
6797 " -n \"`grep '} regex_t;' reg_types.h`\"";
6798 tSCC zOsf_Namespace_ATest3[] =
6799 " -z \"`grep __regex_t regex.h`\"";
6801 #define OSF_NAMESPACE_A_TEST_CT 4
6802 static tTestDesc aOsf_Namespace_ATests[] = {
6803 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6804 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6805 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6806 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6809 * Fix Command Arguments for Osf_Namespace_A
6811 static const char* apzOsf_Namespace_APatch[] = {
6814 "reg(ex|off|match)_t",
6817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6819 * Description of Osf_Namespace_C fix
6821 tSCC zOsf_Namespace_CName[] =
6825 * File name selection pattern
6827 tSCC zOsf_Namespace_CList[] =
6830 * Machine/OS name selection pattern
6832 #define apzOsf_Namespace_CMachs (const char**)NULL
6835 * content selection pattern - do fix if pattern found
6837 tSCC zOsf_Namespace_CSelect0[] =
6838 "#include <reg_types.h>.*";
6841 * perform the 'test' shell command - do fix on success
6843 tSCC zOsf_Namespace_CTest0[] =
6845 tSCC zOsf_Namespace_CTest1[] =
6846 " -r sys/lc_core.h";
6847 tSCC zOsf_Namespace_CTest2[] =
6848 " -n \"`grep '} regex_t;' reg_types.h`\"";
6849 tSCC zOsf_Namespace_CTest3[] =
6850 " -z \"`grep __regex_t regex.h`\"";
6852 #define OSF_NAMESPACE_C_TEST_CT 5
6853 static tTestDesc aOsf_Namespace_CTests[] = {
6854 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6855 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6856 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6857 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6858 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6861 * Fix Command Arguments for Osf_Namespace_C
6863 static const char* apzOsf_Namespace_CPatch[] = {
6866 typedef __regex_t\tregex_t;\n\
6867 typedef __regoff_t\tregoff_t;\n\
6868 typedef __regmatch_t\tregmatch_t;",
6871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6873 * Description of Pthread_Incomplete_Struct_Argument fix
6875 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6876 "pthread_incomplete_struct_argument";
6879 * File name selection pattern
6881 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6884 * Machine/OS name selection pattern
6886 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6889 * content selection pattern - do fix if pattern found
6891 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6892 "struct __jmp_buf_tag";
6894 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
6895 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6896 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6899 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6901 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6904 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6909 * Description of Read_Ret_Type fix
6911 tSCC zRead_Ret_TypeName[] =
6915 * File name selection pattern
6917 tSCC zRead_Ret_TypeList[] =
6920 * Machine/OS name selection pattern
6922 #define apzRead_Ret_TypeMachs (const char**)NULL
6925 * content selection pattern - do fix if pattern found
6927 tSCC zRead_Ret_TypeSelect0[] =
6928 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6930 #define READ_RET_TYPE_TEST_CT 1
6931 static tTestDesc aRead_Ret_TypeTests[] = {
6932 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6935 * Fix Command Arguments for Read_Ret_Type
6937 static const char* apzRead_Ret_TypePatch[] = {
6939 "extern unsigned int fread(), fwrite();\n\
6941 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6946 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6948 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6949 "rpc_xdr_lvalue_cast_a";
6952 * File name selection pattern
6954 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6957 * Machine/OS name selection pattern
6959 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6962 * content selection pattern - do fix if pattern found
6964 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6965 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6968 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6969 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6970 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6973 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6975 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6977 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6982 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6984 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6985 "rpc_xdr_lvalue_cast_b";
6988 * File name selection pattern
6990 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6993 * Machine/OS name selection pattern
6995 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6998 * content selection pattern - do fix if pattern found
7000 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7001 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7004 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7005 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7006 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7009 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7011 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7013 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7018 * Description of Rs6000_Double fix
7020 tSCC zRs6000_DoubleName[] =
7024 * File name selection pattern
7026 tSCC zRs6000_DoubleList[] =
7029 * Machine/OS name selection pattern
7031 #define apzRs6000_DoubleMachs (const char**)NULL
7034 * content selection pattern - do fix if pattern found
7036 tSCC zRs6000_DoubleSelect0[] =
7037 "[^a-zA-Z_]class\\(";
7039 #define RS6000_DOUBLE_TEST_CT 1
7040 static tTestDesc aRs6000_DoubleTests[] = {
7041 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7044 * Fix Command Arguments for Rs6000_Double
7046 static const char* apzRs6000_DoublePatch[] = {
7048 "#ifndef __cplusplus\n\
7051 "^.*[^a-zA-Z_]class\\(.*",
7054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7056 * Description of Rs6000_Fchmod fix
7058 tSCC zRs6000_FchmodName[] =
7062 * File name selection pattern
7064 tSCC zRs6000_FchmodList[] =
7067 * Machine/OS name selection pattern
7069 #define apzRs6000_FchmodMachs (const char**)NULL
7072 * content selection pattern - do fix if pattern found
7074 tSCC zRs6000_FchmodSelect0[] =
7075 "fchmod\\(char \\*";
7077 #define RS6000_FCHMOD_TEST_CT 1
7078 static tTestDesc aRs6000_FchmodTests[] = {
7079 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7082 * Fix Command Arguments for Rs6000_Fchmod
7084 static const char* apzRs6000_FchmodPatch[] = {
7089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7091 * Description of Rs6000_Param fix
7093 tSCC zRs6000_ParamName[] =
7097 * File name selection pattern
7099 tSCC zRs6000_ParamList[] =
7100 "stdio.h\0unistd.h\0";
7102 * Machine/OS name selection pattern
7104 #define apzRs6000_ParamMachs (const char**)NULL
7107 * content selection pattern - do fix if pattern found
7109 tSCC zRs6000_ParamSelect0[] =
7110 "rename\\(const char \\*old, const char \\*new\\)";
7112 #define RS6000_PARAM_TEST_CT 1
7113 static tTestDesc aRs6000_ParamTests[] = {
7114 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
7117 * Fix Command Arguments for Rs6000_Param
7119 static const char* apzRs6000_ParamPatch[] = {
7121 "rename(const char *_old, const char *_new)",
7124 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7126 * Description of Solaris___Restrict fix
7128 tSCC zSolaris___RestrictName[] =
7129 "solaris___restrict";
7132 * File name selection pattern
7134 tSCC zSolaris___RestrictList[] =
7135 "sys/feature_tests.h\0";
7137 * Machine/OS name selection pattern
7139 tSCC* apzSolaris___RestrictMachs[] = {
7141 (const char*)NULL };
7144 * content selection pattern - do fix if pattern found
7146 tSCC zSolaris___RestrictSelect0[] =
7147 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7149 #define SOLARIS___RESTRICT_TEST_CT 1
7150 static tTestDesc aSolaris___RestrictTests[] = {
7151 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7154 * Fix Command Arguments for Solaris___Restrict
7156 static const char* apzSolaris___RestrictPatch[] = {
7158 "#ifdef __cplusplus\n\
7159 #define\t_RESTRICT_KYWD\t__restrict\n\
7165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7167 * Description of Solaris_Complex fix
7169 tSCC zSolaris_ComplexName[] =
7173 * File name selection pattern
7175 tSCC zSolaris_ComplexList[] =
7178 * Machine/OS name selection pattern
7180 tSCC* apzSolaris_ComplexMachs[] = {
7182 (const char*)NULL };
7185 * content selection pattern - do fix if pattern found
7187 tSCC zSolaris_ComplexSelect0[] =
7188 "#define[ \t]_Complex_I[ \t]_Complex_I";
7190 #define SOLARIS_COMPLEX_TEST_CT 1
7191 static tTestDesc aSolaris_ComplexTests[] = {
7192 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7195 * Fix Command Arguments for Solaris_Complex
7197 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7198 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7199 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7200 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7201 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7206 * Description of Solaris_Complex_Cxx fix
7208 tSCC zSolaris_Complex_CxxName[] =
7209 "solaris_complex_cxx";
7212 * File name selection pattern
7214 tSCC zSolaris_Complex_CxxList[] =
7217 * Machine/OS name selection pattern
7219 tSCC* apzSolaris_Complex_CxxMachs[] = {
7221 (const char*)NULL };
7222 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7223 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7226 * Fix Command Arguments for Solaris_Complex_Cxx
7228 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7229 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7230 #ifdef\t__cplusplus\\\n\
7233 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7234 #ifdef\t__cplusplus\\\n\
7239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7241 * Description of Solaris_Cxx_Linkage fix
7243 tSCC zSolaris_Cxx_LinkageName[] =
7244 "solaris_cxx_linkage";
7247 * File name selection pattern
7249 tSCC zSolaris_Cxx_LinkageList[] =
7250 "iso/stdlib_iso.h\0";
7252 * Machine/OS name selection pattern
7254 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7256 (const char*)NULL };
7259 * content selection pattern - do fix if pattern found
7261 tSCC zSolaris_Cxx_LinkageSelect0[] =
7262 "(#if __cplusplus >= 199711L)\n\
7263 (extern \"C\\+\\+\" \\{\n\
7264 )(.*(bsearch|qsort).*)";
7266 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7267 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7268 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7271 * Fix Command Arguments for Solaris_Cxx_Linkage
7273 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7281 * Description of Solaris_Getc_Strict_Stdc fix
7283 tSCC zSolaris_Getc_Strict_StdcName[] =
7284 "solaris_getc_strict_stdc";
7287 * File name selection pattern
7289 tSCC zSolaris_Getc_Strict_StdcList[] =
7290 "iso/stdio_iso.h\0";
7292 * Machine/OS name selection pattern
7294 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7296 (const char*)NULL };
7299 * content selection pattern - do fix if pattern found
7301 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7302 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7304 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7305 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7306 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7309 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7311 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7313 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7318 * Description of Solaris_Gets_C11 fix
7320 tSCC zSolaris_Gets_C11Name[] =
7324 * File name selection pattern
7326 tSCC zSolaris_Gets_C11List[] =
7327 "iso/stdio_iso.h\0";
7329 * Machine/OS name selection pattern
7331 tSCC* apzSolaris_Gets_C11Machs[] = {
7333 (const char*)NULL };
7336 * content selection pattern - do fix if pattern found
7338 tSCC zSolaris_Gets_C11Select0[] =
7339 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7341 #define SOLARIS_GETS_C11_TEST_CT 1
7342 static tTestDesc aSolaris_Gets_C11Tests[] = {
7343 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7346 * Fix Command Arguments for Solaris_Gets_C11
7348 static const char* apzSolaris_Gets_C11Patch[] = {
7350 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7351 %1 __attribute__((__deprecated__));\n\
7355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7357 * Description of Solaris_Gets_Cxx14 fix
7359 tSCC zSolaris_Gets_Cxx14Name[] =
7360 "solaris_gets_cxx14";
7363 * File name selection pattern
7365 tSCC zSolaris_Gets_Cxx14List[] =
7366 "iso/stdio_iso.h\0";
7368 * Machine/OS name selection pattern
7370 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7372 (const char*)NULL };
7375 * content selection pattern - do fix if pattern found
7377 tSCC zSolaris_Gets_Cxx14Select0[] =
7378 "(#if __STDC_VERSION__ < 201112L)\n\
7379 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7381 #define SOLARIS_GETS_CXX14_TEST_CT 1
7382 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7383 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7386 * Fix Command Arguments for Solaris_Gets_Cxx14
7388 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7390 "%1 && __cplusplus < 201402L\n\
7394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7396 * Description of Solaris_Int_Const fix
7398 tSCC zSolaris_Int_ConstName[] =
7399 "solaris_int_const";
7402 * File name selection pattern
7404 tSCC zSolaris_Int_ConstList[] =
7405 "sys/int_const.h\0";
7407 * Machine/OS name selection pattern
7409 tSCC* apzSolaris_Int_ConstMachs[] = {
7411 (const char*)NULL };
7414 * content selection pattern - do fix if pattern found
7416 tSCC zSolaris_Int_ConstSelect0[] =
7417 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7419 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7421 #define SOLARIS_INT_CONST_TEST_CT 1
7422 static tTestDesc aSolaris_Int_ConstTests[] = {
7423 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7426 * Fix Command Arguments for Solaris_Int_Const
7428 static const char* apzSolaris_Int_ConstPatch[] = {
7430 "#define\tUINT8_C(c)\t(c)\n\
7432 #define\tUINT16_C(c)\t(c)",
7435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7437 * Description of Solaris_Int_Limits_1 fix
7439 tSCC zSolaris_Int_Limits_1Name[] =
7440 "solaris_int_limits_1";
7443 * File name selection pattern
7445 tSCC zSolaris_Int_Limits_1List[] =
7446 "sys/int_limits.h\0";
7448 * Machine/OS name selection pattern
7450 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7452 (const char*)NULL };
7455 * content selection pattern - do fix if pattern found
7457 tSCC zSolaris_Int_Limits_1Select0[] =
7458 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7459 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7461 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7462 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7463 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7466 * Fix Command Arguments for Solaris_Int_Limits_1
7468 static const char* apzSolaris_Int_Limits_1Patch[] = {
7470 "#define\tUINT8_MAX\t(255)\n\
7471 #define\tUINT16_MAX\t(65535)",
7474 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7476 * Description of Solaris_Int_Limits_2 fix
7478 tSCC zSolaris_Int_Limits_2Name[] =
7479 "solaris_int_limits_2";
7482 * File name selection pattern
7484 tSCC zSolaris_Int_Limits_2List[] =
7485 "sys/int_limits.h\0";
7487 * Machine/OS name selection pattern
7489 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7491 (const char*)NULL };
7494 * content selection pattern - do fix if pattern found
7496 tSCC zSolaris_Int_Limits_2Select0[] =
7497 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7499 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7500 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7501 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7504 * Fix Command Arguments for Solaris_Int_Limits_2
7506 static const char* apzSolaris_Int_Limits_2Patch[] = {
7508 "#define\t%1_FAST16_%2 %132_%2",
7511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7513 * Description of Solaris_Int_Limits_3 fix
7515 tSCC zSolaris_Int_Limits_3Name[] =
7516 "solaris_int_limits_3";
7519 * File name selection pattern
7521 tSCC zSolaris_Int_Limits_3List[] =
7522 "sys/int_limits.h\0";
7524 * Machine/OS name selection pattern
7526 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7528 (const char*)NULL };
7531 * content selection pattern - do fix if pattern found
7533 tSCC zSolaris_Int_Limits_3Select0[] =
7534 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7536 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7537 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7538 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7541 * Fix Command Arguments for Solaris_Int_Limits_3
7543 static const char* apzSolaris_Int_Limits_3Patch[] = {
7545 "#define\tSIZE_MAX\t4294967295U",
7548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7550 * Description of Solaris_Math_1 fix
7552 tSCC zSolaris_Math_1Name[] =
7556 * File name selection pattern
7558 tSCC zSolaris_Math_1List[] =
7561 * Machine/OS name selection pattern
7563 #define apzSolaris_Math_1Machs (const char**)NULL
7566 * content selection pattern - do fix if pattern found
7568 tSCC zSolaris_Math_1Select0[] =
7569 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7572 * content bypass pattern - skip fix if pattern found
7574 tSCC zSolaris_Math_1Bypass0[] =
7577 #define SOLARIS_MATH_1_TEST_CT 2
7578 static tTestDesc aSolaris_Math_1Tests[] = {
7579 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7580 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7583 * Fix Command Arguments for Solaris_Math_1
7585 static const char* apzSolaris_Math_1Patch[] = {
7587 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7588 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7593 * Description of Solaris_Math_10 fix
7595 tSCC zSolaris_Math_10Name[] =
7599 * File name selection pattern
7601 tSCC zSolaris_Math_10List[] =
7604 * Machine/OS name selection pattern
7606 #define apzSolaris_Math_10Machs (const char**)NULL
7609 * content selection pattern - do fix if pattern found
7611 tSCC zSolaris_Math_10Select0[] =
7612 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7614 #define SOLARIS_MATH_10_TEST_CT 1
7615 static tTestDesc aSolaris_Math_10Tests[] = {
7616 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7619 * Fix Command Arguments for Solaris_Math_10
7621 static const char* apzSolaris_Math_10Patch[] = {
7623 "#define\tisinf(x) __builtin_isinf(x)",
7624 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7625 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7626 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7627 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7630 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7632 * Description of Solaris_Math_2 fix
7634 tSCC zSolaris_Math_2Name[] =
7638 * File name selection pattern
7640 tSCC zSolaris_Math_2List[] =
7643 * Machine/OS name selection pattern
7645 #define apzSolaris_Math_2Machs (const char**)NULL
7648 * content selection pattern - do fix if pattern found
7650 tSCC zSolaris_Math_2Select0[] =
7651 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7654 * content bypass pattern - skip fix if pattern found
7656 tSCC zSolaris_Math_2Bypass0[] =
7659 #define SOLARIS_MATH_2_TEST_CT 2
7660 static tTestDesc aSolaris_Math_2Tests[] = {
7661 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7662 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7665 * Fix Command Arguments for Solaris_Math_2
7667 static const char* apzSolaris_Math_2Patch[] = {
7669 "#define\tINFINITY\t(__builtin_inff())",
7670 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7675 * Description of Solaris_Math_3 fix
7677 tSCC zSolaris_Math_3Name[] =
7681 * File name selection pattern
7683 tSCC zSolaris_Math_3List[] =
7686 * Machine/OS name selection pattern
7688 #define apzSolaris_Math_3Machs (const char**)NULL
7691 * content selection pattern - do fix if pattern found
7693 tSCC zSolaris_Math_3Select0[] =
7694 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7697 * content bypass pattern - skip fix if pattern found
7699 tSCC zSolaris_Math_3Bypass0[] =
7702 #define SOLARIS_MATH_3_TEST_CT 2
7703 static tTestDesc aSolaris_Math_3Tests[] = {
7704 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7705 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7708 * Fix Command Arguments for Solaris_Math_3
7710 static const char* apzSolaris_Math_3Patch[] = {
7712 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7713 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7718 * Description of Solaris_Math_4 fix
7720 tSCC zSolaris_Math_4Name[] =
7724 * File name selection pattern
7726 tSCC zSolaris_Math_4List[] =
7729 * Machine/OS name selection pattern
7731 #define apzSolaris_Math_4Machs (const char**)NULL
7734 * content selection pattern - do fix if pattern found
7736 tSCC zSolaris_Math_4Select0[] =
7737 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7740 * content bypass pattern - skip fix if pattern found
7742 tSCC zSolaris_Math_4Bypass0[] =
7745 #define SOLARIS_MATH_4_TEST_CT 2
7746 static tTestDesc aSolaris_Math_4Tests[] = {
7747 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7748 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7751 * Fix Command Arguments for Solaris_Math_4
7753 static const char* apzSolaris_Math_4Patch[] = {
7755 "#define\tfpclassify(x) \\\n\
7756 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7757 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7762 * Description of Solaris_Math_8 fix
7764 tSCC zSolaris_Math_8Name[] =
7768 * File name selection pattern
7770 tSCC zSolaris_Math_8List[] =
7773 * Machine/OS name selection pattern
7775 #define apzSolaris_Math_8Machs (const char**)NULL
7778 * content selection pattern - do fix if pattern found
7780 tSCC zSolaris_Math_8Select0[] =
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_8Bypass0[] =
7789 #define SOLARIS_MATH_8_TEST_CT 2
7790 static tTestDesc aSolaris_Math_8Tests[] = {
7791 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7792 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7795 * Fix Command Arguments for Solaris_Math_8
7797 static const char* apzSolaris_Math_8Patch[] = {
7799 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7800 \t\t\t ? __builtin_signbitf(x) \\\n\
7801 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7802 \t\t\t ? __builtin_signbitl(x) \\\n\
7803 \t\t\t : __builtin_signbit(x))",
7804 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7809 * Description of Solaris_Math_9 fix
7811 tSCC zSolaris_Math_9Name[] =
7815 * File name selection pattern
7817 tSCC zSolaris_Math_9List[] =
7820 * Machine/OS name selection pattern
7822 #define apzSolaris_Math_9Machs (const char**)NULL
7825 * content selection pattern - do fix if pattern found
7827 tSCC zSolaris_Math_9Select0[] =
7828 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7831 * content bypass pattern - skip fix if pattern found
7833 tSCC zSolaris_Math_9Bypass0[] =
7836 #define SOLARIS_MATH_9_TEST_CT 2
7837 static tTestDesc aSolaris_Math_9Tests[] = {
7838 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7839 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7842 * Fix Command Arguments for Solaris_Math_9
7844 static const char* apzSolaris_Math_9Patch[] = {
7846 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7847 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7852 * Description of Solaris_Math_11 fix
7854 tSCC zSolaris_Math_11Name[] =
7858 * File name selection pattern
7860 tSCC zSolaris_Math_11List[] =
7863 * Machine/OS name selection pattern
7865 #define apzSolaris_Math_11Machs (const char**)NULL
7868 * content selection pattern - do fix if pattern found
7870 tSCC zSolaris_Math_11Select0[] =
7871 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7873 #define SOLARIS_MATH_11_TEST_CT 1
7874 static tTestDesc aSolaris_Math_11Tests[] = {
7875 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
7878 * Fix Command Arguments for Solaris_Math_11
7880 static const char* apzSolaris_Math_11Patch[] = {
7883 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7884 \t\t\t ? __builtin_signbitf(x) \\\n\
7885 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7886 \t\t\t ? __builtin_signbitl(x) \\\n\
7887 \t\t\t : __builtin_signbit(x))",
7888 "^#undef[ \t]+signbit\n\
7889 #if defined\\(__sparc\\)\n\
7890 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7891 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7892 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7893 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7894 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7895 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7896 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7897 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7898 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7899 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7900 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7906 * Description of Solaris_Math_12 fix
7908 tSCC zSolaris_Math_12Name[] =
7912 * File name selection pattern
7914 tSCC zSolaris_Math_12List[] =
7917 * Machine/OS name selection pattern
7919 tSCC* apzSolaris_Math_12Machs[] = {
7921 (const char*)NULL };
7924 * content selection pattern - do fix if pattern found
7926 tSCC zSolaris_Math_12Select0[] =
7927 "#undef.*_GLIBCXX_USE_C99_MATH";
7929 #define SOLARIS_MATH_12_TEST_CT 1
7930 static tTestDesc aSolaris_Math_12Tests[] = {
7931 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
7934 * Fix Command Arguments for Solaris_Math_12
7936 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7937 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7942 * Description of Solaris_Once_Init_1 fix
7944 tSCC zSolaris_Once_Init_1Name[] =
7945 "solaris_once_init_1";
7948 * File name selection pattern
7950 tSCC zSolaris_Once_Init_1List[] =
7953 * Machine/OS name selection pattern
7955 tSCC* apzSolaris_Once_Init_1Machs[] = {
7957 (const char*)NULL };
7960 * content selection pattern - do fix if pattern found
7962 tSCC zSolaris_Once_Init_1Select0[] =
7963 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7965 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7966 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7967 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7970 * Fix Command Arguments for Solaris_Once_Init_1
7972 static const char* apzSolaris_Once_Init_1Patch[] = {
7975 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7980 * Description of Solaris_Posix_Spawn_Restrict fix
7982 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7983 "solaris_posix_spawn_restrict";
7986 * File name selection pattern
7988 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7991 * Machine/OS name selection pattern
7993 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7995 (const char*)NULL };
7998 * content selection pattern - do fix if pattern found
8000 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8001 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8003 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
8004 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8005 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8008 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8010 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8012 "%1*_RESTRICT_KYWD %2%3",
8015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8017 * Description of Solaris_Pow_Int_Overload fix
8019 tSCC zSolaris_Pow_Int_OverloadName[] =
8020 "solaris_pow_int_overload";
8023 * File name selection pattern
8025 tSCC zSolaris_Pow_Int_OverloadList[] =
8028 * Machine/OS name selection pattern
8030 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8032 (const char*)NULL };
8035 * content selection pattern - do fix if pattern found
8037 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8038 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8041 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
8042 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8043 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8046 * Fix Command Arguments for Solaris_Pow_Int_Overload
8048 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8050 "#if __cplusplus < 201103L\n\
8055 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8057 * Description of Solaris_Rwlock_Init_1 fix
8059 tSCC zSolaris_Rwlock_Init_1Name[] =
8060 "solaris_rwlock_init_1";
8063 * File name selection pattern
8065 tSCC zSolaris_Rwlock_Init_1List[] =
8068 * Machine/OS name selection pattern
8070 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8072 (const char*)NULL };
8075 * content selection pattern - do fix if pattern found
8077 tSCC zSolaris_Rwlock_Init_1Select0[] =
8078 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8080 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
8081 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8082 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8085 * Fix Command Arguments for Solaris_Rwlock_Init_1
8087 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8089 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8092 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8094 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8099 * Description of Solaris_Std___Filbuf fix
8101 tSCC zSolaris_Std___FilbufName[] =
8102 "solaris_std___filbuf";
8105 * File name selection pattern
8107 tSCC zSolaris_Std___FilbufList[] =
8110 * Machine/OS name selection pattern
8112 tSCC* apzSolaris_Std___FilbufMachs[] = {
8114 (const char*)NULL };
8117 * content selection pattern - do fix if pattern found
8119 tSCC zSolaris_Std___FilbufSelect0[] =
8120 "(using std::perror;\n\
8124 * content bypass pattern - skip fix if pattern found
8126 tSCC zSolaris_Std___FilbufBypass0[] =
8127 "using std::__filbuf";
8129 #define SOLARIS_STD___FILBUF_TEST_CT 2
8130 static tTestDesc aSolaris_Std___FilbufTests[] = {
8131 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8132 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8135 * Fix Command Arguments for Solaris_Std___Filbuf
8137 static const char* apzSolaris_Std___FilbufPatch[] = {
8140 using std::__filbuf;\n\
8141 using std::__flsbuf;\n\
8146 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8148 * Description of Solaris_Std_Gets_Cxx14 fix
8150 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8151 "solaris_std_gets_cxx14";
8154 * File name selection pattern
8156 tSCC zSolaris_Std_Gets_Cxx14List[] =
8159 * Machine/OS name selection pattern
8161 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8163 (const char*)NULL };
8166 * content selection pattern - do fix if pattern found
8168 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8171 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8172 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8173 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8176 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8178 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8180 "#if __cplusplus < 201402L\n\
8185 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8187 * Description of Solaris_Stdio_Tag fix
8189 tSCC zSolaris_Stdio_TagName[] =
8190 "solaris_stdio_tag";
8193 * File name selection pattern
8195 tSCC zSolaris_Stdio_TagList[] =
8198 * Machine/OS name selection pattern
8200 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8203 * content selection pattern - do fix if pattern found
8205 tSCC zSolaris_Stdio_TagSelect0[] =
8206 "__cplusplus < 54321L";
8209 * content bypass pattern - skip fix if pattern found
8211 tSCC zSolaris_Stdio_TagBypass0[] =
8214 #define SOLARIS_STDIO_TAG_TEST_CT 2
8215 static tTestDesc aSolaris_Stdio_TagTests[] = {
8216 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8217 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8220 * Fix Command Arguments for Solaris_Stdio_Tag
8222 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8223 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8228 * Description of Solaris_Stdlib_Noreturn fix
8230 tSCC zSolaris_Stdlib_NoreturnName[] =
8231 "solaris_stdlib_noreturn";
8234 * File name selection pattern
8236 tSCC zSolaris_Stdlib_NoreturnList[] =
8237 "iso/stdlib_c99.h\0";
8239 * Machine/OS name selection pattern
8241 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8243 (const char*)NULL };
8246 * content selection pattern - do fix if pattern found
8248 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8249 "(extern) _Noreturn (void quick_exit\\(int\\));";
8251 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8252 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8253 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8256 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8258 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8260 "%1 %2 __attribute__((__noreturn__));",
8263 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8265 * Description of Statsswtch fix
8267 tSCC zStatsswtchName[] =
8271 * File name selection pattern
8273 tSCC zStatsswtchList[] =
8276 * Machine/OS name selection pattern
8278 #define apzStatsswtchMachs (const char**)NULL
8281 * content selection pattern - do fix if pattern found
8283 tSCC zStatsswtchSelect0[] =
8286 #define STATSSWTCH_TEST_CT 1
8287 static tTestDesc aStatsswtchTests[] = {
8288 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8291 * Fix Command Arguments for Statsswtch
8293 static const char* apzStatsswtchPatch[] = {
8298 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8300 * Description of Stdio_Stdarg_H fix
8302 tSCC zStdio_Stdarg_HName[] =
8306 * File name selection pattern
8308 tSCC zStdio_Stdarg_HList[] =
8311 * Machine/OS name selection pattern
8313 tSCC* apzStdio_Stdarg_HMachs[] = {
8314 "*-*-solaris2.1[0-9]*",
8315 (const char*)NULL };
8318 * content bypass pattern - skip fix if pattern found
8320 tSCC zStdio_Stdarg_HBypass0[] =
8321 "include.*(stdarg.h|machine/ansi.h)";
8323 #define STDIO_STDARG_H_TEST_CT 1
8324 static tTestDesc aStdio_Stdarg_HTests[] = {
8325 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8328 * Fix Command Arguments for Stdio_Stdarg_H
8330 static const char* apzStdio_Stdarg_HPatch[] = {
8332 "#define __need___va_list\n\
8333 #include <stdarg.h>\n",
8336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8338 * Description of Stdio_Va_List fix
8340 tSCC zStdio_Va_ListName[] =
8344 * File name selection pattern
8346 tSCC zStdio_Va_ListList[] =
8349 * Machine/OS name selection pattern
8351 tSCC* apzStdio_Va_ListMachs[] = {
8352 "*-*-solaris2.1[0-9]*",
8353 (const char*)NULL };
8356 * content bypass pattern - skip fix if pattern found
8358 tSCC zStdio_Va_ListBypass0[] =
8359 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8361 #define STDIO_VA_LIST_TEST_CT 1
8362 static tTestDesc aStdio_Va_ListTests[] = {
8363 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8366 * Fix Command Arguments for Stdio_Va_List
8368 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8369 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8370 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8371 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8372 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8373 s@ va_list@ __not_va_list__@\n\
8374 s@\\*va_list@*__not_va_list__@\n\
8375 s@ __va_list)@ __gnuc_va_list)@\n\
8376 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8377 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8378 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8379 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8380 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8381 s@VA_LIST@DUMMY_VA_LIST@\n\
8382 s@_Va_LIST@_VA_LIST@",
8385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8387 * Description of Stdio_Va_List_Clients fix
8389 tSCC zStdio_Va_List_ClientsName[] =
8390 "stdio_va_list_clients";
8393 * File name selection pattern
8395 tSCC zStdio_Va_List_ClientsList[] =
8396 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8398 * Machine/OS name selection pattern
8400 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8403 * content bypass pattern - skip fix if pattern found
8405 tSCC zStdio_Va_List_ClientsBypass0[] =
8406 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8407 tSCC zStdio_Va_List_ClientsBypass1[] =
8408 "include <stdarg\\.h>|#ifdef va_start";
8410 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8411 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8412 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8413 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8416 * Fix Command Arguments for Stdio_Va_List_Clients
8418 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8419 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8420 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8421 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8422 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8423 s@ va_list@ __not_va_list__@\n\
8424 s@\\*va_list@*__not_va_list__@\n\
8425 s@ __va_list)@ __gnuc_va_list)@\n\
8426 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8427 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8428 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8429 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8430 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8431 s@VA_LIST@DUMMY_VA_LIST@\n\
8432 s@_Va_LIST@_VA_LIST@",
8435 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8437 * Description of Strict_Ansi_Not fix
8439 tSCC zStrict_Ansi_NotName[] =
8443 * File name selection pattern
8445 #define zStrict_Ansi_NotList (char*)NULL
8447 * Machine/OS name selection pattern
8449 #define apzStrict_Ansi_NotMachs (const char**)NULL
8452 * content selection pattern - do fix if pattern found
8454 tSCC zStrict_Ansi_NotSelect0[] =
8455 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8458 * content bypass pattern - skip fix if pattern found
8460 tSCC zStrict_Ansi_NotBypass0[] =
8461 "GNU and MIPS C compilers define __STDC__ differently";
8462 tSCC zStrict_Ansi_NotBypass1[] =
8463 "__SCO_VERSION__.*__STDC__ != 1";
8466 * perform the C function call test
8468 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8470 #define STRICT_ANSI_NOT_TEST_CT 4
8471 static tTestDesc aStrict_Ansi_NotTests[] = {
8472 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8473 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8474 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8475 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8478 * Fix Command Arguments for Strict_Ansi_Not
8480 static const char* apzStrict_Ansi_NotPatch[] = {
8482 "%1 !defined(__STRICT_ANSI__)",
8485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8487 * Description of Strict_Ansi_Not_Ctd fix
8489 tSCC zStrict_Ansi_Not_CtdName[] =
8490 "strict_ansi_not_ctd";
8493 * File name selection pattern
8495 tSCC zStrict_Ansi_Not_CtdList[] =
8496 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8498 * Machine/OS name selection pattern
8500 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8503 * content selection pattern - do fix if pattern found
8505 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8506 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8509 * perform the C function call test
8511 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8513 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8514 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8515 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8516 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8519 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8521 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8523 "%1 !defined(__STRICT_ANSI__)",
8526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8528 * Description of Strict_Ansi_Only fix
8530 tSCC zStrict_Ansi_OnlyName[] =
8534 * File name selection pattern
8536 #define zStrict_Ansi_OnlyList (char*)NULL
8538 * Machine/OS name selection pattern
8540 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8543 * content selection pattern - do fix if pattern found
8545 tSCC zStrict_Ansi_OnlySelect0[] =
8546 "^([ \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)";
8549 * perform the C function call test
8551 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8553 #define STRICT_ANSI_ONLY_TEST_CT 2
8554 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8555 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8556 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8559 * Fix Command Arguments for Strict_Ansi_Only
8561 static const char* apzStrict_Ansi_OnlyPatch[] = {
8563 "%1 defined(__STRICT_ANSI__)",
8566 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8568 * Description of Struct_File fix
8570 tSCC zStruct_FileName[] =
8574 * File name selection pattern
8576 tSCC zStruct_FileList[] =
8579 * Machine/OS name selection pattern
8581 #define apzStruct_FileMachs (const char**)NULL
8584 * content selection pattern - do fix if pattern found
8586 tSCC zStruct_FileSelect0[] =
8587 "^.*xdrstdio_create.*struct __file_s";
8589 #define STRUCT_FILE_TEST_CT 1
8590 static tTestDesc aStruct_FileTests[] = {
8591 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8594 * Fix Command Arguments for Struct_File
8596 static const char* apzStruct_FilePatch[] = {
8598 "struct __file_s;\n\
8602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8604 * Description of Struct_Sockaddr fix
8606 tSCC zStruct_SockaddrName[] =
8610 * File name selection pattern
8612 tSCC zStruct_SockaddrList[] =
8615 * Machine/OS name selection pattern
8617 #define apzStruct_SockaddrMachs (const char**)NULL
8620 * content selection pattern - do fix if pattern found
8622 tSCC zStruct_SockaddrSelect0[] =
8623 "^.*authdes_create.*struct sockaddr[^_]";
8626 * content bypass pattern - skip fix if pattern found
8628 tSCC zStruct_SockaddrBypass0[] =
8630 tSCC zStruct_SockaddrBypass1[] =
8631 "struct sockaddr;\n";
8633 #define STRUCT_SOCKADDR_TEST_CT 3
8634 static tTestDesc aStruct_SockaddrTests[] = {
8635 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8636 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8637 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8640 * Fix Command Arguments for Struct_Sockaddr
8642 static const char* apzStruct_SockaddrPatch[] = {
8644 "struct sockaddr;\n\
8648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8650 * Description of Sun_Auth_Proto fix
8652 tSCC zSun_Auth_ProtoName[] =
8656 * File name selection pattern
8658 tSCC zSun_Auth_ProtoList[] =
8659 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8661 * Machine/OS name selection pattern
8663 #define apzSun_Auth_ProtoMachs (const char**)NULL
8666 * content selection pattern - do fix if pattern found
8668 tSCC zSun_Auth_ProtoSelect0[] =
8669 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8672 * content bypass pattern - skip fix if pattern found
8674 tSCC zSun_Auth_ProtoBypass0[] =
8677 #define SUN_AUTH_PROTO_TEST_CT 2
8678 static tTestDesc aSun_Auth_ProtoTests[] = {
8679 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8680 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8683 * Fix Command Arguments for Sun_Auth_Proto
8685 static const char* apzSun_Auth_ProtoPatch[] = {
8687 "#ifdef __cplusplus\n\
8692 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8697 * Description of Sun_Bogus_Ifdef fix
8699 tSCC zSun_Bogus_IfdefName[] =
8703 * File name selection pattern
8705 tSCC zSun_Bogus_IfdefList[] =
8706 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8708 * Machine/OS name selection pattern
8710 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8713 * content selection pattern - do fix if pattern found
8715 tSCC zSun_Bogus_IfdefSelect0[] =
8716 "#ifdef(.*\\|\\|.*)";
8718 #define SUN_BOGUS_IFDEF_TEST_CT 1
8719 static tTestDesc aSun_Bogus_IfdefTests[] = {
8720 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8723 * Fix Command Arguments for Sun_Bogus_Ifdef
8725 static const char* apzSun_Bogus_IfdefPatch[] = {
8730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8732 * Description of Sun_Catmacro fix
8734 tSCC zSun_CatmacroName[] =
8738 * File name selection pattern
8740 tSCC zSun_CatmacroList[] =
8741 "pixrect/memvar.h\0";
8743 * Machine/OS name selection pattern
8745 #define apzSun_CatmacroMachs (const char**)NULL
8748 * content selection pattern - do fix if pattern found
8750 tSCC zSun_CatmacroSelect0[] =
8751 "^#define[ \t]+CAT\\(a,b\\).*";
8753 #define SUN_CATMACRO_TEST_CT 1
8754 static tTestDesc aSun_CatmacroTests[] = {
8755 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8758 * Fix Command Arguments for Sun_Catmacro
8760 static const char* apzSun_CatmacroPatch[] = {
8763 # define CAT(a,b) a##b\n\
8769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8771 * Description of Sun_Malloc fix
8773 tSCC zSun_MallocName[] =
8777 * File name selection pattern
8779 tSCC zSun_MallocList[] =
8782 * Machine/OS name selection pattern
8784 #define apzSun_MallocMachs (const char**)NULL
8787 * content bypass pattern - skip fix if pattern found
8789 tSCC zSun_MallocBypass0[] =
8790 "_CLASSIC_ANSI_TYPES";
8792 #define SUN_MALLOC_TEST_CT 1
8793 static tTestDesc aSun_MallocTests[] = {
8794 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8797 * Fix Command Arguments for Sun_Malloc
8799 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8800 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8801 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8802 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8803 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8804 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8809 * Description of Sun_Rusers_Semi fix
8811 tSCC zSun_Rusers_SemiName[] =
8815 * File name selection pattern
8817 tSCC zSun_Rusers_SemiList[] =
8818 "rpcsvc/rusers.h\0";
8820 * Machine/OS name selection pattern
8822 #define apzSun_Rusers_SemiMachs (const char**)NULL
8825 * content selection pattern - do fix if pattern found
8827 tSCC zSun_Rusers_SemiSelect0[] =
8830 #define SUN_RUSERS_SEMI_TEST_CT 1
8831 static tTestDesc aSun_Rusers_SemiTests[] = {
8832 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8835 * Fix Command Arguments for Sun_Rusers_Semi
8837 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8838 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8843 * Description of Sun_Signal fix
8845 tSCC zSun_SignalName[] =
8849 * File name selection pattern
8851 tSCC zSun_SignalList[] =
8852 "sys/signal.h\0signal.h\0";
8854 * Machine/OS name selection pattern
8856 #define apzSun_SignalMachs (const char**)NULL
8859 * content selection pattern - do fix if pattern found
8861 tSCC zSun_SignalSelect0[] =
8862 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8864 #define SUN_SIGNAL_TEST_CT 1
8865 static tTestDesc aSun_SignalTests[] = {
8866 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
8869 * Fix Command Arguments for Sun_Signal
8871 static const char* apzSun_SignalPatch[] = {
8873 "#ifdef __cplusplus\n\
8874 void\t(*signal(...))(...);\n\
8880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8882 * Description of Sunos_Strlen fix
8884 tSCC zSunos_StrlenName[] =
8888 * File name selection pattern
8890 tSCC zSunos_StrlenList[] =
8893 * Machine/OS name selection pattern
8895 #define apzSunos_StrlenMachs (const char**)NULL
8898 * content selection pattern - do fix if pattern found
8900 tSCC zSunos_StrlenSelect0[] =
8901 "int[ \t]*strlen\\(\\);(.*)";
8903 #define SUNOS_STRLEN_TEST_CT 1
8904 static tTestDesc aSunos_StrlenTests[] = {
8905 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
8908 * Fix Command Arguments for Sunos_Strlen
8910 static const char* apzSunos_StrlenPatch[] = {
8912 "__SIZE_TYPE__ strlen();%1",
8915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8917 * Description of Suse_Linux_Vt_Cxx fix
8919 tSCC zSuse_Linux_Vt_CxxName[] =
8920 "suse_linux_vt_cxx";
8923 * File name selection pattern
8925 tSCC zSuse_Linux_Vt_CxxList[] =
8928 * Machine/OS name selection pattern
8930 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8933 * content selection pattern - do fix if pattern found
8935 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8936 "^[ \t]*unsigned int new;";
8938 #define SUSE_LINUX_VT_CXX_TEST_CT 1
8939 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8940 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8943 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8945 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8947 "unsigned int newev;",
8950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8952 * Description of Svr4_Disable_Opt fix
8954 tSCC zSvr4_Disable_OptName[] =
8958 * File name selection pattern
8960 tSCC zSvr4_Disable_OptList[] =
8963 * Machine/OS name selection pattern
8965 #define apzSvr4_Disable_OptMachs (const char**)NULL
8968 * content selection pattern - do fix if pattern found
8970 tSCC zSvr4_Disable_OptSelect0[] =
8971 "#define.*__std_hdr_";
8973 #define SVR4_DISABLE_OPT_TEST_CT 1
8974 static tTestDesc aSvr4_Disable_OptTests[] = {
8975 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8978 * Fix Command Arguments for Svr4_Disable_Opt
8980 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8981 "-e", "/#define.*__std_hdr_/d",
8984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8986 * Description of Svr4_Getcwd fix
8988 tSCC zSvr4_GetcwdName[] =
8992 * File name selection pattern
8994 tSCC zSvr4_GetcwdList[] =
8995 "stdlib.h\0unistd.h\0prototypes.h\0";
8997 * Machine/OS name selection pattern
8999 #define apzSvr4_GetcwdMachs (const char**)NULL
9002 * content selection pattern - do fix if pattern found
9004 tSCC zSvr4_GetcwdSelect0[] =
9005 "getcwd\\(char \\*, int\\)";
9007 #define SVR4_GETCWD_TEST_CT 1
9008 static tTestDesc aSvr4_GetcwdTests[] = {
9009 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9012 * Fix Command Arguments for Svr4_Getcwd
9014 static const char* apzSvr4_GetcwdPatch[] = {
9016 "getcwd(char *, size_t)",
9019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9021 * Description of Svr4_Profil fix
9023 tSCC zSvr4_ProfilName[] =
9027 * File name selection pattern
9029 tSCC zSvr4_ProfilList[] =
9030 "stdlib.h\0unistd.h\0";
9032 * Machine/OS name selection pattern
9034 #define apzSvr4_ProfilMachs (const char**)NULL
9037 * content selection pattern - do fix if pattern found
9039 tSCC zSvr4_ProfilSelect0[] =
9040 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9042 #define SVR4_PROFIL_TEST_CT 1
9043 static tTestDesc aSvr4_ProfilTests[] = {
9044 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9047 * Fix Command Arguments for Svr4_Profil
9049 static const char* apzSvr4_ProfilPatch[] = {
9051 "profil(unsigned short *, size_t, int, unsigned int)",
9054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9056 * Description of Svr4_Sighandler_Type fix
9058 tSCC zSvr4_Sighandler_TypeName[] =
9059 "svr4_sighandler_type";
9062 * File name selection pattern
9064 tSCC zSvr4_Sighandler_TypeList[] =
9067 * Machine/OS name selection pattern
9069 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9072 * content selection pattern - do fix if pattern found
9074 tSCC zSvr4_Sighandler_TypeSelect0[] =
9075 "void *\\(\\*\\)\\(\\)";
9077 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
9078 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9079 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9082 * Fix Command Arguments for Svr4_Sighandler_Type
9084 static const char* apzSvr4_Sighandler_TypePatch[] = {
9089 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9091 * Description of Svr4_Undeclared_Getrnge fix
9093 tSCC zSvr4_Undeclared_GetrngeName[] =
9094 "svr4_undeclared_getrnge";
9097 * File name selection pattern
9099 tSCC zSvr4_Undeclared_GetrngeList[] =
9102 * Machine/OS name selection pattern
9104 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9107 * content selection pattern - do fix if pattern found
9109 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9113 * content bypass pattern - skip fix if pattern found
9115 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9116 "static void getrnge";
9118 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
9119 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9120 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9121 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9124 * Fix Command Arguments for Svr4_Undeclared_Getrnge
9126 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9129 static int getrnge ();",
9130 "^static int[ \t]+size;",
9133 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9135 * Description of Sysv68_String fix
9137 tSCC zSysv68_StringName[] =
9141 * File name selection pattern
9143 tSCC zSysv68_StringList[] =
9144 "testing.h\0string.h\0";
9146 * Machine/OS name selection pattern
9148 #define apzSysv68_StringMachs (const char**)NULL
9151 * content bypass pattern - skip fix if pattern found
9153 tSCC zSysv68_StringBypass0[] =
9154 "_CLASSIC_ANSI_TYPES";
9156 #define SYSV68_STRING_TEST_CT 1
9157 static tTestDesc aSysv68_StringTests[] = {
9158 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
9161 * Fix Command Arguments for Sysv68_String
9163 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9164 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9165 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9166 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9167 "-e", "/^extern char$/N",
9168 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9169 "-e", "/^extern int$/N",
9170 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9171 "-e", "/^\tstrncmp(),$/N",
9172 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9173 extern unsigned int\\\n\
9177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9179 * Description of Sysz_Stdlib_For_Sun fix
9181 tSCC zSysz_Stdlib_For_SunName[] =
9182 "sysz_stdlib_for_sun";
9185 * File name selection pattern
9187 tSCC zSysz_Stdlib_For_SunList[] =
9190 * Machine/OS name selection pattern
9192 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9195 * content selection pattern - do fix if pattern found
9197 tSCC zSysz_Stdlib_For_SunSelect0[] =
9198 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9201 * content bypass pattern - skip fix if pattern found
9203 tSCC zSysz_Stdlib_For_SunBypass0[] =
9204 "_CLASSIC_ANSI_TYPES";
9206 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9207 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9208 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9209 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9212 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9214 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9221 * Description of Thread_Keyword fix
9223 tSCC zThread_KeywordName[] =
9227 * File name selection pattern
9229 tSCC zThread_KeywordList[] =
9230 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9232 * Machine/OS name selection pattern
9234 #define apzThread_KeywordMachs (const char**)NULL
9237 * content selection pattern - do fix if pattern found
9239 tSCC zThread_KeywordSelect0[] =
9240 "([* ])__thread([,)])";
9242 #define THREAD_KEYWORD_TEST_CT 1
9243 static tTestDesc aThread_KeywordTests[] = {
9244 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9247 * Fix Command Arguments for Thread_Keyword
9249 static const char* apzThread_KeywordPatch[] = {
9254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9256 * Description of Tinfo_Cplusplus fix
9258 tSCC zTinfo_CplusplusName[] =
9262 * File name selection pattern
9264 tSCC zTinfo_CplusplusList[] =
9267 * Machine/OS name selection pattern
9269 #define apzTinfo_CplusplusMachs (const char**)NULL
9272 * content selection pattern - do fix if pattern found
9274 tSCC zTinfo_CplusplusSelect0[] =
9277 #define TINFO_CPLUSPLUS_TEST_CT 1
9278 static tTestDesc aTinfo_CplusplusTests[] = {
9279 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9282 * Fix Command Arguments for Tinfo_Cplusplus
9284 static const char* apzTinfo_CplusplusPatch[] = {
9289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9291 * Description of Ultrix_Const fix
9293 tSCC zUltrix_ConstName[] =
9297 * File name selection pattern
9299 tSCC zUltrix_ConstList[] =
9302 * Machine/OS name selection pattern
9304 #define apzUltrix_ConstMachs (const char**)NULL
9307 * content selection pattern - do fix if pattern found
9309 tSCC zUltrix_ConstSelect0[] =
9310 "perror\\( char \\*";
9312 #define ULTRIX_CONST_TEST_CT 1
9313 static tTestDesc aUltrix_ConstTests[] = {
9314 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9317 * Fix Command Arguments for Ultrix_Const
9319 static const char* apzUltrix_ConstPatch[] = {
9322 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9325 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9327 * Description of Ultrix_Const2 fix
9329 tSCC zUltrix_Const2Name[] =
9333 * File name selection pattern
9335 tSCC zUltrix_Const2List[] =
9338 * Machine/OS name selection pattern
9340 #define apzUltrix_Const2Machs (const char**)NULL
9343 * content selection pattern - do fix if pattern found
9345 tSCC zUltrix_Const2Select0[] =
9346 "\\*fopen\\( char \\*";
9348 #define ULTRIX_CONST2_TEST_CT 1
9349 static tTestDesc aUltrix_Const2Tests[] = {
9350 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9353 * Fix Command Arguments for Ultrix_Const2
9355 static const char* apzUltrix_Const2Patch[] = {
9357 "%1( const char *%3, const char *",
9358 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9361 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9363 * Description of Va_I960_Macro fix
9365 tSCC zVa_I960_MacroName[] =
9369 * File name selection pattern
9371 tSCC zVa_I960_MacroList[] =
9372 "arch/i960/archI960.h\0";
9374 * Machine/OS name selection pattern
9376 #define apzVa_I960_MacroMachs (const char**)NULL
9379 * content selection pattern - do fix if pattern found
9381 tSCC zVa_I960_MacroSelect0[] =
9382 "__(vsiz|vali|vpad|alignof__)";
9384 #define VA_I960_MACRO_TEST_CT 1
9385 static tTestDesc aVa_I960_MacroTests[] = {
9386 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9389 * Fix Command Arguments for Va_I960_Macro
9391 static const char* apzVa_I960_MacroPatch[] = {
9396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9398 * Description of Vms_Add_Missing_Braces fix
9400 tSCC zVms_Add_Missing_BracesName[] =
9401 "vms_add_missing_braces";
9404 * File name selection pattern
9406 tSCC zVms_Add_Missing_BracesList[] =
9407 "rtldef/signal.h\0";
9409 * Machine/OS name selection pattern
9411 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9413 (const char*)NULL };
9416 * content selection pattern - do fix if pattern found
9418 tSCC zVms_Add_Missing_BracesSelect0[] =
9419 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9421 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9422 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9423 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9426 * Fix Command Arguments for Vms_Add_Missing_Braces
9428 static const char* apzVms_Add_Missing_BracesPatch[] = {
9433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9435 * Description of Vms_Decc_Builtin fix
9437 tSCC zVms_Decc_BuiltinName[] =
9441 * File name selection pattern
9443 tSCC zVms_Decc_BuiltinList[] =
9444 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9446 * Machine/OS name selection pattern
9448 tSCC* apzVms_Decc_BuiltinMachs[] = {
9450 (const char*)NULL };
9453 * content selection pattern - do fix if pattern found
9455 tSCC zVms_Decc_BuiltinSelect0[] =
9456 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9458 #define VMS_DECC_BUILTIN_TEST_CT 1
9459 static tTestDesc aVms_Decc_BuiltinTests[] = {
9460 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9463 * Fix Command Arguments for Vms_Decc_Builtin
9465 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9466 "-e", "s@__MEMSET@memset@",
9467 "-e", "s@__MEMMOVE@memmove@",
9468 "-e", "s@__MEMCPY@memcpy@",
9469 "-e", "s@__STRLEN@strlen@",
9470 "-e", "s@__STRCPY@strcpy@",
9473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9475 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9477 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9478 "vms_define_can_use_extern_prefix";
9481 * File name selection pattern
9483 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9484 "rtldef/decc$types.h\0";
9486 * Machine/OS name selection pattern
9488 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9490 (const char*)NULL };
9493 * content selection pattern - do fix if pattern found
9495 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9497 #[ \t]*if defined\\(__DECCXX\\)\n\
9498 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9500 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9501 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9502 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9505 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9507 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9509 "%0# elif defined (__GNUC__)\n\
9510 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9515 * Description of Vms_Disable_Decc_String_Builtins fix
9517 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9518 "vms_disable_decc_string_builtins";
9521 * File name selection pattern
9523 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9524 "rtldef/string.h\0";
9526 * Machine/OS name selection pattern
9528 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9530 (const char*)NULL };
9533 * content selection pattern - do fix if pattern found
9535 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9536 "#if !defined\\(__VAX\\)\n";
9538 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9539 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9540 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9543 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9545 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9547 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9552 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9554 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9555 "vms_do_not_redeclare_hostalias";
9558 * File name selection pattern
9560 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9561 "rtldef/resolv.h\0";
9563 * Machine/OS name selection pattern
9565 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9567 (const char*)NULL };
9570 * content selection pattern - do fix if pattern found
9572 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9573 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9574 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9576 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9577 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9578 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9581 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9583 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9589 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9591 * Description of Vms_Forward_Declare_Struct fix
9593 tSCC zVms_Forward_Declare_StructName[] =
9594 "vms_forward_declare_struct";
9597 * File name selection pattern
9599 tSCC zVms_Forward_Declare_StructList[] =
9602 * Machine/OS name selection pattern
9604 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9606 (const char*)NULL };
9609 * content selection pattern - do fix if pattern found
9611 tSCC zVms_Forward_Declare_StructSelect0[] =
9612 "(/\\* forward decls for C\\+\\+ \\*/\n\
9613 )#ifdef __cplusplus\n";
9615 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9616 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9617 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9620 * Fix Command Arguments for Vms_Forward_Declare_Struct
9622 static const char* apzVms_Forward_Declare_StructPatch[] = {
9624 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9629 * Description of Vms_No_64bit_Getopt fix
9631 tSCC zVms_No_64bit_GetoptName[] =
9632 "vms_no_64bit_getopt";
9635 * File name selection pattern
9637 tSCC zVms_No_64bit_GetoptList[] =
9638 "rtldef/stdio.h\0rtldef/unistd.h\0";
9640 * Machine/OS name selection pattern
9642 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9644 (const char*)NULL };
9647 * content selection pattern - do fix if pattern found
9649 tSCC zVms_No_64bit_GetoptSelect0[] =
9650 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9652 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9653 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9654 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9657 * Fix Command Arguments for Vms_No_64bit_Getopt
9659 static const char* apzVms_No_64bit_GetoptPatch[] = {
9661 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9665 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9667 * Description of Vms_Use_Fast_Setjmp fix
9669 tSCC zVms_Use_Fast_SetjmpName[] =
9670 "vms_use_fast_setjmp";
9673 * File name selection pattern
9675 tSCC zVms_Use_Fast_SetjmpList[] =
9676 "rtldef/setjmp.h\0";
9678 * Machine/OS name selection pattern
9680 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9682 (const char*)NULL };
9685 * content selection pattern - do fix if pattern found
9687 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9688 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9690 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9691 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9692 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9695 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9697 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9699 "%0 defined (__GNUC__) ||",
9702 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9704 * Description of Vms_Use_Pragma_Extern_Model fix
9706 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9707 "vms_use_pragma_extern_model";
9710 * File name selection pattern
9712 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9714 * Machine/OS name selection pattern
9716 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9718 (const char*)NULL };
9721 * content selection pattern - do fix if pattern found
9723 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9724 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9725 # pragma extern_model __save\n";
9727 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9728 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9729 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9732 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9734 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9736 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9737 # pragma extern_model __save\n",
9740 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9742 * Description of Vms_Use_Quoted_Include fix
9744 tSCC zVms_Use_Quoted_IncludeName[] =
9745 "vms_use_quoted_include";
9748 * File name selection pattern
9750 tSCC zVms_Use_Quoted_IncludeList[] =
9751 "rtldef/wait.h\0starlet_c/pthread.h\0";
9753 * Machine/OS name selection pattern
9755 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9757 (const char*)NULL };
9760 * content selection pattern - do fix if pattern found
9762 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9763 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9765 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9766 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9767 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9770 * Fix Command Arguments for Vms_Use_Quoted_Include
9772 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9779 * Description of Void_Null fix
9781 tSCC zVoid_NullName[] =
9785 * File name selection pattern
9787 tSCC zVoid_NullList[] =
9788 "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";
9790 * Machine/OS name selection pattern
9792 #define apzVoid_NullMachs (const char**)NULL
9795 * content selection pattern - do fix if pattern found
9797 tSCC zVoid_NullSelect0[] =
9798 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9801 * content bypass pattern - skip fix if pattern found
9803 tSCC zVoid_NullBypass0[] =
9805 tSCC zVoid_NullBypass1[] =
9808 #define VOID_NULL_TEST_CT 3
9809 static tTestDesc aVoid_NullTests[] = {
9810 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9811 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9812 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9815 * Fix Command Arguments for Void_Null
9817 static const char* apzVoid_NullPatch[] = {
9820 #ifdef __cplusplus\n\
9822 #define NULL __null\n\
9823 #else /* ! __GNUG__ */\n\
9825 #endif /* __GNUG__ */\n\
9826 #else /* ! __cplusplus */\n\
9827 #define NULL ((void *)0)\n\
9828 #endif /* __cplusplus */\n\
9829 #endif /* !NULL */",
9832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9834 * Description of Vxworks_Gcc_Problem fix
9836 tSCC zVxworks_Gcc_ProblemName[] =
9837 "vxworks_gcc_problem";
9840 * File name selection pattern
9842 tSCC zVxworks_Gcc_ProblemList[] =
9843 "types/vxTypesBase.h\0";
9845 * Machine/OS name selection pattern
9847 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9850 * content selection pattern - do fix if pattern found
9852 tSCC zVxworks_Gcc_ProblemSelect0[] =
9853 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9855 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9856 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9857 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9860 * Fix Command Arguments for Vxworks_Gcc_Problem
9862 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9863 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9864 "-e", "/[ \t]size_t/i\\\n\
9865 #ifndef _GCC_SIZE_T\\\n\
9866 #define _GCC_SIZE_T\n",
9867 "-e", "/[ \t]size_t/a\\\n\
9869 "-e", "/[ \t]ptrdiff_t/i\\\n\
9870 #ifndef _GCC_PTRDIFF_T\\\n\
9871 #define _GCC_PTRDIFF_T\n",
9872 "-e", "/[ \t]ptrdiff_t/a\\\n\
9874 "-e", "/[ \t]wchar_t/i\\\n\
9875 #ifndef _GCC_WCHAR_T\\\n\
9876 #define _GCC_WCHAR_T\n",
9877 "-e", "/[ \t]wchar_t/a\\\n\
9881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9883 * Description of Vxworks_Ioctl_Macro fix
9885 tSCC zVxworks_Ioctl_MacroName[] =
9886 "vxworks_ioctl_macro";
9889 * File name selection pattern
9891 tSCC zVxworks_Ioctl_MacroList[] =
9894 * Machine/OS name selection pattern
9896 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9898 (const char*)NULL };
9899 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
9900 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
9903 * Fix Command Arguments for Vxworks_Ioctl_Macro
9905 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9908 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
9909 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9912 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9914 * Description of Vxworks_Mkdir_Macro fix
9916 tSCC zVxworks_Mkdir_MacroName[] =
9917 "vxworks_mkdir_macro";
9920 * File name selection pattern
9922 tSCC zVxworks_Mkdir_MacroList[] =
9925 * Machine/OS name selection pattern
9927 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9929 (const char*)NULL };
9930 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
9931 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
9934 * Fix Command Arguments for Vxworks_Mkdir_Macro
9936 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9939 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9940 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9943 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9945 * Description of Vxworks_Needs_Vxtypes fix
9947 tSCC zVxworks_Needs_VxtypesName[] =
9948 "vxworks_needs_vxtypes";
9951 * File name selection pattern
9953 tSCC zVxworks_Needs_VxtypesList[] =
9956 * Machine/OS name selection pattern
9958 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9961 * content selection pattern - do fix if pattern found
9963 tSCC zVxworks_Needs_VxtypesSelect0[] =
9964 "uint_t([ \t]+_clocks_per_sec)";
9966 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9967 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9968 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9971 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9973 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9980 * Description of Vxworks_Needs_Vxworks fix
9982 tSCC zVxworks_Needs_VxworksName[] =
9983 "vxworks_needs_vxworks";
9986 * File name selection pattern
9988 tSCC zVxworks_Needs_VxworksList[] =
9991 * Machine/OS name selection pattern
9993 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9996 * content selection pattern - do fix if pattern found
9998 tSCC zVxworks_Needs_VxworksSelect0[] =
9999 "#[ \t]define[ \t]+__INCstath";
10002 * perform the 'test' shell command - do fix on success
10004 tSCC zVxworks_Needs_VxworksTest0[] =
10005 " -r types/vxTypesOld.h";
10006 tSCC zVxworks_Needs_VxworksTest1[] =
10007 " -n \"`egrep '#include' $file`\"";
10008 tSCC zVxworks_Needs_VxworksTest2[] =
10009 " -n \"`egrep ULONG $file`\"";
10011 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
10012 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10013 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
10014 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
10015 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
10016 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10019 * Fix Command Arguments for Vxworks_Needs_Vxworks
10021 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10022 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10023 #include <types/vxTypesOld.h>\n",
10026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10028 * Description of Vxworks_Regs fix
10030 tSCC zVxworks_RegsName[] =
10034 * File name selection pattern
10036 #define zVxworks_RegsList (char*)NULL
10038 * Machine/OS name selection pattern
10040 tSCC* apzVxworks_RegsMachs[] = {
10042 (const char*)NULL };
10045 * content selection pattern - do fix if pattern found
10047 tSCC zVxworks_RegsSelect0[] =
10048 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10050 #define VXWORKS_REGS_TEST_CT 1
10051 static tTestDesc aVxworks_RegsTests[] = {
10052 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
10055 * Fix Command Arguments for Vxworks_Regs
10057 static const char* apzVxworks_RegsPatch[] = {
10059 "#include <arch/../regs.h>",
10062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10064 * Description of Vxworks_Time fix
10066 tSCC zVxworks_TimeName[] =
10070 * File name selection pattern
10072 tSCC zVxworks_TimeList[] =
10075 * Machine/OS name selection pattern
10077 #define apzVxworks_TimeMachs (const char**)NULL
10080 * content selection pattern - do fix if pattern found
10082 tSCC zVxworks_TimeSelect0[] =
10083 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10086 * perform the 'test' shell command - do fix on success
10088 tSCC zVxworks_TimeTest0[] =
10091 #define VXWORKS_TIME_TEST_CT 2
10092 static tTestDesc aVxworks_TimeTests[] = {
10093 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
10094 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
10097 * Fix Command Arguments for Vxworks_Time
10099 static const char* apzVxworks_TimePatch[] = {
10101 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10102 #ifdef __cplusplus\n\
10103 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10105 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10107 #define __gcc_VOIDFUNCPTR_defined\n\
10109 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10114 * Description of Vxworks_Write_Const fix
10116 tSCC zVxworks_Write_ConstName[] =
10117 "vxworks_write_const";
10120 * File name selection pattern
10122 tSCC zVxworks_Write_ConstList[] =
10125 * Machine/OS name selection pattern
10127 tSCC* apzVxworks_Write_ConstMachs[] = {
10129 (const char*)NULL };
10130 #define VXWORKS_WRITE_CONST_TEST_CT 0
10131 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
10134 * Fix Command Arguments for Vxworks_Write_Const
10136 static const char* apzVxworks_Write_ConstPatch[] = {
10138 "extern int write (int, const char*, size_t);",
10139 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10144 * Description of Vxworks_Iolib_Include_Unistd fix
10146 tSCC zVxworks_Iolib_Include_UnistdName[] =
10147 "vxworks_iolib_include_unistd";
10150 * File name selection pattern
10152 tSCC zVxworks_Iolib_Include_UnistdList[] =
10155 * Machine/OS name selection pattern
10157 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10159 (const char*)NULL };
10162 * content selection pattern - do fix if pattern found
10164 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10165 "#include \"unistd.h\"";
10167 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10168 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10169 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10172 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10174 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10176 "#include <unistd.h>",
10179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10181 * Description of X11_Class fix
10183 tSCC zX11_ClassName[] =
10187 * File name selection pattern
10189 tSCC zX11_ClassList[] =
10192 * Machine/OS name selection pattern
10194 #define apzX11_ClassMachs (const char**)NULL
10197 * content selection pattern - do fix if pattern found
10199 tSCC zX11_ClassSelect0[] =
10200 "^([ \t]*char \\*)class;(.*)";
10203 * content bypass pattern - skip fix if pattern found
10205 tSCC zX11_ClassBypass0[] =
10208 #define X11_CLASS_TEST_CT 2
10209 static tTestDesc aX11_ClassTests[] = {
10210 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10211 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10214 * Fix Command Arguments for X11_Class
10216 static const char* apzX11_ClassPatch[] = {
10218 "#ifdef __cplusplus\n\
10225 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10227 * Description of X11_Class_Usage fix
10229 tSCC zX11_Class_UsageName[] =
10233 * File name selection pattern
10235 tSCC zX11_Class_UsageList[] =
10236 "Xm/BaseClassI.h\0";
10238 * Machine/OS name selection pattern
10240 #define apzX11_Class_UsageMachs (const char**)NULL
10243 * content selection pattern - do fix if pattern found
10245 tSCC zX11_Class_UsageSelect0[] =
10249 * content bypass pattern - skip fix if pattern found
10251 tSCC zX11_Class_UsageBypass0[] =
10254 #define X11_CLASS_USAGE_TEST_CT 2
10255 static tTestDesc aX11_Class_UsageTests[] = {
10256 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10257 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10260 * Fix Command Arguments for X11_Class_Usage
10262 static const char* apzX11_Class_UsagePatch[] = {
10267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10269 * Description of X11_New fix
10271 tSCC zX11_NewName[] =
10275 * File name selection pattern
10277 tSCC zX11_NewList[] =
10278 "Xm/Traversal.h\0";
10280 * Machine/OS name selection pattern
10282 #define apzX11_NewMachs (const char**)NULL
10285 * content bypass pattern - skip fix if pattern found
10287 tSCC zX11_NewBypass0[] =
10290 #define X11_NEW_TEST_CT 1
10291 static tTestDesc aX11_NewTests[] = {
10292 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10295 * Fix Command Arguments for X11_New
10297 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10298 "-e", "/Widget\told, new;/i\\\n\
10299 #ifdef __cplusplus\\\n\
10300 \\\tWidget\told, c_new;\\\n\
10302 "-e", "/Widget\told, new;/a\\\n\
10304 "-e", "s/Widget new,/Widget c_new,/g",
10307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10309 * Description of X11_Sprintf fix
10311 tSCC zX11_SprintfName[] =
10315 * File name selection pattern
10317 tSCC zX11_SprintfList[] =
10318 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10320 * Machine/OS name selection pattern
10322 #define apzX11_SprintfMachs (const char**)NULL
10325 * content selection pattern - do fix if pattern found
10327 tSCC zX11_SprintfSelect0[] =
10328 "^extern char \\*\tsprintf\\(\\);$";
10330 #define X11_SPRINTF_TEST_CT 1
10331 static tTestDesc aX11_SprintfTests[] = {
10332 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10335 * Fix Command Arguments for X11_Sprintf
10337 static const char* apzX11_SprintfPatch[] = {
10339 "#ifndef __STDC__\n\
10341 #endif /* !defined __STDC__ */",
10345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10347 * List of all fixes
10349 #define REGEX_COUNT 293
10350 #define MACH_LIST_SIZE_LIMIT 187
10351 #define FIX_COUNT 255
10354 * Enumerate the fixes
10357 AAB_AIX_STDIO_FIXIDX,
10358 AAB_AIX_FCNTL_FIXIDX,
10359 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10360 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10361 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10362 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10363 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10364 AAB_SUN_MEMCPY_FIXIDX,
10365 AAB_VXWORKS_ASSERT_FIXIDX,
10366 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10367 AAB_VXWORKS_UNISTD_FIXIDX,
10369 AIX_COMPLEX_FIXIDX,
10370 AIX_EXTERNC_FIXIDX,
10371 AIX_EXTERNCPP1_FIXIDX,
10372 AIX_EXTERNCPP2_FIXIDX,
10374 AIX_NET_IF_ARP_FIXIDX,
10376 AIX_ONCE_INIT_1_FIXIDX,
10377 AIX_ONCE_INIT_2_FIXIDX,
10378 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10379 AIX_COND_INITIALIZER_1_FIXIDX,
10380 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10381 AIX_PTHREAD_FIXIDX,
10382 AIX_STDINT_1_FIXIDX,
10383 AIX_STDINT_2_FIXIDX,
10384 AIX_STDINT_3_FIXIDX,
10385 AIX_STDINT_4_FIXIDX,
10386 AIX_STDINT_5_FIXIDX,
10387 AIX_STDIO_INLINE_FIXIDX,
10388 AIX_STDLIB_MALLOC_FIXIDX,
10389 AIX_STDLIB_REALLOC_FIXIDX,
10390 AIX_STDLIB_CALLOC_FIXIDX,
10391 AIX_STDLIB_VALLOC_FIXIDX,
10392 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10393 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10394 AIX_STRTOF_CONST_FIXIDX,
10395 AIX_SYSMACHINE_FIXIDX,
10396 AIX_SYSWAIT_2_FIXIDX,
10397 AIX_VOLATILE_FIXIDX,
10399 ALPHA___ASSERT_FIXIDX,
10400 ALPHA_ASSERT_FIXIDX,
10401 ALPHA_GETOPT_FIXIDX,
10402 ALPHA_IF_SEMICOLON_FIXIDX,
10403 ALPHA_PARENS_FIXIDX,
10405 AVOID_BOOL_DEFINE_FIXIDX,
10406 AVOID_BOOL_TYPE_FIXIDX,
10407 AVOID_WCHAR_T_TYPE_FIXIDX,
10408 BAD_STRUCT_TERM_FIXIDX,
10410 BROKEN_ASSERT_STDIO_FIXIDX,
10411 BROKEN_ASSERT_STDLIB_FIXIDX,
10412 BROKEN_CABS_FIXIDX,
10414 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10415 CTRL_QUOTES_DEF_FIXIDX,
10416 CTRL_QUOTES_USE_FIXIDX,
10417 CXX_UNREADY_FIXIDX,
10418 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10419 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10420 DARWIN_EXTERNC_FIXIDX,
10421 DARWIN_GCC4_BREAKAGE_FIXIDX,
10422 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10423 DARWIN_LONGJMP_NORETURN_FIXIDX,
10424 DARWIN_OS_TRACE_1_FIXIDX,
10425 DARWIN_OS_TRACE_2_FIXIDX,
10426 DARWIN_OS_TRACE_3_FIXIDX,
10427 DARWIN_OS_BASE_1_FIXIDX,
10428 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10429 DARWIN_PRIVATE_EXTERN_FIXIDX,
10430 DARWIN_STDINT_1_FIXIDX,
10431 DARWIN_STDINT_2_FIXIDX,
10432 DARWIN_STDINT_3_FIXIDX,
10433 DARWIN_STDINT_4_FIXIDX,
10434 DARWIN_STDINT_5_FIXIDX,
10435 DARWIN_STDINT_6_FIXIDX,
10436 DARWIN_STDINT_7_FIXIDX,
10437 DARWIN_UCRED__ATOMIC_FIXIDX,
10438 DEC_INTERN_ASM_FIXIDX,
10439 DJGPP_WCHAR_H_FIXIDX,
10441 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10442 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10443 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10444 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10445 GLIBC_C99_INLINE_1_FIXIDX,
10446 GLIBC_C99_INLINE_1A_FIXIDX,
10447 GLIBC_C99_INLINE_2_FIXIDX,
10448 GLIBC_C99_INLINE_3_FIXIDX,
10449 GLIBC_C99_INLINE_4_FIXIDX,
10450 GLIBC_MUTEX_INIT_FIXIDX,
10451 GLIBC_STDINT_FIXIDX,
10452 GLIBC_STRNCPY_FIXIDX,
10453 GLIBC_TGMATH_FIXIDX,
10457 HPPA_HPUX_FP_MACROS_FIXIDX,
10458 HPUX10_CPP_POW_INLINE_FIXIDX,
10459 HPUX11_CPP_POW_INLINE_FIXIDX,
10460 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10461 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10462 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10463 HPPA_HPUX11_ALLOCA_FIXIDX,
10465 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10466 HPUX11_EXTERN_SENDFILE_FIXIDX,
10467 HPUX11_EXTERN_SENDPATH_FIXIDX,
10468 HPUX11_FABSF_FIXIDX,
10469 HPUX11_PTHREAD_POINTER_FIXIDX,
10470 HPUX11_PTHREAD_CONST_FIXIDX,
10471 HPUX11_SIZE_T_FIXIDX,
10472 HPUX11_SNPRINTF_FIXIDX,
10473 HPUX11_VSNPRINTF_FIXIDX,
10474 HPUX_VSSCANF_FIXIDX,
10475 HPUX8_BOGUS_INLINES_FIXIDX,
10476 HPUX_C99_INTPTR_FIXIDX,
10477 HPUX_C99_INTTYPES_FIXIDX,
10478 HPUX_C99_INTTYPES2_FIXIDX,
10479 HPUX_CTYPE_MACROS_FIXIDX,
10480 HPUX_EXTERN_ERRNO_FIXIDX,
10482 HPUX_IMAGINARY_I_FIXIDX,
10483 HPUX_INTTYPE_INT8_T_FIXIDX,
10484 HPUX_LONG_DOUBLE_FIXIDX,
10485 HPUX_LONG_DOUBLE_2_FIXIDX,
10486 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10487 HPUX_SPU_INFO_FIXIDX,
10488 HPUX_STDINT_LEAST_FAST_FIXIDX,
10489 HPUX_LONGJMP_FIXIDX,
10490 HPUX_SYSTIME_FIXIDX,
10491 HUGE_VAL_HEX_FIXIDX,
10492 HUGE_VALF_HEX_FIXIDX,
10493 HUGE_VALL_HEX_FIXIDX,
10494 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10495 IO_QUOTES_DEF_FIXIDX,
10496 IO_QUOTES_USE_FIXIDX,
10497 IP_MISSING_SEMI_FIXIDX,
10498 IRIX_LIMITS_CONST_FIXIDX,
10499 IRIX_STDIO_VA_LIST_FIXIDX,
10500 KANDR_CONCAT_FIXIDX,
10501 LINUX_IA64_UCONTEXT_FIXIDX,
10502 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10503 LYNXOS_MISSING_PUTENV_FIXIDX,
10504 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10505 MACHINE_NAME_FIXIDX,
10506 MATH_EXCEPTION_FIXIDX,
10507 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10508 NESTED_AUTH_DES_FIXIDX,
10509 NETBSD_C99_INLINE_1_FIXIDX,
10510 NETBSD_C99_INLINE_2_FIXIDX,
10511 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10512 NEWLIB_STDINT_1_FIXIDX,
10513 NEWLIB_STDINT_2_FIXIDX,
10514 NEXT_MATH_PREFIX_FIXIDX,
10515 NEXT_TEMPLATE_FIXIDX,
10516 NEXT_VOLITILE_FIXIDX,
10517 NEXT_WAIT_UNION_FIXIDX,
10518 NODEENT_SYNTAX_FIXIDX,
10519 OPENBSD_NULL_DEFINITION_FIXIDX,
10520 OBSTACK_LVALUE_CAST_FIXIDX,
10521 OPENBSD_VA_START_FIXIDX,
10522 OSF_NAMESPACE_A_FIXIDX,
10523 OSF_NAMESPACE_C_FIXIDX,
10524 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10525 READ_RET_TYPE_FIXIDX,
10526 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10527 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10528 RS6000_DOUBLE_FIXIDX,
10529 RS6000_FCHMOD_FIXIDX,
10530 RS6000_PARAM_FIXIDX,
10531 SOLARIS___RESTRICT_FIXIDX,
10532 SOLARIS_COMPLEX_FIXIDX,
10533 SOLARIS_COMPLEX_CXX_FIXIDX,
10534 SOLARIS_CXX_LINKAGE_FIXIDX,
10535 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10536 SOLARIS_GETS_C11_FIXIDX,
10537 SOLARIS_GETS_CXX14_FIXIDX,
10538 SOLARIS_INT_CONST_FIXIDX,
10539 SOLARIS_INT_LIMITS_1_FIXIDX,
10540 SOLARIS_INT_LIMITS_2_FIXIDX,
10541 SOLARIS_INT_LIMITS_3_FIXIDX,
10542 SOLARIS_MATH_1_FIXIDX,
10543 SOLARIS_MATH_10_FIXIDX,
10544 SOLARIS_MATH_2_FIXIDX,
10545 SOLARIS_MATH_3_FIXIDX,
10546 SOLARIS_MATH_4_FIXIDX,
10547 SOLARIS_MATH_8_FIXIDX,
10548 SOLARIS_MATH_9_FIXIDX,
10549 SOLARIS_MATH_11_FIXIDX,
10550 SOLARIS_MATH_12_FIXIDX,
10551 SOLARIS_ONCE_INIT_1_FIXIDX,
10552 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10553 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10554 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10555 SOLARIS_STD___FILBUF_FIXIDX,
10556 SOLARIS_STD_GETS_CXX14_FIXIDX,
10557 SOLARIS_STDIO_TAG_FIXIDX,
10558 SOLARIS_STDLIB_NORETURN_FIXIDX,
10560 STDIO_STDARG_H_FIXIDX,
10561 STDIO_VA_LIST_FIXIDX,
10562 STDIO_VA_LIST_CLIENTS_FIXIDX,
10563 STRICT_ANSI_NOT_FIXIDX,
10564 STRICT_ANSI_NOT_CTD_FIXIDX,
10565 STRICT_ANSI_ONLY_FIXIDX,
10566 STRUCT_FILE_FIXIDX,
10567 STRUCT_SOCKADDR_FIXIDX,
10568 SUN_AUTH_PROTO_FIXIDX,
10569 SUN_BOGUS_IFDEF_FIXIDX,
10570 SUN_CATMACRO_FIXIDX,
10572 SUN_RUSERS_SEMI_FIXIDX,
10574 SUNOS_STRLEN_FIXIDX,
10575 SUSE_LINUX_VT_CXX_FIXIDX,
10576 SVR4_DISABLE_OPT_FIXIDX,
10577 SVR4_GETCWD_FIXIDX,
10578 SVR4_PROFIL_FIXIDX,
10579 SVR4_SIGHANDLER_TYPE_FIXIDX,
10580 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10581 SYSV68_STRING_FIXIDX,
10582 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10583 THREAD_KEYWORD_FIXIDX,
10584 TINFO_CPLUSPLUS_FIXIDX,
10585 ULTRIX_CONST_FIXIDX,
10586 ULTRIX_CONST2_FIXIDX,
10587 VA_I960_MACRO_FIXIDX,
10588 VMS_ADD_MISSING_BRACES_FIXIDX,
10589 VMS_DECC_BUILTIN_FIXIDX,
10590 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10591 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10592 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10593 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10594 VMS_NO_64BIT_GETOPT_FIXIDX,
10595 VMS_USE_FAST_SETJMP_FIXIDX,
10596 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10597 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10599 VXWORKS_GCC_PROBLEM_FIXIDX,
10600 VXWORKS_IOCTL_MACRO_FIXIDX,
10601 VXWORKS_MKDIR_MACRO_FIXIDX,
10602 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10603 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10604 VXWORKS_REGS_FIXIDX,
10605 VXWORKS_TIME_FIXIDX,
10606 VXWORKS_WRITE_CONST_FIXIDX,
10607 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10609 X11_CLASS_USAGE_FIXIDX,
10614 tFixDesc fixDescList[ FIX_COUNT ] = {
10615 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10616 apzAab_Aix_StdioMachs,
10617 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10618 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10620 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10621 apzAab_Aix_FcntlMachs,
10622 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10623 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10625 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10626 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10627 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10628 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10630 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10631 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10632 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10633 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10635 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10636 apzAab_Fd_Zero_Gnu_Types_HMachs,
10637 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10638 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10640 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10641 apzAab_Fd_Zero_Selectbits_HMachs,
10642 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10643 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10645 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10646 apzAab_Solaris_Sys_Varargs_HMachs,
10647 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10648 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10650 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10651 apzAab_Sun_MemcpyMachs,
10652 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10653 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10655 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10656 apzAab_Vxworks_AssertMachs,
10657 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10658 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10660 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10661 apzAab_Vxworks_Regs_VxtypesMachs,
10662 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10663 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10665 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10666 apzAab_Vxworks_UnistdMachs,
10667 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10668 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10670 { zAix_AssertName, zAix_AssertList,
10671 apzAix_AssertMachs,
10672 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10673 aAix_AssertTests, apzAix_AssertPatch, 0 },
10675 { zAix_ComplexName, zAix_ComplexList,
10676 apzAix_ComplexMachs,
10677 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10678 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10680 { zAix_ExterncName, zAix_ExterncList,
10681 apzAix_ExterncMachs,
10682 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10683 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10685 { zAix_Externcpp1Name, zAix_Externcpp1List,
10686 apzAix_Externcpp1Machs,
10687 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10688 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10690 { zAix_Externcpp2Name, zAix_Externcpp2List,
10691 apzAix_Externcpp2Machs,
10692 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10693 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10695 { zAix_MallocName, zAix_MallocList,
10696 apzAix_MallocMachs,
10697 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10698 aAix_MallocTests, apzAix_MallocPatch, 0 },
10700 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10701 apzAix_Net_If_ArpMachs,
10702 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10703 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10705 { zAix_NullName, zAix_NullList,
10707 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10708 aAix_NullTests, apzAix_NullPatch, 0 },
10710 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10711 apzAix_Once_Init_1Machs,
10712 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10713 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10715 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10716 apzAix_Once_Init_2Machs,
10717 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10718 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10720 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10721 apzAix_Mutex_Initializer_1Machs,
10722 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10723 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10725 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10726 apzAix_Cond_Initializer_1Machs,
10727 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10728 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10730 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10731 apzAix_Rwlock_Initializer_1Machs,
10732 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10733 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10735 { zAix_PthreadName, zAix_PthreadList,
10736 apzAix_PthreadMachs,
10737 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10738 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10740 { zAix_Stdint_1Name, zAix_Stdint_1List,
10741 apzAix_Stdint_1Machs,
10742 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10743 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10745 { zAix_Stdint_2Name, zAix_Stdint_2List,
10746 apzAix_Stdint_2Machs,
10747 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10748 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10750 { zAix_Stdint_3Name, zAix_Stdint_3List,
10751 apzAix_Stdint_3Machs,
10752 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10753 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10755 { zAix_Stdint_4Name, zAix_Stdint_4List,
10756 apzAix_Stdint_4Machs,
10757 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10758 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10760 { zAix_Stdint_5Name, zAix_Stdint_5List,
10761 apzAix_Stdint_5Machs,
10762 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10763 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10765 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10766 apzAix_Stdio_InlineMachs,
10767 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10768 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10770 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10771 apzAix_Stdlib_MallocMachs,
10772 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10773 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10775 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10776 apzAix_Stdlib_ReallocMachs,
10777 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10778 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10780 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10781 apzAix_Stdlib_CallocMachs,
10782 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10783 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10785 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10786 apzAix_Stdlib_VallocMachs,
10787 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10788 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10790 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
10791 apzAix_Stdlib_Vec_MallocMachs,
10792 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10793 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
10795 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
10796 apzAix_Stdlib_Vec_CallocMachs,
10797 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10798 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
10800 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10801 apzAix_Strtof_ConstMachs,
10802 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10803 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10805 { zAix_SysmachineName, zAix_SysmachineList,
10806 apzAix_SysmachineMachs,
10807 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10808 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10810 { zAix_Syswait_2Name, zAix_Syswait_2List,
10811 apzAix_Syswait_2Machs,
10812 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10813 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10815 { zAix_VolatileName, zAix_VolatileList,
10816 apzAix_VolatileMachs,
10817 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10818 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10820 { zAix_UnistdName, zAix_UnistdList,
10821 apzAix_UnistdMachs,
10822 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10823 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
10825 { zAlpha___AssertName, zAlpha___AssertList,
10826 apzAlpha___AssertMachs,
10827 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10828 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10830 { zAlpha_AssertName, zAlpha_AssertList,
10831 apzAlpha_AssertMachs,
10832 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10833 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10835 { zAlpha_GetoptName, zAlpha_GetoptList,
10836 apzAlpha_GetoptMachs,
10837 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10838 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10840 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10841 apzAlpha_If_SemicolonMachs,
10842 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10843 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10845 { zAlpha_ParensName, zAlpha_ParensList,
10846 apzAlpha_ParensMachs,
10847 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10848 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10850 { zAlpha_SbrkName, zAlpha_SbrkList,
10851 apzAlpha_SbrkMachs,
10852 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10853 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10855 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10856 apzAvoid_Bool_DefineMachs,
10857 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10858 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
10860 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
10861 apzAvoid_Bool_TypeMachs,
10862 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10863 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
10865 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
10866 apzAvoid_Wchar_T_TypeMachs,
10867 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10868 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
10870 { zBad_Struct_TermName, zBad_Struct_TermList,
10871 apzBad_Struct_TermMachs,
10872 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10873 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
10875 { zBadquoteName, zBadquoteList,
10877 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10878 aBadquoteTests, apzBadquotePatch, 0 },
10880 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
10881 apzBroken_Assert_StdioMachs,
10882 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10883 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
10885 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
10886 apzBroken_Assert_StdlibMachs,
10887 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10888 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
10890 { zBroken_CabsName, zBroken_CabsList,
10891 apzBroken_CabsMachs,
10892 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10893 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
10895 { zBroken_NanName, zBroken_NanList,
10896 apzBroken_NanMachs,
10897 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10898 aBroken_NanTests, apzBroken_NanPatch, 0 },
10900 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
10901 apzBsd_Stdio_Attrs_ConflictMachs,
10902 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10903 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10905 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
10906 apzCtrl_Quotes_DefMachs,
10907 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10908 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
10910 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
10911 apzCtrl_Quotes_UseMachs,
10912 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10913 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
10915 { zCxx_UnreadyName, zCxx_UnreadyList,
10916 apzCxx_UnreadyMachs,
10917 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10918 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
10920 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
10921 apzDarwin_AvailabilityinternalMachs,
10922 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10923 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
10925 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
10926 apzDarwin_9_Long_Double_Funcs_2Machs,
10927 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10928 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10930 { zDarwin_ExterncName, zDarwin_ExterncList,
10931 apzDarwin_ExterncMachs,
10932 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10933 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
10935 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
10936 apzDarwin_Gcc4_BreakageMachs,
10937 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10938 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
10940 { zDarwin_Ll_Funcs_AvailName, zDarwin_Ll_Funcs_AvailList,
10941 apzDarwin_Ll_Funcs_AvailMachs,
10942 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
10943 aDarwin_Ll_Funcs_AvailTests, apzDarwin_Ll_Funcs_AvailPatch, 0 },
10945 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
10946 apzDarwin_Longjmp_NoreturnMachs,
10947 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10948 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
10950 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
10951 apzDarwin_Os_Trace_1Machs,
10952 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10953 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
10955 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
10956 apzDarwin_Os_Trace_2Machs,
10957 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10958 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
10960 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
10961 apzDarwin_Os_Trace_3Machs,
10962 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10963 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
10965 { zDarwin_Os_Base_1Name, zDarwin_Os_Base_1List,
10966 apzDarwin_Os_Base_1Machs,
10967 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10968 aDarwin_Os_Base_1Tests, apzDarwin_Os_Base_1Patch, 0 },
10970 { zDarwin_Dispatch_Object_1Name, zDarwin_Dispatch_Object_1List,
10971 apzDarwin_Dispatch_Object_1Machs,
10972 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10973 aDarwin_Dispatch_Object_1Tests, apzDarwin_Dispatch_Object_1Patch, 0 },
10975 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
10976 apzDarwin_Private_ExternMachs,
10977 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10978 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
10980 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
10981 apzDarwin_Stdint_1Machs,
10982 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10983 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
10985 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
10986 apzDarwin_Stdint_2Machs,
10987 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10988 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
10990 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
10991 apzDarwin_Stdint_3Machs,
10992 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10993 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
10995 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
10996 apzDarwin_Stdint_4Machs,
10997 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10998 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
11000 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
11001 apzDarwin_Stdint_5Machs,
11002 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11003 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
11005 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
11006 apzDarwin_Stdint_6Machs,
11007 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11008 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
11010 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
11011 apzDarwin_Stdint_7Machs,
11012 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11013 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
11015 { zDarwin_Ucred__AtomicName, zDarwin_Ucred__AtomicList,
11016 apzDarwin_Ucred__AtomicMachs,
11017 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11018 aDarwin_Ucred__AtomicTests, apzDarwin_Ucred__AtomicPatch, 0 },
11020 { zDec_Intern_AsmName, zDec_Intern_AsmList,
11021 apzDec_Intern_AsmMachs,
11022 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11023 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
11025 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
11026 apzDjgpp_Wchar_HMachs,
11027 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11028 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
11030 { zEcd_CursorName, zEcd_CursorList,
11031 apzEcd_CursorMachs,
11032 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11033 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
11035 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
11036 apzFeraiseexcept_Nosse_DivbyzeroMachs,
11037 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11038 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11040 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
11041 apzFeraiseexcept_Nosse_InvalidMachs,
11042 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11043 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11045 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
11046 apzFreebsd_Gcc3_BreakageMachs,
11047 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11048 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
11050 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
11051 apzFreebsd_Gcc4_BreakageMachs,
11052 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11053 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
11055 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
11056 apzGlibc_C99_Inline_1Machs,
11057 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11058 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
11060 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
11061 apzGlibc_C99_Inline_1aMachs,
11062 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11063 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
11065 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
11066 apzGlibc_C99_Inline_2Machs,
11067 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11068 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
11070 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
11071 apzGlibc_C99_Inline_3Machs,
11072 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11073 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
11075 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
11076 apzGlibc_C99_Inline_4Machs,
11077 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11078 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
11080 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
11081 apzGlibc_Mutex_InitMachs,
11082 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11083 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
11085 { zGlibc_StdintName, zGlibc_StdintList,
11086 apzGlibc_StdintMachs,
11087 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11088 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
11090 { zGlibc_StrncpyName, zGlibc_StrncpyList,
11091 apzGlibc_StrncpyMachs,
11092 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11093 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
11095 { zGlibc_TgmathName, zGlibc_TgmathList,
11096 apzGlibc_TgmathMachs,
11097 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11098 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
11100 { zGnu_TypesName, zGnu_TypesList,
11102 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11103 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
11105 { zHp_InlineName, zHp_InlineList,
11107 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11108 aHp_InlineTests, apzHp_InlinePatch, 0 },
11110 { zHp_SysfileName, zHp_SysfileList,
11111 apzHp_SysfileMachs,
11112 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11113 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
11115 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
11116 apzHppa_Hpux_Fp_MacrosMachs,
11117 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11118 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
11120 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
11121 apzHpux10_Cpp_Pow_InlineMachs,
11122 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11123 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
11125 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
11126 apzHpux11_Cpp_Pow_InlineMachs,
11127 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11128 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
11130 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
11131 apzHpux10_Ctype_Declarations1Machs,
11132 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11133 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
11135 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
11136 apzHpux10_Ctype_Declarations2Machs,
11137 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11138 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
11140 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
11141 apzHpux10_Stdio_DeclarationsMachs,
11142 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11143 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
11145 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
11146 apzHppa_Hpux11_AllocaMachs,
11147 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11148 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
11150 { zHpux11_AbsName, zHpux11_AbsList,
11151 apzHpux11_AbsMachs,
11152 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11153 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
11155 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
11156 apzHpux11_Lwp_Rwlock_ValidMachs,
11157 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11158 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
11160 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
11161 apzHpux11_Extern_SendfileMachs,
11162 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11163 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
11165 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
11166 apzHpux11_Extern_SendpathMachs,
11167 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11168 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
11170 { zHpux11_FabsfName, zHpux11_FabsfList,
11171 apzHpux11_FabsfMachs,
11172 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11173 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
11175 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
11176 apzHpux11_Pthread_PointerMachs,
11177 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11178 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
11180 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
11181 apzHpux11_Pthread_ConstMachs,
11182 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11183 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
11185 { zHpux11_Size_TName, zHpux11_Size_TList,
11186 apzHpux11_Size_TMachs,
11187 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11188 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
11190 { zHpux11_SnprintfName, zHpux11_SnprintfList,
11191 apzHpux11_SnprintfMachs,
11192 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11193 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11195 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11196 apzHpux11_VsnprintfMachs,
11197 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11198 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11200 { zHpux_VsscanfName, zHpux_VsscanfList,
11201 apzHpux_VsscanfMachs,
11202 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11203 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11205 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11206 apzHpux8_Bogus_InlinesMachs,
11207 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11208 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11210 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11211 apzHpux_C99_IntptrMachs,
11212 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11213 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11215 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11216 apzHpux_C99_InttypesMachs,
11217 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11218 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11220 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11221 apzHpux_C99_Inttypes2Machs,
11222 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11223 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11225 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11226 apzHpux_Ctype_MacrosMachs,
11227 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11228 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11230 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11231 apzHpux_Extern_ErrnoMachs,
11232 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11233 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11235 { zHpux_HtonlName, zHpux_HtonlList,
11236 apzHpux_HtonlMachs,
11237 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11238 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11240 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11241 apzHpux_Imaginary_IMachs,
11242 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11243 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11245 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11246 apzHpux_Inttype_Int8_TMachs,
11247 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11248 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11250 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11251 apzHpux_Long_DoubleMachs,
11252 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11253 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11255 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11256 apzHpux_Long_Double_2Machs,
11257 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11258 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11260 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11261 apzHpux_Pthread_InitializersMachs,
11262 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11263 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11265 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11266 apzHpux_Spu_InfoMachs,
11267 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11268 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11270 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11271 apzHpux_Stdint_Least_FastMachs,
11272 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11273 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11275 { zHpux_LongjmpName, zHpux_LongjmpList,
11276 apzHpux_LongjmpMachs,
11277 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11278 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11280 { zHpux_SystimeName, zHpux_SystimeList,
11281 apzHpux_SystimeMachs,
11282 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11283 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11285 { zHuge_Val_HexName, zHuge_Val_HexList,
11286 apzHuge_Val_HexMachs,
11287 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11288 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11290 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11291 apzHuge_Valf_HexMachs,
11292 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11293 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11295 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11296 apzHuge_Vall_HexMachs,
11297 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11298 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11300 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11301 apzInt_Abort_Free_And_ExitMachs,
11302 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11303 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11305 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11306 apzIo_Quotes_DefMachs,
11307 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11308 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11310 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11311 apzIo_Quotes_UseMachs,
11312 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11313 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11315 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11316 apzIp_Missing_SemiMachs,
11317 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11318 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11320 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11321 apzIrix_Limits_ConstMachs,
11322 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11323 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11325 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11326 apzIrix_Stdio_Va_ListMachs,
11327 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11328 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11330 { zKandr_ConcatName, zKandr_ConcatList,
11331 apzKandr_ConcatMachs,
11332 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11333 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11335 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11336 apzLinux_Ia64_UcontextMachs,
11337 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11338 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11340 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11341 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11342 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11343 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11345 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11346 apzLynxos_Missing_PutenvMachs,
11347 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11348 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11350 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11351 apzMachine_Ansi_H_Va_ListMachs,
11352 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11353 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11355 { zMachine_NameName, zMachine_NameList,
11356 apzMachine_NameMachs,
11357 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11358 aMachine_NameTests, apzMachine_NamePatch, 0 },
11360 { zMath_ExceptionName, zMath_ExceptionList,
11361 apzMath_ExceptionMachs,
11362 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11363 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11365 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11366 apzMath_Huge_Val_From_Dbl_MaxMachs,
11367 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11368 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11370 { zNested_Auth_DesName, zNested_Auth_DesList,
11371 apzNested_Auth_DesMachs,
11372 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11373 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11375 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11376 apzNetbsd_C99_Inline_1Machs,
11377 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11378 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11380 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11381 apzNetbsd_C99_Inline_2Machs,
11382 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11383 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11385 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11386 apzNetbsd_Extra_SemicolonMachs,
11387 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11388 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11390 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11391 apzNewlib_Stdint_1Machs,
11392 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11393 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11395 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11396 apzNewlib_Stdint_2Machs,
11397 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11398 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11400 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11401 apzNext_Math_PrefixMachs,
11402 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11403 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11405 { zNext_TemplateName, zNext_TemplateList,
11406 apzNext_TemplateMachs,
11407 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11408 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11410 { zNext_VolitileName, zNext_VolitileList,
11411 apzNext_VolitileMachs,
11412 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11413 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11415 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11416 apzNext_Wait_UnionMachs,
11417 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11418 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11420 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11421 apzNodeent_SyntaxMachs,
11422 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11423 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11425 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11426 apzOpenbsd_Null_DefinitionMachs,
11427 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11428 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11430 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11431 apzObstack_Lvalue_CastMachs,
11432 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11433 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11435 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11436 apzOpenbsd_Va_StartMachs,
11437 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11438 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11440 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11441 apzOsf_Namespace_AMachs,
11442 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11443 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11445 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11446 apzOsf_Namespace_CMachs,
11447 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11448 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11450 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11451 apzPthread_Incomplete_Struct_ArgumentMachs,
11452 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11453 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11455 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11456 apzRead_Ret_TypeMachs,
11457 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11458 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11460 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11461 apzRpc_Xdr_Lvalue_Cast_AMachs,
11462 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11463 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11465 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11466 apzRpc_Xdr_Lvalue_Cast_BMachs,
11467 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11468 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11470 { zRs6000_DoubleName, zRs6000_DoubleList,
11471 apzRs6000_DoubleMachs,
11472 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11473 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11475 { zRs6000_FchmodName, zRs6000_FchmodList,
11476 apzRs6000_FchmodMachs,
11477 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11478 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11480 { zRs6000_ParamName, zRs6000_ParamList,
11481 apzRs6000_ParamMachs,
11482 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11483 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11485 { zSolaris___RestrictName, zSolaris___RestrictList,
11486 apzSolaris___RestrictMachs,
11487 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11488 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11490 { zSolaris_ComplexName, zSolaris_ComplexList,
11491 apzSolaris_ComplexMachs,
11492 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11493 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11495 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11496 apzSolaris_Complex_CxxMachs,
11497 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11498 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11500 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11501 apzSolaris_Cxx_LinkageMachs,
11502 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11503 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11505 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11506 apzSolaris_Getc_Strict_StdcMachs,
11507 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11508 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11510 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11511 apzSolaris_Gets_C11Machs,
11512 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11513 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11515 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11516 apzSolaris_Gets_Cxx14Machs,
11517 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11518 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11520 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11521 apzSolaris_Int_ConstMachs,
11522 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11523 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11525 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11526 apzSolaris_Int_Limits_1Machs,
11527 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11528 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11530 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11531 apzSolaris_Int_Limits_2Machs,
11532 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11533 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11535 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11536 apzSolaris_Int_Limits_3Machs,
11537 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11538 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11540 { zSolaris_Math_1Name, zSolaris_Math_1List,
11541 apzSolaris_Math_1Machs,
11542 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11543 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11545 { zSolaris_Math_10Name, zSolaris_Math_10List,
11546 apzSolaris_Math_10Machs,
11547 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11548 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11550 { zSolaris_Math_2Name, zSolaris_Math_2List,
11551 apzSolaris_Math_2Machs,
11552 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11553 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11555 { zSolaris_Math_3Name, zSolaris_Math_3List,
11556 apzSolaris_Math_3Machs,
11557 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11558 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11560 { zSolaris_Math_4Name, zSolaris_Math_4List,
11561 apzSolaris_Math_4Machs,
11562 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11563 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11565 { zSolaris_Math_8Name, zSolaris_Math_8List,
11566 apzSolaris_Math_8Machs,
11567 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11568 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11570 { zSolaris_Math_9Name, zSolaris_Math_9List,
11571 apzSolaris_Math_9Machs,
11572 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11573 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11575 { zSolaris_Math_11Name, zSolaris_Math_11List,
11576 apzSolaris_Math_11Machs,
11577 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11578 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11580 { zSolaris_Math_12Name, zSolaris_Math_12List,
11581 apzSolaris_Math_12Machs,
11582 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11583 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11585 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11586 apzSolaris_Once_Init_1Machs,
11587 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11588 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11590 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11591 apzSolaris_Posix_Spawn_RestrictMachs,
11592 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11593 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11595 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11596 apzSolaris_Pow_Int_OverloadMachs,
11597 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11598 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11600 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11601 apzSolaris_Rwlock_Init_1Machs,
11602 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11603 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11605 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11606 apzSolaris_Std___FilbufMachs,
11607 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11608 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11610 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11611 apzSolaris_Std_Gets_Cxx14Machs,
11612 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11613 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11615 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11616 apzSolaris_Stdio_TagMachs,
11617 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11618 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11620 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11621 apzSolaris_Stdlib_NoreturnMachs,
11622 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11623 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11625 { zStatsswtchName, zStatsswtchList,
11626 apzStatsswtchMachs,
11627 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11628 aStatsswtchTests, apzStatsswtchPatch, 0 },
11630 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11631 apzStdio_Stdarg_HMachs,
11632 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11633 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11635 { zStdio_Va_ListName, zStdio_Va_ListList,
11636 apzStdio_Va_ListMachs,
11637 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11638 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11640 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11641 apzStdio_Va_List_ClientsMachs,
11642 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11643 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11645 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11646 apzStrict_Ansi_NotMachs,
11647 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11648 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11650 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11651 apzStrict_Ansi_Not_CtdMachs,
11652 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11653 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11655 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11656 apzStrict_Ansi_OnlyMachs,
11657 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11658 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11660 { zStruct_FileName, zStruct_FileList,
11661 apzStruct_FileMachs,
11662 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11663 aStruct_FileTests, apzStruct_FilePatch, 0 },
11665 { zStruct_SockaddrName, zStruct_SockaddrList,
11666 apzStruct_SockaddrMachs,
11667 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11668 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11670 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11671 apzSun_Auth_ProtoMachs,
11672 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11673 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11675 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11676 apzSun_Bogus_IfdefMachs,
11677 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11678 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11680 { zSun_CatmacroName, zSun_CatmacroList,
11681 apzSun_CatmacroMachs,
11682 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11683 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11685 { zSun_MallocName, zSun_MallocList,
11686 apzSun_MallocMachs,
11687 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11688 aSun_MallocTests, apzSun_MallocPatch, 0 },
11690 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11691 apzSun_Rusers_SemiMachs,
11692 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11693 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11695 { zSun_SignalName, zSun_SignalList,
11696 apzSun_SignalMachs,
11697 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11698 aSun_SignalTests, apzSun_SignalPatch, 0 },
11700 { zSunos_StrlenName, zSunos_StrlenList,
11701 apzSunos_StrlenMachs,
11702 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11703 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11705 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11706 apzSuse_Linux_Vt_CxxMachs,
11707 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11708 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11710 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11711 apzSvr4_Disable_OptMachs,
11712 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11713 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11715 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11716 apzSvr4_GetcwdMachs,
11717 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11718 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11720 { zSvr4_ProfilName, zSvr4_ProfilList,
11721 apzSvr4_ProfilMachs,
11722 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11723 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11725 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11726 apzSvr4_Sighandler_TypeMachs,
11727 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11728 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11730 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11731 apzSvr4_Undeclared_GetrngeMachs,
11732 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11733 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11735 { zSysv68_StringName, zSysv68_StringList,
11736 apzSysv68_StringMachs,
11737 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11738 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11740 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11741 apzSysz_Stdlib_For_SunMachs,
11742 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11743 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11745 { zThread_KeywordName, zThread_KeywordList,
11746 apzThread_KeywordMachs,
11747 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11748 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11750 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11751 apzTinfo_CplusplusMachs,
11752 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11753 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11755 { zUltrix_ConstName, zUltrix_ConstList,
11756 apzUltrix_ConstMachs,
11757 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11758 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11760 { zUltrix_Const2Name, zUltrix_Const2List,
11761 apzUltrix_Const2Machs,
11762 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11763 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11765 { zVa_I960_MacroName, zVa_I960_MacroList,
11766 apzVa_I960_MacroMachs,
11767 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11768 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11770 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11771 apzVms_Add_Missing_BracesMachs,
11772 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11773 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11775 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11776 apzVms_Decc_BuiltinMachs,
11777 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11778 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11780 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11781 apzVms_Define_Can_Use_Extern_PrefixMachs,
11782 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11783 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11785 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11786 apzVms_Disable_Decc_String_BuiltinsMachs,
11787 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11788 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11790 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11791 apzVms_Do_Not_Redeclare_HostaliasMachs,
11792 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11793 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11795 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11796 apzVms_Forward_Declare_StructMachs,
11797 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11798 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11800 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11801 apzVms_No_64bit_GetoptMachs,
11802 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11803 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11805 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11806 apzVms_Use_Fast_SetjmpMachs,
11807 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11808 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11810 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11811 apzVms_Use_Pragma_Extern_ModelMachs,
11812 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11813 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11815 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11816 apzVms_Use_Quoted_IncludeMachs,
11817 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11818 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11820 { zVoid_NullName, zVoid_NullList,
11822 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11823 aVoid_NullTests, apzVoid_NullPatch, 0 },
11825 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11826 apzVxworks_Gcc_ProblemMachs,
11827 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11828 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11830 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11831 apzVxworks_Ioctl_MacroMachs,
11832 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11833 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11835 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11836 apzVxworks_Mkdir_MacroMachs,
11837 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11838 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11840 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11841 apzVxworks_Needs_VxtypesMachs,
11842 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11843 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11845 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11846 apzVxworks_Needs_VxworksMachs,
11847 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11848 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
11850 { zVxworks_RegsName, zVxworks_RegsList,
11851 apzVxworks_RegsMachs,
11852 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11853 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
11855 { zVxworks_TimeName, zVxworks_TimeList,
11856 apzVxworks_TimeMachs,
11857 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11858 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
11860 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
11861 apzVxworks_Write_ConstMachs,
11862 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11863 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
11865 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
11866 apzVxworks_Iolib_Include_UnistdMachs,
11867 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11868 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
11870 { zX11_ClassName, zX11_ClassList,
11872 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11873 aX11_ClassTests, apzX11_ClassPatch, 0 },
11875 { zX11_Class_UsageName, zX11_Class_UsageList,
11876 apzX11_Class_UsageMachs,
11877 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11878 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
11880 { zX11_NewName, zX11_NewList,
11882 X11_NEW_TEST_CT, FD_MACH_ONLY,
11883 aX11_NewTests, apzX11_NewPatch, 0 },
11885 { zX11_SprintfName, zX11_SprintfList,
11886 apzX11_SprintfMachs,
11887 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11888 aX11_SprintfTests, apzX11_SprintfPatch, 0 }