1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Saturday September 29, 2012 at 01:58:03 PM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sat Sep 29 13:58:03 PDT 2012
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 216 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_Darwin7_9_Long_Double_Funcs_2 fix
274 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
275 "AAB_darwin7_9_long_double_funcs_2";
278 * File name selection pattern
280 tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
283 * Machine/OS name selection pattern
285 tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
290 * content selection pattern - do fix if pattern found
292 tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
293 "#include[ \\t]+\\\"";
295 #define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
296 static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
297 { TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
300 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
302 static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
305 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
310 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
312 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
313 "AAB_fd_zero_asm_posix_types_h";
316 * File name selection pattern
318 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
319 "asm/posix_types.h\0";
321 * Machine/OS name selection pattern
323 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
324 "i[34567]86-*-linux*",
328 * content bypass pattern - skip fix if pattern found
330 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
332 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
334 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
337 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
338 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
339 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
340 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
341 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
344 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
346 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
347 "/* This file fixes a bug in the __FD_ZERO macro\n\
348 for older versions of the Linux kernel. */\n\
349 #ifndef _POSIX_TYPES_H_WRAPPER\n\
350 #include <features.h>\n\
351 #include_next <asm/posix_types.h>\n\n\
352 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
354 #define __FD_ZERO(fdsetp) \\\n\
356 int __d0, __d1; \\\n\
357 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
358 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
359 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
360 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
363 #define _POSIX_TYPES_H_WRAPPER\n\
364 #endif /* _POSIX_TYPES_H_WRAPPER */",
367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
369 * Description of Aab_Fd_Zero_Gnu_Types_H fix
371 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
372 "AAB_fd_zero_gnu_types_h";
375 * File name selection pattern
377 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
380 * Machine/OS name selection pattern
382 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
383 "i[34567]86-*-linux*",
385 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
386 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
389 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
391 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
392 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
393 #ifndef _TYPES_H_WRAPPER\n\
394 #include <features.h>\n\
395 #include_next <gnu/types.h>\n\n\
396 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
398 # define __FD_ZERO(fdsetp) \\\n\
400 int __d0, __d1; \\\n\
401 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
402 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
403 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
404 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
407 #define _TYPES_H_WRAPPER\n\
408 #endif /* _TYPES_H_WRAPPER */",
411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
413 * Description of Aab_Fd_Zero_Selectbits_H fix
415 tSCC zAab_Fd_Zero_Selectbits_HName[] =
416 "AAB_fd_zero_selectbits_h";
419 * File name selection pattern
421 tSCC zAab_Fd_Zero_Selectbits_HList[] =
424 * Machine/OS name selection pattern
426 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
427 "i[34567]86-*-linux*",
429 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
430 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
433 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
435 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
436 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
437 #ifndef _SELECTBITS_H_WRAPPER\n\
438 #include <features.h>\n\
439 #include_next <selectbits.h>\n\n\
440 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
441 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
442 && __GLIBC_MINOR__ == 0\n\
444 #define __FD_ZERO(fdsetp) \\\\\n\
446 int __d0, __d1; \\\\\n\
447 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
448 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
449 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
450 / sizeof (__fd_mask)), \\\\\n\
451 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
452 : \"memory\"); \\\\\n\
455 #define _SELECTBITS_H_WRAPPER\n\
456 #endif /* _SELECTBITS_H_WRAPPER */",
459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
461 * Description of Aab_Solaris_Sys_Varargs_H fix
463 tSCC zAab_Solaris_Sys_Varargs_HName[] =
464 "AAB_solaris_sys_varargs_h";
467 * File name selection pattern
469 tSCC zAab_Solaris_Sys_Varargs_HList[] =
472 * Machine/OS name selection pattern
474 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
477 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
478 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
481 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
483 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
485 #include <stdarg.h>\n\
487 #include <varargs.h>\n\
491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
493 * Description of Aab_Sun_Memcpy fix
495 tSCC zAab_Sun_MemcpyName[] =
499 * File name selection pattern
501 tSCC zAab_Sun_MemcpyList[] =
504 * Machine/OS name selection pattern
506 #define apzAab_Sun_MemcpyMachs (const char**)NULL
509 * content selection pattern - do fix if pattern found
511 tSCC zAab_Sun_MemcpySelect0[] =
512 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
514 #define AAB_SUN_MEMCPY_TEST_CT 1
515 static tTestDesc aAab_Sun_MemcpyTests[] = {
516 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
519 * Fix Command Arguments for Aab_Sun_Memcpy
521 static const char* apzAab_Sun_MemcpyPatch[] = {
522 "/* This file was generated by fixincludes */\n\
523 #ifndef __memory_h__\n\
524 #define __memory_h__\n\n\
526 extern void *memccpy();\n\
527 extern void *memchr();\n\
528 extern void *memcpy();\n\
529 extern void *memset();\n\
531 extern char *memccpy();\n\
532 extern char *memchr();\n\
533 extern char *memcpy();\n\
534 extern char *memset();\n\
535 #endif /* __STDC__ */\n\n\
536 extern int memcmp();\n\n\
537 #endif /* __memory_h__ */",
540 /* * * * * * * * * * * * * * * * * * * * * * * * * *
542 * Description of Aix_Complex fix
544 tSCC zAix_ComplexName[] =
548 * File name selection pattern
550 tSCC zAix_ComplexList[] =
553 * Machine/OS name selection pattern
555 tSCC* apzAix_ComplexMachs[] = {
560 * content selection pattern - do fix if pattern found
562 tSCC zAix_ComplexSelect0[] =
563 "#define[ \t]_Complex_I[ \t]__I";
565 #define AIX_COMPLEX_TEST_CT 1
566 static tTestDesc aAix_ComplexTests[] = {
567 { TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
570 * Fix Command Arguments for Aix_Complex
572 static const char* apzAix_ComplexPatch[] = {
574 "#define _Complex_I (__extension__ 1.0iF)",
577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
579 * Description of Aix_Malloc fix
581 tSCC zAix_MallocName[] =
585 * File name selection pattern
587 tSCC zAix_MallocList[] =
590 * Machine/OS name selection pattern
592 tSCC* apzAix_MallocMachs[] = {
597 * content selection pattern - do fix if pattern found
599 tSCC zAix_MallocSelect0[] =
600 "#ifdef __cplusplus";
602 #define AIX_MALLOC_TEST_CT 1
603 static tTestDesc aAix_MallocTests[] = {
604 { TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
607 * Fix Command Arguments for Aix_Malloc
609 static const char* apzAix_MallocPatch[] = {
611 "#if (defined(__cplusplus) && defined(__IBMCPP__))",
614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
616 * Description of Aix_Net_If_Arp fix
618 tSCC zAix_Net_If_ArpName[] =
622 * File name selection pattern
624 tSCC zAix_Net_If_ArpList[] =
627 * Machine/OS name selection pattern
629 tSCC* apzAix_Net_If_ArpMachs[] = {
634 * content selection pattern - do fix if pattern found
636 tSCC zAix_Net_If_ArpSelect0[] =
637 "^struct fc_softc \\{";
639 #define AIX_NET_IF_ARP_TEST_CT 1
640 static tTestDesc aAix_Net_If_ArpTests[] = {
641 { TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
644 * Fix Command Arguments for Aix_Net_If_Arp
646 static const char* apzAix_Net_If_ArpPatch[] = {
648 "typedef struct _fc_softc {",
651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
653 * Description of Aix_Once_Init_1 fix
655 tSCC zAix_Once_Init_1Name[] =
659 * File name selection pattern
661 tSCC zAix_Once_Init_1List[] =
664 * Machine/OS name selection pattern
666 tSCC* apzAix_Once_Init_1Machs[] = {
671 * content selection pattern - do fix if pattern found
673 tSCC zAix_Once_Init_1Select0[] =
674 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
677 #define AIX_ONCE_INIT_1_TEST_CT 1
678 static tTestDesc aAix_Once_Init_1Tests[] = {
679 { TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
682 * Fix Command Arguments for Aix_Once_Init_1
684 static const char* apzAix_Once_Init_1Patch[] = {
686 "#define PTHREAD_ONCE_INIT \\\n\
690 /* * * * * * * * * * * * * * * * * * * * * * * * * *
692 * Description of Aix_Once_Init_2 fix
694 tSCC zAix_Once_Init_2Name[] =
698 * File name selection pattern
700 tSCC zAix_Once_Init_2List[] =
703 * Machine/OS name selection pattern
705 tSCC* apzAix_Once_Init_2Machs[] = {
710 * content selection pattern - do fix if pattern found
712 tSCC zAix_Once_Init_2Select0[] =
716 #define AIX_ONCE_INIT_2_TEST_CT 1
717 static tTestDesc aAix_Once_Init_2Tests[] = {
718 { TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
721 * Fix Command Arguments for Aix_Once_Init_2
723 static const char* apzAix_Once_Init_2Patch[] = {
729 /* * * * * * * * * * * * * * * * * * * * * * * * * *
731 * Description of Aix_Mutex_Initializer_1 fix
733 tSCC zAix_Mutex_Initializer_1Name[] =
734 "aix_mutex_initializer_1";
737 * File name selection pattern
739 tSCC zAix_Mutex_Initializer_1List[] =
742 * Machine/OS name selection pattern
744 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
749 * content selection pattern - do fix if pattern found
751 tSCC zAix_Mutex_Initializer_1Select0[] =
752 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
755 #define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
756 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
757 { TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
760 * Fix Command Arguments for Aix_Mutex_Initializer_1
762 static const char* apzAix_Mutex_Initializer_1Patch[] = {
764 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
770 * Description of Aix_Cond_Initializer_1 fix
772 tSCC zAix_Cond_Initializer_1Name[] =
773 "aix_cond_initializer_1";
776 * File name selection pattern
778 tSCC zAix_Cond_Initializer_1List[] =
781 * Machine/OS name selection pattern
783 tSCC* apzAix_Cond_Initializer_1Machs[] = {
788 * content selection pattern - do fix if pattern found
790 tSCC zAix_Cond_Initializer_1Select0[] =
791 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
794 #define AIX_COND_INITIALIZER_1_TEST_CT 1
795 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
796 { TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
799 * Fix Command Arguments for Aix_Cond_Initializer_1
801 static const char* apzAix_Cond_Initializer_1Patch[] = {
803 "#define PTHREAD_COND_INITIALIZER \\\n\
807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
809 * Description of Aix_Rwlock_Initializer_1 fix
811 tSCC zAix_Rwlock_Initializer_1Name[] =
812 "aix_rwlock_initializer_1";
815 * File name selection pattern
817 tSCC zAix_Rwlock_Initializer_1List[] =
820 * Machine/OS name selection pattern
822 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
827 * content selection pattern - do fix if pattern found
829 tSCC zAix_Rwlock_Initializer_1Select0[] =
830 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
833 #define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
834 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
835 { TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
838 * Fix Command Arguments for Aix_Rwlock_Initializer_1
840 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
842 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
848 * Description of Aix_Pthread fix
850 tSCC zAix_PthreadName[] =
854 * File name selection pattern
856 tSCC zAix_PthreadList[] =
859 * Machine/OS name selection pattern
861 #define apzAix_PthreadMachs (const char**)NULL
864 * content selection pattern - do fix if pattern found
866 tSCC zAix_PthreadSelect0[] =
867 "(#define [A-Za-z_0-9]+)(\\\\\n\
871 #define AIX_PTHREAD_TEST_CT 1
872 static tTestDesc aAix_PthreadTests[] = {
873 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
876 * Fix Command Arguments for Aix_Pthread
878 static const char* apzAix_PthreadPatch[] = {
883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
885 * Description of Aix_Stdint_1 fix
887 tSCC zAix_Stdint_1Name[] =
891 * File name selection pattern
893 tSCC zAix_Stdint_1List[] =
894 "stdint-aix.h\0stdint.h\0";
896 * Machine/OS name selection pattern
898 tSCC* apzAix_Stdint_1Machs[] = {
903 * content selection pattern - do fix if pattern found
905 tSCC zAix_Stdint_1Select0[] =
906 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
907 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
909 #define AIX_STDINT_1_TEST_CT 1
910 static tTestDesc aAix_Stdint_1Tests[] = {
911 { TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
914 * Fix Command Arguments for Aix_Stdint_1
916 static const char* apzAix_Stdint_1Patch[] = {
918 "#define UINT8_MAX\t(255)\n\
919 #define UINT16_MAX\t(65535)",
922 /* * * * * * * * * * * * * * * * * * * * * * * * * *
924 * Description of Aix_Stdint_2 fix
926 tSCC zAix_Stdint_2Name[] =
930 * File name selection pattern
932 tSCC zAix_Stdint_2List[] =
933 "stdint-aix.h\0stdint.h\0";
935 * Machine/OS name selection pattern
937 tSCC* apzAix_Stdint_2Machs[] = {
942 * content selection pattern - do fix if pattern found
944 tSCC zAix_Stdint_2Select0[] =
945 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
946 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
947 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
949 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
950 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
951 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
953 #define AIX_STDINT_2_TEST_CT 1
954 static tTestDesc aAix_Stdint_2Tests[] = {
955 { TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
958 * Fix Command Arguments for Aix_Stdint_2
960 static const char* apzAix_Stdint_2Patch[] = {
962 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
963 #define INTPTR_MAX\t9223372036854775807L\n\
964 #define UINTPTR_MAX\t18446744073709551615UL\n\
966 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
967 #define INTPTR_MAX\t2147483647L\n\
968 #define UINTPTR_MAX\t4294967295UL",
971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
973 * Description of Aix_Stdint_3 fix
975 tSCC zAix_Stdint_3Name[] =
979 * File name selection pattern
981 tSCC zAix_Stdint_3List[] =
982 "stdint-aix.h\0stdint.h\0";
984 * Machine/OS name selection pattern
986 tSCC* apzAix_Stdint_3Machs[] = {
991 * content selection pattern - do fix if pattern found
993 tSCC zAix_Stdint_3Select0[] =
994 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
995 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
997 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
998 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1000 #define AIX_STDINT_3_TEST_CT 1
1001 static tTestDesc aAix_Stdint_3Tests[] = {
1002 { TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
1005 * Fix Command Arguments for Aix_Stdint_3
1007 static const char* apzAix_Stdint_3Patch[] = {
1009 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1010 #define PTRDIFF_MAX\t9223372036854775807L\n\
1012 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1013 #define PTRDIFF_MAX\t2147483647L",
1016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1018 * Description of Aix_Stdint_4 fix
1020 tSCC zAix_Stdint_4Name[] =
1024 * File name selection pattern
1026 tSCC zAix_Stdint_4List[] =
1027 "stdint-aix.h\0stdint.h\0";
1029 * Machine/OS name selection pattern
1031 tSCC* apzAix_Stdint_4Machs[] = {
1033 (const char*)NULL };
1036 * content selection pattern - do fix if pattern found
1038 tSCC zAix_Stdint_4Select0[] =
1039 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1041 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1043 #define AIX_STDINT_4_TEST_CT 1
1044 static tTestDesc aAix_Stdint_4Tests[] = {
1045 { TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
1048 * Fix Command Arguments for Aix_Stdint_4
1050 static const char* apzAix_Stdint_4Patch[] = {
1052 "#define SIZE_MAX\t18446744073709551615UL\n\
1054 #define SIZE_MAX\t4294967295UL",
1057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1059 * Description of Aix_Stdint_5 fix
1061 tSCC zAix_Stdint_5Name[] =
1065 * File name selection pattern
1067 tSCC zAix_Stdint_5List[] =
1068 "stdint-aix.h\0stdint.h\0";
1070 * Machine/OS name selection pattern
1072 tSCC* apzAix_Stdint_5Machs[] = {
1074 (const char*)NULL };
1077 * content selection pattern - do fix if pattern found
1079 tSCC zAix_Stdint_5Select0[] =
1080 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1081 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1083 #define AIX_STDINT_5_TEST_CT 1
1084 static tTestDesc aAix_Stdint_5Tests[] = {
1085 { TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
1088 * Fix Command Arguments for Aix_Stdint_5
1090 static const char* apzAix_Stdint_5Patch[] = {
1092 "#define UINT8_C(c)\tc\n\
1093 #define UINT16_C(c)\tc",
1096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1098 * Description of Aix_Sysmachine fix
1100 tSCC zAix_SysmachineName[] =
1104 * File name selection pattern
1106 tSCC zAix_SysmachineList[] =
1109 * Machine/OS name selection pattern
1111 #define apzAix_SysmachineMachs (const char**)NULL
1114 * content selection pattern - do fix if pattern found
1116 tSCC zAix_SysmachineSelect0[] =
1119 #define AIX_SYSMACHINE_TEST_CT 1
1120 static tTestDesc aAix_SysmachineTests[] = {
1121 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
1124 * Fix Command Arguments for Aix_Sysmachine
1126 static const char* apzAix_SysmachinePatch[] = {
1131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1133 * Description of Aix_Syswait_2 fix
1135 tSCC zAix_Syswait_2Name[] =
1139 * File name selection pattern
1141 tSCC zAix_Syswait_2List[] =
1144 * Machine/OS name selection pattern
1146 #define apzAix_Syswait_2Machs (const char**)NULL
1149 * content selection pattern - do fix if pattern found
1151 tSCC zAix_Syswait_2Select0[] =
1152 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1154 #define AIX_SYSWAIT_2_TEST_CT 1
1155 static tTestDesc aAix_Syswait_2Tests[] = {
1156 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
1159 * Fix Command Arguments for Aix_Syswait_2
1161 static const char* apzAix_Syswait_2Patch[] = {
1166 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1168 * Description of Aix_Volatile fix
1170 tSCC zAix_VolatileName[] =
1174 * File name selection pattern
1176 tSCC zAix_VolatileList[] =
1179 * Machine/OS name selection pattern
1181 #define apzAix_VolatileMachs (const char**)NULL
1184 * content selection pattern - do fix if pattern found
1186 tSCC zAix_VolatileSelect0[] =
1187 "typedef volatile int sig_atomic_t";
1189 #define AIX_VOLATILE_TEST_CT 1
1190 static tTestDesc aAix_VolatileTests[] = {
1191 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
1194 * Fix Command Arguments for Aix_Volatile
1196 static const char* apzAix_VolatilePatch[] = {
1198 "typedef int sig_atomic_t",
1201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1203 * Description of Alpha___Assert fix
1205 tSCC zAlpha___AssertName[] =
1209 * File name selection pattern
1211 tSCC zAlpha___AssertList[] =
1214 * Machine/OS name selection pattern
1216 #define apzAlpha___AssertMachs (const char**)NULL
1219 * content selection pattern - do fix if pattern found
1221 tSCC zAlpha___AssertSelect0[] =
1222 "__assert\\(char \\*, char \\*, int\\)";
1224 #define ALPHA___ASSERT_TEST_CT 1
1225 static tTestDesc aAlpha___AssertTests[] = {
1226 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
1229 * Fix Command Arguments for Alpha___Assert
1231 static const char* apzAlpha___AssertPatch[] = {
1233 "__assert(const char *, const char *, int)",
1236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1238 * Description of Alpha_Assert fix
1240 tSCC zAlpha_AssertName[] =
1244 * File name selection pattern
1246 tSCC zAlpha_AssertList[] =
1249 * Machine/OS name selection pattern
1251 #define apzAlpha_AssertMachs (const char**)NULL
1254 * content selection pattern - do fix if pattern found
1256 tSCC zAlpha_AssertSelect0[] =
1257 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1259 #define ALPHA_ASSERT_TEST_CT 1
1260 static tTestDesc aAlpha_AssertTests[] = {
1261 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
1264 * Fix Command Arguments for Alpha_Assert
1266 static const char* apzAlpha_AssertPatch[] = {
1271 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1273 * Description of Alpha_Getopt fix
1275 tSCC zAlpha_GetoptName[] =
1279 * File name selection pattern
1281 tSCC zAlpha_GetoptList[] =
1282 "stdio.h\0stdlib.h\0";
1284 * Machine/OS name selection pattern
1286 #define apzAlpha_GetoptMachs (const char**)NULL
1289 * content selection pattern - do fix if pattern found
1291 tSCC zAlpha_GetoptSelect0[] =
1292 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1294 #define ALPHA_GETOPT_TEST_CT 1
1295 static tTestDesc aAlpha_GetoptTests[] = {
1296 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1299 * Fix Command Arguments for Alpha_Getopt
1301 static const char* apzAlpha_GetoptPatch[] = {
1303 "getopt(int, char *const[], const char *)",
1306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1308 * Description of Alpha_If_Semicolon fix
1310 tSCC zAlpha_If_SemicolonName[] =
1311 "alpha_if_semicolon";
1314 * File name selection pattern
1316 tSCC zAlpha_If_SemicolonList[] =
1319 * Machine/OS name selection pattern
1321 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1324 * content selection pattern - do fix if pattern found
1326 tSCC zAlpha_If_SemicolonSelect0[] =
1327 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1329 #define ALPHA_IF_SEMICOLON_TEST_CT 1
1330 static tTestDesc aAlpha_If_SemicolonTests[] = {
1331 { TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1334 * Fix Command Arguments for Alpha_If_Semicolon
1336 static const char* apzAlpha_If_SemicolonPatch[] = {
1338 "struct sockaddr vmif_paddr;\t/*",
1341 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1343 * Description of Alpha_Parens fix
1345 tSCC zAlpha_ParensName[] =
1349 * File name selection pattern
1351 tSCC zAlpha_ParensList[] =
1354 * Machine/OS name selection pattern
1356 #define apzAlpha_ParensMachs (const char**)NULL
1359 * content selection pattern - do fix if pattern found
1361 tSCC zAlpha_ParensSelect0[] =
1362 "#ifndef\\(__mips64\\)";
1364 #define ALPHA_PARENS_TEST_CT 1
1365 static tTestDesc aAlpha_ParensTests[] = {
1366 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1369 * Fix Command Arguments for Alpha_Parens
1371 static const char* apzAlpha_ParensPatch[] = {
1376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1378 * Description of Alpha_Sbrk fix
1380 tSCC zAlpha_SbrkName[] =
1384 * File name selection pattern
1386 tSCC zAlpha_SbrkList[] =
1389 * Machine/OS name selection pattern
1391 #define apzAlpha_SbrkMachs (const char**)NULL
1394 * content selection pattern - do fix if pattern found
1396 tSCC zAlpha_SbrkSelect0[] =
1397 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1399 #define ALPHA_SBRK_TEST_CT 1
1400 static tTestDesc aAlpha_SbrkTests[] = {
1401 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1404 * Fix Command Arguments for Alpha_Sbrk
1406 static const char* apzAlpha_SbrkPatch[] = {
1411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1413 * Description of Avoid_Bool_Define fix
1415 tSCC zAvoid_Bool_DefineName[] =
1416 "avoid_bool_define";
1419 * File name selection pattern
1421 tSCC zAvoid_Bool_DefineList[] =
1422 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1424 * Machine/OS name selection pattern
1426 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1429 * content selection pattern - do fix if pattern found
1431 tSCC zAvoid_Bool_DefineSelect0[] =
1432 "#[ \t]*define[ \t]+bool[ \t]";
1435 * content bypass pattern - skip fix if pattern found
1437 tSCC zAvoid_Bool_DefineBypass0[] =
1440 #define AVOID_BOOL_DEFINE_TEST_CT 2
1441 static tTestDesc aAvoid_Bool_DefineTests[] = {
1442 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1443 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1446 * Fix Command Arguments for Avoid_Bool_Define
1448 static const char* apzAvoid_Bool_DefinePatch[] = {
1450 "#ifndef __cplusplus\n\
1453 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1458 * Description of Avoid_Bool_Type fix
1460 tSCC zAvoid_Bool_TypeName[] =
1464 * File name selection pattern
1466 tSCC zAvoid_Bool_TypeList[] =
1467 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
1469 * Machine/OS name selection pattern
1471 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1474 * content selection pattern - do fix if pattern found
1476 tSCC zAvoid_Bool_TypeSelect0[] =
1477 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1480 * content bypass pattern - skip fix if pattern found
1482 tSCC zAvoid_Bool_TypeBypass0[] =
1485 #define AVOID_BOOL_TYPE_TEST_CT 2
1486 static tTestDesc aAvoid_Bool_TypeTests[] = {
1487 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1488 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1491 * Fix Command Arguments for Avoid_Bool_Type
1493 static const char* apzAvoid_Bool_TypePatch[] = {
1495 "#ifndef __cplusplus\n\
1500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1502 * Description of Avoid_Wchar_T_Type fix
1504 tSCC zAvoid_Wchar_T_TypeName[] =
1505 "avoid_wchar_t_type";
1508 * File name selection pattern
1510 #define zAvoid_Wchar_T_TypeList (char*)NULL
1512 * Machine/OS name selection pattern
1514 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1517 * content selection pattern - do fix if pattern found
1519 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1520 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1523 * content bypass pattern - skip fix if pattern found
1525 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1527 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1529 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1530 "XFree86: xc/lib/X11/Xlib\\.h";
1532 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1533 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1534 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1535 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1536 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1537 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1540 * Fix Command Arguments for Avoid_Wchar_T_Type
1542 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1544 "#ifndef __cplusplus\n\
1549 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1551 * Description of Bad_Struct_Term fix
1553 tSCC zBad_Struct_TermName[] =
1557 * File name selection pattern
1559 tSCC zBad_Struct_TermList[] =
1562 * Machine/OS name selection pattern
1564 #define apzBad_Struct_TermMachs (const char**)NULL
1567 * content selection pattern - do fix if pattern found
1569 tSCC zBad_Struct_TermSelect0[] =
1570 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1572 #define BAD_STRUCT_TERM_TEST_CT 1
1573 static tTestDesc aBad_Struct_TermTests[] = {
1574 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1577 * Fix Command Arguments for Bad_Struct_Term
1579 static const char* apzBad_Struct_TermPatch[] = {
1584 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1586 * Description of Badquote fix
1588 tSCC zBadquoteName[] =
1592 * File name selection pattern
1594 tSCC zBadquoteList[] =
1595 "sundev/vuid_event.h\0";
1597 * Machine/OS name selection pattern
1599 #define apzBadquoteMachs (const char**)NULL
1602 * content selection pattern - do fix if pattern found
1604 tSCC zBadquoteSelect0[] =
1607 #define BADQUOTE_TEST_CT 1
1608 static tTestDesc aBadquoteTests[] = {
1609 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1612 * Fix Command Arguments for Badquote
1614 static const char* apzBadquotePatch[] = {
1619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1621 * Description of Broken_Assert_Stdio fix
1623 tSCC zBroken_Assert_StdioName[] =
1624 "broken_assert_stdio";
1627 * File name selection pattern
1629 tSCC zBroken_Assert_StdioList[] =
1632 * Machine/OS name selection pattern
1634 #define apzBroken_Assert_StdioMachs (const char**)NULL
1637 * content selection pattern - do fix if pattern found
1639 tSCC zBroken_Assert_StdioSelect0[] =
1643 * content bypass pattern - skip fix if pattern found
1645 tSCC zBroken_Assert_StdioBypass0[] =
1646 "include.*stdio\\.h";
1648 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1649 static tTestDesc aBroken_Assert_StdioTests[] = {
1650 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1651 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1654 * Fix Command Arguments for Broken_Assert_Stdio
1656 static const char* apzBroken_Assert_StdioPatch[] = {
1658 "#include <stdio.h>\n",
1661 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1663 * Description of Broken_Assert_Stdlib fix
1665 tSCC zBroken_Assert_StdlibName[] =
1666 "broken_assert_stdlib";
1669 * File name selection pattern
1671 tSCC zBroken_Assert_StdlibList[] =
1674 * Machine/OS name selection pattern
1676 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1679 * content selection pattern - do fix if pattern found
1681 tSCC zBroken_Assert_StdlibSelect0[] =
1682 "exit *\\(|abort *\\(";
1685 * content bypass pattern - skip fix if pattern found
1687 tSCC zBroken_Assert_StdlibBypass0[] =
1688 "include.*stdlib\\.h";
1690 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1691 static tTestDesc aBroken_Assert_StdlibTests[] = {
1692 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1693 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1696 * Fix Command Arguments for Broken_Assert_Stdlib
1698 static const char* apzBroken_Assert_StdlibPatch[] = {
1700 "#ifdef __cplusplus\n\
1701 #include <stdlib.h>\n\
1705 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1707 * Description of Broken_Cabs fix
1709 tSCC zBroken_CabsName[] =
1713 * File name selection pattern
1715 tSCC zBroken_CabsList[] =
1716 "math.h\0architecture/*/math.h\0";
1718 * Machine/OS name selection pattern
1720 #define apzBroken_CabsMachs (const char**)NULL
1723 * content selection pattern - do fix if pattern found
1725 tSCC zBroken_CabsSelect0[] =
1726 "^extern[ \t]+double[ \t]+cabs";
1728 #define BROKEN_CABS_TEST_CT 1
1729 static tTestDesc aBroken_CabsTests[] = {
1730 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1733 * Fix Command Arguments for Broken_Cabs
1735 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
1736 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
1737 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
1740 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1742 * Description of Broken_Nan fix
1744 tSCC zBroken_NanName[] =
1748 * File name selection pattern
1750 tSCC zBroken_NanList[] =
1751 "architecture/ppc/math.h\0architecture/*/math.h\0";
1753 * Machine/OS name selection pattern
1755 #define apzBroken_NanMachs (const char**)NULL
1758 * content selection pattern - do fix if pattern found
1760 tSCC zBroken_NanSelect0[] =
1761 "#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
1764 * content bypass pattern - skip fix if pattern found
1766 tSCC zBroken_NanBypass0[] =
1769 #define BROKEN_NAN_TEST_CT 2
1770 static tTestDesc aBroken_NanTests[] = {
1771 { TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
1772 { TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
1775 * Fix Command Arguments for Broken_Nan
1777 static const char* apzBroken_NanPatch[] = {
1782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1784 * Description of Bsd_Stdio_Attrs_Conflict fix
1786 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1787 "bsd_stdio_attrs_conflict";
1790 * File name selection pattern
1792 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1795 * Machine/OS name selection pattern
1797 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1800 (const char*)NULL };
1803 * content selection pattern - do fix if pattern found
1805 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1806 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1808 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1809 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1810 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1813 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1815 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1817 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1818 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1819 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1824 * Description of Cdef_Cplusplus fix
1826 tSCC zCdef_CplusplusName[] =
1830 * File name selection pattern
1832 tSCC zCdef_CplusplusList[] =
1835 * Machine/OS name selection pattern
1837 #define apzCdef_CplusplusMachs (const char**)NULL
1840 * content selection pattern - do fix if pattern found
1842 tSCC zCdef_CplusplusSelect0[] =
1843 "\\[\\[noreturn\\]\\]";
1845 #define CDEF_CPLUSPLUS_TEST_CT 1
1846 static tTestDesc aCdef_CplusplusTests[] = {
1847 { TT_EGREP, zCdef_CplusplusSelect0, (regex_t*)NULL }, };
1850 * Fix Command Arguments for Cdef_Cplusplus
1852 static const char* apzCdef_CplusplusPatch[] = {
1854 "__attribute__((__noreturn__))",
1857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1859 * Description of Ctrl_Quotes_Def fix
1861 tSCC zCtrl_Quotes_DefName[] =
1865 * File name selection pattern
1867 #define zCtrl_Quotes_DefList (char*)NULL
1869 * Machine/OS name selection pattern
1871 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1874 * content selection pattern - do fix if pattern found
1876 tSCC zCtrl_Quotes_DefSelect0[] =
1877 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1879 #define CTRL_QUOTES_DEF_TEST_CT 1
1880 static tTestDesc aCtrl_Quotes_DefTests[] = {
1881 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1884 * Fix Command Arguments for Ctrl_Quotes_Def
1886 static const char* apzCtrl_Quotes_DefPatch[] = {
1891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1893 * Description of Ctrl_Quotes_Use fix
1895 tSCC zCtrl_Quotes_UseName[] =
1899 * File name selection pattern
1901 #define zCtrl_Quotes_UseList (char*)NULL
1903 * Machine/OS name selection pattern
1905 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1908 * content selection pattern - do fix if pattern found
1910 tSCC zCtrl_Quotes_UseSelect0[] =
1911 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1913 #define CTRL_QUOTES_USE_TEST_CT 1
1914 static tTestDesc aCtrl_Quotes_UseTests[] = {
1915 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1918 * Fix Command Arguments for Ctrl_Quotes_Use
1920 static const char* apzCtrl_Quotes_UsePatch[] = {
1925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1927 * Description of Cxx_Unready fix
1929 tSCC zCxx_UnreadyName[] =
1933 * File name selection pattern
1935 tSCC zCxx_UnreadyList[] =
1936 "sys/mman.h\0rpc/types.h\0";
1938 * Machine/OS name selection pattern
1940 #define apzCxx_UnreadyMachs (const char**)NULL
1943 * content selection pattern - do fix if pattern found
1945 tSCC zCxx_UnreadySelect0[] =
1949 * content bypass pattern - skip fix if pattern found
1951 tSCC zCxx_UnreadyBypass0[] =
1952 "\"C\"|__BEGIN_DECLS";
1954 #define CXX_UNREADY_TEST_CT 2
1955 static tTestDesc aCxx_UnreadyTests[] = {
1956 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1957 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1960 * Fix Command Arguments for Cxx_Unready
1962 static const char* apzCxx_UnreadyPatch[] = {
1964 "#ifdef __cplusplus\n\
1967 "#ifdef __cplusplus\n\
1972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1974 * Description of Darwin_Externc fix
1976 tSCC zDarwin_ExterncName[] =
1980 * File name selection pattern
1982 tSCC zDarwin_ExterncList[] =
1983 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
1985 * Machine/OS name selection pattern
1987 tSCC* apzDarwin_ExterncMachs[] = {
1989 (const char*)NULL };
1992 * content bypass pattern - skip fix if pattern found
1994 tSCC zDarwin_ExterncBypass0[] =
1996 tSCC zDarwin_ExterncBypass1[] =
1999 #define DARWIN_EXTERNC_TEST_CT 2
2000 static tTestDesc aDarwin_ExterncTests[] = {
2001 { TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
2002 { TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2005 * Fix Command Arguments for Darwin_Externc
2007 static const char* apzDarwin_ExterncPatch[] = {
2009 "#ifdef __cplusplus\n\
2012 "#ifdef __cplusplus\n\
2017 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2019 * Description of Darwin_Gcc4_Breakage fix
2021 tSCC zDarwin_Gcc4_BreakageName[] =
2022 "darwin_gcc4_breakage";
2025 * File name selection pattern
2027 tSCC zDarwin_Gcc4_BreakageList[] =
2028 "AvailabilityMacros.h\0";
2030 * Machine/OS name selection pattern
2032 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2034 (const char*)NULL };
2037 * content selection pattern - do fix if pattern found
2039 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2040 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2042 #define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2043 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2044 { TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2047 * Fix Command Arguments for Darwin_Gcc4_Breakage
2049 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2051 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2056 * Description of Darwin_Private_Extern fix
2058 tSCC zDarwin_Private_ExternName[] =
2059 "darwin_private_extern";
2062 * File name selection pattern
2064 tSCC zDarwin_Private_ExternList[] =
2067 * Machine/OS name selection pattern
2069 tSCC* apzDarwin_Private_ExternMachs[] = {
2071 (const char*)NULL };
2074 * content selection pattern - do fix if pattern found
2076 tSCC zDarwin_Private_ExternSelect0[] =
2077 "__private_extern__ [a-z_]+ _dyld_";
2079 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
2080 static tTestDesc aDarwin_Private_ExternTests[] = {
2081 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2084 * Fix Command Arguments for Darwin_Private_Extern
2086 static const char* apzDarwin_Private_ExternPatch[] = {
2089 "__private_extern__",
2092 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2094 * Description of Darwin_Stdint_1 fix
2096 tSCC zDarwin_Stdint_1Name[] =
2100 * File name selection pattern
2102 tSCC zDarwin_Stdint_1List[] =
2103 "stdint-darwin.h\0stdint.h\0";
2105 * Machine/OS name selection pattern
2107 tSCC* apzDarwin_Stdint_1Machs[] = {
2109 (const char*)NULL };
2112 * content selection pattern - do fix if pattern found
2114 tSCC zDarwin_Stdint_1Select0[] =
2115 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2116 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2118 #define DARWIN_STDINT_1_TEST_CT 1
2119 static tTestDesc aDarwin_Stdint_1Tests[] = {
2120 { TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2123 * Fix Command Arguments for Darwin_Stdint_1
2125 static const char* apzDarwin_Stdint_1Patch[] = {
2127 "#define UINT8_C(v)\tv\n\
2128 #define UINT16_C(v)\tv",
2131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2133 * Description of Darwin_Stdint_2 fix
2135 tSCC zDarwin_Stdint_2Name[] =
2139 * File name selection pattern
2141 tSCC zDarwin_Stdint_2List[] =
2142 "stdint-darwin.h\0stdint.h\0";
2144 * Machine/OS name selection pattern
2146 tSCC* apzDarwin_Stdint_2Machs[] = {
2148 (const char*)NULL };
2151 * content selection pattern - do fix if pattern found
2153 tSCC zDarwin_Stdint_2Select0[] =
2154 "#if __WORDSIZE == 64\n\
2155 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2156 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2158 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2159 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2162 #define DARWIN_STDINT_2_TEST_CT 1
2163 static tTestDesc aDarwin_Stdint_2Tests[] = {
2164 { TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2167 * Fix Command Arguments for Darwin_Stdint_2
2169 static const char* apzDarwin_Stdint_2Patch[] = {
2171 "#if __WORDSIZE == 64\n\
2172 #define INTPTR_MAX 9223372036854775807L\n\
2173 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2175 #define INTPTR_MAX 2147483647L\n\
2176 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2182 * Description of Darwin_Stdint_3 fix
2184 tSCC zDarwin_Stdint_3Name[] =
2188 * File name selection pattern
2190 tSCC zDarwin_Stdint_3List[] =
2191 "stdint-darwin.h\0stdint.h\0";
2193 * Machine/OS name selection pattern
2195 tSCC* apzDarwin_Stdint_3Machs[] = {
2197 (const char*)NULL };
2200 * content selection pattern - do fix if pattern found
2202 tSCC zDarwin_Stdint_3Select0[] =
2203 "#if __WORDSIZE == 64\n\
2204 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2206 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2209 #define DARWIN_STDINT_3_TEST_CT 1
2210 static tTestDesc aDarwin_Stdint_3Tests[] = {
2211 { TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2214 * Fix Command Arguments for Darwin_Stdint_3
2216 static const char* apzDarwin_Stdint_3Patch[] = {
2218 "#if __WORDSIZE == 64\n\
2219 #define UINTPTR_MAX 18446744073709551615UL\n\
2221 #define UINTPTR_MAX 4294967295UL\n\
2225 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2227 * Description of Darwin_Stdint_4 fix
2229 tSCC zDarwin_Stdint_4Name[] =
2233 * File name selection pattern
2235 tSCC zDarwin_Stdint_4List[] =
2236 "stdint-darwin.h\0stdint.h\0";
2238 * Machine/OS name selection pattern
2240 tSCC* apzDarwin_Stdint_4Machs[] = {
2242 (const char*)NULL };
2245 * content selection pattern - do fix if pattern found
2247 tSCC zDarwin_Stdint_4Select0[] =
2248 "#if __WORDSIZE == 64\n\
2249 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2251 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2254 #define DARWIN_STDINT_4_TEST_CT 1
2255 static tTestDesc aDarwin_Stdint_4Tests[] = {
2256 { TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2259 * Fix Command Arguments for Darwin_Stdint_4
2261 static const char* apzDarwin_Stdint_4Patch[] = {
2263 "#if __WORDSIZE == 64\n\
2264 #define SIZE_MAX 18446744073709551615UL\n\
2266 #define SIZE_MAX 4294967295UL\n\
2270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2272 * Description of Darwin_Stdint_5 fix
2274 tSCC zDarwin_Stdint_5Name[] =
2278 * File name selection pattern
2280 tSCC zDarwin_Stdint_5List[] =
2281 "stdint-darwin.h\0stdint.h\0";
2283 * Machine/OS name selection pattern
2285 tSCC* apzDarwin_Stdint_5Machs[] = {
2287 (const char*)NULL };
2290 * content selection pattern - do fix if pattern found
2292 tSCC zDarwin_Stdint_5Select0[] =
2293 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2294 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2295 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2297 #define DARWIN_STDINT_5_TEST_CT 1
2298 static tTestDesc aDarwin_Stdint_5Tests[] = {
2299 { TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2302 * Fix Command Arguments for Darwin_Stdint_5
2304 static const char* apzDarwin_Stdint_5Patch[] = {
2306 "#if __WORDSIZE == 64\n\
2307 #define INTMAX_MIN (-9223372036854775807L - 1)\n\
2308 #define INTMAX_MAX 9223372036854775807L\n\
2309 #define UINTMAX_MAX 18446744073709551615UL\n\
2311 #define INTMAX_MIN (-9223372036854775807LL - 1)\n\
2312 #define INTMAX_MAX 9223372036854775807LL\n\
2313 #define UINTMAX_MAX 18446744073709551615ULL\n\
2317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2319 * Description of Darwin_Stdint_6 fix
2321 tSCC zDarwin_Stdint_6Name[] =
2325 * File name selection pattern
2327 tSCC zDarwin_Stdint_6List[] =
2328 "stdint-darwin.h\0stdint.h\0";
2330 * Machine/OS name selection pattern
2332 tSCC* apzDarwin_Stdint_6Machs[] = {
2334 (const char*)NULL };
2337 * content selection pattern - do fix if pattern found
2339 tSCC zDarwin_Stdint_6Select0[] =
2340 "#if __WORDSIZE == 64\n\
2341 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2342 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2344 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2345 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2348 #define DARWIN_STDINT_6_TEST_CT 1
2349 static tTestDesc aDarwin_Stdint_6Tests[] = {
2350 { TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2353 * Fix Command Arguments for Darwin_Stdint_6
2355 static const char* apzDarwin_Stdint_6Patch[] = {
2357 "#if __WORDSIZE == 64\n\
2358 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
2359 #define PTRDIFF_MAX 9223372036854775807L\n\
2361 #define PTRDIFF_MIN (-2147483647 - 1)\n\
2362 #define PTRDIFF_MAX 2147483647\n\
2366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2368 * Description of Darwin_Stdint_7 fix
2370 tSCC zDarwin_Stdint_7Name[] =
2374 * File name selection pattern
2376 tSCC zDarwin_Stdint_7List[] =
2377 "stdint-darwin.h\0stdint.h\0";
2379 * Machine/OS name selection pattern
2381 tSCC* apzDarwin_Stdint_7Machs[] = {
2383 (const char*)NULL };
2386 * content selection pattern - do fix if pattern found
2388 tSCC zDarwin_Stdint_7Select0[] =
2389 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
2390 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
2392 #define DARWIN_STDINT_7_TEST_CT 1
2393 static tTestDesc aDarwin_Stdint_7Tests[] = {
2394 { TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
2397 * Fix Command Arguments for Darwin_Stdint_7
2399 static const char* apzDarwin_Stdint_7Patch[] = {
2401 "#if __WORDSIZE == 64\n\
2402 #define INTMAX_C(v) (v ## L)\n\
2403 #define UINTMAX_C(v) (v ## UL)\n\
2405 #define INTMAX_C(v) (v ## LL)\n\
2406 #define UINTMAX_C(v) (v ## ULL)\n\
2410 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2412 * Description of Dec_Intern_Asm fix
2414 tSCC zDec_Intern_AsmName[] =
2418 * File name selection pattern
2420 tSCC zDec_Intern_AsmList[] =
2423 * Machine/OS name selection pattern
2425 #define apzDec_Intern_AsmMachs (const char**)NULL
2426 #define DEC_INTERN_ASM_TEST_CT 0
2427 #define aDec_Intern_AsmTests (tTestDesc*)NULL
2430 * Fix Command Arguments for Dec_Intern_Asm
2432 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
2433 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
2435 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
2439 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2441 * Description of Djgpp_Wchar_H fix
2443 tSCC zDjgpp_Wchar_HName[] =
2447 * File name selection pattern
2449 #define zDjgpp_Wchar_HList (char*)NULL
2451 * Machine/OS name selection pattern
2453 #define apzDjgpp_Wchar_HMachs (const char**)NULL
2456 * content selection pattern - do fix if pattern found
2458 tSCC zDjgpp_Wchar_HSelect0[] =
2462 * content bypass pattern - skip fix if pattern found
2464 tSCC zDjgpp_Wchar_HBypass0[] =
2467 #define DJGPP_WCHAR_H_TEST_CT 2
2468 static tTestDesc aDjgpp_Wchar_HTests[] = {
2469 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
2470 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
2473 * Fix Command Arguments for Djgpp_Wchar_H
2475 static const char* apzDjgpp_Wchar_HPatch[] = {
2478 #include <sys/djtypes.h>",
2479 "#include <stddef.h>",
2482 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2484 * Description of Ecd_Cursor fix
2486 tSCC zEcd_CursorName[] =
2490 * File name selection pattern
2492 tSCC zEcd_CursorList[] =
2493 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
2495 * Machine/OS name selection pattern
2497 #define apzEcd_CursorMachs (const char**)NULL
2500 * content selection pattern - do fix if pattern found
2502 tSCC zEcd_CursorSelect0[] =
2505 #define ECD_CURSOR_TEST_CT 1
2506 static tTestDesc aEcd_CursorTests[] = {
2507 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
2510 * Fix Command Arguments for Ecd_Cursor
2512 static const char* apzEcd_CursorPatch[] = {
2517 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2519 * Description of Freebsd_Gcc3_Breakage fix
2521 tSCC zFreebsd_Gcc3_BreakageName[] =
2522 "freebsd_gcc3_breakage";
2525 * File name selection pattern
2527 tSCC zFreebsd_Gcc3_BreakageList[] =
2530 * Machine/OS name selection pattern
2532 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
2534 (const char*)NULL };
2537 * content selection pattern - do fix if pattern found
2539 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
2540 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
2543 * content bypass pattern - skip fix if pattern found
2545 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
2546 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
2548 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
2549 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
2550 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
2551 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
2554 * Fix Command Arguments for Freebsd_Gcc3_Breakage
2556 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
2558 "%0 || __GNUC__ >= 3",
2561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2563 * Description of Freebsd_Gcc4_Breakage fix
2565 tSCC zFreebsd_Gcc4_BreakageName[] =
2566 "freebsd_gcc4_breakage";
2569 * File name selection pattern
2571 tSCC zFreebsd_Gcc4_BreakageList[] =
2574 * Machine/OS name selection pattern
2576 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
2578 (const char*)NULL };
2581 * content selection pattern - do fix if pattern found
2583 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
2584 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
2586 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
2587 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
2588 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2591 * Fix Command Arguments for Freebsd_Gcc4_Breakage
2593 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
2595 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
2598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2600 * Description of Glibc_C99_Inline_1 fix
2602 tSCC zGlibc_C99_Inline_1Name[] =
2603 "glibc_c99_inline_1";
2606 * File name selection pattern
2608 tSCC zGlibc_C99_Inline_1List[] =
2609 "features.h\0*/features.h\0";
2611 * Machine/OS name selection pattern
2613 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
2616 * content selection pattern - do fix if pattern found
2618 tSCC zGlibc_C99_Inline_1Select0[] =
2619 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
2621 #define GLIBC_C99_INLINE_1_TEST_CT 1
2622 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
2623 { TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
2626 * Fix Command Arguments for Glibc_C99_Inline_1
2628 static const char* apzGlibc_C99_Inline_1Patch[] = {
2630 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
2633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2635 * Description of Glibc_C99_Inline_1a fix
2637 tSCC zGlibc_C99_Inline_1aName[] =
2638 "glibc_c99_inline_1a";
2641 * File name selection pattern
2643 tSCC zGlibc_C99_Inline_1aList[] =
2644 "features.h\0*/features.h\0";
2646 * Machine/OS name selection pattern
2648 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
2651 * content selection pattern - do fix if pattern found
2653 tSCC zGlibc_C99_Inline_1aSelect0[] =
2654 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
2655 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
2657 #define GLIBC_C99_INLINE_1A_TEST_CT 1
2658 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
2659 { TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
2662 * Fix Command Arguments for Glibc_C99_Inline_1a
2664 static const char* apzGlibc_C99_Inline_1aPatch[] = {
2666 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
2670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2672 * Description of Glibc_C99_Inline_2 fix
2674 tSCC zGlibc_C99_Inline_2Name[] =
2675 "glibc_c99_inline_2";
2678 * File name selection pattern
2680 tSCC zGlibc_C99_Inline_2List[] =
2681 "sys/stat.h\0*/sys/stat.h\0";
2683 * Machine/OS name selection pattern
2685 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
2688 * content selection pattern - do fix if pattern found
2690 tSCC zGlibc_C99_Inline_2Select0[] =
2691 "extern __inline__ int";
2693 #define GLIBC_C99_INLINE_2_TEST_CT 1
2694 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
2695 { TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
2698 * Fix Command Arguments for Glibc_C99_Inline_2
2700 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
2701 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2704 __inline__ int \\1/",
2705 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2708 __inline__ int \\1/",
2709 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2712 __inline__ int \\1/",
2713 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2716 __inline__ int __REDIRECT\\1 (\\2/",
2717 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
2720 __inline__ int __REDIRECT\\1 (\\2/",
2721 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
2727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2729 * Description of Glibc_C99_Inline_3 fix
2731 tSCC zGlibc_C99_Inline_3Name[] =
2732 "glibc_c99_inline_3";
2735 * File name selection pattern
2737 tSCC zGlibc_C99_Inline_3List[] =
2738 "bits/string2.h\0*/bits/string2.h\0";
2740 * Machine/OS name selection pattern
2742 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
2745 * content selection pattern - do fix if pattern found
2747 tSCC zGlibc_C99_Inline_3Select0[] =
2751 * content bypass pattern - skip fix if pattern found
2753 tSCC zGlibc_C99_Inline_3Bypass0[] =
2754 "__extern_inline|__GNU_STDC_INLINE__";
2756 #define GLIBC_C99_INLINE_3_TEST_CT 2
2757 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
2758 { TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
2759 { TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
2762 * Fix Command Arguments for Glibc_C99_Inline_3
2764 static const char* apzGlibc_C99_Inline_3Patch[] = {
2766 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
2767 "^# ifdef __cplusplus$",
2770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2772 * Description of Glibc_C99_Inline_4 fix
2774 tSCC zGlibc_C99_Inline_4Name[] =
2775 "glibc_c99_inline_4";
2778 * File name selection pattern
2780 tSCC zGlibc_C99_Inline_4List[] =
2781 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
2783 * Machine/OS name selection pattern
2785 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
2788 * content selection pattern - do fix if pattern found
2790 tSCC zGlibc_C99_Inline_4Select0[] =
2791 "(^| )extern __inline";
2794 * content bypass pattern - skip fix if pattern found
2796 tSCC zGlibc_C99_Inline_4Bypass0[] =
2797 "__extern_inline|__gnu_inline__";
2799 #define GLIBC_C99_INLINE_4_TEST_CT 2
2800 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
2801 { TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
2802 { TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
2805 * Fix Command Arguments for Glibc_C99_Inline_4
2807 static const char* apzGlibc_C99_Inline_4Patch[] = {
2809 "%0 __attribute__ ((__gnu_inline__))",
2812 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2814 * Description of Glibc_Mutex_Init fix
2816 tSCC zGlibc_Mutex_InitName[] =
2820 * File name selection pattern
2822 tSCC zGlibc_Mutex_InitList[] =
2825 * Machine/OS name selection pattern
2827 #define apzGlibc_Mutex_InitMachs (const char**)NULL
2830 * content selection pattern - do fix if pattern found
2832 tSCC zGlibc_Mutex_InitSelect0[] =
2833 "\\{ *\\{ *0, *\\} *\\}";
2835 #define GLIBC_MUTEX_INIT_TEST_CT 1
2836 static tTestDesc aGlibc_Mutex_InitTests[] = {
2837 { TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
2840 * Fix Command Arguments for Glibc_Mutex_Init
2842 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
2843 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
2845 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
2847 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
2848 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
2849 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
2850 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2851 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
2852 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
2853 "-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\
2855 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
2858 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
2860 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
2861 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
2864 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2866 * Description of Glibc_Stdint fix
2868 tSCC zGlibc_StdintName[] =
2872 * File name selection pattern
2874 tSCC zGlibc_StdintList[] =
2877 * Machine/OS name selection pattern
2879 #define apzGlibc_StdintMachs (const char**)NULL
2882 * content selection pattern - do fix if pattern found
2884 tSCC zGlibc_StdintSelect0[] =
2887 #define GLIBC_STDINT_TEST_CT 1
2888 static tTestDesc aGlibc_StdintTests[] = {
2889 { TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
2892 * Fix Command Arguments for Glibc_Stdint
2894 static const char* apzGlibc_StdintPatch[] = {
2896 "# define UINT8_C(c)\tc\n\
2897 # define UINT16_C(c)\tc",
2898 "# define UINT8_C\\(c\\)\tc ## U\n\
2899 # define UINT16_C\\(c\\)\tc ## U",
2902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2904 * Description of Glibc_Strncpy fix
2906 tSCC zGlibc_StrncpyName[] =
2910 * File name selection pattern
2912 tSCC zGlibc_StrncpyList[] =
2915 * Machine/OS name selection pattern
2917 #define apzGlibc_StrncpyMachs (const char**)NULL
2920 * content bypass pattern - skip fix if pattern found
2922 tSCC zGlibc_StrncpyBypass0[] =
2923 "__builtin_strncpy";
2925 #define GLIBC_STRNCPY_TEST_CT 1
2926 static tTestDesc aGlibc_StrncpyTests[] = {
2927 { TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
2930 * Fix Command Arguments for Glibc_Strncpy
2932 static const char* apzGlibc_StrncpyPatch[] = {
2934 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
2935 "# define strncpy([^\n\
2941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2943 * Description of Glibc_Tgmath fix
2945 tSCC zGlibc_TgmathName[] =
2949 * File name selection pattern
2951 tSCC zGlibc_TgmathList[] =
2954 * Machine/OS name selection pattern
2956 #define apzGlibc_TgmathMachs (const char**)NULL
2959 * content selection pattern - do fix if pattern found
2961 tSCC zGlibc_TgmathSelect0[] =
2962 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
2965 * content bypass pattern - skip fix if pattern found
2967 tSCC zGlibc_TgmathBypass0[] =
2968 "__floating_type\\(type\\) \\\\\n\
2969 .*__builtin_classify_type";
2971 #define GLIBC_TGMATH_TEST_CT 2
2972 static tTestDesc aGlibc_TgmathTests[] = {
2973 { TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
2974 { TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
2977 * Fix Command Arguments for Glibc_Tgmath
2979 static const char* apzGlibc_TgmathPatch[] = {
2981 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
2984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2986 * Description of Gnu_Types fix
2988 tSCC zGnu_TypesName[] =
2992 * File name selection pattern
2994 tSCC zGnu_TypesList[] =
2995 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
2997 * Machine/OS name selection pattern
2999 tSCC* apzGnu_TypesMachs[] = {
3000 "*-*-solaris2.1[0-9]*",
3001 (const char*)NULL };
3004 * content selection pattern - do fix if pattern found
3006 tSCC zGnu_TypesSelect0[] =
3007 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3010 * content bypass pattern - skip fix if pattern found
3012 tSCC zGnu_TypesBypass0[] =
3013 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3015 #define GNU_TYPES_TEST_CT 2
3016 static tTestDesc aGnu_TypesTests[] = {
3017 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
3018 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
3021 * Fix Command Arguments for Gnu_Types
3023 static const char* apzGnu_TypesPatch[] = {
3027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3029 * Description of Hp_Inline fix
3031 tSCC zHp_InlineName[] =
3035 * File name selection pattern
3037 tSCC zHp_InlineList[] =
3038 "sys/spinlock.h\0machine/machparam.h\0";
3040 * Machine/OS name selection pattern
3042 #define apzHp_InlineMachs (const char**)NULL
3045 * content selection pattern - do fix if pattern found
3047 tSCC zHp_InlineSelect0[] =
3048 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3050 #define HP_INLINE_TEST_CT 1
3051 static tTestDesc aHp_InlineTests[] = {
3052 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
3055 * Fix Command Arguments for Hp_Inline
3057 static const char* apzHp_InlinePatch[] = {
3060 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3065 * Description of Hp_Sysfile fix
3067 tSCC zHp_SysfileName[] =
3071 * File name selection pattern
3073 tSCC zHp_SysfileList[] =
3076 * Machine/OS name selection pattern
3078 #define apzHp_SysfileMachs (const char**)NULL
3081 * content selection pattern - do fix if pattern found
3083 tSCC zHp_SysfileSelect0[] =
3086 #define HP_SYSFILE_TEST_CT 1
3087 static tTestDesc aHp_SysfileTests[] = {
3088 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
3091 * Fix Command Arguments for Hp_Sysfile
3093 static const char* apzHp_SysfilePatch[] = {
3095 "(struct file *, ...)",
3099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3101 * Description of Hppa_Hpux_Fp_Macros fix
3103 tSCC zHppa_Hpux_Fp_MacrosName[] =
3104 "hppa_hpux_fp_macros";
3107 * File name selection pattern
3109 tSCC zHppa_Hpux_Fp_MacrosList[] =
3112 * Machine/OS name selection pattern
3114 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3116 (const char*)NULL };
3119 * content selection pattern - do fix if pattern found
3121 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3122 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3123 #[ \t]*define[ \t]*FP_ZERO.*\n\
3124 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3125 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3126 #[ \t]*define[ \t]*FP_NAN.*\n";
3128 #define HPPA_HPUX_FP_MACROS_TEST_CT 1
3129 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3130 { TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3133 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
3135 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3137 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3138 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3139 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3141 #ifdef _INCLUDE_HPUX_SOURCE\n",
3144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3146 * Description of Hpux10_Cpp_Pow_Inline fix
3148 tSCC zHpux10_Cpp_Pow_InlineName[] =
3149 "hpux10_cpp_pow_inline";
3152 * File name selection pattern
3154 tSCC zHpux10_Cpp_Pow_InlineList[] =
3155 "fixinc-test-limits.h\0math.h\0";
3157 * Machine/OS name selection pattern
3159 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3162 * content selection pattern - do fix if pattern found
3164 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3165 "^# +ifdef +__cplusplus\n\
3167 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3168 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3170 +extern +\"C\" +\\{\n\
3174 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
3175 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3176 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3179 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3181 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3188 * Description of Hpux11_Cpp_Pow_Inline fix
3190 tSCC zHpux11_Cpp_Pow_InlineName[] =
3191 "hpux11_cpp_pow_inline";
3194 * File name selection pattern
3196 tSCC zHpux11_Cpp_Pow_InlineList[] =
3199 * Machine/OS name selection pattern
3201 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3204 * content selection pattern - do fix if pattern found
3206 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3207 " +inline double pow\\(double d,int expon\\) \\{\n\
3208 +return pow\\(d, \\(double\\)expon\\);\n\
3211 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
3212 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3213 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3216 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3218 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3225 * Description of Hpux10_Ctype_Declarations1 fix
3227 tSCC zHpux10_Ctype_Declarations1Name[] =
3228 "hpux10_ctype_declarations1";
3231 * File name selection pattern
3233 tSCC zHpux10_Ctype_Declarations1List[] =
3236 * Machine/OS name selection pattern
3238 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3241 * content selection pattern - do fix if pattern found
3243 tSCC zHpux10_Ctype_Declarations1Select0[] =
3244 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3247 * content bypass pattern - skip fix if pattern found
3249 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3250 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
3252 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
3253 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
3254 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
3255 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
3258 * Fix Command Arguments for Hpux10_Ctype_Declarations1
3260 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
3262 "#ifdef _PROTOTYPES\n\
3263 extern int __tolower(int);\n\
3264 extern int __toupper(int);\n\
3265 #else /* NOT _PROTOTYPES */\n\
3266 extern int __tolower();\n\
3267 extern int __toupper();\n\
3268 #endif /* _PROTOTYPES */\n\n\
3272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3274 * Description of Hpux10_Ctype_Declarations2 fix
3276 tSCC zHpux10_Ctype_Declarations2Name[] =
3277 "hpux10_ctype_declarations2";
3280 * File name selection pattern
3282 tSCC zHpux10_Ctype_Declarations2List[] =
3285 * Machine/OS name selection pattern
3287 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
3290 * content selection pattern - do fix if pattern found
3292 tSCC zHpux10_Ctype_Declarations2Select0[] =
3293 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
3296 * content bypass pattern - skip fix if pattern found
3298 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
3299 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
3301 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
3302 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
3303 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
3304 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
3307 * Fix Command Arguments for Hpux10_Ctype_Declarations2
3309 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
3312 #ifdef _PROTOTYPES\n\
3313 extern int _isalnum(int);\n\
3314 extern int _isalpha(int);\n\
3315 extern int _iscntrl(int);\n\
3316 extern int _isdigit(int);\n\
3317 extern int _isgraph(int);\n\
3318 extern int _islower(int);\n\
3319 extern int _isprint(int);\n\
3320 extern int _ispunct(int);\n\
3321 extern int _isspace(int);\n\
3322 extern int _isupper(int);\n\
3323 extern int _isxdigit(int);\n\
3324 # else /* not _PROTOTYPES */\n\
3325 extern int _isalnum();\n\
3326 extern int _isalpha();\n\
3327 extern int _iscntrl();\n\
3328 extern int _isdigit();\n\
3329 extern int _isgraph();\n\
3330 extern int _islower();\n\
3331 extern int _isprint();\n\
3332 extern int _ispunct();\n\
3333 extern int _isspace();\n\
3334 extern int _isupper();\n\
3335 extern int _isxdigit();\n\
3336 #endif /* _PROTOTYPES */\n",
3339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3341 * Description of Hpux10_Stdio_Declarations fix
3343 tSCC zHpux10_Stdio_DeclarationsName[] =
3344 "hpux10_stdio_declarations";
3347 * File name selection pattern
3349 tSCC zHpux10_Stdio_DeclarationsList[] =
3352 * Machine/OS name selection pattern
3354 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
3357 * content selection pattern - do fix if pattern found
3359 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
3360 "^#[ \t]*define _iob[ \t]*__iob";
3363 * content bypass pattern - skip fix if pattern found
3365 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
3366 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
3368 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
3369 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
3370 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
3371 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
3374 * Fix Command Arguments for Hpux10_Stdio_Declarations
3376 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
3379 # if defined(__STDC__) || defined(__cplusplus)\n\
3380 extern int snprintf(char *, size_t, const char *, ...);\n\
3381 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
3382 # else /* not __STDC__) || __cplusplus */\n\
3383 extern int snprintf();\n\
3384 extern int vsnprintf();\n\
3385 # endif /* __STDC__) || __cplusplus */\n",
3388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3390 * Description of Hpux11_Abs fix
3392 tSCC zHpux11_AbsName[] =
3396 * File name selection pattern
3398 tSCC zHpux11_AbsList[] =
3401 * Machine/OS name selection pattern
3403 tSCC* apzHpux11_AbsMachs[] = {
3405 (const char*)NULL };
3408 * content selection pattern - do fix if pattern found
3410 tSCC zHpux11_AbsSelect0[] =
3411 "ifndef _MATH_INCLUDED";
3413 #define HPUX11_ABS_TEST_CT 1
3414 static tTestDesc aHpux11_AbsTests[] = {
3415 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
3418 * Fix Command Arguments for Hpux11_Abs
3420 static const char* apzHpux11_AbsPatch[] = {
3422 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
3425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3427 * Description of Hpux11_Fabsf fix
3429 tSCC zHpux11_FabsfName[] =
3433 * File name selection pattern
3435 tSCC zHpux11_FabsfList[] =
3438 * Machine/OS name selection pattern
3440 #define apzHpux11_FabsfMachs (const char**)NULL
3443 * content selection pattern - do fix if pattern found
3445 tSCC zHpux11_FabsfSelect0[] =
3446 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
3449 * content bypass pattern - skip fix if pattern found
3451 tSCC zHpux11_FabsfBypass0[] =
3454 #define HPUX11_FABSF_TEST_CT 2
3455 static tTestDesc aHpux11_FabsfTests[] = {
3456 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
3457 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
3460 * Fix Command Arguments for Hpux11_Fabsf
3462 static const char* apzHpux11_FabsfPatch[] = {
3464 "#ifndef __cplusplus\n\
3469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3471 * Description of Hpux11_Pthread_Const fix
3473 tSCC zHpux11_Pthread_ConstName[] =
3474 "hpux11_pthread_const";
3477 * File name selection pattern
3479 tSCC zHpux11_Pthread_ConstList[] =
3482 * Machine/OS name selection pattern
3484 tSCC* apzHpux11_Pthread_ConstMachs[] = {
3485 "*-hp-hpux11.[0-3]*",
3486 (const char*)NULL };
3489 * content selection pattern - do fix if pattern found
3491 tSCC zHpux11_Pthread_ConstSelect0[] =
3492 "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
3494 #define HPUX11_PTHREAD_CONST_TEST_CT 1
3495 static tTestDesc aHpux11_Pthread_ConstTests[] = {
3496 { TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
3499 * Fix Command Arguments for Hpux11_Pthread_Const
3501 static const char* apzHpux11_Pthread_ConstPatch[] = {
3503 "#define __POINTER_SET\t\t((void *) 1L)",
3506 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3508 * Description of Hpux11_Size_T fix
3510 tSCC zHpux11_Size_TName[] =
3514 * File name selection pattern
3516 #define zHpux11_Size_TList (char*)NULL
3518 * Machine/OS name selection pattern
3520 tSCC* apzHpux11_Size_TMachs[] = {
3522 (const char*)NULL };
3525 * content selection pattern - do fix if pattern found
3527 tSCC zHpux11_Size_TSelect0[] =
3530 #define HPUX11_SIZE_T_TEST_CT 1
3531 static tTestDesc aHpux11_Size_TTests[] = {
3532 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
3535 * Fix Command Arguments for Hpux11_Size_T
3537 static const char* apzHpux11_Size_TPatch[] = {
3542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3544 * Description of Hpux11_Snprintf fix
3546 tSCC zHpux11_SnprintfName[] =
3550 * File name selection pattern
3552 tSCC zHpux11_SnprintfList[] =
3555 * Machine/OS name selection pattern
3557 #define apzHpux11_SnprintfMachs (const char**)NULL
3560 * content selection pattern - do fix if pattern found
3562 tSCC zHpux11_SnprintfSelect0[] =
3563 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
3565 #define HPUX11_SNPRINTF_TEST_CT 1
3566 static tTestDesc aHpux11_SnprintfTests[] = {
3567 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
3570 * Fix Command Arguments for Hpux11_Snprintf
3572 static const char* apzHpux11_SnprintfPatch[] = {
3577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3579 * Description of Hpux11_Vsnprintf fix
3581 tSCC zHpux11_VsnprintfName[] =
3585 * File name selection pattern
3587 tSCC zHpux11_VsnprintfList[] =
3590 * Machine/OS name selection pattern
3592 #define apzHpux11_VsnprintfMachs (const char**)NULL
3595 * content selection pattern - do fix if pattern found
3597 tSCC zHpux11_VsnprintfSelect0[] =
3598 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
3600 #define HPUX11_VSNPRINTF_TEST_CT 1
3601 static tTestDesc aHpux11_VsnprintfTests[] = {
3602 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
3605 * Fix Command Arguments for Hpux11_Vsnprintf
3607 static const char* apzHpux11_VsnprintfPatch[] = {
3612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3614 * Description of Hpux8_Bogus_Inlines fix
3616 tSCC zHpux8_Bogus_InlinesName[] =
3617 "hpux8_bogus_inlines";
3620 * File name selection pattern
3622 tSCC zHpux8_Bogus_InlinesList[] =
3625 * Machine/OS name selection pattern
3627 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
3630 * content selection pattern - do fix if pattern found
3632 tSCC zHpux8_Bogus_InlinesSelect0[] =
3636 * content bypass pattern - skip fix if pattern found
3638 tSCC zHpux8_Bogus_InlinesBypass0[] =
3641 #define HPUX8_BOGUS_INLINES_TEST_CT 2
3642 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
3643 { TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
3644 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
3647 * Fix Command Arguments for Hpux8_Bogus_Inlines
3649 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
3650 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
3651 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
3652 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
3653 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
3656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3658 * Description of Hpux_Ctype_Macros fix
3660 tSCC zHpux_Ctype_MacrosName[] =
3661 "hpux_ctype_macros";
3664 * File name selection pattern
3666 tSCC zHpux_Ctype_MacrosList[] =
3669 * Machine/OS name selection pattern
3671 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
3674 * content selection pattern - do fix if pattern found
3676 tSCC zHpux_Ctype_MacrosSelect0[] =
3677 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
3679 #define HPUX_CTYPE_MACROS_TEST_CT 1
3680 static tTestDesc aHpux_Ctype_MacrosTests[] = {
3681 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
3684 * Fix Command Arguments for Hpux_Ctype_Macros
3686 static const char* apzHpux_Ctype_MacrosPatch[] = {
3691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3693 * Description of Hpux_Htonl fix
3695 tSCC zHpux_HtonlName[] =
3699 * File name selection pattern
3701 tSCC zHpux_HtonlList[] =
3704 * Machine/OS name selection pattern
3706 #define apzHpux_HtonlMachs (const char**)NULL
3709 * content selection pattern - do fix if pattern found
3711 tSCC zHpux_HtonlSelect0[] =
3712 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
3714 \\* Macros for number representation conversion\\.\n\
3718 #define HPUX_HTONL_TEST_CT 1
3719 static tTestDesc aHpux_HtonlTests[] = {
3720 { TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
3723 * Fix Command Arguments for Hpux_Htonl
3725 static const char* apzHpux_HtonlPatch[] = {
3731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3733 * Description of Hpux_Long_Double fix
3735 tSCC zHpux_Long_DoubleName[] =
3739 * File name selection pattern
3741 tSCC zHpux_Long_DoubleList[] =
3744 * Machine/OS name selection pattern
3746 tSCC* apzHpux_Long_DoubleMachs[] = {
3748 "*-*-hpux11.[012]*",
3749 (const char*)NULL };
3752 * content selection pattern - do fix if pattern found
3754 tSCC zHpux_Long_DoubleSelect0[] =
3755 "extern[ \t]long_double[ \t]strtold";
3758 * content bypass pattern - skip fix if pattern found
3760 tSCC zHpux_Long_DoubleBypass0[] =
3763 #define HPUX_LONG_DOUBLE_TEST_CT 2
3764 static tTestDesc aHpux_Long_DoubleTests[] = {
3765 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
3766 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
3769 * Fix Command Arguments for Hpux_Long_Double
3771 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
3772 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
3773 "-e", "s/long_double/long double/g",
3776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3778 * Description of Hpux_Long_Double_2 fix
3780 tSCC zHpux_Long_Double_2Name[] =
3781 "hpux_long_double_2";
3784 * File name selection pattern
3786 tSCC zHpux_Long_Double_2List[] =
3789 * Machine/OS name selection pattern
3791 tSCC* apzHpux_Long_Double_2Machs[] = {
3792 "hppa*-*-hpux11.3*",
3793 (const char*)NULL };
3796 * content selection pattern - do fix if pattern found
3798 tSCC zHpux_Long_Double_2Select0[] =
3799 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
3801 #define HPUX_LONG_DOUBLE_2_TEST_CT 1
3802 static tTestDesc aHpux_Long_Double_2Tests[] = {
3803 { TT_EGREP, zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
3806 * Fix Command Arguments for Hpux_Long_Double_2
3808 static const char* apzHpux_Long_Double_2Patch[] = {
3810 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
3813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3815 * Description of Hpux_Systime fix
3817 tSCC zHpux_SystimeName[] =
3821 * File name selection pattern
3823 tSCC zHpux_SystimeList[] =
3826 * Machine/OS name selection pattern
3828 #define apzHpux_SystimeMachs (const char**)NULL
3831 * content selection pattern - do fix if pattern found
3833 tSCC zHpux_SystimeSelect0[] =
3834 "^extern struct sigevent;";
3836 #define HPUX_SYSTIME_TEST_CT 1
3837 static tTestDesc aHpux_SystimeTests[] = {
3838 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
3841 * Fix Command Arguments for Hpux_Systime
3843 static const char* apzHpux_SystimePatch[] = {
3848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3850 * Description of Hpux_Spu_Info fix
3852 tSCC zHpux_Spu_InfoName[] =
3856 * File name selection pattern
3858 tSCC zHpux_Spu_InfoList[] =
3859 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
3861 * Machine/OS name selection pattern
3863 tSCC* apzHpux_Spu_InfoMachs[] = {
3865 (const char*)NULL };
3868 * content selection pattern - do fix if pattern found
3870 tSCC zHpux_Spu_InfoSelect0[] =
3871 "^.*extern.*spu_info.*";
3873 #define HPUX_SPU_INFO_TEST_CT 1
3874 static tTestDesc aHpux_Spu_InfoTests[] = {
3875 { TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
3878 * Fix Command Arguments for Hpux_Spu_Info
3880 static const char* apzHpux_Spu_InfoPatch[] = {
3887 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3889 * Description of Hpux11_Extern_Sendfile fix
3891 tSCC zHpux11_Extern_SendfileName[] =
3892 "hpux11_extern_sendfile";
3895 * File name selection pattern
3897 tSCC zHpux11_Extern_SendfileList[] =
3900 * Machine/OS name selection pattern
3902 tSCC* apzHpux11_Extern_SendfileMachs[] = {
3903 "*-hp-hpux11.[12]*",
3904 (const char*)NULL };
3907 * content selection pattern - do fix if pattern found
3909 tSCC zHpux11_Extern_SendfileSelect0[] =
3910 "^[ \t]*extern sbsize_t sendfile.*\n\
3913 #define HPUX11_EXTERN_SENDFILE_TEST_CT 1
3914 static tTestDesc aHpux11_Extern_SendfileTests[] = {
3915 { TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
3918 * Fix Command Arguments for Hpux11_Extern_Sendfile
3920 static const char* apzHpux11_Extern_SendfilePatch[] = {
3922 "#ifndef _APP32_64BIT_OFF_T\n\
3926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3928 * Description of Hpux11_Extern_Sendpath fix
3930 tSCC zHpux11_Extern_SendpathName[] =
3931 "hpux11_extern_sendpath";
3934 * File name selection pattern
3936 tSCC zHpux11_Extern_SendpathList[] =
3939 * Machine/OS name selection pattern
3941 tSCC* apzHpux11_Extern_SendpathMachs[] = {
3942 "*-hp-hpux11.[12]*",
3943 (const char*)NULL };
3946 * content selection pattern - do fix if pattern found
3948 tSCC zHpux11_Extern_SendpathSelect0[] =
3949 "^[ \t]*extern sbsize_t sendpath.*\n\
3952 #define HPUX11_EXTERN_SENDPATH_TEST_CT 1
3953 static tTestDesc aHpux11_Extern_SendpathTests[] = {
3954 { TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
3957 * Fix Command Arguments for Hpux11_Extern_Sendpath
3959 static const char* apzHpux11_Extern_SendpathPatch[] = {
3961 "#ifndef _APP32_64BIT_OFF_T\n\
3965 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3967 * Description of Hpux_Extern_Errno fix
3969 tSCC zHpux_Extern_ErrnoName[] =
3970 "hpux_extern_errno";
3973 * File name selection pattern
3975 tSCC zHpux_Extern_ErrnoList[] =
3978 * Machine/OS name selection pattern
3980 tSCC* apzHpux_Extern_ErrnoMachs[] = {
3982 "*-hp-hpux11.[0-2]*",
3983 (const char*)NULL };
3986 * content selection pattern - do fix if pattern found
3988 tSCC zHpux_Extern_ErrnoSelect0[] =
3989 "^[ \t]*extern int errno;$";
3991 #define HPUX_EXTERN_ERRNO_TEST_CT 1
3992 static tTestDesc aHpux_Extern_ErrnoTests[] = {
3993 { TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
3996 * Fix Command Arguments for Hpux_Extern_Errno
3998 static const char* apzHpux_Extern_ErrnoPatch[] = {
4000 "#ifdef __cplusplus\n\
4004 #ifdef __cplusplus\n\
4009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4011 * Description of Hpux_Pthread_Initializers fix
4013 tSCC zHpux_Pthread_InitializersName[] =
4014 "hpux_pthread_initializers";
4017 * File name selection pattern
4019 tSCC zHpux_Pthread_InitializersList[] =
4022 * Machine/OS name selection pattern
4024 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4025 "*-hp-hpux11.[0-3]*",
4026 (const char*)NULL };
4027 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
4028 #define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
4031 * Fix Command Arguments for Hpux_Pthread_Initializers
4033 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4034 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4035 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4036 "-e", "/^[ \t]*0$/d",
4037 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4038 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4039 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4040 "-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\\\\@",
4041 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4042 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4043 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4044 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4045 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4046 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4051 * Description of Hpux_C99_Intptr fix
4053 tSCC zHpux_C99_IntptrName[] =
4057 * File name selection pattern
4059 tSCC zHpux_C99_IntptrList[] =
4060 "stdint-hpux11.h\0stdint.h\0";
4062 * Machine/OS name selection pattern
4064 tSCC* apzHpux_C99_IntptrMachs[] = {
4066 (const char*)NULL };
4067 #define HPUX_C99_INTPTR_TEST_CT 0
4068 #define aHpux_C99_IntptrTests (tTestDesc*)NULL
4071 * Fix Command Arguments for Hpux_C99_Intptr
4073 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4074 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4075 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4076 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4077 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4078 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4079 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4082 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4084 * Description of Hpux_C99_Inttypes fix
4086 tSCC zHpux_C99_InttypesName[] =
4087 "hpux_c99_inttypes";
4090 * File name selection pattern
4092 tSCC zHpux_C99_InttypesList[] =
4093 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4095 * Machine/OS name selection pattern
4097 tSCC* apzHpux_C99_InttypesMachs[] = {
4098 "*-hp-hpux11.[23]*",
4099 (const char*)NULL };
4100 #define HPUX_C99_INTTYPES_TEST_CT 0
4101 #define aHpux_C99_InttypesTests (tTestDesc*)NULL
4104 * Fix Command Arguments for Hpux_C99_Inttypes
4106 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4107 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4108 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4109 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4110 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4113 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4115 * Description of Hpux_C99_Inttypes2 fix
4117 tSCC zHpux_C99_Inttypes2Name[] =
4118 "hpux_c99_inttypes2";
4121 * File name selection pattern
4123 tSCC zHpux_C99_Inttypes2List[] =
4124 "stdint-hpux11.h\0stdint.h\0";
4126 * Machine/OS name selection pattern
4128 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4130 (const char*)NULL };
4131 #define HPUX_C99_INTTYPES2_TEST_CT 0
4132 #define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
4135 * Fix Command Arguments for Hpux_C99_Inttypes2
4137 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4138 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4139 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4140 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4141 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4144 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4146 * Description of Hpux_Stdint_Least_Fast fix
4148 tSCC zHpux_Stdint_Least_FastName[] =
4149 "hpux_stdint_least_fast";
4152 * File name selection pattern
4154 tSCC zHpux_Stdint_Least_FastList[] =
4155 "stdint-hpux11.h\0stdint.h\0";
4157 * Machine/OS name selection pattern
4159 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
4161 (const char*)NULL };
4164 * content selection pattern - do fix if pattern found
4166 tSCC zHpux_Stdint_Least_FastSelect0[] =
4167 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
4169 #define HPUX_STDINT_LEAST_FAST_TEST_CT 1
4170 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
4171 { TT_EGREP, zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
4174 * Fix Command Arguments for Hpux_Stdint_Least_Fast
4176 static const char* apzHpux_Stdint_Least_FastPatch[] = {
4178 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
4181 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4183 * Description of Hpux_Inttype_Int8_T fix
4185 tSCC zHpux_Inttype_Int8_TName[] =
4186 "hpux_inttype_int8_t";
4189 * File name selection pattern
4191 tSCC zHpux_Inttype_Int8_TList[] =
4192 "sys/_inttypes.h\0";
4194 * Machine/OS name selection pattern
4196 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4198 (const char*)NULL };
4201 * content selection pattern - do fix if pattern found
4203 tSCC zHpux_Inttype_Int8_TSelect0[] =
4204 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4206 #define HPUX_INTTYPE_INT8_T_TEST_CT 1
4207 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4208 { TT_EGREP, zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4211 * Fix Command Arguments for Hpux_Inttype_Int8_T
4213 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4215 "typedef signed char int%18_t;",
4218 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4220 * Description of Hpux_Imaginary_I fix
4222 tSCC zHpux_Imaginary_IName[] =
4226 * File name selection pattern
4228 tSCC zHpux_Imaginary_IList[] =
4231 * Machine/OS name selection pattern
4233 tSCC* apzHpux_Imaginary_IMachs[] = {
4235 (const char*)NULL };
4238 * content selection pattern - do fix if pattern found
4240 tSCC zHpux_Imaginary_ISelect0[] =
4241 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4243 #define HPUX_IMAGINARY_I_TEST_CT 1
4244 static tTestDesc aHpux_Imaginary_ITests[] = {
4245 { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4248 * Fix Command Arguments for Hpux_Imaginary_I
4250 static const char* apzHpux_Imaginary_IPatch[] = {
4252 "#define _Complex_I (__extension__ 1.0iF)",
4255 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4257 * Description of Huge_Val_Hex fix
4259 tSCC zHuge_Val_HexName[] =
4263 * File name selection pattern
4265 tSCC zHuge_Val_HexList[] =
4266 "bits/huge_val.h\0";
4268 * Machine/OS name selection pattern
4270 #define apzHuge_Val_HexMachs (const char**)NULL
4273 * content selection pattern - do fix if pattern found
4275 tSCC zHuge_Val_HexSelect0[] =
4276 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
4279 * content bypass pattern - skip fix if pattern found
4281 tSCC zHuge_Val_HexBypass0[] =
4282 "__builtin_huge_val";
4284 #define HUGE_VAL_HEX_TEST_CT 2
4285 static tTestDesc aHuge_Val_HexTests[] = {
4286 { TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
4287 { TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
4290 * Fix Command Arguments for Huge_Val_Hex
4292 static const char* apzHuge_Val_HexPatch[] = {
4294 "#define HUGE_VAL (__builtin_huge_val())\n",
4297 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4299 * Description of Huge_Valf_Hex fix
4301 tSCC zHuge_Valf_HexName[] =
4305 * File name selection pattern
4307 tSCC zHuge_Valf_HexList[] =
4308 "bits/huge_val.h\0";
4310 * Machine/OS name selection pattern
4312 #define apzHuge_Valf_HexMachs (const char**)NULL
4315 * content selection pattern - do fix if pattern found
4317 tSCC zHuge_Valf_HexSelect0[] =
4318 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
4321 * content bypass pattern - skip fix if pattern found
4323 tSCC zHuge_Valf_HexBypass0[] =
4324 "__builtin_huge_valf";
4326 #define HUGE_VALF_HEX_TEST_CT 2
4327 static tTestDesc aHuge_Valf_HexTests[] = {
4328 { TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
4329 { TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
4332 * Fix Command Arguments for Huge_Valf_Hex
4334 static const char* apzHuge_Valf_HexPatch[] = {
4336 "#define HUGE_VALF (__builtin_huge_valf())\n",
4339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4341 * Description of Huge_Vall_Hex fix
4343 tSCC zHuge_Vall_HexName[] =
4347 * File name selection pattern
4349 tSCC zHuge_Vall_HexList[] =
4350 "bits/huge_val.h\0";
4352 * Machine/OS name selection pattern
4354 #define apzHuge_Vall_HexMachs (const char**)NULL
4357 * content selection pattern - do fix if pattern found
4359 tSCC zHuge_Vall_HexSelect0[] =
4360 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
4363 * content bypass pattern - skip fix if pattern found
4365 tSCC zHuge_Vall_HexBypass0[] =
4366 "__builtin_huge_vall";
4368 #define HUGE_VALL_HEX_TEST_CT 2
4369 static tTestDesc aHuge_Vall_HexTests[] = {
4370 { TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
4371 { TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
4374 * Fix Command Arguments for Huge_Vall_Hex
4376 static const char* apzHuge_Vall_HexPatch[] = {
4378 "#define HUGE_VALL (__builtin_huge_vall())\n",
4381 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4383 * Description of Int_Abort_Free_And_Exit fix
4385 tSCC zInt_Abort_Free_And_ExitName[] =
4386 "int_abort_free_and_exit";
4389 * File name selection pattern
4391 tSCC zInt_Abort_Free_And_ExitList[] =
4394 * Machine/OS name selection pattern
4396 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
4399 * content selection pattern - do fix if pattern found
4401 tSCC zInt_Abort_Free_And_ExitSelect0[] =
4402 "int[ \t]+(abort|free|exit)[ \t]*\\(";
4405 * content bypass pattern - skip fix if pattern found
4407 tSCC zInt_Abort_Free_And_ExitBypass0[] =
4408 "_CLASSIC_ANSI_TYPES";
4410 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
4411 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
4412 { TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
4413 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
4416 * Fix Command Arguments for Int_Abort_Free_And_Exit
4418 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
4423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4425 * Description of Io_Quotes_Def fix
4427 tSCC zIo_Quotes_DefName[] =
4431 * File name selection pattern
4433 #define zIo_Quotes_DefList (char*)NULL
4435 * Machine/OS name selection pattern
4437 #define apzIo_Quotes_DefMachs (const char**)NULL
4440 * content selection pattern - do fix if pattern found
4442 tSCC zIo_Quotes_DefSelect0[] =
4443 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
4445 #define IO_QUOTES_DEF_TEST_CT 1
4446 static tTestDesc aIo_Quotes_DefTests[] = {
4447 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
4450 * Fix Command Arguments for Io_Quotes_Def
4452 static const char* apzIo_Quotes_DefPatch[] = {
4457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4459 * Description of Io_Quotes_Use fix
4461 tSCC zIo_Quotes_UseName[] =
4465 * File name selection pattern
4467 #define zIo_Quotes_UseList (char*)NULL
4469 * Machine/OS name selection pattern
4471 #define apzIo_Quotes_UseMachs (const char**)NULL
4474 * content selection pattern - do fix if pattern found
4476 tSCC zIo_Quotes_UseSelect0[] =
4477 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
4479 #define IO_QUOTES_USE_TEST_CT 1
4480 static tTestDesc aIo_Quotes_UseTests[] = {
4481 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
4484 * Fix Command Arguments for Io_Quotes_Use
4486 static const char* apzIo_Quotes_UsePatch[] = {
4491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4493 * Description of Ip_Missing_Semi fix
4495 tSCC zIp_Missing_SemiName[] =
4499 * File name selection pattern
4501 tSCC zIp_Missing_SemiList[] =
4504 * Machine/OS name selection pattern
4506 #define apzIp_Missing_SemiMachs (const char**)NULL
4509 * content selection pattern - do fix if pattern found
4511 tSCC zIp_Missing_SemiSelect0[] =
4514 #define IP_MISSING_SEMI_TEST_CT 1
4515 static tTestDesc aIp_Missing_SemiTests[] = {
4516 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
4519 * Fix Command Arguments for Ip_Missing_Semi
4521 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
4522 "-e", "/^struct/,/^};/s/}$/};/",
4525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4527 * Description of Irix_Limits_Const fix
4529 tSCC zIrix_Limits_ConstName[] =
4530 "irix_limits_const";
4533 * File name selection pattern
4535 tSCC zIrix_Limits_ConstList[] =
4536 "fixinc-test-limits.h\0limits.h\0";
4538 * Machine/OS name selection pattern
4540 #define apzIrix_Limits_ConstMachs (const char**)NULL
4543 * content selection pattern - do fix if pattern found
4545 tSCC zIrix_Limits_ConstSelect0[] =
4548 #define IRIX_LIMITS_CONST_TEST_CT 1
4549 static tTestDesc aIrix_Limits_ConstTests[] = {
4550 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
4553 * Fix Command Arguments for Irix_Limits_Const
4555 static const char* apzIrix_Limits_ConstPatch[] = {
4560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4562 * Description of Irix_Stdio_Va_List fix
4564 tSCC zIrix_Stdio_Va_ListName[] =
4565 "irix_stdio_va_list";
4568 * File name selection pattern
4570 tSCC zIrix_Stdio_Va_ListList[] =
4573 * Machine/OS name selection pattern
4575 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
4578 * content selection pattern - do fix if pattern found
4580 tSCC zIrix_Stdio_Va_ListSelect0[] =
4581 "/\\* va_list \\*/ char \\*";
4583 #define IRIX_STDIO_VA_LIST_TEST_CT 1
4584 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
4585 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
4588 * Fix Command Arguments for Irix_Stdio_Va_List
4590 static const char* apzIrix_Stdio_Va_ListPatch[] = {
4595 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4597 * Description of Kandr_Concat fix
4599 tSCC zKandr_ConcatName[] =
4603 * File name selection pattern
4605 tSCC zKandr_ConcatList[] =
4606 "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";
4608 * Machine/OS name selection pattern
4610 #define apzKandr_ConcatMachs (const char**)NULL
4613 * content selection pattern - do fix if pattern found
4615 tSCC zKandr_ConcatSelect0[] =
4618 #define KANDR_CONCAT_TEST_CT 1
4619 static tTestDesc aKandr_ConcatTests[] = {
4620 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
4623 * Fix Command Arguments for Kandr_Concat
4625 static const char* apzKandr_ConcatPatch[] = {
4630 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4632 * Description of Linux_Ia64_Ucontext fix
4634 tSCC zLinux_Ia64_UcontextName[] =
4635 "linux_ia64_ucontext";
4638 * File name selection pattern
4640 tSCC zLinux_Ia64_UcontextList[] =
4643 * Machine/OS name selection pattern
4645 tSCC* apzLinux_Ia64_UcontextMachs[] = {
4647 (const char*)NULL };
4650 * content selection pattern - do fix if pattern found
4652 tSCC zLinux_Ia64_UcontextSelect0[] =
4653 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
4655 #define LINUX_IA64_UCONTEXT_TEST_CT 1
4656 static tTestDesc aLinux_Ia64_UcontextTests[] = {
4657 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
4660 * Fix Command Arguments for Linux_Ia64_Ucontext
4662 static const char* apzLinux_Ia64_UcontextPatch[] = {
4664 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
4667 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4669 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
4671 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
4672 "lynxos_no_warning_in_sys_time_h";
4675 * File name selection pattern
4677 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
4680 * Machine/OS name selection pattern
4682 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
4685 * content selection pattern - do fix if pattern found
4687 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
4688 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
4690 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
4691 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
4692 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
4695 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
4697 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
4702 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4704 * Description of Lynxos_Missing_Putenv fix
4706 tSCC zLynxos_Missing_PutenvName[] =
4707 "lynxos_missing_putenv";
4710 * File name selection pattern
4712 tSCC zLynxos_Missing_PutenvList[] =
4715 * Machine/OS name selection pattern
4717 tSCC* apzLynxos_Missing_PutenvMachs[] = {
4719 (const char*)NULL };
4722 * content selection pattern - do fix if pattern found
4724 tSCC zLynxos_Missing_PutenvSelect0[] =
4725 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
4728 * content bypass pattern - skip fix if pattern found
4730 tSCC zLynxos_Missing_PutenvBypass0[] =
4733 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
4734 static tTestDesc aLynxos_Missing_PutenvTests[] = {
4735 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
4736 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
4739 * Fix Command Arguments for Lynxos_Missing_Putenv
4741 static const char* apzLynxos_Missing_PutenvPatch[] = {
4744 extern int putenv\t\t\t\t_AP((char *));",
4745 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
4748 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4750 * Description of Machine_Ansi_H_Va_List fix
4752 tSCC zMachine_Ansi_H_Va_ListName[] =
4753 "machine_ansi_h_va_list";
4756 * File name selection pattern
4758 #define zMachine_Ansi_H_Va_ListList (char*)NULL
4760 * Machine/OS name selection pattern
4762 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
4765 * content selection pattern - do fix if pattern found
4767 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
4768 "define[ \t]+_BSD_VA_LIST_[ \t]";
4771 * content bypass pattern - skip fix if pattern found
4773 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
4774 "__builtin_va_list";
4776 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
4777 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
4778 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
4779 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
4782 * Fix Command Arguments for Machine_Ansi_H_Va_List
4784 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
4786 "%1__builtin_va_list",
4787 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
4790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4792 * Description of Machine_Name fix
4794 tSCC zMachine_NameName[] =
4798 * File name selection pattern
4800 #define zMachine_NameList (char*)NULL
4802 * Machine/OS name selection pattern
4804 #define apzMachine_NameMachs (const char**)NULL
4807 * perform the C function call test
4809 tSCC zMachine_NameFTst0[] = "machine_name";
4811 #define MACHINE_NAME_TEST_CT 1
4812 static tTestDesc aMachine_NameTests[] = {
4813 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
4816 * Fix Command Arguments for Machine_Name
4818 static const char* apzMachine_NamePatch[] = {
4822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4824 * Description of Math_Exception fix
4826 tSCC zMath_ExceptionName[] =
4830 * File name selection pattern
4832 tSCC zMath_ExceptionList[] =
4835 * Machine/OS name selection pattern
4837 #define apzMath_ExceptionMachs (const char**)NULL
4840 * content selection pattern - do fix if pattern found
4842 tSCC zMath_ExceptionSelect0[] =
4846 * content bypass pattern - skip fix if pattern found
4848 tSCC zMath_ExceptionBypass0[] =
4849 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
4851 #define MATH_EXCEPTION_TEST_CT 2
4852 static tTestDesc aMath_ExceptionTests[] = {
4853 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
4854 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
4857 * Fix Command Arguments for Math_Exception
4859 static const char* apzMath_ExceptionPatch[] = {
4861 "#ifdef __cplusplus\n\
4862 #define exception __math_exception\n\
4864 "#ifdef __cplusplus\n\
4869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4871 * Description of Math_Huge_Val_From_Dbl_Max fix
4873 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
4874 "math_huge_val_from_dbl_max";
4877 * File name selection pattern
4879 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
4882 * Machine/OS name selection pattern
4884 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
4887 * content selection pattern - do fix if pattern found
4889 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
4890 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
4893 * content bypass pattern - skip fix if pattern found
4895 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
4896 "define[ \t]+DBL_MAX";
4898 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
4899 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
4900 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
4901 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
4904 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
4906 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
4907 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
4908 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
4909 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
4914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4916 * Description of Nested_Auth_Des fix
4918 tSCC zNested_Auth_DesName[] =
4922 * File name selection pattern
4924 tSCC zNested_Auth_DesList[] =
4927 * Machine/OS name selection pattern
4929 #define apzNested_Auth_DesMachs (const char**)NULL
4932 * content selection pattern - do fix if pattern found
4934 tSCC zNested_Auth_DesSelect0[] =
4935 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
4937 #define NESTED_AUTH_DES_TEST_CT 1
4938 static tTestDesc aNested_Auth_DesTests[] = {
4939 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
4942 * Fix Command Arguments for Nested_Auth_Des
4944 static const char* apzNested_Auth_DesPatch[] = {
4949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4951 * Description of Netbsd_C99_Inline_1 fix
4953 tSCC zNetbsd_C99_Inline_1Name[] =
4954 "netbsd_c99_inline_1";
4957 * File name selection pattern
4959 tSCC zNetbsd_C99_Inline_1List[] =
4962 * Machine/OS name selection pattern
4964 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
4966 (const char*)NULL };
4969 * content selection pattern - do fix if pattern found
4971 tSCC zNetbsd_C99_Inline_1Select0[] =
4972 "extern __inline int";
4974 #define NETBSD_C99_INLINE_1_TEST_CT 1
4975 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
4976 { TT_EGREP, zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
4979 * Fix Command Arguments for Netbsd_C99_Inline_1
4981 static const char* apzNetbsd_C99_Inline_1Patch[] = {
4984 #ifdef __GNUC_STDC_INLINE__\n\
4985 __attribute__((__gnu_inline__))\n\
4990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4992 * Description of Netbsd_C99_Inline_2 fix
4994 tSCC zNetbsd_C99_Inline_2Name[] =
4995 "netbsd_c99_inline_2";
4998 * File name selection pattern
5000 tSCC zNetbsd_C99_Inline_2List[] =
5003 * Machine/OS name selection pattern
5005 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5007 (const char*)NULL };
5010 * content selection pattern - do fix if pattern found
5012 tSCC zNetbsd_C99_Inline_2Select0[] =
5013 "#define _SIGINLINE extern __inline";
5015 #define NETBSD_C99_INLINE_2_TEST_CT 1
5016 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5017 { TT_EGREP, zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5020 * Fix Command Arguments for Netbsd_C99_Inline_2
5022 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5024 "#ifdef __GNUC_STDC_INLINE__\n\
5025 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5033 * Description of Netbsd_Extra_Semicolon fix
5035 tSCC zNetbsd_Extra_SemicolonName[] =
5036 "netbsd_extra_semicolon";
5039 * File name selection pattern
5041 tSCC zNetbsd_Extra_SemicolonList[] =
5044 * Machine/OS name selection pattern
5046 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5048 (const char*)NULL };
5051 * content selection pattern - do fix if pattern found
5053 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5054 "#define[ \t]*__END_DECLS[ \t]*};";
5056 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
5057 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5058 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5061 * Fix Command Arguments for Netbsd_Extra_Semicolon
5063 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5065 "#define __END_DECLS }",
5068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5070 * Description of Newlib_Stdint_1 fix
5072 tSCC zNewlib_Stdint_1Name[] =
5076 * File name selection pattern
5078 tSCC zNewlib_Stdint_1List[] =
5079 "stdint-newlib.h\0stdint.h\0";
5081 * Machine/OS name selection pattern
5083 #define apzNewlib_Stdint_1Machs (const char**)NULL
5086 * content selection pattern - do fix if pattern found
5088 tSCC zNewlib_Stdint_1Select0[] =
5089 "@todo - Add support for wint_t types";
5091 #define NEWLIB_STDINT_1_TEST_CT 1
5092 static tTestDesc aNewlib_Stdint_1Tests[] = {
5093 { TT_EGREP, zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5096 * Fix Command Arguments for Newlib_Stdint_1
5098 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5099 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5100 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5101 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5102 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5103 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5104 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5105 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5106 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5107 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5108 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5109 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5110 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5111 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5112 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5117 * Description of Newlib_Stdint_2 fix
5119 tSCC zNewlib_Stdint_2Name[] =
5123 * File name selection pattern
5125 tSCC zNewlib_Stdint_2List[] =
5126 "stdint-newlib.h\0stdint.h\0";
5128 * Machine/OS name selection pattern
5130 #define apzNewlib_Stdint_2Machs (const char**)NULL
5133 * content selection pattern - do fix if pattern found
5135 tSCC zNewlib_Stdint_2Select0[] =
5136 "@todo - Add support for wint_t types";
5138 #define NEWLIB_STDINT_2_TEST_CT 1
5139 static tTestDesc aNewlib_Stdint_2Tests[] = {
5140 { TT_EGREP, zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5143 * Fix Command Arguments for Newlib_Stdint_2
5145 static const char* apzNewlib_Stdint_2Patch[] = {
5147 "#define INTMAX_MAX __INTMAX_MAX__\n\
5148 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5149 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5150 #define WCHAR_MAX __WCHAR_MAX__\n\
5151 #define WCHAR_MIN __WCHAR_MIN__\n\
5152 #define WINT_MAX __WINT_MAX__\n\
5153 #define WINT_MIN __WINT_MIN__\n\n\
5155 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5160 * Description of Next_Math_Prefix fix
5162 tSCC zNext_Math_PrefixName[] =
5166 * File name selection pattern
5168 tSCC zNext_Math_PrefixList[] =
5171 * Machine/OS name selection pattern
5173 #define apzNext_Math_PrefixMachs (const char**)NULL
5176 * content selection pattern - do fix if pattern found
5178 tSCC zNext_Math_PrefixSelect0[] =
5179 "^extern[ \t]+double[ \t]+__const__[ \t]";
5181 #define NEXT_MATH_PREFIX_TEST_CT 1
5182 static tTestDesc aNext_Math_PrefixTests[] = {
5183 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
5186 * Fix Command Arguments for Next_Math_Prefix
5188 static const char* apzNext_Math_PrefixPatch[] = {
5190 "extern double %1(",
5191 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
5194 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5196 * Description of Next_Template fix
5198 tSCC zNext_TemplateName[] =
5202 * File name selection pattern
5204 tSCC zNext_TemplateList[] =
5207 * Machine/OS name selection pattern
5209 #define apzNext_TemplateMachs (const char**)NULL
5212 * content selection pattern - do fix if pattern found
5214 tSCC zNext_TemplateSelect0[] =
5217 #define NEXT_TEMPLATE_TEST_CT 1
5218 static tTestDesc aNext_TemplateTests[] = {
5219 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
5222 * Fix Command Arguments for Next_Template
5224 static const char* apzNext_TemplatePatch[] = {
5227 "\\(([^)]*)[ \t]template\\)",
5230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5232 * Description of Next_Volitile fix
5234 tSCC zNext_VolitileName[] =
5238 * File name selection pattern
5240 tSCC zNext_VolitileList[] =
5243 * Machine/OS name selection pattern
5245 #define apzNext_VolitileMachs (const char**)NULL
5248 * content selection pattern - do fix if pattern found
5250 tSCC zNext_VolitileSelect0[] =
5251 "^extern[ \t]+volatile[ \t]+void[ \t]";
5253 #define NEXT_VOLITILE_TEST_CT 1
5254 static tTestDesc aNext_VolitileTests[] = {
5255 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
5258 * Fix Command Arguments for Next_Volitile
5260 static const char* apzNext_VolitilePatch[] = {
5263 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
5266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5268 * Description of Next_Wait_Union fix
5270 tSCC zNext_Wait_UnionName[] =
5274 * File name selection pattern
5276 tSCC zNext_Wait_UnionList[] =
5279 * Machine/OS name selection pattern
5281 #define apzNext_Wait_UnionMachs (const char**)NULL
5284 * content selection pattern - do fix if pattern found
5286 tSCC zNext_Wait_UnionSelect0[] =
5287 "wait\\(union wait";
5289 #define NEXT_WAIT_UNION_TEST_CT 1
5290 static tTestDesc aNext_Wait_UnionTests[] = {
5291 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
5294 * Fix Command Arguments for Next_Wait_Union
5296 static const char* apzNext_Wait_UnionPatch[] = {
5301 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5303 * Description of Nodeent_Syntax fix
5305 tSCC zNodeent_SyntaxName[] =
5309 * File name selection pattern
5311 tSCC zNodeent_SyntaxList[] =
5312 "netdnet/dnetdb.h\0";
5314 * Machine/OS name selection pattern
5316 #define apzNodeent_SyntaxMachs (const char**)NULL
5319 * content selection pattern - do fix if pattern found
5321 tSCC zNodeent_SyntaxSelect0[] =
5322 "char[ \t]*\\*na_addr[ \t]*$";
5324 #define NODEENT_SYNTAX_TEST_CT 1
5325 static tTestDesc aNodeent_SyntaxTests[] = {
5326 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
5329 * Fix Command Arguments for Nodeent_Syntax
5331 static const char* apzNodeent_SyntaxPatch[] = {
5336 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5338 * Description of Openbsd_Null_Definition fix
5340 tSCC zOpenbsd_Null_DefinitionName[] =
5341 "openbsd_null_definition";
5344 * File name selection pattern
5346 tSCC zOpenbsd_Null_DefinitionList[] =
5347 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
5349 * Machine/OS name selection pattern
5351 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
5353 (const char*)NULL };
5356 * content selection pattern - do fix if pattern found
5358 tSCC zOpenbsd_Null_DefinitionSelect0[] =
5361 #define OPENBSD_NULL_DEFINITION_TEST_CT 1
5362 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
5363 { TT_EGREP, zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
5366 * Fix Command Arguments for Openbsd_Null_Definition
5368 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
5371 #ifdef __cplusplus\n\
5373 #define NULL\t__null\n\
5374 #else\t /* ! __GNUG__ */\n\
5376 #endif\t /* __GNUG__ */\n\
5377 #else\t /* ! __cplusplus */\n\
5378 #define NULL\t((void *)0)\n\
5379 #endif\t /* __cplusplus */\n\
5380 #endif\t /* !NULL */",
5381 "^#ifndef[ \t]*NULL\n\
5382 ^#ifdef[ \t]*__GNUG__\n\
5383 ^#define[ \t]*NULL[ \t]*__null\n\
5385 ^#define[ \t]*NULL[ \t]*0L\n\
5390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5392 * Description of Obstack_Lvalue_Cast fix
5394 tSCC zObstack_Lvalue_CastName[] =
5395 "obstack_lvalue_cast";
5398 * File name selection pattern
5400 tSCC zObstack_Lvalue_CastList[] =
5403 * Machine/OS name selection pattern
5405 #define apzObstack_Lvalue_CastMachs (const char**)NULL
5408 * content selection pattern - do fix if pattern found
5410 tSCC zObstack_Lvalue_CastSelect0[] =
5411 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
5413 #define OBSTACK_LVALUE_CAST_TEST_CT 1
5414 static tTestDesc aObstack_Lvalue_CastTests[] = {
5415 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
5418 * Fix Command Arguments for Obstack_Lvalue_Cast
5420 static const char* apzObstack_Lvalue_CastPatch[] = {
5422 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
5425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5427 * Description of Openbsd_Va_Start fix
5429 tSCC zOpenbsd_Va_StartName[] =
5433 * File name selection pattern
5435 tSCC zOpenbsd_Va_StartList[] =
5438 * Machine/OS name selection pattern
5440 tSCC* apzOpenbsd_Va_StartMachs[] = {
5442 (const char*)NULL };
5445 * content selection pattern - do fix if pattern found
5447 tSCC zOpenbsd_Va_StartSelect0[] =
5448 "__builtin_stdarg_start";
5450 #define OPENBSD_VA_START_TEST_CT 1
5451 static tTestDesc aOpenbsd_Va_StartTests[] = {
5452 { TT_EGREP, zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
5455 * Fix Command Arguments for Openbsd_Va_Start
5457 static const char* apzOpenbsd_Va_StartPatch[] = {
5459 "__builtin_va_start",
5462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5464 * Description of Osf_Namespace_A fix
5466 tSCC zOsf_Namespace_AName[] =
5470 * File name selection pattern
5472 tSCC zOsf_Namespace_AList[] =
5473 "reg_types.h\0sys/lc_core.h\0";
5475 * Machine/OS name selection pattern
5477 #define apzOsf_Namespace_AMachs (const char**)NULL
5480 * perform the 'test' shell command - do fix on success
5482 tSCC zOsf_Namespace_ATest0[] =
5484 tSCC zOsf_Namespace_ATest1[] =
5485 " -r sys/lc_core.h";
5486 tSCC zOsf_Namespace_ATest2[] =
5487 " -n \"`grep '} regex_t;' reg_types.h`\"";
5488 tSCC zOsf_Namespace_ATest3[] =
5489 " -z \"`grep __regex_t regex.h`\"";
5491 #define OSF_NAMESPACE_A_TEST_CT 4
5492 static tTestDesc aOsf_Namespace_ATests[] = {
5493 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
5494 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
5495 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
5496 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
5499 * Fix Command Arguments for Osf_Namespace_A
5501 static const char* apzOsf_Namespace_APatch[] = {
5504 "reg(ex|off|match)_t",
5507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5509 * Description of Osf_Namespace_C fix
5511 tSCC zOsf_Namespace_CName[] =
5515 * File name selection pattern
5517 tSCC zOsf_Namespace_CList[] =
5520 * Machine/OS name selection pattern
5522 #define apzOsf_Namespace_CMachs (const char**)NULL
5525 * content selection pattern - do fix if pattern found
5527 tSCC zOsf_Namespace_CSelect0[] =
5528 "#include <reg_types.h>.*";
5531 * perform the 'test' shell command - do fix on success
5533 tSCC zOsf_Namespace_CTest0[] =
5535 tSCC zOsf_Namespace_CTest1[] =
5536 " -r sys/lc_core.h";
5537 tSCC zOsf_Namespace_CTest2[] =
5538 " -n \"`grep '} regex_t;' reg_types.h`\"";
5539 tSCC zOsf_Namespace_CTest3[] =
5540 " -z \"`grep __regex_t regex.h`\"";
5542 #define OSF_NAMESPACE_C_TEST_CT 5
5543 static tTestDesc aOsf_Namespace_CTests[] = {
5544 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
5545 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
5546 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
5547 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
5548 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
5551 * Fix Command Arguments for Osf_Namespace_C
5553 static const char* apzOsf_Namespace_CPatch[] = {
5556 typedef __regex_t\tregex_t;\n\
5557 typedef __regoff_t\tregoff_t;\n\
5558 typedef __regmatch_t\tregmatch_t;",
5561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5563 * Description of Pthread_Incomplete_Struct_Argument fix
5565 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
5566 "pthread_incomplete_struct_argument";
5569 * File name selection pattern
5571 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
5574 * Machine/OS name selection pattern
5576 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
5579 * content selection pattern - do fix if pattern found
5581 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
5582 "struct __jmp_buf_tag";
5584 #define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 1
5585 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
5586 { TT_EGREP, zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
5589 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
5591 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
5594 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
5597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5599 * Description of Read_Ret_Type fix
5601 tSCC zRead_Ret_TypeName[] =
5605 * File name selection pattern
5607 tSCC zRead_Ret_TypeList[] =
5610 * Machine/OS name selection pattern
5612 #define apzRead_Ret_TypeMachs (const char**)NULL
5615 * content selection pattern - do fix if pattern found
5617 tSCC zRead_Ret_TypeSelect0[] =
5618 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
5620 #define READ_RET_TYPE_TEST_CT 1
5621 static tTestDesc aRead_Ret_TypeTests[] = {
5622 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
5625 * Fix Command Arguments for Read_Ret_Type
5627 static const char* apzRead_Ret_TypePatch[] = {
5629 "extern unsigned int fread(), fwrite();\n\
5631 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
5634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5636 * Description of Rpc_Xdr_Lvalue_Cast_A fix
5638 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
5639 "rpc_xdr_lvalue_cast_a";
5642 * File name selection pattern
5644 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
5647 * Machine/OS name selection pattern
5649 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
5652 * content selection pattern - do fix if pattern found
5654 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
5655 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
5658 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
5659 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
5660 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
5663 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
5665 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
5667 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
5670 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5672 * Description of Rpc_Xdr_Lvalue_Cast_B fix
5674 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
5675 "rpc_xdr_lvalue_cast_b";
5678 * File name selection pattern
5680 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
5683 * Machine/OS name selection pattern
5685 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
5688 * content selection pattern - do fix if pattern found
5690 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
5691 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
5694 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
5695 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
5696 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
5699 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
5701 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
5703 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
5706 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5708 * Description of Rs6000_Double fix
5710 tSCC zRs6000_DoubleName[] =
5714 * File name selection pattern
5716 tSCC zRs6000_DoubleList[] =
5719 * Machine/OS name selection pattern
5721 #define apzRs6000_DoubleMachs (const char**)NULL
5724 * content selection pattern - do fix if pattern found
5726 tSCC zRs6000_DoubleSelect0[] =
5727 "[^a-zA-Z_]class\\(";
5729 #define RS6000_DOUBLE_TEST_CT 1
5730 static tTestDesc aRs6000_DoubleTests[] = {
5731 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
5734 * Fix Command Arguments for Rs6000_Double
5736 static const char* apzRs6000_DoublePatch[] = {
5738 "#ifndef __cplusplus\n\
5741 "^.*[^a-zA-Z_]class\\(.*",
5744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5746 * Description of Rs6000_Fchmod fix
5748 tSCC zRs6000_FchmodName[] =
5752 * File name selection pattern
5754 tSCC zRs6000_FchmodList[] =
5757 * Machine/OS name selection pattern
5759 #define apzRs6000_FchmodMachs (const char**)NULL
5762 * content selection pattern - do fix if pattern found
5764 tSCC zRs6000_FchmodSelect0[] =
5765 "fchmod\\(char \\*";
5767 #define RS6000_FCHMOD_TEST_CT 1
5768 static tTestDesc aRs6000_FchmodTests[] = {
5769 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
5772 * Fix Command Arguments for Rs6000_Fchmod
5774 static const char* apzRs6000_FchmodPatch[] = {
5779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5781 * Description of Rs6000_Param fix
5783 tSCC zRs6000_ParamName[] =
5787 * File name selection pattern
5789 tSCC zRs6000_ParamList[] =
5790 "stdio.h\0unistd.h\0";
5792 * Machine/OS name selection pattern
5794 #define apzRs6000_ParamMachs (const char**)NULL
5797 * content selection pattern - do fix if pattern found
5799 tSCC zRs6000_ParamSelect0[] =
5800 "rename\\(const char \\*old, const char \\*new\\)";
5802 #define RS6000_PARAM_TEST_CT 1
5803 static tTestDesc aRs6000_ParamTests[] = {
5804 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
5807 * Fix Command Arguments for Rs6000_Param
5809 static const char* apzRs6000_ParamPatch[] = {
5811 "rename(const char *_old, const char *_new)",
5814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5816 * Description of Solaris___Restrict fix
5818 tSCC zSolaris___RestrictName[] =
5819 "solaris___restrict";
5822 * File name selection pattern
5824 tSCC zSolaris___RestrictList[] =
5825 "sys/feature_tests.h\0";
5827 * Machine/OS name selection pattern
5829 tSCC* apzSolaris___RestrictMachs[] = {
5831 (const char*)NULL };
5834 * content selection pattern - do fix if pattern found
5836 tSCC zSolaris___RestrictSelect0[] =
5837 "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
5839 #define SOLARIS___RESTRICT_TEST_CT 1
5840 static tTestDesc aSolaris___RestrictTests[] = {
5841 { TT_EGREP, zSolaris___RestrictSelect0, (regex_t*)NULL }, };
5844 * Fix Command Arguments for Solaris___Restrict
5846 static const char* apzSolaris___RestrictPatch[] = {
5848 "#ifdef __cplusplus\n\
5849 #define\t_RESTRICT_KYWD\t__restrict\n\
5855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5857 * Description of Solaris_Complex fix
5859 tSCC zSolaris_ComplexName[] =
5863 * File name selection pattern
5865 tSCC zSolaris_ComplexList[] =
5868 * Machine/OS name selection pattern
5870 tSCC* apzSolaris_ComplexMachs[] = {
5872 (const char*)NULL };
5875 * content selection pattern - do fix if pattern found
5877 tSCC zSolaris_ComplexSelect0[] =
5878 "#define[ \t]_Complex_I[ \t]_Complex_I";
5880 #define SOLARIS_COMPLEX_TEST_CT 1
5881 static tTestDesc aSolaris_ComplexTests[] = {
5882 { TT_EGREP, zSolaris_ComplexSelect0, (regex_t*)NULL }, };
5885 * Fix Command Arguments for Solaris_Complex
5887 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
5888 "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
5889 "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
5890 "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
5891 "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
5894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5896 * Description of Solaris_Complex_Cxx fix
5898 tSCC zSolaris_Complex_CxxName[] =
5899 "solaris_complex_cxx";
5902 * File name selection pattern
5904 tSCC zSolaris_Complex_CxxList[] =
5907 * Machine/OS name selection pattern
5909 tSCC* apzSolaris_Complex_CxxMachs[] = {
5911 (const char*)NULL };
5912 #define SOLARIS_COMPLEX_CXX_TEST_CT 0
5913 #define aSolaris_Complex_CxxTests (tTestDesc*)NULL
5916 * Fix Command Arguments for Solaris_Complex_Cxx
5918 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
5919 "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
5920 #ifdef\t__cplusplus\\\n\
5923 "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
5924 #ifdef\t__cplusplus\\\n\
5929 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5931 * Description of Solaris_Cxx_Linkage fix
5933 tSCC zSolaris_Cxx_LinkageName[] =
5934 "solaris_cxx_linkage";
5937 * File name selection pattern
5939 tSCC zSolaris_Cxx_LinkageList[] =
5940 "iso/stdlib_iso.h\0";
5942 * Machine/OS name selection pattern
5944 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
5946 (const char*)NULL };
5949 * content selection pattern - do fix if pattern found
5951 tSCC zSolaris_Cxx_LinkageSelect0[] =
5952 "(#if __cplusplus >= 199711L)\n\
5953 (extern \"C\\+\\+\" \\{\n\
5954 )(.*(bsearch|qsort).*)";
5956 #define SOLARIS_CXX_LINKAGE_TEST_CT 1
5957 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
5958 { TT_EGREP, zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
5961 * Fix Command Arguments for Solaris_Cxx_Linkage
5963 static const char* apzSolaris_Cxx_LinkagePatch[] = {
5969 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5971 * Description of Solaris_Getc_Strict_Stdc fix
5973 tSCC zSolaris_Getc_Strict_StdcName[] =
5974 "solaris_getc_strict_stdc";
5977 * File name selection pattern
5979 tSCC zSolaris_Getc_Strict_StdcList[] =
5980 "iso/stdio_iso.h\0";
5982 * Machine/OS name selection pattern
5984 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
5986 (const char*)NULL };
5989 * content selection pattern - do fix if pattern found
5991 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
5992 "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
5994 #define SOLARIS_GETC_STRICT_STDC_TEST_CT 1
5995 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
5996 { TT_EGREP, zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
5999 * Fix Command Arguments for Solaris_Getc_Strict_Stdc
6001 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6003 "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6006 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6008 * Description of Solaris_Longjmp_Noreturn fix
6010 tSCC zSolaris_Longjmp_NoreturnName[] =
6011 "solaris_longjmp_noreturn";
6014 * File name selection pattern
6016 tSCC zSolaris_Longjmp_NoreturnList[] =
6017 "iso/setjmp_iso.h\0";
6019 * Machine/OS name selection pattern
6021 tSCC* apzSolaris_Longjmp_NoreturnMachs[] = {
6023 (const char*)NULL };
6026 * content selection pattern - do fix if pattern found
6028 tSCC zSolaris_Longjmp_NoreturnSelect0[] =
6029 "(.*longjmp\\(jmp_buf.*[^)]+\\));";
6032 * content bypass pattern - skip fix if pattern found
6034 tSCC zSolaris_Longjmp_NoreturnBypass0[] =
6037 #define SOLARIS_LONGJMP_NORETURN_TEST_CT 2
6038 static tTestDesc aSolaris_Longjmp_NoreturnTests[] = {
6039 { TT_NEGREP, zSolaris_Longjmp_NoreturnBypass0, (regex_t*)NULL },
6040 { TT_EGREP, zSolaris_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
6043 * Fix Command Arguments for Solaris_Longjmp_Noreturn
6045 static const char* apzSolaris_Longjmp_NoreturnPatch[] = {
6047 "%1 __attribute__ ((__noreturn__));",
6050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6052 * Description of Solaris_Math_1 fix
6054 tSCC zSolaris_Math_1Name[] =
6058 * File name selection pattern
6060 tSCC zSolaris_Math_1List[] =
6063 * Machine/OS name selection pattern
6065 #define apzSolaris_Math_1Machs (const char**)NULL
6068 * content selection pattern - do fix if pattern found
6070 tSCC zSolaris_Math_1Select0[] =
6071 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6074 * content bypass pattern - skip fix if pattern found
6076 tSCC zSolaris_Math_1Bypass0[] =
6079 #define SOLARIS_MATH_1_TEST_CT 2
6080 static tTestDesc aSolaris_Math_1Tests[] = {
6081 { TT_NEGREP, zSolaris_Math_1Bypass0, (regex_t*)NULL },
6082 { TT_EGREP, zSolaris_Math_1Select0, (regex_t*)NULL }, };
6085 * Fix Command Arguments for Solaris_Math_1
6087 static const char* apzSolaris_Math_1Patch[] = {
6089 "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
6090 "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
6093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6095 * Description of Solaris_Math_2 fix
6097 tSCC zSolaris_Math_2Name[] =
6101 * File name selection pattern
6103 tSCC zSolaris_Math_2List[] =
6106 * Machine/OS name selection pattern
6108 #define apzSolaris_Math_2Machs (const char**)NULL
6111 * content selection pattern - do fix if pattern found
6113 tSCC zSolaris_Math_2Select0[] =
6114 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6117 * content bypass pattern - skip fix if pattern found
6119 tSCC zSolaris_Math_2Bypass0[] =
6122 #define SOLARIS_MATH_2_TEST_CT 2
6123 static tTestDesc aSolaris_Math_2Tests[] = {
6124 { TT_NEGREP, zSolaris_Math_2Bypass0, (regex_t*)NULL },
6125 { TT_EGREP, zSolaris_Math_2Select0, (regex_t*)NULL }, };
6128 * Fix Command Arguments for Solaris_Math_2
6130 static const char* apzSolaris_Math_2Patch[] = {
6132 "#define\tINFINITY\t(__builtin_inff())",
6133 "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
6136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6138 * Description of Solaris_Math_3 fix
6140 tSCC zSolaris_Math_3Name[] =
6144 * File name selection pattern
6146 tSCC zSolaris_Math_3List[] =
6149 * Machine/OS name selection pattern
6151 #define apzSolaris_Math_3Machs (const char**)NULL
6154 * content selection pattern - do fix if pattern found
6156 tSCC zSolaris_Math_3Select0[] =
6157 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6160 * content bypass pattern - skip fix if pattern found
6162 tSCC zSolaris_Math_3Bypass0[] =
6165 #define SOLARIS_MATH_3_TEST_CT 2
6166 static tTestDesc aSolaris_Math_3Tests[] = {
6167 { TT_NEGREP, zSolaris_Math_3Bypass0, (regex_t*)NULL },
6168 { TT_EGREP, zSolaris_Math_3Select0, (regex_t*)NULL }, };
6171 * Fix Command Arguments for Solaris_Math_3
6173 static const char* apzSolaris_Math_3Patch[] = {
6175 "#define\tNAN\t\t(__builtin_nanf(\"\"))",
6176 "^#define[ \t]+NAN[ \t]+__builtin_nan",
6179 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6181 * Description of Solaris_Math_4 fix
6183 tSCC zSolaris_Math_4Name[] =
6187 * File name selection pattern
6189 tSCC zSolaris_Math_4List[] =
6192 * Machine/OS name selection pattern
6194 #define apzSolaris_Math_4Machs (const char**)NULL
6197 * content selection pattern - do fix if pattern found
6199 tSCC zSolaris_Math_4Select0[] =
6200 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6203 * content bypass pattern - skip fix if pattern found
6205 tSCC zSolaris_Math_4Bypass0[] =
6208 #define SOLARIS_MATH_4_TEST_CT 2
6209 static tTestDesc aSolaris_Math_4Tests[] = {
6210 { TT_NEGREP, zSolaris_Math_4Bypass0, (regex_t*)NULL },
6211 { TT_EGREP, zSolaris_Math_4Select0, (regex_t*)NULL }, };
6214 * Fix Command Arguments for Solaris_Math_4
6216 static const char* apzSolaris_Math_4Patch[] = {
6218 "#define\tfpclassify(x) \\\n\
6219 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
6220 "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
6223 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6225 * Description of Solaris_Math_8 fix
6227 tSCC zSolaris_Math_8Name[] =
6231 * File name selection pattern
6233 tSCC zSolaris_Math_8List[] =
6236 * Machine/OS name selection pattern
6238 #define apzSolaris_Math_8Machs (const char**)NULL
6241 * content selection pattern - do fix if pattern found
6243 tSCC zSolaris_Math_8Select0[] =
6244 "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
6247 * content bypass pattern - skip fix if pattern found
6249 tSCC zSolaris_Math_8Bypass0[] =
6252 #define SOLARIS_MATH_8_TEST_CT 2
6253 static tTestDesc aSolaris_Math_8Tests[] = {
6254 { TT_NEGREP, zSolaris_Math_8Bypass0, (regex_t*)NULL },
6255 { TT_EGREP, zSolaris_Math_8Select0, (regex_t*)NULL }, };
6258 * Fix Command Arguments for Solaris_Math_8
6260 static const char* apzSolaris_Math_8Patch[] = {
6262 "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
6263 \t\t\t ? __builtin_signbitf(x) \\\n\
6264 \t\t\t : sizeof(x) == sizeof(long double) \\\n\
6265 \t\t\t ? __builtin_signbitl(x) \\\n\
6266 \t\t\t : __builtin_signbit(x))",
6267 "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
6270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6272 * Description of Solaris_Math_9 fix
6274 tSCC zSolaris_Math_9Name[] =
6278 * File name selection pattern
6280 tSCC zSolaris_Math_9List[] =
6283 * Machine/OS name selection pattern
6285 #define apzSolaris_Math_9Machs (const char**)NULL
6288 * content selection pattern - do fix if pattern found
6290 tSCC zSolaris_Math_9Select0[] =
6291 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6294 * content bypass pattern - skip fix if pattern found
6296 tSCC zSolaris_Math_9Bypass0[] =
6299 #define SOLARIS_MATH_9_TEST_CT 2
6300 static tTestDesc aSolaris_Math_9Tests[] = {
6301 { TT_NEGREP, zSolaris_Math_9Bypass0, (regex_t*)NULL },
6302 { TT_EGREP, zSolaris_Math_9Select0, (regex_t*)NULL }, };
6305 * Fix Command Arguments for Solaris_Math_9
6307 static const char* apzSolaris_Math_9Patch[] = {
6309 "#define\t%1(x, y)%2__builtin_%1(x, y)",
6310 "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
6313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6315 * Description of Solaris_Math_10 fix
6317 tSCC zSolaris_Math_10Name[] =
6321 * File name selection pattern
6323 tSCC zSolaris_Math_10List[] =
6326 * Machine/OS name selection pattern
6328 #define apzSolaris_Math_10Machs (const char**)NULL
6331 * content selection pattern - do fix if pattern found
6333 tSCC zSolaris_Math_10Select0[] =
6334 "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6336 #define SOLARIS_MATH_10_TEST_CT 1
6337 static tTestDesc aSolaris_Math_10Tests[] = {
6338 { TT_EGREP, zSolaris_Math_10Select0, (regex_t*)NULL }, };
6341 * Fix Command Arguments for Solaris_Math_10
6343 static const char* apzSolaris_Math_10Patch[] = {
6345 "#define\tisinf(x) __builtin_isinf(x)",
6346 "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
6347 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
6348 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
6349 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
6352 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6354 * Description of Solaris_Mutex_Init_2 fix
6356 tSCC zSolaris_Mutex_Init_2Name[] =
6357 "solaris_mutex_init_2";
6360 * File name selection pattern
6362 tSCC zSolaris_Mutex_Init_2List[] =
6365 * Machine/OS name selection pattern
6367 tSCC* apzSolaris_Mutex_Init_2Machs[] = {
6368 "*-*-solaris2.[0-9]",
6369 "*-*-solaris2.[0-9][!0-9]*",
6370 (const char*)NULL };
6373 * content selection pattern - do fix if pattern found
6375 tSCC zSolaris_Mutex_Init_2Select0[] =
6376 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6378 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
6379 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
6380 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
6383 * Fix Command Arguments for Solaris_Mutex_Init_2
6385 static const char* apzSolaris_Mutex_Init_2Patch[] = {
6387 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6392 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+(|/*.**/[ \t]*\\\\\n\
6393 [ \t]*)\\{.*),[ \t]*0\\}(|[ \t].*)$",
6396 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6398 * Description of Solaris_Pow_Int_Overload fix
6400 tSCC zSolaris_Pow_Int_OverloadName[] =
6401 "solaris_pow_int_overload";
6404 * File name selection pattern
6406 tSCC zSolaris_Pow_Int_OverloadList[] =
6409 * Machine/OS name selection pattern
6411 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
6413 (const char*)NULL };
6416 * content selection pattern - do fix if pattern found
6418 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
6419 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
6422 #define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
6423 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
6424 { TT_EGREP, zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
6427 * Fix Command Arguments for Solaris_Pow_Int_Overload
6429 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
6431 "#ifndef __GXX_EXPERIMENTAL_CXX0X__\n\
6436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6438 * Description of Solaris_Rwlock_Init_1 fix
6440 tSCC zSolaris_Rwlock_Init_1Name[] =
6441 "solaris_rwlock_init_1";
6444 * File name selection pattern
6446 tSCC zSolaris_Rwlock_Init_1List[] =
6449 * Machine/OS name selection pattern
6451 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
6453 (const char*)NULL };
6456 * content selection pattern - do fix if pattern found
6458 tSCC zSolaris_Rwlock_Init_1Select0[] =
6459 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6461 #define SOLARIS_RWLOCK_INIT_1_TEST_CT 1
6462 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
6463 { TT_EGREP, zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
6466 * Fix Command Arguments for Solaris_Rwlock_Init_1
6468 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
6470 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6473 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
6475 "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
6478 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6480 * Description of Solaris_Once_Init_1 fix
6482 tSCC zSolaris_Once_Init_1Name[] =
6483 "solaris_once_init_1";
6486 * File name selection pattern
6488 tSCC zSolaris_Once_Init_1List[] =
6491 * Machine/OS name selection pattern
6493 tSCC* apzSolaris_Once_Init_1Machs[] = {
6495 (const char*)NULL };
6498 * content selection pattern - do fix if pattern found
6500 tSCC zSolaris_Once_Init_1Select0[] =
6501 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6503 #define SOLARIS_ONCE_INIT_1_TEST_CT 1
6504 static tTestDesc aSolaris_Once_Init_1Tests[] = {
6505 { TT_EGREP, zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
6508 * Fix Command Arguments for Solaris_Once_Init_1
6510 static const char* apzSolaris_Once_Init_1Patch[] = {
6513 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
6516 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6518 * Description of Solaris_Once_Init_2 fix
6520 tSCC zSolaris_Once_Init_2Name[] =
6521 "solaris_once_init_2";
6524 * File name selection pattern
6526 tSCC zSolaris_Once_Init_2List[] =
6529 * Machine/OS name selection pattern
6531 tSCC* apzSolaris_Once_Init_2Machs[] = {
6532 "*-*-solaris2.[0-9]",
6533 "*-*-solaris2.[0-9][!0-9]*",
6534 (const char*)NULL };
6537 * content selection pattern - do fix if pattern found
6539 tSCC zSolaris_Once_Init_2Select0[] =
6540 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
6542 #define SOLARIS_ONCE_INIT_2_TEST_CT 1
6543 static tTestDesc aSolaris_Once_Init_2Tests[] = {
6544 { TT_EGREP, zSolaris_Once_Init_2Select0, (regex_t*)NULL }, };
6547 * Fix Command Arguments for Solaris_Once_Init_2
6549 static const char* apzSolaris_Once_Init_2Patch[] = {
6551 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
6554 %1{0}, {0}, {0}, {%3}%4\n\
6556 "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{\\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\\}\\})[ \t]*$",
6559 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6561 * Description of Solaris_Int_Const fix
6563 tSCC zSolaris_Int_ConstName[] =
6564 "solaris_int_const";
6567 * File name selection pattern
6569 tSCC zSolaris_Int_ConstList[] =
6570 "sys/int_const.h\0";
6572 * Machine/OS name selection pattern
6574 tSCC* apzSolaris_Int_ConstMachs[] = {
6576 (const char*)NULL };
6579 * content selection pattern - do fix if pattern found
6581 tSCC zSolaris_Int_ConstSelect0[] =
6582 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6584 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6586 #define SOLARIS_INT_CONST_TEST_CT 1
6587 static tTestDesc aSolaris_Int_ConstTests[] = {
6588 { TT_EGREP, zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6591 * Fix Command Arguments for Solaris_Int_Const
6593 static const char* apzSolaris_Int_ConstPatch[] = {
6595 "#define\tUINT8_C(c)\t(c)\n\
6597 #define\tUINT16_C(c)\t(c)",
6600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6602 * Description of Solaris_Int_Limits_1 fix
6604 tSCC zSolaris_Int_Limits_1Name[] =
6605 "solaris_int_limits_1";
6608 * File name selection pattern
6610 tSCC zSolaris_Int_Limits_1List[] =
6611 "sys/int_limits.h\0";
6613 * Machine/OS name selection pattern
6615 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6617 (const char*)NULL };
6620 * content selection pattern - do fix if pattern found
6622 tSCC zSolaris_Int_Limits_1Select0[] =
6623 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6624 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6626 #define SOLARIS_INT_LIMITS_1_TEST_CT 1
6627 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6628 { TT_EGREP, zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6631 * Fix Command Arguments for Solaris_Int_Limits_1
6633 static const char* apzSolaris_Int_Limits_1Patch[] = {
6635 "#define\tUINT8_MAX\t(255)\n\
6636 #define\tUINT16_MAX\t(65535)",
6639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6641 * Description of Solaris_Int_Limits_2 fix
6643 tSCC zSolaris_Int_Limits_2Name[] =
6644 "solaris_int_limits_2";
6647 * File name selection pattern
6649 tSCC zSolaris_Int_Limits_2List[] =
6650 "sys/int_limits.h\0";
6652 * Machine/OS name selection pattern
6654 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6656 (const char*)NULL };
6659 * content selection pattern - do fix if pattern found
6661 tSCC zSolaris_Int_Limits_2Select0[] =
6662 "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6664 #define SOLARIS_INT_LIMITS_2_TEST_CT 1
6665 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6666 { TT_EGREP, zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6669 * Fix Command Arguments for Solaris_Int_Limits_2
6671 static const char* apzSolaris_Int_Limits_2Patch[] = {
6673 "#define\t%1_FAST16_%2 %132_%2",
6676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6678 * Description of Solaris_Int_Limits_3 fix
6680 tSCC zSolaris_Int_Limits_3Name[] =
6681 "solaris_int_limits_3";
6684 * File name selection pattern
6686 tSCC zSolaris_Int_Limits_3List[] =
6687 "sys/int_limits.h\0";
6689 * Machine/OS name selection pattern
6691 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6693 (const char*)NULL };
6696 * content selection pattern - do fix if pattern found
6698 tSCC zSolaris_Int_Limits_3Select0[] =
6699 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6701 #define SOLARIS_INT_LIMITS_3_TEST_CT 1
6702 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6703 { TT_EGREP, zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6706 * Fix Command Arguments for Solaris_Int_Limits_3
6708 static const char* apzSolaris_Int_Limits_3Patch[] = {
6710 "#define\tSIZE_MAX\t4294967295U",
6713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6715 * Description of Solaris_Int_Types fix
6717 tSCC zSolaris_Int_TypesName[] =
6718 "solaris_int_types";
6721 * File name selection pattern
6723 tSCC zSolaris_Int_TypesList[] =
6724 "sys/int_types.h\0";
6726 * Machine/OS name selection pattern
6728 #define apzSolaris_Int_TypesMachs (const char**)NULL
6731 * content selection pattern - do fix if pattern found
6733 tSCC zSolaris_Int_TypesSelect0[] =
6734 "__STDC__ - 0 == 0";
6737 * content bypass pattern - skip fix if pattern found
6739 tSCC zSolaris_Int_TypesBypass0[] =
6742 #define SOLARIS_INT_TYPES_TEST_CT 2
6743 static tTestDesc aSolaris_Int_TypesTests[] = {
6744 { TT_NEGREP, zSolaris_Int_TypesBypass0, (regex_t*)NULL },
6745 { TT_EGREP, zSolaris_Int_TypesSelect0, (regex_t*)NULL }, };
6748 * Fix Command Arguments for Solaris_Int_Types
6750 static const char* apzSolaris_Int_TypesPatch[] = {
6752 "(defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__))",
6755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6757 * Description of Solaris_Posix_Spawn_Restrict fix
6759 tSCC zSolaris_Posix_Spawn_RestrictName[] =
6760 "solaris_posix_spawn_restrict";
6763 * File name selection pattern
6765 tSCC zSolaris_Posix_Spawn_RestrictList[] =
6768 * Machine/OS name selection pattern
6770 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
6772 (const char*)NULL };
6775 * content selection pattern - do fix if pattern found
6777 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
6778 "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
6780 #define SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT 1
6781 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
6782 { TT_EGREP, zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
6785 * Fix Command Arguments for Solaris_Posix_Spawn_Restrict
6787 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
6789 "%1*_RESTRICT_KYWD %2%3",
6792 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6794 * Description of Solaris_Std___Filbuf fix
6796 tSCC zSolaris_Std___FilbufName[] =
6797 "solaris_std___filbuf";
6800 * File name selection pattern
6802 tSCC zSolaris_Std___FilbufList[] =
6805 * Machine/OS name selection pattern
6807 tSCC* apzSolaris_Std___FilbufMachs[] = {
6809 (const char*)NULL };
6812 * content selection pattern - do fix if pattern found
6814 tSCC zSolaris_Std___FilbufSelect0[] =
6815 "(using std::perror;\n\
6819 * content bypass pattern - skip fix if pattern found
6821 tSCC zSolaris_Std___FilbufBypass0[] =
6822 "using std::__filbuf";
6824 #define SOLARIS_STD___FILBUF_TEST_CT 2
6825 static tTestDesc aSolaris_Std___FilbufTests[] = {
6826 { TT_NEGREP, zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
6827 { TT_EGREP, zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
6830 * Fix Command Arguments for Solaris_Std___Filbuf
6832 static const char* apzSolaris_Std___FilbufPatch[] = {
6835 using std::__filbuf;\n\
6836 using std::__flsbuf;\n\
6841 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6843 * Description of Solaris_Stdio_Tag fix
6845 tSCC zSolaris_Stdio_TagName[] =
6846 "solaris_stdio_tag";
6849 * File name selection pattern
6851 tSCC zSolaris_Stdio_TagList[] =
6854 * Machine/OS name selection pattern
6856 #define apzSolaris_Stdio_TagMachs (const char**)NULL
6859 * content selection pattern - do fix if pattern found
6861 tSCC zSolaris_Stdio_TagSelect0[] =
6862 "__cplusplus < 54321L";
6865 * content bypass pattern - skip fix if pattern found
6867 tSCC zSolaris_Stdio_TagBypass0[] =
6870 #define SOLARIS_STDIO_TAG_TEST_CT 2
6871 static tTestDesc aSolaris_Stdio_TagTests[] = {
6872 { TT_NEGREP, zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
6873 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
6876 * Fix Command Arguments for Solaris_Stdio_Tag
6878 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
6879 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
6882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6884 * Description of Solaris_Sys_Va_List fix
6886 tSCC zSolaris_Sys_Va_ListName[] =
6887 "solaris_sys_va_list";
6890 * File name selection pattern
6892 tSCC zSolaris_Sys_Va_ListList[] =
6895 * Machine/OS name selection pattern
6897 tSCC* apzSolaris_Sys_Va_ListMachs[] = {
6899 (const char*)NULL };
6902 * content selection pattern - do fix if pattern found
6904 tSCC zSolaris_Sys_Va_ListSelect0[] =
6906 typedef void \\*__va_list;\n\
6908 typedef char \\*__va_list;\n\
6911 #define SOLARIS_SYS_VA_LIST_TEST_CT 1
6912 static tTestDesc aSolaris_Sys_Va_ListTests[] = {
6913 { TT_EGREP, zSolaris_Sys_Va_ListSelect0, (regex_t*)NULL }, };
6916 * Fix Command Arguments for Solaris_Sys_Va_List
6918 static const char* apzSolaris_Sys_Va_ListPatch[] = {
6921 typedef __builtin_va_list __va_list;\n\
6927 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6929 * Description of Statsswtch fix
6931 tSCC zStatsswtchName[] =
6935 * File name selection pattern
6937 tSCC zStatsswtchList[] =
6940 * Machine/OS name selection pattern
6942 #define apzStatsswtchMachs (const char**)NULL
6945 * content selection pattern - do fix if pattern found
6947 tSCC zStatsswtchSelect0[] =
6950 #define STATSSWTCH_TEST_CT 1
6951 static tTestDesc aStatsswtchTests[] = {
6952 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
6955 * Fix Command Arguments for Statsswtch
6957 static const char* apzStatsswtchPatch[] = {
6962 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6964 * Description of Stdio_Stdarg_H fix
6966 tSCC zStdio_Stdarg_HName[] =
6970 * File name selection pattern
6972 tSCC zStdio_Stdarg_HList[] =
6975 * Machine/OS name selection pattern
6977 tSCC* apzStdio_Stdarg_HMachs[] = {
6978 "*-*-solaris2.1[0-9]*",
6979 (const char*)NULL };
6982 * content bypass pattern - skip fix if pattern found
6984 tSCC zStdio_Stdarg_HBypass0[] =
6985 "include.*(stdarg.h|machine/ansi.h)";
6987 #define STDIO_STDARG_H_TEST_CT 1
6988 static tTestDesc aStdio_Stdarg_HTests[] = {
6989 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
6992 * Fix Command Arguments for Stdio_Stdarg_H
6994 static const char* apzStdio_Stdarg_HPatch[] = {
6996 "#define __need___va_list\n\
6997 #include <stdarg.h>\n",
7000 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7002 * Description of Stdio_Va_List fix
7004 tSCC zStdio_Va_ListName[] =
7008 * File name selection pattern
7010 tSCC zStdio_Va_ListList[] =
7013 * Machine/OS name selection pattern
7015 tSCC* apzStdio_Va_ListMachs[] = {
7016 "*-*-solaris2.1[0-9]*",
7017 (const char*)NULL };
7020 * content bypass pattern - skip fix if pattern found
7022 tSCC zStdio_Va_ListBypass0[] =
7023 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7025 #define STDIO_VA_LIST_TEST_CT 1
7026 static tTestDesc aStdio_Va_ListTests[] = {
7027 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7030 * Fix Command Arguments for Stdio_Va_List
7032 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7033 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7034 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7035 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7036 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7037 s@ va_list@ __not_va_list__@\n\
7038 s@\\*va_list@*__not_va_list__@\n\
7039 s@ __va_list)@ __gnuc_va_list)@\n\
7040 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7041 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7042 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7043 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7044 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7045 s@VA_LIST@DUMMY_VA_LIST@\n\
7046 s@_Va_LIST@_VA_LIST@",
7049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7051 * Description of Stdio_Va_List_Clients fix
7053 tSCC zStdio_Va_List_ClientsName[] =
7054 "stdio_va_list_clients";
7057 * File name selection pattern
7059 tSCC zStdio_Va_List_ClientsList[] =
7060 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7062 * Machine/OS name selection pattern
7064 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7067 * content bypass pattern - skip fix if pattern found
7069 tSCC zStdio_Va_List_ClientsBypass0[] =
7070 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7071 tSCC zStdio_Va_List_ClientsBypass1[] =
7072 "include <stdarg\\.h>|#ifdef va_start";
7074 #define STDIO_VA_LIST_CLIENTS_TEST_CT 2
7075 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7076 { TT_NEGREP, zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7077 { TT_NEGREP, zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7080 * Fix Command Arguments for Stdio_Va_List_Clients
7082 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7083 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7084 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7085 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7086 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7087 s@ va_list@ __not_va_list__@\n\
7088 s@\\*va_list@*__not_va_list__@\n\
7089 s@ __va_list)@ __gnuc_va_list)@\n\
7090 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7091 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7092 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7093 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7094 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7095 s@VA_LIST@DUMMY_VA_LIST@\n\
7096 s@_Va_LIST@_VA_LIST@",
7099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7101 * Description of Strict_Ansi_Not fix
7103 tSCC zStrict_Ansi_NotName[] =
7107 * File name selection pattern
7109 #define zStrict_Ansi_NotList (char*)NULL
7111 * Machine/OS name selection pattern
7113 #define apzStrict_Ansi_NotMachs (const char**)NULL
7116 * content selection pattern - do fix if pattern found
7118 tSCC zStrict_Ansi_NotSelect0[] =
7119 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7122 * content bypass pattern - skip fix if pattern found
7124 tSCC zStrict_Ansi_NotBypass0[] =
7125 "GNU and MIPS C compilers define __STDC__ differently";
7126 tSCC zStrict_Ansi_NotBypass1[] =
7127 "__SCO_VERSION__.*__STDC__ != 1";
7130 * perform the C function call test
7132 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7134 #define STRICT_ANSI_NOT_TEST_CT 4
7135 static tTestDesc aStrict_Ansi_NotTests[] = {
7136 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
7137 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7138 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7139 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7142 * Fix Command Arguments for Strict_Ansi_Not
7144 static const char* apzStrict_Ansi_NotPatch[] = {
7146 "%1 !defined(__STRICT_ANSI__)",
7149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7151 * Description of Strict_Ansi_Not_Ctd fix
7153 tSCC zStrict_Ansi_Not_CtdName[] =
7154 "strict_ansi_not_ctd";
7157 * File name selection pattern
7159 tSCC zStrict_Ansi_Not_CtdList[] =
7160 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7162 * Machine/OS name selection pattern
7164 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7167 * content selection pattern - do fix if pattern found
7169 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7170 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7173 * perform the C function call test
7175 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7177 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
7178 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7179 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
7180 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7183 * Fix Command Arguments for Strict_Ansi_Not_Ctd
7185 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7187 "%1 !defined(__STRICT_ANSI__)",
7190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7192 * Description of Strict_Ansi_Only fix
7194 tSCC zStrict_Ansi_OnlyName[] =
7198 * File name selection pattern
7200 #define zStrict_Ansi_OnlyList (char*)NULL
7202 * Machine/OS name selection pattern
7204 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7207 * content selection pattern - do fix if pattern found
7209 tSCC zStrict_Ansi_OnlySelect0[] =
7210 "^([ \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)";
7213 * perform the C function call test
7215 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7217 #define STRICT_ANSI_ONLY_TEST_CT 2
7218 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7219 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
7220 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7223 * Fix Command Arguments for Strict_Ansi_Only
7225 static const char* apzStrict_Ansi_OnlyPatch[] = {
7227 "%1 defined(__STRICT_ANSI__)",
7230 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7232 * Description of Struct_File fix
7234 tSCC zStruct_FileName[] =
7238 * File name selection pattern
7240 tSCC zStruct_FileList[] =
7243 * Machine/OS name selection pattern
7245 #define apzStruct_FileMachs (const char**)NULL
7248 * content selection pattern - do fix if pattern found
7250 tSCC zStruct_FileSelect0[] =
7251 "^.*xdrstdio_create.*struct __file_s";
7253 #define STRUCT_FILE_TEST_CT 1
7254 static tTestDesc aStruct_FileTests[] = {
7255 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
7258 * Fix Command Arguments for Struct_File
7260 static const char* apzStruct_FilePatch[] = {
7262 "struct __file_s;\n\
7266 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7268 * Description of Struct_Sockaddr fix
7270 tSCC zStruct_SockaddrName[] =
7274 * File name selection pattern
7276 tSCC zStruct_SockaddrList[] =
7279 * Machine/OS name selection pattern
7281 #define apzStruct_SockaddrMachs (const char**)NULL
7284 * content selection pattern - do fix if pattern found
7286 tSCC zStruct_SockaddrSelect0[] =
7287 "^.*authdes_create.*struct sockaddr[^_]";
7290 * content bypass pattern - skip fix if pattern found
7292 tSCC zStruct_SockaddrBypass0[] =
7294 tSCC zStruct_SockaddrBypass1[] =
7295 "struct sockaddr;\n";
7297 #define STRUCT_SOCKADDR_TEST_CT 3
7298 static tTestDesc aStruct_SockaddrTests[] = {
7299 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
7300 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
7301 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7304 * Fix Command Arguments for Struct_Sockaddr
7306 static const char* apzStruct_SockaddrPatch[] = {
7308 "struct sockaddr;\n\
7312 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7314 * Description of Sun_Auth_Proto fix
7316 tSCC zSun_Auth_ProtoName[] =
7320 * File name selection pattern
7322 tSCC zSun_Auth_ProtoList[] =
7323 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7325 * Machine/OS name selection pattern
7327 #define apzSun_Auth_ProtoMachs (const char**)NULL
7330 * content selection pattern - do fix if pattern found
7332 tSCC zSun_Auth_ProtoSelect0[] =
7333 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7336 * content bypass pattern - skip fix if pattern found
7338 tSCC zSun_Auth_ProtoBypass0[] =
7341 #define SUN_AUTH_PROTO_TEST_CT 2
7342 static tTestDesc aSun_Auth_ProtoTests[] = {
7343 { TT_NEGREP, zSun_Auth_ProtoBypass0, (regex_t*)NULL },
7344 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
7347 * Fix Command Arguments for Sun_Auth_Proto
7349 static const char* apzSun_Auth_ProtoPatch[] = {
7351 "#ifdef __cplusplus\n\
7356 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
7359 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7361 * Description of Sun_Bogus_Ifdef fix
7363 tSCC zSun_Bogus_IfdefName[] =
7367 * File name selection pattern
7369 tSCC zSun_Bogus_IfdefList[] =
7370 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
7372 * Machine/OS name selection pattern
7374 #define apzSun_Bogus_IfdefMachs (const char**)NULL
7377 * content selection pattern - do fix if pattern found
7379 tSCC zSun_Bogus_IfdefSelect0[] =
7380 "#ifdef(.*\\|\\|.*)";
7382 #define SUN_BOGUS_IFDEF_TEST_CT 1
7383 static tTestDesc aSun_Bogus_IfdefTests[] = {
7384 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
7387 * Fix Command Arguments for Sun_Bogus_Ifdef
7389 static const char* apzSun_Bogus_IfdefPatch[] = {
7394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7396 * Description of Sun_Catmacro fix
7398 tSCC zSun_CatmacroName[] =
7402 * File name selection pattern
7404 tSCC zSun_CatmacroList[] =
7405 "pixrect/memvar.h\0";
7407 * Machine/OS name selection pattern
7409 #define apzSun_CatmacroMachs (const char**)NULL
7412 * content selection pattern - do fix if pattern found
7414 tSCC zSun_CatmacroSelect0[] =
7415 "^#define[ \t]+CAT\\(a,b\\).*";
7417 #define SUN_CATMACRO_TEST_CT 1
7418 static tTestDesc aSun_CatmacroTests[] = {
7419 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
7422 * Fix Command Arguments for Sun_Catmacro
7424 static const char* apzSun_CatmacroPatch[] = {
7427 # define CAT(a,b) a##b\n\
7433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7435 * Description of Sun_Malloc fix
7437 tSCC zSun_MallocName[] =
7441 * File name selection pattern
7443 tSCC zSun_MallocList[] =
7446 * Machine/OS name selection pattern
7448 #define apzSun_MallocMachs (const char**)NULL
7451 * content bypass pattern - skip fix if pattern found
7453 tSCC zSun_MallocBypass0[] =
7454 "_CLASSIC_ANSI_TYPES";
7456 #define SUN_MALLOC_TEST_CT 1
7457 static tTestDesc aSun_MallocTests[] = {
7458 { TT_NEGREP, zSun_MallocBypass0, (regex_t*)NULL }, };
7461 * Fix Command Arguments for Sun_Malloc
7463 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
7464 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
7465 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
7466 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
7467 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
7468 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
7471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7473 * Description of Sun_Rusers_Semi fix
7475 tSCC zSun_Rusers_SemiName[] =
7479 * File name selection pattern
7481 tSCC zSun_Rusers_SemiList[] =
7482 "rpcsvc/rusers.h\0";
7484 * Machine/OS name selection pattern
7486 #define apzSun_Rusers_SemiMachs (const char**)NULL
7489 * content selection pattern - do fix if pattern found
7491 tSCC zSun_Rusers_SemiSelect0[] =
7494 #define SUN_RUSERS_SEMI_TEST_CT 1
7495 static tTestDesc aSun_Rusers_SemiTests[] = {
7496 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
7499 * Fix Command Arguments for Sun_Rusers_Semi
7501 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
7502 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
7505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7507 * Description of Sun_Signal fix
7509 tSCC zSun_SignalName[] =
7513 * File name selection pattern
7515 tSCC zSun_SignalList[] =
7516 "sys/signal.h\0signal.h\0";
7518 * Machine/OS name selection pattern
7520 #define apzSun_SignalMachs (const char**)NULL
7523 * content selection pattern - do fix if pattern found
7525 tSCC zSun_SignalSelect0[] =
7526 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
7528 #define SUN_SIGNAL_TEST_CT 1
7529 static tTestDesc aSun_SignalTests[] = {
7530 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
7533 * Fix Command Arguments for Sun_Signal
7535 static const char* apzSun_SignalPatch[] = {
7537 "#ifdef __cplusplus\n\
7538 void\t(*signal(...))(...);\n\
7544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7546 * Description of Sunos_Strlen fix
7548 tSCC zSunos_StrlenName[] =
7552 * File name selection pattern
7554 tSCC zSunos_StrlenList[] =
7557 * Machine/OS name selection pattern
7559 #define apzSunos_StrlenMachs (const char**)NULL
7562 * content selection pattern - do fix if pattern found
7564 tSCC zSunos_StrlenSelect0[] =
7565 "int[ \t]*strlen\\(\\);(.*)";
7567 #define SUNOS_STRLEN_TEST_CT 1
7568 static tTestDesc aSunos_StrlenTests[] = {
7569 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
7572 * Fix Command Arguments for Sunos_Strlen
7574 static const char* apzSunos_StrlenPatch[] = {
7576 "__SIZE_TYPE__ strlen();%1",
7579 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7581 * Description of Svr4_Disable_Opt fix
7583 tSCC zSvr4_Disable_OptName[] =
7587 * File name selection pattern
7589 tSCC zSvr4_Disable_OptList[] =
7592 * Machine/OS name selection pattern
7594 #define apzSvr4_Disable_OptMachs (const char**)NULL
7597 * content selection pattern - do fix if pattern found
7599 tSCC zSvr4_Disable_OptSelect0[] =
7600 "#define.*__std_hdr_";
7602 #define SVR4_DISABLE_OPT_TEST_CT 1
7603 static tTestDesc aSvr4_Disable_OptTests[] = {
7604 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
7607 * Fix Command Arguments for Svr4_Disable_Opt
7609 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
7610 "-e", "/#define.*__std_hdr_/d",
7613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7615 * Description of Svr4_Getcwd fix
7617 tSCC zSvr4_GetcwdName[] =
7621 * File name selection pattern
7623 tSCC zSvr4_GetcwdList[] =
7624 "stdlib.h\0unistd.h\0prototypes.h\0";
7626 * Machine/OS name selection pattern
7628 #define apzSvr4_GetcwdMachs (const char**)NULL
7631 * content selection pattern - do fix if pattern found
7633 tSCC zSvr4_GetcwdSelect0[] =
7634 "getcwd\\(char \\*, int\\)";
7636 #define SVR4_GETCWD_TEST_CT 1
7637 static tTestDesc aSvr4_GetcwdTests[] = {
7638 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
7641 * Fix Command Arguments for Svr4_Getcwd
7643 static const char* apzSvr4_GetcwdPatch[] = {
7645 "getcwd(char *, size_t)",
7648 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7650 * Description of Svr4_Profil fix
7652 tSCC zSvr4_ProfilName[] =
7656 * File name selection pattern
7658 tSCC zSvr4_ProfilList[] =
7659 "stdlib.h\0unistd.h\0";
7661 * Machine/OS name selection pattern
7663 #define apzSvr4_ProfilMachs (const char**)NULL
7666 * content selection pattern - do fix if pattern found
7668 tSCC zSvr4_ProfilSelect0[] =
7669 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
7671 #define SVR4_PROFIL_TEST_CT 1
7672 static tTestDesc aSvr4_ProfilTests[] = {
7673 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
7676 * Fix Command Arguments for Svr4_Profil
7678 static const char* apzSvr4_ProfilPatch[] = {
7680 "profil(unsigned short *, size_t, int, unsigned int)",
7683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7685 * Description of Svr4_Sighandler_Type fix
7687 tSCC zSvr4_Sighandler_TypeName[] =
7688 "svr4_sighandler_type";
7691 * File name selection pattern
7693 tSCC zSvr4_Sighandler_TypeList[] =
7696 * Machine/OS name selection pattern
7698 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
7701 * content selection pattern - do fix if pattern found
7703 tSCC zSvr4_Sighandler_TypeSelect0[] =
7704 "void *\\(\\*\\)\\(\\)";
7706 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
7707 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
7708 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
7711 * Fix Command Arguments for Svr4_Sighandler_Type
7713 static const char* apzSvr4_Sighandler_TypePatch[] = {
7718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7720 * Description of Svr4_Undeclared_Getrnge fix
7722 tSCC zSvr4_Undeclared_GetrngeName[] =
7723 "svr4_undeclared_getrnge";
7726 * File name selection pattern
7728 tSCC zSvr4_Undeclared_GetrngeList[] =
7731 * Machine/OS name selection pattern
7733 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
7736 * content selection pattern - do fix if pattern found
7738 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
7742 * content bypass pattern - skip fix if pattern found
7744 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
7745 "static void getrnge";
7747 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
7748 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
7749 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
7750 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
7753 * Fix Command Arguments for Svr4_Undeclared_Getrnge
7755 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
7758 static int getrnge ();",
7759 "^static int[ \t]+size;",
7762 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7764 * Description of Sysv68_String fix
7766 tSCC zSysv68_StringName[] =
7770 * File name selection pattern
7772 tSCC zSysv68_StringList[] =
7773 "testing.h\0string.h\0";
7775 * Machine/OS name selection pattern
7777 #define apzSysv68_StringMachs (const char**)NULL
7780 * content bypass pattern - skip fix if pattern found
7782 tSCC zSysv68_StringBypass0[] =
7783 "_CLASSIC_ANSI_TYPES";
7785 #define SYSV68_STRING_TEST_CT 1
7786 static tTestDesc aSysv68_StringTests[] = {
7787 { TT_NEGREP, zSysv68_StringBypass0, (regex_t*)NULL }, };
7790 * Fix Command Arguments for Sysv68_String
7792 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
7793 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
7794 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
7795 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
7796 "-e", "/^extern char$/N",
7797 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
7798 "-e", "/^extern int$/N",
7799 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
7800 "-e", "/^\tstrncmp(),$/N",
7801 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
7802 extern unsigned int\\\n\
7806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7808 * Description of Sysz_Stdlib_For_Sun fix
7810 tSCC zSysz_Stdlib_For_SunName[] =
7811 "sysz_stdlib_for_sun";
7814 * File name selection pattern
7816 tSCC zSysz_Stdlib_For_SunList[] =
7819 * Machine/OS name selection pattern
7821 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
7824 * content selection pattern - do fix if pattern found
7826 tSCC zSysz_Stdlib_For_SunSelect0[] =
7827 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
7830 * content bypass pattern - skip fix if pattern found
7832 tSCC zSysz_Stdlib_For_SunBypass0[] =
7833 "_CLASSIC_ANSI_TYPES";
7835 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
7836 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
7837 { TT_NEGREP, zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
7838 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
7841 * Fix Command Arguments for Sysz_Stdlib_For_Sun
7843 static const char* apzSysz_Stdlib_For_SunPatch[] = {
7848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7850 * Description of Thread_Keyword fix
7852 tSCC zThread_KeywordName[] =
7856 * File name selection pattern
7858 tSCC zThread_KeywordList[] =
7859 "pthread.h\0bits/sigthread.h\0";
7861 * Machine/OS name selection pattern
7863 #define apzThread_KeywordMachs (const char**)NULL
7866 * content selection pattern - do fix if pattern found
7868 tSCC zThread_KeywordSelect0[] =
7869 "([* ])__thread([,)])";
7871 #define THREAD_KEYWORD_TEST_CT 1
7872 static tTestDesc aThread_KeywordTests[] = {
7873 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
7876 * Fix Command Arguments for Thread_Keyword
7878 static const char* apzThread_KeywordPatch[] = {
7883 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7885 * Description of Tinfo_Cplusplus fix
7887 tSCC zTinfo_CplusplusName[] =
7891 * File name selection pattern
7893 tSCC zTinfo_CplusplusList[] =
7896 * Machine/OS name selection pattern
7898 #define apzTinfo_CplusplusMachs (const char**)NULL
7901 * content selection pattern - do fix if pattern found
7903 tSCC zTinfo_CplusplusSelect0[] =
7906 #define TINFO_CPLUSPLUS_TEST_CT 1
7907 static tTestDesc aTinfo_CplusplusTests[] = {
7908 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
7911 * Fix Command Arguments for Tinfo_Cplusplus
7913 static const char* apzTinfo_CplusplusPatch[] = {
7918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7920 * Description of Ultrix_Const fix
7922 tSCC zUltrix_ConstName[] =
7926 * File name selection pattern
7928 tSCC zUltrix_ConstList[] =
7931 * Machine/OS name selection pattern
7933 #define apzUltrix_ConstMachs (const char**)NULL
7936 * content selection pattern - do fix if pattern found
7938 tSCC zUltrix_ConstSelect0[] =
7939 "perror\\( char \\*";
7941 #define ULTRIX_CONST_TEST_CT 1
7942 static tTestDesc aUltrix_ConstTests[] = {
7943 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
7946 * Fix Command Arguments for Ultrix_Const
7948 static const char* apzUltrix_ConstPatch[] = {
7951 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
7954 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7956 * Description of Ultrix_Const2 fix
7958 tSCC zUltrix_Const2Name[] =
7962 * File name selection pattern
7964 tSCC zUltrix_Const2List[] =
7967 * Machine/OS name selection pattern
7969 #define apzUltrix_Const2Machs (const char**)NULL
7972 * content selection pattern - do fix if pattern found
7974 tSCC zUltrix_Const2Select0[] =
7975 "\\*fopen\\( char \\*";
7977 #define ULTRIX_CONST2_TEST_CT 1
7978 static tTestDesc aUltrix_Const2Tests[] = {
7979 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
7982 * Fix Command Arguments for Ultrix_Const2
7984 static const char* apzUltrix_Const2Patch[] = {
7986 "%1( const char *%3, const char *",
7987 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
7990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7992 * Description of Va_I960_Macro fix
7994 tSCC zVa_I960_MacroName[] =
7998 * File name selection pattern
8000 tSCC zVa_I960_MacroList[] =
8001 "arch/i960/archI960.h\0";
8003 * Machine/OS name selection pattern
8005 #define apzVa_I960_MacroMachs (const char**)NULL
8008 * content selection pattern - do fix if pattern found
8010 tSCC zVa_I960_MacroSelect0[] =
8011 "__(vsiz|vali|vpad|alignof__)";
8013 #define VA_I960_MACRO_TEST_CT 1
8014 static tTestDesc aVa_I960_MacroTests[] = {
8015 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8018 * Fix Command Arguments for Va_I960_Macro
8020 static const char* apzVa_I960_MacroPatch[] = {
8025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8027 * Description of Vms_Define_Can_Use_Extern_Prefix fix
8029 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8030 "vms_define_can_use_extern_prefix";
8033 * File name selection pattern
8035 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8036 "rtldef/decc$types.h\0";
8038 * Machine/OS name selection pattern
8040 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8042 (const char*)NULL };
8045 * content selection pattern - do fix if pattern found
8047 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8049 #[ \t]*if defined\\(__DECCXX\\)\n\
8050 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8052 #define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
8053 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8054 { TT_EGREP, zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8057 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8059 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8061 "%0# elif defined (__GNUC__)\n\
8062 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8067 * Description of Vms_Use_Pragma_Extern_Model fix
8069 tSCC zVms_Use_Pragma_Extern_ModelName[] =
8070 "vms_use_pragma_extern_model";
8073 * File name selection pattern
8075 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
8077 * Machine/OS name selection pattern
8079 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
8081 (const char*)NULL };
8084 * content selection pattern - do fix if pattern found
8086 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
8087 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
8088 # pragma extern_model __save\n";
8090 #define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
8091 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
8092 { TT_EGREP, zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
8095 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
8097 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
8099 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
8100 # pragma extern_model __save\n",
8103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8105 * Description of Vms_Disable_Decc_String_Builtins fix
8107 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8108 "vms_disable_decc_string_builtins";
8111 * File name selection pattern
8113 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8114 "rtldef/string.h\0";
8116 * Machine/OS name selection pattern
8118 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8120 (const char*)NULL };
8123 * content selection pattern - do fix if pattern found
8125 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8126 "#if !defined\\(__VAX\\)\n";
8128 #define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
8129 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8130 { TT_EGREP, zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8133 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8135 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8137 "#if !defined(__VAX) && !defined(__GNUC__)\n",
8140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8142 * Description of Vms_Use_Quoted_Include fix
8144 tSCC zVms_Use_Quoted_IncludeName[] =
8145 "vms_use_quoted_include";
8148 * File name selection pattern
8150 tSCC zVms_Use_Quoted_IncludeList[] =
8151 "rtldef/wait.h\0starlet_c/pthread.h\0";
8153 * Machine/OS name selection pattern
8155 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
8157 (const char*)NULL };
8160 * content selection pattern - do fix if pattern found
8162 tSCC zVms_Use_Quoted_IncludeSelect0[] =
8163 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
8165 #define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
8166 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
8167 { TT_EGREP, zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
8170 * Fix Command Arguments for Vms_Use_Quoted_Include
8172 static const char* apzVms_Use_Quoted_IncludePatch[] = {
8177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8179 * Description of Vms_Add_Missing_Braces fix
8181 tSCC zVms_Add_Missing_BracesName[] =
8182 "vms_add_missing_braces";
8185 * File name selection pattern
8187 tSCC zVms_Add_Missing_BracesList[] =
8188 "rtldef/signal.h\0";
8190 * Machine/OS name selection pattern
8192 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8194 (const char*)NULL };
8197 * content selection pattern - do fix if pattern found
8199 tSCC zVms_Add_Missing_BracesSelect0[] =
8200 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8202 #define VMS_ADD_MISSING_BRACES_TEST_CT 1
8203 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8204 { TT_EGREP, zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8207 * Fix Command Arguments for Vms_Add_Missing_Braces
8209 static const char* apzVms_Add_Missing_BracesPatch[] = {
8214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8216 * Description of Vms_Do_Not_Redeclare_Hostalias fix
8218 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8219 "vms_do_not_redeclare_hostalias";
8222 * File name selection pattern
8224 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8225 "rtldef/resolv.h\0";
8227 * Machine/OS name selection pattern
8229 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8231 (const char*)NULL };
8234 * content selection pattern - do fix if pattern found
8236 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8237 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8238 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8240 #define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
8241 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8242 { TT_EGREP, zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8245 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8247 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8255 * Description of Vms_Decc_Builtin fix
8257 tSCC zVms_Decc_BuiltinName[] =
8261 * File name selection pattern
8263 tSCC zVms_Decc_BuiltinList[] =
8264 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8266 * Machine/OS name selection pattern
8268 tSCC* apzVms_Decc_BuiltinMachs[] = {
8270 (const char*)NULL };
8273 * content selection pattern - do fix if pattern found
8275 tSCC zVms_Decc_BuiltinSelect0[] =
8276 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8278 #define VMS_DECC_BUILTIN_TEST_CT 1
8279 static tTestDesc aVms_Decc_BuiltinTests[] = {
8280 { TT_EGREP, zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8283 * Fix Command Arguments for Vms_Decc_Builtin
8285 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8286 "-e", "s@__MEMSET@memset@",
8287 "-e", "s@__MEMMOVE@memmove@",
8288 "-e", "s@__MEMCPY@memcpy@",
8289 "-e", "s@__STRLEN@strlen@",
8290 "-e", "s@__STRCPY@strcpy@",
8293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8295 * Description of Vms_No_64bit_Getopt fix
8297 tSCC zVms_No_64bit_GetoptName[] =
8298 "vms_no_64bit_getopt";
8301 * File name selection pattern
8303 tSCC zVms_No_64bit_GetoptList[] =
8304 "rtldef/stdio.h\0rtldef/unistd.h\0";
8306 * Machine/OS name selection pattern
8308 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8310 (const char*)NULL };
8313 * content selection pattern - do fix if pattern found
8315 tSCC zVms_No_64bit_GetoptSelect0[] =
8316 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8318 #define VMS_NO_64BIT_GETOPT_TEST_CT 1
8319 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8320 { TT_EGREP, zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8323 * Fix Command Arguments for Vms_No_64bit_Getopt
8325 static const char* apzVms_No_64bit_GetoptPatch[] = {
8327 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
8331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8333 * Description of Vms_Forward_Declare_Struct fix
8335 tSCC zVms_Forward_Declare_StructName[] =
8336 "vms_forward_declare_struct";
8339 * File name selection pattern
8341 tSCC zVms_Forward_Declare_StructList[] =
8344 * Machine/OS name selection pattern
8346 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8348 (const char*)NULL };
8351 * content selection pattern - do fix if pattern found
8353 tSCC zVms_Forward_Declare_StructSelect0[] =
8354 "(/\\* forward decls for C\\+\\+ \\*/\n\
8355 )#ifdef __cplusplus\n";
8357 #define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
8358 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8359 { TT_EGREP, zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8362 * Fix Command Arguments for Vms_Forward_Declare_Struct
8364 static const char* apzVms_Forward_Declare_StructPatch[] = {
8366 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8371 * Description of Vms_Use_Fast_Setjmp fix
8373 tSCC zVms_Use_Fast_SetjmpName[] =
8374 "vms_use_fast_setjmp";
8377 * File name selection pattern
8379 tSCC zVms_Use_Fast_SetjmpList[] =
8380 "rtldef/setjmp.h\0";
8382 * Machine/OS name selection pattern
8384 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
8386 (const char*)NULL };
8389 * content selection pattern - do fix if pattern found
8391 tSCC zVms_Use_Fast_SetjmpSelect0[] =
8392 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
8394 #define VMS_USE_FAST_SETJMP_TEST_CT 1
8395 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
8396 { TT_EGREP, zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
8399 * Fix Command Arguments for Vms_Use_Fast_Setjmp
8401 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
8403 "%0 defined (__GNUC__) ||",
8406 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8408 * Description of Void_Null fix
8410 tSCC zVoid_NullName[] =
8414 * File name selection pattern
8416 tSCC zVoid_NullList[] =
8417 "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";
8419 * Machine/OS name selection pattern
8421 #define apzVoid_NullMachs (const char**)NULL
8424 * content selection pattern - do fix if pattern found
8426 tSCC zVoid_NullSelect0[] =
8427 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
8430 * content bypass pattern - skip fix if pattern found
8432 tSCC zVoid_NullBypass0[] =
8434 tSCC zVoid_NullBypass1[] =
8437 #define VOID_NULL_TEST_CT 3
8438 static tTestDesc aVoid_NullTests[] = {
8439 { TT_NEGREP, zVoid_NullBypass0, (regex_t*)NULL },
8440 { TT_NEGREP, zVoid_NullBypass1, (regex_t*)NULL },
8441 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
8444 * Fix Command Arguments for Void_Null
8446 static const char* apzVoid_NullPatch[] = {
8451 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8453 * Description of Vxworks_Gcc_Problem fix
8455 tSCC zVxworks_Gcc_ProblemName[] =
8456 "vxworks_gcc_problem";
8459 * File name selection pattern
8461 tSCC zVxworks_Gcc_ProblemList[] =
8462 "types/vxTypesBase.h\0";
8464 * Machine/OS name selection pattern
8466 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
8469 * content selection pattern - do fix if pattern found
8471 tSCC zVxworks_Gcc_ProblemSelect0[] =
8472 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
8474 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
8475 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
8476 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
8479 * Fix Command Arguments for Vxworks_Gcc_Problem
8481 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
8482 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
8483 "-e", "/[ \t]size_t/i\\\n\
8484 #ifndef _GCC_SIZE_T\\\n\
8485 #define _GCC_SIZE_T\n",
8486 "-e", "/[ \t]size_t/a\\\n\
8488 "-e", "/[ \t]ptrdiff_t/i\\\n\
8489 #ifndef _GCC_PTRDIFF_T\\\n\
8490 #define _GCC_PTRDIFF_T\n",
8491 "-e", "/[ \t]ptrdiff_t/a\\\n\
8493 "-e", "/[ \t]wchar_t/i\\\n\
8494 #ifndef _GCC_WCHAR_T\\\n\
8495 #define _GCC_WCHAR_T\n",
8496 "-e", "/[ \t]wchar_t/a\\\n\
8500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8502 * Description of Vxworks_Needs_Vxtypes fix
8504 tSCC zVxworks_Needs_VxtypesName[] =
8505 "vxworks_needs_vxtypes";
8508 * File name selection pattern
8510 tSCC zVxworks_Needs_VxtypesList[] =
8513 * Machine/OS name selection pattern
8515 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
8518 * content selection pattern - do fix if pattern found
8520 tSCC zVxworks_Needs_VxtypesSelect0[] =
8521 "uint_t([ \t]+_clocks_per_sec)";
8523 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
8524 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
8525 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
8528 * Fix Command Arguments for Vxworks_Needs_Vxtypes
8530 static const char* apzVxworks_Needs_VxtypesPatch[] = {
8535 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8537 * Description of Vxworks_Needs_Vxworks fix
8539 tSCC zVxworks_Needs_VxworksName[] =
8540 "vxworks_needs_vxworks";
8543 * File name selection pattern
8545 tSCC zVxworks_Needs_VxworksList[] =
8548 * Machine/OS name selection pattern
8550 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
8553 * content selection pattern - do fix if pattern found
8555 tSCC zVxworks_Needs_VxworksSelect0[] =
8556 "#[ \t]define[ \t]+__INCstath";
8559 * perform the 'test' shell command - do fix on success
8561 tSCC zVxworks_Needs_VxworksTest0[] =
8562 " -r types/vxTypesOld.h";
8563 tSCC zVxworks_Needs_VxworksTest1[] =
8564 " -n \"`egrep '#include' $file`\"";
8565 tSCC zVxworks_Needs_VxworksTest2[] =
8566 " -n \"`egrep ULONG $file`\"";
8568 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
8569 static tTestDesc aVxworks_Needs_VxworksTests[] = {
8570 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
8571 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
8572 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
8573 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
8576 * Fix Command Arguments for Vxworks_Needs_Vxworks
8578 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
8579 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
8580 #include <types/vxTypesOld.h>\n",
8583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8585 * Description of Vxworks_Time fix
8587 tSCC zVxworks_TimeName[] =
8591 * File name selection pattern
8593 tSCC zVxworks_TimeList[] =
8596 * Machine/OS name selection pattern
8598 #define apzVxworks_TimeMachs (const char**)NULL
8601 * content selection pattern - do fix if pattern found
8603 tSCC zVxworks_TimeSelect0[] =
8604 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
8607 * perform the 'test' shell command - do fix on success
8609 tSCC zVxworks_TimeTest0[] =
8612 #define VXWORKS_TIME_TEST_CT 2
8613 static tTestDesc aVxworks_TimeTests[] = {
8614 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
8615 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
8618 * Fix Command Arguments for Vxworks_Time
8620 static const char* apzVxworks_TimePatch[] = {
8622 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
8623 #ifdef __cplusplus\n\
8624 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
8626 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
8628 #define __gcc_VOIDFUNCPTR_defined\n\
8630 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
8633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8635 * Description of X11_Class fix
8637 tSCC zX11_ClassName[] =
8641 * File name selection pattern
8643 tSCC zX11_ClassList[] =
8646 * Machine/OS name selection pattern
8648 #define apzX11_ClassMachs (const char**)NULL
8651 * content selection pattern - do fix if pattern found
8653 tSCC zX11_ClassSelect0[] =
8654 "^([ \t]*char \\*)class;(.*)";
8657 * content bypass pattern - skip fix if pattern found
8659 tSCC zX11_ClassBypass0[] =
8662 #define X11_CLASS_TEST_CT 2
8663 static tTestDesc aX11_ClassTests[] = {
8664 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
8665 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
8668 * Fix Command Arguments for X11_Class
8670 static const char* apzX11_ClassPatch[] = {
8672 "#ifdef __cplusplus\n\
8679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8681 * Description of X11_Class_Usage fix
8683 tSCC zX11_Class_UsageName[] =
8687 * File name selection pattern
8689 tSCC zX11_Class_UsageList[] =
8690 "Xm/BaseClassI.h\0";
8692 * Machine/OS name selection pattern
8694 #define apzX11_Class_UsageMachs (const char**)NULL
8697 * content selection pattern - do fix if pattern found
8699 tSCC zX11_Class_UsageSelect0[] =
8703 * content bypass pattern - skip fix if pattern found
8705 tSCC zX11_Class_UsageBypass0[] =
8708 #define X11_CLASS_USAGE_TEST_CT 2
8709 static tTestDesc aX11_Class_UsageTests[] = {
8710 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
8711 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
8714 * Fix Command Arguments for X11_Class_Usage
8716 static const char* apzX11_Class_UsagePatch[] = {
8721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8723 * Description of X11_New fix
8725 tSCC zX11_NewName[] =
8729 * File name selection pattern
8731 tSCC zX11_NewList[] =
8734 * Machine/OS name selection pattern
8736 #define apzX11_NewMachs (const char**)NULL
8739 * content bypass pattern - skip fix if pattern found
8741 tSCC zX11_NewBypass0[] =
8744 #define X11_NEW_TEST_CT 1
8745 static tTestDesc aX11_NewTests[] = {
8746 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
8749 * Fix Command Arguments for X11_New
8751 static const char* apzX11_NewPatch[] = { sed_cmd_z,
8752 "-e", "/Widget\told, new;/i\\\n\
8753 #ifdef __cplusplus\\\n\
8754 \\\tWidget\told, c_new;\\\n\
8756 "-e", "/Widget\told, new;/a\\\n\
8758 "-e", "s/Widget new,/Widget c_new,/g",
8761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8763 * Description of X11_Sprintf fix
8765 tSCC zX11_SprintfName[] =
8769 * File name selection pattern
8771 tSCC zX11_SprintfList[] =
8772 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
8774 * Machine/OS name selection pattern
8776 #define apzX11_SprintfMachs (const char**)NULL
8779 * content selection pattern - do fix if pattern found
8781 tSCC zX11_SprintfSelect0[] =
8782 "^extern char \\*\tsprintf\\(\\);$";
8784 #define X11_SPRINTF_TEST_CT 1
8785 static tTestDesc aX11_SprintfTests[] = {
8786 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
8789 * Fix Command Arguments for X11_Sprintf
8791 static const char* apzX11_SprintfPatch[] = {
8793 "#ifndef __STDC__\n\
8795 #endif /* !defined __STDC__ */",
8799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8803 #define REGEX_COUNT 259
8804 #define MACH_LIST_SIZE_LIMIT 181
8805 #define FIX_COUNT 216
8808 * Enumerate the fixes
8811 AAB_AIX_STDIO_FIXIDX,
8812 AAB_AIX_FCNTL_FIXIDX,
8813 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
8814 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
8815 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
8816 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
8817 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
8818 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
8819 AAB_SUN_MEMCPY_FIXIDX,
8822 AIX_NET_IF_ARP_FIXIDX,
8823 AIX_ONCE_INIT_1_FIXIDX,
8824 AIX_ONCE_INIT_2_FIXIDX,
8825 AIX_MUTEX_INITIALIZER_1_FIXIDX,
8826 AIX_COND_INITIALIZER_1_FIXIDX,
8827 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
8829 AIX_STDINT_1_FIXIDX,
8830 AIX_STDINT_2_FIXIDX,
8831 AIX_STDINT_3_FIXIDX,
8832 AIX_STDINT_4_FIXIDX,
8833 AIX_STDINT_5_FIXIDX,
8834 AIX_SYSMACHINE_FIXIDX,
8835 AIX_SYSWAIT_2_FIXIDX,
8836 AIX_VOLATILE_FIXIDX,
8837 ALPHA___ASSERT_FIXIDX,
8838 ALPHA_ASSERT_FIXIDX,
8839 ALPHA_GETOPT_FIXIDX,
8840 ALPHA_IF_SEMICOLON_FIXIDX,
8841 ALPHA_PARENS_FIXIDX,
8843 AVOID_BOOL_DEFINE_FIXIDX,
8844 AVOID_BOOL_TYPE_FIXIDX,
8845 AVOID_WCHAR_T_TYPE_FIXIDX,
8846 BAD_STRUCT_TERM_FIXIDX,
8848 BROKEN_ASSERT_STDIO_FIXIDX,
8849 BROKEN_ASSERT_STDLIB_FIXIDX,
8852 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
8853 CDEF_CPLUSPLUS_FIXIDX,
8854 CTRL_QUOTES_DEF_FIXIDX,
8855 CTRL_QUOTES_USE_FIXIDX,
8857 DARWIN_EXTERNC_FIXIDX,
8858 DARWIN_GCC4_BREAKAGE_FIXIDX,
8859 DARWIN_PRIVATE_EXTERN_FIXIDX,
8860 DARWIN_STDINT_1_FIXIDX,
8861 DARWIN_STDINT_2_FIXIDX,
8862 DARWIN_STDINT_3_FIXIDX,
8863 DARWIN_STDINT_4_FIXIDX,
8864 DARWIN_STDINT_5_FIXIDX,
8865 DARWIN_STDINT_6_FIXIDX,
8866 DARWIN_STDINT_7_FIXIDX,
8867 DEC_INTERN_ASM_FIXIDX,
8868 DJGPP_WCHAR_H_FIXIDX,
8870 FREEBSD_GCC3_BREAKAGE_FIXIDX,
8871 FREEBSD_GCC4_BREAKAGE_FIXIDX,
8872 GLIBC_C99_INLINE_1_FIXIDX,
8873 GLIBC_C99_INLINE_1A_FIXIDX,
8874 GLIBC_C99_INLINE_2_FIXIDX,
8875 GLIBC_C99_INLINE_3_FIXIDX,
8876 GLIBC_C99_INLINE_4_FIXIDX,
8877 GLIBC_MUTEX_INIT_FIXIDX,
8878 GLIBC_STDINT_FIXIDX,
8879 GLIBC_STRNCPY_FIXIDX,
8880 GLIBC_TGMATH_FIXIDX,
8884 HPPA_HPUX_FP_MACROS_FIXIDX,
8885 HPUX10_CPP_POW_INLINE_FIXIDX,
8886 HPUX11_CPP_POW_INLINE_FIXIDX,
8887 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
8888 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
8889 HPUX10_STDIO_DECLARATIONS_FIXIDX,
8891 HPUX11_FABSF_FIXIDX,
8892 HPUX11_PTHREAD_CONST_FIXIDX,
8893 HPUX11_SIZE_T_FIXIDX,
8894 HPUX11_SNPRINTF_FIXIDX,
8895 HPUX11_VSNPRINTF_FIXIDX,
8896 HPUX8_BOGUS_INLINES_FIXIDX,
8897 HPUX_CTYPE_MACROS_FIXIDX,
8899 HPUX_LONG_DOUBLE_FIXIDX,
8900 HPUX_LONG_DOUBLE_2_FIXIDX,
8901 HPUX_SYSTIME_FIXIDX,
8902 HPUX_SPU_INFO_FIXIDX,
8903 HPUX11_EXTERN_SENDFILE_FIXIDX,
8904 HPUX11_EXTERN_SENDPATH_FIXIDX,
8905 HPUX_EXTERN_ERRNO_FIXIDX,
8906 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
8907 HPUX_C99_INTPTR_FIXIDX,
8908 HPUX_C99_INTTYPES_FIXIDX,
8909 HPUX_C99_INTTYPES2_FIXIDX,
8910 HPUX_STDINT_LEAST_FAST_FIXIDX,
8911 HPUX_INTTYPE_INT8_T_FIXIDX,
8912 HPUX_IMAGINARY_I_FIXIDX,
8913 HUGE_VAL_HEX_FIXIDX,
8914 HUGE_VALF_HEX_FIXIDX,
8915 HUGE_VALL_HEX_FIXIDX,
8916 INT_ABORT_FREE_AND_EXIT_FIXIDX,
8917 IO_QUOTES_DEF_FIXIDX,
8918 IO_QUOTES_USE_FIXIDX,
8919 IP_MISSING_SEMI_FIXIDX,
8920 IRIX_LIMITS_CONST_FIXIDX,
8921 IRIX_STDIO_VA_LIST_FIXIDX,
8922 KANDR_CONCAT_FIXIDX,
8923 LINUX_IA64_UCONTEXT_FIXIDX,
8924 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
8925 LYNXOS_MISSING_PUTENV_FIXIDX,
8926 MACHINE_ANSI_H_VA_LIST_FIXIDX,
8927 MACHINE_NAME_FIXIDX,
8928 MATH_EXCEPTION_FIXIDX,
8929 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
8930 NESTED_AUTH_DES_FIXIDX,
8931 NETBSD_C99_INLINE_1_FIXIDX,
8932 NETBSD_C99_INLINE_2_FIXIDX,
8933 NETBSD_EXTRA_SEMICOLON_FIXIDX,
8934 NEWLIB_STDINT_1_FIXIDX,
8935 NEWLIB_STDINT_2_FIXIDX,
8936 NEXT_MATH_PREFIX_FIXIDX,
8937 NEXT_TEMPLATE_FIXIDX,
8938 NEXT_VOLITILE_FIXIDX,
8939 NEXT_WAIT_UNION_FIXIDX,
8940 NODEENT_SYNTAX_FIXIDX,
8941 OPENBSD_NULL_DEFINITION_FIXIDX,
8942 OBSTACK_LVALUE_CAST_FIXIDX,
8943 OPENBSD_VA_START_FIXIDX,
8944 OSF_NAMESPACE_A_FIXIDX,
8945 OSF_NAMESPACE_C_FIXIDX,
8946 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
8947 READ_RET_TYPE_FIXIDX,
8948 RPC_XDR_LVALUE_CAST_A_FIXIDX,
8949 RPC_XDR_LVALUE_CAST_B_FIXIDX,
8950 RS6000_DOUBLE_FIXIDX,
8951 RS6000_FCHMOD_FIXIDX,
8952 RS6000_PARAM_FIXIDX,
8953 SOLARIS___RESTRICT_FIXIDX,
8954 SOLARIS_COMPLEX_FIXIDX,
8955 SOLARIS_COMPLEX_CXX_FIXIDX,
8956 SOLARIS_CXX_LINKAGE_FIXIDX,
8957 SOLARIS_GETC_STRICT_STDC_FIXIDX,
8958 SOLARIS_LONGJMP_NORETURN_FIXIDX,
8959 SOLARIS_MATH_1_FIXIDX,
8960 SOLARIS_MATH_2_FIXIDX,
8961 SOLARIS_MATH_3_FIXIDX,
8962 SOLARIS_MATH_4_FIXIDX,
8963 SOLARIS_MATH_8_FIXIDX,
8964 SOLARIS_MATH_9_FIXIDX,
8965 SOLARIS_MATH_10_FIXIDX,
8966 SOLARIS_MUTEX_INIT_2_FIXIDX,
8967 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
8968 SOLARIS_RWLOCK_INIT_1_FIXIDX,
8969 SOLARIS_ONCE_INIT_1_FIXIDX,
8970 SOLARIS_ONCE_INIT_2_FIXIDX,
8971 SOLARIS_INT_CONST_FIXIDX,
8972 SOLARIS_INT_LIMITS_1_FIXIDX,
8973 SOLARIS_INT_LIMITS_2_FIXIDX,
8974 SOLARIS_INT_LIMITS_3_FIXIDX,
8975 SOLARIS_INT_TYPES_FIXIDX,
8976 SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
8977 SOLARIS_STD___FILBUF_FIXIDX,
8978 SOLARIS_STDIO_TAG_FIXIDX,
8979 SOLARIS_SYS_VA_LIST_FIXIDX,
8981 STDIO_STDARG_H_FIXIDX,
8982 STDIO_VA_LIST_FIXIDX,
8983 STDIO_VA_LIST_CLIENTS_FIXIDX,
8984 STRICT_ANSI_NOT_FIXIDX,
8985 STRICT_ANSI_NOT_CTD_FIXIDX,
8986 STRICT_ANSI_ONLY_FIXIDX,
8988 STRUCT_SOCKADDR_FIXIDX,
8989 SUN_AUTH_PROTO_FIXIDX,
8990 SUN_BOGUS_IFDEF_FIXIDX,
8991 SUN_CATMACRO_FIXIDX,
8993 SUN_RUSERS_SEMI_FIXIDX,
8995 SUNOS_STRLEN_FIXIDX,
8996 SVR4_DISABLE_OPT_FIXIDX,
8999 SVR4_SIGHANDLER_TYPE_FIXIDX,
9000 SVR4_UNDECLARED_GETRNGE_FIXIDX,
9001 SYSV68_STRING_FIXIDX,
9002 SYSZ_STDLIB_FOR_SUN_FIXIDX,
9003 THREAD_KEYWORD_FIXIDX,
9004 TINFO_CPLUSPLUS_FIXIDX,
9005 ULTRIX_CONST_FIXIDX,
9006 ULTRIX_CONST2_FIXIDX,
9007 VA_I960_MACRO_FIXIDX,
9008 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9009 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9010 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9011 VMS_USE_QUOTED_INCLUDE_FIXIDX,
9012 VMS_ADD_MISSING_BRACES_FIXIDX,
9013 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9014 VMS_DECC_BUILTIN_FIXIDX,
9015 VMS_NO_64BIT_GETOPT_FIXIDX,
9016 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9017 VMS_USE_FAST_SETJMP_FIXIDX,
9019 VXWORKS_GCC_PROBLEM_FIXIDX,
9020 VXWORKS_NEEDS_VXTYPES_FIXIDX,
9021 VXWORKS_NEEDS_VXWORKS_FIXIDX,
9022 VXWORKS_TIME_FIXIDX,
9024 X11_CLASS_USAGE_FIXIDX,
9029 tFixDesc fixDescList[ FIX_COUNT ] = {
9030 { zAab_Aix_StdioName, zAab_Aix_StdioList,
9031 apzAab_Aix_StdioMachs,
9032 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9033 aAab_Aix_StdioTests, apzAab_Aix_StdioPatch, 0 },
9035 { zAab_Aix_FcntlName, zAab_Aix_FcntlList,
9036 apzAab_Aix_FcntlMachs,
9037 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9038 aAab_Aix_FcntlTests, apzAab_Aix_FcntlPatch, 0 },
9040 { zAab_Darwin7_9_Long_Double_FuncsName, zAab_Darwin7_9_Long_Double_FuncsList,
9041 apzAab_Darwin7_9_Long_Double_FuncsMachs,
9042 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9043 aAab_Darwin7_9_Long_Double_FuncsTests, apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9045 { zAab_Darwin7_9_Long_Double_Funcs_2Name, zAab_Darwin7_9_Long_Double_Funcs_2List,
9046 apzAab_Darwin7_9_Long_Double_Funcs_2Machs,
9047 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9048 aAab_Darwin7_9_Long_Double_Funcs_2Tests, apzAab_Darwin7_9_Long_Double_Funcs_2Patch, 0 },
9050 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
9051 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9052 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9053 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9055 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
9056 apzAab_Fd_Zero_Gnu_Types_HMachs,
9057 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9058 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9060 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
9061 apzAab_Fd_Zero_Selectbits_HMachs,
9062 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9063 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9065 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
9066 apzAab_Solaris_Sys_Varargs_HMachs,
9067 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9068 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9070 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
9071 apzAab_Sun_MemcpyMachs,
9072 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9073 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
9075 { zAix_ComplexName, zAix_ComplexList,
9076 apzAix_ComplexMachs,
9077 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9078 aAix_ComplexTests, apzAix_ComplexPatch, 0 },
9080 { zAix_MallocName, zAix_MallocList,
9082 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9083 aAix_MallocTests, apzAix_MallocPatch, 0 },
9085 { zAix_Net_If_ArpName, zAix_Net_If_ArpList,
9086 apzAix_Net_If_ArpMachs,
9087 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9088 aAix_Net_If_ArpTests, apzAix_Net_If_ArpPatch, 0 },
9090 { zAix_Once_Init_1Name, zAix_Once_Init_1List,
9091 apzAix_Once_Init_1Machs,
9092 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9093 aAix_Once_Init_1Tests, apzAix_Once_Init_1Patch, 0 },
9095 { zAix_Once_Init_2Name, zAix_Once_Init_2List,
9096 apzAix_Once_Init_2Machs,
9097 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9098 aAix_Once_Init_2Tests, apzAix_Once_Init_2Patch, 0 },
9100 { zAix_Mutex_Initializer_1Name, zAix_Mutex_Initializer_1List,
9101 apzAix_Mutex_Initializer_1Machs,
9102 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9103 aAix_Mutex_Initializer_1Tests, apzAix_Mutex_Initializer_1Patch, 0 },
9105 { zAix_Cond_Initializer_1Name, zAix_Cond_Initializer_1List,
9106 apzAix_Cond_Initializer_1Machs,
9107 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9108 aAix_Cond_Initializer_1Tests, apzAix_Cond_Initializer_1Patch, 0 },
9110 { zAix_Rwlock_Initializer_1Name, zAix_Rwlock_Initializer_1List,
9111 apzAix_Rwlock_Initializer_1Machs,
9112 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9113 aAix_Rwlock_Initializer_1Tests, apzAix_Rwlock_Initializer_1Patch, 0 },
9115 { zAix_PthreadName, zAix_PthreadList,
9116 apzAix_PthreadMachs,
9117 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9118 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
9120 { zAix_Stdint_1Name, zAix_Stdint_1List,
9121 apzAix_Stdint_1Machs,
9122 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9123 aAix_Stdint_1Tests, apzAix_Stdint_1Patch, 0 },
9125 { zAix_Stdint_2Name, zAix_Stdint_2List,
9126 apzAix_Stdint_2Machs,
9127 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9128 aAix_Stdint_2Tests, apzAix_Stdint_2Patch, 0 },
9130 { zAix_Stdint_3Name, zAix_Stdint_3List,
9131 apzAix_Stdint_3Machs,
9132 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9133 aAix_Stdint_3Tests, apzAix_Stdint_3Patch, 0 },
9135 { zAix_Stdint_4Name, zAix_Stdint_4List,
9136 apzAix_Stdint_4Machs,
9137 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9138 aAix_Stdint_4Tests, apzAix_Stdint_4Patch, 0 },
9140 { zAix_Stdint_5Name, zAix_Stdint_5List,
9141 apzAix_Stdint_5Machs,
9142 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9143 aAix_Stdint_5Tests, apzAix_Stdint_5Patch, 0 },
9145 { zAix_SysmachineName, zAix_SysmachineList,
9146 apzAix_SysmachineMachs,
9147 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9148 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
9150 { zAix_Syswait_2Name, zAix_Syswait_2List,
9151 apzAix_Syswait_2Machs,
9152 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9153 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
9155 { zAix_VolatileName, zAix_VolatileList,
9156 apzAix_VolatileMachs,
9157 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9158 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
9160 { zAlpha___AssertName, zAlpha___AssertList,
9161 apzAlpha___AssertMachs,
9162 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9163 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
9165 { zAlpha_AssertName, zAlpha_AssertList,
9166 apzAlpha_AssertMachs,
9167 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9168 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
9170 { zAlpha_GetoptName, zAlpha_GetoptList,
9171 apzAlpha_GetoptMachs,
9172 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9173 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
9175 { zAlpha_If_SemicolonName, zAlpha_If_SemicolonList,
9176 apzAlpha_If_SemicolonMachs,
9177 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9178 aAlpha_If_SemicolonTests, apzAlpha_If_SemicolonPatch, 0 },
9180 { zAlpha_ParensName, zAlpha_ParensList,
9181 apzAlpha_ParensMachs,
9182 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9183 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
9185 { zAlpha_SbrkName, zAlpha_SbrkList,
9187 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9188 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
9190 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
9191 apzAvoid_Bool_DefineMachs,
9192 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9193 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
9195 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
9196 apzAvoid_Bool_TypeMachs,
9197 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9198 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
9200 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
9201 apzAvoid_Wchar_T_TypeMachs,
9202 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9203 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
9205 { zBad_Struct_TermName, zBad_Struct_TermList,
9206 apzBad_Struct_TermMachs,
9207 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9208 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
9210 { zBadquoteName, zBadquoteList,
9212 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9213 aBadquoteTests, apzBadquotePatch, 0 },
9215 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
9216 apzBroken_Assert_StdioMachs,
9217 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9218 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
9220 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
9221 apzBroken_Assert_StdlibMachs,
9222 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9223 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
9225 { zBroken_CabsName, zBroken_CabsList,
9226 apzBroken_CabsMachs,
9227 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
9228 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
9230 { zBroken_NanName, zBroken_NanList,
9232 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9233 aBroken_NanTests, apzBroken_NanPatch, 0 },
9235 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
9236 apzBsd_Stdio_Attrs_ConflictMachs,
9237 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9238 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
9240 { zCdef_CplusplusName, zCdef_CplusplusList,
9241 apzCdef_CplusplusMachs,
9242 CDEF_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9243 aCdef_CplusplusTests, apzCdef_CplusplusPatch, 0 },
9245 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
9246 apzCtrl_Quotes_DefMachs,
9247 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9248 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
9250 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
9251 apzCtrl_Quotes_UseMachs,
9252 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9253 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
9255 { zCxx_UnreadyName, zCxx_UnreadyList,
9256 apzCxx_UnreadyMachs,
9257 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9258 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
9260 { zDarwin_ExterncName, zDarwin_ExterncList,
9261 apzDarwin_ExterncMachs,
9262 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9263 aDarwin_ExterncTests, apzDarwin_ExterncPatch, 0 },
9265 { zDarwin_Gcc4_BreakageName, zDarwin_Gcc4_BreakageList,
9266 apzDarwin_Gcc4_BreakageMachs,
9267 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9268 aDarwin_Gcc4_BreakageTests, apzDarwin_Gcc4_BreakagePatch, 0 },
9270 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
9271 apzDarwin_Private_ExternMachs,
9272 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9273 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
9275 { zDarwin_Stdint_1Name, zDarwin_Stdint_1List,
9276 apzDarwin_Stdint_1Machs,
9277 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9278 aDarwin_Stdint_1Tests, apzDarwin_Stdint_1Patch, 0 },
9280 { zDarwin_Stdint_2Name, zDarwin_Stdint_2List,
9281 apzDarwin_Stdint_2Machs,
9282 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9283 aDarwin_Stdint_2Tests, apzDarwin_Stdint_2Patch, 0 },
9285 { zDarwin_Stdint_3Name, zDarwin_Stdint_3List,
9286 apzDarwin_Stdint_3Machs,
9287 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9288 aDarwin_Stdint_3Tests, apzDarwin_Stdint_3Patch, 0 },
9290 { zDarwin_Stdint_4Name, zDarwin_Stdint_4List,
9291 apzDarwin_Stdint_4Machs,
9292 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9293 aDarwin_Stdint_4Tests, apzDarwin_Stdint_4Patch, 0 },
9295 { zDarwin_Stdint_5Name, zDarwin_Stdint_5List,
9296 apzDarwin_Stdint_5Machs,
9297 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9298 aDarwin_Stdint_5Tests, apzDarwin_Stdint_5Patch, 0 },
9300 { zDarwin_Stdint_6Name, zDarwin_Stdint_6List,
9301 apzDarwin_Stdint_6Machs,
9302 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9303 aDarwin_Stdint_6Tests, apzDarwin_Stdint_6Patch, 0 },
9305 { zDarwin_Stdint_7Name, zDarwin_Stdint_7List,
9306 apzDarwin_Stdint_7Machs,
9307 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9308 aDarwin_Stdint_7Tests, apzDarwin_Stdint_7Patch, 0 },
9310 { zDec_Intern_AsmName, zDec_Intern_AsmList,
9311 apzDec_Intern_AsmMachs,
9312 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
9313 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
9315 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
9316 apzDjgpp_Wchar_HMachs,
9317 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9318 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
9320 { zEcd_CursorName, zEcd_CursorList,
9322 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9323 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
9325 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
9326 apzFreebsd_Gcc3_BreakageMachs,
9327 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9328 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
9330 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
9331 apzFreebsd_Gcc4_BreakageMachs,
9332 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9333 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
9335 { zGlibc_C99_Inline_1Name, zGlibc_C99_Inline_1List,
9336 apzGlibc_C99_Inline_1Machs,
9337 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9338 aGlibc_C99_Inline_1Tests, apzGlibc_C99_Inline_1Patch, 0 },
9340 { zGlibc_C99_Inline_1aName, zGlibc_C99_Inline_1aList,
9341 apzGlibc_C99_Inline_1aMachs,
9342 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9343 aGlibc_C99_Inline_1aTests, apzGlibc_C99_Inline_1aPatch, 0 },
9345 { zGlibc_C99_Inline_2Name, zGlibc_C99_Inline_2List,
9346 apzGlibc_C99_Inline_2Machs,
9347 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
9348 aGlibc_C99_Inline_2Tests, apzGlibc_C99_Inline_2Patch, 0 },
9350 { zGlibc_C99_Inline_3Name, zGlibc_C99_Inline_3List,
9351 apzGlibc_C99_Inline_3Machs,
9352 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9353 aGlibc_C99_Inline_3Tests, apzGlibc_C99_Inline_3Patch, 0 },
9355 { zGlibc_C99_Inline_4Name, zGlibc_C99_Inline_4List,
9356 apzGlibc_C99_Inline_4Machs,
9357 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9358 aGlibc_C99_Inline_4Tests, apzGlibc_C99_Inline_4Patch, 0 },
9360 { zGlibc_Mutex_InitName, zGlibc_Mutex_InitList,
9361 apzGlibc_Mutex_InitMachs,
9362 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
9363 aGlibc_Mutex_InitTests, apzGlibc_Mutex_InitPatch, 0 },
9365 { zGlibc_StdintName, zGlibc_StdintList,
9366 apzGlibc_StdintMachs,
9367 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9368 aGlibc_StdintTests, apzGlibc_StdintPatch, 0 },
9370 { zGlibc_StrncpyName, zGlibc_StrncpyList,
9371 apzGlibc_StrncpyMachs,
9372 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9373 aGlibc_StrncpyTests, apzGlibc_StrncpyPatch, 0 },
9375 { zGlibc_TgmathName, zGlibc_TgmathList,
9376 apzGlibc_TgmathMachs,
9377 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9378 aGlibc_TgmathTests, apzGlibc_TgmathPatch, 0 },
9380 { zGnu_TypesName, zGnu_TypesList,
9382 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9383 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
9385 { zHp_InlineName, zHp_InlineList,
9387 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9388 aHp_InlineTests, apzHp_InlinePatch, 0 },
9390 { zHp_SysfileName, zHp_SysfileList,
9392 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9393 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
9395 { zHppa_Hpux_Fp_MacrosName, zHppa_Hpux_Fp_MacrosList,
9396 apzHppa_Hpux_Fp_MacrosMachs,
9397 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9398 aHppa_Hpux_Fp_MacrosTests, apzHppa_Hpux_Fp_MacrosPatch, 0 },
9400 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
9401 apzHpux10_Cpp_Pow_InlineMachs,
9402 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9403 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
9405 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
9406 apzHpux11_Cpp_Pow_InlineMachs,
9407 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9408 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
9410 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
9411 apzHpux10_Ctype_Declarations1Machs,
9412 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9413 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
9415 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
9416 apzHpux10_Ctype_Declarations2Machs,
9417 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9418 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
9420 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
9421 apzHpux10_Stdio_DeclarationsMachs,
9422 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9423 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
9425 { zHpux11_AbsName, zHpux11_AbsList,
9427 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9428 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
9430 { zHpux11_FabsfName, zHpux11_FabsfList,
9431 apzHpux11_FabsfMachs,
9432 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9433 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
9435 { zHpux11_Pthread_ConstName, zHpux11_Pthread_ConstList,
9436 apzHpux11_Pthread_ConstMachs,
9437 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9438 aHpux11_Pthread_ConstTests, apzHpux11_Pthread_ConstPatch, 0 },
9440 { zHpux11_Size_TName, zHpux11_Size_TList,
9441 apzHpux11_Size_TMachs,
9442 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9443 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
9445 { zHpux11_SnprintfName, zHpux11_SnprintfList,
9446 apzHpux11_SnprintfMachs,
9447 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9448 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
9450 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
9451 apzHpux11_VsnprintfMachs,
9452 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9453 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
9455 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
9456 apzHpux8_Bogus_InlinesMachs,
9457 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
9458 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
9460 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
9461 apzHpux_Ctype_MacrosMachs,
9462 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9463 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
9465 { zHpux_HtonlName, zHpux_HtonlList,
9467 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9468 aHpux_HtonlTests, apzHpux_HtonlPatch, 0 },
9470 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
9471 apzHpux_Long_DoubleMachs,
9472 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
9473 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
9475 { zHpux_Long_Double_2Name, zHpux_Long_Double_2List,
9476 apzHpux_Long_Double_2Machs,
9477 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9478 aHpux_Long_Double_2Tests, apzHpux_Long_Double_2Patch, 0 },
9480 { zHpux_SystimeName, zHpux_SystimeList,
9481 apzHpux_SystimeMachs,
9482 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9483 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
9485 { zHpux_Spu_InfoName, zHpux_Spu_InfoList,
9486 apzHpux_Spu_InfoMachs,
9487 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9488 aHpux_Spu_InfoTests, apzHpux_Spu_InfoPatch, 0 },
9490 { zHpux11_Extern_SendfileName, zHpux11_Extern_SendfileList,
9491 apzHpux11_Extern_SendfileMachs,
9492 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9493 aHpux11_Extern_SendfileTests, apzHpux11_Extern_SendfilePatch, 0 },
9495 { zHpux11_Extern_SendpathName, zHpux11_Extern_SendpathList,
9496 apzHpux11_Extern_SendpathMachs,
9497 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9498 aHpux11_Extern_SendpathTests, apzHpux11_Extern_SendpathPatch, 0 },
9500 { zHpux_Extern_ErrnoName, zHpux_Extern_ErrnoList,
9501 apzHpux_Extern_ErrnoMachs,
9502 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9503 aHpux_Extern_ErrnoTests, apzHpux_Extern_ErrnoPatch, 0 },
9505 { zHpux_Pthread_InitializersName, zHpux_Pthread_InitializersList,
9506 apzHpux_Pthread_InitializersMachs,
9507 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
9508 aHpux_Pthread_InitializersTests, apzHpux_Pthread_InitializersPatch, 0 },
9510 { zHpux_C99_IntptrName, zHpux_C99_IntptrList,
9511 apzHpux_C99_IntptrMachs,
9512 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
9513 aHpux_C99_IntptrTests, apzHpux_C99_IntptrPatch, 0 },
9515 { zHpux_C99_InttypesName, zHpux_C99_InttypesList,
9516 apzHpux_C99_InttypesMachs,
9517 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
9518 aHpux_C99_InttypesTests, apzHpux_C99_InttypesPatch, 0 },
9520 { zHpux_C99_Inttypes2Name, zHpux_C99_Inttypes2List,
9521 apzHpux_C99_Inttypes2Machs,
9522 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
9523 aHpux_C99_Inttypes2Tests, apzHpux_C99_Inttypes2Patch, 0 },
9525 { zHpux_Stdint_Least_FastName, zHpux_Stdint_Least_FastList,
9526 apzHpux_Stdint_Least_FastMachs,
9527 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9528 aHpux_Stdint_Least_FastTests, apzHpux_Stdint_Least_FastPatch, 0 },
9530 { zHpux_Inttype_Int8_TName, zHpux_Inttype_Int8_TList,
9531 apzHpux_Inttype_Int8_TMachs,
9532 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9533 aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
9535 { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
9536 apzHpux_Imaginary_IMachs,
9537 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9538 aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
9540 { zHuge_Val_HexName, zHuge_Val_HexList,
9541 apzHuge_Val_HexMachs,
9542 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9543 aHuge_Val_HexTests, apzHuge_Val_HexPatch, 0 },
9545 { zHuge_Valf_HexName, zHuge_Valf_HexList,
9546 apzHuge_Valf_HexMachs,
9547 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9548 aHuge_Valf_HexTests, apzHuge_Valf_HexPatch, 0 },
9550 { zHuge_Vall_HexName, zHuge_Vall_HexList,
9551 apzHuge_Vall_HexMachs,
9552 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9553 aHuge_Vall_HexTests, apzHuge_Vall_HexPatch, 0 },
9555 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
9556 apzInt_Abort_Free_And_ExitMachs,
9557 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9558 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
9560 { zIo_Quotes_DefName, zIo_Quotes_DefList,
9561 apzIo_Quotes_DefMachs,
9562 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9563 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
9565 { zIo_Quotes_UseName, zIo_Quotes_UseList,
9566 apzIo_Quotes_UseMachs,
9567 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9568 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
9570 { zIp_Missing_SemiName, zIp_Missing_SemiList,
9571 apzIp_Missing_SemiMachs,
9572 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
9573 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
9575 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
9576 apzIrix_Limits_ConstMachs,
9577 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9578 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
9580 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
9581 apzIrix_Stdio_Va_ListMachs,
9582 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9583 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
9585 { zKandr_ConcatName, zKandr_ConcatList,
9586 apzKandr_ConcatMachs,
9587 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9588 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
9590 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
9591 apzLinux_Ia64_UcontextMachs,
9592 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9593 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
9595 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
9596 apzLynxos_No_Warning_In_Sys_Time_HMachs,
9597 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9598 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
9600 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
9601 apzLynxos_Missing_PutenvMachs,
9602 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9603 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
9605 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
9606 apzMachine_Ansi_H_Va_ListMachs,
9607 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9608 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
9610 { zMachine_NameName, zMachine_NameList,
9611 apzMachine_NameMachs,
9612 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9613 aMachine_NameTests, apzMachine_NamePatch, 0 },
9615 { zMath_ExceptionName, zMath_ExceptionList,
9616 apzMath_ExceptionMachs,
9617 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9618 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
9620 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
9621 apzMath_Huge_Val_From_Dbl_MaxMachs,
9622 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
9623 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
9625 { zNested_Auth_DesName, zNested_Auth_DesList,
9626 apzNested_Auth_DesMachs,
9627 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9628 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
9630 { zNetbsd_C99_Inline_1Name, zNetbsd_C99_Inline_1List,
9631 apzNetbsd_C99_Inline_1Machs,
9632 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9633 aNetbsd_C99_Inline_1Tests, apzNetbsd_C99_Inline_1Patch, 0 },
9635 { zNetbsd_C99_Inline_2Name, zNetbsd_C99_Inline_2List,
9636 apzNetbsd_C99_Inline_2Machs,
9637 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9638 aNetbsd_C99_Inline_2Tests, apzNetbsd_C99_Inline_2Patch, 0 },
9640 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
9641 apzNetbsd_Extra_SemicolonMachs,
9642 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9643 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
9645 { zNewlib_Stdint_1Name, zNewlib_Stdint_1List,
9646 apzNewlib_Stdint_1Machs,
9647 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
9648 aNewlib_Stdint_1Tests, apzNewlib_Stdint_1Patch, 0 },
9650 { zNewlib_Stdint_2Name, zNewlib_Stdint_2List,
9651 apzNewlib_Stdint_2Machs,
9652 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9653 aNewlib_Stdint_2Tests, apzNewlib_Stdint_2Patch, 0 },
9655 { zNext_Math_PrefixName, zNext_Math_PrefixList,
9656 apzNext_Math_PrefixMachs,
9657 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9658 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
9660 { zNext_TemplateName, zNext_TemplateList,
9661 apzNext_TemplateMachs,
9662 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9663 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
9665 { zNext_VolitileName, zNext_VolitileList,
9666 apzNext_VolitileMachs,
9667 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9668 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
9670 { zNext_Wait_UnionName, zNext_Wait_UnionList,
9671 apzNext_Wait_UnionMachs,
9672 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9673 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
9675 { zNodeent_SyntaxName, zNodeent_SyntaxList,
9676 apzNodeent_SyntaxMachs,
9677 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9678 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
9680 { zOpenbsd_Null_DefinitionName, zOpenbsd_Null_DefinitionList,
9681 apzOpenbsd_Null_DefinitionMachs,
9682 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9683 aOpenbsd_Null_DefinitionTests, apzOpenbsd_Null_DefinitionPatch, 0 },
9685 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
9686 apzObstack_Lvalue_CastMachs,
9687 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9688 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
9690 { zOpenbsd_Va_StartName, zOpenbsd_Va_StartList,
9691 apzOpenbsd_Va_StartMachs,
9692 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9693 aOpenbsd_Va_StartTests, apzOpenbsd_Va_StartPatch, 0 },
9695 { zOsf_Namespace_AName, zOsf_Namespace_AList,
9696 apzOsf_Namespace_AMachs,
9697 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9698 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
9700 { zOsf_Namespace_CName, zOsf_Namespace_CList,
9701 apzOsf_Namespace_CMachs,
9702 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9703 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
9705 { zPthread_Incomplete_Struct_ArgumentName, zPthread_Incomplete_Struct_ArgumentList,
9706 apzPthread_Incomplete_Struct_ArgumentMachs,
9707 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9708 aPthread_Incomplete_Struct_ArgumentTests, apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
9710 { zRead_Ret_TypeName, zRead_Ret_TypeList,
9711 apzRead_Ret_TypeMachs,
9712 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9713 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
9715 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
9716 apzRpc_Xdr_Lvalue_Cast_AMachs,
9717 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9718 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
9720 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
9721 apzRpc_Xdr_Lvalue_Cast_BMachs,
9722 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9723 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
9725 { zRs6000_DoubleName, zRs6000_DoubleList,
9726 apzRs6000_DoubleMachs,
9727 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9728 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
9730 { zRs6000_FchmodName, zRs6000_FchmodList,
9731 apzRs6000_FchmodMachs,
9732 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9733 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
9735 { zRs6000_ParamName, zRs6000_ParamList,
9736 apzRs6000_ParamMachs,
9737 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9738 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
9740 { zSolaris___RestrictName, zSolaris___RestrictList,
9741 apzSolaris___RestrictMachs,
9742 SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9743 aSolaris___RestrictTests, apzSolaris___RestrictPatch, 0 },
9745 { zSolaris_ComplexName, zSolaris_ComplexList,
9746 apzSolaris_ComplexMachs,
9747 SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
9748 aSolaris_ComplexTests, apzSolaris_ComplexPatch, 0 },
9750 { zSolaris_Complex_CxxName, zSolaris_Complex_CxxList,
9751 apzSolaris_Complex_CxxMachs,
9752 SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
9753 aSolaris_Complex_CxxTests, apzSolaris_Complex_CxxPatch, 0 },
9755 { zSolaris_Cxx_LinkageName, zSolaris_Cxx_LinkageList,
9756 apzSolaris_Cxx_LinkageMachs,
9757 SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9758 aSolaris_Cxx_LinkageTests, apzSolaris_Cxx_LinkagePatch, 0 },
9760 { zSolaris_Getc_Strict_StdcName, zSolaris_Getc_Strict_StdcList,
9761 apzSolaris_Getc_Strict_StdcMachs,
9762 SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9763 aSolaris_Getc_Strict_StdcTests, apzSolaris_Getc_Strict_StdcPatch, 0 },
9765 { zSolaris_Longjmp_NoreturnName, zSolaris_Longjmp_NoreturnList,
9766 apzSolaris_Longjmp_NoreturnMachs,
9767 SOLARIS_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9768 aSolaris_Longjmp_NoreturnTests, apzSolaris_Longjmp_NoreturnPatch, 0 },
9770 { zSolaris_Math_1Name, zSolaris_Math_1List,
9771 apzSolaris_Math_1Machs,
9772 SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9773 aSolaris_Math_1Tests, apzSolaris_Math_1Patch, 0 },
9775 { zSolaris_Math_2Name, zSolaris_Math_2List,
9776 apzSolaris_Math_2Machs,
9777 SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9778 aSolaris_Math_2Tests, apzSolaris_Math_2Patch, 0 },
9780 { zSolaris_Math_3Name, zSolaris_Math_3List,
9781 apzSolaris_Math_3Machs,
9782 SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9783 aSolaris_Math_3Tests, apzSolaris_Math_3Patch, 0 },
9785 { zSolaris_Math_4Name, zSolaris_Math_4List,
9786 apzSolaris_Math_4Machs,
9787 SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9788 aSolaris_Math_4Tests, apzSolaris_Math_4Patch, 0 },
9790 { zSolaris_Math_8Name, zSolaris_Math_8List,
9791 apzSolaris_Math_8Machs,
9792 SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9793 aSolaris_Math_8Tests, apzSolaris_Math_8Patch, 0 },
9795 { zSolaris_Math_9Name, zSolaris_Math_9List,
9796 apzSolaris_Math_9Machs,
9797 SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9798 aSolaris_Math_9Tests, apzSolaris_Math_9Patch, 0 },
9800 { zSolaris_Math_10Name, zSolaris_Math_10List,
9801 apzSolaris_Math_10Machs,
9802 SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9803 aSolaris_Math_10Tests, apzSolaris_Math_10Patch, 0 },
9805 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
9806 apzSolaris_Mutex_Init_2Machs,
9807 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9808 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
9810 { zSolaris_Pow_Int_OverloadName, zSolaris_Pow_Int_OverloadList,
9811 apzSolaris_Pow_Int_OverloadMachs,
9812 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9813 aSolaris_Pow_Int_OverloadTests, apzSolaris_Pow_Int_OverloadPatch, 0 },
9815 { zSolaris_Rwlock_Init_1Name, zSolaris_Rwlock_Init_1List,
9816 apzSolaris_Rwlock_Init_1Machs,
9817 SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9818 aSolaris_Rwlock_Init_1Tests, apzSolaris_Rwlock_Init_1Patch, 0 },
9820 { zSolaris_Once_Init_1Name, zSolaris_Once_Init_1List,
9821 apzSolaris_Once_Init_1Machs,
9822 SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9823 aSolaris_Once_Init_1Tests, apzSolaris_Once_Init_1Patch, 0 },
9825 { zSolaris_Once_Init_2Name, zSolaris_Once_Init_2List,
9826 apzSolaris_Once_Init_2Machs,
9827 SOLARIS_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9828 aSolaris_Once_Init_2Tests, apzSolaris_Once_Init_2Patch, 0 },
9830 { zSolaris_Int_ConstName, zSolaris_Int_ConstList,
9831 apzSolaris_Int_ConstMachs,
9832 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9833 aSolaris_Int_ConstTests, apzSolaris_Int_ConstPatch, 0 },
9835 { zSolaris_Int_Limits_1Name, zSolaris_Int_Limits_1List,
9836 apzSolaris_Int_Limits_1Machs,
9837 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9838 aSolaris_Int_Limits_1Tests, apzSolaris_Int_Limits_1Patch, 0 },
9840 { zSolaris_Int_Limits_2Name, zSolaris_Int_Limits_2List,
9841 apzSolaris_Int_Limits_2Machs,
9842 SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9843 aSolaris_Int_Limits_2Tests, apzSolaris_Int_Limits_2Patch, 0 },
9845 { zSolaris_Int_Limits_3Name, zSolaris_Int_Limits_3List,
9846 apzSolaris_Int_Limits_3Machs,
9847 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9848 aSolaris_Int_Limits_3Tests, apzSolaris_Int_Limits_3Patch, 0 },
9850 { zSolaris_Int_TypesName, zSolaris_Int_TypesList,
9851 apzSolaris_Int_TypesMachs,
9852 SOLARIS_INT_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9853 aSolaris_Int_TypesTests, apzSolaris_Int_TypesPatch, 0 },
9855 { zSolaris_Posix_Spawn_RestrictName, zSolaris_Posix_Spawn_RestrictList,
9856 apzSolaris_Posix_Spawn_RestrictMachs,
9857 SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9858 aSolaris_Posix_Spawn_RestrictTests, apzSolaris_Posix_Spawn_RestrictPatch, 0 },
9860 { zSolaris_Std___FilbufName, zSolaris_Std___FilbufList,
9861 apzSolaris_Std___FilbufMachs,
9862 SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9863 aSolaris_Std___FilbufTests, apzSolaris_Std___FilbufPatch, 0 },
9865 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
9866 apzSolaris_Stdio_TagMachs,
9867 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
9868 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
9870 { zSolaris_Sys_Va_ListName, zSolaris_Sys_Va_ListList,
9871 apzSolaris_Sys_Va_ListMachs,
9872 SOLARIS_SYS_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9873 aSolaris_Sys_Va_ListTests, apzSolaris_Sys_Va_ListPatch, 0 },
9875 { zStatsswtchName, zStatsswtchList,
9877 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9878 aStatsswtchTests, apzStatsswtchPatch, 0 },
9880 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
9881 apzStdio_Stdarg_HMachs,
9882 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
9883 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
9885 { zStdio_Va_ListName, zStdio_Va_ListList,
9886 apzStdio_Va_ListMachs,
9887 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
9888 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
9890 { zStdio_Va_List_ClientsName, zStdio_Va_List_ClientsList,
9891 apzStdio_Va_List_ClientsMachs,
9892 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
9893 aStdio_Va_List_ClientsTests, apzStdio_Va_List_ClientsPatch, 0 },
9895 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
9896 apzStrict_Ansi_NotMachs,
9897 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9898 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
9900 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
9901 apzStrict_Ansi_Not_CtdMachs,
9902 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9903 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
9905 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
9906 apzStrict_Ansi_OnlyMachs,
9907 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9908 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
9910 { zStruct_FileName, zStruct_FileList,
9911 apzStruct_FileMachs,
9912 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9913 aStruct_FileTests, apzStruct_FilePatch, 0 },
9915 { zStruct_SockaddrName, zStruct_SockaddrList,
9916 apzStruct_SockaddrMachs,
9917 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9918 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
9920 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
9921 apzSun_Auth_ProtoMachs,
9922 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9923 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
9925 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
9926 apzSun_Bogus_IfdefMachs,
9927 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9928 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
9930 { zSun_CatmacroName, zSun_CatmacroList,
9931 apzSun_CatmacroMachs,
9932 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9933 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
9935 { zSun_MallocName, zSun_MallocList,
9937 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
9938 aSun_MallocTests, apzSun_MallocPatch, 0 },
9940 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
9941 apzSun_Rusers_SemiMachs,
9942 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
9943 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
9945 { zSun_SignalName, zSun_SignalList,
9947 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9948 aSun_SignalTests, apzSun_SignalPatch, 0 },
9950 { zSunos_StrlenName, zSunos_StrlenList,
9951 apzSunos_StrlenMachs,
9952 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9953 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
9955 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
9956 apzSvr4_Disable_OptMachs,
9957 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
9958 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
9960 { zSvr4_GetcwdName, zSvr4_GetcwdList,
9961 apzSvr4_GetcwdMachs,
9962 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9963 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
9965 { zSvr4_ProfilName, zSvr4_ProfilList,
9966 apzSvr4_ProfilMachs,
9967 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9968 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
9970 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
9971 apzSvr4_Sighandler_TypeMachs,
9972 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9973 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
9975 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
9976 apzSvr4_Undeclared_GetrngeMachs,
9977 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9978 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
9980 { zSysv68_StringName, zSysv68_StringList,
9981 apzSysv68_StringMachs,
9982 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
9983 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
9985 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
9986 apzSysz_Stdlib_For_SunMachs,
9987 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9988 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
9990 { zThread_KeywordName, zThread_KeywordList,
9991 apzThread_KeywordMachs,
9992 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9993 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
9995 { zTinfo_CplusplusName, zTinfo_CplusplusList,
9996 apzTinfo_CplusplusMachs,
9997 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9998 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
10000 { zUltrix_ConstName, zUltrix_ConstList,
10001 apzUltrix_ConstMachs,
10002 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10003 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
10005 { zUltrix_Const2Name, zUltrix_Const2List,
10006 apzUltrix_Const2Machs,
10007 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10008 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
10010 { zVa_I960_MacroName, zVa_I960_MacroList,
10011 apzVa_I960_MacroMachs,
10012 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10013 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
10015 { zVms_Define_Can_Use_Extern_PrefixName, zVms_Define_Can_Use_Extern_PrefixList,
10016 apzVms_Define_Can_Use_Extern_PrefixMachs,
10017 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10018 aVms_Define_Can_Use_Extern_PrefixTests, apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10020 { zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
10021 apzVms_Use_Pragma_Extern_ModelMachs,
10022 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10023 aVms_Use_Pragma_Extern_ModelTests, apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10025 { zVms_Disable_Decc_String_BuiltinsName, zVms_Disable_Decc_String_BuiltinsList,
10026 apzVms_Disable_Decc_String_BuiltinsMachs,
10027 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10028 aVms_Disable_Decc_String_BuiltinsTests, apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10030 { zVms_Use_Quoted_IncludeName, zVms_Use_Quoted_IncludeList,
10031 apzVms_Use_Quoted_IncludeMachs,
10032 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10033 aVms_Use_Quoted_IncludeTests, apzVms_Use_Quoted_IncludePatch, 0 },
10035 { zVms_Add_Missing_BracesName, zVms_Add_Missing_BracesList,
10036 apzVms_Add_Missing_BracesMachs,
10037 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10038 aVms_Add_Missing_BracesTests, apzVms_Add_Missing_BracesPatch, 0 },
10040 { zVms_Do_Not_Redeclare_HostaliasName, zVms_Do_Not_Redeclare_HostaliasList,
10041 apzVms_Do_Not_Redeclare_HostaliasMachs,
10042 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10043 aVms_Do_Not_Redeclare_HostaliasTests, apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10045 { zVms_Decc_BuiltinName, zVms_Decc_BuiltinList,
10046 apzVms_Decc_BuiltinMachs,
10047 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10048 aVms_Decc_BuiltinTests, apzVms_Decc_BuiltinPatch, 0 },
10050 { zVms_No_64bit_GetoptName, zVms_No_64bit_GetoptList,
10051 apzVms_No_64bit_GetoptMachs,
10052 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10053 aVms_No_64bit_GetoptTests, apzVms_No_64bit_GetoptPatch, 0 },
10055 { zVms_Forward_Declare_StructName, zVms_Forward_Declare_StructList,
10056 apzVms_Forward_Declare_StructMachs,
10057 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10058 aVms_Forward_Declare_StructTests, apzVms_Forward_Declare_StructPatch, 0 },
10060 { zVms_Use_Fast_SetjmpName, zVms_Use_Fast_SetjmpList,
10061 apzVms_Use_Fast_SetjmpMachs,
10062 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10063 aVms_Use_Fast_SetjmpTests, apzVms_Use_Fast_SetjmpPatch, 0 },
10065 { zVoid_NullName, zVoid_NullList,
10067 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10068 aVoid_NullTests, apzVoid_NullPatch, 0 },
10070 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
10071 apzVxworks_Gcc_ProblemMachs,
10072 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
10073 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
10075 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
10076 apzVxworks_Needs_VxtypesMachs,
10077 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10078 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
10080 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
10081 apzVxworks_Needs_VxworksMachs,
10082 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
10083 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
10085 { zVxworks_TimeName, zVxworks_TimeList,
10086 apzVxworks_TimeMachs,
10087 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10088 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
10090 { zX11_ClassName, zX11_ClassList,
10092 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10093 aX11_ClassTests, apzX11_ClassPatch, 0 },
10095 { zX11_Class_UsageName, zX11_Class_UsageList,
10096 apzX11_Class_UsageMachs,
10097 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10098 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
10100 { zX11_NewName, zX11_NewList,
10102 X11_NEW_TEST_CT, FD_MACH_ONLY,
10103 aX11_NewTests, apzX11_NewPatch, 0 },
10105 { zX11_SprintfName, zX11_SprintfList,
10106 apzX11_SprintfMachs,
10107 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10108 aX11_SprintfTests, apzX11_SprintfPatch, 0 }