1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed July 23, 2018 at 07:27:34 PM by AutoGen 5.18
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Mon Jul 23 19:27:34 UTC 2018
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 251 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 #include <types/vxTypesOld.h>\n\
583 #include_next <arch/../regs.h>\n\
587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
589 * Description of Aab_Vxworks_Unistd fix
591 tSCC zAab_Vxworks_UnistdName[] =
592 "AAB_vxworks_unistd";
595 * File name selection pattern
597 tSCC zAab_Vxworks_UnistdList[] =
600 * Machine/OS name selection pattern
602 tSCC* apzAab_Vxworks_UnistdMachs[] = {
605 #define AAB_VXWORKS_UNISTD_TEST_CT 0
606 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
609 * Fix Command Arguments for Aab_Vxworks_Unistd
611 static const char* apzAab_Vxworks_UnistdPatch[] = {
612 "#ifndef _UNISTD_H\n\
614 #include_next <unistd.h>\n\
615 #include <ioLib.h>\n\
616 #ifndef STDIN_FILENO\n\
617 #define STDIN_FILENO 0\n\
619 #ifndef STDOUT_FILENO\n\
620 #define STDOUT_FILENO 1\n\
622 #ifndef STDERR_FILENO\n\
623 #define STDERR_FILENO 2\n\
625 #endif /* _UNISTD_H */",
628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
630 * Description of Aix_Assert fix
632 tSCC zAix_AssertName[] =
636 * File name selection pattern
638 tSCC zAix_AssertList[] =
641 * Machine/OS name selection pattern
643 tSCC* apzAix_AssertMachs[] = {
648 * content selection pattern - do fix if pattern found
650 tSCC zAix_AssertSelect0[] =
651 "#define[ \t]static_assert[ \t]_Static_assert";
653 #define AIX_ASSERT_TEST_CT 1
654 static tTestDesc aAix_AssertTests[] = {
655 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
658 * Fix Command Arguments for Aix_Assert
660 static const char* apzAix_AssertPatch[] = {
662 "#ifndef __cplusplus\n\
667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
669 * Description of Aix_Complex fix
671 tSCC zAix_ComplexName[] =
675 * File name selection pattern
677 tSCC zAix_ComplexList[] =
680 * Machine/OS name selection pattern
682 tSCC* apzAix_ComplexMachs[] = {
687 * content selection pattern - do fix if pattern found
689 tSCC zAix_ComplexSelect0[] =
690 "#define[ \t]_Complex_I[ \t]__I";
692 #define AIX_COMPLEX_TEST_CT 1
693 static tTestDesc aAix_ComplexTests[] = {
694 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
697 * Fix Command Arguments for Aix_Complex
699 static const char* apzAix_ComplexPatch[] = {
701 "#define _Complex_I (__extension__ 1.0iF)",
704 /* * * * * * * * * * * * * * * * * * * * * * * * * *
706 * Description of Aix_Externc fix
708 tSCC zAix_ExterncName[] =
712 * File name selection pattern
714 tSCC zAix_ExterncList[] =
715 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
717 * Machine/OS name selection pattern
719 tSCC* apzAix_ExterncMachs[] = {
724 * content bypass pattern - skip fix if pattern found
726 tSCC zAix_ExterncBypass0[] =
729 #define AIX_EXTERNC_TEST_CT 1
730 static tTestDesc aAix_ExterncTests[] = {
731 { TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
734 * Fix Command Arguments for Aix_Externc
736 static const char* apzAix_ExterncPatch[] = {
738 "#ifdef __cplusplus\n\
741 "#ifdef __cplusplus\n\
746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
748 * Description of Aix_Externcpp1 fix
750 tSCC zAix_Externcpp1Name[] =
754 * File name selection pattern
756 tSCC zAix_Externcpp1List[] =
759 * Machine/OS name selection pattern
761 tSCC* apzAix_Externcpp1Machs[] = {
766 * content selection pattern - do fix if pattern found
768 tSCC zAix_Externcpp1Select0[] =
769 "#ifdef __cplusplus";
771 #define AIX_EXTERNCPP1_TEST_CT 1
772 static tTestDesc aAix_Externcpp1Tests[] = {
773 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
776 * Fix Command Arguments for Aix_Externcpp1
778 static const char* apzAix_Externcpp1Patch[] = {
780 "#ifdef __cplusplus\n\
784 /* * * * * * * * * * * * * * * * * * * * * * * * * *
786 * Description of Aix_Externcpp2 fix
788 tSCC zAix_Externcpp2Name[] =
792 * File name selection pattern
794 tSCC zAix_Externcpp2List[] =
797 * Machine/OS name selection pattern
799 tSCC* apzAix_Externcpp2Machs[] = {
804 * content selection pattern - do fix if pattern found
806 tSCC zAix_Externcpp2Select0[] =
807 "#else /\\* __cplusplus \\*/";
809 #define AIX_EXTERNCPP2_TEST_CT 1
810 static tTestDesc aAix_Externcpp2Tests[] = {
811 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
814 * Fix Command Arguments for Aix_Externcpp2
816 static const char* apzAix_Externcpp2Patch[] = {
818 "} /* extern \"C++\" */\n\
819 #else /* __cplusplus */",
822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
824 * Description of Aix_Malloc fix
826 tSCC zAix_MallocName[] =
830 * File name selection pattern
832 tSCC zAix_MallocList[] =
835 * Machine/OS name selection pattern
837 tSCC* apzAix_MallocMachs[] = {
842 * content selection pattern - do fix if pattern found
844 tSCC zAix_MallocSelect0[] =
845 "#ifdef __cplusplus";
847 #define AIX_MALLOC_TEST_CT 1
848 static tTestDesc aAix_MallocTests[] = {
849 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
852 * Fix Command Arguments for Aix_Malloc
854 static const char* apzAix_MallocPatch[] = {
856 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
861 * Description of Aix_Net_If_Arp fix
863 tSCC zAix_Net_If_ArpName[] =
867 * File name selection pattern
869 tSCC zAix_Net_If_ArpList[] =
872 * Machine/OS name selection pattern
874 tSCC* apzAix_Net_If_ArpMachs[] = {
879 * content selection pattern - do fix if pattern found
881 tSCC zAix_Net_If_ArpSelect0[] =
882 "^struct fc_softc \\{";
884 #define AIX_NET_IF_ARP_TEST_CT 1
885 static tTestDesc aAix_Net_If_ArpTests[] = {
886 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
889 * Fix Command Arguments for Aix_Net_If_Arp
891 static const char* apzAix_Net_If_ArpPatch[] = {
893 "typedef struct _fc_softc {",
896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
898 * Description of Aix_Null fix
900 tSCC zAix_NullName[] =
904 * File name selection pattern
906 tSCC zAix_NullList[] =
907 "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";
909 * Machine/OS name selection pattern
911 tSCC* apzAix_NullMachs[] = {
916 * content selection pattern - do fix if pattern found
918 tSCC zAix_NullSelect0[] =
919 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
922 * content bypass pattern - skip fix if pattern found
924 tSCC zAix_NullBypass0[] =
927 #define AIX_NULL_TEST_CT 2
928 static tTestDesc aAix_NullTests[] = {
929 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
930 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
933 * Fix Command Arguments for Aix_Null
935 static const char* apzAix_NullPatch[] = {
938 #ifdef __cplusplus\n\
940 #define NULL __null\n\
941 #else /* ! __GNUG__ */\n\
943 #endif /* __GNUG__ */\n\
944 #else /* ! __cplusplus */\n\
945 #define NULL ((void *)0)\n\
946 #endif /* __cplusplus */\n\
950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
952 * Description of Aix_Once_Init_1 fix
954 tSCC zAix_Once_Init_1Name[] =
958 * File name selection pattern
960 tSCC zAix_Once_Init_1List[] =
963 * Machine/OS name selection pattern
965 tSCC* apzAix_Once_Init_1Machs[] = {
970 * content selection pattern - do fix if pattern found
972 tSCC zAix_Once_Init_1Select0[] =
973 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
976 #define AIX_ONCE_INIT_1_TEST_CT 1
977 static tTestDesc aAix_Once_Init_1Tests[] = {
978 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
981 * Fix Command Arguments for Aix_Once_Init_1
983 static const char* apzAix_Once_Init_1Patch[] = {
985 "#define PTHREAD_ONCE_INIT \\\n\
989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
991 * Description of Aix_Once_Init_2 fix
993 tSCC zAix_Once_Init_2Name[] =
997 * File name selection pattern
999 tSCC zAix_Once_Init_2List[] =
1002 * Machine/OS name selection pattern
1004 tSCC* apzAix_Once_Init_2Machs[] = {
1006 (const char*)NULL };
1009 * content selection pattern - do fix if pattern found
1011 tSCC zAix_Once_Init_2Select0[] =
1015 #define AIX_ONCE_INIT_2_TEST_CT 1
1016 static tTestDesc aAix_Once_Init_2Tests[] = {
1017 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1020 * Fix Command Arguments for Aix_Once_Init_2
1022 static const char* apzAix_Once_Init_2Patch[] = {
1028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1030 * Description of Aix_Mutex_Initializer_1 fix
1032 tSCC zAix_Mutex_Initializer_1Name[] =
1033 "aix_mutex_initializer_1";
1036 * File name selection pattern
1038 tSCC zAix_Mutex_Initializer_1List[] =
1041 * Machine/OS name selection pattern
1043 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1045 (const char*)NULL };
1048 * content selection pattern - do fix if pattern found
1050 tSCC zAix_Mutex_Initializer_1Select0[] =
1051 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1054 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1055 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1056 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1059 * Fix Command Arguments for Aix_Mutex_Initializer_1
1061 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1063 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1067 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1069 * Description of Aix_Cond_Initializer_1 fix
1071 tSCC zAix_Cond_Initializer_1Name[] =
1072 "aix_cond_initializer_1";
1075 * File name selection pattern
1077 tSCC zAix_Cond_Initializer_1List[] =
1080 * Machine/OS name selection pattern
1082 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1084 (const char*)NULL };
1087 * content selection pattern - do fix if pattern found
1089 tSCC zAix_Cond_Initializer_1Select0[] =
1090 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1093 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1094 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1095 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1098 * Fix Command Arguments for Aix_Cond_Initializer_1
1100 static const char* apzAix_Cond_Initializer_1Patch[] = {
1102 "#define PTHREAD_COND_INITIALIZER \\\n\
1106 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1108 * Description of Aix_Rwlock_Initializer_1 fix
1110 tSCC zAix_Rwlock_Initializer_1Name[] =
1111 "aix_rwlock_initializer_1";
1114 * File name selection pattern
1116 tSCC zAix_Rwlock_Initializer_1List[] =
1119 * Machine/OS name selection pattern
1121 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1123 (const char*)NULL };
1126 * content selection pattern - do fix if pattern found
1128 tSCC zAix_Rwlock_Initializer_1Select0[] =
1129 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1132 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1133 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1134 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1137 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1139 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1141 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1147 * Description of Aix_Pthread fix
1149 tSCC zAix_PthreadName[] =
1153 * File name selection pattern
1155 tSCC zAix_PthreadList[] =
1158 * Machine/OS name selection pattern
1160 #define apzAix_PthreadMachs (const char**)NULL
1163 * content selection pattern - do fix if pattern found
1165 tSCC zAix_PthreadSelect0[] =
1166 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1170 #define AIX_PTHREAD_TEST_CT 1
1171 static tTestDesc aAix_PthreadTests[] = {
1172 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1175 * Fix Command Arguments for Aix_Pthread
1177 static const char* apzAix_PthreadPatch[] = {
1182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1184 * Description of Aix_Stdint_1 fix
1186 tSCC zAix_Stdint_1Name[] =
1190 * File name selection pattern
1192 tSCC zAix_Stdint_1List[] =
1193 "stdint-aix.h\0stdint.h\0";
1195 * Machine/OS name selection pattern
1197 tSCC* apzAix_Stdint_1Machs[] = {
1199 (const char*)NULL };
1202 * content selection pattern - do fix if pattern found
1204 tSCC zAix_Stdint_1Select0[] =
1205 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1206 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1208 #define AIX_STDINT_1_TEST_CT 1
1209 static tTestDesc aAix_Stdint_1Tests[] = {
1210 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1213 * Fix Command Arguments for Aix_Stdint_1
1215 static const char* apzAix_Stdint_1Patch[] = {
1217 "#define UINT8_MAX\t(255)\n\
1218 #define UINT16_MAX\t(65535)",
1221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1223 * Description of Aix_Stdint_2 fix
1225 tSCC zAix_Stdint_2Name[] =
1229 * File name selection pattern
1231 tSCC zAix_Stdint_2List[] =
1232 "stdint-aix.h\0stdint.h\0";
1234 * Machine/OS name selection pattern
1236 tSCC* apzAix_Stdint_2Machs[] = {
1238 (const char*)NULL };
1241 * content selection pattern - do fix if pattern found
1243 tSCC zAix_Stdint_2Select0[] =
1244 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1245 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1246 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1248 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1249 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1250 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1252 #define AIX_STDINT_2_TEST_CT 1
1253 static tTestDesc aAix_Stdint_2Tests[] = {
1254 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1257 * Fix Command Arguments for Aix_Stdint_2
1259 static const char* apzAix_Stdint_2Patch[] = {
1261 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1262 #define INTPTR_MAX\t9223372036854775807L\n\
1263 #define UINTPTR_MAX\t18446744073709551615UL\n\
1265 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1266 #define INTPTR_MAX\t2147483647L\n\
1267 #define UINTPTR_MAX\t4294967295UL",
1270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1272 * Description of Aix_Stdint_3 fix
1274 tSCC zAix_Stdint_3Name[] =
1278 * File name selection pattern
1280 tSCC zAix_Stdint_3List[] =
1281 "stdint-aix.h\0stdint.h\0";
1283 * Machine/OS name selection pattern
1285 tSCC* apzAix_Stdint_3Machs[] = {
1287 (const char*)NULL };
1290 * content selection pattern - do fix if pattern found
1292 tSCC zAix_Stdint_3Select0[] =
1293 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1294 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1296 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1297 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1299 #define AIX_STDINT_3_TEST_CT 1
1300 static tTestDesc aAix_Stdint_3Tests[] = {
1301 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1304 * Fix Command Arguments for Aix_Stdint_3
1306 static const char* apzAix_Stdint_3Patch[] = {
1308 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1309 #define PTRDIFF_MAX\t9223372036854775807L\n\
1311 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1312 #define PTRDIFF_MAX\t2147483647L",
1315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1317 * Description of Aix_Stdint_4 fix
1319 tSCC zAix_Stdint_4Name[] =
1323 * File name selection pattern
1325 tSCC zAix_Stdint_4List[] =
1326 "stdint-aix.h\0stdint.h\0";
1328 * Machine/OS name selection pattern
1330 tSCC* apzAix_Stdint_4Machs[] = {
1332 (const char*)NULL };
1335 * content selection pattern - do fix if pattern found
1337 tSCC zAix_Stdint_4Select0[] =
1338 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1340 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1342 #define AIX_STDINT_4_TEST_CT 1
1343 static tTestDesc aAix_Stdint_4Tests[] = {
1344 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1347 * Fix Command Arguments for Aix_Stdint_4
1349 static const char* apzAix_Stdint_4Patch[] = {
1351 "#define SIZE_MAX\t18446744073709551615UL\n\
1353 #define SIZE_MAX\t4294967295UL",
1356 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1358 * Description of Aix_Stdint_5 fix
1360 tSCC zAix_Stdint_5Name[] =
1364 * File name selection pattern
1366 tSCC zAix_Stdint_5List[] =
1367 "stdint-aix.h\0stdint.h\0";
1369 * Machine/OS name selection pattern
1371 tSCC* apzAix_Stdint_5Machs[] = {
1373 (const char*)NULL };
1376 * content selection pattern - do fix if pattern found
1378 tSCC zAix_Stdint_5Select0[] =
1379 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1380 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1382 #define AIX_STDINT_5_TEST_CT 1
1383 static tTestDesc aAix_Stdint_5Tests[] = {
1384 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1387 * Fix Command Arguments for Aix_Stdint_5
1389 static const char* apzAix_Stdint_5Patch[] = {
1391 "#define UINT8_C(c)\tc\n\
1392 #define UINT16_C(c)\tc",
1395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1397 * Description of Aix_Stdio_Inline fix
1399 tSCC zAix_Stdio_InlineName[] =
1403 * File name selection pattern
1405 tSCC zAix_Stdio_InlineList[] =
1408 * Machine/OS name selection pattern
1410 tSCC* apzAix_Stdio_InlineMachs[] = {
1412 (const char*)NULL };
1415 * content selection pattern - do fix if pattern found
1417 tSCC zAix_Stdio_InlineSelect0[] =
1418 "#ifdef __cplusplus\\\n\
1423 #define AIX_STDIO_INLINE_TEST_CT 1
1424 static tTestDesc aAix_Stdio_InlineTests[] = {
1425 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1428 * Fix Command Arguments for Aix_Stdio_Inline
1430 static const char* apzAix_Stdio_InlinePatch[] = {
1432 "#ifdef __cplusplus\n\
1435 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1441 * Description of Aix_Stdlib_Malloc fix
1443 tSCC zAix_Stdlib_MallocName[] =
1444 "aix_stdlib_malloc";
1447 * File name selection pattern
1449 tSCC zAix_Stdlib_MallocList[] =
1452 * Machine/OS name selection pattern
1454 tSCC* apzAix_Stdlib_MallocMachs[] = {
1456 (const char*)NULL };
1459 * content selection pattern - do fix if pattern found
1461 tSCC zAix_Stdlib_MallocSelect0[] =
1462 "#define[ \t]+malloc[ \t]+__linux_malloc";
1464 #define AIX_STDLIB_MALLOC_TEST_CT 1
1465 static tTestDesc aAix_Stdlib_MallocTests[] = {
1466 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1469 * Fix Command Arguments for Aix_Stdlib_Malloc
1471 static const char* apzAix_Stdlib_MallocPatch[] = {
1473 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1476 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1478 * Description of Aix_Stdlib_Realloc fix
1480 tSCC zAix_Stdlib_ReallocName[] =
1481 "aix_stdlib_realloc";
1484 * File name selection pattern
1486 tSCC zAix_Stdlib_ReallocList[] =
1489 * Machine/OS name selection pattern
1491 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1493 (const char*)NULL };
1496 * content selection pattern - do fix if pattern found
1498 tSCC zAix_Stdlib_ReallocSelect0[] =
1499 "#define[ \t]+realloc[ \t]+__linux_realloc";
1501 #define AIX_STDLIB_REALLOC_TEST_CT 1
1502 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1503 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1506 * Fix Command Arguments for Aix_Stdlib_Realloc
1508 static const char* apzAix_Stdlib_ReallocPatch[] = {
1510 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1513 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1515 * Description of Aix_Stdlib_Calloc fix
1517 tSCC zAix_Stdlib_CallocName[] =
1518 "aix_stdlib_calloc";
1521 * File name selection pattern
1523 tSCC zAix_Stdlib_CallocList[] =
1526 * Machine/OS name selection pattern
1528 tSCC* apzAix_Stdlib_CallocMachs[] = {
1530 (const char*)NULL };
1533 * content selection pattern - do fix if pattern found
1535 tSCC zAix_Stdlib_CallocSelect0[] =
1536 "#define[ \t]+calloc[ \t]+__linux_calloc";
1538 #define AIX_STDLIB_CALLOC_TEST_CT 1
1539 static tTestDesc aAix_Stdlib_CallocTests[] = {
1540 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1543 * Fix Command Arguments for Aix_Stdlib_Calloc
1545 static const char* apzAix_Stdlib_CallocPatch[] = {
1547 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1552 * Description of Aix_Stdlib_Valloc fix
1554 tSCC zAix_Stdlib_VallocName[] =
1555 "aix_stdlib_valloc";
1558 * File name selection pattern
1560 tSCC zAix_Stdlib_VallocList[] =
1563 * Machine/OS name selection pattern
1565 tSCC* apzAix_Stdlib_VallocMachs[] = {
1567 (const char*)NULL };
1570 * content selection pattern - do fix if pattern found
1572 tSCC zAix_Stdlib_VallocSelect0[] =
1573 "#define[ \t]+valloc[ \t]+__linux_valloc";
1575 #define AIX_STDLIB_VALLOC_TEST_CT 1
1576 static tTestDesc aAix_Stdlib_VallocTests[] = {
1577 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1580 * Fix Command Arguments for Aix_Stdlib_Valloc
1582 static const char* apzAix_Stdlib_VallocPatch[] = {
1584 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1589 * Description of Aix_Stdlib_Vec_Malloc fix
1591 tSCC zAix_Stdlib_Vec_MallocName[] =
1592 "aix_stdlib_vec_malloc";
1595 * File name selection pattern
1597 tSCC zAix_Stdlib_Vec_MallocList[] =
1600 * Machine/OS name selection pattern
1602 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1604 (const char*)NULL };
1607 * content selection pattern - do fix if pattern found
1609 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1610 "#define[ \t]+malloc[ \t]+vec_malloc";
1612 #define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1613 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1614 { TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1617 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1619 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1621 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1626 * Description of Aix_Stdlib_Vec_Calloc fix
1628 tSCC zAix_Stdlib_Vec_CallocName[] =
1629 "aix_stdlib_vec_calloc";
1632 * File name selection pattern
1634 tSCC zAix_Stdlib_Vec_CallocList[] =
1637 * Machine/OS name selection pattern
1639 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1641 (const char*)NULL };
1644 * content selection pattern - do fix if pattern found
1646 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1647 "#define[ \t]+calloc[ \t]+vec_calloc";
1649 #define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1650 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1651 { TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1654 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1656 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1658 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1663 * Description of Aix_Strtof_Const fix
1665 tSCC zAix_Strtof_ConstName[] =
1669 * File name selection pattern
1671 tSCC zAix_Strtof_ConstList[] =
1674 * Machine/OS name selection pattern
1676 tSCC* apzAix_Strtof_ConstMachs[] = {
1678 (const char*)NULL };
1681 * content selection pattern - do fix if pattern found
1683 tSCC zAix_Strtof_ConstSelect0[] =
1684 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1686 #define AIX_STRTOF_CONST_TEST_CT 1
1687 static tTestDesc aAix_Strtof_ConstTests[] = {
1688 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1691 * Fix Command Arguments for Aix_Strtof_Const
1693 static const char* apzAix_Strtof_ConstPatch[] = {
1695 "%1(const char *, char **);",
1698 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1700 * Description of Aix_Sysmachine fix
1702 tSCC zAix_SysmachineName[] =
1706 * File name selection pattern
1708 tSCC zAix_SysmachineList[] =
1711 * Machine/OS name selection pattern
1713 tSCC* apzAix_SysmachineMachs[] = {
1715 (const char*)NULL };
1718 * content selection pattern - do fix if pattern found
1720 tSCC zAix_SysmachineSelect0[] =
1723 #define AIX_SYSMACHINE_TEST_CT 1
1724 static tTestDesc aAix_SysmachineTests[] = {
1725 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1728 * Fix Command Arguments for Aix_Sysmachine
1730 static const char* apzAix_SysmachinePatch[] = {
1735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1737 * Description of Aix_Syswait_2 fix
1739 tSCC zAix_Syswait_2Name[] =
1743 * File name selection pattern
1745 tSCC zAix_Syswait_2List[] =
1748 * Machine/OS name selection pattern
1750 tSCC* apzAix_Syswait_2Machs[] = {
1752 (const char*)NULL };
1755 * content selection pattern - do fix if pattern found
1757 tSCC zAix_Syswait_2Select0[] =
1758 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1760 #define AIX_SYSWAIT_2_TEST_CT 1
1761 static tTestDesc aAix_Syswait_2Tests[] = {
1762 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1765 * Fix Command Arguments for Aix_Syswait_2
1767 static const char* apzAix_Syswait_2Patch[] = {
1772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1774 * Description of Aix_Volatile fix
1776 tSCC zAix_VolatileName[] =
1780 * File name selection pattern
1782 tSCC zAix_VolatileList[] =
1785 * Machine/OS name selection pattern
1787 tSCC* apzAix_VolatileMachs[] = {
1789 (const char*)NULL };
1792 * content selection pattern - do fix if pattern found
1794 tSCC zAix_VolatileSelect0[] =
1795 "typedef volatile int sig_atomic_t";
1797 #define AIX_VOLATILE_TEST_CT 1
1798 static tTestDesc aAix_VolatileTests[] = {
1799 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1802 * Fix Command Arguments for Aix_Volatile
1804 static const char* apzAix_VolatilePatch[] = {
1806 "typedef int sig_atomic_t",
1809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1811 * Description of Aix_Unistd fix
1813 tSCC zAix_UnistdName[] =
1817 * File name selection pattern
1819 tSCC zAix_UnistdList[] =
1822 * Machine/OS name selection pattern
1824 tSCC* apzAix_UnistdMachs[] = {
1826 (const char*)NULL };
1829 * content selection pattern - do fix if pattern found
1831 tSCC zAix_UnistdSelect0[] =
1832 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1834 #define AIX_UNISTD_TEST_CT 1
1835 static tTestDesc aAix_UnistdTests[] = {
1836 { TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
1839 * Fix Command Arguments for Aix_Unistd
1841 static const char* apzAix_UnistdPatch[] = {
1843 "\tstatic int\t\tgetdtablesize(void)",
1846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1848 * Description of Alpha___Assert fix
1850 tSCC zAlpha___AssertName[] =
1854 * File name selection pattern
1856 tSCC zAlpha___AssertList[] =
1859 * Machine/OS name selection pattern
1861 #define apzAlpha___AssertMachs (const char**)NULL
1864 * content selection pattern - do fix if pattern found
1866 tSCC zAlpha___AssertSelect0[] =
1867 "__assert\\(char \\*, char \\*, int\\)";
1869 #define ALPHA___ASSERT_TEST_CT 1
1870 static tTestDesc aAlpha___AssertTests[] = {
1871 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1874 * Fix Command Arguments for Alpha___Assert
1876 static const char* apzAlpha___AssertPatch[] = {
1878 "__assert(const char *, const char *, int)",
1881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1883 * Description of Alpha_Assert fix
1885 tSCC zAlpha_AssertName[] =
1889 * File name selection pattern
1891 tSCC zAlpha_AssertList[] =
1894 * Machine/OS name selection pattern
1896 #define apzAlpha_AssertMachs (const char**)NULL
1899 * content selection pattern - do fix if pattern found
1901 tSCC zAlpha_AssertSelect0[] =
1902 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1904 #define ALPHA_ASSERT_TEST_CT 1
1905 static tTestDesc aAlpha_AssertTests[] = {
1906 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1909 * Fix Command Arguments for Alpha_Assert
1911 static const char* apzAlpha_AssertPatch[] = {
1916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1918 * Description of Alpha_Getopt fix
1920 tSCC zAlpha_GetoptName[] =
1924 * File name selection pattern
1926 tSCC zAlpha_GetoptList[] =
1927 "stdio.h\0stdlib.h\0";
1929 * Machine/OS name selection pattern
1931 #define apzAlpha_GetoptMachs (const char**)NULL
1934 * content selection pattern - do fix if pattern found
1936 tSCC zAlpha_GetoptSelect0[] =
1937 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1939 #define ALPHA_GETOPT_TEST_CT 1
1940 static tTestDesc aAlpha_GetoptTests[] = {
1941 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1944 * Fix Command Arguments for Alpha_Getopt
1946 static const char* apzAlpha_GetoptPatch[] = {
1948 "getopt(int, char *const[], const char *)",
1951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1953 * Description of Alpha_If_Semicolon fix
1955 tSCC zAlpha_If_SemicolonName[] =
1956 "alpha_if_semicolon";
1959 * File name selection pattern
1961 tSCC zAlpha_If_SemicolonList[] =
1964 * Machine/OS name selection pattern
1966 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1969 * content selection pattern - do fix if pattern found
1971 tSCC zAlpha_If_SemicolonSelect0[] =
1972 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1974 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1975 static tTestDesc aAlpha_If_SemicolonTests[] = {
1976 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1979 * Fix Command Arguments for Alpha_If_Semicolon
1981 static const char* apzAlpha_If_SemicolonPatch[] = {
1983 "struct sockaddr vmif_paddr;\t/*",
1986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1988 * Description of Alpha_Parens fix
1990 tSCC zAlpha_ParensName[] =
1994 * File name selection pattern
1996 tSCC zAlpha_ParensList[] =
1999 * Machine/OS name selection pattern
2001 #define apzAlpha_ParensMachs (const char**)NULL
2004 * content selection pattern - do fix if pattern found
2006 tSCC zAlpha_ParensSelect0[] =
2007 "#ifndef\\(__mips64\\)";
2009 #define ALPHA_PARENS_TEST_CT 1
2010 static tTestDesc aAlpha_ParensTests[] = {
2011 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
2014 * Fix Command Arguments for Alpha_Parens
2016 static const char* apzAlpha_ParensPatch[] = {
2021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2023 * Description of Alpha_Sbrk fix
2025 tSCC zAlpha_SbrkName[] =
2029 * File name selection pattern
2031 tSCC zAlpha_SbrkList[] =
2034 * Machine/OS name selection pattern
2036 #define apzAlpha_SbrkMachs (const char**)NULL
2039 * content selection pattern - do fix if pattern found
2041 tSCC zAlpha_SbrkSelect0[] =
2042 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2044 #define ALPHA_SBRK_TEST_CT 1
2045 static tTestDesc aAlpha_SbrkTests[] = {
2046 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2049 * Fix Command Arguments for Alpha_Sbrk
2051 static const char* apzAlpha_SbrkPatch[] = {
2056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2058 * Description of Avoid_Bool_Define fix
2060 tSCC zAvoid_Bool_DefineName[] =
2061 "avoid_bool_define";
2064 * File name selection pattern
2066 tSCC zAvoid_Bool_DefineList[] =
2067 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2069 * Machine/OS name selection pattern
2071 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2074 * content selection pattern - do fix if pattern found
2076 tSCC zAvoid_Bool_DefineSelect0[] =
2077 "#[ \t]*define[ \t]+bool[ \t]";
2080 * content bypass pattern - skip fix if pattern found
2082 tSCC zAvoid_Bool_DefineBypass0[] =
2085 #define AVOID_BOOL_DEFINE_TEST_CT 2
2086 static tTestDesc aAvoid_Bool_DefineTests[] = {
2087 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2088 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2091 * Fix Command Arguments for Avoid_Bool_Define
2093 static const char* apzAvoid_Bool_DefinePatch[] = {
2095 "#ifndef __cplusplus\n\
2098 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2103 * Description of Avoid_Bool_Type fix
2105 tSCC zAvoid_Bool_TypeName[] =
2109 * File name selection pattern
2111 tSCC zAvoid_Bool_TypeList[] =
2112 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2114 * Machine/OS name selection pattern
2116 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2119 * content selection pattern - do fix if pattern found
2121 tSCC zAvoid_Bool_TypeSelect0[] =
2122 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2125 * content bypass pattern - skip fix if pattern found
2127 tSCC zAvoid_Bool_TypeBypass0[] =
2130 #define AVOID_BOOL_TYPE_TEST_CT 2
2131 static tTestDesc aAvoid_Bool_TypeTests[] = {
2132 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2133 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2136 * Fix Command Arguments for Avoid_Bool_Type
2138 static const char* apzAvoid_Bool_TypePatch[] = {
2140 "#ifndef __cplusplus\n\
2145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2147 * Description of Avoid_Wchar_T_Type fix
2149 tSCC zAvoid_Wchar_T_TypeName[] =
2150 "avoid_wchar_t_type";
2153 * File name selection pattern
2155 #define zAvoid_Wchar_T_TypeList (char*)NULL
2157 * Machine/OS name selection pattern
2159 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2162 * content selection pattern - do fix if pattern found
2164 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2165 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2168 * content bypass pattern - skip fix if pattern found
2170 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2172 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2174 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2175 "XFree86: xc/lib/X11/Xlib\\.h";
2177 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2178 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2179 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2180 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2181 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2182 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2185 * Fix Command Arguments for Avoid_Wchar_T_Type
2187 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2189 "#ifndef __cplusplus\n\
2194 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2196 * Description of Bad_Struct_Term fix
2198 tSCC zBad_Struct_TermName[] =
2202 * File name selection pattern
2204 tSCC zBad_Struct_TermList[] =
2207 * Machine/OS name selection pattern
2209 #define apzBad_Struct_TermMachs (const char**)NULL
2212 * content selection pattern - do fix if pattern found
2214 tSCC zBad_Struct_TermSelect0[] =
2215 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2217 #define BAD_STRUCT_TERM_TEST_CT 1
2218 static tTestDesc aBad_Struct_TermTests[] = {
2219 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2222 * Fix Command Arguments for Bad_Struct_Term
2224 static const char* apzBad_Struct_TermPatch[] = {
2229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2231 * Description of Badquote fix
2233 tSCC zBadquoteName[] =
2237 * File name selection pattern
2239 tSCC zBadquoteList[] =
2240 "sundev/vuid_event.h\0";
2242 * Machine/OS name selection pattern
2244 #define apzBadquoteMachs (const char**)NULL
2247 * content selection pattern - do fix if pattern found
2249 tSCC zBadquoteSelect0[] =
2252 #define BADQUOTE_TEST_CT 1
2253 static tTestDesc aBadquoteTests[] = {
2254 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2257 * Fix Command Arguments for Badquote
2259 static const char* apzBadquotePatch[] = {
2264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2266 * Description of Broken_Assert_Stdio fix
2268 tSCC zBroken_Assert_StdioName[] =
2269 "broken_assert_stdio";
2272 * File name selection pattern
2274 tSCC zBroken_Assert_StdioList[] =
2277 * Machine/OS name selection pattern
2279 #define apzBroken_Assert_StdioMachs (const char**)NULL
2282 * content selection pattern - do fix if pattern found
2284 tSCC zBroken_Assert_StdioSelect0[] =
2288 * content bypass pattern - skip fix if pattern found
2290 tSCC zBroken_Assert_StdioBypass0[] =
2291 "include.*stdio\\.h";
2293 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2294 static tTestDesc aBroken_Assert_StdioTests[] = {
2295 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2296 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2299 * Fix Command Arguments for Broken_Assert_Stdio
2301 static const char* apzBroken_Assert_StdioPatch[] = {
2303 "#include <stdio.h>\n",
2306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2308 * Description of Broken_Assert_Stdlib fix
2310 tSCC zBroken_Assert_StdlibName[] =
2311 "broken_assert_stdlib";
2314 * File name selection pattern
2316 tSCC zBroken_Assert_StdlibList[] =
2319 * Machine/OS name selection pattern
2321 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2324 * content selection pattern - do fix if pattern found
2326 tSCC zBroken_Assert_StdlibSelect0[] =
2327 "exit *\\(|abort *\\(";
2330 * content bypass pattern - skip fix if pattern found
2332 tSCC zBroken_Assert_StdlibBypass0[] =
2333 "include.*stdlib\\.h";
2335 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2336 static tTestDesc aBroken_Assert_StdlibTests[] = {
2337 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2338 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2341 * Fix Command Arguments for Broken_Assert_Stdlib
2343 static const char* apzBroken_Assert_StdlibPatch[] = {
2345 "#ifdef __cplusplus\n\
2346 #include <stdlib.h>\n\
2350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2352 * Description of Broken_Cabs fix
2354 tSCC zBroken_CabsName[] =
2358 * File name selection pattern
2360 tSCC zBroken_CabsList[] =
2361 "math.h\0architecture/*/math.h\0";
2363 * Machine/OS name selection pattern
2365 #define apzBroken_CabsMachs (const char**)NULL
2368 * content selection pattern - do fix if pattern found
2370 tSCC zBroken_CabsSelect0[] =
2371 "^extern[ \t]+double[ \t]+cabs";
2373 #define BROKEN_CABS_TEST_CT 1
2374 static tTestDesc aBroken_CabsTests[] = {
2375 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2378 * Fix Command Arguments for Broken_Cabs
2380 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2381 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2382 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Broken_Nan fix
2389 tSCC zBroken_NanName[] =
2393 * File name selection pattern
2395 tSCC zBroken_NanList[] =
2396 "architecture/ppc/math.h\0architecture/*/math.h\0";
2398 * Machine/OS name selection pattern
2400 #define apzBroken_NanMachs (const char**)NULL
2403 * content selection pattern - do fix if pattern found
2405 tSCC zBroken_NanSelect0[] =
2406 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2409 * content bypass pattern - skip fix if pattern found
2411 tSCC zBroken_NanBypass0[] =
2414 #define BROKEN_NAN_TEST_CT 2
2415 static tTestDesc aBroken_NanTests[] = {
2416 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2417 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2420 * Fix Command Arguments for Broken_Nan
2422 static const char* apzBroken_NanPatch[] = {
2427 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2429 * Description of Bsd_Stdio_Attrs_Conflict fix
2431 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2432 "bsd_stdio_attrs_conflict";
2435 * File name selection pattern
2437 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2440 * Machine/OS name selection pattern
2442 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2445 (const char*)NULL };
2448 * content selection pattern - do fix if pattern found
2450 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2451 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2453 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2454 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2455 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2458 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2460 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2462 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2463 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2464 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2469 * Description of Ctrl_Quotes_Def fix
2471 tSCC zCtrl_Quotes_DefName[] =
2475 * File name selection pattern
2477 #define zCtrl_Quotes_DefList (char*)NULL
2479 * Machine/OS name selection pattern
2481 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2484 * content selection pattern - do fix if pattern found
2486 tSCC zCtrl_Quotes_DefSelect0[] =
2487 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2489 #define CTRL_QUOTES_DEF_TEST_CT 1
2490 static tTestDesc aCtrl_Quotes_DefTests[] = {
2491 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2494 * Fix Command Arguments for Ctrl_Quotes_Def
2496 static const char* apzCtrl_Quotes_DefPatch[] = {
2501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2503 * Description of Ctrl_Quotes_Use fix
2505 tSCC zCtrl_Quotes_UseName[] =
2509 * File name selection pattern
2511 #define zCtrl_Quotes_UseList (char*)NULL
2513 * Machine/OS name selection pattern
2515 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2518 * content selection pattern - do fix if pattern found
2520 tSCC zCtrl_Quotes_UseSelect0[] =
2521 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2523 #define CTRL_QUOTES_USE_TEST_CT 1
2524 static tTestDesc aCtrl_Quotes_UseTests[] = {
2525 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2528 * Fix Command Arguments for Ctrl_Quotes_Use
2530 static const char* apzCtrl_Quotes_UsePatch[] = {
2535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2537 * Description of Cxx_Unready fix
2539 tSCC zCxx_UnreadyName[] =
2543 * File name selection pattern
2545 tSCC zCxx_UnreadyList[] =
2546 "sys/mman.h\0rpc/types.h\0";
2548 * Machine/OS name selection pattern
2550 #define apzCxx_UnreadyMachs (const char**)NULL
2553 * content selection pattern - do fix if pattern found
2555 tSCC zCxx_UnreadySelect0[] =
2559 * content bypass pattern - skip fix if pattern found
2561 tSCC zCxx_UnreadyBypass0[] =
2562 "\"C\"|__BEGIN_DECLS";
2564 #define CXX_UNREADY_TEST_CT 2
2565 static tTestDesc aCxx_UnreadyTests[] = {
2566 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2567 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2570 * Fix Command Arguments for Cxx_Unready
2572 static const char* apzCxx_UnreadyPatch[] = {
2574 "#ifdef __cplusplus\n\
2577 "#ifdef __cplusplus\n\
2582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2584 * Description of Darwin_Availabilityinternal fix
2586 tSCC zDarwin_AvailabilityinternalName[] =
2587 "darwin_availabilityinternal";
2590 * File name selection pattern
2592 tSCC zDarwin_AvailabilityinternalList[] =
2593 "AvailabilityInternal.h\0";
2595 * Machine/OS name selection pattern
2597 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2599 (const char*)NULL };
2602 * content selection pattern - do fix if pattern found
2604 tSCC zDarwin_AvailabilityinternalSelect0[] =
2605 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2607 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2608 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2609 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2612 * Fix Command Arguments for Darwin_Availabilityinternal
2614 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2616 "#if defined(__has_attribute)\n\
2617 #if __has_attribute(availability)\n\
2627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2629 * Description of Darwin_9_Long_Double_Funcs_2 fix
2631 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2632 "darwin_9_long_double_funcs_2";
2635 * File name selection pattern
2637 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2640 * Machine/OS name selection pattern
2642 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2644 (const char*)NULL };
2647 * content selection pattern - do fix if pattern found
2649 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2650 "#include[ \\t]+\\\"";
2652 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2653 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2654 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2657 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2659 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2662 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2665 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2667 * Description of Darwin_Externc fix
2669 tSCC zDarwin_ExterncName[] =
2673 * File name selection pattern
2675 tSCC zDarwin_ExterncList[] =
2676 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2678 * Machine/OS name selection pattern
2680 tSCC* apzDarwin_ExterncMachs[] = {
2682 (const char*)NULL };
2685 * content bypass pattern - skip fix if pattern found
2687 tSCC zDarwin_ExterncBypass0[] =
2689 tSCC zDarwin_ExterncBypass1[] =
2692 #define DARWIN_EXTERNC_TEST_CT 2
2693 static tTestDesc aDarwin_ExterncTests[] = {
2694 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2695 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2698 * Fix Command Arguments for Darwin_Externc
2700 static const char* apzDarwin_ExterncPatch[] = {
2702 "#ifdef __cplusplus\n\
2705 "#ifdef __cplusplus\n\
2710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2712 * Description of Darwin_Gcc4_Breakage fix
2714 tSCC zDarwin_Gcc4_BreakageName[] =
2715 "darwin_gcc4_breakage";
2718 * File name selection pattern
2720 tSCC zDarwin_Gcc4_BreakageList[] =
2721 "AvailabilityMacros.h\0";
2723 * Machine/OS name selection pattern
2725 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2727 (const char*)NULL };
2730 * content selection pattern - do fix if pattern found
2732 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2733 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2735 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2736 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2737 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2740 * Fix Command Arguments for Darwin_Gcc4_Breakage
2742 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2744 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2749 * Description of Darwin_Longjmp_Noreturn fix
2751 tSCC zDarwin_Longjmp_NoreturnName[] =
2752 "darwin_longjmp_noreturn";
2755 * File name selection pattern
2757 tSCC zDarwin_Longjmp_NoreturnList[] =
2760 * Machine/OS name selection pattern
2762 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2764 (const char*)NULL };
2767 * content selection pattern - do fix if pattern found
2769 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2770 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2773 * content bypass pattern - skip fix if pattern found
2775 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2778 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2779 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2780 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2781 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2784 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2786 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2788 "%1 __attribute__ ((__noreturn__));",
2791 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2793 * Description of Darwin_Os_Trace_1 fix
2795 tSCC zDarwin_Os_Trace_1Name[] =
2796 "darwin_os_trace_1";
2799 * File name selection pattern
2801 tSCC zDarwin_Os_Trace_1List[] =
2804 * Machine/OS name selection pattern
2806 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2808 (const char*)NULL };
2811 * content selection pattern - do fix if pattern found
2813 tSCC zDarwin_Os_Trace_1Select0[] =
2814 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2816 #define DARWIN_OS_TRACE_1_TEST_CT 1
2817 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2818 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2821 * Fix Command Arguments for Darwin_Os_Trace_1
2823 static const char* apzDarwin_Os_Trace_1Patch[] = {
2828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2830 * Description of Darwin_Os_Trace_2 fix
2832 tSCC zDarwin_Os_Trace_2Name[] =
2833 "darwin_os_trace_2";
2836 * File name selection pattern
2838 tSCC zDarwin_Os_Trace_2List[] =
2841 * Machine/OS name selection pattern
2843 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2845 (const char*)NULL };
2848 * content selection pattern - do fix if pattern found
2850 tSCC zDarwin_Os_Trace_2Select0[] =
2851 "typedef.*\\^os_trace_payload_t.*";
2853 #define DARWIN_OS_TRACE_2_TEST_CT 1
2854 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2855 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2858 * Fix Command Arguments for Darwin_Os_Trace_2
2860 static const char* apzDarwin_Os_Trace_2Patch[] = {
2867 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2869 * Description of Darwin_Os_Trace_3 fix
2871 tSCC zDarwin_Os_Trace_3Name[] =
2872 "darwin_os_trace_3";
2875 * File name selection pattern
2877 tSCC zDarwin_Os_Trace_3List[] =
2880 * Machine/OS name selection pattern
2882 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2884 (const char*)NULL };
2887 * content selection pattern - do fix if pattern found
2889 tSCC zDarwin_Os_Trace_3Select0[] =
2893 _os_trace.*os_trace_payload_t payload);";
2895 #define DARWIN_OS_TRACE_3_TEST_CT 1
2896 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2897 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
2900 * Fix Command Arguments for Darwin_Os_Trace_3
2902 static const char* apzDarwin_Os_Trace_3Patch[] = {
2909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2911 * Description of Darwin_Private_Extern fix
2913 tSCC zDarwin_Private_ExternName[] =
2914 "darwin_private_extern";
2917 * File name selection pattern
2919 tSCC zDarwin_Private_ExternList[] =
2922 * Machine/OS name selection pattern
2924 tSCC* apzDarwin_Private_ExternMachs[] = {
2926 (const char*)NULL };
2929 * content selection pattern - do fix if pattern found
2931 tSCC zDarwin_Private_ExternSelect0[] =
2932 "__private_extern__ [a-z_]+ _dyld_";
2934 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2935 static tTestDesc aDarwin_Private_ExternTests[] = {
2936 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2939 * Fix Command Arguments for Darwin_Private_Extern
2941 static const char* apzDarwin_Private_ExternPatch[] = {
2944 "__private_extern__",
2947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2949 * Description of Darwin_Stdint_1 fix
2951 tSCC zDarwin_Stdint_1Name[] =
2955 * File name selection pattern
2957 tSCC zDarwin_Stdint_1List[] =
2958 "stdint-darwin.h\0stdint.h\0";
2960 * Machine/OS name selection pattern
2962 tSCC* apzDarwin_Stdint_1Machs[] = {
2964 (const char*)NULL };
2967 * content selection pattern - do fix if pattern found
2969 tSCC zDarwin_Stdint_1Select0[] =
2970 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2971 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2973 #define DARWIN_STDINT_1_TEST_CT 1
2974 static tTestDesc aDarwin_Stdint_1Tests[] = {
2975 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2978 * Fix Command Arguments for Darwin_Stdint_1
2980 static const char* apzDarwin_Stdint_1Patch[] = {
2982 "#define UINT8_C(v)\tv\n\
2983 #define UINT16_C(v)\tv",
2986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2988 * Description of Darwin_Stdint_2 fix
2990 tSCC zDarwin_Stdint_2Name[] =
2994 * File name selection pattern
2996 tSCC zDarwin_Stdint_2List[] =
2997 "stdint-darwin.h\0stdint.h\0";
2999 * Machine/OS name selection pattern
3001 tSCC* apzDarwin_Stdint_2Machs[] = {
3003 (const char*)NULL };
3006 * content selection pattern - do fix if pattern found
3008 tSCC zDarwin_Stdint_2Select0[] =
3009 "#if __WORDSIZE == 64\n\
3010 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3011 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3013 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3014 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3017 #define DARWIN_STDINT_2_TEST_CT 1
3018 static tTestDesc aDarwin_Stdint_2Tests[] = {
3019 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3022 * Fix Command Arguments for Darwin_Stdint_2
3024 static const char* apzDarwin_Stdint_2Patch[] = {
3026 "#if __WORDSIZE == 64\n\
3027 #define INTPTR_MAX 9223372036854775807L\n\
3028 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3030 #define INTPTR_MAX 2147483647L\n\
3031 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3035 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3037 * Description of Darwin_Stdint_3 fix
3039 tSCC zDarwin_Stdint_3Name[] =
3043 * File name selection pattern
3045 tSCC zDarwin_Stdint_3List[] =
3046 "stdint-darwin.h\0stdint.h\0";
3048 * Machine/OS name selection pattern
3050 tSCC* apzDarwin_Stdint_3Machs[] = {
3052 (const char*)NULL };
3055 * content selection pattern - do fix if pattern found
3057 tSCC zDarwin_Stdint_3Select0[] =
3058 "#if __WORDSIZE == 64\n\
3059 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3061 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3064 #define DARWIN_STDINT_3_TEST_CT 1
3065 static tTestDesc aDarwin_Stdint_3Tests[] = {
3066 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3069 * Fix Command Arguments for Darwin_Stdint_3
3071 static const char* apzDarwin_Stdint_3Patch[] = {
3073 "#if __WORDSIZE == 64\n\
3074 #define UINTPTR_MAX 18446744073709551615UL\n\
3076 #define UINTPTR_MAX 4294967295UL\n\
3080 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3082 * Description of Darwin_Stdint_4 fix
3084 tSCC zDarwin_Stdint_4Name[] =
3088 * File name selection pattern
3090 tSCC zDarwin_Stdint_4List[] =
3091 "stdint-darwin.h\0stdint.h\0";
3093 * Machine/OS name selection pattern
3095 tSCC* apzDarwin_Stdint_4Machs[] = {
3097 (const char*)NULL };
3100 * content selection pattern - do fix if pattern found
3102 tSCC zDarwin_Stdint_4Select0[] =
3103 "#if __WORDSIZE == 64\n\
3104 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3106 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3109 #define DARWIN_STDINT_4_TEST_CT 1
3110 static tTestDesc aDarwin_Stdint_4Tests[] = {
3111 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3114 * Fix Command Arguments for Darwin_Stdint_4
3116 static const char* apzDarwin_Stdint_4Patch[] = {
3118 "#if __WORDSIZE == 64\n\
3119 #define SIZE_MAX 18446744073709551615UL\n\
3121 #define SIZE_MAX 4294967295UL\n\
3125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3127 * Description of Darwin_Stdint_5 fix
3129 tSCC zDarwin_Stdint_5Name[] =
3133 * File name selection pattern
3135 tSCC zDarwin_Stdint_5List[] =
3136 "stdint-darwin.h\0stdint.h\0";
3138 * Machine/OS name selection pattern
3140 tSCC* apzDarwin_Stdint_5Machs[] = {
3142 (const char*)NULL };
3145 * content selection pattern - do fix if pattern found
3147 tSCC zDarwin_Stdint_5Select0[] =
3148 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3149 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3150 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3152 #define DARWIN_STDINT_5_TEST_CT 1
3153 static tTestDesc aDarwin_Stdint_5Tests[] = {
3154 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3157 * Fix Command Arguments for Darwin_Stdint_5
3159 static const char* apzDarwin_Stdint_5Patch[] = {
3161 "#if __WORDSIZE == 64\n\
3162 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3163 #define INTMAX_MAX 9223372036854775807L\n\
3164 #define UINTMAX_MAX 18446744073709551615UL\n\
3166 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3167 #define INTMAX_MAX 9223372036854775807LL\n\
3168 #define UINTMAX_MAX 18446744073709551615ULL\n\
3172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3174 * Description of Darwin_Stdint_6 fix
3176 tSCC zDarwin_Stdint_6Name[] =
3180 * File name selection pattern
3182 tSCC zDarwin_Stdint_6List[] =
3183 "stdint-darwin.h\0stdint.h\0";
3185 * Machine/OS name selection pattern
3187 tSCC* apzDarwin_Stdint_6Machs[] = {
3189 (const char*)NULL };
3192 * content selection pattern - do fix if pattern found
3194 tSCC zDarwin_Stdint_6Select0[] =
3195 "#if __WORDSIZE == 64\n\
3196 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3197 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3199 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3200 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3203 #define DARWIN_STDINT_6_TEST_CT 1
3204 static tTestDesc aDarwin_Stdint_6Tests[] = {
3205 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3208 * Fix Command Arguments for Darwin_Stdint_6
3210 static const char* apzDarwin_Stdint_6Patch[] = {
3212 "#if __WORDSIZE == 64\n\
3213 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3214 #define PTRDIFF_MAX 9223372036854775807L\n\
3216 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3217 #define PTRDIFF_MAX 2147483647\n\
3221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3223 * Description of Darwin_Stdint_7 fix
3225 tSCC zDarwin_Stdint_7Name[] =
3229 * File name selection pattern
3231 tSCC zDarwin_Stdint_7List[] =
3232 "stdint-darwin.h\0stdint.h\0";
3234 * Machine/OS name selection pattern
3236 tSCC* apzDarwin_Stdint_7Machs[] = {
3238 (const char*)NULL };
3241 * content selection pattern - do fix if pattern found
3243 tSCC zDarwin_Stdint_7Select0[] =
3244 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3245 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3247 #define DARWIN_STDINT_7_TEST_CT 1
3248 static tTestDesc aDarwin_Stdint_7Tests[] = {
3249 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3252 * Fix Command Arguments for Darwin_Stdint_7
3254 static const char* apzDarwin_Stdint_7Patch[] = {
3256 "#if __WORDSIZE == 64\n\
3257 #define INTMAX_C(v) (v ## L)\n\
3258 #define UINTMAX_C(v) (v ## UL)\n\
3260 #define INTMAX_C(v) (v ## LL)\n\
3261 #define UINTMAX_C(v) (v ## ULL)\n\
3265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3267 * Description of Dec_Intern_Asm fix
3269 tSCC zDec_Intern_AsmName[] =
3273 * File name selection pattern
3275 tSCC zDec_Intern_AsmList[] =
3278 * Machine/OS name selection pattern
3280 #define apzDec_Intern_AsmMachs (const char**)NULL
3281 #define DEC_INTERN_ASM_TEST_CT 0
3282 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3285 * Fix Command Arguments for Dec_Intern_Asm
3287 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3288 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3290 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3296 * Description of Djgpp_Wchar_H fix
3298 tSCC zDjgpp_Wchar_HName[] =
3302 * File name selection pattern
3304 #define zDjgpp_Wchar_HList (char*)NULL
3306 * Machine/OS name selection pattern
3308 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3311 * content selection pattern - do fix if pattern found
3313 tSCC zDjgpp_Wchar_HSelect0[] =
3317 * content bypass pattern - skip fix if pattern found
3319 tSCC zDjgpp_Wchar_HBypass0[] =
3322 #define DJGPP_WCHAR_H_TEST_CT 2
3323 static tTestDesc aDjgpp_Wchar_HTests[] = {
3324 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3325 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3328 * Fix Command Arguments for Djgpp_Wchar_H
3330 static const char* apzDjgpp_Wchar_HPatch[] = {
3333 #include <sys/djtypes.h>",
3334 "#include <stddef.h>",
3337 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3339 * Description of Ecd_Cursor fix
3341 tSCC zEcd_CursorName[] =
3345 * File name selection pattern
3347 tSCC zEcd_CursorList[] =
3348 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3350 * Machine/OS name selection pattern
3352 #define apzEcd_CursorMachs (const char**)NULL
3355 * content selection pattern - do fix if pattern found
3357 tSCC zEcd_CursorSelect0[] =
3360 #define ECD_CURSOR_TEST_CT 1
3361 static tTestDesc aEcd_CursorTests[] = {
3362 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3365 * Fix Command Arguments for Ecd_Cursor
3367 static const char* apzEcd_CursorPatch[] = {
3372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3374 * Description of Feraiseexcept_Nosse_Divbyzero fix
3376 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3377 "feraiseexcept_nosse_divbyzero";
3380 * File name selection pattern
3382 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3383 "bits/fenv.h\0*/bits/fenv.h\0";
3385 * Machine/OS name selection pattern
3387 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3388 "i[34567]86-*-linux*",
3391 (const char*)NULL };
3394 * content selection pattern - do fix if pattern found
3396 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3397 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3400 * content bypass pattern - skip fix if pattern found
3402 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3403 "\"fdivp .*; fwait\"";
3405 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3406 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3407 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3408 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3411 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3413 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3415 "# ifdef __SSE_MATH__\n\
3418 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3419 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3425 * Description of Feraiseexcept_Nosse_Invalid fix
3427 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3428 "feraiseexcept_nosse_invalid";
3431 * File name selection pattern
3433 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3434 "bits/fenv.h\0*/bits/fenv.h\0";
3436 * Machine/OS name selection pattern
3438 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3439 "i[34567]86-*-linux*",
3442 (const char*)NULL };
3445 * content selection pattern - do fix if pattern found
3447 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3448 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3451 * content bypass pattern - skip fix if pattern found
3453 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3454 "\"fdiv .*; fwait\"";
3456 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3457 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3458 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3459 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3462 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3464 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3466 "# ifdef __SSE_MATH__\n\
3469 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3470 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3474 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3476 * Description of Freebsd_Gcc3_Breakage fix
3478 tSCC zFreebsd_Gcc3_BreakageName[] =
3479 "freebsd_gcc3_breakage";
3482 * File name selection pattern
3484 tSCC zFreebsd_Gcc3_BreakageList[] =
3487 * Machine/OS name selection pattern
3489 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3491 (const char*)NULL };
3494 * content selection pattern - do fix if pattern found
3496 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3497 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3500 * content bypass pattern - skip fix if pattern found
3502 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3503 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3505 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3506 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3507 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3508 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3511 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3513 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3515 "%0 || __GNUC__ >= 3",
3518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3520 * Description of Freebsd_Gcc4_Breakage fix
3522 tSCC zFreebsd_Gcc4_BreakageName[] =
3523 "freebsd_gcc4_breakage";
3526 * File name selection pattern
3528 tSCC zFreebsd_Gcc4_BreakageList[] =
3531 * Machine/OS name selection pattern
3533 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3535 (const char*)NULL };
3538 * content selection pattern - do fix if pattern found
3540 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3541 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3543 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3544 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3545 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3548 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3550 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3552 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3557 * Description of Glibc_C99_Inline_1 fix
3559 tSCC zGlibc_C99_Inline_1Name[] =
3560 "glibc_c99_inline_1";
3563 * File name selection pattern
3565 tSCC zGlibc_C99_Inline_1List[] =
3566 "features.h\0*/features.h\0";
3568 * Machine/OS name selection pattern
3570 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3573 * content selection pattern - do fix if pattern found
3575 tSCC zGlibc_C99_Inline_1Select0[] =
3576 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3578 #define GLIBC_C99_INLINE_1_TEST_CT 1
3579 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3580 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3583 * Fix Command Arguments for Glibc_C99_Inline_1
3585 static const char* apzGlibc_C99_Inline_1Patch[] = {
3587 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3590 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3592 * Description of Glibc_C99_Inline_1a fix
3594 tSCC zGlibc_C99_Inline_1aName[] =
3595 "glibc_c99_inline_1a";
3598 * File name selection pattern
3600 tSCC zGlibc_C99_Inline_1aList[] =
3601 "features.h\0*/features.h\0";
3603 * Machine/OS name selection pattern
3605 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3608 * content selection pattern - do fix if pattern found
3610 tSCC zGlibc_C99_Inline_1aSelect0[] =
3611 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3612 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3614 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3615 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3616 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3619 * Fix Command Arguments for Glibc_C99_Inline_1a
3621 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3623 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3629 * Description of Glibc_C99_Inline_2 fix
3631 tSCC zGlibc_C99_Inline_2Name[] =
3632 "glibc_c99_inline_2";
3635 * File name selection pattern
3637 tSCC zGlibc_C99_Inline_2List[] =
3638 "sys/stat.h\0*/sys/stat.h\0";
3640 * Machine/OS name selection pattern
3642 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3645 * content selection pattern - do fix if pattern found
3647 tSCC zGlibc_C99_Inline_2Select0[] =
3648 "extern __inline__ int";
3650 #define GLIBC_C99_INLINE_2_TEST_CT 1
3651 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3652 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3655 * Fix Command Arguments for Glibc_C99_Inline_2
3657 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3658 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3661 __inline__ int \\1/",
3662 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3665 __inline__ int \\1/",
3666 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3669 __inline__ int \\1/",
3670 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3673 __inline__ int __REDIRECT\\1 (\\2/",
3674 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3677 __inline__ int __REDIRECT\\1 (\\2/",
3678 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3686 * Description of Glibc_C99_Inline_3 fix
3688 tSCC zGlibc_C99_Inline_3Name[] =
3689 "glibc_c99_inline_3";
3692 * File name selection pattern
3694 tSCC zGlibc_C99_Inline_3List[] =
3695 "bits/string2.h\0*/bits/string2.h\0";
3697 * Machine/OS name selection pattern
3699 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3702 * content selection pattern - do fix if pattern found
3704 tSCC zGlibc_C99_Inline_3Select0[] =
3708 * content bypass pattern - skip fix if pattern found
3710 tSCC zGlibc_C99_Inline_3Bypass0[] =
3711 "__extern_inline|__GNU_STDC_INLINE__";
3713 #define GLIBC_C99_INLINE_3_TEST_CT 2
3714 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3715 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3716 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3719 * Fix Command Arguments for Glibc_C99_Inline_3
3721 static const char* apzGlibc_C99_Inline_3Patch[] = {
3723 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3724 "^# ifdef __cplusplus$",
3727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3729 * Description of Glibc_C99_Inline_4 fix
3731 tSCC zGlibc_C99_Inline_4Name[] =
3732 "glibc_c99_inline_4";
3735 * File name selection pattern
3737 tSCC zGlibc_C99_Inline_4List[] =
3738 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3740 * Machine/OS name selection pattern
3742 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3745 * content selection pattern - do fix if pattern found
3747 tSCC zGlibc_C99_Inline_4Select0[] =
3748 "(^| )extern __inline";
3751 * content bypass pattern - skip fix if pattern found
3753 tSCC zGlibc_C99_Inline_4Bypass0[] =
3754 "__extern_inline|__gnu_inline__";
3756 #define GLIBC_C99_INLINE_4_TEST_CT 2
3757 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3758 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3759 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3762 * Fix Command Arguments for Glibc_C99_Inline_4
3764 static const char* apzGlibc_C99_Inline_4Patch[] = {
3766 "%0 __attribute__ ((__gnu_inline__))",
3769 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3771 * Description of Glibc_Mutex_Init fix
3773 tSCC zGlibc_Mutex_InitName[] =
3777 * File name selection pattern
3779 tSCC zGlibc_Mutex_InitList[] =
3782 * Machine/OS name selection pattern
3784 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3787 * content selection pattern - do fix if pattern found
3789 tSCC zGlibc_Mutex_InitSelect0[] =
3790 "\\{ *\\{ *0, *\\} *\\}";
3792 #define GLIBC_MUTEX_INIT_TEST_CT 1
3793 static tTestDesc aGlibc_Mutex_InitTests[] = {
3794 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3797 * Fix Command Arguments for Glibc_Mutex_Init
3799 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3800 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3802 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3804 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3805 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3806 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3807 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3808 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3809 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3810 "-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\
3812 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3815 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3817 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3818 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3823 * Description of Glibc_Stdint fix
3825 tSCC zGlibc_StdintName[] =
3829 * File name selection pattern
3831 tSCC zGlibc_StdintList[] =
3834 * Machine/OS name selection pattern
3836 #define apzGlibc_StdintMachs (const char**)NULL
3839 * content selection pattern - do fix if pattern found
3841 tSCC zGlibc_StdintSelect0[] =
3844 #define GLIBC_STDINT_TEST_CT 1
3845 static tTestDesc aGlibc_StdintTests[] = {
3846 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3849 * Fix Command Arguments for Glibc_Stdint
3851 static const char* apzGlibc_StdintPatch[] = {
3853 "# define UINT8_C(c)\tc\n\
3854 # define UINT16_C(c)\tc",
3855 "# define UINT8_C\\(c\\)\tc ## U\n\
3856 # define UINT16_C\\(c\\)\tc ## U",
3859 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3861 * Description of Glibc_Strncpy fix
3863 tSCC zGlibc_StrncpyName[] =
3867 * File name selection pattern
3869 tSCC zGlibc_StrncpyList[] =
3870 "bits/string2.h\0*/bits/string2.h\0";
3872 * Machine/OS name selection pattern
3874 #define apzGlibc_StrncpyMachs (const char**)NULL
3877 * content bypass pattern - skip fix if pattern found
3879 tSCC zGlibc_StrncpyBypass0[] =
3880 "__builtin_strncpy";
3882 #define GLIBC_STRNCPY_TEST_CT 1
3883 static tTestDesc aGlibc_StrncpyTests[] = {
3884 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3887 * Fix Command Arguments for Glibc_Strncpy
3889 static const char* apzGlibc_StrncpyPatch[] = {
3891 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3892 "# define strncpy([^\n\
3898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3900 * Description of Glibc_Tgmath fix
3902 tSCC zGlibc_TgmathName[] =
3906 * File name selection pattern
3908 tSCC zGlibc_TgmathList[] =
3911 * Machine/OS name selection pattern
3913 #define apzGlibc_TgmathMachs (const char**)NULL
3916 * content selection pattern - do fix if pattern found
3918 tSCC zGlibc_TgmathSelect0[] =
3919 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3922 * content bypass pattern - skip fix if pattern found
3924 tSCC zGlibc_TgmathBypass0[] =
3925 "__floating_type\\(type\\) \\\\\n\
3926 .*__builtin_classify_type";
3928 #define GLIBC_TGMATH_TEST_CT 2
3929 static tTestDesc aGlibc_TgmathTests[] = {
3930 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3931 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3934 * Fix Command Arguments for Glibc_Tgmath
3936 static const char* apzGlibc_TgmathPatch[] = {
3938 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3943 * Description of Gnu_Types fix
3945 tSCC zGnu_TypesName[] =
3949 * File name selection pattern
3951 tSCC zGnu_TypesList[] =
3952 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3954 * Machine/OS name selection pattern
3956 tSCC* apzGnu_TypesMachs[] = {
3957 "*-*-solaris2.1[0-9]*",
3958 (const char*)NULL };
3961 * content selection pattern - do fix if pattern found
3963 tSCC zGnu_TypesSelect0[] =
3964 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3967 * content bypass pattern - skip fix if pattern found
3969 tSCC zGnu_TypesBypass0[] =
3970 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3972 #define GNU_TYPES_TEST_CT 2
3973 static tTestDesc aGnu_TypesTests[] = {
3974 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3975 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3978 * Fix Command Arguments for Gnu_Types
3980 static const char* apzGnu_TypesPatch[] = {
3984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3986 * Description of Hp_Inline fix
3988 tSCC zHp_InlineName[] =
3992 * File name selection pattern
3994 tSCC zHp_InlineList[] =
3995 "sys/spinlock.h\0machine/machparam.h\0";
3997 * Machine/OS name selection pattern
3999 #define apzHp_InlineMachs (const char**)NULL
4002 * content selection pattern - do fix if pattern found
4004 tSCC zHp_InlineSelect0[] =
4005 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4007 #define HP_INLINE_TEST_CT 1
4008 static tTestDesc aHp_InlineTests[] = {
4009 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
4012 * Fix Command Arguments for Hp_Inline
4014 static const char* apzHp_InlinePatch[] = {
4017 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4022 * Description of Hp_Sysfile fix
4024 tSCC zHp_SysfileName[] =
4028 * File name selection pattern
4030 tSCC zHp_SysfileList[] =
4033 * Machine/OS name selection pattern
4035 #define apzHp_SysfileMachs (const char**)NULL
4038 * content selection pattern - do fix if pattern found
4040 tSCC zHp_SysfileSelect0[] =
4043 #define HP_SYSFILE_TEST_CT 1
4044 static tTestDesc aHp_SysfileTests[] = {
4045 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
4048 * Fix Command Arguments for Hp_Sysfile
4050 static const char* apzHp_SysfilePatch[] = {
4052 "(struct file *, ...)",
4056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4058 * Description of Hppa_Hpux_Fp_Macros fix
4060 tSCC zHppa_Hpux_Fp_MacrosName[] =
4061 "hppa_hpux_fp_macros";
4064 * File name selection pattern
4066 tSCC zHppa_Hpux_Fp_MacrosList[] =
4069 * Machine/OS name selection pattern
4071 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4073 (const char*)NULL };
4076 * content selection pattern - do fix if pattern found
4078 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4079 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4080 #[ \t]*define[ \t]*FP_ZERO.*\n\
4081 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4082 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4083 #[ \t]*define[ \t]*FP_NAN.*\n";
4085 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
4086 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4087 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4090 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4092 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4094 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4095 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4096 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4098 #ifdef _INCLUDE_HPUX_SOURCE\n",
4101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4103 * Description of Hpux10_Cpp_Pow_Inline fix
4105 tSCC zHpux10_Cpp_Pow_InlineName[] =
4106 "hpux10_cpp_pow_inline";
4109 * File name selection pattern
4111 tSCC zHpux10_Cpp_Pow_InlineList[] =
4112 "fixinc-test-limits.h\0math.h\0";
4114 * Machine/OS name selection pattern
4116 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4119 * content selection pattern - do fix if pattern found
4121 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4122 "^# +ifdef +__cplusplus\n\
4124 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4125 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4127 +extern +\"C\" +\\{\n\
4131 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4132 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4133 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4136 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4138 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4145 * Description of Hpux11_Cpp_Pow_Inline fix
4147 tSCC zHpux11_Cpp_Pow_InlineName[] =
4148 "hpux11_cpp_pow_inline";
4151 * File name selection pattern
4153 tSCC zHpux11_Cpp_Pow_InlineList[] =
4156 * Machine/OS name selection pattern
4158 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4161 * content selection pattern - do fix if pattern found
4163 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4164 " +inline double pow\\(double d,int expon\\) \\{\n\
4165 +return pow\\(d, \\(double\\)expon\\);\n\
4168 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4169 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4170 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4173 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4175 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4182 * Description of Hpux10_Ctype_Declarations1 fix
4184 tSCC zHpux10_Ctype_Declarations1Name[] =
4185 "hpux10_ctype_declarations1";
4188 * File name selection pattern
4190 tSCC zHpux10_Ctype_Declarations1List[] =
4193 * Machine/OS name selection pattern
4195 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4198 * content selection pattern - do fix if pattern found
4200 tSCC zHpux10_Ctype_Declarations1Select0[] =
4201 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4204 * content bypass pattern - skip fix if pattern found
4206 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4207 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4209 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4210 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4211 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4212 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4215 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4217 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4219 "#ifdef _PROTOTYPES\n\
4220 extern int __tolower(int);\n\
4221 extern int __toupper(int);\n\
4222 #else /* NOT _PROTOTYPES */\n\
4223 extern int __tolower();\n\
4224 extern int __toupper();\n\
4225 #endif /* _PROTOTYPES */\n\n\
4229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4231 * Description of Hpux10_Ctype_Declarations2 fix
4233 tSCC zHpux10_Ctype_Declarations2Name[] =
4234 "hpux10_ctype_declarations2";
4237 * File name selection pattern
4239 tSCC zHpux10_Ctype_Declarations2List[] =
4242 * Machine/OS name selection pattern
4244 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4247 * content selection pattern - do fix if pattern found
4249 tSCC zHpux10_Ctype_Declarations2Select0[] =
4250 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4253 * content bypass pattern - skip fix if pattern found
4255 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4256 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4258 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4259 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4260 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4261 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4264 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4266 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4269 #ifdef _PROTOTYPES\n\
4270 extern int _isalnum(int);\n\
4271 extern int _isalpha(int);\n\
4272 extern int _iscntrl(int);\n\
4273 extern int _isdigit(int);\n\
4274 extern int _isgraph(int);\n\
4275 extern int _islower(int);\n\
4276 extern int _isprint(int);\n\
4277 extern int _ispunct(int);\n\
4278 extern int _isspace(int);\n\
4279 extern int _isupper(int);\n\
4280 extern int _isxdigit(int);\n\
4281 # else /* not _PROTOTYPES */\n\
4282 extern int _isalnum();\n\
4283 extern int _isalpha();\n\
4284 extern int _iscntrl();\n\
4285 extern int _isdigit();\n\
4286 extern int _isgraph();\n\
4287 extern int _islower();\n\
4288 extern int _isprint();\n\
4289 extern int _ispunct();\n\
4290 extern int _isspace();\n\
4291 extern int _isupper();\n\
4292 extern int _isxdigit();\n\
4293 #endif /* _PROTOTYPES */\n",
4296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4298 * Description of Hpux10_Stdio_Declarations fix
4300 tSCC zHpux10_Stdio_DeclarationsName[] =
4301 "hpux10_stdio_declarations";
4304 * File name selection pattern
4306 tSCC zHpux10_Stdio_DeclarationsList[] =
4309 * Machine/OS name selection pattern
4311 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4314 * content selection pattern - do fix if pattern found
4316 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4317 "^#[ \t]*define _iob[ \t]*__iob";
4320 * content bypass pattern - skip fix if pattern found
4322 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4323 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4325 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4326 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4327 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4328 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4331 * Fix Command Arguments for Hpux10_Stdio_Declarations
4333 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4336 # if defined(__STDC__) || defined(__cplusplus)\n\
4337 extern int snprintf(char *, size_t, const char *, ...);\n\
4338 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4339 # else /* not __STDC__) || __cplusplus */\n\
4340 extern int snprintf();\n\
4341 extern int vsnprintf();\n\
4342 # endif /* __STDC__) || __cplusplus */\n",
4345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4347 * Description of Hppa_Hpux11_Alloca fix
4349 tSCC zHppa_Hpux11_AllocaName[] =
4350 "hppa_hpux11_alloca";
4353 * File name selection pattern
4355 tSCC zHppa_Hpux11_AllocaList[] =
4358 * Machine/OS name selection pattern
4360 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4362 (const char*)NULL };
4365 * content selection pattern - do fix if pattern found
4367 tSCC zHppa_Hpux11_AllocaSelect0[] =
4368 "#ifndef _STDDEF_INCLUDED";
4370 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4371 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4372 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4375 * Fix Command Arguments for Hppa_Hpux11_Alloca
4377 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4379 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4380 # include <sys/stdsyms.h>\n\
4381 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4387 * Description of Hpux11_Abs fix
4389 tSCC zHpux11_AbsName[] =
4393 * File name selection pattern
4395 tSCC zHpux11_AbsList[] =
4398 * Machine/OS name selection pattern
4400 tSCC* apzHpux11_AbsMachs[] = {
4402 (const char*)NULL };
4405 * content selection pattern - do fix if pattern found
4407 tSCC zHpux11_AbsSelect0[] =
4408 "ifndef _MATH_INCLUDED";
4410 #define HPUX11_ABS_TEST_CT 1
4411 static tTestDesc aHpux11_AbsTests[] = {
4412 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4415 * Fix Command Arguments for Hpux11_Abs
4417 static const char* apzHpux11_AbsPatch[] = {
4419 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4422 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4424 * Description of Hpux11_Lwp_Rwlock_Valid fix
4426 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4427 "hpux11_lwp_rwlock_valid";
4430 * File name selection pattern
4432 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4435 * Machine/OS name selection pattern
4437 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4439 (const char*)NULL };
4442 * content selection pattern - do fix if pattern found
4444 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4445 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4447 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4448 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4449 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4452 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4454 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4456 "#define __LWP_RWLOCK_VALID -29551",
4459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4461 * Description of Hpux11_Extern_Sendfile fix
4463 tSCC zHpux11_Extern_SendfileName[] =
4464 "hpux11_extern_sendfile";
4467 * File name selection pattern
4469 tSCC zHpux11_Extern_SendfileList[] =
4472 * Machine/OS name selection pattern
4474 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4475 "*-hp-hpux11.[12]*",
4476 (const char*)NULL };
4479 * content selection pattern - do fix if pattern found
4481 tSCC zHpux11_Extern_SendfileSelect0[] =
4482 "^[ \t]*extern sbsize_t sendfile.*\n\
4485 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4486 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4487 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4490 * Fix Command Arguments for Hpux11_Extern_Sendfile
4492 static const char* apzHpux11_Extern_SendfilePatch[] = {
4494 "#ifndef _APP32_64BIT_OFF_T\n\
4498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4500 * Description of Hpux11_Extern_Sendpath fix
4502 tSCC zHpux11_Extern_SendpathName[] =
4503 "hpux11_extern_sendpath";
4506 * File name selection pattern
4508 tSCC zHpux11_Extern_SendpathList[] =
4511 * Machine/OS name selection pattern
4513 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4514 "*-hp-hpux11.[12]*",
4515 (const char*)NULL };
4518 * content selection pattern - do fix if pattern found
4520 tSCC zHpux11_Extern_SendpathSelect0[] =
4521 "^[ \t]*extern sbsize_t sendpath.*\n\
4524 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4525 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4526 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4529 * Fix Command Arguments for Hpux11_Extern_Sendpath
4531 static const char* apzHpux11_Extern_SendpathPatch[] = {
4533 "#ifndef _APP32_64BIT_OFF_T\n\
4537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4539 * Description of Hpux11_Fabsf fix
4541 tSCC zHpux11_FabsfName[] =
4545 * File name selection pattern
4547 tSCC zHpux11_FabsfList[] =
4550 * Machine/OS name selection pattern
4552 tSCC* apzHpux11_FabsfMachs[] = {
4554 (const char*)NULL };
4557 * content selection pattern - do fix if pattern found
4559 tSCC zHpux11_FabsfSelect0[] =
4560 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4562 #define HPUX11_FABSF_TEST_CT 1
4563 static tTestDesc aHpux11_FabsfTests[] = {
4564 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4567 * Fix Command Arguments for Hpux11_Fabsf
4569 static const char* apzHpux11_FabsfPatch[] = {
4571 "#ifndef __cplusplus\n\
4576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4578 * Description of Hpux11_Pthread_Pointer fix
4580 tSCC zHpux11_Pthread_PointerName[] =
4581 "hpux11_pthread_pointer";
4584 * File name selection pattern
4586 tSCC zHpux11_Pthread_PointerList[] =
4589 * Machine/OS name selection pattern
4591 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4592 "*-hp-hpux11.[0-3]*",
4593 (const char*)NULL };
4596 * content selection pattern - do fix if pattern found
4598 tSCC zHpux11_Pthread_PointerSelect0[] =
4599 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4601 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4602 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4603 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4606 * Fix Command Arguments for Hpux11_Pthread_Pointer
4608 static const char* apzHpux11_Pthread_PointerPatch[] = {
4613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4615 * Description of Hpux11_Pthread_Const fix
4617 tSCC zHpux11_Pthread_ConstName[] =
4618 "hpux11_pthread_const";
4621 * File name selection pattern
4623 tSCC zHpux11_Pthread_ConstList[] =
4626 * Machine/OS name selection pattern
4628 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4629 "*-hp-hpux11.[0-3]*",
4630 (const char*)NULL };
4633 * content selection pattern - do fix if pattern found
4635 tSCC zHpux11_Pthread_ConstSelect0[] =
4636 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4638 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4639 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4640 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4643 * Fix Command Arguments for Hpux11_Pthread_Const
4645 static const char* apzHpux11_Pthread_ConstPatch[] = {
4650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4652 * Description of Hpux11_Size_T fix
4654 tSCC zHpux11_Size_TName[] =
4658 * File name selection pattern
4660 #define zHpux11_Size_TList (char*)NULL
4662 * Machine/OS name selection pattern
4664 tSCC* apzHpux11_Size_TMachs[] = {
4666 (const char*)NULL };
4669 * content selection pattern - do fix if pattern found
4671 tSCC zHpux11_Size_TSelect0[] =
4674 #define HPUX11_SIZE_T_TEST_CT 1
4675 static tTestDesc aHpux11_Size_TTests[] = {
4676 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4679 * Fix Command Arguments for Hpux11_Size_T
4681 static const char* apzHpux11_Size_TPatch[] = {
4686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4688 * Description of Hpux11_Snprintf fix
4690 tSCC zHpux11_SnprintfName[] =
4694 * File name selection pattern
4696 tSCC zHpux11_SnprintfList[] =
4699 * Machine/OS name selection pattern
4701 #define apzHpux11_SnprintfMachs (const char**)NULL
4704 * content selection pattern - do fix if pattern found
4706 tSCC zHpux11_SnprintfSelect0[] =
4707 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4709 #define HPUX11_SNPRINTF_TEST_CT 1
4710 static tTestDesc aHpux11_SnprintfTests[] = {
4711 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4714 * Fix Command Arguments for Hpux11_Snprintf
4716 static const char* apzHpux11_SnprintfPatch[] = {
4721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4723 * Description of Hpux11_Vsnprintf fix
4725 tSCC zHpux11_VsnprintfName[] =
4729 * File name selection pattern
4731 tSCC zHpux11_VsnprintfList[] =
4734 * Machine/OS name selection pattern
4736 #define apzHpux11_VsnprintfMachs (const char**)NULL
4739 * content selection pattern - do fix if pattern found
4741 tSCC zHpux11_VsnprintfSelect0[] =
4742 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4744 #define HPUX11_VSNPRINTF_TEST_CT 1
4745 static tTestDesc aHpux11_VsnprintfTests[] = {
4746 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4749 * Fix Command Arguments for Hpux11_Vsnprintf
4751 static const char* apzHpux11_VsnprintfPatch[] = {
4756 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4758 * Description of Hpux_Vsscanf fix
4760 tSCC zHpux_VsscanfName[] =
4764 * File name selection pattern
4766 tSCC zHpux_VsscanfList[] =
4769 * Machine/OS name selection pattern
4771 tSCC* apzHpux_VsscanfMachs[] = {
4773 (const char*)NULL };
4776 * content selection pattern - do fix if pattern found
4778 tSCC zHpux_VsscanfSelect0[] =
4779 "(extern int vsscanf\\()char";
4781 #define HPUX_VSSCANF_TEST_CT 1
4782 static tTestDesc aHpux_VsscanfTests[] = {
4783 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4786 * Fix Command Arguments for Hpux_Vsscanf
4788 static const char* apzHpux_VsscanfPatch[] = {
4793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4795 * Description of Hpux8_Bogus_Inlines fix
4797 tSCC zHpux8_Bogus_InlinesName[] =
4798 "hpux8_bogus_inlines";
4801 * File name selection pattern
4803 tSCC zHpux8_Bogus_InlinesList[] =
4806 * Machine/OS name selection pattern
4808 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4811 * content selection pattern - do fix if pattern found
4813 tSCC zHpux8_Bogus_InlinesSelect0[] =
4817 * content bypass pattern - skip fix if pattern found
4819 tSCC zHpux8_Bogus_InlinesBypass0[] =
4822 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4823 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4824 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4825 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4828 * Fix Command Arguments for Hpux8_Bogus_Inlines
4830 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4831 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4832 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4833 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4834 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4839 * Description of Hpux_C99_Intptr fix
4841 tSCC zHpux_C99_IntptrName[] =
4845 * File name selection pattern
4847 tSCC zHpux_C99_IntptrList[] =
4848 "stdint-hpux11.h\0stdint.h\0";
4850 * Machine/OS name selection pattern
4852 tSCC* apzHpux_C99_IntptrMachs[] = {
4854 (const char*)NULL };
4855 #define HPUX_C99_INTPTR_TEST_CT 0
4856 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4859 * Fix Command Arguments for Hpux_C99_Intptr
4861 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4862 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4863 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4864 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4865 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4866 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4867 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4872 * Description of Hpux_C99_Inttypes fix
4874 tSCC zHpux_C99_InttypesName[] =
4875 "hpux_c99_inttypes";
4878 * File name selection pattern
4880 tSCC zHpux_C99_InttypesList[] =
4881 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4883 * Machine/OS name selection pattern
4885 tSCC* apzHpux_C99_InttypesMachs[] = {
4886 "*-hp-hpux11.[23]*",
4887 (const char*)NULL };
4888 #define HPUX_C99_INTTYPES_TEST_CT 0
4889 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4892 * Fix Command Arguments for Hpux_C99_Inttypes
4894 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4895 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4896 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4897 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4898 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4901 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4903 * Description of Hpux_C99_Inttypes2 fix
4905 tSCC zHpux_C99_Inttypes2Name[] =
4906 "hpux_c99_inttypes2";
4909 * File name selection pattern
4911 tSCC zHpux_C99_Inttypes2List[] =
4912 "stdint-hpux11.h\0stdint.h\0";
4914 * Machine/OS name selection pattern
4916 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4918 (const char*)NULL };
4919 #define HPUX_C99_INTTYPES2_TEST_CT 0
4920 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4923 * Fix Command Arguments for Hpux_C99_Inttypes2
4925 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4926 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4927 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4928 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4929 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4934 * Description of Hpux_Ctype_Macros fix
4936 tSCC zHpux_Ctype_MacrosName[] =
4937 "hpux_ctype_macros";
4940 * File name selection pattern
4942 tSCC zHpux_Ctype_MacrosList[] =
4945 * Machine/OS name selection pattern
4947 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4950 * content selection pattern - do fix if pattern found
4952 tSCC zHpux_Ctype_MacrosSelect0[] =
4953 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4955 #define HPUX_CTYPE_MACROS_TEST_CT 1
4956 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4957 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4960 * Fix Command Arguments for Hpux_Ctype_Macros
4962 static const char* apzHpux_Ctype_MacrosPatch[] = {
4967 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4969 * Description of Hpux_Extern_Errno fix
4971 tSCC zHpux_Extern_ErrnoName[] =
4972 "hpux_extern_errno";
4975 * File name selection pattern
4977 tSCC zHpux_Extern_ErrnoList[] =
4980 * Machine/OS name selection pattern
4982 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4984 "*-hp-hpux11.[0-2]*",
4985 (const char*)NULL };
4988 * content selection pattern - do fix if pattern found
4990 tSCC zHpux_Extern_ErrnoSelect0[] =
4991 "^[ \t]*extern int errno;$";
4993 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4994 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4995 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4998 * Fix Command Arguments for Hpux_Extern_Errno
5000 static const char* apzHpux_Extern_ErrnoPatch[] = {
5002 "#ifdef __cplusplus\n\
5006 #ifdef __cplusplus\n\
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Hpux_Htonl fix
5015 tSCC zHpux_HtonlName[] =
5019 * File name selection pattern
5021 tSCC zHpux_HtonlList[] =
5024 * Machine/OS name selection pattern
5026 #define apzHpux_HtonlMachs (const char**)NULL
5029 * content selection pattern - do fix if pattern found
5031 tSCC zHpux_HtonlSelect0[] =
5032 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5034 \\* Macros for number representation conversion\\.\n\
5038 #define HPUX_HTONL_TEST_CT 1
5039 static tTestDesc aHpux_HtonlTests[] = {
5040 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
5043 * Fix Command Arguments for Hpux_Htonl
5045 static const char* apzHpux_HtonlPatch[] = {
5051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5053 * Description of Hpux_Imaginary_I fix
5055 tSCC zHpux_Imaginary_IName[] =
5059 * File name selection pattern
5061 tSCC zHpux_Imaginary_IList[] =
5064 * Machine/OS name selection pattern
5066 tSCC* apzHpux_Imaginary_IMachs[] = {
5068 (const char*)NULL };
5071 * content selection pattern - do fix if pattern found
5073 tSCC zHpux_Imaginary_ISelect0[] =
5074 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5076 #define HPUX_IMAGINARY_I_TEST_CT 1
5077 static tTestDesc aHpux_Imaginary_ITests[] = {
5078 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5081 * Fix Command Arguments for Hpux_Imaginary_I
5083 static const char* apzHpux_Imaginary_IPatch[] = {
5085 "#define _Complex_I (__extension__ 1.0iF)",
5088 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5090 * Description of Hpux_Inttype_Int8_T fix
5092 tSCC zHpux_Inttype_Int8_TName[] =
5093 "hpux_inttype_int8_t";
5096 * File name selection pattern
5098 tSCC zHpux_Inttype_Int8_TList[] =
5099 "sys/_inttypes.h\0";
5101 * Machine/OS name selection pattern
5103 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5105 (const char*)NULL };
5108 * content selection pattern - do fix if pattern found
5110 tSCC zHpux_Inttype_Int8_TSelect0[] =
5111 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5113 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
5114 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5115 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5118 * Fix Command Arguments for Hpux_Inttype_Int8_T
5120 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5122 "typedef signed char int%18_t;",
5125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5127 * Description of Hpux_Long_Double fix
5129 tSCC zHpux_Long_DoubleName[] =
5133 * File name selection pattern
5135 tSCC zHpux_Long_DoubleList[] =
5138 * Machine/OS name selection pattern
5140 tSCC* apzHpux_Long_DoubleMachs[] = {
5142 "*-*-hpux11.[012]*",
5143 (const char*)NULL };
5146 * content selection pattern - do fix if pattern found
5148 tSCC zHpux_Long_DoubleSelect0[] =
5149 "extern[ \t]long_double[ \t]strtold";
5152 * content bypass pattern - skip fix if pattern found
5154 tSCC zHpux_Long_DoubleBypass0[] =
5157 #define HPUX_LONG_DOUBLE_TEST_CT 2
5158 static tTestDesc aHpux_Long_DoubleTests[] = {
5159 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5160 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5163 * Fix Command Arguments for Hpux_Long_Double
5165 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5166 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5167 "-e", "s/long_double/long double/g",
5170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5172 * Description of Hpux_Long_Double_2 fix
5174 tSCC zHpux_Long_Double_2Name[] =
5175 "hpux_long_double_2";
5178 * File name selection pattern
5180 tSCC zHpux_Long_Double_2List[] =
5183 * Machine/OS name selection pattern
5185 tSCC* apzHpux_Long_Double_2Machs[] = {
5186 "hppa*-*-hpux11.3*",
5187 (const char*)NULL };
5190 * content selection pattern - do fix if pattern found
5192 tSCC zHpux_Long_Double_2Select0[] =
5193 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5195 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5196 static tTestDesc aHpux_Long_Double_2Tests[] = {
5197 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5200 * Fix Command Arguments for Hpux_Long_Double_2
5202 static const char* apzHpux_Long_Double_2Patch[] = {
5204 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5209 * Description of Hpux_Pthread_Initializers fix
5211 tSCC zHpux_Pthread_InitializersName[] =
5212 "hpux_pthread_initializers";
5215 * File name selection pattern
5217 tSCC zHpux_Pthread_InitializersList[] =
5220 * Machine/OS name selection pattern
5222 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5223 "*-hp-hpux11.[0-3]*",
5224 (const char*)NULL };
5225 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5226 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5229 * Fix Command Arguments for Hpux_Pthread_Initializers
5231 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5232 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5233 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5234 "-e", "/^[ \t]*0$/d",
5235 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5236 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5237 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5238 "-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\\\\@",
5239 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5240 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5241 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5242 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5243 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5244 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5249 * Description of Hpux_Spu_Info fix
5251 tSCC zHpux_Spu_InfoName[] =
5255 * File name selection pattern
5257 tSCC zHpux_Spu_InfoList[] =
5258 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5260 * Machine/OS name selection pattern
5262 tSCC* apzHpux_Spu_InfoMachs[] = {
5264 (const char*)NULL };
5267 * content selection pattern - do fix if pattern found
5269 tSCC zHpux_Spu_InfoSelect0[] =
5270 "^.*extern.*spu_info.*";
5272 #define HPUX_SPU_INFO_TEST_CT 1
5273 static tTestDesc aHpux_Spu_InfoTests[] = {
5274 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5277 * Fix Command Arguments for Hpux_Spu_Info
5279 static const char* apzHpux_Spu_InfoPatch[] = {
5286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5288 * Description of Hpux_Stdint_Least_Fast fix
5290 tSCC zHpux_Stdint_Least_FastName[] =
5291 "hpux_stdint_least_fast";
5294 * File name selection pattern
5296 tSCC zHpux_Stdint_Least_FastList[] =
5297 "stdint-hpux11.h\0stdint.h\0";
5299 * Machine/OS name selection pattern
5301 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5303 (const char*)NULL };
5306 * content selection pattern - do fix if pattern found
5308 tSCC zHpux_Stdint_Least_FastSelect0[] =
5309 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5311 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5312 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5313 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5316 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5318 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5320 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5323 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5325 * Description of Hpux_Longjmp fix
5327 tSCC zHpux_LongjmpName[] =
5331 * File name selection pattern
5333 tSCC zHpux_LongjmpList[] =
5336 * Machine/OS name selection pattern
5338 tSCC* apzHpux_LongjmpMachs[] = {
5340 (const char*)NULL };
5343 * content selection pattern - do fix if pattern found
5345 tSCC zHpux_LongjmpSelect0[] =
5346 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5348 #define HPUX_LONGJMP_TEST_CT 1
5349 static tTestDesc aHpux_LongjmpTests[] = {
5350 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5353 * Fix Command Arguments for Hpux_Longjmp
5355 static const char* apzHpux_LongjmpPatch[] = {
5357 "%0 __attribute__ ((__noreturn__))",
5360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5362 * Description of Hpux_Systime fix
5364 tSCC zHpux_SystimeName[] =
5368 * File name selection pattern
5370 tSCC zHpux_SystimeList[] =
5373 * Machine/OS name selection pattern
5375 #define apzHpux_SystimeMachs (const char**)NULL
5378 * content selection pattern - do fix if pattern found
5380 tSCC zHpux_SystimeSelect0[] =
5381 "^extern struct sigevent;";
5383 #define HPUX_SYSTIME_TEST_CT 1
5384 static tTestDesc aHpux_SystimeTests[] = {
5385 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5388 * Fix Command Arguments for Hpux_Systime
5390 static const char* apzHpux_SystimePatch[] = {
5395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5397 * Description of Huge_Val_Hex fix
5399 tSCC zHuge_Val_HexName[] =
5403 * File name selection pattern
5405 tSCC zHuge_Val_HexList[] =
5406 "bits/huge_val.h\0*/bits/huge_val.h\0";
5408 * Machine/OS name selection pattern
5410 #define apzHuge_Val_HexMachs (const char**)NULL
5413 * content selection pattern - do fix if pattern found
5415 tSCC zHuge_Val_HexSelect0[] =
5416 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5419 * content bypass pattern - skip fix if pattern found
5421 tSCC zHuge_Val_HexBypass0[] =
5422 "__builtin_huge_val";
5424 #define HUGE_VAL_HEX_TEST_CT 2
5425 static tTestDesc aHuge_Val_HexTests[] = {
5426 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5427 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5430 * Fix Command Arguments for Huge_Val_Hex
5432 static const char* apzHuge_Val_HexPatch[] = {
5434 "#define HUGE_VAL (__builtin_huge_val())\n",
5437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5439 * Description of Huge_Valf_Hex fix
5441 tSCC zHuge_Valf_HexName[] =
5445 * File name selection pattern
5447 tSCC zHuge_Valf_HexList[] =
5448 "bits/huge_val.h\0*/bits/huge_val.h\0";
5450 * Machine/OS name selection pattern
5452 #define apzHuge_Valf_HexMachs (const char**)NULL
5455 * content selection pattern - do fix if pattern found
5457 tSCC zHuge_Valf_HexSelect0[] =
5458 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5461 * content bypass pattern - skip fix if pattern found
5463 tSCC zHuge_Valf_HexBypass0[] =
5464 "__builtin_huge_valf";
5466 #define HUGE_VALF_HEX_TEST_CT 2
5467 static tTestDesc aHuge_Valf_HexTests[] = {
5468 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5469 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5472 * Fix Command Arguments for Huge_Valf_Hex
5474 static const char* apzHuge_Valf_HexPatch[] = {
5476 "#define HUGE_VALF (__builtin_huge_valf())\n",
5479 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5481 * Description of Huge_Vall_Hex fix
5483 tSCC zHuge_Vall_HexName[] =
5487 * File name selection pattern
5489 tSCC zHuge_Vall_HexList[] =
5490 "bits/huge_val.h\0*/bits/huge_val.h\0";
5492 * Machine/OS name selection pattern
5494 #define apzHuge_Vall_HexMachs (const char**)NULL
5497 * content selection pattern - do fix if pattern found
5499 tSCC zHuge_Vall_HexSelect0[] =
5500 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5503 * content bypass pattern - skip fix if pattern found
5505 tSCC zHuge_Vall_HexBypass0[] =
5506 "__builtin_huge_vall";
5508 #define HUGE_VALL_HEX_TEST_CT 2
5509 static tTestDesc aHuge_Vall_HexTests[] = {
5510 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5511 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5514 * Fix Command Arguments for Huge_Vall_Hex
5516 static const char* apzHuge_Vall_HexPatch[] = {
5518 "#define HUGE_VALL (__builtin_huge_vall())\n",
5521 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5523 * Description of Int_Abort_Free_And_Exit fix
5525 tSCC zInt_Abort_Free_And_ExitName[] =
5526 "int_abort_free_and_exit";
5529 * File name selection pattern
5531 tSCC zInt_Abort_Free_And_ExitList[] =
5534 * Machine/OS name selection pattern
5536 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5539 * content selection pattern - do fix if pattern found
5541 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5542 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5545 * content bypass pattern - skip fix if pattern found
5547 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5548 "_CLASSIC_ANSI_TYPES";
5550 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5551 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5552 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5553 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5556 * Fix Command Arguments for Int_Abort_Free_And_Exit
5558 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5565 * Description of Io_Quotes_Def fix
5567 tSCC zIo_Quotes_DefName[] =
5571 * File name selection pattern
5573 #define zIo_Quotes_DefList (char*)NULL
5575 * Machine/OS name selection pattern
5577 #define apzIo_Quotes_DefMachs (const char**)NULL
5580 * content selection pattern - do fix if pattern found
5582 tSCC zIo_Quotes_DefSelect0[] =
5583 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5585 #define IO_QUOTES_DEF_TEST_CT 1
5586 static tTestDesc aIo_Quotes_DefTests[] = {
5587 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5590 * Fix Command Arguments for Io_Quotes_Def
5592 static const char* apzIo_Quotes_DefPatch[] = {
5597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5599 * Description of Io_Quotes_Use fix
5601 tSCC zIo_Quotes_UseName[] =
5605 * File name selection pattern
5607 #define zIo_Quotes_UseList (char*)NULL
5609 * Machine/OS name selection pattern
5611 #define apzIo_Quotes_UseMachs (const char**)NULL
5614 * content selection pattern - do fix if pattern found
5616 tSCC zIo_Quotes_UseSelect0[] =
5617 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5619 #define IO_QUOTES_USE_TEST_CT 1
5620 static tTestDesc aIo_Quotes_UseTests[] = {
5621 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5624 * Fix Command Arguments for Io_Quotes_Use
5626 static const char* apzIo_Quotes_UsePatch[] = {
5631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5633 * Description of Ip_Missing_Semi fix
5635 tSCC zIp_Missing_SemiName[] =
5639 * File name selection pattern
5641 tSCC zIp_Missing_SemiList[] =
5644 * Machine/OS name selection pattern
5646 #define apzIp_Missing_SemiMachs (const char**)NULL
5649 * content selection pattern - do fix if pattern found
5651 tSCC zIp_Missing_SemiSelect0[] =
5654 #define IP_MISSING_SEMI_TEST_CT 1
5655 static tTestDesc aIp_Missing_SemiTests[] = {
5656 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5659 * Fix Command Arguments for Ip_Missing_Semi
5661 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5662 "-e", "/^struct/,/^};/s/}$/};/",
5665 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5667 * Description of Irix_Limits_Const fix
5669 tSCC zIrix_Limits_ConstName[] =
5670 "irix_limits_const";
5673 * File name selection pattern
5675 tSCC zIrix_Limits_ConstList[] =
5676 "fixinc-test-limits.h\0limits.h\0";
5678 * Machine/OS name selection pattern
5680 #define apzIrix_Limits_ConstMachs (const char**)NULL
5683 * content selection pattern - do fix if pattern found
5685 tSCC zIrix_Limits_ConstSelect0[] =
5688 #define IRIX_LIMITS_CONST_TEST_CT 1
5689 static tTestDesc aIrix_Limits_ConstTests[] = {
5690 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5693 * Fix Command Arguments for Irix_Limits_Const
5695 static const char* apzIrix_Limits_ConstPatch[] = {
5700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5702 * Description of Irix_Stdio_Va_List fix
5704 tSCC zIrix_Stdio_Va_ListName[] =
5705 "irix_stdio_va_list";
5708 * File name selection pattern
5710 tSCC zIrix_Stdio_Va_ListList[] =
5713 * Machine/OS name selection pattern
5715 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5718 * content selection pattern - do fix if pattern found
5720 tSCC zIrix_Stdio_Va_ListSelect0[] =
5721 "/\\* va_list \\*/ char \\*";
5723 #define IRIX_STDIO_VA_LIST_TEST_CT 1
5724 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5725 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5728 * Fix Command Arguments for Irix_Stdio_Va_List
5730 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5737 * Description of Kandr_Concat fix
5739 tSCC zKandr_ConcatName[] =
5743 * File name selection pattern
5745 tSCC zKandr_ConcatList[] =
5746 "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";
5748 * Machine/OS name selection pattern
5750 #define apzKandr_ConcatMachs (const char**)NULL
5753 * content selection pattern - do fix if pattern found
5755 tSCC zKandr_ConcatSelect0[] =
5758 #define KANDR_CONCAT_TEST_CT 1
5759 static tTestDesc aKandr_ConcatTests[] = {
5760 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5763 * Fix Command Arguments for Kandr_Concat
5765 static const char* apzKandr_ConcatPatch[] = {
5770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5772 * Description of Linux_Ia64_Ucontext fix
5774 tSCC zLinux_Ia64_UcontextName[] =
5775 "linux_ia64_ucontext";
5778 * File name selection pattern
5780 tSCC zLinux_Ia64_UcontextList[] =
5783 * Machine/OS name selection pattern
5785 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5787 (const char*)NULL };
5790 * content selection pattern - do fix if pattern found
5792 tSCC zLinux_Ia64_UcontextSelect0[] =
5793 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5795 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5796 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5797 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5800 * Fix Command Arguments for Linux_Ia64_Ucontext
5802 static const char* apzLinux_Ia64_UcontextPatch[] = {
5804 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5809 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5811 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5812 "lynxos_no_warning_in_sys_time_h";
5815 * File name selection pattern
5817 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5820 * Machine/OS name selection pattern
5822 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5825 * content selection pattern - do fix if pattern found
5827 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5828 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5830 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5831 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5832 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5835 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5837 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5844 * Description of Lynxos_Missing_Putenv fix
5846 tSCC zLynxos_Missing_PutenvName[] =
5847 "lynxos_missing_putenv";
5850 * File name selection pattern
5852 tSCC zLynxos_Missing_PutenvList[] =
5855 * Machine/OS name selection pattern
5857 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5859 (const char*)NULL };
5862 * content selection pattern - do fix if pattern found
5864 tSCC zLynxos_Missing_PutenvSelect0[] =
5865 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5868 * content bypass pattern - skip fix if pattern found
5870 tSCC zLynxos_Missing_PutenvBypass0[] =
5873 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5874 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5875 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5876 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5879 * Fix Command Arguments for Lynxos_Missing_Putenv
5881 static const char* apzLynxos_Missing_PutenvPatch[] = {
5884 extern int putenv\t\t\t\t_AP((char *));",
5885 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5890 * Description of Machine_Ansi_H_Va_List fix
5892 tSCC zMachine_Ansi_H_Va_ListName[] =
5893 "machine_ansi_h_va_list";
5896 * File name selection pattern
5898 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5900 * Machine/OS name selection pattern
5902 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5905 * content selection pattern - do fix if pattern found
5907 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5908 "define[ \t]+_BSD_VA_LIST_[ \t]";
5911 * content bypass pattern - skip fix if pattern found
5913 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5914 "__builtin_va_list";
5916 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5917 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5918 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5919 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5922 * Fix Command Arguments for Machine_Ansi_H_Va_List
5924 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5926 "%1__builtin_va_list",
5927 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5930 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5932 * Description of Machine_Name fix
5934 tSCC zMachine_NameName[] =
5938 * File name selection pattern
5940 #define zMachine_NameList (char*)NULL
5942 * Machine/OS name selection pattern
5944 #define apzMachine_NameMachs (const char**)NULL
5947 * perform the C function call test
5949 tSCC zMachine_NameFTst0[] = "machine_name";
5951 #define MACHINE_NAME_TEST_CT 1
5952 static tTestDesc aMachine_NameTests[] = {
5953 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5956 * Fix Command Arguments for Machine_Name
5958 static const char* apzMachine_NamePatch[] = {
5962 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5964 * Description of Math_Exception fix
5966 tSCC zMath_ExceptionName[] =
5970 * File name selection pattern
5972 tSCC zMath_ExceptionList[] =
5975 * Machine/OS name selection pattern
5977 tSCC* apzMath_ExceptionMachs[] = {
5978 "*-*-solaris2.1[0-9]*",
5979 (const char*)NULL };
5982 * content selection pattern - do fix if pattern found
5984 tSCC zMath_ExceptionSelect0[] =
5988 * content bypass pattern - skip fix if pattern found
5990 tSCC zMath_ExceptionBypass0[] =
5991 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5993 #define MATH_EXCEPTION_TEST_CT 2
5994 static tTestDesc aMath_ExceptionTests[] = {
5995 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5996 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5999 * Fix Command Arguments for Math_Exception
6001 static const char* apzMath_ExceptionPatch[] = {
6003 "#ifdef __cplusplus\n\
6004 #define exception __math_exception\n\
6006 "#ifdef __cplusplus\n\
6011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6013 * Description of Math_Huge_Val_From_Dbl_Max fix
6015 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6016 "math_huge_val_from_dbl_max";
6019 * File name selection pattern
6021 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6024 * Machine/OS name selection pattern
6026 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6029 * content selection pattern - do fix if pattern found
6031 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6032 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6035 * content bypass pattern - skip fix if pattern found
6037 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6038 "define[ \t]+DBL_MAX";
6040 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6041 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6042 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6043 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6046 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6048 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6049 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6050 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6051 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6058 * Description of Nested_Auth_Des fix
6060 tSCC zNested_Auth_DesName[] =
6064 * File name selection pattern
6066 tSCC zNested_Auth_DesList[] =
6069 * Machine/OS name selection pattern
6071 #define apzNested_Auth_DesMachs (const char**)NULL
6074 * content selection pattern - do fix if pattern found
6076 tSCC zNested_Auth_DesSelect0[] =
6077 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6079 #define NESTED_AUTH_DES_TEST_CT 1
6080 static tTestDesc aNested_Auth_DesTests[] = {
6081 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6084 * Fix Command Arguments for Nested_Auth_Des
6086 static const char* apzNested_Auth_DesPatch[] = {
6091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6093 * Description of Netbsd_C99_Inline_1 fix
6095 tSCC zNetbsd_C99_Inline_1Name[] =
6096 "netbsd_c99_inline_1";
6099 * File name selection pattern
6101 tSCC zNetbsd_C99_Inline_1List[] =
6104 * Machine/OS name selection pattern
6106 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6108 (const char*)NULL };
6111 * content selection pattern - do fix if pattern found
6113 tSCC zNetbsd_C99_Inline_1Select0[] =
6114 "extern __inline int";
6116 #define NETBSD_C99_INLINE_1_TEST_CT 1
6117 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6118 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6121 * Fix Command Arguments for Netbsd_C99_Inline_1
6123 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6126 #ifdef __GNUC_STDC_INLINE__\n\
6127 __attribute__((__gnu_inline__))\n\
6132 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6134 * Description of Netbsd_C99_Inline_2 fix
6136 tSCC zNetbsd_C99_Inline_2Name[] =
6137 "netbsd_c99_inline_2";
6140 * File name selection pattern
6142 tSCC zNetbsd_C99_Inline_2List[] =
6145 * Machine/OS name selection pattern
6147 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6149 (const char*)NULL };
6152 * content selection pattern - do fix if pattern found
6154 tSCC zNetbsd_C99_Inline_2Select0[] =
6155 "#define _SIGINLINE extern __inline";
6157 #define NETBSD_C99_INLINE_2_TEST_CT 1
6158 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6159 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6162 * Fix Command Arguments for Netbsd_C99_Inline_2
6164 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6166 "#ifdef __GNUC_STDC_INLINE__\n\
6167 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6175 * Description of Netbsd_Extra_Semicolon fix
6177 tSCC zNetbsd_Extra_SemicolonName[] =
6178 "netbsd_extra_semicolon";
6181 * File name selection pattern
6183 tSCC zNetbsd_Extra_SemicolonList[] =
6186 * Machine/OS name selection pattern
6188 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6190 (const char*)NULL };
6193 * content selection pattern - do fix if pattern found
6195 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6196 "#define[ \t]*__END_DECLS[ \t]*};";
6198 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6199 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6200 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6203 * Fix Command Arguments for Netbsd_Extra_Semicolon
6205 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6207 "#define __END_DECLS }",
6210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6212 * Description of Newlib_Stdint_1 fix
6214 tSCC zNewlib_Stdint_1Name[] =
6218 * File name selection pattern
6220 tSCC zNewlib_Stdint_1List[] =
6221 "stdint-newlib.h\0stdint.h\0";
6223 * Machine/OS name selection pattern
6225 #define apzNewlib_Stdint_1Machs (const char**)NULL
6228 * content selection pattern - do fix if pattern found
6230 tSCC zNewlib_Stdint_1Select0[] =
6231 "@todo - Add support for wint_t types";
6233 #define NEWLIB_STDINT_1_TEST_CT 1
6234 static tTestDesc aNewlib_Stdint_1Tests[] = {
6235 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6238 * Fix Command Arguments for Newlib_Stdint_1
6240 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6241 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6242 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6243 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6244 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6245 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6246 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6247 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6248 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6249 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6250 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6251 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6252 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6253 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6254 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6259 * Description of Newlib_Stdint_2 fix
6261 tSCC zNewlib_Stdint_2Name[] =
6265 * File name selection pattern
6267 tSCC zNewlib_Stdint_2List[] =
6268 "stdint-newlib.h\0stdint.h\0";
6270 * Machine/OS name selection pattern
6272 #define apzNewlib_Stdint_2Machs (const char**)NULL
6275 * content selection pattern - do fix if pattern found
6277 tSCC zNewlib_Stdint_2Select0[] =
6278 "@todo - Add support for wint_t types";
6280 #define NEWLIB_STDINT_2_TEST_CT 1
6281 static tTestDesc aNewlib_Stdint_2Tests[] = {
6282 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6285 * Fix Command Arguments for Newlib_Stdint_2
6287 static const char* apzNewlib_Stdint_2Patch[] = {
6289 "#define INTMAX_MAX __INTMAX_MAX__\n\
6290 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6291 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6292 #define WCHAR_MAX __WCHAR_MAX__\n\
6293 #define WCHAR_MIN __WCHAR_MIN__\n\
6294 #define WINT_MAX __WINT_MAX__\n\
6295 #define WINT_MIN __WINT_MIN__\n\n\
6297 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6300 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6302 * Description of Next_Math_Prefix fix
6304 tSCC zNext_Math_PrefixName[] =
6308 * File name selection pattern
6310 tSCC zNext_Math_PrefixList[] =
6313 * Machine/OS name selection pattern
6315 #define apzNext_Math_PrefixMachs (const char**)NULL
6318 * content selection pattern - do fix if pattern found
6320 tSCC zNext_Math_PrefixSelect0[] =
6321 "^extern[ \t]+double[ \t]+__const__[ \t]";
6323 #define NEXT_MATH_PREFIX_TEST_CT 1
6324 static tTestDesc aNext_Math_PrefixTests[] = {
6325 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6328 * Fix Command Arguments for Next_Math_Prefix
6330 static const char* apzNext_Math_PrefixPatch[] = {
6332 "extern double %1(",
6333 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6338 * Description of Next_Template fix
6340 tSCC zNext_TemplateName[] =
6344 * File name selection pattern
6346 tSCC zNext_TemplateList[] =
6349 * Machine/OS name selection pattern
6351 #define apzNext_TemplateMachs (const char**)NULL
6354 * content selection pattern - do fix if pattern found
6356 tSCC zNext_TemplateSelect0[] =
6359 #define NEXT_TEMPLATE_TEST_CT 1
6360 static tTestDesc aNext_TemplateTests[] = {
6361 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6364 * Fix Command Arguments for Next_Template
6366 static const char* apzNext_TemplatePatch[] = {
6369 "\\(([^)]*)[ \t]template\\)",
6372 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6374 * Description of Next_Volitile fix
6376 tSCC zNext_VolitileName[] =
6380 * File name selection pattern
6382 tSCC zNext_VolitileList[] =
6385 * Machine/OS name selection pattern
6387 #define apzNext_VolitileMachs (const char**)NULL
6390 * content selection pattern - do fix if pattern found
6392 tSCC zNext_VolitileSelect0[] =
6393 "^extern[ \t]+volatile[ \t]+void[ \t]";
6395 #define NEXT_VOLITILE_TEST_CT 1
6396 static tTestDesc aNext_VolitileTests[] = {
6397 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6400 * Fix Command Arguments for Next_Volitile
6402 static const char* apzNext_VolitilePatch[] = {
6405 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6410 * Description of Next_Wait_Union fix
6412 tSCC zNext_Wait_UnionName[] =
6416 * File name selection pattern
6418 tSCC zNext_Wait_UnionList[] =
6421 * Machine/OS name selection pattern
6423 #define apzNext_Wait_UnionMachs (const char**)NULL
6426 * content selection pattern - do fix if pattern found
6428 tSCC zNext_Wait_UnionSelect0[] =
6429 "wait\\(union wait";
6431 #define NEXT_WAIT_UNION_TEST_CT 1
6432 static tTestDesc aNext_Wait_UnionTests[] = {
6433 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6436 * Fix Command Arguments for Next_Wait_Union
6438 static const char* apzNext_Wait_UnionPatch[] = {
6443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6445 * Description of Nodeent_Syntax fix
6447 tSCC zNodeent_SyntaxName[] =
6451 * File name selection pattern
6453 tSCC zNodeent_SyntaxList[] =
6454 "netdnet/dnetdb.h\0";
6456 * Machine/OS name selection pattern
6458 #define apzNodeent_SyntaxMachs (const char**)NULL
6461 * content selection pattern - do fix if pattern found
6463 tSCC zNodeent_SyntaxSelect0[] =
6464 "char[ \t]*\\*na_addr[ \t]*$";
6466 #define NODEENT_SYNTAX_TEST_CT 1
6467 static tTestDesc aNodeent_SyntaxTests[] = {
6468 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6471 * Fix Command Arguments for Nodeent_Syntax
6473 static const char* apzNodeent_SyntaxPatch[] = {
6478 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6480 * Description of Openbsd_Null_Definition fix
6482 tSCC zOpenbsd_Null_DefinitionName[] =
6483 "openbsd_null_definition";
6486 * File name selection pattern
6488 tSCC zOpenbsd_Null_DefinitionList[] =
6489 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6491 * Machine/OS name selection pattern
6493 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6495 (const char*)NULL };
6498 * content selection pattern - do fix if pattern found
6500 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6503 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6504 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6505 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6508 * Fix Command Arguments for Openbsd_Null_Definition
6510 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6513 #ifdef __cplusplus\n\
6515 #define NULL\t__null\n\
6516 #else\t /* ! __GNUG__ */\n\
6518 #endif\t /* __GNUG__ */\n\
6519 #else\t /* ! __cplusplus */\n\
6520 #define NULL\t((void *)0)\n\
6521 #endif\t /* __cplusplus */\n\
6522 #endif\t /* !NULL */",
6523 "^#ifndef[ \t]*NULL\n\
6524 ^#ifdef[ \t]*__GNUG__\n\
6525 ^#define[ \t]*NULL[ \t]*__null\n\
6527 ^#define[ \t]*NULL[ \t]*0L\n\
6532 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6534 * Description of Obstack_Lvalue_Cast fix
6536 tSCC zObstack_Lvalue_CastName[] =
6537 "obstack_lvalue_cast";
6540 * File name selection pattern
6542 tSCC zObstack_Lvalue_CastList[] =
6545 * Machine/OS name selection pattern
6547 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6550 * content selection pattern - do fix if pattern found
6552 tSCC zObstack_Lvalue_CastSelect0[] =
6553 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6555 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6556 static tTestDesc aObstack_Lvalue_CastTests[] = {
6557 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6560 * Fix Command Arguments for Obstack_Lvalue_Cast
6562 static const char* apzObstack_Lvalue_CastPatch[] = {
6564 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6569 * Description of Openbsd_Va_Start fix
6571 tSCC zOpenbsd_Va_StartName[] =
6575 * File name selection pattern
6577 tSCC zOpenbsd_Va_StartList[] =
6580 * Machine/OS name selection pattern
6582 tSCC* apzOpenbsd_Va_StartMachs[] = {
6584 (const char*)NULL };
6587 * content selection pattern - do fix if pattern found
6589 tSCC zOpenbsd_Va_StartSelect0[] =
6590 "__builtin_stdarg_start";
6592 #define OPENBSD_VA_START_TEST_CT 1
6593 static tTestDesc aOpenbsd_Va_StartTests[] = {
6594 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6597 * Fix Command Arguments for Openbsd_Va_Start
6599 static const char* apzOpenbsd_Va_StartPatch[] = {
6601 "__builtin_va_start",
6604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6606 * Description of Osf_Namespace_A fix
6608 tSCC zOsf_Namespace_AName[] =
6612 * File name selection pattern
6614 tSCC zOsf_Namespace_AList[] =
6615 "reg_types.h\0sys/lc_core.h\0";
6617 * Machine/OS name selection pattern
6619 #define apzOsf_Namespace_AMachs (const char**)NULL
6622 * perform the 'test' shell command - do fix on success
6624 tSCC zOsf_Namespace_ATest0[] =
6626 tSCC zOsf_Namespace_ATest1[] =
6627 " -r sys/lc_core.h";
6628 tSCC zOsf_Namespace_ATest2[] =
6629 " -n \"`grep '} regex_t;' reg_types.h`\"";
6630 tSCC zOsf_Namespace_ATest3[] =
6631 " -z \"`grep __regex_t regex.h`\"";
6633 #define OSF_NAMESPACE_A_TEST_CT 4
6634 static tTestDesc aOsf_Namespace_ATests[] = {
6635 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6636 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6637 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6638 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6641 * Fix Command Arguments for Osf_Namespace_A
6643 static const char* apzOsf_Namespace_APatch[] = {
6646 "reg(ex|off|match)_t",
6649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6651 * Description of Osf_Namespace_C fix
6653 tSCC zOsf_Namespace_CName[] =
6657 * File name selection pattern
6659 tSCC zOsf_Namespace_CList[] =
6662 * Machine/OS name selection pattern
6664 #define apzOsf_Namespace_CMachs (const char**)NULL
6667 * content selection pattern - do fix if pattern found
6669 tSCC zOsf_Namespace_CSelect0[] =
6670 "#include <reg_types.h>.*";
6673 * perform the 'test' shell command - do fix on success
6675 tSCC zOsf_Namespace_CTest0[] =
6677 tSCC zOsf_Namespace_CTest1[] =
6678 " -r sys/lc_core.h";
6679 tSCC zOsf_Namespace_CTest2[] =
6680 " -n \"`grep '} regex_t;' reg_types.h`\"";
6681 tSCC zOsf_Namespace_CTest3[] =
6682 " -z \"`grep __regex_t regex.h`\"";
6684 #define OSF_NAMESPACE_C_TEST_CT 5
6685 static tTestDesc aOsf_Namespace_CTests[] = {
6686 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6687 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6688 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6689 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6690 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6693 * Fix Command Arguments for Osf_Namespace_C
6695 static const char* apzOsf_Namespace_CPatch[] = {
6698 typedef __regex_t\tregex_t;\n\
6699 typedef __regoff_t\tregoff_t;\n\
6700 typedef __regmatch_t\tregmatch_t;",
6703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6705 * Description of Pthread_Incomplete_Struct_Argument fix
6707 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6708 "pthread_incomplete_struct_argument";
6711 * File name selection pattern
6713 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6716 * Machine/OS name selection pattern
6718 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6721 * content selection pattern - do fix if pattern found
6723 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6724 "struct __jmp_buf_tag";
6726 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
6727 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6728 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6731 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6733 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6736 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6739 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6741 * Description of Read_Ret_Type fix
6743 tSCC zRead_Ret_TypeName[] =
6747 * File name selection pattern
6749 tSCC zRead_Ret_TypeList[] =
6752 * Machine/OS name selection pattern
6754 #define apzRead_Ret_TypeMachs (const char**)NULL
6757 * content selection pattern - do fix if pattern found
6759 tSCC zRead_Ret_TypeSelect0[] =
6760 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6762 #define READ_RET_TYPE_TEST_CT 1
6763 static tTestDesc aRead_Ret_TypeTests[] = {
6764 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6767 * Fix Command Arguments for Read_Ret_Type
6769 static const char* apzRead_Ret_TypePatch[] = {
6771 "extern unsigned int fread(), fwrite();\n\
6773 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6778 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6780 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6781 "rpc_xdr_lvalue_cast_a";
6784 * File name selection pattern
6786 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6789 * Machine/OS name selection pattern
6791 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6794 * content selection pattern - do fix if pattern found
6796 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6797 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6800 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6801 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6802 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6805 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6807 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6809 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6814 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6816 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6817 "rpc_xdr_lvalue_cast_b";
6820 * File name selection pattern
6822 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6825 * Machine/OS name selection pattern
6827 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6830 * content selection pattern - do fix if pattern found
6832 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6833 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6836 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6837 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6838 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6841 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6843 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6845 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6850 * Description of Rs6000_Double fix
6852 tSCC zRs6000_DoubleName[] =
6856 * File name selection pattern
6858 tSCC zRs6000_DoubleList[] =
6861 * Machine/OS name selection pattern
6863 #define apzRs6000_DoubleMachs (const char**)NULL
6866 * content selection pattern - do fix if pattern found
6868 tSCC zRs6000_DoubleSelect0[] =
6869 "[^a-zA-Z_]class\\(";
6871 #define RS6000_DOUBLE_TEST_CT 1
6872 static tTestDesc aRs6000_DoubleTests[] = {
6873 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6876 * Fix Command Arguments for Rs6000_Double
6878 static const char* apzRs6000_DoublePatch[] = {
6880 "#ifndef __cplusplus\n\
6883 "^.*[^a-zA-Z_]class\\(.*",
6886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6888 * Description of Rs6000_Fchmod fix
6890 tSCC zRs6000_FchmodName[] =
6894 * File name selection pattern
6896 tSCC zRs6000_FchmodList[] =
6899 * Machine/OS name selection pattern
6901 #define apzRs6000_FchmodMachs (const char**)NULL
6904 * content selection pattern - do fix if pattern found
6906 tSCC zRs6000_FchmodSelect0[] =
6907 "fchmod\\(char \\*";
6909 #define RS6000_FCHMOD_TEST_CT 1
6910 static tTestDesc aRs6000_FchmodTests[] = {
6911 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6914 * Fix Command Arguments for Rs6000_Fchmod
6916 static const char* apzRs6000_FchmodPatch[] = {
6921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6923 * Description of Rs6000_Param fix
6925 tSCC zRs6000_ParamName[] =
6929 * File name selection pattern
6931 tSCC zRs6000_ParamList[] =
6932 "stdio.h\0unistd.h\0";
6934 * Machine/OS name selection pattern
6936 #define apzRs6000_ParamMachs (const char**)NULL
6939 * content selection pattern - do fix if pattern found
6941 tSCC zRs6000_ParamSelect0[] =
6942 "rename\\(const char \\*old, const char \\*new\\)";
6944 #define RS6000_PARAM_TEST_CT 1
6945 static tTestDesc aRs6000_ParamTests[] = {
6946 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6949 * Fix Command Arguments for Rs6000_Param
6951 static const char* apzRs6000_ParamPatch[] = {
6953 "rename(const char *_old, const char *_new)",
6956 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6958 * Description of Solaris___Restrict fix
6960 tSCC zSolaris___RestrictName[] =
6961 "solaris___restrict";
6964 * File name selection pattern
6966 tSCC zSolaris___RestrictList[] =
6967 "sys/feature_tests.h\0";
6969 * Machine/OS name selection pattern
6971 tSCC* apzSolaris___RestrictMachs[] = {
6973 (const char*)NULL };
6976 * content selection pattern - do fix if pattern found
6978 tSCC zSolaris___RestrictSelect0[] =
6979 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6981 #define SOLARIS___RESTRICT_TEST_CT 1
6982 static tTestDesc aSolaris___RestrictTests[] = {
6983 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6986 * Fix Command Arguments for Solaris___Restrict
6988 static const char* apzSolaris___RestrictPatch[] = {
6990 "#ifdef __cplusplus\n\
6991 #define\t_RESTRICT_KYWD\t__restrict\n\
6997 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6999 * Description of Solaris_Complex fix
7001 tSCC zSolaris_ComplexName[] =
7005 * File name selection pattern
7007 tSCC zSolaris_ComplexList[] =
7010 * Machine/OS name selection pattern
7012 tSCC* apzSolaris_ComplexMachs[] = {
7014 (const char*)NULL };
7017 * content selection pattern - do fix if pattern found
7019 tSCC zSolaris_ComplexSelect0[] =
7020 "#define[ \t]_Complex_I[ \t]_Complex_I";
7022 #define SOLARIS_COMPLEX_TEST_CT 1
7023 static tTestDesc aSolaris_ComplexTests[] = {
7024 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7027 * Fix Command Arguments for Solaris_Complex
7029 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7030 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7031 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7032 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7033 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7036 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7038 * Description of Solaris_Complex_Cxx fix
7040 tSCC zSolaris_Complex_CxxName[] =
7041 "solaris_complex_cxx";
7044 * File name selection pattern
7046 tSCC zSolaris_Complex_CxxList[] =
7049 * Machine/OS name selection pattern
7051 tSCC* apzSolaris_Complex_CxxMachs[] = {
7053 (const char*)NULL };
7054 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
7055 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
7058 * Fix Command Arguments for Solaris_Complex_Cxx
7060 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7061 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7062 #ifdef\t__cplusplus\\\n\
7065 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7066 #ifdef\t__cplusplus\\\n\
7071 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7073 * Description of Solaris_Cxx_Linkage fix
7075 tSCC zSolaris_Cxx_LinkageName[] =
7076 "solaris_cxx_linkage";
7079 * File name selection pattern
7081 tSCC zSolaris_Cxx_LinkageList[] =
7082 "iso/stdlib_iso.h\0";
7084 * Machine/OS name selection pattern
7086 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7088 (const char*)NULL };
7091 * content selection pattern - do fix if pattern found
7093 tSCC zSolaris_Cxx_LinkageSelect0[] =
7094 "(#if __cplusplus >= 199711L)\n\
7095 (extern \"C\\+\\+\" \\{\n\
7096 )(.*(bsearch|qsort).*)";
7098 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
7099 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7100 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7103 * Fix Command Arguments for Solaris_Cxx_Linkage
7105 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7113 * Description of Solaris_Getc_Strict_Stdc fix
7115 tSCC zSolaris_Getc_Strict_StdcName[] =
7116 "solaris_getc_strict_stdc";
7119 * File name selection pattern
7121 tSCC zSolaris_Getc_Strict_StdcList[] =
7122 "iso/stdio_iso.h\0";
7124 * Machine/OS name selection pattern
7126 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7128 (const char*)NULL };
7131 * content selection pattern - do fix if pattern found
7133 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7134 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7136 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7137 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7138 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7141 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7143 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7145 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7150 * Description of Solaris_Gets_C11 fix
7152 tSCC zSolaris_Gets_C11Name[] =
7156 * File name selection pattern
7158 tSCC zSolaris_Gets_C11List[] =
7159 "iso/stdio_iso.h\0";
7161 * Machine/OS name selection pattern
7163 tSCC* apzSolaris_Gets_C11Machs[] = {
7165 (const char*)NULL };
7168 * content selection pattern - do fix if pattern found
7170 tSCC zSolaris_Gets_C11Select0[] =
7171 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7173 #define SOLARIS_GETS_C11_TEST_CT 1
7174 static tTestDesc aSolaris_Gets_C11Tests[] = {
7175 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7178 * Fix Command Arguments for Solaris_Gets_C11
7180 static const char* apzSolaris_Gets_C11Patch[] = {
7182 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7183 %1 __attribute__((__deprecated__));\n\
7187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7189 * Description of Solaris_Gets_Cxx14 fix
7191 tSCC zSolaris_Gets_Cxx14Name[] =
7192 "solaris_gets_cxx14";
7195 * File name selection pattern
7197 tSCC zSolaris_Gets_Cxx14List[] =
7198 "iso/stdio_iso.h\0";
7200 * Machine/OS name selection pattern
7202 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7204 (const char*)NULL };
7207 * content selection pattern - do fix if pattern found
7209 tSCC zSolaris_Gets_Cxx14Select0[] =
7210 "(#if __STDC_VERSION__ < 201112L)\n\
7211 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7213 #define SOLARIS_GETS_CXX14_TEST_CT 1
7214 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7215 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7218 * Fix Command Arguments for Solaris_Gets_Cxx14
7220 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7222 "%1 && __cplusplus < 201402L\n\
7226 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7228 * Description of Solaris_Int_Const fix
7230 tSCC zSolaris_Int_ConstName[] =
7231 "solaris_int_const";
7234 * File name selection pattern
7236 tSCC zSolaris_Int_ConstList[] =
7237 "sys/int_const.h\0";
7239 * Machine/OS name selection pattern
7241 tSCC* apzSolaris_Int_ConstMachs[] = {
7243 (const char*)NULL };
7246 * content selection pattern - do fix if pattern found
7248 tSCC zSolaris_Int_ConstSelect0[] =
7249 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7251 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7253 #define SOLARIS_INT_CONST_TEST_CT 1
7254 static tTestDesc aSolaris_Int_ConstTests[] = {
7255 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7258 * Fix Command Arguments for Solaris_Int_Const
7260 static const char* apzSolaris_Int_ConstPatch[] = {
7262 "#define\tUINT8_C(c)\t(c)\n\
7264 #define\tUINT16_C(c)\t(c)",
7267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7269 * Description of Solaris_Int_Limits_1 fix
7271 tSCC zSolaris_Int_Limits_1Name[] =
7272 "solaris_int_limits_1";
7275 * File name selection pattern
7277 tSCC zSolaris_Int_Limits_1List[] =
7278 "sys/int_limits.h\0";
7280 * Machine/OS name selection pattern
7282 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7284 (const char*)NULL };
7287 * content selection pattern - do fix if pattern found
7289 tSCC zSolaris_Int_Limits_1Select0[] =
7290 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7291 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7293 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7294 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7295 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7298 * Fix Command Arguments for Solaris_Int_Limits_1
7300 static const char* apzSolaris_Int_Limits_1Patch[] = {
7302 "#define\tUINT8_MAX\t(255)\n\
7303 #define\tUINT16_MAX\t(65535)",
7306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7308 * Description of Solaris_Int_Limits_2 fix
7310 tSCC zSolaris_Int_Limits_2Name[] =
7311 "solaris_int_limits_2";
7314 * File name selection pattern
7316 tSCC zSolaris_Int_Limits_2List[] =
7317 "sys/int_limits.h\0";
7319 * Machine/OS name selection pattern
7321 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7323 (const char*)NULL };
7326 * content selection pattern - do fix if pattern found
7328 tSCC zSolaris_Int_Limits_2Select0[] =
7329 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7331 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7332 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7333 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7336 * Fix Command Arguments for Solaris_Int_Limits_2
7338 static const char* apzSolaris_Int_Limits_2Patch[] = {
7340 "#define\t%1_FAST16_%2 %132_%2",
7343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7345 * Description of Solaris_Int_Limits_3 fix
7347 tSCC zSolaris_Int_Limits_3Name[] =
7348 "solaris_int_limits_3";
7351 * File name selection pattern
7353 tSCC zSolaris_Int_Limits_3List[] =
7354 "sys/int_limits.h\0";
7356 * Machine/OS name selection pattern
7358 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7360 (const char*)NULL };
7363 * content selection pattern - do fix if pattern found
7365 tSCC zSolaris_Int_Limits_3Select0[] =
7366 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7368 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7369 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7370 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7373 * Fix Command Arguments for Solaris_Int_Limits_3
7375 static const char* apzSolaris_Int_Limits_3Patch[] = {
7377 "#define\tSIZE_MAX\t4294967295U",
7380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7382 * Description of Solaris_Math_1 fix
7384 tSCC zSolaris_Math_1Name[] =
7388 * File name selection pattern
7390 tSCC zSolaris_Math_1List[] =
7393 * Machine/OS name selection pattern
7395 #define apzSolaris_Math_1Machs (const char**)NULL
7398 * content selection pattern - do fix if pattern found
7400 tSCC zSolaris_Math_1Select0[] =
7401 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7404 * content bypass pattern - skip fix if pattern found
7406 tSCC zSolaris_Math_1Bypass0[] =
7409 #define SOLARIS_MATH_1_TEST_CT 2
7410 static tTestDesc aSolaris_Math_1Tests[] = {
7411 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7412 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7415 * Fix Command Arguments for Solaris_Math_1
7417 static const char* apzSolaris_Math_1Patch[] = {
7419 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7420 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7425 * Description of Solaris_Math_10 fix
7427 tSCC zSolaris_Math_10Name[] =
7431 * File name selection pattern
7433 tSCC zSolaris_Math_10List[] =
7436 * Machine/OS name selection pattern
7438 #define apzSolaris_Math_10Machs (const char**)NULL
7441 * content selection pattern - do fix if pattern found
7443 tSCC zSolaris_Math_10Select0[] =
7444 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7446 #define SOLARIS_MATH_10_TEST_CT 1
7447 static tTestDesc aSolaris_Math_10Tests[] = {
7448 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7451 * Fix Command Arguments for Solaris_Math_10
7453 static const char* apzSolaris_Math_10Patch[] = {
7455 "#define\tisinf(x) __builtin_isinf(x)",
7456 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7457 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7458 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7459 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7464 * Description of Solaris_Math_2 fix
7466 tSCC zSolaris_Math_2Name[] =
7470 * File name selection pattern
7472 tSCC zSolaris_Math_2List[] =
7475 * Machine/OS name selection pattern
7477 #define apzSolaris_Math_2Machs (const char**)NULL
7480 * content selection pattern - do fix if pattern found
7482 tSCC zSolaris_Math_2Select0[] =
7483 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7486 * content bypass pattern - skip fix if pattern found
7488 tSCC zSolaris_Math_2Bypass0[] =
7491 #define SOLARIS_MATH_2_TEST_CT 2
7492 static tTestDesc aSolaris_Math_2Tests[] = {
7493 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7494 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7497 * Fix Command Arguments for Solaris_Math_2
7499 static const char* apzSolaris_Math_2Patch[] = {
7501 "#define\tINFINITY\t(__builtin_inff())",
7502 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7507 * Description of Solaris_Math_3 fix
7509 tSCC zSolaris_Math_3Name[] =
7513 * File name selection pattern
7515 tSCC zSolaris_Math_3List[] =
7518 * Machine/OS name selection pattern
7520 #define apzSolaris_Math_3Machs (const char**)NULL
7523 * content selection pattern - do fix if pattern found
7525 tSCC zSolaris_Math_3Select0[] =
7526 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7529 * content bypass pattern - skip fix if pattern found
7531 tSCC zSolaris_Math_3Bypass0[] =
7534 #define SOLARIS_MATH_3_TEST_CT 2
7535 static tTestDesc aSolaris_Math_3Tests[] = {
7536 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7537 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7540 * Fix Command Arguments for Solaris_Math_3
7542 static const char* apzSolaris_Math_3Patch[] = {
7544 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7545 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7550 * Description of Solaris_Math_4 fix
7552 tSCC zSolaris_Math_4Name[] =
7556 * File name selection pattern
7558 tSCC zSolaris_Math_4List[] =
7561 * Machine/OS name selection pattern
7563 #define apzSolaris_Math_4Machs (const char**)NULL
7566 * content selection pattern - do fix if pattern found
7568 tSCC zSolaris_Math_4Select0[] =
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_4Bypass0[] =
7577 #define SOLARIS_MATH_4_TEST_CT 2
7578 static tTestDesc aSolaris_Math_4Tests[] = {
7579 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7580 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7583 * Fix Command Arguments for Solaris_Math_4
7585 static const char* apzSolaris_Math_4Patch[] = {
7587 "#define\tfpclassify(x) \\\n\
7588 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7589 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7594 * Description of Solaris_Math_8 fix
7596 tSCC zSolaris_Math_8Name[] =
7600 * File name selection pattern
7602 tSCC zSolaris_Math_8List[] =
7605 * Machine/OS name selection pattern
7607 #define apzSolaris_Math_8Machs (const char**)NULL
7610 * content selection pattern - do fix if pattern found
7612 tSCC zSolaris_Math_8Select0[] =
7613 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7616 * content bypass pattern - skip fix if pattern found
7618 tSCC zSolaris_Math_8Bypass0[] =
7621 #define SOLARIS_MATH_8_TEST_CT 2
7622 static tTestDesc aSolaris_Math_8Tests[] = {
7623 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7624 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7627 * Fix Command Arguments for Solaris_Math_8
7629 static const char* apzSolaris_Math_8Patch[] = {
7631 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7632 \t\t\t ? __builtin_signbitf(x) \\\n\
7633 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7634 \t\t\t ? __builtin_signbitl(x) \\\n\
7635 \t\t\t : __builtin_signbit(x))",
7636 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7641 * Description of Solaris_Math_9 fix
7643 tSCC zSolaris_Math_9Name[] =
7647 * File name selection pattern
7649 tSCC zSolaris_Math_9List[] =
7652 * Machine/OS name selection pattern
7654 #define apzSolaris_Math_9Machs (const char**)NULL
7657 * content selection pattern - do fix if pattern found
7659 tSCC zSolaris_Math_9Select0[] =
7660 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7663 * content bypass pattern - skip fix if pattern found
7665 tSCC zSolaris_Math_9Bypass0[] =
7668 #define SOLARIS_MATH_9_TEST_CT 2
7669 static tTestDesc aSolaris_Math_9Tests[] = {
7670 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7671 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7674 * Fix Command Arguments for Solaris_Math_9
7676 static const char* apzSolaris_Math_9Patch[] = {
7678 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7679 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7682 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7684 * Description of Solaris_Math_11 fix
7686 tSCC zSolaris_Math_11Name[] =
7690 * File name selection pattern
7692 tSCC zSolaris_Math_11List[] =
7695 * Machine/OS name selection pattern
7697 #define apzSolaris_Math_11Machs (const char**)NULL
7700 * content selection pattern - do fix if pattern found
7702 tSCC zSolaris_Math_11Select0[] =
7703 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7705 #define SOLARIS_MATH_11_TEST_CT 1
7706 static tTestDesc aSolaris_Math_11Tests[] = {
7707 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
7710 * Fix Command Arguments for Solaris_Math_11
7712 static const char* apzSolaris_Math_11Patch[] = {
7715 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7716 \t\t\t ? __builtin_signbitf(x) \\\n\
7717 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7718 \t\t\t ? __builtin_signbitl(x) \\\n\
7719 \t\t\t : __builtin_signbit(x))",
7720 "^#undef[ \t]+signbit\n\
7721 #if defined\\(__sparc\\)\n\
7722 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7723 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7724 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7725 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7726 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7727 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7728 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7729 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7730 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7731 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7732 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7736 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7738 * Description of Solaris_Math_12 fix
7740 tSCC zSolaris_Math_12Name[] =
7744 * File name selection pattern
7746 tSCC zSolaris_Math_12List[] =
7749 * Machine/OS name selection pattern
7751 tSCC* apzSolaris_Math_12Machs[] = {
7753 (const char*)NULL };
7756 * content selection pattern - do fix if pattern found
7758 tSCC zSolaris_Math_12Select0[] =
7759 "#undef.*_GLIBCXX_USE_C99_MATH";
7761 #define SOLARIS_MATH_12_TEST_CT 1
7762 static tTestDesc aSolaris_Math_12Tests[] = {
7763 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
7766 * Fix Command Arguments for Solaris_Math_12
7768 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7769 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7774 * Description of Solaris_Once_Init_1 fix
7776 tSCC zSolaris_Once_Init_1Name[] =
7777 "solaris_once_init_1";
7780 * File name selection pattern
7782 tSCC zSolaris_Once_Init_1List[] =
7785 * Machine/OS name selection pattern
7787 tSCC* apzSolaris_Once_Init_1Machs[] = {
7789 (const char*)NULL };
7792 * content selection pattern - do fix if pattern found
7794 tSCC zSolaris_Once_Init_1Select0[] =
7795 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7797 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7798 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7799 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7802 * Fix Command Arguments for Solaris_Once_Init_1
7804 static const char* apzSolaris_Once_Init_1Patch[] = {
7807 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7812 * Description of Solaris_Posix_Spawn_Restrict fix
7814 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7815 "solaris_posix_spawn_restrict";
7818 * File name selection pattern
7820 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7823 * Machine/OS name selection pattern
7825 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7827 (const char*)NULL };
7830 * content selection pattern - do fix if pattern found
7832 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7833 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7835 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7836 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7837 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7840 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7842 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7844 "%1*_RESTRICT_KYWD %2%3",
7847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7849 * Description of Solaris_Pow_Int_Overload fix
7851 tSCC zSolaris_Pow_Int_OverloadName[] =
7852 "solaris_pow_int_overload";
7855 * File name selection pattern
7857 tSCC zSolaris_Pow_Int_OverloadList[] =
7860 * Machine/OS name selection pattern
7862 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7864 (const char*)NULL };
7867 * content selection pattern - do fix if pattern found
7869 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7870 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7873 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7874 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7875 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7878 * Fix Command Arguments for Solaris_Pow_Int_Overload
7880 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7882 "#if __cplusplus < 201103L\n\
7887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7889 * Description of Solaris_Rwlock_Init_1 fix
7891 tSCC zSolaris_Rwlock_Init_1Name[] =
7892 "solaris_rwlock_init_1";
7895 * File name selection pattern
7897 tSCC zSolaris_Rwlock_Init_1List[] =
7900 * Machine/OS name selection pattern
7902 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7904 (const char*)NULL };
7907 * content selection pattern - do fix if pattern found
7909 tSCC zSolaris_Rwlock_Init_1Select0[] =
7910 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7912 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
7913 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7914 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7917 * Fix Command Arguments for Solaris_Rwlock_Init_1
7919 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7921 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7924 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7926 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7929 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7931 * Description of Solaris_Std___Filbuf fix
7933 tSCC zSolaris_Std___FilbufName[] =
7934 "solaris_std___filbuf";
7937 * File name selection pattern
7939 tSCC zSolaris_Std___FilbufList[] =
7942 * Machine/OS name selection pattern
7944 tSCC* apzSolaris_Std___FilbufMachs[] = {
7946 (const char*)NULL };
7949 * content selection pattern - do fix if pattern found
7951 tSCC zSolaris_Std___FilbufSelect0[] =
7952 "(using std::perror;\n\
7956 * content bypass pattern - skip fix if pattern found
7958 tSCC zSolaris_Std___FilbufBypass0[] =
7959 "using std::__filbuf";
7961 #define SOLARIS_STD___FILBUF_TEST_CT 2
7962 static tTestDesc aSolaris_Std___FilbufTests[] = {
7963 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7964 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7967 * Fix Command Arguments for Solaris_Std___Filbuf
7969 static const char* apzSolaris_Std___FilbufPatch[] = {
7972 using std::__filbuf;\n\
7973 using std::__flsbuf;\n\
7978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7980 * Description of Solaris_Std_Gets_Cxx14 fix
7982 tSCC zSolaris_Std_Gets_Cxx14Name[] =
7983 "solaris_std_gets_cxx14";
7986 * File name selection pattern
7988 tSCC zSolaris_Std_Gets_Cxx14List[] =
7991 * Machine/OS name selection pattern
7993 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
7995 (const char*)NULL };
7998 * content selection pattern - do fix if pattern found
8000 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8003 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
8004 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8005 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8008 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
8010 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8012 "#if __cplusplus < 201402L\n\
8017 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8019 * Description of Solaris_Stdio_Tag fix
8021 tSCC zSolaris_Stdio_TagName[] =
8022 "solaris_stdio_tag";
8025 * File name selection pattern
8027 tSCC zSolaris_Stdio_TagList[] =
8030 * Machine/OS name selection pattern
8032 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8035 * content selection pattern - do fix if pattern found
8037 tSCC zSolaris_Stdio_TagSelect0[] =
8038 "__cplusplus < 54321L";
8041 * content bypass pattern - skip fix if pattern found
8043 tSCC zSolaris_Stdio_TagBypass0[] =
8046 #define SOLARIS_STDIO_TAG_TEST_CT 2
8047 static tTestDesc aSolaris_Stdio_TagTests[] = {
8048 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8049 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8052 * Fix Command Arguments for Solaris_Stdio_Tag
8054 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8055 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8060 * Description of Solaris_Stdlib_Noreturn fix
8062 tSCC zSolaris_Stdlib_NoreturnName[] =
8063 "solaris_stdlib_noreturn";
8066 * File name selection pattern
8068 tSCC zSolaris_Stdlib_NoreturnList[] =
8069 "iso/stdlib_c99.h\0";
8071 * Machine/OS name selection pattern
8073 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8075 (const char*)NULL };
8078 * content selection pattern - do fix if pattern found
8080 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8081 "(extern) _Noreturn (void quick_exit\\(int\\));";
8083 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
8084 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8085 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8088 * Fix Command Arguments for Solaris_Stdlib_Noreturn
8090 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8092 "%1 %2 __attribute__((__noreturn__));",
8095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8097 * Description of Statsswtch fix
8099 tSCC zStatsswtchName[] =
8103 * File name selection pattern
8105 tSCC zStatsswtchList[] =
8108 * Machine/OS name selection pattern
8110 #define apzStatsswtchMachs (const char**)NULL
8113 * content selection pattern - do fix if pattern found
8115 tSCC zStatsswtchSelect0[] =
8118 #define STATSSWTCH_TEST_CT 1
8119 static tTestDesc aStatsswtchTests[] = {
8120 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8123 * Fix Command Arguments for Statsswtch
8125 static const char* apzStatsswtchPatch[] = {
8130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8132 * Description of Stdio_Stdarg_H fix
8134 tSCC zStdio_Stdarg_HName[] =
8138 * File name selection pattern
8140 tSCC zStdio_Stdarg_HList[] =
8143 * Machine/OS name selection pattern
8145 tSCC* apzStdio_Stdarg_HMachs[] = {
8146 "*-*-solaris2.1[0-9]*",
8147 (const char*)NULL };
8150 * content bypass pattern - skip fix if pattern found
8152 tSCC zStdio_Stdarg_HBypass0[] =
8153 "include.*(stdarg.h|machine/ansi.h)";
8155 #define STDIO_STDARG_H_TEST_CT 1
8156 static tTestDesc aStdio_Stdarg_HTests[] = {
8157 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8160 * Fix Command Arguments for Stdio_Stdarg_H
8162 static const char* apzStdio_Stdarg_HPatch[] = {
8164 "#define __need___va_list\n\
8165 #include <stdarg.h>\n",
8168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8170 * Description of Stdio_Va_List fix
8172 tSCC zStdio_Va_ListName[] =
8176 * File name selection pattern
8178 tSCC zStdio_Va_ListList[] =
8181 * Machine/OS name selection pattern
8183 tSCC* apzStdio_Va_ListMachs[] = {
8184 "*-*-solaris2.1[0-9]*",
8185 (const char*)NULL };
8188 * content bypass pattern - skip fix if pattern found
8190 tSCC zStdio_Va_ListBypass0[] =
8191 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8193 #define STDIO_VA_LIST_TEST_CT 1
8194 static tTestDesc aStdio_Va_ListTests[] = {
8195 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8198 * Fix Command Arguments for Stdio_Va_List
8200 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8201 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8202 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8203 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8204 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8205 s@ va_list@ __not_va_list__@\n\
8206 s@\\*va_list@*__not_va_list__@\n\
8207 s@ __va_list)@ __gnuc_va_list)@\n\
8208 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8209 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8210 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8211 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8212 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8213 s@VA_LIST@DUMMY_VA_LIST@\n\
8214 s@_Va_LIST@_VA_LIST@",
8217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8219 * Description of Stdio_Va_List_Clients fix
8221 tSCC zStdio_Va_List_ClientsName[] =
8222 "stdio_va_list_clients";
8225 * File name selection pattern
8227 tSCC zStdio_Va_List_ClientsList[] =
8228 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8230 * Machine/OS name selection pattern
8232 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8235 * content bypass pattern - skip fix if pattern found
8237 tSCC zStdio_Va_List_ClientsBypass0[] =
8238 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8239 tSCC zStdio_Va_List_ClientsBypass1[] =
8240 "include <stdarg\\.h>|#ifdef va_start";
8242 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8243 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8244 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8245 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8248 * Fix Command Arguments for Stdio_Va_List_Clients
8250 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8251 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8252 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8253 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8254 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8255 s@ va_list@ __not_va_list__@\n\
8256 s@\\*va_list@*__not_va_list__@\n\
8257 s@ __va_list)@ __gnuc_va_list)@\n\
8258 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8259 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8260 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8261 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8262 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8263 s@VA_LIST@DUMMY_VA_LIST@\n\
8264 s@_Va_LIST@_VA_LIST@",
8267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8269 * Description of Strict_Ansi_Not fix
8271 tSCC zStrict_Ansi_NotName[] =
8275 * File name selection pattern
8277 #define zStrict_Ansi_NotList (char*)NULL
8279 * Machine/OS name selection pattern
8281 #define apzStrict_Ansi_NotMachs (const char**)NULL
8284 * content selection pattern - do fix if pattern found
8286 tSCC zStrict_Ansi_NotSelect0[] =
8287 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8290 * content bypass pattern - skip fix if pattern found
8292 tSCC zStrict_Ansi_NotBypass0[] =
8293 "GNU and MIPS C compilers define __STDC__ differently";
8294 tSCC zStrict_Ansi_NotBypass1[] =
8295 "__SCO_VERSION__.*__STDC__ != 1";
8298 * perform the C function call test
8300 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8302 #define STRICT_ANSI_NOT_TEST_CT 4
8303 static tTestDesc aStrict_Ansi_NotTests[] = {
8304 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8305 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8306 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8307 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8310 * Fix Command Arguments for Strict_Ansi_Not
8312 static const char* apzStrict_Ansi_NotPatch[] = {
8314 "%1 !defined(__STRICT_ANSI__)",
8317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8319 * Description of Strict_Ansi_Not_Ctd fix
8321 tSCC zStrict_Ansi_Not_CtdName[] =
8322 "strict_ansi_not_ctd";
8325 * File name selection pattern
8327 tSCC zStrict_Ansi_Not_CtdList[] =
8328 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8330 * Machine/OS name selection pattern
8332 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8335 * content selection pattern - do fix if pattern found
8337 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8338 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8341 * perform the C function call test
8343 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8345 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8346 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8347 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8348 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8351 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8353 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8355 "%1 !defined(__STRICT_ANSI__)",
8358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8360 * Description of Strict_Ansi_Only fix
8362 tSCC zStrict_Ansi_OnlyName[] =
8366 * File name selection pattern
8368 #define zStrict_Ansi_OnlyList (char*)NULL
8370 * Machine/OS name selection pattern
8372 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8375 * content selection pattern - do fix if pattern found
8377 tSCC zStrict_Ansi_OnlySelect0[] =
8378 "^([ \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)";
8381 * perform the C function call test
8383 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8385 #define STRICT_ANSI_ONLY_TEST_CT 2
8386 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8387 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8388 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8391 * Fix Command Arguments for Strict_Ansi_Only
8393 static const char* apzStrict_Ansi_OnlyPatch[] = {
8395 "%1 defined(__STRICT_ANSI__)",
8398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8400 * Description of Struct_File fix
8402 tSCC zStruct_FileName[] =
8406 * File name selection pattern
8408 tSCC zStruct_FileList[] =
8411 * Machine/OS name selection pattern
8413 #define apzStruct_FileMachs (const char**)NULL
8416 * content selection pattern - do fix if pattern found
8418 tSCC zStruct_FileSelect0[] =
8419 "^.*xdrstdio_create.*struct __file_s";
8421 #define STRUCT_FILE_TEST_CT 1
8422 static tTestDesc aStruct_FileTests[] = {
8423 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8426 * Fix Command Arguments for Struct_File
8428 static const char* apzStruct_FilePatch[] = {
8430 "struct __file_s;\n\
8434 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8436 * Description of Struct_Sockaddr fix
8438 tSCC zStruct_SockaddrName[] =
8442 * File name selection pattern
8444 tSCC zStruct_SockaddrList[] =
8447 * Machine/OS name selection pattern
8449 #define apzStruct_SockaddrMachs (const char**)NULL
8452 * content selection pattern - do fix if pattern found
8454 tSCC zStruct_SockaddrSelect0[] =
8455 "^.*authdes_create.*struct sockaddr[^_]";
8458 * content bypass pattern - skip fix if pattern found
8460 tSCC zStruct_SockaddrBypass0[] =
8462 tSCC zStruct_SockaddrBypass1[] =
8463 "struct sockaddr;\n";
8465 #define STRUCT_SOCKADDR_TEST_CT 3
8466 static tTestDesc aStruct_SockaddrTests[] = {
8467 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8468 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8469 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8472 * Fix Command Arguments for Struct_Sockaddr
8474 static const char* apzStruct_SockaddrPatch[] = {
8476 "struct sockaddr;\n\
8480 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8482 * Description of Sun_Auth_Proto fix
8484 tSCC zSun_Auth_ProtoName[] =
8488 * File name selection pattern
8490 tSCC zSun_Auth_ProtoList[] =
8491 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8493 * Machine/OS name selection pattern
8495 #define apzSun_Auth_ProtoMachs (const char**)NULL
8498 * content selection pattern - do fix if pattern found
8500 tSCC zSun_Auth_ProtoSelect0[] =
8501 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8504 * content bypass pattern - skip fix if pattern found
8506 tSCC zSun_Auth_ProtoBypass0[] =
8509 #define SUN_AUTH_PROTO_TEST_CT 2
8510 static tTestDesc aSun_Auth_ProtoTests[] = {
8511 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8512 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8515 * Fix Command Arguments for Sun_Auth_Proto
8517 static const char* apzSun_Auth_ProtoPatch[] = {
8519 "#ifdef __cplusplus\n\
8524 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8529 * Description of Sun_Bogus_Ifdef fix
8531 tSCC zSun_Bogus_IfdefName[] =
8535 * File name selection pattern
8537 tSCC zSun_Bogus_IfdefList[] =
8538 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8540 * Machine/OS name selection pattern
8542 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8545 * content selection pattern - do fix if pattern found
8547 tSCC zSun_Bogus_IfdefSelect0[] =
8548 "#ifdef(.*\\|\\|.*)";
8550 #define SUN_BOGUS_IFDEF_TEST_CT 1
8551 static tTestDesc aSun_Bogus_IfdefTests[] = {
8552 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8555 * Fix Command Arguments for Sun_Bogus_Ifdef
8557 static const char* apzSun_Bogus_IfdefPatch[] = {
8562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8564 * Description of Sun_Catmacro fix
8566 tSCC zSun_CatmacroName[] =
8570 * File name selection pattern
8572 tSCC zSun_CatmacroList[] =
8573 "pixrect/memvar.h\0";
8575 * Machine/OS name selection pattern
8577 #define apzSun_CatmacroMachs (const char**)NULL
8580 * content selection pattern - do fix if pattern found
8582 tSCC zSun_CatmacroSelect0[] =
8583 "^#define[ \t]+CAT\\(a,b\\).*";
8585 #define SUN_CATMACRO_TEST_CT 1
8586 static tTestDesc aSun_CatmacroTests[] = {
8587 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8590 * Fix Command Arguments for Sun_Catmacro
8592 static const char* apzSun_CatmacroPatch[] = {
8595 # define CAT(a,b) a##b\n\
8601 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8603 * Description of Sun_Malloc fix
8605 tSCC zSun_MallocName[] =
8609 * File name selection pattern
8611 tSCC zSun_MallocList[] =
8614 * Machine/OS name selection pattern
8616 #define apzSun_MallocMachs (const char**)NULL
8619 * content bypass pattern - skip fix if pattern found
8621 tSCC zSun_MallocBypass0[] =
8622 "_CLASSIC_ANSI_TYPES";
8624 #define SUN_MALLOC_TEST_CT 1
8625 static tTestDesc aSun_MallocTests[] = {
8626 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8629 * Fix Command Arguments for Sun_Malloc
8631 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8632 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8633 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8634 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8635 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8636 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8641 * Description of Sun_Rusers_Semi fix
8643 tSCC zSun_Rusers_SemiName[] =
8647 * File name selection pattern
8649 tSCC zSun_Rusers_SemiList[] =
8650 "rpcsvc/rusers.h\0";
8652 * Machine/OS name selection pattern
8654 #define apzSun_Rusers_SemiMachs (const char**)NULL
8657 * content selection pattern - do fix if pattern found
8659 tSCC zSun_Rusers_SemiSelect0[] =
8662 #define SUN_RUSERS_SEMI_TEST_CT 1
8663 static tTestDesc aSun_Rusers_SemiTests[] = {
8664 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8667 * Fix Command Arguments for Sun_Rusers_Semi
8669 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8670 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8675 * Description of Sun_Signal fix
8677 tSCC zSun_SignalName[] =
8681 * File name selection pattern
8683 tSCC zSun_SignalList[] =
8684 "sys/signal.h\0signal.h\0";
8686 * Machine/OS name selection pattern
8688 #define apzSun_SignalMachs (const char**)NULL
8691 * content selection pattern - do fix if pattern found
8693 tSCC zSun_SignalSelect0[] =
8694 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8696 #define SUN_SIGNAL_TEST_CT 1
8697 static tTestDesc aSun_SignalTests[] = {
8698 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
8701 * Fix Command Arguments for Sun_Signal
8703 static const char* apzSun_SignalPatch[] = {
8705 "#ifdef __cplusplus\n\
8706 void\t(*signal(...))(...);\n\
8712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8714 * Description of Sunos_Strlen fix
8716 tSCC zSunos_StrlenName[] =
8720 * File name selection pattern
8722 tSCC zSunos_StrlenList[] =
8725 * Machine/OS name selection pattern
8727 #define apzSunos_StrlenMachs (const char**)NULL
8730 * content selection pattern - do fix if pattern found
8732 tSCC zSunos_StrlenSelect0[] =
8733 "int[ \t]*strlen\\(\\);(.*)";
8735 #define SUNOS_STRLEN_TEST_CT 1
8736 static tTestDesc aSunos_StrlenTests[] = {
8737 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
8740 * Fix Command Arguments for Sunos_Strlen
8742 static const char* apzSunos_StrlenPatch[] = {
8744 "__SIZE_TYPE__ strlen();%1",
8747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8749 * Description of Suse_Linux_Vt_Cxx fix
8751 tSCC zSuse_Linux_Vt_CxxName[] =
8752 "suse_linux_vt_cxx";
8755 * File name selection pattern
8757 tSCC zSuse_Linux_Vt_CxxList[] =
8760 * Machine/OS name selection pattern
8762 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8765 * content selection pattern - do fix if pattern found
8767 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8768 "^[ \t]*unsigned int new;";
8770 #define SUSE_LINUX_VT_CXX_TEST_CT 1
8771 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8772 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8775 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8777 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8779 "unsigned int newev;",
8782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8784 * Description of Svr4_Disable_Opt fix
8786 tSCC zSvr4_Disable_OptName[] =
8790 * File name selection pattern
8792 tSCC zSvr4_Disable_OptList[] =
8795 * Machine/OS name selection pattern
8797 #define apzSvr4_Disable_OptMachs (const char**)NULL
8800 * content selection pattern - do fix if pattern found
8802 tSCC zSvr4_Disable_OptSelect0[] =
8803 "#define.*__std_hdr_";
8805 #define SVR4_DISABLE_OPT_TEST_CT 1
8806 static tTestDesc aSvr4_Disable_OptTests[] = {
8807 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8810 * Fix Command Arguments for Svr4_Disable_Opt
8812 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8813 "-e", "/#define.*__std_hdr_/d",
8816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8818 * Description of Svr4_Getcwd fix
8820 tSCC zSvr4_GetcwdName[] =
8824 * File name selection pattern
8826 tSCC zSvr4_GetcwdList[] =
8827 "stdlib.h\0unistd.h\0prototypes.h\0";
8829 * Machine/OS name selection pattern
8831 #define apzSvr4_GetcwdMachs (const char**)NULL
8834 * content selection pattern - do fix if pattern found
8836 tSCC zSvr4_GetcwdSelect0[] =
8837 "getcwd\\(char \\*, int\\)";
8839 #define SVR4_GETCWD_TEST_CT 1
8840 static tTestDesc aSvr4_GetcwdTests[] = {
8841 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8844 * Fix Command Arguments for Svr4_Getcwd
8846 static const char* apzSvr4_GetcwdPatch[] = {
8848 "getcwd(char *, size_t)",
8851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8853 * Description of Svr4_Profil fix
8855 tSCC zSvr4_ProfilName[] =
8859 * File name selection pattern
8861 tSCC zSvr4_ProfilList[] =
8862 "stdlib.h\0unistd.h\0";
8864 * Machine/OS name selection pattern
8866 #define apzSvr4_ProfilMachs (const char**)NULL
8869 * content selection pattern - do fix if pattern found
8871 tSCC zSvr4_ProfilSelect0[] =
8872 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8874 #define SVR4_PROFIL_TEST_CT 1
8875 static tTestDesc aSvr4_ProfilTests[] = {
8876 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8879 * Fix Command Arguments for Svr4_Profil
8881 static const char* apzSvr4_ProfilPatch[] = {
8883 "profil(unsigned short *, size_t, int, unsigned int)",
8886 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8888 * Description of Svr4_Sighandler_Type fix
8890 tSCC zSvr4_Sighandler_TypeName[] =
8891 "svr4_sighandler_type";
8894 * File name selection pattern
8896 tSCC zSvr4_Sighandler_TypeList[] =
8899 * Machine/OS name selection pattern
8901 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8904 * content selection pattern - do fix if pattern found
8906 tSCC zSvr4_Sighandler_TypeSelect0[] =
8907 "void *\\(\\*\\)\\(\\)";
8909 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8910 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8911 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8914 * Fix Command Arguments for Svr4_Sighandler_Type
8916 static const char* apzSvr4_Sighandler_TypePatch[] = {
8921 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8923 * Description of Svr4_Undeclared_Getrnge fix
8925 tSCC zSvr4_Undeclared_GetrngeName[] =
8926 "svr4_undeclared_getrnge";
8929 * File name selection pattern
8931 tSCC zSvr4_Undeclared_GetrngeList[] =
8934 * Machine/OS name selection pattern
8936 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8939 * content selection pattern - do fix if pattern found
8941 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8945 * content bypass pattern - skip fix if pattern found
8947 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8948 "static void getrnge";
8950 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8951 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8952 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8953 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8956 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8958 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8961 static int getrnge ();",
8962 "^static int[ \t]+size;",
8965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8967 * Description of Sysv68_String fix
8969 tSCC zSysv68_StringName[] =
8973 * File name selection pattern
8975 tSCC zSysv68_StringList[] =
8976 "testing.h\0string.h\0";
8978 * Machine/OS name selection pattern
8980 #define apzSysv68_StringMachs (const char**)NULL
8983 * content bypass pattern - skip fix if pattern found
8985 tSCC zSysv68_StringBypass0[] =
8986 "_CLASSIC_ANSI_TYPES";
8988 #define SYSV68_STRING_TEST_CT 1
8989 static tTestDesc aSysv68_StringTests[] = {
8990 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8993 * Fix Command Arguments for Sysv68_String
8995 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8996 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8997 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8998 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8999 "-e", "/^extern char$/N",
9000 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9001 "-e", "/^extern int$/N",
9002 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9003 "-e", "/^\tstrncmp(),$/N",
9004 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9005 extern unsigned int\\\n\
9009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9011 * Description of Sysz_Stdlib_For_Sun fix
9013 tSCC zSysz_Stdlib_For_SunName[] =
9014 "sysz_stdlib_for_sun";
9017 * File name selection pattern
9019 tSCC zSysz_Stdlib_For_SunList[] =
9022 * Machine/OS name selection pattern
9024 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9027 * content selection pattern - do fix if pattern found
9029 tSCC zSysz_Stdlib_For_SunSelect0[] =
9030 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9033 * content bypass pattern - skip fix if pattern found
9035 tSCC zSysz_Stdlib_For_SunBypass0[] =
9036 "_CLASSIC_ANSI_TYPES";
9038 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
9039 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9040 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9041 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9044 * Fix Command Arguments for Sysz_Stdlib_For_Sun
9046 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9051 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9053 * Description of Thread_Keyword fix
9055 tSCC zThread_KeywordName[] =
9059 * File name selection pattern
9061 tSCC zThread_KeywordList[] =
9062 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9064 * Machine/OS name selection pattern
9066 #define apzThread_KeywordMachs (const char**)NULL
9069 * content selection pattern - do fix if pattern found
9071 tSCC zThread_KeywordSelect0[] =
9072 "([* ])__thread([,)])";
9074 #define THREAD_KEYWORD_TEST_CT 1
9075 static tTestDesc aThread_KeywordTests[] = {
9076 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
9079 * Fix Command Arguments for Thread_Keyword
9081 static const char* apzThread_KeywordPatch[] = {
9086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9088 * Description of Tinfo_Cplusplus fix
9090 tSCC zTinfo_CplusplusName[] =
9094 * File name selection pattern
9096 tSCC zTinfo_CplusplusList[] =
9099 * Machine/OS name selection pattern
9101 #define apzTinfo_CplusplusMachs (const char**)NULL
9104 * content selection pattern - do fix if pattern found
9106 tSCC zTinfo_CplusplusSelect0[] =
9109 #define TINFO_CPLUSPLUS_TEST_CT 1
9110 static tTestDesc aTinfo_CplusplusTests[] = {
9111 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9114 * Fix Command Arguments for Tinfo_Cplusplus
9116 static const char* apzTinfo_CplusplusPatch[] = {
9121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9123 * Description of Ultrix_Const fix
9125 tSCC zUltrix_ConstName[] =
9129 * File name selection pattern
9131 tSCC zUltrix_ConstList[] =
9134 * Machine/OS name selection pattern
9136 #define apzUltrix_ConstMachs (const char**)NULL
9139 * content selection pattern - do fix if pattern found
9141 tSCC zUltrix_ConstSelect0[] =
9142 "perror\\( char \\*";
9144 #define ULTRIX_CONST_TEST_CT 1
9145 static tTestDesc aUltrix_ConstTests[] = {
9146 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9149 * Fix Command Arguments for Ultrix_Const
9151 static const char* apzUltrix_ConstPatch[] = {
9154 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9159 * Description of Ultrix_Const2 fix
9161 tSCC zUltrix_Const2Name[] =
9165 * File name selection pattern
9167 tSCC zUltrix_Const2List[] =
9170 * Machine/OS name selection pattern
9172 #define apzUltrix_Const2Machs (const char**)NULL
9175 * content selection pattern - do fix if pattern found
9177 tSCC zUltrix_Const2Select0[] =
9178 "\\*fopen\\( char \\*";
9180 #define ULTRIX_CONST2_TEST_CT 1
9181 static tTestDesc aUltrix_Const2Tests[] = {
9182 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9185 * Fix Command Arguments for Ultrix_Const2
9187 static const char* apzUltrix_Const2Patch[] = {
9189 "%1( const char *%3, const char *",
9190 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9193 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9195 * Description of Va_I960_Macro fix
9197 tSCC zVa_I960_MacroName[] =
9201 * File name selection pattern
9203 tSCC zVa_I960_MacroList[] =
9204 "arch/i960/archI960.h\0";
9206 * Machine/OS name selection pattern
9208 #define apzVa_I960_MacroMachs (const char**)NULL
9211 * content selection pattern - do fix if pattern found
9213 tSCC zVa_I960_MacroSelect0[] =
9214 "__(vsiz|vali|vpad|alignof__)";
9216 #define VA_I960_MACRO_TEST_CT 1
9217 static tTestDesc aVa_I960_MacroTests[] = {
9218 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9221 * Fix Command Arguments for Va_I960_Macro
9223 static const char* apzVa_I960_MacroPatch[] = {
9228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9230 * Description of Vms_Add_Missing_Braces fix
9232 tSCC zVms_Add_Missing_BracesName[] =
9233 "vms_add_missing_braces";
9236 * File name selection pattern
9238 tSCC zVms_Add_Missing_BracesList[] =
9239 "rtldef/signal.h\0";
9241 * Machine/OS name selection pattern
9243 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9245 (const char*)NULL };
9248 * content selection pattern - do fix if pattern found
9250 tSCC zVms_Add_Missing_BracesSelect0[] =
9251 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9253 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9254 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9255 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9258 * Fix Command Arguments for Vms_Add_Missing_Braces
9260 static const char* apzVms_Add_Missing_BracesPatch[] = {
9265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9267 * Description of Vms_Decc_Builtin fix
9269 tSCC zVms_Decc_BuiltinName[] =
9273 * File name selection pattern
9275 tSCC zVms_Decc_BuiltinList[] =
9276 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9278 * Machine/OS name selection pattern
9280 tSCC* apzVms_Decc_BuiltinMachs[] = {
9282 (const char*)NULL };
9285 * content selection pattern - do fix if pattern found
9287 tSCC zVms_Decc_BuiltinSelect0[] =
9288 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9290 #define VMS_DECC_BUILTIN_TEST_CT 1
9291 static tTestDesc aVms_Decc_BuiltinTests[] = {
9292 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9295 * Fix Command Arguments for Vms_Decc_Builtin
9297 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9298 "-e", "s@__MEMSET@memset@",
9299 "-e", "s@__MEMMOVE@memmove@",
9300 "-e", "s@__MEMCPY@memcpy@",
9301 "-e", "s@__STRLEN@strlen@",
9302 "-e", "s@__STRCPY@strcpy@",
9305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9307 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9309 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9310 "vms_define_can_use_extern_prefix";
9313 * File name selection pattern
9315 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9316 "rtldef/decc$types.h\0";
9318 * Machine/OS name selection pattern
9320 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9322 (const char*)NULL };
9325 * content selection pattern - do fix if pattern found
9327 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9329 #[ \t]*if defined\\(__DECCXX\\)\n\
9330 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9332 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9333 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9334 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9337 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9339 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9341 "%0# elif defined (__GNUC__)\n\
9342 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9347 * Description of Vms_Disable_Decc_String_Builtins fix
9349 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9350 "vms_disable_decc_string_builtins";
9353 * File name selection pattern
9355 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9356 "rtldef/string.h\0";
9358 * Machine/OS name selection pattern
9360 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9362 (const char*)NULL };
9365 * content selection pattern - do fix if pattern found
9367 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9368 "#if !defined\\(__VAX\\)\n";
9370 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9371 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9372 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9375 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9377 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9379 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9384 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9386 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9387 "vms_do_not_redeclare_hostalias";
9390 * File name selection pattern
9392 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9393 "rtldef/resolv.h\0";
9395 * Machine/OS name selection pattern
9397 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9399 (const char*)NULL };
9402 * content selection pattern - do fix if pattern found
9404 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9405 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9406 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9408 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9409 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9410 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9413 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9415 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9423 * Description of Vms_Forward_Declare_Struct fix
9425 tSCC zVms_Forward_Declare_StructName[] =
9426 "vms_forward_declare_struct";
9429 * File name selection pattern
9431 tSCC zVms_Forward_Declare_StructList[] =
9434 * Machine/OS name selection pattern
9436 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9438 (const char*)NULL };
9441 * content selection pattern - do fix if pattern found
9443 tSCC zVms_Forward_Declare_StructSelect0[] =
9444 "(/\\* forward decls for C\\+\\+ \\*/\n\
9445 )#ifdef __cplusplus\n";
9447 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9448 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9449 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9452 * Fix Command Arguments for Vms_Forward_Declare_Struct
9454 static const char* apzVms_Forward_Declare_StructPatch[] = {
9456 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9461 * Description of Vms_No_64bit_Getopt fix
9463 tSCC zVms_No_64bit_GetoptName[] =
9464 "vms_no_64bit_getopt";
9467 * File name selection pattern
9469 tSCC zVms_No_64bit_GetoptList[] =
9470 "rtldef/stdio.h\0rtldef/unistd.h\0";
9472 * Machine/OS name selection pattern
9474 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9476 (const char*)NULL };
9479 * content selection pattern - do fix if pattern found
9481 tSCC zVms_No_64bit_GetoptSelect0[] =
9482 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9484 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9485 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9486 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9489 * Fix Command Arguments for Vms_No_64bit_Getopt
9491 static const char* apzVms_No_64bit_GetoptPatch[] = {
9493 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9499 * Description of Vms_Use_Fast_Setjmp fix
9501 tSCC zVms_Use_Fast_SetjmpName[] =
9502 "vms_use_fast_setjmp";
9505 * File name selection pattern
9507 tSCC zVms_Use_Fast_SetjmpList[] =
9508 "rtldef/setjmp.h\0";
9510 * Machine/OS name selection pattern
9512 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9514 (const char*)NULL };
9517 * content selection pattern - do fix if pattern found
9519 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9520 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9522 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9523 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9524 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9527 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9529 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9531 "%0 defined (__GNUC__) ||",
9534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9536 * Description of Vms_Use_Pragma_Extern_Model fix
9538 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9539 "vms_use_pragma_extern_model";
9542 * File name selection pattern
9544 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9546 * Machine/OS name selection pattern
9548 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9550 (const char*)NULL };
9553 * content selection pattern - do fix if pattern found
9555 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9556 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9557 # pragma extern_model __save\n";
9559 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9560 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9561 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9564 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9566 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9568 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9569 # pragma extern_model __save\n",
9572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9574 * Description of Vms_Use_Quoted_Include fix
9576 tSCC zVms_Use_Quoted_IncludeName[] =
9577 "vms_use_quoted_include";
9580 * File name selection pattern
9582 tSCC zVms_Use_Quoted_IncludeList[] =
9583 "rtldef/wait.h\0starlet_c/pthread.h\0";
9585 * Machine/OS name selection pattern
9587 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9589 (const char*)NULL };
9592 * content selection pattern - do fix if pattern found
9594 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9595 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9597 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9598 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9599 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9602 * Fix Command Arguments for Vms_Use_Quoted_Include
9604 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9609 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9611 * Description of Void_Null fix
9613 tSCC zVoid_NullName[] =
9617 * File name selection pattern
9619 tSCC zVoid_NullList[] =
9620 "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";
9622 * Machine/OS name selection pattern
9624 #define apzVoid_NullMachs (const char**)NULL
9627 * content selection pattern - do fix if pattern found
9629 tSCC zVoid_NullSelect0[] =
9630 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9633 * content bypass pattern - skip fix if pattern found
9635 tSCC zVoid_NullBypass0[] =
9637 tSCC zVoid_NullBypass1[] =
9640 #define VOID_NULL_TEST_CT 3
9641 static tTestDesc aVoid_NullTests[] = {
9642 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9643 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9644 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9647 * Fix Command Arguments for Void_Null
9649 static const char* apzVoid_NullPatch[] = {
9652 #ifdef __cplusplus\n\
9654 #define NULL __null\n\
9655 #else /* ! __GNUG__ */\n\
9657 #endif /* __GNUG__ */\n\
9658 #else /* ! __cplusplus */\n\
9659 #define NULL ((void *)0)\n\
9660 #endif /* __cplusplus */\n\
9661 #endif /* !NULL */",
9664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9666 * Description of Vxworks_Gcc_Problem fix
9668 tSCC zVxworks_Gcc_ProblemName[] =
9669 "vxworks_gcc_problem";
9672 * File name selection pattern
9674 tSCC zVxworks_Gcc_ProblemList[] =
9675 "types/vxTypesBase.h\0";
9677 * Machine/OS name selection pattern
9679 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9682 * content selection pattern - do fix if pattern found
9684 tSCC zVxworks_Gcc_ProblemSelect0[] =
9685 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9687 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9688 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9689 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9692 * Fix Command Arguments for Vxworks_Gcc_Problem
9694 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9695 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9696 "-e", "/[ \t]size_t/i\\\n\
9697 #ifndef _GCC_SIZE_T\\\n\
9698 #define _GCC_SIZE_T\n",
9699 "-e", "/[ \t]size_t/a\\\n\
9701 "-e", "/[ \t]ptrdiff_t/i\\\n\
9702 #ifndef _GCC_PTRDIFF_T\\\n\
9703 #define _GCC_PTRDIFF_T\n",
9704 "-e", "/[ \t]ptrdiff_t/a\\\n\
9706 "-e", "/[ \t]wchar_t/i\\\n\
9707 #ifndef _GCC_WCHAR_T\\\n\
9708 #define _GCC_WCHAR_T\n",
9709 "-e", "/[ \t]wchar_t/a\\\n\
9713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9715 * Description of Vxworks_Ioctl_Macro fix
9717 tSCC zVxworks_Ioctl_MacroName[] =
9718 "vxworks_ioctl_macro";
9721 * File name selection pattern
9723 tSCC zVxworks_Ioctl_MacroList[] =
9726 * Machine/OS name selection pattern
9728 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9730 (const char*)NULL };
9731 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
9732 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
9735 * Fix Command Arguments for Vxworks_Ioctl_Macro
9737 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9740 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
9741 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9746 * Description of Vxworks_Mkdir_Macro fix
9748 tSCC zVxworks_Mkdir_MacroName[] =
9749 "vxworks_mkdir_macro";
9752 * File name selection pattern
9754 tSCC zVxworks_Mkdir_MacroList[] =
9757 * Machine/OS name selection pattern
9759 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9761 (const char*)NULL };
9762 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
9763 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
9766 * Fix Command Arguments for Vxworks_Mkdir_Macro
9768 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9771 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9772 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9777 * Description of Vxworks_Needs_Vxtypes fix
9779 tSCC zVxworks_Needs_VxtypesName[] =
9780 "vxworks_needs_vxtypes";
9783 * File name selection pattern
9785 tSCC zVxworks_Needs_VxtypesList[] =
9788 * Machine/OS name selection pattern
9790 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9793 * content selection pattern - do fix if pattern found
9795 tSCC zVxworks_Needs_VxtypesSelect0[] =
9796 "uint_t([ \t]+_clocks_per_sec)";
9798 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9799 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9800 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9803 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9805 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9810 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9812 * Description of Vxworks_Needs_Vxworks fix
9814 tSCC zVxworks_Needs_VxworksName[] =
9815 "vxworks_needs_vxworks";
9818 * File name selection pattern
9820 tSCC zVxworks_Needs_VxworksList[] =
9823 * Machine/OS name selection pattern
9825 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9828 * content selection pattern - do fix if pattern found
9830 tSCC zVxworks_Needs_VxworksSelect0[] =
9831 "#[ \t]define[ \t]+__INCstath";
9834 * perform the 'test' shell command - do fix on success
9836 tSCC zVxworks_Needs_VxworksTest0[] =
9837 " -r types/vxTypesOld.h";
9838 tSCC zVxworks_Needs_VxworksTest1[] =
9839 " -n \"`egrep '#include' $file`\"";
9840 tSCC zVxworks_Needs_VxworksTest2[] =
9841 " -n \"`egrep ULONG $file`\"";
9843 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
9844 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9845 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
9846 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
9847 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
9848 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9851 * Fix Command Arguments for Vxworks_Needs_Vxworks
9853 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9854 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9855 #include <types/vxTypesOld.h>\n",
9858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9860 * Description of Vxworks_Regs fix
9862 tSCC zVxworks_RegsName[] =
9866 * File name selection pattern
9868 #define zVxworks_RegsList (char*)NULL
9870 * Machine/OS name selection pattern
9872 tSCC* apzVxworks_RegsMachs[] = {
9874 (const char*)NULL };
9877 * content selection pattern - do fix if pattern found
9879 tSCC zVxworks_RegsSelect0[] =
9880 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9882 #define VXWORKS_REGS_TEST_CT 1
9883 static tTestDesc aVxworks_RegsTests[] = {
9884 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
9887 * Fix Command Arguments for Vxworks_Regs
9889 static const char* apzVxworks_RegsPatch[] = {
9891 "#include <arch/../regs.h>",
9894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9896 * Description of Vxworks_Time fix
9898 tSCC zVxworks_TimeName[] =
9902 * File name selection pattern
9904 tSCC zVxworks_TimeList[] =
9907 * Machine/OS name selection pattern
9909 #define apzVxworks_TimeMachs (const char**)NULL
9912 * content selection pattern - do fix if pattern found
9914 tSCC zVxworks_TimeSelect0[] =
9915 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9918 * perform the 'test' shell command - do fix on success
9920 tSCC zVxworks_TimeTest0[] =
9923 #define VXWORKS_TIME_TEST_CT 2
9924 static tTestDesc aVxworks_TimeTests[] = {
9925 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9926 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9929 * Fix Command Arguments for Vxworks_Time
9931 static const char* apzVxworks_TimePatch[] = {
9933 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9934 #ifdef __cplusplus\n\
9935 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9937 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9939 #define __gcc_VOIDFUNCPTR_defined\n\
9941 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9946 * Description of Vxworks_Write_Const fix
9948 tSCC zVxworks_Write_ConstName[] =
9949 "vxworks_write_const";
9952 * File name selection pattern
9954 tSCC zVxworks_Write_ConstList[] =
9957 * Machine/OS name selection pattern
9959 tSCC* apzVxworks_Write_ConstMachs[] = {
9961 (const char*)NULL };
9962 #define VXWORKS_WRITE_CONST_TEST_CT 0
9963 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9966 * Fix Command Arguments for Vxworks_Write_Const
9968 static const char* apzVxworks_Write_ConstPatch[] = {
9970 "extern int write (int, const char*, size_t);",
9971 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9974 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9976 * Description of Vxworks_Iolib_Include_Unistd fix
9978 tSCC zVxworks_Iolib_Include_UnistdName[] =
9979 "vxworks_iolib_include_unistd";
9982 * File name selection pattern
9984 tSCC zVxworks_Iolib_Include_UnistdList[] =
9987 * Machine/OS name selection pattern
9989 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
9991 (const char*)NULL };
9994 * content selection pattern - do fix if pattern found
9996 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
9997 "#include \"unistd.h\"";
9999 #define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10000 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10001 { TT_EGREP, zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10004 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10006 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10008 "#include <unistd.h>",
10011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10013 * Description of X11_Class fix
10015 tSCC zX11_ClassName[] =
10019 * File name selection pattern
10021 tSCC zX11_ClassList[] =
10024 * Machine/OS name selection pattern
10026 #define apzX11_ClassMachs (const char**)NULL
10029 * content selection pattern - do fix if pattern found
10031 tSCC zX11_ClassSelect0[] =
10032 "^([ \t]*char \\*)class;(.*)";
10035 * content bypass pattern - skip fix if pattern found
10037 tSCC zX11_ClassBypass0[] =
10040 #define X11_CLASS_TEST_CT 2
10041 static tTestDesc aX11_ClassTests[] = {
10042 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
10043 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
10046 * Fix Command Arguments for X11_Class
10048 static const char* apzX11_ClassPatch[] = {
10050 "#ifdef __cplusplus\n\
10057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10059 * Description of X11_Class_Usage fix
10061 tSCC zX11_Class_UsageName[] =
10065 * File name selection pattern
10067 tSCC zX11_Class_UsageList[] =
10068 "Xm/BaseClassI.h\0";
10070 * Machine/OS name selection pattern
10072 #define apzX11_Class_UsageMachs (const char**)NULL
10075 * content selection pattern - do fix if pattern found
10077 tSCC zX11_Class_UsageSelect0[] =
10081 * content bypass pattern - skip fix if pattern found
10083 tSCC zX11_Class_UsageBypass0[] =
10086 #define X11_CLASS_USAGE_TEST_CT 2
10087 static tTestDesc aX11_Class_UsageTests[] = {
10088 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
10089 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10092 * Fix Command Arguments for X11_Class_Usage
10094 static const char* apzX11_Class_UsagePatch[] = {
10099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10101 * Description of X11_New fix
10103 tSCC zX11_NewName[] =
10107 * File name selection pattern
10109 tSCC zX11_NewList[] =
10110 "Xm/Traversal.h\0";
10112 * Machine/OS name selection pattern
10114 #define apzX11_NewMachs (const char**)NULL
10117 * content bypass pattern - skip fix if pattern found
10119 tSCC zX11_NewBypass0[] =
10122 #define X11_NEW_TEST_CT 1
10123 static tTestDesc aX11_NewTests[] = {
10124 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
10127 * Fix Command Arguments for X11_New
10129 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10130 "-e", "/Widget\told, new;/i\\\n\
10131 #ifdef __cplusplus\\\n\
10132 \\\tWidget\told, c_new;\\\n\
10134 "-e", "/Widget\told, new;/a\\\n\
10136 "-e", "s/Widget new,/Widget c_new,/g",
10139 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10141 * Description of X11_Sprintf fix
10143 tSCC zX11_SprintfName[] =
10147 * File name selection pattern
10149 tSCC zX11_SprintfList[] =
10150 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10152 * Machine/OS name selection pattern
10154 #define apzX11_SprintfMachs (const char**)NULL
10157 * content selection pattern - do fix if pattern found
10159 tSCC zX11_SprintfSelect0[] =
10160 "^extern char \\*\tsprintf\\(\\);$";
10162 #define X11_SPRINTF_TEST_CT 1
10163 static tTestDesc aX11_SprintfTests[] = {
10164 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10167 * Fix Command Arguments for X11_Sprintf
10169 static const char* apzX11_SprintfPatch[] = {
10171 "#ifndef __STDC__\n\
10173 #endif /* !defined __STDC__ */",
10177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10179 * List of all fixes
10181 #define REGEX_COUNT 289
10182 #define MACH_LIST_SIZE_LIMIT 187
10183 #define FIX_COUNT 251
10186 * Enumerate the fixes
10189 AAB_AIX_STDIO_FIXIDX,
10190 AAB_AIX_FCNTL_FIXIDX,
10191 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10192 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10193 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10194 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10195 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10196 AAB_SUN_MEMCPY_FIXIDX,
10197 AAB_VXWORKS_ASSERT_FIXIDX,
10198 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10199 AAB_VXWORKS_UNISTD_FIXIDX,
10201 AIX_COMPLEX_FIXIDX,
10202 AIX_EXTERNC_FIXIDX,
10203 AIX_EXTERNCPP1_FIXIDX,
10204 AIX_EXTERNCPP2_FIXIDX,
10206 AIX_NET_IF_ARP_FIXIDX,
10208 AIX_ONCE_INIT_1_FIXIDX,
10209 AIX_ONCE_INIT_2_FIXIDX,
10210 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10211 AIX_COND_INITIALIZER_1_FIXIDX,
10212 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10213 AIX_PTHREAD_FIXIDX,
10214 AIX_STDINT_1_FIXIDX,
10215 AIX_STDINT_2_FIXIDX,
10216 AIX_STDINT_3_FIXIDX,
10217 AIX_STDINT_4_FIXIDX,
10218 AIX_STDINT_5_FIXIDX,
10219 AIX_STDIO_INLINE_FIXIDX,
10220 AIX_STDLIB_MALLOC_FIXIDX,
10221 AIX_STDLIB_REALLOC_FIXIDX,
10222 AIX_STDLIB_CALLOC_FIXIDX,
10223 AIX_STDLIB_VALLOC_FIXIDX,
10224 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10225 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10226 AIX_STRTOF_CONST_FIXIDX,
10227 AIX_SYSMACHINE_FIXIDX,
10228 AIX_SYSWAIT_2_FIXIDX,
10229 AIX_VOLATILE_FIXIDX,
10231 ALPHA___ASSERT_FIXIDX,
10232 ALPHA_ASSERT_FIXIDX,
10233 ALPHA_GETOPT_FIXIDX,
10234 ALPHA_IF_SEMICOLON_FIXIDX,
10235 ALPHA_PARENS_FIXIDX,
10237 AVOID_BOOL_DEFINE_FIXIDX,
10238 AVOID_BOOL_TYPE_FIXIDX,
10239 AVOID_WCHAR_T_TYPE_FIXIDX,
10240 BAD_STRUCT_TERM_FIXIDX,
10242 BROKEN_ASSERT_STDIO_FIXIDX,
10243 BROKEN_ASSERT_STDLIB_FIXIDX,
10244 BROKEN_CABS_FIXIDX,
10246 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10247 CTRL_QUOTES_DEF_FIXIDX,
10248 CTRL_QUOTES_USE_FIXIDX,
10249 CXX_UNREADY_FIXIDX,
10250 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10251 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10252 DARWIN_EXTERNC_FIXIDX,
10253 DARWIN_GCC4_BREAKAGE_FIXIDX,
10254 DARWIN_LONGJMP_NORETURN_FIXIDX,
10255 DARWIN_OS_TRACE_1_FIXIDX,
10256 DARWIN_OS_TRACE_2_FIXIDX,
10257 DARWIN_OS_TRACE_3_FIXIDX,
10258 DARWIN_PRIVATE_EXTERN_FIXIDX,
10259 DARWIN_STDINT_1_FIXIDX,
10260 DARWIN_STDINT_2_FIXIDX,
10261 DARWIN_STDINT_3_FIXIDX,
10262 DARWIN_STDINT_4_FIXIDX,
10263 DARWIN_STDINT_5_FIXIDX,
10264 DARWIN_STDINT_6_FIXIDX,
10265 DARWIN_STDINT_7_FIXIDX,
10266 DEC_INTERN_ASM_FIXIDX,
10267 DJGPP_WCHAR_H_FIXIDX,
10269 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10270 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10271 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10272 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10273 GLIBC_C99_INLINE_1_FIXIDX,
10274 GLIBC_C99_INLINE_1A_FIXIDX,
10275 GLIBC_C99_INLINE_2_FIXIDX,
10276 GLIBC_C99_INLINE_3_FIXIDX,
10277 GLIBC_C99_INLINE_4_FIXIDX,
10278 GLIBC_MUTEX_INIT_FIXIDX,
10279 GLIBC_STDINT_FIXIDX,
10280 GLIBC_STRNCPY_FIXIDX,
10281 GLIBC_TGMATH_FIXIDX,
10285 HPPA_HPUX_FP_MACROS_FIXIDX,
10286 HPUX10_CPP_POW_INLINE_FIXIDX,
10287 HPUX11_CPP_POW_INLINE_FIXIDX,
10288 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10289 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10290 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10291 HPPA_HPUX11_ALLOCA_FIXIDX,
10293 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10294 HPUX11_EXTERN_SENDFILE_FIXIDX,
10295 HPUX11_EXTERN_SENDPATH_FIXIDX,
10296 HPUX11_FABSF_FIXIDX,
10297 HPUX11_PTHREAD_POINTER_FIXIDX,
10298 HPUX11_PTHREAD_CONST_FIXIDX,
10299 HPUX11_SIZE_T_FIXIDX,
10300 HPUX11_SNPRINTF_FIXIDX,
10301 HPUX11_VSNPRINTF_FIXIDX,
10302 HPUX_VSSCANF_FIXIDX,
10303 HPUX8_BOGUS_INLINES_FIXIDX,
10304 HPUX_C99_INTPTR_FIXIDX,
10305 HPUX_C99_INTTYPES_FIXIDX,
10306 HPUX_C99_INTTYPES2_FIXIDX,
10307 HPUX_CTYPE_MACROS_FIXIDX,
10308 HPUX_EXTERN_ERRNO_FIXIDX,
10310 HPUX_IMAGINARY_I_FIXIDX,
10311 HPUX_INTTYPE_INT8_T_FIXIDX,
10312 HPUX_LONG_DOUBLE_FIXIDX,
10313 HPUX_LONG_DOUBLE_2_FIXIDX,
10314 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10315 HPUX_SPU_INFO_FIXIDX,
10316 HPUX_STDINT_LEAST_FAST_FIXIDX,
10317 HPUX_LONGJMP_FIXIDX,
10318 HPUX_SYSTIME_FIXIDX,
10319 HUGE_VAL_HEX_FIXIDX,
10320 HUGE_VALF_HEX_FIXIDX,
10321 HUGE_VALL_HEX_FIXIDX,
10322 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10323 IO_QUOTES_DEF_FIXIDX,
10324 IO_QUOTES_USE_FIXIDX,
10325 IP_MISSING_SEMI_FIXIDX,
10326 IRIX_LIMITS_CONST_FIXIDX,
10327 IRIX_STDIO_VA_LIST_FIXIDX,
10328 KANDR_CONCAT_FIXIDX,
10329 LINUX_IA64_UCONTEXT_FIXIDX,
10330 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10331 LYNXOS_MISSING_PUTENV_FIXIDX,
10332 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10333 MACHINE_NAME_FIXIDX,
10334 MATH_EXCEPTION_FIXIDX,
10335 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10336 NESTED_AUTH_DES_FIXIDX,
10337 NETBSD_C99_INLINE_1_FIXIDX,
10338 NETBSD_C99_INLINE_2_FIXIDX,
10339 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10340 NEWLIB_STDINT_1_FIXIDX,
10341 NEWLIB_STDINT_2_FIXIDX,
10342 NEXT_MATH_PREFIX_FIXIDX,
10343 NEXT_TEMPLATE_FIXIDX,
10344 NEXT_VOLITILE_FIXIDX,
10345 NEXT_WAIT_UNION_FIXIDX,
10346 NODEENT_SYNTAX_FIXIDX,
10347 OPENBSD_NULL_DEFINITION_FIXIDX,
10348 OBSTACK_LVALUE_CAST_FIXIDX,
10349 OPENBSD_VA_START_FIXIDX,
10350 OSF_NAMESPACE_A_FIXIDX,
10351 OSF_NAMESPACE_C_FIXIDX,
10352 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10353 READ_RET_TYPE_FIXIDX,
10354 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10355 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10356 RS6000_DOUBLE_FIXIDX,
10357 RS6000_FCHMOD_FIXIDX,
10358 RS6000_PARAM_FIXIDX,
10359 SOLARIS___RESTRICT_FIXIDX,
10360 SOLARIS_COMPLEX_FIXIDX,
10361 SOLARIS_COMPLEX_CXX_FIXIDX,
10362 SOLARIS_CXX_LINKAGE_FIXIDX,
10363 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10364 SOLARIS_GETS_C11_FIXIDX,
10365 SOLARIS_GETS_CXX14_FIXIDX,
10366 SOLARIS_INT_CONST_FIXIDX,
10367 SOLARIS_INT_LIMITS_1_FIXIDX,
10368 SOLARIS_INT_LIMITS_2_FIXIDX,
10369 SOLARIS_INT_LIMITS_3_FIXIDX,
10370 SOLARIS_MATH_1_FIXIDX,
10371 SOLARIS_MATH_10_FIXIDX,
10372 SOLARIS_MATH_2_FIXIDX,
10373 SOLARIS_MATH_3_FIXIDX,
10374 SOLARIS_MATH_4_FIXIDX,
10375 SOLARIS_MATH_8_FIXIDX,
10376 SOLARIS_MATH_9_FIXIDX,
10377 SOLARIS_MATH_11_FIXIDX,
10378 SOLARIS_MATH_12_FIXIDX,
10379 SOLARIS_ONCE_INIT_1_FIXIDX,
10380 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10381 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10382 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10383 SOLARIS_STD___FILBUF_FIXIDX,
10384 SOLARIS_STD_GETS_CXX14_FIXIDX,
10385 SOLARIS_STDIO_TAG_FIXIDX,
10386 SOLARIS_STDLIB_NORETURN_FIXIDX,
10388 STDIO_STDARG_H_FIXIDX,
10389 STDIO_VA_LIST_FIXIDX,
10390 STDIO_VA_LIST_CLIENTS_FIXIDX,
10391 STRICT_ANSI_NOT_FIXIDX,
10392 STRICT_ANSI_NOT_CTD_FIXIDX,
10393 STRICT_ANSI_ONLY_FIXIDX,
10394 STRUCT_FILE_FIXIDX,
10395 STRUCT_SOCKADDR_FIXIDX,
10396 SUN_AUTH_PROTO_FIXIDX,
10397 SUN_BOGUS_IFDEF_FIXIDX,
10398 SUN_CATMACRO_FIXIDX,
10400 SUN_RUSERS_SEMI_FIXIDX,
10402 SUNOS_STRLEN_FIXIDX,
10403 SUSE_LINUX_VT_CXX_FIXIDX,
10404 SVR4_DISABLE_OPT_FIXIDX,
10405 SVR4_GETCWD_FIXIDX,
10406 SVR4_PROFIL_FIXIDX,
10407 SVR4_SIGHANDLER_TYPE_FIXIDX,
10408 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10409 SYSV68_STRING_FIXIDX,
10410 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10411 THREAD_KEYWORD_FIXIDX,
10412 TINFO_CPLUSPLUS_FIXIDX,
10413 ULTRIX_CONST_FIXIDX,
10414 ULTRIX_CONST2_FIXIDX,
10415 VA_I960_MACRO_FIXIDX,
10416 VMS_ADD_MISSING_BRACES_FIXIDX,
10417 VMS_DECC_BUILTIN_FIXIDX,
10418 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10419 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10420 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10421 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10422 VMS_NO_64BIT_GETOPT_FIXIDX,
10423 VMS_USE_FAST_SETJMP_FIXIDX,
10424 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10425 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10427 VXWORKS_GCC_PROBLEM_FIXIDX,
10428 VXWORKS_IOCTL_MACRO_FIXIDX,
10429 VXWORKS_MKDIR_MACRO_FIXIDX,
10430 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10431 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10432 VXWORKS_REGS_FIXIDX,
10433 VXWORKS_TIME_FIXIDX,
10434 VXWORKS_WRITE_CONST_FIXIDX,
10435 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10437 X11_CLASS_USAGE_FIXIDX,
10442 tFixDesc fixDescList[ FIX_COUNT ] = {
10443 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10444 apzAab_Aix_StdioMachs,
10445 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10446 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10448 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10449 apzAab_Aix_FcntlMachs,
10450 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10451 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10453 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10454 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10455 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10456 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10458 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10459 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10460 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10461 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10463 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10464 apzAab_Fd_Zero_Gnu_Types_HMachs,
10465 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10466 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10468 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10469 apzAab_Fd_Zero_Selectbits_HMachs,
10470 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10471 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10473 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10474 apzAab_Solaris_Sys_Varargs_HMachs,
10475 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10476 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10478 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10479 apzAab_Sun_MemcpyMachs,
10480 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10481 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10483 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10484 apzAab_Vxworks_AssertMachs,
10485 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10486 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10488 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10489 apzAab_Vxworks_Regs_VxtypesMachs,
10490 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10491 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10493 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10494 apzAab_Vxworks_UnistdMachs,
10495 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10496 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10498 { zAix_AssertName, zAix_AssertList,
10499 apzAix_AssertMachs,
10500 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10501 aAix_AssertTests, apzAix_AssertPatch, 0 },
10503 { zAix_ComplexName, zAix_ComplexList,
10504 apzAix_ComplexMachs,
10505 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10506 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10508 { zAix_ExterncName, zAix_ExterncList,
10509 apzAix_ExterncMachs,
10510 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10511 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10513 { zAix_Externcpp1Name, zAix_Externcpp1List,
10514 apzAix_Externcpp1Machs,
10515 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10516 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10518 { zAix_Externcpp2Name, zAix_Externcpp2List,
10519 apzAix_Externcpp2Machs,
10520 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10521 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10523 { zAix_MallocName, zAix_MallocList,
10524 apzAix_MallocMachs,
10525 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10526 aAix_MallocTests, apzAix_MallocPatch, 0 },
10528 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10529 apzAix_Net_If_ArpMachs,
10530 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10531 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10533 { zAix_NullName, zAix_NullList,
10535 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10536 aAix_NullTests, apzAix_NullPatch, 0 },
10538 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10539 apzAix_Once_Init_1Machs,
10540 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10541 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10543 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10544 apzAix_Once_Init_2Machs,
10545 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10546 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10548 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10549 apzAix_Mutex_Initializer_1Machs,
10550 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10551 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10553 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10554 apzAix_Cond_Initializer_1Machs,
10555 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10556 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10558 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10559 apzAix_Rwlock_Initializer_1Machs,
10560 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10561 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10563 { zAix_PthreadName, zAix_PthreadList,
10564 apzAix_PthreadMachs,
10565 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10566 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10568 { zAix_Stdint_1Name, zAix_Stdint_1List,
10569 apzAix_Stdint_1Machs,
10570 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10571 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10573 { zAix_Stdint_2Name, zAix_Stdint_2List,
10574 apzAix_Stdint_2Machs,
10575 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10576 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10578 { zAix_Stdint_3Name, zAix_Stdint_3List,
10579 apzAix_Stdint_3Machs,
10580 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10581 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10583 { zAix_Stdint_4Name, zAix_Stdint_4List,
10584 apzAix_Stdint_4Machs,
10585 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10586 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10588 { zAix_Stdint_5Name, zAix_Stdint_5List,
10589 apzAix_Stdint_5Machs,
10590 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10591 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10593 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10594 apzAix_Stdio_InlineMachs,
10595 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10596 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10598 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10599 apzAix_Stdlib_MallocMachs,
10600 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10601 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10603 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10604 apzAix_Stdlib_ReallocMachs,
10605 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10606 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10608 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10609 apzAix_Stdlib_CallocMachs,
10610 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10611 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10613 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10614 apzAix_Stdlib_VallocMachs,
10615 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10616 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10618 { zAix_Stdlib_Vec_MallocName, zAix_Stdlib_Vec_MallocList,
10619 apzAix_Stdlib_Vec_MallocMachs,
10620 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10621 aAix_Stdlib_Vec_MallocTests, apzAix_Stdlib_Vec_MallocPatch, 0 },
10623 { zAix_Stdlib_Vec_CallocName, zAix_Stdlib_Vec_CallocList,
10624 apzAix_Stdlib_Vec_CallocMachs,
10625 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10626 aAix_Stdlib_Vec_CallocTests, apzAix_Stdlib_Vec_CallocPatch, 0 },
10628 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10629 apzAix_Strtof_ConstMachs,
10630 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10631 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10633 { zAix_SysmachineName, zAix_SysmachineList,
10634 apzAix_SysmachineMachs,
10635 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10636 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10638 { zAix_Syswait_2Name, zAix_Syswait_2List,
10639 apzAix_Syswait_2Machs,
10640 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10641 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10643 { zAix_VolatileName, zAix_VolatileList,
10644 apzAix_VolatileMachs,
10645 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10646 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10648 { zAix_UnistdName, zAix_UnistdList,
10649 apzAix_UnistdMachs,
10650 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10651 aAix_UnistdTests, apzAix_UnistdPatch, 0 },
10653 { zAlpha___AssertName, zAlpha___AssertList,
10654 apzAlpha___AssertMachs,
10655 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10656 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10658 { zAlpha_AssertName, zAlpha_AssertList,
10659 apzAlpha_AssertMachs,
10660 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10661 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10663 { zAlpha_GetoptName, zAlpha_GetoptList,
10664 apzAlpha_GetoptMachs,
10665 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10666 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10668 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10669 apzAlpha_If_SemicolonMachs,
10670 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10671 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10673 { zAlpha_ParensName, zAlpha_ParensList,
10674 apzAlpha_ParensMachs,
10675 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10676 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10678 { zAlpha_SbrkName, zAlpha_SbrkList,
10679 apzAlpha_SbrkMachs,
10680 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10681 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10683 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10684 apzAvoid_Bool_DefineMachs,
10685 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10686 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
10688 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
10689 apzAvoid_Bool_TypeMachs,
10690 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10691 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
10693 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
10694 apzAvoid_Wchar_T_TypeMachs,
10695 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10696 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
10698 { zBad_Struct_TermName, zBad_Struct_TermList,
10699 apzBad_Struct_TermMachs,
10700 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10701 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
10703 { zBadquoteName, zBadquoteList,
10705 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10706 aBadquoteTests, apzBadquotePatch, 0 },
10708 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
10709 apzBroken_Assert_StdioMachs,
10710 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10711 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
10713 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
10714 apzBroken_Assert_StdlibMachs,
10715 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10716 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
10718 { zBroken_CabsName, zBroken_CabsList,
10719 apzBroken_CabsMachs,
10720 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10721 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
10723 { zBroken_NanName, zBroken_NanList,
10724 apzBroken_NanMachs,
10725 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10726 aBroken_NanTests, apzBroken_NanPatch, 0 },
10728 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
10729 apzBsd_Stdio_Attrs_ConflictMachs,
10730 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10731 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10733 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
10734 apzCtrl_Quotes_DefMachs,
10735 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10736 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
10738 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
10739 apzCtrl_Quotes_UseMachs,
10740 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10741 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
10743 { zCxx_UnreadyName, zCxx_UnreadyList,
10744 apzCxx_UnreadyMachs,
10745 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10746 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
10748 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
10749 apzDarwin_AvailabilityinternalMachs,
10750 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10751 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
10753 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
10754 apzDarwin_9_Long_Double_Funcs_2Machs,
10755 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10756 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10758 { zDarwin_ExterncName, zDarwin_ExterncList,
10759 apzDarwin_ExterncMachs,
10760 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10761 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
10763 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
10764 apzDarwin_Gcc4_BreakageMachs,
10765 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10766 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
10768 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
10769 apzDarwin_Longjmp_NoreturnMachs,
10770 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10771 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
10773 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
10774 apzDarwin_Os_Trace_1Machs,
10775 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10776 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
10778 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
10779 apzDarwin_Os_Trace_2Machs,
10780 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10781 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
10783 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
10784 apzDarwin_Os_Trace_3Machs,
10785 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10786 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
10788 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
10789 apzDarwin_Private_ExternMachs,
10790 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10791 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
10793 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
10794 apzDarwin_Stdint_1Machs,
10795 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10796 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
10798 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
10799 apzDarwin_Stdint_2Machs,
10800 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10801 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
10803 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
10804 apzDarwin_Stdint_3Machs,
10805 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10806 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
10808 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
10809 apzDarwin_Stdint_4Machs,
10810 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10811 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
10813 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
10814 apzDarwin_Stdint_5Machs,
10815 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10816 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
10818 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
10819 apzDarwin_Stdint_6Machs,
10820 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10821 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
10823 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
10824 apzDarwin_Stdint_7Machs,
10825 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10826 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
10828 { zDec_Intern_AsmName, zDec_Intern_AsmList,
10829 apzDec_Intern_AsmMachs,
10830 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10831 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
10833 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
10834 apzDjgpp_Wchar_HMachs,
10835 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10836 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
10838 { zEcd_CursorName, zEcd_CursorList,
10839 apzEcd_CursorMachs,
10840 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10841 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
10843 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10844 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10845 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10846 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10848 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10849 apzFeraiseexcept_Nosse_InvalidMachs,
10850 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10851 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10853 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
10854 apzFreebsd_Gcc3_BreakageMachs,
10855 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10856 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
10858 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
10859 apzFreebsd_Gcc4_BreakageMachs,
10860 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10861 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
10863 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
10864 apzGlibc_C99_Inline_1Machs,
10865 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10866 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
10868 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
10869 apzGlibc_C99_Inline_1aMachs,
10870 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10871 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
10873 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
10874 apzGlibc_C99_Inline_2Machs,
10875 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10876 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
10878 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
10879 apzGlibc_C99_Inline_3Machs,
10880 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10881 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
10883 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
10884 apzGlibc_C99_Inline_4Machs,
10885 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10886 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
10888 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
10889 apzGlibc_Mutex_InitMachs,
10890 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10891 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
10893 { zGlibc_StdintName, zGlibc_StdintList,
10894 apzGlibc_StdintMachs,
10895 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10896 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
10898 { zGlibc_StrncpyName, zGlibc_StrncpyList,
10899 apzGlibc_StrncpyMachs,
10900 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10901 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
10903 { zGlibc_TgmathName, zGlibc_TgmathList,
10904 apzGlibc_TgmathMachs,
10905 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10906 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
10908 { zGnu_TypesName, zGnu_TypesList,
10910 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10911 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
10913 { zHp_InlineName, zHp_InlineList,
10915 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10916 aHp_InlineTests, apzHp_InlinePatch, 0 },
10918 { zHp_SysfileName, zHp_SysfileList,
10919 apzHp_SysfileMachs,
10920 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10921 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
10923 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
10924 apzHppa_Hpux_Fp_MacrosMachs,
10925 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10926 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10928 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10929 apzHpux10_Cpp_Pow_InlineMachs,
10930 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10931 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10933 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10934 apzHpux11_Cpp_Pow_InlineMachs,
10935 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10936 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10938 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10939 apzHpux10_Ctype_Declarations1Machs,
10940 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10941 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10943 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10944 apzHpux10_Ctype_Declarations2Machs,
10945 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10946 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10948 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10949 apzHpux10_Stdio_DeclarationsMachs,
10950 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10951 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10953 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
10954 apzHppa_Hpux11_AllocaMachs,
10955 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10956 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
10958 { zHpux11_AbsName, zHpux11_AbsList,
10959 apzHpux11_AbsMachs,
10960 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10961 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10963 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
10964 apzHpux11_Lwp_Rwlock_ValidMachs,
10965 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10966 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10968 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10969 apzHpux11_Extern_SendfileMachs,
10970 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10971 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10973 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10974 apzHpux11_Extern_SendpathMachs,
10975 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10976 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10978 { zHpux11_FabsfName, zHpux11_FabsfList,
10979 apzHpux11_FabsfMachs,
10980 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10981 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10983 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
10984 apzHpux11_Pthread_PointerMachs,
10985 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10986 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
10988 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10989 apzHpux11_Pthread_ConstMachs,
10990 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10991 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10993 { zHpux11_Size_TName, zHpux11_Size_TList,
10994 apzHpux11_Size_TMachs,
10995 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10996 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10998 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10999 apzHpux11_SnprintfMachs,
11000 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11001 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
11003 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
11004 apzHpux11_VsnprintfMachs,
11005 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11006 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
11008 { zHpux_VsscanfName, zHpux_VsscanfList,
11009 apzHpux_VsscanfMachs,
11010 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11011 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
11013 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
11014 apzHpux8_Bogus_InlinesMachs,
11015 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11016 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
11018 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
11019 apzHpux_C99_IntptrMachs,
11020 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11021 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
11023 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
11024 apzHpux_C99_InttypesMachs,
11025 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11026 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
11028 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
11029 apzHpux_C99_Inttypes2Machs,
11030 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11031 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
11033 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
11034 apzHpux_Ctype_MacrosMachs,
11035 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11036 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
11038 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
11039 apzHpux_Extern_ErrnoMachs,
11040 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11041 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
11043 { zHpux_HtonlName, zHpux_HtonlList,
11044 apzHpux_HtonlMachs,
11045 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11046 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
11048 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
11049 apzHpux_Imaginary_IMachs,
11050 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11051 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
11053 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
11054 apzHpux_Inttype_Int8_TMachs,
11055 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11056 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
11058 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
11059 apzHpux_Long_DoubleMachs,
11060 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11061 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
11063 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
11064 apzHpux_Long_Double_2Machs,
11065 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11066 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
11068 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
11069 apzHpux_Pthread_InitializersMachs,
11070 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11071 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
11073 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
11074 apzHpux_Spu_InfoMachs,
11075 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11076 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
11078 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
11079 apzHpux_Stdint_Least_FastMachs,
11080 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11081 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
11083 { zHpux_LongjmpName, zHpux_LongjmpList,
11084 apzHpux_LongjmpMachs,
11085 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11086 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
11088 { zHpux_SystimeName, zHpux_SystimeList,
11089 apzHpux_SystimeMachs,
11090 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11091 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
11093 { zHuge_Val_HexName, zHuge_Val_HexList,
11094 apzHuge_Val_HexMachs,
11095 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11096 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
11098 { zHuge_Valf_HexName, zHuge_Valf_HexList,
11099 apzHuge_Valf_HexMachs,
11100 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11101 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
11103 { zHuge_Vall_HexName, zHuge_Vall_HexList,
11104 apzHuge_Vall_HexMachs,
11105 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11106 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
11108 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
11109 apzInt_Abort_Free_And_ExitMachs,
11110 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11111 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
11113 { zIo_Quotes_DefName, zIo_Quotes_DefList,
11114 apzIo_Quotes_DefMachs,
11115 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11116 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
11118 { zIo_Quotes_UseName, zIo_Quotes_UseList,
11119 apzIo_Quotes_UseMachs,
11120 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11121 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
11123 { zIp_Missing_SemiName, zIp_Missing_SemiList,
11124 apzIp_Missing_SemiMachs,
11125 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11126 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
11128 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
11129 apzIrix_Limits_ConstMachs,
11130 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11131 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
11133 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
11134 apzIrix_Stdio_Va_ListMachs,
11135 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11136 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
11138 { zKandr_ConcatName, zKandr_ConcatList,
11139 apzKandr_ConcatMachs,
11140 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11141 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
11143 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
11144 apzLinux_Ia64_UcontextMachs,
11145 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11146 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
11148 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
11149 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11150 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11151 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11153 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
11154 apzLynxos_Missing_PutenvMachs,
11155 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11156 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
11158 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11159 apzMachine_Ansi_H_Va_ListMachs,
11160 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11161 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
11163 { zMachine_NameName, zMachine_NameList,
11164 apzMachine_NameMachs,
11165 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11166 aMachine_NameTests, apzMachine_NamePatch, 0 },
11168 { zMath_ExceptionName, zMath_ExceptionList,
11169 apzMath_ExceptionMachs,
11170 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11171 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11173 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11174 apzMath_Huge_Val_From_Dbl_MaxMachs,
11175 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11176 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11178 { zNested_Auth_DesName, zNested_Auth_DesList,
11179 apzNested_Auth_DesMachs,
11180 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11181 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11183 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11184 apzNetbsd_C99_Inline_1Machs,
11185 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11186 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11188 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11189 apzNetbsd_C99_Inline_2Machs,
11190 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11191 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11193 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11194 apzNetbsd_Extra_SemicolonMachs,
11195 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11196 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11198 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11199 apzNewlib_Stdint_1Machs,
11200 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11201 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11203 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11204 apzNewlib_Stdint_2Machs,
11205 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11206 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11208 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11209 apzNext_Math_PrefixMachs,
11210 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11211 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11213 { zNext_TemplateName, zNext_TemplateList,
11214 apzNext_TemplateMachs,
11215 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11216 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11218 { zNext_VolitileName, zNext_VolitileList,
11219 apzNext_VolitileMachs,
11220 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11221 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11223 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11224 apzNext_Wait_UnionMachs,
11225 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11226 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11228 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11229 apzNodeent_SyntaxMachs,
11230 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11231 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11233 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11234 apzOpenbsd_Null_DefinitionMachs,
11235 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11236 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11238 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11239 apzObstack_Lvalue_CastMachs,
11240 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11241 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11243 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11244 apzOpenbsd_Va_StartMachs,
11245 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11246 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11248 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11249 apzOsf_Namespace_AMachs,
11250 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11251 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11253 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11254 apzOsf_Namespace_CMachs,
11255 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11256 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11258 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11259 apzPthread_Incomplete_Struct_ArgumentMachs,
11260 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11261 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11263 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11264 apzRead_Ret_TypeMachs,
11265 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11266 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11268 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11269 apzRpc_Xdr_Lvalue_Cast_AMachs,
11270 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11271 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11273 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11274 apzRpc_Xdr_Lvalue_Cast_BMachs,
11275 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11276 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11278 { zRs6000_DoubleName, zRs6000_DoubleList,
11279 apzRs6000_DoubleMachs,
11280 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11281 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11283 { zRs6000_FchmodName, zRs6000_FchmodList,
11284 apzRs6000_FchmodMachs,
11285 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11286 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11288 { zRs6000_ParamName, zRs6000_ParamList,
11289 apzRs6000_ParamMachs,
11290 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11291 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11293 { zSolaris___RestrictName, zSolaris___RestrictList,
11294 apzSolaris___RestrictMachs,
11295 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11296 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11298 { zSolaris_ComplexName, zSolaris_ComplexList,
11299 apzSolaris_ComplexMachs,
11300 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11301 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11303 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11304 apzSolaris_Complex_CxxMachs,
11305 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11306 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11308 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11309 apzSolaris_Cxx_LinkageMachs,
11310 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11311 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11313 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11314 apzSolaris_Getc_Strict_StdcMachs,
11315 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11316 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11318 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11319 apzSolaris_Gets_C11Machs,
11320 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11321 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11323 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11324 apzSolaris_Gets_Cxx14Machs,
11325 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11326 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11328 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11329 apzSolaris_Int_ConstMachs,
11330 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11331 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11333 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11334 apzSolaris_Int_Limits_1Machs,
11335 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11336 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11338 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11339 apzSolaris_Int_Limits_2Machs,
11340 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11341 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11343 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11344 apzSolaris_Int_Limits_3Machs,
11345 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11346 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11348 { zSolaris_Math_1Name, zSolaris_Math_1List,
11349 apzSolaris_Math_1Machs,
11350 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11351 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11353 { zSolaris_Math_10Name, zSolaris_Math_10List,
11354 apzSolaris_Math_10Machs,
11355 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11356 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11358 { zSolaris_Math_2Name, zSolaris_Math_2List,
11359 apzSolaris_Math_2Machs,
11360 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11361 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11363 { zSolaris_Math_3Name, zSolaris_Math_3List,
11364 apzSolaris_Math_3Machs,
11365 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11366 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11368 { zSolaris_Math_4Name, zSolaris_Math_4List,
11369 apzSolaris_Math_4Machs,
11370 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11371 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11373 { zSolaris_Math_8Name, zSolaris_Math_8List,
11374 apzSolaris_Math_8Machs,
11375 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11376 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11378 { zSolaris_Math_9Name, zSolaris_Math_9List,
11379 apzSolaris_Math_9Machs,
11380 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11381 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11383 { zSolaris_Math_11Name, zSolaris_Math_11List,
11384 apzSolaris_Math_11Machs,
11385 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11386 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11388 { zSolaris_Math_12Name, zSolaris_Math_12List,
11389 apzSolaris_Math_12Machs,
11390 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11391 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11393 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11394 apzSolaris_Once_Init_1Machs,
11395 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11396 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11398 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11399 apzSolaris_Posix_Spawn_RestrictMachs,
11400 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11401 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11403 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11404 apzSolaris_Pow_Int_OverloadMachs,
11405 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11406 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11408 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11409 apzSolaris_Rwlock_Init_1Machs,
11410 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11411 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11413 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11414 apzSolaris_Std___FilbufMachs,
11415 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11416 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11418 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11419 apzSolaris_Std_Gets_Cxx14Machs,
11420 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11421 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11423 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11424 apzSolaris_Stdio_TagMachs,
11425 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11426 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11428 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11429 apzSolaris_Stdlib_NoreturnMachs,
11430 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11431 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11433 { zStatsswtchName, zStatsswtchList,
11434 apzStatsswtchMachs,
11435 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11436 aStatsswtchTests, apzStatsswtchPatch, 0 },
11438 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11439 apzStdio_Stdarg_HMachs,
11440 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11441 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11443 { zStdio_Va_ListName, zStdio_Va_ListList,
11444 apzStdio_Va_ListMachs,
11445 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11446 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11448 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11449 apzStdio_Va_List_ClientsMachs,
11450 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11451 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11453 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11454 apzStrict_Ansi_NotMachs,
11455 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11456 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11458 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11459 apzStrict_Ansi_Not_CtdMachs,
11460 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11461 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11463 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11464 apzStrict_Ansi_OnlyMachs,
11465 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11466 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11468 { zStruct_FileName, zStruct_FileList,
11469 apzStruct_FileMachs,
11470 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11471 aStruct_FileTests, apzStruct_FilePatch, 0 },
11473 { zStruct_SockaddrName, zStruct_SockaddrList,
11474 apzStruct_SockaddrMachs,
11475 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11476 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11478 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11479 apzSun_Auth_ProtoMachs,
11480 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11481 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11483 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11484 apzSun_Bogus_IfdefMachs,
11485 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11486 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11488 { zSun_CatmacroName, zSun_CatmacroList,
11489 apzSun_CatmacroMachs,
11490 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11491 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11493 { zSun_MallocName, zSun_MallocList,
11494 apzSun_MallocMachs,
11495 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11496 aSun_MallocTests, apzSun_MallocPatch, 0 },
11498 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11499 apzSun_Rusers_SemiMachs,
11500 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11501 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11503 { zSun_SignalName, zSun_SignalList,
11504 apzSun_SignalMachs,
11505 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11506 aSun_SignalTests, apzSun_SignalPatch, 0 },
11508 { zSunos_StrlenName, zSunos_StrlenList,
11509 apzSunos_StrlenMachs,
11510 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11511 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11513 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11514 apzSuse_Linux_Vt_CxxMachs,
11515 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11516 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11518 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11519 apzSvr4_Disable_OptMachs,
11520 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11521 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11523 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11524 apzSvr4_GetcwdMachs,
11525 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11526 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11528 { zSvr4_ProfilName, zSvr4_ProfilList,
11529 apzSvr4_ProfilMachs,
11530 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11531 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11533 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11534 apzSvr4_Sighandler_TypeMachs,
11535 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11536 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11538 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11539 apzSvr4_Undeclared_GetrngeMachs,
11540 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11541 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11543 { zSysv68_StringName, zSysv68_StringList,
11544 apzSysv68_StringMachs,
11545 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11546 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11548 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11549 apzSysz_Stdlib_For_SunMachs,
11550 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11551 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11553 { zThread_KeywordName, zThread_KeywordList,
11554 apzThread_KeywordMachs,
11555 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11556 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11558 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11559 apzTinfo_CplusplusMachs,
11560 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11561 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11563 { zUltrix_ConstName, zUltrix_ConstList,
11564 apzUltrix_ConstMachs,
11565 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11566 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11568 { zUltrix_Const2Name, zUltrix_Const2List,
11569 apzUltrix_Const2Machs,
11570 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11571 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11573 { zVa_I960_MacroName, zVa_I960_MacroList,
11574 apzVa_I960_MacroMachs,
11575 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11576 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11578 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11579 apzVms_Add_Missing_BracesMachs,
11580 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11581 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11583 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11584 apzVms_Decc_BuiltinMachs,
11585 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11586 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11588 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11589 apzVms_Define_Can_Use_Extern_PrefixMachs,
11590 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11591 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11593 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11594 apzVms_Disable_Decc_String_BuiltinsMachs,
11595 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11596 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11598 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11599 apzVms_Do_Not_Redeclare_HostaliasMachs,
11600 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11601 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11603 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11604 apzVms_Forward_Declare_StructMachs,
11605 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11606 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11608 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11609 apzVms_No_64bit_GetoptMachs,
11610 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11611 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11613 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11614 apzVms_Use_Fast_SetjmpMachs,
11615 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11616 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11618 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11619 apzVms_Use_Pragma_Extern_ModelMachs,
11620 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11621 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11623 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11624 apzVms_Use_Quoted_IncludeMachs,
11625 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11626 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11628 { zVoid_NullName, zVoid_NullList,
11630 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11631 aVoid_NullTests, apzVoid_NullPatch, 0 },
11633 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11634 apzVxworks_Gcc_ProblemMachs,
11635 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11636 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11638 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11639 apzVxworks_Ioctl_MacroMachs,
11640 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11641 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11643 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11644 apzVxworks_Mkdir_MacroMachs,
11645 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11646 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11648 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11649 apzVxworks_Needs_VxtypesMachs,
11650 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11651 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11653 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11654 apzVxworks_Needs_VxworksMachs,
11655 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11656 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
11658 { zVxworks_RegsName, zVxworks_RegsList,
11659 apzVxworks_RegsMachs,
11660 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11661 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
11663 { zVxworks_TimeName, zVxworks_TimeList,
11664 apzVxworks_TimeMachs,
11665 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11666 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
11668 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
11669 apzVxworks_Write_ConstMachs,
11670 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11671 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
11673 { zVxworks_Iolib_Include_UnistdName, zVxworks_Iolib_Include_UnistdList,
11674 apzVxworks_Iolib_Include_UnistdMachs,
11675 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11676 aVxworks_Iolib_Include_UnistdTests, apzVxworks_Iolib_Include_UnistdPatch, 0 },
11678 { zX11_ClassName, zX11_ClassList,
11680 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11681 aX11_ClassTests, apzX11_ClassPatch, 0 },
11683 { zX11_Class_UsageName, zX11_Class_UsageList,
11684 apzX11_Class_UsageMachs,
11685 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11686 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
11688 { zX11_NewName, zX11_NewList,
11690 X11_NEW_TEST_CT, FD_MACH_ONLY,
11691 aX11_NewTests, apzX11_NewPatch, 0 },
11693 { zX11_SprintfName, zX11_SprintfList,
11694 apzX11_SprintfMachs,
11695 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11696 aX11_SprintfTests, apzX11_SprintfPatch, 0 }