* inclhack.def (aix_stdlib_malloc): New fix.
[official-gcc.git] / fixincludes / fixincl.x
blobc79a6e4fb2ca71f3fdcab439164667e1ae443651
1 /*  -*- buffer-read-only: t -*- vi: set ro:
2  * 
3  * DO NOT EDIT THIS FILE   (fixincl.x)
4  * 
5  * It has been AutoGen-ed  June 10, 2016 at 12:56:52 PM by AutoGen 5.18.3
6  * From the definitions    inclhack.def
7  * and the template file   fixincl
8  */
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Fri Jun 10 12:56:52 UTC 2016
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 235 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 "#ifndef _ASSERT_H\n\
528 #define _ASSERT_H\n\n\
529 #ifdef assert\n\
530 #undef assert\n\
531 #endif\n\n\
532 #if defined(__STDC__) || defined(__cplusplus)\n\
533 extern void __assert (const char*);\n\
534 #else\n\
535 extern void __assert ();\n\
536 #endif\n\n\
537 #ifdef NDEBUG\n\
538 #define assert(ign) ((void)0)\n\
539 #else\n\n\
540 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
541 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
542 #define assert(test) ((void) \\\n\
543         ((test) ? ((void)0) : \\\n\
544         __assert(\"Assertion failed: \" ASSERT_STRINGIFY(test) \", file \" \\\n\
545         __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
546 #endif\n\n\
547 #endif",
548     (char*)NULL };
550 /* * * * * * * * * * * * * * * * * * * * * * * * * *
552  *  Description of Aab_Vxworks_Regs_Vxtypes fix
553  */
554 tSCC zAab_Vxworks_Regs_VxtypesName[] =
555      "AAB_vxworks_regs_vxtypes";
558  *  File name selection pattern
559  */
560 tSCC zAab_Vxworks_Regs_VxtypesList[] =
561   "regs.h\0";
563  *  Machine/OS name selection pattern
564  */
565 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
566         "*-*-vxworks*",
567         (const char*)NULL };
568 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT  0
569 #define aAab_Vxworks_Regs_VxtypesTests   (tTestDesc*)NULL
572  *  Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
573  */
574 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
575 "#ifndef _REGS_H\n\
576 #define _REGS_H\n\
577 #include <types/vxTypesOld.h>\n\
578 #include_next <arch/../regs.h>\n\
579 #endif",
580     (char*)NULL };
582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
584  *  Description of Aab_Vxworks_Stdint fix
585  */
586 tSCC zAab_Vxworks_StdintName[] =
587      "AAB_vxworks_stdint";
590  *  File name selection pattern
591  */
592 tSCC zAab_Vxworks_StdintList[] =
593   "stdint.h\0";
595  *  Machine/OS name selection pattern
596  */
597 tSCC* apzAab_Vxworks_StdintMachs[] = {
598         "*-*-vxworks*",
599         (const char*)NULL };
600 #define AAB_VXWORKS_STDINT_TEST_CT  0
601 #define aAab_Vxworks_StdintTests   (tTestDesc*)NULL
604  *  Fix Command Arguments for Aab_Vxworks_Stdint
605  */
606 static const char* apzAab_Vxworks_StdintPatch[] = {
607 "#ifndef _STDINT_H\n\
608 #define _STDINT_H\n\
609 /* get int*_t, uint*_t */\n\
610 #include <types/vxTypes.h>\n\n\
611 /* get legacy vxworks types for compatibility */\n\
612 #include <types/vxTypesOld.h>\n\n\
613 typedef long intptr_t;\n\
614 typedef unsigned long uintptr_t;\n\n\
615 typedef int64_t intmax_t;\n\
616 typedef uint64_t uintmax_t;\n\n\
617 typedef int8_t int_least8_t;\n\
618 typedef int16_t int_least16_t;\n\
619 typedef int32_t int_least32_t;\n\
620 typedef int64_t int_least64_t;\n\n\
621 typedef uint8_t uint_least8_t;\n\
622 typedef uint16_t uint_least16_t;\n\
623 typedef uint32_t uint_least32_t;\n\
624 typedef uint64_t uint_least64_t;\n\n\
625 typedef int8_t int_fast8_t;\n\
626 typedef int int_fast16_t;\n\
627 typedef int32_t int_fast32_t;\n\
628 typedef int64_t int_fast64_t;\n\n\
629 typedef uint8_t uint_fast8_t;\n\
630 typedef unsigned int uint_fast16_t;\n\
631 typedef uint32_t uint_fast32_t;\n\
632 typedef uint64_t uint_fast64_t;\n\n\
633 /* Ranges */\n\
634 #define UINT8_MAX (~(uint8_t)0)\n\
635 #define UINT8_MIN 0\n\
636 #define UINT16_MAX (~(uint16_t)0)\n\
637 #define UINT16_MIN 0\n\
638 #define UINT32_MAX (~(uint32_t)0)\n\
639 #define UINT32_MIN 0\n\
640 #define UINT64_MAX (~(uint64_t)0)\n\
641 #define UINT64_MIN 0\n\n\
642 #define UINTPTR_MAX (~(uintptr_t)0)\n\
643 #define UINTPTR_MIN 0\n\n\
644 /* Need to do int_fast16_t as well, as type\n\
645    size may be architecture dependent */\n\
646 #define UINT_FAST16_MAX (~(uint_fast16_t)0)\n\
647 #define UINT_FAST16_MAX 0\n\n\
648 #define INT8_MAX (UINT8_MAX>>1)\n\
649 #define INT8_MIN (INT8_MAX+1)\n\
650 #define INT16_MAX (UINT16_MAX>>1)\n\
651 #define INT16_MIN (INT16_MAX+1)\n\
652 #define INT32_MAX (UINT32_MAX>>1)\n\
653 #define INT32_MIN (INT32_MAX+1)\n\
654 #define INT64_MAX (UINT64_MAX>>1)\n\
655 #define INT64_MIN (INT64_MAX+1)\n\n\
656 #define INTPTR_MAX (UINTPTR_MAX>>1)\n\
657 #define INTPTR_MIN (INTPTR_MAX+1)\t\n\n\
658 #define INT_FAST16_MAX (UINT_FAST16_MAX>>1)\n\
659 #define INT_FAST16_MIN (INT_FAST16_MAX+1)\n\n\
660 /* now define equiv. constants */\n\
661 #define UINT_FAST8_MAX UINT8_MAX\n\
662 #define UINT_FAST8_MIN UINT_FAST8_MIN\n\
663 #define INT_FAST8_MAX INT8_MAX\n\
664 #define INT_FAST8_MIN INT8_MIN\n\
665 #define UINT_FAST32_MAX UINT32_MAX\n\
666 #define UINT_FAST32_MIN UINT32_MIN\n\
667 #define INT_FAST32_MAX INT32_MAX\n\
668 #define INT_FAST32_MIN INT32_MIN\n\
669 #define UINT_FAST64_MAX UINT64_MAX\n\
670 #define UINT_FAST64_MIN UINT64_MIN\n\
671 #define INT_FAST64_MAX INT64_MAX\n\
672 #define INT_FAST64_MIN INT64_MIN\n\n\
673 #define UINT_LEAST8_MAX UINT8_MAX\n\
674 #define UINT_LEAST8_MIN UINT8_MIN\n\
675 #define INT_LEAST8_MAX INT8_MAX\n\
676 #define INT_LEAST8_MIN INT8_MIN\n\
677 #define UINT_LEAST16_MAX UINT16_MAX\n\
678 #define UINT_LEAST16_MIN UINT16_MIN\n\
679 #define INT_LEAST16_MAX INT16_MAX\n\
680 #define INT_LEAST16_MIN INT16_MIN\n\
681 #define UINT_LEAST32_MAX UINT32_MAX\n\
682 #define UINT_LEAST32_MIN UINT32_MIN\n\
683 #define INT_LEAST32_MAX INT32_MAX\n\
684 #define INT_LEAST32_MIN INT32_MIN\n\
685 #define UINT_LEAST64_MAX UINT64_MAX\n\
686 #define UINT_LEAST64_MIN UINT64_MIN\n\
687 #define INT_LEAST64_MAX INT64_MAX\n\
688 #define INT_LEAST64_MIN INT64_MIN\n\n\
689 #define UINTMAX_MAX UINT64_MAX\n\
690 #define UINTMAX_MIN UINT64_MIN\n\
691 #define INTMAX_MAX INT64_MAX\n\
692 #define INTMAX_MIN INT64_MIN\n\n\
693 #endif",
694     (char*)NULL };
696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
698  *  Description of Aab_Vxworks_Unistd fix
699  */
700 tSCC zAab_Vxworks_UnistdName[] =
701      "AAB_vxworks_unistd";
704  *  File name selection pattern
705  */
706 tSCC zAab_Vxworks_UnistdList[] =
707   "unistd.h\0";
709  *  Machine/OS name selection pattern
710  */
711 tSCC* apzAab_Vxworks_UnistdMachs[] = {
712         "*-*-vxworks*",
713         (const char*)NULL };
714 #define AAB_VXWORKS_UNISTD_TEST_CT  0
715 #define aAab_Vxworks_UnistdTests   (tTestDesc*)NULL
718  *  Fix Command Arguments for Aab_Vxworks_Unistd
719  */
720 static const char* apzAab_Vxworks_UnistdPatch[] = {
721 "#ifndef _UNISTD_H\n\
722 #define _UNISTD_H\n\
723 #include_next <unistd.h>\n\
724 #include <ioLib.h>\n\
725 #ifndef STDIN_FILENO\n\
726 #define STDIN_FILENO 0\n\
727 #endif\n\
728 #ifndef STDOUT_FILENO\n\
729 #define STDOUT_FILENO 1\n\
730 #endif\n\
731 #ifndef STDERR_FILENO\n\
732 #define STDERR_FILENO 2\n\
733 #endif\n\
734 #endif /* _UNISTD_H */",
735     (char*)NULL };
737 /* * * * * * * * * * * * * * * * * * * * * * * * * *
739  *  Description of Aix_Assert fix
740  */
741 tSCC zAix_AssertName[] =
742      "aix_assert";
745  *  File name selection pattern
746  */
747 tSCC zAix_AssertList[] =
748   "assert.h\0";
750  *  Machine/OS name selection pattern
751  */
752 tSCC* apzAix_AssertMachs[] = {
753         "*-*-aix*",
754         (const char*)NULL };
757  *  content selection pattern - do fix if pattern found
758  */
759 tSCC zAix_AssertSelect0[] =
760        "#define[ \t]static_assert[ \t]_Static_assert";
762 #define    AIX_ASSERT_TEST_CT  1
763 static tTestDesc aAix_AssertTests[] = {
764   { TT_EGREP,    zAix_AssertSelect0, (regex_t*)NULL }, };
767  *  Fix Command Arguments for Aix_Assert
768  */
769 static const char* apzAix_AssertPatch[] = {
770     "format",
771     "#ifndef __cplusplus\n\
772 %0\n\
773 #endif",
774     (char*)NULL };
776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
778  *  Description of Aix_Complex fix
779  */
780 tSCC zAix_ComplexName[] =
781      "aix_complex";
784  *  File name selection pattern
785  */
786 tSCC zAix_ComplexList[] =
787   "complex.h\0";
789  *  Machine/OS name selection pattern
790  */
791 tSCC* apzAix_ComplexMachs[] = {
792         "*-*-aix*",
793         (const char*)NULL };
796  *  content selection pattern - do fix if pattern found
797  */
798 tSCC zAix_ComplexSelect0[] =
799        "#define[ \t]_Complex_I[ \t]__I";
801 #define    AIX_COMPLEX_TEST_CT  1
802 static tTestDesc aAix_ComplexTests[] = {
803   { TT_EGREP,    zAix_ComplexSelect0, (regex_t*)NULL }, };
806  *  Fix Command Arguments for Aix_Complex
807  */
808 static const char* apzAix_ComplexPatch[] = {
809     "format",
810     "#define _Complex_I (__extension__ 1.0iF)",
811     (char*)NULL };
813 /* * * * * * * * * * * * * * * * * * * * * * * * * *
815  *  Description of Aix_Externc fix
816  */
817 tSCC zAix_ExterncName[] =
818      "aix_externc";
821  *  File name selection pattern
822  */
823 tSCC zAix_ExterncList[] =
824   "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
826  *  Machine/OS name selection pattern
827  */
828 tSCC* apzAix_ExterncMachs[] = {
829         "*-*-aix*",
830         (const char*)NULL };
833  *  content bypass pattern - skip fix if pattern found
834  */
835 tSCC zAix_ExterncBypass0[] =
836        "extern \"C\"";
838 #define    AIX_EXTERNC_TEST_CT  1
839 static tTestDesc aAix_ExterncTests[] = {
840   { TT_NEGREP,   zAix_ExterncBypass0, (regex_t*)NULL }, };
843  *  Fix Command Arguments for Aix_Externc
844  */
845 static const char* apzAix_ExterncPatch[] = {
846     "wrap",
847     "#ifdef __cplusplus\n\
848 extern \"C\" {\n\
849 #endif\n",
850     "#ifdef __cplusplus\n\
851 }\n\
852 #endif\n",
853     (char*)NULL };
855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
857  *  Description of Aix_Externcpp1 fix
858  */
859 tSCC zAix_Externcpp1Name[] =
860      "aix_externcpp1";
863  *  File name selection pattern
864  */
865 tSCC zAix_Externcpp1List[] =
866   "sys/socket.h\0";
868  *  Machine/OS name selection pattern
869  */
870 tSCC* apzAix_Externcpp1Machs[] = {
871         "*-*-aix*",
872         (const char*)NULL };
875  *  content selection pattern - do fix if pattern found
876  */
877 tSCC zAix_Externcpp1Select0[] =
878        "#ifdef __cplusplus";
880 #define    AIX_EXTERNCPP1_TEST_CT  1
881 static tTestDesc aAix_Externcpp1Tests[] = {
882   { TT_EGREP,    zAix_Externcpp1Select0, (regex_t*)NULL }, };
885  *  Fix Command Arguments for Aix_Externcpp1
886  */
887 static const char* apzAix_Externcpp1Patch[] = {
888     "format",
889     "#ifdef __cplusplus\n\
890 extern \"C++\" {",
891     (char*)NULL };
893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
895  *  Description of Aix_Externcpp2 fix
896  */
897 tSCC zAix_Externcpp2Name[] =
898      "aix_externcpp2";
901  *  File name selection pattern
902  */
903 tSCC zAix_Externcpp2List[] =
904   "sys/socket.h\0";
906  *  Machine/OS name selection pattern
907  */
908 tSCC* apzAix_Externcpp2Machs[] = {
909         "*-*-aix*",
910         (const char*)NULL };
913  *  content selection pattern - do fix if pattern found
914  */
915 tSCC zAix_Externcpp2Select0[] =
916        "#else  /\\* __cplusplus \\*/";
918 #define    AIX_EXTERNCPP2_TEST_CT  1
919 static tTestDesc aAix_Externcpp2Tests[] = {
920   { TT_EGREP,    zAix_Externcpp2Select0, (regex_t*)NULL }, };
923  *  Fix Command Arguments for Aix_Externcpp2
924  */
925 static const char* apzAix_Externcpp2Patch[] = {
926     "format",
927     "} /* extern \"C++\" */\n\
928 #else  /* __cplusplus */",
929     (char*)NULL };
931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
933  *  Description of Aix_Malloc fix
934  */
935 tSCC zAix_MallocName[] =
936      "aix_malloc";
939  *  File name selection pattern
940  */
941 tSCC zAix_MallocList[] =
942   "malloc.h\0";
944  *  Machine/OS name selection pattern
945  */
946 tSCC* apzAix_MallocMachs[] = {
947         "*-*-aix*",
948         (const char*)NULL };
951  *  content selection pattern - do fix if pattern found
952  */
953 tSCC zAix_MallocSelect0[] =
954        "#ifdef __cplusplus";
956 #define    AIX_MALLOC_TEST_CT  1
957 static tTestDesc aAix_MallocTests[] = {
958   { TT_EGREP,    zAix_MallocSelect0, (regex_t*)NULL }, };
961  *  Fix Command Arguments for Aix_Malloc
962  */
963 static const char* apzAix_MallocPatch[] = {
964     "format",
965     "#if (defined(__cplusplus) && defined(__IBMCPP__))",
966     (char*)NULL };
968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
970  *  Description of Aix_Net_If_Arp fix
971  */
972 tSCC zAix_Net_If_ArpName[] =
973      "aix_net_if_arp";
976  *  File name selection pattern
977  */
978 tSCC zAix_Net_If_ArpList[] =
979   "net/if_arp.h\0";
981  *  Machine/OS name selection pattern
982  */
983 tSCC* apzAix_Net_If_ArpMachs[] = {
984         "*-*-aix*",
985         (const char*)NULL };
988  *  content selection pattern - do fix if pattern found
989  */
990 tSCC zAix_Net_If_ArpSelect0[] =
991        "^struct  fc_softc \\{";
993 #define    AIX_NET_IF_ARP_TEST_CT  1
994 static tTestDesc aAix_Net_If_ArpTests[] = {
995   { TT_EGREP,    zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
998  *  Fix Command Arguments for Aix_Net_If_Arp
999  */
1000 static const char* apzAix_Net_If_ArpPatch[] = {
1001     "format",
1002     "typedef struct _fc_softc {",
1003     (char*)NULL };
1005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1007  *  Description of Aix_Null fix
1008  */
1009 tSCC zAix_NullName[] =
1010      "aix_null";
1013  *  File name selection pattern
1014  */
1015 tSCC zAix_NullList[] =
1016   "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";
1018  *  Machine/OS name selection pattern
1019  */
1020 tSCC* apzAix_NullMachs[] = {
1021         "*-*-aix*",
1022         (const char*)NULL };
1025  *  content selection pattern - do fix if pattern found
1026  */
1027 tSCC zAix_NullSelect0[] =
1028        "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
1031  *  content bypass pattern - skip fix if pattern found
1032  */
1033 tSCC zAix_NullBypass0[] =
1034        "__null";
1036 #define    AIX_NULL_TEST_CT  2
1037 static tTestDesc aAix_NullTests[] = {
1038   { TT_NEGREP,   zAix_NullBypass0, (regex_t*)NULL },
1039   { TT_EGREP,    zAix_NullSelect0, (regex_t*)NULL }, };
1042  *  Fix Command Arguments for Aix_Null
1043  */
1044 static const char* apzAix_NullPatch[] = {
1045     "format",
1046     "#ifndef NULL\n\
1047 #ifdef __cplusplus\n\
1048 #ifdef __GNUG__\n\
1049 #define NULL __null\n\
1050 #else /* ! __GNUG__  */\n\
1051 #define NULL 0L\n\
1052 #endif /* __GNUG__  */\n\
1053 #else /* ! __cplusplus  */\n\
1054 #define NULL ((void *)0)\n\
1055 #endif /* __cplusplus  */\n\
1056 #endif /* !NULL  */",
1057     (char*)NULL };
1059 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1061  *  Description of Aix_Once_Init_1 fix
1062  */
1063 tSCC zAix_Once_Init_1Name[] =
1064      "aix_once_init_1";
1067  *  File name selection pattern
1068  */
1069 tSCC zAix_Once_Init_1List[] =
1070   "pthread.h\0";
1072  *  Machine/OS name selection pattern
1073  */
1074 tSCC* apzAix_Once_Init_1Machs[] = {
1075         "*-*-aix*",
1076         (const char*)NULL };
1079  *  content selection pattern - do fix if pattern found
1080  */
1081 tSCC zAix_Once_Init_1Select0[] =
1082        "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1083 \\{ \\\\\n";
1085 #define    AIX_ONCE_INIT_1_TEST_CT  1
1086 static tTestDesc aAix_Once_Init_1Tests[] = {
1087   { TT_EGREP,    zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1090  *  Fix Command Arguments for Aix_Once_Init_1
1091  */
1092 static const char* apzAix_Once_Init_1Patch[] = {
1093     "format",
1094     "#define PTHREAD_ONCE_INIT \\\n\
1095 {{ \\\n",
1096     (char*)NULL };
1098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1100  *  Description of Aix_Once_Init_2 fix
1101  */
1102 tSCC zAix_Once_Init_2Name[] =
1103      "aix_once_init_2";
1106  *  File name selection pattern
1107  */
1108 tSCC zAix_Once_Init_2List[] =
1109   "pthread.h\0";
1111  *  Machine/OS name selection pattern
1112  */
1113 tSCC* apzAix_Once_Init_2Machs[] = {
1114         "*-*-aix*",
1115         (const char*)NULL };
1118  *  content selection pattern - do fix if pattern found
1119  */
1120 tSCC zAix_Once_Init_2Select0[] =
1121        "[ \t]0 \\\\\n\
1122 \\}\n";
1124 #define    AIX_ONCE_INIT_2_TEST_CT  1
1125 static tTestDesc aAix_Once_Init_2Tests[] = {
1126   { TT_EGREP,    zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1129  *  Fix Command Arguments for Aix_Once_Init_2
1130  */
1131 static const char* apzAix_Once_Init_2Patch[] = {
1132     "format",
1133     "\t0 \\\n\
1134 }}\n",
1135     (char*)NULL };
1137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1139  *  Description of Aix_Mutex_Initializer_1 fix
1140  */
1141 tSCC zAix_Mutex_Initializer_1Name[] =
1142      "aix_mutex_initializer_1";
1145  *  File name selection pattern
1146  */
1147 tSCC zAix_Mutex_Initializer_1List[] =
1148   "pthread.h\0";
1150  *  Machine/OS name selection pattern
1151  */
1152 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1153         "*-*-aix*",
1154         (const char*)NULL };
1157  *  content selection pattern - do fix if pattern found
1158  */
1159 tSCC zAix_Mutex_Initializer_1Select0[] =
1160        "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1161 \\{ \\\\\n";
1163 #define    AIX_MUTEX_INITIALIZER_1_TEST_CT  1
1164 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1165   { TT_EGREP,    zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1168  *  Fix Command Arguments for Aix_Mutex_Initializer_1
1169  */
1170 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1171     "format",
1172     "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1173 {{ \\\n",
1174     (char*)NULL };
1176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1178  *  Description of Aix_Cond_Initializer_1 fix
1179  */
1180 tSCC zAix_Cond_Initializer_1Name[] =
1181      "aix_cond_initializer_1";
1184  *  File name selection pattern
1185  */
1186 tSCC zAix_Cond_Initializer_1List[] =
1187   "pthread.h\0";
1189  *  Machine/OS name selection pattern
1190  */
1191 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1192         "*-*-aix*",
1193         (const char*)NULL };
1196  *  content selection pattern - do fix if pattern found
1197  */
1198 tSCC zAix_Cond_Initializer_1Select0[] =
1199        "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1200 \\{ \\\\\n";
1202 #define    AIX_COND_INITIALIZER_1_TEST_CT  1
1203 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1204   { TT_EGREP,    zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1207  *  Fix Command Arguments for Aix_Cond_Initializer_1
1208  */
1209 static const char* apzAix_Cond_Initializer_1Patch[] = {
1210     "format",
1211     "#define PTHREAD_COND_INITIALIZER \\\n\
1212 {{ \\\n",
1213     (char*)NULL };
1215 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1217  *  Description of Aix_Rwlock_Initializer_1 fix
1218  */
1219 tSCC zAix_Rwlock_Initializer_1Name[] =
1220      "aix_rwlock_initializer_1";
1223  *  File name selection pattern
1224  */
1225 tSCC zAix_Rwlock_Initializer_1List[] =
1226   "pthread.h\0";
1228  *  Machine/OS name selection pattern
1229  */
1230 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1231         "*-*-aix*",
1232         (const char*)NULL };
1235  *  content selection pattern - do fix if pattern found
1236  */
1237 tSCC zAix_Rwlock_Initializer_1Select0[] =
1238        "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1239 \\{ \\\\\n";
1241 #define    AIX_RWLOCK_INITIALIZER_1_TEST_CT  1
1242 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1243   { TT_EGREP,    zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1246  *  Fix Command Arguments for Aix_Rwlock_Initializer_1
1247  */
1248 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1249     "format",
1250     "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1251 {{ \\\n",
1252     (char*)NULL };
1254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1256  *  Description of Aix_Pthread fix
1257  */
1258 tSCC zAix_PthreadName[] =
1259      "aix_pthread";
1262  *  File name selection pattern
1263  */
1264 tSCC zAix_PthreadList[] =
1265   "pthread.h\0";
1267  *  Machine/OS name selection pattern
1268  */
1269 #define apzAix_PthreadMachs (const char**)NULL
1272  *  content selection pattern - do fix if pattern found
1273  */
1274 tSCC zAix_PthreadSelect0[] =
1275        "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1276 [^A-Za-z_0-9 \t\n\
1277 (])";
1279 #define    AIX_PTHREAD_TEST_CT  1
1280 static tTestDesc aAix_PthreadTests[] = {
1281   { TT_EGREP,    zAix_PthreadSelect0, (regex_t*)NULL }, };
1284  *  Fix Command Arguments for Aix_Pthread
1285  */
1286 static const char* apzAix_PthreadPatch[] = {
1287     "format",
1288     "%1 %2",
1289     (char*)NULL };
1291 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1293  *  Description of Aix_Stdint_1 fix
1294  */
1295 tSCC zAix_Stdint_1Name[] =
1296      "aix_stdint_1";
1299  *  File name selection pattern
1300  */
1301 tSCC zAix_Stdint_1List[] =
1302   "stdint-aix.h\0stdint.h\0";
1304  *  Machine/OS name selection pattern
1305  */
1306 tSCC* apzAix_Stdint_1Machs[] = {
1307         "*-*-aix*",
1308         (const char*)NULL };
1311  *  content selection pattern - do fix if pattern found
1312  */
1313 tSCC zAix_Stdint_1Select0[] =
1314        "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1315 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1317 #define    AIX_STDINT_1_TEST_CT  1
1318 static tTestDesc aAix_Stdint_1Tests[] = {
1319   { TT_EGREP,    zAix_Stdint_1Select0, (regex_t*)NULL }, };
1322  *  Fix Command Arguments for Aix_Stdint_1
1323  */
1324 static const char* apzAix_Stdint_1Patch[] = {
1325     "format",
1326     "#define UINT8_MAX\t(255)\n\
1327 #define UINT16_MAX\t(65535)",
1328     (char*)NULL };
1330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1332  *  Description of Aix_Stdint_2 fix
1333  */
1334 tSCC zAix_Stdint_2Name[] =
1335      "aix_stdint_2";
1338  *  File name selection pattern
1339  */
1340 tSCC zAix_Stdint_2List[] =
1341   "stdint-aix.h\0stdint.h\0";
1343  *  Machine/OS name selection pattern
1344  */
1345 tSCC* apzAix_Stdint_2Machs[] = {
1346         "*-*-aix*",
1347         (const char*)NULL };
1350  *  content selection pattern - do fix if pattern found
1351  */
1352 tSCC zAix_Stdint_2Select0[] =
1353        "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1354 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1355 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1356 #else\n\
1357 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1358 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1359 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1361 #define    AIX_STDINT_2_TEST_CT  1
1362 static tTestDesc aAix_Stdint_2Tests[] = {
1363   { TT_EGREP,    zAix_Stdint_2Select0, (regex_t*)NULL }, };
1366  *  Fix Command Arguments for Aix_Stdint_2
1367  */
1368 static const char* apzAix_Stdint_2Patch[] = {
1369     "format",
1370     "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1371 #define INTPTR_MAX\t9223372036854775807L\n\
1372 #define UINTPTR_MAX\t18446744073709551615UL\n\
1373 #else\n\
1374 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1375 #define INTPTR_MAX\t2147483647L\n\
1376 #define UINTPTR_MAX\t4294967295UL",
1377     (char*)NULL };
1379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1381  *  Description of Aix_Stdint_3 fix
1382  */
1383 tSCC zAix_Stdint_3Name[] =
1384      "aix_stdint_3";
1387  *  File name selection pattern
1388  */
1389 tSCC zAix_Stdint_3List[] =
1390   "stdint-aix.h\0stdint.h\0";
1392  *  Machine/OS name selection pattern
1393  */
1394 tSCC* apzAix_Stdint_3Machs[] = {
1395         "*-*-aix*",
1396         (const char*)NULL };
1399  *  content selection pattern - do fix if pattern found
1400  */
1401 tSCC zAix_Stdint_3Select0[] =
1402        "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1403 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1404 #else\n\
1405 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1406 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1408 #define    AIX_STDINT_3_TEST_CT  1
1409 static tTestDesc aAix_Stdint_3Tests[] = {
1410   { TT_EGREP,    zAix_Stdint_3Select0, (regex_t*)NULL }, };
1413  *  Fix Command Arguments for Aix_Stdint_3
1414  */
1415 static const char* apzAix_Stdint_3Patch[] = {
1416     "format",
1417     "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1418 #define PTRDIFF_MAX\t9223372036854775807L\n\
1419 #else\n\
1420 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1421 #define PTRDIFF_MAX\t2147483647L",
1422     (char*)NULL };
1424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1426  *  Description of Aix_Stdint_4 fix
1427  */
1428 tSCC zAix_Stdint_4Name[] =
1429      "aix_stdint_4";
1432  *  File name selection pattern
1433  */
1434 tSCC zAix_Stdint_4List[] =
1435   "stdint-aix.h\0stdint.h\0";
1437  *  Machine/OS name selection pattern
1438  */
1439 tSCC* apzAix_Stdint_4Machs[] = {
1440         "*-*-aix*",
1441         (const char*)NULL };
1444  *  content selection pattern - do fix if pattern found
1445  */
1446 tSCC zAix_Stdint_4Select0[] =
1447        "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1448 #else\n\
1449 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1451 #define    AIX_STDINT_4_TEST_CT  1
1452 static tTestDesc aAix_Stdint_4Tests[] = {
1453   { TT_EGREP,    zAix_Stdint_4Select0, (regex_t*)NULL }, };
1456  *  Fix Command Arguments for Aix_Stdint_4
1457  */
1458 static const char* apzAix_Stdint_4Patch[] = {
1459     "format",
1460     "#define SIZE_MAX\t18446744073709551615UL\n\
1461 #else\n\
1462 #define SIZE_MAX\t4294967295UL",
1463     (char*)NULL };
1465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1467  *  Description of Aix_Stdint_5 fix
1468  */
1469 tSCC zAix_Stdint_5Name[] =
1470      "aix_stdint_5";
1473  *  File name selection pattern
1474  */
1475 tSCC zAix_Stdint_5List[] =
1476   "stdint-aix.h\0stdint.h\0";
1478  *  Machine/OS name selection pattern
1479  */
1480 tSCC* apzAix_Stdint_5Machs[] = {
1481         "*-*-aix*",
1482         (const char*)NULL };
1485  *  content selection pattern - do fix if pattern found
1486  */
1487 tSCC zAix_Stdint_5Select0[] =
1488        "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1489 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1491 #define    AIX_STDINT_5_TEST_CT  1
1492 static tTestDesc aAix_Stdint_5Tests[] = {
1493   { TT_EGREP,    zAix_Stdint_5Select0, (regex_t*)NULL }, };
1496  *  Fix Command Arguments for Aix_Stdint_5
1497  */
1498 static const char* apzAix_Stdint_5Patch[] = {
1499     "format",
1500     "#define UINT8_C(c)\tc\n\
1501 #define UINT16_C(c)\tc",
1502     (char*)NULL };
1504 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1506  *  Description of Aix_Stdio_Inline fix
1507  */
1508 tSCC zAix_Stdio_InlineName[] =
1509      "aix_stdio_inline";
1512  *  File name selection pattern
1513  */
1514 tSCC zAix_Stdio_InlineList[] =
1515   "stdio.h\0";
1517  *  Machine/OS name selection pattern
1518  */
1519 tSCC* apzAix_Stdio_InlineMachs[] = {
1520         "*-*-aix*",
1521         (const char*)NULL };
1524  *  content selection pattern - do fix if pattern found
1525  */
1526 tSCC zAix_Stdio_InlineSelect0[] =
1527        "#ifdef __cplusplus\\\n\
1528 }\\\n\
1529 \\\n\
1530 #ifdef ferror\\\n";
1532 #define    AIX_STDIO_INLINE_TEST_CT  1
1533 static tTestDesc aAix_Stdio_InlineTests[] = {
1534   { TT_EGREP,    zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1537  *  Fix Command Arguments for Aix_Stdio_Inline
1538  */
1539 static const char* apzAix_Stdio_InlinePatch[] = {
1540     "format",
1541     "#ifdef __cplusplus\n\
1542 }\n\
1543 #endif\n\n\
1544 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1545 #ifdef ferror\n",
1546     (char*)NULL };
1548 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1550  *  Description of Aix_Stdlib_Malloc fix
1551  */
1552 tSCC zAix_Stdlib_MallocName[] =
1553      "aix_stdlib_malloc";
1556  *  File name selection pattern
1557  */
1558 tSCC zAix_Stdlib_MallocList[] =
1559   "stdlib.h\0";
1561  *  Machine/OS name selection pattern
1562  */
1563 tSCC* apzAix_Stdlib_MallocMachs[] = {
1564         "*-*-aix*",
1565         (const char*)NULL };
1568  *  content selection pattern - do fix if pattern found
1569  */
1570 tSCC zAix_Stdlib_MallocSelect0[] =
1571        "#define[ \t]+malloc[ \t]+__linux_malloc";
1573 #define    AIX_STDLIB_MALLOC_TEST_CT  1
1574 static tTestDesc aAix_Stdlib_MallocTests[] = {
1575   { TT_EGREP,    zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1578  *  Fix Command Arguments for Aix_Stdlib_Malloc
1579  */
1580 static const char* apzAix_Stdlib_MallocPatch[] = {
1581     "format",
1582     "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1583     (char*)NULL };
1585 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1587  *  Description of Aix_Stdlib_Realloc fix
1588  */
1589 tSCC zAix_Stdlib_ReallocName[] =
1590      "aix_stdlib_realloc";
1593  *  File name selection pattern
1594  */
1595 tSCC zAix_Stdlib_ReallocList[] =
1596   "stdlib.h\0";
1598  *  Machine/OS name selection pattern
1599  */
1600 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1601         "*-*-aix*",
1602         (const char*)NULL };
1605  *  content selection pattern - do fix if pattern found
1606  */
1607 tSCC zAix_Stdlib_ReallocSelect0[] =
1608        "#define[ \t]+realloc[ \t]+__linux_realloc";
1610 #define    AIX_STDLIB_REALLOC_TEST_CT  1
1611 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1612   { TT_EGREP,    zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1615  *  Fix Command Arguments for Aix_Stdlib_Realloc
1616  */
1617 static const char* apzAix_Stdlib_ReallocPatch[] = {
1618     "format",
1619     "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1620     (char*)NULL };
1622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1624  *  Description of Aix_Stdlib_Calloc fix
1625  */
1626 tSCC zAix_Stdlib_CallocName[] =
1627      "aix_stdlib_calloc";
1630  *  File name selection pattern
1631  */
1632 tSCC zAix_Stdlib_CallocList[] =
1633   "stdlib.h\0";
1635  *  Machine/OS name selection pattern
1636  */
1637 tSCC* apzAix_Stdlib_CallocMachs[] = {
1638         "*-*-aix*",
1639         (const char*)NULL };
1642  *  content selection pattern - do fix if pattern found
1643  */
1644 tSCC zAix_Stdlib_CallocSelect0[] =
1645        "#define[ \t]+calloc[ \t]+__linux_calloc";
1647 #define    AIX_STDLIB_CALLOC_TEST_CT  1
1648 static tTestDesc aAix_Stdlib_CallocTests[] = {
1649   { TT_EGREP,    zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1652  *  Fix Command Arguments for Aix_Stdlib_Calloc
1653  */
1654 static const char* apzAix_Stdlib_CallocPatch[] = {
1655     "format",
1656     "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1657     (char*)NULL };
1659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1661  *  Description of Aix_Stdlib_Valloc fix
1662  */
1663 tSCC zAix_Stdlib_VallocName[] =
1664      "aix_stdlib_valloc";
1667  *  File name selection pattern
1668  */
1669 tSCC zAix_Stdlib_VallocList[] =
1670   "stdlib.h\0";
1672  *  Machine/OS name selection pattern
1673  */
1674 tSCC* apzAix_Stdlib_VallocMachs[] = {
1675         "*-*-aix*",
1676         (const char*)NULL };
1679  *  content selection pattern - do fix if pattern found
1680  */
1681 tSCC zAix_Stdlib_VallocSelect0[] =
1682        "#define[ \t]+valloc[ \t]+__linux_valloc";
1684 #define    AIX_STDLIB_VALLOC_TEST_CT  1
1685 static tTestDesc aAix_Stdlib_VallocTests[] = {
1686   { TT_EGREP,    zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1689  *  Fix Command Arguments for Aix_Stdlib_Valloc
1690  */
1691 static const char* apzAix_Stdlib_VallocPatch[] = {
1692     "format",
1693     "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1694     (char*)NULL };
1696 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1698  *  Description of Aix_Strtof_Const fix
1699  */
1700 tSCC zAix_Strtof_ConstName[] =
1701      "aix_strtof_const";
1704  *  File name selection pattern
1705  */
1706 tSCC zAix_Strtof_ConstList[] =
1707   "stdlib.h\0";
1709  *  Machine/OS name selection pattern
1710  */
1711 tSCC* apzAix_Strtof_ConstMachs[] = {
1712         "*-*-aix*",
1713         (const char*)NULL };
1716  *  content selection pattern - do fix if pattern found
1717  */
1718 tSCC zAix_Strtof_ConstSelect0[] =
1719        "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1721 #define    AIX_STRTOF_CONST_TEST_CT  1
1722 static tTestDesc aAix_Strtof_ConstTests[] = {
1723   { TT_EGREP,    zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1726  *  Fix Command Arguments for Aix_Strtof_Const
1727  */
1728 static const char* apzAix_Strtof_ConstPatch[] = {
1729     "format",
1730     "%1(const char *, char **);",
1731     (char*)NULL };
1733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1735  *  Description of Aix_Sysmachine fix
1736  */
1737 tSCC zAix_SysmachineName[] =
1738      "aix_sysmachine";
1741  *  File name selection pattern
1742  */
1743 tSCC zAix_SysmachineList[] =
1744   "sys/machine.h\0";
1746  *  Machine/OS name selection pattern
1747  */
1748 tSCC* apzAix_SysmachineMachs[] = {
1749         "*-*-aix*",
1750         (const char*)NULL };
1753  *  content selection pattern - do fix if pattern found
1754  */
1755 tSCC zAix_SysmachineSelect0[] =
1756        "\\\\ +\n";
1758 #define    AIX_SYSMACHINE_TEST_CT  1
1759 static tTestDesc aAix_SysmachineTests[] = {
1760   { TT_EGREP,    zAix_SysmachineSelect0, (regex_t*)NULL }, };
1763  *  Fix Command Arguments for Aix_Sysmachine
1764  */
1765 static const char* apzAix_SysmachinePatch[] = {
1766     "format",
1767     "\\\n",
1768     (char*)NULL };
1770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1772  *  Description of Aix_Syswait_2 fix
1773  */
1774 tSCC zAix_Syswait_2Name[] =
1775      "aix_syswait_2";
1778  *  File name selection pattern
1779  */
1780 tSCC zAix_Syswait_2List[] =
1781   "sys/wait.h\0";
1783  *  Machine/OS name selection pattern
1784  */
1785 tSCC* apzAix_Syswait_2Machs[] = {
1786         "*-*-aix*",
1787         (const char*)NULL };
1790  *  content selection pattern - do fix if pattern found
1791  */
1792 tSCC zAix_Syswait_2Select0[] =
1793        "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1795 #define    AIX_SYSWAIT_2_TEST_CT  1
1796 static tTestDesc aAix_Syswait_2Tests[] = {
1797   { TT_EGREP,    zAix_Syswait_2Select0, (regex_t*)NULL }, };
1800  *  Fix Command Arguments for Aix_Syswait_2
1801  */
1802 static const char* apzAix_Syswait_2Patch[] = {
1803     "format",
1804     "? (int)%1",
1805     (char*)NULL };
1807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1809  *  Description of Aix_Volatile fix
1810  */
1811 tSCC zAix_VolatileName[] =
1812      "aix_volatile";
1815  *  File name selection pattern
1816  */
1817 tSCC zAix_VolatileList[] =
1818   "sys/signal.h\0";
1820  *  Machine/OS name selection pattern
1821  */
1822 tSCC* apzAix_VolatileMachs[] = {
1823         "*-*-aix*",
1824         (const char*)NULL };
1827  *  content selection pattern - do fix if pattern found
1828  */
1829 tSCC zAix_VolatileSelect0[] =
1830        "typedef volatile int sig_atomic_t";
1832 #define    AIX_VOLATILE_TEST_CT  1
1833 static tTestDesc aAix_VolatileTests[] = {
1834   { TT_EGREP,    zAix_VolatileSelect0, (regex_t*)NULL }, };
1837  *  Fix Command Arguments for Aix_Volatile
1838  */
1839 static const char* apzAix_VolatilePatch[] = {
1840     "format",
1841     "typedef int sig_atomic_t",
1842     (char*)NULL };
1844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1846  *  Description of Alpha___Assert fix
1847  */
1848 tSCC zAlpha___AssertName[] =
1849      "alpha___assert";
1852  *  File name selection pattern
1853  */
1854 tSCC zAlpha___AssertList[] =
1855   "assert.h\0";
1857  *  Machine/OS name selection pattern
1858  */
1859 #define apzAlpha___AssertMachs (const char**)NULL
1862  *  content selection pattern - do fix if pattern found
1863  */
1864 tSCC zAlpha___AssertSelect0[] =
1865        "__assert\\(char \\*, char \\*, int\\)";
1867 #define    ALPHA___ASSERT_TEST_CT  1
1868 static tTestDesc aAlpha___AssertTests[] = {
1869   { TT_EGREP,    zAlpha___AssertSelect0, (regex_t*)NULL }, };
1872  *  Fix Command Arguments for Alpha___Assert
1873  */
1874 static const char* apzAlpha___AssertPatch[] = {
1875     "format",
1876     "__assert(const char *, const char *, int)",
1877     (char*)NULL };
1879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1881  *  Description of Alpha_Assert fix
1882  */
1883 tSCC zAlpha_AssertName[] =
1884      "alpha_assert";
1887  *  File name selection pattern
1888  */
1889 tSCC zAlpha_AssertList[] =
1890   "assert.h\0";
1892  *  Machine/OS name selection pattern
1893  */
1894 #define apzAlpha_AssertMachs (const char**)NULL
1897  *  content selection pattern - do fix if pattern found
1898  */
1899 tSCC zAlpha_AssertSelect0[] =
1900        "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
1902 #define    ALPHA_ASSERT_TEST_CT  1
1903 static tTestDesc aAlpha_AssertTests[] = {
1904   { TT_EGREP,    zAlpha_AssertSelect0, (regex_t*)NULL }, };
1907  *  Fix Command Arguments for Alpha_Assert
1908  */
1909 static const char* apzAlpha_AssertPatch[] = {
1910     "format",
1911     "%1(EX)",
1912     (char*)NULL };
1914 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1916  *  Description of Alpha_Getopt fix
1917  */
1918 tSCC zAlpha_GetoptName[] =
1919      "alpha_getopt";
1922  *  File name selection pattern
1923  */
1924 tSCC zAlpha_GetoptList[] =
1925   "stdio.h\0stdlib.h\0";
1927  *  Machine/OS name selection pattern
1928  */
1929 #define apzAlpha_GetoptMachs (const char**)NULL
1932  *  content selection pattern - do fix if pattern found
1933  */
1934 tSCC zAlpha_GetoptSelect0[] =
1935        "getopt\\(int, char \\*\\[\\], *char \\*\\)";
1937 #define    ALPHA_GETOPT_TEST_CT  1
1938 static tTestDesc aAlpha_GetoptTests[] = {
1939   { TT_EGREP,    zAlpha_GetoptSelect0, (regex_t*)NULL }, };
1942  *  Fix Command Arguments for Alpha_Getopt
1943  */
1944 static const char* apzAlpha_GetoptPatch[] = {
1945     "format",
1946     "getopt(int, char *const[], const char *)",
1947     (char*)NULL };
1949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1951  *  Description of Alpha_If_Semicolon fix
1952  */
1953 tSCC zAlpha_If_SemicolonName[] =
1954      "alpha_if_semicolon";
1957  *  File name selection pattern
1958  */
1959 tSCC zAlpha_If_SemicolonList[] =
1960   "net/if.h\0";
1962  *  Machine/OS name selection pattern
1963  */
1964 #define apzAlpha_If_SemicolonMachs (const char**)NULL
1967  *  content selection pattern - do fix if pattern found
1968  */
1969 tSCC zAlpha_If_SemicolonSelect0[] =
1970        "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
1972 #define    ALPHA_IF_SEMICOLON_TEST_CT  1
1973 static tTestDesc aAlpha_If_SemicolonTests[] = {
1974   { TT_EGREP,    zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
1977  *  Fix Command Arguments for Alpha_If_Semicolon
1978  */
1979 static const char* apzAlpha_If_SemicolonPatch[] = {
1980     "format",
1981     "struct sockaddr vmif_paddr;\t/*",
1982     (char*)NULL };
1984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1986  *  Description of Alpha_Parens fix
1987  */
1988 tSCC zAlpha_ParensName[] =
1989      "alpha_parens";
1992  *  File name selection pattern
1993  */
1994 tSCC zAlpha_ParensList[] =
1995   "sym.h\0";
1997  *  Machine/OS name selection pattern
1998  */
1999 #define apzAlpha_ParensMachs (const char**)NULL
2002  *  content selection pattern - do fix if pattern found
2003  */
2004 tSCC zAlpha_ParensSelect0[] =
2005        "#ifndef\\(__mips64\\)";
2007 #define    ALPHA_PARENS_TEST_CT  1
2008 static tTestDesc aAlpha_ParensTests[] = {
2009   { TT_EGREP,    zAlpha_ParensSelect0, (regex_t*)NULL }, };
2012  *  Fix Command Arguments for Alpha_Parens
2013  */
2014 static const char* apzAlpha_ParensPatch[] = {
2015     "format",
2016     "#ifndef __mips64",
2017     (char*)NULL };
2019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2021  *  Description of Alpha_Sbrk fix
2022  */
2023 tSCC zAlpha_SbrkName[] =
2024      "alpha_sbrk";
2027  *  File name selection pattern
2028  */
2029 tSCC zAlpha_SbrkList[] =
2030   "unistd.h\0";
2032  *  Machine/OS name selection pattern
2033  */
2034 #define apzAlpha_SbrkMachs (const char**)NULL
2037  *  content selection pattern - do fix if pattern found
2038  */
2039 tSCC zAlpha_SbrkSelect0[] =
2040        "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2042 #define    ALPHA_SBRK_TEST_CT  1
2043 static tTestDesc aAlpha_SbrkTests[] = {
2044   { TT_EGREP,    zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2047  *  Fix Command Arguments for Alpha_Sbrk
2048  */
2049 static const char* apzAlpha_SbrkPatch[] = {
2050     "format",
2051     "void *sbrk(",
2052     (char*)NULL };
2054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2056  *  Description of Avoid_Bool_Define fix
2057  */
2058 tSCC zAvoid_Bool_DefineName[] =
2059      "avoid_bool_define";
2062  *  File name selection pattern
2063  */
2064 tSCC zAvoid_Bool_DefineList[] =
2065   "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2067  *  Machine/OS name selection pattern
2068  */
2069 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2072  *  content selection pattern - do fix if pattern found
2073  */
2074 tSCC zAvoid_Bool_DefineSelect0[] =
2075        "#[ \t]*define[ \t]+bool[ \t]";
2078  *  content bypass pattern - skip fix if pattern found
2079  */
2080 tSCC zAvoid_Bool_DefineBypass0[] =
2081        "__cplusplus";
2083 #define    AVOID_BOOL_DEFINE_TEST_CT  2
2084 static tTestDesc aAvoid_Bool_DefineTests[] = {
2085   { TT_NEGREP,   zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2086   { TT_EGREP,    zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2089  *  Fix Command Arguments for Avoid_Bool_Define
2090  */
2091 static const char* apzAvoid_Bool_DefinePatch[] = {
2092     "format",
2093     "#ifndef __cplusplus\n\
2094 %0\n\
2095 #endif",
2096     "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2097     (char*)NULL };
2099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2101  *  Description of Avoid_Bool_Type fix
2102  */
2103 tSCC zAvoid_Bool_TypeName[] =
2104      "avoid_bool_type";
2107  *  File name selection pattern
2108  */
2109 tSCC zAvoid_Bool_TypeList[] =
2110   "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2112  *  Machine/OS name selection pattern
2113  */
2114 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2117  *  content selection pattern - do fix if pattern found
2118  */
2119 tSCC zAvoid_Bool_TypeSelect0[] =
2120        "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2123  *  content bypass pattern - skip fix if pattern found
2124  */
2125 tSCC zAvoid_Bool_TypeBypass0[] =
2126        "__cplusplus";
2128 #define    AVOID_BOOL_TYPE_TEST_CT  2
2129 static tTestDesc aAvoid_Bool_TypeTests[] = {
2130   { TT_NEGREP,   zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2131   { TT_EGREP,    zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2134  *  Fix Command Arguments for Avoid_Bool_Type
2135  */
2136 static const char* apzAvoid_Bool_TypePatch[] = {
2137     "format",
2138     "#ifndef __cplusplus\n\
2139 %0\n\
2140 #endif",
2141     (char*)NULL };
2143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2145  *  Description of Avoid_Wchar_T_Type fix
2146  */
2147 tSCC zAvoid_Wchar_T_TypeName[] =
2148      "avoid_wchar_t_type";
2151  *  File name selection pattern
2152  */
2153 #define zAvoid_Wchar_T_TypeList (char*)NULL
2155  *  Machine/OS name selection pattern
2156  */
2157 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2160  *  content selection pattern - do fix if pattern found
2161  */
2162 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2163        "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2166  *  content bypass pattern - skip fix if pattern found
2167  */
2168 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2169        "__cplusplus";
2170 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2171        "_LINUX_NLS_H";
2172 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2173        "XFree86: xc/lib/X11/Xlib\\.h";
2175 #define    AVOID_WCHAR_T_TYPE_TEST_CT  4
2176 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2177   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2178   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2179   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2180   { TT_EGREP,    zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2183  *  Fix Command Arguments for Avoid_Wchar_T_Type
2184  */
2185 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2186     "format",
2187     "#ifndef __cplusplus\n\
2188 %0\n\
2189 #endif",
2190     (char*)NULL };
2192 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2194  *  Description of Bad_Struct_Term fix
2195  */
2196 tSCC zBad_Struct_TermName[] =
2197      "bad_struct_term";
2200  *  File name selection pattern
2201  */
2202 tSCC zBad_Struct_TermList[] =
2203   "curses.h\0";
2205  *  Machine/OS name selection pattern
2206  */
2207 #define apzBad_Struct_TermMachs (const char**)NULL
2210  *  content selection pattern - do fix if pattern found
2211  */
2212 tSCC zBad_Struct_TermSelect0[] =
2213        "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2215 #define    BAD_STRUCT_TERM_TEST_CT  1
2216 static tTestDesc aBad_Struct_TermTests[] = {
2217   { TT_EGREP,    zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2220  *  Fix Command Arguments for Bad_Struct_Term
2221  */
2222 static const char* apzBad_Struct_TermPatch[] = {
2223     "format",
2224     "struct term;",
2225     (char*)NULL };
2227 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2229  *  Description of Badquote fix
2230  */
2231 tSCC zBadquoteName[] =
2232      "badquote";
2235  *  File name selection pattern
2236  */
2237 tSCC zBadquoteList[] =
2238   "sundev/vuid_event.h\0";
2240  *  Machine/OS name selection pattern
2241  */
2242 #define apzBadquoteMachs (const char**)NULL
2245  *  content selection pattern - do fix if pattern found
2246  */
2247 tSCC zBadquoteSelect0[] =
2248        "doesn't";
2250 #define    BADQUOTE_TEST_CT  1
2251 static tTestDesc aBadquoteTests[] = {
2252   { TT_EGREP,    zBadquoteSelect0, (regex_t*)NULL }, };
2255  *  Fix Command Arguments for Badquote
2256  */
2257 static const char* apzBadquotePatch[] = {
2258     "format",
2259     "does not",
2260     (char*)NULL };
2262 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2264  *  Description of Broken_Assert_Stdio fix
2265  */
2266 tSCC zBroken_Assert_StdioName[] =
2267      "broken_assert_stdio";
2270  *  File name selection pattern
2271  */
2272 tSCC zBroken_Assert_StdioList[] =
2273   "assert.h\0";
2275  *  Machine/OS name selection pattern
2276  */
2277 #define apzBroken_Assert_StdioMachs (const char**)NULL
2280  *  content selection pattern - do fix if pattern found
2281  */
2282 tSCC zBroken_Assert_StdioSelect0[] =
2283        "stderr";
2286  *  content bypass pattern - skip fix if pattern found
2287  */
2288 tSCC zBroken_Assert_StdioBypass0[] =
2289        "include.*stdio\\.h";
2291 #define    BROKEN_ASSERT_STDIO_TEST_CT  2
2292 static tTestDesc aBroken_Assert_StdioTests[] = {
2293   { TT_NEGREP,   zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2294   { TT_EGREP,    zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2297  *  Fix Command Arguments for Broken_Assert_Stdio
2298  */
2299 static const char* apzBroken_Assert_StdioPatch[] = {
2300     "wrap",
2301     "#include <stdio.h>\n",
2302     (char*)NULL };
2304 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2306  *  Description of Broken_Assert_Stdlib fix
2307  */
2308 tSCC zBroken_Assert_StdlibName[] =
2309      "broken_assert_stdlib";
2312  *  File name selection pattern
2313  */
2314 tSCC zBroken_Assert_StdlibList[] =
2315   "assert.h\0";
2317  *  Machine/OS name selection pattern
2318  */
2319 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2322  *  content selection pattern - do fix if pattern found
2323  */
2324 tSCC zBroken_Assert_StdlibSelect0[] =
2325        "exit *\\(|abort *\\(";
2328  *  content bypass pattern - skip fix if pattern found
2329  */
2330 tSCC zBroken_Assert_StdlibBypass0[] =
2331        "include.*stdlib\\.h";
2333 #define    BROKEN_ASSERT_STDLIB_TEST_CT  2
2334 static tTestDesc aBroken_Assert_StdlibTests[] = {
2335   { TT_NEGREP,   zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2336   { TT_EGREP,    zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2339  *  Fix Command Arguments for Broken_Assert_Stdlib
2340  */
2341 static const char* apzBroken_Assert_StdlibPatch[] = {
2342     "wrap",
2343     "#ifdef __cplusplus\n\
2344 #include <stdlib.h>\n\
2345 #endif\n",
2346     (char*)NULL };
2348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2350  *  Description of Broken_Cabs fix
2351  */
2352 tSCC zBroken_CabsName[] =
2353      "broken_cabs";
2356  *  File name selection pattern
2357  */
2358 tSCC zBroken_CabsList[] =
2359   "math.h\0architecture/*/math.h\0";
2361  *  Machine/OS name selection pattern
2362  */
2363 #define apzBroken_CabsMachs (const char**)NULL
2366  *  content selection pattern - do fix if pattern found
2367  */
2368 tSCC zBroken_CabsSelect0[] =
2369        "^extern[ \t]+double[ \t]+cabs";
2371 #define    BROKEN_CABS_TEST_CT  1
2372 static tTestDesc aBroken_CabsTests[] = {
2373   { TT_EGREP,    zBroken_CabsSelect0, (regex_t*)NULL }, };
2376  *  Fix Command Arguments for Broken_Cabs
2377  */
2378 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2379     "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2380     "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2381     (char*)NULL };
2383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2385  *  Description of Broken_Nan fix
2386  */
2387 tSCC zBroken_NanName[] =
2388      "broken_nan";
2391  *  File name selection pattern
2392  */
2393 tSCC zBroken_NanList[] =
2394   "architecture/ppc/math.h\0architecture/*/math.h\0";
2396  *  Machine/OS name selection pattern
2397  */
2398 #define apzBroken_NanMachs (const char**)NULL
2401  *  content selection pattern - do fix if pattern found
2402  */
2403 tSCC zBroken_NanSelect0[] =
2404        "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2407  *  content bypass pattern - skip fix if pattern found
2408  */
2409 tSCC zBroken_NanBypass0[] =
2410        "powl";
2412 #define    BROKEN_NAN_TEST_CT  2
2413 static tTestDesc aBroken_NanTests[] = {
2414   { TT_NEGREP,   zBroken_NanBypass0, (regex_t*)NULL },
2415   { TT_EGREP,    zBroken_NanSelect0, (regex_t*)NULL }, };
2418  *  Fix Command Arguments for Broken_Nan
2419  */
2420 static const char* apzBroken_NanPatch[] = {
2421     "format",
2422     "#if 1",
2423     (char*)NULL };
2425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2427  *  Description of Bsd_Stdio_Attrs_Conflict fix
2428  */
2429 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2430      "bsd_stdio_attrs_conflict";
2433  *  File name selection pattern
2434  */
2435 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2436   "stdio.h\0";
2438  *  Machine/OS name selection pattern
2439  */
2440 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2441         "*-*-*bsd*",
2442         "*-*-*darwin*",
2443         (const char*)NULL };
2446  *  content selection pattern - do fix if pattern found
2447  */
2448 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2449        "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2451 #define    BSD_STDIO_ATTRS_CONFLICT_TEST_CT  1
2452 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2453   { TT_EGREP,    zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2456  *  Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2457  */
2458 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2459     "format",
2460     "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2461 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2462 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2463     (char*)NULL };
2465 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2467  *  Description of Ctrl_Quotes_Def fix
2468  */
2469 tSCC zCtrl_Quotes_DefName[] =
2470      "ctrl_quotes_def";
2473  *  File name selection pattern
2474  */
2475 #define zCtrl_Quotes_DefList (char*)NULL
2477  *  Machine/OS name selection pattern
2478  */
2479 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2482  *  content selection pattern - do fix if pattern found
2483  */
2484 tSCC zCtrl_Quotes_DefSelect0[] =
2485        "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2487 #define    CTRL_QUOTES_DEF_TEST_CT  1
2488 static tTestDesc aCtrl_Quotes_DefTests[] = {
2489   { TT_EGREP,    zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2492  *  Fix Command Arguments for Ctrl_Quotes_Def
2493  */
2494 static const char* apzCtrl_Quotes_DefPatch[] = {
2495     "char_macro_def",
2496     "CTRL",
2497     (char*)NULL };
2499 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2501  *  Description of Ctrl_Quotes_Use fix
2502  */
2503 tSCC zCtrl_Quotes_UseName[] =
2504      "ctrl_quotes_use";
2507  *  File name selection pattern
2508  */
2509 #define zCtrl_Quotes_UseList (char*)NULL
2511  *  Machine/OS name selection pattern
2512  */
2513 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2516  *  content selection pattern - do fix if pattern found
2517  */
2518 tSCC zCtrl_Quotes_UseSelect0[] =
2519        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2521 #define    CTRL_QUOTES_USE_TEST_CT  1
2522 static tTestDesc aCtrl_Quotes_UseTests[] = {
2523   { TT_EGREP,    zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2526  *  Fix Command Arguments for Ctrl_Quotes_Use
2527  */
2528 static const char* apzCtrl_Quotes_UsePatch[] = {
2529     "char_macro_use",
2530     "CTRL",
2531     (char*)NULL };
2533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2535  *  Description of Cxx_Unready fix
2536  */
2537 tSCC zCxx_UnreadyName[] =
2538      "cxx_unready";
2541  *  File name selection pattern
2542  */
2543 tSCC zCxx_UnreadyList[] =
2544   "sys/mman.h\0rpc/types.h\0";
2546  *  Machine/OS name selection pattern
2547  */
2548 #define apzCxx_UnreadyMachs (const char**)NULL
2551  *  content selection pattern - do fix if pattern found
2552  */
2553 tSCC zCxx_UnreadySelect0[] =
2554        "[^#]+malloc.*;";
2557  *  content bypass pattern - skip fix if pattern found
2558  */
2559 tSCC zCxx_UnreadyBypass0[] =
2560        "\"C\"|__BEGIN_DECLS";
2562 #define    CXX_UNREADY_TEST_CT  2
2563 static tTestDesc aCxx_UnreadyTests[] = {
2564   { TT_NEGREP,   zCxx_UnreadyBypass0, (regex_t*)NULL },
2565   { TT_EGREP,    zCxx_UnreadySelect0, (regex_t*)NULL }, };
2568  *  Fix Command Arguments for Cxx_Unready
2569  */
2570 static const char* apzCxx_UnreadyPatch[] = {
2571     "wrap",
2572     "#ifdef __cplusplus\n\
2573 extern \"C\" {\n\
2574 #endif\n",
2575     "#ifdef __cplusplus\n\
2576 }\n\
2577 #endif\n",
2578     (char*)NULL };
2580 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2582  *  Description of Darwin_9_Long_Double_Funcs_2 fix
2583  */
2584 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2585      "darwin_9_long_double_funcs_2";
2588  *  File name selection pattern
2589  */
2590 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2591   "math.h\0";
2593  *  Machine/OS name selection pattern
2594  */
2595 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2596         "*-*-darwin7.9*",
2597         (const char*)NULL };
2600  *  content selection pattern - do fix if pattern found
2601  */
2602 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2603        "#include[ \\t]+\\\"";
2605 #define    DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT  1
2606 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2607   { TT_EGREP,    zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2610  *  Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2611  */
2612 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2613     "format",
2614     "%1<%2.h>",
2615     "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2616     (char*)NULL };
2618 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2620  *  Description of Darwin_Externc fix
2621  */
2622 tSCC zDarwin_ExterncName[] =
2623      "darwin_externc";
2626  *  File name selection pattern
2627  */
2628 tSCC zDarwin_ExterncList[] =
2629   "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2631  *  Machine/OS name selection pattern
2632  */
2633 tSCC* apzDarwin_ExterncMachs[] = {
2634         "*-*-darwin*",
2635         (const char*)NULL };
2638  *  content bypass pattern - skip fix if pattern found
2639  */
2640 tSCC zDarwin_ExterncBypass0[] =
2641        "extern \"C\"";
2642 tSCC zDarwin_ExterncBypass1[] =
2643        "__BEGIN_DECLS";
2645 #define    DARWIN_EXTERNC_TEST_CT  2
2646 static tTestDesc aDarwin_ExterncTests[] = {
2647   { TT_NEGREP,   zDarwin_ExterncBypass0, (regex_t*)NULL },
2648   { TT_NEGREP,   zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2651  *  Fix Command Arguments for Darwin_Externc
2652  */
2653 static const char* apzDarwin_ExterncPatch[] = {
2654     "wrap",
2655     "#ifdef __cplusplus\n\
2656 extern \"C\" {\n\
2657 #endif\n",
2658     "#ifdef __cplusplus\n\
2659 }\n\
2660 #endif\n",
2661     (char*)NULL };
2663 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2665  *  Description of Darwin_Gcc4_Breakage fix
2666  */
2667 tSCC zDarwin_Gcc4_BreakageName[] =
2668      "darwin_gcc4_breakage";
2671  *  File name selection pattern
2672  */
2673 tSCC zDarwin_Gcc4_BreakageList[] =
2674   "AvailabilityMacros.h\0";
2676  *  Machine/OS name selection pattern
2677  */
2678 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2679         "*-*-darwin*",
2680         (const char*)NULL };
2683  *  content selection pattern - do fix if pattern found
2684  */
2685 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2686        "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2688 #define    DARWIN_GCC4_BREAKAGE_TEST_CT  1
2689 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2690   { TT_EGREP,    zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2693  *  Fix Command Arguments for Darwin_Gcc4_Breakage
2694  */
2695 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2696     "format",
2697     "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2698     (char*)NULL };
2700 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2702  *  Description of Darwin_Private_Extern fix
2703  */
2704 tSCC zDarwin_Private_ExternName[] =
2705      "darwin_private_extern";
2708  *  File name selection pattern
2709  */
2710 tSCC zDarwin_Private_ExternList[] =
2711   "mach-o/dyld.h\0";
2713  *  Machine/OS name selection pattern
2714  */
2715 tSCC* apzDarwin_Private_ExternMachs[] = {
2716         "*-*-darwin*",
2717         (const char*)NULL };
2720  *  content selection pattern - do fix if pattern found
2721  */
2722 tSCC zDarwin_Private_ExternSelect0[] =
2723        "__private_extern__ [a-z_]+ _dyld_";
2725 #define    DARWIN_PRIVATE_EXTERN_TEST_CT  1
2726 static tTestDesc aDarwin_Private_ExternTests[] = {
2727   { TT_EGREP,    zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2730  *  Fix Command Arguments for Darwin_Private_Extern
2731  */
2732 static const char* apzDarwin_Private_ExternPatch[] = {
2733     "format",
2734     "extern",
2735     "__private_extern__",
2736     (char*)NULL };
2738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2740  *  Description of Darwin_Stdint_1 fix
2741  */
2742 tSCC zDarwin_Stdint_1Name[] =
2743      "darwin_stdint_1";
2746  *  File name selection pattern
2747  */
2748 tSCC zDarwin_Stdint_1List[] =
2749   "stdint-darwin.h\0stdint.h\0";
2751  *  Machine/OS name selection pattern
2752  */
2753 tSCC* apzDarwin_Stdint_1Machs[] = {
2754         "*-*-darwin*",
2755         (const char*)NULL };
2758  *  content selection pattern - do fix if pattern found
2759  */
2760 tSCC zDarwin_Stdint_1Select0[] =
2761        "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2762 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2764 #define    DARWIN_STDINT_1_TEST_CT  1
2765 static tTestDesc aDarwin_Stdint_1Tests[] = {
2766   { TT_EGREP,    zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2769  *  Fix Command Arguments for Darwin_Stdint_1
2770  */
2771 static const char* apzDarwin_Stdint_1Patch[] = {
2772     "format",
2773     "#define UINT8_C(v)\tv\n\
2774 #define UINT16_C(v)\tv",
2775     (char*)NULL };
2777 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2779  *  Description of Darwin_Stdint_2 fix
2780  */
2781 tSCC zDarwin_Stdint_2Name[] =
2782      "darwin_stdint_2";
2785  *  File name selection pattern
2786  */
2787 tSCC zDarwin_Stdint_2List[] =
2788   "stdint-darwin.h\0stdint.h\0";
2790  *  Machine/OS name selection pattern
2791  */
2792 tSCC* apzDarwin_Stdint_2Machs[] = {
2793         "*-*-darwin*",
2794         (const char*)NULL };
2797  *  content selection pattern - do fix if pattern found
2798  */
2799 tSCC zDarwin_Stdint_2Select0[] =
2800        "#if __WORDSIZE == 64\n\
2801 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2802 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2803 #else\n\
2804 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2805 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2806 #endif";
2808 #define    DARWIN_STDINT_2_TEST_CT  1
2809 static tTestDesc aDarwin_Stdint_2Tests[] = {
2810   { TT_EGREP,    zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2813  *  Fix Command Arguments for Darwin_Stdint_2
2814  */
2815 static const char* apzDarwin_Stdint_2Patch[] = {
2816     "format",
2817     "#if __WORDSIZE == 64\n\
2818 #define INTPTR_MAX 9223372036854775807L\n\
2819 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2820 #else\n\
2821 #define INTPTR_MAX 2147483647L\n\
2822 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2823 #endif",
2824     (char*)NULL };
2826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2828  *  Description of Darwin_Stdint_3 fix
2829  */
2830 tSCC zDarwin_Stdint_3Name[] =
2831      "darwin_stdint_3";
2834  *  File name selection pattern
2835  */
2836 tSCC zDarwin_Stdint_3List[] =
2837   "stdint-darwin.h\0stdint.h\0";
2839  *  Machine/OS name selection pattern
2840  */
2841 tSCC* apzDarwin_Stdint_3Machs[] = {
2842         "*-*-darwin*",
2843         (const char*)NULL };
2846  *  content selection pattern - do fix if pattern found
2847  */
2848 tSCC zDarwin_Stdint_3Select0[] =
2849        "#if __WORDSIZE == 64\n\
2850 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2851 #else\n\
2852 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2853 #endif";
2855 #define    DARWIN_STDINT_3_TEST_CT  1
2856 static tTestDesc aDarwin_Stdint_3Tests[] = {
2857   { TT_EGREP,    zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2860  *  Fix Command Arguments for Darwin_Stdint_3
2861  */
2862 static const char* apzDarwin_Stdint_3Patch[] = {
2863     "format",
2864     "#if __WORDSIZE == 64\n\
2865 #define UINTPTR_MAX 18446744073709551615UL\n\
2866 #else\n\
2867 #define UINTPTR_MAX 4294967295UL\n\
2868 #endif",
2869     (char*)NULL };
2871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2873  *  Description of Darwin_Stdint_4 fix
2874  */
2875 tSCC zDarwin_Stdint_4Name[] =
2876      "darwin_stdint_4";
2879  *  File name selection pattern
2880  */
2881 tSCC zDarwin_Stdint_4List[] =
2882   "stdint-darwin.h\0stdint.h\0";
2884  *  Machine/OS name selection pattern
2885  */
2886 tSCC* apzDarwin_Stdint_4Machs[] = {
2887         "*-*-darwin*",
2888         (const char*)NULL };
2891  *  content selection pattern - do fix if pattern found
2892  */
2893 tSCC zDarwin_Stdint_4Select0[] =
2894        "#if __WORDSIZE == 64\n\
2895 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2896 #else\n\
2897 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2898 #endif";
2900 #define    DARWIN_STDINT_4_TEST_CT  1
2901 static tTestDesc aDarwin_Stdint_4Tests[] = {
2902   { TT_EGREP,    zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2905  *  Fix Command Arguments for Darwin_Stdint_4
2906  */
2907 static const char* apzDarwin_Stdint_4Patch[] = {
2908     "format",
2909     "#if __WORDSIZE == 64\n\
2910 #define SIZE_MAX 18446744073709551615UL\n\
2911 #else\n\
2912 #define SIZE_MAX 4294967295UL\n\
2913 #endif",
2914     (char*)NULL };
2916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2918  *  Description of Darwin_Stdint_5 fix
2919  */
2920 tSCC zDarwin_Stdint_5Name[] =
2921      "darwin_stdint_5";
2924  *  File name selection pattern
2925  */
2926 tSCC zDarwin_Stdint_5List[] =
2927   "stdint-darwin.h\0stdint.h\0";
2929  *  Machine/OS name selection pattern
2930  */
2931 tSCC* apzDarwin_Stdint_5Machs[] = {
2932         "*-*-darwin*",
2933         (const char*)NULL };
2936  *  content selection pattern - do fix if pattern found
2937  */
2938 tSCC zDarwin_Stdint_5Select0[] =
2939        "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2940 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2941 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2943 #define    DARWIN_STDINT_5_TEST_CT  1
2944 static tTestDesc aDarwin_Stdint_5Tests[] = {
2945   { TT_EGREP,    zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2948  *  Fix Command Arguments for Darwin_Stdint_5
2949  */
2950 static const char* apzDarwin_Stdint_5Patch[] = {
2951     "format",
2952     "#if __WORDSIZE == 64\n\
2953 #define INTMAX_MIN   (-9223372036854775807L - 1)\n\
2954 #define INTMAX_MAX   9223372036854775807L\n\
2955 #define UINTMAX_MAX  18446744073709551615UL\n\
2956 #else\n\
2957 #define INTMAX_MIN   (-9223372036854775807LL - 1)\n\
2958 #define INTMAX_MAX   9223372036854775807LL\n\
2959 #define UINTMAX_MAX  18446744073709551615ULL\n\
2960 #endif",
2961     (char*)NULL };
2963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2965  *  Description of Darwin_Stdint_6 fix
2966  */
2967 tSCC zDarwin_Stdint_6Name[] =
2968      "darwin_stdint_6";
2971  *  File name selection pattern
2972  */
2973 tSCC zDarwin_Stdint_6List[] =
2974   "stdint-darwin.h\0stdint.h\0";
2976  *  Machine/OS name selection pattern
2977  */
2978 tSCC* apzDarwin_Stdint_6Machs[] = {
2979         "*-*-darwin*",
2980         (const char*)NULL };
2983  *  content selection pattern - do fix if pattern found
2984  */
2985 tSCC zDarwin_Stdint_6Select0[] =
2986        "#if __WORDSIZE == 64\n\
2987 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
2988 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
2989 #else\n\
2990 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
2991 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
2992 #endif";
2994 #define    DARWIN_STDINT_6_TEST_CT  1
2995 static tTestDesc aDarwin_Stdint_6Tests[] = {
2996   { TT_EGREP,    zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
2999  *  Fix Command Arguments for Darwin_Stdint_6
3000  */
3001 static const char* apzDarwin_Stdint_6Patch[] = {
3002     "format",
3003     "#if __WORDSIZE == 64\n\
3004 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3005 #define PTRDIFF_MAX 9223372036854775807L\n\
3006 #else\n\
3007 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3008 #define PTRDIFF_MAX 2147483647\n\
3009 #endif",
3010     (char*)NULL };
3012 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3014  *  Description of Darwin_Stdint_7 fix
3015  */
3016 tSCC zDarwin_Stdint_7Name[] =
3017      "darwin_stdint_7";
3020  *  File name selection pattern
3021  */
3022 tSCC zDarwin_Stdint_7List[] =
3023   "stdint-darwin.h\0stdint.h\0";
3025  *  Machine/OS name selection pattern
3026  */
3027 tSCC* apzDarwin_Stdint_7Machs[] = {
3028         "*-*-darwin*",
3029         (const char*)NULL };
3032  *  content selection pattern - do fix if pattern found
3033  */
3034 tSCC zDarwin_Stdint_7Select0[] =
3035        "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3036 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3038 #define    DARWIN_STDINT_7_TEST_CT  1
3039 static tTestDesc aDarwin_Stdint_7Tests[] = {
3040   { TT_EGREP,    zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3043  *  Fix Command Arguments for Darwin_Stdint_7
3044  */
3045 static const char* apzDarwin_Stdint_7Patch[] = {
3046     "format",
3047     "#if __WORDSIZE == 64\n\
3048 #define INTMAX_C(v)  (v ## L)\n\
3049 #define UINTMAX_C(v) (v ## UL)\n\
3050 #else\n\
3051 #define INTMAX_C(v)  (v ## LL)\n\
3052 #define UINTMAX_C(v) (v ## ULL)\n\
3053 #endif",
3054     (char*)NULL };
3056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3058  *  Description of Dec_Intern_Asm fix
3059  */
3060 tSCC zDec_Intern_AsmName[] =
3061      "dec_intern_asm";
3064  *  File name selection pattern
3065  */
3066 tSCC zDec_Intern_AsmList[] =
3067   "c_asm.h\0";
3069  *  Machine/OS name selection pattern
3070  */
3071 #define apzDec_Intern_AsmMachs (const char**)NULL
3072 #define DEC_INTERN_ASM_TEST_CT  0
3073 #define aDec_Intern_AsmTests   (tTestDesc*)NULL
3076  *  Fix Command Arguments for Dec_Intern_Asm
3077  */
3078 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3079     "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3080 #ifdef __DECC\n",
3081     "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3082 #endif\n",
3083     (char*)NULL };
3085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3087  *  Description of Djgpp_Wchar_H fix
3088  */
3089 tSCC zDjgpp_Wchar_HName[] =
3090      "djgpp_wchar_h";
3093  *  File name selection pattern
3094  */
3095 #define zDjgpp_Wchar_HList (char*)NULL
3097  *  Machine/OS name selection pattern
3098  */
3099 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3102  *  content selection pattern - do fix if pattern found
3103  */
3104 tSCC zDjgpp_Wchar_HSelect0[] =
3105        "__DJ_wint_t";
3108  *  content bypass pattern - skip fix if pattern found
3109  */
3110 tSCC zDjgpp_Wchar_HBypass0[] =
3111        "sys/djtypes.h";
3113 #define    DJGPP_WCHAR_H_TEST_CT  2
3114 static tTestDesc aDjgpp_Wchar_HTests[] = {
3115   { TT_NEGREP,   zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3116   { TT_EGREP,    zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3119  *  Fix Command Arguments for Djgpp_Wchar_H
3120  */
3121 static const char* apzDjgpp_Wchar_HPatch[] = {
3122     "format",
3123     "%0\n\
3124 #include <sys/djtypes.h>",
3125     "#include <stddef.h>",
3126     (char*)NULL };
3128 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3130  *  Description of Ecd_Cursor fix
3131  */
3132 tSCC zEcd_CursorName[] =
3133      "ecd_cursor";
3136  *  File name selection pattern
3137  */
3138 tSCC zEcd_CursorList[] =
3139   "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3141  *  Machine/OS name selection pattern
3142  */
3143 #define apzEcd_CursorMachs (const char**)NULL
3146  *  content selection pattern - do fix if pattern found
3147  */
3148 tSCC zEcd_CursorSelect0[] =
3149        "ecd\\.cursor";
3151 #define    ECD_CURSOR_TEST_CT  1
3152 static tTestDesc aEcd_CursorTests[] = {
3153   { TT_EGREP,    zEcd_CursorSelect0, (regex_t*)NULL }, };
3156  *  Fix Command Arguments for Ecd_Cursor
3157  */
3158 static const char* apzEcd_CursorPatch[] = {
3159     "format",
3160     "ecd_cursor",
3161     (char*)NULL };
3163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3165  *  Description of Feraiseexcept_Nosse_Divbyzero fix
3166  */
3167 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3168      "feraiseexcept_nosse_divbyzero";
3171  *  File name selection pattern
3172  */
3173 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3174   "bits/fenv.h\0*/bits/fenv.h\0";
3176  *  Machine/OS name selection pattern
3177  */
3178 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3179         "i[34567]86-*-linux*",
3180         "x86*-linux*",
3181         "amd64-*-linux*",
3182         (const char*)NULL };
3185  *  content selection pattern - do fix if pattern found
3186  */
3187 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3188        "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3191  *  content bypass pattern - skip fix if pattern found
3192  */
3193 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3194        "\"fdivp .*; fwait\"";
3196 #define    FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT  2
3197 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3198   { TT_NEGREP,   zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3199   { TT_EGREP,    zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3202  *  Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3203  */
3204 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3205     "format",
3206     "# ifdef __SSE_MATH__\n\
3207 %0\n\
3208 # else\n\
3209 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3210 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3211 # endif",
3212     (char*)NULL };
3214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3216  *  Description of Feraiseexcept_Nosse_Invalid fix
3217  */
3218 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3219      "feraiseexcept_nosse_invalid";
3222  *  File name selection pattern
3223  */
3224 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3225   "bits/fenv.h\0*/bits/fenv.h\0";
3227  *  Machine/OS name selection pattern
3228  */
3229 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3230         "i[34567]86-*-linux*",
3231         "x86*-linux*",
3232         "amd64-*-linux*",
3233         (const char*)NULL };
3236  *  content selection pattern - do fix if pattern found
3237  */
3238 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3239        "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3242  *  content bypass pattern - skip fix if pattern found
3243  */
3244 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3245        "\"fdiv .*; fwait\"";
3247 #define    FERAISEEXCEPT_NOSSE_INVALID_TEST_CT  2
3248 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3249   { TT_NEGREP,   zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3250   { TT_EGREP,    zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3253  *  Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3254  */
3255 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3256     "format",
3257     "# ifdef __SSE_MATH__\n\
3258 %0\n\
3259 # else\n\
3260 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3261 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3262 # endif",
3263     (char*)NULL };
3265 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3267  *  Description of Freebsd_Gcc3_Breakage fix
3268  */
3269 tSCC zFreebsd_Gcc3_BreakageName[] =
3270      "freebsd_gcc3_breakage";
3273  *  File name selection pattern
3274  */
3275 tSCC zFreebsd_Gcc3_BreakageList[] =
3276   "sys/cdefs.h\0";
3278  *  Machine/OS name selection pattern
3279  */
3280 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3281         "*-*-freebsd*",
3282         (const char*)NULL };
3285  *  content selection pattern - do fix if pattern found
3286  */
3287 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3288        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3291  *  content bypass pattern - skip fix if pattern found
3292  */
3293 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3294        "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3296 #define    FREEBSD_GCC3_BREAKAGE_TEST_CT  2
3297 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3298   { TT_NEGREP,   zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3299   { TT_EGREP,    zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3302  *  Fix Command Arguments for Freebsd_Gcc3_Breakage
3303  */
3304 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3305     "format",
3306     "%0 || __GNUC__ >= 3",
3307     (char*)NULL };
3309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3311  *  Description of Freebsd_Gcc4_Breakage fix
3312  */
3313 tSCC zFreebsd_Gcc4_BreakageName[] =
3314      "freebsd_gcc4_breakage";
3317  *  File name selection pattern
3318  */
3319 tSCC zFreebsd_Gcc4_BreakageList[] =
3320   "sys/cdefs.h\0";
3322  *  Machine/OS name selection pattern
3323  */
3324 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3325         "*-*-freebsd*",
3326         (const char*)NULL };
3329  *  content selection pattern - do fix if pattern found
3330  */
3331 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3332        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3334 #define    FREEBSD_GCC4_BREAKAGE_TEST_CT  1
3335 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3336   { TT_EGREP,    zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3339  *  Fix Command Arguments for Freebsd_Gcc4_Breakage
3340  */
3341 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3342     "format",
3343     "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3344     (char*)NULL };
3346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3348  *  Description of Glibc_C99_Inline_1 fix
3349  */
3350 tSCC zGlibc_C99_Inline_1Name[] =
3351      "glibc_c99_inline_1";
3354  *  File name selection pattern
3355  */
3356 tSCC zGlibc_C99_Inline_1List[] =
3357   "features.h\0*/features.h\0";
3359  *  Machine/OS name selection pattern
3360  */
3361 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3364  *  content selection pattern - do fix if pattern found
3365  */
3366 tSCC zGlibc_C99_Inline_1Select0[] =
3367        "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3369 #define    GLIBC_C99_INLINE_1_TEST_CT  1
3370 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3371   { TT_EGREP,    zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3374  *  Fix Command Arguments for Glibc_C99_Inline_1
3375  */
3376 static const char* apzGlibc_C99_Inline_1Patch[] = {
3377     "format",
3378     "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3379     (char*)NULL };
3381 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3383  *  Description of Glibc_C99_Inline_1a fix
3384  */
3385 tSCC zGlibc_C99_Inline_1aName[] =
3386      "glibc_c99_inline_1a";
3389  *  File name selection pattern
3390  */
3391 tSCC zGlibc_C99_Inline_1aList[] =
3392   "features.h\0*/features.h\0";
3394  *  Machine/OS name selection pattern
3395  */
3396 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3399  *  content selection pattern - do fix if pattern found
3400  */
3401 tSCC zGlibc_C99_Inline_1aSelect0[] =
3402        "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3403 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3405 #define    GLIBC_C99_INLINE_1A_TEST_CT  1
3406 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3407   { TT_EGREP,    zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3410  *  Fix Command Arguments for Glibc_C99_Inline_1a
3411  */
3412 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3413     "format",
3414     "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3415 %2",
3416     (char*)NULL };
3418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3420  *  Description of Glibc_C99_Inline_2 fix
3421  */
3422 tSCC zGlibc_C99_Inline_2Name[] =
3423      "glibc_c99_inline_2";
3426  *  File name selection pattern
3427  */
3428 tSCC zGlibc_C99_Inline_2List[] =
3429   "sys/stat.h\0*/sys/stat.h\0";
3431  *  Machine/OS name selection pattern
3432  */
3433 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3436  *  content selection pattern - do fix if pattern found
3437  */
3438 tSCC zGlibc_C99_Inline_2Select0[] =
3439        "extern __inline__ int";
3441 #define    GLIBC_C99_INLINE_2_TEST_CT  1
3442 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3443   { TT_EGREP,    zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3446  *  Fix Command Arguments for Glibc_C99_Inline_2
3447  */
3448 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3449     "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3450 extern\\\n\
3451 #endif\\\n\
3452 __inline__ int \\1/",
3453     "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3454 extern\\\n\
3455 #endif\\\n\
3456 __inline__ int \\1/",
3457     "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3458 extern\\\n\
3459 #endif\\\n\
3460 __inline__ int \\1/",
3461     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3462 extern\\\n\
3463 #endif\\\n\
3464 __inline__ int __REDIRECT\\1 (\\2/",
3465     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3466 extern\\\n\
3467 #endif\\\n\
3468 __inline__ int __REDIRECT\\1 (\\2/",
3469     "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3470 extern\\\n\
3471 #endif\\\n\
3472 __inline__ int/",
3473     (char*)NULL };
3475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3477  *  Description of Glibc_C99_Inline_3 fix
3478  */
3479 tSCC zGlibc_C99_Inline_3Name[] =
3480      "glibc_c99_inline_3";
3483  *  File name selection pattern
3484  */
3485 tSCC zGlibc_C99_Inline_3List[] =
3486   "bits/string2.h\0*/bits/string2.h\0";
3488  *  Machine/OS name selection pattern
3489  */
3490 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3493  *  content selection pattern - do fix if pattern found
3494  */
3495 tSCC zGlibc_C99_Inline_3Select0[] =
3496        "extern __inline";
3499  *  content bypass pattern - skip fix if pattern found
3500  */
3501 tSCC zGlibc_C99_Inline_3Bypass0[] =
3502        "__extern_inline|__GNU_STDC_INLINE__";
3504 #define    GLIBC_C99_INLINE_3_TEST_CT  2
3505 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3506   { TT_NEGREP,   zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3507   { TT_EGREP,    zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3510  *  Fix Command Arguments for Glibc_C99_Inline_3
3511  */
3512 static const char* apzGlibc_C99_Inline_3Patch[] = {
3513     "format",
3514     "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3515     "^# ifdef __cplusplus$",
3516     (char*)NULL };
3518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3520  *  Description of Glibc_C99_Inline_4 fix
3521  */
3522 tSCC zGlibc_C99_Inline_4Name[] =
3523      "glibc_c99_inline_4";
3526  *  File name selection pattern
3527  */
3528 tSCC zGlibc_C99_Inline_4List[] =
3529   "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3531  *  Machine/OS name selection pattern
3532  */
3533 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3536  *  content selection pattern - do fix if pattern found
3537  */
3538 tSCC zGlibc_C99_Inline_4Select0[] =
3539        "(^| )extern __inline";
3542  *  content bypass pattern - skip fix if pattern found
3543  */
3544 tSCC zGlibc_C99_Inline_4Bypass0[] =
3545        "__extern_inline|__gnu_inline__";
3547 #define    GLIBC_C99_INLINE_4_TEST_CT  2
3548 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3549   { TT_NEGREP,   zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3550   { TT_EGREP,    zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3553  *  Fix Command Arguments for Glibc_C99_Inline_4
3554  */
3555 static const char* apzGlibc_C99_Inline_4Patch[] = {
3556     "format",
3557     "%0 __attribute__ ((__gnu_inline__))",
3558     (char*)NULL };
3560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3562  *  Description of Glibc_Mutex_Init fix
3563  */
3564 tSCC zGlibc_Mutex_InitName[] =
3565      "glibc_mutex_init";
3568  *  File name selection pattern
3569  */
3570 tSCC zGlibc_Mutex_InitList[] =
3571   "pthread.h\0";
3573  *  Machine/OS name selection pattern
3574  */
3575 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3578  *  content selection pattern - do fix if pattern found
3579  */
3580 tSCC zGlibc_Mutex_InitSelect0[] =
3581        "\\{ *\\{ *0, *\\} *\\}";
3583 #define    GLIBC_MUTEX_INIT_TEST_CT  1
3584 static tTestDesc aGlibc_Mutex_InitTests[] = {
3585   { TT_EGREP,    zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3588  *  Fix Command Arguments for Glibc_Mutex_Init
3589  */
3590 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3591     "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3592 N\n\
3593 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3595     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3596     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3597     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3598     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3599     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3600     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3601     "-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\
3602 #  \\1\\\n\
3603   { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3604 # else\\\n\
3605 #  \\1\\\n\
3606   { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3607 # endif/",
3608     "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3609     "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3610     (char*)NULL };
3612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3614  *  Description of Glibc_Stdint fix
3615  */
3616 tSCC zGlibc_StdintName[] =
3617      "glibc_stdint";
3620  *  File name selection pattern
3621  */
3622 tSCC zGlibc_StdintList[] =
3623   "stdint.h\0";
3625  *  Machine/OS name selection pattern
3626  */
3627 #define apzGlibc_StdintMachs (const char**)NULL
3630  *  content selection pattern - do fix if pattern found
3631  */
3632 tSCC zGlibc_StdintSelect0[] =
3633        "GNU C Library";
3635 #define    GLIBC_STDINT_TEST_CT  1
3636 static tTestDesc aGlibc_StdintTests[] = {
3637   { TT_EGREP,    zGlibc_StdintSelect0, (regex_t*)NULL }, };
3640  *  Fix Command Arguments for Glibc_Stdint
3641  */
3642 static const char* apzGlibc_StdintPatch[] = {
3643     "format",
3644     "# define UINT8_C(c)\tc\n\
3645 # define UINT16_C(c)\tc",
3646     "# define UINT8_C\\(c\\)\tc ## U\n\
3647 # define UINT16_C\\(c\\)\tc ## U",
3648     (char*)NULL };
3650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3652  *  Description of Glibc_Strncpy fix
3653  */
3654 tSCC zGlibc_StrncpyName[] =
3655      "glibc_strncpy";
3658  *  File name selection pattern
3659  */
3660 tSCC zGlibc_StrncpyList[] =
3661   "bits/string2.h\0*/bits/string2.h\0";
3663  *  Machine/OS name selection pattern
3664  */
3665 #define apzGlibc_StrncpyMachs (const char**)NULL
3668  *  content bypass pattern - skip fix if pattern found
3669  */
3670 tSCC zGlibc_StrncpyBypass0[] =
3671        "__builtin_strncpy";
3673 #define    GLIBC_STRNCPY_TEST_CT  1
3674 static tTestDesc aGlibc_StrncpyTests[] = {
3675   { TT_NEGREP,   zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3678  *  Fix Command Arguments for Glibc_Strncpy
3679  */
3680 static const char* apzGlibc_StrncpyPatch[] = {
3681     "format",
3682     "#  define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3683     "#  define strncpy([^\n\
3684 ]*\\\\\n\
3685 )*[^\n\
3686 ]*",
3687     (char*)NULL };
3689 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3691  *  Description of Glibc_Tgmath fix
3692  */
3693 tSCC zGlibc_TgmathName[] =
3694      "glibc_tgmath";
3697  *  File name selection pattern
3698  */
3699 tSCC zGlibc_TgmathList[] =
3700   "tgmath.h\0";
3702  *  Machine/OS name selection pattern
3703  */
3704 #define apzGlibc_TgmathMachs (const char**)NULL
3707  *  content selection pattern - do fix if pattern found
3708  */
3709 tSCC zGlibc_TgmathSelect0[] =
3710        "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3713  *  content bypass pattern - skip fix if pattern found
3714  */
3715 tSCC zGlibc_TgmathBypass0[] =
3716        "__floating_type\\(type\\) \\\\\n\
3717 .*__builtin_classify_type";
3719 #define    GLIBC_TGMATH_TEST_CT  2
3720 static tTestDesc aGlibc_TgmathTests[] = {
3721   { TT_NEGREP,   zGlibc_TgmathBypass0, (regex_t*)NULL },
3722   { TT_EGREP,    zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3725  *  Fix Command Arguments for Glibc_Tgmath
3726  */
3727 static const char* apzGlibc_TgmathPatch[] = {
3728     "format",
3729     "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3730     (char*)NULL };
3732 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3734  *  Description of Gnu_Types fix
3735  */
3736 tSCC zGnu_TypesName[] =
3737      "gnu_types";
3740  *  File name selection pattern
3741  */
3742 tSCC zGnu_TypesList[] =
3743   "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3745  *  Machine/OS name selection pattern
3746  */
3747 tSCC* apzGnu_TypesMachs[] = {
3748         "*-*-solaris2.1[0-9]*",
3749         (const char*)NULL };
3752  *  content selection pattern - do fix if pattern found
3753  */
3754 tSCC zGnu_TypesSelect0[] =
3755        "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3758  *  content bypass pattern - skip fix if pattern found
3759  */
3760 tSCC zGnu_TypesBypass0[] =
3761        "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3763 #define    GNU_TYPES_TEST_CT  2
3764 static tTestDesc aGnu_TypesTests[] = {
3765   { TT_NEGREP,   zGnu_TypesBypass0, (regex_t*)NULL },
3766   { TT_EGREP,    zGnu_TypesSelect0, (regex_t*)NULL }, };
3769  *  Fix Command Arguments for Gnu_Types
3770  */
3771 static const char* apzGnu_TypesPatch[] = {
3772     "gnu_type",
3773     (char*)NULL };
3775 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3777  *  Description of Hp_Inline fix
3778  */
3779 tSCC zHp_InlineName[] =
3780      "hp_inline";
3783  *  File name selection pattern
3784  */
3785 tSCC zHp_InlineList[] =
3786   "sys/spinlock.h\0machine/machparam.h\0";
3788  *  Machine/OS name selection pattern
3789  */
3790 #define apzHp_InlineMachs (const char**)NULL
3793  *  content selection pattern - do fix if pattern found
3794  */
3795 tSCC zHp_InlineSelect0[] =
3796        "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3798 #define    HP_INLINE_TEST_CT  1
3799 static tTestDesc aHp_InlineTests[] = {
3800   { TT_EGREP,    zHp_InlineSelect0, (regex_t*)NULL }, };
3803  *  Fix Command Arguments for Hp_Inline
3804  */
3805 static const char* apzHp_InlinePatch[] = {
3806     "format",
3807     "%1<machine/%2.h>",
3808     "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3809     (char*)NULL };
3811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3813  *  Description of Hp_Sysfile fix
3814  */
3815 tSCC zHp_SysfileName[] =
3816      "hp_sysfile";
3819  *  File name selection pattern
3820  */
3821 tSCC zHp_SysfileList[] =
3822   "sys/file.h\0";
3824  *  Machine/OS name selection pattern
3825  */
3826 #define apzHp_SysfileMachs (const char**)NULL
3829  *  content selection pattern - do fix if pattern found
3830  */
3831 tSCC zHp_SysfileSelect0[] =
3832        "HPUX_SOURCE";
3834 #define    HP_SYSFILE_TEST_CT  1
3835 static tTestDesc aHp_SysfileTests[] = {
3836   { TT_EGREP,    zHp_SysfileSelect0, (regex_t*)NULL }, };
3839  *  Fix Command Arguments for Hp_Sysfile
3840  */
3841 static const char* apzHp_SysfilePatch[] = {
3842     "format",
3843     "(struct file *, ...)",
3844     "\\(\\.\\.\\.\\)",
3845     (char*)NULL };
3847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3849  *  Description of Hppa_Hpux_Fp_Macros fix
3850  */
3851 tSCC zHppa_Hpux_Fp_MacrosName[] =
3852      "hppa_hpux_fp_macros";
3855  *  File name selection pattern
3856  */
3857 tSCC zHppa_Hpux_Fp_MacrosList[] =
3858   "math.h\0";
3860  *  Machine/OS name selection pattern
3861  */
3862 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3863         "hppa*-hp-hpux11*",
3864         (const char*)NULL };
3867  *  content selection pattern - do fix if pattern found
3868  */
3869 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3870        "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3871 #[ \t]*define[ \t]*FP_ZERO.*\n\
3872 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3873 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3874 #[ \t]*define[ \t]*FP_NAN.*\n";
3876 #define    HPPA_HPUX_FP_MACROS_TEST_CT  1
3877 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3878   { TT_EGREP,    zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3881  *  Fix Command Arguments for Hppa_Hpux_Fp_Macros
3882  */
3883 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3884     "format",
3885     "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3886 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3887    (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3888 %0#endif\n\n\
3889 #ifdef _INCLUDE_HPUX_SOURCE\n",
3890     (char*)NULL };
3892 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3894  *  Description of Hpux10_Cpp_Pow_Inline fix
3895  */
3896 tSCC zHpux10_Cpp_Pow_InlineName[] =
3897      "hpux10_cpp_pow_inline";
3900  *  File name selection pattern
3901  */
3902 tSCC zHpux10_Cpp_Pow_InlineList[] =
3903   "fixinc-test-limits.h\0math.h\0";
3905  *  Machine/OS name selection pattern
3906  */
3907 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3910  *  content selection pattern - do fix if pattern found
3911  */
3912 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3913        "^# +ifdef +__cplusplus\n\
3914  +\\}\n\
3915  +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3916 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3917  +\\}\n\
3918  +extern +\"C\" +\\{\n\
3919 #else\n\
3920 # +endif";
3922 #define    HPUX10_CPP_POW_INLINE_TEST_CT  1
3923 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3924   { TT_EGREP,    zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3927  *  Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3928  */
3929 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3930     "format",
3931     "",
3932     (char*)NULL };
3934 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3936  *  Description of Hpux11_Cpp_Pow_Inline fix
3937  */
3938 tSCC zHpux11_Cpp_Pow_InlineName[] =
3939      "hpux11_cpp_pow_inline";
3942  *  File name selection pattern
3943  */
3944 tSCC zHpux11_Cpp_Pow_InlineList[] =
3945   "math.h\0";
3947  *  Machine/OS name selection pattern
3948  */
3949 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3952  *  content selection pattern - do fix if pattern found
3953  */
3954 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3955        " +inline double pow\\(double d,int expon\\) \\{\n\
3956  +return pow\\(d, \\(double\\)expon\\);\n\
3957  +\\}\n";
3959 #define    HPUX11_CPP_POW_INLINE_TEST_CT  1
3960 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
3961   { TT_EGREP,    zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3964  *  Fix Command Arguments for Hpux11_Cpp_Pow_Inline
3965  */
3966 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
3967     "format",
3968     "",
3969     (char*)NULL };
3971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3973  *  Description of Hpux10_Ctype_Declarations1 fix
3974  */
3975 tSCC zHpux10_Ctype_Declarations1Name[] =
3976      "hpux10_ctype_declarations1";
3979  *  File name selection pattern
3980  */
3981 tSCC zHpux10_Ctype_Declarations1List[] =
3982   "ctype.h\0";
3984  *  Machine/OS name selection pattern
3985  */
3986 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
3989  *  content selection pattern - do fix if pattern found
3990  */
3991 tSCC zHpux10_Ctype_Declarations1Select0[] =
3992        "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
3995  *  content bypass pattern - skip fix if pattern found
3996  */
3997 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
3998        "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4000 #define    HPUX10_CTYPE_DECLARATIONS1_TEST_CT  2
4001 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4002   { TT_NEGREP,   zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4003   { TT_EGREP,    zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4006  *  Fix Command Arguments for Hpux10_Ctype_Declarations1
4007  */
4008 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4009     "format",
4010     "#ifdef _PROTOTYPES\n\
4011 extern int __tolower(int);\n\
4012 extern int __toupper(int);\n\
4013 #else /* NOT _PROTOTYPES */\n\
4014 extern int __tolower();\n\
4015 extern int __toupper();\n\
4016 #endif /* _PROTOTYPES */\n\n\
4017 %0\n",
4018     (char*)NULL };
4020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4022  *  Description of Hpux10_Ctype_Declarations2 fix
4023  */
4024 tSCC zHpux10_Ctype_Declarations2Name[] =
4025      "hpux10_ctype_declarations2";
4028  *  File name selection pattern
4029  */
4030 tSCC zHpux10_Ctype_Declarations2List[] =
4031   "ctype.h\0";
4033  *  Machine/OS name selection pattern
4034  */
4035 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4038  *  content selection pattern - do fix if pattern found
4039  */
4040 tSCC zHpux10_Ctype_Declarations2Select0[] =
4041        "^#  if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4044  *  content bypass pattern - skip fix if pattern found
4045  */
4046 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4047        "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4049 #define    HPUX10_CTYPE_DECLARATIONS2_TEST_CT  2
4050 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4051   { TT_NEGREP,   zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4052   { TT_EGREP,    zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4055  *  Fix Command Arguments for Hpux10_Ctype_Declarations2
4056  */
4057 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4058     "format",
4059     "%0\n\n\
4060 #ifdef _PROTOTYPES\n\
4061      extern int _isalnum(int);\n\
4062      extern int _isalpha(int);\n\
4063      extern int _iscntrl(int);\n\
4064      extern int _isdigit(int);\n\
4065      extern int _isgraph(int);\n\
4066      extern int _islower(int);\n\
4067      extern int _isprint(int);\n\
4068      extern int _ispunct(int);\n\
4069      extern int _isspace(int);\n\
4070      extern int _isupper(int);\n\
4071      extern int _isxdigit(int);\n\
4072 #  else /* not _PROTOTYPES */\n\
4073      extern int _isalnum();\n\
4074      extern int _isalpha();\n\
4075      extern int _iscntrl();\n\
4076      extern int _isdigit();\n\
4077      extern int _isgraph();\n\
4078      extern int _islower();\n\
4079      extern int _isprint();\n\
4080      extern int _ispunct();\n\
4081      extern int _isspace();\n\
4082      extern int _isupper();\n\
4083      extern int _isxdigit();\n\
4084 #endif /* _PROTOTYPES */\n",
4085     (char*)NULL };
4087 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4089  *  Description of Hpux10_Stdio_Declarations fix
4090  */
4091 tSCC zHpux10_Stdio_DeclarationsName[] =
4092      "hpux10_stdio_declarations";
4095  *  File name selection pattern
4096  */
4097 tSCC zHpux10_Stdio_DeclarationsList[] =
4098   "stdio.h\0";
4100  *  Machine/OS name selection pattern
4101  */
4102 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4105  *  content selection pattern - do fix if pattern found
4106  */
4107 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4108        "^#[ \t]*define _iob[ \t]*__iob";
4111  *  content bypass pattern - skip fix if pattern found
4112  */
4113 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4114        "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4116 #define    HPUX10_STDIO_DECLARATIONS_TEST_CT  2
4117 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4118   { TT_NEGREP,   zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4119   { TT_EGREP,    zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4122  *  Fix Command Arguments for Hpux10_Stdio_Declarations
4123  */
4124 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4125     "format",
4126     "%0\n\n\
4127 #  if defined(__STDC__) || defined(__cplusplus)\n\
4128      extern int snprintf(char *, size_t, const char *, ...);\n\
4129      extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4130 #  else /* not __STDC__) || __cplusplus */\n\
4131      extern int snprintf();\n\
4132      extern int vsnprintf();\n\
4133 #  endif /* __STDC__) || __cplusplus */\n",
4134     (char*)NULL };
4136 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4138  *  Description of Hpux11_Abs fix
4139  */
4140 tSCC zHpux11_AbsName[] =
4141      "hpux11_abs";
4144  *  File name selection pattern
4145  */
4146 tSCC zHpux11_AbsList[] =
4147   "stdlib.h\0";
4149  *  Machine/OS name selection pattern
4150  */
4151 tSCC* apzHpux11_AbsMachs[] = {
4152         "*-hp-hpux11*",
4153         (const char*)NULL };
4156  *  content selection pattern - do fix if pattern found
4157  */
4158 tSCC zHpux11_AbsSelect0[] =
4159        "ifndef _MATH_INCLUDED";
4161 #define    HPUX11_ABS_TEST_CT  1
4162 static tTestDesc aHpux11_AbsTests[] = {
4163   { TT_EGREP,    zHpux11_AbsSelect0, (regex_t*)NULL }, };
4166  *  Fix Command Arguments for Hpux11_Abs
4167  */
4168 static const char* apzHpux11_AbsPatch[] = {
4169     "format",
4170     "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4171     (char*)NULL };
4173 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4175  *  Description of Hpux11_Lwp_Rwlock_Valid fix
4176  */
4177 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4178      "hpux11_lwp_rwlock_valid";
4181  *  File name selection pattern
4182  */
4183 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4184   "sys/pthread.h\0";
4186  *  Machine/OS name selection pattern
4187  */
4188 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4189         "*-hp-hpux11*",
4190         (const char*)NULL };
4193  *  content selection pattern - do fix if pattern found
4194  */
4195 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4196        "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4198 #define    HPUX11_LWP_RWLOCK_VALID_TEST_CT  1
4199 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4200   { TT_EGREP,    zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4203  *  Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4204  */
4205 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4206     "format",
4207     "#define __LWP_RWLOCK_VALID              -29551",
4208     (char*)NULL };
4210 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4212  *  Description of Hpux11_Extern_Sendfile fix
4213  */
4214 tSCC zHpux11_Extern_SendfileName[] =
4215      "hpux11_extern_sendfile";
4218  *  File name selection pattern
4219  */
4220 tSCC zHpux11_Extern_SendfileList[] =
4221   "sys/socket.h\0";
4223  *  Machine/OS name selection pattern
4224  */
4225 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4226         "*-hp-hpux11.[12]*",
4227         (const char*)NULL };
4230  *  content selection pattern - do fix if pattern found
4231  */
4232 tSCC zHpux11_Extern_SendfileSelect0[] =
4233        "^[ \t]*extern sbsize_t sendfile.*\n\
4234 .*, int\\)\\);\n";
4236 #define    HPUX11_EXTERN_SENDFILE_TEST_CT  1
4237 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4238   { TT_EGREP,    zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4241  *  Fix Command Arguments for Hpux11_Extern_Sendfile
4242  */
4243 static const char* apzHpux11_Extern_SendfilePatch[] = {
4244     "format",
4245     "#ifndef _APP32_64BIT_OFF_T\n\
4246 %0#endif\n",
4247     (char*)NULL };
4249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4251  *  Description of Hpux11_Extern_Sendpath fix
4252  */
4253 tSCC zHpux11_Extern_SendpathName[] =
4254      "hpux11_extern_sendpath";
4257  *  File name selection pattern
4258  */
4259 tSCC zHpux11_Extern_SendpathList[] =
4260   "sys/socket.h\0";
4262  *  Machine/OS name selection pattern
4263  */
4264 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4265         "*-hp-hpux11.[12]*",
4266         (const char*)NULL };
4269  *  content selection pattern - do fix if pattern found
4270  */
4271 tSCC zHpux11_Extern_SendpathSelect0[] =
4272        "^[ \t]*extern sbsize_t sendpath.*\n\
4273 .*, int\\)\\);\n";
4275 #define    HPUX11_EXTERN_SENDPATH_TEST_CT  1
4276 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4277   { TT_EGREP,    zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4280  *  Fix Command Arguments for Hpux11_Extern_Sendpath
4281  */
4282 static const char* apzHpux11_Extern_SendpathPatch[] = {
4283     "format",
4284     "#ifndef _APP32_64BIT_OFF_T\n\
4285 %0#endif\n",
4286     (char*)NULL };
4288 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4290  *  Description of Hpux11_Fabsf fix
4291  */
4292 tSCC zHpux11_FabsfName[] =
4293      "hpux11_fabsf";
4296  *  File name selection pattern
4297  */
4298 tSCC zHpux11_FabsfList[] =
4299   "math.h\0";
4301  *  Machine/OS name selection pattern
4302  */
4303 #define apzHpux11_FabsfMachs (const char**)NULL
4306  *  content selection pattern - do fix if pattern found
4307  */
4308 tSCC zHpux11_FabsfSelect0[] =
4309        "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4312  *  content bypass pattern - skip fix if pattern found
4313  */
4314 tSCC zHpux11_FabsfBypass0[] =
4315        "__cplusplus";
4317 #define    HPUX11_FABSF_TEST_CT  2
4318 static tTestDesc aHpux11_FabsfTests[] = {
4319   { TT_NEGREP,   zHpux11_FabsfBypass0, (regex_t*)NULL },
4320   { TT_EGREP,    zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4323  *  Fix Command Arguments for Hpux11_Fabsf
4324  */
4325 static const char* apzHpux11_FabsfPatch[] = {
4326     "format",
4327     "#ifndef __cplusplus\n\
4328 %0\n\
4329 #endif",
4330     (char*)NULL };
4332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4334  *  Description of Hpux11_Pthread_Const fix
4335  */
4336 tSCC zHpux11_Pthread_ConstName[] =
4337      "hpux11_pthread_const";
4340  *  File name selection pattern
4341  */
4342 tSCC zHpux11_Pthread_ConstList[] =
4343   "sys/pthread.h\0";
4345  *  Machine/OS name selection pattern
4346  */
4347 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4348         "*-hp-hpux11.[0-3]*",
4349         (const char*)NULL };
4352  *  content selection pattern - do fix if pattern found
4353  */
4354 tSCC zHpux11_Pthread_ConstSelect0[] =
4355        "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
4357 #define    HPUX11_PTHREAD_CONST_TEST_CT  1
4358 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4359   { TT_EGREP,    zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4362  *  Fix Command Arguments for Hpux11_Pthread_Const
4363  */
4364 static const char* apzHpux11_Pthread_ConstPatch[] = {
4365     "format",
4366     "#define __POINTER_SET\t\t((void *) 1L)",
4367     (char*)NULL };
4369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4371  *  Description of Hpux11_Size_T fix
4372  */
4373 tSCC zHpux11_Size_TName[] =
4374      "hpux11_size_t";
4377  *  File name selection pattern
4378  */
4379 #define zHpux11_Size_TList (char*)NULL
4381  *  Machine/OS name selection pattern
4382  */
4383 tSCC* apzHpux11_Size_TMachs[] = {
4384         "*-hp-hpux11*",
4385         (const char*)NULL };
4388  *  content selection pattern - do fix if pattern found
4389  */
4390 tSCC zHpux11_Size_TSelect0[] =
4391        "__size_t";
4393 #define    HPUX11_SIZE_T_TEST_CT  1
4394 static tTestDesc aHpux11_Size_TTests[] = {
4395   { TT_EGREP,    zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4398  *  Fix Command Arguments for Hpux11_Size_T
4399  */
4400 static const char* apzHpux11_Size_TPatch[] = {
4401     "format",
4402     "_hpux_size_t",
4403     (char*)NULL };
4405 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4407  *  Description of Hpux11_Snprintf fix
4408  */
4409 tSCC zHpux11_SnprintfName[] =
4410      "hpux11_snprintf";
4413  *  File name selection pattern
4414  */
4415 tSCC zHpux11_SnprintfList[] =
4416   "stdio.h\0";
4418  *  Machine/OS name selection pattern
4419  */
4420 #define apzHpux11_SnprintfMachs (const char**)NULL
4423  *  content selection pattern - do fix if pattern found
4424  */
4425 tSCC zHpux11_SnprintfSelect0[] =
4426        "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4428 #define    HPUX11_SNPRINTF_TEST_CT  1
4429 static tTestDesc aHpux11_SnprintfTests[] = {
4430   { TT_EGREP,    zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4433  *  Fix Command Arguments for Hpux11_Snprintf
4434  */
4435 static const char* apzHpux11_SnprintfPatch[] = {
4436     "format",
4437     "%1 const %3",
4438     (char*)NULL };
4440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4442  *  Description of Hpux11_Vsnprintf fix
4443  */
4444 tSCC zHpux11_VsnprintfName[] =
4445      "hpux11_vsnprintf";
4448  *  File name selection pattern
4449  */
4450 tSCC zHpux11_VsnprintfList[] =
4451   "stdio.h\0";
4453  *  Machine/OS name selection pattern
4454  */
4455 #define apzHpux11_VsnprintfMachs (const char**)NULL
4458  *  content selection pattern - do fix if pattern found
4459  */
4460 tSCC zHpux11_VsnprintfSelect0[] =
4461        "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4463 #define    HPUX11_VSNPRINTF_TEST_CT  1
4464 static tTestDesc aHpux11_VsnprintfTests[] = {
4465   { TT_EGREP,    zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4468  *  Fix Command Arguments for Hpux11_Vsnprintf
4469  */
4470 static const char* apzHpux11_VsnprintfPatch[] = {
4471     "format",
4472     "%1 __va_list);",
4473     (char*)NULL };
4475 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4477  *  Description of Hpux_Vsscanf fix
4478  */
4479 tSCC zHpux_VsscanfName[] =
4480      "hpux_vsscanf";
4483  *  File name selection pattern
4484  */
4485 tSCC zHpux_VsscanfList[] =
4486   "stdio.h\0";
4488  *  Machine/OS name selection pattern
4489  */
4490 tSCC* apzHpux_VsscanfMachs[] = {
4491         "*-*-hpux*",
4492         (const char*)NULL };
4495  *  content selection pattern - do fix if pattern found
4496  */
4497 tSCC zHpux_VsscanfSelect0[] =
4498        "(extern int vsscanf\\()char";
4500 #define    HPUX_VSSCANF_TEST_CT  1
4501 static tTestDesc aHpux_VsscanfTests[] = {
4502   { TT_EGREP,    zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4505  *  Fix Command Arguments for Hpux_Vsscanf
4506  */
4507 static const char* apzHpux_VsscanfPatch[] = {
4508     "format",
4509     "%1const char",
4510     (char*)NULL };
4512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4514  *  Description of Hpux8_Bogus_Inlines fix
4515  */
4516 tSCC zHpux8_Bogus_InlinesName[] =
4517      "hpux8_bogus_inlines";
4520  *  File name selection pattern
4521  */
4522 tSCC zHpux8_Bogus_InlinesList[] =
4523   "math.h\0";
4525  *  Machine/OS name selection pattern
4526  */
4527 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4530  *  content selection pattern - do fix if pattern found
4531  */
4532 tSCC zHpux8_Bogus_InlinesSelect0[] =
4533        "inline";
4536  *  content bypass pattern - skip fix if pattern found
4537  */
4538 tSCC zHpux8_Bogus_InlinesBypass0[] =
4539        "__GNUG__";
4541 #define    HPUX8_BOGUS_INLINES_TEST_CT  2
4542 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4543   { TT_NEGREP,   zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4544   { TT_EGREP,    zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4547  *  Fix Command Arguments for Hpux8_Bogus_Inlines
4548  */
4549 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4550     "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4551     "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4552     "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4553     "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4554     (char*)NULL };
4556 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4558  *  Description of Hpux_C99_Intptr fix
4559  */
4560 tSCC zHpux_C99_IntptrName[] =
4561      "hpux_c99_intptr";
4564  *  File name selection pattern
4565  */
4566 tSCC zHpux_C99_IntptrList[] =
4567   "stdint-hpux11.h\0stdint.h\0";
4569  *  Machine/OS name selection pattern
4570  */
4571 tSCC* apzHpux_C99_IntptrMachs[] = {
4572         "*-hp-hpux11.3*",
4573         (const char*)NULL };
4574 #define HPUX_C99_INTPTR_TEST_CT  0
4575 #define aHpux_C99_IntptrTests   (tTestDesc*)NULL
4578  *  Fix Command Arguments for Hpux_C99_Intptr
4579  */
4580 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4581     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4582     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4583     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4584     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4585     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4586     "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4587     (char*)NULL };
4589 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4591  *  Description of Hpux_C99_Inttypes fix
4592  */
4593 tSCC zHpux_C99_InttypesName[] =
4594      "hpux_c99_inttypes";
4597  *  File name selection pattern
4598  */
4599 tSCC zHpux_C99_InttypesList[] =
4600   "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4602  *  Machine/OS name selection pattern
4603  */
4604 tSCC* apzHpux_C99_InttypesMachs[] = {
4605         "*-hp-hpux11.[23]*",
4606         (const char*)NULL };
4607 #define HPUX_C99_INTTYPES_TEST_CT  0
4608 #define aHpux_C99_InttypesTests   (tTestDesc*)NULL
4611  *  Fix Command Arguments for Hpux_C99_Inttypes
4612  */
4613 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4614     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4615     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4616     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4617     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4618     (char*)NULL };
4620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4622  *  Description of Hpux_C99_Inttypes2 fix
4623  */
4624 tSCC zHpux_C99_Inttypes2Name[] =
4625      "hpux_c99_inttypes2";
4628  *  File name selection pattern
4629  */
4630 tSCC zHpux_C99_Inttypes2List[] =
4631   "stdint-hpux11.h\0stdint.h\0";
4633  *  Machine/OS name selection pattern
4634  */
4635 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4636         "*-hp-hpux11.2*",
4637         (const char*)NULL };
4638 #define HPUX_C99_INTTYPES2_TEST_CT  0
4639 #define aHpux_C99_Inttypes2Tests   (tTestDesc*)NULL
4642  *  Fix Command Arguments for Hpux_C99_Inttypes2
4643  */
4644 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4645     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4646     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4647     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4648     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4649     (char*)NULL };
4651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4653  *  Description of Hpux_Ctype_Macros fix
4654  */
4655 tSCC zHpux_Ctype_MacrosName[] =
4656      "hpux_ctype_macros";
4659  *  File name selection pattern
4660  */
4661 tSCC zHpux_Ctype_MacrosList[] =
4662   "ctype.h\0";
4664  *  Machine/OS name selection pattern
4665  */
4666 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4669  *  content selection pattern - do fix if pattern found
4670  */
4671 tSCC zHpux_Ctype_MacrosSelect0[] =
4672        "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4674 #define    HPUX_CTYPE_MACROS_TEST_CT  1
4675 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4676   { TT_EGREP,    zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4679  *  Fix Command Arguments for Hpux_Ctype_Macros
4680  */
4681 static const char* apzHpux_Ctype_MacrosPatch[] = {
4682     "format",
4683     "%1(int)%3",
4684     (char*)NULL };
4686 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4688  *  Description of Hpux_Extern_Errno fix
4689  */
4690 tSCC zHpux_Extern_ErrnoName[] =
4691      "hpux_extern_errno";
4694  *  File name selection pattern
4695  */
4696 tSCC zHpux_Extern_ErrnoList[] =
4697   "errno.h\0";
4699  *  Machine/OS name selection pattern
4700  */
4701 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4702         "*-hp-hpux10.*",
4703         "*-hp-hpux11.[0-2]*",
4704         (const char*)NULL };
4707  *  content selection pattern - do fix if pattern found
4708  */
4709 tSCC zHpux_Extern_ErrnoSelect0[] =
4710        "^[ \t]*extern int errno;$";
4712 #define    HPUX_EXTERN_ERRNO_TEST_CT  1
4713 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4714   { TT_EGREP,    zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4717  *  Fix Command Arguments for Hpux_Extern_Errno
4718  */
4719 static const char* apzHpux_Extern_ErrnoPatch[] = {
4720     "format",
4721     "#ifdef __cplusplus\n\
4722 extern \"C\" {\n\
4723 #endif\n\
4724 %0\n\
4725 #ifdef __cplusplus\n\
4726 }\n\
4727 #endif",
4728     (char*)NULL };
4730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4732  *  Description of Hpux_Htonl fix
4733  */
4734 tSCC zHpux_HtonlName[] =
4735      "hpux_htonl";
4738  *  File name selection pattern
4739  */
4740 tSCC zHpux_HtonlList[] =
4741   "netinet/in.h\0";
4743  *  Machine/OS name selection pattern
4744  */
4745 #define apzHpux_HtonlMachs (const char**)NULL
4748  *  content selection pattern - do fix if pattern found
4749  */
4750 tSCC zHpux_HtonlSelect0[] =
4751        "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4752 (/\\*\n\
4753  \\* Macros for number representation conversion\\.\n\
4754  \\*/\n\
4755 #ifndef ntohl)";
4757 #define    HPUX_HTONL_TEST_CT  1
4758 static tTestDesc aHpux_HtonlTests[] = {
4759   { TT_EGREP,    zHpux_HtonlSelect0, (regex_t*)NULL }, };
4762  *  Fix Command Arguments for Hpux_Htonl
4763  */
4764 static const char* apzHpux_HtonlPatch[] = {
4765     "format",
4766     "#if 1\n\
4767 %1",
4768     (char*)NULL };
4770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4772  *  Description of Hpux_Imaginary_I fix
4773  */
4774 tSCC zHpux_Imaginary_IName[] =
4775      "hpux_imaginary_i";
4778  *  File name selection pattern
4779  */
4780 tSCC zHpux_Imaginary_IList[] =
4781   "complex.h\0";
4783  *  Machine/OS name selection pattern
4784  */
4785 tSCC* apzHpux_Imaginary_IMachs[] = {
4786         "ia64-hp-hpux11.*",
4787         (const char*)NULL };
4790  *  content selection pattern - do fix if pattern found
4791  */
4792 tSCC zHpux_Imaginary_ISelect0[] =
4793        "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4795 #define    HPUX_IMAGINARY_I_TEST_CT  1
4796 static tTestDesc aHpux_Imaginary_ITests[] = {
4797   { TT_EGREP,    zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4800  *  Fix Command Arguments for Hpux_Imaginary_I
4801  */
4802 static const char* apzHpux_Imaginary_IPatch[] = {
4803     "format",
4804     "#define _Complex_I (__extension__ 1.0iF)",
4805     (char*)NULL };
4807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4809  *  Description of Hpux_Inttype_Int8_T fix
4810  */
4811 tSCC zHpux_Inttype_Int8_TName[] =
4812      "hpux_inttype_int8_t";
4815  *  File name selection pattern
4816  */
4817 tSCC zHpux_Inttype_Int8_TList[] =
4818   "sys/_inttypes.h\0";
4820  *  Machine/OS name selection pattern
4821  */
4822 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4823         "*-hp-hpux1[01].*",
4824         (const char*)NULL };
4827  *  content selection pattern - do fix if pattern found
4828  */
4829 tSCC zHpux_Inttype_Int8_TSelect0[] =
4830        "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4832 #define    HPUX_INTTYPE_INT8_T_TEST_CT  1
4833 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4834   { TT_EGREP,    zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4837  *  Fix Command Arguments for Hpux_Inttype_Int8_T
4838  */
4839 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4840     "format",
4841     "typedef signed char int%18_t;",
4842     (char*)NULL };
4844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4846  *  Description of Hpux_Long_Double fix
4847  */
4848 tSCC zHpux_Long_DoubleName[] =
4849      "hpux_long_double";
4852  *  File name selection pattern
4853  */
4854 tSCC zHpux_Long_DoubleList[] =
4855   "stdlib.h\0";
4857  *  Machine/OS name selection pattern
4858  */
4859 tSCC* apzHpux_Long_DoubleMachs[] = {
4860         "*-*-hpux10*",
4861         "*-*-hpux11.[012]*",
4862         (const char*)NULL };
4865  *  content selection pattern - do fix if pattern found
4866  */
4867 tSCC zHpux_Long_DoubleSelect0[] =
4868        "extern[ \t]long_double[ \t]strtold";
4871  *  content bypass pattern - skip fix if pattern found
4872  */
4873 tSCC zHpux_Long_DoubleBypass0[] =
4874        "long_double_t";
4876 #define    HPUX_LONG_DOUBLE_TEST_CT  2
4877 static tTestDesc aHpux_Long_DoubleTests[] = {
4878   { TT_NEGREP,   zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4879   { TT_EGREP,    zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4882  *  Fix Command Arguments for Hpux_Long_Double
4883  */
4884 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4885     "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4886     "-e", "s/long_double/long double/g",
4887     (char*)NULL };
4889 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4891  *  Description of Hpux_Long_Double_2 fix
4892  */
4893 tSCC zHpux_Long_Double_2Name[] =
4894      "hpux_long_double_2";
4897  *  File name selection pattern
4898  */
4899 tSCC zHpux_Long_Double_2List[] =
4900   "stdlib.h\0";
4902  *  Machine/OS name selection pattern
4903  */
4904 tSCC* apzHpux_Long_Double_2Machs[] = {
4905         "hppa*-*-hpux11.3*",
4906         (const char*)NULL };
4909  *  content selection pattern - do fix if pattern found
4910  */
4911 tSCC zHpux_Long_Double_2Select0[] =
4912        "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4914 #define    HPUX_LONG_DOUBLE_2_TEST_CT  1
4915 static tTestDesc aHpux_Long_Double_2Tests[] = {
4916   { TT_EGREP,    zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4919  *  Fix Command Arguments for Hpux_Long_Double_2
4920  */
4921 static const char* apzHpux_Long_Double_2Patch[] = {
4922     "format",
4923     "#  if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4924     (char*)NULL };
4926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4928  *  Description of Hpux_Pthread_Initializers fix
4929  */
4930 tSCC zHpux_Pthread_InitializersName[] =
4931      "hpux_pthread_initializers";
4934  *  File name selection pattern
4935  */
4936 tSCC zHpux_Pthread_InitializersList[] =
4937   "sys/pthread.h\0";
4939  *  Machine/OS name selection pattern
4940  */
4941 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4942         "*-hp-hpux11.[0-3]*",
4943         (const char*)NULL };
4944 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT  0
4945 #define aHpux_Pthread_InitializersTests   (tTestDesc*)NULL
4948  *  Fix Command Arguments for Hpux_Pthread_Initializers
4949  */
4950 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4951     "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4952     "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4953     "-e", "/^[ \t]*0$/d",
4954     "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4955     "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
4956     "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
4957     "-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\\\\@",
4958     "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
4959     "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
4960     "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
4961     "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
4962     "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
4963     "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
4964     (char*)NULL };
4966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4968  *  Description of Hpux_Spu_Info fix
4969  */
4970 tSCC zHpux_Spu_InfoName[] =
4971      "hpux_spu_info";
4974  *  File name selection pattern
4975  */
4976 tSCC zHpux_Spu_InfoList[] =
4977   "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
4979  *  Machine/OS name selection pattern
4980  */
4981 tSCC* apzHpux_Spu_InfoMachs[] = {
4982         "*-hp-hpux*",
4983         (const char*)NULL };
4986  *  content selection pattern - do fix if pattern found
4987  */
4988 tSCC zHpux_Spu_InfoSelect0[] =
4989        "^.*extern.*spu_info.*";
4991 #define    HPUX_SPU_INFO_TEST_CT  1
4992 static tTestDesc aHpux_Spu_InfoTests[] = {
4993   { TT_EGREP,    zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
4996  *  Fix Command Arguments for Hpux_Spu_Info
4997  */
4998 static const char* apzHpux_Spu_InfoPatch[] = {
4999     "format",
5000     "#ifdef _KERNEL\n\
5001 %0\n\
5002 #endif",
5003     (char*)NULL };
5005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5007  *  Description of Hpux_Stdint_Least_Fast fix
5008  */
5009 tSCC zHpux_Stdint_Least_FastName[] =
5010      "hpux_stdint_least_fast";
5013  *  File name selection pattern
5014  */
5015 tSCC zHpux_Stdint_Least_FastList[] =
5016   "stdint-hpux11.h\0stdint.h\0";
5018  *  Machine/OS name selection pattern
5019  */
5020 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5021         "*-hp-hpux11.2*",
5022         (const char*)NULL };
5025  *  content selection pattern - do fix if pattern found
5026  */
5027 tSCC zHpux_Stdint_Least_FastSelect0[] =
5028        "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5030 #define    HPUX_STDINT_LEAST_FAST_TEST_CT  1
5031 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5032   { TT_EGREP,    zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5035  *  Fix Command Arguments for Hpux_Stdint_Least_Fast
5036  */
5037 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5038     "format",
5039     "#  define\tUINT_%164_MAX\t__UINT64_MAX__",
5040     (char*)NULL };
5042 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5044  *  Description of Hpux_Systime fix
5045  */
5046 tSCC zHpux_SystimeName[] =
5047      "hpux_systime";
5050  *  File name selection pattern
5051  */
5052 tSCC zHpux_SystimeList[] =
5053   "sys/time.h\0";
5055  *  Machine/OS name selection pattern
5056  */
5057 #define apzHpux_SystimeMachs (const char**)NULL
5060  *  content selection pattern - do fix if pattern found
5061  */
5062 tSCC zHpux_SystimeSelect0[] =
5063        "^extern struct sigevent;";
5065 #define    HPUX_SYSTIME_TEST_CT  1
5066 static tTestDesc aHpux_SystimeTests[] = {
5067   { TT_EGREP,    zHpux_SystimeSelect0, (regex_t*)NULL }, };
5070  *  Fix Command Arguments for Hpux_Systime
5071  */
5072 static const char* apzHpux_SystimePatch[] = {
5073     "format",
5074     "struct sigevent;",
5075     (char*)NULL };
5077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5079  *  Description of Huge_Val_Hex fix
5080  */
5081 tSCC zHuge_Val_HexName[] =
5082      "huge_val_hex";
5085  *  File name selection pattern
5086  */
5087 tSCC zHuge_Val_HexList[] =
5088   "bits/huge_val.h\0*/bits/huge_val.h\0";
5090  *  Machine/OS name selection pattern
5091  */
5092 #define apzHuge_Val_HexMachs (const char**)NULL
5095  *  content selection pattern - do fix if pattern found
5096  */
5097 tSCC zHuge_Val_HexSelect0[] =
5098        "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5101  *  content bypass pattern - skip fix if pattern found
5102  */
5103 tSCC zHuge_Val_HexBypass0[] =
5104        "__builtin_huge_val";
5106 #define    HUGE_VAL_HEX_TEST_CT  2
5107 static tTestDesc aHuge_Val_HexTests[] = {
5108   { TT_NEGREP,   zHuge_Val_HexBypass0, (regex_t*)NULL },
5109   { TT_EGREP,    zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5112  *  Fix Command Arguments for Huge_Val_Hex
5113  */
5114 static const char* apzHuge_Val_HexPatch[] = {
5115     "format",
5116     "#define HUGE_VAL (__builtin_huge_val())\n",
5117     (char*)NULL };
5119 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5121  *  Description of Huge_Valf_Hex fix
5122  */
5123 tSCC zHuge_Valf_HexName[] =
5124      "huge_valf_hex";
5127  *  File name selection pattern
5128  */
5129 tSCC zHuge_Valf_HexList[] =
5130   "bits/huge_val.h\0*/bits/huge_val.h\0";
5132  *  Machine/OS name selection pattern
5133  */
5134 #define apzHuge_Valf_HexMachs (const char**)NULL
5137  *  content selection pattern - do fix if pattern found
5138  */
5139 tSCC zHuge_Valf_HexSelect0[] =
5140        "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5143  *  content bypass pattern - skip fix if pattern found
5144  */
5145 tSCC zHuge_Valf_HexBypass0[] =
5146        "__builtin_huge_valf";
5148 #define    HUGE_VALF_HEX_TEST_CT  2
5149 static tTestDesc aHuge_Valf_HexTests[] = {
5150   { TT_NEGREP,   zHuge_Valf_HexBypass0, (regex_t*)NULL },
5151   { TT_EGREP,    zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5154  *  Fix Command Arguments for Huge_Valf_Hex
5155  */
5156 static const char* apzHuge_Valf_HexPatch[] = {
5157     "format",
5158     "#define HUGE_VALF (__builtin_huge_valf())\n",
5159     (char*)NULL };
5161 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5163  *  Description of Huge_Vall_Hex fix
5164  */
5165 tSCC zHuge_Vall_HexName[] =
5166      "huge_vall_hex";
5169  *  File name selection pattern
5170  */
5171 tSCC zHuge_Vall_HexList[] =
5172   "bits/huge_val.h\0*/bits/huge_val.h\0";
5174  *  Machine/OS name selection pattern
5175  */
5176 #define apzHuge_Vall_HexMachs (const char**)NULL
5179  *  content selection pattern - do fix if pattern found
5180  */
5181 tSCC zHuge_Vall_HexSelect0[] =
5182        "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5185  *  content bypass pattern - skip fix if pattern found
5186  */
5187 tSCC zHuge_Vall_HexBypass0[] =
5188        "__builtin_huge_vall";
5190 #define    HUGE_VALL_HEX_TEST_CT  2
5191 static tTestDesc aHuge_Vall_HexTests[] = {
5192   { TT_NEGREP,   zHuge_Vall_HexBypass0, (regex_t*)NULL },
5193   { TT_EGREP,    zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5196  *  Fix Command Arguments for Huge_Vall_Hex
5197  */
5198 static const char* apzHuge_Vall_HexPatch[] = {
5199     "format",
5200     "#define HUGE_VALL (__builtin_huge_vall())\n",
5201     (char*)NULL };
5203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5205  *  Description of Int_Abort_Free_And_Exit fix
5206  */
5207 tSCC zInt_Abort_Free_And_ExitName[] =
5208      "int_abort_free_and_exit";
5211  *  File name selection pattern
5212  */
5213 tSCC zInt_Abort_Free_And_ExitList[] =
5214   "stdlib.h\0";
5216  *  Machine/OS name selection pattern
5217  */
5218 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5221  *  content selection pattern - do fix if pattern found
5222  */
5223 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5224        "int[ \t]+(abort|free|exit)[ \t]*\\(";
5227  *  content bypass pattern - skip fix if pattern found
5228  */
5229 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5230        "_CLASSIC_ANSI_TYPES";
5232 #define    INT_ABORT_FREE_AND_EXIT_TEST_CT  2
5233 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5234   { TT_NEGREP,   zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5235   { TT_EGREP,    zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5238  *  Fix Command Arguments for Int_Abort_Free_And_Exit
5239  */
5240 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5241     "format",
5242     "void\t%1(",
5243     (char*)NULL };
5245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5247  *  Description of Io_Quotes_Def fix
5248  */
5249 tSCC zIo_Quotes_DefName[] =
5250      "io_quotes_def";
5253  *  File name selection pattern
5254  */
5255 #define zIo_Quotes_DefList (char*)NULL
5257  *  Machine/OS name selection pattern
5258  */
5259 #define apzIo_Quotes_DefMachs (const char**)NULL
5262  *  content selection pattern - do fix if pattern found
5263  */
5264 tSCC zIo_Quotes_DefSelect0[] =
5265        "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5267 #define    IO_QUOTES_DEF_TEST_CT  1
5268 static tTestDesc aIo_Quotes_DefTests[] = {
5269   { TT_EGREP,    zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5272  *  Fix Command Arguments for Io_Quotes_Def
5273  */
5274 static const char* apzIo_Quotes_DefPatch[] = {
5275     "char_macro_def",
5276     "IO",
5277     (char*)NULL };
5279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5281  *  Description of Io_Quotes_Use fix
5282  */
5283 tSCC zIo_Quotes_UseName[] =
5284      "io_quotes_use";
5287  *  File name selection pattern
5288  */
5289 #define zIo_Quotes_UseList (char*)NULL
5291  *  Machine/OS name selection pattern
5292  */
5293 #define apzIo_Quotes_UseMachs (const char**)NULL
5296  *  content selection pattern - do fix if pattern found
5297  */
5298 tSCC zIo_Quotes_UseSelect0[] =
5299        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5301 #define    IO_QUOTES_USE_TEST_CT  1
5302 static tTestDesc aIo_Quotes_UseTests[] = {
5303   { TT_EGREP,    zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5306  *  Fix Command Arguments for Io_Quotes_Use
5307  */
5308 static const char* apzIo_Quotes_UsePatch[] = {
5309     "char_macro_use",
5310     "IO",
5311     (char*)NULL };
5313 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5315  *  Description of Ip_Missing_Semi fix
5316  */
5317 tSCC zIp_Missing_SemiName[] =
5318      "ip_missing_semi";
5321  *  File name selection pattern
5322  */
5323 tSCC zIp_Missing_SemiList[] =
5324   "netinet/ip.h\0";
5326  *  Machine/OS name selection pattern
5327  */
5328 #define apzIp_Missing_SemiMachs (const char**)NULL
5331  *  content selection pattern - do fix if pattern found
5332  */
5333 tSCC zIp_Missing_SemiSelect0[] =
5334        "}$";
5336 #define    IP_MISSING_SEMI_TEST_CT  1
5337 static tTestDesc aIp_Missing_SemiTests[] = {
5338   { TT_EGREP,    zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5341  *  Fix Command Arguments for Ip_Missing_Semi
5342  */
5343 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5344     "-e", "/^struct/,/^};/s/}$/};/",
5345     (char*)NULL };
5347 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5349  *  Description of Irix_Limits_Const fix
5350  */
5351 tSCC zIrix_Limits_ConstName[] =
5352      "irix_limits_const";
5355  *  File name selection pattern
5356  */
5357 tSCC zIrix_Limits_ConstList[] =
5358   "fixinc-test-limits.h\0limits.h\0";
5360  *  Machine/OS name selection pattern
5361  */
5362 #define apzIrix_Limits_ConstMachs (const char**)NULL
5365  *  content selection pattern - do fix if pattern found
5366  */
5367 tSCC zIrix_Limits_ConstSelect0[] =
5368        "^extern const ";
5370 #define    IRIX_LIMITS_CONST_TEST_CT  1
5371 static tTestDesc aIrix_Limits_ConstTests[] = {
5372   { TT_EGREP,    zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5375  *  Fix Command Arguments for Irix_Limits_Const
5376  */
5377 static const char* apzIrix_Limits_ConstPatch[] = {
5378     "format",
5379     "extern __const ",
5380     (char*)NULL };
5382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5384  *  Description of Irix_Stdio_Va_List fix
5385  */
5386 tSCC zIrix_Stdio_Va_ListName[] =
5387      "irix_stdio_va_list";
5390  *  File name selection pattern
5391  */
5392 tSCC zIrix_Stdio_Va_ListList[] =
5393   "stdio.h\0";
5395  *  Machine/OS name selection pattern
5396  */
5397 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5400  *  content selection pattern - do fix if pattern found
5401  */
5402 tSCC zIrix_Stdio_Va_ListSelect0[] =
5403        "/\\* va_list \\*/ char \\*";
5405 #define    IRIX_STDIO_VA_LIST_TEST_CT  1
5406 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5407   { TT_EGREP,    zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5410  *  Fix Command Arguments for Irix_Stdio_Va_List
5411  */
5412 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5413     "format",
5414     "__gnuc_va_list",
5415     (char*)NULL };
5417 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5419  *  Description of Kandr_Concat fix
5420  */
5421 tSCC zKandr_ConcatName[] =
5422      "kandr_concat";
5425  *  File name selection pattern
5426  */
5427 tSCC zKandr_ConcatList[] =
5428   "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";
5430  *  Machine/OS name selection pattern
5431  */
5432 #define apzKandr_ConcatMachs (const char**)NULL
5435  *  content selection pattern - do fix if pattern found
5436  */
5437 tSCC zKandr_ConcatSelect0[] =
5438        "/\\*\\*/";
5440 #define    KANDR_CONCAT_TEST_CT  1
5441 static tTestDesc aKandr_ConcatTests[] = {
5442   { TT_EGREP,    zKandr_ConcatSelect0, (regex_t*)NULL }, };
5445  *  Fix Command Arguments for Kandr_Concat
5446  */
5447 static const char* apzKandr_ConcatPatch[] = {
5448     "format",
5449     "##",
5450     (char*)NULL };
5452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5454  *  Description of Linux_Ia64_Ucontext fix
5455  */
5456 tSCC zLinux_Ia64_UcontextName[] =
5457      "linux_ia64_ucontext";
5460  *  File name selection pattern
5461  */
5462 tSCC zLinux_Ia64_UcontextList[] =
5463   "sys/ucontext.h\0";
5465  *  Machine/OS name selection pattern
5466  */
5467 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5468         "ia64-*-linux*",
5469         (const char*)NULL };
5472  *  content selection pattern - do fix if pattern found
5473  */
5474 tSCC zLinux_Ia64_UcontextSelect0[] =
5475        "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5477 #define    LINUX_IA64_UCONTEXT_TEST_CT  1
5478 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5479   { TT_EGREP,    zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5482  *  Fix Command Arguments for Linux_Ia64_Ucontext
5483  */
5484 static const char* apzLinux_Ia64_UcontextPatch[] = {
5485     "format",
5486     "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5487     (char*)NULL };
5489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5491  *  Description of Lynxos_No_Warning_In_Sys_Time_H fix
5492  */
5493 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5494      "lynxos_no_warning_in_sys_time_h";
5497  *  File name selection pattern
5498  */
5499 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5500   "sys/time.h\0";
5502  *  Machine/OS name selection pattern
5503  */
5504 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5507  *  content selection pattern - do fix if pattern found
5508  */
5509 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5510        "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5512 #define    LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT  1
5513 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5514   { TT_EGREP,    zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5517  *  Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5518  */
5519 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5520     "format",
5521     "",
5522     (char*)NULL };
5524 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5526  *  Description of Lynxos_Missing_Putenv fix
5527  */
5528 tSCC zLynxos_Missing_PutenvName[] =
5529      "lynxos_missing_putenv";
5532  *  File name selection pattern
5533  */
5534 tSCC zLynxos_Missing_PutenvList[] =
5535   "stdlib.h\0";
5537  *  Machine/OS name selection pattern
5538  */
5539 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5540         "*-*-lynxos*",
5541         (const char*)NULL };
5544  *  content selection pattern - do fix if pattern found
5545  */
5546 tSCC zLynxos_Missing_PutenvSelect0[] =
5547        "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5550  *  content bypass pattern - skip fix if pattern found
5551  */
5552 tSCC zLynxos_Missing_PutenvBypass0[] =
5553        "putenv[ \\t]*\\(";
5555 #define    LYNXOS_MISSING_PUTENV_TEST_CT  2
5556 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5557   { TT_NEGREP,   zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5558   { TT_EGREP,    zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5561  *  Fix Command Arguments for Lynxos_Missing_Putenv
5562  */
5563 static const char* apzLynxos_Missing_PutenvPatch[] = {
5564     "format",
5565     "%0\n\
5566 extern int putenv\t\t\t\t_AP((char *));",
5567     "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5568     (char*)NULL };
5570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5572  *  Description of Machine_Ansi_H_Va_List fix
5573  */
5574 tSCC zMachine_Ansi_H_Va_ListName[] =
5575      "machine_ansi_h_va_list";
5578  *  File name selection pattern
5579  */
5580 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5582  *  Machine/OS name selection pattern
5583  */
5584 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5587  *  content selection pattern - do fix if pattern found
5588  */
5589 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5590        "define[ \t]+_BSD_VA_LIST_[ \t]";
5593  *  content bypass pattern - skip fix if pattern found
5594  */
5595 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5596        "__builtin_va_list";
5598 #define    MACHINE_ANSI_H_VA_LIST_TEST_CT  2
5599 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5600   { TT_NEGREP,   zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5601   { TT_EGREP,    zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5604  *  Fix Command Arguments for Machine_Ansi_H_Va_List
5605  */
5606 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5607     "format",
5608     "%1__builtin_va_list",
5609     "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5610     (char*)NULL };
5612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5614  *  Description of Machine_Name fix
5615  */
5616 tSCC zMachine_NameName[] =
5617      "machine_name";
5620  *  File name selection pattern
5621  */
5622 #define zMachine_NameList (char*)NULL
5624  *  Machine/OS name selection pattern
5625  */
5626 #define apzMachine_NameMachs (const char**)NULL
5629  *  perform the C function call test
5630  */
5631 tSCC zMachine_NameFTst0[] = "machine_name";
5633 #define    MACHINE_NAME_TEST_CT  1
5634 static tTestDesc aMachine_NameTests[] = {
5635   { TT_FUNCTION, zMachine_NameFTst0,   0 /* unused */ }, };
5638  *  Fix Command Arguments for Machine_Name
5639  */
5640 static const char* apzMachine_NamePatch[] = {
5641     "machine_name",
5642     (char*)NULL };
5644 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5646  *  Description of Math_Exception fix
5647  */
5648 tSCC zMath_ExceptionName[] =
5649      "math_exception";
5652  *  File name selection pattern
5653  */
5654 tSCC zMath_ExceptionList[] =
5655   "math.h\0";
5657  *  Machine/OS name selection pattern
5658  */
5659 tSCC* apzMath_ExceptionMachs[] = {
5660         "*-*-solaris2.1[0-9]*",
5661         (const char*)NULL };
5664  *  content selection pattern - do fix if pattern found
5665  */
5666 tSCC zMath_ExceptionSelect0[] =
5667        "struct exception";
5670  *  content bypass pattern - skip fix if pattern found
5671  */
5672 tSCC zMath_ExceptionBypass0[] =
5673        "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5675 #define    MATH_EXCEPTION_TEST_CT  2
5676 static tTestDesc aMath_ExceptionTests[] = {
5677   { TT_NEGREP,   zMath_ExceptionBypass0, (regex_t*)NULL },
5678   { TT_EGREP,    zMath_ExceptionSelect0, (regex_t*)NULL }, };
5681  *  Fix Command Arguments for Math_Exception
5682  */
5683 static const char* apzMath_ExceptionPatch[] = {
5684     "wrap",
5685     "#ifdef __cplusplus\n\
5686 #define exception __math_exception\n\
5687 #endif\n",
5688     "#ifdef __cplusplus\n\
5689 #undef exception\n\
5690 #endif\n",
5691     (char*)NULL };
5693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5695  *  Description of Math_Huge_Val_From_Dbl_Max fix
5696  */
5697 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5698      "math_huge_val_from_dbl_max";
5701  *  File name selection pattern
5702  */
5703 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5704   "math.h\0";
5706  *  Machine/OS name selection pattern
5707  */
5708 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5711  *  content selection pattern - do fix if pattern found
5712  */
5713 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5714        "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5717  *  content bypass pattern - skip fix if pattern found
5718  */
5719 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5720        "define[ \t]+DBL_MAX";
5722 #define    MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT  2
5723 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5724   { TT_NEGREP,   zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5725   { TT_EGREP,    zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5728  *  Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5729  */
5730 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5731     "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5732 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5733 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5734 \telse cat\n\
5735 \tfi",
5736     (char*)NULL };
5738 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5740  *  Description of Nested_Auth_Des fix
5741  */
5742 tSCC zNested_Auth_DesName[] =
5743      "nested_auth_des";
5746  *  File name selection pattern
5747  */
5748 tSCC zNested_Auth_DesList[] =
5749   "rpc/rpc.h\0";
5751  *  Machine/OS name selection pattern
5752  */
5753 #define apzNested_Auth_DesMachs (const char**)NULL
5756  *  content selection pattern - do fix if pattern found
5757  */
5758 tSCC zNested_Auth_DesSelect0[] =
5759        "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5761 #define    NESTED_AUTH_DES_TEST_CT  1
5762 static tTestDesc aNested_Auth_DesTests[] = {
5763   { TT_EGREP,    zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5766  *  Fix Command Arguments for Nested_Auth_Des
5767  */
5768 static const char* apzNested_Auth_DesPatch[] = {
5769     "format",
5770     "%1*/ /*",
5771     (char*)NULL };
5773 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5775  *  Description of Netbsd_C99_Inline_1 fix
5776  */
5777 tSCC zNetbsd_C99_Inline_1Name[] =
5778      "netbsd_c99_inline_1";
5781  *  File name selection pattern
5782  */
5783 tSCC zNetbsd_C99_Inline_1List[] =
5784   "signal.h\0";
5786  *  Machine/OS name selection pattern
5787  */
5788 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5789         "*-*-netbsd*",
5790         (const char*)NULL };
5793  *  content selection pattern - do fix if pattern found
5794  */
5795 tSCC zNetbsd_C99_Inline_1Select0[] =
5796        "extern __inline int";
5798 #define    NETBSD_C99_INLINE_1_TEST_CT  1
5799 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5800   { TT_EGREP,    zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5803  *  Fix Command Arguments for Netbsd_C99_Inline_1
5804  */
5805 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5806     "format",
5807     "extern\n\
5808 #ifdef __GNUC_STDC_INLINE__\n\
5809 __attribute__((__gnu_inline__))\n\
5810 #endif\n\
5811 __inline int",
5812     (char*)NULL };
5814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5816  *  Description of Netbsd_C99_Inline_2 fix
5817  */
5818 tSCC zNetbsd_C99_Inline_2Name[] =
5819      "netbsd_c99_inline_2";
5822  *  File name selection pattern
5823  */
5824 tSCC zNetbsd_C99_Inline_2List[] =
5825   "signal.h\0";
5827  *  Machine/OS name selection pattern
5828  */
5829 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5830         "*-*-netbsd*",
5831         (const char*)NULL };
5834  *  content selection pattern - do fix if pattern found
5835  */
5836 tSCC zNetbsd_C99_Inline_2Select0[] =
5837        "#define _SIGINLINE extern __inline";
5839 #define    NETBSD_C99_INLINE_2_TEST_CT  1
5840 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5841   { TT_EGREP,    zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5844  *  Fix Command Arguments for Netbsd_C99_Inline_2
5845  */
5846 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5847     "format",
5848     "#ifdef __GNUC_STDC_INLINE__\n\
5849 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5850 #else\n\
5851 %0\n\
5852 #endif",
5853     (char*)NULL };
5855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5857  *  Description of Netbsd_Extra_Semicolon fix
5858  */
5859 tSCC zNetbsd_Extra_SemicolonName[] =
5860      "netbsd_extra_semicolon";
5863  *  File name selection pattern
5864  */
5865 tSCC zNetbsd_Extra_SemicolonList[] =
5866   "sys/cdefs.h\0";
5868  *  Machine/OS name selection pattern
5869  */
5870 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5871         "*-*-netbsd*",
5872         (const char*)NULL };
5875  *  content selection pattern - do fix if pattern found
5876  */
5877 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5878        "#define[ \t]*__END_DECLS[ \t]*};";
5880 #define    NETBSD_EXTRA_SEMICOLON_TEST_CT  1
5881 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5882   { TT_EGREP,    zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5885  *  Fix Command Arguments for Netbsd_Extra_Semicolon
5886  */
5887 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5888     "format",
5889     "#define __END_DECLS }",
5890     (char*)NULL };
5892 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5894  *  Description of Newlib_Stdint_1 fix
5895  */
5896 tSCC zNewlib_Stdint_1Name[] =
5897      "newlib_stdint_1";
5900  *  File name selection pattern
5901  */
5902 tSCC zNewlib_Stdint_1List[] =
5903   "stdint-newlib.h\0stdint.h\0";
5905  *  Machine/OS name selection pattern
5906  */
5907 #define apzNewlib_Stdint_1Machs (const char**)NULL
5910  *  content selection pattern - do fix if pattern found
5911  */
5912 tSCC zNewlib_Stdint_1Select0[] =
5913        "@todo - Add support for wint_t types";
5915 #define    NEWLIB_STDINT_1_TEST_CT  1
5916 static tTestDesc aNewlib_Stdint_1Tests[] = {
5917   { TT_EGREP,    zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
5920  *  Fix Command Arguments for Newlib_Stdint_1
5921  */
5922 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
5923     "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
5924     "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
5925     "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
5926     "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
5927     "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
5928     "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
5929     "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
5930     "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
5931     "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
5932     "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
5933     "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5934     "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
5935     "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
5936     "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
5937     (char*)NULL };
5939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5941  *  Description of Newlib_Stdint_2 fix
5942  */
5943 tSCC zNewlib_Stdint_2Name[] =
5944      "newlib_stdint_2";
5947  *  File name selection pattern
5948  */
5949 tSCC zNewlib_Stdint_2List[] =
5950   "stdint-newlib.h\0stdint.h\0";
5952  *  Machine/OS name selection pattern
5953  */
5954 #define apzNewlib_Stdint_2Machs (const char**)NULL
5957  *  content selection pattern - do fix if pattern found
5958  */
5959 tSCC zNewlib_Stdint_2Select0[] =
5960        "@todo - Add support for wint_t types";
5962 #define    NEWLIB_STDINT_2_TEST_CT  1
5963 static tTestDesc aNewlib_Stdint_2Tests[] = {
5964   { TT_EGREP,    zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
5967  *  Fix Command Arguments for Newlib_Stdint_2
5968  */
5969 static const char* apzNewlib_Stdint_2Patch[] = {
5970     "format",
5971     "#define INTMAX_MAX __INTMAX_MAX__\n\
5972 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
5973 #define UINTMAX_MAX __UINTMAX_MAX__\n\
5974 #define WCHAR_MAX __WCHAR_MAX__\n\
5975 #define WCHAR_MIN __WCHAR_MIN__\n\
5976 #define WINT_MAX __WINT_MAX__\n\
5977 #define WINT_MIN __WINT_MIN__\n\n\
5978 %0",
5979     "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
5980     (char*)NULL };
5982 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5984  *  Description of Next_Math_Prefix fix
5985  */
5986 tSCC zNext_Math_PrefixName[] =
5987      "next_math_prefix";
5990  *  File name selection pattern
5991  */
5992 tSCC zNext_Math_PrefixList[] =
5993   "ansi/math.h\0";
5995  *  Machine/OS name selection pattern
5996  */
5997 #define apzNext_Math_PrefixMachs (const char**)NULL
6000  *  content selection pattern - do fix if pattern found
6001  */
6002 tSCC zNext_Math_PrefixSelect0[] =
6003        "^extern[ \t]+double[ \t]+__const__[ \t]";
6005 #define    NEXT_MATH_PREFIX_TEST_CT  1
6006 static tTestDesc aNext_Math_PrefixTests[] = {
6007   { TT_EGREP,    zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6010  *  Fix Command Arguments for Next_Math_Prefix
6011  */
6012 static const char* apzNext_Math_PrefixPatch[] = {
6013     "format",
6014     "extern double %1(",
6015     "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6016     (char*)NULL };
6018 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6020  *  Description of Next_Template fix
6021  */
6022 tSCC zNext_TemplateName[] =
6023      "next_template";
6026  *  File name selection pattern
6027  */
6028 tSCC zNext_TemplateList[] =
6029   "bsd/libc.h\0";
6031  *  Machine/OS name selection pattern
6032  */
6033 #define apzNext_TemplateMachs (const char**)NULL
6036  *  content selection pattern - do fix if pattern found
6037  */
6038 tSCC zNext_TemplateSelect0[] =
6039        "[ \t]template\\)";
6041 #define    NEXT_TEMPLATE_TEST_CT  1
6042 static tTestDesc aNext_TemplateTests[] = {
6043   { TT_EGREP,    zNext_TemplateSelect0, (regex_t*)NULL }, };
6046  *  Fix Command Arguments for Next_Template
6047  */
6048 static const char* apzNext_TemplatePatch[] = {
6049     "format",
6050     "(%1)",
6051     "\\(([^)]*)[ \t]template\\)",
6052     (char*)NULL };
6054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6056  *  Description of Next_Volitile fix
6057  */
6058 tSCC zNext_VolitileName[] =
6059      "next_volitile";
6062  *  File name selection pattern
6063  */
6064 tSCC zNext_VolitileList[] =
6065   "ansi/stdlib.h\0";
6067  *  Machine/OS name selection pattern
6068  */
6069 #define apzNext_VolitileMachs (const char**)NULL
6072  *  content selection pattern - do fix if pattern found
6073  */
6074 tSCC zNext_VolitileSelect0[] =
6075        "^extern[ \t]+volatile[ \t]+void[ \t]";
6077 #define    NEXT_VOLITILE_TEST_CT  1
6078 static tTestDesc aNext_VolitileTests[] = {
6079   { TT_EGREP,    zNext_VolitileSelect0, (regex_t*)NULL }, };
6082  *  Fix Command Arguments for Next_Volitile
6083  */
6084 static const char* apzNext_VolitilePatch[] = {
6085     "format",
6086     "extern void %1(",
6087     "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6088     (char*)NULL };
6090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6092  *  Description of Next_Wait_Union fix
6093  */
6094 tSCC zNext_Wait_UnionName[] =
6095      "next_wait_union";
6098  *  File name selection pattern
6099  */
6100 tSCC zNext_Wait_UnionList[] =
6101   "sys/wait.h\0";
6103  *  Machine/OS name selection pattern
6104  */
6105 #define apzNext_Wait_UnionMachs (const char**)NULL
6108  *  content selection pattern - do fix if pattern found
6109  */
6110 tSCC zNext_Wait_UnionSelect0[] =
6111        "wait\\(union wait";
6113 #define    NEXT_WAIT_UNION_TEST_CT  1
6114 static tTestDesc aNext_Wait_UnionTests[] = {
6115   { TT_EGREP,    zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6118  *  Fix Command Arguments for Next_Wait_Union
6119  */
6120 static const char* apzNext_Wait_UnionPatch[] = {
6121     "format",
6122     "wait(void",
6123     (char*)NULL };
6125 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6127  *  Description of Nodeent_Syntax fix
6128  */
6129 tSCC zNodeent_SyntaxName[] =
6130      "nodeent_syntax";
6133  *  File name selection pattern
6134  */
6135 tSCC zNodeent_SyntaxList[] =
6136   "netdnet/dnetdb.h\0";
6138  *  Machine/OS name selection pattern
6139  */
6140 #define apzNodeent_SyntaxMachs (const char**)NULL
6143  *  content selection pattern - do fix if pattern found
6144  */
6145 tSCC zNodeent_SyntaxSelect0[] =
6146        "char[ \t]*\\*na_addr[ \t]*$";
6148 #define    NODEENT_SYNTAX_TEST_CT  1
6149 static tTestDesc aNodeent_SyntaxTests[] = {
6150   { TT_EGREP,    zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6153  *  Fix Command Arguments for Nodeent_Syntax
6154  */
6155 static const char* apzNodeent_SyntaxPatch[] = {
6156     "format",
6157     "%0;",
6158     (char*)NULL };
6160 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6162  *  Description of Openbsd_Null_Definition fix
6163  */
6164 tSCC zOpenbsd_Null_DefinitionName[] =
6165      "openbsd_null_definition";
6168  *  File name selection pattern
6169  */
6170 tSCC zOpenbsd_Null_DefinitionList[] =
6171   "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6173  *  Machine/OS name selection pattern
6174  */
6175 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6176         "*-*-openbsd*",
6177         (const char*)NULL };
6180  *  content selection pattern - do fix if pattern found
6181  */
6182 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6183        "__GNUG__";
6185 #define    OPENBSD_NULL_DEFINITION_TEST_CT  1
6186 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6187   { TT_EGREP,    zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6190  *  Fix Command Arguments for Openbsd_Null_Definition
6191  */
6192 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6193     "format",
6194     "#ifndef NULL\n\
6195 #ifdef __cplusplus\n\
6196 #ifdef __GNUG__\n\
6197 #define NULL\t__null\n\
6198 #else\t /* ! __GNUG__  */\n\
6199 #define NULL\t0L\n\
6200 #endif\t /* __GNUG__  */\n\
6201 #else\t /* ! __cplusplus  */\n\
6202 #define NULL\t((void *)0)\n\
6203 #endif\t /* __cplusplus  */\n\
6204 #endif\t /* !NULL  */",
6205     "^#ifndef[ \t]*NULL\n\
6206 ^#ifdef[ \t]*__GNUG__\n\
6207 ^#define[ \t]*NULL[ \t]*__null\n\
6208 ^#else\n\
6209 ^#define[ \t]*NULL[ \t]*0L\n\
6210 ^#endif\n\
6211 ^#endif",
6212     (char*)NULL };
6214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6216  *  Description of Obstack_Lvalue_Cast fix
6217  */
6218 tSCC zObstack_Lvalue_CastName[] =
6219      "obstack_lvalue_cast";
6222  *  File name selection pattern
6223  */
6224 tSCC zObstack_Lvalue_CastList[] =
6225   "obstack.h\0";
6227  *  Machine/OS name selection pattern
6228  */
6229 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6232  *  content selection pattern - do fix if pattern found
6233  */
6234 tSCC zObstack_Lvalue_CastSelect0[] =
6235        "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6237 #define    OBSTACK_LVALUE_CAST_TEST_CT  1
6238 static tTestDesc aObstack_Lvalue_CastTests[] = {
6239   { TT_EGREP,    zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6242  *  Fix Command Arguments for Obstack_Lvalue_Cast
6243  */
6244 static const char* apzObstack_Lvalue_CastPatch[] = {
6245     "format",
6246     "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6247     (char*)NULL };
6249 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6251  *  Description of Openbsd_Va_Start fix
6252  */
6253 tSCC zOpenbsd_Va_StartName[] =
6254      "openbsd_va_start";
6257  *  File name selection pattern
6258  */
6259 tSCC zOpenbsd_Va_StartList[] =
6260   "stdarg.h\0";
6262  *  Machine/OS name selection pattern
6263  */
6264 tSCC* apzOpenbsd_Va_StartMachs[] = {
6265         "*-*-openbsd*",
6266         (const char*)NULL };
6269  *  content selection pattern - do fix if pattern found
6270  */
6271 tSCC zOpenbsd_Va_StartSelect0[] =
6272        "__builtin_stdarg_start";
6274 #define    OPENBSD_VA_START_TEST_CT  1
6275 static tTestDesc aOpenbsd_Va_StartTests[] = {
6276   { TT_EGREP,    zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6279  *  Fix Command Arguments for Openbsd_Va_Start
6280  */
6281 static const char* apzOpenbsd_Va_StartPatch[] = {
6282     "format",
6283     "__builtin_va_start",
6284     (char*)NULL };
6286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6288  *  Description of Osf_Namespace_A fix
6289  */
6290 tSCC zOsf_Namespace_AName[] =
6291      "osf_namespace_a";
6294  *  File name selection pattern
6295  */
6296 tSCC zOsf_Namespace_AList[] =
6297   "reg_types.h\0sys/lc_core.h\0";
6299  *  Machine/OS name selection pattern
6300  */
6301 #define apzOsf_Namespace_AMachs (const char**)NULL
6304  *  perform the 'test' shell command - do fix on success
6305  */
6306 tSCC zOsf_Namespace_ATest0[] =
6307        " -r reg_types.h";
6308 tSCC zOsf_Namespace_ATest1[] =
6309        " -r sys/lc_core.h";
6310 tSCC zOsf_Namespace_ATest2[] =
6311        " -n \"`grep '} regex_t;' reg_types.h`\"";
6312 tSCC zOsf_Namespace_ATest3[] =
6313        " -z \"`grep __regex_t regex.h`\"";
6315 #define    OSF_NAMESPACE_A_TEST_CT  4
6316 static tTestDesc aOsf_Namespace_ATests[] = {
6317   { TT_TEST,     zOsf_Namespace_ATest0,   0 /* unused */ },
6318   { TT_TEST,     zOsf_Namespace_ATest1,   0 /* unused */ },
6319   { TT_TEST,     zOsf_Namespace_ATest2,   0 /* unused */ },
6320   { TT_TEST,     zOsf_Namespace_ATest3,   0 /* unused */ }, };
6323  *  Fix Command Arguments for Osf_Namespace_A
6324  */
6325 static const char* apzOsf_Namespace_APatch[] = {
6326     "format",
6327     "__%0",
6328     "reg(ex|off|match)_t",
6329     (char*)NULL };
6331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6333  *  Description of Osf_Namespace_C fix
6334  */
6335 tSCC zOsf_Namespace_CName[] =
6336      "osf_namespace_c";
6339  *  File name selection pattern
6340  */
6341 tSCC zOsf_Namespace_CList[] =
6342   "regex.h\0";
6344  *  Machine/OS name selection pattern
6345  */
6346 #define apzOsf_Namespace_CMachs (const char**)NULL
6349  *  content selection pattern - do fix if pattern found
6350  */
6351 tSCC zOsf_Namespace_CSelect0[] =
6352        "#include <reg_types.h>.*";
6355  *  perform the 'test' shell command - do fix on success
6356  */
6357 tSCC zOsf_Namespace_CTest0[] =
6358        " -r reg_types.h";
6359 tSCC zOsf_Namespace_CTest1[] =
6360        " -r sys/lc_core.h";
6361 tSCC zOsf_Namespace_CTest2[] =
6362        " -n \"`grep '} regex_t;' reg_types.h`\"";
6363 tSCC zOsf_Namespace_CTest3[] =
6364        " -z \"`grep __regex_t regex.h`\"";
6366 #define    OSF_NAMESPACE_C_TEST_CT  5
6367 static tTestDesc aOsf_Namespace_CTests[] = {
6368   { TT_TEST,     zOsf_Namespace_CTest0,   0 /* unused */ },
6369   { TT_TEST,     zOsf_Namespace_CTest1,   0 /* unused */ },
6370   { TT_TEST,     zOsf_Namespace_CTest2,   0 /* unused */ },
6371   { TT_TEST,     zOsf_Namespace_CTest3,   0 /* unused */ },
6372   { TT_EGREP,    zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6375  *  Fix Command Arguments for Osf_Namespace_C
6376  */
6377 static const char* apzOsf_Namespace_CPatch[] = {
6378     "format",
6379     "%0\n\
6380 typedef __regex_t\tregex_t;\n\
6381 typedef __regoff_t\tregoff_t;\n\
6382 typedef __regmatch_t\tregmatch_t;",
6383     (char*)NULL };
6385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6387  *  Description of Pthread_Incomplete_Struct_Argument fix
6388  */
6389 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6390      "pthread_incomplete_struct_argument";
6393  *  File name selection pattern
6394  */
6395 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6396   "pthread.h\0";
6398  *  Machine/OS name selection pattern
6399  */
6400 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6403  *  content selection pattern - do fix if pattern found
6404  */
6405 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6406        "struct __jmp_buf_tag";
6408 #define    PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT  1
6409 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6410   { TT_EGREP,    zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6413  *  Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6414  */
6415 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6416     "format",
6417     "%1 *%2%3",
6418     "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6419     (char*)NULL };
6421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6423  *  Description of Read_Ret_Type fix
6424  */
6425 tSCC zRead_Ret_TypeName[] =
6426      "read_ret_type";
6429  *  File name selection pattern
6430  */
6431 tSCC zRead_Ret_TypeList[] =
6432   "stdio.h\0";
6434  *  Machine/OS name selection pattern
6435  */
6436 #define apzRead_Ret_TypeMachs (const char**)NULL
6439  *  content selection pattern - do fix if pattern found
6440  */
6441 tSCC zRead_Ret_TypeSelect0[] =
6442        "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6444 #define    READ_RET_TYPE_TEST_CT  1
6445 static tTestDesc aRead_Ret_TypeTests[] = {
6446   { TT_EGREP,    zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6449  *  Fix Command Arguments for Read_Ret_Type
6450  */
6451 static const char* apzRead_Ret_TypePatch[] = {
6452     "format",
6453     "extern unsigned int fread(), fwrite();\n\
6454 %1%2",
6455     "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6456     (char*)NULL };
6458 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6460  *  Description of Rpc_Xdr_Lvalue_Cast_A fix
6461  */
6462 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6463      "rpc_xdr_lvalue_cast_a";
6466  *  File name selection pattern
6467  */
6468 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6469   "rpc/xdr.h\0";
6471  *  Machine/OS name selection pattern
6472  */
6473 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6476  *  content selection pattern - do fix if pattern found
6477  */
6478 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6479        "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6480 .*__extension__.*";
6482 #define    RPC_XDR_LVALUE_CAST_A_TEST_CT  1
6483 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6484   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6487  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6488  */
6489 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6490     "format",
6491     "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6492     (char*)NULL };
6494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6496  *  Description of Rpc_Xdr_Lvalue_Cast_B fix
6497  */
6498 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6499      "rpc_xdr_lvalue_cast_b";
6502  *  File name selection pattern
6503  */
6504 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6505   "rpc/xdr.h\0";
6507  *  Machine/OS name selection pattern
6508  */
6509 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6512  *  content selection pattern - do fix if pattern found
6513  */
6514 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6515        "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6516 .*__extension__.*";
6518 #define    RPC_XDR_LVALUE_CAST_B_TEST_CT  1
6519 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6520   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6523  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6524  */
6525 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6526     "format",
6527     "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6528     (char*)NULL };
6530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6532  *  Description of Rs6000_Double fix
6533  */
6534 tSCC zRs6000_DoubleName[] =
6535      "rs6000_double";
6538  *  File name selection pattern
6539  */
6540 tSCC zRs6000_DoubleList[] =
6541   "math.h\0";
6543  *  Machine/OS name selection pattern
6544  */
6545 #define apzRs6000_DoubleMachs (const char**)NULL
6548  *  content selection pattern - do fix if pattern found
6549  */
6550 tSCC zRs6000_DoubleSelect0[] =
6551        "[^a-zA-Z_]class\\(";
6553 #define    RS6000_DOUBLE_TEST_CT  1
6554 static tTestDesc aRs6000_DoubleTests[] = {
6555   { TT_EGREP,    zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6558  *  Fix Command Arguments for Rs6000_Double
6559  */
6560 static const char* apzRs6000_DoublePatch[] = {
6561     "format",
6562     "#ifndef __cplusplus\n\
6563 %0\n\
6564 #endif",
6565     "^.*[^a-zA-Z_]class\\(.*",
6566     (char*)NULL };
6568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6570  *  Description of Rs6000_Fchmod fix
6571  */
6572 tSCC zRs6000_FchmodName[] =
6573      "rs6000_fchmod";
6576  *  File name selection pattern
6577  */
6578 tSCC zRs6000_FchmodList[] =
6579   "sys/stat.h\0";
6581  *  Machine/OS name selection pattern
6582  */
6583 #define apzRs6000_FchmodMachs (const char**)NULL
6586  *  content selection pattern - do fix if pattern found
6587  */
6588 tSCC zRs6000_FchmodSelect0[] =
6589        "fchmod\\(char \\*";
6591 #define    RS6000_FCHMOD_TEST_CT  1
6592 static tTestDesc aRs6000_FchmodTests[] = {
6593   { TT_EGREP,    zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6596  *  Fix Command Arguments for Rs6000_Fchmod
6597  */
6598 static const char* apzRs6000_FchmodPatch[] = {
6599     "format",
6600     "fchmod(int",
6601     (char*)NULL };
6603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6605  *  Description of Rs6000_Param fix
6606  */
6607 tSCC zRs6000_ParamName[] =
6608      "rs6000_param";
6611  *  File name selection pattern
6612  */
6613 tSCC zRs6000_ParamList[] =
6614   "stdio.h\0unistd.h\0";
6616  *  Machine/OS name selection pattern
6617  */
6618 #define apzRs6000_ParamMachs (const char**)NULL
6621  *  content selection pattern - do fix if pattern found
6622  */
6623 tSCC zRs6000_ParamSelect0[] =
6624        "rename\\(const char \\*old, const char \\*new\\)";
6626 #define    RS6000_PARAM_TEST_CT  1
6627 static tTestDesc aRs6000_ParamTests[] = {
6628   { TT_EGREP,    zRs6000_ParamSelect0, (regex_t*)NULL }, };
6631  *  Fix Command Arguments for Rs6000_Param
6632  */
6633 static const char* apzRs6000_ParamPatch[] = {
6634     "format",
6635     "rename(const char *_old, const char *_new)",
6636     (char*)NULL };
6638 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6640  *  Description of Solaris___Restrict fix
6641  */
6642 tSCC zSolaris___RestrictName[] =
6643      "solaris___restrict";
6646  *  File name selection pattern
6647  */
6648 tSCC zSolaris___RestrictList[] =
6649   "sys/feature_tests.h\0";
6651  *  Machine/OS name selection pattern
6652  */
6653 tSCC* apzSolaris___RestrictMachs[] = {
6654         "*-*-solaris2*",
6655         (const char*)NULL };
6658  *  content selection pattern - do fix if pattern found
6659  */
6660 tSCC zSolaris___RestrictSelect0[] =
6661        "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6663 #define    SOLARIS___RESTRICT_TEST_CT  1
6664 static tTestDesc aSolaris___RestrictTests[] = {
6665   { TT_EGREP,    zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6668  *  Fix Command Arguments for Solaris___Restrict
6669  */
6670 static const char* apzSolaris___RestrictPatch[] = {
6671     "format",
6672     "#ifdef __cplusplus\n\
6673 #define\t_RESTRICT_KYWD\t__restrict\n\
6674 #else\n\
6675 %0\n\
6676 #endif",
6677     (char*)NULL };
6679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6681  *  Description of Solaris_Complex fix
6682  */
6683 tSCC zSolaris_ComplexName[] =
6684      "solaris_complex";
6687  *  File name selection pattern
6688  */
6689 tSCC zSolaris_ComplexList[] =
6690   "complex.h\0";
6692  *  Machine/OS name selection pattern
6693  */
6694 tSCC* apzSolaris_ComplexMachs[] = {
6695         "*-*-solaris2.*",
6696         (const char*)NULL };
6699  *  content selection pattern - do fix if pattern found
6700  */
6701 tSCC zSolaris_ComplexSelect0[] =
6702        "#define[ \t]_Complex_I[ \t]_Complex_I";
6704 #define    SOLARIS_COMPLEX_TEST_CT  1
6705 static tTestDesc aSolaris_ComplexTests[] = {
6706   { TT_EGREP,    zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6709  *  Fix Command Arguments for Solaris_Complex
6710  */
6711 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6712     "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6713     "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6714     "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6715     "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6716     (char*)NULL };
6718 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6720  *  Description of Solaris_Complex_Cxx fix
6721  */
6722 tSCC zSolaris_Complex_CxxName[] =
6723      "solaris_complex_cxx";
6726  *  File name selection pattern
6727  */
6728 tSCC zSolaris_Complex_CxxList[] =
6729   "complex.h\0";
6731  *  Machine/OS name selection pattern
6732  */
6733 tSCC* apzSolaris_Complex_CxxMachs[] = {
6734         "*-*-solaris2.*",
6735         (const char*)NULL };
6736 #define SOLARIS_COMPLEX_CXX_TEST_CT  0
6737 #define aSolaris_Complex_CxxTests   (tTestDesc*)NULL
6740  *  Fix Command Arguments for Solaris_Complex_Cxx
6741  */
6742 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6743     "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6744 #ifdef\t__cplusplus\\\n\
6745 extern \"C\" {\\\n\
6746 #endif",
6747     "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6748 #ifdef\t__cplusplus\\\n\
6749 }\\\n\
6750 #endif",
6751     (char*)NULL };
6753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6755  *  Description of Solaris_Cxx_Linkage fix
6756  */
6757 tSCC zSolaris_Cxx_LinkageName[] =
6758      "solaris_cxx_linkage";
6761  *  File name selection pattern
6762  */
6763 tSCC zSolaris_Cxx_LinkageList[] =
6764   "iso/stdlib_iso.h\0";
6766  *  Machine/OS name selection pattern
6767  */
6768 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6769         "*-*-solaris2*",
6770         (const char*)NULL };
6773  *  content selection pattern - do fix if pattern found
6774  */
6775 tSCC zSolaris_Cxx_LinkageSelect0[] =
6776        "(#if __cplusplus >= 199711L)\n\
6777 (extern \"C\\+\\+\" \\{\n\
6778 )(.*(bsearch|qsort).*)";
6780 #define    SOLARIS_CXX_LINKAGE_TEST_CT  1
6781 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6782   { TT_EGREP,    zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6785  *  Fix Command Arguments for Solaris_Cxx_Linkage
6786  */
6787 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6788     "format",
6789     "%1 && !__GNUG__\n\
6790 %2%3",
6791     (char*)NULL };
6793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6795  *  Description of Solaris_Getc_Strict_Stdc fix
6796  */
6797 tSCC zSolaris_Getc_Strict_StdcName[] =
6798      "solaris_getc_strict_stdc";
6801  *  File name selection pattern
6802  */
6803 tSCC zSolaris_Getc_Strict_StdcList[] =
6804   "iso/stdio_iso.h\0";
6806  *  Machine/OS name selection pattern
6807  */
6808 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6809         "*-*-solaris2*",
6810         (const char*)NULL };
6813  *  content selection pattern - do fix if pattern found
6814  */
6815 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6816        "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6818 #define    SOLARIS_GETC_STRICT_STDC_TEST_CT  1
6819 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6820   { TT_EGREP,    zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6823  *  Fix Command Arguments for Solaris_Getc_Strict_Stdc
6824  */
6825 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6826     "format",
6827     "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6828     (char*)NULL };
6830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6832  *  Description of Solaris_Int_Const fix
6833  */
6834 tSCC zSolaris_Int_ConstName[] =
6835      "solaris_int_const";
6838  *  File name selection pattern
6839  */
6840 tSCC zSolaris_Int_ConstList[] =
6841   "sys/int_const.h\0";
6843  *  Machine/OS name selection pattern
6844  */
6845 tSCC* apzSolaris_Int_ConstMachs[] = {
6846         "*-*-solaris2*",
6847         (const char*)NULL };
6850  *  content selection pattern - do fix if pattern found
6851  */
6852 tSCC zSolaris_Int_ConstSelect0[] =
6853        "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6854 (/*.**/)\n\
6855 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6857 #define    SOLARIS_INT_CONST_TEST_CT  1
6858 static tTestDesc aSolaris_Int_ConstTests[] = {
6859   { TT_EGREP,    zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6862  *  Fix Command Arguments for Solaris_Int_Const
6863  */
6864 static const char* apzSolaris_Int_ConstPatch[] = {
6865     "format",
6866     "#define\tUINT8_C(c)\t(c)\n\
6867 %1\n\
6868 #define\tUINT16_C(c)\t(c)",
6869     (char*)NULL };
6871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6873  *  Description of Solaris_Int_Limits_1 fix
6874  */
6875 tSCC zSolaris_Int_Limits_1Name[] =
6876      "solaris_int_limits_1";
6879  *  File name selection pattern
6880  */
6881 tSCC zSolaris_Int_Limits_1List[] =
6882   "sys/int_limits.h\0";
6884  *  Machine/OS name selection pattern
6885  */
6886 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6887         "*-*-solaris2*",
6888         (const char*)NULL };
6891  *  content selection pattern - do fix if pattern found
6892  */
6893 tSCC zSolaris_Int_Limits_1Select0[] =
6894        "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6895 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6897 #define    SOLARIS_INT_LIMITS_1_TEST_CT  1
6898 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6899   { TT_EGREP,    zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6902  *  Fix Command Arguments for Solaris_Int_Limits_1
6903  */
6904 static const char* apzSolaris_Int_Limits_1Patch[] = {
6905     "format",
6906     "#define\tUINT8_MAX\t(255)\n\
6907 #define\tUINT16_MAX\t(65535)",
6908     (char*)NULL };
6910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6912  *  Description of Solaris_Int_Limits_2 fix
6913  */
6914 tSCC zSolaris_Int_Limits_2Name[] =
6915      "solaris_int_limits_2";
6918  *  File name selection pattern
6919  */
6920 tSCC zSolaris_Int_Limits_2List[] =
6921   "sys/int_limits.h\0";
6923  *  Machine/OS name selection pattern
6924  */
6925 tSCC* apzSolaris_Int_Limits_2Machs[] = {
6926         "*-*-solaris2*",
6927         (const char*)NULL };
6930  *  content selection pattern - do fix if pattern found
6931  */
6932 tSCC zSolaris_Int_Limits_2Select0[] =
6933        "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
6935 #define    SOLARIS_INT_LIMITS_2_TEST_CT  1
6936 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
6937   { TT_EGREP,    zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
6940  *  Fix Command Arguments for Solaris_Int_Limits_2
6941  */
6942 static const char* apzSolaris_Int_Limits_2Patch[] = {
6943     "format",
6944     "#define\t%1_FAST16_%2 %132_%2",
6945     (char*)NULL };
6947 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6949  *  Description of Solaris_Int_Limits_3 fix
6950  */
6951 tSCC zSolaris_Int_Limits_3Name[] =
6952      "solaris_int_limits_3";
6955  *  File name selection pattern
6956  */
6957 tSCC zSolaris_Int_Limits_3List[] =
6958   "sys/int_limits.h\0";
6960  *  Machine/OS name selection pattern
6961  */
6962 tSCC* apzSolaris_Int_Limits_3Machs[] = {
6963         "*-*-solaris2*",
6964         (const char*)NULL };
6967  *  content selection pattern - do fix if pattern found
6968  */
6969 tSCC zSolaris_Int_Limits_3Select0[] =
6970        "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
6972 #define    SOLARIS_INT_LIMITS_3_TEST_CT  1
6973 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
6974   { TT_EGREP,    zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
6977  *  Fix Command Arguments for Solaris_Int_Limits_3
6978  */
6979 static const char* apzSolaris_Int_Limits_3Patch[] = {
6980     "format",
6981     "#define\tSIZE_MAX\t4294967295U",
6982     (char*)NULL };
6984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6986  *  Description of Solaris_Math_1 fix
6987  */
6988 tSCC zSolaris_Math_1Name[] =
6989      "solaris_math_1";
6992  *  File name selection pattern
6993  */
6994 tSCC zSolaris_Math_1List[] =
6995   "iso/math_c99.h\0";
6997  *  Machine/OS name selection pattern
6998  */
6999 #define apzSolaris_Math_1Machs (const char**)NULL
7002  *  content selection pattern - do fix if pattern found
7003  */
7004 tSCC zSolaris_Math_1Select0[] =
7005        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7008  *  content bypass pattern - skip fix if pattern found
7009  */
7010 tSCC zSolaris_Math_1Bypass0[] =
7011        "__GNUC__";
7013 #define    SOLARIS_MATH_1_TEST_CT  2
7014 static tTestDesc aSolaris_Math_1Tests[] = {
7015   { TT_NEGREP,   zSolaris_Math_1Bypass0, (regex_t*)NULL },
7016   { TT_EGREP,    zSolaris_Math_1Select0, (regex_t*)NULL }, };
7019  *  Fix Command Arguments for Solaris_Math_1
7020  */
7021 static const char* apzSolaris_Math_1Patch[] = {
7022     "format",
7023     "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7024     "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7025     (char*)NULL };
7027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7029  *  Description of Solaris_Math_10 fix
7030  */
7031 tSCC zSolaris_Math_10Name[] =
7032      "solaris_math_10";
7035  *  File name selection pattern
7036  */
7037 tSCC zSolaris_Math_10List[] =
7038   "iso/math_c99.h\0";
7040  *  Machine/OS name selection pattern
7041  */
7042 #define apzSolaris_Math_10Machs (const char**)NULL
7045  *  content selection pattern - do fix if pattern found
7046  */
7047 tSCC zSolaris_Math_10Select0[] =
7048        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7050 #define    SOLARIS_MATH_10_TEST_CT  1
7051 static tTestDesc aSolaris_Math_10Tests[] = {
7052   { TT_EGREP,    zSolaris_Math_10Select0, (regex_t*)NULL }, };
7055  *  Fix Command Arguments for Solaris_Math_10
7056  */
7057 static const char* apzSolaris_Math_10Patch[] = {
7058     "format",
7059     "#define\tisinf(x) __builtin_isinf(x)",
7060     "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7061 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7062 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7063 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7064     (char*)NULL };
7066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7068  *  Description of Solaris_Math_2 fix
7069  */
7070 tSCC zSolaris_Math_2Name[] =
7071      "solaris_math_2";
7074  *  File name selection pattern
7075  */
7076 tSCC zSolaris_Math_2List[] =
7077   "iso/math_c99.h\0";
7079  *  Machine/OS name selection pattern
7080  */
7081 #define apzSolaris_Math_2Machs (const char**)NULL
7084  *  content selection pattern - do fix if pattern found
7085  */
7086 tSCC zSolaris_Math_2Select0[] =
7087        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7090  *  content bypass pattern - skip fix if pattern found
7091  */
7092 tSCC zSolaris_Math_2Bypass0[] =
7093        "__GNUC__";
7095 #define    SOLARIS_MATH_2_TEST_CT  2
7096 static tTestDesc aSolaris_Math_2Tests[] = {
7097   { TT_NEGREP,   zSolaris_Math_2Bypass0, (regex_t*)NULL },
7098   { TT_EGREP,    zSolaris_Math_2Select0, (regex_t*)NULL }, };
7101  *  Fix Command Arguments for Solaris_Math_2
7102  */
7103 static const char* apzSolaris_Math_2Patch[] = {
7104     "format",
7105     "#define\tINFINITY\t(__builtin_inff())",
7106     "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7107     (char*)NULL };
7109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7111  *  Description of Solaris_Math_3 fix
7112  */
7113 tSCC zSolaris_Math_3Name[] =
7114      "solaris_math_3";
7117  *  File name selection pattern
7118  */
7119 tSCC zSolaris_Math_3List[] =
7120   "iso/math_c99.h\0";
7122  *  Machine/OS name selection pattern
7123  */
7124 #define apzSolaris_Math_3Machs (const char**)NULL
7127  *  content selection pattern - do fix if pattern found
7128  */
7129 tSCC zSolaris_Math_3Select0[] =
7130        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7133  *  content bypass pattern - skip fix if pattern found
7134  */
7135 tSCC zSolaris_Math_3Bypass0[] =
7136        "__GNUC__";
7138 #define    SOLARIS_MATH_3_TEST_CT  2
7139 static tTestDesc aSolaris_Math_3Tests[] = {
7140   { TT_NEGREP,   zSolaris_Math_3Bypass0, (regex_t*)NULL },
7141   { TT_EGREP,    zSolaris_Math_3Select0, (regex_t*)NULL }, };
7144  *  Fix Command Arguments for Solaris_Math_3
7145  */
7146 static const char* apzSolaris_Math_3Patch[] = {
7147     "format",
7148     "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7149     "^#define[ \t]+NAN[ \t]+__builtin_nan",
7150     (char*)NULL };
7152 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7154  *  Description of Solaris_Math_4 fix
7155  */
7156 tSCC zSolaris_Math_4Name[] =
7157      "solaris_math_4";
7160  *  File name selection pattern
7161  */
7162 tSCC zSolaris_Math_4List[] =
7163   "iso/math_c99.h\0";
7165  *  Machine/OS name selection pattern
7166  */
7167 #define apzSolaris_Math_4Machs (const char**)NULL
7170  *  content selection pattern - do fix if pattern found
7171  */
7172 tSCC zSolaris_Math_4Select0[] =
7173        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7176  *  content bypass pattern - skip fix if pattern found
7177  */
7178 tSCC zSolaris_Math_4Bypass0[] =
7179        "__GNUC__";
7181 #define    SOLARIS_MATH_4_TEST_CT  2
7182 static tTestDesc aSolaris_Math_4Tests[] = {
7183   { TT_NEGREP,   zSolaris_Math_4Bypass0, (regex_t*)NULL },
7184   { TT_EGREP,    zSolaris_Math_4Select0, (regex_t*)NULL }, };
7187  *  Fix Command Arguments for Solaris_Math_4
7188  */
7189 static const char* apzSolaris_Math_4Patch[] = {
7190     "format",
7191     "#define\tfpclassify(x) \\\n\
7192   __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7193     "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7194     (char*)NULL };
7196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7198  *  Description of Solaris_Math_8 fix
7199  */
7200 tSCC zSolaris_Math_8Name[] =
7201      "solaris_math_8";
7204  *  File name selection pattern
7205  */
7206 tSCC zSolaris_Math_8List[] =
7207   "iso/math_c99.h\0";
7209  *  Machine/OS name selection pattern
7210  */
7211 #define apzSolaris_Math_8Machs (const char**)NULL
7214  *  content selection pattern - do fix if pattern found
7215  */
7216 tSCC zSolaris_Math_8Select0[] =
7217        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7220  *  content bypass pattern - skip fix if pattern found
7221  */
7222 tSCC zSolaris_Math_8Bypass0[] =
7223        "__GNUC__";
7225 #define    SOLARIS_MATH_8_TEST_CT  2
7226 static tTestDesc aSolaris_Math_8Tests[] = {
7227   { TT_NEGREP,   zSolaris_Math_8Bypass0, (regex_t*)NULL },
7228   { TT_EGREP,    zSolaris_Math_8Select0, (regex_t*)NULL }, };
7231  *  Fix Command Arguments for Solaris_Math_8
7232  */
7233 static const char* apzSolaris_Math_8Patch[] = {
7234     "format",
7235     "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7236 \t\t\t   ? __builtin_signbitf(x) \\\n\
7237 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
7238 \t\t\t     ? __builtin_signbitl(x) \\\n\
7239 \t\t\t     : __builtin_signbit(x))",
7240     "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7241     (char*)NULL };
7243 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7245  *  Description of Solaris_Math_9 fix
7246  */
7247 tSCC zSolaris_Math_9Name[] =
7248      "solaris_math_9";
7251  *  File name selection pattern
7252  */
7253 tSCC zSolaris_Math_9List[] =
7254   "iso/math_c99.h\0";
7256  *  Machine/OS name selection pattern
7257  */
7258 #define apzSolaris_Math_9Machs (const char**)NULL
7261  *  content selection pattern - do fix if pattern found
7262  */
7263 tSCC zSolaris_Math_9Select0[] =
7264        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7267  *  content bypass pattern - skip fix if pattern found
7268  */
7269 tSCC zSolaris_Math_9Bypass0[] =
7270        "__GNUC__";
7272 #define    SOLARIS_MATH_9_TEST_CT  2
7273 static tTestDesc aSolaris_Math_9Tests[] = {
7274   { TT_NEGREP,   zSolaris_Math_9Bypass0, (regex_t*)NULL },
7275   { TT_EGREP,    zSolaris_Math_9Select0, (regex_t*)NULL }, };
7278  *  Fix Command Arguments for Solaris_Math_9
7279  */
7280 static const char* apzSolaris_Math_9Patch[] = {
7281     "format",
7282     "#define\t%1(x, y)%2__builtin_%1(x, y)",
7283     "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7284     (char*)NULL };
7286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7288  *  Description of Solaris_Math_11 fix
7289  */
7290 tSCC zSolaris_Math_11Name[] =
7291      "solaris_math_11";
7294  *  File name selection pattern
7295  */
7296 tSCC zSolaris_Math_11List[] =
7297   "iso/math_c99.h\0";
7299  *  Machine/OS name selection pattern
7300  */
7301 #define apzSolaris_Math_11Machs (const char**)NULL
7304  *  content selection pattern - do fix if pattern found
7305  */
7306 tSCC zSolaris_Math_11Select0[] =
7307        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7309 #define    SOLARIS_MATH_11_TEST_CT  1
7310 static tTestDesc aSolaris_Math_11Tests[] = {
7311   { TT_EGREP,    zSolaris_Math_11Select0, (regex_t*)NULL }, };
7314  *  Fix Command Arguments for Solaris_Math_11
7315  */
7316 static const char* apzSolaris_Math_11Patch[] = {
7317     "format",
7318     "#undef\tsignbit\n\
7319 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7320 \t\t\t   ? __builtin_signbitf(x) \\\n\
7321 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
7322 \t\t\t     ? __builtin_signbitl(x) \\\n\
7323 \t\t\t     : __builtin_signbit(x))",
7324     "^#undef[ \t]+signbit\n\
7325 #if defined\\(__sparc\\)\n\
7326 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7327 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7328 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7329 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7330 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7331 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7332 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7333 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7334 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7335 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7336 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7337 #endif",
7338     (char*)NULL };
7340 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7342  *  Description of Solaris_Once_Init_1 fix
7343  */
7344 tSCC zSolaris_Once_Init_1Name[] =
7345      "solaris_once_init_1";
7348  *  File name selection pattern
7349  */
7350 tSCC zSolaris_Once_Init_1List[] =
7351   "pthread.h\0";
7353  *  Machine/OS name selection pattern
7354  */
7355 tSCC* apzSolaris_Once_Init_1Machs[] = {
7356         "*-*-solaris*",
7357         (const char*)NULL };
7360  *  content selection pattern - do fix if pattern found
7361  */
7362 tSCC zSolaris_Once_Init_1Select0[] =
7363        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7365 #define    SOLARIS_ONCE_INIT_1_TEST_CT  1
7366 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7367   { TT_EGREP,    zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7370  *  Fix Command Arguments for Solaris_Once_Init_1
7371  */
7372 static const char* apzSolaris_Once_Init_1Patch[] = {
7373     "format",
7374     "%1{%2}%3",
7375     "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7376     (char*)NULL };
7378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7380  *  Description of Solaris_Posix_Spawn_Restrict fix
7381  */
7382 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7383      "solaris_posix_spawn_restrict";
7386  *  File name selection pattern
7387  */
7388 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7389   "spawn.h\0";
7391  *  Machine/OS name selection pattern
7392  */
7393 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7394         "*-*-solaris2*",
7395         (const char*)NULL };
7398  *  content selection pattern - do fix if pattern found
7399  */
7400 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7401        "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7403 #define    SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT  1
7404 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7405   { TT_EGREP,    zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7408  *  Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7409  */
7410 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7411     "format",
7412     "%1*_RESTRICT_KYWD %2%3",
7413     (char*)NULL };
7415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7417  *  Description of Solaris_Pow_Int_Overload fix
7418  */
7419 tSCC zSolaris_Pow_Int_OverloadName[] =
7420      "solaris_pow_int_overload";
7423  *  File name selection pattern
7424  */
7425 tSCC zSolaris_Pow_Int_OverloadList[] =
7426   "iso/math_iso.h\0";
7428  *  Machine/OS name selection pattern
7429  */
7430 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7431         "*-*-solaris2*",
7432         (const char*)NULL };
7435  *  content selection pattern - do fix if pattern found
7436  */
7437 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7438        "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7439 [^{}]*\\}";
7441 #define    SOLARIS_POW_INT_OVERLOAD_TEST_CT  1
7442 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7443   { TT_EGREP,    zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7446  *  Fix Command Arguments for Solaris_Pow_Int_Overload
7447  */
7448 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7449     "format",
7450     "#if __cplusplus < 201103L\n\
7451 %0\n\
7452 #endif",
7453     (char*)NULL };
7455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7457  *  Description of Solaris_Rwlock_Init_1 fix
7458  */
7459 tSCC zSolaris_Rwlock_Init_1Name[] =
7460      "solaris_rwlock_init_1";
7463  *  File name selection pattern
7464  */
7465 tSCC zSolaris_Rwlock_Init_1List[] =
7466   "pthread.h\0";
7468  *  Machine/OS name selection pattern
7469  */
7470 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7471         "*-*-solaris*",
7472         (const char*)NULL };
7475  *  content selection pattern - do fix if pattern found
7476  */
7477 tSCC zSolaris_Rwlock_Init_1Select0[] =
7478        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7480 #define    SOLARIS_RWLOCK_INIT_1_TEST_CT  1
7481 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7482   { TT_EGREP,    zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7485  *  Fix Command Arguments for Solaris_Rwlock_Init_1
7486  */
7487 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7488     "format",
7489     "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7490 %0\n\
7491 #else\n\
7492 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7493 #endif",
7494     "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7495     (char*)NULL };
7497 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7499  *  Description of Solaris_Std___Filbuf fix
7500  */
7501 tSCC zSolaris_Std___FilbufName[] =
7502      "solaris_std___filbuf";
7505  *  File name selection pattern
7506  */
7507 tSCC zSolaris_Std___FilbufList[] =
7508   "stdio.h\0";
7510  *  Machine/OS name selection pattern
7511  */
7512 tSCC* apzSolaris_Std___FilbufMachs[] = {
7513         "*-*-solaris2*",
7514         (const char*)NULL };
7517  *  content selection pattern - do fix if pattern found
7518  */
7519 tSCC zSolaris_Std___FilbufSelect0[] =
7520        "(using std::perror;\n\
7521 )(#endif)";
7524  *  content bypass pattern - skip fix if pattern found
7525  */
7526 tSCC zSolaris_Std___FilbufBypass0[] =
7527        "using std::__filbuf";
7529 #define    SOLARIS_STD___FILBUF_TEST_CT  2
7530 static tTestDesc aSolaris_Std___FilbufTests[] = {
7531   { TT_NEGREP,   zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7532   { TT_EGREP,    zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7535  *  Fix Command Arguments for Solaris_Std___Filbuf
7536  */
7537 static const char* apzSolaris_Std___FilbufPatch[] = {
7538     "format",
7539     "%1#ifndef _LP64\n\
7540 using std::__filbuf;\n\
7541 using std::__flsbuf;\n\
7542 #endif\n\
7543 %2",
7544     (char*)NULL };
7546 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7548  *  Description of Solaris_Stdio_Tag fix
7549  */
7550 tSCC zSolaris_Stdio_TagName[] =
7551      "solaris_stdio_tag";
7554  *  File name selection pattern
7555  */
7556 tSCC zSolaris_Stdio_TagList[] =
7557   "stdio_tag.h\0";
7559  *  Machine/OS name selection pattern
7560  */
7561 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7564  *  content selection pattern - do fix if pattern found
7565  */
7566 tSCC zSolaris_Stdio_TagSelect0[] =
7567        "__cplusplus < 54321L";
7570  *  content bypass pattern - skip fix if pattern found
7571  */
7572 tSCC zSolaris_Stdio_TagBypass0[] =
7573        "__GNUC__";
7575 #define    SOLARIS_STDIO_TAG_TEST_CT  2
7576 static tTestDesc aSolaris_Stdio_TagTests[] = {
7577   { TT_NEGREP,   zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7578   { TT_EGREP,    zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7581  *  Fix Command Arguments for Solaris_Stdio_Tag
7582  */
7583 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7584     "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7585     (char*)NULL };
7587 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7589  *  Description of Statsswtch fix
7590  */
7591 tSCC zStatsswtchName[] =
7592      "statsswtch";
7595  *  File name selection pattern
7596  */
7597 tSCC zStatsswtchList[] =
7598   "rpcsvc/rstat.h\0";
7600  *  Machine/OS name selection pattern
7601  */
7602 #define apzStatsswtchMachs (const char**)NULL
7605  *  content selection pattern - do fix if pattern found
7606  */
7607 tSCC zStatsswtchSelect0[] =
7608        "boottime$";
7610 #define    STATSSWTCH_TEST_CT  1
7611 static tTestDesc aStatsswtchTests[] = {
7612   { TT_EGREP,    zStatsswtchSelect0, (regex_t*)NULL }, };
7615  *  Fix Command Arguments for Statsswtch
7616  */
7617 static const char* apzStatsswtchPatch[] = {
7618     "format",
7619     "boottime;",
7620     (char*)NULL };
7622 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7624  *  Description of Stdio_Stdarg_H fix
7625  */
7626 tSCC zStdio_Stdarg_HName[] =
7627      "stdio_stdarg_h";
7630  *  File name selection pattern
7631  */
7632 tSCC zStdio_Stdarg_HList[] =
7633   "stdio.h\0";
7635  *  Machine/OS name selection pattern
7636  */
7637 tSCC* apzStdio_Stdarg_HMachs[] = {
7638         "*-*-solaris2.1[0-9]*",
7639         (const char*)NULL };
7642  *  content bypass pattern - skip fix if pattern found
7643  */
7644 tSCC zStdio_Stdarg_HBypass0[] =
7645        "include.*(stdarg.h|machine/ansi.h)";
7647 #define    STDIO_STDARG_H_TEST_CT  1
7648 static tTestDesc aStdio_Stdarg_HTests[] = {
7649   { TT_NEGREP,   zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7652  *  Fix Command Arguments for Stdio_Stdarg_H
7653  */
7654 static const char* apzStdio_Stdarg_HPatch[] = {
7655     "wrap",
7656     "#define __need___va_list\n\
7657 #include <stdarg.h>\n",
7658     (char*)NULL };
7660 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7662  *  Description of Stdio_Va_List fix
7663  */
7664 tSCC zStdio_Va_ListName[] =
7665      "stdio_va_list";
7668  *  File name selection pattern
7669  */
7670 tSCC zStdio_Va_ListList[] =
7671   "stdio.h\0";
7673  *  Machine/OS name selection pattern
7674  */
7675 tSCC* apzStdio_Va_ListMachs[] = {
7676         "*-*-solaris2.1[0-9]*",
7677         (const char*)NULL };
7680  *  content bypass pattern - skip fix if pattern found
7681  */
7682 tSCC zStdio_Va_ListBypass0[] =
7683        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7685 #define    STDIO_VA_LIST_TEST_CT  1
7686 static tTestDesc aStdio_Va_ListTests[] = {
7687   { TT_NEGREP,   zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7690  *  Fix Command Arguments for Stdio_Va_List
7691  */
7692 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7693     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7694 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7695 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7696 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7697 s@ va_list@ __not_va_list__@\n\
7698 s@\\*va_list@*__not_va_list__@\n\
7699 s@ __va_list)@ __gnuc_va_list)@\n\
7700 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7701 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7702 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7703 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7704 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7705 s@VA_LIST@DUMMY_VA_LIST@\n\
7706 s@_Va_LIST@_VA_LIST@",
7707     (char*)NULL };
7709 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7711  *  Description of Stdio_Va_List_Clients fix
7712  */
7713 tSCC zStdio_Va_List_ClientsName[] =
7714      "stdio_va_list_clients";
7717  *  File name selection pattern
7718  */
7719 tSCC zStdio_Va_List_ClientsList[] =
7720   "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7722  *  Machine/OS name selection pattern
7723  */
7724 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7727  *  content bypass pattern - skip fix if pattern found
7728  */
7729 tSCC zStdio_Va_List_ClientsBypass0[] =
7730        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7731 tSCC zStdio_Va_List_ClientsBypass1[] =
7732        "include <stdarg\\.h>|#ifdef va_start";
7734 #define    STDIO_VA_LIST_CLIENTS_TEST_CT  2
7735 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7736   { TT_NEGREP,   zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7737   { TT_NEGREP,   zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7740  *  Fix Command Arguments for Stdio_Va_List_Clients
7741  */
7742 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7743     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7744 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7745 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7746 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7747 s@ va_list@ __not_va_list__@\n\
7748 s@\\*va_list@*__not_va_list__@\n\
7749 s@ __va_list)@ __gnuc_va_list)@\n\
7750 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7751 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7752 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7753 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7754 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7755 s@VA_LIST@DUMMY_VA_LIST@\n\
7756 s@_Va_LIST@_VA_LIST@",
7757     (char*)NULL };
7759 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7761  *  Description of Strict_Ansi_Not fix
7762  */
7763 tSCC zStrict_Ansi_NotName[] =
7764      "strict_ansi_not";
7767  *  File name selection pattern
7768  */
7769 #define zStrict_Ansi_NotList (char*)NULL
7771  *  Machine/OS name selection pattern
7772  */
7773 #define apzStrict_Ansi_NotMachs (const char**)NULL
7776  *  content selection pattern - do fix if pattern found
7777  */
7778 tSCC zStrict_Ansi_NotSelect0[] =
7779        "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7782  *  content bypass pattern - skip fix if pattern found
7783  */
7784 tSCC zStrict_Ansi_NotBypass0[] =
7785        "GNU and MIPS C compilers define __STDC__ differently";
7786 tSCC zStrict_Ansi_NotBypass1[] =
7787        "__SCO_VERSION__.*__STDC__ != 1";
7790  *  perform the C function call test
7791  */
7792 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7794 #define    STRICT_ANSI_NOT_TEST_CT  4
7795 static tTestDesc aStrict_Ansi_NotTests[] = {
7796   { TT_FUNCTION, zStrict_Ansi_NotFTst0,   0 /* unused */ },
7797   { TT_NEGREP,   zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7798   { TT_NEGREP,   zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7799   { TT_EGREP,    zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7802  *  Fix Command Arguments for Strict_Ansi_Not
7803  */
7804 static const char* apzStrict_Ansi_NotPatch[] = {
7805     "format",
7806     "%1 !defined(__STRICT_ANSI__)",
7807     (char*)NULL };
7809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7811  *  Description of Strict_Ansi_Not_Ctd fix
7812  */
7813 tSCC zStrict_Ansi_Not_CtdName[] =
7814      "strict_ansi_not_ctd";
7817  *  File name selection pattern
7818  */
7819 tSCC zStrict_Ansi_Not_CtdList[] =
7820   "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7822  *  Machine/OS name selection pattern
7823  */
7824 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7827  *  content selection pattern - do fix if pattern found
7828  */
7829 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7830        "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7833  *  perform the C function call test
7834  */
7835 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7837 #define    STRICT_ANSI_NOT_CTD_TEST_CT  2
7838 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7839   { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0,   0 /* unused */ },
7840   { TT_EGREP,    zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7843  *  Fix Command Arguments for Strict_Ansi_Not_Ctd
7844  */
7845 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7846     "format",
7847     "%1 !defined(__STRICT_ANSI__)",
7848     (char*)NULL };
7850 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7852  *  Description of Strict_Ansi_Only fix
7853  */
7854 tSCC zStrict_Ansi_OnlyName[] =
7855      "strict_ansi_only";
7858  *  File name selection pattern
7859  */
7860 #define zStrict_Ansi_OnlyList (char*)NULL
7862  *  Machine/OS name selection pattern
7863  */
7864 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7867  *  content selection pattern - do fix if pattern found
7868  */
7869 tSCC zStrict_Ansi_OnlySelect0[] =
7870        "^([ \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)";
7873  *  perform the C function call test
7874  */
7875 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7877 #define    STRICT_ANSI_ONLY_TEST_CT  2
7878 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7879   { TT_FUNCTION, zStrict_Ansi_OnlyFTst0,   0 /* unused */ },
7880   { TT_EGREP,    zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7883  *  Fix Command Arguments for Strict_Ansi_Only
7884  */
7885 static const char* apzStrict_Ansi_OnlyPatch[] = {
7886     "format",
7887     "%1 defined(__STRICT_ANSI__)",
7888     (char*)NULL };
7890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7892  *  Description of Struct_File fix
7893  */
7894 tSCC zStruct_FileName[] =
7895      "struct_file";
7898  *  File name selection pattern
7899  */
7900 tSCC zStruct_FileList[] =
7901   "rpc/xdr.h\0";
7903  *  Machine/OS name selection pattern
7904  */
7905 #define apzStruct_FileMachs (const char**)NULL
7908  *  content selection pattern - do fix if pattern found
7909  */
7910 tSCC zStruct_FileSelect0[] =
7911        "^.*xdrstdio_create.*struct __file_s";
7913 #define    STRUCT_FILE_TEST_CT  1
7914 static tTestDesc aStruct_FileTests[] = {
7915   { TT_EGREP,    zStruct_FileSelect0, (regex_t*)NULL }, };
7918  *  Fix Command Arguments for Struct_File
7919  */
7920 static const char* apzStruct_FilePatch[] = {
7921     "format",
7922     "struct __file_s;\n\
7923 %0",
7924     (char*)NULL };
7926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7928  *  Description of Struct_Sockaddr fix
7929  */
7930 tSCC zStruct_SockaddrName[] =
7931      "struct_sockaddr";
7934  *  File name selection pattern
7935  */
7936 tSCC zStruct_SockaddrList[] =
7937   "rpc/auth.h\0";
7939  *  Machine/OS name selection pattern
7940  */
7941 #define apzStruct_SockaddrMachs (const char**)NULL
7944  *  content selection pattern - do fix if pattern found
7945  */
7946 tSCC zStruct_SockaddrSelect0[] =
7947        "^.*authdes_create.*struct sockaddr[^_]";
7950  *  content bypass pattern - skip fix if pattern found
7951  */
7952 tSCC zStruct_SockaddrBypass0[] =
7953        "<sys/socket.h>";
7954 tSCC zStruct_SockaddrBypass1[] =
7955        "struct sockaddr;\n";
7957 #define    STRUCT_SOCKADDR_TEST_CT  3
7958 static tTestDesc aStruct_SockaddrTests[] = {
7959   { TT_NEGREP,   zStruct_SockaddrBypass0, (regex_t*)NULL },
7960   { TT_NEGREP,   zStruct_SockaddrBypass1, (regex_t*)NULL },
7961   { TT_EGREP,    zStruct_SockaddrSelect0, (regex_t*)NULL }, };
7964  *  Fix Command Arguments for Struct_Sockaddr
7965  */
7966 static const char* apzStruct_SockaddrPatch[] = {
7967     "format",
7968     "struct sockaddr;\n\
7969 %0",
7970     (char*)NULL };
7972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7974  *  Description of Sun_Auth_Proto fix
7975  */
7976 tSCC zSun_Auth_ProtoName[] =
7977      "sun_auth_proto";
7980  *  File name selection pattern
7981  */
7982 tSCC zSun_Auth_ProtoList[] =
7983   "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
7985  *  Machine/OS name selection pattern
7986  */
7987 #define apzSun_Auth_ProtoMachs (const char**)NULL
7990  *  content selection pattern - do fix if pattern found
7991  */
7992 tSCC zSun_Auth_ProtoSelect0[] =
7993        "\\(\\*[a-z][a-z_]*\\)\\(\\)";
7996  *  content bypass pattern - skip fix if pattern found
7997  */
7998 tSCC zSun_Auth_ProtoBypass0[] =
7999        "__cplusplus";
8001 #define    SUN_AUTH_PROTO_TEST_CT  2
8002 static tTestDesc aSun_Auth_ProtoTests[] = {
8003   { TT_NEGREP,   zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8004   { TT_EGREP,    zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8007  *  Fix Command Arguments for Sun_Auth_Proto
8008  */
8009 static const char* apzSun_Auth_ProtoPatch[] = {
8010     "format",
8011     "#ifdef __cplusplus\n\
8012 %1(...);%2\n\
8013 #else\n\
8014 %1();%2\n\
8015 #endif",
8016     "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8017     (char*)NULL };
8019 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8021  *  Description of Sun_Bogus_Ifdef fix
8022  */
8023 tSCC zSun_Bogus_IfdefName[] =
8024      "sun_bogus_ifdef";
8027  *  File name selection pattern
8028  */
8029 tSCC zSun_Bogus_IfdefList[] =
8030   "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8032  *  Machine/OS name selection pattern
8033  */
8034 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8037  *  content selection pattern - do fix if pattern found
8038  */
8039 tSCC zSun_Bogus_IfdefSelect0[] =
8040        "#ifdef(.*\\|\\|.*)";
8042 #define    SUN_BOGUS_IFDEF_TEST_CT  1
8043 static tTestDesc aSun_Bogus_IfdefTests[] = {
8044   { TT_EGREP,    zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8047  *  Fix Command Arguments for Sun_Bogus_Ifdef
8048  */
8049 static const char* apzSun_Bogus_IfdefPatch[] = {
8050     "format",
8051     "#if%1",
8052     (char*)NULL };
8054 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8056  *  Description of Sun_Catmacro fix
8057  */
8058 tSCC zSun_CatmacroName[] =
8059      "sun_catmacro";
8062  *  File name selection pattern
8063  */
8064 tSCC zSun_CatmacroList[] =
8065   "pixrect/memvar.h\0";
8067  *  Machine/OS name selection pattern
8068  */
8069 #define apzSun_CatmacroMachs (const char**)NULL
8072  *  content selection pattern - do fix if pattern found
8073  */
8074 tSCC zSun_CatmacroSelect0[] =
8075        "^#define[ \t]+CAT\\(a,b\\).*";
8077 #define    SUN_CATMACRO_TEST_CT  1
8078 static tTestDesc aSun_CatmacroTests[] = {
8079   { TT_EGREP,    zSun_CatmacroSelect0, (regex_t*)NULL }, };
8082  *  Fix Command Arguments for Sun_Catmacro
8083  */
8084 static const char* apzSun_CatmacroPatch[] = {
8085     "format",
8086     "#ifdef __STDC__\n\
8087 #  define CAT(a,b) a##b\n\
8088 #else\n\
8089 %0\n\
8090 #endif",
8091     (char*)NULL };
8093 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8095  *  Description of Sun_Malloc fix
8096  */
8097 tSCC zSun_MallocName[] =
8098      "sun_malloc";
8101  *  File name selection pattern
8102  */
8103 tSCC zSun_MallocList[] =
8104   "malloc.h\0";
8106  *  Machine/OS name selection pattern
8107  */
8108 #define apzSun_MallocMachs (const char**)NULL
8111  *  content bypass pattern - skip fix if pattern found
8112  */
8113 tSCC zSun_MallocBypass0[] =
8114        "_CLASSIC_ANSI_TYPES";
8116 #define    SUN_MALLOC_TEST_CT  1
8117 static tTestDesc aSun_MallocTests[] = {
8118   { TT_NEGREP,   zSun_MallocBypass0, (regex_t*)NULL }, };
8121  *  Fix Command Arguments for Sun_Malloc
8122  */
8123 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8124     "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8125     "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8126     "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8127     "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8128     "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8129     (char*)NULL };
8131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8133  *  Description of Sun_Rusers_Semi fix
8134  */
8135 tSCC zSun_Rusers_SemiName[] =
8136      "sun_rusers_semi";
8139  *  File name selection pattern
8140  */
8141 tSCC zSun_Rusers_SemiList[] =
8142   "rpcsvc/rusers.h\0";
8144  *  Machine/OS name selection pattern
8145  */
8146 #define apzSun_Rusers_SemiMachs (const char**)NULL
8149  *  content selection pattern - do fix if pattern found
8150  */
8151 tSCC zSun_Rusers_SemiSelect0[] =
8152        "_cnt$";
8154 #define    SUN_RUSERS_SEMI_TEST_CT  1
8155 static tTestDesc aSun_Rusers_SemiTests[] = {
8156   { TT_EGREP,    zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8159  *  Fix Command Arguments for Sun_Rusers_Semi
8160  */
8161 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8162     "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8163     (char*)NULL };
8165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8167  *  Description of Sun_Signal fix
8168  */
8169 tSCC zSun_SignalName[] =
8170      "sun_signal";
8173  *  File name selection pattern
8174  */
8175 tSCC zSun_SignalList[] =
8176   "sys/signal.h\0signal.h\0";
8178  *  Machine/OS name selection pattern
8179  */
8180 #define apzSun_SignalMachs (const char**)NULL
8183  *  content selection pattern - do fix if pattern found
8184  */
8185 tSCC zSun_SignalSelect0[] =
8186        "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8188 #define    SUN_SIGNAL_TEST_CT  1
8189 static tTestDesc aSun_SignalTests[] = {
8190   { TT_EGREP,    zSun_SignalSelect0, (regex_t*)NULL }, };
8193  *  Fix Command Arguments for Sun_Signal
8194  */
8195 static const char* apzSun_SignalPatch[] = {
8196     "format",
8197     "#ifdef __cplusplus\n\
8198 void\t(*signal(...))(...);\n\
8199 #else\n\
8200 %0\n\
8201 #endif",
8202     (char*)NULL };
8204 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8206  *  Description of Sunos_Strlen fix
8207  */
8208 tSCC zSunos_StrlenName[] =
8209      "sunos_strlen";
8212  *  File name selection pattern
8213  */
8214 tSCC zSunos_StrlenList[] =
8215   "strings.h\0";
8217  *  Machine/OS name selection pattern
8218  */
8219 #define apzSunos_StrlenMachs (const char**)NULL
8222  *  content selection pattern - do fix if pattern found
8223  */
8224 tSCC zSunos_StrlenSelect0[] =
8225        "int[ \t]*strlen\\(\\);(.*)";
8227 #define    SUNOS_STRLEN_TEST_CT  1
8228 static tTestDesc aSunos_StrlenTests[] = {
8229   { TT_EGREP,    zSunos_StrlenSelect0, (regex_t*)NULL }, };
8232  *  Fix Command Arguments for Sunos_Strlen
8233  */
8234 static const char* apzSunos_StrlenPatch[] = {
8235     "format",
8236     "__SIZE_TYPE__ strlen();%1",
8237     (char*)NULL };
8239 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8241  *  Description of Suse_Linux_Vt_Cxx fix
8242  */
8243 tSCC zSuse_Linux_Vt_CxxName[] =
8244      "suse_linux_vt_cxx";
8247  *  File name selection pattern
8248  */
8249 tSCC zSuse_Linux_Vt_CxxList[] =
8250   "linux/vt.h\0";
8252  *  Machine/OS name selection pattern
8253  */
8254 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8257  *  content selection pattern - do fix if pattern found
8258  */
8259 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8260        "^[ \t]*unsigned int new;";
8262 #define    SUSE_LINUX_VT_CXX_TEST_CT  1
8263 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8264   { TT_EGREP,    zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8267  *  Fix Command Arguments for Suse_Linux_Vt_Cxx
8268  */
8269 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8270     "format",
8271     "unsigned int newev;",
8272     (char*)NULL };
8274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8276  *  Description of Svr4_Disable_Opt fix
8277  */
8278 tSCC zSvr4_Disable_OptName[] =
8279      "svr4_disable_opt";
8282  *  File name selection pattern
8283  */
8284 tSCC zSvr4_Disable_OptList[] =
8285   "string.h\0";
8287  *  Machine/OS name selection pattern
8288  */
8289 #define apzSvr4_Disable_OptMachs (const char**)NULL
8292  *  content selection pattern - do fix if pattern found
8293  */
8294 tSCC zSvr4_Disable_OptSelect0[] =
8295        "#define.*__std_hdr_";
8297 #define    SVR4_DISABLE_OPT_TEST_CT  1
8298 static tTestDesc aSvr4_Disable_OptTests[] = {
8299   { TT_EGREP,    zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8302  *  Fix Command Arguments for Svr4_Disable_Opt
8303  */
8304 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8305     "-e", "/#define.*__std_hdr_/d",
8306     (char*)NULL };
8308 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8310  *  Description of Svr4_Getcwd fix
8311  */
8312 tSCC zSvr4_GetcwdName[] =
8313      "svr4_getcwd";
8316  *  File name selection pattern
8317  */
8318 tSCC zSvr4_GetcwdList[] =
8319   "stdlib.h\0unistd.h\0prototypes.h\0";
8321  *  Machine/OS name selection pattern
8322  */
8323 #define apzSvr4_GetcwdMachs (const char**)NULL
8326  *  content selection pattern - do fix if pattern found
8327  */
8328 tSCC zSvr4_GetcwdSelect0[] =
8329        "getcwd\\(char \\*, int\\)";
8331 #define    SVR4_GETCWD_TEST_CT  1
8332 static tTestDesc aSvr4_GetcwdTests[] = {
8333   { TT_EGREP,    zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8336  *  Fix Command Arguments for Svr4_Getcwd
8337  */
8338 static const char* apzSvr4_GetcwdPatch[] = {
8339     "format",
8340     "getcwd(char *, size_t)",
8341     (char*)NULL };
8343 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8345  *  Description of Svr4_Profil fix
8346  */
8347 tSCC zSvr4_ProfilName[] =
8348      "svr4_profil";
8351  *  File name selection pattern
8352  */
8353 tSCC zSvr4_ProfilList[] =
8354   "stdlib.h\0unistd.h\0";
8356  *  Machine/OS name selection pattern
8357  */
8358 #define apzSvr4_ProfilMachs (const char**)NULL
8361  *  content selection pattern - do fix if pattern found
8362  */
8363 tSCC zSvr4_ProfilSelect0[] =
8364        "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8366 #define    SVR4_PROFIL_TEST_CT  1
8367 static tTestDesc aSvr4_ProfilTests[] = {
8368   { TT_EGREP,    zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8371  *  Fix Command Arguments for Svr4_Profil
8372  */
8373 static const char* apzSvr4_ProfilPatch[] = {
8374     "format",
8375     "profil(unsigned short *, size_t, int, unsigned int)",
8376     (char*)NULL };
8378 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8380  *  Description of Svr4_Sighandler_Type fix
8381  */
8382 tSCC zSvr4_Sighandler_TypeName[] =
8383      "svr4_sighandler_type";
8386  *  File name selection pattern
8387  */
8388 tSCC zSvr4_Sighandler_TypeList[] =
8389   "sys/signal.h\0";
8391  *  Machine/OS name selection pattern
8392  */
8393 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8396  *  content selection pattern - do fix if pattern found
8397  */
8398 tSCC zSvr4_Sighandler_TypeSelect0[] =
8399        "void *\\(\\*\\)\\(\\)";
8401 #define    SVR4_SIGHANDLER_TYPE_TEST_CT  1
8402 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8403   { TT_EGREP,    zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8406  *  Fix Command Arguments for Svr4_Sighandler_Type
8407  */
8408 static const char* apzSvr4_Sighandler_TypePatch[] = {
8409     "format",
8410     "void (*)(int)",
8411     (char*)NULL };
8413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8415  *  Description of Svr4_Undeclared_Getrnge fix
8416  */
8417 tSCC zSvr4_Undeclared_GetrngeName[] =
8418      "svr4_undeclared_getrnge";
8421  *  File name selection pattern
8422  */
8423 tSCC zSvr4_Undeclared_GetrngeList[] =
8424   "regexp.h\0";
8426  *  Machine/OS name selection pattern
8427  */
8428 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8431  *  content selection pattern - do fix if pattern found
8432  */
8433 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8434        "getrnge";
8437  *  content bypass pattern - skip fix if pattern found
8438  */
8439 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8440        "static void getrnge";
8442 #define    SVR4_UNDECLARED_GETRNGE_TEST_CT  2
8443 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8444   { TT_NEGREP,   zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8445   { TT_EGREP,    zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8448  *  Fix Command Arguments for Svr4_Undeclared_Getrnge
8449  */
8450 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8451     "format",
8452     "%0\n\
8453 static int getrnge ();",
8454     "^static int[ \t]+size;",
8455     (char*)NULL };
8457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8459  *  Description of Sysv68_String fix
8460  */
8461 tSCC zSysv68_StringName[] =
8462      "sysv68_string";
8465  *  File name selection pattern
8466  */
8467 tSCC zSysv68_StringList[] =
8468   "testing.h\0string.h\0";
8470  *  Machine/OS name selection pattern
8471  */
8472 #define apzSysv68_StringMachs (const char**)NULL
8475  *  content bypass pattern - skip fix if pattern found
8476  */
8477 tSCC zSysv68_StringBypass0[] =
8478        "_CLASSIC_ANSI_TYPES";
8480 #define    SYSV68_STRING_TEST_CT  1
8481 static tTestDesc aSysv68_StringTests[] = {
8482   { TT_NEGREP,   zSysv68_StringBypass0, (regex_t*)NULL }, };
8485  *  Fix Command Arguments for Sysv68_String
8486  */
8487 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8488     "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8489     "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8490     "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8491     "-e", "/^extern char$/N",
8492     "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8493     "-e", "/^extern int$/N",
8494     "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8495     "-e", "/^\tstrncmp(),$/N",
8496     "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8497 extern unsigned int\\\n\
8498 \\2/",
8499     (char*)NULL };
8501 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8503  *  Description of Sysz_Stdlib_For_Sun fix
8504  */
8505 tSCC zSysz_Stdlib_For_SunName[] =
8506      "sysz_stdlib_for_sun";
8509  *  File name selection pattern
8510  */
8511 tSCC zSysz_Stdlib_For_SunList[] =
8512   "stdlib.h\0";
8514  *  Machine/OS name selection pattern
8515  */
8516 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8519  *  content selection pattern - do fix if pattern found
8520  */
8521 tSCC zSysz_Stdlib_For_SunSelect0[] =
8522        "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8525  *  content bypass pattern - skip fix if pattern found
8526  */
8527 tSCC zSysz_Stdlib_For_SunBypass0[] =
8528        "_CLASSIC_ANSI_TYPES";
8530 #define    SYSZ_STDLIB_FOR_SUN_TEST_CT  2
8531 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8532   { TT_NEGREP,   zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8533   { TT_EGREP,    zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8536  *  Fix Command Arguments for Sysz_Stdlib_For_Sun
8537  */
8538 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8539     "format",
8540     "void *\t%1(",
8541     (char*)NULL };
8543 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8545  *  Description of Thread_Keyword fix
8546  */
8547 tSCC zThread_KeywordName[] =
8548      "thread_keyword";
8551  *  File name selection pattern
8552  */
8553 tSCC zThread_KeywordList[] =
8554   "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8556  *  Machine/OS name selection pattern
8557  */
8558 #define apzThread_KeywordMachs (const char**)NULL
8561  *  content selection pattern - do fix if pattern found
8562  */
8563 tSCC zThread_KeywordSelect0[] =
8564        "([* ])__thread([,)])";
8566 #define    THREAD_KEYWORD_TEST_CT  1
8567 static tTestDesc aThread_KeywordTests[] = {
8568   { TT_EGREP,    zThread_KeywordSelect0, (regex_t*)NULL }, };
8571  *  Fix Command Arguments for Thread_Keyword
8572  */
8573 static const char* apzThread_KeywordPatch[] = {
8574     "format",
8575     "%1__thr%2",
8576     (char*)NULL };
8578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8580  *  Description of Tinfo_Cplusplus fix
8581  */
8582 tSCC zTinfo_CplusplusName[] =
8583      "tinfo_cplusplus";
8586  *  File name selection pattern
8587  */
8588 tSCC zTinfo_CplusplusList[] =
8589   "tinfo.h\0";
8591  *  Machine/OS name selection pattern
8592  */
8593 #define apzTinfo_CplusplusMachs (const char**)NULL
8596  *  content selection pattern - do fix if pattern found
8597  */
8598 tSCC zTinfo_CplusplusSelect0[] =
8599        "[ \t]_cplusplus";
8601 #define    TINFO_CPLUSPLUS_TEST_CT  1
8602 static tTestDesc aTinfo_CplusplusTests[] = {
8603   { TT_EGREP,    zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8606  *  Fix Command Arguments for Tinfo_Cplusplus
8607  */
8608 static const char* apzTinfo_CplusplusPatch[] = {
8609     "format",
8610     " __cplusplus",
8611     (char*)NULL };
8613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8615  *  Description of Ultrix_Const fix
8616  */
8617 tSCC zUltrix_ConstName[] =
8618      "ultrix_const";
8621  *  File name selection pattern
8622  */
8623 tSCC zUltrix_ConstList[] =
8624   "stdio.h\0";
8626  *  Machine/OS name selection pattern
8627  */
8628 #define apzUltrix_ConstMachs (const char**)NULL
8631  *  content selection pattern - do fix if pattern found
8632  */
8633 tSCC zUltrix_ConstSelect0[] =
8634        "perror\\( char \\*";
8636 #define    ULTRIX_CONST_TEST_CT  1
8637 static tTestDesc aUltrix_ConstTests[] = {
8638   { TT_EGREP,    zUltrix_ConstSelect0, (regex_t*)NULL }, };
8641  *  Fix Command Arguments for Ultrix_Const
8642  */
8643 static const char* apzUltrix_ConstPatch[] = {
8644     "format",
8645     "%1 const %3 *__",
8646     "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8647     (char*)NULL };
8649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8651  *  Description of Ultrix_Const2 fix
8652  */
8653 tSCC zUltrix_Const2Name[] =
8654      "ultrix_const2";
8657  *  File name selection pattern
8658  */
8659 tSCC zUltrix_Const2List[] =
8660   "stdio.h\0";
8662  *  Machine/OS name selection pattern
8663  */
8664 #define apzUltrix_Const2Machs (const char**)NULL
8667  *  content selection pattern - do fix if pattern found
8668  */
8669 tSCC zUltrix_Const2Select0[] =
8670        "\\*fopen\\( char \\*";
8672 #define    ULTRIX_CONST2_TEST_CT  1
8673 static tTestDesc aUltrix_Const2Tests[] = {
8674   { TT_EGREP,    zUltrix_Const2Select0, (regex_t*)NULL }, };
8677  *  Fix Command Arguments for Ultrix_Const2
8678  */
8679 static const char* apzUltrix_Const2Patch[] = {
8680     "format",
8681     "%1( const char *%3, const char *",
8682     "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8683     (char*)NULL };
8685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8687  *  Description of Va_I960_Macro fix
8688  */
8689 tSCC zVa_I960_MacroName[] =
8690      "va_i960_macro";
8693  *  File name selection pattern
8694  */
8695 tSCC zVa_I960_MacroList[] =
8696   "arch/i960/archI960.h\0";
8698  *  Machine/OS name selection pattern
8699  */
8700 #define apzVa_I960_MacroMachs (const char**)NULL
8703  *  content selection pattern - do fix if pattern found
8704  */
8705 tSCC zVa_I960_MacroSelect0[] =
8706        "__(vsiz|vali|vpad|alignof__)";
8708 #define    VA_I960_MACRO_TEST_CT  1
8709 static tTestDesc aVa_I960_MacroTests[] = {
8710   { TT_EGREP,    zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8713  *  Fix Command Arguments for Va_I960_Macro
8714  */
8715 static const char* apzVa_I960_MacroPatch[] = {
8716     "format",
8717     "__vx%1",
8718     (char*)NULL };
8720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8722  *  Description of Vms_Add_Missing_Braces fix
8723  */
8724 tSCC zVms_Add_Missing_BracesName[] =
8725      "vms_add_missing_braces";
8728  *  File name selection pattern
8729  */
8730 tSCC zVms_Add_Missing_BracesList[] =
8731   "rtldef/signal.h\0";
8733  *  Machine/OS name selection pattern
8734  */
8735 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8736         "*-*-*vms*",
8737         (const char*)NULL };
8740  *  content selection pattern - do fix if pattern found
8741  */
8742 tSCC zVms_Add_Missing_BracesSelect0[] =
8743        "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8745 #define    VMS_ADD_MISSING_BRACES_TEST_CT  1
8746 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8747   { TT_EGREP,    zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8750  *  Fix Command Arguments for Vms_Add_Missing_Braces
8751  */
8752 static const char* apzVms_Add_Missing_BracesPatch[] = {
8753     "format",
8754     "%1 {%2} ",
8755     (char*)NULL };
8757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8759  *  Description of Vms_Decc_Builtin fix
8760  */
8761 tSCC zVms_Decc_BuiltinName[] =
8762      "vms_decc_builtin";
8765  *  File name selection pattern
8766  */
8767 tSCC zVms_Decc_BuiltinList[] =
8768   "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8770  *  Machine/OS name selection pattern
8771  */
8772 tSCC* apzVms_Decc_BuiltinMachs[] = {
8773         "*-*-*vms*",
8774         (const char*)NULL };
8777  *  content selection pattern - do fix if pattern found
8778  */
8779 tSCC zVms_Decc_BuiltinSelect0[] =
8780        "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8782 #define    VMS_DECC_BUILTIN_TEST_CT  1
8783 static tTestDesc aVms_Decc_BuiltinTests[] = {
8784   { TT_EGREP,    zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8787  *  Fix Command Arguments for Vms_Decc_Builtin
8788  */
8789 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8790     "-e", "s@__MEMSET@memset@",
8791     "-e", "s@__MEMMOVE@memmove@",
8792     "-e", "s@__MEMCPY@memcpy@",
8793     "-e", "s@__STRLEN@strlen@",
8794     "-e", "s@__STRCPY@strcpy@",
8795     (char*)NULL };
8797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8799  *  Description of Vms_Define_Can_Use_Extern_Prefix fix
8800  */
8801 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8802      "vms_define_can_use_extern_prefix";
8805  *  File name selection pattern
8806  */
8807 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8808   "rtldef/decc$types.h\0";
8810  *  Machine/OS name selection pattern
8811  */
8812 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8813         "*-*-*vms*",
8814         (const char*)NULL };
8817  *  content selection pattern - do fix if pattern found
8818  */
8819 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8820        "#[ \t]*else\n\
8821 #[ \t]*if defined\\(__DECCXX\\)\n\
8822 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8824 #define    VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT  1
8825 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8826   { TT_EGREP,    zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8829  *  Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8830  */
8831 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8832     "format",
8833     "%0#    elif defined (__GNUC__)\n\
8834 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8835     (char*)NULL };
8837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8839  *  Description of Vms_Disable_Decc_String_Builtins fix
8840  */
8841 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8842      "vms_disable_decc_string_builtins";
8845  *  File name selection pattern
8846  */
8847 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8848   "rtldef/string.h\0";
8850  *  Machine/OS name selection pattern
8851  */
8852 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8853         "*-*-*vms*",
8854         (const char*)NULL };
8857  *  content selection pattern - do fix if pattern found
8858  */
8859 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8860        "#if !defined\\(__VAX\\)\n";
8862 #define    VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT  1
8863 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8864   { TT_EGREP,    zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8867  *  Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8868  */
8869 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8870     "format",
8871     "#if !defined(__VAX) && !defined(__GNUC__)\n",
8872     (char*)NULL };
8874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8876  *  Description of Vms_Do_Not_Redeclare_Hostalias fix
8877  */
8878 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8879      "vms_do_not_redeclare_hostalias";
8882  *  File name selection pattern
8883  */
8884 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8885   "rtldef/resolv.h\0";
8887  *  Machine/OS name selection pattern
8888  */
8889 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8890         "*-*-*vms*",
8891         (const char*)NULL };
8894  *  content selection pattern - do fix if pattern found
8895  */
8896 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8897        "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8898 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8900 #define    VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT  1
8901 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8902   { TT_EGREP,    zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8905  *  Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8906  */
8907 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8908     "format",
8909     "%1\n\
8910 /* %2 */",
8911     (char*)NULL };
8913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8915  *  Description of Vms_Forward_Declare_Struct fix
8916  */
8917 tSCC zVms_Forward_Declare_StructName[] =
8918      "vms_forward_declare_struct";
8921  *  File name selection pattern
8922  */
8923 tSCC zVms_Forward_Declare_StructList[] =
8924   "rtldef/if.h\0";
8926  *  Machine/OS name selection pattern
8927  */
8928 tSCC* apzVms_Forward_Declare_StructMachs[] = {
8929         "*-*-*vms*",
8930         (const char*)NULL };
8933  *  content selection pattern - do fix if pattern found
8934  */
8935 tSCC zVms_Forward_Declare_StructSelect0[] =
8936        "(/\\* forward decls for C\\+\\+ \\*/\n\
8937 )#ifdef __cplusplus\n";
8939 #define    VMS_FORWARD_DECLARE_STRUCT_TEST_CT  1
8940 static tTestDesc aVms_Forward_Declare_StructTests[] = {
8941   { TT_EGREP,    zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
8944  *  Fix Command Arguments for Vms_Forward_Declare_Struct
8945  */
8946 static const char* apzVms_Forward_Declare_StructPatch[] = {
8947     "format",
8948     "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
8949     (char*)NULL };
8951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8953  *  Description of Vms_No_64bit_Getopt fix
8954  */
8955 tSCC zVms_No_64bit_GetoptName[] =
8956      "vms_no_64bit_getopt";
8959  *  File name selection pattern
8960  */
8961 tSCC zVms_No_64bit_GetoptList[] =
8962   "rtldef/stdio.h\0rtldef/unistd.h\0";
8964  *  Machine/OS name selection pattern
8965  */
8966 tSCC* apzVms_No_64bit_GetoptMachs[] = {
8967         "*-*-*vms*",
8968         (const char*)NULL };
8971  *  content selection pattern - do fix if pattern found
8972  */
8973 tSCC zVms_No_64bit_GetoptSelect0[] =
8974        "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
8976 #define    VMS_NO_64BIT_GETOPT_TEST_CT  1
8977 static tTestDesc aVms_No_64bit_GetoptTests[] = {
8978   { TT_EGREP,    zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
8981  *  Fix Command Arguments for Vms_No_64bit_Getopt
8982  */
8983 static const char* apzVms_No_64bit_GetoptPatch[] = {
8984     "format",
8985     "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only.  */\n\
8986 %0#endif\n",
8987     (char*)NULL };
8989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8991  *  Description of Vms_Use_Fast_Setjmp fix
8992  */
8993 tSCC zVms_Use_Fast_SetjmpName[] =
8994      "vms_use_fast_setjmp";
8997  *  File name selection pattern
8998  */
8999 tSCC zVms_Use_Fast_SetjmpList[] =
9000   "rtldef/setjmp.h\0";
9002  *  Machine/OS name selection pattern
9003  */
9004 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9005         "*-*-*vms*",
9006         (const char*)NULL };
9009  *  content selection pattern - do fix if pattern found
9010  */
9011 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9012        "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9014 #define    VMS_USE_FAST_SETJMP_TEST_CT  1
9015 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9016   { TT_EGREP,    zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9019  *  Fix Command Arguments for Vms_Use_Fast_Setjmp
9020  */
9021 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9022     "format",
9023     "%0 defined (__GNUC__) ||",
9024     (char*)NULL };
9026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9028  *  Description of Vms_Use_Pragma_Extern_Model fix
9029  */
9030 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9031      "vms_use_pragma_extern_model";
9034  *  File name selection pattern
9035  */
9036 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9038  *  Machine/OS name selection pattern
9039  */
9040 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9041         "*-*-*vms*",
9042         (const char*)NULL };
9045  *  content selection pattern - do fix if pattern found
9046  */
9047 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9048        "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9049 # pragma extern_model __save\n";
9051 #define    VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT  1
9052 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9053   { TT_EGREP,    zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9056  *  Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9057  */
9058 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9059     "format",
9060     "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9061 # pragma extern_model __save\n",
9062     (char*)NULL };
9064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9066  *  Description of Vms_Use_Quoted_Include fix
9067  */
9068 tSCC zVms_Use_Quoted_IncludeName[] =
9069      "vms_use_quoted_include";
9072  *  File name selection pattern
9073  */
9074 tSCC zVms_Use_Quoted_IncludeList[] =
9075   "rtldef/wait.h\0starlet_c/pthread.h\0";
9077  *  Machine/OS name selection pattern
9078  */
9079 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9080         "*-*-*vms*",
9081         (const char*)NULL };
9084  *  content selection pattern - do fix if pattern found
9085  */
9086 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9087        "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9089 #define    VMS_USE_QUOTED_INCLUDE_TEST_CT  1
9090 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9091   { TT_EGREP,    zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9094  *  Fix Command Arguments for Vms_Use_Quoted_Include
9095  */
9096 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9097     "format",
9098     "%1<sys/%2.h>",
9099     (char*)NULL };
9101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9103  *  Description of Void_Null fix
9104  */
9105 tSCC zVoid_NullName[] =
9106      "void_null";
9109  *  File name selection pattern
9110  */
9111 tSCC zVoid_NullList[] =
9112   "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";
9114  *  Machine/OS name selection pattern
9115  */
9116 #define apzVoid_NullMachs (const char**)NULL
9119  *  content selection pattern - do fix if pattern found
9120  */
9121 tSCC zVoid_NullSelect0[] =
9122        "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9125  *  content bypass pattern - skip fix if pattern found
9126  */
9127 tSCC zVoid_NullBypass0[] =
9128        "__cplusplus";
9129 tSCC zVoid_NullBypass1[] =
9130        "__null";
9132 #define    VOID_NULL_TEST_CT  3
9133 static tTestDesc aVoid_NullTests[] = {
9134   { TT_NEGREP,   zVoid_NullBypass0, (regex_t*)NULL },
9135   { TT_NEGREP,   zVoid_NullBypass1, (regex_t*)NULL },
9136   { TT_EGREP,    zVoid_NullSelect0, (regex_t*)NULL }, };
9139  *  Fix Command Arguments for Void_Null
9140  */
9141 static const char* apzVoid_NullPatch[] = {
9142     "format",
9143     "#ifndef NULL\n\
9144 #ifdef __cplusplus\n\
9145 #ifdef __GNUG__\n\
9146 #define NULL __null\n\
9147 #else /* ! __GNUG__  */\n\
9148 #define NULL 0L\n\
9149 #endif /* __GNUG__  */\n\
9150 #else /* ! __cplusplus  */\n\
9151 #define NULL ((void *)0)\n\
9152 #endif /* __cplusplus  */\n\
9153 #endif /* !NULL  */",
9154     (char*)NULL };
9156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9158  *  Description of Vxworks_Gcc_Problem fix
9159  */
9160 tSCC zVxworks_Gcc_ProblemName[] =
9161      "vxworks_gcc_problem";
9164  *  File name selection pattern
9165  */
9166 tSCC zVxworks_Gcc_ProblemList[] =
9167   "types/vxTypesBase.h\0";
9169  *  Machine/OS name selection pattern
9170  */
9171 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9174  *  content selection pattern - do fix if pattern found
9175  */
9176 tSCC zVxworks_Gcc_ProblemSelect0[] =
9177        "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9179 #define    VXWORKS_GCC_PROBLEM_TEST_CT  1
9180 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9181   { TT_EGREP,    zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9184  *  Fix Command Arguments for Vxworks_Gcc_Problem
9185  */
9186 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9187     "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9188     "-e", "/[ \t]size_t/i\\\n\
9189 #ifndef _GCC_SIZE_T\\\n\
9190 #define _GCC_SIZE_T\n",
9191     "-e", "/[ \t]size_t/a\\\n\
9192 #endif\n",
9193     "-e", "/[ \t]ptrdiff_t/i\\\n\
9194 #ifndef _GCC_PTRDIFF_T\\\n\
9195 #define _GCC_PTRDIFF_T\n",
9196     "-e", "/[ \t]ptrdiff_t/a\\\n\
9197 #endif\n",
9198     "-e", "/[ \t]wchar_t/i\\\n\
9199 #ifndef _GCC_WCHAR_T\\\n\
9200 #define _GCC_WCHAR_T\n",
9201     "-e", "/[ \t]wchar_t/a\\\n\
9202 #endif\n",
9203     (char*)NULL };
9205 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9207  *  Description of Vxworks_Ioctl_Macro fix
9208  */
9209 tSCC zVxworks_Ioctl_MacroName[] =
9210      "vxworks_ioctl_macro";
9213  *  File name selection pattern
9214  */
9215 tSCC zVxworks_Ioctl_MacroList[] =
9216   "ioLib.h\0";
9218  *  Machine/OS name selection pattern
9219  */
9220 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9221         "*-*-vxworks*",
9222         (const char*)NULL };
9223 #define VXWORKS_IOCTL_MACRO_TEST_CT  0
9224 #define aVxworks_Ioctl_MacroTests   (tTestDesc*)NULL
9227  *  Fix Command Arguments for Vxworks_Ioctl_Macro
9228  */
9229 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9230     "format",
9231     "%0\n\
9232 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
9233     "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9234     (char*)NULL };
9236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9238  *  Description of Vxworks_Mkdir_Macro fix
9239  */
9240 tSCC zVxworks_Mkdir_MacroName[] =
9241      "vxworks_mkdir_macro";
9244  *  File name selection pattern
9245  */
9246 tSCC zVxworks_Mkdir_MacroList[] =
9247   "sys/stat.h\0";
9249  *  Machine/OS name selection pattern
9250  */
9251 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9252         "*-*-vxworks*",
9253         (const char*)NULL };
9254 #define VXWORKS_MKDIR_MACRO_TEST_CT  0
9255 #define aVxworks_Mkdir_MacroTests   (tTestDesc*)NULL
9258  *  Fix Command Arguments for Vxworks_Mkdir_Macro
9259  */
9260 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9261     "format",
9262     "%0\n\
9263 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9264     "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9265     (char*)NULL };
9267 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9269  *  Description of Vxworks_Needs_Vxtypes fix
9270  */
9271 tSCC zVxworks_Needs_VxtypesName[] =
9272      "vxworks_needs_vxtypes";
9275  *  File name selection pattern
9276  */
9277 tSCC zVxworks_Needs_VxtypesList[] =
9278   "time.h\0";
9280  *  Machine/OS name selection pattern
9281  */
9282 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9285  *  content selection pattern - do fix if pattern found
9286  */
9287 tSCC zVxworks_Needs_VxtypesSelect0[] =
9288        "uint_t([ \t]+_clocks_per_sec)";
9290 #define    VXWORKS_NEEDS_VXTYPES_TEST_CT  1
9291 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9292   { TT_EGREP,    zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9295  *  Fix Command Arguments for Vxworks_Needs_Vxtypes
9296  */
9297 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9298     "format",
9299     "unsigned int%1",
9300     (char*)NULL };
9302 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9304  *  Description of Vxworks_Needs_Vxworks fix
9305  */
9306 tSCC zVxworks_Needs_VxworksName[] =
9307      "vxworks_needs_vxworks";
9310  *  File name selection pattern
9311  */
9312 tSCC zVxworks_Needs_VxworksList[] =
9313   "sys/stat.h\0";
9315  *  Machine/OS name selection pattern
9316  */
9317 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9320  *  content selection pattern - do fix if pattern found
9321  */
9322 tSCC zVxworks_Needs_VxworksSelect0[] =
9323        "#[ \t]define[ \t]+__INCstath";
9326  *  perform the 'test' shell command - do fix on success
9327  */
9328 tSCC zVxworks_Needs_VxworksTest0[] =
9329        " -r types/vxTypesOld.h";
9330 tSCC zVxworks_Needs_VxworksTest1[] =
9331        " -n \"`egrep '#include' $file`\"";
9332 tSCC zVxworks_Needs_VxworksTest2[] =
9333        " -n \"`egrep ULONG $file`\"";
9335 #define    VXWORKS_NEEDS_VXWORKS_TEST_CT  4
9336 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9337   { TT_TEST,     zVxworks_Needs_VxworksTest0,   0 /* unused */ },
9338   { TT_TEST,     zVxworks_Needs_VxworksTest1,   0 /* unused */ },
9339   { TT_TEST,     zVxworks_Needs_VxworksTest2,   0 /* unused */ },
9340   { TT_EGREP,    zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9343  *  Fix Command Arguments for Vxworks_Needs_Vxworks
9344  */
9345 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9346     "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9347 #include <types/vxTypesOld.h>\n",
9348     (char*)NULL };
9350 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9352  *  Description of Vxworks_Regs fix
9353  */
9354 tSCC zVxworks_RegsName[] =
9355      "vxworks_regs";
9358  *  File name selection pattern
9359  */
9360 #define zVxworks_RegsList (char*)NULL
9362  *  Machine/OS name selection pattern
9363  */
9364 tSCC* apzVxworks_RegsMachs[] = {
9365         "*-*-vxworks*",
9366         (const char*)NULL };
9369  *  content selection pattern - do fix if pattern found
9370  */
9371 tSCC zVxworks_RegsSelect0[] =
9372        "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9374 #define    VXWORKS_REGS_TEST_CT  1
9375 static tTestDesc aVxworks_RegsTests[] = {
9376   { TT_EGREP,    zVxworks_RegsSelect0, (regex_t*)NULL }, };
9379  *  Fix Command Arguments for Vxworks_Regs
9380  */
9381 static const char* apzVxworks_RegsPatch[] = {
9382     "format",
9383     "#include <arch/../regs.h>",
9384     (char*)NULL };
9386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9388  *  Description of Vxworks_Time fix
9389  */
9390 tSCC zVxworks_TimeName[] =
9391      "vxworks_time";
9394  *  File name selection pattern
9395  */
9396 tSCC zVxworks_TimeList[] =
9397   "time.h\0";
9399  *  Machine/OS name selection pattern
9400  */
9401 #define apzVxworks_TimeMachs (const char**)NULL
9404  *  content selection pattern - do fix if pattern found
9405  */
9406 tSCC zVxworks_TimeSelect0[] =
9407        "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9410  *  perform the 'test' shell command - do fix on success
9411  */
9412 tSCC zVxworks_TimeTest0[] =
9413        " -r vxWorks.h";
9415 #define    VXWORKS_TIME_TEST_CT  2
9416 static tTestDesc aVxworks_TimeTests[] = {
9417   { TT_TEST,     zVxworks_TimeTest0,   0 /* unused */ },
9418   { TT_EGREP,    zVxworks_TimeSelect0, (regex_t*)NULL }, };
9421  *  Fix Command Arguments for Vxworks_Time
9422  */
9423 static const char* apzVxworks_TimePatch[] = {
9424     "format",
9425     "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9426 #ifdef __cplusplus\n\
9427 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9428 #else\n\
9429 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9430 #endif\n\
9431 #define __gcc_VOIDFUNCPTR_defined\n\
9432 #endif\n\
9433 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9434     (char*)NULL };
9436 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9438  *  Description of Vxworks_Write_Const fix
9439  */
9440 tSCC zVxworks_Write_ConstName[] =
9441      "vxworks_write_const";
9444  *  File name selection pattern
9445  */
9446 tSCC zVxworks_Write_ConstList[] =
9447   "ioLib.h\0";
9449  *  Machine/OS name selection pattern
9450  */
9451 tSCC* apzVxworks_Write_ConstMachs[] = {
9452         "*-*-vxworks*",
9453         (const char*)NULL };
9454 #define VXWORKS_WRITE_CONST_TEST_CT  0
9455 #define aVxworks_Write_ConstTests   (tTestDesc*)NULL
9458  *  Fix Command Arguments for Vxworks_Write_Const
9459  */
9460 static const char* apzVxworks_Write_ConstPatch[] = {
9461     "format",
9462     "extern int  write (int, const char*, size_t);",
9463     "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9464     (char*)NULL };
9466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9468  *  Description of X11_Class fix
9469  */
9470 tSCC zX11_ClassName[] =
9471      "x11_class";
9474  *  File name selection pattern
9475  */
9476 tSCC zX11_ClassList[] =
9477   "X11/ShellP.h\0";
9479  *  Machine/OS name selection pattern
9480  */
9481 #define apzX11_ClassMachs (const char**)NULL
9484  *  content selection pattern - do fix if pattern found
9485  */
9486 tSCC zX11_ClassSelect0[] =
9487        "^([ \t]*char \\*)class;(.*)";
9490  *  content bypass pattern - skip fix if pattern found
9491  */
9492 tSCC zX11_ClassBypass0[] =
9493        "__cplusplus";
9495 #define    X11_CLASS_TEST_CT  2
9496 static tTestDesc aX11_ClassTests[] = {
9497   { TT_NEGREP,   zX11_ClassBypass0, (regex_t*)NULL },
9498   { TT_EGREP,    zX11_ClassSelect0, (regex_t*)NULL }, };
9501  *  Fix Command Arguments for X11_Class
9502  */
9503 static const char* apzX11_ClassPatch[] = {
9504     "format",
9505     "#ifdef __cplusplus\n\
9506 %1c_class;%2\n\
9507 #else\n\
9508 %1class;%2\n\
9509 #endif",
9510     (char*)NULL };
9512 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9514  *  Description of X11_Class_Usage fix
9515  */
9516 tSCC zX11_Class_UsageName[] =
9517      "x11_class_usage";
9520  *  File name selection pattern
9521  */
9522 tSCC zX11_Class_UsageList[] =
9523   "Xm/BaseClassI.h\0";
9525  *  Machine/OS name selection pattern
9526  */
9527 #define apzX11_Class_UsageMachs (const char**)NULL
9530  *  content selection pattern - do fix if pattern found
9531  */
9532 tSCC zX11_Class_UsageSelect0[] =
9533        " class\\)";
9536  *  content bypass pattern - skip fix if pattern found
9537  */
9538 tSCC zX11_Class_UsageBypass0[] =
9539        "__cplusplus";
9541 #define    X11_CLASS_USAGE_TEST_CT  2
9542 static tTestDesc aX11_Class_UsageTests[] = {
9543   { TT_NEGREP,   zX11_Class_UsageBypass0, (regex_t*)NULL },
9544   { TT_EGREP,    zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9547  *  Fix Command Arguments for X11_Class_Usage
9548  */
9549 static const char* apzX11_Class_UsagePatch[] = {
9550     "format",
9551     " c_class)",
9552     (char*)NULL };
9554 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9556  *  Description of X11_New fix
9557  */
9558 tSCC zX11_NewName[] =
9559      "x11_new";
9562  *  File name selection pattern
9563  */
9564 tSCC zX11_NewList[] =
9565   "Xm/Traversal.h\0";
9567  *  Machine/OS name selection pattern
9568  */
9569 #define apzX11_NewMachs (const char**)NULL
9572  *  content bypass pattern - skip fix if pattern found
9573  */
9574 tSCC zX11_NewBypass0[] =
9575        "__cplusplus";
9577 #define    X11_NEW_TEST_CT  1
9578 static tTestDesc aX11_NewTests[] = {
9579   { TT_NEGREP,   zX11_NewBypass0, (regex_t*)NULL }, };
9582  *  Fix Command Arguments for X11_New
9583  */
9584 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9585     "-e", "/Widget\told, new;/i\\\n\
9586 #ifdef __cplusplus\\\n\
9587 \\\tWidget\told, c_new;\\\n\
9588 #else\n",
9589     "-e", "/Widget\told, new;/a\\\n\
9590 #endif\n",
9591     "-e", "s/Widget new,/Widget c_new,/g",
9592     (char*)NULL };
9594 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9596  *  Description of X11_Sprintf fix
9597  */
9598 tSCC zX11_SprintfName[] =
9599      "x11_sprintf";
9602  *  File name selection pattern
9603  */
9604 tSCC zX11_SprintfList[] =
9605   "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9607  *  Machine/OS name selection pattern
9608  */
9609 #define apzX11_SprintfMachs (const char**)NULL
9612  *  content selection pattern - do fix if pattern found
9613  */
9614 tSCC zX11_SprintfSelect0[] =
9615        "^extern char \\*\tsprintf\\(\\);$";
9617 #define    X11_SPRINTF_TEST_CT  1
9618 static tTestDesc aX11_SprintfTests[] = {
9619   { TT_EGREP,    zX11_SprintfSelect0, (regex_t*)NULL }, };
9622  *  Fix Command Arguments for X11_Sprintf
9623  */
9624 static const char* apzX11_SprintfPatch[] = {
9625     "format",
9626     "#ifndef __STDC__\n\
9627 %0\n\
9628 #endif /* !defined __STDC__ */",
9629     (char*)NULL };
9632 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9634  *  List of all fixes
9635  */
9636 #define REGEX_COUNT          272
9637 #define MACH_LIST_SIZE_LIMIT 187
9638 #define FIX_COUNT            235
9641  *  Enumerate the fixes
9642  */
9643 typedef enum {
9644     AAB_AIX_STDIO_FIXIDX,
9645     AAB_AIX_FCNTL_FIXIDX,
9646     AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9647     AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9648     AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9649     AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9650     AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9651     AAB_SUN_MEMCPY_FIXIDX,
9652     AAB_VXWORKS_ASSERT_FIXIDX,
9653     AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9654     AAB_VXWORKS_STDINT_FIXIDX,
9655     AAB_VXWORKS_UNISTD_FIXIDX,
9656     AIX_ASSERT_FIXIDX,
9657     AIX_COMPLEX_FIXIDX,
9658     AIX_EXTERNC_FIXIDX,
9659     AIX_EXTERNCPP1_FIXIDX,
9660     AIX_EXTERNCPP2_FIXIDX,
9661     AIX_MALLOC_FIXIDX,
9662     AIX_NET_IF_ARP_FIXIDX,
9663     AIX_NULL_FIXIDX,
9664     AIX_ONCE_INIT_1_FIXIDX,
9665     AIX_ONCE_INIT_2_FIXIDX,
9666     AIX_MUTEX_INITIALIZER_1_FIXIDX,
9667     AIX_COND_INITIALIZER_1_FIXIDX,
9668     AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9669     AIX_PTHREAD_FIXIDX,
9670     AIX_STDINT_1_FIXIDX,
9671     AIX_STDINT_2_FIXIDX,
9672     AIX_STDINT_3_FIXIDX,
9673     AIX_STDINT_4_FIXIDX,
9674     AIX_STDINT_5_FIXIDX,
9675     AIX_STDIO_INLINE_FIXIDX,
9676     AIX_STDLIB_MALLOC_FIXIDX,
9677     AIX_STDLIB_REALLOC_FIXIDX,
9678     AIX_STDLIB_CALLOC_FIXIDX,
9679     AIX_STDLIB_VALLOC_FIXIDX,
9680     AIX_STRTOF_CONST_FIXIDX,
9681     AIX_SYSMACHINE_FIXIDX,
9682     AIX_SYSWAIT_2_FIXIDX,
9683     AIX_VOLATILE_FIXIDX,
9684     ALPHA___ASSERT_FIXIDX,
9685     ALPHA_ASSERT_FIXIDX,
9686     ALPHA_GETOPT_FIXIDX,
9687     ALPHA_IF_SEMICOLON_FIXIDX,
9688     ALPHA_PARENS_FIXIDX,
9689     ALPHA_SBRK_FIXIDX,
9690     AVOID_BOOL_DEFINE_FIXIDX,
9691     AVOID_BOOL_TYPE_FIXIDX,
9692     AVOID_WCHAR_T_TYPE_FIXIDX,
9693     BAD_STRUCT_TERM_FIXIDX,
9694     BADQUOTE_FIXIDX,
9695     BROKEN_ASSERT_STDIO_FIXIDX,
9696     BROKEN_ASSERT_STDLIB_FIXIDX,
9697     BROKEN_CABS_FIXIDX,
9698     BROKEN_NAN_FIXIDX,
9699     BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9700     CTRL_QUOTES_DEF_FIXIDX,
9701     CTRL_QUOTES_USE_FIXIDX,
9702     CXX_UNREADY_FIXIDX,
9703     DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9704     DARWIN_EXTERNC_FIXIDX,
9705     DARWIN_GCC4_BREAKAGE_FIXIDX,
9706     DARWIN_PRIVATE_EXTERN_FIXIDX,
9707     DARWIN_STDINT_1_FIXIDX,
9708     DARWIN_STDINT_2_FIXIDX,
9709     DARWIN_STDINT_3_FIXIDX,
9710     DARWIN_STDINT_4_FIXIDX,
9711     DARWIN_STDINT_5_FIXIDX,
9712     DARWIN_STDINT_6_FIXIDX,
9713     DARWIN_STDINT_7_FIXIDX,
9714     DEC_INTERN_ASM_FIXIDX,
9715     DJGPP_WCHAR_H_FIXIDX,
9716     ECD_CURSOR_FIXIDX,
9717     FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9718     FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9719     FREEBSD_GCC3_BREAKAGE_FIXIDX,
9720     FREEBSD_GCC4_BREAKAGE_FIXIDX,
9721     GLIBC_C99_INLINE_1_FIXIDX,
9722     GLIBC_C99_INLINE_1A_FIXIDX,
9723     GLIBC_C99_INLINE_2_FIXIDX,
9724     GLIBC_C99_INLINE_3_FIXIDX,
9725     GLIBC_C99_INLINE_4_FIXIDX,
9726     GLIBC_MUTEX_INIT_FIXIDX,
9727     GLIBC_STDINT_FIXIDX,
9728     GLIBC_STRNCPY_FIXIDX,
9729     GLIBC_TGMATH_FIXIDX,
9730     GNU_TYPES_FIXIDX,
9731     HP_INLINE_FIXIDX,
9732     HP_SYSFILE_FIXIDX,
9733     HPPA_HPUX_FP_MACROS_FIXIDX,
9734     HPUX10_CPP_POW_INLINE_FIXIDX,
9735     HPUX11_CPP_POW_INLINE_FIXIDX,
9736     HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9737     HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9738     HPUX10_STDIO_DECLARATIONS_FIXIDX,
9739     HPUX11_ABS_FIXIDX,
9740     HPUX11_LWP_RWLOCK_VALID_FIXIDX,
9741     HPUX11_EXTERN_SENDFILE_FIXIDX,
9742     HPUX11_EXTERN_SENDPATH_FIXIDX,
9743     HPUX11_FABSF_FIXIDX,
9744     HPUX11_PTHREAD_CONST_FIXIDX,
9745     HPUX11_SIZE_T_FIXIDX,
9746     HPUX11_SNPRINTF_FIXIDX,
9747     HPUX11_VSNPRINTF_FIXIDX,
9748     HPUX_VSSCANF_FIXIDX,
9749     HPUX8_BOGUS_INLINES_FIXIDX,
9750     HPUX_C99_INTPTR_FIXIDX,
9751     HPUX_C99_INTTYPES_FIXIDX,
9752     HPUX_C99_INTTYPES2_FIXIDX,
9753     HPUX_CTYPE_MACROS_FIXIDX,
9754     HPUX_EXTERN_ERRNO_FIXIDX,
9755     HPUX_HTONL_FIXIDX,
9756     HPUX_IMAGINARY_I_FIXIDX,
9757     HPUX_INTTYPE_INT8_T_FIXIDX,
9758     HPUX_LONG_DOUBLE_FIXIDX,
9759     HPUX_LONG_DOUBLE_2_FIXIDX,
9760     HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9761     HPUX_SPU_INFO_FIXIDX,
9762     HPUX_STDINT_LEAST_FAST_FIXIDX,
9763     HPUX_SYSTIME_FIXIDX,
9764     HUGE_VAL_HEX_FIXIDX,
9765     HUGE_VALF_HEX_FIXIDX,
9766     HUGE_VALL_HEX_FIXIDX,
9767     INT_ABORT_FREE_AND_EXIT_FIXIDX,
9768     IO_QUOTES_DEF_FIXIDX,
9769     IO_QUOTES_USE_FIXIDX,
9770     IP_MISSING_SEMI_FIXIDX,
9771     IRIX_LIMITS_CONST_FIXIDX,
9772     IRIX_STDIO_VA_LIST_FIXIDX,
9773     KANDR_CONCAT_FIXIDX,
9774     LINUX_IA64_UCONTEXT_FIXIDX,
9775     LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9776     LYNXOS_MISSING_PUTENV_FIXIDX,
9777     MACHINE_ANSI_H_VA_LIST_FIXIDX,
9778     MACHINE_NAME_FIXIDX,
9779     MATH_EXCEPTION_FIXIDX,
9780     MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9781     NESTED_AUTH_DES_FIXIDX,
9782     NETBSD_C99_INLINE_1_FIXIDX,
9783     NETBSD_C99_INLINE_2_FIXIDX,
9784     NETBSD_EXTRA_SEMICOLON_FIXIDX,
9785     NEWLIB_STDINT_1_FIXIDX,
9786     NEWLIB_STDINT_2_FIXIDX,
9787     NEXT_MATH_PREFIX_FIXIDX,
9788     NEXT_TEMPLATE_FIXIDX,
9789     NEXT_VOLITILE_FIXIDX,
9790     NEXT_WAIT_UNION_FIXIDX,
9791     NODEENT_SYNTAX_FIXIDX,
9792     OPENBSD_NULL_DEFINITION_FIXIDX,
9793     OBSTACK_LVALUE_CAST_FIXIDX,
9794     OPENBSD_VA_START_FIXIDX,
9795     OSF_NAMESPACE_A_FIXIDX,
9796     OSF_NAMESPACE_C_FIXIDX,
9797     PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9798     READ_RET_TYPE_FIXIDX,
9799     RPC_XDR_LVALUE_CAST_A_FIXIDX,
9800     RPC_XDR_LVALUE_CAST_B_FIXIDX,
9801     RS6000_DOUBLE_FIXIDX,
9802     RS6000_FCHMOD_FIXIDX,
9803     RS6000_PARAM_FIXIDX,
9804     SOLARIS___RESTRICT_FIXIDX,
9805     SOLARIS_COMPLEX_FIXIDX,
9806     SOLARIS_COMPLEX_CXX_FIXIDX,
9807     SOLARIS_CXX_LINKAGE_FIXIDX,
9808     SOLARIS_GETC_STRICT_STDC_FIXIDX,
9809     SOLARIS_INT_CONST_FIXIDX,
9810     SOLARIS_INT_LIMITS_1_FIXIDX,
9811     SOLARIS_INT_LIMITS_2_FIXIDX,
9812     SOLARIS_INT_LIMITS_3_FIXIDX,
9813     SOLARIS_MATH_1_FIXIDX,
9814     SOLARIS_MATH_10_FIXIDX,
9815     SOLARIS_MATH_2_FIXIDX,
9816     SOLARIS_MATH_3_FIXIDX,
9817     SOLARIS_MATH_4_FIXIDX,
9818     SOLARIS_MATH_8_FIXIDX,
9819     SOLARIS_MATH_9_FIXIDX,
9820     SOLARIS_MATH_11_FIXIDX,
9821     SOLARIS_ONCE_INIT_1_FIXIDX,
9822     SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9823     SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9824     SOLARIS_RWLOCK_INIT_1_FIXIDX,
9825     SOLARIS_STD___FILBUF_FIXIDX,
9826     SOLARIS_STDIO_TAG_FIXIDX,
9827     STATSSWTCH_FIXIDX,
9828     STDIO_STDARG_H_FIXIDX,
9829     STDIO_VA_LIST_FIXIDX,
9830     STDIO_VA_LIST_CLIENTS_FIXIDX,
9831     STRICT_ANSI_NOT_FIXIDX,
9832     STRICT_ANSI_NOT_CTD_FIXIDX,
9833     STRICT_ANSI_ONLY_FIXIDX,
9834     STRUCT_FILE_FIXIDX,
9835     STRUCT_SOCKADDR_FIXIDX,
9836     SUN_AUTH_PROTO_FIXIDX,
9837     SUN_BOGUS_IFDEF_FIXIDX,
9838     SUN_CATMACRO_FIXIDX,
9839     SUN_MALLOC_FIXIDX,
9840     SUN_RUSERS_SEMI_FIXIDX,
9841     SUN_SIGNAL_FIXIDX,
9842     SUNOS_STRLEN_FIXIDX,
9843     SUSE_LINUX_VT_CXX_FIXIDX,
9844     SVR4_DISABLE_OPT_FIXIDX,
9845     SVR4_GETCWD_FIXIDX,
9846     SVR4_PROFIL_FIXIDX,
9847     SVR4_SIGHANDLER_TYPE_FIXIDX,
9848     SVR4_UNDECLARED_GETRNGE_FIXIDX,
9849     SYSV68_STRING_FIXIDX,
9850     SYSZ_STDLIB_FOR_SUN_FIXIDX,
9851     THREAD_KEYWORD_FIXIDX,
9852     TINFO_CPLUSPLUS_FIXIDX,
9853     ULTRIX_CONST_FIXIDX,
9854     ULTRIX_CONST2_FIXIDX,
9855     VA_I960_MACRO_FIXIDX,
9856     VMS_ADD_MISSING_BRACES_FIXIDX,
9857     VMS_DECC_BUILTIN_FIXIDX,
9858     VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9859     VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9860     VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9861     VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9862     VMS_NO_64BIT_GETOPT_FIXIDX,
9863     VMS_USE_FAST_SETJMP_FIXIDX,
9864     VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9865     VMS_USE_QUOTED_INCLUDE_FIXIDX,
9866     VOID_NULL_FIXIDX,
9867     VXWORKS_GCC_PROBLEM_FIXIDX,
9868     VXWORKS_IOCTL_MACRO_FIXIDX,
9869     VXWORKS_MKDIR_MACRO_FIXIDX,
9870     VXWORKS_NEEDS_VXTYPES_FIXIDX,
9871     VXWORKS_NEEDS_VXWORKS_FIXIDX,
9872     VXWORKS_REGS_FIXIDX,
9873     VXWORKS_TIME_FIXIDX,
9874     VXWORKS_WRITE_CONST_FIXIDX,
9875     X11_CLASS_FIXIDX,
9876     X11_CLASS_USAGE_FIXIDX,
9877     X11_NEW_FIXIDX,
9878     X11_SPRINTF_FIXIDX
9879 } t_fixinc_idx;
9881 tFixDesc fixDescList[ FIX_COUNT ] = {
9882   {  zAab_Aix_StdioName,    zAab_Aix_StdioList,
9883      apzAab_Aix_StdioMachs,
9884      AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9885      aAab_Aix_StdioTests,   apzAab_Aix_StdioPatch, 0 },
9887   {  zAab_Aix_FcntlName,    zAab_Aix_FcntlList,
9888      apzAab_Aix_FcntlMachs,
9889      AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9890      aAab_Aix_FcntlTests,   apzAab_Aix_FcntlPatch, 0 },
9892   {  zAab_Darwin7_9_Long_Double_FuncsName,    zAab_Darwin7_9_Long_Double_FuncsList,
9893      apzAab_Darwin7_9_Long_Double_FuncsMachs,
9894      AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9895      aAab_Darwin7_9_Long_Double_FuncsTests,   apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9897   {  zAab_Fd_Zero_Asm_Posix_Types_HName,    zAab_Fd_Zero_Asm_Posix_Types_HList,
9898      apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9899      AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9900      aAab_Fd_Zero_Asm_Posix_Types_HTests,   apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9902   {  zAab_Fd_Zero_Gnu_Types_HName,    zAab_Fd_Zero_Gnu_Types_HList,
9903      apzAab_Fd_Zero_Gnu_Types_HMachs,
9904      AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9905      aAab_Fd_Zero_Gnu_Types_HTests,   apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9907   {  zAab_Fd_Zero_Selectbits_HName,    zAab_Fd_Zero_Selectbits_HList,
9908      apzAab_Fd_Zero_Selectbits_HMachs,
9909      AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9910      aAab_Fd_Zero_Selectbits_HTests,   apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9912   {  zAab_Solaris_Sys_Varargs_HName,    zAab_Solaris_Sys_Varargs_HList,
9913      apzAab_Solaris_Sys_Varargs_HMachs,
9914      AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9915      aAab_Solaris_Sys_Varargs_HTests,   apzAab_Solaris_Sys_Varargs_HPatch, 0 },
9917   {  zAab_Sun_MemcpyName,    zAab_Sun_MemcpyList,
9918      apzAab_Sun_MemcpyMachs,
9919      AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9920      aAab_Sun_MemcpyTests,   apzAab_Sun_MemcpyPatch, 0 },
9922   {  zAab_Vxworks_AssertName,    zAab_Vxworks_AssertList,
9923      apzAab_Vxworks_AssertMachs,
9924      AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9925      aAab_Vxworks_AssertTests,   apzAab_Vxworks_AssertPatch, 0 },
9927   {  zAab_Vxworks_Regs_VxtypesName,    zAab_Vxworks_Regs_VxtypesList,
9928      apzAab_Vxworks_Regs_VxtypesMachs,
9929      AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9930      aAab_Vxworks_Regs_VxtypesTests,   apzAab_Vxworks_Regs_VxtypesPatch, 0 },
9932   {  zAab_Vxworks_StdintName,    zAab_Vxworks_StdintList,
9933      apzAab_Vxworks_StdintMachs,
9934      AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9935      aAab_Vxworks_StdintTests,   apzAab_Vxworks_StdintPatch, 0 },
9937   {  zAab_Vxworks_UnistdName,    zAab_Vxworks_UnistdList,
9938      apzAab_Vxworks_UnistdMachs,
9939      AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9940      aAab_Vxworks_UnistdTests,   apzAab_Vxworks_UnistdPatch, 0 },
9942   {  zAix_AssertName,    zAix_AssertList,
9943      apzAix_AssertMachs,
9944      AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9945      aAix_AssertTests,   apzAix_AssertPatch, 0 },
9947   {  zAix_ComplexName,    zAix_ComplexList,
9948      apzAix_ComplexMachs,
9949      AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9950      aAix_ComplexTests,   apzAix_ComplexPatch, 0 },
9952   {  zAix_ExterncName,    zAix_ExterncList,
9953      apzAix_ExterncMachs,
9954      AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9955      aAix_ExterncTests,   apzAix_ExterncPatch, 0 },
9957   {  zAix_Externcpp1Name,    zAix_Externcpp1List,
9958      apzAix_Externcpp1Machs,
9959      AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9960      aAix_Externcpp1Tests,   apzAix_Externcpp1Patch, 0 },
9962   {  zAix_Externcpp2Name,    zAix_Externcpp2List,
9963      apzAix_Externcpp2Machs,
9964      AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9965      aAix_Externcpp2Tests,   apzAix_Externcpp2Patch, 0 },
9967   {  zAix_MallocName,    zAix_MallocList,
9968      apzAix_MallocMachs,
9969      AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9970      aAix_MallocTests,   apzAix_MallocPatch, 0 },
9972   {  zAix_Net_If_ArpName,    zAix_Net_If_ArpList,
9973      apzAix_Net_If_ArpMachs,
9974      AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9975      aAix_Net_If_ArpTests,   apzAix_Net_If_ArpPatch, 0 },
9977   {  zAix_NullName,    zAix_NullList,
9978      apzAix_NullMachs,
9979      AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9980      aAix_NullTests,   apzAix_NullPatch, 0 },
9982   {  zAix_Once_Init_1Name,    zAix_Once_Init_1List,
9983      apzAix_Once_Init_1Machs,
9984      AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9985      aAix_Once_Init_1Tests,   apzAix_Once_Init_1Patch, 0 },
9987   {  zAix_Once_Init_2Name,    zAix_Once_Init_2List,
9988      apzAix_Once_Init_2Machs,
9989      AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9990      aAix_Once_Init_2Tests,   apzAix_Once_Init_2Patch, 0 },
9992   {  zAix_Mutex_Initializer_1Name,    zAix_Mutex_Initializer_1List,
9993      apzAix_Mutex_Initializer_1Machs,
9994      AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9995      aAix_Mutex_Initializer_1Tests,   apzAix_Mutex_Initializer_1Patch, 0 },
9997   {  zAix_Cond_Initializer_1Name,    zAix_Cond_Initializer_1List,
9998      apzAix_Cond_Initializer_1Machs,
9999      AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10000      aAix_Cond_Initializer_1Tests,   apzAix_Cond_Initializer_1Patch, 0 },
10002   {  zAix_Rwlock_Initializer_1Name,    zAix_Rwlock_Initializer_1List,
10003      apzAix_Rwlock_Initializer_1Machs,
10004      AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10005      aAix_Rwlock_Initializer_1Tests,   apzAix_Rwlock_Initializer_1Patch, 0 },
10007   {  zAix_PthreadName,    zAix_PthreadList,
10008      apzAix_PthreadMachs,
10009      AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10010      aAix_PthreadTests,   apzAix_PthreadPatch, 0 },
10012   {  zAix_Stdint_1Name,    zAix_Stdint_1List,
10013      apzAix_Stdint_1Machs,
10014      AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10015      aAix_Stdint_1Tests,   apzAix_Stdint_1Patch, 0 },
10017   {  zAix_Stdint_2Name,    zAix_Stdint_2List,
10018      apzAix_Stdint_2Machs,
10019      AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10020      aAix_Stdint_2Tests,   apzAix_Stdint_2Patch, 0 },
10022   {  zAix_Stdint_3Name,    zAix_Stdint_3List,
10023      apzAix_Stdint_3Machs,
10024      AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10025      aAix_Stdint_3Tests,   apzAix_Stdint_3Patch, 0 },
10027   {  zAix_Stdint_4Name,    zAix_Stdint_4List,
10028      apzAix_Stdint_4Machs,
10029      AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10030      aAix_Stdint_4Tests,   apzAix_Stdint_4Patch, 0 },
10032   {  zAix_Stdint_5Name,    zAix_Stdint_5List,
10033      apzAix_Stdint_5Machs,
10034      AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10035      aAix_Stdint_5Tests,   apzAix_Stdint_5Patch, 0 },
10037   {  zAix_Stdio_InlineName,    zAix_Stdio_InlineList,
10038      apzAix_Stdio_InlineMachs,
10039      AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10040      aAix_Stdio_InlineTests,   apzAix_Stdio_InlinePatch, 0 },
10042   {  zAix_Stdlib_MallocName,    zAix_Stdlib_MallocList,
10043      apzAix_Stdlib_MallocMachs,
10044      AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10045      aAix_Stdlib_MallocTests,   apzAix_Stdlib_MallocPatch, 0 },
10047   {  zAix_Stdlib_ReallocName,    zAix_Stdlib_ReallocList,
10048      apzAix_Stdlib_ReallocMachs,
10049      AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10050      aAix_Stdlib_ReallocTests,   apzAix_Stdlib_ReallocPatch, 0 },
10052   {  zAix_Stdlib_CallocName,    zAix_Stdlib_CallocList,
10053      apzAix_Stdlib_CallocMachs,
10054      AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10055      aAix_Stdlib_CallocTests,   apzAix_Stdlib_CallocPatch, 0 },
10057   {  zAix_Stdlib_VallocName,    zAix_Stdlib_VallocList,
10058      apzAix_Stdlib_VallocMachs,
10059      AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10060      aAix_Stdlib_VallocTests,   apzAix_Stdlib_VallocPatch, 0 },
10062   {  zAix_Strtof_ConstName,    zAix_Strtof_ConstList,
10063      apzAix_Strtof_ConstMachs,
10064      AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10065      aAix_Strtof_ConstTests,   apzAix_Strtof_ConstPatch, 0 },
10067   {  zAix_SysmachineName,    zAix_SysmachineList,
10068      apzAix_SysmachineMachs,
10069      AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10070      aAix_SysmachineTests,   apzAix_SysmachinePatch, 0 },
10072   {  zAix_Syswait_2Name,    zAix_Syswait_2List,
10073      apzAix_Syswait_2Machs,
10074      AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10075      aAix_Syswait_2Tests,   apzAix_Syswait_2Patch, 0 },
10077   {  zAix_VolatileName,    zAix_VolatileList,
10078      apzAix_VolatileMachs,
10079      AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10080      aAix_VolatileTests,   apzAix_VolatilePatch, 0 },
10082   {  zAlpha___AssertName,    zAlpha___AssertList,
10083      apzAlpha___AssertMachs,
10084      ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10085      aAlpha___AssertTests,   apzAlpha___AssertPatch, 0 },
10087   {  zAlpha_AssertName,    zAlpha_AssertList,
10088      apzAlpha_AssertMachs,
10089      ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10090      aAlpha_AssertTests,   apzAlpha_AssertPatch, 0 },
10092   {  zAlpha_GetoptName,    zAlpha_GetoptList,
10093      apzAlpha_GetoptMachs,
10094      ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10095      aAlpha_GetoptTests,   apzAlpha_GetoptPatch, 0 },
10097   {  zAlpha_If_SemicolonName,    zAlpha_If_SemicolonList,
10098      apzAlpha_If_SemicolonMachs,
10099      ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10100      aAlpha_If_SemicolonTests,   apzAlpha_If_SemicolonPatch, 0 },
10102   {  zAlpha_ParensName,    zAlpha_ParensList,
10103      apzAlpha_ParensMachs,
10104      ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10105      aAlpha_ParensTests,   apzAlpha_ParensPatch, 0 },
10107   {  zAlpha_SbrkName,    zAlpha_SbrkList,
10108      apzAlpha_SbrkMachs,
10109      ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10110      aAlpha_SbrkTests,   apzAlpha_SbrkPatch, 0 },
10112   {  zAvoid_Bool_DefineName,    zAvoid_Bool_DefineList,
10113      apzAvoid_Bool_DefineMachs,
10114      AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10115      aAvoid_Bool_DefineTests,   apzAvoid_Bool_DefinePatch, 0 },
10117   {  zAvoid_Bool_TypeName,    zAvoid_Bool_TypeList,
10118      apzAvoid_Bool_TypeMachs,
10119      AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10120      aAvoid_Bool_TypeTests,   apzAvoid_Bool_TypePatch, 0 },
10122   {  zAvoid_Wchar_T_TypeName,    zAvoid_Wchar_T_TypeList,
10123      apzAvoid_Wchar_T_TypeMachs,
10124      AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10125      aAvoid_Wchar_T_TypeTests,   apzAvoid_Wchar_T_TypePatch, 0 },
10127   {  zBad_Struct_TermName,    zBad_Struct_TermList,
10128      apzBad_Struct_TermMachs,
10129      BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10130      aBad_Struct_TermTests,   apzBad_Struct_TermPatch, 0 },
10132   {  zBadquoteName,    zBadquoteList,
10133      apzBadquoteMachs,
10134      BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10135      aBadquoteTests,   apzBadquotePatch, 0 },
10137   {  zBroken_Assert_StdioName,    zBroken_Assert_StdioList,
10138      apzBroken_Assert_StdioMachs,
10139      BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10140      aBroken_Assert_StdioTests,   apzBroken_Assert_StdioPatch, 0 },
10142   {  zBroken_Assert_StdlibName,    zBroken_Assert_StdlibList,
10143      apzBroken_Assert_StdlibMachs,
10144      BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10145      aBroken_Assert_StdlibTests,   apzBroken_Assert_StdlibPatch, 0 },
10147   {  zBroken_CabsName,    zBroken_CabsList,
10148      apzBroken_CabsMachs,
10149      BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10150      aBroken_CabsTests,   apzBroken_CabsPatch, 0 },
10152   {  zBroken_NanName,    zBroken_NanList,
10153      apzBroken_NanMachs,
10154      BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10155      aBroken_NanTests,   apzBroken_NanPatch, 0 },
10157   {  zBsd_Stdio_Attrs_ConflictName,    zBsd_Stdio_Attrs_ConflictList,
10158      apzBsd_Stdio_Attrs_ConflictMachs,
10159      BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10160      aBsd_Stdio_Attrs_ConflictTests,   apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10162   {  zCtrl_Quotes_DefName,    zCtrl_Quotes_DefList,
10163      apzCtrl_Quotes_DefMachs,
10164      CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10165      aCtrl_Quotes_DefTests,   apzCtrl_Quotes_DefPatch, 0 },
10167   {  zCtrl_Quotes_UseName,    zCtrl_Quotes_UseList,
10168      apzCtrl_Quotes_UseMachs,
10169      CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10170      aCtrl_Quotes_UseTests,   apzCtrl_Quotes_UsePatch, 0 },
10172   {  zCxx_UnreadyName,    zCxx_UnreadyList,
10173      apzCxx_UnreadyMachs,
10174      CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10175      aCxx_UnreadyTests,   apzCxx_UnreadyPatch, 0 },
10177   {  zDarwin_9_Long_Double_Funcs_2Name,    zDarwin_9_Long_Double_Funcs_2List,
10178      apzDarwin_9_Long_Double_Funcs_2Machs,
10179      DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10180      aDarwin_9_Long_Double_Funcs_2Tests,   apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10182   {  zDarwin_ExterncName,    zDarwin_ExterncList,
10183      apzDarwin_ExterncMachs,
10184      DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10185      aDarwin_ExterncTests,   apzDarwin_ExterncPatch, 0 },
10187   {  zDarwin_Gcc4_BreakageName,    zDarwin_Gcc4_BreakageList,
10188      apzDarwin_Gcc4_BreakageMachs,
10189      DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10190      aDarwin_Gcc4_BreakageTests,   apzDarwin_Gcc4_BreakagePatch, 0 },
10192   {  zDarwin_Private_ExternName,    zDarwin_Private_ExternList,
10193      apzDarwin_Private_ExternMachs,
10194      DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10195      aDarwin_Private_ExternTests,   apzDarwin_Private_ExternPatch, 0 },
10197   {  zDarwin_Stdint_1Name,    zDarwin_Stdint_1List,
10198      apzDarwin_Stdint_1Machs,
10199      DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10200      aDarwin_Stdint_1Tests,   apzDarwin_Stdint_1Patch, 0 },
10202   {  zDarwin_Stdint_2Name,    zDarwin_Stdint_2List,
10203      apzDarwin_Stdint_2Machs,
10204      DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10205      aDarwin_Stdint_2Tests,   apzDarwin_Stdint_2Patch, 0 },
10207   {  zDarwin_Stdint_3Name,    zDarwin_Stdint_3List,
10208      apzDarwin_Stdint_3Machs,
10209      DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10210      aDarwin_Stdint_3Tests,   apzDarwin_Stdint_3Patch, 0 },
10212   {  zDarwin_Stdint_4Name,    zDarwin_Stdint_4List,
10213      apzDarwin_Stdint_4Machs,
10214      DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10215      aDarwin_Stdint_4Tests,   apzDarwin_Stdint_4Patch, 0 },
10217   {  zDarwin_Stdint_5Name,    zDarwin_Stdint_5List,
10218      apzDarwin_Stdint_5Machs,
10219      DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10220      aDarwin_Stdint_5Tests,   apzDarwin_Stdint_5Patch, 0 },
10222   {  zDarwin_Stdint_6Name,    zDarwin_Stdint_6List,
10223      apzDarwin_Stdint_6Machs,
10224      DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10225      aDarwin_Stdint_6Tests,   apzDarwin_Stdint_6Patch, 0 },
10227   {  zDarwin_Stdint_7Name,    zDarwin_Stdint_7List,
10228      apzDarwin_Stdint_7Machs,
10229      DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10230      aDarwin_Stdint_7Tests,   apzDarwin_Stdint_7Patch, 0 },
10232   {  zDec_Intern_AsmName,    zDec_Intern_AsmList,
10233      apzDec_Intern_AsmMachs,
10234      DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10235      aDec_Intern_AsmTests,   apzDec_Intern_AsmPatch, 0 },
10237   {  zDjgpp_Wchar_HName,    zDjgpp_Wchar_HList,
10238      apzDjgpp_Wchar_HMachs,
10239      DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10240      aDjgpp_Wchar_HTests,   apzDjgpp_Wchar_HPatch, 0 },
10242   {  zEcd_CursorName,    zEcd_CursorList,
10243      apzEcd_CursorMachs,
10244      ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10245      aEcd_CursorTests,   apzEcd_CursorPatch, 0 },
10247   {  zFeraiseexcept_Nosse_DivbyzeroName,    zFeraiseexcept_Nosse_DivbyzeroList,
10248      apzFeraiseexcept_Nosse_DivbyzeroMachs,
10249      FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10250      aFeraiseexcept_Nosse_DivbyzeroTests,   apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10252   {  zFeraiseexcept_Nosse_InvalidName,    zFeraiseexcept_Nosse_InvalidList,
10253      apzFeraiseexcept_Nosse_InvalidMachs,
10254      FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10255      aFeraiseexcept_Nosse_InvalidTests,   apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10257   {  zFreebsd_Gcc3_BreakageName,    zFreebsd_Gcc3_BreakageList,
10258      apzFreebsd_Gcc3_BreakageMachs,
10259      FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10260      aFreebsd_Gcc3_BreakageTests,   apzFreebsd_Gcc3_BreakagePatch, 0 },
10262   {  zFreebsd_Gcc4_BreakageName,    zFreebsd_Gcc4_BreakageList,
10263      apzFreebsd_Gcc4_BreakageMachs,
10264      FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10265      aFreebsd_Gcc4_BreakageTests,   apzFreebsd_Gcc4_BreakagePatch, 0 },
10267   {  zGlibc_C99_Inline_1Name,    zGlibc_C99_Inline_1List,
10268      apzGlibc_C99_Inline_1Machs,
10269      GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10270      aGlibc_C99_Inline_1Tests,   apzGlibc_C99_Inline_1Patch, 0 },
10272   {  zGlibc_C99_Inline_1aName,    zGlibc_C99_Inline_1aList,
10273      apzGlibc_C99_Inline_1aMachs,
10274      GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10275      aGlibc_C99_Inline_1aTests,   apzGlibc_C99_Inline_1aPatch, 0 },
10277   {  zGlibc_C99_Inline_2Name,    zGlibc_C99_Inline_2List,
10278      apzGlibc_C99_Inline_2Machs,
10279      GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10280      aGlibc_C99_Inline_2Tests,   apzGlibc_C99_Inline_2Patch, 0 },
10282   {  zGlibc_C99_Inline_3Name,    zGlibc_C99_Inline_3List,
10283      apzGlibc_C99_Inline_3Machs,
10284      GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10285      aGlibc_C99_Inline_3Tests,   apzGlibc_C99_Inline_3Patch, 0 },
10287   {  zGlibc_C99_Inline_4Name,    zGlibc_C99_Inline_4List,
10288      apzGlibc_C99_Inline_4Machs,
10289      GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10290      aGlibc_C99_Inline_4Tests,   apzGlibc_C99_Inline_4Patch, 0 },
10292   {  zGlibc_Mutex_InitName,    zGlibc_Mutex_InitList,
10293      apzGlibc_Mutex_InitMachs,
10294      GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10295      aGlibc_Mutex_InitTests,   apzGlibc_Mutex_InitPatch, 0 },
10297   {  zGlibc_StdintName,    zGlibc_StdintList,
10298      apzGlibc_StdintMachs,
10299      GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10300      aGlibc_StdintTests,   apzGlibc_StdintPatch, 0 },
10302   {  zGlibc_StrncpyName,    zGlibc_StrncpyList,
10303      apzGlibc_StrncpyMachs,
10304      GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10305      aGlibc_StrncpyTests,   apzGlibc_StrncpyPatch, 0 },
10307   {  zGlibc_TgmathName,    zGlibc_TgmathList,
10308      apzGlibc_TgmathMachs,
10309      GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10310      aGlibc_TgmathTests,   apzGlibc_TgmathPatch, 0 },
10312   {  zGnu_TypesName,    zGnu_TypesList,
10313      apzGnu_TypesMachs,
10314      GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10315      aGnu_TypesTests,   apzGnu_TypesPatch, 0 },
10317   {  zHp_InlineName,    zHp_InlineList,
10318      apzHp_InlineMachs,
10319      HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10320      aHp_InlineTests,   apzHp_InlinePatch, 0 },
10322   {  zHp_SysfileName,    zHp_SysfileList,
10323      apzHp_SysfileMachs,
10324      HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10325      aHp_SysfileTests,   apzHp_SysfilePatch, 0 },
10327   {  zHppa_Hpux_Fp_MacrosName,    zHppa_Hpux_Fp_MacrosList,
10328      apzHppa_Hpux_Fp_MacrosMachs,
10329      HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10330      aHppa_Hpux_Fp_MacrosTests,   apzHppa_Hpux_Fp_MacrosPatch, 0 },
10332   {  zHpux10_Cpp_Pow_InlineName,    zHpux10_Cpp_Pow_InlineList,
10333      apzHpux10_Cpp_Pow_InlineMachs,
10334      HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10335      aHpux10_Cpp_Pow_InlineTests,   apzHpux10_Cpp_Pow_InlinePatch, 0 },
10337   {  zHpux11_Cpp_Pow_InlineName,    zHpux11_Cpp_Pow_InlineList,
10338      apzHpux11_Cpp_Pow_InlineMachs,
10339      HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10340      aHpux11_Cpp_Pow_InlineTests,   apzHpux11_Cpp_Pow_InlinePatch, 0 },
10342   {  zHpux10_Ctype_Declarations1Name,    zHpux10_Ctype_Declarations1List,
10343      apzHpux10_Ctype_Declarations1Machs,
10344      HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10345      aHpux10_Ctype_Declarations1Tests,   apzHpux10_Ctype_Declarations1Patch, 0 },
10347   {  zHpux10_Ctype_Declarations2Name,    zHpux10_Ctype_Declarations2List,
10348      apzHpux10_Ctype_Declarations2Machs,
10349      HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10350      aHpux10_Ctype_Declarations2Tests,   apzHpux10_Ctype_Declarations2Patch, 0 },
10352   {  zHpux10_Stdio_DeclarationsName,    zHpux10_Stdio_DeclarationsList,
10353      apzHpux10_Stdio_DeclarationsMachs,
10354      HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10355      aHpux10_Stdio_DeclarationsTests,   apzHpux10_Stdio_DeclarationsPatch, 0 },
10357   {  zHpux11_AbsName,    zHpux11_AbsList,
10358      apzHpux11_AbsMachs,
10359      HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10360      aHpux11_AbsTests,   apzHpux11_AbsPatch, 0 },
10362   {  zHpux11_Lwp_Rwlock_ValidName,    zHpux11_Lwp_Rwlock_ValidList,
10363      apzHpux11_Lwp_Rwlock_ValidMachs,
10364      HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10365      aHpux11_Lwp_Rwlock_ValidTests,   apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10367   {  zHpux11_Extern_SendfileName,    zHpux11_Extern_SendfileList,
10368      apzHpux11_Extern_SendfileMachs,
10369      HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10370      aHpux11_Extern_SendfileTests,   apzHpux11_Extern_SendfilePatch, 0 },
10372   {  zHpux11_Extern_SendpathName,    zHpux11_Extern_SendpathList,
10373      apzHpux11_Extern_SendpathMachs,
10374      HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10375      aHpux11_Extern_SendpathTests,   apzHpux11_Extern_SendpathPatch, 0 },
10377   {  zHpux11_FabsfName,    zHpux11_FabsfList,
10378      apzHpux11_FabsfMachs,
10379      HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10380      aHpux11_FabsfTests,   apzHpux11_FabsfPatch, 0 },
10382   {  zHpux11_Pthread_ConstName,    zHpux11_Pthread_ConstList,
10383      apzHpux11_Pthread_ConstMachs,
10384      HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10385      aHpux11_Pthread_ConstTests,   apzHpux11_Pthread_ConstPatch, 0 },
10387   {  zHpux11_Size_TName,    zHpux11_Size_TList,
10388      apzHpux11_Size_TMachs,
10389      HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10390      aHpux11_Size_TTests,   apzHpux11_Size_TPatch, 0 },
10392   {  zHpux11_SnprintfName,    zHpux11_SnprintfList,
10393      apzHpux11_SnprintfMachs,
10394      HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10395      aHpux11_SnprintfTests,   apzHpux11_SnprintfPatch, 0 },
10397   {  zHpux11_VsnprintfName,    zHpux11_VsnprintfList,
10398      apzHpux11_VsnprintfMachs,
10399      HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10400      aHpux11_VsnprintfTests,   apzHpux11_VsnprintfPatch, 0 },
10402   {  zHpux_VsscanfName,    zHpux_VsscanfList,
10403      apzHpux_VsscanfMachs,
10404      HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10405      aHpux_VsscanfTests,   apzHpux_VsscanfPatch, 0 },
10407   {  zHpux8_Bogus_InlinesName,    zHpux8_Bogus_InlinesList,
10408      apzHpux8_Bogus_InlinesMachs,
10409      HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10410      aHpux8_Bogus_InlinesTests,   apzHpux8_Bogus_InlinesPatch, 0 },
10412   {  zHpux_C99_IntptrName,    zHpux_C99_IntptrList,
10413      apzHpux_C99_IntptrMachs,
10414      HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10415      aHpux_C99_IntptrTests,   apzHpux_C99_IntptrPatch, 0 },
10417   {  zHpux_C99_InttypesName,    zHpux_C99_InttypesList,
10418      apzHpux_C99_InttypesMachs,
10419      HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10420      aHpux_C99_InttypesTests,   apzHpux_C99_InttypesPatch, 0 },
10422   {  zHpux_C99_Inttypes2Name,    zHpux_C99_Inttypes2List,
10423      apzHpux_C99_Inttypes2Machs,
10424      HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10425      aHpux_C99_Inttypes2Tests,   apzHpux_C99_Inttypes2Patch, 0 },
10427   {  zHpux_Ctype_MacrosName,    zHpux_Ctype_MacrosList,
10428      apzHpux_Ctype_MacrosMachs,
10429      HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10430      aHpux_Ctype_MacrosTests,   apzHpux_Ctype_MacrosPatch, 0 },
10432   {  zHpux_Extern_ErrnoName,    zHpux_Extern_ErrnoList,
10433      apzHpux_Extern_ErrnoMachs,
10434      HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10435      aHpux_Extern_ErrnoTests,   apzHpux_Extern_ErrnoPatch, 0 },
10437   {  zHpux_HtonlName,    zHpux_HtonlList,
10438      apzHpux_HtonlMachs,
10439      HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10440      aHpux_HtonlTests,   apzHpux_HtonlPatch, 0 },
10442   {  zHpux_Imaginary_IName,    zHpux_Imaginary_IList,
10443      apzHpux_Imaginary_IMachs,
10444      HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10445      aHpux_Imaginary_ITests,   apzHpux_Imaginary_IPatch, 0 },
10447   {  zHpux_Inttype_Int8_TName,    zHpux_Inttype_Int8_TList,
10448      apzHpux_Inttype_Int8_TMachs,
10449      HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10450      aHpux_Inttype_Int8_TTests,   apzHpux_Inttype_Int8_TPatch, 0 },
10452   {  zHpux_Long_DoubleName,    zHpux_Long_DoubleList,
10453      apzHpux_Long_DoubleMachs,
10454      HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10455      aHpux_Long_DoubleTests,   apzHpux_Long_DoublePatch, 0 },
10457   {  zHpux_Long_Double_2Name,    zHpux_Long_Double_2List,
10458      apzHpux_Long_Double_2Machs,
10459      HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10460      aHpux_Long_Double_2Tests,   apzHpux_Long_Double_2Patch, 0 },
10462   {  zHpux_Pthread_InitializersName,    zHpux_Pthread_InitializersList,
10463      apzHpux_Pthread_InitializersMachs,
10464      HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10465      aHpux_Pthread_InitializersTests,   apzHpux_Pthread_InitializersPatch, 0 },
10467   {  zHpux_Spu_InfoName,    zHpux_Spu_InfoList,
10468      apzHpux_Spu_InfoMachs,
10469      HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10470      aHpux_Spu_InfoTests,   apzHpux_Spu_InfoPatch, 0 },
10472   {  zHpux_Stdint_Least_FastName,    zHpux_Stdint_Least_FastList,
10473      apzHpux_Stdint_Least_FastMachs,
10474      HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10475      aHpux_Stdint_Least_FastTests,   apzHpux_Stdint_Least_FastPatch, 0 },
10477   {  zHpux_SystimeName,    zHpux_SystimeList,
10478      apzHpux_SystimeMachs,
10479      HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10480      aHpux_SystimeTests,   apzHpux_SystimePatch, 0 },
10482   {  zHuge_Val_HexName,    zHuge_Val_HexList,
10483      apzHuge_Val_HexMachs,
10484      HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10485      aHuge_Val_HexTests,   apzHuge_Val_HexPatch, 0 },
10487   {  zHuge_Valf_HexName,    zHuge_Valf_HexList,
10488      apzHuge_Valf_HexMachs,
10489      HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10490      aHuge_Valf_HexTests,   apzHuge_Valf_HexPatch, 0 },
10492   {  zHuge_Vall_HexName,    zHuge_Vall_HexList,
10493      apzHuge_Vall_HexMachs,
10494      HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10495      aHuge_Vall_HexTests,   apzHuge_Vall_HexPatch, 0 },
10497   {  zInt_Abort_Free_And_ExitName,    zInt_Abort_Free_And_ExitList,
10498      apzInt_Abort_Free_And_ExitMachs,
10499      INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10500      aInt_Abort_Free_And_ExitTests,   apzInt_Abort_Free_And_ExitPatch, 0 },
10502   {  zIo_Quotes_DefName,    zIo_Quotes_DefList,
10503      apzIo_Quotes_DefMachs,
10504      IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10505      aIo_Quotes_DefTests,   apzIo_Quotes_DefPatch, 0 },
10507   {  zIo_Quotes_UseName,    zIo_Quotes_UseList,
10508      apzIo_Quotes_UseMachs,
10509      IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10510      aIo_Quotes_UseTests,   apzIo_Quotes_UsePatch, 0 },
10512   {  zIp_Missing_SemiName,    zIp_Missing_SemiList,
10513      apzIp_Missing_SemiMachs,
10514      IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10515      aIp_Missing_SemiTests,   apzIp_Missing_SemiPatch, 0 },
10517   {  zIrix_Limits_ConstName,    zIrix_Limits_ConstList,
10518      apzIrix_Limits_ConstMachs,
10519      IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10520      aIrix_Limits_ConstTests,   apzIrix_Limits_ConstPatch, 0 },
10522   {  zIrix_Stdio_Va_ListName,    zIrix_Stdio_Va_ListList,
10523      apzIrix_Stdio_Va_ListMachs,
10524      IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10525      aIrix_Stdio_Va_ListTests,   apzIrix_Stdio_Va_ListPatch, 0 },
10527   {  zKandr_ConcatName,    zKandr_ConcatList,
10528      apzKandr_ConcatMachs,
10529      KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10530      aKandr_ConcatTests,   apzKandr_ConcatPatch, 0 },
10532   {  zLinux_Ia64_UcontextName,    zLinux_Ia64_UcontextList,
10533      apzLinux_Ia64_UcontextMachs,
10534      LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10535      aLinux_Ia64_UcontextTests,   apzLinux_Ia64_UcontextPatch, 0 },
10537   {  zLynxos_No_Warning_In_Sys_Time_HName,    zLynxos_No_Warning_In_Sys_Time_HList,
10538      apzLynxos_No_Warning_In_Sys_Time_HMachs,
10539      LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10540      aLynxos_No_Warning_In_Sys_Time_HTests,   apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10542   {  zLynxos_Missing_PutenvName,    zLynxos_Missing_PutenvList,
10543      apzLynxos_Missing_PutenvMachs,
10544      LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10545      aLynxos_Missing_PutenvTests,   apzLynxos_Missing_PutenvPatch, 0 },
10547   {  zMachine_Ansi_H_Va_ListName,    zMachine_Ansi_H_Va_ListList,
10548      apzMachine_Ansi_H_Va_ListMachs,
10549      MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10550      aMachine_Ansi_H_Va_ListTests,   apzMachine_Ansi_H_Va_ListPatch, 0 },
10552   {  zMachine_NameName,    zMachine_NameList,
10553      apzMachine_NameMachs,
10554      MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10555      aMachine_NameTests,   apzMachine_NamePatch, 0 },
10557   {  zMath_ExceptionName,    zMath_ExceptionList,
10558      apzMath_ExceptionMachs,
10559      MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10560      aMath_ExceptionTests,   apzMath_ExceptionPatch, 0 },
10562   {  zMath_Huge_Val_From_Dbl_MaxName,    zMath_Huge_Val_From_Dbl_MaxList,
10563      apzMath_Huge_Val_From_Dbl_MaxMachs,
10564      MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10565      aMath_Huge_Val_From_Dbl_MaxTests,   apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10567   {  zNested_Auth_DesName,    zNested_Auth_DesList,
10568      apzNested_Auth_DesMachs,
10569      NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10570      aNested_Auth_DesTests,   apzNested_Auth_DesPatch, 0 },
10572   {  zNetbsd_C99_Inline_1Name,    zNetbsd_C99_Inline_1List,
10573      apzNetbsd_C99_Inline_1Machs,
10574      NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10575      aNetbsd_C99_Inline_1Tests,   apzNetbsd_C99_Inline_1Patch, 0 },
10577   {  zNetbsd_C99_Inline_2Name,    zNetbsd_C99_Inline_2List,
10578      apzNetbsd_C99_Inline_2Machs,
10579      NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10580      aNetbsd_C99_Inline_2Tests,   apzNetbsd_C99_Inline_2Patch, 0 },
10582   {  zNetbsd_Extra_SemicolonName,    zNetbsd_Extra_SemicolonList,
10583      apzNetbsd_Extra_SemicolonMachs,
10584      NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10585      aNetbsd_Extra_SemicolonTests,   apzNetbsd_Extra_SemicolonPatch, 0 },
10587   {  zNewlib_Stdint_1Name,    zNewlib_Stdint_1List,
10588      apzNewlib_Stdint_1Machs,
10589      NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10590      aNewlib_Stdint_1Tests,   apzNewlib_Stdint_1Patch, 0 },
10592   {  zNewlib_Stdint_2Name,    zNewlib_Stdint_2List,
10593      apzNewlib_Stdint_2Machs,
10594      NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10595      aNewlib_Stdint_2Tests,   apzNewlib_Stdint_2Patch, 0 },
10597   {  zNext_Math_PrefixName,    zNext_Math_PrefixList,
10598      apzNext_Math_PrefixMachs,
10599      NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10600      aNext_Math_PrefixTests,   apzNext_Math_PrefixPatch, 0 },
10602   {  zNext_TemplateName,    zNext_TemplateList,
10603      apzNext_TemplateMachs,
10604      NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10605      aNext_TemplateTests,   apzNext_TemplatePatch, 0 },
10607   {  zNext_VolitileName,    zNext_VolitileList,
10608      apzNext_VolitileMachs,
10609      NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10610      aNext_VolitileTests,   apzNext_VolitilePatch, 0 },
10612   {  zNext_Wait_UnionName,    zNext_Wait_UnionList,
10613      apzNext_Wait_UnionMachs,
10614      NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10615      aNext_Wait_UnionTests,   apzNext_Wait_UnionPatch, 0 },
10617   {  zNodeent_SyntaxName,    zNodeent_SyntaxList,
10618      apzNodeent_SyntaxMachs,
10619      NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10620      aNodeent_SyntaxTests,   apzNodeent_SyntaxPatch, 0 },
10622   {  zOpenbsd_Null_DefinitionName,    zOpenbsd_Null_DefinitionList,
10623      apzOpenbsd_Null_DefinitionMachs,
10624      OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10625      aOpenbsd_Null_DefinitionTests,   apzOpenbsd_Null_DefinitionPatch, 0 },
10627   {  zObstack_Lvalue_CastName,    zObstack_Lvalue_CastList,
10628      apzObstack_Lvalue_CastMachs,
10629      OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10630      aObstack_Lvalue_CastTests,   apzObstack_Lvalue_CastPatch, 0 },
10632   {  zOpenbsd_Va_StartName,    zOpenbsd_Va_StartList,
10633      apzOpenbsd_Va_StartMachs,
10634      OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10635      aOpenbsd_Va_StartTests,   apzOpenbsd_Va_StartPatch, 0 },
10637   {  zOsf_Namespace_AName,    zOsf_Namespace_AList,
10638      apzOsf_Namespace_AMachs,
10639      OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10640      aOsf_Namespace_ATests,   apzOsf_Namespace_APatch, 0 },
10642   {  zOsf_Namespace_CName,    zOsf_Namespace_CList,
10643      apzOsf_Namespace_CMachs,
10644      OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10645      aOsf_Namespace_CTests,   apzOsf_Namespace_CPatch, 0 },
10647   {  zPthread_Incomplete_Struct_ArgumentName,    zPthread_Incomplete_Struct_ArgumentList,
10648      apzPthread_Incomplete_Struct_ArgumentMachs,
10649      PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10650      aPthread_Incomplete_Struct_ArgumentTests,   apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10652   {  zRead_Ret_TypeName,    zRead_Ret_TypeList,
10653      apzRead_Ret_TypeMachs,
10654      READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10655      aRead_Ret_TypeTests,   apzRead_Ret_TypePatch, 0 },
10657   {  zRpc_Xdr_Lvalue_Cast_AName,    zRpc_Xdr_Lvalue_Cast_AList,
10658      apzRpc_Xdr_Lvalue_Cast_AMachs,
10659      RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10660      aRpc_Xdr_Lvalue_Cast_ATests,   apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10662   {  zRpc_Xdr_Lvalue_Cast_BName,    zRpc_Xdr_Lvalue_Cast_BList,
10663      apzRpc_Xdr_Lvalue_Cast_BMachs,
10664      RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10665      aRpc_Xdr_Lvalue_Cast_BTests,   apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10667   {  zRs6000_DoubleName,    zRs6000_DoubleList,
10668      apzRs6000_DoubleMachs,
10669      RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10670      aRs6000_DoubleTests,   apzRs6000_DoublePatch, 0 },
10672   {  zRs6000_FchmodName,    zRs6000_FchmodList,
10673      apzRs6000_FchmodMachs,
10674      RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10675      aRs6000_FchmodTests,   apzRs6000_FchmodPatch, 0 },
10677   {  zRs6000_ParamName,    zRs6000_ParamList,
10678      apzRs6000_ParamMachs,
10679      RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10680      aRs6000_ParamTests,   apzRs6000_ParamPatch, 0 },
10682   {  zSolaris___RestrictName,    zSolaris___RestrictList,
10683      apzSolaris___RestrictMachs,
10684      SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10685      aSolaris___RestrictTests,   apzSolaris___RestrictPatch, 0 },
10687   {  zSolaris_ComplexName,    zSolaris_ComplexList,
10688      apzSolaris_ComplexMachs,
10689      SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10690      aSolaris_ComplexTests,   apzSolaris_ComplexPatch, 0 },
10692   {  zSolaris_Complex_CxxName,    zSolaris_Complex_CxxList,
10693      apzSolaris_Complex_CxxMachs,
10694      SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10695      aSolaris_Complex_CxxTests,   apzSolaris_Complex_CxxPatch, 0 },
10697   {  zSolaris_Cxx_LinkageName,    zSolaris_Cxx_LinkageList,
10698      apzSolaris_Cxx_LinkageMachs,
10699      SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10700      aSolaris_Cxx_LinkageTests,   apzSolaris_Cxx_LinkagePatch, 0 },
10702   {  zSolaris_Getc_Strict_StdcName,    zSolaris_Getc_Strict_StdcList,
10703      apzSolaris_Getc_Strict_StdcMachs,
10704      SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10705      aSolaris_Getc_Strict_StdcTests,   apzSolaris_Getc_Strict_StdcPatch, 0 },
10707   {  zSolaris_Int_ConstName,    zSolaris_Int_ConstList,
10708      apzSolaris_Int_ConstMachs,
10709      SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10710      aSolaris_Int_ConstTests,   apzSolaris_Int_ConstPatch, 0 },
10712   {  zSolaris_Int_Limits_1Name,    zSolaris_Int_Limits_1List,
10713      apzSolaris_Int_Limits_1Machs,
10714      SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10715      aSolaris_Int_Limits_1Tests,   apzSolaris_Int_Limits_1Patch, 0 },
10717   {  zSolaris_Int_Limits_2Name,    zSolaris_Int_Limits_2List,
10718      apzSolaris_Int_Limits_2Machs,
10719      SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10720      aSolaris_Int_Limits_2Tests,   apzSolaris_Int_Limits_2Patch, 0 },
10722   {  zSolaris_Int_Limits_3Name,    zSolaris_Int_Limits_3List,
10723      apzSolaris_Int_Limits_3Machs,
10724      SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10725      aSolaris_Int_Limits_3Tests,   apzSolaris_Int_Limits_3Patch, 0 },
10727   {  zSolaris_Math_1Name,    zSolaris_Math_1List,
10728      apzSolaris_Math_1Machs,
10729      SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10730      aSolaris_Math_1Tests,   apzSolaris_Math_1Patch, 0 },
10732   {  zSolaris_Math_10Name,    zSolaris_Math_10List,
10733      apzSolaris_Math_10Machs,
10734      SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10735      aSolaris_Math_10Tests,   apzSolaris_Math_10Patch, 0 },
10737   {  zSolaris_Math_2Name,    zSolaris_Math_2List,
10738      apzSolaris_Math_2Machs,
10739      SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10740      aSolaris_Math_2Tests,   apzSolaris_Math_2Patch, 0 },
10742   {  zSolaris_Math_3Name,    zSolaris_Math_3List,
10743      apzSolaris_Math_3Machs,
10744      SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10745      aSolaris_Math_3Tests,   apzSolaris_Math_3Patch, 0 },
10747   {  zSolaris_Math_4Name,    zSolaris_Math_4List,
10748      apzSolaris_Math_4Machs,
10749      SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10750      aSolaris_Math_4Tests,   apzSolaris_Math_4Patch, 0 },
10752   {  zSolaris_Math_8Name,    zSolaris_Math_8List,
10753      apzSolaris_Math_8Machs,
10754      SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10755      aSolaris_Math_8Tests,   apzSolaris_Math_8Patch, 0 },
10757   {  zSolaris_Math_9Name,    zSolaris_Math_9List,
10758      apzSolaris_Math_9Machs,
10759      SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10760      aSolaris_Math_9Tests,   apzSolaris_Math_9Patch, 0 },
10762   {  zSolaris_Math_11Name,    zSolaris_Math_11List,
10763      apzSolaris_Math_11Machs,
10764      SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10765      aSolaris_Math_11Tests,   apzSolaris_Math_11Patch, 0 },
10767   {  zSolaris_Once_Init_1Name,    zSolaris_Once_Init_1List,
10768      apzSolaris_Once_Init_1Machs,
10769      SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10770      aSolaris_Once_Init_1Tests,   apzSolaris_Once_Init_1Patch, 0 },
10772   {  zSolaris_Posix_Spawn_RestrictName,    zSolaris_Posix_Spawn_RestrictList,
10773      apzSolaris_Posix_Spawn_RestrictMachs,
10774      SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10775      aSolaris_Posix_Spawn_RestrictTests,   apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10777   {  zSolaris_Pow_Int_OverloadName,    zSolaris_Pow_Int_OverloadList,
10778      apzSolaris_Pow_Int_OverloadMachs,
10779      SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10780      aSolaris_Pow_Int_OverloadTests,   apzSolaris_Pow_Int_OverloadPatch, 0 },
10782   {  zSolaris_Rwlock_Init_1Name,    zSolaris_Rwlock_Init_1List,
10783      apzSolaris_Rwlock_Init_1Machs,
10784      SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10785      aSolaris_Rwlock_Init_1Tests,   apzSolaris_Rwlock_Init_1Patch, 0 },
10787   {  zSolaris_Std___FilbufName,    zSolaris_Std___FilbufList,
10788      apzSolaris_Std___FilbufMachs,
10789      SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10790      aSolaris_Std___FilbufTests,   apzSolaris_Std___FilbufPatch, 0 },
10792   {  zSolaris_Stdio_TagName,    zSolaris_Stdio_TagList,
10793      apzSolaris_Stdio_TagMachs,
10794      SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10795      aSolaris_Stdio_TagTests,   apzSolaris_Stdio_TagPatch, 0 },
10797   {  zStatsswtchName,    zStatsswtchList,
10798      apzStatsswtchMachs,
10799      STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10800      aStatsswtchTests,   apzStatsswtchPatch, 0 },
10802   {  zStdio_Stdarg_HName,    zStdio_Stdarg_HList,
10803      apzStdio_Stdarg_HMachs,
10804      STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10805      aStdio_Stdarg_HTests,   apzStdio_Stdarg_HPatch, 0 },
10807   {  zStdio_Va_ListName,    zStdio_Va_ListList,
10808      apzStdio_Va_ListMachs,
10809      STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10810      aStdio_Va_ListTests,   apzStdio_Va_ListPatch, 0 },
10812   {  zStdio_Va_List_ClientsName,    zStdio_Va_List_ClientsList,
10813      apzStdio_Va_List_ClientsMachs,
10814      STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10815      aStdio_Va_List_ClientsTests,   apzStdio_Va_List_ClientsPatch, 0 },
10817   {  zStrict_Ansi_NotName,    zStrict_Ansi_NotList,
10818      apzStrict_Ansi_NotMachs,
10819      STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10820      aStrict_Ansi_NotTests,   apzStrict_Ansi_NotPatch, 0 },
10822   {  zStrict_Ansi_Not_CtdName,    zStrict_Ansi_Not_CtdList,
10823      apzStrict_Ansi_Not_CtdMachs,
10824      STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10825      aStrict_Ansi_Not_CtdTests,   apzStrict_Ansi_Not_CtdPatch, 0 },
10827   {  zStrict_Ansi_OnlyName,    zStrict_Ansi_OnlyList,
10828      apzStrict_Ansi_OnlyMachs,
10829      STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10830      aStrict_Ansi_OnlyTests,   apzStrict_Ansi_OnlyPatch, 0 },
10832   {  zStruct_FileName,    zStruct_FileList,
10833      apzStruct_FileMachs,
10834      STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10835      aStruct_FileTests,   apzStruct_FilePatch, 0 },
10837   {  zStruct_SockaddrName,    zStruct_SockaddrList,
10838      apzStruct_SockaddrMachs,
10839      STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10840      aStruct_SockaddrTests,   apzStruct_SockaddrPatch, 0 },
10842   {  zSun_Auth_ProtoName,    zSun_Auth_ProtoList,
10843      apzSun_Auth_ProtoMachs,
10844      SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10845      aSun_Auth_ProtoTests,   apzSun_Auth_ProtoPatch, 0 },
10847   {  zSun_Bogus_IfdefName,    zSun_Bogus_IfdefList,
10848      apzSun_Bogus_IfdefMachs,
10849      SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10850      aSun_Bogus_IfdefTests,   apzSun_Bogus_IfdefPatch, 0 },
10852   {  zSun_CatmacroName,    zSun_CatmacroList,
10853      apzSun_CatmacroMachs,
10854      SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10855      aSun_CatmacroTests,   apzSun_CatmacroPatch, 0 },
10857   {  zSun_MallocName,    zSun_MallocList,
10858      apzSun_MallocMachs,
10859      SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10860      aSun_MallocTests,   apzSun_MallocPatch, 0 },
10862   {  zSun_Rusers_SemiName,    zSun_Rusers_SemiList,
10863      apzSun_Rusers_SemiMachs,
10864      SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10865      aSun_Rusers_SemiTests,   apzSun_Rusers_SemiPatch, 0 },
10867   {  zSun_SignalName,    zSun_SignalList,
10868      apzSun_SignalMachs,
10869      SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10870      aSun_SignalTests,   apzSun_SignalPatch, 0 },
10872   {  zSunos_StrlenName,    zSunos_StrlenList,
10873      apzSunos_StrlenMachs,
10874      SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10875      aSunos_StrlenTests,   apzSunos_StrlenPatch, 0 },
10877   {  zSuse_Linux_Vt_CxxName,    zSuse_Linux_Vt_CxxList,
10878      apzSuse_Linux_Vt_CxxMachs,
10879      SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10880      aSuse_Linux_Vt_CxxTests,   apzSuse_Linux_Vt_CxxPatch, 0 },
10882   {  zSvr4_Disable_OptName,    zSvr4_Disable_OptList,
10883      apzSvr4_Disable_OptMachs,
10884      SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10885      aSvr4_Disable_OptTests,   apzSvr4_Disable_OptPatch, 0 },
10887   {  zSvr4_GetcwdName,    zSvr4_GetcwdList,
10888      apzSvr4_GetcwdMachs,
10889      SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10890      aSvr4_GetcwdTests,   apzSvr4_GetcwdPatch, 0 },
10892   {  zSvr4_ProfilName,    zSvr4_ProfilList,
10893      apzSvr4_ProfilMachs,
10894      SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10895      aSvr4_ProfilTests,   apzSvr4_ProfilPatch, 0 },
10897   {  zSvr4_Sighandler_TypeName,    zSvr4_Sighandler_TypeList,
10898      apzSvr4_Sighandler_TypeMachs,
10899      SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10900      aSvr4_Sighandler_TypeTests,   apzSvr4_Sighandler_TypePatch, 0 },
10902   {  zSvr4_Undeclared_GetrngeName,    zSvr4_Undeclared_GetrngeList,
10903      apzSvr4_Undeclared_GetrngeMachs,
10904      SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10905      aSvr4_Undeclared_GetrngeTests,   apzSvr4_Undeclared_GetrngePatch, 0 },
10907   {  zSysv68_StringName,    zSysv68_StringList,
10908      apzSysv68_StringMachs,
10909      SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
10910      aSysv68_StringTests,   apzSysv68_StringPatch, 0 },
10912   {  zSysz_Stdlib_For_SunName,    zSysz_Stdlib_For_SunList,
10913      apzSysz_Stdlib_For_SunMachs,
10914      SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10915      aSysz_Stdlib_For_SunTests,   apzSysz_Stdlib_For_SunPatch, 0 },
10917   {  zThread_KeywordName,    zThread_KeywordList,
10918      apzThread_KeywordMachs,
10919      THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10920      aThread_KeywordTests,   apzThread_KeywordPatch, 0 },
10922   {  zTinfo_CplusplusName,    zTinfo_CplusplusList,
10923      apzTinfo_CplusplusMachs,
10924      TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10925      aTinfo_CplusplusTests,   apzTinfo_CplusplusPatch, 0 },
10927   {  zUltrix_ConstName,    zUltrix_ConstList,
10928      apzUltrix_ConstMachs,
10929      ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10930      aUltrix_ConstTests,   apzUltrix_ConstPatch, 0 },
10932   {  zUltrix_Const2Name,    zUltrix_Const2List,
10933      apzUltrix_Const2Machs,
10934      ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10935      aUltrix_Const2Tests,   apzUltrix_Const2Patch, 0 },
10937   {  zVa_I960_MacroName,    zVa_I960_MacroList,
10938      apzVa_I960_MacroMachs,
10939      VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10940      aVa_I960_MacroTests,   apzVa_I960_MacroPatch, 0 },
10942   {  zVms_Add_Missing_BracesName,    zVms_Add_Missing_BracesList,
10943      apzVms_Add_Missing_BracesMachs,
10944      VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10945      aVms_Add_Missing_BracesTests,   apzVms_Add_Missing_BracesPatch, 0 },
10947   {  zVms_Decc_BuiltinName,    zVms_Decc_BuiltinList,
10948      apzVms_Decc_BuiltinMachs,
10949      VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
10950      aVms_Decc_BuiltinTests,   apzVms_Decc_BuiltinPatch, 0 },
10952   {  zVms_Define_Can_Use_Extern_PrefixName,    zVms_Define_Can_Use_Extern_PrefixList,
10953      apzVms_Define_Can_Use_Extern_PrefixMachs,
10954      VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10955      aVms_Define_Can_Use_Extern_PrefixTests,   apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
10957   {  zVms_Disable_Decc_String_BuiltinsName,    zVms_Disable_Decc_String_BuiltinsList,
10958      apzVms_Disable_Decc_String_BuiltinsMachs,
10959      VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10960      aVms_Disable_Decc_String_BuiltinsTests,   apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
10962   {  zVms_Do_Not_Redeclare_HostaliasName,    zVms_Do_Not_Redeclare_HostaliasList,
10963      apzVms_Do_Not_Redeclare_HostaliasMachs,
10964      VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10965      aVms_Do_Not_Redeclare_HostaliasTests,   apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
10967   {  zVms_Forward_Declare_StructName,    zVms_Forward_Declare_StructList,
10968      apzVms_Forward_Declare_StructMachs,
10969      VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10970      aVms_Forward_Declare_StructTests,   apzVms_Forward_Declare_StructPatch, 0 },
10972   {  zVms_No_64bit_GetoptName,    zVms_No_64bit_GetoptList,
10973      apzVms_No_64bit_GetoptMachs,
10974      VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10975      aVms_No_64bit_GetoptTests,   apzVms_No_64bit_GetoptPatch, 0 },
10977   {  zVms_Use_Fast_SetjmpName,    zVms_Use_Fast_SetjmpList,
10978      apzVms_Use_Fast_SetjmpMachs,
10979      VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10980      aVms_Use_Fast_SetjmpTests,   apzVms_Use_Fast_SetjmpPatch, 0 },
10982   {  zVms_Use_Pragma_Extern_ModelName,    zVms_Use_Pragma_Extern_ModelList,
10983      apzVms_Use_Pragma_Extern_ModelMachs,
10984      VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10985      aVms_Use_Pragma_Extern_ModelTests,   apzVms_Use_Pragma_Extern_ModelPatch, 0 },
10987   {  zVms_Use_Quoted_IncludeName,    zVms_Use_Quoted_IncludeList,
10988      apzVms_Use_Quoted_IncludeMachs,
10989      VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10990      aVms_Use_Quoted_IncludeTests,   apzVms_Use_Quoted_IncludePatch, 0 },
10992   {  zVoid_NullName,    zVoid_NullList,
10993      apzVoid_NullMachs,
10994      VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10995      aVoid_NullTests,   apzVoid_NullPatch, 0 },
10997   {  zVxworks_Gcc_ProblemName,    zVxworks_Gcc_ProblemList,
10998      apzVxworks_Gcc_ProblemMachs,
10999      VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11000      aVxworks_Gcc_ProblemTests,   apzVxworks_Gcc_ProblemPatch, 0 },
11002   {  zVxworks_Ioctl_MacroName,    zVxworks_Ioctl_MacroList,
11003      apzVxworks_Ioctl_MacroMachs,
11004      VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11005      aVxworks_Ioctl_MacroTests,   apzVxworks_Ioctl_MacroPatch, 0 },
11007   {  zVxworks_Mkdir_MacroName,    zVxworks_Mkdir_MacroList,
11008      apzVxworks_Mkdir_MacroMachs,
11009      VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11010      aVxworks_Mkdir_MacroTests,   apzVxworks_Mkdir_MacroPatch, 0 },
11012   {  zVxworks_Needs_VxtypesName,    zVxworks_Needs_VxtypesList,
11013      apzVxworks_Needs_VxtypesMachs,
11014      VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11015      aVxworks_Needs_VxtypesTests,   apzVxworks_Needs_VxtypesPatch, 0 },
11017   {  zVxworks_Needs_VxworksName,    zVxworks_Needs_VxworksList,
11018      apzVxworks_Needs_VxworksMachs,
11019      VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11020      aVxworks_Needs_VxworksTests,   apzVxworks_Needs_VxworksPatch, 0 },
11022   {  zVxworks_RegsName,    zVxworks_RegsList,
11023      apzVxworks_RegsMachs,
11024      VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11025      aVxworks_RegsTests,   apzVxworks_RegsPatch, 0 },
11027   {  zVxworks_TimeName,    zVxworks_TimeList,
11028      apzVxworks_TimeMachs,
11029      VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11030      aVxworks_TimeTests,   apzVxworks_TimePatch, 0 },
11032   {  zVxworks_Write_ConstName,    zVxworks_Write_ConstList,
11033      apzVxworks_Write_ConstMachs,
11034      VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11035      aVxworks_Write_ConstTests,   apzVxworks_Write_ConstPatch, 0 },
11037   {  zX11_ClassName,    zX11_ClassList,
11038      apzX11_ClassMachs,
11039      X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11040      aX11_ClassTests,   apzX11_ClassPatch, 0 },
11042   {  zX11_Class_UsageName,    zX11_Class_UsageList,
11043      apzX11_Class_UsageMachs,
11044      X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11045      aX11_Class_UsageTests,   apzX11_Class_UsagePatch, 0 },
11047   {  zX11_NewName,    zX11_NewList,
11048      apzX11_NewMachs,
11049      X11_NEW_TEST_CT, FD_MACH_ONLY,
11050      aX11_NewTests,   apzX11_NewPatch, 0 },
11052   {  zX11_SprintfName,    zX11_SprintfList,
11053      apzX11_SprintfMachs,
11054      X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11055      aX11_SprintfTests,   apzX11_SprintfPatch, 0 }