Update LOCAL_PATCHES after libsanitizer merge.
[official-gcc.git] / fixincludes / fixincl.x
blobad5824da01517a7f560e112a446a0526fa8e74bf
1 /*  -*- buffer-read-only: t -*- vi: set ro:
2  *
3  * DO NOT EDIT THIS FILE   (fixincl.x)
4  *
5  * It has been AutoGen-ed  October 16, 2018 at 11:38:39 AM by AutoGen 5.18.7
6  * From the definitions    inclhack.def
7  * and the template file   fixincl
8  */
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Tue Oct 16 11:38:39 CEST 2018
10  *
11  * You must regenerate it.  Use the ./genfixes script.
12  *
13  *
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.
17  *
18  * This file contains 251 fixup descriptions.
19  *
20  * See README for more information.
21  *
22  *  inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
23  *                         2006, 2007, 2008
24  *  The Free Software Foundation, Inc.
25  *
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.
30  *  
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.
35  *  
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/>.
38  */
39 #ifndef SED_PROGRAM
40 #define SED_PROGRAM "/usr/bin/sed"
41 #endif
42 static char const sed_cmd_z[] = SED_PROGRAM;
44 /* * * * * * * * * * * * * * * * * * * * * * * * * *
45  *
46  *  Description of Aab_Aix_Stdio fix
47  */
48 tSCC zAab_Aix_StdioName[] =
49      "AAB_aix_stdio";
52  *  File name selection pattern
53  */
54 tSCC zAab_Aix_StdioList[] =
55   "stdio.h\0";
57  *  Machine/OS name selection pattern
58  */
59 tSCC* apzAab_Aix_StdioMachs[] = {
60         "*-*-aix*",
61         (const char*)NULL };
64  *  content selection pattern - do fix if pattern found
65  */
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
75  */
76 static const char* apzAab_Aix_StdioPatch[] = {
77     "wrap",
78     "",
79     "\n\
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\
83 #undef fseeko\n\
84 #undef ftello\n\
85 #undef fgetpos\n\
86 #undef fsetpos\n\
87 #undef fopen\n\
88 #undef freopen\n\
89 /* Alias the symbols using asm */\n\
90 extern \"C\" {\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\
97 }\n\
98 #endif\n\
99 #endif\n",
100     (char*)NULL };
102 /* * * * * * * * * * * * * * * * * * * * * * * * * *
104  *  Description of Aab_Aix_Fcntl fix
105  */
106 tSCC zAab_Aix_FcntlName[] =
107      "AAB_aix_fcntl";
110  *  File name selection pattern
111  */
112 tSCC zAab_Aix_FcntlList[] =
113   "fcntl.h\0";
115  *  Machine/OS name selection pattern
116  */
117 tSCC* apzAab_Aix_FcntlMachs[] = {
118         "*-*-aix*",
119         (const char*)NULL };
122  *  content selection pattern - do fix if pattern found
123  */
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
133  */
134 static const char* apzAab_Aix_FcntlPatch[] = {
135     "wrap",
136     "",
137     "\n\
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\
141 #undef open\n\
142 #undef creat\n\
143 #undef openat\n\
144 /* Alias the symbols using asm */\n\
145 extern \"C\" {\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\
150 #endif\n\
151 }\n\
152 #endif\n\
153 #endif\n",
154     (char*)NULL };
156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
158  *  Description of Aab_Darwin7_9_Long_Double_Funcs fix
159  */
160 tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
161      "AAB_darwin7_9_long_double_funcs";
164  *  File name selection pattern
165  */
166 tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
167   "architecture/ppc/math.h\0";
169  *  Machine/OS name selection pattern
170  */
171 tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
172         "*-*-darwin7.9*",
173         (const char*)NULL };
176  *  content bypass pattern - skip fix if pattern found
177  */
178 tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
179        "powl";
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
187  */
188 static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
189 "/* This file prototypes the long double functions available on Mac OS\n\
190    10.3.9.  */\n\
191 #ifndef __MATH__\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\
200 #  else\n\
201 #   define __LIBMLDBL_COMPAT(sym)\n\
202 #  endif /* __LONG_DOUBLE_128__ */\n\
203 # endif /* __LIBMLDBL_COMPAT */\n\
204 # ifdef __cplusplus\n\
205    extern \"C\" {\n\
206 # endif\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\
265    }\n\
266 # endif\n\
267 #endif /* __MATH__ */",
268     (char*)NULL };
270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
272  *  Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
273  */
274 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
275      "AAB_fd_zero_asm_posix_types_h";
278  *  File name selection pattern
279  */
280 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
281   "asm/posix_types.h\0";
283  *  Machine/OS name selection pattern
284  */
285 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
286         "i[34567]86-*-linux*",
287         (const char*)NULL };
290  *  content bypass pattern - skip fix if pattern found
291  */
292 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
293        "} while";
294 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
295        "x86_64";
296 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
297        "posix_types_64";
299 #define    AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT  3
300 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
301   { TT_NEGREP,   zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
302   { TT_NEGREP,   zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
303   { TT_NEGREP,   zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
306  *  Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
307  */
308 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
309 "/* This file fixes a bug in the __FD_ZERO macro\n\
310    for older versions of the Linux kernel. */\n\
311 #ifndef _POSIX_TYPES_H_WRAPPER\n\
312 #include <features.h>\n\
313  #include_next <asm/posix_types.h>\n\n\
314 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
315 #undef __FD_ZERO\n\
316 #define __FD_ZERO(fdsetp) \\\n\
317   do { \\\n\
318     int __d0, __d1; \\\n\
319 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
320 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
321 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
322   \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
323   } while (0)\n\
324 #endif\n\n\
325 #define _POSIX_TYPES_H_WRAPPER\n\
326 #endif /* _POSIX_TYPES_H_WRAPPER */",
327     (char*)NULL };
329 /* * * * * * * * * * * * * * * * * * * * * * * * * *
331  *  Description of Aab_Fd_Zero_Gnu_Types_H fix
332  */
333 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
334      "AAB_fd_zero_gnu_types_h";
337  *  File name selection pattern
338  */
339 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
340   "gnu/types.h\0";
342  *  Machine/OS name selection pattern
343  */
344 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
345         "i[34567]86-*-linux*",
346         (const char*)NULL };
347 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT  0
348 #define aAab_Fd_Zero_Gnu_Types_HTests   (tTestDesc*)NULL
351  *  Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
352  */
353 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
354 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
355 #ifndef _TYPES_H_WRAPPER\n\
356 #include <features.h>\n\
357 #include_next <gnu/types.h>\n\n\
358 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
359 #undef __FD_ZERO\n\
360 # define __FD_ZERO(fdsetp) \\\n\
361   do { \\\n\
362     int __d0, __d1; \\\n\
363         __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
364         : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
365         : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
366           \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
367   } while (0)\n\
368 #endif\n\n\
369 #define _TYPES_H_WRAPPER\n\
370 #endif /* _TYPES_H_WRAPPER */",
371     (char*)NULL };
373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
375  *  Description of Aab_Fd_Zero_Selectbits_H fix
376  */
377 tSCC zAab_Fd_Zero_Selectbits_HName[] =
378      "AAB_fd_zero_selectbits_h";
381  *  File name selection pattern
382  */
383 tSCC zAab_Fd_Zero_Selectbits_HList[] =
384   "selectbits.h\0";
386  *  Machine/OS name selection pattern
387  */
388 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
389         "i[34567]86-*-linux*",
390         (const char*)NULL };
391 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT  0
392 #define aAab_Fd_Zero_Selectbits_HTests   (tTestDesc*)NULL
395  *  Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
396  */
397 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
398 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
399 #ifndef _SELECTBITS_H_WRAPPER\n\
400   #include <features.h>\n\
401   #include_next <selectbits.h>\n\n\
402   #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
403   && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
404   && __GLIBC_MINOR__ == 0\n\
405      #undef __FD_ZERO\n\
406      #define __FD_ZERO(fdsetp) \\\\\n\
407      do { \\\\\n\
408         int __d0, __d1; \\\\\n\
409       __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
410                         : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
411                         : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
412                                         / sizeof (__fd_mask)), \\\\\n\
413                           \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
414                         : \"memory\"); \\\\\n\
415       } while (0)\n\
416   #endif\n\n\
417   #define _SELECTBITS_H_WRAPPER\n\
418 #endif /* _SELECTBITS_H_WRAPPER */",
419     (char*)NULL };
421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
423  *  Description of Aab_Solaris_Sys_Varargs_H fix
424  */
425 tSCC zAab_Solaris_Sys_Varargs_HName[] =
426      "AAB_solaris_sys_varargs_h";
429  *  File name selection pattern
430  */
431 tSCC zAab_Solaris_Sys_Varargs_HList[] =
432   "sys/varargs.h\0";
434  *  Machine/OS name selection pattern
435  */
436 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
437         "*-*-solaris*",
438         (const char*)NULL };
439 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT  0
440 #define aAab_Solaris_Sys_Varargs_HTests   (tTestDesc*)NULL
443  *  Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
444  */
445 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
446 "#ifdef __STDC__\n\
447   #include <stdarg.h>\n\
448 #else\n\
449   #include <varargs.h>\n\
450 #endif",
451     (char*)NULL };
453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
455  *  Description of Aab_Sun_Memcpy fix
456  */
457 tSCC zAab_Sun_MemcpyName[] =
458      "AAB_sun_memcpy";
461  *  File name selection pattern
462  */
463 tSCC zAab_Sun_MemcpyList[] =
464   "memory.h\0";
466  *  Machine/OS name selection pattern
467  */
468 #define apzAab_Sun_MemcpyMachs (const char**)NULL
471  *  content selection pattern - do fix if pattern found
472  */
473 tSCC zAab_Sun_MemcpySelect0[] =
474        "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
476 #define    AAB_SUN_MEMCPY_TEST_CT  1
477 static tTestDesc aAab_Sun_MemcpyTests[] = {
478   { TT_EGREP,    zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
481  *  Fix Command Arguments for Aab_Sun_Memcpy
482  */
483 static const char* apzAab_Sun_MemcpyPatch[] = {
484 "/* This file was generated by fixincludes */\n\
485 #ifndef __memory_h__\n\
486   #define __memory_h__\n\n\
487   #ifdef __STDC__\n\
488     extern void *memccpy();\n\
489     extern void *memchr();\n\
490     extern void *memcpy();\n\
491     extern void *memset();\n\
492   #else\n\
493     extern char *memccpy();\n\
494     extern char *memchr();\n\
495     extern char *memcpy();\n\
496     extern char *memset();\n\
497   #endif /* __STDC__ */\n\n\
498   extern int memcmp();\n\n\
499 #endif /* __memory_h__ */",
500     (char*)NULL };
502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
504  *  Description of Aab_Vxworks_Assert fix
505  */
506 tSCC zAab_Vxworks_AssertName[] =
507      "AAB_vxworks_assert";
510  *  File name selection pattern
511  */
512 tSCC zAab_Vxworks_AssertList[] =
513   "assert.h\0";
515  *  Machine/OS name selection pattern
516  */
517 tSCC* apzAab_Vxworks_AssertMachs[] = {
518         "*-*-vxworks*",
519         (const char*)NULL };
520 #define AAB_VXWORKS_ASSERT_TEST_CT  0
521 #define aAab_Vxworks_AssertTests   (tTestDesc*)NULL
524  *  Fix Command Arguments for Aab_Vxworks_Assert
525  */
526 static const char* apzAab_Vxworks_AssertPatch[] = {
527 "#ifdef _ASSERT_H\n\
528 #undef _ASSERT_H\n\
529 #undef assert\n\
530 #endif\n\n\
531 #define _ASSERT_H\n\n\
532 #ifdef __cplusplus\n\
533 extern \"C\" {\n\
534 #endif\n\n\
535 #if defined(__STDC__) || defined(__cplusplus)\n\
536 extern void __assert (const char*);\n\
537 #else\n\
538 extern void __assert ();\n\
539 #endif\n\n\
540 #ifdef NDEBUG\n\
541 #define assert(ign) ((void)0)\n\
542 #else\n\n\
543 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
544 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
545 #define assert(test) ((void) \\\n\
546         ((test) ? ((void)0) : \\\n\
547         __assert(\"Assertion failed: \" #test \", file \" \\\n\
548         __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
549 #endif\n\n\
550 #ifdef __cplusplus\n\
551 }\n\
552 #endif",
553     (char*)NULL };
555 /* * * * * * * * * * * * * * * * * * * * * * * * * *
557  *  Description of Aab_Vxworks_Regs_Vxtypes fix
558  */
559 tSCC zAab_Vxworks_Regs_VxtypesName[] =
560      "AAB_vxworks_regs_vxtypes";
563  *  File name selection pattern
564  */
565 tSCC zAab_Vxworks_Regs_VxtypesList[] =
566   "regs.h\0";
568  *  Machine/OS name selection pattern
569  */
570 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
571         "*-*-vxworks*",
572         (const char*)NULL };
573 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT  0
574 #define aAab_Vxworks_Regs_VxtypesTests   (tTestDesc*)NULL
577  *  Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
578  */
579 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
580 "#ifndef _REGS_H\n\
581 #define _REGS_H\n\
582 /* regs.h depends on CPU_FAMILY being properly defined, which\n\
583    is done by vxCpu.h.  */\n\
584 #include <types/vxCpu.h>\n\
585 /* regs.h includes a CPU_FAMILY-specific header that requires\n\
586    vxTypesOld.h to already have been included.  Those headers\n\
587    contain proper _ASMLANGUAGE guards around their typedefs,\n\
588    but vxTypesOld.h itself does not. So we avoid including\n\
589    vxTypesOld.h from assembly.  */\n\
590 #ifndef _ASMLANGUAGE\n\
591 #include <types/vxTypesOld.h>\n\
592 #endif\n\
593 #include_next <arch/../regs.h>\n\
594 #endif",
595     (char*)NULL };
597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
599  *  Description of Aab_Vxworks_Unistd fix
600  */
601 tSCC zAab_Vxworks_UnistdName[] =
602      "AAB_vxworks_unistd";
605  *  File name selection pattern
606  */
607 tSCC zAab_Vxworks_UnistdList[] =
608   "unistd.h\0";
610  *  Machine/OS name selection pattern
611  */
612 tSCC* apzAab_Vxworks_UnistdMachs[] = {
613         "*-*-vxworks*",
614         (const char*)NULL };
615 #define AAB_VXWORKS_UNISTD_TEST_CT  0
616 #define aAab_Vxworks_UnistdTests   (tTestDesc*)NULL
619  *  Fix Command Arguments for Aab_Vxworks_Unistd
620  */
621 static const char* apzAab_Vxworks_UnistdPatch[] = {
622 "#ifndef _UNISTD_H\n\
623 #define _UNISTD_H\n\
624 #include_next <unistd.h>\n\
625 #include <ioLib.h>\n\
626 #ifndef STDIN_FILENO\n\
627 #define STDIN_FILENO 0\n\
628 #endif\n\
629 #ifndef STDOUT_FILENO\n\
630 #define STDOUT_FILENO 1\n\
631 #endif\n\
632 #ifndef STDERR_FILENO\n\
633 #define STDERR_FILENO 2\n\
634 #endif\n\
635 #endif /* _UNISTD_H */",
636     (char*)NULL };
638 /* * * * * * * * * * * * * * * * * * * * * * * * * *
640  *  Description of Aix_Assert fix
641  */
642 tSCC zAix_AssertName[] =
643      "aix_assert";
646  *  File name selection pattern
647  */
648 tSCC zAix_AssertList[] =
649   "assert.h\0";
651  *  Machine/OS name selection pattern
652  */
653 tSCC* apzAix_AssertMachs[] = {
654         "*-*-aix*",
655         (const char*)NULL };
658  *  content selection pattern - do fix if pattern found
659  */
660 tSCC zAix_AssertSelect0[] =
661        "#define[ \t]static_assert[ \t]_Static_assert";
663 #define    AIX_ASSERT_TEST_CT  1
664 static tTestDesc aAix_AssertTests[] = {
665   { TT_EGREP,    zAix_AssertSelect0, (regex_t*)NULL }, };
668  *  Fix Command Arguments for Aix_Assert
669  */
670 static const char* apzAix_AssertPatch[] = {
671     "format",
672     "#ifndef __cplusplus\n\
673 %0\n\
674 #endif",
675     (char*)NULL };
677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
679  *  Description of Aix_Complex fix
680  */
681 tSCC zAix_ComplexName[] =
682      "aix_complex";
685  *  File name selection pattern
686  */
687 tSCC zAix_ComplexList[] =
688   "complex.h\0";
690  *  Machine/OS name selection pattern
691  */
692 tSCC* apzAix_ComplexMachs[] = {
693         "*-*-aix*",
694         (const char*)NULL };
697  *  content selection pattern - do fix if pattern found
698  */
699 tSCC zAix_ComplexSelect0[] =
700        "#define[ \t]_Complex_I[ \t]__I";
702 #define    AIX_COMPLEX_TEST_CT  1
703 static tTestDesc aAix_ComplexTests[] = {
704   { TT_EGREP,    zAix_ComplexSelect0, (regex_t*)NULL }, };
707  *  Fix Command Arguments for Aix_Complex
708  */
709 static const char* apzAix_ComplexPatch[] = {
710     "format",
711     "#define _Complex_I (__extension__ 1.0iF)",
712     (char*)NULL };
714 /* * * * * * * * * * * * * * * * * * * * * * * * * *
716  *  Description of Aix_Externc fix
717  */
718 tSCC zAix_ExterncName[] =
719      "aix_externc";
722  *  File name selection pattern
723  */
724 tSCC zAix_ExterncList[] =
725   "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
727  *  Machine/OS name selection pattern
728  */
729 tSCC* apzAix_ExterncMachs[] = {
730         "*-*-aix*",
731         (const char*)NULL };
734  *  content bypass pattern - skip fix if pattern found
735  */
736 tSCC zAix_ExterncBypass0[] =
737        "extern \"C\"";
739 #define    AIX_EXTERNC_TEST_CT  1
740 static tTestDesc aAix_ExterncTests[] = {
741   { TT_NEGREP,   zAix_ExterncBypass0, (regex_t*)NULL }, };
744  *  Fix Command Arguments for Aix_Externc
745  */
746 static const char* apzAix_ExterncPatch[] = {
747     "wrap",
748     "#ifdef __cplusplus\n\
749 extern \"C\" {\n\
750 #endif\n",
751     "#ifdef __cplusplus\n\
752 }\n\
753 #endif\n",
754     (char*)NULL };
756 /* * * * * * * * * * * * * * * * * * * * * * * * * *
758  *  Description of Aix_Externcpp1 fix
759  */
760 tSCC zAix_Externcpp1Name[] =
761      "aix_externcpp1";
764  *  File name selection pattern
765  */
766 tSCC zAix_Externcpp1List[] =
767   "sys/socket.h\0";
769  *  Machine/OS name selection pattern
770  */
771 tSCC* apzAix_Externcpp1Machs[] = {
772         "*-*-aix*",
773         (const char*)NULL };
776  *  content selection pattern - do fix if pattern found
777  */
778 tSCC zAix_Externcpp1Select0[] =
779        "#ifdef __cplusplus";
781 #define    AIX_EXTERNCPP1_TEST_CT  1
782 static tTestDesc aAix_Externcpp1Tests[] = {
783   { TT_EGREP,    zAix_Externcpp1Select0, (regex_t*)NULL }, };
786  *  Fix Command Arguments for Aix_Externcpp1
787  */
788 static const char* apzAix_Externcpp1Patch[] = {
789     "format",
790     "#ifdef __cplusplus\n\
791 extern \"C++\" {",
792     (char*)NULL };
794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
796  *  Description of Aix_Externcpp2 fix
797  */
798 tSCC zAix_Externcpp2Name[] =
799      "aix_externcpp2";
802  *  File name selection pattern
803  */
804 tSCC zAix_Externcpp2List[] =
805   "sys/socket.h\0";
807  *  Machine/OS name selection pattern
808  */
809 tSCC* apzAix_Externcpp2Machs[] = {
810         "*-*-aix*",
811         (const char*)NULL };
814  *  content selection pattern - do fix if pattern found
815  */
816 tSCC zAix_Externcpp2Select0[] =
817        "#else  /\\* __cplusplus \\*/";
819 #define    AIX_EXTERNCPP2_TEST_CT  1
820 static tTestDesc aAix_Externcpp2Tests[] = {
821   { TT_EGREP,    zAix_Externcpp2Select0, (regex_t*)NULL }, };
824  *  Fix Command Arguments for Aix_Externcpp2
825  */
826 static const char* apzAix_Externcpp2Patch[] = {
827     "format",
828     "} /* extern \"C++\" */\n\
829 #else  /* __cplusplus */",
830     (char*)NULL };
832 /* * * * * * * * * * * * * * * * * * * * * * * * * *
834  *  Description of Aix_Malloc fix
835  */
836 tSCC zAix_MallocName[] =
837      "aix_malloc";
840  *  File name selection pattern
841  */
842 tSCC zAix_MallocList[] =
843   "malloc.h\0";
845  *  Machine/OS name selection pattern
846  */
847 tSCC* apzAix_MallocMachs[] = {
848         "*-*-aix*",
849         (const char*)NULL };
852  *  content selection pattern - do fix if pattern found
853  */
854 tSCC zAix_MallocSelect0[] =
855        "#ifdef __cplusplus";
857 #define    AIX_MALLOC_TEST_CT  1
858 static tTestDesc aAix_MallocTests[] = {
859   { TT_EGREP,    zAix_MallocSelect0, (regex_t*)NULL }, };
862  *  Fix Command Arguments for Aix_Malloc
863  */
864 static const char* apzAix_MallocPatch[] = {
865     "format",
866     "#if (defined(__cplusplus) && defined(__IBMCPP__))",
867     (char*)NULL };
869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
871  *  Description of Aix_Net_If_Arp fix
872  */
873 tSCC zAix_Net_If_ArpName[] =
874      "aix_net_if_arp";
877  *  File name selection pattern
878  */
879 tSCC zAix_Net_If_ArpList[] =
880   "net/if_arp.h\0";
882  *  Machine/OS name selection pattern
883  */
884 tSCC* apzAix_Net_If_ArpMachs[] = {
885         "*-*-aix*",
886         (const char*)NULL };
889  *  content selection pattern - do fix if pattern found
890  */
891 tSCC zAix_Net_If_ArpSelect0[] =
892        "^struct  fc_softc \\{";
894 #define    AIX_NET_IF_ARP_TEST_CT  1
895 static tTestDesc aAix_Net_If_ArpTests[] = {
896   { TT_EGREP,    zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
899  *  Fix Command Arguments for Aix_Net_If_Arp
900  */
901 static const char* apzAix_Net_If_ArpPatch[] = {
902     "format",
903     "typedef struct _fc_softc {",
904     (char*)NULL };
906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
908  *  Description of Aix_Null fix
909  */
910 tSCC zAix_NullName[] =
911      "aix_null";
914  *  File name selection pattern
915  */
916 tSCC zAix_NullList[] =
917   "curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
919  *  Machine/OS name selection pattern
920  */
921 tSCC* apzAix_NullMachs[] = {
922         "*-*-aix*",
923         (const char*)NULL };
926  *  content selection pattern - do fix if pattern found
927  */
928 tSCC zAix_NullSelect0[] =
929        "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
932  *  content bypass pattern - skip fix if pattern found
933  */
934 tSCC zAix_NullBypass0[] =
935        "__null";
937 #define    AIX_NULL_TEST_CT  2
938 static tTestDesc aAix_NullTests[] = {
939   { TT_NEGREP,   zAix_NullBypass0, (regex_t*)NULL },
940   { TT_EGREP,    zAix_NullSelect0, (regex_t*)NULL }, };
943  *  Fix Command Arguments for Aix_Null
944  */
945 static const char* apzAix_NullPatch[] = {
946     "format",
947     "#ifndef NULL\n\
948 #ifdef __cplusplus\n\
949 #ifdef __GNUG__\n\
950 #define NULL __null\n\
951 #else /* ! __GNUG__  */\n\
952 #define NULL 0L\n\
953 #endif /* __GNUG__  */\n\
954 #else /* ! __cplusplus  */\n\
955 #define NULL ((void *)0)\n\
956 #endif /* __cplusplus  */\n\
957 #endif /* !NULL  */",
958     (char*)NULL };
960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
962  *  Description of Aix_Once_Init_1 fix
963  */
964 tSCC zAix_Once_Init_1Name[] =
965      "aix_once_init_1";
968  *  File name selection pattern
969  */
970 tSCC zAix_Once_Init_1List[] =
971   "pthread.h\0";
973  *  Machine/OS name selection pattern
974  */
975 tSCC* apzAix_Once_Init_1Machs[] = {
976         "*-*-aix*",
977         (const char*)NULL };
980  *  content selection pattern - do fix if pattern found
981  */
982 tSCC zAix_Once_Init_1Select0[] =
983        "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
984 \\{ \\\\\n";
986 #define    AIX_ONCE_INIT_1_TEST_CT  1
987 static tTestDesc aAix_Once_Init_1Tests[] = {
988   { TT_EGREP,    zAix_Once_Init_1Select0, (regex_t*)NULL }, };
991  *  Fix Command Arguments for Aix_Once_Init_1
992  */
993 static const char* apzAix_Once_Init_1Patch[] = {
994     "format",
995     "#define PTHREAD_ONCE_INIT \\\n\
996 {{ \\\n",
997     (char*)NULL };
999 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1001  *  Description of Aix_Once_Init_2 fix
1002  */
1003 tSCC zAix_Once_Init_2Name[] =
1004      "aix_once_init_2";
1007  *  File name selection pattern
1008  */
1009 tSCC zAix_Once_Init_2List[] =
1010   "pthread.h\0";
1012  *  Machine/OS name selection pattern
1013  */
1014 tSCC* apzAix_Once_Init_2Machs[] = {
1015         "*-*-aix*",
1016         (const char*)NULL };
1019  *  content selection pattern - do fix if pattern found
1020  */
1021 tSCC zAix_Once_Init_2Select0[] =
1022        "[ \t]0 \\\\\n\
1023 \\}\n";
1025 #define    AIX_ONCE_INIT_2_TEST_CT  1
1026 static tTestDesc aAix_Once_Init_2Tests[] = {
1027   { TT_EGREP,    zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1030  *  Fix Command Arguments for Aix_Once_Init_2
1031  */
1032 static const char* apzAix_Once_Init_2Patch[] = {
1033     "format",
1034     "\t0 \\\n\
1035 }}\n",
1036     (char*)NULL };
1038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1040  *  Description of Aix_Mutex_Initializer_1 fix
1041  */
1042 tSCC zAix_Mutex_Initializer_1Name[] =
1043      "aix_mutex_initializer_1";
1046  *  File name selection pattern
1047  */
1048 tSCC zAix_Mutex_Initializer_1List[] =
1049   "pthread.h\0";
1051  *  Machine/OS name selection pattern
1052  */
1053 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1054         "*-*-aix*",
1055         (const char*)NULL };
1058  *  content selection pattern - do fix if pattern found
1059  */
1060 tSCC zAix_Mutex_Initializer_1Select0[] =
1061        "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1062 \\{ \\\\\n";
1064 #define    AIX_MUTEX_INITIALIZER_1_TEST_CT  1
1065 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1066   { TT_EGREP,    zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1069  *  Fix Command Arguments for Aix_Mutex_Initializer_1
1070  */
1071 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1072     "format",
1073     "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1074 {{ \\\n",
1075     (char*)NULL };
1077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1079  *  Description of Aix_Cond_Initializer_1 fix
1080  */
1081 tSCC zAix_Cond_Initializer_1Name[] =
1082      "aix_cond_initializer_1";
1085  *  File name selection pattern
1086  */
1087 tSCC zAix_Cond_Initializer_1List[] =
1088   "pthread.h\0";
1090  *  Machine/OS name selection pattern
1091  */
1092 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1093         "*-*-aix*",
1094         (const char*)NULL };
1097  *  content selection pattern - do fix if pattern found
1098  */
1099 tSCC zAix_Cond_Initializer_1Select0[] =
1100        "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1101 \\{ \\\\\n";
1103 #define    AIX_COND_INITIALIZER_1_TEST_CT  1
1104 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1105   { TT_EGREP,    zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1108  *  Fix Command Arguments for Aix_Cond_Initializer_1
1109  */
1110 static const char* apzAix_Cond_Initializer_1Patch[] = {
1111     "format",
1112     "#define PTHREAD_COND_INITIALIZER \\\n\
1113 {{ \\\n",
1114     (char*)NULL };
1116 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1118  *  Description of Aix_Rwlock_Initializer_1 fix
1119  */
1120 tSCC zAix_Rwlock_Initializer_1Name[] =
1121      "aix_rwlock_initializer_1";
1124  *  File name selection pattern
1125  */
1126 tSCC zAix_Rwlock_Initializer_1List[] =
1127   "pthread.h\0";
1129  *  Machine/OS name selection pattern
1130  */
1131 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1132         "*-*-aix*",
1133         (const char*)NULL };
1136  *  content selection pattern - do fix if pattern found
1137  */
1138 tSCC zAix_Rwlock_Initializer_1Select0[] =
1139        "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1140 \\{ \\\\\n";
1142 #define    AIX_RWLOCK_INITIALIZER_1_TEST_CT  1
1143 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1144   { TT_EGREP,    zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1147  *  Fix Command Arguments for Aix_Rwlock_Initializer_1
1148  */
1149 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1150     "format",
1151     "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1152 {{ \\\n",
1153     (char*)NULL };
1155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1157  *  Description of Aix_Pthread fix
1158  */
1159 tSCC zAix_PthreadName[] =
1160      "aix_pthread";
1163  *  File name selection pattern
1164  */
1165 tSCC zAix_PthreadList[] =
1166   "pthread.h\0";
1168  *  Machine/OS name selection pattern
1169  */
1170 #define apzAix_PthreadMachs (const char**)NULL
1173  *  content selection pattern - do fix if pattern found
1174  */
1175 tSCC zAix_PthreadSelect0[] =
1176        "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1177 [^A-Za-z_0-9 \t\n\
1178 (])";
1180 #define    AIX_PTHREAD_TEST_CT  1
1181 static tTestDesc aAix_PthreadTests[] = {
1182   { TT_EGREP,    zAix_PthreadSelect0, (regex_t*)NULL }, };
1185  *  Fix Command Arguments for Aix_Pthread
1186  */
1187 static const char* apzAix_PthreadPatch[] = {
1188     "format",
1189     "%1 %2",
1190     (char*)NULL };
1192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1194  *  Description of Aix_Stdint_1 fix
1195  */
1196 tSCC zAix_Stdint_1Name[] =
1197      "aix_stdint_1";
1200  *  File name selection pattern
1201  */
1202 tSCC zAix_Stdint_1List[] =
1203   "stdint-aix.h\0stdint.h\0";
1205  *  Machine/OS name selection pattern
1206  */
1207 tSCC* apzAix_Stdint_1Machs[] = {
1208         "*-*-aix*",
1209         (const char*)NULL };
1212  *  content selection pattern - do fix if pattern found
1213  */
1214 tSCC zAix_Stdint_1Select0[] =
1215        "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1216 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1218 #define    AIX_STDINT_1_TEST_CT  1
1219 static tTestDesc aAix_Stdint_1Tests[] = {
1220   { TT_EGREP,    zAix_Stdint_1Select0, (regex_t*)NULL }, };
1223  *  Fix Command Arguments for Aix_Stdint_1
1224  */
1225 static const char* apzAix_Stdint_1Patch[] = {
1226     "format",
1227     "#define UINT8_MAX\t(255)\n\
1228 #define UINT16_MAX\t(65535)",
1229     (char*)NULL };
1231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1233  *  Description of Aix_Stdint_2 fix
1234  */
1235 tSCC zAix_Stdint_2Name[] =
1236      "aix_stdint_2";
1239  *  File name selection pattern
1240  */
1241 tSCC zAix_Stdint_2List[] =
1242   "stdint-aix.h\0stdint.h\0";
1244  *  Machine/OS name selection pattern
1245  */
1246 tSCC* apzAix_Stdint_2Machs[] = {
1247         "*-*-aix*",
1248         (const char*)NULL };
1251  *  content selection pattern - do fix if pattern found
1252  */
1253 tSCC zAix_Stdint_2Select0[] =
1254        "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1255 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1256 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1257 #else\n\
1258 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1259 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1260 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1262 #define    AIX_STDINT_2_TEST_CT  1
1263 static tTestDesc aAix_Stdint_2Tests[] = {
1264   { TT_EGREP,    zAix_Stdint_2Select0, (regex_t*)NULL }, };
1267  *  Fix Command Arguments for Aix_Stdint_2
1268  */
1269 static const char* apzAix_Stdint_2Patch[] = {
1270     "format",
1271     "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1272 #define INTPTR_MAX\t9223372036854775807L\n\
1273 #define UINTPTR_MAX\t18446744073709551615UL\n\
1274 #else\n\
1275 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1276 #define INTPTR_MAX\t2147483647L\n\
1277 #define UINTPTR_MAX\t4294967295UL",
1278     (char*)NULL };
1280 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1282  *  Description of Aix_Stdint_3 fix
1283  */
1284 tSCC zAix_Stdint_3Name[] =
1285      "aix_stdint_3";
1288  *  File name selection pattern
1289  */
1290 tSCC zAix_Stdint_3List[] =
1291   "stdint-aix.h\0stdint.h\0";
1293  *  Machine/OS name selection pattern
1294  */
1295 tSCC* apzAix_Stdint_3Machs[] = {
1296         "*-*-aix*",
1297         (const char*)NULL };
1300  *  content selection pattern - do fix if pattern found
1301  */
1302 tSCC zAix_Stdint_3Select0[] =
1303        "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1304 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1305 #else\n\
1306 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1307 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1309 #define    AIX_STDINT_3_TEST_CT  1
1310 static tTestDesc aAix_Stdint_3Tests[] = {
1311   { TT_EGREP,    zAix_Stdint_3Select0, (regex_t*)NULL }, };
1314  *  Fix Command Arguments for Aix_Stdint_3
1315  */
1316 static const char* apzAix_Stdint_3Patch[] = {
1317     "format",
1318     "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1319 #define PTRDIFF_MAX\t9223372036854775807L\n\
1320 #else\n\
1321 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1322 #define PTRDIFF_MAX\t2147483647L",
1323     (char*)NULL };
1325 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1327  *  Description of Aix_Stdint_4 fix
1328  */
1329 tSCC zAix_Stdint_4Name[] =
1330      "aix_stdint_4";
1333  *  File name selection pattern
1334  */
1335 tSCC zAix_Stdint_4List[] =
1336   "stdint-aix.h\0stdint.h\0";
1338  *  Machine/OS name selection pattern
1339  */
1340 tSCC* apzAix_Stdint_4Machs[] = {
1341         "*-*-aix*",
1342         (const char*)NULL };
1345  *  content selection pattern - do fix if pattern found
1346  */
1347 tSCC zAix_Stdint_4Select0[] =
1348        "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1349 #else\n\
1350 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1352 #define    AIX_STDINT_4_TEST_CT  1
1353 static tTestDesc aAix_Stdint_4Tests[] = {
1354   { TT_EGREP,    zAix_Stdint_4Select0, (regex_t*)NULL }, };
1357  *  Fix Command Arguments for Aix_Stdint_4
1358  */
1359 static const char* apzAix_Stdint_4Patch[] = {
1360     "format",
1361     "#define SIZE_MAX\t18446744073709551615UL\n\
1362 #else\n\
1363 #define SIZE_MAX\t4294967295UL",
1364     (char*)NULL };
1366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1368  *  Description of Aix_Stdint_5 fix
1369  */
1370 tSCC zAix_Stdint_5Name[] =
1371      "aix_stdint_5";
1374  *  File name selection pattern
1375  */
1376 tSCC zAix_Stdint_5List[] =
1377   "stdint-aix.h\0stdint.h\0";
1379  *  Machine/OS name selection pattern
1380  */
1381 tSCC* apzAix_Stdint_5Machs[] = {
1382         "*-*-aix*",
1383         (const char*)NULL };
1386  *  content selection pattern - do fix if pattern found
1387  */
1388 tSCC zAix_Stdint_5Select0[] =
1389        "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1390 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1392 #define    AIX_STDINT_5_TEST_CT  1
1393 static tTestDesc aAix_Stdint_5Tests[] = {
1394   { TT_EGREP,    zAix_Stdint_5Select0, (regex_t*)NULL }, };
1397  *  Fix Command Arguments for Aix_Stdint_5
1398  */
1399 static const char* apzAix_Stdint_5Patch[] = {
1400     "format",
1401     "#define UINT8_C(c)\tc\n\
1402 #define UINT16_C(c)\tc",
1403     (char*)NULL };
1405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1407  *  Description of Aix_Stdio_Inline fix
1408  */
1409 tSCC zAix_Stdio_InlineName[] =
1410      "aix_stdio_inline";
1413  *  File name selection pattern
1414  */
1415 tSCC zAix_Stdio_InlineList[] =
1416   "stdio.h\0";
1418  *  Machine/OS name selection pattern
1419  */
1420 tSCC* apzAix_Stdio_InlineMachs[] = {
1421         "*-*-aix*",
1422         (const char*)NULL };
1425  *  content selection pattern - do fix if pattern found
1426  */
1427 tSCC zAix_Stdio_InlineSelect0[] =
1428        "#ifdef __cplusplus\\\n\
1429 }\\\n\
1430 \\\n\
1431 #ifdef ferror\\\n";
1433 #define    AIX_STDIO_INLINE_TEST_CT  1
1434 static tTestDesc aAix_Stdio_InlineTests[] = {
1435   { TT_EGREP,    zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1438  *  Fix Command Arguments for Aix_Stdio_Inline
1439  */
1440 static const char* apzAix_Stdio_InlinePatch[] = {
1441     "format",
1442     "#ifdef __cplusplus\n\
1443 }\n\
1444 #endif\n\n\
1445 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1446 #ifdef ferror\n",
1447     (char*)NULL };
1449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1451  *  Description of Aix_Stdlib_Malloc fix
1452  */
1453 tSCC zAix_Stdlib_MallocName[] =
1454      "aix_stdlib_malloc";
1457  *  File name selection pattern
1458  */
1459 tSCC zAix_Stdlib_MallocList[] =
1460   "stdlib.h\0";
1462  *  Machine/OS name selection pattern
1463  */
1464 tSCC* apzAix_Stdlib_MallocMachs[] = {
1465         "*-*-aix*",
1466         (const char*)NULL };
1469  *  content selection pattern - do fix if pattern found
1470  */
1471 tSCC zAix_Stdlib_MallocSelect0[] =
1472        "#define[ \t]+malloc[ \t]+__linux_malloc";
1474 #define    AIX_STDLIB_MALLOC_TEST_CT  1
1475 static tTestDesc aAix_Stdlib_MallocTests[] = {
1476   { TT_EGREP,    zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1479  *  Fix Command Arguments for Aix_Stdlib_Malloc
1480  */
1481 static const char* apzAix_Stdlib_MallocPatch[] = {
1482     "format",
1483     "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1484     (char*)NULL };
1486 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1488  *  Description of Aix_Stdlib_Realloc fix
1489  */
1490 tSCC zAix_Stdlib_ReallocName[] =
1491      "aix_stdlib_realloc";
1494  *  File name selection pattern
1495  */
1496 tSCC zAix_Stdlib_ReallocList[] =
1497   "stdlib.h\0";
1499  *  Machine/OS name selection pattern
1500  */
1501 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1502         "*-*-aix*",
1503         (const char*)NULL };
1506  *  content selection pattern - do fix if pattern found
1507  */
1508 tSCC zAix_Stdlib_ReallocSelect0[] =
1509        "#define[ \t]+realloc[ \t]+__linux_realloc";
1511 #define    AIX_STDLIB_REALLOC_TEST_CT  1
1512 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1513   { TT_EGREP,    zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1516  *  Fix Command Arguments for Aix_Stdlib_Realloc
1517  */
1518 static const char* apzAix_Stdlib_ReallocPatch[] = {
1519     "format",
1520     "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1521     (char*)NULL };
1523 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1525  *  Description of Aix_Stdlib_Calloc fix
1526  */
1527 tSCC zAix_Stdlib_CallocName[] =
1528      "aix_stdlib_calloc";
1531  *  File name selection pattern
1532  */
1533 tSCC zAix_Stdlib_CallocList[] =
1534   "stdlib.h\0";
1536  *  Machine/OS name selection pattern
1537  */
1538 tSCC* apzAix_Stdlib_CallocMachs[] = {
1539         "*-*-aix*",
1540         (const char*)NULL };
1543  *  content selection pattern - do fix if pattern found
1544  */
1545 tSCC zAix_Stdlib_CallocSelect0[] =
1546        "#define[ \t]+calloc[ \t]+__linux_calloc";
1548 #define    AIX_STDLIB_CALLOC_TEST_CT  1
1549 static tTestDesc aAix_Stdlib_CallocTests[] = {
1550   { TT_EGREP,    zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1553  *  Fix Command Arguments for Aix_Stdlib_Calloc
1554  */
1555 static const char* apzAix_Stdlib_CallocPatch[] = {
1556     "format",
1557     "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1558     (char*)NULL };
1560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1562  *  Description of Aix_Stdlib_Valloc fix
1563  */
1564 tSCC zAix_Stdlib_VallocName[] =
1565      "aix_stdlib_valloc";
1568  *  File name selection pattern
1569  */
1570 tSCC zAix_Stdlib_VallocList[] =
1571   "stdlib.h\0";
1573  *  Machine/OS name selection pattern
1574  */
1575 tSCC* apzAix_Stdlib_VallocMachs[] = {
1576         "*-*-aix*",
1577         (const char*)NULL };
1580  *  content selection pattern - do fix if pattern found
1581  */
1582 tSCC zAix_Stdlib_VallocSelect0[] =
1583        "#define[ \t]+valloc[ \t]+__linux_valloc";
1585 #define    AIX_STDLIB_VALLOC_TEST_CT  1
1586 static tTestDesc aAix_Stdlib_VallocTests[] = {
1587   { TT_EGREP,    zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1590  *  Fix Command Arguments for Aix_Stdlib_Valloc
1591  */
1592 static const char* apzAix_Stdlib_VallocPatch[] = {
1593     "format",
1594     "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1595     (char*)NULL };
1597 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1599  *  Description of Aix_Stdlib_Vec_Malloc fix
1600  */
1601 tSCC zAix_Stdlib_Vec_MallocName[] =
1602      "aix_stdlib_vec_malloc";
1605  *  File name selection pattern
1606  */
1607 tSCC zAix_Stdlib_Vec_MallocList[] =
1608   "stdlib.h\0";
1610  *  Machine/OS name selection pattern
1611  */
1612 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1613         "*-*-aix*",
1614         (const char*)NULL };
1617  *  content selection pattern - do fix if pattern found
1618  */
1619 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1620        "#define[ \t]+malloc[ \t]+vec_malloc";
1622 #define    AIX_STDLIB_VEC_MALLOC_TEST_CT  1
1623 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1624   { TT_EGREP,    zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1627  *  Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1628  */
1629 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1630     "format",
1631     "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1632     (char*)NULL };
1634 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1636  *  Description of Aix_Stdlib_Vec_Calloc fix
1637  */
1638 tSCC zAix_Stdlib_Vec_CallocName[] =
1639      "aix_stdlib_vec_calloc";
1642  *  File name selection pattern
1643  */
1644 tSCC zAix_Stdlib_Vec_CallocList[] =
1645   "stdlib.h\0";
1647  *  Machine/OS name selection pattern
1648  */
1649 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1650         "*-*-aix*",
1651         (const char*)NULL };
1654  *  content selection pattern - do fix if pattern found
1655  */
1656 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1657        "#define[ \t]+calloc[ \t]+vec_calloc";
1659 #define    AIX_STDLIB_VEC_CALLOC_TEST_CT  1
1660 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1661   { TT_EGREP,    zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1664  *  Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1665  */
1666 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1667     "format",
1668     "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1669     (char*)NULL };
1671 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1673  *  Description of Aix_Strtof_Const fix
1674  */
1675 tSCC zAix_Strtof_ConstName[] =
1676      "aix_strtof_const";
1679  *  File name selection pattern
1680  */
1681 tSCC zAix_Strtof_ConstList[] =
1682   "stdlib.h\0";
1684  *  Machine/OS name selection pattern
1685  */
1686 tSCC* apzAix_Strtof_ConstMachs[] = {
1687         "*-*-aix*",
1688         (const char*)NULL };
1691  *  content selection pattern - do fix if pattern found
1692  */
1693 tSCC zAix_Strtof_ConstSelect0[] =
1694        "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1696 #define    AIX_STRTOF_CONST_TEST_CT  1
1697 static tTestDesc aAix_Strtof_ConstTests[] = {
1698   { TT_EGREP,    zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1701  *  Fix Command Arguments for Aix_Strtof_Const
1702  */
1703 static const char* apzAix_Strtof_ConstPatch[] = {
1704     "format",
1705     "%1(const char *, char **);",
1706     (char*)NULL };
1708 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1710  *  Description of Aix_Sysmachine fix
1711  */
1712 tSCC zAix_SysmachineName[] =
1713      "aix_sysmachine";
1716  *  File name selection pattern
1717  */
1718 tSCC zAix_SysmachineList[] =
1719   "sys/machine.h\0";
1721  *  Machine/OS name selection pattern
1722  */
1723 tSCC* apzAix_SysmachineMachs[] = {
1724         "*-*-aix*",
1725         (const char*)NULL };
1728  *  content selection pattern - do fix if pattern found
1729  */
1730 tSCC zAix_SysmachineSelect0[] =
1731        "\\\\ +\n";
1733 #define    AIX_SYSMACHINE_TEST_CT  1
1734 static tTestDesc aAix_SysmachineTests[] = {
1735   { TT_EGREP,    zAix_SysmachineSelect0, (regex_t*)NULL }, };
1738  *  Fix Command Arguments for Aix_Sysmachine
1739  */
1740 static const char* apzAix_SysmachinePatch[] = {
1741     "format",
1742     "\\\n",
1743     (char*)NULL };
1745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1747  *  Description of Aix_Syswait_2 fix
1748  */
1749 tSCC zAix_Syswait_2Name[] =
1750      "aix_syswait_2";
1753  *  File name selection pattern
1754  */
1755 tSCC zAix_Syswait_2List[] =
1756   "sys/wait.h\0";
1758  *  Machine/OS name selection pattern
1759  */
1760 tSCC* apzAix_Syswait_2Machs[] = {
1761         "*-*-aix*",
1762         (const char*)NULL };
1765  *  content selection pattern - do fix if pattern found
1766  */
1767 tSCC zAix_Syswait_2Select0[] =
1768        "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1770 #define    AIX_SYSWAIT_2_TEST_CT  1
1771 static tTestDesc aAix_Syswait_2Tests[] = {
1772   { TT_EGREP,    zAix_Syswait_2Select0, (regex_t*)NULL }, };
1775  *  Fix Command Arguments for Aix_Syswait_2
1776  */
1777 static const char* apzAix_Syswait_2Patch[] = {
1778     "format",
1779     "? (int)%1",
1780     (char*)NULL };
1782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1784  *  Description of Aix_Volatile fix
1785  */
1786 tSCC zAix_VolatileName[] =
1787      "aix_volatile";
1790  *  File name selection pattern
1791  */
1792 tSCC zAix_VolatileList[] =
1793   "sys/signal.h\0";
1795  *  Machine/OS name selection pattern
1796  */
1797 tSCC* apzAix_VolatileMachs[] = {
1798         "*-*-aix*",
1799         (const char*)NULL };
1802  *  content selection pattern - do fix if pattern found
1803  */
1804 tSCC zAix_VolatileSelect0[] =
1805        "typedef volatile int sig_atomic_t";
1807 #define    AIX_VOLATILE_TEST_CT  1
1808 static tTestDesc aAix_VolatileTests[] = {
1809   { TT_EGREP,    zAix_VolatileSelect0, (regex_t*)NULL }, };
1812  *  Fix Command Arguments for Aix_Volatile
1813  */
1814 static const char* apzAix_VolatilePatch[] = {
1815     "format",
1816     "typedef int sig_atomic_t",
1817     (char*)NULL };
1819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1821  *  Description of Aix_Unistd fix
1822  */
1823 tSCC zAix_UnistdName[] =
1824      "aix_unistd";
1827  *  File name selection pattern
1828  */
1829 tSCC zAix_UnistdList[] =
1830   "unistd.h\0";
1832  *  Machine/OS name selection pattern
1833  */
1834 tSCC* apzAix_UnistdMachs[] = {
1835         "*-*-aix*",
1836         (const char*)NULL };
1839  *  content selection pattern - do fix if pattern found
1840  */
1841 tSCC zAix_UnistdSelect0[] =
1842        "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1844 #define    AIX_UNISTD_TEST_CT  1
1845 static tTestDesc aAix_UnistdTests[] = {
1846   { TT_EGREP,    zAix_UnistdSelect0, (regex_t*)NULL }, };
1849  *  Fix Command Arguments for Aix_Unistd
1850  */
1851 static const char* apzAix_UnistdPatch[] = {
1852     "format",
1853     "\tstatic int\t\tgetdtablesize(void)",
1854     (char*)NULL };
1856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1858  *  Description of Alpha___Assert fix
1859  */
1860 tSCC zAlpha___AssertName[] =
1861      "alpha___assert";
1864  *  File name selection pattern
1865  */
1866 tSCC zAlpha___AssertList[] =
1867   "assert.h\0";
1869  *  Machine/OS name selection pattern
1870  */
1871 #define apzAlpha___AssertMachs (const char**)NULL
1874  *  content selection pattern - do fix if pattern found
1875  */
1876 tSCC zAlpha___AssertSelect0[] =
1877        "__assert\\(char \\*, char \\*, int\\)";
1879 #define    ALPHA___ASSERT_TEST_CT  1
1880 static tTestDesc aAlpha___AssertTests[] = {
1881   { TT_EGREP,    zAlpha___AssertSelect0, (regex_t*)NULL }, };
1884  *  Fix Command Arguments for Alpha___Assert
1885  */
1886 static const char* apzAlpha___AssertPatch[] = {
1887     "format",
1888     "__assert(const char *, const char *, int)",
1889     (char*)NULL };
1891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1893  *  Description of Alpha_Assert fix
1894  */
1895 tSCC zAlpha_AssertName[] =
1896      "alpha_assert";
1899  *  File name selection pattern
1900  */
1901 tSCC zAlpha_AssertList[] =
1902   "assert.h\0";
1904  *  Machine/OS name selection pattern
1905  */
1906 #define apzAlpha_AssertMachs (const char**)NULL
1909  *  content selection pattern - do fix if pattern found
1910  */
1911 tSCC zAlpha_AssertSelect0[] =
1912        "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1914 #define    ALPHA_ASSERT_TEST_CT  1
1915 static tTestDesc aAlpha_AssertTests[] = {
1916   { TT_EGREP,    zAlpha_AssertSelect0, (regex_t*)NULL }, };
1919  *  Fix Command Arguments for Alpha_Assert
1920  */
1921 static const char* apzAlpha_AssertPatch[] = {
1922     "format",
1923     "%1(EX)",
1924     (char*)NULL };
1926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1928  *  Description of Alpha_Getopt fix
1929  */
1930 tSCC zAlpha_GetoptName[] =
1931      "alpha_getopt";
1934  *  File name selection pattern
1935  */
1936 tSCC zAlpha_GetoptList[] =
1937   "stdio.h\0stdlib.h\0";
1939  *  Machine/OS name selection pattern
1940  */
1941 #define apzAlpha_GetoptMachs (const char**)NULL
1944  *  content selection pattern - do fix if pattern found
1945  */
1946 tSCC zAlpha_GetoptSelect0[] =
1947        "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1949 #define    ALPHA_GETOPT_TEST_CT  1
1950 static tTestDesc aAlpha_GetoptTests[] = {
1951   { TT_EGREP,    zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1954  *  Fix Command Arguments for Alpha_Getopt
1955  */
1956 static const char* apzAlpha_GetoptPatch[] = {
1957     "format",
1958     "getopt(int, char *const[], const char *)",
1959     (char*)NULL };
1961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1963  *  Description of Alpha_If_Semicolon fix
1964  */
1965 tSCC zAlpha_If_SemicolonName[] =
1966      "alpha_if_semicolon";
1969  *  File name selection pattern
1970  */
1971 tSCC zAlpha_If_SemicolonList[] =
1972   "net/if.h\0";
1974  *  Machine/OS name selection pattern
1975  */
1976 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1979  *  content selection pattern - do fix if pattern found
1980  */
1981 tSCC zAlpha_If_SemicolonSelect0[] =
1982        "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1984 #define    ALPHA_IF_SEMICOLON_TEST_CT  1
1985 static tTestDesc aAlpha_If_SemicolonTests[] = {
1986   { TT_EGREP,    zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1989  *  Fix Command Arguments for Alpha_If_Semicolon
1990  */
1991 static const char* apzAlpha_If_SemicolonPatch[] = {
1992     "format",
1993     "struct sockaddr vmif_paddr;\t/*",
1994     (char*)NULL };
1996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1998  *  Description of Alpha_Parens fix
1999  */
2000 tSCC zAlpha_ParensName[] =
2001      "alpha_parens";
2004  *  File name selection pattern
2005  */
2006 tSCC zAlpha_ParensList[] =
2007   "sym.h\0";
2009  *  Machine/OS name selection pattern
2010  */
2011 #define apzAlpha_ParensMachs (const char**)NULL
2014  *  content selection pattern - do fix if pattern found
2015  */
2016 tSCC zAlpha_ParensSelect0[] =
2017        "#ifndef\\(__mips64\\)";
2019 #define    ALPHA_PARENS_TEST_CT  1
2020 static tTestDesc aAlpha_ParensTests[] = {
2021   { TT_EGREP,    zAlpha_ParensSelect0, (regex_t*)NULL }, };
2024  *  Fix Command Arguments for Alpha_Parens
2025  */
2026 static const char* apzAlpha_ParensPatch[] = {
2027     "format",
2028     "#ifndef __mips64",
2029     (char*)NULL };
2031 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2033  *  Description of Alpha_Sbrk fix
2034  */
2035 tSCC zAlpha_SbrkName[] =
2036      "alpha_sbrk";
2039  *  File name selection pattern
2040  */
2041 tSCC zAlpha_SbrkList[] =
2042   "unistd.h\0";
2044  *  Machine/OS name selection pattern
2045  */
2046 #define apzAlpha_SbrkMachs (const char**)NULL
2049  *  content selection pattern - do fix if pattern found
2050  */
2051 tSCC zAlpha_SbrkSelect0[] =
2052        "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2054 #define    ALPHA_SBRK_TEST_CT  1
2055 static tTestDesc aAlpha_SbrkTests[] = {
2056   { TT_EGREP,    zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2059  *  Fix Command Arguments for Alpha_Sbrk
2060  */
2061 static const char* apzAlpha_SbrkPatch[] = {
2062     "format",
2063     "void *sbrk(",
2064     (char*)NULL };
2066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2068  *  Description of Avoid_Bool_Define fix
2069  */
2070 tSCC zAvoid_Bool_DefineName[] =
2071      "avoid_bool_define";
2074  *  File name selection pattern
2075  */
2076 tSCC zAvoid_Bool_DefineList[] =
2077   "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2079  *  Machine/OS name selection pattern
2080  */
2081 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2084  *  content selection pattern - do fix if pattern found
2085  */
2086 tSCC zAvoid_Bool_DefineSelect0[] =
2087        "#[ \t]*define[ \t]+bool[ \t]";
2090  *  content bypass pattern - skip fix if pattern found
2091  */
2092 tSCC zAvoid_Bool_DefineBypass0[] =
2093        "__cplusplus";
2095 #define    AVOID_BOOL_DEFINE_TEST_CT  2
2096 static tTestDesc aAvoid_Bool_DefineTests[] = {
2097   { TT_NEGREP,   zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2098   { TT_EGREP,    zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2101  *  Fix Command Arguments for Avoid_Bool_Define
2102  */
2103 static const char* apzAvoid_Bool_DefinePatch[] = {
2104     "format",
2105     "#ifndef __cplusplus\n\
2106 %0\n\
2107 #endif",
2108     "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2109     (char*)NULL };
2111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2113  *  Description of Avoid_Bool_Type fix
2114  */
2115 tSCC zAvoid_Bool_TypeName[] =
2116      "avoid_bool_type";
2119  *  File name selection pattern
2120  */
2121 tSCC zAvoid_Bool_TypeList[] =
2122   "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2124  *  Machine/OS name selection pattern
2125  */
2126 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2129  *  content selection pattern - do fix if pattern found
2130  */
2131 tSCC zAvoid_Bool_TypeSelect0[] =
2132        "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2135  *  content bypass pattern - skip fix if pattern found
2136  */
2137 tSCC zAvoid_Bool_TypeBypass0[] =
2138        "__cplusplus";
2140 #define    AVOID_BOOL_TYPE_TEST_CT  2
2141 static tTestDesc aAvoid_Bool_TypeTests[] = {
2142   { TT_NEGREP,   zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2143   { TT_EGREP,    zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2146  *  Fix Command Arguments for Avoid_Bool_Type
2147  */
2148 static const char* apzAvoid_Bool_TypePatch[] = {
2149     "format",
2150     "#ifndef __cplusplus\n\
2151 %0\n\
2152 #endif",
2153     (char*)NULL };
2155 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2157  *  Description of Avoid_Wchar_T_Type fix
2158  */
2159 tSCC zAvoid_Wchar_T_TypeName[] =
2160      "avoid_wchar_t_type";
2163  *  File name selection pattern
2164  */
2165 #define zAvoid_Wchar_T_TypeList (char*)NULL
2167  *  Machine/OS name selection pattern
2168  */
2169 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2172  *  content selection pattern - do fix if pattern found
2173  */
2174 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2175        "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2178  *  content bypass pattern - skip fix if pattern found
2179  */
2180 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2181        "__cplusplus";
2182 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2183        "_LINUX_NLS_H";
2184 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2185        "XFree86: xc/lib/X11/Xlib\\.h";
2187 #define    AVOID_WCHAR_T_TYPE_TEST_CT  4
2188 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2189   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2190   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2191   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2192   { TT_EGREP,    zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2195  *  Fix Command Arguments for Avoid_Wchar_T_Type
2196  */
2197 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2198     "format",
2199     "#ifndef __cplusplus\n\
2200 %0\n\
2201 #endif",
2202     (char*)NULL };
2204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2206  *  Description of Bad_Struct_Term fix
2207  */
2208 tSCC zBad_Struct_TermName[] =
2209      "bad_struct_term";
2212  *  File name selection pattern
2213  */
2214 tSCC zBad_Struct_TermList[] =
2215   "curses.h\0";
2217  *  Machine/OS name selection pattern
2218  */
2219 #define apzBad_Struct_TermMachs (const char**)NULL
2222  *  content selection pattern - do fix if pattern found
2223  */
2224 tSCC zBad_Struct_TermSelect0[] =
2225        "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2227 #define    BAD_STRUCT_TERM_TEST_CT  1
2228 static tTestDesc aBad_Struct_TermTests[] = {
2229   { TT_EGREP,    zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2232  *  Fix Command Arguments for Bad_Struct_Term
2233  */
2234 static const char* apzBad_Struct_TermPatch[] = {
2235     "format",
2236     "struct term;",
2237     (char*)NULL };
2239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2241  *  Description of Badquote fix
2242  */
2243 tSCC zBadquoteName[] =
2244      "badquote";
2247  *  File name selection pattern
2248  */
2249 tSCC zBadquoteList[] =
2250   "sundev/vuid_event.h\0";
2252  *  Machine/OS name selection pattern
2253  */
2254 #define apzBadquoteMachs (const char**)NULL
2257  *  content selection pattern - do fix if pattern found
2258  */
2259 tSCC zBadquoteSelect0[] =
2260        "doesn't";
2262 #define    BADQUOTE_TEST_CT  1
2263 static tTestDesc aBadquoteTests[] = {
2264   { TT_EGREP,    zBadquoteSelect0, (regex_t*)NULL }, };
2267  *  Fix Command Arguments for Badquote
2268  */
2269 static const char* apzBadquotePatch[] = {
2270     "format",
2271     "does not",
2272     (char*)NULL };
2274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2276  *  Description of Broken_Assert_Stdio fix
2277  */
2278 tSCC zBroken_Assert_StdioName[] =
2279      "broken_assert_stdio";
2282  *  File name selection pattern
2283  */
2284 tSCC zBroken_Assert_StdioList[] =
2285   "assert.h\0";
2287  *  Machine/OS name selection pattern
2288  */
2289 #define apzBroken_Assert_StdioMachs (const char**)NULL
2292  *  content selection pattern - do fix if pattern found
2293  */
2294 tSCC zBroken_Assert_StdioSelect0[] =
2295        "stderr";
2298  *  content bypass pattern - skip fix if pattern found
2299  */
2300 tSCC zBroken_Assert_StdioBypass0[] =
2301        "include.*stdio\\.h";
2303 #define    BROKEN_ASSERT_STDIO_TEST_CT  2
2304 static tTestDesc aBroken_Assert_StdioTests[] = {
2305   { TT_NEGREP,   zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2306   { TT_EGREP,    zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2309  *  Fix Command Arguments for Broken_Assert_Stdio
2310  */
2311 static const char* apzBroken_Assert_StdioPatch[] = {
2312     "wrap",
2313     "#include <stdio.h>\n",
2314     (char*)NULL };
2316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2318  *  Description of Broken_Assert_Stdlib fix
2319  */
2320 tSCC zBroken_Assert_StdlibName[] =
2321      "broken_assert_stdlib";
2324  *  File name selection pattern
2325  */
2326 tSCC zBroken_Assert_StdlibList[] =
2327   "assert.h\0";
2329  *  Machine/OS name selection pattern
2330  */
2331 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2334  *  content selection pattern - do fix if pattern found
2335  */
2336 tSCC zBroken_Assert_StdlibSelect0[] =
2337        "exit *\\(|abort *\\(";
2340  *  content bypass pattern - skip fix if pattern found
2341  */
2342 tSCC zBroken_Assert_StdlibBypass0[] =
2343        "include.*stdlib\\.h";
2345 #define    BROKEN_ASSERT_STDLIB_TEST_CT  2
2346 static tTestDesc aBroken_Assert_StdlibTests[] = {
2347   { TT_NEGREP,   zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2348   { TT_EGREP,    zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2351  *  Fix Command Arguments for Broken_Assert_Stdlib
2352  */
2353 static const char* apzBroken_Assert_StdlibPatch[] = {
2354     "wrap",
2355     "#ifdef __cplusplus\n\
2356 #include <stdlib.h>\n\
2357 #endif\n",
2358     (char*)NULL };
2360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2362  *  Description of Broken_Cabs fix
2363  */
2364 tSCC zBroken_CabsName[] =
2365      "broken_cabs";
2368  *  File name selection pattern
2369  */
2370 tSCC zBroken_CabsList[] =
2371   "math.h\0architecture/*/math.h\0";
2373  *  Machine/OS name selection pattern
2374  */
2375 #define apzBroken_CabsMachs (const char**)NULL
2378  *  content selection pattern - do fix if pattern found
2379  */
2380 tSCC zBroken_CabsSelect0[] =
2381        "^extern[ \t]+double[ \t]+cabs";
2383 #define    BROKEN_CABS_TEST_CT  1
2384 static tTestDesc aBroken_CabsTests[] = {
2385   { TT_EGREP,    zBroken_CabsSelect0, (regex_t*)NULL }, };
2388  *  Fix Command Arguments for Broken_Cabs
2389  */
2390 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2391     "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2392     "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2393     (char*)NULL };
2395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2397  *  Description of Broken_Nan fix
2398  */
2399 tSCC zBroken_NanName[] =
2400      "broken_nan";
2403  *  File name selection pattern
2404  */
2405 tSCC zBroken_NanList[] =
2406   "architecture/ppc/math.h\0architecture/*/math.h\0";
2408  *  Machine/OS name selection pattern
2409  */
2410 #define apzBroken_NanMachs (const char**)NULL
2413  *  content selection pattern - do fix if pattern found
2414  */
2415 tSCC zBroken_NanSelect0[] =
2416        "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2419  *  content bypass pattern - skip fix if pattern found
2420  */
2421 tSCC zBroken_NanBypass0[] =
2422        "powl";
2424 #define    BROKEN_NAN_TEST_CT  2
2425 static tTestDesc aBroken_NanTests[] = {
2426   { TT_NEGREP,   zBroken_NanBypass0, (regex_t*)NULL },
2427   { TT_EGREP,    zBroken_NanSelect0, (regex_t*)NULL }, };
2430  *  Fix Command Arguments for Broken_Nan
2431  */
2432 static const char* apzBroken_NanPatch[] = {
2433     "format",
2434     "#if 1",
2435     (char*)NULL };
2437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2439  *  Description of Bsd_Stdio_Attrs_Conflict fix
2440  */
2441 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2442      "bsd_stdio_attrs_conflict";
2445  *  File name selection pattern
2446  */
2447 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2448   "stdio.h\0";
2450  *  Machine/OS name selection pattern
2451  */
2452 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2453         "*-*-*bsd*",
2454         "*-*-*darwin*",
2455         (const char*)NULL };
2458  *  content selection pattern - do fix if pattern found
2459  */
2460 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2461        "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2463 #define    BSD_STDIO_ATTRS_CONFLICT_TEST_CT  1
2464 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2465   { TT_EGREP,    zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2468  *  Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2469  */
2470 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2471     "format",
2472     "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2473 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2474 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2475     (char*)NULL };
2477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2479  *  Description of Ctrl_Quotes_Def fix
2480  */
2481 tSCC zCtrl_Quotes_DefName[] =
2482      "ctrl_quotes_def";
2485  *  File name selection pattern
2486  */
2487 #define zCtrl_Quotes_DefList (char*)NULL
2489  *  Machine/OS name selection pattern
2490  */
2491 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2494  *  content selection pattern - do fix if pattern found
2495  */
2496 tSCC zCtrl_Quotes_DefSelect0[] =
2497        "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2499 #define    CTRL_QUOTES_DEF_TEST_CT  1
2500 static tTestDesc aCtrl_Quotes_DefTests[] = {
2501   { TT_EGREP,    zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2504  *  Fix Command Arguments for Ctrl_Quotes_Def
2505  */
2506 static const char* apzCtrl_Quotes_DefPatch[] = {
2507     "char_macro_def",
2508     "CTRL",
2509     (char*)NULL };
2511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2513  *  Description of Ctrl_Quotes_Use fix
2514  */
2515 tSCC zCtrl_Quotes_UseName[] =
2516      "ctrl_quotes_use";
2519  *  File name selection pattern
2520  */
2521 #define zCtrl_Quotes_UseList (char*)NULL
2523  *  Machine/OS name selection pattern
2524  */
2525 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2528  *  content selection pattern - do fix if pattern found
2529  */
2530 tSCC zCtrl_Quotes_UseSelect0[] =
2531        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2533 #define    CTRL_QUOTES_USE_TEST_CT  1
2534 static tTestDesc aCtrl_Quotes_UseTests[] = {
2535   { TT_EGREP,    zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2538  *  Fix Command Arguments for Ctrl_Quotes_Use
2539  */
2540 static const char* apzCtrl_Quotes_UsePatch[] = {
2541     "char_macro_use",
2542     "CTRL",
2543     (char*)NULL };
2545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2547  *  Description of Cxx_Unready fix
2548  */
2549 tSCC zCxx_UnreadyName[] =
2550      "cxx_unready";
2553  *  File name selection pattern
2554  */
2555 tSCC zCxx_UnreadyList[] =
2556   "sys/mman.h\0rpc/types.h\0";
2558  *  Machine/OS name selection pattern
2559  */
2560 #define apzCxx_UnreadyMachs (const char**)NULL
2563  *  content selection pattern - do fix if pattern found
2564  */
2565 tSCC zCxx_UnreadySelect0[] =
2566        "[^#]+malloc.*;";
2569  *  content bypass pattern - skip fix if pattern found
2570  */
2571 tSCC zCxx_UnreadyBypass0[] =
2572        "\"C\"|__BEGIN_DECLS";
2574 #define    CXX_UNREADY_TEST_CT  2
2575 static tTestDesc aCxx_UnreadyTests[] = {
2576   { TT_NEGREP,   zCxx_UnreadyBypass0, (regex_t*)NULL },
2577   { TT_EGREP,    zCxx_UnreadySelect0, (regex_t*)NULL }, };
2580  *  Fix Command Arguments for Cxx_Unready
2581  */
2582 static const char* apzCxx_UnreadyPatch[] = {
2583     "wrap",
2584     "#ifdef __cplusplus\n\
2585 extern \"C\" {\n\
2586 #endif\n",
2587     "#ifdef __cplusplus\n\
2588 }\n\
2589 #endif\n",
2590     (char*)NULL };
2592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2594  *  Description of Darwin_Availabilityinternal fix
2595  */
2596 tSCC zDarwin_AvailabilityinternalName[] =
2597      "darwin_availabilityinternal";
2600  *  File name selection pattern
2601  */
2602 tSCC zDarwin_AvailabilityinternalList[] =
2603   "AvailabilityInternal.h\0";
2605  *  Machine/OS name selection pattern
2606  */
2607 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2608         "*-*-darwin*",
2609         (const char*)NULL };
2612  *  content selection pattern - do fix if pattern found
2613  */
2614 tSCC zDarwin_AvailabilityinternalSelect0[] =
2615        "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2617 #define    DARWIN_AVAILABILITYINTERNAL_TEST_CT  1
2618 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2619   { TT_EGREP,    zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2622  *  Fix Command Arguments for Darwin_Availabilityinternal
2623  */
2624 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2625     "format",
2626     "#if defined(__has_attribute)\n\
2627   #if __has_attribute(availability)\n\
2628 %0\n\
2629   #else\n\
2630     #define %1\n\
2631   #endif\n\
2632 #else\n\
2633     #define %1\n\
2634 #endif",
2635     (char*)NULL };
2637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2639  *  Description of Darwin_9_Long_Double_Funcs_2 fix
2640  */
2641 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2642      "darwin_9_long_double_funcs_2";
2645  *  File name selection pattern
2646  */
2647 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2648   "math.h\0";
2650  *  Machine/OS name selection pattern
2651  */
2652 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2653         "*-*-darwin7.9*",
2654         (const char*)NULL };
2657  *  content selection pattern - do fix if pattern found
2658  */
2659 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2660        "#include[ \\t]+\\\"";
2662 #define    DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT  1
2663 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2664   { TT_EGREP,    zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2667  *  Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2668  */
2669 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2670     "format",
2671     "%1<%2.h>",
2672     "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2673     (char*)NULL };
2675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2677  *  Description of Darwin_Externc fix
2678  */
2679 tSCC zDarwin_ExterncName[] =
2680      "darwin_externc";
2683  *  File name selection pattern
2684  */
2685 tSCC zDarwin_ExterncList[] =
2686   "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2688  *  Machine/OS name selection pattern
2689  */
2690 tSCC* apzDarwin_ExterncMachs[] = {
2691         "*-*-darwin*",
2692         (const char*)NULL };
2695  *  content bypass pattern - skip fix if pattern found
2696  */
2697 tSCC zDarwin_ExterncBypass0[] =
2698        "extern \"C\"";
2699 tSCC zDarwin_ExterncBypass1[] =
2700        "__BEGIN_DECLS";
2702 #define    DARWIN_EXTERNC_TEST_CT  2
2703 static tTestDesc aDarwin_ExterncTests[] = {
2704   { TT_NEGREP,   zDarwin_ExterncBypass0, (regex_t*)NULL },
2705   { TT_NEGREP,   zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2708  *  Fix Command Arguments for Darwin_Externc
2709  */
2710 static const char* apzDarwin_ExterncPatch[] = {
2711     "wrap",
2712     "#ifdef __cplusplus\n\
2713 extern \"C\" {\n\
2714 #endif\n",
2715     "#ifdef __cplusplus\n\
2716 }\n\
2717 #endif\n",
2718     (char*)NULL };
2720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2722  *  Description of Darwin_Gcc4_Breakage fix
2723  */
2724 tSCC zDarwin_Gcc4_BreakageName[] =
2725      "darwin_gcc4_breakage";
2728  *  File name selection pattern
2729  */
2730 tSCC zDarwin_Gcc4_BreakageList[] =
2731   "AvailabilityMacros.h\0";
2733  *  Machine/OS name selection pattern
2734  */
2735 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2736         "*-*-darwin*",
2737         (const char*)NULL };
2740  *  content selection pattern - do fix if pattern found
2741  */
2742 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2743        "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2745 #define    DARWIN_GCC4_BREAKAGE_TEST_CT  1
2746 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2747   { TT_EGREP,    zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2750  *  Fix Command Arguments for Darwin_Gcc4_Breakage
2751  */
2752 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2753     "format",
2754     "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2755     (char*)NULL };
2757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2759  *  Description of Darwin_Longjmp_Noreturn fix
2760  */
2761 tSCC zDarwin_Longjmp_NoreturnName[] =
2762      "darwin_longjmp_noreturn";
2765  *  File name selection pattern
2766  */
2767 tSCC zDarwin_Longjmp_NoreturnList[] =
2768   "i386/setjmp.h\0";
2770  *  Machine/OS name selection pattern
2771  */
2772 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2773         "*-*-darwin*",
2774         (const char*)NULL };
2777  *  content selection pattern - do fix if pattern found
2778  */
2779 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2780        "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2783  *  content bypass pattern - skip fix if pattern found
2784  */
2785 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2786        "__dead2";
2788 #define    DARWIN_LONGJMP_NORETURN_TEST_CT  2
2789 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2790   { TT_NEGREP,   zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2791   { TT_EGREP,    zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2794  *  Fix Command Arguments for Darwin_Longjmp_Noreturn
2795  */
2796 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2797     "format",
2798     "%1 __attribute__ ((__noreturn__));",
2799     (char*)NULL };
2801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2803  *  Description of Darwin_Os_Trace_1 fix
2804  */
2805 tSCC zDarwin_Os_Trace_1Name[] =
2806      "darwin_os_trace_1";
2809  *  File name selection pattern
2810  */
2811 tSCC zDarwin_Os_Trace_1List[] =
2812   "os/trace.h\0";
2814  *  Machine/OS name selection pattern
2815  */
2816 tSCC* apzDarwin_Os_Trace_1Machs[] = {
2817         "*-*-darwin*",
2818         (const char*)NULL };
2821  *  content selection pattern - do fix if pattern found
2822  */
2823 tSCC zDarwin_Os_Trace_1Select0[] =
2824        "^(_os_trace_verify_printf.*) (__attribute__.*)";
2826 #define    DARWIN_OS_TRACE_1_TEST_CT  1
2827 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
2828   { TT_EGREP,    zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
2831  *  Fix Command Arguments for Darwin_Os_Trace_1
2832  */
2833 static const char* apzDarwin_Os_Trace_1Patch[] = {
2834     "format",
2835     "%1",
2836     (char*)NULL };
2838 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2840  *  Description of Darwin_Os_Trace_2 fix
2841  */
2842 tSCC zDarwin_Os_Trace_2Name[] =
2843      "darwin_os_trace_2";
2846  *  File name selection pattern
2847  */
2848 tSCC zDarwin_Os_Trace_2List[] =
2849   "os/trace.h\0";
2851  *  Machine/OS name selection pattern
2852  */
2853 tSCC* apzDarwin_Os_Trace_2Machs[] = {
2854         "*-*-darwin*",
2855         (const char*)NULL };
2858  *  content selection pattern - do fix if pattern found
2859  */
2860 tSCC zDarwin_Os_Trace_2Select0[] =
2861        "typedef.*\\^os_trace_payload_t.*";
2863 #define    DARWIN_OS_TRACE_2_TEST_CT  1
2864 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
2865   { TT_EGREP,    zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
2868  *  Fix Command Arguments for Darwin_Os_Trace_2
2869  */
2870 static const char* apzDarwin_Os_Trace_2Patch[] = {
2871     "format",
2872     "#if __BLOCKS__\n\
2873 %0\n\
2874 #endif",
2875     (char*)NULL };
2877 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2879  *  Description of Darwin_Os_Trace_3 fix
2880  */
2881 tSCC zDarwin_Os_Trace_3Name[] =
2882      "darwin_os_trace_3";
2885  *  File name selection pattern
2886  */
2887 tSCC zDarwin_Os_Trace_3List[] =
2888   "os/trace.h\0";
2890  *  Machine/OS name selection pattern
2891  */
2892 tSCC* apzDarwin_Os_Trace_3Machs[] = {
2893         "*-*-darwin*",
2894         (const char*)NULL };
2897  *  content selection pattern - do fix if pattern found
2898  */
2899 tSCC zDarwin_Os_Trace_3Select0[] =
2900        "__(API|OSX)_.*\n\
2901 OS_EXPORT.*\n\
2902 .*\n\
2903 _os_trace.*os_trace_payload_t payload);";
2905 #define    DARWIN_OS_TRACE_3_TEST_CT  1
2906 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
2907   { TT_EGREP,    zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
2910  *  Fix Command Arguments for Darwin_Os_Trace_3
2911  */
2912 static const char* apzDarwin_Os_Trace_3Patch[] = {
2913     "format",
2914     "#if __BLOCKS__\n\
2915 %0\n\
2916 #endif",
2917     (char*)NULL };
2919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2921  *  Description of Darwin_Private_Extern fix
2922  */
2923 tSCC zDarwin_Private_ExternName[] =
2924      "darwin_private_extern";
2927  *  File name selection pattern
2928  */
2929 tSCC zDarwin_Private_ExternList[] =
2930   "mach-o/dyld.h\0";
2932  *  Machine/OS name selection pattern
2933  */
2934 tSCC* apzDarwin_Private_ExternMachs[] = {
2935         "*-*-darwin*",
2936         (const char*)NULL };
2939  *  content selection pattern - do fix if pattern found
2940  */
2941 tSCC zDarwin_Private_ExternSelect0[] =
2942        "__private_extern__ [a-z_]+ _dyld_";
2944 #define    DARWIN_PRIVATE_EXTERN_TEST_CT  1
2945 static tTestDesc aDarwin_Private_ExternTests[] = {
2946   { TT_EGREP,    zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2949  *  Fix Command Arguments for Darwin_Private_Extern
2950  */
2951 static const char* apzDarwin_Private_ExternPatch[] = {
2952     "format",
2953     "extern",
2954     "__private_extern__",
2955     (char*)NULL };
2957 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2959  *  Description of Darwin_Stdint_1 fix
2960  */
2961 tSCC zDarwin_Stdint_1Name[] =
2962      "darwin_stdint_1";
2965  *  File name selection pattern
2966  */
2967 tSCC zDarwin_Stdint_1List[] =
2968   "stdint-darwin.h\0stdint.h\0";
2970  *  Machine/OS name selection pattern
2971  */
2972 tSCC* apzDarwin_Stdint_1Machs[] = {
2973         "*-*-darwin*",
2974         (const char*)NULL };
2977  *  content selection pattern - do fix if pattern found
2978  */
2979 tSCC zDarwin_Stdint_1Select0[] =
2980        "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2981 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2983 #define    DARWIN_STDINT_1_TEST_CT  1
2984 static tTestDesc aDarwin_Stdint_1Tests[] = {
2985   { TT_EGREP,    zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2988  *  Fix Command Arguments for Darwin_Stdint_1
2989  */
2990 static const char* apzDarwin_Stdint_1Patch[] = {
2991     "format",
2992     "#define UINT8_C(v)\tv\n\
2993 #define UINT16_C(v)\tv",
2994     (char*)NULL };
2996 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2998  *  Description of Darwin_Stdint_2 fix
2999  */
3000 tSCC zDarwin_Stdint_2Name[] =
3001      "darwin_stdint_2";
3004  *  File name selection pattern
3005  */
3006 tSCC zDarwin_Stdint_2List[] =
3007   "stdint-darwin.h\0stdint.h\0";
3009  *  Machine/OS name selection pattern
3010  */
3011 tSCC* apzDarwin_Stdint_2Machs[] = {
3012         "*-*-darwin*",
3013         (const char*)NULL };
3016  *  content selection pattern - do fix if pattern found
3017  */
3018 tSCC zDarwin_Stdint_2Select0[] =
3019        "#if __WORDSIZE == 64\n\
3020 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3021 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3022 #else\n\
3023 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3024 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3025 #endif";
3027 #define    DARWIN_STDINT_2_TEST_CT  1
3028 static tTestDesc aDarwin_Stdint_2Tests[] = {
3029   { TT_EGREP,    zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3032  *  Fix Command Arguments for Darwin_Stdint_2
3033  */
3034 static const char* apzDarwin_Stdint_2Patch[] = {
3035     "format",
3036     "#if __WORDSIZE == 64\n\
3037 #define INTPTR_MAX 9223372036854775807L\n\
3038 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3039 #else\n\
3040 #define INTPTR_MAX 2147483647L\n\
3041 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3042 #endif",
3043     (char*)NULL };
3045 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3047  *  Description of Darwin_Stdint_3 fix
3048  */
3049 tSCC zDarwin_Stdint_3Name[] =
3050      "darwin_stdint_3";
3053  *  File name selection pattern
3054  */
3055 tSCC zDarwin_Stdint_3List[] =
3056   "stdint-darwin.h\0stdint.h\0";
3058  *  Machine/OS name selection pattern
3059  */
3060 tSCC* apzDarwin_Stdint_3Machs[] = {
3061         "*-*-darwin*",
3062         (const char*)NULL };
3065  *  content selection pattern - do fix if pattern found
3066  */
3067 tSCC zDarwin_Stdint_3Select0[] =
3068        "#if __WORDSIZE == 64\n\
3069 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3070 #else\n\
3071 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3072 #endif";
3074 #define    DARWIN_STDINT_3_TEST_CT  1
3075 static tTestDesc aDarwin_Stdint_3Tests[] = {
3076   { TT_EGREP,    zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3079  *  Fix Command Arguments for Darwin_Stdint_3
3080  */
3081 static const char* apzDarwin_Stdint_3Patch[] = {
3082     "format",
3083     "#if __WORDSIZE == 64\n\
3084 #define UINTPTR_MAX 18446744073709551615UL\n\
3085 #else\n\
3086 #define UINTPTR_MAX 4294967295UL\n\
3087 #endif",
3088     (char*)NULL };
3090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3092  *  Description of Darwin_Stdint_4 fix
3093  */
3094 tSCC zDarwin_Stdint_4Name[] =
3095      "darwin_stdint_4";
3098  *  File name selection pattern
3099  */
3100 tSCC zDarwin_Stdint_4List[] =
3101   "stdint-darwin.h\0stdint.h\0";
3103  *  Machine/OS name selection pattern
3104  */
3105 tSCC* apzDarwin_Stdint_4Machs[] = {
3106         "*-*-darwin*",
3107         (const char*)NULL };
3110  *  content selection pattern - do fix if pattern found
3111  */
3112 tSCC zDarwin_Stdint_4Select0[] =
3113        "#if __WORDSIZE == 64\n\
3114 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3115 #else\n\
3116 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3117 #endif";
3119 #define    DARWIN_STDINT_4_TEST_CT  1
3120 static tTestDesc aDarwin_Stdint_4Tests[] = {
3121   { TT_EGREP,    zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3124  *  Fix Command Arguments for Darwin_Stdint_4
3125  */
3126 static const char* apzDarwin_Stdint_4Patch[] = {
3127     "format",
3128     "#if __WORDSIZE == 64\n\
3129 #define SIZE_MAX 18446744073709551615UL\n\
3130 #else\n\
3131 #define SIZE_MAX 4294967295UL\n\
3132 #endif",
3133     (char*)NULL };
3135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3137  *  Description of Darwin_Stdint_5 fix
3138  */
3139 tSCC zDarwin_Stdint_5Name[] =
3140      "darwin_stdint_5";
3143  *  File name selection pattern
3144  */
3145 tSCC zDarwin_Stdint_5List[] =
3146   "stdint-darwin.h\0stdint.h\0";
3148  *  Machine/OS name selection pattern
3149  */
3150 tSCC* apzDarwin_Stdint_5Machs[] = {
3151         "*-*-darwin*",
3152         (const char*)NULL };
3155  *  content selection pattern - do fix if pattern found
3156  */
3157 tSCC zDarwin_Stdint_5Select0[] =
3158        "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3159 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3160 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3162 #define    DARWIN_STDINT_5_TEST_CT  1
3163 static tTestDesc aDarwin_Stdint_5Tests[] = {
3164   { TT_EGREP,    zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3167  *  Fix Command Arguments for Darwin_Stdint_5
3168  */
3169 static const char* apzDarwin_Stdint_5Patch[] = {
3170     "format",
3171     "#if __WORDSIZE == 64\n\
3172 #define INTMAX_MIN   (-9223372036854775807L - 1)\n\
3173 #define INTMAX_MAX   9223372036854775807L\n\
3174 #define UINTMAX_MAX  18446744073709551615UL\n\
3175 #else\n\
3176 #define INTMAX_MIN   (-9223372036854775807LL - 1)\n\
3177 #define INTMAX_MAX   9223372036854775807LL\n\
3178 #define UINTMAX_MAX  18446744073709551615ULL\n\
3179 #endif",
3180     (char*)NULL };
3182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3184  *  Description of Darwin_Stdint_6 fix
3185  */
3186 tSCC zDarwin_Stdint_6Name[] =
3187      "darwin_stdint_6";
3190  *  File name selection pattern
3191  */
3192 tSCC zDarwin_Stdint_6List[] =
3193   "stdint-darwin.h\0stdint.h\0";
3195  *  Machine/OS name selection pattern
3196  */
3197 tSCC* apzDarwin_Stdint_6Machs[] = {
3198         "*-*-darwin*",
3199         (const char*)NULL };
3202  *  content selection pattern - do fix if pattern found
3203  */
3204 tSCC zDarwin_Stdint_6Select0[] =
3205        "#if __WORDSIZE == 64\n\
3206 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3207 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3208 #else\n\
3209 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3210 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3211 #endif";
3213 #define    DARWIN_STDINT_6_TEST_CT  1
3214 static tTestDesc aDarwin_Stdint_6Tests[] = {
3215   { TT_EGREP,    zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3218  *  Fix Command Arguments for Darwin_Stdint_6
3219  */
3220 static const char* apzDarwin_Stdint_6Patch[] = {
3221     "format",
3222     "#if __WORDSIZE == 64\n\
3223 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3224 #define PTRDIFF_MAX 9223372036854775807L\n\
3225 #else\n\
3226 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3227 #define PTRDIFF_MAX 2147483647\n\
3228 #endif",
3229     (char*)NULL };
3231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3233  *  Description of Darwin_Stdint_7 fix
3234  */
3235 tSCC zDarwin_Stdint_7Name[] =
3236      "darwin_stdint_7";
3239  *  File name selection pattern
3240  */
3241 tSCC zDarwin_Stdint_7List[] =
3242   "stdint-darwin.h\0stdint.h\0";
3244  *  Machine/OS name selection pattern
3245  */
3246 tSCC* apzDarwin_Stdint_7Machs[] = {
3247         "*-*-darwin*",
3248         (const char*)NULL };
3251  *  content selection pattern - do fix if pattern found
3252  */
3253 tSCC zDarwin_Stdint_7Select0[] =
3254        "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3255 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3257 #define    DARWIN_STDINT_7_TEST_CT  1
3258 static tTestDesc aDarwin_Stdint_7Tests[] = {
3259   { TT_EGREP,    zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3262  *  Fix Command Arguments for Darwin_Stdint_7
3263  */
3264 static const char* apzDarwin_Stdint_7Patch[] = {
3265     "format",
3266     "#if __WORDSIZE == 64\n\
3267 #define INTMAX_C(v)  (v ## L)\n\
3268 #define UINTMAX_C(v) (v ## UL)\n\
3269 #else\n\
3270 #define INTMAX_C(v)  (v ## LL)\n\
3271 #define UINTMAX_C(v) (v ## ULL)\n\
3272 #endif",
3273     (char*)NULL };
3275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3277  *  Description of Dec_Intern_Asm fix
3278  */
3279 tSCC zDec_Intern_AsmName[] =
3280      "dec_intern_asm";
3283  *  File name selection pattern
3284  */
3285 tSCC zDec_Intern_AsmList[] =
3286   "c_asm.h\0";
3288  *  Machine/OS name selection pattern
3289  */
3290 #define apzDec_Intern_AsmMachs (const char**)NULL
3291 #define DEC_INTERN_ASM_TEST_CT  0
3292 #define aDec_Intern_AsmTests   (tTestDesc*)NULL
3295  *  Fix Command Arguments for Dec_Intern_Asm
3296  */
3297 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3298     "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3299 #ifdef __DECC\n",
3300     "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3301 #endif\n",
3302     (char*)NULL };
3304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3306  *  Description of Djgpp_Wchar_H fix
3307  */
3308 tSCC zDjgpp_Wchar_HName[] =
3309      "djgpp_wchar_h";
3312  *  File name selection pattern
3313  */
3314 #define zDjgpp_Wchar_HList (char*)NULL
3316  *  Machine/OS name selection pattern
3317  */
3318 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3321  *  content selection pattern - do fix if pattern found
3322  */
3323 tSCC zDjgpp_Wchar_HSelect0[] =
3324        "__DJ_wint_t";
3327  *  content bypass pattern - skip fix if pattern found
3328  */
3329 tSCC zDjgpp_Wchar_HBypass0[] =
3330        "sys/djtypes.h";
3332 #define    DJGPP_WCHAR_H_TEST_CT  2
3333 static tTestDesc aDjgpp_Wchar_HTests[] = {
3334   { TT_NEGREP,   zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3335   { TT_EGREP,    zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3338  *  Fix Command Arguments for Djgpp_Wchar_H
3339  */
3340 static const char* apzDjgpp_Wchar_HPatch[] = {
3341     "format",
3342     "%0\n\
3343 #include <sys/djtypes.h>",
3344     "#include <stddef.h>",
3345     (char*)NULL };
3347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3349  *  Description of Ecd_Cursor fix
3350  */
3351 tSCC zEcd_CursorName[] =
3352      "ecd_cursor";
3355  *  File name selection pattern
3356  */
3357 tSCC zEcd_CursorList[] =
3358   "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3360  *  Machine/OS name selection pattern
3361  */
3362 #define apzEcd_CursorMachs (const char**)NULL
3365  *  content selection pattern - do fix if pattern found
3366  */
3367 tSCC zEcd_CursorSelect0[] =
3368        "ecd\\.cursor";
3370 #define    ECD_CURSOR_TEST_CT  1
3371 static tTestDesc aEcd_CursorTests[] = {
3372   { TT_EGREP,    zEcd_CursorSelect0, (regex_t*)NULL }, };
3375  *  Fix Command Arguments for Ecd_Cursor
3376  */
3377 static const char* apzEcd_CursorPatch[] = {
3378     "format",
3379     "ecd_cursor",
3380     (char*)NULL };
3382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3384  *  Description of Feraiseexcept_Nosse_Divbyzero fix
3385  */
3386 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3387      "feraiseexcept_nosse_divbyzero";
3390  *  File name selection pattern
3391  */
3392 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3393   "bits/fenv.h\0*/bits/fenv.h\0";
3395  *  Machine/OS name selection pattern
3396  */
3397 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3398         "i[34567]86-*-linux*",
3399         "x86*-linux*",
3400         "amd64-*-linux*",
3401         (const char*)NULL };
3404  *  content selection pattern - do fix if pattern found
3405  */
3406 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3407        "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3410  *  content bypass pattern - skip fix if pattern found
3411  */
3412 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3413        "\"fdivp .*; fwait\"";
3415 #define    FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT  2
3416 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3417   { TT_NEGREP,   zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3418   { TT_EGREP,    zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3421  *  Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3422  */
3423 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3424     "format",
3425     "# ifdef __SSE_MATH__\n\
3426 %0\n\
3427 # else\n\
3428 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3429 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3430 # endif",
3431     (char*)NULL };
3433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3435  *  Description of Feraiseexcept_Nosse_Invalid fix
3436  */
3437 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3438      "feraiseexcept_nosse_invalid";
3441  *  File name selection pattern
3442  */
3443 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3444   "bits/fenv.h\0*/bits/fenv.h\0";
3446  *  Machine/OS name selection pattern
3447  */
3448 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3449         "i[34567]86-*-linux*",
3450         "x86*-linux*",
3451         "amd64-*-linux*",
3452         (const char*)NULL };
3455  *  content selection pattern - do fix if pattern found
3456  */
3457 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3458        "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3461  *  content bypass pattern - skip fix if pattern found
3462  */
3463 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3464        "\"fdiv .*; fwait\"";
3466 #define    FERAISEEXCEPT_NOSSE_INVALID_TEST_CT  2
3467 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3468   { TT_NEGREP,   zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3469   { TT_EGREP,    zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3472  *  Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3473  */
3474 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3475     "format",
3476     "# ifdef __SSE_MATH__\n\
3477 %0\n\
3478 # else\n\
3479 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3480 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3481 # endif",
3482     (char*)NULL };
3484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3486  *  Description of Freebsd_Gcc3_Breakage fix
3487  */
3488 tSCC zFreebsd_Gcc3_BreakageName[] =
3489      "freebsd_gcc3_breakage";
3492  *  File name selection pattern
3493  */
3494 tSCC zFreebsd_Gcc3_BreakageList[] =
3495   "sys/cdefs.h\0";
3497  *  Machine/OS name selection pattern
3498  */
3499 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3500         "*-*-freebsd*",
3501         (const char*)NULL };
3504  *  content selection pattern - do fix if pattern found
3505  */
3506 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3507        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3510  *  content bypass pattern - skip fix if pattern found
3511  */
3512 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3513        "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3515 #define    FREEBSD_GCC3_BREAKAGE_TEST_CT  2
3516 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3517   { TT_NEGREP,   zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3518   { TT_EGREP,    zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3521  *  Fix Command Arguments for Freebsd_Gcc3_Breakage
3522  */
3523 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3524     "format",
3525     "%0 || __GNUC__ >= 3",
3526     (char*)NULL };
3528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3530  *  Description of Freebsd_Gcc4_Breakage fix
3531  */
3532 tSCC zFreebsd_Gcc4_BreakageName[] =
3533      "freebsd_gcc4_breakage";
3536  *  File name selection pattern
3537  */
3538 tSCC zFreebsd_Gcc4_BreakageList[] =
3539   "sys/cdefs.h\0";
3541  *  Machine/OS name selection pattern
3542  */
3543 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3544         "*-*-freebsd*",
3545         (const char*)NULL };
3548  *  content selection pattern - do fix if pattern found
3549  */
3550 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3551        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3553 #define    FREEBSD_GCC4_BREAKAGE_TEST_CT  1
3554 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3555   { TT_EGREP,    zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3558  *  Fix Command Arguments for Freebsd_Gcc4_Breakage
3559  */
3560 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3561     "format",
3562     "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3563     (char*)NULL };
3565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3567  *  Description of Glibc_C99_Inline_1 fix
3568  */
3569 tSCC zGlibc_C99_Inline_1Name[] =
3570      "glibc_c99_inline_1";
3573  *  File name selection pattern
3574  */
3575 tSCC zGlibc_C99_Inline_1List[] =
3576   "features.h\0*/features.h\0";
3578  *  Machine/OS name selection pattern
3579  */
3580 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3583  *  content selection pattern - do fix if pattern found
3584  */
3585 tSCC zGlibc_C99_Inline_1Select0[] =
3586        "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3588 #define    GLIBC_C99_INLINE_1_TEST_CT  1
3589 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3590   { TT_EGREP,    zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3593  *  Fix Command Arguments for Glibc_C99_Inline_1
3594  */
3595 static const char* apzGlibc_C99_Inline_1Patch[] = {
3596     "format",
3597     "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3598     (char*)NULL };
3600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3602  *  Description of Glibc_C99_Inline_1a fix
3603  */
3604 tSCC zGlibc_C99_Inline_1aName[] =
3605      "glibc_c99_inline_1a";
3608  *  File name selection pattern
3609  */
3610 tSCC zGlibc_C99_Inline_1aList[] =
3611   "features.h\0*/features.h\0";
3613  *  Machine/OS name selection pattern
3614  */
3615 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3618  *  content selection pattern - do fix if pattern found
3619  */
3620 tSCC zGlibc_C99_Inline_1aSelect0[] =
3621        "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3622 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3624 #define    GLIBC_C99_INLINE_1A_TEST_CT  1
3625 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3626   { TT_EGREP,    zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3629  *  Fix Command Arguments for Glibc_C99_Inline_1a
3630  */
3631 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3632     "format",
3633     "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3634 %2",
3635     (char*)NULL };
3637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3639  *  Description of Glibc_C99_Inline_2 fix
3640  */
3641 tSCC zGlibc_C99_Inline_2Name[] =
3642      "glibc_c99_inline_2";
3645  *  File name selection pattern
3646  */
3647 tSCC zGlibc_C99_Inline_2List[] =
3648   "sys/stat.h\0*/sys/stat.h\0";
3650  *  Machine/OS name selection pattern
3651  */
3652 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3655  *  content selection pattern - do fix if pattern found
3656  */
3657 tSCC zGlibc_C99_Inline_2Select0[] =
3658        "extern __inline__ int";
3660 #define    GLIBC_C99_INLINE_2_TEST_CT  1
3661 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3662   { TT_EGREP,    zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3665  *  Fix Command Arguments for Glibc_C99_Inline_2
3666  */
3667 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3668     "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3669 extern\\\n\
3670 #endif\\\n\
3671 __inline__ int \\1/",
3672     "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3673 extern\\\n\
3674 #endif\\\n\
3675 __inline__ int \\1/",
3676     "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3677 extern\\\n\
3678 #endif\\\n\
3679 __inline__ int \\1/",
3680     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3681 extern\\\n\
3682 #endif\\\n\
3683 __inline__ int __REDIRECT\\1 (\\2/",
3684     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3685 extern\\\n\
3686 #endif\\\n\
3687 __inline__ int __REDIRECT\\1 (\\2/",
3688     "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3689 extern\\\n\
3690 #endif\\\n\
3691 __inline__ int/",
3692     (char*)NULL };
3694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3696  *  Description of Glibc_C99_Inline_3 fix
3697  */
3698 tSCC zGlibc_C99_Inline_3Name[] =
3699      "glibc_c99_inline_3";
3702  *  File name selection pattern
3703  */
3704 tSCC zGlibc_C99_Inline_3List[] =
3705   "bits/string2.h\0*/bits/string2.h\0";
3707  *  Machine/OS name selection pattern
3708  */
3709 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3712  *  content selection pattern - do fix if pattern found
3713  */
3714 tSCC zGlibc_C99_Inline_3Select0[] =
3715        "extern __inline";
3718  *  content bypass pattern - skip fix if pattern found
3719  */
3720 tSCC zGlibc_C99_Inline_3Bypass0[] =
3721        "__extern_inline|__GNU_STDC_INLINE__";
3723 #define    GLIBC_C99_INLINE_3_TEST_CT  2
3724 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3725   { TT_NEGREP,   zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3726   { TT_EGREP,    zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3729  *  Fix Command Arguments for Glibc_C99_Inline_3
3730  */
3731 static const char* apzGlibc_C99_Inline_3Patch[] = {
3732     "format",
3733     "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3734     "^# ifdef __cplusplus$",
3735     (char*)NULL };
3737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3739  *  Description of Glibc_C99_Inline_4 fix
3740  */
3741 tSCC zGlibc_C99_Inline_4Name[] =
3742      "glibc_c99_inline_4";
3745  *  File name selection pattern
3746  */
3747 tSCC zGlibc_C99_Inline_4List[] =
3748   "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3750  *  Machine/OS name selection pattern
3751  */
3752 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3755  *  content selection pattern - do fix if pattern found
3756  */
3757 tSCC zGlibc_C99_Inline_4Select0[] =
3758        "(^| )extern __inline";
3761  *  content bypass pattern - skip fix if pattern found
3762  */
3763 tSCC zGlibc_C99_Inline_4Bypass0[] =
3764        "__extern_inline|__gnu_inline__";
3766 #define    GLIBC_C99_INLINE_4_TEST_CT  2
3767 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3768   { TT_NEGREP,   zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3769   { TT_EGREP,    zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3772  *  Fix Command Arguments for Glibc_C99_Inline_4
3773  */
3774 static const char* apzGlibc_C99_Inline_4Patch[] = {
3775     "format",
3776     "%0 __attribute__ ((__gnu_inline__))",
3777     (char*)NULL };
3779 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3781  *  Description of Glibc_Mutex_Init fix
3782  */
3783 tSCC zGlibc_Mutex_InitName[] =
3784      "glibc_mutex_init";
3787  *  File name selection pattern
3788  */
3789 tSCC zGlibc_Mutex_InitList[] =
3790   "pthread.h\0";
3792  *  Machine/OS name selection pattern
3793  */
3794 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3797  *  content selection pattern - do fix if pattern found
3798  */
3799 tSCC zGlibc_Mutex_InitSelect0[] =
3800        "\\{ *\\{ *0, *\\} *\\}";
3802 #define    GLIBC_MUTEX_INIT_TEST_CT  1
3803 static tTestDesc aGlibc_Mutex_InitTests[] = {
3804   { TT_EGREP,    zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3807  *  Fix Command Arguments for Glibc_Mutex_Init
3808  */
3809 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3810     "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3811 N\n\
3812 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3814     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3815     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3816     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3817     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3818     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3819     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3820     "-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\
3821 #  \\1\\\n\
3822   { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3823 # else\\\n\
3824 #  \\1\\\n\
3825   { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3826 # endif/",
3827     "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3828     "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3829     (char*)NULL };
3831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3833  *  Description of Glibc_Stdint fix
3834  */
3835 tSCC zGlibc_StdintName[] =
3836      "glibc_stdint";
3839  *  File name selection pattern
3840  */
3841 tSCC zGlibc_StdintList[] =
3842   "stdint.h\0";
3844  *  Machine/OS name selection pattern
3845  */
3846 #define apzGlibc_StdintMachs (const char**)NULL
3849  *  content selection pattern - do fix if pattern found
3850  */
3851 tSCC zGlibc_StdintSelect0[] =
3852        "GNU C Library";
3854 #define    GLIBC_STDINT_TEST_CT  1
3855 static tTestDesc aGlibc_StdintTests[] = {
3856   { TT_EGREP,    zGlibc_StdintSelect0, (regex_t*)NULL }, };
3859  *  Fix Command Arguments for Glibc_Stdint
3860  */
3861 static const char* apzGlibc_StdintPatch[] = {
3862     "format",
3863     "# define UINT8_C(c)\tc\n\
3864 # define UINT16_C(c)\tc",
3865     "# define UINT8_C\\(c\\)\tc ## U\n\
3866 # define UINT16_C\\(c\\)\tc ## U",
3867     (char*)NULL };
3869 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3871  *  Description of Glibc_Strncpy fix
3872  */
3873 tSCC zGlibc_StrncpyName[] =
3874      "glibc_strncpy";
3877  *  File name selection pattern
3878  */
3879 tSCC zGlibc_StrncpyList[] =
3880   "bits/string2.h\0*/bits/string2.h\0";
3882  *  Machine/OS name selection pattern
3883  */
3884 #define apzGlibc_StrncpyMachs (const char**)NULL
3887  *  content bypass pattern - skip fix if pattern found
3888  */
3889 tSCC zGlibc_StrncpyBypass0[] =
3890        "__builtin_strncpy";
3892 #define    GLIBC_STRNCPY_TEST_CT  1
3893 static tTestDesc aGlibc_StrncpyTests[] = {
3894   { TT_NEGREP,   zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3897  *  Fix Command Arguments for Glibc_Strncpy
3898  */
3899 static const char* apzGlibc_StrncpyPatch[] = {
3900     "format",
3901     "#  define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3902     "#  define strncpy([^\n\
3903 ]*\\\\\n\
3904 )*[^\n\
3905 ]*",
3906     (char*)NULL };
3908 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3910  *  Description of Glibc_Tgmath fix
3911  */
3912 tSCC zGlibc_TgmathName[] =
3913      "glibc_tgmath";
3916  *  File name selection pattern
3917  */
3918 tSCC zGlibc_TgmathList[] =
3919   "tgmath.h\0";
3921  *  Machine/OS name selection pattern
3922  */
3923 #define apzGlibc_TgmathMachs (const char**)NULL
3926  *  content selection pattern - do fix if pattern found
3927  */
3928 tSCC zGlibc_TgmathSelect0[] =
3929        "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3932  *  content bypass pattern - skip fix if pattern found
3933  */
3934 tSCC zGlibc_TgmathBypass0[] =
3935        "__floating_type\\(type\\) \\\\\n\
3936 .*__builtin_classify_type";
3938 #define    GLIBC_TGMATH_TEST_CT  2
3939 static tTestDesc aGlibc_TgmathTests[] = {
3940   { TT_NEGREP,   zGlibc_TgmathBypass0, (regex_t*)NULL },
3941   { TT_EGREP,    zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3944  *  Fix Command Arguments for Glibc_Tgmath
3945  */
3946 static const char* apzGlibc_TgmathPatch[] = {
3947     "format",
3948     "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3949     (char*)NULL };
3951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3953  *  Description of Gnu_Types fix
3954  */
3955 tSCC zGnu_TypesName[] =
3956      "gnu_types";
3959  *  File name selection pattern
3960  */
3961 tSCC zGnu_TypesList[] =
3962   "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3964  *  Machine/OS name selection pattern
3965  */
3966 tSCC* apzGnu_TypesMachs[] = {
3967         "*-*-solaris2.1[0-9]*",
3968         (const char*)NULL };
3971  *  content selection pattern - do fix if pattern found
3972  */
3973 tSCC zGnu_TypesSelect0[] =
3974        "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3977  *  content bypass pattern - skip fix if pattern found
3978  */
3979 tSCC zGnu_TypesBypass0[] =
3980        "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3982 #define    GNU_TYPES_TEST_CT  2
3983 static tTestDesc aGnu_TypesTests[] = {
3984   { TT_NEGREP,   zGnu_TypesBypass0, (regex_t*)NULL },
3985   { TT_EGREP,    zGnu_TypesSelect0, (regex_t*)NULL }, };
3988  *  Fix Command Arguments for Gnu_Types
3989  */
3990 static const char* apzGnu_TypesPatch[] = {
3991     "gnu_type",
3992     (char*)NULL };
3994 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3996  *  Description of Hp_Inline fix
3997  */
3998 tSCC zHp_InlineName[] =
3999      "hp_inline";
4002  *  File name selection pattern
4003  */
4004 tSCC zHp_InlineList[] =
4005   "sys/spinlock.h\0machine/machparam.h\0";
4007  *  Machine/OS name selection pattern
4008  */
4009 #define apzHp_InlineMachs (const char**)NULL
4012  *  content selection pattern - do fix if pattern found
4013  */
4014 tSCC zHp_InlineSelect0[] =
4015        "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4017 #define    HP_INLINE_TEST_CT  1
4018 static tTestDesc aHp_InlineTests[] = {
4019   { TT_EGREP,    zHp_InlineSelect0, (regex_t*)NULL }, };
4022  *  Fix Command Arguments for Hp_Inline
4023  */
4024 static const char* apzHp_InlinePatch[] = {
4025     "format",
4026     "%1<machine/%2.h>",
4027     "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4028     (char*)NULL };
4030 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4032  *  Description of Hp_Sysfile fix
4033  */
4034 tSCC zHp_SysfileName[] =
4035      "hp_sysfile";
4038  *  File name selection pattern
4039  */
4040 tSCC zHp_SysfileList[] =
4041   "sys/file.h\0";
4043  *  Machine/OS name selection pattern
4044  */
4045 #define apzHp_SysfileMachs (const char**)NULL
4048  *  content selection pattern - do fix if pattern found
4049  */
4050 tSCC zHp_SysfileSelect0[] =
4051        "HPUX_SOURCE";
4053 #define    HP_SYSFILE_TEST_CT  1
4054 static tTestDesc aHp_SysfileTests[] = {
4055   { TT_EGREP,    zHp_SysfileSelect0, (regex_t*)NULL }, };
4058  *  Fix Command Arguments for Hp_Sysfile
4059  */
4060 static const char* apzHp_SysfilePatch[] = {
4061     "format",
4062     "(struct file *, ...)",
4063     "\\(\\.\\.\\.\\)",
4064     (char*)NULL };
4066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4068  *  Description of Hppa_Hpux_Fp_Macros fix
4069  */
4070 tSCC zHppa_Hpux_Fp_MacrosName[] =
4071      "hppa_hpux_fp_macros";
4074  *  File name selection pattern
4075  */
4076 tSCC zHppa_Hpux_Fp_MacrosList[] =
4077   "math.h\0";
4079  *  Machine/OS name selection pattern
4080  */
4081 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4082         "hppa*-hp-hpux11*",
4083         (const char*)NULL };
4086  *  content selection pattern - do fix if pattern found
4087  */
4088 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4089        "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4090 #[ \t]*define[ \t]*FP_ZERO.*\n\
4091 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4092 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4093 #[ \t]*define[ \t]*FP_NAN.*\n";
4095 #define    HPPA_HPUX_FP_MACROS_TEST_CT  1
4096 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4097   { TT_EGREP,    zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4100  *  Fix Command Arguments for Hppa_Hpux_Fp_Macros
4101  */
4102 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4103     "format",
4104     "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4105 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4106    (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4107 %0#endif\n\n\
4108 #ifdef _INCLUDE_HPUX_SOURCE\n",
4109     (char*)NULL };
4111 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4113  *  Description of Hpux10_Cpp_Pow_Inline fix
4114  */
4115 tSCC zHpux10_Cpp_Pow_InlineName[] =
4116      "hpux10_cpp_pow_inline";
4119  *  File name selection pattern
4120  */
4121 tSCC zHpux10_Cpp_Pow_InlineList[] =
4122   "fixinc-test-limits.h\0math.h\0";
4124  *  Machine/OS name selection pattern
4125  */
4126 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4129  *  content selection pattern - do fix if pattern found
4130  */
4131 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4132        "^# +ifdef +__cplusplus\n\
4133  +\\}\n\
4134  +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4135 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4136  +\\}\n\
4137  +extern +\"C\" +\\{\n\
4138 #else\n\
4139 # +endif";
4141 #define    HPUX10_CPP_POW_INLINE_TEST_CT  1
4142 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4143   { TT_EGREP,    zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4146  *  Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4147  */
4148 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4149     "format",
4150     "",
4151     (char*)NULL };
4153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4155  *  Description of Hpux11_Cpp_Pow_Inline fix
4156  */
4157 tSCC zHpux11_Cpp_Pow_InlineName[] =
4158      "hpux11_cpp_pow_inline";
4161  *  File name selection pattern
4162  */
4163 tSCC zHpux11_Cpp_Pow_InlineList[] =
4164   "math.h\0";
4166  *  Machine/OS name selection pattern
4167  */
4168 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4171  *  content selection pattern - do fix if pattern found
4172  */
4173 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4174        " +inline double pow\\(double d,int expon\\) \\{\n\
4175  +return pow\\(d, \\(double\\)expon\\);\n\
4176  +\\}\n";
4178 #define    HPUX11_CPP_POW_INLINE_TEST_CT  1
4179 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4180   { TT_EGREP,    zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4183  *  Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4184  */
4185 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4186     "format",
4187     "",
4188     (char*)NULL };
4190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4192  *  Description of Hpux10_Ctype_Declarations1 fix
4193  */
4194 tSCC zHpux10_Ctype_Declarations1Name[] =
4195      "hpux10_ctype_declarations1";
4198  *  File name selection pattern
4199  */
4200 tSCC zHpux10_Ctype_Declarations1List[] =
4201   "ctype.h\0";
4203  *  Machine/OS name selection pattern
4204  */
4205 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4208  *  content selection pattern - do fix if pattern found
4209  */
4210 tSCC zHpux10_Ctype_Declarations1Select0[] =
4211        "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4214  *  content bypass pattern - skip fix if pattern found
4215  */
4216 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4217        "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4219 #define    HPUX10_CTYPE_DECLARATIONS1_TEST_CT  2
4220 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4221   { TT_NEGREP,   zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4222   { TT_EGREP,    zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4225  *  Fix Command Arguments for Hpux10_Ctype_Declarations1
4226  */
4227 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4228     "format",
4229     "#ifdef _PROTOTYPES\n\
4230 extern int __tolower(int);\n\
4231 extern int __toupper(int);\n\
4232 #else /* NOT _PROTOTYPES */\n\
4233 extern int __tolower();\n\
4234 extern int __toupper();\n\
4235 #endif /* _PROTOTYPES */\n\n\
4236 %0\n",
4237     (char*)NULL };
4239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4241  *  Description of Hpux10_Ctype_Declarations2 fix
4242  */
4243 tSCC zHpux10_Ctype_Declarations2Name[] =
4244      "hpux10_ctype_declarations2";
4247  *  File name selection pattern
4248  */
4249 tSCC zHpux10_Ctype_Declarations2List[] =
4250   "ctype.h\0";
4252  *  Machine/OS name selection pattern
4253  */
4254 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4257  *  content selection pattern - do fix if pattern found
4258  */
4259 tSCC zHpux10_Ctype_Declarations2Select0[] =
4260        "^#  if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4263  *  content bypass pattern - skip fix if pattern found
4264  */
4265 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4266        "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4268 #define    HPUX10_CTYPE_DECLARATIONS2_TEST_CT  2
4269 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4270   { TT_NEGREP,   zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4271   { TT_EGREP,    zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4274  *  Fix Command Arguments for Hpux10_Ctype_Declarations2
4275  */
4276 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4277     "format",
4278     "%0\n\n\
4279 #ifdef _PROTOTYPES\n\
4280      extern int _isalnum(int);\n\
4281      extern int _isalpha(int);\n\
4282      extern int _iscntrl(int);\n\
4283      extern int _isdigit(int);\n\
4284      extern int _isgraph(int);\n\
4285      extern int _islower(int);\n\
4286      extern int _isprint(int);\n\
4287      extern int _ispunct(int);\n\
4288      extern int _isspace(int);\n\
4289      extern int _isupper(int);\n\
4290      extern int _isxdigit(int);\n\
4291 #  else /* not _PROTOTYPES */\n\
4292      extern int _isalnum();\n\
4293      extern int _isalpha();\n\
4294      extern int _iscntrl();\n\
4295      extern int _isdigit();\n\
4296      extern int _isgraph();\n\
4297      extern int _islower();\n\
4298      extern int _isprint();\n\
4299      extern int _ispunct();\n\
4300      extern int _isspace();\n\
4301      extern int _isupper();\n\
4302      extern int _isxdigit();\n\
4303 #endif /* _PROTOTYPES */\n",
4304     (char*)NULL };
4306 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4308  *  Description of Hpux10_Stdio_Declarations fix
4309  */
4310 tSCC zHpux10_Stdio_DeclarationsName[] =
4311      "hpux10_stdio_declarations";
4314  *  File name selection pattern
4315  */
4316 tSCC zHpux10_Stdio_DeclarationsList[] =
4317   "stdio.h\0";
4319  *  Machine/OS name selection pattern
4320  */
4321 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4324  *  content selection pattern - do fix if pattern found
4325  */
4326 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4327        "^#[ \t]*define _iob[ \t]*__iob";
4330  *  content bypass pattern - skip fix if pattern found
4331  */
4332 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4333        "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4335 #define    HPUX10_STDIO_DECLARATIONS_TEST_CT  2
4336 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4337   { TT_NEGREP,   zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4338   { TT_EGREP,    zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4341  *  Fix Command Arguments for Hpux10_Stdio_Declarations
4342  */
4343 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4344     "format",
4345     "%0\n\n\
4346 #  if defined(__STDC__) || defined(__cplusplus)\n\
4347      extern int snprintf(char *, size_t, const char *, ...);\n\
4348      extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4349 #  else /* not __STDC__) || __cplusplus */\n\
4350      extern int snprintf();\n\
4351      extern int vsnprintf();\n\
4352 #  endif /* __STDC__) || __cplusplus */\n",
4353     (char*)NULL };
4355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4357  *  Description of Hppa_Hpux11_Alloca fix
4358  */
4359 tSCC zHppa_Hpux11_AllocaName[] =
4360      "hppa_hpux11_alloca";
4363  *  File name selection pattern
4364  */
4365 tSCC zHppa_Hpux11_AllocaList[] =
4366   "alloca.h\0";
4368  *  Machine/OS name selection pattern
4369  */
4370 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
4371         "hppa*-*-hpux11*",
4372         (const char*)NULL };
4375  *  content selection pattern - do fix if pattern found
4376  */
4377 tSCC zHppa_Hpux11_AllocaSelect0[] =
4378        "#ifndef _STDDEF_INCLUDED";
4380 #define    HPPA_HPUX11_ALLOCA_TEST_CT  1
4381 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
4382   { TT_EGREP,    zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
4385  *  Fix Command Arguments for Hppa_Hpux11_Alloca
4386  */
4387 static const char* apzHppa_Hpux11_AllocaPatch[] = {
4388     "format",
4389     "#ifndef _SYS_STDSYMS_INCLUDED\n\
4390 #  include <sys/stdsyms.h>\n\
4391 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
4392 %0",
4393     (char*)NULL };
4395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4397  *  Description of Hpux11_Abs fix
4398  */
4399 tSCC zHpux11_AbsName[] =
4400      "hpux11_abs";
4403  *  File name selection pattern
4404  */
4405 tSCC zHpux11_AbsList[] =
4406   "stdlib.h\0";
4408  *  Machine/OS name selection pattern
4409  */
4410 tSCC* apzHpux11_AbsMachs[] = {
4411         "*-hp-hpux11*",
4412         (const char*)NULL };
4415  *  content selection pattern - do fix if pattern found
4416  */
4417 tSCC zHpux11_AbsSelect0[] =
4418        "ifndef _MATH_INCLUDED";
4420 #define    HPUX11_ABS_TEST_CT  1
4421 static tTestDesc aHpux11_AbsTests[] = {
4422   { TT_EGREP,    zHpux11_AbsSelect0, (regex_t*)NULL }, };
4425  *  Fix Command Arguments for Hpux11_Abs
4426  */
4427 static const char* apzHpux11_AbsPatch[] = {
4428     "format",
4429     "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4430     (char*)NULL };
4432 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4434  *  Description of Hpux11_Lwp_Rwlock_Valid fix
4435  */
4436 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4437      "hpux11_lwp_rwlock_valid";
4440  *  File name selection pattern
4441  */
4442 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4443   "sys/pthread.h\0";
4445  *  Machine/OS name selection pattern
4446  */
4447 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4448         "*-hp-hpux11*",
4449         (const char*)NULL };
4452  *  content selection pattern - do fix if pattern found
4453  */
4454 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4455        "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4457 #define    HPUX11_LWP_RWLOCK_VALID_TEST_CT  1
4458 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4459   { TT_EGREP,    zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4462  *  Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4463  */
4464 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4465     "format",
4466     "#define __LWP_RWLOCK_VALID              -29551",
4467     (char*)NULL };
4469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4471  *  Description of Hpux11_Extern_Sendfile fix
4472  */
4473 tSCC zHpux11_Extern_SendfileName[] =
4474      "hpux11_extern_sendfile";
4477  *  File name selection pattern
4478  */
4479 tSCC zHpux11_Extern_SendfileList[] =
4480   "sys/socket.h\0";
4482  *  Machine/OS name selection pattern
4483  */
4484 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4485         "*-hp-hpux11.[12]*",
4486         (const char*)NULL };
4489  *  content selection pattern - do fix if pattern found
4490  */
4491 tSCC zHpux11_Extern_SendfileSelect0[] =
4492        "^[ \t]*extern sbsize_t sendfile.*\n\
4493 .*, int\\)\\);\n";
4495 #define    HPUX11_EXTERN_SENDFILE_TEST_CT  1
4496 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4497   { TT_EGREP,    zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4500  *  Fix Command Arguments for Hpux11_Extern_Sendfile
4501  */
4502 static const char* apzHpux11_Extern_SendfilePatch[] = {
4503     "format",
4504     "#ifndef _APP32_64BIT_OFF_T\n\
4505 %0#endif\n",
4506     (char*)NULL };
4508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4510  *  Description of Hpux11_Extern_Sendpath fix
4511  */
4512 tSCC zHpux11_Extern_SendpathName[] =
4513      "hpux11_extern_sendpath";
4516  *  File name selection pattern
4517  */
4518 tSCC zHpux11_Extern_SendpathList[] =
4519   "sys/socket.h\0";
4521  *  Machine/OS name selection pattern
4522  */
4523 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4524         "*-hp-hpux11.[12]*",
4525         (const char*)NULL };
4528  *  content selection pattern - do fix if pattern found
4529  */
4530 tSCC zHpux11_Extern_SendpathSelect0[] =
4531        "^[ \t]*extern sbsize_t sendpath.*\n\
4532 .*, int\\)\\);\n";
4534 #define    HPUX11_EXTERN_SENDPATH_TEST_CT  1
4535 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4536   { TT_EGREP,    zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4539  *  Fix Command Arguments for Hpux11_Extern_Sendpath
4540  */
4541 static const char* apzHpux11_Extern_SendpathPatch[] = {
4542     "format",
4543     "#ifndef _APP32_64BIT_OFF_T\n\
4544 %0#endif\n",
4545     (char*)NULL };
4547 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4549  *  Description of Hpux11_Fabsf fix
4550  */
4551 tSCC zHpux11_FabsfName[] =
4552      "hpux11_fabsf";
4555  *  File name selection pattern
4556  */
4557 tSCC zHpux11_FabsfList[] =
4558   "math.h\0";
4560  *  Machine/OS name selection pattern
4561  */
4562 tSCC* apzHpux11_FabsfMachs[] = {
4563         "*-hp-hpux11*",
4564         (const char*)NULL };
4567  *  content selection pattern - do fix if pattern found
4568  */
4569 tSCC zHpux11_FabsfSelect0[] =
4570        "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4572 #define    HPUX11_FABSF_TEST_CT  1
4573 static tTestDesc aHpux11_FabsfTests[] = {
4574   { TT_EGREP,    zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4577  *  Fix Command Arguments for Hpux11_Fabsf
4578  */
4579 static const char* apzHpux11_FabsfPatch[] = {
4580     "format",
4581     "#ifndef __cplusplus\n\
4582 %0\n\
4583 #endif",
4584     (char*)NULL };
4586 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4588  *  Description of Hpux11_Pthread_Pointer fix
4589  */
4590 tSCC zHpux11_Pthread_PointerName[] =
4591      "hpux11_pthread_pointer";
4594  *  File name selection pattern
4595  */
4596 tSCC zHpux11_Pthread_PointerList[] =
4597   "sys/pthread.h\0";
4599  *  Machine/OS name selection pattern
4600  */
4601 tSCC* apzHpux11_Pthread_PointerMachs[] = {
4602         "*-hp-hpux11.[0-3]*",
4603         (const char*)NULL };
4606  *  content selection pattern - do fix if pattern found
4607  */
4608 tSCC zHpux11_Pthread_PointerSelect0[] =
4609        "(void[ \t]*\\*)(m|c|rw)(_ptr)";
4611 #define    HPUX11_PTHREAD_POINTER_TEST_CT  1
4612 static tTestDesc aHpux11_Pthread_PointerTests[] = {
4613   { TT_EGREP,    zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
4616  *  Fix Command Arguments for Hpux11_Pthread_Pointer
4617  */
4618 static const char* apzHpux11_Pthread_PointerPatch[] = {
4619     "format",
4620     "long\t%2%3",
4621     (char*)NULL };
4623 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4625  *  Description of Hpux11_Pthread_Const fix
4626  */
4627 tSCC zHpux11_Pthread_ConstName[] =
4628      "hpux11_pthread_const";
4631  *  File name selection pattern
4632  */
4633 tSCC zHpux11_Pthread_ConstList[] =
4634   "sys/pthread.h\0";
4636  *  Machine/OS name selection pattern
4637  */
4638 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4639         "*-hp-hpux11.[0-3]*",
4640         (const char*)NULL };
4643  *  content selection pattern - do fix if pattern found
4644  */
4645 tSCC zHpux11_Pthread_ConstSelect0[] =
4646        "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
4648 #define    HPUX11_PTHREAD_CONST_TEST_CT  1
4649 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4650   { TT_EGREP,    zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4653  *  Fix Command Arguments for Hpux11_Pthread_Const
4654  */
4655 static const char* apzHpux11_Pthread_ConstPatch[] = {
4656     "format",
4657     "%11",
4658     (char*)NULL };
4660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4662  *  Description of Hpux11_Size_T fix
4663  */
4664 tSCC zHpux11_Size_TName[] =
4665      "hpux11_size_t";
4668  *  File name selection pattern
4669  */
4670 #define zHpux11_Size_TList (char*)NULL
4672  *  Machine/OS name selection pattern
4673  */
4674 tSCC* apzHpux11_Size_TMachs[] = {
4675         "*-hp-hpux11*",
4676         (const char*)NULL };
4679  *  content selection pattern - do fix if pattern found
4680  */
4681 tSCC zHpux11_Size_TSelect0[] =
4682        "__size_t";
4684 #define    HPUX11_SIZE_T_TEST_CT  1
4685 static tTestDesc aHpux11_Size_TTests[] = {
4686   { TT_EGREP,    zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4689  *  Fix Command Arguments for Hpux11_Size_T
4690  */
4691 static const char* apzHpux11_Size_TPatch[] = {
4692     "format",
4693     "_hpux_size_t",
4694     (char*)NULL };
4696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4698  *  Description of Hpux11_Snprintf fix
4699  */
4700 tSCC zHpux11_SnprintfName[] =
4701      "hpux11_snprintf";
4704  *  File name selection pattern
4705  */
4706 tSCC zHpux11_SnprintfList[] =
4707   "stdio.h\0";
4709  *  Machine/OS name selection pattern
4710  */
4711 #define apzHpux11_SnprintfMachs (const char**)NULL
4714  *  content selection pattern - do fix if pattern found
4715  */
4716 tSCC zHpux11_SnprintfSelect0[] =
4717        "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4719 #define    HPUX11_SNPRINTF_TEST_CT  1
4720 static tTestDesc aHpux11_SnprintfTests[] = {
4721   { TT_EGREP,    zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4724  *  Fix Command Arguments for Hpux11_Snprintf
4725  */
4726 static const char* apzHpux11_SnprintfPatch[] = {
4727     "format",
4728     "%1 const %3",
4729     (char*)NULL };
4731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4733  *  Description of Hpux11_Vsnprintf fix
4734  */
4735 tSCC zHpux11_VsnprintfName[] =
4736      "hpux11_vsnprintf";
4739  *  File name selection pattern
4740  */
4741 tSCC zHpux11_VsnprintfList[] =
4742   "stdio.h\0";
4744  *  Machine/OS name selection pattern
4745  */
4746 #define apzHpux11_VsnprintfMachs (const char**)NULL
4749  *  content selection pattern - do fix if pattern found
4750  */
4751 tSCC zHpux11_VsnprintfSelect0[] =
4752        "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4754 #define    HPUX11_VSNPRINTF_TEST_CT  1
4755 static tTestDesc aHpux11_VsnprintfTests[] = {
4756   { TT_EGREP,    zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4759  *  Fix Command Arguments for Hpux11_Vsnprintf
4760  */
4761 static const char* apzHpux11_VsnprintfPatch[] = {
4762     "format",
4763     "%1 __va_list);",
4764     (char*)NULL };
4766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4768  *  Description of Hpux_Vsscanf fix
4769  */
4770 tSCC zHpux_VsscanfName[] =
4771      "hpux_vsscanf";
4774  *  File name selection pattern
4775  */
4776 tSCC zHpux_VsscanfList[] =
4777   "stdio.h\0";
4779  *  Machine/OS name selection pattern
4780  */
4781 tSCC* apzHpux_VsscanfMachs[] = {
4782         "*-*-hpux*",
4783         (const char*)NULL };
4786  *  content selection pattern - do fix if pattern found
4787  */
4788 tSCC zHpux_VsscanfSelect0[] =
4789        "(extern int vsscanf\\()char";
4791 #define    HPUX_VSSCANF_TEST_CT  1
4792 static tTestDesc aHpux_VsscanfTests[] = {
4793   { TT_EGREP,    zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4796  *  Fix Command Arguments for Hpux_Vsscanf
4797  */
4798 static const char* apzHpux_VsscanfPatch[] = {
4799     "format",
4800     "%1const char",
4801     (char*)NULL };
4803 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4805  *  Description of Hpux8_Bogus_Inlines fix
4806  */
4807 tSCC zHpux8_Bogus_InlinesName[] =
4808      "hpux8_bogus_inlines";
4811  *  File name selection pattern
4812  */
4813 tSCC zHpux8_Bogus_InlinesList[] =
4814   "math.h\0";
4816  *  Machine/OS name selection pattern
4817  */
4818 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4821  *  content selection pattern - do fix if pattern found
4822  */
4823 tSCC zHpux8_Bogus_InlinesSelect0[] =
4824        "inline";
4827  *  content bypass pattern - skip fix if pattern found
4828  */
4829 tSCC zHpux8_Bogus_InlinesBypass0[] =
4830        "__GNUG__";
4832 #define    HPUX8_BOGUS_INLINES_TEST_CT  2
4833 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4834   { TT_NEGREP,   zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4835   { TT_EGREP,    zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4838  *  Fix Command Arguments for Hpux8_Bogus_Inlines
4839  */
4840 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4841     "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4842     "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4843     "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4844     "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4845     (char*)NULL };
4847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4849  *  Description of Hpux_C99_Intptr fix
4850  */
4851 tSCC zHpux_C99_IntptrName[] =
4852      "hpux_c99_intptr";
4855  *  File name selection pattern
4856  */
4857 tSCC zHpux_C99_IntptrList[] =
4858   "stdint-hpux11.h\0stdint.h\0";
4860  *  Machine/OS name selection pattern
4861  */
4862 tSCC* apzHpux_C99_IntptrMachs[] = {
4863         "*-hp-hpux11.3*",
4864         (const char*)NULL };
4865 #define HPUX_C99_INTPTR_TEST_CT  0
4866 #define aHpux_C99_IntptrTests   (tTestDesc*)NULL
4869  *  Fix Command Arguments for Hpux_C99_Intptr
4870  */
4871 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4872     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4873     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4874     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4875     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4876     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4877     "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4878     (char*)NULL };
4880 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4882  *  Description of Hpux_C99_Inttypes fix
4883  */
4884 tSCC zHpux_C99_InttypesName[] =
4885      "hpux_c99_inttypes";
4888  *  File name selection pattern
4889  */
4890 tSCC zHpux_C99_InttypesList[] =
4891   "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4893  *  Machine/OS name selection pattern
4894  */
4895 tSCC* apzHpux_C99_InttypesMachs[] = {
4896         "*-hp-hpux11.[23]*",
4897         (const char*)NULL };
4898 #define HPUX_C99_INTTYPES_TEST_CT  0
4899 #define aHpux_C99_InttypesTests   (tTestDesc*)NULL
4902  *  Fix Command Arguments for Hpux_C99_Inttypes
4903  */
4904 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4905     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4906     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4907     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4908     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4909     (char*)NULL };
4911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4913  *  Description of Hpux_C99_Inttypes2 fix
4914  */
4915 tSCC zHpux_C99_Inttypes2Name[] =
4916      "hpux_c99_inttypes2";
4919  *  File name selection pattern
4920  */
4921 tSCC zHpux_C99_Inttypes2List[] =
4922   "stdint-hpux11.h\0stdint.h\0";
4924  *  Machine/OS name selection pattern
4925  */
4926 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4927         "*-hp-hpux11.2*",
4928         (const char*)NULL };
4929 #define HPUX_C99_INTTYPES2_TEST_CT  0
4930 #define aHpux_C99_Inttypes2Tests   (tTestDesc*)NULL
4933  *  Fix Command Arguments for Hpux_C99_Inttypes2
4934  */
4935 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4936     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4937     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4938     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4939     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4940     (char*)NULL };
4942 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4944  *  Description of Hpux_Ctype_Macros fix
4945  */
4946 tSCC zHpux_Ctype_MacrosName[] =
4947      "hpux_ctype_macros";
4950  *  File name selection pattern
4951  */
4952 tSCC zHpux_Ctype_MacrosList[] =
4953   "ctype.h\0";
4955  *  Machine/OS name selection pattern
4956  */
4957 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4960  *  content selection pattern - do fix if pattern found
4961  */
4962 tSCC zHpux_Ctype_MacrosSelect0[] =
4963        "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4965 #define    HPUX_CTYPE_MACROS_TEST_CT  1
4966 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4967   { TT_EGREP,    zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4970  *  Fix Command Arguments for Hpux_Ctype_Macros
4971  */
4972 static const char* apzHpux_Ctype_MacrosPatch[] = {
4973     "format",
4974     "%1(int)%3",
4975     (char*)NULL };
4977 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4979  *  Description of Hpux_Extern_Errno fix
4980  */
4981 tSCC zHpux_Extern_ErrnoName[] =
4982      "hpux_extern_errno";
4985  *  File name selection pattern
4986  */
4987 tSCC zHpux_Extern_ErrnoList[] =
4988   "errno.h\0";
4990  *  Machine/OS name selection pattern
4991  */
4992 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4993         "*-hp-hpux10.*",
4994         "*-hp-hpux11.[0-2]*",
4995         (const char*)NULL };
4998  *  content selection pattern - do fix if pattern found
4999  */
5000 tSCC zHpux_Extern_ErrnoSelect0[] =
5001        "^[ \t]*extern int errno;$";
5003 #define    HPUX_EXTERN_ERRNO_TEST_CT  1
5004 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5005   { TT_EGREP,    zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5008  *  Fix Command Arguments for Hpux_Extern_Errno
5009  */
5010 static const char* apzHpux_Extern_ErrnoPatch[] = {
5011     "format",
5012     "#ifdef __cplusplus\n\
5013 extern \"C\" {\n\
5014 #endif\n\
5015 %0\n\
5016 #ifdef __cplusplus\n\
5017 }\n\
5018 #endif",
5019     (char*)NULL };
5021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5023  *  Description of Hpux_Htonl fix
5024  */
5025 tSCC zHpux_HtonlName[] =
5026      "hpux_htonl";
5029  *  File name selection pattern
5030  */
5031 tSCC zHpux_HtonlList[] =
5032   "netinet/in.h\0";
5034  *  Machine/OS name selection pattern
5035  */
5036 #define apzHpux_HtonlMachs (const char**)NULL
5039  *  content selection pattern - do fix if pattern found
5040  */
5041 tSCC zHpux_HtonlSelect0[] =
5042        "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5043 (/\\*\n\
5044  \\* Macros for number representation conversion\\.\n\
5045  \\*/\n\
5046 #ifndef ntohl)";
5048 #define    HPUX_HTONL_TEST_CT  1
5049 static tTestDesc aHpux_HtonlTests[] = {
5050   { TT_EGREP,    zHpux_HtonlSelect0, (regex_t*)NULL }, };
5053  *  Fix Command Arguments for Hpux_Htonl
5054  */
5055 static const char* apzHpux_HtonlPatch[] = {
5056     "format",
5057     "#if 1\n\
5058 %1",
5059     (char*)NULL };
5061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5063  *  Description of Hpux_Imaginary_I fix
5064  */
5065 tSCC zHpux_Imaginary_IName[] =
5066      "hpux_imaginary_i";
5069  *  File name selection pattern
5070  */
5071 tSCC zHpux_Imaginary_IList[] =
5072   "complex.h\0";
5074  *  Machine/OS name selection pattern
5075  */
5076 tSCC* apzHpux_Imaginary_IMachs[] = {
5077         "ia64-hp-hpux11.*",
5078         (const char*)NULL };
5081  *  content selection pattern - do fix if pattern found
5082  */
5083 tSCC zHpux_Imaginary_ISelect0[] =
5084        "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5086 #define    HPUX_IMAGINARY_I_TEST_CT  1
5087 static tTestDesc aHpux_Imaginary_ITests[] = {
5088   { TT_EGREP,    zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5091  *  Fix Command Arguments for Hpux_Imaginary_I
5092  */
5093 static const char* apzHpux_Imaginary_IPatch[] = {
5094     "format",
5095     "#define _Complex_I (__extension__ 1.0iF)",
5096     (char*)NULL };
5098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5100  *  Description of Hpux_Inttype_Int8_T fix
5101  */
5102 tSCC zHpux_Inttype_Int8_TName[] =
5103      "hpux_inttype_int8_t";
5106  *  File name selection pattern
5107  */
5108 tSCC zHpux_Inttype_Int8_TList[] =
5109   "sys/_inttypes.h\0";
5111  *  Machine/OS name selection pattern
5112  */
5113 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5114         "*-hp-hpux1[01].*",
5115         (const char*)NULL };
5118  *  content selection pattern - do fix if pattern found
5119  */
5120 tSCC zHpux_Inttype_Int8_TSelect0[] =
5121        "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5123 #define    HPUX_INTTYPE_INT8_T_TEST_CT  1
5124 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5125   { TT_EGREP,    zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5128  *  Fix Command Arguments for Hpux_Inttype_Int8_T
5129  */
5130 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5131     "format",
5132     "typedef signed char int%18_t;",
5133     (char*)NULL };
5135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5137  *  Description of Hpux_Long_Double fix
5138  */
5139 tSCC zHpux_Long_DoubleName[] =
5140      "hpux_long_double";
5143  *  File name selection pattern
5144  */
5145 tSCC zHpux_Long_DoubleList[] =
5146   "stdlib.h\0";
5148  *  Machine/OS name selection pattern
5149  */
5150 tSCC* apzHpux_Long_DoubleMachs[] = {
5151         "*-*-hpux10*",
5152         "*-*-hpux11.[012]*",
5153         (const char*)NULL };
5156  *  content selection pattern - do fix if pattern found
5157  */
5158 tSCC zHpux_Long_DoubleSelect0[] =
5159        "extern[ \t]long_double[ \t]strtold";
5162  *  content bypass pattern - skip fix if pattern found
5163  */
5164 tSCC zHpux_Long_DoubleBypass0[] =
5165        "long_double_t";
5167 #define    HPUX_LONG_DOUBLE_TEST_CT  2
5168 static tTestDesc aHpux_Long_DoubleTests[] = {
5169   { TT_NEGREP,   zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5170   { TT_EGREP,    zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5173  *  Fix Command Arguments for Hpux_Long_Double
5174  */
5175 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5176     "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5177     "-e", "s/long_double/long double/g",
5178     (char*)NULL };
5180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5182  *  Description of Hpux_Long_Double_2 fix
5183  */
5184 tSCC zHpux_Long_Double_2Name[] =
5185      "hpux_long_double_2";
5188  *  File name selection pattern
5189  */
5190 tSCC zHpux_Long_Double_2List[] =
5191   "stdlib.h\0";
5193  *  Machine/OS name selection pattern
5194  */
5195 tSCC* apzHpux_Long_Double_2Machs[] = {
5196         "hppa*-*-hpux11.3*",
5197         (const char*)NULL };
5200  *  content selection pattern - do fix if pattern found
5201  */
5202 tSCC zHpux_Long_Double_2Select0[] =
5203        "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5205 #define    HPUX_LONG_DOUBLE_2_TEST_CT  1
5206 static tTestDesc aHpux_Long_Double_2Tests[] = {
5207   { TT_EGREP,    zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5210  *  Fix Command Arguments for Hpux_Long_Double_2
5211  */
5212 static const char* apzHpux_Long_Double_2Patch[] = {
5213     "format",
5214     "#  if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5215     (char*)NULL };
5217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5219  *  Description of Hpux_Pthread_Initializers fix
5220  */
5221 tSCC zHpux_Pthread_InitializersName[] =
5222      "hpux_pthread_initializers";
5225  *  File name selection pattern
5226  */
5227 tSCC zHpux_Pthread_InitializersList[] =
5228   "sys/pthread.h\0";
5230  *  Machine/OS name selection pattern
5231  */
5232 tSCC* apzHpux_Pthread_InitializersMachs[] = {
5233         "*-hp-hpux11.[0-3]*",
5234         (const char*)NULL };
5235 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT  0
5236 #define aHpux_Pthread_InitializersTests   (tTestDesc*)NULL
5239  *  Fix Command Arguments for Hpux_Pthread_Initializers
5240  */
5241 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
5242     "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
5243     "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
5244     "-e", "/^[ \t]*0$/d",
5245     "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
5246     "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5247     "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5248     "-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\\\\@",
5249     "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5250     "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5251     "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5252     "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5253     "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5254     "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5255     (char*)NULL };
5257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5259  *  Description of Hpux_Spu_Info fix
5260  */
5261 tSCC zHpux_Spu_InfoName[] =
5262      "hpux_spu_info";
5265  *  File name selection pattern
5266  */
5267 tSCC zHpux_Spu_InfoList[] =
5268   "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5270  *  Machine/OS name selection pattern
5271  */
5272 tSCC* apzHpux_Spu_InfoMachs[] = {
5273         "*-hp-hpux*",
5274         (const char*)NULL };
5277  *  content selection pattern - do fix if pattern found
5278  */
5279 tSCC zHpux_Spu_InfoSelect0[] =
5280        "^.*extern.*spu_info.*";
5282 #define    HPUX_SPU_INFO_TEST_CT  1
5283 static tTestDesc aHpux_Spu_InfoTests[] = {
5284   { TT_EGREP,    zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5287  *  Fix Command Arguments for Hpux_Spu_Info
5288  */
5289 static const char* apzHpux_Spu_InfoPatch[] = {
5290     "format",
5291     "#ifdef _KERNEL\n\
5292 %0\n\
5293 #endif",
5294     (char*)NULL };
5296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5298  *  Description of Hpux_Stdint_Least_Fast fix
5299  */
5300 tSCC zHpux_Stdint_Least_FastName[] =
5301      "hpux_stdint_least_fast";
5304  *  File name selection pattern
5305  */
5306 tSCC zHpux_Stdint_Least_FastList[] =
5307   "stdint-hpux11.h\0stdint.h\0";
5309  *  Machine/OS name selection pattern
5310  */
5311 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5312         "*-hp-hpux11.2*",
5313         (const char*)NULL };
5316  *  content selection pattern - do fix if pattern found
5317  */
5318 tSCC zHpux_Stdint_Least_FastSelect0[] =
5319        "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5321 #define    HPUX_STDINT_LEAST_FAST_TEST_CT  1
5322 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5323   { TT_EGREP,    zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5326  *  Fix Command Arguments for Hpux_Stdint_Least_Fast
5327  */
5328 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5329     "format",
5330     "#  define\tUINT_%164_MAX\t__UINT64_MAX__",
5331     (char*)NULL };
5333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5335  *  Description of Hpux_Longjmp fix
5336  */
5337 tSCC zHpux_LongjmpName[] =
5338      "hpux_longjmp";
5341  *  File name selection pattern
5342  */
5343 tSCC zHpux_LongjmpList[] =
5344   "setjmp.h\0";
5346  *  Machine/OS name selection pattern
5347  */
5348 tSCC* apzHpux_LongjmpMachs[] = {
5349         "*-hp-hpux*",
5350         (const char*)NULL };
5353  *  content selection pattern - do fix if pattern found
5354  */
5355 tSCC zHpux_LongjmpSelect0[] =
5356        "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5358 #define    HPUX_LONGJMP_TEST_CT  1
5359 static tTestDesc aHpux_LongjmpTests[] = {
5360   { TT_EGREP,    zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5363  *  Fix Command Arguments for Hpux_Longjmp
5364  */
5365 static const char* apzHpux_LongjmpPatch[] = {
5366     "format",
5367     "%0 __attribute__ ((__noreturn__))",
5368     (char*)NULL };
5370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5372  *  Description of Hpux_Systime fix
5373  */
5374 tSCC zHpux_SystimeName[] =
5375      "hpux_systime";
5378  *  File name selection pattern
5379  */
5380 tSCC zHpux_SystimeList[] =
5381   "sys/time.h\0";
5383  *  Machine/OS name selection pattern
5384  */
5385 #define apzHpux_SystimeMachs (const char**)NULL
5388  *  content selection pattern - do fix if pattern found
5389  */
5390 tSCC zHpux_SystimeSelect0[] =
5391        "^extern struct sigevent;";
5393 #define    HPUX_SYSTIME_TEST_CT  1
5394 static tTestDesc aHpux_SystimeTests[] = {
5395   { TT_EGREP,    zHpux_SystimeSelect0, (regex_t*)NULL }, };
5398  *  Fix Command Arguments for Hpux_Systime
5399  */
5400 static const char* apzHpux_SystimePatch[] = {
5401     "format",
5402     "struct sigevent;",
5403     (char*)NULL };
5405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5407  *  Description of Huge_Val_Hex fix
5408  */
5409 tSCC zHuge_Val_HexName[] =
5410      "huge_val_hex";
5413  *  File name selection pattern
5414  */
5415 tSCC zHuge_Val_HexList[] =
5416   "bits/huge_val.h\0*/bits/huge_val.h\0";
5418  *  Machine/OS name selection pattern
5419  */
5420 #define apzHuge_Val_HexMachs (const char**)NULL
5423  *  content selection pattern - do fix if pattern found
5424  */
5425 tSCC zHuge_Val_HexSelect0[] =
5426        "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5429  *  content bypass pattern - skip fix if pattern found
5430  */
5431 tSCC zHuge_Val_HexBypass0[] =
5432        "__builtin_huge_val";
5434 #define    HUGE_VAL_HEX_TEST_CT  2
5435 static tTestDesc aHuge_Val_HexTests[] = {
5436   { TT_NEGREP,   zHuge_Val_HexBypass0, (regex_t*)NULL },
5437   { TT_EGREP,    zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5440  *  Fix Command Arguments for Huge_Val_Hex
5441  */
5442 static const char* apzHuge_Val_HexPatch[] = {
5443     "format",
5444     "#define HUGE_VAL (__builtin_huge_val())\n",
5445     (char*)NULL };
5447 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5449  *  Description of Huge_Valf_Hex fix
5450  */
5451 tSCC zHuge_Valf_HexName[] =
5452      "huge_valf_hex";
5455  *  File name selection pattern
5456  */
5457 tSCC zHuge_Valf_HexList[] =
5458   "bits/huge_val.h\0*/bits/huge_val.h\0";
5460  *  Machine/OS name selection pattern
5461  */
5462 #define apzHuge_Valf_HexMachs (const char**)NULL
5465  *  content selection pattern - do fix if pattern found
5466  */
5467 tSCC zHuge_Valf_HexSelect0[] =
5468        "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5471  *  content bypass pattern - skip fix if pattern found
5472  */
5473 tSCC zHuge_Valf_HexBypass0[] =
5474        "__builtin_huge_valf";
5476 #define    HUGE_VALF_HEX_TEST_CT  2
5477 static tTestDesc aHuge_Valf_HexTests[] = {
5478   { TT_NEGREP,   zHuge_Valf_HexBypass0, (regex_t*)NULL },
5479   { TT_EGREP,    zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5482  *  Fix Command Arguments for Huge_Valf_Hex
5483  */
5484 static const char* apzHuge_Valf_HexPatch[] = {
5485     "format",
5486     "#define HUGE_VALF (__builtin_huge_valf())\n",
5487     (char*)NULL };
5489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5491  *  Description of Huge_Vall_Hex fix
5492  */
5493 tSCC zHuge_Vall_HexName[] =
5494      "huge_vall_hex";
5497  *  File name selection pattern
5498  */
5499 tSCC zHuge_Vall_HexList[] =
5500   "bits/huge_val.h\0*/bits/huge_val.h\0";
5502  *  Machine/OS name selection pattern
5503  */
5504 #define apzHuge_Vall_HexMachs (const char**)NULL
5507  *  content selection pattern - do fix if pattern found
5508  */
5509 tSCC zHuge_Vall_HexSelect0[] =
5510        "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5513  *  content bypass pattern - skip fix if pattern found
5514  */
5515 tSCC zHuge_Vall_HexBypass0[] =
5516        "__builtin_huge_vall";
5518 #define    HUGE_VALL_HEX_TEST_CT  2
5519 static tTestDesc aHuge_Vall_HexTests[] = {
5520   { TT_NEGREP,   zHuge_Vall_HexBypass0, (regex_t*)NULL },
5521   { TT_EGREP,    zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5524  *  Fix Command Arguments for Huge_Vall_Hex
5525  */
5526 static const char* apzHuge_Vall_HexPatch[] = {
5527     "format",
5528     "#define HUGE_VALL (__builtin_huge_vall())\n",
5529     (char*)NULL };
5531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5533  *  Description of Int_Abort_Free_And_Exit fix
5534  */
5535 tSCC zInt_Abort_Free_And_ExitName[] =
5536      "int_abort_free_and_exit";
5539  *  File name selection pattern
5540  */
5541 tSCC zInt_Abort_Free_And_ExitList[] =
5542   "stdlib.h\0";
5544  *  Machine/OS name selection pattern
5545  */
5546 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5549  *  content selection pattern - do fix if pattern found
5550  */
5551 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5552        "int[ \t]+(abort|free|exit)[ \t]*\\(";
5555  *  content bypass pattern - skip fix if pattern found
5556  */
5557 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5558        "_CLASSIC_ANSI_TYPES";
5560 #define    INT_ABORT_FREE_AND_EXIT_TEST_CT  2
5561 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5562   { TT_NEGREP,   zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5563   { TT_EGREP,    zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5566  *  Fix Command Arguments for Int_Abort_Free_And_Exit
5567  */
5568 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5569     "format",
5570     "void\t%1(",
5571     (char*)NULL };
5573 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5575  *  Description of Io_Quotes_Def fix
5576  */
5577 tSCC zIo_Quotes_DefName[] =
5578      "io_quotes_def";
5581  *  File name selection pattern
5582  */
5583 #define zIo_Quotes_DefList (char*)NULL
5585  *  Machine/OS name selection pattern
5586  */
5587 #define apzIo_Quotes_DefMachs (const char**)NULL
5590  *  content selection pattern - do fix if pattern found
5591  */
5592 tSCC zIo_Quotes_DefSelect0[] =
5593        "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5595 #define    IO_QUOTES_DEF_TEST_CT  1
5596 static tTestDesc aIo_Quotes_DefTests[] = {
5597   { TT_EGREP,    zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5600  *  Fix Command Arguments for Io_Quotes_Def
5601  */
5602 static const char* apzIo_Quotes_DefPatch[] = {
5603     "char_macro_def",
5604     "IO",
5605     (char*)NULL };
5607 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5609  *  Description of Io_Quotes_Use fix
5610  */
5611 tSCC zIo_Quotes_UseName[] =
5612      "io_quotes_use";
5615  *  File name selection pattern
5616  */
5617 #define zIo_Quotes_UseList (char*)NULL
5619  *  Machine/OS name selection pattern
5620  */
5621 #define apzIo_Quotes_UseMachs (const char**)NULL
5624  *  content selection pattern - do fix if pattern found
5625  */
5626 tSCC zIo_Quotes_UseSelect0[] =
5627        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5629 #define    IO_QUOTES_USE_TEST_CT  1
5630 static tTestDesc aIo_Quotes_UseTests[] = {
5631   { TT_EGREP,    zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5634  *  Fix Command Arguments for Io_Quotes_Use
5635  */
5636 static const char* apzIo_Quotes_UsePatch[] = {
5637     "char_macro_use",
5638     "IO",
5639     (char*)NULL };
5641 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5643  *  Description of Ip_Missing_Semi fix
5644  */
5645 tSCC zIp_Missing_SemiName[] =
5646      "ip_missing_semi";
5649  *  File name selection pattern
5650  */
5651 tSCC zIp_Missing_SemiList[] =
5652   "netinet/ip.h\0";
5654  *  Machine/OS name selection pattern
5655  */
5656 #define apzIp_Missing_SemiMachs (const char**)NULL
5659  *  content selection pattern - do fix if pattern found
5660  */
5661 tSCC zIp_Missing_SemiSelect0[] =
5662        "}$";
5664 #define    IP_MISSING_SEMI_TEST_CT  1
5665 static tTestDesc aIp_Missing_SemiTests[] = {
5666   { TT_EGREP,    zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5669  *  Fix Command Arguments for Ip_Missing_Semi
5670  */
5671 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5672     "-e", "/^struct/,/^};/s/}$/};/",
5673     (char*)NULL };
5675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5677  *  Description of Irix_Limits_Const fix
5678  */
5679 tSCC zIrix_Limits_ConstName[] =
5680      "irix_limits_const";
5683  *  File name selection pattern
5684  */
5685 tSCC zIrix_Limits_ConstList[] =
5686   "fixinc-test-limits.h\0limits.h\0";
5688  *  Machine/OS name selection pattern
5689  */
5690 #define apzIrix_Limits_ConstMachs (const char**)NULL
5693  *  content selection pattern - do fix if pattern found
5694  */
5695 tSCC zIrix_Limits_ConstSelect0[] =
5696        "^extern const ";
5698 #define    IRIX_LIMITS_CONST_TEST_CT  1
5699 static tTestDesc aIrix_Limits_ConstTests[] = {
5700   { TT_EGREP,    zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5703  *  Fix Command Arguments for Irix_Limits_Const
5704  */
5705 static const char* apzIrix_Limits_ConstPatch[] = {
5706     "format",
5707     "extern __const ",
5708     (char*)NULL };
5710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5712  *  Description of Irix_Stdio_Va_List fix
5713  */
5714 tSCC zIrix_Stdio_Va_ListName[] =
5715      "irix_stdio_va_list";
5718  *  File name selection pattern
5719  */
5720 tSCC zIrix_Stdio_Va_ListList[] =
5721   "stdio.h\0";
5723  *  Machine/OS name selection pattern
5724  */
5725 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5728  *  content selection pattern - do fix if pattern found
5729  */
5730 tSCC zIrix_Stdio_Va_ListSelect0[] =
5731        "/\\* va_list \\*/ char \\*";
5733 #define    IRIX_STDIO_VA_LIST_TEST_CT  1
5734 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5735   { TT_EGREP,    zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5738  *  Fix Command Arguments for Irix_Stdio_Va_List
5739  */
5740 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5741     "format",
5742     "__gnuc_va_list",
5743     (char*)NULL };
5745 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5747  *  Description of Kandr_Concat fix
5748  */
5749 tSCC zKandr_ConcatName[] =
5750      "kandr_concat";
5753  *  File name selection pattern
5754  */
5755 tSCC zKandr_ConcatList[] =
5756   "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";
5758  *  Machine/OS name selection pattern
5759  */
5760 #define apzKandr_ConcatMachs (const char**)NULL
5763  *  content selection pattern - do fix if pattern found
5764  */
5765 tSCC zKandr_ConcatSelect0[] =
5766        "/\\*\\*/";
5768 #define    KANDR_CONCAT_TEST_CT  1
5769 static tTestDesc aKandr_ConcatTests[] = {
5770   { TT_EGREP,    zKandr_ConcatSelect0, (regex_t*)NULL }, };
5773  *  Fix Command Arguments for Kandr_Concat
5774  */
5775 static const char* apzKandr_ConcatPatch[] = {
5776     "format",
5777     "##",
5778     (char*)NULL };
5780 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5782  *  Description of Linux_Ia64_Ucontext fix
5783  */
5784 tSCC zLinux_Ia64_UcontextName[] =
5785      "linux_ia64_ucontext";
5788  *  File name selection pattern
5789  */
5790 tSCC zLinux_Ia64_UcontextList[] =
5791   "sys/ucontext.h\0";
5793  *  Machine/OS name selection pattern
5794  */
5795 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5796         "ia64-*-linux*",
5797         (const char*)NULL };
5800  *  content selection pattern - do fix if pattern found
5801  */
5802 tSCC zLinux_Ia64_UcontextSelect0[] =
5803        "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5805 #define    LINUX_IA64_UCONTEXT_TEST_CT  1
5806 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5807   { TT_EGREP,    zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5810  *  Fix Command Arguments for Linux_Ia64_Ucontext
5811  */
5812 static const char* apzLinux_Ia64_UcontextPatch[] = {
5813     "format",
5814     "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5815     (char*)NULL };
5817 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5819  *  Description of Lynxos_No_Warning_In_Sys_Time_H fix
5820  */
5821 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5822      "lynxos_no_warning_in_sys_time_h";
5825  *  File name selection pattern
5826  */
5827 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5828   "sys/time.h\0";
5830  *  Machine/OS name selection pattern
5831  */
5832 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5835  *  content selection pattern - do fix if pattern found
5836  */
5837 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5838        "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5840 #define    LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT  1
5841 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5842   { TT_EGREP,    zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5845  *  Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5846  */
5847 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5848     "format",
5849     "",
5850     (char*)NULL };
5852 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5854  *  Description of Lynxos_Missing_Putenv fix
5855  */
5856 tSCC zLynxos_Missing_PutenvName[] =
5857      "lynxos_missing_putenv";
5860  *  File name selection pattern
5861  */
5862 tSCC zLynxos_Missing_PutenvList[] =
5863   "stdlib.h\0";
5865  *  Machine/OS name selection pattern
5866  */
5867 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5868         "*-*-lynxos*",
5869         (const char*)NULL };
5872  *  content selection pattern - do fix if pattern found
5873  */
5874 tSCC zLynxos_Missing_PutenvSelect0[] =
5875        "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5878  *  content bypass pattern - skip fix if pattern found
5879  */
5880 tSCC zLynxos_Missing_PutenvBypass0[] =
5881        "putenv[ \\t]*\\(";
5883 #define    LYNXOS_MISSING_PUTENV_TEST_CT  2
5884 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5885   { TT_NEGREP,   zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5886   { TT_EGREP,    zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5889  *  Fix Command Arguments for Lynxos_Missing_Putenv
5890  */
5891 static const char* apzLynxos_Missing_PutenvPatch[] = {
5892     "format",
5893     "%0\n\
5894 extern int putenv\t\t\t\t_AP((char *));",
5895     "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5896     (char*)NULL };
5898 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5900  *  Description of Machine_Ansi_H_Va_List fix
5901  */
5902 tSCC zMachine_Ansi_H_Va_ListName[] =
5903      "machine_ansi_h_va_list";
5906  *  File name selection pattern
5907  */
5908 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5910  *  Machine/OS name selection pattern
5911  */
5912 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5915  *  content selection pattern - do fix if pattern found
5916  */
5917 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5918        "define[ \t]+_BSD_VA_LIST_[ \t]";
5921  *  content bypass pattern - skip fix if pattern found
5922  */
5923 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5924        "__builtin_va_list";
5926 #define    MACHINE_ANSI_H_VA_LIST_TEST_CT  2
5927 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5928   { TT_NEGREP,   zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5929   { TT_EGREP,    zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5932  *  Fix Command Arguments for Machine_Ansi_H_Va_List
5933  */
5934 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5935     "format",
5936     "%1__builtin_va_list",
5937     "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5938     (char*)NULL };
5940 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5942  *  Description of Machine_Name fix
5943  */
5944 tSCC zMachine_NameName[] =
5945      "machine_name";
5948  *  File name selection pattern
5949  */
5950 #define zMachine_NameList (char*)NULL
5952  *  Machine/OS name selection pattern
5953  */
5954 #define apzMachine_NameMachs (const char**)NULL
5957  *  perform the C function call test
5958  */
5959 tSCC zMachine_NameFTst0[] = "machine_name";
5961 #define    MACHINE_NAME_TEST_CT  1
5962 static tTestDesc aMachine_NameTests[] = {
5963   { TT_FUNCTION, zMachine_NameFTst0,   0 /* unused */ }, };
5966  *  Fix Command Arguments for Machine_Name
5967  */
5968 static const char* apzMachine_NamePatch[] = {
5969     "machine_name",
5970     (char*)NULL };
5972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5974  *  Description of Math_Exception fix
5975  */
5976 tSCC zMath_ExceptionName[] =
5977      "math_exception";
5980  *  File name selection pattern
5981  */
5982 tSCC zMath_ExceptionList[] =
5983   "math.h\0";
5985  *  Machine/OS name selection pattern
5986  */
5987 tSCC* apzMath_ExceptionMachs[] = {
5988         "*-*-solaris2.1[0-9]*",
5989         (const char*)NULL };
5992  *  content selection pattern - do fix if pattern found
5993  */
5994 tSCC zMath_ExceptionSelect0[] =
5995        "struct exception";
5998  *  content bypass pattern - skip fix if pattern found
5999  */
6000 tSCC zMath_ExceptionBypass0[] =
6001        "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6003 #define    MATH_EXCEPTION_TEST_CT  2
6004 static tTestDesc aMath_ExceptionTests[] = {
6005   { TT_NEGREP,   zMath_ExceptionBypass0, (regex_t*)NULL },
6006   { TT_EGREP,    zMath_ExceptionSelect0, (regex_t*)NULL }, };
6009  *  Fix Command Arguments for Math_Exception
6010  */
6011 static const char* apzMath_ExceptionPatch[] = {
6012     "wrap",
6013     "#ifdef __cplusplus\n\
6014 #define exception __math_exception\n\
6015 #endif\n",
6016     "#ifdef __cplusplus\n\
6017 #undef exception\n\
6018 #endif\n",
6019     (char*)NULL };
6021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6023  *  Description of Math_Huge_Val_From_Dbl_Max fix
6024  */
6025 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6026      "math_huge_val_from_dbl_max";
6029  *  File name selection pattern
6030  */
6031 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6032   "math.h\0";
6034  *  Machine/OS name selection pattern
6035  */
6036 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6039  *  content selection pattern - do fix if pattern found
6040  */
6041 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6042        "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6045  *  content bypass pattern - skip fix if pattern found
6046  */
6047 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6048        "define[ \t]+DBL_MAX";
6050 #define    MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT  2
6051 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6052   { TT_NEGREP,   zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6053   { TT_EGREP,    zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6056  *  Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6057  */
6058 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6059     "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6060 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6061 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6062 \telse cat\n\
6063 \tfi",
6064     (char*)NULL };
6066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6068  *  Description of Nested_Auth_Des fix
6069  */
6070 tSCC zNested_Auth_DesName[] =
6071      "nested_auth_des";
6074  *  File name selection pattern
6075  */
6076 tSCC zNested_Auth_DesList[] =
6077   "rpc/rpc.h\0";
6079  *  Machine/OS name selection pattern
6080  */
6081 #define apzNested_Auth_DesMachs (const char**)NULL
6084  *  content selection pattern - do fix if pattern found
6085  */
6086 tSCC zNested_Auth_DesSelect0[] =
6087        "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6089 #define    NESTED_AUTH_DES_TEST_CT  1
6090 static tTestDesc aNested_Auth_DesTests[] = {
6091   { TT_EGREP,    zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6094  *  Fix Command Arguments for Nested_Auth_Des
6095  */
6096 static const char* apzNested_Auth_DesPatch[] = {
6097     "format",
6098     "%1*/ /*",
6099     (char*)NULL };
6101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6103  *  Description of Netbsd_C99_Inline_1 fix
6104  */
6105 tSCC zNetbsd_C99_Inline_1Name[] =
6106      "netbsd_c99_inline_1";
6109  *  File name selection pattern
6110  */
6111 tSCC zNetbsd_C99_Inline_1List[] =
6112   "signal.h\0";
6114  *  Machine/OS name selection pattern
6115  */
6116 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6117         "*-*-netbsd*",
6118         (const char*)NULL };
6121  *  content selection pattern - do fix if pattern found
6122  */
6123 tSCC zNetbsd_C99_Inline_1Select0[] =
6124        "extern __inline int";
6126 #define    NETBSD_C99_INLINE_1_TEST_CT  1
6127 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6128   { TT_EGREP,    zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6131  *  Fix Command Arguments for Netbsd_C99_Inline_1
6132  */
6133 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6134     "format",
6135     "extern\n\
6136 #ifdef __GNUC_STDC_INLINE__\n\
6137 __attribute__((__gnu_inline__))\n\
6138 #endif\n\
6139 __inline int",
6140     (char*)NULL };
6142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6144  *  Description of Netbsd_C99_Inline_2 fix
6145  */
6146 tSCC zNetbsd_C99_Inline_2Name[] =
6147      "netbsd_c99_inline_2";
6150  *  File name selection pattern
6151  */
6152 tSCC zNetbsd_C99_Inline_2List[] =
6153   "signal.h\0";
6155  *  Machine/OS name selection pattern
6156  */
6157 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6158         "*-*-netbsd*",
6159         (const char*)NULL };
6162  *  content selection pattern - do fix if pattern found
6163  */
6164 tSCC zNetbsd_C99_Inline_2Select0[] =
6165        "#define _SIGINLINE extern __inline";
6167 #define    NETBSD_C99_INLINE_2_TEST_CT  1
6168 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6169   { TT_EGREP,    zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6172  *  Fix Command Arguments for Netbsd_C99_Inline_2
6173  */
6174 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6175     "format",
6176     "#ifdef __GNUC_STDC_INLINE__\n\
6177 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6178 #else\n\
6179 %0\n\
6180 #endif",
6181     (char*)NULL };
6183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6185  *  Description of Netbsd_Extra_Semicolon fix
6186  */
6187 tSCC zNetbsd_Extra_SemicolonName[] =
6188      "netbsd_extra_semicolon";
6191  *  File name selection pattern
6192  */
6193 tSCC zNetbsd_Extra_SemicolonList[] =
6194   "sys/cdefs.h\0";
6196  *  Machine/OS name selection pattern
6197  */
6198 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6199         "*-*-netbsd*",
6200         (const char*)NULL };
6203  *  content selection pattern - do fix if pattern found
6204  */
6205 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6206        "#define[ \t]*__END_DECLS[ \t]*};";
6208 #define    NETBSD_EXTRA_SEMICOLON_TEST_CT  1
6209 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6210   { TT_EGREP,    zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6213  *  Fix Command Arguments for Netbsd_Extra_Semicolon
6214  */
6215 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6216     "format",
6217     "#define __END_DECLS }",
6218     (char*)NULL };
6220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6222  *  Description of Newlib_Stdint_1 fix
6223  */
6224 tSCC zNewlib_Stdint_1Name[] =
6225      "newlib_stdint_1";
6228  *  File name selection pattern
6229  */
6230 tSCC zNewlib_Stdint_1List[] =
6231   "stdint-newlib.h\0stdint.h\0";
6233  *  Machine/OS name selection pattern
6234  */
6235 #define apzNewlib_Stdint_1Machs (const char**)NULL
6238  *  content selection pattern - do fix if pattern found
6239  */
6240 tSCC zNewlib_Stdint_1Select0[] =
6241        "@todo - Add support for wint_t types";
6243 #define    NEWLIB_STDINT_1_TEST_CT  1
6244 static tTestDesc aNewlib_Stdint_1Tests[] = {
6245   { TT_EGREP,    zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6248  *  Fix Command Arguments for Newlib_Stdint_1
6249  */
6250 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6251     "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6252     "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6253     "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6254     "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6255     "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6256     "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6257     "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6258     "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6259     "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6260     "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6261     "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6262     "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6263     "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6264     "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6265     (char*)NULL };
6267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6269  *  Description of Newlib_Stdint_2 fix
6270  */
6271 tSCC zNewlib_Stdint_2Name[] =
6272      "newlib_stdint_2";
6275  *  File name selection pattern
6276  */
6277 tSCC zNewlib_Stdint_2List[] =
6278   "stdint-newlib.h\0stdint.h\0";
6280  *  Machine/OS name selection pattern
6281  */
6282 #define apzNewlib_Stdint_2Machs (const char**)NULL
6285  *  content selection pattern - do fix if pattern found
6286  */
6287 tSCC zNewlib_Stdint_2Select0[] =
6288        "@todo - Add support for wint_t types";
6290 #define    NEWLIB_STDINT_2_TEST_CT  1
6291 static tTestDesc aNewlib_Stdint_2Tests[] = {
6292   { TT_EGREP,    zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6295  *  Fix Command Arguments for Newlib_Stdint_2
6296  */
6297 static const char* apzNewlib_Stdint_2Patch[] = {
6298     "format",
6299     "#define INTMAX_MAX __INTMAX_MAX__\n\
6300 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6301 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6302 #define WCHAR_MAX __WCHAR_MAX__\n\
6303 #define WCHAR_MIN __WCHAR_MIN__\n\
6304 #define WINT_MAX __WINT_MAX__\n\
6305 #define WINT_MIN __WINT_MIN__\n\n\
6306 %0",
6307     "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6308     (char*)NULL };
6310 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6312  *  Description of Next_Math_Prefix fix
6313  */
6314 tSCC zNext_Math_PrefixName[] =
6315      "next_math_prefix";
6318  *  File name selection pattern
6319  */
6320 tSCC zNext_Math_PrefixList[] =
6321   "ansi/math.h\0";
6323  *  Machine/OS name selection pattern
6324  */
6325 #define apzNext_Math_PrefixMachs (const char**)NULL
6328  *  content selection pattern - do fix if pattern found
6329  */
6330 tSCC zNext_Math_PrefixSelect0[] =
6331        "^extern[ \t]+double[ \t]+__const__[ \t]";
6333 #define    NEXT_MATH_PREFIX_TEST_CT  1
6334 static tTestDesc aNext_Math_PrefixTests[] = {
6335   { TT_EGREP,    zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6338  *  Fix Command Arguments for Next_Math_Prefix
6339  */
6340 static const char* apzNext_Math_PrefixPatch[] = {
6341     "format",
6342     "extern double %1(",
6343     "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6344     (char*)NULL };
6346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6348  *  Description of Next_Template fix
6349  */
6350 tSCC zNext_TemplateName[] =
6351      "next_template";
6354  *  File name selection pattern
6355  */
6356 tSCC zNext_TemplateList[] =
6357   "bsd/libc.h\0";
6359  *  Machine/OS name selection pattern
6360  */
6361 #define apzNext_TemplateMachs (const char**)NULL
6364  *  content selection pattern - do fix if pattern found
6365  */
6366 tSCC zNext_TemplateSelect0[] =
6367        "[ \t]template\\)";
6369 #define    NEXT_TEMPLATE_TEST_CT  1
6370 static tTestDesc aNext_TemplateTests[] = {
6371   { TT_EGREP,    zNext_TemplateSelect0, (regex_t*)NULL }, };
6374  *  Fix Command Arguments for Next_Template
6375  */
6376 static const char* apzNext_TemplatePatch[] = {
6377     "format",
6378     "(%1)",
6379     "\\(([^)]*)[ \t]template\\)",
6380     (char*)NULL };
6382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6384  *  Description of Next_Volitile fix
6385  */
6386 tSCC zNext_VolitileName[] =
6387      "next_volitile";
6390  *  File name selection pattern
6391  */
6392 tSCC zNext_VolitileList[] =
6393   "ansi/stdlib.h\0";
6395  *  Machine/OS name selection pattern
6396  */
6397 #define apzNext_VolitileMachs (const char**)NULL
6400  *  content selection pattern - do fix if pattern found
6401  */
6402 tSCC zNext_VolitileSelect0[] =
6403        "^extern[ \t]+volatile[ \t]+void[ \t]";
6405 #define    NEXT_VOLITILE_TEST_CT  1
6406 static tTestDesc aNext_VolitileTests[] = {
6407   { TT_EGREP,    zNext_VolitileSelect0, (regex_t*)NULL }, };
6410  *  Fix Command Arguments for Next_Volitile
6411  */
6412 static const char* apzNext_VolitilePatch[] = {
6413     "format",
6414     "extern void %1(",
6415     "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6416     (char*)NULL };
6418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6420  *  Description of Next_Wait_Union fix
6421  */
6422 tSCC zNext_Wait_UnionName[] =
6423      "next_wait_union";
6426  *  File name selection pattern
6427  */
6428 tSCC zNext_Wait_UnionList[] =
6429   "sys/wait.h\0";
6431  *  Machine/OS name selection pattern
6432  */
6433 #define apzNext_Wait_UnionMachs (const char**)NULL
6436  *  content selection pattern - do fix if pattern found
6437  */
6438 tSCC zNext_Wait_UnionSelect0[] =
6439        "wait\\(union wait";
6441 #define    NEXT_WAIT_UNION_TEST_CT  1
6442 static tTestDesc aNext_Wait_UnionTests[] = {
6443   { TT_EGREP,    zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6446  *  Fix Command Arguments for Next_Wait_Union
6447  */
6448 static const char* apzNext_Wait_UnionPatch[] = {
6449     "format",
6450     "wait(void",
6451     (char*)NULL };
6453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6455  *  Description of Nodeent_Syntax fix
6456  */
6457 tSCC zNodeent_SyntaxName[] =
6458      "nodeent_syntax";
6461  *  File name selection pattern
6462  */
6463 tSCC zNodeent_SyntaxList[] =
6464   "netdnet/dnetdb.h\0";
6466  *  Machine/OS name selection pattern
6467  */
6468 #define apzNodeent_SyntaxMachs (const char**)NULL
6471  *  content selection pattern - do fix if pattern found
6472  */
6473 tSCC zNodeent_SyntaxSelect0[] =
6474        "char[ \t]*\\*na_addr[ \t]*$";
6476 #define    NODEENT_SYNTAX_TEST_CT  1
6477 static tTestDesc aNodeent_SyntaxTests[] = {
6478   { TT_EGREP,    zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6481  *  Fix Command Arguments for Nodeent_Syntax
6482  */
6483 static const char* apzNodeent_SyntaxPatch[] = {
6484     "format",
6485     "%0;",
6486     (char*)NULL };
6488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6490  *  Description of Openbsd_Null_Definition fix
6491  */
6492 tSCC zOpenbsd_Null_DefinitionName[] =
6493      "openbsd_null_definition";
6496  *  File name selection pattern
6497  */
6498 tSCC zOpenbsd_Null_DefinitionList[] =
6499   "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6501  *  Machine/OS name selection pattern
6502  */
6503 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6504         "*-*-openbsd*",
6505         (const char*)NULL };
6508  *  content selection pattern - do fix if pattern found
6509  */
6510 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6511        "__GNUG__";
6513 #define    OPENBSD_NULL_DEFINITION_TEST_CT  1
6514 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6515   { TT_EGREP,    zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6518  *  Fix Command Arguments for Openbsd_Null_Definition
6519  */
6520 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6521     "format",
6522     "#ifndef NULL\n\
6523 #ifdef __cplusplus\n\
6524 #ifdef __GNUG__\n\
6525 #define NULL\t__null\n\
6526 #else\t /* ! __GNUG__  */\n\
6527 #define NULL\t0L\n\
6528 #endif\t /* __GNUG__  */\n\
6529 #else\t /* ! __cplusplus  */\n\
6530 #define NULL\t((void *)0)\n\
6531 #endif\t /* __cplusplus  */\n\
6532 #endif\t /* !NULL  */",
6533     "^#ifndef[ \t]*NULL\n\
6534 ^#ifdef[ \t]*__GNUG__\n\
6535 ^#define[ \t]*NULL[ \t]*__null\n\
6536 ^#else\n\
6537 ^#define[ \t]*NULL[ \t]*0L\n\
6538 ^#endif\n\
6539 ^#endif",
6540     (char*)NULL };
6542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6544  *  Description of Obstack_Lvalue_Cast fix
6545  */
6546 tSCC zObstack_Lvalue_CastName[] =
6547      "obstack_lvalue_cast";
6550  *  File name selection pattern
6551  */
6552 tSCC zObstack_Lvalue_CastList[] =
6553   "obstack.h\0";
6555  *  Machine/OS name selection pattern
6556  */
6557 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6560  *  content selection pattern - do fix if pattern found
6561  */
6562 tSCC zObstack_Lvalue_CastSelect0[] =
6563        "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6565 #define    OBSTACK_LVALUE_CAST_TEST_CT  1
6566 static tTestDesc aObstack_Lvalue_CastTests[] = {
6567   { TT_EGREP,    zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6570  *  Fix Command Arguments for Obstack_Lvalue_Cast
6571  */
6572 static const char* apzObstack_Lvalue_CastPatch[] = {
6573     "format",
6574     "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6575     (char*)NULL };
6577 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6579  *  Description of Openbsd_Va_Start fix
6580  */
6581 tSCC zOpenbsd_Va_StartName[] =
6582      "openbsd_va_start";
6585  *  File name selection pattern
6586  */
6587 tSCC zOpenbsd_Va_StartList[] =
6588   "stdarg.h\0";
6590  *  Machine/OS name selection pattern
6591  */
6592 tSCC* apzOpenbsd_Va_StartMachs[] = {
6593         "*-*-openbsd*",
6594         (const char*)NULL };
6597  *  content selection pattern - do fix if pattern found
6598  */
6599 tSCC zOpenbsd_Va_StartSelect0[] =
6600        "__builtin_stdarg_start";
6602 #define    OPENBSD_VA_START_TEST_CT  1
6603 static tTestDesc aOpenbsd_Va_StartTests[] = {
6604   { TT_EGREP,    zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6607  *  Fix Command Arguments for Openbsd_Va_Start
6608  */
6609 static const char* apzOpenbsd_Va_StartPatch[] = {
6610     "format",
6611     "__builtin_va_start",
6612     (char*)NULL };
6614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6616  *  Description of Osf_Namespace_A fix
6617  */
6618 tSCC zOsf_Namespace_AName[] =
6619      "osf_namespace_a";
6622  *  File name selection pattern
6623  */
6624 tSCC zOsf_Namespace_AList[] =
6625   "reg_types.h\0sys/lc_core.h\0";
6627  *  Machine/OS name selection pattern
6628  */
6629 #define apzOsf_Namespace_AMachs (const char**)NULL
6632  *  perform the 'test' shell command - do fix on success
6633  */
6634 tSCC zOsf_Namespace_ATest0[] =
6635        " -r reg_types.h";
6636 tSCC zOsf_Namespace_ATest1[] =
6637        " -r sys/lc_core.h";
6638 tSCC zOsf_Namespace_ATest2[] =
6639        " -n \"`grep '} regex_t;' reg_types.h`\"";
6640 tSCC zOsf_Namespace_ATest3[] =
6641        " -z \"`grep __regex_t regex.h`\"";
6643 #define    OSF_NAMESPACE_A_TEST_CT  4
6644 static tTestDesc aOsf_Namespace_ATests[] = {
6645   { TT_TEST,     zOsf_Namespace_ATest0,   0 /* unused */ },
6646   { TT_TEST,     zOsf_Namespace_ATest1,   0 /* unused */ },
6647   { TT_TEST,     zOsf_Namespace_ATest2,   0 /* unused */ },
6648   { TT_TEST,     zOsf_Namespace_ATest3,   0 /* unused */ }, };
6651  *  Fix Command Arguments for Osf_Namespace_A
6652  */
6653 static const char* apzOsf_Namespace_APatch[] = {
6654     "format",
6655     "__%0",
6656     "reg(ex|off|match)_t",
6657     (char*)NULL };
6659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6661  *  Description of Osf_Namespace_C fix
6662  */
6663 tSCC zOsf_Namespace_CName[] =
6664      "osf_namespace_c";
6667  *  File name selection pattern
6668  */
6669 tSCC zOsf_Namespace_CList[] =
6670   "regex.h\0";
6672  *  Machine/OS name selection pattern
6673  */
6674 #define apzOsf_Namespace_CMachs (const char**)NULL
6677  *  content selection pattern - do fix if pattern found
6678  */
6679 tSCC zOsf_Namespace_CSelect0[] =
6680        "#include <reg_types.h>.*";
6683  *  perform the 'test' shell command - do fix on success
6684  */
6685 tSCC zOsf_Namespace_CTest0[] =
6686        " -r reg_types.h";
6687 tSCC zOsf_Namespace_CTest1[] =
6688        " -r sys/lc_core.h";
6689 tSCC zOsf_Namespace_CTest2[] =
6690        " -n \"`grep '} regex_t;' reg_types.h`\"";
6691 tSCC zOsf_Namespace_CTest3[] =
6692        " -z \"`grep __regex_t regex.h`\"";
6694 #define    OSF_NAMESPACE_C_TEST_CT  5
6695 static tTestDesc aOsf_Namespace_CTests[] = {
6696   { TT_TEST,     zOsf_Namespace_CTest0,   0 /* unused */ },
6697   { TT_TEST,     zOsf_Namespace_CTest1,   0 /* unused */ },
6698   { TT_TEST,     zOsf_Namespace_CTest2,   0 /* unused */ },
6699   { TT_TEST,     zOsf_Namespace_CTest3,   0 /* unused */ },
6700   { TT_EGREP,    zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6703  *  Fix Command Arguments for Osf_Namespace_C
6704  */
6705 static const char* apzOsf_Namespace_CPatch[] = {
6706     "format",
6707     "%0\n\
6708 typedef __regex_t\tregex_t;\n\
6709 typedef __regoff_t\tregoff_t;\n\
6710 typedef __regmatch_t\tregmatch_t;",
6711     (char*)NULL };
6713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6715  *  Description of Pthread_Incomplete_Struct_Argument fix
6716  */
6717 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6718      "pthread_incomplete_struct_argument";
6721  *  File name selection pattern
6722  */
6723 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6724   "pthread.h\0";
6726  *  Machine/OS name selection pattern
6727  */
6728 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6731  *  content selection pattern - do fix if pattern found
6732  */
6733 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6734        "struct __jmp_buf_tag";
6736 #define    PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT  1
6737 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6738   { TT_EGREP,    zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6741  *  Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6742  */
6743 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6744     "format",
6745     "%1 *%2%3",
6746     "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6747     (char*)NULL };
6749 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6751  *  Description of Read_Ret_Type fix
6752  */
6753 tSCC zRead_Ret_TypeName[] =
6754      "read_ret_type";
6757  *  File name selection pattern
6758  */
6759 tSCC zRead_Ret_TypeList[] =
6760   "stdio.h\0";
6762  *  Machine/OS name selection pattern
6763  */
6764 #define apzRead_Ret_TypeMachs (const char**)NULL
6767  *  content selection pattern - do fix if pattern found
6768  */
6769 tSCC zRead_Ret_TypeSelect0[] =
6770        "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6772 #define    READ_RET_TYPE_TEST_CT  1
6773 static tTestDesc aRead_Ret_TypeTests[] = {
6774   { TT_EGREP,    zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6777  *  Fix Command Arguments for Read_Ret_Type
6778  */
6779 static const char* apzRead_Ret_TypePatch[] = {
6780     "format",
6781     "extern unsigned int fread(), fwrite();\n\
6782 %1%2",
6783     "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6784     (char*)NULL };
6786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6788  *  Description of Rpc_Xdr_Lvalue_Cast_A fix
6789  */
6790 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6791      "rpc_xdr_lvalue_cast_a";
6794  *  File name selection pattern
6795  */
6796 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6797   "rpc/xdr.h\0";
6799  *  Machine/OS name selection pattern
6800  */
6801 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6804  *  content selection pattern - do fix if pattern found
6805  */
6806 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6807        "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6808 .*__extension__.*";
6810 #define    RPC_XDR_LVALUE_CAST_A_TEST_CT  1
6811 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6812   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6815  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6816  */
6817 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6818     "format",
6819     "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6820     (char*)NULL };
6822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6824  *  Description of Rpc_Xdr_Lvalue_Cast_B fix
6825  */
6826 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6827      "rpc_xdr_lvalue_cast_b";
6830  *  File name selection pattern
6831  */
6832 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6833   "rpc/xdr.h\0";
6835  *  Machine/OS name selection pattern
6836  */
6837 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6840  *  content selection pattern - do fix if pattern found
6841  */
6842 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6843        "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6844 .*__extension__.*";
6846 #define    RPC_XDR_LVALUE_CAST_B_TEST_CT  1
6847 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6848   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6851  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6852  */
6853 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6854     "format",
6855     "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6856     (char*)NULL };
6858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6860  *  Description of Rs6000_Double fix
6861  */
6862 tSCC zRs6000_DoubleName[] =
6863      "rs6000_double";
6866  *  File name selection pattern
6867  */
6868 tSCC zRs6000_DoubleList[] =
6869   "math.h\0";
6871  *  Machine/OS name selection pattern
6872  */
6873 #define apzRs6000_DoubleMachs (const char**)NULL
6876  *  content selection pattern - do fix if pattern found
6877  */
6878 tSCC zRs6000_DoubleSelect0[] =
6879        "[^a-zA-Z_]class\\(";
6881 #define    RS6000_DOUBLE_TEST_CT  1
6882 static tTestDesc aRs6000_DoubleTests[] = {
6883   { TT_EGREP,    zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6886  *  Fix Command Arguments for Rs6000_Double
6887  */
6888 static const char* apzRs6000_DoublePatch[] = {
6889     "format",
6890     "#ifndef __cplusplus\n\
6891 %0\n\
6892 #endif",
6893     "^.*[^a-zA-Z_]class\\(.*",
6894     (char*)NULL };
6896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6898  *  Description of Rs6000_Fchmod fix
6899  */
6900 tSCC zRs6000_FchmodName[] =
6901      "rs6000_fchmod";
6904  *  File name selection pattern
6905  */
6906 tSCC zRs6000_FchmodList[] =
6907   "sys/stat.h\0";
6909  *  Machine/OS name selection pattern
6910  */
6911 #define apzRs6000_FchmodMachs (const char**)NULL
6914  *  content selection pattern - do fix if pattern found
6915  */
6916 tSCC zRs6000_FchmodSelect0[] =
6917        "fchmod\\(char \\*";
6919 #define    RS6000_FCHMOD_TEST_CT  1
6920 static tTestDesc aRs6000_FchmodTests[] = {
6921   { TT_EGREP,    zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6924  *  Fix Command Arguments for Rs6000_Fchmod
6925  */
6926 static const char* apzRs6000_FchmodPatch[] = {
6927     "format",
6928     "fchmod(int",
6929     (char*)NULL };
6931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6933  *  Description of Rs6000_Param fix
6934  */
6935 tSCC zRs6000_ParamName[] =
6936      "rs6000_param";
6939  *  File name selection pattern
6940  */
6941 tSCC zRs6000_ParamList[] =
6942   "stdio.h\0unistd.h\0";
6944  *  Machine/OS name selection pattern
6945  */
6946 #define apzRs6000_ParamMachs (const char**)NULL
6949  *  content selection pattern - do fix if pattern found
6950  */
6951 tSCC zRs6000_ParamSelect0[] =
6952        "rename\\(const char \\*old, const char \\*new\\)";
6954 #define    RS6000_PARAM_TEST_CT  1
6955 static tTestDesc aRs6000_ParamTests[] = {
6956   { TT_EGREP,    zRs6000_ParamSelect0, (regex_t*)NULL }, };
6959  *  Fix Command Arguments for Rs6000_Param
6960  */
6961 static const char* apzRs6000_ParamPatch[] = {
6962     "format",
6963     "rename(const char *_old, const char *_new)",
6964     (char*)NULL };
6966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6968  *  Description of Solaris___Restrict fix
6969  */
6970 tSCC zSolaris___RestrictName[] =
6971      "solaris___restrict";
6974  *  File name selection pattern
6975  */
6976 tSCC zSolaris___RestrictList[] =
6977   "sys/feature_tests.h\0";
6979  *  Machine/OS name selection pattern
6980  */
6981 tSCC* apzSolaris___RestrictMachs[] = {
6982         "*-*-solaris2*",
6983         (const char*)NULL };
6986  *  content selection pattern - do fix if pattern found
6987  */
6988 tSCC zSolaris___RestrictSelect0[] =
6989        "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6991 #define    SOLARIS___RESTRICT_TEST_CT  1
6992 static tTestDesc aSolaris___RestrictTests[] = {
6993   { TT_EGREP,    zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6996  *  Fix Command Arguments for Solaris___Restrict
6997  */
6998 static const char* apzSolaris___RestrictPatch[] = {
6999     "format",
7000     "#ifdef __cplusplus\n\
7001 #define\t_RESTRICT_KYWD\t__restrict\n\
7002 #else\n\
7003 %0\n\
7004 #endif",
7005     (char*)NULL };
7007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7009  *  Description of Solaris_Complex fix
7010  */
7011 tSCC zSolaris_ComplexName[] =
7012      "solaris_complex";
7015  *  File name selection pattern
7016  */
7017 tSCC zSolaris_ComplexList[] =
7018   "complex.h\0";
7020  *  Machine/OS name selection pattern
7021  */
7022 tSCC* apzSolaris_ComplexMachs[] = {
7023         "*-*-solaris2.*",
7024         (const char*)NULL };
7027  *  content selection pattern - do fix if pattern found
7028  */
7029 tSCC zSolaris_ComplexSelect0[] =
7030        "#define[ \t]_Complex_I[ \t]_Complex_I";
7032 #define    SOLARIS_COMPLEX_TEST_CT  1
7033 static tTestDesc aSolaris_ComplexTests[] = {
7034   { TT_EGREP,    zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7037  *  Fix Command Arguments for Solaris_Complex
7038  */
7039 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7040     "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7041     "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7042     "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7043     "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7044     (char*)NULL };
7046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7048  *  Description of Solaris_Complex_Cxx fix
7049  */
7050 tSCC zSolaris_Complex_CxxName[] =
7051      "solaris_complex_cxx";
7054  *  File name selection pattern
7055  */
7056 tSCC zSolaris_Complex_CxxList[] =
7057   "complex.h\0";
7059  *  Machine/OS name selection pattern
7060  */
7061 tSCC* apzSolaris_Complex_CxxMachs[] = {
7062         "*-*-solaris2.*",
7063         (const char*)NULL };
7064 #define SOLARIS_COMPLEX_CXX_TEST_CT  0
7065 #define aSolaris_Complex_CxxTests   (tTestDesc*)NULL
7068  *  Fix Command Arguments for Solaris_Complex_Cxx
7069  */
7070 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7071     "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7072 #ifdef\t__cplusplus\\\n\
7073 extern \"C\" {\\\n\
7074 #endif",
7075     "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7076 #ifdef\t__cplusplus\\\n\
7077 }\\\n\
7078 #endif",
7079     (char*)NULL };
7081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7083  *  Description of Solaris_Cxx_Linkage fix
7084  */
7085 tSCC zSolaris_Cxx_LinkageName[] =
7086      "solaris_cxx_linkage";
7089  *  File name selection pattern
7090  */
7091 tSCC zSolaris_Cxx_LinkageList[] =
7092   "iso/stdlib_iso.h\0";
7094  *  Machine/OS name selection pattern
7095  */
7096 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7097         "*-*-solaris2*",
7098         (const char*)NULL };
7101  *  content selection pattern - do fix if pattern found
7102  */
7103 tSCC zSolaris_Cxx_LinkageSelect0[] =
7104        "(#if __cplusplus >= 199711L)\n\
7105 (extern \"C\\+\\+\" \\{\n\
7106 )(.*(bsearch|qsort).*)";
7108 #define    SOLARIS_CXX_LINKAGE_TEST_CT  1
7109 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7110   { TT_EGREP,    zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7113  *  Fix Command Arguments for Solaris_Cxx_Linkage
7114  */
7115 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7116     "format",
7117     "%1 && !__GNUG__\n\
7118 %2%3",
7119     (char*)NULL };
7121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7123  *  Description of Solaris_Getc_Strict_Stdc fix
7124  */
7125 tSCC zSolaris_Getc_Strict_StdcName[] =
7126      "solaris_getc_strict_stdc";
7129  *  File name selection pattern
7130  */
7131 tSCC zSolaris_Getc_Strict_StdcList[] =
7132   "iso/stdio_iso.h\0";
7134  *  Machine/OS name selection pattern
7135  */
7136 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7137         "*-*-solaris2*",
7138         (const char*)NULL };
7141  *  content selection pattern - do fix if pattern found
7142  */
7143 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7144        "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7146 #define    SOLARIS_GETC_STRICT_STDC_TEST_CT  1
7147 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7148   { TT_EGREP,    zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7151  *  Fix Command Arguments for Solaris_Getc_Strict_Stdc
7152  */
7153 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7154     "format",
7155     "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7156     (char*)NULL };
7158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7160  *  Description of Solaris_Gets_C11 fix
7161  */
7162 tSCC zSolaris_Gets_C11Name[] =
7163      "solaris_gets_c11";
7166  *  File name selection pattern
7167  */
7168 tSCC zSolaris_Gets_C11List[] =
7169   "iso/stdio_iso.h\0";
7171  *  Machine/OS name selection pattern
7172  */
7173 tSCC* apzSolaris_Gets_C11Machs[] = {
7174         "*-*-solaris2*",
7175         (const char*)NULL };
7178  *  content selection pattern - do fix if pattern found
7179  */
7180 tSCC zSolaris_Gets_C11Select0[] =
7181        "(extern char[ \t]*\\*gets\\(char \\*\\));";
7183 #define    SOLARIS_GETS_C11_TEST_CT  1
7184 static tTestDesc aSolaris_Gets_C11Tests[] = {
7185   { TT_EGREP,    zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7188  *  Fix Command Arguments for Solaris_Gets_C11
7189  */
7190 static const char* apzSolaris_Gets_C11Patch[] = {
7191     "format",
7192     "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7193 %1 __attribute__((__deprecated__));\n\
7194 #endif",
7195     (char*)NULL };
7197 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7199  *  Description of Solaris_Gets_Cxx14 fix
7200  */
7201 tSCC zSolaris_Gets_Cxx14Name[] =
7202      "solaris_gets_cxx14";
7205  *  File name selection pattern
7206  */
7207 tSCC zSolaris_Gets_Cxx14List[] =
7208   "iso/stdio_iso.h\0";
7210  *  Machine/OS name selection pattern
7211  */
7212 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7213         "*-*-solaris2*",
7214         (const char*)NULL };
7217  *  content selection pattern - do fix if pattern found
7218  */
7219 tSCC zSolaris_Gets_Cxx14Select0[] =
7220        "(#if __STDC_VERSION__ < 201112L)\n\
7221 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
7223 #define    SOLARIS_GETS_CXX14_TEST_CT  1
7224 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
7225   { TT_EGREP,    zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
7228  *  Fix Command Arguments for Solaris_Gets_Cxx14
7229  */
7230 static const char* apzSolaris_Gets_Cxx14Patch[] = {
7231     "format",
7232     "%1 && __cplusplus < 201402L\n\
7233 %2",
7234     (char*)NULL };
7236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7238  *  Description of Solaris_Int_Const fix
7239  */
7240 tSCC zSolaris_Int_ConstName[] =
7241      "solaris_int_const";
7244  *  File name selection pattern
7245  */
7246 tSCC zSolaris_Int_ConstList[] =
7247   "sys/int_const.h\0";
7249  *  Machine/OS name selection pattern
7250  */
7251 tSCC* apzSolaris_Int_ConstMachs[] = {
7252         "*-*-solaris2*",
7253         (const char*)NULL };
7256  *  content selection pattern - do fix if pattern found
7257  */
7258 tSCC zSolaris_Int_ConstSelect0[] =
7259        "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7260 (/*.**/)\n\
7261 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7263 #define    SOLARIS_INT_CONST_TEST_CT  1
7264 static tTestDesc aSolaris_Int_ConstTests[] = {
7265   { TT_EGREP,    zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
7268  *  Fix Command Arguments for Solaris_Int_Const
7269  */
7270 static const char* apzSolaris_Int_ConstPatch[] = {
7271     "format",
7272     "#define\tUINT8_C(c)\t(c)\n\
7273 %1\n\
7274 #define\tUINT16_C(c)\t(c)",
7275     (char*)NULL };
7277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7279  *  Description of Solaris_Int_Limits_1 fix
7280  */
7281 tSCC zSolaris_Int_Limits_1Name[] =
7282      "solaris_int_limits_1";
7285  *  File name selection pattern
7286  */
7287 tSCC zSolaris_Int_Limits_1List[] =
7288   "sys/int_limits.h\0";
7290  *  Machine/OS name selection pattern
7291  */
7292 tSCC* apzSolaris_Int_Limits_1Machs[] = {
7293         "*-*-solaris2*",
7294         (const char*)NULL };
7297  *  content selection pattern - do fix if pattern found
7298  */
7299 tSCC zSolaris_Int_Limits_1Select0[] =
7300        "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7301 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7303 #define    SOLARIS_INT_LIMITS_1_TEST_CT  1
7304 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7305   { TT_EGREP,    zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
7308  *  Fix Command Arguments for Solaris_Int_Limits_1
7309  */
7310 static const char* apzSolaris_Int_Limits_1Patch[] = {
7311     "format",
7312     "#define\tUINT8_MAX\t(255)\n\
7313 #define\tUINT16_MAX\t(65535)",
7314     (char*)NULL };
7316 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7318  *  Description of Solaris_Int_Limits_2 fix
7319  */
7320 tSCC zSolaris_Int_Limits_2Name[] =
7321      "solaris_int_limits_2";
7324  *  File name selection pattern
7325  */
7326 tSCC zSolaris_Int_Limits_2List[] =
7327   "sys/int_limits.h\0";
7329  *  Machine/OS name selection pattern
7330  */
7331 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7332         "*-*-solaris2*",
7333         (const char*)NULL };
7336  *  content selection pattern - do fix if pattern found
7337  */
7338 tSCC zSolaris_Int_Limits_2Select0[] =
7339        "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7341 #define    SOLARIS_INT_LIMITS_2_TEST_CT  1
7342 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7343   { TT_EGREP,    zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7346  *  Fix Command Arguments for Solaris_Int_Limits_2
7347  */
7348 static const char* apzSolaris_Int_Limits_2Patch[] = {
7349     "format",
7350     "#define\t%1_FAST16_%2 %132_%2",
7351     (char*)NULL };
7353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7355  *  Description of Solaris_Int_Limits_3 fix
7356  */
7357 tSCC zSolaris_Int_Limits_3Name[] =
7358      "solaris_int_limits_3";
7361  *  File name selection pattern
7362  */
7363 tSCC zSolaris_Int_Limits_3List[] =
7364   "sys/int_limits.h\0";
7366  *  Machine/OS name selection pattern
7367  */
7368 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7369         "*-*-solaris2*",
7370         (const char*)NULL };
7373  *  content selection pattern - do fix if pattern found
7374  */
7375 tSCC zSolaris_Int_Limits_3Select0[] =
7376        "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7378 #define    SOLARIS_INT_LIMITS_3_TEST_CT  1
7379 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7380   { TT_EGREP,    zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7383  *  Fix Command Arguments for Solaris_Int_Limits_3
7384  */
7385 static const char* apzSolaris_Int_Limits_3Patch[] = {
7386     "format",
7387     "#define\tSIZE_MAX\t4294967295U",
7388     (char*)NULL };
7390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7392  *  Description of Solaris_Math_1 fix
7393  */
7394 tSCC zSolaris_Math_1Name[] =
7395      "solaris_math_1";
7398  *  File name selection pattern
7399  */
7400 tSCC zSolaris_Math_1List[] =
7401   "iso/math_c99.h\0";
7403  *  Machine/OS name selection pattern
7404  */
7405 #define apzSolaris_Math_1Machs (const char**)NULL
7408  *  content selection pattern - do fix if pattern found
7409  */
7410 tSCC zSolaris_Math_1Select0[] =
7411        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7414  *  content bypass pattern - skip fix if pattern found
7415  */
7416 tSCC zSolaris_Math_1Bypass0[] =
7417        "__GNUC__";
7419 #define    SOLARIS_MATH_1_TEST_CT  2
7420 static tTestDesc aSolaris_Math_1Tests[] = {
7421   { TT_NEGREP,   zSolaris_Math_1Bypass0, (regex_t*)NULL },
7422   { TT_EGREP,    zSolaris_Math_1Select0, (regex_t*)NULL }, };
7425  *  Fix Command Arguments for Solaris_Math_1
7426  */
7427 static const char* apzSolaris_Math_1Patch[] = {
7428     "format",
7429     "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7430     "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7431     (char*)NULL };
7433 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7435  *  Description of Solaris_Math_10 fix
7436  */
7437 tSCC zSolaris_Math_10Name[] =
7438      "solaris_math_10";
7441  *  File name selection pattern
7442  */
7443 tSCC zSolaris_Math_10List[] =
7444   "iso/math_c99.h\0";
7446  *  Machine/OS name selection pattern
7447  */
7448 #define apzSolaris_Math_10Machs (const char**)NULL
7451  *  content selection pattern - do fix if pattern found
7452  */
7453 tSCC zSolaris_Math_10Select0[] =
7454        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7456 #define    SOLARIS_MATH_10_TEST_CT  1
7457 static tTestDesc aSolaris_Math_10Tests[] = {
7458   { TT_EGREP,    zSolaris_Math_10Select0, (regex_t*)NULL }, };
7461  *  Fix Command Arguments for Solaris_Math_10
7462  */
7463 static const char* apzSolaris_Math_10Patch[] = {
7464     "format",
7465     "#define\tisinf(x) __builtin_isinf(x)",
7466     "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7467 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7468 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7469 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7470     (char*)NULL };
7472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7474  *  Description of Solaris_Math_2 fix
7475  */
7476 tSCC zSolaris_Math_2Name[] =
7477      "solaris_math_2";
7480  *  File name selection pattern
7481  */
7482 tSCC zSolaris_Math_2List[] =
7483   "iso/math_c99.h\0";
7485  *  Machine/OS name selection pattern
7486  */
7487 #define apzSolaris_Math_2Machs (const char**)NULL
7490  *  content selection pattern - do fix if pattern found
7491  */
7492 tSCC zSolaris_Math_2Select0[] =
7493        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7496  *  content bypass pattern - skip fix if pattern found
7497  */
7498 tSCC zSolaris_Math_2Bypass0[] =
7499        "__GNUC__";
7501 #define    SOLARIS_MATH_2_TEST_CT  2
7502 static tTestDesc aSolaris_Math_2Tests[] = {
7503   { TT_NEGREP,   zSolaris_Math_2Bypass0, (regex_t*)NULL },
7504   { TT_EGREP,    zSolaris_Math_2Select0, (regex_t*)NULL }, };
7507  *  Fix Command Arguments for Solaris_Math_2
7508  */
7509 static const char* apzSolaris_Math_2Patch[] = {
7510     "format",
7511     "#define\tINFINITY\t(__builtin_inff())",
7512     "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7513     (char*)NULL };
7515 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7517  *  Description of Solaris_Math_3 fix
7518  */
7519 tSCC zSolaris_Math_3Name[] =
7520      "solaris_math_3";
7523  *  File name selection pattern
7524  */
7525 tSCC zSolaris_Math_3List[] =
7526   "iso/math_c99.h\0";
7528  *  Machine/OS name selection pattern
7529  */
7530 #define apzSolaris_Math_3Machs (const char**)NULL
7533  *  content selection pattern - do fix if pattern found
7534  */
7535 tSCC zSolaris_Math_3Select0[] =
7536        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7539  *  content bypass pattern - skip fix if pattern found
7540  */
7541 tSCC zSolaris_Math_3Bypass0[] =
7542        "__GNUC__";
7544 #define    SOLARIS_MATH_3_TEST_CT  2
7545 static tTestDesc aSolaris_Math_3Tests[] = {
7546   { TT_NEGREP,   zSolaris_Math_3Bypass0, (regex_t*)NULL },
7547   { TT_EGREP,    zSolaris_Math_3Select0, (regex_t*)NULL }, };
7550  *  Fix Command Arguments for Solaris_Math_3
7551  */
7552 static const char* apzSolaris_Math_3Patch[] = {
7553     "format",
7554     "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7555     "^#define[ \t]+NAN[ \t]+__builtin_nan",
7556     (char*)NULL };
7558 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7560  *  Description of Solaris_Math_4 fix
7561  */
7562 tSCC zSolaris_Math_4Name[] =
7563      "solaris_math_4";
7566  *  File name selection pattern
7567  */
7568 tSCC zSolaris_Math_4List[] =
7569   "iso/math_c99.h\0";
7571  *  Machine/OS name selection pattern
7572  */
7573 #define apzSolaris_Math_4Machs (const char**)NULL
7576  *  content selection pattern - do fix if pattern found
7577  */
7578 tSCC zSolaris_Math_4Select0[] =
7579        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7582  *  content bypass pattern - skip fix if pattern found
7583  */
7584 tSCC zSolaris_Math_4Bypass0[] =
7585        "__GNUC__";
7587 #define    SOLARIS_MATH_4_TEST_CT  2
7588 static tTestDesc aSolaris_Math_4Tests[] = {
7589   { TT_NEGREP,   zSolaris_Math_4Bypass0, (regex_t*)NULL },
7590   { TT_EGREP,    zSolaris_Math_4Select0, (regex_t*)NULL }, };
7593  *  Fix Command Arguments for Solaris_Math_4
7594  */
7595 static const char* apzSolaris_Math_4Patch[] = {
7596     "format",
7597     "#define\tfpclassify(x) \\\n\
7598   __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7599     "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7600     (char*)NULL };
7602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7604  *  Description of Solaris_Math_8 fix
7605  */
7606 tSCC zSolaris_Math_8Name[] =
7607      "solaris_math_8";
7610  *  File name selection pattern
7611  */
7612 tSCC zSolaris_Math_8List[] =
7613   "iso/math_c99.h\0";
7615  *  Machine/OS name selection pattern
7616  */
7617 #define apzSolaris_Math_8Machs (const char**)NULL
7620  *  content selection pattern - do fix if pattern found
7621  */
7622 tSCC zSolaris_Math_8Select0[] =
7623        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7626  *  content bypass pattern - skip fix if pattern found
7627  */
7628 tSCC zSolaris_Math_8Bypass0[] =
7629        "__GNUC__";
7631 #define    SOLARIS_MATH_8_TEST_CT  2
7632 static tTestDesc aSolaris_Math_8Tests[] = {
7633   { TT_NEGREP,   zSolaris_Math_8Bypass0, (regex_t*)NULL },
7634   { TT_EGREP,    zSolaris_Math_8Select0, (regex_t*)NULL }, };
7637  *  Fix Command Arguments for Solaris_Math_8
7638  */
7639 static const char* apzSolaris_Math_8Patch[] = {
7640     "format",
7641     "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7642 \t\t\t   ? __builtin_signbitf(x) \\\n\
7643 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
7644 \t\t\t     ? __builtin_signbitl(x) \\\n\
7645 \t\t\t     : __builtin_signbit(x))",
7646     "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7647     (char*)NULL };
7649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7651  *  Description of Solaris_Math_9 fix
7652  */
7653 tSCC zSolaris_Math_9Name[] =
7654      "solaris_math_9";
7657  *  File name selection pattern
7658  */
7659 tSCC zSolaris_Math_9List[] =
7660   "iso/math_c99.h\0";
7662  *  Machine/OS name selection pattern
7663  */
7664 #define apzSolaris_Math_9Machs (const char**)NULL
7667  *  content selection pattern - do fix if pattern found
7668  */
7669 tSCC zSolaris_Math_9Select0[] =
7670        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7673  *  content bypass pattern - skip fix if pattern found
7674  */
7675 tSCC zSolaris_Math_9Bypass0[] =
7676        "__GNUC__";
7678 #define    SOLARIS_MATH_9_TEST_CT  2
7679 static tTestDesc aSolaris_Math_9Tests[] = {
7680   { TT_NEGREP,   zSolaris_Math_9Bypass0, (regex_t*)NULL },
7681   { TT_EGREP,    zSolaris_Math_9Select0, (regex_t*)NULL }, };
7684  *  Fix Command Arguments for Solaris_Math_9
7685  */
7686 static const char* apzSolaris_Math_9Patch[] = {
7687     "format",
7688     "#define\t%1(x, y)%2__builtin_%1(x, y)",
7689     "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7690     (char*)NULL };
7692 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7694  *  Description of Solaris_Math_11 fix
7695  */
7696 tSCC zSolaris_Math_11Name[] =
7697      "solaris_math_11";
7700  *  File name selection pattern
7701  */
7702 tSCC zSolaris_Math_11List[] =
7703   "iso/math_c99.h\0";
7705  *  Machine/OS name selection pattern
7706  */
7707 #define apzSolaris_Math_11Machs (const char**)NULL
7710  *  content selection pattern - do fix if pattern found
7711  */
7712 tSCC zSolaris_Math_11Select0[] =
7713        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7715 #define    SOLARIS_MATH_11_TEST_CT  1
7716 static tTestDesc aSolaris_Math_11Tests[] = {
7717   { TT_EGREP,    zSolaris_Math_11Select0, (regex_t*)NULL }, };
7720  *  Fix Command Arguments for Solaris_Math_11
7721  */
7722 static const char* apzSolaris_Math_11Patch[] = {
7723     "format",
7724     "#undef\tsignbit\n\
7725 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7726 \t\t\t   ? __builtin_signbitf(x) \\\n\
7727 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
7728 \t\t\t     ? __builtin_signbitl(x) \\\n\
7729 \t\t\t     : __builtin_signbit(x))",
7730     "^#undef[ \t]+signbit\n\
7731 #if defined\\(__sparc\\)\n\
7732 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7733 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7734 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7735 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7736 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7737 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7738 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7739 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7740 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7741 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7742 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7743 #endif",
7744     (char*)NULL };
7746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7748  *  Description of Solaris_Math_12 fix
7749  */
7750 tSCC zSolaris_Math_12Name[] =
7751      "solaris_math_12";
7754  *  File name selection pattern
7755  */
7756 tSCC zSolaris_Math_12List[] =
7757   "math.h\0";
7759  *  Machine/OS name selection pattern
7760  */
7761 tSCC* apzSolaris_Math_12Machs[] = {
7762         "*-*-solaris2*",
7763         (const char*)NULL };
7766  *  content selection pattern - do fix if pattern found
7767  */
7768 tSCC zSolaris_Math_12Select0[] =
7769        "#undef.*_GLIBCXX_USE_C99_MATH";
7771 #define    SOLARIS_MATH_12_TEST_CT  1
7772 static tTestDesc aSolaris_Math_12Tests[] = {
7773   { TT_EGREP,    zSolaris_Math_12Select0, (regex_t*)NULL }, };
7776  *  Fix Command Arguments for Solaris_Math_12
7777  */
7778 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7779     "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7780     (char*)NULL };
7782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7784  *  Description of Solaris_Once_Init_1 fix
7785  */
7786 tSCC zSolaris_Once_Init_1Name[] =
7787      "solaris_once_init_1";
7790  *  File name selection pattern
7791  */
7792 tSCC zSolaris_Once_Init_1List[] =
7793   "pthread.h\0";
7795  *  Machine/OS name selection pattern
7796  */
7797 tSCC* apzSolaris_Once_Init_1Machs[] = {
7798         "*-*-solaris*",
7799         (const char*)NULL };
7802  *  content selection pattern - do fix if pattern found
7803  */
7804 tSCC zSolaris_Once_Init_1Select0[] =
7805        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7807 #define    SOLARIS_ONCE_INIT_1_TEST_CT  1
7808 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7809   { TT_EGREP,    zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7812  *  Fix Command Arguments for Solaris_Once_Init_1
7813  */
7814 static const char* apzSolaris_Once_Init_1Patch[] = {
7815     "format",
7816     "%1{%2}%3",
7817     "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7818     (char*)NULL };
7820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7822  *  Description of Solaris_Posix_Spawn_Restrict fix
7823  */
7824 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7825      "solaris_posix_spawn_restrict";
7828  *  File name selection pattern
7829  */
7830 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7831   "spawn.h\0";
7833  *  Machine/OS name selection pattern
7834  */
7835 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7836         "*-*-solaris2*",
7837         (const char*)NULL };
7840  *  content selection pattern - do fix if pattern found
7841  */
7842 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7843        "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7845 #define    SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT  1
7846 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7847   { TT_EGREP,    zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7850  *  Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7851  */
7852 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7853     "format",
7854     "%1*_RESTRICT_KYWD %2%3",
7855     (char*)NULL };
7857 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7859  *  Description of Solaris_Pow_Int_Overload fix
7860  */
7861 tSCC zSolaris_Pow_Int_OverloadName[] =
7862      "solaris_pow_int_overload";
7865  *  File name selection pattern
7866  */
7867 tSCC zSolaris_Pow_Int_OverloadList[] =
7868   "iso/math_iso.h\0";
7870  *  Machine/OS name selection pattern
7871  */
7872 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7873         "*-*-solaris2*",
7874         (const char*)NULL };
7877  *  content selection pattern - do fix if pattern found
7878  */
7879 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7880        "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7881 [^{}]*\\}";
7883 #define    SOLARIS_POW_INT_OVERLOAD_TEST_CT  1
7884 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7885   { TT_EGREP,    zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7888  *  Fix Command Arguments for Solaris_Pow_Int_Overload
7889  */
7890 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7891     "format",
7892     "#if __cplusplus < 201103L\n\
7893 %0\n\
7894 #endif",
7895     (char*)NULL };
7897 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7899  *  Description of Solaris_Rwlock_Init_1 fix
7900  */
7901 tSCC zSolaris_Rwlock_Init_1Name[] =
7902      "solaris_rwlock_init_1";
7905  *  File name selection pattern
7906  */
7907 tSCC zSolaris_Rwlock_Init_1List[] =
7908   "pthread.h\0";
7910  *  Machine/OS name selection pattern
7911  */
7912 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7913         "*-*-solaris*",
7914         (const char*)NULL };
7917  *  content selection pattern - do fix if pattern found
7918  */
7919 tSCC zSolaris_Rwlock_Init_1Select0[] =
7920        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7922 #define    SOLARIS_RWLOCK_INIT_1_TEST_CT  1
7923 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7924   { TT_EGREP,    zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7927  *  Fix Command Arguments for Solaris_Rwlock_Init_1
7928  */
7929 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7930     "format",
7931     "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7932 %0\n\
7933 #else\n\
7934 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7935 #endif",
7936     "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7937     (char*)NULL };
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941  *  Description of Solaris_Std___Filbuf fix
7942  */
7943 tSCC zSolaris_Std___FilbufName[] =
7944      "solaris_std___filbuf";
7947  *  File name selection pattern
7948  */
7949 tSCC zSolaris_Std___FilbufList[] =
7950   "stdio.h\0";
7952  *  Machine/OS name selection pattern
7953  */
7954 tSCC* apzSolaris_Std___FilbufMachs[] = {
7955         "*-*-solaris2*",
7956         (const char*)NULL };
7959  *  content selection pattern - do fix if pattern found
7960  */
7961 tSCC zSolaris_Std___FilbufSelect0[] =
7962        "(using std::perror;\n\
7963 )(#endif)";
7966  *  content bypass pattern - skip fix if pattern found
7967  */
7968 tSCC zSolaris_Std___FilbufBypass0[] =
7969        "using std::__filbuf";
7971 #define    SOLARIS_STD___FILBUF_TEST_CT  2
7972 static tTestDesc aSolaris_Std___FilbufTests[] = {
7973   { TT_NEGREP,   zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7974   { TT_EGREP,    zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7977  *  Fix Command Arguments for Solaris_Std___Filbuf
7978  */
7979 static const char* apzSolaris_Std___FilbufPatch[] = {
7980     "format",
7981     "%1#ifndef _LP64\n\
7982 using std::__filbuf;\n\
7983 using std::__flsbuf;\n\
7984 #endif\n\
7985 %2",
7986     (char*)NULL };
7988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7990  *  Description of Solaris_Std_Gets_Cxx14 fix
7991  */
7992 tSCC zSolaris_Std_Gets_Cxx14Name[] =
7993      "solaris_std_gets_cxx14";
7996  *  File name selection pattern
7997  */
7998 tSCC zSolaris_Std_Gets_Cxx14List[] =
7999   "stdio.h\0";
8001  *  Machine/OS name selection pattern
8002  */
8003 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8004         "*-*-solaris2*",
8005         (const char*)NULL };
8008  *  content selection pattern - do fix if pattern found
8009  */
8010 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8011        "using std::gets;";
8013 #define    SOLARIS_STD_GETS_CXX14_TEST_CT  1
8014 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8015   { TT_EGREP,    zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8018  *  Fix Command Arguments for Solaris_Std_Gets_Cxx14
8019  */
8020 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8021     "format",
8022     "#if __cplusplus < 201402L\n\
8023 %0\n\
8024 #endif",
8025     (char*)NULL };
8027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8029  *  Description of Solaris_Stdio_Tag fix
8030  */
8031 tSCC zSolaris_Stdio_TagName[] =
8032      "solaris_stdio_tag";
8035  *  File name selection pattern
8036  */
8037 tSCC zSolaris_Stdio_TagList[] =
8038   "stdio_tag.h\0";
8040  *  Machine/OS name selection pattern
8041  */
8042 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8045  *  content selection pattern - do fix if pattern found
8046  */
8047 tSCC zSolaris_Stdio_TagSelect0[] =
8048        "__cplusplus < 54321L";
8051  *  content bypass pattern - skip fix if pattern found
8052  */
8053 tSCC zSolaris_Stdio_TagBypass0[] =
8054        "__GNUC__";
8056 #define    SOLARIS_STDIO_TAG_TEST_CT  2
8057 static tTestDesc aSolaris_Stdio_TagTests[] = {
8058   { TT_NEGREP,   zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8059   { TT_EGREP,    zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8062  *  Fix Command Arguments for Solaris_Stdio_Tag
8063  */
8064 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8065     "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8066     (char*)NULL };
8068 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8070  *  Description of Solaris_Stdlib_Noreturn fix
8071  */
8072 tSCC zSolaris_Stdlib_NoreturnName[] =
8073      "solaris_stdlib_noreturn";
8076  *  File name selection pattern
8077  */
8078 tSCC zSolaris_Stdlib_NoreturnList[] =
8079   "iso/stdlib_c99.h\0";
8081  *  Machine/OS name selection pattern
8082  */
8083 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8084         "*-*-solaris2*",
8085         (const char*)NULL };
8088  *  content selection pattern - do fix if pattern found
8089  */
8090 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8091        "(extern) _Noreturn (void quick_exit\\(int\\));";
8093 #define    SOLARIS_STDLIB_NORETURN_TEST_CT  1
8094 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8095   { TT_EGREP,    zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8098  *  Fix Command Arguments for Solaris_Stdlib_Noreturn
8099  */
8100 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8101     "format",
8102     "%1 %2 __attribute__((__noreturn__));",
8103     (char*)NULL };
8105 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8107  *  Description of Statsswtch fix
8108  */
8109 tSCC zStatsswtchName[] =
8110      "statsswtch";
8113  *  File name selection pattern
8114  */
8115 tSCC zStatsswtchList[] =
8116   "rpcsvc/rstat.h\0";
8118  *  Machine/OS name selection pattern
8119  */
8120 #define apzStatsswtchMachs (const char**)NULL
8123  *  content selection pattern - do fix if pattern found
8124  */
8125 tSCC zStatsswtchSelect0[] =
8126        "boottime$";
8128 #define    STATSSWTCH_TEST_CT  1
8129 static tTestDesc aStatsswtchTests[] = {
8130   { TT_EGREP,    zStatsswtchSelect0, (regex_t*)NULL }, };
8133  *  Fix Command Arguments for Statsswtch
8134  */
8135 static const char* apzStatsswtchPatch[] = {
8136     "format",
8137     "boottime;",
8138     (char*)NULL };
8140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8142  *  Description of Stdio_Stdarg_H fix
8143  */
8144 tSCC zStdio_Stdarg_HName[] =
8145      "stdio_stdarg_h";
8148  *  File name selection pattern
8149  */
8150 tSCC zStdio_Stdarg_HList[] =
8151   "stdio.h\0";
8153  *  Machine/OS name selection pattern
8154  */
8155 tSCC* apzStdio_Stdarg_HMachs[] = {
8156         "*-*-solaris2.1[0-9]*",
8157         (const char*)NULL };
8160  *  content bypass pattern - skip fix if pattern found
8161  */
8162 tSCC zStdio_Stdarg_HBypass0[] =
8163        "include.*(stdarg.h|machine/ansi.h)";
8165 #define    STDIO_STDARG_H_TEST_CT  1
8166 static tTestDesc aStdio_Stdarg_HTests[] = {
8167   { TT_NEGREP,   zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8170  *  Fix Command Arguments for Stdio_Stdarg_H
8171  */
8172 static const char* apzStdio_Stdarg_HPatch[] = {
8173     "wrap",
8174     "#define __need___va_list\n\
8175 #include <stdarg.h>\n",
8176     (char*)NULL };
8178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8180  *  Description of Stdio_Va_List fix
8181  */
8182 tSCC zStdio_Va_ListName[] =
8183      "stdio_va_list";
8186  *  File name selection pattern
8187  */
8188 tSCC zStdio_Va_ListList[] =
8189   "stdio.h\0";
8191  *  Machine/OS name selection pattern
8192  */
8193 tSCC* apzStdio_Va_ListMachs[] = {
8194         "*-*-solaris2.1[0-9]*",
8195         (const char*)NULL };
8198  *  content bypass pattern - skip fix if pattern found
8199  */
8200 tSCC zStdio_Va_ListBypass0[] =
8201        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8203 #define    STDIO_VA_LIST_TEST_CT  1
8204 static tTestDesc aStdio_Va_ListTests[] = {
8205   { TT_NEGREP,   zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8208  *  Fix Command Arguments for Stdio_Va_List
8209  */
8210 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8211     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8212 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8213 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8214 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8215 s@ va_list@ __not_va_list__@\n\
8216 s@\\*va_list@*__not_va_list__@\n\
8217 s@ __va_list)@ __gnuc_va_list)@\n\
8218 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8219 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8220 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8221 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8222 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8223 s@VA_LIST@DUMMY_VA_LIST@\n\
8224 s@_Va_LIST@_VA_LIST@",
8225     (char*)NULL };
8227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8229  *  Description of Stdio_Va_List_Clients fix
8230  */
8231 tSCC zStdio_Va_List_ClientsName[] =
8232      "stdio_va_list_clients";
8235  *  File name selection pattern
8236  */
8237 tSCC zStdio_Va_List_ClientsList[] =
8238   "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8240  *  Machine/OS name selection pattern
8241  */
8242 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
8245  *  content bypass pattern - skip fix if pattern found
8246  */
8247 tSCC zStdio_Va_List_ClientsBypass0[] =
8248        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8249 tSCC zStdio_Va_List_ClientsBypass1[] =
8250        "include <stdarg\\.h>|#ifdef va_start";
8252 #define    STDIO_VA_LIST_CLIENTS_TEST_CT  2
8253 static tTestDesc aStdio_Va_List_ClientsTests[] = {
8254   { TT_NEGREP,   zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
8255   { TT_NEGREP,   zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
8258  *  Fix Command Arguments for Stdio_Va_List_Clients
8259  */
8260 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8261     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8262 s@(va_list)&@(__gnuc_va_list)\\&@\n\
8263 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8264 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8265 s@ va_list@ __not_va_list__@\n\
8266 s@\\*va_list@*__not_va_list__@\n\
8267 s@ __va_list)@ __gnuc_va_list)@\n\
8268 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8269 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8270 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8271 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8272 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8273 s@VA_LIST@DUMMY_VA_LIST@\n\
8274 s@_Va_LIST@_VA_LIST@",
8275     (char*)NULL };
8277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8279  *  Description of Strict_Ansi_Not fix
8280  */
8281 tSCC zStrict_Ansi_NotName[] =
8282      "strict_ansi_not";
8285  *  File name selection pattern
8286  */
8287 #define zStrict_Ansi_NotList (char*)NULL
8289  *  Machine/OS name selection pattern
8290  */
8291 #define apzStrict_Ansi_NotMachs (const char**)NULL
8294  *  content selection pattern - do fix if pattern found
8295  */
8296 tSCC zStrict_Ansi_NotSelect0[] =
8297        "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8300  *  content bypass pattern - skip fix if pattern found
8301  */
8302 tSCC zStrict_Ansi_NotBypass0[] =
8303        "GNU and MIPS C compilers define __STDC__ differently";
8304 tSCC zStrict_Ansi_NotBypass1[] =
8305        "__SCO_VERSION__.*__STDC__ != 1";
8308  *  perform the C function call test
8309  */
8310 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8312 #define    STRICT_ANSI_NOT_TEST_CT  4
8313 static tTestDesc aStrict_Ansi_NotTests[] = {
8314   { TT_FUNCTION, zStrict_Ansi_NotFTst0,   0 /* unused */ },
8315   { TT_NEGREP,   zStrict_Ansi_NotBypass0, (regex_t*)NULL },
8316   { TT_NEGREP,   zStrict_Ansi_NotBypass1, (regex_t*)NULL },
8317   { TT_EGREP,    zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
8320  *  Fix Command Arguments for Strict_Ansi_Not
8321  */
8322 static const char* apzStrict_Ansi_NotPatch[] = {
8323     "format",
8324     "%1 !defined(__STRICT_ANSI__)",
8325     (char*)NULL };
8327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8329  *  Description of Strict_Ansi_Not_Ctd fix
8330  */
8331 tSCC zStrict_Ansi_Not_CtdName[] =
8332      "strict_ansi_not_ctd";
8335  *  File name selection pattern
8336  */
8337 tSCC zStrict_Ansi_Not_CtdList[] =
8338   "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8340  *  Machine/OS name selection pattern
8341  */
8342 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8345  *  content selection pattern - do fix if pattern found
8346  */
8347 tSCC zStrict_Ansi_Not_CtdSelect0[] =
8348        "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8351  *  perform the C function call test
8352  */
8353 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8355 #define    STRICT_ANSI_NOT_CTD_TEST_CT  2
8356 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8357   { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0,   0 /* unused */ },
8358   { TT_EGREP,    zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
8361  *  Fix Command Arguments for Strict_Ansi_Not_Ctd
8362  */
8363 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8364     "format",
8365     "%1 !defined(__STRICT_ANSI__)",
8366     (char*)NULL };
8368 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8370  *  Description of Strict_Ansi_Only fix
8371  */
8372 tSCC zStrict_Ansi_OnlyName[] =
8373      "strict_ansi_only";
8376  *  File name selection pattern
8377  */
8378 #define zStrict_Ansi_OnlyList (char*)NULL
8380  *  Machine/OS name selection pattern
8381  */
8382 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
8385  *  content selection pattern - do fix if pattern found
8386  */
8387 tSCC zStrict_Ansi_OnlySelect0[] =
8388        "^([ \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)";
8391  *  perform the C function call test
8392  */
8393 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8395 #define    STRICT_ANSI_ONLY_TEST_CT  2
8396 static tTestDesc aStrict_Ansi_OnlyTests[] = {
8397   { TT_FUNCTION, zStrict_Ansi_OnlyFTst0,   0 /* unused */ },
8398   { TT_EGREP,    zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
8401  *  Fix Command Arguments for Strict_Ansi_Only
8402  */
8403 static const char* apzStrict_Ansi_OnlyPatch[] = {
8404     "format",
8405     "%1 defined(__STRICT_ANSI__)",
8406     (char*)NULL };
8408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8410  *  Description of Struct_File fix
8411  */
8412 tSCC zStruct_FileName[] =
8413      "struct_file";
8416  *  File name selection pattern
8417  */
8418 tSCC zStruct_FileList[] =
8419   "rpc/xdr.h\0";
8421  *  Machine/OS name selection pattern
8422  */
8423 #define apzStruct_FileMachs (const char**)NULL
8426  *  content selection pattern - do fix if pattern found
8427  */
8428 tSCC zStruct_FileSelect0[] =
8429        "^.*xdrstdio_create.*struct __file_s";
8431 #define    STRUCT_FILE_TEST_CT  1
8432 static tTestDesc aStruct_FileTests[] = {
8433   { TT_EGREP,    zStruct_FileSelect0, (regex_t*)NULL }, };
8436  *  Fix Command Arguments for Struct_File
8437  */
8438 static const char* apzStruct_FilePatch[] = {
8439     "format",
8440     "struct __file_s;\n\
8441 %0",
8442     (char*)NULL };
8444 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8446  *  Description of Struct_Sockaddr fix
8447  */
8448 tSCC zStruct_SockaddrName[] =
8449      "struct_sockaddr";
8452  *  File name selection pattern
8453  */
8454 tSCC zStruct_SockaddrList[] =
8455   "rpc/auth.h\0";
8457  *  Machine/OS name selection pattern
8458  */
8459 #define apzStruct_SockaddrMachs (const char**)NULL
8462  *  content selection pattern - do fix if pattern found
8463  */
8464 tSCC zStruct_SockaddrSelect0[] =
8465        "^.*authdes_create.*struct sockaddr[^_]";
8468  *  content bypass pattern - skip fix if pattern found
8469  */
8470 tSCC zStruct_SockaddrBypass0[] =
8471        "<sys/socket.h>";
8472 tSCC zStruct_SockaddrBypass1[] =
8473        "struct sockaddr;\n";
8475 #define    STRUCT_SOCKADDR_TEST_CT  3
8476 static tTestDesc aStruct_SockaddrTests[] = {
8477   { TT_NEGREP,   zStruct_SockaddrBypass0, (regex_t*)NULL },
8478   { TT_NEGREP,   zStruct_SockaddrBypass1, (regex_t*)NULL },
8479   { TT_EGREP,    zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8482  *  Fix Command Arguments for Struct_Sockaddr
8483  */
8484 static const char* apzStruct_SockaddrPatch[] = {
8485     "format",
8486     "struct sockaddr;\n\
8487 %0",
8488     (char*)NULL };
8490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8492  *  Description of Sun_Auth_Proto fix
8493  */
8494 tSCC zSun_Auth_ProtoName[] =
8495      "sun_auth_proto";
8498  *  File name selection pattern
8499  */
8500 tSCC zSun_Auth_ProtoList[] =
8501   "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8503  *  Machine/OS name selection pattern
8504  */
8505 #define apzSun_Auth_ProtoMachs (const char**)NULL
8508  *  content selection pattern - do fix if pattern found
8509  */
8510 tSCC zSun_Auth_ProtoSelect0[] =
8511        "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8514  *  content bypass pattern - skip fix if pattern found
8515  */
8516 tSCC zSun_Auth_ProtoBypass0[] =
8517        "__cplusplus";
8519 #define    SUN_AUTH_PROTO_TEST_CT  2
8520 static tTestDesc aSun_Auth_ProtoTests[] = {
8521   { TT_NEGREP,   zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8522   { TT_EGREP,    zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8525  *  Fix Command Arguments for Sun_Auth_Proto
8526  */
8527 static const char* apzSun_Auth_ProtoPatch[] = {
8528     "format",
8529     "#ifdef __cplusplus\n\
8530 %1(...);%2\n\
8531 #else\n\
8532 %1();%2\n\
8533 #endif",
8534     "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8535     (char*)NULL };
8537 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8539  *  Description of Sun_Bogus_Ifdef fix
8540  */
8541 tSCC zSun_Bogus_IfdefName[] =
8542      "sun_bogus_ifdef";
8545  *  File name selection pattern
8546  */
8547 tSCC zSun_Bogus_IfdefList[] =
8548   "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8550  *  Machine/OS name selection pattern
8551  */
8552 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8555  *  content selection pattern - do fix if pattern found
8556  */
8557 tSCC zSun_Bogus_IfdefSelect0[] =
8558        "#ifdef(.*\\|\\|.*)";
8560 #define    SUN_BOGUS_IFDEF_TEST_CT  1
8561 static tTestDesc aSun_Bogus_IfdefTests[] = {
8562   { TT_EGREP,    zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8565  *  Fix Command Arguments for Sun_Bogus_Ifdef
8566  */
8567 static const char* apzSun_Bogus_IfdefPatch[] = {
8568     "format",
8569     "#if%1",
8570     (char*)NULL };
8572 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8574  *  Description of Sun_Catmacro fix
8575  */
8576 tSCC zSun_CatmacroName[] =
8577      "sun_catmacro";
8580  *  File name selection pattern
8581  */
8582 tSCC zSun_CatmacroList[] =
8583   "pixrect/memvar.h\0";
8585  *  Machine/OS name selection pattern
8586  */
8587 #define apzSun_CatmacroMachs (const char**)NULL
8590  *  content selection pattern - do fix if pattern found
8591  */
8592 tSCC zSun_CatmacroSelect0[] =
8593        "^#define[ \t]+CAT\\(a,b\\).*";
8595 #define    SUN_CATMACRO_TEST_CT  1
8596 static tTestDesc aSun_CatmacroTests[] = {
8597   { TT_EGREP,    zSun_CatmacroSelect0, (regex_t*)NULL }, };
8600  *  Fix Command Arguments for Sun_Catmacro
8601  */
8602 static const char* apzSun_CatmacroPatch[] = {
8603     "format",
8604     "#ifdef __STDC__\n\
8605 #  define CAT(a,b) a##b\n\
8606 #else\n\
8607 %0\n\
8608 #endif",
8609     (char*)NULL };
8611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8613  *  Description of Sun_Malloc fix
8614  */
8615 tSCC zSun_MallocName[] =
8616      "sun_malloc";
8619  *  File name selection pattern
8620  */
8621 tSCC zSun_MallocList[] =
8622   "malloc.h\0";
8624  *  Machine/OS name selection pattern
8625  */
8626 #define apzSun_MallocMachs (const char**)NULL
8629  *  content bypass pattern - skip fix if pattern found
8630  */
8631 tSCC zSun_MallocBypass0[] =
8632        "_CLASSIC_ANSI_TYPES";
8634 #define    SUN_MALLOC_TEST_CT  1
8635 static tTestDesc aSun_MallocTests[] = {
8636   { TT_NEGREP,   zSun_MallocBypass0, (regex_t*)NULL }, };
8639  *  Fix Command Arguments for Sun_Malloc
8640  */
8641 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8642     "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8643     "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8644     "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8645     "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8646     "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8647     (char*)NULL };
8649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8651  *  Description of Sun_Rusers_Semi fix
8652  */
8653 tSCC zSun_Rusers_SemiName[] =
8654      "sun_rusers_semi";
8657  *  File name selection pattern
8658  */
8659 tSCC zSun_Rusers_SemiList[] =
8660   "rpcsvc/rusers.h\0";
8662  *  Machine/OS name selection pattern
8663  */
8664 #define apzSun_Rusers_SemiMachs (const char**)NULL
8667  *  content selection pattern - do fix if pattern found
8668  */
8669 tSCC zSun_Rusers_SemiSelect0[] =
8670        "_cnt$";
8672 #define    SUN_RUSERS_SEMI_TEST_CT  1
8673 static tTestDesc aSun_Rusers_SemiTests[] = {
8674   { TT_EGREP,    zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8677  *  Fix Command Arguments for Sun_Rusers_Semi
8678  */
8679 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8680     "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8681     (char*)NULL };
8683 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8685  *  Description of Sun_Signal fix
8686  */
8687 tSCC zSun_SignalName[] =
8688      "sun_signal";
8691  *  File name selection pattern
8692  */
8693 tSCC zSun_SignalList[] =
8694   "sys/signal.h\0signal.h\0";
8696  *  Machine/OS name selection pattern
8697  */
8698 #define apzSun_SignalMachs (const char**)NULL
8701  *  content selection pattern - do fix if pattern found
8702  */
8703 tSCC zSun_SignalSelect0[] =
8704        "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8706 #define    SUN_SIGNAL_TEST_CT  1
8707 static tTestDesc aSun_SignalTests[] = {
8708   { TT_EGREP,    zSun_SignalSelect0, (regex_t*)NULL }, };
8711  *  Fix Command Arguments for Sun_Signal
8712  */
8713 static const char* apzSun_SignalPatch[] = {
8714     "format",
8715     "#ifdef __cplusplus\n\
8716 void\t(*signal(...))(...);\n\
8717 #else\n\
8718 %0\n\
8719 #endif",
8720     (char*)NULL };
8722 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8724  *  Description of Sunos_Strlen fix
8725  */
8726 tSCC zSunos_StrlenName[] =
8727      "sunos_strlen";
8730  *  File name selection pattern
8731  */
8732 tSCC zSunos_StrlenList[] =
8733   "strings.h\0";
8735  *  Machine/OS name selection pattern
8736  */
8737 #define apzSunos_StrlenMachs (const char**)NULL
8740  *  content selection pattern - do fix if pattern found
8741  */
8742 tSCC zSunos_StrlenSelect0[] =
8743        "int[ \t]*strlen\\(\\);(.*)";
8745 #define    SUNOS_STRLEN_TEST_CT  1
8746 static tTestDesc aSunos_StrlenTests[] = {
8747   { TT_EGREP,    zSunos_StrlenSelect0, (regex_t*)NULL }, };
8750  *  Fix Command Arguments for Sunos_Strlen
8751  */
8752 static const char* apzSunos_StrlenPatch[] = {
8753     "format",
8754     "__SIZE_TYPE__ strlen();%1",
8755     (char*)NULL };
8757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8759  *  Description of Suse_Linux_Vt_Cxx fix
8760  */
8761 tSCC zSuse_Linux_Vt_CxxName[] =
8762      "suse_linux_vt_cxx";
8765  *  File name selection pattern
8766  */
8767 tSCC zSuse_Linux_Vt_CxxList[] =
8768   "linux/vt.h\0";
8770  *  Machine/OS name selection pattern
8771  */
8772 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8775  *  content selection pattern - do fix if pattern found
8776  */
8777 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8778        "^[ \t]*unsigned int new;";
8780 #define    SUSE_LINUX_VT_CXX_TEST_CT  1
8781 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8782   { TT_EGREP,    zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8785  *  Fix Command Arguments for Suse_Linux_Vt_Cxx
8786  */
8787 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8788     "format",
8789     "unsigned int newev;",
8790     (char*)NULL };
8792 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8794  *  Description of Svr4_Disable_Opt fix
8795  */
8796 tSCC zSvr4_Disable_OptName[] =
8797      "svr4_disable_opt";
8800  *  File name selection pattern
8801  */
8802 tSCC zSvr4_Disable_OptList[] =
8803   "string.h\0";
8805  *  Machine/OS name selection pattern
8806  */
8807 #define apzSvr4_Disable_OptMachs (const char**)NULL
8810  *  content selection pattern - do fix if pattern found
8811  */
8812 tSCC zSvr4_Disable_OptSelect0[] =
8813        "#define.*__std_hdr_";
8815 #define    SVR4_DISABLE_OPT_TEST_CT  1
8816 static tTestDesc aSvr4_Disable_OptTests[] = {
8817   { TT_EGREP,    zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8820  *  Fix Command Arguments for Svr4_Disable_Opt
8821  */
8822 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8823     "-e", "/#define.*__std_hdr_/d",
8824     (char*)NULL };
8826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8828  *  Description of Svr4_Getcwd fix
8829  */
8830 tSCC zSvr4_GetcwdName[] =
8831      "svr4_getcwd";
8834  *  File name selection pattern
8835  */
8836 tSCC zSvr4_GetcwdList[] =
8837   "stdlib.h\0unistd.h\0prototypes.h\0";
8839  *  Machine/OS name selection pattern
8840  */
8841 #define apzSvr4_GetcwdMachs (const char**)NULL
8844  *  content selection pattern - do fix if pattern found
8845  */
8846 tSCC zSvr4_GetcwdSelect0[] =
8847        "getcwd\\(char \\*, int\\)";
8849 #define    SVR4_GETCWD_TEST_CT  1
8850 static tTestDesc aSvr4_GetcwdTests[] = {
8851   { TT_EGREP,    zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8854  *  Fix Command Arguments for Svr4_Getcwd
8855  */
8856 static const char* apzSvr4_GetcwdPatch[] = {
8857     "format",
8858     "getcwd(char *, size_t)",
8859     (char*)NULL };
8861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8863  *  Description of Svr4_Profil fix
8864  */
8865 tSCC zSvr4_ProfilName[] =
8866      "svr4_profil";
8869  *  File name selection pattern
8870  */
8871 tSCC zSvr4_ProfilList[] =
8872   "stdlib.h\0unistd.h\0";
8874  *  Machine/OS name selection pattern
8875  */
8876 #define apzSvr4_ProfilMachs (const char**)NULL
8879  *  content selection pattern - do fix if pattern found
8880  */
8881 tSCC zSvr4_ProfilSelect0[] =
8882        "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8884 #define    SVR4_PROFIL_TEST_CT  1
8885 static tTestDesc aSvr4_ProfilTests[] = {
8886   { TT_EGREP,    zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8889  *  Fix Command Arguments for Svr4_Profil
8890  */
8891 static const char* apzSvr4_ProfilPatch[] = {
8892     "format",
8893     "profil(unsigned short *, size_t, int, unsigned int)",
8894     (char*)NULL };
8896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8898  *  Description of Svr4_Sighandler_Type fix
8899  */
8900 tSCC zSvr4_Sighandler_TypeName[] =
8901      "svr4_sighandler_type";
8904  *  File name selection pattern
8905  */
8906 tSCC zSvr4_Sighandler_TypeList[] =
8907   "sys/signal.h\0";
8909  *  Machine/OS name selection pattern
8910  */
8911 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8914  *  content selection pattern - do fix if pattern found
8915  */
8916 tSCC zSvr4_Sighandler_TypeSelect0[] =
8917        "void *\\(\\*\\)\\(\\)";
8919 #define    SVR4_SIGHANDLER_TYPE_TEST_CT  1
8920 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8921   { TT_EGREP,    zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8924  *  Fix Command Arguments for Svr4_Sighandler_Type
8925  */
8926 static const char* apzSvr4_Sighandler_TypePatch[] = {
8927     "format",
8928     "void (*)(int)",
8929     (char*)NULL };
8931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8933  *  Description of Svr4_Undeclared_Getrnge fix
8934  */
8935 tSCC zSvr4_Undeclared_GetrngeName[] =
8936      "svr4_undeclared_getrnge";
8939  *  File name selection pattern
8940  */
8941 tSCC zSvr4_Undeclared_GetrngeList[] =
8942   "regexp.h\0";
8944  *  Machine/OS name selection pattern
8945  */
8946 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8949  *  content selection pattern - do fix if pattern found
8950  */
8951 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8952        "getrnge";
8955  *  content bypass pattern - skip fix if pattern found
8956  */
8957 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8958        "static void getrnge";
8960 #define    SVR4_UNDECLARED_GETRNGE_TEST_CT  2
8961 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8962   { TT_NEGREP,   zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8963   { TT_EGREP,    zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8966  *  Fix Command Arguments for Svr4_Undeclared_Getrnge
8967  */
8968 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8969     "format",
8970     "%0\n\
8971 static int getrnge ();",
8972     "^static int[ \t]+size;",
8973     (char*)NULL };
8975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8977  *  Description of Sysv68_String fix
8978  */
8979 tSCC zSysv68_StringName[] =
8980      "sysv68_string";
8983  *  File name selection pattern
8984  */
8985 tSCC zSysv68_StringList[] =
8986   "testing.h\0string.h\0";
8988  *  Machine/OS name selection pattern
8989  */
8990 #define apzSysv68_StringMachs (const char**)NULL
8993  *  content bypass pattern - skip fix if pattern found
8994  */
8995 tSCC zSysv68_StringBypass0[] =
8996        "_CLASSIC_ANSI_TYPES";
8998 #define    SYSV68_STRING_TEST_CT  1
8999 static tTestDesc aSysv68_StringTests[] = {
9000   { TT_NEGREP,   zSysv68_StringBypass0, (regex_t*)NULL }, };
9003  *  Fix Command Arguments for Sysv68_String
9004  */
9005 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9006     "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9007     "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9008     "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9009     "-e", "/^extern char$/N",
9010     "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9011     "-e", "/^extern int$/N",
9012     "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9013     "-e", "/^\tstrncmp(),$/N",
9014     "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9015 extern unsigned int\\\n\
9016 \\2/",
9017     (char*)NULL };
9019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9021  *  Description of Sysz_Stdlib_For_Sun fix
9022  */
9023 tSCC zSysz_Stdlib_For_SunName[] =
9024      "sysz_stdlib_for_sun";
9027  *  File name selection pattern
9028  */
9029 tSCC zSysz_Stdlib_For_SunList[] =
9030   "stdlib.h\0";
9032  *  Machine/OS name selection pattern
9033  */
9034 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9037  *  content selection pattern - do fix if pattern found
9038  */
9039 tSCC zSysz_Stdlib_For_SunSelect0[] =
9040        "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9043  *  content bypass pattern - skip fix if pattern found
9044  */
9045 tSCC zSysz_Stdlib_For_SunBypass0[] =
9046        "_CLASSIC_ANSI_TYPES";
9048 #define    SYSZ_STDLIB_FOR_SUN_TEST_CT  2
9049 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9050   { TT_NEGREP,   zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9051   { TT_EGREP,    zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9054  *  Fix Command Arguments for Sysz_Stdlib_For_Sun
9055  */
9056 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9057     "format",
9058     "void *\t%1(",
9059     (char*)NULL };
9061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9063  *  Description of Thread_Keyword fix
9064  */
9065 tSCC zThread_KeywordName[] =
9066      "thread_keyword";
9069  *  File name selection pattern
9070  */
9071 tSCC zThread_KeywordList[] =
9072   "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9074  *  Machine/OS name selection pattern
9075  */
9076 #define apzThread_KeywordMachs (const char**)NULL
9079  *  content selection pattern - do fix if pattern found
9080  */
9081 tSCC zThread_KeywordSelect0[] =
9082        "([* ])__thread([,)])";
9084 #define    THREAD_KEYWORD_TEST_CT  1
9085 static tTestDesc aThread_KeywordTests[] = {
9086   { TT_EGREP,    zThread_KeywordSelect0, (regex_t*)NULL }, };
9089  *  Fix Command Arguments for Thread_Keyword
9090  */
9091 static const char* apzThread_KeywordPatch[] = {
9092     "format",
9093     "%1__thr%2",
9094     (char*)NULL };
9096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9098  *  Description of Tinfo_Cplusplus fix
9099  */
9100 tSCC zTinfo_CplusplusName[] =
9101      "tinfo_cplusplus";
9104  *  File name selection pattern
9105  */
9106 tSCC zTinfo_CplusplusList[] =
9107   "tinfo.h\0";
9109  *  Machine/OS name selection pattern
9110  */
9111 #define apzTinfo_CplusplusMachs (const char**)NULL
9114  *  content selection pattern - do fix if pattern found
9115  */
9116 tSCC zTinfo_CplusplusSelect0[] =
9117        "[ \t]_cplusplus";
9119 #define    TINFO_CPLUSPLUS_TEST_CT  1
9120 static tTestDesc aTinfo_CplusplusTests[] = {
9121   { TT_EGREP,    zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9124  *  Fix Command Arguments for Tinfo_Cplusplus
9125  */
9126 static const char* apzTinfo_CplusplusPatch[] = {
9127     "format",
9128     " __cplusplus",
9129     (char*)NULL };
9131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9133  *  Description of Ultrix_Const fix
9134  */
9135 tSCC zUltrix_ConstName[] =
9136      "ultrix_const";
9139  *  File name selection pattern
9140  */
9141 tSCC zUltrix_ConstList[] =
9142   "stdio.h\0";
9144  *  Machine/OS name selection pattern
9145  */
9146 #define apzUltrix_ConstMachs (const char**)NULL
9149  *  content selection pattern - do fix if pattern found
9150  */
9151 tSCC zUltrix_ConstSelect0[] =
9152        "perror\\( char \\*";
9154 #define    ULTRIX_CONST_TEST_CT  1
9155 static tTestDesc aUltrix_ConstTests[] = {
9156   { TT_EGREP,    zUltrix_ConstSelect0, (regex_t*)NULL }, };
9159  *  Fix Command Arguments for Ultrix_Const
9160  */
9161 static const char* apzUltrix_ConstPatch[] = {
9162     "format",
9163     "%1 const %3 *__",
9164     "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9165     (char*)NULL };
9167 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9169  *  Description of Ultrix_Const2 fix
9170  */
9171 tSCC zUltrix_Const2Name[] =
9172      "ultrix_const2";
9175  *  File name selection pattern
9176  */
9177 tSCC zUltrix_Const2List[] =
9178   "stdio.h\0";
9180  *  Machine/OS name selection pattern
9181  */
9182 #define apzUltrix_Const2Machs (const char**)NULL
9185  *  content selection pattern - do fix if pattern found
9186  */
9187 tSCC zUltrix_Const2Select0[] =
9188        "\\*fopen\\( char \\*";
9190 #define    ULTRIX_CONST2_TEST_CT  1
9191 static tTestDesc aUltrix_Const2Tests[] = {
9192   { TT_EGREP,    zUltrix_Const2Select0, (regex_t*)NULL }, };
9195  *  Fix Command Arguments for Ultrix_Const2
9196  */
9197 static const char* apzUltrix_Const2Patch[] = {
9198     "format",
9199     "%1( const char *%3, const char *",
9200     "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9201     (char*)NULL };
9203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9205  *  Description of Va_I960_Macro fix
9206  */
9207 tSCC zVa_I960_MacroName[] =
9208      "va_i960_macro";
9211  *  File name selection pattern
9212  */
9213 tSCC zVa_I960_MacroList[] =
9214   "arch/i960/archI960.h\0";
9216  *  Machine/OS name selection pattern
9217  */
9218 #define apzVa_I960_MacroMachs (const char**)NULL
9221  *  content selection pattern - do fix if pattern found
9222  */
9223 tSCC zVa_I960_MacroSelect0[] =
9224        "__(vsiz|vali|vpad|alignof__)";
9226 #define    VA_I960_MACRO_TEST_CT  1
9227 static tTestDesc aVa_I960_MacroTests[] = {
9228   { TT_EGREP,    zVa_I960_MacroSelect0, (regex_t*)NULL }, };
9231  *  Fix Command Arguments for Va_I960_Macro
9232  */
9233 static const char* apzVa_I960_MacroPatch[] = {
9234     "format",
9235     "__vx%1",
9236     (char*)NULL };
9238 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9240  *  Description of Vms_Add_Missing_Braces fix
9241  */
9242 tSCC zVms_Add_Missing_BracesName[] =
9243      "vms_add_missing_braces";
9246  *  File name selection pattern
9247  */
9248 tSCC zVms_Add_Missing_BracesList[] =
9249   "rtldef/signal.h\0";
9251  *  Machine/OS name selection pattern
9252  */
9253 tSCC* apzVms_Add_Missing_BracesMachs[] = {
9254         "*-*-*vms*",
9255         (const char*)NULL };
9258  *  content selection pattern - do fix if pattern found
9259  */
9260 tSCC zVms_Add_Missing_BracesSelect0[] =
9261        "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9263 #define    VMS_ADD_MISSING_BRACES_TEST_CT  1
9264 static tTestDesc aVms_Add_Missing_BracesTests[] = {
9265   { TT_EGREP,    zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
9268  *  Fix Command Arguments for Vms_Add_Missing_Braces
9269  */
9270 static const char* apzVms_Add_Missing_BracesPatch[] = {
9271     "format",
9272     "%1 {%2} ",
9273     (char*)NULL };
9275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9277  *  Description of Vms_Decc_Builtin fix
9278  */
9279 tSCC zVms_Decc_BuiltinName[] =
9280      "vms_decc_builtin";
9283  *  File name selection pattern
9284  */
9285 tSCC zVms_Decc_BuiltinList[] =
9286   "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9288  *  Machine/OS name selection pattern
9289  */
9290 tSCC* apzVms_Decc_BuiltinMachs[] = {
9291         "*-*-*vms*",
9292         (const char*)NULL };
9295  *  content selection pattern - do fix if pattern found
9296  */
9297 tSCC zVms_Decc_BuiltinSelect0[] =
9298        "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9300 #define    VMS_DECC_BUILTIN_TEST_CT  1
9301 static tTestDesc aVms_Decc_BuiltinTests[] = {
9302   { TT_EGREP,    zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
9305  *  Fix Command Arguments for Vms_Decc_Builtin
9306  */
9307 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9308     "-e", "s@__MEMSET@memset@",
9309     "-e", "s@__MEMMOVE@memmove@",
9310     "-e", "s@__MEMCPY@memcpy@",
9311     "-e", "s@__STRLEN@strlen@",
9312     "-e", "s@__STRCPY@strcpy@",
9313     (char*)NULL };
9315 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9317  *  Description of Vms_Define_Can_Use_Extern_Prefix fix
9318  */
9319 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9320      "vms_define_can_use_extern_prefix";
9323  *  File name selection pattern
9324  */
9325 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9326   "rtldef/decc$types.h\0";
9328  *  Machine/OS name selection pattern
9329  */
9330 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9331         "*-*-*vms*",
9332         (const char*)NULL };
9335  *  content selection pattern - do fix if pattern found
9336  */
9337 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9338        "#[ \t]*else\n\
9339 #[ \t]*if defined\\(__DECCXX\\)\n\
9340 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9342 #define    VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT  1
9343 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9344   { TT_EGREP,    zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
9347  *  Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9348  */
9349 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9350     "format",
9351     "%0#    elif defined (__GNUC__)\n\
9352 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9353     (char*)NULL };
9355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9357  *  Description of Vms_Disable_Decc_String_Builtins fix
9358  */
9359 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9360      "vms_disable_decc_string_builtins";
9363  *  File name selection pattern
9364  */
9365 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9366   "rtldef/string.h\0";
9368  *  Machine/OS name selection pattern
9369  */
9370 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9371         "*-*-*vms*",
9372         (const char*)NULL };
9375  *  content selection pattern - do fix if pattern found
9376  */
9377 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9378        "#if !defined\\(__VAX\\)\n";
9380 #define    VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT  1
9381 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9382   { TT_EGREP,    zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
9385  *  Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9386  */
9387 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9388     "format",
9389     "#if !defined(__VAX) && !defined(__GNUC__)\n",
9390     (char*)NULL };
9392 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9394  *  Description of Vms_Do_Not_Redeclare_Hostalias fix
9395  */
9396 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9397      "vms_do_not_redeclare_hostalias";
9400  *  File name selection pattern
9401  */
9402 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9403   "rtldef/resolv.h\0";
9405  *  Machine/OS name selection pattern
9406  */
9407 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9408         "*-*-*vms*",
9409         (const char*)NULL };
9412  *  content selection pattern - do fix if pattern found
9413  */
9414 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9415        "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9416 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9418 #define    VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT  1
9419 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9420   { TT_EGREP,    zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
9423  *  Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9424  */
9425 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9426     "format",
9427     "%1\n\
9428 /* %2 */",
9429     (char*)NULL };
9431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9433  *  Description of Vms_Forward_Declare_Struct fix
9434  */
9435 tSCC zVms_Forward_Declare_StructName[] =
9436      "vms_forward_declare_struct";
9439  *  File name selection pattern
9440  */
9441 tSCC zVms_Forward_Declare_StructList[] =
9442   "rtldef/if.h\0";
9444  *  Machine/OS name selection pattern
9445  */
9446 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9447         "*-*-*vms*",
9448         (const char*)NULL };
9451  *  content selection pattern - do fix if pattern found
9452  */
9453 tSCC zVms_Forward_Declare_StructSelect0[] =
9454        "(/\\* forward decls for C\\+\\+ \\*/\n\
9455 )#ifdef __cplusplus\n";
9457 #define    VMS_FORWARD_DECLARE_STRUCT_TEST_CT  1
9458 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9459   { TT_EGREP,    zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9462  *  Fix Command Arguments for Vms_Forward_Declare_Struct
9463  */
9464 static const char* apzVms_Forward_Declare_StructPatch[] = {
9465     "format",
9466     "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9467     (char*)NULL };
9469 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9471  *  Description of Vms_No_64bit_Getopt fix
9472  */
9473 tSCC zVms_No_64bit_GetoptName[] =
9474      "vms_no_64bit_getopt";
9477  *  File name selection pattern
9478  */
9479 tSCC zVms_No_64bit_GetoptList[] =
9480   "rtldef/stdio.h\0rtldef/unistd.h\0";
9482  *  Machine/OS name selection pattern
9483  */
9484 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9485         "*-*-*vms*",
9486         (const char*)NULL };
9489  *  content selection pattern - do fix if pattern found
9490  */
9491 tSCC zVms_No_64bit_GetoptSelect0[] =
9492        "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9494 #define    VMS_NO_64BIT_GETOPT_TEST_CT  1
9495 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9496   { TT_EGREP,    zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9499  *  Fix Command Arguments for Vms_No_64bit_Getopt
9500  */
9501 static const char* apzVms_No_64bit_GetoptPatch[] = {
9502     "format",
9503     "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only.  */\n\
9504 %0#endif\n",
9505     (char*)NULL };
9507 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9509  *  Description of Vms_Use_Fast_Setjmp fix
9510  */
9511 tSCC zVms_Use_Fast_SetjmpName[] =
9512      "vms_use_fast_setjmp";
9515  *  File name selection pattern
9516  */
9517 tSCC zVms_Use_Fast_SetjmpList[] =
9518   "rtldef/setjmp.h\0";
9520  *  Machine/OS name selection pattern
9521  */
9522 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9523         "*-*-*vms*",
9524         (const char*)NULL };
9527  *  content selection pattern - do fix if pattern found
9528  */
9529 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9530        "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9532 #define    VMS_USE_FAST_SETJMP_TEST_CT  1
9533 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9534   { TT_EGREP,    zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9537  *  Fix Command Arguments for Vms_Use_Fast_Setjmp
9538  */
9539 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9540     "format",
9541     "%0 defined (__GNUC__) ||",
9542     (char*)NULL };
9544 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9546  *  Description of Vms_Use_Pragma_Extern_Model fix
9547  */
9548 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9549      "vms_use_pragma_extern_model";
9552  *  File name selection pattern
9553  */
9554 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9556  *  Machine/OS name selection pattern
9557  */
9558 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9559         "*-*-*vms*",
9560         (const char*)NULL };
9563  *  content selection pattern - do fix if pattern found
9564  */
9565 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9566        "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9567 # pragma extern_model __save\n";
9569 #define    VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT  1
9570 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9571   { TT_EGREP,    zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9574  *  Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9575  */
9576 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9577     "format",
9578     "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9579 # pragma extern_model __save\n",
9580     (char*)NULL };
9582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9584  *  Description of Vms_Use_Quoted_Include fix
9585  */
9586 tSCC zVms_Use_Quoted_IncludeName[] =
9587      "vms_use_quoted_include";
9590  *  File name selection pattern
9591  */
9592 tSCC zVms_Use_Quoted_IncludeList[] =
9593   "rtldef/wait.h\0starlet_c/pthread.h\0";
9595  *  Machine/OS name selection pattern
9596  */
9597 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9598         "*-*-*vms*",
9599         (const char*)NULL };
9602  *  content selection pattern - do fix if pattern found
9603  */
9604 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9605        "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9607 #define    VMS_USE_QUOTED_INCLUDE_TEST_CT  1
9608 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9609   { TT_EGREP,    zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9612  *  Fix Command Arguments for Vms_Use_Quoted_Include
9613  */
9614 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9615     "format",
9616     "%1<sys/%2.h>",
9617     (char*)NULL };
9619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9621  *  Description of Void_Null fix
9622  */
9623 tSCC zVoid_NullName[] =
9624      "void_null";
9627  *  File name selection pattern
9628  */
9629 tSCC zVoid_NullList[] =
9630   "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";
9632  *  Machine/OS name selection pattern
9633  */
9634 #define apzVoid_NullMachs (const char**)NULL
9637  *  content selection pattern - do fix if pattern found
9638  */
9639 tSCC zVoid_NullSelect0[] =
9640        "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9643  *  content bypass pattern - skip fix if pattern found
9644  */
9645 tSCC zVoid_NullBypass0[] =
9646        "__cplusplus";
9647 tSCC zVoid_NullBypass1[] =
9648        "__null";
9650 #define    VOID_NULL_TEST_CT  3
9651 static tTestDesc aVoid_NullTests[] = {
9652   { TT_NEGREP,   zVoid_NullBypass0, (regex_t*)NULL },
9653   { TT_NEGREP,   zVoid_NullBypass1, (regex_t*)NULL },
9654   { TT_EGREP,    zVoid_NullSelect0, (regex_t*)NULL }, };
9657  *  Fix Command Arguments for Void_Null
9658  */
9659 static const char* apzVoid_NullPatch[] = {
9660     "format",
9661     "#ifndef NULL\n\
9662 #ifdef __cplusplus\n\
9663 #ifdef __GNUG__\n\
9664 #define NULL __null\n\
9665 #else /* ! __GNUG__  */\n\
9666 #define NULL 0L\n\
9667 #endif /* __GNUG__  */\n\
9668 #else /* ! __cplusplus  */\n\
9669 #define NULL ((void *)0)\n\
9670 #endif /* __cplusplus  */\n\
9671 #endif /* !NULL  */",
9672     (char*)NULL };
9674 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9676  *  Description of Vxworks_Gcc_Problem fix
9677  */
9678 tSCC zVxworks_Gcc_ProblemName[] =
9679      "vxworks_gcc_problem";
9682  *  File name selection pattern
9683  */
9684 tSCC zVxworks_Gcc_ProblemList[] =
9685   "types/vxTypesBase.h\0";
9687  *  Machine/OS name selection pattern
9688  */
9689 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9692  *  content selection pattern - do fix if pattern found
9693  */
9694 tSCC zVxworks_Gcc_ProblemSelect0[] =
9695        "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9697 #define    VXWORKS_GCC_PROBLEM_TEST_CT  1
9698 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9699   { TT_EGREP,    zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9702  *  Fix Command Arguments for Vxworks_Gcc_Problem
9703  */
9704 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9705     "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9706     "-e", "/[ \t]size_t/i\\\n\
9707 #ifndef _GCC_SIZE_T\\\n\
9708 #define _GCC_SIZE_T\n",
9709     "-e", "/[ \t]size_t/a\\\n\
9710 #endif\n",
9711     "-e", "/[ \t]ptrdiff_t/i\\\n\
9712 #ifndef _GCC_PTRDIFF_T\\\n\
9713 #define _GCC_PTRDIFF_T\n",
9714     "-e", "/[ \t]ptrdiff_t/a\\\n\
9715 #endif\n",
9716     "-e", "/[ \t]wchar_t/i\\\n\
9717 #ifndef _GCC_WCHAR_T\\\n\
9718 #define _GCC_WCHAR_T\n",
9719     "-e", "/[ \t]wchar_t/a\\\n\
9720 #endif\n",
9721     (char*)NULL };
9723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9725  *  Description of Vxworks_Ioctl_Macro fix
9726  */
9727 tSCC zVxworks_Ioctl_MacroName[] =
9728      "vxworks_ioctl_macro";
9731  *  File name selection pattern
9732  */
9733 tSCC zVxworks_Ioctl_MacroList[] =
9734   "ioLib.h\0";
9736  *  Machine/OS name selection pattern
9737  */
9738 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9739         "*-*-vxworks*",
9740         (const char*)NULL };
9741 #define VXWORKS_IOCTL_MACRO_TEST_CT  0
9742 #define aVxworks_Ioctl_MacroTests   (tTestDesc*)NULL
9745  *  Fix Command Arguments for Vxworks_Ioctl_Macro
9746  */
9747 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9748     "format",
9749     "%0\n\
9750 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
9751     "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9752     (char*)NULL };
9754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9756  *  Description of Vxworks_Mkdir_Macro fix
9757  */
9758 tSCC zVxworks_Mkdir_MacroName[] =
9759      "vxworks_mkdir_macro";
9762  *  File name selection pattern
9763  */
9764 tSCC zVxworks_Mkdir_MacroList[] =
9765   "sys/stat.h\0";
9767  *  Machine/OS name selection pattern
9768  */
9769 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9770         "*-*-vxworks*",
9771         (const char*)NULL };
9772 #define VXWORKS_MKDIR_MACRO_TEST_CT  0
9773 #define aVxworks_Mkdir_MacroTests   (tTestDesc*)NULL
9776  *  Fix Command Arguments for Vxworks_Mkdir_Macro
9777  */
9778 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9779     "format",
9780     "%0\n\
9781 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9782     "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9783     (char*)NULL };
9785 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9787  *  Description of Vxworks_Needs_Vxtypes fix
9788  */
9789 tSCC zVxworks_Needs_VxtypesName[] =
9790      "vxworks_needs_vxtypes";
9793  *  File name selection pattern
9794  */
9795 tSCC zVxworks_Needs_VxtypesList[] =
9796   "time.h\0";
9798  *  Machine/OS name selection pattern
9799  */
9800 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9803  *  content selection pattern - do fix if pattern found
9804  */
9805 tSCC zVxworks_Needs_VxtypesSelect0[] =
9806        "uint_t([ \t]+_clocks_per_sec)";
9808 #define    VXWORKS_NEEDS_VXTYPES_TEST_CT  1
9809 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9810   { TT_EGREP,    zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9813  *  Fix Command Arguments for Vxworks_Needs_Vxtypes
9814  */
9815 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9816     "format",
9817     "unsigned int%1",
9818     (char*)NULL };
9820 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9822  *  Description of Vxworks_Needs_Vxworks fix
9823  */
9824 tSCC zVxworks_Needs_VxworksName[] =
9825      "vxworks_needs_vxworks";
9828  *  File name selection pattern
9829  */
9830 tSCC zVxworks_Needs_VxworksList[] =
9831   "sys/stat.h\0";
9833  *  Machine/OS name selection pattern
9834  */
9835 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9838  *  content selection pattern - do fix if pattern found
9839  */
9840 tSCC zVxworks_Needs_VxworksSelect0[] =
9841        "#[ \t]define[ \t]+__INCstath";
9844  *  perform the 'test' shell command - do fix on success
9845  */
9846 tSCC zVxworks_Needs_VxworksTest0[] =
9847        " -r types/vxTypesOld.h";
9848 tSCC zVxworks_Needs_VxworksTest1[] =
9849        " -n \"`egrep '#include' $file`\"";
9850 tSCC zVxworks_Needs_VxworksTest2[] =
9851        " -n \"`egrep ULONG $file`\"";
9853 #define    VXWORKS_NEEDS_VXWORKS_TEST_CT  4
9854 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9855   { TT_TEST,     zVxworks_Needs_VxworksTest0,   0 /* unused */ },
9856   { TT_TEST,     zVxworks_Needs_VxworksTest1,   0 /* unused */ },
9857   { TT_TEST,     zVxworks_Needs_VxworksTest2,   0 /* unused */ },
9858   { TT_EGREP,    zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9861  *  Fix Command Arguments for Vxworks_Needs_Vxworks
9862  */
9863 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9864     "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9865 #include <types/vxTypesOld.h>\n",
9866     (char*)NULL };
9868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9870  *  Description of Vxworks_Regs fix
9871  */
9872 tSCC zVxworks_RegsName[] =
9873      "vxworks_regs";
9876  *  File name selection pattern
9877  */
9878 #define zVxworks_RegsList (char*)NULL
9880  *  Machine/OS name selection pattern
9881  */
9882 tSCC* apzVxworks_RegsMachs[] = {
9883         "*-*-vxworks*",
9884         (const char*)NULL };
9887  *  content selection pattern - do fix if pattern found
9888  */
9889 tSCC zVxworks_RegsSelect0[] =
9890        "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9892 #define    VXWORKS_REGS_TEST_CT  1
9893 static tTestDesc aVxworks_RegsTests[] = {
9894   { TT_EGREP,    zVxworks_RegsSelect0, (regex_t*)NULL }, };
9897  *  Fix Command Arguments for Vxworks_Regs
9898  */
9899 static const char* apzVxworks_RegsPatch[] = {
9900     "format",
9901     "#include <arch/../regs.h>",
9902     (char*)NULL };
9904 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9906  *  Description of Vxworks_Time fix
9907  */
9908 tSCC zVxworks_TimeName[] =
9909      "vxworks_time";
9912  *  File name selection pattern
9913  */
9914 tSCC zVxworks_TimeList[] =
9915   "time.h\0";
9917  *  Machine/OS name selection pattern
9918  */
9919 #define apzVxworks_TimeMachs (const char**)NULL
9922  *  content selection pattern - do fix if pattern found
9923  */
9924 tSCC zVxworks_TimeSelect0[] =
9925        "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9928  *  perform the 'test' shell command - do fix on success
9929  */
9930 tSCC zVxworks_TimeTest0[] =
9931        " -r vxWorks.h";
9933 #define    VXWORKS_TIME_TEST_CT  2
9934 static tTestDesc aVxworks_TimeTests[] = {
9935   { TT_TEST,     zVxworks_TimeTest0,   0 /* unused */ },
9936   { TT_EGREP,    zVxworks_TimeSelect0, (regex_t*)NULL }, };
9939  *  Fix Command Arguments for Vxworks_Time
9940  */
9941 static const char* apzVxworks_TimePatch[] = {
9942     "format",
9943     "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9944 #ifdef __cplusplus\n\
9945 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9946 #else\n\
9947 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9948 #endif\n\
9949 #define __gcc_VOIDFUNCPTR_defined\n\
9950 #endif\n\
9951 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9952     (char*)NULL };
9954 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9956  *  Description of Vxworks_Write_Const fix
9957  */
9958 tSCC zVxworks_Write_ConstName[] =
9959      "vxworks_write_const";
9962  *  File name selection pattern
9963  */
9964 tSCC zVxworks_Write_ConstList[] =
9965   "ioLib.h\0";
9967  *  Machine/OS name selection pattern
9968  */
9969 tSCC* apzVxworks_Write_ConstMachs[] = {
9970         "*-*-vxworks*",
9971         (const char*)NULL };
9972 #define VXWORKS_WRITE_CONST_TEST_CT  0
9973 #define aVxworks_Write_ConstTests   (tTestDesc*)NULL
9976  *  Fix Command Arguments for Vxworks_Write_Const
9977  */
9978 static const char* apzVxworks_Write_ConstPatch[] = {
9979     "format",
9980     "extern int  write (int, const char*, size_t);",
9981     "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9982     (char*)NULL };
9984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9986  *  Description of Vxworks_Iolib_Include_Unistd fix
9987  */
9988 tSCC zVxworks_Iolib_Include_UnistdName[] =
9989      "vxworks_iolib_include_unistd";
9992  *  File name selection pattern
9993  */
9994 tSCC zVxworks_Iolib_Include_UnistdList[] =
9995   "ioLib.h\0";
9997  *  Machine/OS name selection pattern
9998  */
9999 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10000         "*-*-vxworks*",
10001         (const char*)NULL };
10004  *  content selection pattern - do fix if pattern found
10005  */
10006 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10007        "#include \"unistd.h\"";
10009 #define    VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT  1
10010 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10011   { TT_EGREP,    zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10014  *  Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10015  */
10016 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10017     "format",
10018     "#include <unistd.h>",
10019     (char*)NULL };
10021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10023  *  Description of X11_Class fix
10024  */
10025 tSCC zX11_ClassName[] =
10026      "x11_class";
10029  *  File name selection pattern
10030  */
10031 tSCC zX11_ClassList[] =
10032   "X11/ShellP.h\0";
10034  *  Machine/OS name selection pattern
10035  */
10036 #define apzX11_ClassMachs (const char**)NULL
10039  *  content selection pattern - do fix if pattern found
10040  */
10041 tSCC zX11_ClassSelect0[] =
10042        "^([ \t]*char \\*)class;(.*)";
10045  *  content bypass pattern - skip fix if pattern found
10046  */
10047 tSCC zX11_ClassBypass0[] =
10048        "__cplusplus";
10050 #define    X11_CLASS_TEST_CT  2
10051 static tTestDesc aX11_ClassTests[] = {
10052   { TT_NEGREP,   zX11_ClassBypass0, (regex_t*)NULL },
10053   { TT_EGREP,    zX11_ClassSelect0, (regex_t*)NULL }, };
10056  *  Fix Command Arguments for X11_Class
10057  */
10058 static const char* apzX11_ClassPatch[] = {
10059     "format",
10060     "#ifdef __cplusplus\n\
10061 %1c_class;%2\n\
10062 #else\n\
10063 %1class;%2\n\
10064 #endif",
10065     (char*)NULL };
10067 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10069  *  Description of X11_Class_Usage fix
10070  */
10071 tSCC zX11_Class_UsageName[] =
10072      "x11_class_usage";
10075  *  File name selection pattern
10076  */
10077 tSCC zX11_Class_UsageList[] =
10078   "Xm/BaseClassI.h\0";
10080  *  Machine/OS name selection pattern
10081  */
10082 #define apzX11_Class_UsageMachs (const char**)NULL
10085  *  content selection pattern - do fix if pattern found
10086  */
10087 tSCC zX11_Class_UsageSelect0[] =
10088        " class\\)";
10091  *  content bypass pattern - skip fix if pattern found
10092  */
10093 tSCC zX11_Class_UsageBypass0[] =
10094        "__cplusplus";
10096 #define    X11_CLASS_USAGE_TEST_CT  2
10097 static tTestDesc aX11_Class_UsageTests[] = {
10098   { TT_NEGREP,   zX11_Class_UsageBypass0, (regex_t*)NULL },
10099   { TT_EGREP,    zX11_Class_UsageSelect0, (regex_t*)NULL }, };
10102  *  Fix Command Arguments for X11_Class_Usage
10103  */
10104 static const char* apzX11_Class_UsagePatch[] = {
10105     "format",
10106     " c_class)",
10107     (char*)NULL };
10109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10111  *  Description of X11_New fix
10112  */
10113 tSCC zX11_NewName[] =
10114      "x11_new";
10117  *  File name selection pattern
10118  */
10119 tSCC zX11_NewList[] =
10120   "Xm/Traversal.h\0";
10122  *  Machine/OS name selection pattern
10123  */
10124 #define apzX11_NewMachs (const char**)NULL
10127  *  content bypass pattern - skip fix if pattern found
10128  */
10129 tSCC zX11_NewBypass0[] =
10130        "__cplusplus";
10132 #define    X11_NEW_TEST_CT  1
10133 static tTestDesc aX11_NewTests[] = {
10134   { TT_NEGREP,   zX11_NewBypass0, (regex_t*)NULL }, };
10137  *  Fix Command Arguments for X11_New
10138  */
10139 static const char* apzX11_NewPatch[] = { sed_cmd_z,
10140     "-e", "/Widget\told, new;/i\\\n\
10141 #ifdef __cplusplus\\\n\
10142 \\\tWidget\told, c_new;\\\n\
10143 #else\n",
10144     "-e", "/Widget\told, new;/a\\\n\
10145 #endif\n",
10146     "-e", "s/Widget new,/Widget c_new,/g",
10147     (char*)NULL };
10149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10151  *  Description of X11_Sprintf fix
10152  */
10153 tSCC zX11_SprintfName[] =
10154      "x11_sprintf";
10157  *  File name selection pattern
10158  */
10159 tSCC zX11_SprintfList[] =
10160   "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10162  *  Machine/OS name selection pattern
10163  */
10164 #define apzX11_SprintfMachs (const char**)NULL
10167  *  content selection pattern - do fix if pattern found
10168  */
10169 tSCC zX11_SprintfSelect0[] =
10170        "^extern char \\*\tsprintf\\(\\);$";
10172 #define    X11_SPRINTF_TEST_CT  1
10173 static tTestDesc aX11_SprintfTests[] = {
10174   { TT_EGREP,    zX11_SprintfSelect0, (regex_t*)NULL }, };
10177  *  Fix Command Arguments for X11_Sprintf
10178  */
10179 static const char* apzX11_SprintfPatch[] = {
10180     "format",
10181     "#ifndef __STDC__\n\
10182 %0\n\
10183 #endif /* !defined __STDC__ */",
10184     (char*)NULL };
10187 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10189  *  List of all fixes
10190  */
10191 #define REGEX_COUNT          289
10192 #define MACH_LIST_SIZE_LIMIT 187
10193 #define FIX_COUNT            251
10196  *  Enumerate the fixes
10197  */
10198 typedef enum {
10199     AAB_AIX_STDIO_FIXIDX,
10200     AAB_AIX_FCNTL_FIXIDX,
10201     AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10202     AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10203     AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10204     AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10205     AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
10206     AAB_SUN_MEMCPY_FIXIDX,
10207     AAB_VXWORKS_ASSERT_FIXIDX,
10208     AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10209     AAB_VXWORKS_UNISTD_FIXIDX,
10210     AIX_ASSERT_FIXIDX,
10211     AIX_COMPLEX_FIXIDX,
10212     AIX_EXTERNC_FIXIDX,
10213     AIX_EXTERNCPP1_FIXIDX,
10214     AIX_EXTERNCPP2_FIXIDX,
10215     AIX_MALLOC_FIXIDX,
10216     AIX_NET_IF_ARP_FIXIDX,
10217     AIX_NULL_FIXIDX,
10218     AIX_ONCE_INIT_1_FIXIDX,
10219     AIX_ONCE_INIT_2_FIXIDX,
10220     AIX_MUTEX_INITIALIZER_1_FIXIDX,
10221     AIX_COND_INITIALIZER_1_FIXIDX,
10222     AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10223     AIX_PTHREAD_FIXIDX,
10224     AIX_STDINT_1_FIXIDX,
10225     AIX_STDINT_2_FIXIDX,
10226     AIX_STDINT_3_FIXIDX,
10227     AIX_STDINT_4_FIXIDX,
10228     AIX_STDINT_5_FIXIDX,
10229     AIX_STDIO_INLINE_FIXIDX,
10230     AIX_STDLIB_MALLOC_FIXIDX,
10231     AIX_STDLIB_REALLOC_FIXIDX,
10232     AIX_STDLIB_CALLOC_FIXIDX,
10233     AIX_STDLIB_VALLOC_FIXIDX,
10234     AIX_STDLIB_VEC_MALLOC_FIXIDX,
10235     AIX_STDLIB_VEC_CALLOC_FIXIDX,
10236     AIX_STRTOF_CONST_FIXIDX,
10237     AIX_SYSMACHINE_FIXIDX,
10238     AIX_SYSWAIT_2_FIXIDX,
10239     AIX_VOLATILE_FIXIDX,
10240     AIX_UNISTD_FIXIDX,
10241     ALPHA___ASSERT_FIXIDX,
10242     ALPHA_ASSERT_FIXIDX,
10243     ALPHA_GETOPT_FIXIDX,
10244     ALPHA_IF_SEMICOLON_FIXIDX,
10245     ALPHA_PARENS_FIXIDX,
10246     ALPHA_SBRK_FIXIDX,
10247     AVOID_BOOL_DEFINE_FIXIDX,
10248     AVOID_BOOL_TYPE_FIXIDX,
10249     AVOID_WCHAR_T_TYPE_FIXIDX,
10250     BAD_STRUCT_TERM_FIXIDX,
10251     BADQUOTE_FIXIDX,
10252     BROKEN_ASSERT_STDIO_FIXIDX,
10253     BROKEN_ASSERT_STDLIB_FIXIDX,
10254     BROKEN_CABS_FIXIDX,
10255     BROKEN_NAN_FIXIDX,
10256     BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10257     CTRL_QUOTES_DEF_FIXIDX,
10258     CTRL_QUOTES_USE_FIXIDX,
10259     CXX_UNREADY_FIXIDX,
10260     DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10261     DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10262     DARWIN_EXTERNC_FIXIDX,
10263     DARWIN_GCC4_BREAKAGE_FIXIDX,
10264     DARWIN_LONGJMP_NORETURN_FIXIDX,
10265     DARWIN_OS_TRACE_1_FIXIDX,
10266     DARWIN_OS_TRACE_2_FIXIDX,
10267     DARWIN_OS_TRACE_3_FIXIDX,
10268     DARWIN_PRIVATE_EXTERN_FIXIDX,
10269     DARWIN_STDINT_1_FIXIDX,
10270     DARWIN_STDINT_2_FIXIDX,
10271     DARWIN_STDINT_3_FIXIDX,
10272     DARWIN_STDINT_4_FIXIDX,
10273     DARWIN_STDINT_5_FIXIDX,
10274     DARWIN_STDINT_6_FIXIDX,
10275     DARWIN_STDINT_7_FIXIDX,
10276     DEC_INTERN_ASM_FIXIDX,
10277     DJGPP_WCHAR_H_FIXIDX,
10278     ECD_CURSOR_FIXIDX,
10279     FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10280     FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10281     FREEBSD_GCC3_BREAKAGE_FIXIDX,
10282     FREEBSD_GCC4_BREAKAGE_FIXIDX,
10283     GLIBC_C99_INLINE_1_FIXIDX,
10284     GLIBC_C99_INLINE_1A_FIXIDX,
10285     GLIBC_C99_INLINE_2_FIXIDX,
10286     GLIBC_C99_INLINE_3_FIXIDX,
10287     GLIBC_C99_INLINE_4_FIXIDX,
10288     GLIBC_MUTEX_INIT_FIXIDX,
10289     GLIBC_STDINT_FIXIDX,
10290     GLIBC_STRNCPY_FIXIDX,
10291     GLIBC_TGMATH_FIXIDX,
10292     GNU_TYPES_FIXIDX,
10293     HP_INLINE_FIXIDX,
10294     HP_SYSFILE_FIXIDX,
10295     HPPA_HPUX_FP_MACROS_FIXIDX,
10296     HPUX10_CPP_POW_INLINE_FIXIDX,
10297     HPUX11_CPP_POW_INLINE_FIXIDX,
10298     HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10299     HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10300     HPUX10_STDIO_DECLARATIONS_FIXIDX,
10301     HPPA_HPUX11_ALLOCA_FIXIDX,
10302     HPUX11_ABS_FIXIDX,
10303     HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10304     HPUX11_EXTERN_SENDFILE_FIXIDX,
10305     HPUX11_EXTERN_SENDPATH_FIXIDX,
10306     HPUX11_FABSF_FIXIDX,
10307     HPUX11_PTHREAD_POINTER_FIXIDX,
10308     HPUX11_PTHREAD_CONST_FIXIDX,
10309     HPUX11_SIZE_T_FIXIDX,
10310     HPUX11_SNPRINTF_FIXIDX,
10311     HPUX11_VSNPRINTF_FIXIDX,
10312     HPUX_VSSCANF_FIXIDX,
10313     HPUX8_BOGUS_INLINES_FIXIDX,
10314     HPUX_C99_INTPTR_FIXIDX,
10315     HPUX_C99_INTTYPES_FIXIDX,
10316     HPUX_C99_INTTYPES2_FIXIDX,
10317     HPUX_CTYPE_MACROS_FIXIDX,
10318     HPUX_EXTERN_ERRNO_FIXIDX,
10319     HPUX_HTONL_FIXIDX,
10320     HPUX_IMAGINARY_I_FIXIDX,
10321     HPUX_INTTYPE_INT8_T_FIXIDX,
10322     HPUX_LONG_DOUBLE_FIXIDX,
10323     HPUX_LONG_DOUBLE_2_FIXIDX,
10324     HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10325     HPUX_SPU_INFO_FIXIDX,
10326     HPUX_STDINT_LEAST_FAST_FIXIDX,
10327     HPUX_LONGJMP_FIXIDX,
10328     HPUX_SYSTIME_FIXIDX,
10329     HUGE_VAL_HEX_FIXIDX,
10330     HUGE_VALF_HEX_FIXIDX,
10331     HUGE_VALL_HEX_FIXIDX,
10332     INT_ABORT_FREE_AND_EXIT_FIXIDX,
10333     IO_QUOTES_DEF_FIXIDX,
10334     IO_QUOTES_USE_FIXIDX,
10335     IP_MISSING_SEMI_FIXIDX,
10336     IRIX_LIMITS_CONST_FIXIDX,
10337     IRIX_STDIO_VA_LIST_FIXIDX,
10338     KANDR_CONCAT_FIXIDX,
10339     LINUX_IA64_UCONTEXT_FIXIDX,
10340     LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10341     LYNXOS_MISSING_PUTENV_FIXIDX,
10342     MACHINE_ANSI_H_VA_LIST_FIXIDX,
10343     MACHINE_NAME_FIXIDX,
10344     MATH_EXCEPTION_FIXIDX,
10345     MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10346     NESTED_AUTH_DES_FIXIDX,
10347     NETBSD_C99_INLINE_1_FIXIDX,
10348     NETBSD_C99_INLINE_2_FIXIDX,
10349     NETBSD_EXTRA_SEMICOLON_FIXIDX,
10350     NEWLIB_STDINT_1_FIXIDX,
10351     NEWLIB_STDINT_2_FIXIDX,
10352     NEXT_MATH_PREFIX_FIXIDX,
10353     NEXT_TEMPLATE_FIXIDX,
10354     NEXT_VOLITILE_FIXIDX,
10355     NEXT_WAIT_UNION_FIXIDX,
10356     NODEENT_SYNTAX_FIXIDX,
10357     OPENBSD_NULL_DEFINITION_FIXIDX,
10358     OBSTACK_LVALUE_CAST_FIXIDX,
10359     OPENBSD_VA_START_FIXIDX,
10360     OSF_NAMESPACE_A_FIXIDX,
10361     OSF_NAMESPACE_C_FIXIDX,
10362     PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10363     READ_RET_TYPE_FIXIDX,
10364     RPC_XDR_LVALUE_CAST_A_FIXIDX,
10365     RPC_XDR_LVALUE_CAST_B_FIXIDX,
10366     RS6000_DOUBLE_FIXIDX,
10367     RS6000_FCHMOD_FIXIDX,
10368     RS6000_PARAM_FIXIDX,
10369     SOLARIS___RESTRICT_FIXIDX,
10370     SOLARIS_COMPLEX_FIXIDX,
10371     SOLARIS_COMPLEX_CXX_FIXIDX,
10372     SOLARIS_CXX_LINKAGE_FIXIDX,
10373     SOLARIS_GETC_STRICT_STDC_FIXIDX,
10374     SOLARIS_GETS_C11_FIXIDX,
10375     SOLARIS_GETS_CXX14_FIXIDX,
10376     SOLARIS_INT_CONST_FIXIDX,
10377     SOLARIS_INT_LIMITS_1_FIXIDX,
10378     SOLARIS_INT_LIMITS_2_FIXIDX,
10379     SOLARIS_INT_LIMITS_3_FIXIDX,
10380     SOLARIS_MATH_1_FIXIDX,
10381     SOLARIS_MATH_10_FIXIDX,
10382     SOLARIS_MATH_2_FIXIDX,
10383     SOLARIS_MATH_3_FIXIDX,
10384     SOLARIS_MATH_4_FIXIDX,
10385     SOLARIS_MATH_8_FIXIDX,
10386     SOLARIS_MATH_9_FIXIDX,
10387     SOLARIS_MATH_11_FIXIDX,
10388     SOLARIS_MATH_12_FIXIDX,
10389     SOLARIS_ONCE_INIT_1_FIXIDX,
10390     SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
10391     SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10392     SOLARIS_RWLOCK_INIT_1_FIXIDX,
10393     SOLARIS_STD___FILBUF_FIXIDX,
10394     SOLARIS_STD_GETS_CXX14_FIXIDX,
10395     SOLARIS_STDIO_TAG_FIXIDX,
10396     SOLARIS_STDLIB_NORETURN_FIXIDX,
10397     STATSSWTCH_FIXIDX,
10398     STDIO_STDARG_H_FIXIDX,
10399     STDIO_VA_LIST_FIXIDX,
10400     STDIO_VA_LIST_CLIENTS_FIXIDX,
10401     STRICT_ANSI_NOT_FIXIDX,
10402     STRICT_ANSI_NOT_CTD_FIXIDX,
10403     STRICT_ANSI_ONLY_FIXIDX,
10404     STRUCT_FILE_FIXIDX,
10405     STRUCT_SOCKADDR_FIXIDX,
10406     SUN_AUTH_PROTO_FIXIDX,
10407     SUN_BOGUS_IFDEF_FIXIDX,
10408     SUN_CATMACRO_FIXIDX,
10409     SUN_MALLOC_FIXIDX,
10410     SUN_RUSERS_SEMI_FIXIDX,
10411     SUN_SIGNAL_FIXIDX,
10412     SUNOS_STRLEN_FIXIDX,
10413     SUSE_LINUX_VT_CXX_FIXIDX,
10414     SVR4_DISABLE_OPT_FIXIDX,
10415     SVR4_GETCWD_FIXIDX,
10416     SVR4_PROFIL_FIXIDX,
10417     SVR4_SIGHANDLER_TYPE_FIXIDX,
10418     SVR4_UNDECLARED_GETRNGE_FIXIDX,
10419     SYSV68_STRING_FIXIDX,
10420     SYSZ_STDLIB_FOR_SUN_FIXIDX,
10421     THREAD_KEYWORD_FIXIDX,
10422     TINFO_CPLUSPLUS_FIXIDX,
10423     ULTRIX_CONST_FIXIDX,
10424     ULTRIX_CONST2_FIXIDX,
10425     VA_I960_MACRO_FIXIDX,
10426     VMS_ADD_MISSING_BRACES_FIXIDX,
10427     VMS_DECC_BUILTIN_FIXIDX,
10428     VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10429     VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10430     VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10431     VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10432     VMS_NO_64BIT_GETOPT_FIXIDX,
10433     VMS_USE_FAST_SETJMP_FIXIDX,
10434     VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10435     VMS_USE_QUOTED_INCLUDE_FIXIDX,
10436     VOID_NULL_FIXIDX,
10437     VXWORKS_GCC_PROBLEM_FIXIDX,
10438     VXWORKS_IOCTL_MACRO_FIXIDX,
10439     VXWORKS_MKDIR_MACRO_FIXIDX,
10440     VXWORKS_NEEDS_VXTYPES_FIXIDX,
10441     VXWORKS_NEEDS_VXWORKS_FIXIDX,
10442     VXWORKS_REGS_FIXIDX,
10443     VXWORKS_TIME_FIXIDX,
10444     VXWORKS_WRITE_CONST_FIXIDX,
10445     VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10446     X11_CLASS_FIXIDX,
10447     X11_CLASS_USAGE_FIXIDX,
10448     X11_NEW_FIXIDX,
10449     X11_SPRINTF_FIXIDX
10450 } t_fixinc_idx;
10452 tFixDesc fixDescList[ FIX_COUNT ] = {
10453   {  zAab_Aix_StdioName,    zAab_Aix_StdioList,
10454      apzAab_Aix_StdioMachs,
10455      AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10456      aAab_Aix_StdioTests,   apzAab_Aix_StdioPatch, 0 },
10458   {  zAab_Aix_FcntlName,    zAab_Aix_FcntlList,
10459      apzAab_Aix_FcntlMachs,
10460      AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10461      aAab_Aix_FcntlTests,   apzAab_Aix_FcntlPatch, 0 },
10463   {  zAab_Darwin7_9_Long_Double_FuncsName,    zAab_Darwin7_9_Long_Double_FuncsList,
10464      apzAab_Darwin7_9_Long_Double_FuncsMachs,
10465      AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10466      aAab_Darwin7_9_Long_Double_FuncsTests,   apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
10468   {  zAab_Fd_Zero_Asm_Posix_Types_HName,    zAab_Fd_Zero_Asm_Posix_Types_HList,
10469      apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10470      AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10471      aAab_Fd_Zero_Asm_Posix_Types_HTests,   apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
10473   {  zAab_Fd_Zero_Gnu_Types_HName,    zAab_Fd_Zero_Gnu_Types_HList,
10474      apzAab_Fd_Zero_Gnu_Types_HMachs,
10475      AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10476      aAab_Fd_Zero_Gnu_Types_HTests,   apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
10478   {  zAab_Fd_Zero_Selectbits_HName,    zAab_Fd_Zero_Selectbits_HList,
10479      apzAab_Fd_Zero_Selectbits_HMachs,
10480      AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10481      aAab_Fd_Zero_Selectbits_HTests,   apzAab_Fd_Zero_Selectbits_HPatch, 0 },
10483   {  zAab_Solaris_Sys_Varargs_HName,    zAab_Solaris_Sys_Varargs_HList,
10484      apzAab_Solaris_Sys_Varargs_HMachs,
10485      AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10486      aAab_Solaris_Sys_Varargs_HTests,   apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10488   {  zAab_Sun_MemcpyName,    zAab_Sun_MemcpyList,
10489      apzAab_Sun_MemcpyMachs,
10490      AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10491      aAab_Sun_MemcpyTests,   apzAab_Sun_MemcpyPatch, 0 },
10493   {  zAab_Vxworks_AssertName,    zAab_Vxworks_AssertList,
10494      apzAab_Vxworks_AssertMachs,
10495      AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10496      aAab_Vxworks_AssertTests,   apzAab_Vxworks_AssertPatch, 0 },
10498   {  zAab_Vxworks_Regs_VxtypesName,    zAab_Vxworks_Regs_VxtypesList,
10499      apzAab_Vxworks_Regs_VxtypesMachs,
10500      AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10501      aAab_Vxworks_Regs_VxtypesTests,   apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10503   {  zAab_Vxworks_UnistdName,    zAab_Vxworks_UnistdList,
10504      apzAab_Vxworks_UnistdMachs,
10505      AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10506      aAab_Vxworks_UnistdTests,   apzAab_Vxworks_UnistdPatch, 0 },
10508   {  zAix_AssertName,    zAix_AssertList,
10509      apzAix_AssertMachs,
10510      AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10511      aAix_AssertTests,   apzAix_AssertPatch, 0 },
10513   {  zAix_ComplexName,    zAix_ComplexList,
10514      apzAix_ComplexMachs,
10515      AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10516      aAix_ComplexTests,   apzAix_ComplexPatch, 0 },
10518   {  zAix_ExterncName,    zAix_ExterncList,
10519      apzAix_ExterncMachs,
10520      AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10521      aAix_ExterncTests,   apzAix_ExterncPatch, 0 },
10523   {  zAix_Externcpp1Name,    zAix_Externcpp1List,
10524      apzAix_Externcpp1Machs,
10525      AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10526      aAix_Externcpp1Tests,   apzAix_Externcpp1Patch, 0 },
10528   {  zAix_Externcpp2Name,    zAix_Externcpp2List,
10529      apzAix_Externcpp2Machs,
10530      AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10531      aAix_Externcpp2Tests,   apzAix_Externcpp2Patch, 0 },
10533   {  zAix_MallocName,    zAix_MallocList,
10534      apzAix_MallocMachs,
10535      AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10536      aAix_MallocTests,   apzAix_MallocPatch, 0 },
10538   {  zAix_Net_If_ArpName,    zAix_Net_If_ArpList,
10539      apzAix_Net_If_ArpMachs,
10540      AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10541      aAix_Net_If_ArpTests,   apzAix_Net_If_ArpPatch, 0 },
10543   {  zAix_NullName,    zAix_NullList,
10544      apzAix_NullMachs,
10545      AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10546      aAix_NullTests,   apzAix_NullPatch, 0 },
10548   {  zAix_Once_Init_1Name,    zAix_Once_Init_1List,
10549      apzAix_Once_Init_1Machs,
10550      AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10551      aAix_Once_Init_1Tests,   apzAix_Once_Init_1Patch, 0 },
10553   {  zAix_Once_Init_2Name,    zAix_Once_Init_2List,
10554      apzAix_Once_Init_2Machs,
10555      AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10556      aAix_Once_Init_2Tests,   apzAix_Once_Init_2Patch, 0 },
10558   {  zAix_Mutex_Initializer_1Name,    zAix_Mutex_Initializer_1List,
10559      apzAix_Mutex_Initializer_1Machs,
10560      AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10561      aAix_Mutex_Initializer_1Tests,   apzAix_Mutex_Initializer_1Patch, 0 },
10563   {  zAix_Cond_Initializer_1Name,    zAix_Cond_Initializer_1List,
10564      apzAix_Cond_Initializer_1Machs,
10565      AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10566      aAix_Cond_Initializer_1Tests,   apzAix_Cond_Initializer_1Patch, 0 },
10568   {  zAix_Rwlock_Initializer_1Name,    zAix_Rwlock_Initializer_1List,
10569      apzAix_Rwlock_Initializer_1Machs,
10570      AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10571      aAix_Rwlock_Initializer_1Tests,   apzAix_Rwlock_Initializer_1Patch, 0 },
10573   {  zAix_PthreadName,    zAix_PthreadList,
10574      apzAix_PthreadMachs,
10575      AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10576      aAix_PthreadTests,   apzAix_PthreadPatch, 0 },
10578   {  zAix_Stdint_1Name,    zAix_Stdint_1List,
10579      apzAix_Stdint_1Machs,
10580      AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10581      aAix_Stdint_1Tests,   apzAix_Stdint_1Patch, 0 },
10583   {  zAix_Stdint_2Name,    zAix_Stdint_2List,
10584      apzAix_Stdint_2Machs,
10585      AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10586      aAix_Stdint_2Tests,   apzAix_Stdint_2Patch, 0 },
10588   {  zAix_Stdint_3Name,    zAix_Stdint_3List,
10589      apzAix_Stdint_3Machs,
10590      AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10591      aAix_Stdint_3Tests,   apzAix_Stdint_3Patch, 0 },
10593   {  zAix_Stdint_4Name,    zAix_Stdint_4List,
10594      apzAix_Stdint_4Machs,
10595      AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10596      aAix_Stdint_4Tests,   apzAix_Stdint_4Patch, 0 },
10598   {  zAix_Stdint_5Name,    zAix_Stdint_5List,
10599      apzAix_Stdint_5Machs,
10600      AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10601      aAix_Stdint_5Tests,   apzAix_Stdint_5Patch, 0 },
10603   {  zAix_Stdio_InlineName,    zAix_Stdio_InlineList,
10604      apzAix_Stdio_InlineMachs,
10605      AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10606      aAix_Stdio_InlineTests,   apzAix_Stdio_InlinePatch, 0 },
10608   {  zAix_Stdlib_MallocName,    zAix_Stdlib_MallocList,
10609      apzAix_Stdlib_MallocMachs,
10610      AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10611      aAix_Stdlib_MallocTests,   apzAix_Stdlib_MallocPatch, 0 },
10613   {  zAix_Stdlib_ReallocName,    zAix_Stdlib_ReallocList,
10614      apzAix_Stdlib_ReallocMachs,
10615      AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10616      aAix_Stdlib_ReallocTests,   apzAix_Stdlib_ReallocPatch, 0 },
10618   {  zAix_Stdlib_CallocName,    zAix_Stdlib_CallocList,
10619      apzAix_Stdlib_CallocMachs,
10620      AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10621      aAix_Stdlib_CallocTests,   apzAix_Stdlib_CallocPatch, 0 },
10623   {  zAix_Stdlib_VallocName,    zAix_Stdlib_VallocList,
10624      apzAix_Stdlib_VallocMachs,
10625      AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10626      aAix_Stdlib_VallocTests,   apzAix_Stdlib_VallocPatch, 0 },
10628   {  zAix_Stdlib_Vec_MallocName,    zAix_Stdlib_Vec_MallocList,
10629      apzAix_Stdlib_Vec_MallocMachs,
10630      AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10631      aAix_Stdlib_Vec_MallocTests,   apzAix_Stdlib_Vec_MallocPatch, 0 },
10633   {  zAix_Stdlib_Vec_CallocName,    zAix_Stdlib_Vec_CallocList,
10634      apzAix_Stdlib_Vec_CallocMachs,
10635      AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10636      aAix_Stdlib_Vec_CallocTests,   apzAix_Stdlib_Vec_CallocPatch, 0 },
10638   {  zAix_Strtof_ConstName,    zAix_Strtof_ConstList,
10639      apzAix_Strtof_ConstMachs,
10640      AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10641      aAix_Strtof_ConstTests,   apzAix_Strtof_ConstPatch, 0 },
10643   {  zAix_SysmachineName,    zAix_SysmachineList,
10644      apzAix_SysmachineMachs,
10645      AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10646      aAix_SysmachineTests,   apzAix_SysmachinePatch, 0 },
10648   {  zAix_Syswait_2Name,    zAix_Syswait_2List,
10649      apzAix_Syswait_2Machs,
10650      AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10651      aAix_Syswait_2Tests,   apzAix_Syswait_2Patch, 0 },
10653   {  zAix_VolatileName,    zAix_VolatileList,
10654      apzAix_VolatileMachs,
10655      AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10656      aAix_VolatileTests,   apzAix_VolatilePatch, 0 },
10658   {  zAix_UnistdName,    zAix_UnistdList,
10659      apzAix_UnistdMachs,
10660      AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10661      aAix_UnistdTests,   apzAix_UnistdPatch, 0 },
10663   {  zAlpha___AssertName,    zAlpha___AssertList,
10664      apzAlpha___AssertMachs,
10665      ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10666      aAlpha___AssertTests,   apzAlpha___AssertPatch, 0 },
10668   {  zAlpha_AssertName,    zAlpha_AssertList,
10669      apzAlpha_AssertMachs,
10670      ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10671      aAlpha_AssertTests,   apzAlpha_AssertPatch, 0 },
10673   {  zAlpha_GetoptName,    zAlpha_GetoptList,
10674      apzAlpha_GetoptMachs,
10675      ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10676      aAlpha_GetoptTests,   apzAlpha_GetoptPatch, 0 },
10678   {  zAlpha_If_SemicolonName,    zAlpha_If_SemicolonList,
10679      apzAlpha_If_SemicolonMachs,
10680      ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10681      aAlpha_If_SemicolonTests,   apzAlpha_If_SemicolonPatch, 0 },
10683   {  zAlpha_ParensName,    zAlpha_ParensList,
10684      apzAlpha_ParensMachs,
10685      ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10686      aAlpha_ParensTests,   apzAlpha_ParensPatch, 0 },
10688   {  zAlpha_SbrkName,    zAlpha_SbrkList,
10689      apzAlpha_SbrkMachs,
10690      ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10691      aAlpha_SbrkTests,   apzAlpha_SbrkPatch, 0 },
10693   {  zAvoid_Bool_DefineName,    zAvoid_Bool_DefineList,
10694      apzAvoid_Bool_DefineMachs,
10695      AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10696      aAvoid_Bool_DefineTests,   apzAvoid_Bool_DefinePatch, 0 },
10698   {  zAvoid_Bool_TypeName,    zAvoid_Bool_TypeList,
10699      apzAvoid_Bool_TypeMachs,
10700      AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10701      aAvoid_Bool_TypeTests,   apzAvoid_Bool_TypePatch, 0 },
10703   {  zAvoid_Wchar_T_TypeName,    zAvoid_Wchar_T_TypeList,
10704      apzAvoid_Wchar_T_TypeMachs,
10705      AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10706      aAvoid_Wchar_T_TypeTests,   apzAvoid_Wchar_T_TypePatch, 0 },
10708   {  zBad_Struct_TermName,    zBad_Struct_TermList,
10709      apzBad_Struct_TermMachs,
10710      BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10711      aBad_Struct_TermTests,   apzBad_Struct_TermPatch, 0 },
10713   {  zBadquoteName,    zBadquoteList,
10714      apzBadquoteMachs,
10715      BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10716      aBadquoteTests,   apzBadquotePatch, 0 },
10718   {  zBroken_Assert_StdioName,    zBroken_Assert_StdioList,
10719      apzBroken_Assert_StdioMachs,
10720      BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10721      aBroken_Assert_StdioTests,   apzBroken_Assert_StdioPatch, 0 },
10723   {  zBroken_Assert_StdlibName,    zBroken_Assert_StdlibList,
10724      apzBroken_Assert_StdlibMachs,
10725      BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10726      aBroken_Assert_StdlibTests,   apzBroken_Assert_StdlibPatch, 0 },
10728   {  zBroken_CabsName,    zBroken_CabsList,
10729      apzBroken_CabsMachs,
10730      BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10731      aBroken_CabsTests,   apzBroken_CabsPatch, 0 },
10733   {  zBroken_NanName,    zBroken_NanList,
10734      apzBroken_NanMachs,
10735      BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10736      aBroken_NanTests,   apzBroken_NanPatch, 0 },
10738   {  zBsd_Stdio_Attrs_ConflictName,    zBsd_Stdio_Attrs_ConflictList,
10739      apzBsd_Stdio_Attrs_ConflictMachs,
10740      BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10741      aBsd_Stdio_Attrs_ConflictTests,   apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10743   {  zCtrl_Quotes_DefName,    zCtrl_Quotes_DefList,
10744      apzCtrl_Quotes_DefMachs,
10745      CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10746      aCtrl_Quotes_DefTests,   apzCtrl_Quotes_DefPatch, 0 },
10748   {  zCtrl_Quotes_UseName,    zCtrl_Quotes_UseList,
10749      apzCtrl_Quotes_UseMachs,
10750      CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10751      aCtrl_Quotes_UseTests,   apzCtrl_Quotes_UsePatch, 0 },
10753   {  zCxx_UnreadyName,    zCxx_UnreadyList,
10754      apzCxx_UnreadyMachs,
10755      CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10756      aCxx_UnreadyTests,   apzCxx_UnreadyPatch, 0 },
10758   {  zDarwin_AvailabilityinternalName,    zDarwin_AvailabilityinternalList,
10759      apzDarwin_AvailabilityinternalMachs,
10760      DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10761      aDarwin_AvailabilityinternalTests,   apzDarwin_AvailabilityinternalPatch, 0 },
10763   {  zDarwin_9_Long_Double_Funcs_2Name,    zDarwin_9_Long_Double_Funcs_2List,
10764      apzDarwin_9_Long_Double_Funcs_2Machs,
10765      DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10766      aDarwin_9_Long_Double_Funcs_2Tests,   apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10768   {  zDarwin_ExterncName,    zDarwin_ExterncList,
10769      apzDarwin_ExterncMachs,
10770      DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10771      aDarwin_ExterncTests,   apzDarwin_ExterncPatch, 0 },
10773   {  zDarwin_Gcc4_BreakageName,    zDarwin_Gcc4_BreakageList,
10774      apzDarwin_Gcc4_BreakageMachs,
10775      DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10776      aDarwin_Gcc4_BreakageTests,   apzDarwin_Gcc4_BreakagePatch, 0 },
10778   {  zDarwin_Longjmp_NoreturnName,    zDarwin_Longjmp_NoreturnList,
10779      apzDarwin_Longjmp_NoreturnMachs,
10780      DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10781      aDarwin_Longjmp_NoreturnTests,   apzDarwin_Longjmp_NoreturnPatch, 0 },
10783   {  zDarwin_Os_Trace_1Name,    zDarwin_Os_Trace_1List,
10784      apzDarwin_Os_Trace_1Machs,
10785      DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10786      aDarwin_Os_Trace_1Tests,   apzDarwin_Os_Trace_1Patch, 0 },
10788   {  zDarwin_Os_Trace_2Name,    zDarwin_Os_Trace_2List,
10789      apzDarwin_Os_Trace_2Machs,
10790      DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10791      aDarwin_Os_Trace_2Tests,   apzDarwin_Os_Trace_2Patch, 0 },
10793   {  zDarwin_Os_Trace_3Name,    zDarwin_Os_Trace_3List,
10794      apzDarwin_Os_Trace_3Machs,
10795      DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10796      aDarwin_Os_Trace_3Tests,   apzDarwin_Os_Trace_3Patch, 0 },
10798   {  zDarwin_Private_ExternName,    zDarwin_Private_ExternList,
10799      apzDarwin_Private_ExternMachs,
10800      DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10801      aDarwin_Private_ExternTests,   apzDarwin_Private_ExternPatch, 0 },
10803   {  zDarwin_Stdint_1Name,    zDarwin_Stdint_1List,
10804      apzDarwin_Stdint_1Machs,
10805      DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10806      aDarwin_Stdint_1Tests,   apzDarwin_Stdint_1Patch, 0 },
10808   {  zDarwin_Stdint_2Name,    zDarwin_Stdint_2List,
10809      apzDarwin_Stdint_2Machs,
10810      DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10811      aDarwin_Stdint_2Tests,   apzDarwin_Stdint_2Patch, 0 },
10813   {  zDarwin_Stdint_3Name,    zDarwin_Stdint_3List,
10814      apzDarwin_Stdint_3Machs,
10815      DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10816      aDarwin_Stdint_3Tests,   apzDarwin_Stdint_3Patch, 0 },
10818   {  zDarwin_Stdint_4Name,    zDarwin_Stdint_4List,
10819      apzDarwin_Stdint_4Machs,
10820      DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10821      aDarwin_Stdint_4Tests,   apzDarwin_Stdint_4Patch, 0 },
10823   {  zDarwin_Stdint_5Name,    zDarwin_Stdint_5List,
10824      apzDarwin_Stdint_5Machs,
10825      DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10826      aDarwin_Stdint_5Tests,   apzDarwin_Stdint_5Patch, 0 },
10828   {  zDarwin_Stdint_6Name,    zDarwin_Stdint_6List,
10829      apzDarwin_Stdint_6Machs,
10830      DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10831      aDarwin_Stdint_6Tests,   apzDarwin_Stdint_6Patch, 0 },
10833   {  zDarwin_Stdint_7Name,    zDarwin_Stdint_7List,
10834      apzDarwin_Stdint_7Machs,
10835      DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10836      aDarwin_Stdint_7Tests,   apzDarwin_Stdint_7Patch, 0 },
10838   {  zDec_Intern_AsmName,    zDec_Intern_AsmList,
10839      apzDec_Intern_AsmMachs,
10840      DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10841      aDec_Intern_AsmTests,   apzDec_Intern_AsmPatch, 0 },
10843   {  zDjgpp_Wchar_HName,    zDjgpp_Wchar_HList,
10844      apzDjgpp_Wchar_HMachs,
10845      DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10846      aDjgpp_Wchar_HTests,   apzDjgpp_Wchar_HPatch, 0 },
10848   {  zEcd_CursorName,    zEcd_CursorList,
10849      apzEcd_CursorMachs,
10850      ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10851      aEcd_CursorTests,   apzEcd_CursorPatch, 0 },
10853   {  zFeraiseexcept_Nosse_DivbyzeroName,    zFeraiseexcept_Nosse_DivbyzeroList,
10854      apzFeraiseexcept_Nosse_DivbyzeroMachs,
10855      FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10856      aFeraiseexcept_Nosse_DivbyzeroTests,   apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10858   {  zFeraiseexcept_Nosse_InvalidName,    zFeraiseexcept_Nosse_InvalidList,
10859      apzFeraiseexcept_Nosse_InvalidMachs,
10860      FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10861      aFeraiseexcept_Nosse_InvalidTests,   apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10863   {  zFreebsd_Gcc3_BreakageName,    zFreebsd_Gcc3_BreakageList,
10864      apzFreebsd_Gcc3_BreakageMachs,
10865      FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10866      aFreebsd_Gcc3_BreakageTests,   apzFreebsd_Gcc3_BreakagePatch, 0 },
10868   {  zFreebsd_Gcc4_BreakageName,    zFreebsd_Gcc4_BreakageList,
10869      apzFreebsd_Gcc4_BreakageMachs,
10870      FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10871      aFreebsd_Gcc4_BreakageTests,   apzFreebsd_Gcc4_BreakagePatch, 0 },
10873   {  zGlibc_C99_Inline_1Name,    zGlibc_C99_Inline_1List,
10874      apzGlibc_C99_Inline_1Machs,
10875      GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10876      aGlibc_C99_Inline_1Tests,   apzGlibc_C99_Inline_1Patch, 0 },
10878   {  zGlibc_C99_Inline_1aName,    zGlibc_C99_Inline_1aList,
10879      apzGlibc_C99_Inline_1aMachs,
10880      GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10881      aGlibc_C99_Inline_1aTests,   apzGlibc_C99_Inline_1aPatch, 0 },
10883   {  zGlibc_C99_Inline_2Name,    zGlibc_C99_Inline_2List,
10884      apzGlibc_C99_Inline_2Machs,
10885      GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10886      aGlibc_C99_Inline_2Tests,   apzGlibc_C99_Inline_2Patch, 0 },
10888   {  zGlibc_C99_Inline_3Name,    zGlibc_C99_Inline_3List,
10889      apzGlibc_C99_Inline_3Machs,
10890      GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10891      aGlibc_C99_Inline_3Tests,   apzGlibc_C99_Inline_3Patch, 0 },
10893   {  zGlibc_C99_Inline_4Name,    zGlibc_C99_Inline_4List,
10894      apzGlibc_C99_Inline_4Machs,
10895      GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10896      aGlibc_C99_Inline_4Tests,   apzGlibc_C99_Inline_4Patch, 0 },
10898   {  zGlibc_Mutex_InitName,    zGlibc_Mutex_InitList,
10899      apzGlibc_Mutex_InitMachs,
10900      GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10901      aGlibc_Mutex_InitTests,   apzGlibc_Mutex_InitPatch, 0 },
10903   {  zGlibc_StdintName,    zGlibc_StdintList,
10904      apzGlibc_StdintMachs,
10905      GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10906      aGlibc_StdintTests,   apzGlibc_StdintPatch, 0 },
10908   {  zGlibc_StrncpyName,    zGlibc_StrncpyList,
10909      apzGlibc_StrncpyMachs,
10910      GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10911      aGlibc_StrncpyTests,   apzGlibc_StrncpyPatch, 0 },
10913   {  zGlibc_TgmathName,    zGlibc_TgmathList,
10914      apzGlibc_TgmathMachs,
10915      GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10916      aGlibc_TgmathTests,   apzGlibc_TgmathPatch, 0 },
10918   {  zGnu_TypesName,    zGnu_TypesList,
10919      apzGnu_TypesMachs,
10920      GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10921      aGnu_TypesTests,   apzGnu_TypesPatch, 0 },
10923   {  zHp_InlineName,    zHp_InlineList,
10924      apzHp_InlineMachs,
10925      HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10926      aHp_InlineTests,   apzHp_InlinePatch, 0 },
10928   {  zHp_SysfileName,    zHp_SysfileList,
10929      apzHp_SysfileMachs,
10930      HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10931      aHp_SysfileTests,   apzHp_SysfilePatch, 0 },
10933   {  zHppa_Hpux_Fp_MacrosName,    zHppa_Hpux_Fp_MacrosList,
10934      apzHppa_Hpux_Fp_MacrosMachs,
10935      HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10936      aHppa_Hpux_Fp_MacrosTests,   apzHppa_Hpux_Fp_MacrosPatch, 0 },
10938   {  zHpux10_Cpp_Pow_InlineName,    zHpux10_Cpp_Pow_InlineList,
10939      apzHpux10_Cpp_Pow_InlineMachs,
10940      HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10941      aHpux10_Cpp_Pow_InlineTests,   apzHpux10_Cpp_Pow_InlinePatch, 0 },
10943   {  zHpux11_Cpp_Pow_InlineName,    zHpux11_Cpp_Pow_InlineList,
10944      apzHpux11_Cpp_Pow_InlineMachs,
10945      HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10946      aHpux11_Cpp_Pow_InlineTests,   apzHpux11_Cpp_Pow_InlinePatch, 0 },
10948   {  zHpux10_Ctype_Declarations1Name,    zHpux10_Ctype_Declarations1List,
10949      apzHpux10_Ctype_Declarations1Machs,
10950      HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10951      aHpux10_Ctype_Declarations1Tests,   apzHpux10_Ctype_Declarations1Patch, 0 },
10953   {  zHpux10_Ctype_Declarations2Name,    zHpux10_Ctype_Declarations2List,
10954      apzHpux10_Ctype_Declarations2Machs,
10955      HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10956      aHpux10_Ctype_Declarations2Tests,   apzHpux10_Ctype_Declarations2Patch, 0 },
10958   {  zHpux10_Stdio_DeclarationsName,    zHpux10_Stdio_DeclarationsList,
10959      apzHpux10_Stdio_DeclarationsMachs,
10960      HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10961      aHpux10_Stdio_DeclarationsTests,   apzHpux10_Stdio_DeclarationsPatch, 0 },
10963   {  zHppa_Hpux11_AllocaName,    zHppa_Hpux11_AllocaList,
10964      apzHppa_Hpux11_AllocaMachs,
10965      HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10966      aHppa_Hpux11_AllocaTests,   apzHppa_Hpux11_AllocaPatch, 0 },
10968   {  zHpux11_AbsName,    zHpux11_AbsList,
10969      apzHpux11_AbsMachs,
10970      HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10971      aHpux11_AbsTests,   apzHpux11_AbsPatch, 0 },
10973   {  zHpux11_Lwp_Rwlock_ValidName,    zHpux11_Lwp_Rwlock_ValidList,
10974      apzHpux11_Lwp_Rwlock_ValidMachs,
10975      HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10976      aHpux11_Lwp_Rwlock_ValidTests,   apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10978   {  zHpux11_Extern_SendfileName,    zHpux11_Extern_SendfileList,
10979      apzHpux11_Extern_SendfileMachs,
10980      HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10981      aHpux11_Extern_SendfileTests,   apzHpux11_Extern_SendfilePatch, 0 },
10983   {  zHpux11_Extern_SendpathName,    zHpux11_Extern_SendpathList,
10984      apzHpux11_Extern_SendpathMachs,
10985      HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10986      aHpux11_Extern_SendpathTests,   apzHpux11_Extern_SendpathPatch, 0 },
10988   {  zHpux11_FabsfName,    zHpux11_FabsfList,
10989      apzHpux11_FabsfMachs,
10990      HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10991      aHpux11_FabsfTests,   apzHpux11_FabsfPatch, 0 },
10993   {  zHpux11_Pthread_PointerName,    zHpux11_Pthread_PointerList,
10994      apzHpux11_Pthread_PointerMachs,
10995      HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10996      aHpux11_Pthread_PointerTests,   apzHpux11_Pthread_PointerPatch, 0 },
10998   {  zHpux11_Pthread_ConstName,    zHpux11_Pthread_ConstList,
10999      apzHpux11_Pthread_ConstMachs,
11000      HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11001      aHpux11_Pthread_ConstTests,   apzHpux11_Pthread_ConstPatch, 0 },
11003   {  zHpux11_Size_TName,    zHpux11_Size_TList,
11004      apzHpux11_Size_TMachs,
11005      HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11006      aHpux11_Size_TTests,   apzHpux11_Size_TPatch, 0 },
11008   {  zHpux11_SnprintfName,    zHpux11_SnprintfList,
11009      apzHpux11_SnprintfMachs,
11010      HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11011      aHpux11_SnprintfTests,   apzHpux11_SnprintfPatch, 0 },
11013   {  zHpux11_VsnprintfName,    zHpux11_VsnprintfList,
11014      apzHpux11_VsnprintfMachs,
11015      HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11016      aHpux11_VsnprintfTests,   apzHpux11_VsnprintfPatch, 0 },
11018   {  zHpux_VsscanfName,    zHpux_VsscanfList,
11019      apzHpux_VsscanfMachs,
11020      HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11021      aHpux_VsscanfTests,   apzHpux_VsscanfPatch, 0 },
11023   {  zHpux8_Bogus_InlinesName,    zHpux8_Bogus_InlinesList,
11024      apzHpux8_Bogus_InlinesMachs,
11025      HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11026      aHpux8_Bogus_InlinesTests,   apzHpux8_Bogus_InlinesPatch, 0 },
11028   {  zHpux_C99_IntptrName,    zHpux_C99_IntptrList,
11029      apzHpux_C99_IntptrMachs,
11030      HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11031      aHpux_C99_IntptrTests,   apzHpux_C99_IntptrPatch, 0 },
11033   {  zHpux_C99_InttypesName,    zHpux_C99_InttypesList,
11034      apzHpux_C99_InttypesMachs,
11035      HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11036      aHpux_C99_InttypesTests,   apzHpux_C99_InttypesPatch, 0 },
11038   {  zHpux_C99_Inttypes2Name,    zHpux_C99_Inttypes2List,
11039      apzHpux_C99_Inttypes2Machs,
11040      HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11041      aHpux_C99_Inttypes2Tests,   apzHpux_C99_Inttypes2Patch, 0 },
11043   {  zHpux_Ctype_MacrosName,    zHpux_Ctype_MacrosList,
11044      apzHpux_Ctype_MacrosMachs,
11045      HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11046      aHpux_Ctype_MacrosTests,   apzHpux_Ctype_MacrosPatch, 0 },
11048   {  zHpux_Extern_ErrnoName,    zHpux_Extern_ErrnoList,
11049      apzHpux_Extern_ErrnoMachs,
11050      HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11051      aHpux_Extern_ErrnoTests,   apzHpux_Extern_ErrnoPatch, 0 },
11053   {  zHpux_HtonlName,    zHpux_HtonlList,
11054      apzHpux_HtonlMachs,
11055      HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11056      aHpux_HtonlTests,   apzHpux_HtonlPatch, 0 },
11058   {  zHpux_Imaginary_IName,    zHpux_Imaginary_IList,
11059      apzHpux_Imaginary_IMachs,
11060      HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11061      aHpux_Imaginary_ITests,   apzHpux_Imaginary_IPatch, 0 },
11063   {  zHpux_Inttype_Int8_TName,    zHpux_Inttype_Int8_TList,
11064      apzHpux_Inttype_Int8_TMachs,
11065      HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11066      aHpux_Inttype_Int8_TTests,   apzHpux_Inttype_Int8_TPatch, 0 },
11068   {  zHpux_Long_DoubleName,    zHpux_Long_DoubleList,
11069      apzHpux_Long_DoubleMachs,
11070      HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11071      aHpux_Long_DoubleTests,   apzHpux_Long_DoublePatch, 0 },
11073   {  zHpux_Long_Double_2Name,    zHpux_Long_Double_2List,
11074      apzHpux_Long_Double_2Machs,
11075      HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11076      aHpux_Long_Double_2Tests,   apzHpux_Long_Double_2Patch, 0 },
11078   {  zHpux_Pthread_InitializersName,    zHpux_Pthread_InitializersList,
11079      apzHpux_Pthread_InitializersMachs,
11080      HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11081      aHpux_Pthread_InitializersTests,   apzHpux_Pthread_InitializersPatch, 0 },
11083   {  zHpux_Spu_InfoName,    zHpux_Spu_InfoList,
11084      apzHpux_Spu_InfoMachs,
11085      HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11086      aHpux_Spu_InfoTests,   apzHpux_Spu_InfoPatch, 0 },
11088   {  zHpux_Stdint_Least_FastName,    zHpux_Stdint_Least_FastList,
11089      apzHpux_Stdint_Least_FastMachs,
11090      HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11091      aHpux_Stdint_Least_FastTests,   apzHpux_Stdint_Least_FastPatch, 0 },
11093   {  zHpux_LongjmpName,    zHpux_LongjmpList,
11094      apzHpux_LongjmpMachs,
11095      HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11096      aHpux_LongjmpTests,   apzHpux_LongjmpPatch, 0 },
11098   {  zHpux_SystimeName,    zHpux_SystimeList,
11099      apzHpux_SystimeMachs,
11100      HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11101      aHpux_SystimeTests,   apzHpux_SystimePatch, 0 },
11103   {  zHuge_Val_HexName,    zHuge_Val_HexList,
11104      apzHuge_Val_HexMachs,
11105      HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11106      aHuge_Val_HexTests,   apzHuge_Val_HexPatch, 0 },
11108   {  zHuge_Valf_HexName,    zHuge_Valf_HexList,
11109      apzHuge_Valf_HexMachs,
11110      HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11111      aHuge_Valf_HexTests,   apzHuge_Valf_HexPatch, 0 },
11113   {  zHuge_Vall_HexName,    zHuge_Vall_HexList,
11114      apzHuge_Vall_HexMachs,
11115      HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11116      aHuge_Vall_HexTests,   apzHuge_Vall_HexPatch, 0 },
11118   {  zInt_Abort_Free_And_ExitName,    zInt_Abort_Free_And_ExitList,
11119      apzInt_Abort_Free_And_ExitMachs,
11120      INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11121      aInt_Abort_Free_And_ExitTests,   apzInt_Abort_Free_And_ExitPatch, 0 },
11123   {  zIo_Quotes_DefName,    zIo_Quotes_DefList,
11124      apzIo_Quotes_DefMachs,
11125      IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11126      aIo_Quotes_DefTests,   apzIo_Quotes_DefPatch, 0 },
11128   {  zIo_Quotes_UseName,    zIo_Quotes_UseList,
11129      apzIo_Quotes_UseMachs,
11130      IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11131      aIo_Quotes_UseTests,   apzIo_Quotes_UsePatch, 0 },
11133   {  zIp_Missing_SemiName,    zIp_Missing_SemiList,
11134      apzIp_Missing_SemiMachs,
11135      IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11136      aIp_Missing_SemiTests,   apzIp_Missing_SemiPatch, 0 },
11138   {  zIrix_Limits_ConstName,    zIrix_Limits_ConstList,
11139      apzIrix_Limits_ConstMachs,
11140      IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11141      aIrix_Limits_ConstTests,   apzIrix_Limits_ConstPatch, 0 },
11143   {  zIrix_Stdio_Va_ListName,    zIrix_Stdio_Va_ListList,
11144      apzIrix_Stdio_Va_ListMachs,
11145      IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11146      aIrix_Stdio_Va_ListTests,   apzIrix_Stdio_Va_ListPatch, 0 },
11148   {  zKandr_ConcatName,    zKandr_ConcatList,
11149      apzKandr_ConcatMachs,
11150      KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11151      aKandr_ConcatTests,   apzKandr_ConcatPatch, 0 },
11153   {  zLinux_Ia64_UcontextName,    zLinux_Ia64_UcontextList,
11154      apzLinux_Ia64_UcontextMachs,
11155      LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11156      aLinux_Ia64_UcontextTests,   apzLinux_Ia64_UcontextPatch, 0 },
11158   {  zLynxos_No_Warning_In_Sys_Time_HName,    zLynxos_No_Warning_In_Sys_Time_HList,
11159      apzLynxos_No_Warning_In_Sys_Time_HMachs,
11160      LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11161      aLynxos_No_Warning_In_Sys_Time_HTests,   apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
11163   {  zLynxos_Missing_PutenvName,    zLynxos_Missing_PutenvList,
11164      apzLynxos_Missing_PutenvMachs,
11165      LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11166      aLynxos_Missing_PutenvTests,   apzLynxos_Missing_PutenvPatch, 0 },
11168   {  zMachine_Ansi_H_Va_ListName,    zMachine_Ansi_H_Va_ListList,
11169      apzMachine_Ansi_H_Va_ListMachs,
11170      MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11171      aMachine_Ansi_H_Va_ListTests,   apzMachine_Ansi_H_Va_ListPatch, 0 },
11173   {  zMachine_NameName,    zMachine_NameList,
11174      apzMachine_NameMachs,
11175      MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11176      aMachine_NameTests,   apzMachine_NamePatch, 0 },
11178   {  zMath_ExceptionName,    zMath_ExceptionList,
11179      apzMath_ExceptionMachs,
11180      MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11181      aMath_ExceptionTests,   apzMath_ExceptionPatch, 0 },
11183   {  zMath_Huge_Val_From_Dbl_MaxName,    zMath_Huge_Val_From_Dbl_MaxList,
11184      apzMath_Huge_Val_From_Dbl_MaxMachs,
11185      MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11186      aMath_Huge_Val_From_Dbl_MaxTests,   apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
11188   {  zNested_Auth_DesName,    zNested_Auth_DesList,
11189      apzNested_Auth_DesMachs,
11190      NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11191      aNested_Auth_DesTests,   apzNested_Auth_DesPatch, 0 },
11193   {  zNetbsd_C99_Inline_1Name,    zNetbsd_C99_Inline_1List,
11194      apzNetbsd_C99_Inline_1Machs,
11195      NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11196      aNetbsd_C99_Inline_1Tests,   apzNetbsd_C99_Inline_1Patch, 0 },
11198   {  zNetbsd_C99_Inline_2Name,    zNetbsd_C99_Inline_2List,
11199      apzNetbsd_C99_Inline_2Machs,
11200      NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11201      aNetbsd_C99_Inline_2Tests,   apzNetbsd_C99_Inline_2Patch, 0 },
11203   {  zNetbsd_Extra_SemicolonName,    zNetbsd_Extra_SemicolonList,
11204      apzNetbsd_Extra_SemicolonMachs,
11205      NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11206      aNetbsd_Extra_SemicolonTests,   apzNetbsd_Extra_SemicolonPatch, 0 },
11208   {  zNewlib_Stdint_1Name,    zNewlib_Stdint_1List,
11209      apzNewlib_Stdint_1Machs,
11210      NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11211      aNewlib_Stdint_1Tests,   apzNewlib_Stdint_1Patch, 0 },
11213   {  zNewlib_Stdint_2Name,    zNewlib_Stdint_2List,
11214      apzNewlib_Stdint_2Machs,
11215      NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11216      aNewlib_Stdint_2Tests,   apzNewlib_Stdint_2Patch, 0 },
11218   {  zNext_Math_PrefixName,    zNext_Math_PrefixList,
11219      apzNext_Math_PrefixMachs,
11220      NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11221      aNext_Math_PrefixTests,   apzNext_Math_PrefixPatch, 0 },
11223   {  zNext_TemplateName,    zNext_TemplateList,
11224      apzNext_TemplateMachs,
11225      NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11226      aNext_TemplateTests,   apzNext_TemplatePatch, 0 },
11228   {  zNext_VolitileName,    zNext_VolitileList,
11229      apzNext_VolitileMachs,
11230      NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11231      aNext_VolitileTests,   apzNext_VolitilePatch, 0 },
11233   {  zNext_Wait_UnionName,    zNext_Wait_UnionList,
11234      apzNext_Wait_UnionMachs,
11235      NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11236      aNext_Wait_UnionTests,   apzNext_Wait_UnionPatch, 0 },
11238   {  zNodeent_SyntaxName,    zNodeent_SyntaxList,
11239      apzNodeent_SyntaxMachs,
11240      NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11241      aNodeent_SyntaxTests,   apzNodeent_SyntaxPatch, 0 },
11243   {  zOpenbsd_Null_DefinitionName,    zOpenbsd_Null_DefinitionList,
11244      apzOpenbsd_Null_DefinitionMachs,
11245      OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11246      aOpenbsd_Null_DefinitionTests,   apzOpenbsd_Null_DefinitionPatch, 0 },
11248   {  zObstack_Lvalue_CastName,    zObstack_Lvalue_CastList,
11249      apzObstack_Lvalue_CastMachs,
11250      OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11251      aObstack_Lvalue_CastTests,   apzObstack_Lvalue_CastPatch, 0 },
11253   {  zOpenbsd_Va_StartName,    zOpenbsd_Va_StartList,
11254      apzOpenbsd_Va_StartMachs,
11255      OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11256      aOpenbsd_Va_StartTests,   apzOpenbsd_Va_StartPatch, 0 },
11258   {  zOsf_Namespace_AName,    zOsf_Namespace_AList,
11259      apzOsf_Namespace_AMachs,
11260      OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11261      aOsf_Namespace_ATests,   apzOsf_Namespace_APatch, 0 },
11263   {  zOsf_Namespace_CName,    zOsf_Namespace_CList,
11264      apzOsf_Namespace_CMachs,
11265      OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11266      aOsf_Namespace_CTests,   apzOsf_Namespace_CPatch, 0 },
11268   {  zPthread_Incomplete_Struct_ArgumentName,    zPthread_Incomplete_Struct_ArgumentList,
11269      apzPthread_Incomplete_Struct_ArgumentMachs,
11270      PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11271      aPthread_Incomplete_Struct_ArgumentTests,   apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
11273   {  zRead_Ret_TypeName,    zRead_Ret_TypeList,
11274      apzRead_Ret_TypeMachs,
11275      READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11276      aRead_Ret_TypeTests,   apzRead_Ret_TypePatch, 0 },
11278   {  zRpc_Xdr_Lvalue_Cast_AName,    zRpc_Xdr_Lvalue_Cast_AList,
11279      apzRpc_Xdr_Lvalue_Cast_AMachs,
11280      RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11281      aRpc_Xdr_Lvalue_Cast_ATests,   apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
11283   {  zRpc_Xdr_Lvalue_Cast_BName,    zRpc_Xdr_Lvalue_Cast_BList,
11284      apzRpc_Xdr_Lvalue_Cast_BMachs,
11285      RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11286      aRpc_Xdr_Lvalue_Cast_BTests,   apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
11288   {  zRs6000_DoubleName,    zRs6000_DoubleList,
11289      apzRs6000_DoubleMachs,
11290      RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11291      aRs6000_DoubleTests,   apzRs6000_DoublePatch, 0 },
11293   {  zRs6000_FchmodName,    zRs6000_FchmodList,
11294      apzRs6000_FchmodMachs,
11295      RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11296      aRs6000_FchmodTests,   apzRs6000_FchmodPatch, 0 },
11298   {  zRs6000_ParamName,    zRs6000_ParamList,
11299      apzRs6000_ParamMachs,
11300      RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11301      aRs6000_ParamTests,   apzRs6000_ParamPatch, 0 },
11303   {  zSolaris___RestrictName,    zSolaris___RestrictList,
11304      apzSolaris___RestrictMachs,
11305      SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11306      aSolaris___RestrictTests,   apzSolaris___RestrictPatch, 0 },
11308   {  zSolaris_ComplexName,    zSolaris_ComplexList,
11309      apzSolaris_ComplexMachs,
11310      SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
11311      aSolaris_ComplexTests,   apzSolaris_ComplexPatch, 0 },
11313   {  zSolaris_Complex_CxxName,    zSolaris_Complex_CxxList,
11314      apzSolaris_Complex_CxxMachs,
11315      SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
11316      aSolaris_Complex_CxxTests,   apzSolaris_Complex_CxxPatch, 0 },
11318   {  zSolaris_Cxx_LinkageName,    zSolaris_Cxx_LinkageList,
11319      apzSolaris_Cxx_LinkageMachs,
11320      SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11321      aSolaris_Cxx_LinkageTests,   apzSolaris_Cxx_LinkagePatch, 0 },
11323   {  zSolaris_Getc_Strict_StdcName,    zSolaris_Getc_Strict_StdcList,
11324      apzSolaris_Getc_Strict_StdcMachs,
11325      SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11326      aSolaris_Getc_Strict_StdcTests,   apzSolaris_Getc_Strict_StdcPatch, 0 },
11328   {  zSolaris_Gets_C11Name,    zSolaris_Gets_C11List,
11329      apzSolaris_Gets_C11Machs,
11330      SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11331      aSolaris_Gets_C11Tests,   apzSolaris_Gets_C11Patch, 0 },
11333   {  zSolaris_Gets_Cxx14Name,    zSolaris_Gets_Cxx14List,
11334      apzSolaris_Gets_Cxx14Machs,
11335      SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11336      aSolaris_Gets_Cxx14Tests,   apzSolaris_Gets_Cxx14Patch, 0 },
11338   {  zSolaris_Int_ConstName,    zSolaris_Int_ConstList,
11339      apzSolaris_Int_ConstMachs,
11340      SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11341      aSolaris_Int_ConstTests,   apzSolaris_Int_ConstPatch, 0 },
11343   {  zSolaris_Int_Limits_1Name,    zSolaris_Int_Limits_1List,
11344      apzSolaris_Int_Limits_1Machs,
11345      SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11346      aSolaris_Int_Limits_1Tests,   apzSolaris_Int_Limits_1Patch, 0 },
11348   {  zSolaris_Int_Limits_2Name,    zSolaris_Int_Limits_2List,
11349      apzSolaris_Int_Limits_2Machs,
11350      SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11351      aSolaris_Int_Limits_2Tests,   apzSolaris_Int_Limits_2Patch, 0 },
11353   {  zSolaris_Int_Limits_3Name,    zSolaris_Int_Limits_3List,
11354      apzSolaris_Int_Limits_3Machs,
11355      SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11356      aSolaris_Int_Limits_3Tests,   apzSolaris_Int_Limits_3Patch, 0 },
11358   {  zSolaris_Math_1Name,    zSolaris_Math_1List,
11359      apzSolaris_Math_1Machs,
11360      SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11361      aSolaris_Math_1Tests,   apzSolaris_Math_1Patch, 0 },
11363   {  zSolaris_Math_10Name,    zSolaris_Math_10List,
11364      apzSolaris_Math_10Machs,
11365      SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11366      aSolaris_Math_10Tests,   apzSolaris_Math_10Patch, 0 },
11368   {  zSolaris_Math_2Name,    zSolaris_Math_2List,
11369      apzSolaris_Math_2Machs,
11370      SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11371      aSolaris_Math_2Tests,   apzSolaris_Math_2Patch, 0 },
11373   {  zSolaris_Math_3Name,    zSolaris_Math_3List,
11374      apzSolaris_Math_3Machs,
11375      SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11376      aSolaris_Math_3Tests,   apzSolaris_Math_3Patch, 0 },
11378   {  zSolaris_Math_4Name,    zSolaris_Math_4List,
11379      apzSolaris_Math_4Machs,
11380      SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11381      aSolaris_Math_4Tests,   apzSolaris_Math_4Patch, 0 },
11383   {  zSolaris_Math_8Name,    zSolaris_Math_8List,
11384      apzSolaris_Math_8Machs,
11385      SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11386      aSolaris_Math_8Tests,   apzSolaris_Math_8Patch, 0 },
11388   {  zSolaris_Math_9Name,    zSolaris_Math_9List,
11389      apzSolaris_Math_9Machs,
11390      SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11391      aSolaris_Math_9Tests,   apzSolaris_Math_9Patch, 0 },
11393   {  zSolaris_Math_11Name,    zSolaris_Math_11List,
11394      apzSolaris_Math_11Machs,
11395      SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11396      aSolaris_Math_11Tests,   apzSolaris_Math_11Patch, 0 },
11398   {  zSolaris_Math_12Name,    zSolaris_Math_12List,
11399      apzSolaris_Math_12Machs,
11400      SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11401      aSolaris_Math_12Tests,   apzSolaris_Math_12Patch, 0 },
11403   {  zSolaris_Once_Init_1Name,    zSolaris_Once_Init_1List,
11404      apzSolaris_Once_Init_1Machs,
11405      SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11406      aSolaris_Once_Init_1Tests,   apzSolaris_Once_Init_1Patch, 0 },
11408   {  zSolaris_Posix_Spawn_RestrictName,    zSolaris_Posix_Spawn_RestrictList,
11409      apzSolaris_Posix_Spawn_RestrictMachs,
11410      SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11411      aSolaris_Posix_Spawn_RestrictTests,   apzSolaris_Posix_Spawn_RestrictPatch, 0 },
11413   {  zSolaris_Pow_Int_OverloadName,    zSolaris_Pow_Int_OverloadList,
11414      apzSolaris_Pow_Int_OverloadMachs,
11415      SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11416      aSolaris_Pow_Int_OverloadTests,   apzSolaris_Pow_Int_OverloadPatch, 0 },
11418   {  zSolaris_Rwlock_Init_1Name,    zSolaris_Rwlock_Init_1List,
11419      apzSolaris_Rwlock_Init_1Machs,
11420      SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11421      aSolaris_Rwlock_Init_1Tests,   apzSolaris_Rwlock_Init_1Patch, 0 },
11423   {  zSolaris_Std___FilbufName,    zSolaris_Std___FilbufList,
11424      apzSolaris_Std___FilbufMachs,
11425      SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11426      aSolaris_Std___FilbufTests,   apzSolaris_Std___FilbufPatch, 0 },
11428   {  zSolaris_Std_Gets_Cxx14Name,    zSolaris_Std_Gets_Cxx14List,
11429      apzSolaris_Std_Gets_Cxx14Machs,
11430      SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11431      aSolaris_Std_Gets_Cxx14Tests,   apzSolaris_Std_Gets_Cxx14Patch, 0 },
11433   {  zSolaris_Stdio_TagName,    zSolaris_Stdio_TagList,
11434      apzSolaris_Stdio_TagMachs,
11435      SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
11436      aSolaris_Stdio_TagTests,   apzSolaris_Stdio_TagPatch, 0 },
11438   {  zSolaris_Stdlib_NoreturnName,    zSolaris_Stdlib_NoreturnList,
11439      apzSolaris_Stdlib_NoreturnMachs,
11440      SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11441      aSolaris_Stdlib_NoreturnTests,   apzSolaris_Stdlib_NoreturnPatch, 0 },
11443   {  zStatsswtchName,    zStatsswtchList,
11444      apzStatsswtchMachs,
11445      STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11446      aStatsswtchTests,   apzStatsswtchPatch, 0 },
11448   {  zStdio_Stdarg_HName,    zStdio_Stdarg_HList,
11449      apzStdio_Stdarg_HMachs,
11450      STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11451      aStdio_Stdarg_HTests,   apzStdio_Stdarg_HPatch, 0 },
11453   {  zStdio_Va_ListName,    zStdio_Va_ListList,
11454      apzStdio_Va_ListMachs,
11455      STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11456      aStdio_Va_ListTests,   apzStdio_Va_ListPatch, 0 },
11458   {  zStdio_Va_List_ClientsName,    zStdio_Va_List_ClientsList,
11459      apzStdio_Va_List_ClientsMachs,
11460      STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
11461      aStdio_Va_List_ClientsTests,   apzStdio_Va_List_ClientsPatch, 0 },
11463   {  zStrict_Ansi_NotName,    zStrict_Ansi_NotList,
11464      apzStrict_Ansi_NotMachs,
11465      STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11466      aStrict_Ansi_NotTests,   apzStrict_Ansi_NotPatch, 0 },
11468   {  zStrict_Ansi_Not_CtdName,    zStrict_Ansi_Not_CtdList,
11469      apzStrict_Ansi_Not_CtdMachs,
11470      STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11471      aStrict_Ansi_Not_CtdTests,   apzStrict_Ansi_Not_CtdPatch, 0 },
11473   {  zStrict_Ansi_OnlyName,    zStrict_Ansi_OnlyList,
11474      apzStrict_Ansi_OnlyMachs,
11475      STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11476      aStrict_Ansi_OnlyTests,   apzStrict_Ansi_OnlyPatch, 0 },
11478   {  zStruct_FileName,    zStruct_FileList,
11479      apzStruct_FileMachs,
11480      STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11481      aStruct_FileTests,   apzStruct_FilePatch, 0 },
11483   {  zStruct_SockaddrName,    zStruct_SockaddrList,
11484      apzStruct_SockaddrMachs,
11485      STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11486      aStruct_SockaddrTests,   apzStruct_SockaddrPatch, 0 },
11488   {  zSun_Auth_ProtoName,    zSun_Auth_ProtoList,
11489      apzSun_Auth_ProtoMachs,
11490      SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11491      aSun_Auth_ProtoTests,   apzSun_Auth_ProtoPatch, 0 },
11493   {  zSun_Bogus_IfdefName,    zSun_Bogus_IfdefList,
11494      apzSun_Bogus_IfdefMachs,
11495      SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11496      aSun_Bogus_IfdefTests,   apzSun_Bogus_IfdefPatch, 0 },
11498   {  zSun_CatmacroName,    zSun_CatmacroList,
11499      apzSun_CatmacroMachs,
11500      SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11501      aSun_CatmacroTests,   apzSun_CatmacroPatch, 0 },
11503   {  zSun_MallocName,    zSun_MallocList,
11504      apzSun_MallocMachs,
11505      SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11506      aSun_MallocTests,   apzSun_MallocPatch, 0 },
11508   {  zSun_Rusers_SemiName,    zSun_Rusers_SemiList,
11509      apzSun_Rusers_SemiMachs,
11510      SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11511      aSun_Rusers_SemiTests,   apzSun_Rusers_SemiPatch, 0 },
11513   {  zSun_SignalName,    zSun_SignalList,
11514      apzSun_SignalMachs,
11515      SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11516      aSun_SignalTests,   apzSun_SignalPatch, 0 },
11518   {  zSunos_StrlenName,    zSunos_StrlenList,
11519      apzSunos_StrlenMachs,
11520      SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11521      aSunos_StrlenTests,   apzSunos_StrlenPatch, 0 },
11523   {  zSuse_Linux_Vt_CxxName,    zSuse_Linux_Vt_CxxList,
11524      apzSuse_Linux_Vt_CxxMachs,
11525      SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11526      aSuse_Linux_Vt_CxxTests,   apzSuse_Linux_Vt_CxxPatch, 0 },
11528   {  zSvr4_Disable_OptName,    zSvr4_Disable_OptList,
11529      apzSvr4_Disable_OptMachs,
11530      SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11531      aSvr4_Disable_OptTests,   apzSvr4_Disable_OptPatch, 0 },
11533   {  zSvr4_GetcwdName,    zSvr4_GetcwdList,
11534      apzSvr4_GetcwdMachs,
11535      SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11536      aSvr4_GetcwdTests,   apzSvr4_GetcwdPatch, 0 },
11538   {  zSvr4_ProfilName,    zSvr4_ProfilList,
11539      apzSvr4_ProfilMachs,
11540      SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11541      aSvr4_ProfilTests,   apzSvr4_ProfilPatch, 0 },
11543   {  zSvr4_Sighandler_TypeName,    zSvr4_Sighandler_TypeList,
11544      apzSvr4_Sighandler_TypeMachs,
11545      SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11546      aSvr4_Sighandler_TypeTests,   apzSvr4_Sighandler_TypePatch, 0 },
11548   {  zSvr4_Undeclared_GetrngeName,    zSvr4_Undeclared_GetrngeList,
11549      apzSvr4_Undeclared_GetrngeMachs,
11550      SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11551      aSvr4_Undeclared_GetrngeTests,   apzSvr4_Undeclared_GetrngePatch, 0 },
11553   {  zSysv68_StringName,    zSysv68_StringList,
11554      apzSysv68_StringMachs,
11555      SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11556      aSysv68_StringTests,   apzSysv68_StringPatch, 0 },
11558   {  zSysz_Stdlib_For_SunName,    zSysz_Stdlib_For_SunList,
11559      apzSysz_Stdlib_For_SunMachs,
11560      SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11561      aSysz_Stdlib_For_SunTests,   apzSysz_Stdlib_For_SunPatch, 0 },
11563   {  zThread_KeywordName,    zThread_KeywordList,
11564      apzThread_KeywordMachs,
11565      THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11566      aThread_KeywordTests,   apzThread_KeywordPatch, 0 },
11568   {  zTinfo_CplusplusName,    zTinfo_CplusplusList,
11569      apzTinfo_CplusplusMachs,
11570      TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11571      aTinfo_CplusplusTests,   apzTinfo_CplusplusPatch, 0 },
11573   {  zUltrix_ConstName,    zUltrix_ConstList,
11574      apzUltrix_ConstMachs,
11575      ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11576      aUltrix_ConstTests,   apzUltrix_ConstPatch, 0 },
11578   {  zUltrix_Const2Name,    zUltrix_Const2List,
11579      apzUltrix_Const2Machs,
11580      ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11581      aUltrix_Const2Tests,   apzUltrix_Const2Patch, 0 },
11583   {  zVa_I960_MacroName,    zVa_I960_MacroList,
11584      apzVa_I960_MacroMachs,
11585      VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11586      aVa_I960_MacroTests,   apzVa_I960_MacroPatch, 0 },
11588   {  zVms_Add_Missing_BracesName,    zVms_Add_Missing_BracesList,
11589      apzVms_Add_Missing_BracesMachs,
11590      VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11591      aVms_Add_Missing_BracesTests,   apzVms_Add_Missing_BracesPatch, 0 },
11593   {  zVms_Decc_BuiltinName,    zVms_Decc_BuiltinList,
11594      apzVms_Decc_BuiltinMachs,
11595      VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11596      aVms_Decc_BuiltinTests,   apzVms_Decc_BuiltinPatch, 0 },
11598   {  zVms_Define_Can_Use_Extern_PrefixName,    zVms_Define_Can_Use_Extern_PrefixList,
11599      apzVms_Define_Can_Use_Extern_PrefixMachs,
11600      VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11601      aVms_Define_Can_Use_Extern_PrefixTests,   apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11603   {  zVms_Disable_Decc_String_BuiltinsName,    zVms_Disable_Decc_String_BuiltinsList,
11604      apzVms_Disable_Decc_String_BuiltinsMachs,
11605      VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11606      aVms_Disable_Decc_String_BuiltinsTests,   apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11608   {  zVms_Do_Not_Redeclare_HostaliasName,    zVms_Do_Not_Redeclare_HostaliasList,
11609      apzVms_Do_Not_Redeclare_HostaliasMachs,
11610      VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11611      aVms_Do_Not_Redeclare_HostaliasTests,   apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11613   {  zVms_Forward_Declare_StructName,    zVms_Forward_Declare_StructList,
11614      apzVms_Forward_Declare_StructMachs,
11615      VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11616      aVms_Forward_Declare_StructTests,   apzVms_Forward_Declare_StructPatch, 0 },
11618   {  zVms_No_64bit_GetoptName,    zVms_No_64bit_GetoptList,
11619      apzVms_No_64bit_GetoptMachs,
11620      VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11621      aVms_No_64bit_GetoptTests,   apzVms_No_64bit_GetoptPatch, 0 },
11623   {  zVms_Use_Fast_SetjmpName,    zVms_Use_Fast_SetjmpList,
11624      apzVms_Use_Fast_SetjmpMachs,
11625      VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11626      aVms_Use_Fast_SetjmpTests,   apzVms_Use_Fast_SetjmpPatch, 0 },
11628   {  zVms_Use_Pragma_Extern_ModelName,    zVms_Use_Pragma_Extern_ModelList,
11629      apzVms_Use_Pragma_Extern_ModelMachs,
11630      VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11631      aVms_Use_Pragma_Extern_ModelTests,   apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11633   {  zVms_Use_Quoted_IncludeName,    zVms_Use_Quoted_IncludeList,
11634      apzVms_Use_Quoted_IncludeMachs,
11635      VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11636      aVms_Use_Quoted_IncludeTests,   apzVms_Use_Quoted_IncludePatch, 0 },
11638   {  zVoid_NullName,    zVoid_NullList,
11639      apzVoid_NullMachs,
11640      VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11641      aVoid_NullTests,   apzVoid_NullPatch, 0 },
11643   {  zVxworks_Gcc_ProblemName,    zVxworks_Gcc_ProblemList,
11644      apzVxworks_Gcc_ProblemMachs,
11645      VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11646      aVxworks_Gcc_ProblemTests,   apzVxworks_Gcc_ProblemPatch, 0 },
11648   {  zVxworks_Ioctl_MacroName,    zVxworks_Ioctl_MacroList,
11649      apzVxworks_Ioctl_MacroMachs,
11650      VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11651      aVxworks_Ioctl_MacroTests,   apzVxworks_Ioctl_MacroPatch, 0 },
11653   {  zVxworks_Mkdir_MacroName,    zVxworks_Mkdir_MacroList,
11654      apzVxworks_Mkdir_MacroMachs,
11655      VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11656      aVxworks_Mkdir_MacroTests,   apzVxworks_Mkdir_MacroPatch, 0 },
11658   {  zVxworks_Needs_VxtypesName,    zVxworks_Needs_VxtypesList,
11659      apzVxworks_Needs_VxtypesMachs,
11660      VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11661      aVxworks_Needs_VxtypesTests,   apzVxworks_Needs_VxtypesPatch, 0 },
11663   {  zVxworks_Needs_VxworksName,    zVxworks_Needs_VxworksList,
11664      apzVxworks_Needs_VxworksMachs,
11665      VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11666      aVxworks_Needs_VxworksTests,   apzVxworks_Needs_VxworksPatch, 0 },
11668   {  zVxworks_RegsName,    zVxworks_RegsList,
11669      apzVxworks_RegsMachs,
11670      VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11671      aVxworks_RegsTests,   apzVxworks_RegsPatch, 0 },
11673   {  zVxworks_TimeName,    zVxworks_TimeList,
11674      apzVxworks_TimeMachs,
11675      VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11676      aVxworks_TimeTests,   apzVxworks_TimePatch, 0 },
11678   {  zVxworks_Write_ConstName,    zVxworks_Write_ConstList,
11679      apzVxworks_Write_ConstMachs,
11680      VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11681      aVxworks_Write_ConstTests,   apzVxworks_Write_ConstPatch, 0 },
11683   {  zVxworks_Iolib_Include_UnistdName,    zVxworks_Iolib_Include_UnistdList,
11684      apzVxworks_Iolib_Include_UnistdMachs,
11685      VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11686      aVxworks_Iolib_Include_UnistdTests,   apzVxworks_Iolib_Include_UnistdPatch, 0 },
11688   {  zX11_ClassName,    zX11_ClassList,
11689      apzX11_ClassMachs,
11690      X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11691      aX11_ClassTests,   apzX11_ClassPatch, 0 },
11693   {  zX11_Class_UsageName,    zX11_Class_UsageList,
11694      apzX11_Class_UsageMachs,
11695      X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11696      aX11_Class_UsageTests,   apzX11_Class_UsagePatch, 0 },
11698   {  zX11_NewName,    zX11_NewList,
11699      apzX11_NewMachs,
11700      X11_NEW_TEST_CT, FD_MACH_ONLY,
11701      aX11_NewTests,   apzX11_NewPatch, 0 },
11703   {  zX11_SprintfName,    zX11_SprintfList,
11704      apzX11_SprintfMachs,
11705      X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11706      aX11_SprintfTests,   apzX11_SprintfPatch, 0 }