1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed June 8, 2017 at 10:50:04 AM by AutoGen 5.18.4
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Thu Jun 8 10:50:04 CEST 2017
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 247 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[] = {
527 "#ifndef _ASSERT_H\n\
528 #define _ASSERT_H\n\n\
532 #if defined(__STDC__) || defined(__cplusplus)\n\
533 extern void __assert (const char*);\n\
535 extern void __assert ();\n\
538 #define assert(ign) ((void)0)\n\
540 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
541 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
542 #define assert(test) ((void) \\\n\
543 ((test) ? ((void)0) : \\\n\
544 __assert(\"Assertion failed: \" ASSERT_STRINGIFY(test) \", file \" \\\n\
545 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
552 * Description of Aab_Vxworks_Regs_Vxtypes fix
554 tSCC zAab_Vxworks_Regs_VxtypesName[] =
555 "AAB_vxworks_regs_vxtypes";
558 * File name selection pattern
560 tSCC zAab_Vxworks_Regs_VxtypesList[] =
563 * Machine/OS name selection pattern
565 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
568 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
569 #define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
572 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
574 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
577 #include <types/vxTypesOld.h>\n\
578 #include_next <arch/../regs.h>\n\
582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
584 * Description of Aab_Vxworks_Unistd fix
586 tSCC zAab_Vxworks_UnistdName[] =
587 "AAB_vxworks_unistd";
590 * File name selection pattern
592 tSCC zAab_Vxworks_UnistdList[] =
595 * Machine/OS name selection pattern
597 tSCC* apzAab_Vxworks_UnistdMachs[] = {
600 #define AAB_VXWORKS_UNISTD_TEST_CT 0
601 #define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
604 * Fix Command Arguments for Aab_Vxworks_Unistd
606 static const char* apzAab_Vxworks_UnistdPatch[] = {
607 "#ifndef _UNISTD_H\n\
609 #include_next <unistd.h>\n\
610 #include <ioLib.h>\n\
611 #ifndef STDIN_FILENO\n\
612 #define STDIN_FILENO 0\n\
614 #ifndef STDOUT_FILENO\n\
615 #define STDOUT_FILENO 1\n\
617 #ifndef STDERR_FILENO\n\
618 #define STDERR_FILENO 2\n\
620 #endif /* _UNISTD_H */",
623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
625 * Description of Aix_Assert fix
627 tSCC zAix_AssertName[] =
631 * File name selection pattern
633 tSCC zAix_AssertList[] =
636 * Machine/OS name selection pattern
638 tSCC* apzAix_AssertMachs[] = {
643 * content selection pattern - do fix if pattern found
645 tSCC zAix_AssertSelect0[] =
646 "#define[ \t]static_assert[ \t]_Static_assert";
648 #define AIX_ASSERT_TEST_CT 1
649 static tTestDesc aAix_AssertTests[] = {
650 { TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
653 * Fix Command Arguments for Aix_Assert
655 static const char* apzAix_AssertPatch[] = {
657 "#ifndef __cplusplus\n\
662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
664 * Description of Aix_Complex fix
666 tSCC zAix_ComplexName[] =
670 * File name selection pattern
672 tSCC zAix_ComplexList[] =
675 * Machine/OS name selection pattern
677 tSCC* apzAix_ComplexMachs[] = {
682 * content selection pattern - do fix if pattern found
684 tSCC zAix_ComplexSelect0[] =
685 "#define[ \t]_Complex_I[ \t]__I";
687 #define AIX_COMPLEX_TEST_CT 1
688 static tTestDesc aAix_ComplexTests[] = {
689 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
692 * Fix Command Arguments for Aix_Complex
694 static const char* apzAix_ComplexPatch[] = {
696 "#define _Complex_I (__extension__ 1.0iF)",
699 /* * * * * * * * * * * * * * * * * * * * * * * * * *
701 * Description of Aix_Externc fix
703 tSCC zAix_ExterncName[] =
707 * File name selection pattern
709 tSCC zAix_ExterncList[] =
710 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
712 * Machine/OS name selection pattern
714 tSCC* apzAix_ExterncMachs[] = {
719 * content bypass pattern - skip fix if pattern found
721 tSCC zAix_ExterncBypass0[] =
724 #define AIX_EXTERNC_TEST_CT 1
725 static tTestDesc aAix_ExterncTests[] = {
726 { TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
729 * Fix Command Arguments for Aix_Externc
731 static const char* apzAix_ExterncPatch[] = {
733 "#ifdef __cplusplus\n\
736 "#ifdef __cplusplus\n\
741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
743 * Description of Aix_Externcpp1 fix
745 tSCC zAix_Externcpp1Name[] =
749 * File name selection pattern
751 tSCC zAix_Externcpp1List[] =
754 * Machine/OS name selection pattern
756 tSCC* apzAix_Externcpp1Machs[] = {
761 * content selection pattern - do fix if pattern found
763 tSCC zAix_Externcpp1Select0[] =
764 "#ifdef __cplusplus";
766 #define AIX_EXTERNCPP1_TEST_CT 1
767 static tTestDesc aAix_Externcpp1Tests[] = {
768 { TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
771 * Fix Command Arguments for Aix_Externcpp1
773 static const char* apzAix_Externcpp1Patch[] = {
775 "#ifdef __cplusplus\n\
779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
781 * Description of Aix_Externcpp2 fix
783 tSCC zAix_Externcpp2Name[] =
787 * File name selection pattern
789 tSCC zAix_Externcpp2List[] =
792 * Machine/OS name selection pattern
794 tSCC* apzAix_Externcpp2Machs[] = {
799 * content selection pattern - do fix if pattern found
801 tSCC zAix_Externcpp2Select0[] =
802 "#else /\\* __cplusplus \\*/";
804 #define AIX_EXTERNCPP2_TEST_CT 1
805 static tTestDesc aAix_Externcpp2Tests[] = {
806 { TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
809 * Fix Command Arguments for Aix_Externcpp2
811 static const char* apzAix_Externcpp2Patch[] = {
813 "} /* extern \"C++\" */\n\
814 #else /* __cplusplus */",
817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
819 * Description of Aix_Malloc fix
821 tSCC zAix_MallocName[] =
825 * File name selection pattern
827 tSCC zAix_MallocList[] =
830 * Machine/OS name selection pattern
832 tSCC* apzAix_MallocMachs[] = {
837 * content selection pattern - do fix if pattern found
839 tSCC zAix_MallocSelect0[] =
840 "#ifdef __cplusplus";
842 #define AIX_MALLOC_TEST_CT 1
843 static tTestDesc aAix_MallocTests[] = {
844 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
847 * Fix Command Arguments for Aix_Malloc
849 static const char* apzAix_MallocPatch[] = {
851 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
856 * Description of Aix_Net_If_Arp fix
858 tSCC zAix_Net_If_ArpName[] =
862 * File name selection pattern
864 tSCC zAix_Net_If_ArpList[] =
867 * Machine/OS name selection pattern
869 tSCC* apzAix_Net_If_ArpMachs[] = {
874 * content selection pattern - do fix if pattern found
876 tSCC zAix_Net_If_ArpSelect0[] =
877 "^struct fc_softc \\{";
879 #define AIX_NET_IF_ARP_TEST_CT 1
880 static tTestDesc aAix_Net_If_ArpTests[] = {
881 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
884 * Fix Command Arguments for Aix_Net_If_Arp
886 static const char* apzAix_Net_If_ArpPatch[] = {
888 "typedef struct _fc_softc {",
891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
893 * Description of Aix_Null fix
895 tSCC zAix_NullName[] =
899 * File name selection pattern
901 tSCC zAix_NullList[] =
902 "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";
904 * Machine/OS name selection pattern
906 tSCC* apzAix_NullMachs[] = {
911 * content selection pattern - do fix if pattern found
913 tSCC zAix_NullSelect0[] =
914 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
917 * content bypass pattern - skip fix if pattern found
919 tSCC zAix_NullBypass0[] =
922 #define AIX_NULL_TEST_CT 2
923 static tTestDesc aAix_NullTests[] = {
924 { TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
925 { TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
928 * Fix Command Arguments for Aix_Null
930 static const char* apzAix_NullPatch[] = {
933 #ifdef __cplusplus\n\
935 #define NULL __null\n\
936 #else /* ! __GNUG__ */\n\
938 #endif /* __GNUG__ */\n\
939 #else /* ! __cplusplus */\n\
940 #define NULL ((void *)0)\n\
941 #endif /* __cplusplus */\n\
945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
947 * Description of Aix_Once_Init_1 fix
949 tSCC zAix_Once_Init_1Name[] =
953 * File name selection pattern
955 tSCC zAix_Once_Init_1List[] =
958 * Machine/OS name selection pattern
960 tSCC* apzAix_Once_Init_1Machs[] = {
965 * content selection pattern - do fix if pattern found
967 tSCC zAix_Once_Init_1Select0[] =
968 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
971 #define AIX_ONCE_INIT_1_TEST_CT 1
972 static tTestDesc aAix_Once_Init_1Tests[] = {
973 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
976 * Fix Command Arguments for Aix_Once_Init_1
978 static const char* apzAix_Once_Init_1Patch[] = {
980 "#define PTHREAD_ONCE_INIT \\\n\
984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
986 * Description of Aix_Once_Init_2 fix
988 tSCC zAix_Once_Init_2Name[] =
992 * File name selection pattern
994 tSCC zAix_Once_Init_2List[] =
997 * Machine/OS name selection pattern
999 tSCC* apzAix_Once_Init_2Machs[] = {
1001 (const char*)NULL };
1004 * content selection pattern - do fix if pattern found
1006 tSCC zAix_Once_Init_2Select0[] =
1010 #define AIX_ONCE_INIT_2_TEST_CT 1
1011 static tTestDesc aAix_Once_Init_2Tests[] = {
1012 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1015 * Fix Command Arguments for Aix_Once_Init_2
1017 static const char* apzAix_Once_Init_2Patch[] = {
1023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1025 * Description of Aix_Mutex_Initializer_1 fix
1027 tSCC zAix_Mutex_Initializer_1Name[] =
1028 "aix_mutex_initializer_1";
1031 * File name selection pattern
1033 tSCC zAix_Mutex_Initializer_1List[] =
1036 * Machine/OS name selection pattern
1038 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1040 (const char*)NULL };
1043 * content selection pattern - do fix if pattern found
1045 tSCC zAix_Mutex_Initializer_1Select0[] =
1046 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1049 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1050 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1051 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1054 * Fix Command Arguments for Aix_Mutex_Initializer_1
1056 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1058 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1062 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1064 * Description of Aix_Cond_Initializer_1 fix
1066 tSCC zAix_Cond_Initializer_1Name[] =
1067 "aix_cond_initializer_1";
1070 * File name selection pattern
1072 tSCC zAix_Cond_Initializer_1List[] =
1075 * Machine/OS name selection pattern
1077 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1079 (const char*)NULL };
1082 * content selection pattern - do fix if pattern found
1084 tSCC zAix_Cond_Initializer_1Select0[] =
1085 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1088 #define AIX_COND_INITIALIZER_1_TEST_CT 1
1089 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1090 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1093 * Fix Command Arguments for Aix_Cond_Initializer_1
1095 static const char* apzAix_Cond_Initializer_1Patch[] = {
1097 "#define PTHREAD_COND_INITIALIZER \\\n\
1101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1103 * Description of Aix_Rwlock_Initializer_1 fix
1105 tSCC zAix_Rwlock_Initializer_1Name[] =
1106 "aix_rwlock_initializer_1";
1109 * File name selection pattern
1111 tSCC zAix_Rwlock_Initializer_1List[] =
1114 * Machine/OS name selection pattern
1116 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1118 (const char*)NULL };
1121 * content selection pattern - do fix if pattern found
1123 tSCC zAix_Rwlock_Initializer_1Select0[] =
1124 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1127 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1128 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1129 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1132 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1134 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1136 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1142 * Description of Aix_Pthread fix
1144 tSCC zAix_PthreadName[] =
1148 * File name selection pattern
1150 tSCC zAix_PthreadList[] =
1153 * Machine/OS name selection pattern
1155 #define apzAix_PthreadMachs (const char**)NULL
1158 * content selection pattern - do fix if pattern found
1160 tSCC zAix_PthreadSelect0[] =
1161 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1165 #define AIX_PTHREAD_TEST_CT 1
1166 static tTestDesc aAix_PthreadTests[] = {
1167 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
1170 * Fix Command Arguments for Aix_Pthread
1172 static const char* apzAix_PthreadPatch[] = {
1177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1179 * Description of Aix_Stdint_1 fix
1181 tSCC zAix_Stdint_1Name[] =
1185 * File name selection pattern
1187 tSCC zAix_Stdint_1List[] =
1188 "stdint-aix.h\0stdint.h\0";
1190 * Machine/OS name selection pattern
1192 tSCC* apzAix_Stdint_1Machs[] = {
1194 (const char*)NULL };
1197 * content selection pattern - do fix if pattern found
1199 tSCC zAix_Stdint_1Select0[] =
1200 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1201 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1203 #define AIX_STDINT_1_TEST_CT 1
1204 static tTestDesc aAix_Stdint_1Tests[] = {
1205 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
1208 * Fix Command Arguments for Aix_Stdint_1
1210 static const char* apzAix_Stdint_1Patch[] = {
1212 "#define UINT8_MAX\t(255)\n\
1213 #define UINT16_MAX\t(65535)",
1216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1218 * Description of Aix_Stdint_2 fix
1220 tSCC zAix_Stdint_2Name[] =
1224 * File name selection pattern
1226 tSCC zAix_Stdint_2List[] =
1227 "stdint-aix.h\0stdint.h\0";
1229 * Machine/OS name selection pattern
1231 tSCC* apzAix_Stdint_2Machs[] = {
1233 (const char*)NULL };
1236 * content selection pattern - do fix if pattern found
1238 tSCC zAix_Stdint_2Select0[] =
1239 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1240 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1241 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1243 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1244 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1245 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1247 #define AIX_STDINT_2_TEST_CT 1
1248 static tTestDesc aAix_Stdint_2Tests[] = {
1249 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
1252 * Fix Command Arguments for Aix_Stdint_2
1254 static const char* apzAix_Stdint_2Patch[] = {
1256 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1257 #define INTPTR_MAX\t9223372036854775807L\n\
1258 #define UINTPTR_MAX\t18446744073709551615UL\n\
1260 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1261 #define INTPTR_MAX\t2147483647L\n\
1262 #define UINTPTR_MAX\t4294967295UL",
1265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1267 * Description of Aix_Stdint_3 fix
1269 tSCC zAix_Stdint_3Name[] =
1273 * File name selection pattern
1275 tSCC zAix_Stdint_3List[] =
1276 "stdint-aix.h\0stdint.h\0";
1278 * Machine/OS name selection pattern
1280 tSCC* apzAix_Stdint_3Machs[] = {
1282 (const char*)NULL };
1285 * content selection pattern - do fix if pattern found
1287 tSCC zAix_Stdint_3Select0[] =
1288 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1289 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1291 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1292 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1294 #define AIX_STDINT_3_TEST_CT 1
1295 static tTestDesc aAix_Stdint_3Tests[] = {
1296 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1299 * Fix Command Arguments for Aix_Stdint_3
1301 static const char* apzAix_Stdint_3Patch[] = {
1303 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1304 #define PTRDIFF_MAX\t9223372036854775807L\n\
1306 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1307 #define PTRDIFF_MAX\t2147483647L",
1310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1312 * Description of Aix_Stdint_4 fix
1314 tSCC zAix_Stdint_4Name[] =
1318 * File name selection pattern
1320 tSCC zAix_Stdint_4List[] =
1321 "stdint-aix.h\0stdint.h\0";
1323 * Machine/OS name selection pattern
1325 tSCC* apzAix_Stdint_4Machs[] = {
1327 (const char*)NULL };
1330 * content selection pattern - do fix if pattern found
1332 tSCC zAix_Stdint_4Select0[] =
1333 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1335 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1337 #define AIX_STDINT_4_TEST_CT 1
1338 static tTestDesc aAix_Stdint_4Tests[] = {
1339 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1342 * Fix Command Arguments for Aix_Stdint_4
1344 static const char* apzAix_Stdint_4Patch[] = {
1346 "#define SIZE_MAX\t18446744073709551615UL\n\
1348 #define SIZE_MAX\t4294967295UL",
1351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1353 * Description of Aix_Stdint_5 fix
1355 tSCC zAix_Stdint_5Name[] =
1359 * File name selection pattern
1361 tSCC zAix_Stdint_5List[] =
1362 "stdint-aix.h\0stdint.h\0";
1364 * Machine/OS name selection pattern
1366 tSCC* apzAix_Stdint_5Machs[] = {
1368 (const char*)NULL };
1371 * content selection pattern - do fix if pattern found
1373 tSCC zAix_Stdint_5Select0[] =
1374 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1375 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1377 #define AIX_STDINT_5_TEST_CT 1
1378 static tTestDesc aAix_Stdint_5Tests[] = {
1379 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1382 * Fix Command Arguments for Aix_Stdint_5
1384 static const char* apzAix_Stdint_5Patch[] = {
1386 "#define UINT8_C(c)\tc\n\
1387 #define UINT16_C(c)\tc",
1390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1392 * Description of Aix_Stdio_Inline fix
1394 tSCC zAix_Stdio_InlineName[] =
1398 * File name selection pattern
1400 tSCC zAix_Stdio_InlineList[] =
1403 * Machine/OS name selection pattern
1405 tSCC* apzAix_Stdio_InlineMachs[] = {
1407 (const char*)NULL };
1410 * content selection pattern - do fix if pattern found
1412 tSCC zAix_Stdio_InlineSelect0[] =
1413 "#ifdef __cplusplus\\\n\
1418 #define AIX_STDIO_INLINE_TEST_CT 1
1419 static tTestDesc aAix_Stdio_InlineTests[] = {
1420 { TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1423 * Fix Command Arguments for Aix_Stdio_Inline
1425 static const char* apzAix_Stdio_InlinePatch[] = {
1427 "#ifdef __cplusplus\n\
1430 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1434 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1436 * Description of Aix_Stdlib_Malloc fix
1438 tSCC zAix_Stdlib_MallocName[] =
1439 "aix_stdlib_malloc";
1442 * File name selection pattern
1444 tSCC zAix_Stdlib_MallocList[] =
1447 * Machine/OS name selection pattern
1449 tSCC* apzAix_Stdlib_MallocMachs[] = {
1451 (const char*)NULL };
1454 * content selection pattern - do fix if pattern found
1456 tSCC zAix_Stdlib_MallocSelect0[] =
1457 "#define[ \t]+malloc[ \t]+__linux_malloc";
1459 #define AIX_STDLIB_MALLOC_TEST_CT 1
1460 static tTestDesc aAix_Stdlib_MallocTests[] = {
1461 { TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1464 * Fix Command Arguments for Aix_Stdlib_Malloc
1466 static const char* apzAix_Stdlib_MallocPatch[] = {
1468 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1473 * Description of Aix_Stdlib_Realloc fix
1475 tSCC zAix_Stdlib_ReallocName[] =
1476 "aix_stdlib_realloc";
1479 * File name selection pattern
1481 tSCC zAix_Stdlib_ReallocList[] =
1484 * Machine/OS name selection pattern
1486 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1488 (const char*)NULL };
1491 * content selection pattern - do fix if pattern found
1493 tSCC zAix_Stdlib_ReallocSelect0[] =
1494 "#define[ \t]+realloc[ \t]+__linux_realloc";
1496 #define AIX_STDLIB_REALLOC_TEST_CT 1
1497 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1498 { TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1501 * Fix Command Arguments for Aix_Stdlib_Realloc
1503 static const char* apzAix_Stdlib_ReallocPatch[] = {
1505 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1510 * Description of Aix_Stdlib_Calloc fix
1512 tSCC zAix_Stdlib_CallocName[] =
1513 "aix_stdlib_calloc";
1516 * File name selection pattern
1518 tSCC zAix_Stdlib_CallocList[] =
1521 * Machine/OS name selection pattern
1523 tSCC* apzAix_Stdlib_CallocMachs[] = {
1525 (const char*)NULL };
1528 * content selection pattern - do fix if pattern found
1530 tSCC zAix_Stdlib_CallocSelect0[] =
1531 "#define[ \t]+calloc[ \t]+__linux_calloc";
1533 #define AIX_STDLIB_CALLOC_TEST_CT 1
1534 static tTestDesc aAix_Stdlib_CallocTests[] = {
1535 { TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1538 * Fix Command Arguments for Aix_Stdlib_Calloc
1540 static const char* apzAix_Stdlib_CallocPatch[] = {
1542 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1547 * Description of Aix_Stdlib_Valloc fix
1549 tSCC zAix_Stdlib_VallocName[] =
1550 "aix_stdlib_valloc";
1553 * File name selection pattern
1555 tSCC zAix_Stdlib_VallocList[] =
1558 * Machine/OS name selection pattern
1560 tSCC* apzAix_Stdlib_VallocMachs[] = {
1562 (const char*)NULL };
1565 * content selection pattern - do fix if pattern found
1567 tSCC zAix_Stdlib_VallocSelect0[] =
1568 "#define[ \t]+valloc[ \t]+__linux_valloc";
1570 #define AIX_STDLIB_VALLOC_TEST_CT 1
1571 static tTestDesc aAix_Stdlib_VallocTests[] = {
1572 { TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1575 * Fix Command Arguments for Aix_Stdlib_Valloc
1577 static const char* apzAix_Stdlib_VallocPatch[] = {
1579 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1584 * Description of Aix_Strtof_Const fix
1586 tSCC zAix_Strtof_ConstName[] =
1590 * File name selection pattern
1592 tSCC zAix_Strtof_ConstList[] =
1595 * Machine/OS name selection pattern
1597 tSCC* apzAix_Strtof_ConstMachs[] = {
1599 (const char*)NULL };
1602 * content selection pattern - do fix if pattern found
1604 tSCC zAix_Strtof_ConstSelect0[] =
1605 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1607 #define AIX_STRTOF_CONST_TEST_CT 1
1608 static tTestDesc aAix_Strtof_ConstTests[] = {
1609 { TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1612 * Fix Command Arguments for Aix_Strtof_Const
1614 static const char* apzAix_Strtof_ConstPatch[] = {
1616 "%1(const char *, char **);",
1619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1621 * Description of Aix_Sysmachine fix
1623 tSCC zAix_SysmachineName[] =
1627 * File name selection pattern
1629 tSCC zAix_SysmachineList[] =
1632 * Machine/OS name selection pattern
1634 tSCC* apzAix_SysmachineMachs[] = {
1636 (const char*)NULL };
1639 * content selection pattern - do fix if pattern found
1641 tSCC zAix_SysmachineSelect0[] =
1644 #define AIX_SYSMACHINE_TEST_CT 1
1645 static tTestDesc aAix_SysmachineTests[] = {
1646 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1649 * Fix Command Arguments for Aix_Sysmachine
1651 static const char* apzAix_SysmachinePatch[] = {
1656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1658 * Description of Aix_Syswait_2 fix
1660 tSCC zAix_Syswait_2Name[] =
1664 * File name selection pattern
1666 tSCC zAix_Syswait_2List[] =
1669 * Machine/OS name selection pattern
1671 tSCC* apzAix_Syswait_2Machs[] = {
1673 (const char*)NULL };
1676 * content selection pattern - do fix if pattern found
1678 tSCC zAix_Syswait_2Select0[] =
1679 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1681 #define AIX_SYSWAIT_2_TEST_CT 1
1682 static tTestDesc aAix_Syswait_2Tests[] = {
1683 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1686 * Fix Command Arguments for Aix_Syswait_2
1688 static const char* apzAix_Syswait_2Patch[] = {
1693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1695 * Description of Aix_Volatile fix
1697 tSCC zAix_VolatileName[] =
1701 * File name selection pattern
1703 tSCC zAix_VolatileList[] =
1706 * Machine/OS name selection pattern
1708 tSCC* apzAix_VolatileMachs[] = {
1710 (const char*)NULL };
1713 * content selection pattern - do fix if pattern found
1715 tSCC zAix_VolatileSelect0[] =
1716 "typedef volatile int sig_atomic_t";
1718 #define AIX_VOLATILE_TEST_CT 1
1719 static tTestDesc aAix_VolatileTests[] = {
1720 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1723 * Fix Command Arguments for Aix_Volatile
1725 static const char* apzAix_VolatilePatch[] = {
1727 "typedef int sig_atomic_t",
1730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1732 * Description of Alpha___Assert fix
1734 tSCC zAlpha___AssertName[] =
1738 * File name selection pattern
1740 tSCC zAlpha___AssertList[] =
1743 * Machine/OS name selection pattern
1745 #define apzAlpha___AssertMachs (const char**)NULL
1748 * content selection pattern - do fix if pattern found
1750 tSCC zAlpha___AssertSelect0[] =
1751 "__assert\\(char \\*, char \\*, int\\)";
1753 #define ALPHA___ASSERT_TEST_CT 1
1754 static tTestDesc aAlpha___AssertTests[] = {
1755 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1758 * Fix Command Arguments for Alpha___Assert
1760 static const char* apzAlpha___AssertPatch[] = {
1762 "__assert(const char *, const char *, int)",
1765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1767 * Description of Alpha_Assert fix
1769 tSCC zAlpha_AssertName[] =
1773 * File name selection pattern
1775 tSCC zAlpha_AssertList[] =
1778 * Machine/OS name selection pattern
1780 #define apzAlpha_AssertMachs (const char**)NULL
1783 * content selection pattern - do fix if pattern found
1785 tSCC zAlpha_AssertSelect0[] =
1786 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1788 #define ALPHA_ASSERT_TEST_CT 1
1789 static tTestDesc aAlpha_AssertTests[] = {
1790 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1793 * Fix Command Arguments for Alpha_Assert
1795 static const char* apzAlpha_AssertPatch[] = {
1800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1802 * Description of Alpha_Getopt fix
1804 tSCC zAlpha_GetoptName[] =
1808 * File name selection pattern
1810 tSCC zAlpha_GetoptList[] =
1811 "stdio.h\0stdlib.h\0";
1813 * Machine/OS name selection pattern
1815 #define apzAlpha_GetoptMachs (const char**)NULL
1818 * content selection pattern - do fix if pattern found
1820 tSCC zAlpha_GetoptSelect0[] =
1821 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1823 #define ALPHA_GETOPT_TEST_CT 1
1824 static tTestDesc aAlpha_GetoptTests[] = {
1825 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1828 * Fix Command Arguments for Alpha_Getopt
1830 static const char* apzAlpha_GetoptPatch[] = {
1832 "getopt(int, char *const[], const char *)",
1835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1837 * Description of Alpha_If_Semicolon fix
1839 tSCC zAlpha_If_SemicolonName[] =
1840 "alpha_if_semicolon";
1843 * File name selection pattern
1845 tSCC zAlpha_If_SemicolonList[] =
1848 * Machine/OS name selection pattern
1850 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1853 * content selection pattern - do fix if pattern found
1855 tSCC zAlpha_If_SemicolonSelect0[] =
1856 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1858 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1859 static tTestDesc aAlpha_If_SemicolonTests[] = {
1860 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1863 * Fix Command Arguments for Alpha_If_Semicolon
1865 static const char* apzAlpha_If_SemicolonPatch[] = {
1867 "struct sockaddr vmif_paddr;\t/*",
1870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1872 * Description of Alpha_Parens fix
1874 tSCC zAlpha_ParensName[] =
1878 * File name selection pattern
1880 tSCC zAlpha_ParensList[] =
1883 * Machine/OS name selection pattern
1885 #define apzAlpha_ParensMachs (const char**)NULL
1888 * content selection pattern - do fix if pattern found
1890 tSCC zAlpha_ParensSelect0[] =
1891 "#ifndef\\(__mips64\\)";
1893 #define ALPHA_PARENS_TEST_CT 1
1894 static tTestDesc aAlpha_ParensTests[] = {
1895 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1898 * Fix Command Arguments for Alpha_Parens
1900 static const char* apzAlpha_ParensPatch[] = {
1905 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1907 * Description of Alpha_Sbrk fix
1909 tSCC zAlpha_SbrkName[] =
1913 * File name selection pattern
1915 tSCC zAlpha_SbrkList[] =
1918 * Machine/OS name selection pattern
1920 #define apzAlpha_SbrkMachs (const char**)NULL
1923 * content selection pattern - do fix if pattern found
1925 tSCC zAlpha_SbrkSelect0[] =
1926 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1928 #define ALPHA_SBRK_TEST_CT 1
1929 static tTestDesc aAlpha_SbrkTests[] = {
1930 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1933 * Fix Command Arguments for Alpha_Sbrk
1935 static const char* apzAlpha_SbrkPatch[] = {
1940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1942 * Description of Avoid_Bool_Define fix
1944 tSCC zAvoid_Bool_DefineName[] =
1945 "avoid_bool_define";
1948 * File name selection pattern
1950 tSCC zAvoid_Bool_DefineList[] =
1951 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1953 * Machine/OS name selection pattern
1955 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1958 * content selection pattern - do fix if pattern found
1960 tSCC zAvoid_Bool_DefineSelect0[] =
1961 "#[ \t]*define[ \t]+bool[ \t]";
1964 * content bypass pattern - skip fix if pattern found
1966 tSCC zAvoid_Bool_DefineBypass0[] =
1969 #define AVOID_BOOL_DEFINE_TEST_CT 2
1970 static tTestDesc aAvoid_Bool_DefineTests[] = {
1971 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1972 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1975 * Fix Command Arguments for Avoid_Bool_Define
1977 static const char* apzAvoid_Bool_DefinePatch[] = {
1979 "#ifndef __cplusplus\n\
1982 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1987 * Description of Avoid_Bool_Type fix
1989 tSCC zAvoid_Bool_TypeName[] =
1993 * File name selection pattern
1995 tSCC zAvoid_Bool_TypeList[] =
1996 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1998 * Machine/OS name selection pattern
2000 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2003 * content selection pattern - do fix if pattern found
2005 tSCC zAvoid_Bool_TypeSelect0[] =
2006 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2009 * content bypass pattern - skip fix if pattern found
2011 tSCC zAvoid_Bool_TypeBypass0[] =
2014 #define AVOID_BOOL_TYPE_TEST_CT 2
2015 static tTestDesc aAvoid_Bool_TypeTests[] = {
2016 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2017 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2020 * Fix Command Arguments for Avoid_Bool_Type
2022 static const char* apzAvoid_Bool_TypePatch[] = {
2024 "#ifndef __cplusplus\n\
2029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2031 * Description of Avoid_Wchar_T_Type fix
2033 tSCC zAvoid_Wchar_T_TypeName[] =
2034 "avoid_wchar_t_type";
2037 * File name selection pattern
2039 #define zAvoid_Wchar_T_TypeList (char*)NULL
2041 * Machine/OS name selection pattern
2043 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2046 * content selection pattern - do fix if pattern found
2048 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2049 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2052 * content bypass pattern - skip fix if pattern found
2054 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2056 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2058 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2059 "XFree86: xc/lib/X11/Xlib\\.h";
2061 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
2062 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2063 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2064 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2065 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2066 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2069 * Fix Command Arguments for Avoid_Wchar_T_Type
2071 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2073 "#ifndef __cplusplus\n\
2078 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2080 * Description of Bad_Struct_Term fix
2082 tSCC zBad_Struct_TermName[] =
2086 * File name selection pattern
2088 tSCC zBad_Struct_TermList[] =
2091 * Machine/OS name selection pattern
2093 #define apzBad_Struct_TermMachs (const char**)NULL
2096 * content selection pattern - do fix if pattern found
2098 tSCC zBad_Struct_TermSelect0[] =
2099 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2101 #define BAD_STRUCT_TERM_TEST_CT 1
2102 static tTestDesc aBad_Struct_TermTests[] = {
2103 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2106 * Fix Command Arguments for Bad_Struct_Term
2108 static const char* apzBad_Struct_TermPatch[] = {
2113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2115 * Description of Badquote fix
2117 tSCC zBadquoteName[] =
2121 * File name selection pattern
2123 tSCC zBadquoteList[] =
2124 "sundev/vuid_event.h\0";
2126 * Machine/OS name selection pattern
2128 #define apzBadquoteMachs (const char**)NULL
2131 * content selection pattern - do fix if pattern found
2133 tSCC zBadquoteSelect0[] =
2136 #define BADQUOTE_TEST_CT 1
2137 static tTestDesc aBadquoteTests[] = {
2138 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
2141 * Fix Command Arguments for Badquote
2143 static const char* apzBadquotePatch[] = {
2148 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2150 * Description of Broken_Assert_Stdio fix
2152 tSCC zBroken_Assert_StdioName[] =
2153 "broken_assert_stdio";
2156 * File name selection pattern
2158 tSCC zBroken_Assert_StdioList[] =
2161 * Machine/OS name selection pattern
2163 #define apzBroken_Assert_StdioMachs (const char**)NULL
2166 * content selection pattern - do fix if pattern found
2168 tSCC zBroken_Assert_StdioSelect0[] =
2172 * content bypass pattern - skip fix if pattern found
2174 tSCC zBroken_Assert_StdioBypass0[] =
2175 "include.*stdio\\.h";
2177 #define BROKEN_ASSERT_STDIO_TEST_CT 2
2178 static tTestDesc aBroken_Assert_StdioTests[] = {
2179 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2180 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2183 * Fix Command Arguments for Broken_Assert_Stdio
2185 static const char* apzBroken_Assert_StdioPatch[] = {
2187 "#include <stdio.h>\n",
2190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2192 * Description of Broken_Assert_Stdlib fix
2194 tSCC zBroken_Assert_StdlibName[] =
2195 "broken_assert_stdlib";
2198 * File name selection pattern
2200 tSCC zBroken_Assert_StdlibList[] =
2203 * Machine/OS name selection pattern
2205 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2208 * content selection pattern - do fix if pattern found
2210 tSCC zBroken_Assert_StdlibSelect0[] =
2211 "exit *\\(|abort *\\(";
2214 * content bypass pattern - skip fix if pattern found
2216 tSCC zBroken_Assert_StdlibBypass0[] =
2217 "include.*stdlib\\.h";
2219 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
2220 static tTestDesc aBroken_Assert_StdlibTests[] = {
2221 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2222 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2225 * Fix Command Arguments for Broken_Assert_Stdlib
2227 static const char* apzBroken_Assert_StdlibPatch[] = {
2229 "#ifdef __cplusplus\n\
2230 #include <stdlib.h>\n\
2234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2236 * Description of Broken_Cabs fix
2238 tSCC zBroken_CabsName[] =
2242 * File name selection pattern
2244 tSCC zBroken_CabsList[] =
2245 "math.h\0architecture/*/math.h\0";
2247 * Machine/OS name selection pattern
2249 #define apzBroken_CabsMachs (const char**)NULL
2252 * content selection pattern - do fix if pattern found
2254 tSCC zBroken_CabsSelect0[] =
2255 "^extern[ \t]+double[ \t]+cabs";
2257 #define BROKEN_CABS_TEST_CT 1
2258 static tTestDesc aBroken_CabsTests[] = {
2259 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
2262 * Fix Command Arguments for Broken_Cabs
2264 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2265 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2266 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2271 * Description of Broken_Nan fix
2273 tSCC zBroken_NanName[] =
2277 * File name selection pattern
2279 tSCC zBroken_NanList[] =
2280 "architecture/ppc/math.h\0architecture/*/math.h\0";
2282 * Machine/OS name selection pattern
2284 #define apzBroken_NanMachs (const char**)NULL
2287 * content selection pattern - do fix if pattern found
2289 tSCC zBroken_NanSelect0[] =
2290 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2293 * content bypass pattern - skip fix if pattern found
2295 tSCC zBroken_NanBypass0[] =
2298 #define BROKEN_NAN_TEST_CT 2
2299 static tTestDesc aBroken_NanTests[] = {
2300 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
2301 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
2304 * Fix Command Arguments for Broken_Nan
2306 static const char* apzBroken_NanPatch[] = {
2311 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2313 * Description of Bsd_Stdio_Attrs_Conflict fix
2315 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2316 "bsd_stdio_attrs_conflict";
2319 * File name selection pattern
2321 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2324 * Machine/OS name selection pattern
2326 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2329 (const char*)NULL };
2332 * content selection pattern - do fix if pattern found
2334 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2335 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2337 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2338 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2339 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2342 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2344 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2346 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2347 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2348 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2351 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2353 * Description of Ctrl_Quotes_Def fix
2355 tSCC zCtrl_Quotes_DefName[] =
2359 * File name selection pattern
2361 #define zCtrl_Quotes_DefList (char*)NULL
2363 * Machine/OS name selection pattern
2365 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2368 * content selection pattern - do fix if pattern found
2370 tSCC zCtrl_Quotes_DefSelect0[] =
2371 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2373 #define CTRL_QUOTES_DEF_TEST_CT 1
2374 static tTestDesc aCtrl_Quotes_DefTests[] = {
2375 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2378 * Fix Command Arguments for Ctrl_Quotes_Def
2380 static const char* apzCtrl_Quotes_DefPatch[] = {
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Ctrl_Quotes_Use fix
2389 tSCC zCtrl_Quotes_UseName[] =
2393 * File name selection pattern
2395 #define zCtrl_Quotes_UseList (char*)NULL
2397 * Machine/OS name selection pattern
2399 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2402 * content selection pattern - do fix if pattern found
2404 tSCC zCtrl_Quotes_UseSelect0[] =
2405 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2407 #define CTRL_QUOTES_USE_TEST_CT 1
2408 static tTestDesc aCtrl_Quotes_UseTests[] = {
2409 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2412 * Fix Command Arguments for Ctrl_Quotes_Use
2414 static const char* apzCtrl_Quotes_UsePatch[] = {
2419 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2421 * Description of Cxx_Unready fix
2423 tSCC zCxx_UnreadyName[] =
2427 * File name selection pattern
2429 tSCC zCxx_UnreadyList[] =
2430 "sys/mman.h\0rpc/types.h\0";
2432 * Machine/OS name selection pattern
2434 #define apzCxx_UnreadyMachs (const char**)NULL
2437 * content selection pattern - do fix if pattern found
2439 tSCC zCxx_UnreadySelect0[] =
2443 * content bypass pattern - skip fix if pattern found
2445 tSCC zCxx_UnreadyBypass0[] =
2446 "\"C\"|__BEGIN_DECLS";
2448 #define CXX_UNREADY_TEST_CT 2
2449 static tTestDesc aCxx_UnreadyTests[] = {
2450 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
2451 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
2454 * Fix Command Arguments for Cxx_Unready
2456 static const char* apzCxx_UnreadyPatch[] = {
2458 "#ifdef __cplusplus\n\
2461 "#ifdef __cplusplus\n\
2466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2468 * Description of Darwin_Availabilityinternal fix
2470 tSCC zDarwin_AvailabilityinternalName[] =
2471 "darwin_availabilityinternal";
2474 * File name selection pattern
2476 tSCC zDarwin_AvailabilityinternalList[] =
2477 "AvailabilityInternal.h\0";
2479 * Machine/OS name selection pattern
2481 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2483 (const char*)NULL };
2486 * content selection pattern - do fix if pattern found
2488 tSCC zDarwin_AvailabilityinternalSelect0[] =
2489 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2491 #define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2492 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2493 { TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2496 * Fix Command Arguments for Darwin_Availabilityinternal
2498 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2500 "#if defined(__has_attribute)\n\
2501 #if __has_attribute(availability)\n\
2511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2513 * Description of Darwin_9_Long_Double_Funcs_2 fix
2515 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2516 "darwin_9_long_double_funcs_2";
2519 * File name selection pattern
2521 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2524 * Machine/OS name selection pattern
2526 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2528 (const char*)NULL };
2531 * content selection pattern - do fix if pattern found
2533 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2534 "#include[ \\t]+\\\"";
2536 #define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2537 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2538 { TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2541 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2543 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2546 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2551 * Description of Darwin_Externc fix
2553 tSCC zDarwin_ExterncName[] =
2557 * File name selection pattern
2559 tSCC zDarwin_ExterncList[] =
2560 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2562 * Machine/OS name selection pattern
2564 tSCC* apzDarwin_ExterncMachs[] = {
2566 (const char*)NULL };
2569 * content bypass pattern - skip fix if pattern found
2571 tSCC zDarwin_ExterncBypass0[] =
2573 tSCC zDarwin_ExterncBypass1[] =
2576 #define DARWIN_EXTERNC_TEST_CT 2
2577 static tTestDesc aDarwin_ExterncTests[] = {
2578 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2579 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2582 * Fix Command Arguments for Darwin_Externc
2584 static const char* apzDarwin_ExterncPatch[] = {
2586 "#ifdef __cplusplus\n\
2589 "#ifdef __cplusplus\n\
2594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2596 * Description of Darwin_Gcc4_Breakage fix
2598 tSCC zDarwin_Gcc4_BreakageName[] =
2599 "darwin_gcc4_breakage";
2602 * File name selection pattern
2604 tSCC zDarwin_Gcc4_BreakageList[] =
2605 "AvailabilityMacros.h\0";
2607 * Machine/OS name selection pattern
2609 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2611 (const char*)NULL };
2614 * content selection pattern - do fix if pattern found
2616 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2617 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2619 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2620 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2621 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2624 * Fix Command Arguments for Darwin_Gcc4_Breakage
2626 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2628 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2633 * Description of Darwin_Longjmp_Noreturn fix
2635 tSCC zDarwin_Longjmp_NoreturnName[] =
2636 "darwin_longjmp_noreturn";
2639 * File name selection pattern
2641 tSCC zDarwin_Longjmp_NoreturnList[] =
2644 * Machine/OS name selection pattern
2646 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2648 (const char*)NULL };
2651 * content selection pattern - do fix if pattern found
2653 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2654 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2657 * content bypass pattern - skip fix if pattern found
2659 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2662 #define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2663 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2664 { TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2665 { TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2668 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2670 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2672 "%1 __attribute__ ((__noreturn__));",
2675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2677 * Description of Darwin_Os_Trace_1 fix
2679 tSCC zDarwin_Os_Trace_1Name[] =
2680 "darwin_os_trace_1";
2683 * File name selection pattern
2685 tSCC zDarwin_Os_Trace_1List[] =
2688 * Machine/OS name selection pattern
2690 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2692 (const char*)NULL };
2695 * content selection pattern - do fix if pattern found
2697 tSCC zDarwin_Os_Trace_1Select0[] =
2698 "^(_os_trace_verify_printf.*) (__attribute__.*)";
2700 #define DARWIN_OS_TRACE_1_TEST_CT 1
2701 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2702 { TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2705 * Fix Command Arguments for Darwin_Os_Trace_1
2707 static const char* apzDarwin_Os_Trace_1Patch[] = {
2712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2714 * Description of Darwin_Os_Trace_2 fix
2716 tSCC zDarwin_Os_Trace_2Name[] =
2717 "darwin_os_trace_2";
2720 * File name selection pattern
2722 tSCC zDarwin_Os_Trace_2List[] =
2725 * Machine/OS name selection pattern
2727 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2729 (const char*)NULL };
2732 * content selection pattern - do fix if pattern found
2734 tSCC zDarwin_Os_Trace_2Select0[] =
2735 "typedef.*\\^os_trace_payload_t.*";
2737 #define DARWIN_OS_TRACE_2_TEST_CT 1
2738 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2739 { TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2742 * Fix Command Arguments for Darwin_Os_Trace_2
2744 static const char* apzDarwin_Os_Trace_2Patch[] = {
2751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2753 * Description of Darwin_Os_Trace_3 fix
2755 tSCC zDarwin_Os_Trace_3Name[] =
2756 "darwin_os_trace_3";
2759 * File name selection pattern
2761 tSCC zDarwin_Os_Trace_3List[] =
2764 * Machine/OS name selection pattern
2766 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2768 (const char*)NULL };
2771 * content selection pattern - do fix if pattern found
2773 tSCC zDarwin_Os_Trace_3Select0[] =
2777 _os_trace.*os_trace_payload_t payload);";
2779 #define DARWIN_OS_TRACE_3_TEST_CT 1
2780 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2781 { TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
2784 * Fix Command Arguments for Darwin_Os_Trace_3
2786 static const char* apzDarwin_Os_Trace_3Patch[] = {
2793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2795 * Description of Darwin_Private_Extern fix
2797 tSCC zDarwin_Private_ExternName[] =
2798 "darwin_private_extern";
2801 * File name selection pattern
2803 tSCC zDarwin_Private_ExternList[] =
2806 * Machine/OS name selection pattern
2808 tSCC* apzDarwin_Private_ExternMachs[] = {
2810 (const char*)NULL };
2813 * content selection pattern - do fix if pattern found
2815 tSCC zDarwin_Private_ExternSelect0[] =
2816 "__private_extern__ [a-z_]+ _dyld_";
2818 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2819 static tTestDesc aDarwin_Private_ExternTests[] = {
2820 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2823 * Fix Command Arguments for Darwin_Private_Extern
2825 static const char* apzDarwin_Private_ExternPatch[] = {
2828 "__private_extern__",
2831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2833 * Description of Darwin_Stdint_1 fix
2835 tSCC zDarwin_Stdint_1Name[] =
2839 * File name selection pattern
2841 tSCC zDarwin_Stdint_1List[] =
2842 "stdint-darwin.h\0stdint.h\0";
2844 * Machine/OS name selection pattern
2846 tSCC* apzDarwin_Stdint_1Machs[] = {
2848 (const char*)NULL };
2851 * content selection pattern - do fix if pattern found
2853 tSCC zDarwin_Stdint_1Select0[] =
2854 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2855 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2857 #define DARWIN_STDINT_1_TEST_CT 1
2858 static tTestDesc aDarwin_Stdint_1Tests[] = {
2859 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2862 * Fix Command Arguments for Darwin_Stdint_1
2864 static const char* apzDarwin_Stdint_1Patch[] = {
2866 "#define UINT8_C(v)\tv\n\
2867 #define UINT16_C(v)\tv",
2870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2872 * Description of Darwin_Stdint_2 fix
2874 tSCC zDarwin_Stdint_2Name[] =
2878 * File name selection pattern
2880 tSCC zDarwin_Stdint_2List[] =
2881 "stdint-darwin.h\0stdint.h\0";
2883 * Machine/OS name selection pattern
2885 tSCC* apzDarwin_Stdint_2Machs[] = {
2887 (const char*)NULL };
2890 * content selection pattern - do fix if pattern found
2892 tSCC zDarwin_Stdint_2Select0[] =
2893 "#if __WORDSIZE == 64\n\
2894 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2895 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2897 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2898 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2901 #define DARWIN_STDINT_2_TEST_CT 1
2902 static tTestDesc aDarwin_Stdint_2Tests[] = {
2903 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2906 * Fix Command Arguments for Darwin_Stdint_2
2908 static const char* apzDarwin_Stdint_2Patch[] = {
2910 "#if __WORDSIZE == 64\n\
2911 #define INTPTR_MAX 9223372036854775807L\n\
2912 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2914 #define INTPTR_MAX 2147483647L\n\
2915 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2921 * Description of Darwin_Stdint_3 fix
2923 tSCC zDarwin_Stdint_3Name[] =
2927 * File name selection pattern
2929 tSCC zDarwin_Stdint_3List[] =
2930 "stdint-darwin.h\0stdint.h\0";
2932 * Machine/OS name selection pattern
2934 tSCC* apzDarwin_Stdint_3Machs[] = {
2936 (const char*)NULL };
2939 * content selection pattern - do fix if pattern found
2941 tSCC zDarwin_Stdint_3Select0[] =
2942 "#if __WORDSIZE == 64\n\
2943 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2945 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2948 #define DARWIN_STDINT_3_TEST_CT 1
2949 static tTestDesc aDarwin_Stdint_3Tests[] = {
2950 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2953 * Fix Command Arguments for Darwin_Stdint_3
2955 static const char* apzDarwin_Stdint_3Patch[] = {
2957 "#if __WORDSIZE == 64\n\
2958 #define UINTPTR_MAX 18446744073709551615UL\n\
2960 #define UINTPTR_MAX 4294967295UL\n\
2964 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2966 * Description of Darwin_Stdint_4 fix
2968 tSCC zDarwin_Stdint_4Name[] =
2972 * File name selection pattern
2974 tSCC zDarwin_Stdint_4List[] =
2975 "stdint-darwin.h\0stdint.h\0";
2977 * Machine/OS name selection pattern
2979 tSCC* apzDarwin_Stdint_4Machs[] = {
2981 (const char*)NULL };
2984 * content selection pattern - do fix if pattern found
2986 tSCC zDarwin_Stdint_4Select0[] =
2987 "#if __WORDSIZE == 64\n\
2988 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2990 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2993 #define DARWIN_STDINT_4_TEST_CT 1
2994 static tTestDesc aDarwin_Stdint_4Tests[] = {
2995 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2998 * Fix Command Arguments for Darwin_Stdint_4
3000 static const char* apzDarwin_Stdint_4Patch[] = {
3002 "#if __WORDSIZE == 64\n\
3003 #define SIZE_MAX 18446744073709551615UL\n\
3005 #define SIZE_MAX 4294967295UL\n\
3009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3011 * Description of Darwin_Stdint_5 fix
3013 tSCC zDarwin_Stdint_5Name[] =
3017 * File name selection pattern
3019 tSCC zDarwin_Stdint_5List[] =
3020 "stdint-darwin.h\0stdint.h\0";
3022 * Machine/OS name selection pattern
3024 tSCC* apzDarwin_Stdint_5Machs[] = {
3026 (const char*)NULL };
3029 * content selection pattern - do fix if pattern found
3031 tSCC zDarwin_Stdint_5Select0[] =
3032 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3033 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3034 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3036 #define DARWIN_STDINT_5_TEST_CT 1
3037 static tTestDesc aDarwin_Stdint_5Tests[] = {
3038 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3041 * Fix Command Arguments for Darwin_Stdint_5
3043 static const char* apzDarwin_Stdint_5Patch[] = {
3045 "#if __WORDSIZE == 64\n\
3046 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
3047 #define INTMAX_MAX 9223372036854775807L\n\
3048 #define UINTMAX_MAX 18446744073709551615UL\n\
3050 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3051 #define INTMAX_MAX 9223372036854775807LL\n\
3052 #define UINTMAX_MAX 18446744073709551615ULL\n\
3056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3058 * Description of Darwin_Stdint_6 fix
3060 tSCC zDarwin_Stdint_6Name[] =
3064 * File name selection pattern
3066 tSCC zDarwin_Stdint_6List[] =
3067 "stdint-darwin.h\0stdint.h\0";
3069 * Machine/OS name selection pattern
3071 tSCC* apzDarwin_Stdint_6Machs[] = {
3073 (const char*)NULL };
3076 * content selection pattern - do fix if pattern found
3078 tSCC zDarwin_Stdint_6Select0[] =
3079 "#if __WORDSIZE == 64\n\
3080 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3081 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3083 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3084 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3087 #define DARWIN_STDINT_6_TEST_CT 1
3088 static tTestDesc aDarwin_Stdint_6Tests[] = {
3089 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3092 * Fix Command Arguments for Darwin_Stdint_6
3094 static const char* apzDarwin_Stdint_6Patch[] = {
3096 "#if __WORDSIZE == 64\n\
3097 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3098 #define PTRDIFF_MAX 9223372036854775807L\n\
3100 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3101 #define PTRDIFF_MAX 2147483647\n\
3105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3107 * Description of Darwin_Stdint_7 fix
3109 tSCC zDarwin_Stdint_7Name[] =
3113 * File name selection pattern
3115 tSCC zDarwin_Stdint_7List[] =
3116 "stdint-darwin.h\0stdint.h\0";
3118 * Machine/OS name selection pattern
3120 tSCC* apzDarwin_Stdint_7Machs[] = {
3122 (const char*)NULL };
3125 * content selection pattern - do fix if pattern found
3127 tSCC zDarwin_Stdint_7Select0[] =
3128 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3129 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3131 #define DARWIN_STDINT_7_TEST_CT 1
3132 static tTestDesc aDarwin_Stdint_7Tests[] = {
3133 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3136 * Fix Command Arguments for Darwin_Stdint_7
3138 static const char* apzDarwin_Stdint_7Patch[] = {
3140 "#if __WORDSIZE == 64\n\
3141 #define INTMAX_C(v) (v ## L)\n\
3142 #define UINTMAX_C(v) (v ## UL)\n\
3144 #define INTMAX_C(v) (v ## LL)\n\
3145 #define UINTMAX_C(v) (v ## ULL)\n\
3149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3151 * Description of Dec_Intern_Asm fix
3153 tSCC zDec_Intern_AsmName[] =
3157 * File name selection pattern
3159 tSCC zDec_Intern_AsmList[] =
3162 * Machine/OS name selection pattern
3164 #define apzDec_Intern_AsmMachs (const char**)NULL
3165 #define DEC_INTERN_ASM_TEST_CT 0
3166 #define aDec_Intern_AsmTests (tTestDesc*)NULL
3169 * Fix Command Arguments for Dec_Intern_Asm
3171 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3172 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3174 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3180 * Description of Djgpp_Wchar_H fix
3182 tSCC zDjgpp_Wchar_HName[] =
3186 * File name selection pattern
3188 #define zDjgpp_Wchar_HList (char*)NULL
3190 * Machine/OS name selection pattern
3192 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3195 * content selection pattern - do fix if pattern found
3197 tSCC zDjgpp_Wchar_HSelect0[] =
3201 * content bypass pattern - skip fix if pattern found
3203 tSCC zDjgpp_Wchar_HBypass0[] =
3206 #define DJGPP_WCHAR_H_TEST_CT 2
3207 static tTestDesc aDjgpp_Wchar_HTests[] = {
3208 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3209 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3212 * Fix Command Arguments for Djgpp_Wchar_H
3214 static const char* apzDjgpp_Wchar_HPatch[] = {
3217 #include <sys/djtypes.h>",
3218 "#include <stddef.h>",
3221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3223 * Description of Ecd_Cursor fix
3225 tSCC zEcd_CursorName[] =
3229 * File name selection pattern
3231 tSCC zEcd_CursorList[] =
3232 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3234 * Machine/OS name selection pattern
3236 #define apzEcd_CursorMachs (const char**)NULL
3239 * content selection pattern - do fix if pattern found
3241 tSCC zEcd_CursorSelect0[] =
3244 #define ECD_CURSOR_TEST_CT 1
3245 static tTestDesc aEcd_CursorTests[] = {
3246 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
3249 * Fix Command Arguments for Ecd_Cursor
3251 static const char* apzEcd_CursorPatch[] = {
3256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3258 * Description of Feraiseexcept_Nosse_Divbyzero fix
3260 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3261 "feraiseexcept_nosse_divbyzero";
3264 * File name selection pattern
3266 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3267 "bits/fenv.h\0*/bits/fenv.h\0";
3269 * Machine/OS name selection pattern
3271 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3272 "i[34567]86-*-linux*",
3275 (const char*)NULL };
3278 * content selection pattern - do fix if pattern found
3280 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3281 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3284 * content bypass pattern - skip fix if pattern found
3286 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3287 "\"fdivp .*; fwait\"";
3289 #define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3290 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3291 { TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3292 { TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3295 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3297 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3299 "# ifdef __SSE_MATH__\n\
3302 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3303 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3309 * Description of Feraiseexcept_Nosse_Invalid fix
3311 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3312 "feraiseexcept_nosse_invalid";
3315 * File name selection pattern
3317 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3318 "bits/fenv.h\0*/bits/fenv.h\0";
3320 * Machine/OS name selection pattern
3322 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3323 "i[34567]86-*-linux*",
3326 (const char*)NULL };
3329 * content selection pattern - do fix if pattern found
3331 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3332 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3335 * content bypass pattern - skip fix if pattern found
3337 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3338 "\"fdiv .*; fwait\"";
3340 #define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3341 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3342 { TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3343 { TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3346 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3348 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3350 "# ifdef __SSE_MATH__\n\
3353 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3354 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3360 * Description of Freebsd_Gcc3_Breakage fix
3362 tSCC zFreebsd_Gcc3_BreakageName[] =
3363 "freebsd_gcc3_breakage";
3366 * File name selection pattern
3368 tSCC zFreebsd_Gcc3_BreakageList[] =
3371 * Machine/OS name selection pattern
3373 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3375 (const char*)NULL };
3378 * content selection pattern - do fix if pattern found
3380 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3381 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3384 * content bypass pattern - skip fix if pattern found
3386 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3387 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3389 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3390 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3391 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3392 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3395 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3397 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3399 "%0 || __GNUC__ >= 3",
3402 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3404 * Description of Freebsd_Gcc4_Breakage fix
3406 tSCC zFreebsd_Gcc4_BreakageName[] =
3407 "freebsd_gcc4_breakage";
3410 * File name selection pattern
3412 tSCC zFreebsd_Gcc4_BreakageList[] =
3415 * Machine/OS name selection pattern
3417 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3419 (const char*)NULL };
3422 * content selection pattern - do fix if pattern found
3424 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3425 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3427 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3428 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3429 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3432 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3434 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3436 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3441 * Description of Glibc_C99_Inline_1 fix
3443 tSCC zGlibc_C99_Inline_1Name[] =
3444 "glibc_c99_inline_1";
3447 * File name selection pattern
3449 tSCC zGlibc_C99_Inline_1List[] =
3450 "features.h\0*/features.h\0";
3452 * Machine/OS name selection pattern
3454 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3457 * content selection pattern - do fix if pattern found
3459 tSCC zGlibc_C99_Inline_1Select0[] =
3460 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3462 #define GLIBC_C99_INLINE_1_TEST_CT 1
3463 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3464 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3467 * Fix Command Arguments for Glibc_C99_Inline_1
3469 static const char* apzGlibc_C99_Inline_1Patch[] = {
3471 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3474 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3476 * Description of Glibc_C99_Inline_1a fix
3478 tSCC zGlibc_C99_Inline_1aName[] =
3479 "glibc_c99_inline_1a";
3482 * File name selection pattern
3484 tSCC zGlibc_C99_Inline_1aList[] =
3485 "features.h\0*/features.h\0";
3487 * Machine/OS name selection pattern
3489 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3492 * content selection pattern - do fix if pattern found
3494 tSCC zGlibc_C99_Inline_1aSelect0[] =
3495 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3496 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3498 #define GLIBC_C99_INLINE_1A_TEST_CT 1
3499 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3500 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3503 * Fix Command Arguments for Glibc_C99_Inline_1a
3505 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3507 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3513 * Description of Glibc_C99_Inline_2 fix
3515 tSCC zGlibc_C99_Inline_2Name[] =
3516 "glibc_c99_inline_2";
3519 * File name selection pattern
3521 tSCC zGlibc_C99_Inline_2List[] =
3522 "sys/stat.h\0*/sys/stat.h\0";
3524 * Machine/OS name selection pattern
3526 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3529 * content selection pattern - do fix if pattern found
3531 tSCC zGlibc_C99_Inline_2Select0[] =
3532 "extern __inline__ int";
3534 #define GLIBC_C99_INLINE_2_TEST_CT 1
3535 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3536 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3539 * Fix Command Arguments for Glibc_C99_Inline_2
3541 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3542 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3545 __inline__ int \\1/",
3546 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3549 __inline__ int \\1/",
3550 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3553 __inline__ int \\1/",
3554 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3557 __inline__ int __REDIRECT\\1 (\\2/",
3558 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3561 __inline__ int __REDIRECT\\1 (\\2/",
3562 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3570 * Description of Glibc_C99_Inline_3 fix
3572 tSCC zGlibc_C99_Inline_3Name[] =
3573 "glibc_c99_inline_3";
3576 * File name selection pattern
3578 tSCC zGlibc_C99_Inline_3List[] =
3579 "bits/string2.h\0*/bits/string2.h\0";
3581 * Machine/OS name selection pattern
3583 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3586 * content selection pattern - do fix if pattern found
3588 tSCC zGlibc_C99_Inline_3Select0[] =
3592 * content bypass pattern - skip fix if pattern found
3594 tSCC zGlibc_C99_Inline_3Bypass0[] =
3595 "__extern_inline|__GNU_STDC_INLINE__";
3597 #define GLIBC_C99_INLINE_3_TEST_CT 2
3598 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3599 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3600 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3603 * Fix Command Arguments for Glibc_C99_Inline_3
3605 static const char* apzGlibc_C99_Inline_3Patch[] = {
3607 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3608 "^# ifdef __cplusplus$",
3611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3613 * Description of Glibc_C99_Inline_4 fix
3615 tSCC zGlibc_C99_Inline_4Name[] =
3616 "glibc_c99_inline_4";
3619 * File name selection pattern
3621 tSCC zGlibc_C99_Inline_4List[] =
3622 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3624 * Machine/OS name selection pattern
3626 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3629 * content selection pattern - do fix if pattern found
3631 tSCC zGlibc_C99_Inline_4Select0[] =
3632 "(^| )extern __inline";
3635 * content bypass pattern - skip fix if pattern found
3637 tSCC zGlibc_C99_Inline_4Bypass0[] =
3638 "__extern_inline|__gnu_inline__";
3640 #define GLIBC_C99_INLINE_4_TEST_CT 2
3641 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3642 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3643 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3646 * Fix Command Arguments for Glibc_C99_Inline_4
3648 static const char* apzGlibc_C99_Inline_4Patch[] = {
3650 "%0 __attribute__ ((__gnu_inline__))",
3653 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3655 * Description of Glibc_Mutex_Init fix
3657 tSCC zGlibc_Mutex_InitName[] =
3661 * File name selection pattern
3663 tSCC zGlibc_Mutex_InitList[] =
3666 * Machine/OS name selection pattern
3668 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3671 * content selection pattern - do fix if pattern found
3673 tSCC zGlibc_Mutex_InitSelect0[] =
3674 "\\{ *\\{ *0, *\\} *\\}";
3676 #define GLIBC_MUTEX_INIT_TEST_CT 1
3677 static tTestDesc aGlibc_Mutex_InitTests[] = {
3678 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3681 * Fix Command Arguments for Glibc_Mutex_Init
3683 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3684 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3686 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3688 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3689 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3690 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3691 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3692 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3693 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3694 "-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\
3696 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3699 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3701 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3702 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3707 * Description of Glibc_Stdint fix
3709 tSCC zGlibc_StdintName[] =
3713 * File name selection pattern
3715 tSCC zGlibc_StdintList[] =
3718 * Machine/OS name selection pattern
3720 #define apzGlibc_StdintMachs (const char**)NULL
3723 * content selection pattern - do fix if pattern found
3725 tSCC zGlibc_StdintSelect0[] =
3728 #define GLIBC_STDINT_TEST_CT 1
3729 static tTestDesc aGlibc_StdintTests[] = {
3730 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
3733 * Fix Command Arguments for Glibc_Stdint
3735 static const char* apzGlibc_StdintPatch[] = {
3737 "# define UINT8_C(c)\tc\n\
3738 # define UINT16_C(c)\tc",
3739 "# define UINT8_C\\(c\\)\tc ## U\n\
3740 # define UINT16_C\\(c\\)\tc ## U",
3743 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3745 * Description of Glibc_Strncpy fix
3747 tSCC zGlibc_StrncpyName[] =
3751 * File name selection pattern
3753 tSCC zGlibc_StrncpyList[] =
3754 "bits/string2.h\0*/bits/string2.h\0";
3756 * Machine/OS name selection pattern
3758 #define apzGlibc_StrncpyMachs (const char**)NULL
3761 * content bypass pattern - skip fix if pattern found
3763 tSCC zGlibc_StrncpyBypass0[] =
3764 "__builtin_strncpy";
3766 #define GLIBC_STRNCPY_TEST_CT 1
3767 static tTestDesc aGlibc_StrncpyTests[] = {
3768 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3771 * Fix Command Arguments for Glibc_Strncpy
3773 static const char* apzGlibc_StrncpyPatch[] = {
3775 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3776 "# define strncpy([^\n\
3782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3784 * Description of Glibc_Tgmath fix
3786 tSCC zGlibc_TgmathName[] =
3790 * File name selection pattern
3792 tSCC zGlibc_TgmathList[] =
3795 * Machine/OS name selection pattern
3797 #define apzGlibc_TgmathMachs (const char**)NULL
3800 * content selection pattern - do fix if pattern found
3802 tSCC zGlibc_TgmathSelect0[] =
3803 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3806 * content bypass pattern - skip fix if pattern found
3808 tSCC zGlibc_TgmathBypass0[] =
3809 "__floating_type\\(type\\) \\\\\n\
3810 .*__builtin_classify_type";
3812 #define GLIBC_TGMATH_TEST_CT 2
3813 static tTestDesc aGlibc_TgmathTests[] = {
3814 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
3815 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3818 * Fix Command Arguments for Glibc_Tgmath
3820 static const char* apzGlibc_TgmathPatch[] = {
3822 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3827 * Description of Gnu_Types fix
3829 tSCC zGnu_TypesName[] =
3833 * File name selection pattern
3835 tSCC zGnu_TypesList[] =
3836 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3838 * Machine/OS name selection pattern
3840 tSCC* apzGnu_TypesMachs[] = {
3841 "*-*-solaris2.1[0-9]*",
3842 (const char*)NULL };
3845 * content selection pattern - do fix if pattern found
3847 tSCC zGnu_TypesSelect0[] =
3848 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3851 * content bypass pattern - skip fix if pattern found
3853 tSCC zGnu_TypesBypass0[] =
3854 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3856 #define GNU_TYPES_TEST_CT 2
3857 static tTestDesc aGnu_TypesTests[] = {
3858 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3859 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3862 * Fix Command Arguments for Gnu_Types
3864 static const char* apzGnu_TypesPatch[] = {
3868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3870 * Description of Hp_Inline fix
3872 tSCC zHp_InlineName[] =
3876 * File name selection pattern
3878 tSCC zHp_InlineList[] =
3879 "sys/spinlock.h\0machine/machparam.h\0";
3881 * Machine/OS name selection pattern
3883 #define apzHp_InlineMachs (const char**)NULL
3886 * content selection pattern - do fix if pattern found
3888 tSCC zHp_InlineSelect0[] =
3889 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3891 #define HP_INLINE_TEST_CT 1
3892 static tTestDesc aHp_InlineTests[] = {
3893 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3896 * Fix Command Arguments for Hp_Inline
3898 static const char* apzHp_InlinePatch[] = {
3901 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3906 * Description of Hp_Sysfile fix
3908 tSCC zHp_SysfileName[] =
3912 * File name selection pattern
3914 tSCC zHp_SysfileList[] =
3917 * Machine/OS name selection pattern
3919 #define apzHp_SysfileMachs (const char**)NULL
3922 * content selection pattern - do fix if pattern found
3924 tSCC zHp_SysfileSelect0[] =
3927 #define HP_SYSFILE_TEST_CT 1
3928 static tTestDesc aHp_SysfileTests[] = {
3929 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3932 * Fix Command Arguments for Hp_Sysfile
3934 static const char* apzHp_SysfilePatch[] = {
3936 "(struct file *, ...)",
3940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3942 * Description of Hppa_Hpux_Fp_Macros fix
3944 tSCC zHppa_Hpux_Fp_MacrosName[] =
3945 "hppa_hpux_fp_macros";
3948 * File name selection pattern
3950 tSCC zHppa_Hpux_Fp_MacrosList[] =
3953 * Machine/OS name selection pattern
3955 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3957 (const char*)NULL };
3960 * content selection pattern - do fix if pattern found
3962 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3963 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3964 #[ \t]*define[ \t]*FP_ZERO.*\n\
3965 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3966 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3967 #[ \t]*define[ \t]*FP_NAN.*\n";
3969 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3970 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3971 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3974 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3976 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3978 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3979 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3980 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3982 #ifdef _INCLUDE_HPUX_SOURCE\n",
3985 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3987 * Description of Hpux10_Cpp_Pow_Inline fix
3989 tSCC zHpux10_Cpp_Pow_InlineName[] =
3990 "hpux10_cpp_pow_inline";
3993 * File name selection pattern
3995 tSCC zHpux10_Cpp_Pow_InlineList[] =
3996 "fixinc-test-limits.h\0math.h\0";
3998 * Machine/OS name selection pattern
4000 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4003 * content selection pattern - do fix if pattern found
4005 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4006 "^# +ifdef +__cplusplus\n\
4008 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4009 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4011 +extern +\"C\" +\\{\n\
4015 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
4016 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4017 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4020 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4022 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4029 * Description of Hpux11_Cpp_Pow_Inline fix
4031 tSCC zHpux11_Cpp_Pow_InlineName[] =
4032 "hpux11_cpp_pow_inline";
4035 * File name selection pattern
4037 tSCC zHpux11_Cpp_Pow_InlineList[] =
4040 * Machine/OS name selection pattern
4042 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4045 * content selection pattern - do fix if pattern found
4047 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4048 " +inline double pow\\(double d,int expon\\) \\{\n\
4049 +return pow\\(d, \\(double\\)expon\\);\n\
4052 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
4053 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4054 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4057 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4059 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4066 * Description of Hpux10_Ctype_Declarations1 fix
4068 tSCC zHpux10_Ctype_Declarations1Name[] =
4069 "hpux10_ctype_declarations1";
4072 * File name selection pattern
4074 tSCC zHpux10_Ctype_Declarations1List[] =
4077 * Machine/OS name selection pattern
4079 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4082 * content selection pattern - do fix if pattern found
4084 tSCC zHpux10_Ctype_Declarations1Select0[] =
4085 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4088 * content bypass pattern - skip fix if pattern found
4090 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4091 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4093 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4094 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4095 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4096 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4099 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4101 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4103 "#ifdef _PROTOTYPES\n\
4104 extern int __tolower(int);\n\
4105 extern int __toupper(int);\n\
4106 #else /* NOT _PROTOTYPES */\n\
4107 extern int __tolower();\n\
4108 extern int __toupper();\n\
4109 #endif /* _PROTOTYPES */\n\n\
4113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4115 * Description of Hpux10_Ctype_Declarations2 fix
4117 tSCC zHpux10_Ctype_Declarations2Name[] =
4118 "hpux10_ctype_declarations2";
4121 * File name selection pattern
4123 tSCC zHpux10_Ctype_Declarations2List[] =
4126 * Machine/OS name selection pattern
4128 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4131 * content selection pattern - do fix if pattern found
4133 tSCC zHpux10_Ctype_Declarations2Select0[] =
4134 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4137 * content bypass pattern - skip fix if pattern found
4139 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4140 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4142 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4143 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4144 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4145 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4148 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4150 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4153 #ifdef _PROTOTYPES\n\
4154 extern int _isalnum(int);\n\
4155 extern int _isalpha(int);\n\
4156 extern int _iscntrl(int);\n\
4157 extern int _isdigit(int);\n\
4158 extern int _isgraph(int);\n\
4159 extern int _islower(int);\n\
4160 extern int _isprint(int);\n\
4161 extern int _ispunct(int);\n\
4162 extern int _isspace(int);\n\
4163 extern int _isupper(int);\n\
4164 extern int _isxdigit(int);\n\
4165 # else /* not _PROTOTYPES */\n\
4166 extern int _isalnum();\n\
4167 extern int _isalpha();\n\
4168 extern int _iscntrl();\n\
4169 extern int _isdigit();\n\
4170 extern int _isgraph();\n\
4171 extern int _islower();\n\
4172 extern int _isprint();\n\
4173 extern int _ispunct();\n\
4174 extern int _isspace();\n\
4175 extern int _isupper();\n\
4176 extern int _isxdigit();\n\
4177 #endif /* _PROTOTYPES */\n",
4180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4182 * Description of Hpux10_Stdio_Declarations fix
4184 tSCC zHpux10_Stdio_DeclarationsName[] =
4185 "hpux10_stdio_declarations";
4188 * File name selection pattern
4190 tSCC zHpux10_Stdio_DeclarationsList[] =
4193 * Machine/OS name selection pattern
4195 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4198 * content selection pattern - do fix if pattern found
4200 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4201 "^#[ \t]*define _iob[ \t]*__iob";
4204 * content bypass pattern - skip fix if pattern found
4206 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4207 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4209 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4210 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4211 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4212 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4215 * Fix Command Arguments for Hpux10_Stdio_Declarations
4217 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4220 # if defined(__STDC__) || defined(__cplusplus)\n\
4221 extern int snprintf(char *, size_t, const char *, ...);\n\
4222 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4223 # else /* not __STDC__) || __cplusplus */\n\
4224 extern int snprintf();\n\
4225 extern int vsnprintf();\n\
4226 # endif /* __STDC__) || __cplusplus */\n",
4229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4231 * Description of Hppa_Hpux11_Alloca fix
4233 tSCC zHppa_Hpux11_AllocaName[] =
4234 "hppa_hpux11_alloca";
4237 * File name selection pattern
4239 tSCC zHppa_Hpux11_AllocaList[] =
4242 * Machine/OS name selection pattern
4244 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4246 (const char*)NULL };
4249 * content selection pattern - do fix if pattern found
4251 tSCC zHppa_Hpux11_AllocaSelect0[] =
4252 "#ifndef _STDDEF_INCLUDED";
4254 #define HPPA_HPUX11_ALLOCA_TEST_CT 1
4255 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4256 { TT_EGREP, zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4259 * Fix Command Arguments for Hppa_Hpux11_Alloca
4261 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4263 "#ifndef _SYS_STDSYMS_INCLUDED\n\
4264 # include <sys/stdsyms.h>\n\
4265 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4271 * Description of Hpux11_Abs fix
4273 tSCC zHpux11_AbsName[] =
4277 * File name selection pattern
4279 tSCC zHpux11_AbsList[] =
4282 * Machine/OS name selection pattern
4284 tSCC* apzHpux11_AbsMachs[] = {
4286 (const char*)NULL };
4289 * content selection pattern - do fix if pattern found
4291 tSCC zHpux11_AbsSelect0[] =
4292 "ifndef _MATH_INCLUDED";
4294 #define HPUX11_ABS_TEST_CT 1
4295 static tTestDesc aHpux11_AbsTests[] = {
4296 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
4299 * Fix Command Arguments for Hpux11_Abs
4301 static const char* apzHpux11_AbsPatch[] = {
4303 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4308 * Description of Hpux11_Lwp_Rwlock_Valid fix
4310 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4311 "hpux11_lwp_rwlock_valid";
4314 * File name selection pattern
4316 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4319 * Machine/OS name selection pattern
4321 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4323 (const char*)NULL };
4326 * content selection pattern - do fix if pattern found
4328 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4329 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4331 #define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
4332 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4333 { TT_EGREP, zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4336 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4338 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4340 "#define __LWP_RWLOCK_VALID -29551",
4343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4345 * Description of Hpux11_Extern_Sendfile fix
4347 tSCC zHpux11_Extern_SendfileName[] =
4348 "hpux11_extern_sendfile";
4351 * File name selection pattern
4353 tSCC zHpux11_Extern_SendfileList[] =
4356 * Machine/OS name selection pattern
4358 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4359 "*-hp-hpux11.[12]*",
4360 (const char*)NULL };
4363 * content selection pattern - do fix if pattern found
4365 tSCC zHpux11_Extern_SendfileSelect0[] =
4366 "^[ \t]*extern sbsize_t sendfile.*\n\
4369 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
4370 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4371 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4374 * Fix Command Arguments for Hpux11_Extern_Sendfile
4376 static const char* apzHpux11_Extern_SendfilePatch[] = {
4378 "#ifndef _APP32_64BIT_OFF_T\n\
4382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4384 * Description of Hpux11_Extern_Sendpath fix
4386 tSCC zHpux11_Extern_SendpathName[] =
4387 "hpux11_extern_sendpath";
4390 * File name selection pattern
4392 tSCC zHpux11_Extern_SendpathList[] =
4395 * Machine/OS name selection pattern
4397 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4398 "*-hp-hpux11.[12]*",
4399 (const char*)NULL };
4402 * content selection pattern - do fix if pattern found
4404 tSCC zHpux11_Extern_SendpathSelect0[] =
4405 "^[ \t]*extern sbsize_t sendpath.*\n\
4408 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
4409 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4410 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4413 * Fix Command Arguments for Hpux11_Extern_Sendpath
4415 static const char* apzHpux11_Extern_SendpathPatch[] = {
4417 "#ifndef _APP32_64BIT_OFF_T\n\
4421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4423 * Description of Hpux11_Fabsf fix
4425 tSCC zHpux11_FabsfName[] =
4429 * File name selection pattern
4431 tSCC zHpux11_FabsfList[] =
4434 * Machine/OS name selection pattern
4436 tSCC* apzHpux11_FabsfMachs[] = {
4438 (const char*)NULL };
4441 * content selection pattern - do fix if pattern found
4443 tSCC zHpux11_FabsfSelect0[] =
4444 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4446 #define HPUX11_FABSF_TEST_CT 1
4447 static tTestDesc aHpux11_FabsfTests[] = {
4448 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4451 * Fix Command Arguments for Hpux11_Fabsf
4453 static const char* apzHpux11_FabsfPatch[] = {
4455 "#ifndef __cplusplus\n\
4460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4462 * Description of Hpux11_Pthread_Pointer fix
4464 tSCC zHpux11_Pthread_PointerName[] =
4465 "hpux11_pthread_pointer";
4468 * File name selection pattern
4470 tSCC zHpux11_Pthread_PointerList[] =
4473 * Machine/OS name selection pattern
4475 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4476 "*-hp-hpux11.[0-3]*",
4477 (const char*)NULL };
4480 * content selection pattern - do fix if pattern found
4482 tSCC zHpux11_Pthread_PointerSelect0[] =
4483 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4485 #define HPUX11_PTHREAD_POINTER_TEST_CT 1
4486 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4487 { TT_EGREP, zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4490 * Fix Command Arguments for Hpux11_Pthread_Pointer
4492 static const char* apzHpux11_Pthread_PointerPatch[] = {
4497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4499 * Description of Hpux11_Pthread_Const fix
4501 tSCC zHpux11_Pthread_ConstName[] =
4502 "hpux11_pthread_const";
4505 * File name selection pattern
4507 tSCC zHpux11_Pthread_ConstList[] =
4510 * Machine/OS name selection pattern
4512 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4513 "*-hp-hpux11.[0-3]*",
4514 (const char*)NULL };
4517 * content selection pattern - do fix if pattern found
4519 tSCC zHpux11_Pthread_ConstSelect0[] =
4520 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4522 #define HPUX11_PTHREAD_CONST_TEST_CT 1
4523 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4524 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4527 * Fix Command Arguments for Hpux11_Pthread_Const
4529 static const char* apzHpux11_Pthread_ConstPatch[] = {
4534 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4536 * Description of Hpux11_Size_T fix
4538 tSCC zHpux11_Size_TName[] =
4542 * File name selection pattern
4544 #define zHpux11_Size_TList (char*)NULL
4546 * Machine/OS name selection pattern
4548 tSCC* apzHpux11_Size_TMachs[] = {
4550 (const char*)NULL };
4553 * content selection pattern - do fix if pattern found
4555 tSCC zHpux11_Size_TSelect0[] =
4558 #define HPUX11_SIZE_T_TEST_CT 1
4559 static tTestDesc aHpux11_Size_TTests[] = {
4560 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4563 * Fix Command Arguments for Hpux11_Size_T
4565 static const char* apzHpux11_Size_TPatch[] = {
4570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4572 * Description of Hpux11_Snprintf fix
4574 tSCC zHpux11_SnprintfName[] =
4578 * File name selection pattern
4580 tSCC zHpux11_SnprintfList[] =
4583 * Machine/OS name selection pattern
4585 #define apzHpux11_SnprintfMachs (const char**)NULL
4588 * content selection pattern - do fix if pattern found
4590 tSCC zHpux11_SnprintfSelect0[] =
4591 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4593 #define HPUX11_SNPRINTF_TEST_CT 1
4594 static tTestDesc aHpux11_SnprintfTests[] = {
4595 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4598 * Fix Command Arguments for Hpux11_Snprintf
4600 static const char* apzHpux11_SnprintfPatch[] = {
4605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4607 * Description of Hpux11_Vsnprintf fix
4609 tSCC zHpux11_VsnprintfName[] =
4613 * File name selection pattern
4615 tSCC zHpux11_VsnprintfList[] =
4618 * Machine/OS name selection pattern
4620 #define apzHpux11_VsnprintfMachs (const char**)NULL
4623 * content selection pattern - do fix if pattern found
4625 tSCC zHpux11_VsnprintfSelect0[] =
4626 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4628 #define HPUX11_VSNPRINTF_TEST_CT 1
4629 static tTestDesc aHpux11_VsnprintfTests[] = {
4630 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4633 * Fix Command Arguments for Hpux11_Vsnprintf
4635 static const char* apzHpux11_VsnprintfPatch[] = {
4640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4642 * Description of Hpux_Vsscanf fix
4644 tSCC zHpux_VsscanfName[] =
4648 * File name selection pattern
4650 tSCC zHpux_VsscanfList[] =
4653 * Machine/OS name selection pattern
4655 tSCC* apzHpux_VsscanfMachs[] = {
4657 (const char*)NULL };
4660 * content selection pattern - do fix if pattern found
4662 tSCC zHpux_VsscanfSelect0[] =
4663 "(extern int vsscanf\\()char";
4665 #define HPUX_VSSCANF_TEST_CT 1
4666 static tTestDesc aHpux_VsscanfTests[] = {
4667 { TT_EGREP, zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4670 * Fix Command Arguments for Hpux_Vsscanf
4672 static const char* apzHpux_VsscanfPatch[] = {
4677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4679 * Description of Hpux8_Bogus_Inlines fix
4681 tSCC zHpux8_Bogus_InlinesName[] =
4682 "hpux8_bogus_inlines";
4685 * File name selection pattern
4687 tSCC zHpux8_Bogus_InlinesList[] =
4690 * Machine/OS name selection pattern
4692 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4695 * content selection pattern - do fix if pattern found
4697 tSCC zHpux8_Bogus_InlinesSelect0[] =
4701 * content bypass pattern - skip fix if pattern found
4703 tSCC zHpux8_Bogus_InlinesBypass0[] =
4706 #define HPUX8_BOGUS_INLINES_TEST_CT 2
4707 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4708 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4709 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4712 * Fix Command Arguments for Hpux8_Bogus_Inlines
4714 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4715 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4716 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4717 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4718 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4723 * Description of Hpux_C99_Intptr fix
4725 tSCC zHpux_C99_IntptrName[] =
4729 * File name selection pattern
4731 tSCC zHpux_C99_IntptrList[] =
4732 "stdint-hpux11.h\0stdint.h\0";
4734 * Machine/OS name selection pattern
4736 tSCC* apzHpux_C99_IntptrMachs[] = {
4738 (const char*)NULL };
4739 #define HPUX_C99_INTPTR_TEST_CT 0
4740 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4743 * Fix Command Arguments for Hpux_C99_Intptr
4745 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4746 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4747 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4748 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4749 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4750 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4751 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4756 * Description of Hpux_C99_Inttypes fix
4758 tSCC zHpux_C99_InttypesName[] =
4759 "hpux_c99_inttypes";
4762 * File name selection pattern
4764 tSCC zHpux_C99_InttypesList[] =
4765 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4767 * Machine/OS name selection pattern
4769 tSCC* apzHpux_C99_InttypesMachs[] = {
4770 "*-hp-hpux11.[23]*",
4771 (const char*)NULL };
4772 #define HPUX_C99_INTTYPES_TEST_CT 0
4773 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4776 * Fix Command Arguments for Hpux_C99_Inttypes
4778 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4779 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4780 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4781 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4782 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4787 * Description of Hpux_C99_Inttypes2 fix
4789 tSCC zHpux_C99_Inttypes2Name[] =
4790 "hpux_c99_inttypes2";
4793 * File name selection pattern
4795 tSCC zHpux_C99_Inttypes2List[] =
4796 "stdint-hpux11.h\0stdint.h\0";
4798 * Machine/OS name selection pattern
4800 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4802 (const char*)NULL };
4803 #define HPUX_C99_INTTYPES2_TEST_CT 0
4804 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4807 * Fix Command Arguments for Hpux_C99_Inttypes2
4809 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4810 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4811 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4812 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4813 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4816 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4818 * Description of Hpux_Ctype_Macros fix
4820 tSCC zHpux_Ctype_MacrosName[] =
4821 "hpux_ctype_macros";
4824 * File name selection pattern
4826 tSCC zHpux_Ctype_MacrosList[] =
4829 * Machine/OS name selection pattern
4831 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4834 * content selection pattern - do fix if pattern found
4836 tSCC zHpux_Ctype_MacrosSelect0[] =
4837 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4839 #define HPUX_CTYPE_MACROS_TEST_CT 1
4840 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4841 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4844 * Fix Command Arguments for Hpux_Ctype_Macros
4846 static const char* apzHpux_Ctype_MacrosPatch[] = {
4851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4853 * Description of Hpux_Extern_Errno fix
4855 tSCC zHpux_Extern_ErrnoName[] =
4856 "hpux_extern_errno";
4859 * File name selection pattern
4861 tSCC zHpux_Extern_ErrnoList[] =
4864 * Machine/OS name selection pattern
4866 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4868 "*-hp-hpux11.[0-2]*",
4869 (const char*)NULL };
4872 * content selection pattern - do fix if pattern found
4874 tSCC zHpux_Extern_ErrnoSelect0[] =
4875 "^[ \t]*extern int errno;$";
4877 #define HPUX_EXTERN_ERRNO_TEST_CT 1
4878 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4879 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4882 * Fix Command Arguments for Hpux_Extern_Errno
4884 static const char* apzHpux_Extern_ErrnoPatch[] = {
4886 "#ifdef __cplusplus\n\
4890 #ifdef __cplusplus\n\
4895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4897 * Description of Hpux_Htonl fix
4899 tSCC zHpux_HtonlName[] =
4903 * File name selection pattern
4905 tSCC zHpux_HtonlList[] =
4908 * Machine/OS name selection pattern
4910 #define apzHpux_HtonlMachs (const char**)NULL
4913 * content selection pattern - do fix if pattern found
4915 tSCC zHpux_HtonlSelect0[] =
4916 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4918 \\* Macros for number representation conversion\\.\n\
4922 #define HPUX_HTONL_TEST_CT 1
4923 static tTestDesc aHpux_HtonlTests[] = {
4924 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
4927 * Fix Command Arguments for Hpux_Htonl
4929 static const char* apzHpux_HtonlPatch[] = {
4935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4937 * Description of Hpux_Imaginary_I fix
4939 tSCC zHpux_Imaginary_IName[] =
4943 * File name selection pattern
4945 tSCC zHpux_Imaginary_IList[] =
4948 * Machine/OS name selection pattern
4950 tSCC* apzHpux_Imaginary_IMachs[] = {
4952 (const char*)NULL };
4955 * content selection pattern - do fix if pattern found
4957 tSCC zHpux_Imaginary_ISelect0[] =
4958 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4960 #define HPUX_IMAGINARY_I_TEST_CT 1
4961 static tTestDesc aHpux_Imaginary_ITests[] = {
4962 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4965 * Fix Command Arguments for Hpux_Imaginary_I
4967 static const char* apzHpux_Imaginary_IPatch[] = {
4969 "#define _Complex_I (__extension__ 1.0iF)",
4972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4974 * Description of Hpux_Inttype_Int8_T fix
4976 tSCC zHpux_Inttype_Int8_TName[] =
4977 "hpux_inttype_int8_t";
4980 * File name selection pattern
4982 tSCC zHpux_Inttype_Int8_TList[] =
4983 "sys/_inttypes.h\0";
4985 * Machine/OS name selection pattern
4987 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4989 (const char*)NULL };
4992 * content selection pattern - do fix if pattern found
4994 tSCC zHpux_Inttype_Int8_TSelect0[] =
4995 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4997 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4998 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4999 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5002 * Fix Command Arguments for Hpux_Inttype_Int8_T
5004 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5006 "typedef signed char int%18_t;",
5009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5011 * Description of Hpux_Long_Double fix
5013 tSCC zHpux_Long_DoubleName[] =
5017 * File name selection pattern
5019 tSCC zHpux_Long_DoubleList[] =
5022 * Machine/OS name selection pattern
5024 tSCC* apzHpux_Long_DoubleMachs[] = {
5026 "*-*-hpux11.[012]*",
5027 (const char*)NULL };
5030 * content selection pattern - do fix if pattern found
5032 tSCC zHpux_Long_DoubleSelect0[] =
5033 "extern[ \t]long_double[ \t]strtold";
5036 * content bypass pattern - skip fix if pattern found
5038 tSCC zHpux_Long_DoubleBypass0[] =
5041 #define HPUX_LONG_DOUBLE_TEST_CT 2
5042 static tTestDesc aHpux_Long_DoubleTests[] = {
5043 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5044 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5047 * Fix Command Arguments for Hpux_Long_Double
5049 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5050 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5051 "-e", "s/long_double/long double/g",
5054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5056 * Description of Hpux_Long_Double_2 fix
5058 tSCC zHpux_Long_Double_2Name[] =
5059 "hpux_long_double_2";
5062 * File name selection pattern
5064 tSCC zHpux_Long_Double_2List[] =
5067 * Machine/OS name selection pattern
5069 tSCC* apzHpux_Long_Double_2Machs[] = {
5070 "hppa*-*-hpux11.3*",
5071 (const char*)NULL };
5074 * content selection pattern - do fix if pattern found
5076 tSCC zHpux_Long_Double_2Select0[] =
5077 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5079 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
5080 static tTestDesc aHpux_Long_Double_2Tests[] = {
5081 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5084 * Fix Command Arguments for Hpux_Long_Double_2
5086 static const char* apzHpux_Long_Double_2Patch[] = {
5088 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5093 * Description of Hpux_Pthread_Initializers fix
5095 tSCC zHpux_Pthread_InitializersName[] =
5096 "hpux_pthread_initializers";
5099 * File name selection pattern
5101 tSCC zHpux_Pthread_InitializersList[] =
5104 * Machine/OS name selection pattern
5106 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5107 "*-hp-hpux11.[0-3]*",
5108 (const char*)NULL };
5109 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
5110 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
5113 * Fix Command Arguments for Hpux_Pthread_Initializers
5115 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5116 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5117 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5118 "-e", "/^[ \t]*0$/d",
5119 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5120 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5121 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5122 "-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\\\\@",
5123 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5124 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5125 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5126 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5127 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5128 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5133 * Description of Hpux_Spu_Info fix
5135 tSCC zHpux_Spu_InfoName[] =
5139 * File name selection pattern
5141 tSCC zHpux_Spu_InfoList[] =
5142 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5144 * Machine/OS name selection pattern
5146 tSCC* apzHpux_Spu_InfoMachs[] = {
5148 (const char*)NULL };
5151 * content selection pattern - do fix if pattern found
5153 tSCC zHpux_Spu_InfoSelect0[] =
5154 "^.*extern.*spu_info.*";
5156 #define HPUX_SPU_INFO_TEST_CT 1
5157 static tTestDesc aHpux_Spu_InfoTests[] = {
5158 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5161 * Fix Command Arguments for Hpux_Spu_Info
5163 static const char* apzHpux_Spu_InfoPatch[] = {
5170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5172 * Description of Hpux_Stdint_Least_Fast fix
5174 tSCC zHpux_Stdint_Least_FastName[] =
5175 "hpux_stdint_least_fast";
5178 * File name selection pattern
5180 tSCC zHpux_Stdint_Least_FastList[] =
5181 "stdint-hpux11.h\0stdint.h\0";
5183 * Machine/OS name selection pattern
5185 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5187 (const char*)NULL };
5190 * content selection pattern - do fix if pattern found
5192 tSCC zHpux_Stdint_Least_FastSelect0[] =
5193 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5195 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
5196 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5197 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5200 * Fix Command Arguments for Hpux_Stdint_Least_Fast
5202 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5204 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
5207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5209 * Description of Hpux_Longjmp fix
5211 tSCC zHpux_LongjmpName[] =
5215 * File name selection pattern
5217 tSCC zHpux_LongjmpList[] =
5220 * Machine/OS name selection pattern
5222 tSCC* apzHpux_LongjmpMachs[] = {
5224 (const char*)NULL };
5227 * content selection pattern - do fix if pattern found
5229 tSCC zHpux_LongjmpSelect0[] =
5230 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5232 #define HPUX_LONGJMP_TEST_CT 1
5233 static tTestDesc aHpux_LongjmpTests[] = {
5234 { TT_EGREP, zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5237 * Fix Command Arguments for Hpux_Longjmp
5239 static const char* apzHpux_LongjmpPatch[] = {
5241 "%0 __attribute__ ((__noreturn__))",
5244 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5246 * Description of Hpux_Systime fix
5248 tSCC zHpux_SystimeName[] =
5252 * File name selection pattern
5254 tSCC zHpux_SystimeList[] =
5257 * Machine/OS name selection pattern
5259 #define apzHpux_SystimeMachs (const char**)NULL
5262 * content selection pattern - do fix if pattern found
5264 tSCC zHpux_SystimeSelect0[] =
5265 "^extern struct sigevent;";
5267 #define HPUX_SYSTIME_TEST_CT 1
5268 static tTestDesc aHpux_SystimeTests[] = {
5269 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
5272 * Fix Command Arguments for Hpux_Systime
5274 static const char* apzHpux_SystimePatch[] = {
5279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5281 * Description of Huge_Val_Hex fix
5283 tSCC zHuge_Val_HexName[] =
5287 * File name selection pattern
5289 tSCC zHuge_Val_HexList[] =
5290 "bits/huge_val.h\0*/bits/huge_val.h\0";
5292 * Machine/OS name selection pattern
5294 #define apzHuge_Val_HexMachs (const char**)NULL
5297 * content selection pattern - do fix if pattern found
5299 tSCC zHuge_Val_HexSelect0[] =
5300 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5303 * content bypass pattern - skip fix if pattern found
5305 tSCC zHuge_Val_HexBypass0[] =
5306 "__builtin_huge_val";
5308 #define HUGE_VAL_HEX_TEST_CT 2
5309 static tTestDesc aHuge_Val_HexTests[] = {
5310 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
5311 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5314 * Fix Command Arguments for Huge_Val_Hex
5316 static const char* apzHuge_Val_HexPatch[] = {
5318 "#define HUGE_VAL (__builtin_huge_val())\n",
5321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5323 * Description of Huge_Valf_Hex fix
5325 tSCC zHuge_Valf_HexName[] =
5329 * File name selection pattern
5331 tSCC zHuge_Valf_HexList[] =
5332 "bits/huge_val.h\0*/bits/huge_val.h\0";
5334 * Machine/OS name selection pattern
5336 #define apzHuge_Valf_HexMachs (const char**)NULL
5339 * content selection pattern - do fix if pattern found
5341 tSCC zHuge_Valf_HexSelect0[] =
5342 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5345 * content bypass pattern - skip fix if pattern found
5347 tSCC zHuge_Valf_HexBypass0[] =
5348 "__builtin_huge_valf";
5350 #define HUGE_VALF_HEX_TEST_CT 2
5351 static tTestDesc aHuge_Valf_HexTests[] = {
5352 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
5353 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5356 * Fix Command Arguments for Huge_Valf_Hex
5358 static const char* apzHuge_Valf_HexPatch[] = {
5360 "#define HUGE_VALF (__builtin_huge_valf())\n",
5363 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5365 * Description of Huge_Vall_Hex fix
5367 tSCC zHuge_Vall_HexName[] =
5371 * File name selection pattern
5373 tSCC zHuge_Vall_HexList[] =
5374 "bits/huge_val.h\0*/bits/huge_val.h\0";
5376 * Machine/OS name selection pattern
5378 #define apzHuge_Vall_HexMachs (const char**)NULL
5381 * content selection pattern - do fix if pattern found
5383 tSCC zHuge_Vall_HexSelect0[] =
5384 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5387 * content bypass pattern - skip fix if pattern found
5389 tSCC zHuge_Vall_HexBypass0[] =
5390 "__builtin_huge_vall";
5392 #define HUGE_VALL_HEX_TEST_CT 2
5393 static tTestDesc aHuge_Vall_HexTests[] = {
5394 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
5395 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5398 * Fix Command Arguments for Huge_Vall_Hex
5400 static const char* apzHuge_Vall_HexPatch[] = {
5402 "#define HUGE_VALL (__builtin_huge_vall())\n",
5405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5407 * Description of Int_Abort_Free_And_Exit fix
5409 tSCC zInt_Abort_Free_And_ExitName[] =
5410 "int_abort_free_and_exit";
5413 * File name selection pattern
5415 tSCC zInt_Abort_Free_And_ExitList[] =
5418 * Machine/OS name selection pattern
5420 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5423 * content selection pattern - do fix if pattern found
5425 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5426 "int[ \t]+(abort|free|exit)[ \t]*\\(";
5429 * content bypass pattern - skip fix if pattern found
5431 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5432 "_CLASSIC_ANSI_TYPES";
5434 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
5435 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5436 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5437 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5440 * Fix Command Arguments for Int_Abort_Free_And_Exit
5442 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5449 * Description of Io_Quotes_Def fix
5451 tSCC zIo_Quotes_DefName[] =
5455 * File name selection pattern
5457 #define zIo_Quotes_DefList (char*)NULL
5459 * Machine/OS name selection pattern
5461 #define apzIo_Quotes_DefMachs (const char**)NULL
5464 * content selection pattern - do fix if pattern found
5466 tSCC zIo_Quotes_DefSelect0[] =
5467 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5469 #define IO_QUOTES_DEF_TEST_CT 1
5470 static tTestDesc aIo_Quotes_DefTests[] = {
5471 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5474 * Fix Command Arguments for Io_Quotes_Def
5476 static const char* apzIo_Quotes_DefPatch[] = {
5481 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5483 * Description of Io_Quotes_Use fix
5485 tSCC zIo_Quotes_UseName[] =
5489 * File name selection pattern
5491 #define zIo_Quotes_UseList (char*)NULL
5493 * Machine/OS name selection pattern
5495 #define apzIo_Quotes_UseMachs (const char**)NULL
5498 * content selection pattern - do fix if pattern found
5500 tSCC zIo_Quotes_UseSelect0[] =
5501 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5503 #define IO_QUOTES_USE_TEST_CT 1
5504 static tTestDesc aIo_Quotes_UseTests[] = {
5505 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5508 * Fix Command Arguments for Io_Quotes_Use
5510 static const char* apzIo_Quotes_UsePatch[] = {
5515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5517 * Description of Ip_Missing_Semi fix
5519 tSCC zIp_Missing_SemiName[] =
5523 * File name selection pattern
5525 tSCC zIp_Missing_SemiList[] =
5528 * Machine/OS name selection pattern
5530 #define apzIp_Missing_SemiMachs (const char**)NULL
5533 * content selection pattern - do fix if pattern found
5535 tSCC zIp_Missing_SemiSelect0[] =
5538 #define IP_MISSING_SEMI_TEST_CT 1
5539 static tTestDesc aIp_Missing_SemiTests[] = {
5540 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5543 * Fix Command Arguments for Ip_Missing_Semi
5545 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5546 "-e", "/^struct/,/^};/s/}$/};/",
5549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5551 * Description of Irix_Limits_Const fix
5553 tSCC zIrix_Limits_ConstName[] =
5554 "irix_limits_const";
5557 * File name selection pattern
5559 tSCC zIrix_Limits_ConstList[] =
5560 "fixinc-test-limits.h\0limits.h\0";
5562 * Machine/OS name selection pattern
5564 #define apzIrix_Limits_ConstMachs (const char**)NULL
5567 * content selection pattern - do fix if pattern found
5569 tSCC zIrix_Limits_ConstSelect0[] =
5572 #define IRIX_LIMITS_CONST_TEST_CT 1
5573 static tTestDesc aIrix_Limits_ConstTests[] = {
5574 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5577 * Fix Command Arguments for Irix_Limits_Const
5579 static const char* apzIrix_Limits_ConstPatch[] = {
5584 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5586 * Description of Irix_Stdio_Va_List fix
5588 tSCC zIrix_Stdio_Va_ListName[] =
5589 "irix_stdio_va_list";
5592 * File name selection pattern
5594 tSCC zIrix_Stdio_Va_ListList[] =
5597 * Machine/OS name selection pattern
5599 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5602 * content selection pattern - do fix if pattern found
5604 tSCC zIrix_Stdio_Va_ListSelect0[] =
5605 "/\\* va_list \\*/ char \\*";
5607 #define IRIX_STDIO_VA_LIST_TEST_CT 1
5608 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5609 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5612 * Fix Command Arguments for Irix_Stdio_Va_List
5614 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5621 * Description of Kandr_Concat fix
5623 tSCC zKandr_ConcatName[] =
5627 * File name selection pattern
5629 tSCC zKandr_ConcatList[] =
5630 "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";
5632 * Machine/OS name selection pattern
5634 #define apzKandr_ConcatMachs (const char**)NULL
5637 * content selection pattern - do fix if pattern found
5639 tSCC zKandr_ConcatSelect0[] =
5642 #define KANDR_CONCAT_TEST_CT 1
5643 static tTestDesc aKandr_ConcatTests[] = {
5644 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
5647 * Fix Command Arguments for Kandr_Concat
5649 static const char* apzKandr_ConcatPatch[] = {
5654 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5656 * Description of Linux_Ia64_Ucontext fix
5658 tSCC zLinux_Ia64_UcontextName[] =
5659 "linux_ia64_ucontext";
5662 * File name selection pattern
5664 tSCC zLinux_Ia64_UcontextList[] =
5667 * Machine/OS name selection pattern
5669 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5671 (const char*)NULL };
5674 * content selection pattern - do fix if pattern found
5676 tSCC zLinux_Ia64_UcontextSelect0[] =
5677 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5679 #define LINUX_IA64_UCONTEXT_TEST_CT 1
5680 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5681 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5684 * Fix Command Arguments for Linux_Ia64_Ucontext
5686 static const char* apzLinux_Ia64_UcontextPatch[] = {
5688 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5693 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
5695 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5696 "lynxos_no_warning_in_sys_time_h";
5699 * File name selection pattern
5701 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5704 * Machine/OS name selection pattern
5706 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5709 * content selection pattern - do fix if pattern found
5711 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5712 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5714 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
5715 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5716 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5719 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5721 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5728 * Description of Lynxos_Missing_Putenv fix
5730 tSCC zLynxos_Missing_PutenvName[] =
5731 "lynxos_missing_putenv";
5734 * File name selection pattern
5736 tSCC zLynxos_Missing_PutenvList[] =
5739 * Machine/OS name selection pattern
5741 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5743 (const char*)NULL };
5746 * content selection pattern - do fix if pattern found
5748 tSCC zLynxos_Missing_PutenvSelect0[] =
5749 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5752 * content bypass pattern - skip fix if pattern found
5754 tSCC zLynxos_Missing_PutenvBypass0[] =
5757 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
5758 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5759 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5760 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5763 * Fix Command Arguments for Lynxos_Missing_Putenv
5765 static const char* apzLynxos_Missing_PutenvPatch[] = {
5768 extern int putenv\t\t\t\t_AP((char *));",
5769 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5774 * Description of Machine_Ansi_H_Va_List fix
5776 tSCC zMachine_Ansi_H_Va_ListName[] =
5777 "machine_ansi_h_va_list";
5780 * File name selection pattern
5782 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5784 * Machine/OS name selection pattern
5786 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5789 * content selection pattern - do fix if pattern found
5791 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5792 "define[ \t]+_BSD_VA_LIST_[ \t]";
5795 * content bypass pattern - skip fix if pattern found
5797 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5798 "__builtin_va_list";
5800 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
5801 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5802 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5803 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5806 * Fix Command Arguments for Machine_Ansi_H_Va_List
5808 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5810 "%1__builtin_va_list",
5811 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5816 * Description of Machine_Name fix
5818 tSCC zMachine_NameName[] =
5822 * File name selection pattern
5824 #define zMachine_NameList (char*)NULL
5826 * Machine/OS name selection pattern
5828 #define apzMachine_NameMachs (const char**)NULL
5831 * perform the C function call test
5833 tSCC zMachine_NameFTst0[] = "machine_name";
5835 #define MACHINE_NAME_TEST_CT 1
5836 static tTestDesc aMachine_NameTests[] = {
5837 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
5840 * Fix Command Arguments for Machine_Name
5842 static const char* apzMachine_NamePatch[] = {
5846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5848 * Description of Math_Exception fix
5850 tSCC zMath_ExceptionName[] =
5854 * File name selection pattern
5856 tSCC zMath_ExceptionList[] =
5859 * Machine/OS name selection pattern
5861 tSCC* apzMath_ExceptionMachs[] = {
5862 "*-*-solaris2.1[0-9]*",
5863 (const char*)NULL };
5866 * content selection pattern - do fix if pattern found
5868 tSCC zMath_ExceptionSelect0[] =
5872 * content bypass pattern - skip fix if pattern found
5874 tSCC zMath_ExceptionBypass0[] =
5875 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5877 #define MATH_EXCEPTION_TEST_CT 2
5878 static tTestDesc aMath_ExceptionTests[] = {
5879 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
5880 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
5883 * Fix Command Arguments for Math_Exception
5885 static const char* apzMath_ExceptionPatch[] = {
5887 "#ifdef __cplusplus\n\
5888 #define exception __math_exception\n\
5890 "#ifdef __cplusplus\n\
5895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5897 * Description of Math_Huge_Val_From_Dbl_Max fix
5899 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5900 "math_huge_val_from_dbl_max";
5903 * File name selection pattern
5905 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5908 * Machine/OS name selection pattern
5910 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5913 * content selection pattern - do fix if pattern found
5915 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5916 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5919 * content bypass pattern - skip fix if pattern found
5921 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5922 "define[ \t]+DBL_MAX";
5924 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
5925 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5926 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5927 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5930 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5932 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5933 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5934 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5935 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5942 * Description of Nested_Auth_Des fix
5944 tSCC zNested_Auth_DesName[] =
5948 * File name selection pattern
5950 tSCC zNested_Auth_DesList[] =
5953 * Machine/OS name selection pattern
5955 #define apzNested_Auth_DesMachs (const char**)NULL
5958 * content selection pattern - do fix if pattern found
5960 tSCC zNested_Auth_DesSelect0[] =
5961 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5963 #define NESTED_AUTH_DES_TEST_CT 1
5964 static tTestDesc aNested_Auth_DesTests[] = {
5965 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5968 * Fix Command Arguments for Nested_Auth_Des
5970 static const char* apzNested_Auth_DesPatch[] = {
5975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5977 * Description of Netbsd_C99_Inline_1 fix
5979 tSCC zNetbsd_C99_Inline_1Name[] =
5980 "netbsd_c99_inline_1";
5983 * File name selection pattern
5985 tSCC zNetbsd_C99_Inline_1List[] =
5988 * Machine/OS name selection pattern
5990 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5992 (const char*)NULL };
5995 * content selection pattern - do fix if pattern found
5997 tSCC zNetbsd_C99_Inline_1Select0[] =
5998 "extern __inline int";
6000 #define NETBSD_C99_INLINE_1_TEST_CT 1
6001 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6002 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6005 * Fix Command Arguments for Netbsd_C99_Inline_1
6007 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6010 #ifdef __GNUC_STDC_INLINE__\n\
6011 __attribute__((__gnu_inline__))\n\
6016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6018 * Description of Netbsd_C99_Inline_2 fix
6020 tSCC zNetbsd_C99_Inline_2Name[] =
6021 "netbsd_c99_inline_2";
6024 * File name selection pattern
6026 tSCC zNetbsd_C99_Inline_2List[] =
6029 * Machine/OS name selection pattern
6031 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6033 (const char*)NULL };
6036 * content selection pattern - do fix if pattern found
6038 tSCC zNetbsd_C99_Inline_2Select0[] =
6039 "#define _SIGINLINE extern __inline";
6041 #define NETBSD_C99_INLINE_2_TEST_CT 1
6042 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6043 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6046 * Fix Command Arguments for Netbsd_C99_Inline_2
6048 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6050 "#ifdef __GNUC_STDC_INLINE__\n\
6051 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6059 * Description of Netbsd_Extra_Semicolon fix
6061 tSCC zNetbsd_Extra_SemicolonName[] =
6062 "netbsd_extra_semicolon";
6065 * File name selection pattern
6067 tSCC zNetbsd_Extra_SemicolonList[] =
6070 * Machine/OS name selection pattern
6072 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6074 (const char*)NULL };
6077 * content selection pattern - do fix if pattern found
6079 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6080 "#define[ \t]*__END_DECLS[ \t]*};";
6082 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6083 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6084 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6087 * Fix Command Arguments for Netbsd_Extra_Semicolon
6089 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6091 "#define __END_DECLS }",
6094 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6096 * Description of Newlib_Stdint_1 fix
6098 tSCC zNewlib_Stdint_1Name[] =
6102 * File name selection pattern
6104 tSCC zNewlib_Stdint_1List[] =
6105 "stdint-newlib.h\0stdint.h\0";
6107 * Machine/OS name selection pattern
6109 #define apzNewlib_Stdint_1Machs (const char**)NULL
6112 * content selection pattern - do fix if pattern found
6114 tSCC zNewlib_Stdint_1Select0[] =
6115 "@todo - Add support for wint_t types";
6117 #define NEWLIB_STDINT_1_TEST_CT 1
6118 static tTestDesc aNewlib_Stdint_1Tests[] = {
6119 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6122 * Fix Command Arguments for Newlib_Stdint_1
6124 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6125 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6126 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6127 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6128 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6129 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6130 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6131 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6132 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6133 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6134 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6135 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6136 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6137 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6138 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6141 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6143 * Description of Newlib_Stdint_2 fix
6145 tSCC zNewlib_Stdint_2Name[] =
6149 * File name selection pattern
6151 tSCC zNewlib_Stdint_2List[] =
6152 "stdint-newlib.h\0stdint.h\0";
6154 * Machine/OS name selection pattern
6156 #define apzNewlib_Stdint_2Machs (const char**)NULL
6159 * content selection pattern - do fix if pattern found
6161 tSCC zNewlib_Stdint_2Select0[] =
6162 "@todo - Add support for wint_t types";
6164 #define NEWLIB_STDINT_2_TEST_CT 1
6165 static tTestDesc aNewlib_Stdint_2Tests[] = {
6166 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6169 * Fix Command Arguments for Newlib_Stdint_2
6171 static const char* apzNewlib_Stdint_2Patch[] = {
6173 "#define INTMAX_MAX __INTMAX_MAX__\n\
6174 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6175 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6176 #define WCHAR_MAX __WCHAR_MAX__\n\
6177 #define WCHAR_MIN __WCHAR_MIN__\n\
6178 #define WINT_MAX __WINT_MAX__\n\
6179 #define WINT_MIN __WINT_MIN__\n\n\
6181 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6186 * Description of Next_Math_Prefix fix
6188 tSCC zNext_Math_PrefixName[] =
6192 * File name selection pattern
6194 tSCC zNext_Math_PrefixList[] =
6197 * Machine/OS name selection pattern
6199 #define apzNext_Math_PrefixMachs (const char**)NULL
6202 * content selection pattern - do fix if pattern found
6204 tSCC zNext_Math_PrefixSelect0[] =
6205 "^extern[ \t]+double[ \t]+__const__[ \t]";
6207 #define NEXT_MATH_PREFIX_TEST_CT 1
6208 static tTestDesc aNext_Math_PrefixTests[] = {
6209 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6212 * Fix Command Arguments for Next_Math_Prefix
6214 static const char* apzNext_Math_PrefixPatch[] = {
6216 "extern double %1(",
6217 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6222 * Description of Next_Template fix
6224 tSCC zNext_TemplateName[] =
6228 * File name selection pattern
6230 tSCC zNext_TemplateList[] =
6233 * Machine/OS name selection pattern
6235 #define apzNext_TemplateMachs (const char**)NULL
6238 * content selection pattern - do fix if pattern found
6240 tSCC zNext_TemplateSelect0[] =
6243 #define NEXT_TEMPLATE_TEST_CT 1
6244 static tTestDesc aNext_TemplateTests[] = {
6245 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
6248 * Fix Command Arguments for Next_Template
6250 static const char* apzNext_TemplatePatch[] = {
6253 "\\(([^)]*)[ \t]template\\)",
6256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6258 * Description of Next_Volitile fix
6260 tSCC zNext_VolitileName[] =
6264 * File name selection pattern
6266 tSCC zNext_VolitileList[] =
6269 * Machine/OS name selection pattern
6271 #define apzNext_VolitileMachs (const char**)NULL
6274 * content selection pattern - do fix if pattern found
6276 tSCC zNext_VolitileSelect0[] =
6277 "^extern[ \t]+volatile[ \t]+void[ \t]";
6279 #define NEXT_VOLITILE_TEST_CT 1
6280 static tTestDesc aNext_VolitileTests[] = {
6281 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
6284 * Fix Command Arguments for Next_Volitile
6286 static const char* apzNext_VolitilePatch[] = {
6289 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6294 * Description of Next_Wait_Union fix
6296 tSCC zNext_Wait_UnionName[] =
6300 * File name selection pattern
6302 tSCC zNext_Wait_UnionList[] =
6305 * Machine/OS name selection pattern
6307 #define apzNext_Wait_UnionMachs (const char**)NULL
6310 * content selection pattern - do fix if pattern found
6312 tSCC zNext_Wait_UnionSelect0[] =
6313 "wait\\(union wait";
6315 #define NEXT_WAIT_UNION_TEST_CT 1
6316 static tTestDesc aNext_Wait_UnionTests[] = {
6317 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6320 * Fix Command Arguments for Next_Wait_Union
6322 static const char* apzNext_Wait_UnionPatch[] = {
6327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6329 * Description of Nodeent_Syntax fix
6331 tSCC zNodeent_SyntaxName[] =
6335 * File name selection pattern
6337 tSCC zNodeent_SyntaxList[] =
6338 "netdnet/dnetdb.h\0";
6340 * Machine/OS name selection pattern
6342 #define apzNodeent_SyntaxMachs (const char**)NULL
6345 * content selection pattern - do fix if pattern found
6347 tSCC zNodeent_SyntaxSelect0[] =
6348 "char[ \t]*\\*na_addr[ \t]*$";
6350 #define NODEENT_SYNTAX_TEST_CT 1
6351 static tTestDesc aNodeent_SyntaxTests[] = {
6352 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6355 * Fix Command Arguments for Nodeent_Syntax
6357 static const char* apzNodeent_SyntaxPatch[] = {
6362 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6364 * Description of Openbsd_Null_Definition fix
6366 tSCC zOpenbsd_Null_DefinitionName[] =
6367 "openbsd_null_definition";
6370 * File name selection pattern
6372 tSCC zOpenbsd_Null_DefinitionList[] =
6373 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6375 * Machine/OS name selection pattern
6377 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6379 (const char*)NULL };
6382 * content selection pattern - do fix if pattern found
6384 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6387 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
6388 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6389 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6392 * Fix Command Arguments for Openbsd_Null_Definition
6394 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6397 #ifdef __cplusplus\n\
6399 #define NULL\t__null\n\
6400 #else\t /* ! __GNUG__ */\n\
6402 #endif\t /* __GNUG__ */\n\
6403 #else\t /* ! __cplusplus */\n\
6404 #define NULL\t((void *)0)\n\
6405 #endif\t /* __cplusplus */\n\
6406 #endif\t /* !NULL */",
6407 "^#ifndef[ \t]*NULL\n\
6408 ^#ifdef[ \t]*__GNUG__\n\
6409 ^#define[ \t]*NULL[ \t]*__null\n\
6411 ^#define[ \t]*NULL[ \t]*0L\n\
6416 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6418 * Description of Obstack_Lvalue_Cast fix
6420 tSCC zObstack_Lvalue_CastName[] =
6421 "obstack_lvalue_cast";
6424 * File name selection pattern
6426 tSCC zObstack_Lvalue_CastList[] =
6429 * Machine/OS name selection pattern
6431 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6434 * content selection pattern - do fix if pattern found
6436 tSCC zObstack_Lvalue_CastSelect0[] =
6437 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6439 #define OBSTACK_LVALUE_CAST_TEST_CT 1
6440 static tTestDesc aObstack_Lvalue_CastTests[] = {
6441 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6444 * Fix Command Arguments for Obstack_Lvalue_Cast
6446 static const char* apzObstack_Lvalue_CastPatch[] = {
6448 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6453 * Description of Openbsd_Va_Start fix
6455 tSCC zOpenbsd_Va_StartName[] =
6459 * File name selection pattern
6461 tSCC zOpenbsd_Va_StartList[] =
6464 * Machine/OS name selection pattern
6466 tSCC* apzOpenbsd_Va_StartMachs[] = {
6468 (const char*)NULL };
6471 * content selection pattern - do fix if pattern found
6473 tSCC zOpenbsd_Va_StartSelect0[] =
6474 "__builtin_stdarg_start";
6476 #define OPENBSD_VA_START_TEST_CT 1
6477 static tTestDesc aOpenbsd_Va_StartTests[] = {
6478 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6481 * Fix Command Arguments for Openbsd_Va_Start
6483 static const char* apzOpenbsd_Va_StartPatch[] = {
6485 "__builtin_va_start",
6488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6490 * Description of Osf_Namespace_A fix
6492 tSCC zOsf_Namespace_AName[] =
6496 * File name selection pattern
6498 tSCC zOsf_Namespace_AList[] =
6499 "reg_types.h\0sys/lc_core.h\0";
6501 * Machine/OS name selection pattern
6503 #define apzOsf_Namespace_AMachs (const char**)NULL
6506 * perform the 'test' shell command - do fix on success
6508 tSCC zOsf_Namespace_ATest0[] =
6510 tSCC zOsf_Namespace_ATest1[] =
6511 " -r sys/lc_core.h";
6512 tSCC zOsf_Namespace_ATest2[] =
6513 " -n \"`grep '} regex_t;' reg_types.h`\"";
6514 tSCC zOsf_Namespace_ATest3[] =
6515 " -z \"`grep __regex_t regex.h`\"";
6517 #define OSF_NAMESPACE_A_TEST_CT 4
6518 static tTestDesc aOsf_Namespace_ATests[] = {
6519 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
6520 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
6521 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
6522 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
6525 * Fix Command Arguments for Osf_Namespace_A
6527 static const char* apzOsf_Namespace_APatch[] = {
6530 "reg(ex|off|match)_t",
6533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6535 * Description of Osf_Namespace_C fix
6537 tSCC zOsf_Namespace_CName[] =
6541 * File name selection pattern
6543 tSCC zOsf_Namespace_CList[] =
6546 * Machine/OS name selection pattern
6548 #define apzOsf_Namespace_CMachs (const char**)NULL
6551 * content selection pattern - do fix if pattern found
6553 tSCC zOsf_Namespace_CSelect0[] =
6554 "#include <reg_types.h>.*";
6557 * perform the 'test' shell command - do fix on success
6559 tSCC zOsf_Namespace_CTest0[] =
6561 tSCC zOsf_Namespace_CTest1[] =
6562 " -r sys/lc_core.h";
6563 tSCC zOsf_Namespace_CTest2[] =
6564 " -n \"`grep '} regex_t;' reg_types.h`\"";
6565 tSCC zOsf_Namespace_CTest3[] =
6566 " -z \"`grep __regex_t regex.h`\"";
6568 #define OSF_NAMESPACE_C_TEST_CT 5
6569 static tTestDesc aOsf_Namespace_CTests[] = {
6570 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
6571 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
6572 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
6573 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
6574 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6577 * Fix Command Arguments for Osf_Namespace_C
6579 static const char* apzOsf_Namespace_CPatch[] = {
6582 typedef __regex_t\tregex_t;\n\
6583 typedef __regoff_t\tregoff_t;\n\
6584 typedef __regmatch_t\tregmatch_t;",
6587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6589 * Description of Pthread_Incomplete_Struct_Argument fix
6591 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6592 "pthread_incomplete_struct_argument";
6595 * File name selection pattern
6597 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6600 * Machine/OS name selection pattern
6602 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6605 * content selection pattern - do fix if pattern found
6607 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6608 "struct __jmp_buf_tag";
6610 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
6611 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6612 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6615 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6617 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6620 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6625 * Description of Read_Ret_Type fix
6627 tSCC zRead_Ret_TypeName[] =
6631 * File name selection pattern
6633 tSCC zRead_Ret_TypeList[] =
6636 * Machine/OS name selection pattern
6638 #define apzRead_Ret_TypeMachs (const char**)NULL
6641 * content selection pattern - do fix if pattern found
6643 tSCC zRead_Ret_TypeSelect0[] =
6644 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6646 #define READ_RET_TYPE_TEST_CT 1
6647 static tTestDesc aRead_Ret_TypeTests[] = {
6648 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6651 * Fix Command Arguments for Read_Ret_Type
6653 static const char* apzRead_Ret_TypePatch[] = {
6655 "extern unsigned int fread(), fwrite();\n\
6657 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6662 * Description of Rpc_Xdr_Lvalue_Cast_A fix
6664 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6665 "rpc_xdr_lvalue_cast_a";
6668 * File name selection pattern
6670 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6673 * Machine/OS name selection pattern
6675 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6678 * content selection pattern - do fix if pattern found
6680 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6681 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6684 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
6685 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6686 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6689 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6691 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6693 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6698 * Description of Rpc_Xdr_Lvalue_Cast_B fix
6700 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6701 "rpc_xdr_lvalue_cast_b";
6704 * File name selection pattern
6706 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6709 * Machine/OS name selection pattern
6711 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6714 * content selection pattern - do fix if pattern found
6716 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6717 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6720 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
6721 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6722 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6725 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6727 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6729 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6734 * Description of Rs6000_Double fix
6736 tSCC zRs6000_DoubleName[] =
6740 * File name selection pattern
6742 tSCC zRs6000_DoubleList[] =
6745 * Machine/OS name selection pattern
6747 #define apzRs6000_DoubleMachs (const char**)NULL
6750 * content selection pattern - do fix if pattern found
6752 tSCC zRs6000_DoubleSelect0[] =
6753 "[^a-zA-Z_]class\\(";
6755 #define RS6000_DOUBLE_TEST_CT 1
6756 static tTestDesc aRs6000_DoubleTests[] = {
6757 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6760 * Fix Command Arguments for Rs6000_Double
6762 static const char* apzRs6000_DoublePatch[] = {
6764 "#ifndef __cplusplus\n\
6767 "^.*[^a-zA-Z_]class\\(.*",
6770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6772 * Description of Rs6000_Fchmod fix
6774 tSCC zRs6000_FchmodName[] =
6778 * File name selection pattern
6780 tSCC zRs6000_FchmodList[] =
6783 * Machine/OS name selection pattern
6785 #define apzRs6000_FchmodMachs (const char**)NULL
6788 * content selection pattern - do fix if pattern found
6790 tSCC zRs6000_FchmodSelect0[] =
6791 "fchmod\\(char \\*";
6793 #define RS6000_FCHMOD_TEST_CT 1
6794 static tTestDesc aRs6000_FchmodTests[] = {
6795 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6798 * Fix Command Arguments for Rs6000_Fchmod
6800 static const char* apzRs6000_FchmodPatch[] = {
6805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6807 * Description of Rs6000_Param fix
6809 tSCC zRs6000_ParamName[] =
6813 * File name selection pattern
6815 tSCC zRs6000_ParamList[] =
6816 "stdio.h\0unistd.h\0";
6818 * Machine/OS name selection pattern
6820 #define apzRs6000_ParamMachs (const char**)NULL
6823 * content selection pattern - do fix if pattern found
6825 tSCC zRs6000_ParamSelect0[] =
6826 "rename\\(const char \\*old, const char \\*new\\)";
6828 #define RS6000_PARAM_TEST_CT 1
6829 static tTestDesc aRs6000_ParamTests[] = {
6830 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
6833 * Fix Command Arguments for Rs6000_Param
6835 static const char* apzRs6000_ParamPatch[] = {
6837 "rename(const char *_old, const char *_new)",
6840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6842 * Description of Solaris___Restrict fix
6844 tSCC zSolaris___RestrictName[] =
6845 "solaris___restrict";
6848 * File name selection pattern
6850 tSCC zSolaris___RestrictList[] =
6851 "sys/feature_tests.h\0";
6853 * Machine/OS name selection pattern
6855 tSCC* apzSolaris___RestrictMachs[] = {
6857 (const char*)NULL };
6860 * content selection pattern - do fix if pattern found
6862 tSCC zSolaris___RestrictSelect0[] =
6863 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6865 #define SOLARIS___RESTRICT_TEST_CT 1
6866 static tTestDesc aSolaris___RestrictTests[] = {
6867 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6870 * Fix Command Arguments for Solaris___Restrict
6872 static const char* apzSolaris___RestrictPatch[] = {
6874 "#ifdef __cplusplus\n\
6875 #define\t_RESTRICT_KYWD\t__restrict\n\
6881 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6883 * Description of Solaris_Complex fix
6885 tSCC zSolaris_ComplexName[] =
6889 * File name selection pattern
6891 tSCC zSolaris_ComplexList[] =
6894 * Machine/OS name selection pattern
6896 tSCC* apzSolaris_ComplexMachs[] = {
6898 (const char*)NULL };
6901 * content selection pattern - do fix if pattern found
6903 tSCC zSolaris_ComplexSelect0[] =
6904 "#define[ \t]_Complex_I[ \t]_Complex_I";
6906 #define SOLARIS_COMPLEX_TEST_CT 1
6907 static tTestDesc aSolaris_ComplexTests[] = {
6908 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6911 * Fix Command Arguments for Solaris_Complex
6913 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6914 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6915 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6916 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6917 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6920 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6922 * Description of Solaris_Complex_Cxx fix
6924 tSCC zSolaris_Complex_CxxName[] =
6925 "solaris_complex_cxx";
6928 * File name selection pattern
6930 tSCC zSolaris_Complex_CxxList[] =
6933 * Machine/OS name selection pattern
6935 tSCC* apzSolaris_Complex_CxxMachs[] = {
6937 (const char*)NULL };
6938 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
6939 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
6942 * Fix Command Arguments for Solaris_Complex_Cxx
6944 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6945 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6946 #ifdef\t__cplusplus\\\n\
6949 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6950 #ifdef\t__cplusplus\\\n\
6955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6957 * Description of Solaris_Cxx_Linkage fix
6959 tSCC zSolaris_Cxx_LinkageName[] =
6960 "solaris_cxx_linkage";
6963 * File name selection pattern
6965 tSCC zSolaris_Cxx_LinkageList[] =
6966 "iso/stdlib_iso.h\0";
6968 * Machine/OS name selection pattern
6970 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6972 (const char*)NULL };
6975 * content selection pattern - do fix if pattern found
6977 tSCC zSolaris_Cxx_LinkageSelect0[] =
6978 "(#if __cplusplus >= 199711L)\n\
6979 (extern \"C\\+\\+\" \\{\n\
6980 )(.*(bsearch|qsort).*)";
6982 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
6983 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6984 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6987 * Fix Command Arguments for Solaris_Cxx_Linkage
6989 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6995 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6997 * Description of Solaris_Getc_Strict_Stdc fix
6999 tSCC zSolaris_Getc_Strict_StdcName[] =
7000 "solaris_getc_strict_stdc";
7003 * File name selection pattern
7005 tSCC zSolaris_Getc_Strict_StdcList[] =
7006 "iso/stdio_iso.h\0";
7008 * Machine/OS name selection pattern
7010 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7012 (const char*)NULL };
7015 * content selection pattern - do fix if pattern found
7017 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7018 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7020 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
7021 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7022 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7025 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
7027 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7029 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7034 * Description of Solaris_Gets_C11 fix
7036 tSCC zSolaris_Gets_C11Name[] =
7040 * File name selection pattern
7042 tSCC zSolaris_Gets_C11List[] =
7043 "iso/stdio_iso.h\0";
7045 * Machine/OS name selection pattern
7047 tSCC* apzSolaris_Gets_C11Machs[] = {
7049 (const char*)NULL };
7052 * content selection pattern - do fix if pattern found
7054 tSCC zSolaris_Gets_C11Select0[] =
7055 "(extern char[ \t]*\\*gets\\(char \\*\\));";
7057 #define SOLARIS_GETS_C11_TEST_CT 1
7058 static tTestDesc aSolaris_Gets_C11Tests[] = {
7059 { TT_EGREP, zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7062 * Fix Command Arguments for Solaris_Gets_C11
7064 static const char* apzSolaris_Gets_C11Patch[] = {
7066 "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7067 %1 __attribute__((__deprecated__));\n\
7071 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7073 * Description of Solaris_Gets_Cxx14 fix
7075 tSCC zSolaris_Gets_Cxx14Name[] =
7076 "solaris_gets_cxx14";
7079 * File name selection pattern
7081 tSCC zSolaris_Gets_Cxx14List[] =
7082 "iso/stdio_iso.h\0";
7084 * Machine/OS name selection pattern
7086 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7088 (const char*)NULL };
7091 * content selection pattern - do fix if pattern found
7093 tSCC zSolaris_Gets_Cxx14Select0[] =
7094 "(#if __STDC_VERSION__ < 201112L)\n\
7095 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7097 #define SOLARIS_GETS_CXX14_TEST_CT 1
7098 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7099 { TT_EGREP, zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7102 * Fix Command Arguments for Solaris_Gets_Cxx14
7104 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7106 "%1 && __cplusplus < 201402L\n\
7110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7112 * Description of Solaris_Int_Const fix
7114 tSCC zSolaris_Int_ConstName[] =
7115 "solaris_int_const";
7118 * File name selection pattern
7120 tSCC zSolaris_Int_ConstList[] =
7121 "sys/int_const.h\0";
7123 * Machine/OS name selection pattern
7125 tSCC* apzSolaris_Int_ConstMachs[] = {
7127 (const char*)NULL };
7130 * content selection pattern - do fix if pattern found
7132 tSCC zSolaris_Int_ConstSelect0[] =
7133 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7135 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7137 #define SOLARIS_INT_CONST_TEST_CT 1
7138 static tTestDesc aSolaris_Int_ConstTests[] = {
7139 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7142 * Fix Command Arguments for Solaris_Int_Const
7144 static const char* apzSolaris_Int_ConstPatch[] = {
7146 "#define\tUINT8_C(c)\t(c)\n\
7148 #define\tUINT16_C(c)\t(c)",
7151 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7153 * Description of Solaris_Int_Limits_1 fix
7155 tSCC zSolaris_Int_Limits_1Name[] =
7156 "solaris_int_limits_1";
7159 * File name selection pattern
7161 tSCC zSolaris_Int_Limits_1List[] =
7162 "sys/int_limits.h\0";
7164 * Machine/OS name selection pattern
7166 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7168 (const char*)NULL };
7171 * content selection pattern - do fix if pattern found
7173 tSCC zSolaris_Int_Limits_1Select0[] =
7174 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7175 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7177 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
7178 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7179 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7182 * Fix Command Arguments for Solaris_Int_Limits_1
7184 static const char* apzSolaris_Int_Limits_1Patch[] = {
7186 "#define\tUINT8_MAX\t(255)\n\
7187 #define\tUINT16_MAX\t(65535)",
7190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7192 * Description of Solaris_Int_Limits_2 fix
7194 tSCC zSolaris_Int_Limits_2Name[] =
7195 "solaris_int_limits_2";
7198 * File name selection pattern
7200 tSCC zSolaris_Int_Limits_2List[] =
7201 "sys/int_limits.h\0";
7203 * Machine/OS name selection pattern
7205 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7207 (const char*)NULL };
7210 * content selection pattern - do fix if pattern found
7212 tSCC zSolaris_Int_Limits_2Select0[] =
7213 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7215 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
7216 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7217 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7220 * Fix Command Arguments for Solaris_Int_Limits_2
7222 static const char* apzSolaris_Int_Limits_2Patch[] = {
7224 "#define\t%1_FAST16_%2 %132_%2",
7227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7229 * Description of Solaris_Int_Limits_3 fix
7231 tSCC zSolaris_Int_Limits_3Name[] =
7232 "solaris_int_limits_3";
7235 * File name selection pattern
7237 tSCC zSolaris_Int_Limits_3List[] =
7238 "sys/int_limits.h\0";
7240 * Machine/OS name selection pattern
7242 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7244 (const char*)NULL };
7247 * content selection pattern - do fix if pattern found
7249 tSCC zSolaris_Int_Limits_3Select0[] =
7250 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7252 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
7253 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7254 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7257 * Fix Command Arguments for Solaris_Int_Limits_3
7259 static const char* apzSolaris_Int_Limits_3Patch[] = {
7261 "#define\tSIZE_MAX\t4294967295U",
7264 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7266 * Description of Solaris_Math_1 fix
7268 tSCC zSolaris_Math_1Name[] =
7272 * File name selection pattern
7274 tSCC zSolaris_Math_1List[] =
7277 * Machine/OS name selection pattern
7279 #define apzSolaris_Math_1Machs (const char**)NULL
7282 * content selection pattern - do fix if pattern found
7284 tSCC zSolaris_Math_1Select0[] =
7285 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7288 * content bypass pattern - skip fix if pattern found
7290 tSCC zSolaris_Math_1Bypass0[] =
7293 #define SOLARIS_MATH_1_TEST_CT 2
7294 static tTestDesc aSolaris_Math_1Tests[] = {
7295 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
7296 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
7299 * Fix Command Arguments for Solaris_Math_1
7301 static const char* apzSolaris_Math_1Patch[] = {
7303 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7304 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7307 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7309 * Description of Solaris_Math_10 fix
7311 tSCC zSolaris_Math_10Name[] =
7315 * File name selection pattern
7317 tSCC zSolaris_Math_10List[] =
7320 * Machine/OS name selection pattern
7322 #define apzSolaris_Math_10Machs (const char**)NULL
7325 * content selection pattern - do fix if pattern found
7327 tSCC zSolaris_Math_10Select0[] =
7328 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7330 #define SOLARIS_MATH_10_TEST_CT 1
7331 static tTestDesc aSolaris_Math_10Tests[] = {
7332 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
7335 * Fix Command Arguments for Solaris_Math_10
7337 static const char* apzSolaris_Math_10Patch[] = {
7339 "#define\tisinf(x) __builtin_isinf(x)",
7340 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7341 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7342 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7343 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7348 * Description of Solaris_Math_2 fix
7350 tSCC zSolaris_Math_2Name[] =
7354 * File name selection pattern
7356 tSCC zSolaris_Math_2List[] =
7359 * Machine/OS name selection pattern
7361 #define apzSolaris_Math_2Machs (const char**)NULL
7364 * content selection pattern - do fix if pattern found
7366 tSCC zSolaris_Math_2Select0[] =
7367 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7370 * content bypass pattern - skip fix if pattern found
7372 tSCC zSolaris_Math_2Bypass0[] =
7375 #define SOLARIS_MATH_2_TEST_CT 2
7376 static tTestDesc aSolaris_Math_2Tests[] = {
7377 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
7378 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
7381 * Fix Command Arguments for Solaris_Math_2
7383 static const char* apzSolaris_Math_2Patch[] = {
7385 "#define\tINFINITY\t(__builtin_inff())",
7386 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7391 * Description of Solaris_Math_3 fix
7393 tSCC zSolaris_Math_3Name[] =
7397 * File name selection pattern
7399 tSCC zSolaris_Math_3List[] =
7402 * Machine/OS name selection pattern
7404 #define apzSolaris_Math_3Machs (const char**)NULL
7407 * content selection pattern - do fix if pattern found
7409 tSCC zSolaris_Math_3Select0[] =
7410 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7413 * content bypass pattern - skip fix if pattern found
7415 tSCC zSolaris_Math_3Bypass0[] =
7418 #define SOLARIS_MATH_3_TEST_CT 2
7419 static tTestDesc aSolaris_Math_3Tests[] = {
7420 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
7421 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
7424 * Fix Command Arguments for Solaris_Math_3
7426 static const char* apzSolaris_Math_3Patch[] = {
7428 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7429 "^#define[ \t]+NAN[ \t]+__builtin_nan",
7432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7434 * Description of Solaris_Math_4 fix
7436 tSCC zSolaris_Math_4Name[] =
7440 * File name selection pattern
7442 tSCC zSolaris_Math_4List[] =
7445 * Machine/OS name selection pattern
7447 #define apzSolaris_Math_4Machs (const char**)NULL
7450 * content selection pattern - do fix if pattern found
7452 tSCC zSolaris_Math_4Select0[] =
7453 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7456 * content bypass pattern - skip fix if pattern found
7458 tSCC zSolaris_Math_4Bypass0[] =
7461 #define SOLARIS_MATH_4_TEST_CT 2
7462 static tTestDesc aSolaris_Math_4Tests[] = {
7463 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
7464 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
7467 * Fix Command Arguments for Solaris_Math_4
7469 static const char* apzSolaris_Math_4Patch[] = {
7471 "#define\tfpclassify(x) \\\n\
7472 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7473 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7476 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7478 * Description of Solaris_Math_8 fix
7480 tSCC zSolaris_Math_8Name[] =
7484 * File name selection pattern
7486 tSCC zSolaris_Math_8List[] =
7489 * Machine/OS name selection pattern
7491 #define apzSolaris_Math_8Machs (const char**)NULL
7494 * content selection pattern - do fix if pattern found
7496 tSCC zSolaris_Math_8Select0[] =
7497 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7500 * content bypass pattern - skip fix if pattern found
7502 tSCC zSolaris_Math_8Bypass0[] =
7505 #define SOLARIS_MATH_8_TEST_CT 2
7506 static tTestDesc aSolaris_Math_8Tests[] = {
7507 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
7508 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
7511 * Fix Command Arguments for Solaris_Math_8
7513 static const char* apzSolaris_Math_8Patch[] = {
7515 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7516 \t\t\t ? __builtin_signbitf(x) \\\n\
7517 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7518 \t\t\t ? __builtin_signbitl(x) \\\n\
7519 \t\t\t : __builtin_signbit(x))",
7520 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7525 * Description of Solaris_Math_9 fix
7527 tSCC zSolaris_Math_9Name[] =
7531 * File name selection pattern
7533 tSCC zSolaris_Math_9List[] =
7536 * Machine/OS name selection pattern
7538 #define apzSolaris_Math_9Machs (const char**)NULL
7541 * content selection pattern - do fix if pattern found
7543 tSCC zSolaris_Math_9Select0[] =
7544 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7547 * content bypass pattern - skip fix if pattern found
7549 tSCC zSolaris_Math_9Bypass0[] =
7552 #define SOLARIS_MATH_9_TEST_CT 2
7553 static tTestDesc aSolaris_Math_9Tests[] = {
7554 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
7555 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
7558 * Fix Command Arguments for Solaris_Math_9
7560 static const char* apzSolaris_Math_9Patch[] = {
7562 "#define\t%1(x, y)%2__builtin_%1(x, y)",
7563 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7566 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7568 * Description of Solaris_Math_11 fix
7570 tSCC zSolaris_Math_11Name[] =
7574 * File name selection pattern
7576 tSCC zSolaris_Math_11List[] =
7579 * Machine/OS name selection pattern
7581 #define apzSolaris_Math_11Machs (const char**)NULL
7584 * content selection pattern - do fix if pattern found
7586 tSCC zSolaris_Math_11Select0[] =
7587 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7589 #define SOLARIS_MATH_11_TEST_CT 1
7590 static tTestDesc aSolaris_Math_11Tests[] = {
7591 { TT_EGREP, zSolaris_Math_11Select0, (regex_t*)NULL }, };
7594 * Fix Command Arguments for Solaris_Math_11
7596 static const char* apzSolaris_Math_11Patch[] = {
7599 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7600 \t\t\t ? __builtin_signbitf(x) \\\n\
7601 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
7602 \t\t\t ? __builtin_signbitl(x) \\\n\
7603 \t\t\t : __builtin_signbit(x))",
7604 "^#undef[ \t]+signbit\n\
7605 #if defined\\(__sparc\\)\n\
7606 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7607 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7608 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7609 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7610 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7611 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7612 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7613 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7614 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7615 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7616 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7622 * Description of Solaris_Math_12 fix
7624 tSCC zSolaris_Math_12Name[] =
7628 * File name selection pattern
7630 tSCC zSolaris_Math_12List[] =
7633 * Machine/OS name selection pattern
7635 tSCC* apzSolaris_Math_12Machs[] = {
7637 (const char*)NULL };
7640 * content selection pattern - do fix if pattern found
7642 tSCC zSolaris_Math_12Select0[] =
7643 "#undef.*_GLIBCXX_USE_C99_MATH";
7645 #define SOLARIS_MATH_12_TEST_CT 1
7646 static tTestDesc aSolaris_Math_12Tests[] = {
7647 { TT_EGREP, zSolaris_Math_12Select0, (regex_t*)NULL }, };
7650 * Fix Command Arguments for Solaris_Math_12
7652 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7653 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7658 * Description of Solaris_Once_Init_1 fix
7660 tSCC zSolaris_Once_Init_1Name[] =
7661 "solaris_once_init_1";
7664 * File name selection pattern
7666 tSCC zSolaris_Once_Init_1List[] =
7669 * Machine/OS name selection pattern
7671 tSCC* apzSolaris_Once_Init_1Machs[] = {
7673 (const char*)NULL };
7676 * content selection pattern - do fix if pattern found
7678 tSCC zSolaris_Once_Init_1Select0[] =
7679 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7681 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
7682 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7683 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7686 * Fix Command Arguments for Solaris_Once_Init_1
7688 static const char* apzSolaris_Once_Init_1Patch[] = {
7691 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7696 * Description of Solaris_Posix_Spawn_Restrict fix
7698 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7699 "solaris_posix_spawn_restrict";
7702 * File name selection pattern
7704 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7707 * Machine/OS name selection pattern
7709 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7711 (const char*)NULL };
7714 * content selection pattern - do fix if pattern found
7716 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7717 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7719 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
7720 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7721 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7724 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7726 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7728 "%1*_RESTRICT_KYWD %2%3",
7731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7733 * Description of Solaris_Pow_Int_Overload fix
7735 tSCC zSolaris_Pow_Int_OverloadName[] =
7736 "solaris_pow_int_overload";
7739 * File name selection pattern
7741 tSCC zSolaris_Pow_Int_OverloadList[] =
7744 * Machine/OS name selection pattern
7746 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7748 (const char*)NULL };
7751 * content selection pattern - do fix if pattern found
7753 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7754 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7757 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7758 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7759 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7762 * Fix Command Arguments for Solaris_Pow_Int_Overload
7764 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7766 "#if __cplusplus < 201103L\n\
7771 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7773 * Description of Solaris_Rwlock_Init_1 fix
7775 tSCC zSolaris_Rwlock_Init_1Name[] =
7776 "solaris_rwlock_init_1";
7779 * File name selection pattern
7781 tSCC zSolaris_Rwlock_Init_1List[] =
7784 * Machine/OS name selection pattern
7786 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7788 (const char*)NULL };
7791 * content selection pattern - do fix if pattern found
7793 tSCC zSolaris_Rwlock_Init_1Select0[] =
7794 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7796 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
7797 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7798 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7801 * Fix Command Arguments for Solaris_Rwlock_Init_1
7803 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7805 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7808 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7810 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7815 * Description of Solaris_Std___Filbuf fix
7817 tSCC zSolaris_Std___FilbufName[] =
7818 "solaris_std___filbuf";
7821 * File name selection pattern
7823 tSCC zSolaris_Std___FilbufList[] =
7826 * Machine/OS name selection pattern
7828 tSCC* apzSolaris_Std___FilbufMachs[] = {
7830 (const char*)NULL };
7833 * content selection pattern - do fix if pattern found
7835 tSCC zSolaris_Std___FilbufSelect0[] =
7836 "(using std::perror;\n\
7840 * content bypass pattern - skip fix if pattern found
7842 tSCC zSolaris_Std___FilbufBypass0[] =
7843 "using std::__filbuf";
7845 #define SOLARIS_STD___FILBUF_TEST_CT 2
7846 static tTestDesc aSolaris_Std___FilbufTests[] = {
7847 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7848 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7851 * Fix Command Arguments for Solaris_Std___Filbuf
7853 static const char* apzSolaris_Std___FilbufPatch[] = {
7856 using std::__filbuf;\n\
7857 using std::__flsbuf;\n\
7862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7864 * Description of Solaris_Std_Gets_Cxx14 fix
7866 tSCC zSolaris_Std_Gets_Cxx14Name[] =
7867 "solaris_std_gets_cxx14";
7870 * File name selection pattern
7872 tSCC zSolaris_Std_Gets_Cxx14List[] =
7875 * Machine/OS name selection pattern
7877 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
7879 (const char*)NULL };
7882 * content selection pattern - do fix if pattern found
7884 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
7887 #define SOLARIS_STD_GETS_CXX14_TEST_CT 1
7888 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
7889 { TT_EGREP, zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
7892 * Fix Command Arguments for Solaris_Std_Gets_Cxx14
7894 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
7896 "#if __cplusplus < 201402L\n\
7901 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7903 * Description of Solaris_Stdio_Tag fix
7905 tSCC zSolaris_Stdio_TagName[] =
7906 "solaris_stdio_tag";
7909 * File name selection pattern
7911 tSCC zSolaris_Stdio_TagList[] =
7914 * Machine/OS name selection pattern
7916 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7919 * content selection pattern - do fix if pattern found
7921 tSCC zSolaris_Stdio_TagSelect0[] =
7922 "__cplusplus < 54321L";
7925 * content bypass pattern - skip fix if pattern found
7927 tSCC zSolaris_Stdio_TagBypass0[] =
7930 #define SOLARIS_STDIO_TAG_TEST_CT 2
7931 static tTestDesc aSolaris_Stdio_TagTests[] = {
7932 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7933 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7936 * Fix Command Arguments for Solaris_Stdio_Tag
7938 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7939 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7944 * Description of Solaris_Stdlib_Noreturn fix
7946 tSCC zSolaris_Stdlib_NoreturnName[] =
7947 "solaris_stdlib_noreturn";
7950 * File name selection pattern
7952 tSCC zSolaris_Stdlib_NoreturnList[] =
7953 "iso/stdlib_c99.h\0";
7955 * Machine/OS name selection pattern
7957 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
7959 (const char*)NULL };
7962 * content selection pattern - do fix if pattern found
7964 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
7965 "(extern) _Noreturn (void quick_exit\\(int\\));";
7967 #define SOLARIS_STDLIB_NORETURN_TEST_CT 1
7968 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
7969 { TT_EGREP, zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
7972 * Fix Command Arguments for Solaris_Stdlib_Noreturn
7974 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
7976 "%1 %2 __attribute__((__noreturn__));",
7979 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7981 * Description of Statsswtch fix
7983 tSCC zStatsswtchName[] =
7987 * File name selection pattern
7989 tSCC zStatsswtchList[] =
7992 * Machine/OS name selection pattern
7994 #define apzStatsswtchMachs (const char**)NULL
7997 * content selection pattern - do fix if pattern found
7999 tSCC zStatsswtchSelect0[] =
8002 #define STATSSWTCH_TEST_CT 1
8003 static tTestDesc aStatsswtchTests[] = {
8004 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
8007 * Fix Command Arguments for Statsswtch
8009 static const char* apzStatsswtchPatch[] = {
8014 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8016 * Description of Stdio_Stdarg_H fix
8018 tSCC zStdio_Stdarg_HName[] =
8022 * File name selection pattern
8024 tSCC zStdio_Stdarg_HList[] =
8027 * Machine/OS name selection pattern
8029 tSCC* apzStdio_Stdarg_HMachs[] = {
8030 "*-*-solaris2.1[0-9]*",
8031 (const char*)NULL };
8034 * content bypass pattern - skip fix if pattern found
8036 tSCC zStdio_Stdarg_HBypass0[] =
8037 "include.*(stdarg.h|machine/ansi.h)";
8039 #define STDIO_STDARG_H_TEST_CT 1
8040 static tTestDesc aStdio_Stdarg_HTests[] = {
8041 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8044 * Fix Command Arguments for Stdio_Stdarg_H
8046 static const char* apzStdio_Stdarg_HPatch[] = {
8048 "#define __need___va_list\n\
8049 #include <stdarg.h>\n",
8052 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8054 * Description of Stdio_Va_List fix
8056 tSCC zStdio_Va_ListName[] =
8060 * File name selection pattern
8062 tSCC zStdio_Va_ListList[] =
8065 * Machine/OS name selection pattern
8067 tSCC* apzStdio_Va_ListMachs[] = {
8068 "*-*-solaris2.1[0-9]*",
8069 (const char*)NULL };
8072 * content bypass pattern - skip fix if pattern found
8074 tSCC zStdio_Va_ListBypass0[] =
8075 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8077 #define STDIO_VA_LIST_TEST_CT 1
8078 static tTestDesc aStdio_Va_ListTests[] = {
8079 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8082 * Fix Command Arguments for Stdio_Va_List
8084 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8085 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8086 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8087 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8088 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8089 s@ va_list@ __not_va_list__@\n\
8090 s@\\*va_list@*__not_va_list__@\n\
8091 s@ __va_list)@ __gnuc_va_list)@\n\
8092 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8093 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8094 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8095 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8096 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8097 s@VA_LIST@DUMMY_VA_LIST@\n\
8098 s@_Va_LIST@_VA_LIST@",
8101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8103 * Description of Stdio_Va_List_Clients fix
8105 tSCC zStdio_Va_List_ClientsName[] =
8106 "stdio_va_list_clients";
8109 * File name selection pattern
8111 tSCC zStdio_Va_List_ClientsList[] =
8112 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8114 * Machine/OS name selection pattern
8116 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8119 * content bypass pattern - skip fix if pattern found
8121 tSCC zStdio_Va_List_ClientsBypass0[] =
8122 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8123 tSCC zStdio_Va_List_ClientsBypass1[] =
8124 "include <stdarg\\.h>|#ifdef va_start";
8126 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8127 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8128 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8129 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8132 * Fix Command Arguments for Stdio_Va_List_Clients
8134 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8135 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8136 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8137 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8138 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8139 s@ va_list@ __not_va_list__@\n\
8140 s@\\*va_list@*__not_va_list__@\n\
8141 s@ __va_list)@ __gnuc_va_list)@\n\
8142 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8143 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8144 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8145 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8146 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8147 s@VA_LIST@DUMMY_VA_LIST@\n\
8148 s@_Va_LIST@_VA_LIST@",
8151 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8153 * Description of Strict_Ansi_Not fix
8155 tSCC zStrict_Ansi_NotName[] =
8159 * File name selection pattern
8161 #define zStrict_Ansi_NotList (char*)NULL
8163 * Machine/OS name selection pattern
8165 #define apzStrict_Ansi_NotMachs (const char**)NULL
8168 * content selection pattern - do fix if pattern found
8170 tSCC zStrict_Ansi_NotSelect0[] =
8171 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8174 * content bypass pattern - skip fix if pattern found
8176 tSCC zStrict_Ansi_NotBypass0[] =
8177 "GNU and MIPS C compilers define __STDC__ differently";
8178 tSCC zStrict_Ansi_NotBypass1[] =
8179 "__SCO_VERSION__.*__STDC__ != 1";
8182 * perform the C function call test
8184 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8186 #define STRICT_ANSI_NOT_TEST_CT 4
8187 static tTestDesc aStrict_Ansi_NotTests[] = {
8188 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
8189 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8190 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8191 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8194 * Fix Command Arguments for Strict_Ansi_Not
8196 static const char* apzStrict_Ansi_NotPatch[] = {
8198 "%1 !defined(__STRICT_ANSI__)",
8201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8203 * Description of Strict_Ansi_Not_Ctd fix
8205 tSCC zStrict_Ansi_Not_CtdName[] =
8206 "strict_ansi_not_ctd";
8209 * File name selection pattern
8211 tSCC zStrict_Ansi_Not_CtdList[] =
8212 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8214 * Machine/OS name selection pattern
8216 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8219 * content selection pattern - do fix if pattern found
8221 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8222 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8225 * perform the C function call test
8227 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8229 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
8230 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8231 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
8232 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8235 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8237 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8239 "%1 !defined(__STRICT_ANSI__)",
8242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8244 * Description of Strict_Ansi_Only fix
8246 tSCC zStrict_Ansi_OnlyName[] =
8250 * File name selection pattern
8252 #define zStrict_Ansi_OnlyList (char*)NULL
8254 * Machine/OS name selection pattern
8256 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8259 * content selection pattern - do fix if pattern found
8261 tSCC zStrict_Ansi_OnlySelect0[] =
8262 "^([ \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)";
8265 * perform the C function call test
8267 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8269 #define STRICT_ANSI_ONLY_TEST_CT 2
8270 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8271 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
8272 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8275 * Fix Command Arguments for Strict_Ansi_Only
8277 static const char* apzStrict_Ansi_OnlyPatch[] = {
8279 "%1 defined(__STRICT_ANSI__)",
8282 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8284 * Description of Struct_File fix
8286 tSCC zStruct_FileName[] =
8290 * File name selection pattern
8292 tSCC zStruct_FileList[] =
8295 * Machine/OS name selection pattern
8297 #define apzStruct_FileMachs (const char**)NULL
8300 * content selection pattern - do fix if pattern found
8302 tSCC zStruct_FileSelect0[] =
8303 "^.*xdrstdio_create.*struct __file_s";
8305 #define STRUCT_FILE_TEST_CT 1
8306 static tTestDesc aStruct_FileTests[] = {
8307 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
8310 * Fix Command Arguments for Struct_File
8312 static const char* apzStruct_FilePatch[] = {
8314 "struct __file_s;\n\
8318 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8320 * Description of Struct_Sockaddr fix
8322 tSCC zStruct_SockaddrName[] =
8326 * File name selection pattern
8328 tSCC zStruct_SockaddrList[] =
8331 * Machine/OS name selection pattern
8333 #define apzStruct_SockaddrMachs (const char**)NULL
8336 * content selection pattern - do fix if pattern found
8338 tSCC zStruct_SockaddrSelect0[] =
8339 "^.*authdes_create.*struct sockaddr[^_]";
8342 * content bypass pattern - skip fix if pattern found
8344 tSCC zStruct_SockaddrBypass0[] =
8346 tSCC zStruct_SockaddrBypass1[] =
8347 "struct sockaddr;\n";
8349 #define STRUCT_SOCKADDR_TEST_CT 3
8350 static tTestDesc aStruct_SockaddrTests[] = {
8351 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
8352 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
8353 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8356 * Fix Command Arguments for Struct_Sockaddr
8358 static const char* apzStruct_SockaddrPatch[] = {
8360 "struct sockaddr;\n\
8364 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8366 * Description of Sun_Auth_Proto fix
8368 tSCC zSun_Auth_ProtoName[] =
8372 * File name selection pattern
8374 tSCC zSun_Auth_ProtoList[] =
8375 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8377 * Machine/OS name selection pattern
8379 #define apzSun_Auth_ProtoMachs (const char**)NULL
8382 * content selection pattern - do fix if pattern found
8384 tSCC zSun_Auth_ProtoSelect0[] =
8385 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8388 * content bypass pattern - skip fix if pattern found
8390 tSCC zSun_Auth_ProtoBypass0[] =
8393 #define SUN_AUTH_PROTO_TEST_CT 2
8394 static tTestDesc aSun_Auth_ProtoTests[] = {
8395 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8396 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8399 * Fix Command Arguments for Sun_Auth_Proto
8401 static const char* apzSun_Auth_ProtoPatch[] = {
8403 "#ifdef __cplusplus\n\
8408 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8413 * Description of Sun_Bogus_Ifdef fix
8415 tSCC zSun_Bogus_IfdefName[] =
8419 * File name selection pattern
8421 tSCC zSun_Bogus_IfdefList[] =
8422 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8424 * Machine/OS name selection pattern
8426 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8429 * content selection pattern - do fix if pattern found
8431 tSCC zSun_Bogus_IfdefSelect0[] =
8432 "#ifdef(.*\\|\\|.*)";
8434 #define SUN_BOGUS_IFDEF_TEST_CT 1
8435 static tTestDesc aSun_Bogus_IfdefTests[] = {
8436 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8439 * Fix Command Arguments for Sun_Bogus_Ifdef
8441 static const char* apzSun_Bogus_IfdefPatch[] = {
8446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8448 * Description of Sun_Catmacro fix
8450 tSCC zSun_CatmacroName[] =
8454 * File name selection pattern
8456 tSCC zSun_CatmacroList[] =
8457 "pixrect/memvar.h\0";
8459 * Machine/OS name selection pattern
8461 #define apzSun_CatmacroMachs (const char**)NULL
8464 * content selection pattern - do fix if pattern found
8466 tSCC zSun_CatmacroSelect0[] =
8467 "^#define[ \t]+CAT\\(a,b\\).*";
8469 #define SUN_CATMACRO_TEST_CT 1
8470 static tTestDesc aSun_CatmacroTests[] = {
8471 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
8474 * Fix Command Arguments for Sun_Catmacro
8476 static const char* apzSun_CatmacroPatch[] = {
8479 # define CAT(a,b) a##b\n\
8485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8487 * Description of Sun_Malloc fix
8489 tSCC zSun_MallocName[] =
8493 * File name selection pattern
8495 tSCC zSun_MallocList[] =
8498 * Machine/OS name selection pattern
8500 #define apzSun_MallocMachs (const char**)NULL
8503 * content bypass pattern - skip fix if pattern found
8505 tSCC zSun_MallocBypass0[] =
8506 "_CLASSIC_ANSI_TYPES";
8508 #define SUN_MALLOC_TEST_CT 1
8509 static tTestDesc aSun_MallocTests[] = {
8510 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
8513 * Fix Command Arguments for Sun_Malloc
8515 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8516 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8517 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8518 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8519 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8520 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8525 * Description of Sun_Rusers_Semi fix
8527 tSCC zSun_Rusers_SemiName[] =
8531 * File name selection pattern
8533 tSCC zSun_Rusers_SemiList[] =
8534 "rpcsvc/rusers.h\0";
8536 * Machine/OS name selection pattern
8538 #define apzSun_Rusers_SemiMachs (const char**)NULL
8541 * content selection pattern - do fix if pattern found
8543 tSCC zSun_Rusers_SemiSelect0[] =
8546 #define SUN_RUSERS_SEMI_TEST_CT 1
8547 static tTestDesc aSun_Rusers_SemiTests[] = {
8548 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8551 * Fix Command Arguments for Sun_Rusers_Semi
8553 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8554 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8557 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8559 * Description of Sun_Signal fix
8561 tSCC zSun_SignalName[] =
8565 * File name selection pattern
8567 tSCC zSun_SignalList[] =
8568 "sys/signal.h\0signal.h\0";
8570 * Machine/OS name selection pattern
8572 #define apzSun_SignalMachs (const char**)NULL
8575 * content selection pattern - do fix if pattern found
8577 tSCC zSun_SignalSelect0[] =
8578 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8580 #define SUN_SIGNAL_TEST_CT 1
8581 static tTestDesc aSun_SignalTests[] = {
8582 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
8585 * Fix Command Arguments for Sun_Signal
8587 static const char* apzSun_SignalPatch[] = {
8589 "#ifdef __cplusplus\n\
8590 void\t(*signal(...))(...);\n\
8596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8598 * Description of Sunos_Strlen fix
8600 tSCC zSunos_StrlenName[] =
8604 * File name selection pattern
8606 tSCC zSunos_StrlenList[] =
8609 * Machine/OS name selection pattern
8611 #define apzSunos_StrlenMachs (const char**)NULL
8614 * content selection pattern - do fix if pattern found
8616 tSCC zSunos_StrlenSelect0[] =
8617 "int[ \t]*strlen\\(\\);(.*)";
8619 #define SUNOS_STRLEN_TEST_CT 1
8620 static tTestDesc aSunos_StrlenTests[] = {
8621 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
8624 * Fix Command Arguments for Sunos_Strlen
8626 static const char* apzSunos_StrlenPatch[] = {
8628 "__SIZE_TYPE__ strlen();%1",
8631 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8633 * Description of Suse_Linux_Vt_Cxx fix
8635 tSCC zSuse_Linux_Vt_CxxName[] =
8636 "suse_linux_vt_cxx";
8639 * File name selection pattern
8641 tSCC zSuse_Linux_Vt_CxxList[] =
8644 * Machine/OS name selection pattern
8646 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8649 * content selection pattern - do fix if pattern found
8651 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8652 "^[ \t]*unsigned int new;";
8654 #define SUSE_LINUX_VT_CXX_TEST_CT 1
8655 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8656 { TT_EGREP, zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8659 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8661 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8663 "unsigned int newev;",
8666 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8668 * Description of Svr4_Disable_Opt fix
8670 tSCC zSvr4_Disable_OptName[] =
8674 * File name selection pattern
8676 tSCC zSvr4_Disable_OptList[] =
8679 * Machine/OS name selection pattern
8681 #define apzSvr4_Disable_OptMachs (const char**)NULL
8684 * content selection pattern - do fix if pattern found
8686 tSCC zSvr4_Disable_OptSelect0[] =
8687 "#define.*__std_hdr_";
8689 #define SVR4_DISABLE_OPT_TEST_CT 1
8690 static tTestDesc aSvr4_Disable_OptTests[] = {
8691 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8694 * Fix Command Arguments for Svr4_Disable_Opt
8696 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8697 "-e", "/#define.*__std_hdr_/d",
8700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8702 * Description of Svr4_Getcwd fix
8704 tSCC zSvr4_GetcwdName[] =
8708 * File name selection pattern
8710 tSCC zSvr4_GetcwdList[] =
8711 "stdlib.h\0unistd.h\0prototypes.h\0";
8713 * Machine/OS name selection pattern
8715 #define apzSvr4_GetcwdMachs (const char**)NULL
8718 * content selection pattern - do fix if pattern found
8720 tSCC zSvr4_GetcwdSelect0[] =
8721 "getcwd\\(char \\*, int\\)";
8723 #define SVR4_GETCWD_TEST_CT 1
8724 static tTestDesc aSvr4_GetcwdTests[] = {
8725 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8728 * Fix Command Arguments for Svr4_Getcwd
8730 static const char* apzSvr4_GetcwdPatch[] = {
8732 "getcwd(char *, size_t)",
8735 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8737 * Description of Svr4_Profil fix
8739 tSCC zSvr4_ProfilName[] =
8743 * File name selection pattern
8745 tSCC zSvr4_ProfilList[] =
8746 "stdlib.h\0unistd.h\0";
8748 * Machine/OS name selection pattern
8750 #define apzSvr4_ProfilMachs (const char**)NULL
8753 * content selection pattern - do fix if pattern found
8755 tSCC zSvr4_ProfilSelect0[] =
8756 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8758 #define SVR4_PROFIL_TEST_CT 1
8759 static tTestDesc aSvr4_ProfilTests[] = {
8760 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8763 * Fix Command Arguments for Svr4_Profil
8765 static const char* apzSvr4_ProfilPatch[] = {
8767 "profil(unsigned short *, size_t, int, unsigned int)",
8770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8772 * Description of Svr4_Sighandler_Type fix
8774 tSCC zSvr4_Sighandler_TypeName[] =
8775 "svr4_sighandler_type";
8778 * File name selection pattern
8780 tSCC zSvr4_Sighandler_TypeList[] =
8783 * Machine/OS name selection pattern
8785 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8788 * content selection pattern - do fix if pattern found
8790 tSCC zSvr4_Sighandler_TypeSelect0[] =
8791 "void *\\(\\*\\)\\(\\)";
8793 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8794 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8795 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8798 * Fix Command Arguments for Svr4_Sighandler_Type
8800 static const char* apzSvr4_Sighandler_TypePatch[] = {
8805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8807 * Description of Svr4_Undeclared_Getrnge fix
8809 tSCC zSvr4_Undeclared_GetrngeName[] =
8810 "svr4_undeclared_getrnge";
8813 * File name selection pattern
8815 tSCC zSvr4_Undeclared_GetrngeList[] =
8818 * Machine/OS name selection pattern
8820 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8823 * content selection pattern - do fix if pattern found
8825 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8829 * content bypass pattern - skip fix if pattern found
8831 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8832 "static void getrnge";
8834 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8835 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8836 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8837 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8840 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8842 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8845 static int getrnge ();",
8846 "^static int[ \t]+size;",
8849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8851 * Description of Sysv68_String fix
8853 tSCC zSysv68_StringName[] =
8857 * File name selection pattern
8859 tSCC zSysv68_StringList[] =
8860 "testing.h\0string.h\0";
8862 * Machine/OS name selection pattern
8864 #define apzSysv68_StringMachs (const char**)NULL
8867 * content bypass pattern - skip fix if pattern found
8869 tSCC zSysv68_StringBypass0[] =
8870 "_CLASSIC_ANSI_TYPES";
8872 #define SYSV68_STRING_TEST_CT 1
8873 static tTestDesc aSysv68_StringTests[] = {
8874 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
8877 * Fix Command Arguments for Sysv68_String
8879 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8880 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8881 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8882 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8883 "-e", "/^extern char$/N",
8884 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8885 "-e", "/^extern int$/N",
8886 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8887 "-e", "/^\tstrncmp(),$/N",
8888 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8889 extern unsigned int\\\n\
8893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8895 * Description of Sysz_Stdlib_For_Sun fix
8897 tSCC zSysz_Stdlib_For_SunName[] =
8898 "sysz_stdlib_for_sun";
8901 * File name selection pattern
8903 tSCC zSysz_Stdlib_For_SunList[] =
8906 * Machine/OS name selection pattern
8908 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8911 * content selection pattern - do fix if pattern found
8913 tSCC zSysz_Stdlib_For_SunSelect0[] =
8914 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8917 * content bypass pattern - skip fix if pattern found
8919 tSCC zSysz_Stdlib_For_SunBypass0[] =
8920 "_CLASSIC_ANSI_TYPES";
8922 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8923 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8924 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8925 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8928 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8930 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8937 * Description of Thread_Keyword fix
8939 tSCC zThread_KeywordName[] =
8943 * File name selection pattern
8945 tSCC zThread_KeywordList[] =
8946 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8948 * Machine/OS name selection pattern
8950 #define apzThread_KeywordMachs (const char**)NULL
8953 * content selection pattern - do fix if pattern found
8955 tSCC zThread_KeywordSelect0[] =
8956 "([* ])__thread([,)])";
8958 #define THREAD_KEYWORD_TEST_CT 1
8959 static tTestDesc aThread_KeywordTests[] = {
8960 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
8963 * Fix Command Arguments for Thread_Keyword
8965 static const char* apzThread_KeywordPatch[] = {
8970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8972 * Description of Tinfo_Cplusplus fix
8974 tSCC zTinfo_CplusplusName[] =
8978 * File name selection pattern
8980 tSCC zTinfo_CplusplusList[] =
8983 * Machine/OS name selection pattern
8985 #define apzTinfo_CplusplusMachs (const char**)NULL
8988 * content selection pattern - do fix if pattern found
8990 tSCC zTinfo_CplusplusSelect0[] =
8993 #define TINFO_CPLUSPLUS_TEST_CT 1
8994 static tTestDesc aTinfo_CplusplusTests[] = {
8995 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8998 * Fix Command Arguments for Tinfo_Cplusplus
9000 static const char* apzTinfo_CplusplusPatch[] = {
9005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9007 * Description of Ultrix_Const fix
9009 tSCC zUltrix_ConstName[] =
9013 * File name selection pattern
9015 tSCC zUltrix_ConstList[] =
9018 * Machine/OS name selection pattern
9020 #define apzUltrix_ConstMachs (const char**)NULL
9023 * content selection pattern - do fix if pattern found
9025 tSCC zUltrix_ConstSelect0[] =
9026 "perror\\( char \\*";
9028 #define ULTRIX_CONST_TEST_CT 1
9029 static tTestDesc aUltrix_ConstTests[] = {
9030 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
9033 * Fix Command Arguments for Ultrix_Const
9035 static const char* apzUltrix_ConstPatch[] = {
9038 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9041 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9043 * Description of Ultrix_Const2 fix
9045 tSCC zUltrix_Const2Name[] =
9049 * File name selection pattern
9051 tSCC zUltrix_Const2List[] =
9054 * Machine/OS name selection pattern
9056 #define apzUltrix_Const2Machs (const char**)NULL
9059 * content selection pattern - do fix if pattern found
9061 tSCC zUltrix_Const2Select0[] =
9062 "\\*fopen\\( char \\*";
9064 #define ULTRIX_CONST2_TEST_CT 1
9065 static tTestDesc aUltrix_Const2Tests[] = {
9066 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
9069 * Fix Command Arguments for Ultrix_Const2
9071 static const char* apzUltrix_Const2Patch[] = {
9073 "%1( const char *%3, const char *",
9074 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9079 * Description of Va_I960_Macro fix
9081 tSCC zVa_I960_MacroName[] =
9085 * File name selection pattern
9087 tSCC zVa_I960_MacroList[] =
9088 "arch/i960/archI960.h\0";
9090 * Machine/OS name selection pattern
9092 #define apzVa_I960_MacroMachs (const char**)NULL
9095 * content selection pattern - do fix if pattern found
9097 tSCC zVa_I960_MacroSelect0[] =
9098 "__(vsiz|vali|vpad|alignof__)";
9100 #define VA_I960_MACRO_TEST_CT 1
9101 static tTestDesc aVa_I960_MacroTests[] = {
9102 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9105 * Fix Command Arguments for Va_I960_Macro
9107 static const char* apzVa_I960_MacroPatch[] = {
9112 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9114 * Description of Vms_Add_Missing_Braces fix
9116 tSCC zVms_Add_Missing_BracesName[] =
9117 "vms_add_missing_braces";
9120 * File name selection pattern
9122 tSCC zVms_Add_Missing_BracesList[] =
9123 "rtldef/signal.h\0";
9125 * Machine/OS name selection pattern
9127 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9129 (const char*)NULL };
9132 * content selection pattern - do fix if pattern found
9134 tSCC zVms_Add_Missing_BracesSelect0[] =
9135 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9137 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
9138 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9139 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9142 * Fix Command Arguments for Vms_Add_Missing_Braces
9144 static const char* apzVms_Add_Missing_BracesPatch[] = {
9149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9151 * Description of Vms_Decc_Builtin fix
9153 tSCC zVms_Decc_BuiltinName[] =
9157 * File name selection pattern
9159 tSCC zVms_Decc_BuiltinList[] =
9160 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9162 * Machine/OS name selection pattern
9164 tSCC* apzVms_Decc_BuiltinMachs[] = {
9166 (const char*)NULL };
9169 * content selection pattern - do fix if pattern found
9171 tSCC zVms_Decc_BuiltinSelect0[] =
9172 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9174 #define VMS_DECC_BUILTIN_TEST_CT 1
9175 static tTestDesc aVms_Decc_BuiltinTests[] = {
9176 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9179 * Fix Command Arguments for Vms_Decc_Builtin
9181 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9182 "-e", "s@__MEMSET@memset@",
9183 "-e", "s@__MEMMOVE@memmove@",
9184 "-e", "s@__MEMCPY@memcpy@",
9185 "-e", "s@__STRLEN@strlen@",
9186 "-e", "s@__STRCPY@strcpy@",
9189 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9191 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9193 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9194 "vms_define_can_use_extern_prefix";
9197 * File name selection pattern
9199 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9200 "rtldef/decc$types.h\0";
9202 * Machine/OS name selection pattern
9204 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9206 (const char*)NULL };
9209 * content selection pattern - do fix if pattern found
9211 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9213 #[ \t]*if defined\\(__DECCXX\\)\n\
9214 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9216 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9217 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9218 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9221 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9223 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9225 "%0# elif defined (__GNUC__)\n\
9226 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9229 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9231 * Description of Vms_Disable_Decc_String_Builtins fix
9233 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9234 "vms_disable_decc_string_builtins";
9237 * File name selection pattern
9239 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9240 "rtldef/string.h\0";
9242 * Machine/OS name selection pattern
9244 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9246 (const char*)NULL };
9249 * content selection pattern - do fix if pattern found
9251 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9252 "#if !defined\\(__VAX\\)\n";
9254 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9255 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9256 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9259 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9261 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9263 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9268 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9270 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9271 "vms_do_not_redeclare_hostalias";
9274 * File name selection pattern
9276 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9277 "rtldef/resolv.h\0";
9279 * Machine/OS name selection pattern
9281 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9283 (const char*)NULL };
9286 * content selection pattern - do fix if pattern found
9288 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9289 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9290 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9292 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9293 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9294 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9297 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9299 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9307 * Description of Vms_Forward_Declare_Struct fix
9309 tSCC zVms_Forward_Declare_StructName[] =
9310 "vms_forward_declare_struct";
9313 * File name selection pattern
9315 tSCC zVms_Forward_Declare_StructList[] =
9318 * Machine/OS name selection pattern
9320 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9322 (const char*)NULL };
9325 * content selection pattern - do fix if pattern found
9327 tSCC zVms_Forward_Declare_StructSelect0[] =
9328 "(/\\* forward decls for C\\+\\+ \\*/\n\
9329 )#ifdef __cplusplus\n";
9331 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9332 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9333 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9336 * Fix Command Arguments for Vms_Forward_Declare_Struct
9338 static const char* apzVms_Forward_Declare_StructPatch[] = {
9340 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9345 * Description of Vms_No_64bit_Getopt fix
9347 tSCC zVms_No_64bit_GetoptName[] =
9348 "vms_no_64bit_getopt";
9351 * File name selection pattern
9353 tSCC zVms_No_64bit_GetoptList[] =
9354 "rtldef/stdio.h\0rtldef/unistd.h\0";
9356 * Machine/OS name selection pattern
9358 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9360 (const char*)NULL };
9363 * content selection pattern - do fix if pattern found
9365 tSCC zVms_No_64bit_GetoptSelect0[] =
9366 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9368 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
9369 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9370 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9373 * Fix Command Arguments for Vms_No_64bit_Getopt
9375 static const char* apzVms_No_64bit_GetoptPatch[] = {
9377 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9381 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9383 * Description of Vms_Use_Fast_Setjmp fix
9385 tSCC zVms_Use_Fast_SetjmpName[] =
9386 "vms_use_fast_setjmp";
9389 * File name selection pattern
9391 tSCC zVms_Use_Fast_SetjmpList[] =
9392 "rtldef/setjmp.h\0";
9394 * Machine/OS name selection pattern
9396 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9398 (const char*)NULL };
9401 * content selection pattern - do fix if pattern found
9403 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9404 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9406 #define VMS_USE_FAST_SETJMP_TEST_CT 1
9407 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9408 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9411 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9413 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9415 "%0 defined (__GNUC__) ||",
9418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9420 * Description of Vms_Use_Pragma_Extern_Model fix
9422 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9423 "vms_use_pragma_extern_model";
9426 * File name selection pattern
9428 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9430 * Machine/OS name selection pattern
9432 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9434 (const char*)NULL };
9437 * content selection pattern - do fix if pattern found
9439 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9440 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9441 # pragma extern_model __save\n";
9443 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9444 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9445 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9448 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9450 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9452 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9453 # pragma extern_model __save\n",
9456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9458 * Description of Vms_Use_Quoted_Include fix
9460 tSCC zVms_Use_Quoted_IncludeName[] =
9461 "vms_use_quoted_include";
9464 * File name selection pattern
9466 tSCC zVms_Use_Quoted_IncludeList[] =
9467 "rtldef/wait.h\0starlet_c/pthread.h\0";
9469 * Machine/OS name selection pattern
9471 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9473 (const char*)NULL };
9476 * content selection pattern - do fix if pattern found
9478 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9479 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9481 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9482 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9483 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9486 * Fix Command Arguments for Vms_Use_Quoted_Include
9488 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9493 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9495 * Description of Void_Null fix
9497 tSCC zVoid_NullName[] =
9501 * File name selection pattern
9503 tSCC zVoid_NullList[] =
9504 "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";
9506 * Machine/OS name selection pattern
9508 #define apzVoid_NullMachs (const char**)NULL
9511 * content selection pattern - do fix if pattern found
9513 tSCC zVoid_NullSelect0[] =
9514 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9517 * content bypass pattern - skip fix if pattern found
9519 tSCC zVoid_NullBypass0[] =
9521 tSCC zVoid_NullBypass1[] =
9524 #define VOID_NULL_TEST_CT 3
9525 static tTestDesc aVoid_NullTests[] = {
9526 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
9527 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
9528 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
9531 * Fix Command Arguments for Void_Null
9533 static const char* apzVoid_NullPatch[] = {
9536 #ifdef __cplusplus\n\
9538 #define NULL __null\n\
9539 #else /* ! __GNUG__ */\n\
9541 #endif /* __GNUG__ */\n\
9542 #else /* ! __cplusplus */\n\
9543 #define NULL ((void *)0)\n\
9544 #endif /* __cplusplus */\n\
9545 #endif /* !NULL */",
9548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9550 * Description of Vxworks_Gcc_Problem fix
9552 tSCC zVxworks_Gcc_ProblemName[] =
9553 "vxworks_gcc_problem";
9556 * File name selection pattern
9558 tSCC zVxworks_Gcc_ProblemList[] =
9559 "types/vxTypesBase.h\0";
9561 * Machine/OS name selection pattern
9563 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9566 * content selection pattern - do fix if pattern found
9568 tSCC zVxworks_Gcc_ProblemSelect0[] =
9569 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9571 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
9572 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9573 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9576 * Fix Command Arguments for Vxworks_Gcc_Problem
9578 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9579 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9580 "-e", "/[ \t]size_t/i\\\n\
9581 #ifndef _GCC_SIZE_T\\\n\
9582 #define _GCC_SIZE_T\n",
9583 "-e", "/[ \t]size_t/a\\\n\
9585 "-e", "/[ \t]ptrdiff_t/i\\\n\
9586 #ifndef _GCC_PTRDIFF_T\\\n\
9587 #define _GCC_PTRDIFF_T\n",
9588 "-e", "/[ \t]ptrdiff_t/a\\\n\
9590 "-e", "/[ \t]wchar_t/i\\\n\
9591 #ifndef _GCC_WCHAR_T\\\n\
9592 #define _GCC_WCHAR_T\n",
9593 "-e", "/[ \t]wchar_t/a\\\n\
9597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9599 * Description of Vxworks_Ioctl_Macro fix
9601 tSCC zVxworks_Ioctl_MacroName[] =
9602 "vxworks_ioctl_macro";
9605 * File name selection pattern
9607 tSCC zVxworks_Ioctl_MacroList[] =
9610 * Machine/OS name selection pattern
9612 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9614 (const char*)NULL };
9615 #define VXWORKS_IOCTL_MACRO_TEST_CT 0
9616 #define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
9619 * Fix Command Arguments for Vxworks_Ioctl_Macro
9621 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9624 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
9625 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9628 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9630 * Description of Vxworks_Mkdir_Macro fix
9632 tSCC zVxworks_Mkdir_MacroName[] =
9633 "vxworks_mkdir_macro";
9636 * File name selection pattern
9638 tSCC zVxworks_Mkdir_MacroList[] =
9641 * Machine/OS name selection pattern
9643 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9645 (const char*)NULL };
9646 #define VXWORKS_MKDIR_MACRO_TEST_CT 0
9647 #define aVxworks_Mkdir_MacroTests (tTestDesc*)NULL
9650 * Fix Command Arguments for Vxworks_Mkdir_Macro
9652 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9655 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9656 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9661 * Description of Vxworks_Needs_Vxtypes fix
9663 tSCC zVxworks_Needs_VxtypesName[] =
9664 "vxworks_needs_vxtypes";
9667 * File name selection pattern
9669 tSCC zVxworks_Needs_VxtypesList[] =
9672 * Machine/OS name selection pattern
9674 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9677 * content selection pattern - do fix if pattern found
9679 tSCC zVxworks_Needs_VxtypesSelect0[] =
9680 "uint_t([ \t]+_clocks_per_sec)";
9682 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9683 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9684 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9687 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9689 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9696 * Description of Vxworks_Needs_Vxworks fix
9698 tSCC zVxworks_Needs_VxworksName[] =
9699 "vxworks_needs_vxworks";
9702 * File name selection pattern
9704 tSCC zVxworks_Needs_VxworksList[] =
9707 * Machine/OS name selection pattern
9709 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9712 * content selection pattern - do fix if pattern found
9714 tSCC zVxworks_Needs_VxworksSelect0[] =
9715 "#[ \t]define[ \t]+__INCstath";
9718 * perform the 'test' shell command - do fix on success
9720 tSCC zVxworks_Needs_VxworksTest0[] =
9721 " -r types/vxTypesOld.h";
9722 tSCC zVxworks_Needs_VxworksTest1[] =
9723 " -n \"`egrep '#include' $file`\"";
9724 tSCC zVxworks_Needs_VxworksTest2[] =
9725 " -n \"`egrep ULONG $file`\"";
9727 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
9728 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9729 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
9730 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
9731 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
9732 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9735 * Fix Command Arguments for Vxworks_Needs_Vxworks
9737 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9738 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9739 #include <types/vxTypesOld.h>\n",
9742 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9744 * Description of Vxworks_Regs fix
9746 tSCC zVxworks_RegsName[] =
9750 * File name selection pattern
9752 #define zVxworks_RegsList (char*)NULL
9754 * Machine/OS name selection pattern
9756 tSCC* apzVxworks_RegsMachs[] = {
9758 (const char*)NULL };
9761 * content selection pattern - do fix if pattern found
9763 tSCC zVxworks_RegsSelect0[] =
9764 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9766 #define VXWORKS_REGS_TEST_CT 1
9767 static tTestDesc aVxworks_RegsTests[] = {
9768 { TT_EGREP, zVxworks_RegsSelect0, (regex_t*)NULL }, };
9771 * Fix Command Arguments for Vxworks_Regs
9773 static const char* apzVxworks_RegsPatch[] = {
9775 "#include <arch/../regs.h>",
9778 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9780 * Description of Vxworks_Time fix
9782 tSCC zVxworks_TimeName[] =
9786 * File name selection pattern
9788 tSCC zVxworks_TimeList[] =
9791 * Machine/OS name selection pattern
9793 #define apzVxworks_TimeMachs (const char**)NULL
9796 * content selection pattern - do fix if pattern found
9798 tSCC zVxworks_TimeSelect0[] =
9799 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9802 * perform the 'test' shell command - do fix on success
9804 tSCC zVxworks_TimeTest0[] =
9807 #define VXWORKS_TIME_TEST_CT 2
9808 static tTestDesc aVxworks_TimeTests[] = {
9809 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
9810 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
9813 * Fix Command Arguments for Vxworks_Time
9815 static const char* apzVxworks_TimePatch[] = {
9817 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9818 #ifdef __cplusplus\n\
9819 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9821 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9823 #define __gcc_VOIDFUNCPTR_defined\n\
9825 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9830 * Description of Vxworks_Write_Const fix
9832 tSCC zVxworks_Write_ConstName[] =
9833 "vxworks_write_const";
9836 * File name selection pattern
9838 tSCC zVxworks_Write_ConstList[] =
9841 * Machine/OS name selection pattern
9843 tSCC* apzVxworks_Write_ConstMachs[] = {
9845 (const char*)NULL };
9846 #define VXWORKS_WRITE_CONST_TEST_CT 0
9847 #define aVxworks_Write_ConstTests (tTestDesc*)NULL
9850 * Fix Command Arguments for Vxworks_Write_Const
9852 static const char* apzVxworks_Write_ConstPatch[] = {
9854 "extern int write (int, const char*, size_t);",
9855 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9860 * Description of X11_Class fix
9862 tSCC zX11_ClassName[] =
9866 * File name selection pattern
9868 tSCC zX11_ClassList[] =
9871 * Machine/OS name selection pattern
9873 #define apzX11_ClassMachs (const char**)NULL
9876 * content selection pattern - do fix if pattern found
9878 tSCC zX11_ClassSelect0[] =
9879 "^([ \t]*char \\*)class;(.*)";
9882 * content bypass pattern - skip fix if pattern found
9884 tSCC zX11_ClassBypass0[] =
9887 #define X11_CLASS_TEST_CT 2
9888 static tTestDesc aX11_ClassTests[] = {
9889 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
9890 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
9893 * Fix Command Arguments for X11_Class
9895 static const char* apzX11_ClassPatch[] = {
9897 "#ifdef __cplusplus\n\
9904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9906 * Description of X11_Class_Usage fix
9908 tSCC zX11_Class_UsageName[] =
9912 * File name selection pattern
9914 tSCC zX11_Class_UsageList[] =
9915 "Xm/BaseClassI.h\0";
9917 * Machine/OS name selection pattern
9919 #define apzX11_Class_UsageMachs (const char**)NULL
9922 * content selection pattern - do fix if pattern found
9924 tSCC zX11_Class_UsageSelect0[] =
9928 * content bypass pattern - skip fix if pattern found
9930 tSCC zX11_Class_UsageBypass0[] =
9933 #define X11_CLASS_USAGE_TEST_CT 2
9934 static tTestDesc aX11_Class_UsageTests[] = {
9935 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
9936 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9939 * Fix Command Arguments for X11_Class_Usage
9941 static const char* apzX11_Class_UsagePatch[] = {
9946 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9948 * Description of X11_New fix
9950 tSCC zX11_NewName[] =
9954 * File name selection pattern
9956 tSCC zX11_NewList[] =
9959 * Machine/OS name selection pattern
9961 #define apzX11_NewMachs (const char**)NULL
9964 * content bypass pattern - skip fix if pattern found
9966 tSCC zX11_NewBypass0[] =
9969 #define X11_NEW_TEST_CT 1
9970 static tTestDesc aX11_NewTests[] = {
9971 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
9974 * Fix Command Arguments for X11_New
9976 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9977 "-e", "/Widget\told, new;/i\\\n\
9978 #ifdef __cplusplus\\\n\
9979 \\\tWidget\told, c_new;\\\n\
9981 "-e", "/Widget\told, new;/a\\\n\
9983 "-e", "s/Widget new,/Widget c_new,/g",
9986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9988 * Description of X11_Sprintf fix
9990 tSCC zX11_SprintfName[] =
9994 * File name selection pattern
9996 tSCC zX11_SprintfList[] =
9997 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9999 * Machine/OS name selection pattern
10001 #define apzX11_SprintfMachs (const char**)NULL
10004 * content selection pattern - do fix if pattern found
10006 tSCC zX11_SprintfSelect0[] =
10007 "^extern char \\*\tsprintf\\(\\);$";
10009 #define X11_SPRINTF_TEST_CT 1
10010 static tTestDesc aX11_SprintfTests[] = {
10011 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
10014 * Fix Command Arguments for X11_Sprintf
10016 static const char* apzX11_SprintfPatch[] = {
10018 "#ifndef __STDC__\n\
10020 #endif /* !defined __STDC__ */",
10024 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10026 * List of all fixes
10028 #define REGEX_COUNT 285
10029 #define MACH_LIST_SIZE_LIMIT 187
10030 #define FIX_COUNT 247
10033 * Enumerate the fixes
10036 AAB_AIX_STDIO_FIXIDX,
10037 AAB_AIX_FCNTL_FIXIDX,
10038 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10039 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10040 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10041 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10042 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10043 AAB_SUN_MEMCPY_FIXIDX,
10044 AAB_VXWORKS_ASSERT_FIXIDX,
10045 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10046 AAB_VXWORKS_UNISTD_FIXIDX,
10048 AIX_COMPLEX_FIXIDX,
10049 AIX_EXTERNC_FIXIDX,
10050 AIX_EXTERNCPP1_FIXIDX,
10051 AIX_EXTERNCPP2_FIXIDX,
10053 AIX_NET_IF_ARP_FIXIDX,
10055 AIX_ONCE_INIT_1_FIXIDX,
10056 AIX_ONCE_INIT_2_FIXIDX,
10057 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10058 AIX_COND_INITIALIZER_1_FIXIDX,
10059 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10060 AIX_PTHREAD_FIXIDX,
10061 AIX_STDINT_1_FIXIDX,
10062 AIX_STDINT_2_FIXIDX,
10063 AIX_STDINT_3_FIXIDX,
10064 AIX_STDINT_4_FIXIDX,
10065 AIX_STDINT_5_FIXIDX,
10066 AIX_STDIO_INLINE_FIXIDX,
10067 AIX_STDLIB_MALLOC_FIXIDX,
10068 AIX_STDLIB_REALLOC_FIXIDX,
10069 AIX_STDLIB_CALLOC_FIXIDX,
10070 AIX_STDLIB_VALLOC_FIXIDX,
10071 AIX_STRTOF_CONST_FIXIDX,
10072 AIX_SYSMACHINE_FIXIDX,
10073 AIX_SYSWAIT_2_FIXIDX,
10074 AIX_VOLATILE_FIXIDX,
10075 ALPHA___ASSERT_FIXIDX,
10076 ALPHA_ASSERT_FIXIDX,
10077 ALPHA_GETOPT_FIXIDX,
10078 ALPHA_IF_SEMICOLON_FIXIDX,
10079 ALPHA_PARENS_FIXIDX,
10081 AVOID_BOOL_DEFINE_FIXIDX,
10082 AVOID_BOOL_TYPE_FIXIDX,
10083 AVOID_WCHAR_T_TYPE_FIXIDX,
10084 BAD_STRUCT_TERM_FIXIDX,
10086 BROKEN_ASSERT_STDIO_FIXIDX,
10087 BROKEN_ASSERT_STDLIB_FIXIDX,
10088 BROKEN_CABS_FIXIDX,
10090 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10091 CTRL_QUOTES_DEF_FIXIDX,
10092 CTRL_QUOTES_USE_FIXIDX,
10093 CXX_UNREADY_FIXIDX,
10094 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10095 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10096 DARWIN_EXTERNC_FIXIDX,
10097 DARWIN_GCC4_BREAKAGE_FIXIDX,
10098 DARWIN_LONGJMP_NORETURN_FIXIDX,
10099 DARWIN_OS_TRACE_1_FIXIDX,
10100 DARWIN_OS_TRACE_2_FIXIDX,
10101 DARWIN_OS_TRACE_3_FIXIDX,
10102 DARWIN_PRIVATE_EXTERN_FIXIDX,
10103 DARWIN_STDINT_1_FIXIDX,
10104 DARWIN_STDINT_2_FIXIDX,
10105 DARWIN_STDINT_3_FIXIDX,
10106 DARWIN_STDINT_4_FIXIDX,
10107 DARWIN_STDINT_5_FIXIDX,
10108 DARWIN_STDINT_6_FIXIDX,
10109 DARWIN_STDINT_7_FIXIDX,
10110 DEC_INTERN_ASM_FIXIDX,
10111 DJGPP_WCHAR_H_FIXIDX,
10113 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10114 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10115 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10116 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10117 GLIBC_C99_INLINE_1_FIXIDX,
10118 GLIBC_C99_INLINE_1A_FIXIDX,
10119 GLIBC_C99_INLINE_2_FIXIDX,
10120 GLIBC_C99_INLINE_3_FIXIDX,
10121 GLIBC_C99_INLINE_4_FIXIDX,
10122 GLIBC_MUTEX_INIT_FIXIDX,
10123 GLIBC_STDINT_FIXIDX,
10124 GLIBC_STRNCPY_FIXIDX,
10125 GLIBC_TGMATH_FIXIDX,
10129 HPPA_HPUX_FP_MACROS_FIXIDX,
10130 HPUX10_CPP_POW_INLINE_FIXIDX,
10131 HPUX11_CPP_POW_INLINE_FIXIDX,
10132 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10133 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10134 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10135 HPPA_HPUX11_ALLOCA_FIXIDX,
10137 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10138 HPUX11_EXTERN_SENDFILE_FIXIDX,
10139 HPUX11_EXTERN_SENDPATH_FIXIDX,
10140 HPUX11_FABSF_FIXIDX,
10141 HPUX11_PTHREAD_POINTER_FIXIDX,
10142 HPUX11_PTHREAD_CONST_FIXIDX,
10143 HPUX11_SIZE_T_FIXIDX,
10144 HPUX11_SNPRINTF_FIXIDX,
10145 HPUX11_VSNPRINTF_FIXIDX,
10146 HPUX_VSSCANF_FIXIDX,
10147 HPUX8_BOGUS_INLINES_FIXIDX,
10148 HPUX_C99_INTPTR_FIXIDX,
10149 HPUX_C99_INTTYPES_FIXIDX,
10150 HPUX_C99_INTTYPES2_FIXIDX,
10151 HPUX_CTYPE_MACROS_FIXIDX,
10152 HPUX_EXTERN_ERRNO_FIXIDX,
10154 HPUX_IMAGINARY_I_FIXIDX,
10155 HPUX_INTTYPE_INT8_T_FIXIDX,
10156 HPUX_LONG_DOUBLE_FIXIDX,
10157 HPUX_LONG_DOUBLE_2_FIXIDX,
10158 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10159 HPUX_SPU_INFO_FIXIDX,
10160 HPUX_STDINT_LEAST_FAST_FIXIDX,
10161 HPUX_LONGJMP_FIXIDX,
10162 HPUX_SYSTIME_FIXIDX,
10163 HUGE_VAL_HEX_FIXIDX,
10164 HUGE_VALF_HEX_FIXIDX,
10165 HUGE_VALL_HEX_FIXIDX,
10166 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10167 IO_QUOTES_DEF_FIXIDX,
10168 IO_QUOTES_USE_FIXIDX,
10169 IP_MISSING_SEMI_FIXIDX,
10170 IRIX_LIMITS_CONST_FIXIDX,
10171 IRIX_STDIO_VA_LIST_FIXIDX,
10172 KANDR_CONCAT_FIXIDX,
10173 LINUX_IA64_UCONTEXT_FIXIDX,
10174 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10175 LYNXOS_MISSING_PUTENV_FIXIDX,
10176 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10177 MACHINE_NAME_FIXIDX,
10178 MATH_EXCEPTION_FIXIDX,
10179 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10180 NESTED_AUTH_DES_FIXIDX,
10181 NETBSD_C99_INLINE_1_FIXIDX,
10182 NETBSD_C99_INLINE_2_FIXIDX,
10183 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10184 NEWLIB_STDINT_1_FIXIDX,
10185 NEWLIB_STDINT_2_FIXIDX,
10186 NEXT_MATH_PREFIX_FIXIDX,
10187 NEXT_TEMPLATE_FIXIDX,
10188 NEXT_VOLITILE_FIXIDX,
10189 NEXT_WAIT_UNION_FIXIDX,
10190 NODEENT_SYNTAX_FIXIDX,
10191 OPENBSD_NULL_DEFINITION_FIXIDX,
10192 OBSTACK_LVALUE_CAST_FIXIDX,
10193 OPENBSD_VA_START_FIXIDX,
10194 OSF_NAMESPACE_A_FIXIDX,
10195 OSF_NAMESPACE_C_FIXIDX,
10196 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10197 READ_RET_TYPE_FIXIDX,
10198 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10199 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10200 RS6000_DOUBLE_FIXIDX,
10201 RS6000_FCHMOD_FIXIDX,
10202 RS6000_PARAM_FIXIDX,
10203 SOLARIS___RESTRICT_FIXIDX,
10204 SOLARIS_COMPLEX_FIXIDX,
10205 SOLARIS_COMPLEX_CXX_FIXIDX,
10206 SOLARIS_CXX_LINKAGE_FIXIDX,
10207 SOLARIS_GETC_STRICT_STDC_FIXIDX,
10208 SOLARIS_GETS_C11_FIXIDX,
10209 SOLARIS_GETS_CXX14_FIXIDX,
10210 SOLARIS_INT_CONST_FIXIDX,
10211 SOLARIS_INT_LIMITS_1_FIXIDX,
10212 SOLARIS_INT_LIMITS_2_FIXIDX,
10213 SOLARIS_INT_LIMITS_3_FIXIDX,
10214 SOLARIS_MATH_1_FIXIDX,
10215 SOLARIS_MATH_10_FIXIDX,
10216 SOLARIS_MATH_2_FIXIDX,
10217 SOLARIS_MATH_3_FIXIDX,
10218 SOLARIS_MATH_4_FIXIDX,
10219 SOLARIS_MATH_8_FIXIDX,
10220 SOLARIS_MATH_9_FIXIDX,
10221 SOLARIS_MATH_11_FIXIDX,
10222 SOLARIS_MATH_12_FIXIDX,
10223 SOLARIS_ONCE_INIT_1_FIXIDX,
10224 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10225 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10226 SOLARIS_RWLOCK_INIT_1_FIXIDX,
10227 SOLARIS_STD___FILBUF_FIXIDX,
10228 SOLARIS_STD_GETS_CXX14_FIXIDX,
10229 SOLARIS_STDIO_TAG_FIXIDX,
10230 SOLARIS_STDLIB_NORETURN_FIXIDX,
10232 STDIO_STDARG_H_FIXIDX,
10233 STDIO_VA_LIST_FIXIDX,
10234 STDIO_VA_LIST_CLIENTS_FIXIDX,
10235 STRICT_ANSI_NOT_FIXIDX,
10236 STRICT_ANSI_NOT_CTD_FIXIDX,
10237 STRICT_ANSI_ONLY_FIXIDX,
10238 STRUCT_FILE_FIXIDX,
10239 STRUCT_SOCKADDR_FIXIDX,
10240 SUN_AUTH_PROTO_FIXIDX,
10241 SUN_BOGUS_IFDEF_FIXIDX,
10242 SUN_CATMACRO_FIXIDX,
10244 SUN_RUSERS_SEMI_FIXIDX,
10246 SUNOS_STRLEN_FIXIDX,
10247 SUSE_LINUX_VT_CXX_FIXIDX,
10248 SVR4_DISABLE_OPT_FIXIDX,
10249 SVR4_GETCWD_FIXIDX,
10250 SVR4_PROFIL_FIXIDX,
10251 SVR4_SIGHANDLER_TYPE_FIXIDX,
10252 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10253 SYSV68_STRING_FIXIDX,
10254 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10255 THREAD_KEYWORD_FIXIDX,
10256 TINFO_CPLUSPLUS_FIXIDX,
10257 ULTRIX_CONST_FIXIDX,
10258 ULTRIX_CONST2_FIXIDX,
10259 VA_I960_MACRO_FIXIDX,
10260 VMS_ADD_MISSING_BRACES_FIXIDX,
10261 VMS_DECC_BUILTIN_FIXIDX,
10262 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10263 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10264 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10265 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10266 VMS_NO_64BIT_GETOPT_FIXIDX,
10267 VMS_USE_FAST_SETJMP_FIXIDX,
10268 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10269 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10271 VXWORKS_GCC_PROBLEM_FIXIDX,
10272 VXWORKS_IOCTL_MACRO_FIXIDX,
10273 VXWORKS_MKDIR_MACRO_FIXIDX,
10274 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10275 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10276 VXWORKS_REGS_FIXIDX,
10277 VXWORKS_TIME_FIXIDX,
10278 VXWORKS_WRITE_CONST_FIXIDX,
10280 X11_CLASS_USAGE_FIXIDX,
10285 tFixDesc fixDescList[ FIX_COUNT ] = {
10286 { zAab_Aix_StdioName, zAab_Aix_StdioList,
10287 apzAab_Aix_StdioMachs,
10288 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10289 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
10291 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
10292 apzAab_Aix_FcntlMachs,
10293 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10294 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
10296 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
10297 apzAab_Darwin7_9_Long_Double_FuncsMachs,
10298 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10299 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10301 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
10302 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10303 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10304 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10306 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
10307 apzAab_Fd_Zero_Gnu_Types_HMachs,
10308 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10309 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10311 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
10312 apzAab_Fd_Zero_Selectbits_HMachs,
10313 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10314 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10316 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
10317 apzAab_Solaris_Sys_Varargs_HMachs,
10318 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10319 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10321 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
10322 apzAab_Sun_MemcpyMachs,
10323 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10324 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
10326 { zAab_Vxworks_AssertName, zAab_Vxworks_AssertList,
10327 apzAab_Vxworks_AssertMachs,
10328 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10329 aAab_Vxworks_AssertTests, apzAab_Vxworks_AssertPatch, 0 },
10331 { zAab_Vxworks_Regs_VxtypesName, zAab_Vxworks_Regs_VxtypesList,
10332 apzAab_Vxworks_Regs_VxtypesMachs,
10333 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10334 aAab_Vxworks_Regs_VxtypesTests, apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10336 { zAab_Vxworks_UnistdName, zAab_Vxworks_UnistdList,
10337 apzAab_Vxworks_UnistdMachs,
10338 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10339 aAab_Vxworks_UnistdTests, apzAab_Vxworks_UnistdPatch, 0 },
10341 { zAix_AssertName, zAix_AssertList,
10342 apzAix_AssertMachs,
10343 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10344 aAix_AssertTests, apzAix_AssertPatch, 0 },
10346 { zAix_ComplexName, zAix_ComplexList,
10347 apzAix_ComplexMachs,
10348 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10349 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
10351 { zAix_ExterncName, zAix_ExterncList,
10352 apzAix_ExterncMachs,
10353 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10354 aAix_ExterncTests, apzAix_ExterncPatch, 0 },
10356 { zAix_Externcpp1Name, zAix_Externcpp1List,
10357 apzAix_Externcpp1Machs,
10358 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10359 aAix_Externcpp1Tests, apzAix_Externcpp1Patch, 0 },
10361 { zAix_Externcpp2Name, zAix_Externcpp2List,
10362 apzAix_Externcpp2Machs,
10363 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10364 aAix_Externcpp2Tests, apzAix_Externcpp2Patch, 0 },
10366 { zAix_MallocName, zAix_MallocList,
10367 apzAix_MallocMachs,
10368 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10369 aAix_MallocTests, apzAix_MallocPatch, 0 },
10371 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
10372 apzAix_Net_If_ArpMachs,
10373 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10374 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
10376 { zAix_NullName, zAix_NullList,
10378 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10379 aAix_NullTests, apzAix_NullPatch, 0 },
10381 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
10382 apzAix_Once_Init_1Machs,
10383 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10384 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
10386 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
10387 apzAix_Once_Init_2Machs,
10388 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10389 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
10391 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
10392 apzAix_Mutex_Initializer_1Machs,
10393 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10394 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
10396 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
10397 apzAix_Cond_Initializer_1Machs,
10398 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10399 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
10401 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
10402 apzAix_Rwlock_Initializer_1Machs,
10403 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10404 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
10406 { zAix_PthreadName, zAix_PthreadList,
10407 apzAix_PthreadMachs,
10408 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10409 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
10411 { zAix_Stdint_1Name, zAix_Stdint_1List,
10412 apzAix_Stdint_1Machs,
10413 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10414 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
10416 { zAix_Stdint_2Name, zAix_Stdint_2List,
10417 apzAix_Stdint_2Machs,
10418 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10419 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
10421 { zAix_Stdint_3Name, zAix_Stdint_3List,
10422 apzAix_Stdint_3Machs,
10423 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10424 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
10426 { zAix_Stdint_4Name, zAix_Stdint_4List,
10427 apzAix_Stdint_4Machs,
10428 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10429 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
10431 { zAix_Stdint_5Name, zAix_Stdint_5List,
10432 apzAix_Stdint_5Machs,
10433 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10434 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
10436 { zAix_Stdio_InlineName, zAix_Stdio_InlineList,
10437 apzAix_Stdio_InlineMachs,
10438 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10439 aAix_Stdio_InlineTests, apzAix_Stdio_InlinePatch, 0 },
10441 { zAix_Stdlib_MallocName, zAix_Stdlib_MallocList,
10442 apzAix_Stdlib_MallocMachs,
10443 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10444 aAix_Stdlib_MallocTests, apzAix_Stdlib_MallocPatch, 0 },
10446 { zAix_Stdlib_ReallocName, zAix_Stdlib_ReallocList,
10447 apzAix_Stdlib_ReallocMachs,
10448 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10449 aAix_Stdlib_ReallocTests, apzAix_Stdlib_ReallocPatch, 0 },
10451 { zAix_Stdlib_CallocName, zAix_Stdlib_CallocList,
10452 apzAix_Stdlib_CallocMachs,
10453 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10454 aAix_Stdlib_CallocTests, apzAix_Stdlib_CallocPatch, 0 },
10456 { zAix_Stdlib_VallocName, zAix_Stdlib_VallocList,
10457 apzAix_Stdlib_VallocMachs,
10458 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10459 aAix_Stdlib_VallocTests, apzAix_Stdlib_VallocPatch, 0 },
10461 { zAix_Strtof_ConstName, zAix_Strtof_ConstList,
10462 apzAix_Strtof_ConstMachs,
10463 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10464 aAix_Strtof_ConstTests, apzAix_Strtof_ConstPatch, 0 },
10466 { zAix_SysmachineName, zAix_SysmachineList,
10467 apzAix_SysmachineMachs,
10468 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10469 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
10471 { zAix_Syswait_2Name, zAix_Syswait_2List,
10472 apzAix_Syswait_2Machs,
10473 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10474 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
10476 { zAix_VolatileName, zAix_VolatileList,
10477 apzAix_VolatileMachs,
10478 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10479 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
10481 { zAlpha___AssertName, zAlpha___AssertList,
10482 apzAlpha___AssertMachs,
10483 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10484 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
10486 { zAlpha_AssertName, zAlpha_AssertList,
10487 apzAlpha_AssertMachs,
10488 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10489 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
10491 { zAlpha_GetoptName, zAlpha_GetoptList,
10492 apzAlpha_GetoptMachs,
10493 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10494 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
10496 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
10497 apzAlpha_If_SemicolonMachs,
10498 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10499 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
10501 { zAlpha_ParensName, zAlpha_ParensList,
10502 apzAlpha_ParensMachs,
10503 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10504 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
10506 { zAlpha_SbrkName, zAlpha_SbrkList,
10507 apzAlpha_SbrkMachs,
10508 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10509 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
10511 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
10512 apzAvoid_Bool_DefineMachs,
10513 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10514 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
10516 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
10517 apzAvoid_Bool_TypeMachs,
10518 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10519 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
10521 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
10522 apzAvoid_Wchar_T_TypeMachs,
10523 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10524 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
10526 { zBad_Struct_TermName, zBad_Struct_TermList,
10527 apzBad_Struct_TermMachs,
10528 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10529 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
10531 { zBadquoteName, zBadquoteList,
10533 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10534 aBadquoteTests, apzBadquotePatch, 0 },
10536 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
10537 apzBroken_Assert_StdioMachs,
10538 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10539 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
10541 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
10542 apzBroken_Assert_StdlibMachs,
10543 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10544 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
10546 { zBroken_CabsName, zBroken_CabsList,
10547 apzBroken_CabsMachs,
10548 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10549 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
10551 { zBroken_NanName, zBroken_NanList,
10552 apzBroken_NanMachs,
10553 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10554 aBroken_NanTests, apzBroken_NanPatch, 0 },
10556 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
10557 apzBsd_Stdio_Attrs_ConflictMachs,
10558 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10559 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10561 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
10562 apzCtrl_Quotes_DefMachs,
10563 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10564 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
10566 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
10567 apzCtrl_Quotes_UseMachs,
10568 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10569 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
10571 { zCxx_UnreadyName, zCxx_UnreadyList,
10572 apzCxx_UnreadyMachs,
10573 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10574 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
10576 { zDarwin_AvailabilityinternalName, zDarwin_AvailabilityinternalList,
10577 apzDarwin_AvailabilityinternalMachs,
10578 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10579 aDarwin_AvailabilityinternalTests, apzDarwin_AvailabilityinternalPatch, 0 },
10581 { zDarwin_9_Long_Double_Funcs_2Name, zDarwin_9_Long_Double_Funcs_2List,
10582 apzDarwin_9_Long_Double_Funcs_2Machs,
10583 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10584 aDarwin_9_Long_Double_Funcs_2Tests, apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10586 { zDarwin_ExterncName, zDarwin_ExterncList,
10587 apzDarwin_ExterncMachs,
10588 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10589 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
10591 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
10592 apzDarwin_Gcc4_BreakageMachs,
10593 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10594 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
10596 { zDarwin_Longjmp_NoreturnName, zDarwin_Longjmp_NoreturnList,
10597 apzDarwin_Longjmp_NoreturnMachs,
10598 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10599 aDarwin_Longjmp_NoreturnTests, apzDarwin_Longjmp_NoreturnPatch, 0 },
10601 { zDarwin_Os_Trace_1Name, zDarwin_Os_Trace_1List,
10602 apzDarwin_Os_Trace_1Machs,
10603 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10604 aDarwin_Os_Trace_1Tests, apzDarwin_Os_Trace_1Patch, 0 },
10606 { zDarwin_Os_Trace_2Name, zDarwin_Os_Trace_2List,
10607 apzDarwin_Os_Trace_2Machs,
10608 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10609 aDarwin_Os_Trace_2Tests, apzDarwin_Os_Trace_2Patch, 0 },
10611 { zDarwin_Os_Trace_3Name, zDarwin_Os_Trace_3List,
10612 apzDarwin_Os_Trace_3Machs,
10613 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10614 aDarwin_Os_Trace_3Tests, apzDarwin_Os_Trace_3Patch, 0 },
10616 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
10617 apzDarwin_Private_ExternMachs,
10618 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10619 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
10621 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
10622 apzDarwin_Stdint_1Machs,
10623 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10624 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
10626 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
10627 apzDarwin_Stdint_2Machs,
10628 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10629 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
10631 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
10632 apzDarwin_Stdint_3Machs,
10633 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10634 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
10636 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
10637 apzDarwin_Stdint_4Machs,
10638 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10639 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
10641 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
10642 apzDarwin_Stdint_5Machs,
10643 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10644 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
10646 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
10647 apzDarwin_Stdint_6Machs,
10648 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10649 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
10651 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
10652 apzDarwin_Stdint_7Machs,
10653 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10654 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
10656 { zDec_Intern_AsmName, zDec_Intern_AsmList,
10657 apzDec_Intern_AsmMachs,
10658 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10659 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
10661 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
10662 apzDjgpp_Wchar_HMachs,
10663 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10664 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
10666 { zEcd_CursorName, zEcd_CursorList,
10667 apzEcd_CursorMachs,
10668 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10669 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
10671 { zFeraiseexcept_Nosse_DivbyzeroName, zFeraiseexcept_Nosse_DivbyzeroList,
10672 apzFeraiseexcept_Nosse_DivbyzeroMachs,
10673 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10674 aFeraiseexcept_Nosse_DivbyzeroTests, apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10676 { zFeraiseexcept_Nosse_InvalidName, zFeraiseexcept_Nosse_InvalidList,
10677 apzFeraiseexcept_Nosse_InvalidMachs,
10678 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10679 aFeraiseexcept_Nosse_InvalidTests, apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10681 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
10682 apzFreebsd_Gcc3_BreakageMachs,
10683 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10684 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
10686 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
10687 apzFreebsd_Gcc4_BreakageMachs,
10688 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10689 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
10691 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
10692 apzGlibc_C99_Inline_1Machs,
10693 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10694 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
10696 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
10697 apzGlibc_C99_Inline_1aMachs,
10698 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10699 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
10701 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
10702 apzGlibc_C99_Inline_2Machs,
10703 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10704 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
10706 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
10707 apzGlibc_C99_Inline_3Machs,
10708 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10709 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
10711 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
10712 apzGlibc_C99_Inline_4Machs,
10713 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10714 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
10716 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
10717 apzGlibc_Mutex_InitMachs,
10718 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10719 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
10721 { zGlibc_StdintName, zGlibc_StdintList,
10722 apzGlibc_StdintMachs,
10723 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10724 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
10726 { zGlibc_StrncpyName, zGlibc_StrncpyList,
10727 apzGlibc_StrncpyMachs,
10728 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10729 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
10731 { zGlibc_TgmathName, zGlibc_TgmathList,
10732 apzGlibc_TgmathMachs,
10733 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10734 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
10736 { zGnu_TypesName, zGnu_TypesList,
10738 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10739 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
10741 { zHp_InlineName, zHp_InlineList,
10743 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10744 aHp_InlineTests, apzHp_InlinePatch, 0 },
10746 { zHp_SysfileName, zHp_SysfileList,
10747 apzHp_SysfileMachs,
10748 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10749 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
10751 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
10752 apzHppa_Hpux_Fp_MacrosMachs,
10753 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10754 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
10756 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
10757 apzHpux10_Cpp_Pow_InlineMachs,
10758 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10759 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
10761 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
10762 apzHpux11_Cpp_Pow_InlineMachs,
10763 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10764 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
10766 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
10767 apzHpux10_Ctype_Declarations1Machs,
10768 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10769 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
10771 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
10772 apzHpux10_Ctype_Declarations2Machs,
10773 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10774 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
10776 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
10777 apzHpux10_Stdio_DeclarationsMachs,
10778 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10779 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
10781 { zHppa_Hpux11_AllocaName, zHppa_Hpux11_AllocaList,
10782 apzHppa_Hpux11_AllocaMachs,
10783 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10784 aHppa_Hpux11_AllocaTests, apzHppa_Hpux11_AllocaPatch, 0 },
10786 { zHpux11_AbsName, zHpux11_AbsList,
10787 apzHpux11_AbsMachs,
10788 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10789 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
10791 { zHpux11_Lwp_Rwlock_ValidName, zHpux11_Lwp_Rwlock_ValidList,
10792 apzHpux11_Lwp_Rwlock_ValidMachs,
10793 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10794 aHpux11_Lwp_Rwlock_ValidTests, apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10796 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
10797 apzHpux11_Extern_SendfileMachs,
10798 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10799 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
10801 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
10802 apzHpux11_Extern_SendpathMachs,
10803 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10804 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
10806 { zHpux11_FabsfName, zHpux11_FabsfList,
10807 apzHpux11_FabsfMachs,
10808 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10809 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
10811 { zHpux11_Pthread_PointerName, zHpux11_Pthread_PointerList,
10812 apzHpux11_Pthread_PointerMachs,
10813 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10814 aHpux11_Pthread_PointerTests, apzHpux11_Pthread_PointerPatch, 0 },
10816 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
10817 apzHpux11_Pthread_ConstMachs,
10818 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10819 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
10821 { zHpux11_Size_TName, zHpux11_Size_TList,
10822 apzHpux11_Size_TMachs,
10823 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10824 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
10826 { zHpux11_SnprintfName, zHpux11_SnprintfList,
10827 apzHpux11_SnprintfMachs,
10828 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10829 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
10831 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
10832 apzHpux11_VsnprintfMachs,
10833 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10834 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
10836 { zHpux_VsscanfName, zHpux_VsscanfList,
10837 apzHpux_VsscanfMachs,
10838 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10839 aHpux_VsscanfTests, apzHpux_VsscanfPatch, 0 },
10841 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
10842 apzHpux8_Bogus_InlinesMachs,
10843 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10844 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
10846 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
10847 apzHpux_C99_IntptrMachs,
10848 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10849 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
10851 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
10852 apzHpux_C99_InttypesMachs,
10853 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10854 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
10856 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
10857 apzHpux_C99_Inttypes2Machs,
10858 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10859 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
10861 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
10862 apzHpux_Ctype_MacrosMachs,
10863 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10864 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
10866 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
10867 apzHpux_Extern_ErrnoMachs,
10868 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10869 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
10871 { zHpux_HtonlName, zHpux_HtonlList,
10872 apzHpux_HtonlMachs,
10873 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10874 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
10876 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
10877 apzHpux_Imaginary_IMachs,
10878 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10879 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
10881 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
10882 apzHpux_Inttype_Int8_TMachs,
10883 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10884 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
10886 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
10887 apzHpux_Long_DoubleMachs,
10888 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10889 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
10891 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
10892 apzHpux_Long_Double_2Machs,
10893 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10894 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
10896 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
10897 apzHpux_Pthread_InitializersMachs,
10898 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10899 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
10901 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
10902 apzHpux_Spu_InfoMachs,
10903 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10904 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
10906 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
10907 apzHpux_Stdint_Least_FastMachs,
10908 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10909 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
10911 { zHpux_LongjmpName, zHpux_LongjmpList,
10912 apzHpux_LongjmpMachs,
10913 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10914 aHpux_LongjmpTests, apzHpux_LongjmpPatch, 0 },
10916 { zHpux_SystimeName, zHpux_SystimeList,
10917 apzHpux_SystimeMachs,
10918 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10919 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
10921 { zHuge_Val_HexName, zHuge_Val_HexList,
10922 apzHuge_Val_HexMachs,
10923 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10924 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
10926 { zHuge_Valf_HexName, zHuge_Valf_HexList,
10927 apzHuge_Valf_HexMachs,
10928 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10929 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
10931 { zHuge_Vall_HexName, zHuge_Vall_HexList,
10932 apzHuge_Vall_HexMachs,
10933 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10934 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
10936 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
10937 apzInt_Abort_Free_And_ExitMachs,
10938 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10939 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
10941 { zIo_Quotes_DefName, zIo_Quotes_DefList,
10942 apzIo_Quotes_DefMachs,
10943 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10944 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
10946 { zIo_Quotes_UseName, zIo_Quotes_UseList,
10947 apzIo_Quotes_UseMachs,
10948 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10949 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
10951 { zIp_Missing_SemiName, zIp_Missing_SemiList,
10952 apzIp_Missing_SemiMachs,
10953 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10954 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
10956 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
10957 apzIrix_Limits_ConstMachs,
10958 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10959 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
10961 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
10962 apzIrix_Stdio_Va_ListMachs,
10963 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10964 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
10966 { zKandr_ConcatName, zKandr_ConcatList,
10967 apzKandr_ConcatMachs,
10968 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10969 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
10971 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
10972 apzLinux_Ia64_UcontextMachs,
10973 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10974 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
10976 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
10977 apzLynxos_No_Warning_In_Sys_Time_HMachs,
10978 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10979 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10981 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
10982 apzLynxos_Missing_PutenvMachs,
10983 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10984 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
10986 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
10987 apzMachine_Ansi_H_Va_ListMachs,
10988 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10989 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
10991 { zMachine_NameName, zMachine_NameList,
10992 apzMachine_NameMachs,
10993 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10994 aMachine_NameTests, apzMachine_NamePatch, 0 },
10996 { zMath_ExceptionName, zMath_ExceptionList,
10997 apzMath_ExceptionMachs,
10998 MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10999 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
11001 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
11002 apzMath_Huge_Val_From_Dbl_MaxMachs,
11003 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11004 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11006 { zNested_Auth_DesName, zNested_Auth_DesList,
11007 apzNested_Auth_DesMachs,
11008 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11009 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
11011 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
11012 apzNetbsd_C99_Inline_1Machs,
11013 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11014 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
11016 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
11017 apzNetbsd_C99_Inline_2Machs,
11018 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11019 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
11021 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
11022 apzNetbsd_Extra_SemicolonMachs,
11023 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11024 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
11026 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
11027 apzNewlib_Stdint_1Machs,
11028 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11029 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
11031 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
11032 apzNewlib_Stdint_2Machs,
11033 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11034 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
11036 { zNext_Math_PrefixName, zNext_Math_PrefixList,
11037 apzNext_Math_PrefixMachs,
11038 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11039 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
11041 { zNext_TemplateName, zNext_TemplateList,
11042 apzNext_TemplateMachs,
11043 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11044 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
11046 { zNext_VolitileName, zNext_VolitileList,
11047 apzNext_VolitileMachs,
11048 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11049 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
11051 { zNext_Wait_UnionName, zNext_Wait_UnionList,
11052 apzNext_Wait_UnionMachs,
11053 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11054 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
11056 { zNodeent_SyntaxName, zNodeent_SyntaxList,
11057 apzNodeent_SyntaxMachs,
11058 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11059 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
11061 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
11062 apzOpenbsd_Null_DefinitionMachs,
11063 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11064 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
11066 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
11067 apzObstack_Lvalue_CastMachs,
11068 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11069 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
11071 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
11072 apzOpenbsd_Va_StartMachs,
11073 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11074 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
11076 { zOsf_Namespace_AName, zOsf_Namespace_AList,
11077 apzOsf_Namespace_AMachs,
11078 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11079 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
11081 { zOsf_Namespace_CName, zOsf_Namespace_CList,
11082 apzOsf_Namespace_CMachs,
11083 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11084 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
11086 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
11087 apzPthread_Incomplete_Struct_ArgumentMachs,
11088 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11089 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11091 { zRead_Ret_TypeName, zRead_Ret_TypeList,
11092 apzRead_Ret_TypeMachs,
11093 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11094 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
11096 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
11097 apzRpc_Xdr_Lvalue_Cast_AMachs,
11098 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11099 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11101 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
11102 apzRpc_Xdr_Lvalue_Cast_BMachs,
11103 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11104 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11106 { zRs6000_DoubleName, zRs6000_DoubleList,
11107 apzRs6000_DoubleMachs,
11108 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11109 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
11111 { zRs6000_FchmodName, zRs6000_FchmodList,
11112 apzRs6000_FchmodMachs,
11113 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11114 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
11116 { zRs6000_ParamName, zRs6000_ParamList,
11117 apzRs6000_ParamMachs,
11118 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11119 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
11121 { zSolaris___RestrictName, zSolaris___RestrictList,
11122 apzSolaris___RestrictMachs,
11123 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11124 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
11126 { zSolaris_ComplexName, zSolaris_ComplexList,
11127 apzSolaris_ComplexMachs,
11128 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11129 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
11131 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
11132 apzSolaris_Complex_CxxMachs,
11133 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11134 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
11136 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
11137 apzSolaris_Cxx_LinkageMachs,
11138 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11139 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
11141 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
11142 apzSolaris_Getc_Strict_StdcMachs,
11143 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11144 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
11146 { zSolaris_Gets_C11Name, zSolaris_Gets_C11List,
11147 apzSolaris_Gets_C11Machs,
11148 SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11149 aSolaris_Gets_C11Tests, apzSolaris_Gets_C11Patch, 0 },
11151 { zSolaris_Gets_Cxx14Name, zSolaris_Gets_Cxx14List,
11152 apzSolaris_Gets_Cxx14Machs,
11153 SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11154 aSolaris_Gets_Cxx14Tests, apzSolaris_Gets_Cxx14Patch, 0 },
11156 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
11157 apzSolaris_Int_ConstMachs,
11158 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11159 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
11161 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
11162 apzSolaris_Int_Limits_1Machs,
11163 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11164 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
11166 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
11167 apzSolaris_Int_Limits_2Machs,
11168 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11169 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
11171 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
11172 apzSolaris_Int_Limits_3Machs,
11173 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11174 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
11176 { zSolaris_Math_1Name, zSolaris_Math_1List,
11177 apzSolaris_Math_1Machs,
11178 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11179 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
11181 { zSolaris_Math_10Name, zSolaris_Math_10List,
11182 apzSolaris_Math_10Machs,
11183 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11184 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
11186 { zSolaris_Math_2Name, zSolaris_Math_2List,
11187 apzSolaris_Math_2Machs,
11188 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11189 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
11191 { zSolaris_Math_3Name, zSolaris_Math_3List,
11192 apzSolaris_Math_3Machs,
11193 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11194 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
11196 { zSolaris_Math_4Name, zSolaris_Math_4List,
11197 apzSolaris_Math_4Machs,
11198 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11199 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
11201 { zSolaris_Math_8Name, zSolaris_Math_8List,
11202 apzSolaris_Math_8Machs,
11203 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11204 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
11206 { zSolaris_Math_9Name, zSolaris_Math_9List,
11207 apzSolaris_Math_9Machs,
11208 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11209 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
11211 { zSolaris_Math_11Name, zSolaris_Math_11List,
11212 apzSolaris_Math_11Machs,
11213 SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11214 aSolaris_Math_11Tests, apzSolaris_Math_11Patch, 0 },
11216 { zSolaris_Math_12Name, zSolaris_Math_12List,
11217 apzSolaris_Math_12Machs,
11218 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11219 aSolaris_Math_12Tests, apzSolaris_Math_12Patch, 0 },
11221 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
11222 apzSolaris_Once_Init_1Machs,
11223 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11224 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
11226 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
11227 apzSolaris_Posix_Spawn_RestrictMachs,
11228 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11229 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11231 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
11232 apzSolaris_Pow_Int_OverloadMachs,
11233 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11234 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
11236 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
11237 apzSolaris_Rwlock_Init_1Machs,
11238 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11239 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
11241 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
11242 apzSolaris_Std___FilbufMachs,
11243 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11244 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
11246 { zSolaris_Std_Gets_Cxx14Name, zSolaris_Std_Gets_Cxx14List,
11247 apzSolaris_Std_Gets_Cxx14Machs,
11248 SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11249 aSolaris_Std_Gets_Cxx14Tests, apzSolaris_Std_Gets_Cxx14Patch, 0 },
11251 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
11252 apzSolaris_Stdio_TagMachs,
11253 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11254 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
11256 { zSolaris_Stdlib_NoreturnName, zSolaris_Stdlib_NoreturnList,
11257 apzSolaris_Stdlib_NoreturnMachs,
11258 SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11259 aSolaris_Stdlib_NoreturnTests, apzSolaris_Stdlib_NoreturnPatch, 0 },
11261 { zStatsswtchName, zStatsswtchList,
11262 apzStatsswtchMachs,
11263 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11264 aStatsswtchTests, apzStatsswtchPatch, 0 },
11266 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
11267 apzStdio_Stdarg_HMachs,
11268 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11269 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
11271 { zStdio_Va_ListName, zStdio_Va_ListList,
11272 apzStdio_Va_ListMachs,
11273 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11274 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
11276 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
11277 apzStdio_Va_List_ClientsMachs,
11278 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11279 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
11281 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11282 apzStrict_Ansi_NotMachs,
11283 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11284 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
11286 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
11287 apzStrict_Ansi_Not_CtdMachs,
11288 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11289 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
11291 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11292 apzStrict_Ansi_OnlyMachs,
11293 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11294 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
11296 { zStruct_FileName, zStruct_FileList,
11297 apzStruct_FileMachs,
11298 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11299 aStruct_FileTests, apzStruct_FilePatch, 0 },
11301 { zStruct_SockaddrName, zStruct_SockaddrList,
11302 apzStruct_SockaddrMachs,
11303 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11304 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
11306 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
11307 apzSun_Auth_ProtoMachs,
11308 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11309 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
11311 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
11312 apzSun_Bogus_IfdefMachs,
11313 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11314 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
11316 { zSun_CatmacroName, zSun_CatmacroList,
11317 apzSun_CatmacroMachs,
11318 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11319 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
11321 { zSun_MallocName, zSun_MallocList,
11322 apzSun_MallocMachs,
11323 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11324 aSun_MallocTests, apzSun_MallocPatch, 0 },
11326 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
11327 apzSun_Rusers_SemiMachs,
11328 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11329 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
11331 { zSun_SignalName, zSun_SignalList,
11332 apzSun_SignalMachs,
11333 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11334 aSun_SignalTests, apzSun_SignalPatch, 0 },
11336 { zSunos_StrlenName, zSunos_StrlenList,
11337 apzSunos_StrlenMachs,
11338 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11339 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
11341 { zSuse_Linux_Vt_CxxName, zSuse_Linux_Vt_CxxList,
11342 apzSuse_Linux_Vt_CxxMachs,
11343 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11344 aSuse_Linux_Vt_CxxTests, apzSuse_Linux_Vt_CxxPatch, 0 },
11346 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
11347 apzSvr4_Disable_OptMachs,
11348 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11349 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
11351 { zSvr4_GetcwdName, zSvr4_GetcwdList,
11352 apzSvr4_GetcwdMachs,
11353 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11354 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
11356 { zSvr4_ProfilName, zSvr4_ProfilList,
11357 apzSvr4_ProfilMachs,
11358 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11359 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
11361 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
11362 apzSvr4_Sighandler_TypeMachs,
11363 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11364 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
11366 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
11367 apzSvr4_Undeclared_GetrngeMachs,
11368 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11369 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
11371 { zSysv68_StringName, zSysv68_StringList,
11372 apzSysv68_StringMachs,
11373 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11374 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
11376 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
11377 apzSysz_Stdlib_For_SunMachs,
11378 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11379 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
11381 { zThread_KeywordName, zThread_KeywordList,
11382 apzThread_KeywordMachs,
11383 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11384 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
11386 { zTinfo_CplusplusName, zTinfo_CplusplusList,
11387 apzTinfo_CplusplusMachs,
11388 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11389 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
11391 { zUltrix_ConstName, zUltrix_ConstList,
11392 apzUltrix_ConstMachs,
11393 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11394 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
11396 { zUltrix_Const2Name, zUltrix_Const2List,
11397 apzUltrix_Const2Machs,
11398 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11399 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
11401 { zVa_I960_MacroName, zVa_I960_MacroList,
11402 apzVa_I960_MacroMachs,
11403 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11404 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
11406 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
11407 apzVms_Add_Missing_BracesMachs,
11408 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11409 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
11411 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
11412 apzVms_Decc_BuiltinMachs,
11413 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11414 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
11416 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
11417 apzVms_Define_Can_Use_Extern_PrefixMachs,
11418 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11419 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11421 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
11422 apzVms_Disable_Decc_String_BuiltinsMachs,
11423 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11424 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11426 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
11427 apzVms_Do_Not_Redeclare_HostaliasMachs,
11428 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11429 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11431 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
11432 apzVms_Forward_Declare_StructMachs,
11433 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11434 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
11436 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
11437 apzVms_No_64bit_GetoptMachs,
11438 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11439 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
11441 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
11442 apzVms_Use_Fast_SetjmpMachs,
11443 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11444 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
11446 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11447 apzVms_Use_Pragma_Extern_ModelMachs,
11448 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11449 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11451 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
11452 apzVms_Use_Quoted_IncludeMachs,
11453 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11454 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
11456 { zVoid_NullName, zVoid_NullList,
11458 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11459 aVoid_NullTests, apzVoid_NullPatch, 0 },
11461 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
11462 apzVxworks_Gcc_ProblemMachs,
11463 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11464 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
11466 { zVxworks_Ioctl_MacroName, zVxworks_Ioctl_MacroList,
11467 apzVxworks_Ioctl_MacroMachs,
11468 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11469 aVxworks_Ioctl_MacroTests, apzVxworks_Ioctl_MacroPatch, 0 },
11471 { zVxworks_Mkdir_MacroName, zVxworks_Mkdir_MacroList,
11472 apzVxworks_Mkdir_MacroMachs,
11473 VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11474 aVxworks_Mkdir_MacroTests, apzVxworks_Mkdir_MacroPatch, 0 },
11476 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
11477 apzVxworks_Needs_VxtypesMachs,
11478 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11479 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
11481 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
11482 apzVxworks_Needs_VxworksMachs,
11483 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11484 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
11486 { zVxworks_RegsName, zVxworks_RegsList,
11487 apzVxworks_RegsMachs,
11488 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11489 aVxworks_RegsTests, apzVxworks_RegsPatch, 0 },
11491 { zVxworks_TimeName, zVxworks_TimeList,
11492 apzVxworks_TimeMachs,
11493 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11494 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
11496 { zVxworks_Write_ConstName, zVxworks_Write_ConstList,
11497 apzVxworks_Write_ConstMachs,
11498 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11499 aVxworks_Write_ConstTests, apzVxworks_Write_ConstPatch, 0 },
11501 { zX11_ClassName, zX11_ClassList,
11503 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11504 aX11_ClassTests, apzX11_ClassPatch, 0 },
11506 { zX11_Class_UsageName, zX11_Class_UsageList,
11507 apzX11_Class_UsageMachs,
11508 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11509 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
11511 { zX11_NewName, zX11_NewList,
11513 X11_NEW_TEST_CT, FD_MACH_ONLY,
11514 aX11_NewTests, apzX11_NewPatch, 0 },
11516 { zX11_SprintfName, zX11_SprintfList,
11517 apzX11_SprintfMachs,
11518 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11519 aX11_SprintfTests, apzX11_SprintfPatch, 0 }