[1/2] Fix off-by-one error in clear_bit_region in store merging (PR tree-optimization...
[official-gcc.git] / fixincludes / fixincl.x
blobcc5209e6205c4d0e3042e9d76b64e6555e0242f6
1 /*  -*- buffer-read-only: t -*- vi: set ro:
2  * 
3  * DO NOT EDIT THIS FILE   (fixincl.x)
4  * 
5  * It has been AutoGen-ed  Sunday September  4, 2016 at 12:15:33 PM EDT
6  * From the definitions    inclhack.def
7  * and the template file   fixincl
8  */
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sun  4 Sep 2016 12:15:33 EDT
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 237 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_Longjmp_Noreturn fix
2703  */
2704 tSCC zDarwin_Longjmp_NoreturnName[] =
2705      "darwin_longjmp_noreturn";
2708  *  File name selection pattern
2709  */
2710 tSCC zDarwin_Longjmp_NoreturnList[] =
2711   "i386/setjmp.h\0";
2713  *  Machine/OS name selection pattern
2714  */
2715 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2716         "*-*-darwin*",
2717         (const char*)NULL };
2720  *  content selection pattern - do fix if pattern found
2721  */
2722 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2723        "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2726  *  content bypass pattern - skip fix if pattern found
2727  */
2728 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2729        "__dead2";
2731 #define    DARWIN_LONGJMP_NORETURN_TEST_CT  2
2732 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2733   { TT_NEGREP,   zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
2734   { TT_EGREP,    zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
2737  *  Fix Command Arguments for Darwin_Longjmp_Noreturn
2738  */
2739 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2740     "format",
2741     "%1 __attribute__ ((__noreturn__));",
2742     (char*)NULL };
2744 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2746  *  Description of Darwin_Private_Extern fix
2747  */
2748 tSCC zDarwin_Private_ExternName[] =
2749      "darwin_private_extern";
2752  *  File name selection pattern
2753  */
2754 tSCC zDarwin_Private_ExternList[] =
2755   "mach-o/dyld.h\0";
2757  *  Machine/OS name selection pattern
2758  */
2759 tSCC* apzDarwin_Private_ExternMachs[] = {
2760         "*-*-darwin*",
2761         (const char*)NULL };
2764  *  content selection pattern - do fix if pattern found
2765  */
2766 tSCC zDarwin_Private_ExternSelect0[] =
2767        "__private_extern__ [a-z_]+ _dyld_";
2769 #define    DARWIN_PRIVATE_EXTERN_TEST_CT  1
2770 static tTestDesc aDarwin_Private_ExternTests[] = {
2771   { TT_EGREP,    zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
2774  *  Fix Command Arguments for Darwin_Private_Extern
2775  */
2776 static const char* apzDarwin_Private_ExternPatch[] = {
2777     "format",
2778     "extern",
2779     "__private_extern__",
2780     (char*)NULL };
2782 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2784  *  Description of Darwin_Stdint_1 fix
2785  */
2786 tSCC zDarwin_Stdint_1Name[] =
2787      "darwin_stdint_1";
2790  *  File name selection pattern
2791  */
2792 tSCC zDarwin_Stdint_1List[] =
2793   "stdint-darwin.h\0stdint.h\0";
2795  *  Machine/OS name selection pattern
2796  */
2797 tSCC* apzDarwin_Stdint_1Machs[] = {
2798         "*-*-darwin*",
2799         (const char*)NULL };
2802  *  content selection pattern - do fix if pattern found
2803  */
2804 tSCC zDarwin_Stdint_1Select0[] =
2805        "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
2806 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
2808 #define    DARWIN_STDINT_1_TEST_CT  1
2809 static tTestDesc aDarwin_Stdint_1Tests[] = {
2810   { TT_EGREP,    zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
2813  *  Fix Command Arguments for Darwin_Stdint_1
2814  */
2815 static const char* apzDarwin_Stdint_1Patch[] = {
2816     "format",
2817     "#define UINT8_C(v)\tv\n\
2818 #define UINT16_C(v)\tv",
2819     (char*)NULL };
2821 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2823  *  Description of Darwin_Stdint_2 fix
2824  */
2825 tSCC zDarwin_Stdint_2Name[] =
2826      "darwin_stdint_2";
2829  *  File name selection pattern
2830  */
2831 tSCC zDarwin_Stdint_2List[] =
2832   "stdint-darwin.h\0stdint.h\0";
2834  *  Machine/OS name selection pattern
2835  */
2836 tSCC* apzDarwin_Stdint_2Machs[] = {
2837         "*-*-darwin*",
2838         (const char*)NULL };
2841  *  content selection pattern - do fix if pattern found
2842  */
2843 tSCC zDarwin_Stdint_2Select0[] =
2844        "#if __WORDSIZE == 64\n\
2845 #define INTPTR_MIN[ \t]+INT64_MIN\n\
2846 #define INTPTR_MAX[ \t]+INT64_MAX\n\
2847 #else\n\
2848 #define INTPTR_MIN[ \t]+INT32_MIN\n\
2849 #define INTPTR_MAX[ \t]+INT32_MAX\n\
2850 #endif";
2852 #define    DARWIN_STDINT_2_TEST_CT  1
2853 static tTestDesc aDarwin_Stdint_2Tests[] = {
2854   { TT_EGREP,    zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
2857  *  Fix Command Arguments for Darwin_Stdint_2
2858  */
2859 static const char* apzDarwin_Stdint_2Patch[] = {
2860     "format",
2861     "#if __WORDSIZE == 64\n\
2862 #define INTPTR_MAX 9223372036854775807L\n\
2863 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2864 #else\n\
2865 #define INTPTR_MAX 2147483647L\n\
2866 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
2867 #endif",
2868     (char*)NULL };
2870 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2872  *  Description of Darwin_Stdint_3 fix
2873  */
2874 tSCC zDarwin_Stdint_3Name[] =
2875      "darwin_stdint_3";
2878  *  File name selection pattern
2879  */
2880 tSCC zDarwin_Stdint_3List[] =
2881   "stdint-darwin.h\0stdint.h\0";
2883  *  Machine/OS name selection pattern
2884  */
2885 tSCC* apzDarwin_Stdint_3Machs[] = {
2886         "*-*-darwin*",
2887         (const char*)NULL };
2890  *  content selection pattern - do fix if pattern found
2891  */
2892 tSCC zDarwin_Stdint_3Select0[] =
2893        "#if __WORDSIZE == 64\n\
2894 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
2895 #else\n\
2896 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
2897 #endif";
2899 #define    DARWIN_STDINT_3_TEST_CT  1
2900 static tTestDesc aDarwin_Stdint_3Tests[] = {
2901   { TT_EGREP,    zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
2904  *  Fix Command Arguments for Darwin_Stdint_3
2905  */
2906 static const char* apzDarwin_Stdint_3Patch[] = {
2907     "format",
2908     "#if __WORDSIZE == 64\n\
2909 #define UINTPTR_MAX 18446744073709551615UL\n\
2910 #else\n\
2911 #define UINTPTR_MAX 4294967295UL\n\
2912 #endif",
2913     (char*)NULL };
2915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2917  *  Description of Darwin_Stdint_4 fix
2918  */
2919 tSCC zDarwin_Stdint_4Name[] =
2920      "darwin_stdint_4";
2923  *  File name selection pattern
2924  */
2925 tSCC zDarwin_Stdint_4List[] =
2926   "stdint-darwin.h\0stdint.h\0";
2928  *  Machine/OS name selection pattern
2929  */
2930 tSCC* apzDarwin_Stdint_4Machs[] = {
2931         "*-*-darwin*",
2932         (const char*)NULL };
2935  *  content selection pattern - do fix if pattern found
2936  */
2937 tSCC zDarwin_Stdint_4Select0[] =
2938        "#if __WORDSIZE == 64\n\
2939 #define SIZE_MAX[ \t]+UINT64_MAX\n\
2940 #else\n\
2941 #define SIZE_MAX[ \t]+UINT32_MAX\n\
2942 #endif";
2944 #define    DARWIN_STDINT_4_TEST_CT  1
2945 static tTestDesc aDarwin_Stdint_4Tests[] = {
2946   { TT_EGREP,    zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
2949  *  Fix Command Arguments for Darwin_Stdint_4
2950  */
2951 static const char* apzDarwin_Stdint_4Patch[] = {
2952     "format",
2953     "#if __WORDSIZE == 64\n\
2954 #define SIZE_MAX 18446744073709551615UL\n\
2955 #else\n\
2956 #define SIZE_MAX 4294967295UL\n\
2957 #endif",
2958     (char*)NULL };
2960 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2962  *  Description of Darwin_Stdint_5 fix
2963  */
2964 tSCC zDarwin_Stdint_5Name[] =
2965      "darwin_stdint_5";
2968  *  File name selection pattern
2969  */
2970 tSCC zDarwin_Stdint_5List[] =
2971   "stdint-darwin.h\0stdint.h\0";
2973  *  Machine/OS name selection pattern
2974  */
2975 tSCC* apzDarwin_Stdint_5Machs[] = {
2976         "*-*-darwin*",
2977         (const char*)NULL };
2980  *  content selection pattern - do fix if pattern found
2981  */
2982 tSCC zDarwin_Stdint_5Select0[] =
2983        "#define INTMAX_MIN[ \t]+INT64_MIN\n\
2984 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
2985 #define UINTMAX_MAX[ \t]+UINT64_MAX";
2987 #define    DARWIN_STDINT_5_TEST_CT  1
2988 static tTestDesc aDarwin_Stdint_5Tests[] = {
2989   { TT_EGREP,    zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
2992  *  Fix Command Arguments for Darwin_Stdint_5
2993  */
2994 static const char* apzDarwin_Stdint_5Patch[] = {
2995     "format",
2996     "#if __WORDSIZE == 64\n\
2997 #define INTMAX_MIN   (-9223372036854775807L - 1)\n\
2998 #define INTMAX_MAX   9223372036854775807L\n\
2999 #define UINTMAX_MAX  18446744073709551615UL\n\
3000 #else\n\
3001 #define INTMAX_MIN   (-9223372036854775807LL - 1)\n\
3002 #define INTMAX_MAX   9223372036854775807LL\n\
3003 #define UINTMAX_MAX  18446744073709551615ULL\n\
3004 #endif",
3005     (char*)NULL };
3007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3009  *  Description of Darwin_Stdint_6 fix
3010  */
3011 tSCC zDarwin_Stdint_6Name[] =
3012      "darwin_stdint_6";
3015  *  File name selection pattern
3016  */
3017 tSCC zDarwin_Stdint_6List[] =
3018   "stdint-darwin.h\0stdint.h\0";
3020  *  Machine/OS name selection pattern
3021  */
3022 tSCC* apzDarwin_Stdint_6Machs[] = {
3023         "*-*-darwin*",
3024         (const char*)NULL };
3027  *  content selection pattern - do fix if pattern found
3028  */
3029 tSCC zDarwin_Stdint_6Select0[] =
3030        "#if __WORDSIZE == 64\n\
3031 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3032 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3033 #else\n\
3034 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3035 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3036 #endif";
3038 #define    DARWIN_STDINT_6_TEST_CT  1
3039 static tTestDesc aDarwin_Stdint_6Tests[] = {
3040   { TT_EGREP,    zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3043  *  Fix Command Arguments for Darwin_Stdint_6
3044  */
3045 static const char* apzDarwin_Stdint_6Patch[] = {
3046     "format",
3047     "#if __WORDSIZE == 64\n\
3048 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3049 #define PTRDIFF_MAX 9223372036854775807L\n\
3050 #else\n\
3051 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3052 #define PTRDIFF_MAX 2147483647\n\
3053 #endif",
3054     (char*)NULL };
3056 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3058  *  Description of Darwin_Stdint_7 fix
3059  */
3060 tSCC zDarwin_Stdint_7Name[] =
3061      "darwin_stdint_7";
3064  *  File name selection pattern
3065  */
3066 tSCC zDarwin_Stdint_7List[] =
3067   "stdint-darwin.h\0stdint.h\0";
3069  *  Machine/OS name selection pattern
3070  */
3071 tSCC* apzDarwin_Stdint_7Machs[] = {
3072         "*-*-darwin*",
3073         (const char*)NULL };
3076  *  content selection pattern - do fix if pattern found
3077  */
3078 tSCC zDarwin_Stdint_7Select0[] =
3079        "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3080 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3082 #define    DARWIN_STDINT_7_TEST_CT  1
3083 static tTestDesc aDarwin_Stdint_7Tests[] = {
3084   { TT_EGREP,    zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3087  *  Fix Command Arguments for Darwin_Stdint_7
3088  */
3089 static const char* apzDarwin_Stdint_7Patch[] = {
3090     "format",
3091     "#if __WORDSIZE == 64\n\
3092 #define INTMAX_C(v)  (v ## L)\n\
3093 #define UINTMAX_C(v) (v ## UL)\n\
3094 #else\n\
3095 #define INTMAX_C(v)  (v ## LL)\n\
3096 #define UINTMAX_C(v) (v ## ULL)\n\
3097 #endif",
3098     (char*)NULL };
3100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3102  *  Description of Dec_Intern_Asm fix
3103  */
3104 tSCC zDec_Intern_AsmName[] =
3105      "dec_intern_asm";
3108  *  File name selection pattern
3109  */
3110 tSCC zDec_Intern_AsmList[] =
3111   "c_asm.h\0";
3113  *  Machine/OS name selection pattern
3114  */
3115 #define apzDec_Intern_AsmMachs (const char**)NULL
3116 #define DEC_INTERN_ASM_TEST_CT  0
3117 #define aDec_Intern_AsmTests   (tTestDesc*)NULL
3120  *  Fix Command Arguments for Dec_Intern_Asm
3121  */
3122 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3123     "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3124 #ifdef __DECC\n",
3125     "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3126 #endif\n",
3127     (char*)NULL };
3129 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3131  *  Description of Djgpp_Wchar_H fix
3132  */
3133 tSCC zDjgpp_Wchar_HName[] =
3134      "djgpp_wchar_h";
3137  *  File name selection pattern
3138  */
3139 #define zDjgpp_Wchar_HList (char*)NULL
3141  *  Machine/OS name selection pattern
3142  */
3143 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3146  *  content selection pattern - do fix if pattern found
3147  */
3148 tSCC zDjgpp_Wchar_HSelect0[] =
3149        "__DJ_wint_t";
3152  *  content bypass pattern - skip fix if pattern found
3153  */
3154 tSCC zDjgpp_Wchar_HBypass0[] =
3155        "sys/djtypes.h";
3157 #define    DJGPP_WCHAR_H_TEST_CT  2
3158 static tTestDesc aDjgpp_Wchar_HTests[] = {
3159   { TT_NEGREP,   zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3160   { TT_EGREP,    zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3163  *  Fix Command Arguments for Djgpp_Wchar_H
3164  */
3165 static const char* apzDjgpp_Wchar_HPatch[] = {
3166     "format",
3167     "%0\n\
3168 #include <sys/djtypes.h>",
3169     "#include <stddef.h>",
3170     (char*)NULL };
3172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3174  *  Description of Ecd_Cursor fix
3175  */
3176 tSCC zEcd_CursorName[] =
3177      "ecd_cursor";
3180  *  File name selection pattern
3181  */
3182 tSCC zEcd_CursorList[] =
3183   "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3185  *  Machine/OS name selection pattern
3186  */
3187 #define apzEcd_CursorMachs (const char**)NULL
3190  *  content selection pattern - do fix if pattern found
3191  */
3192 tSCC zEcd_CursorSelect0[] =
3193        "ecd\\.cursor";
3195 #define    ECD_CURSOR_TEST_CT  1
3196 static tTestDesc aEcd_CursorTests[] = {
3197   { TT_EGREP,    zEcd_CursorSelect0, (regex_t*)NULL }, };
3200  *  Fix Command Arguments for Ecd_Cursor
3201  */
3202 static const char* apzEcd_CursorPatch[] = {
3203     "format",
3204     "ecd_cursor",
3205     (char*)NULL };
3207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3209  *  Description of Feraiseexcept_Nosse_Divbyzero fix
3210  */
3211 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3212      "feraiseexcept_nosse_divbyzero";
3215  *  File name selection pattern
3216  */
3217 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3218   "bits/fenv.h\0*/bits/fenv.h\0";
3220  *  Machine/OS name selection pattern
3221  */
3222 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3223         "i[34567]86-*-linux*",
3224         "x86*-linux*",
3225         "amd64-*-linux*",
3226         (const char*)NULL };
3229  *  content selection pattern - do fix if pattern found
3230  */
3231 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3232        "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3235  *  content bypass pattern - skip fix if pattern found
3236  */
3237 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3238        "\"fdivp .*; fwait\"";
3240 #define    FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT  2
3241 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3242   { TT_NEGREP,   zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3243   { TT_EGREP,    zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3246  *  Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3247  */
3248 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3249     "format",
3250     "# ifdef __SSE_MATH__\n\
3251 %0\n\
3252 # else\n\
3253 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3254 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3255 # endif",
3256     (char*)NULL };
3258 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3260  *  Description of Feraiseexcept_Nosse_Invalid fix
3261  */
3262 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3263      "feraiseexcept_nosse_invalid";
3266  *  File name selection pattern
3267  */
3268 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3269   "bits/fenv.h\0*/bits/fenv.h\0";
3271  *  Machine/OS name selection pattern
3272  */
3273 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3274         "i[34567]86-*-linux*",
3275         "x86*-linux*",
3276         "amd64-*-linux*",
3277         (const char*)NULL };
3280  *  content selection pattern - do fix if pattern found
3281  */
3282 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3283        "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3286  *  content bypass pattern - skip fix if pattern found
3287  */
3288 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3289        "\"fdiv .*; fwait\"";
3291 #define    FERAISEEXCEPT_NOSSE_INVALID_TEST_CT  2
3292 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3293   { TT_NEGREP,   zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3294   { TT_EGREP,    zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3297  *  Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3298  */
3299 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3300     "format",
3301     "# ifdef __SSE_MATH__\n\
3302 %0\n\
3303 # else\n\
3304 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3305 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3306 # endif",
3307     (char*)NULL };
3309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3311  *  Description of Freebsd_Gcc3_Breakage fix
3312  */
3313 tSCC zFreebsd_Gcc3_BreakageName[] =
3314      "freebsd_gcc3_breakage";
3317  *  File name selection pattern
3318  */
3319 tSCC zFreebsd_Gcc3_BreakageList[] =
3320   "sys/cdefs.h\0";
3322  *  Machine/OS name selection pattern
3323  */
3324 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3325         "*-*-freebsd*",
3326         (const char*)NULL };
3329  *  content selection pattern - do fix if pattern found
3330  */
3331 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3332        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3335  *  content bypass pattern - skip fix if pattern found
3336  */
3337 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3338        "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3340 #define    FREEBSD_GCC3_BREAKAGE_TEST_CT  2
3341 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3342   { TT_NEGREP,   zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3343   { TT_EGREP,    zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3346  *  Fix Command Arguments for Freebsd_Gcc3_Breakage
3347  */
3348 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3349     "format",
3350     "%0 || __GNUC__ >= 3",
3351     (char*)NULL };
3353 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3355  *  Description of Freebsd_Gcc4_Breakage fix
3356  */
3357 tSCC zFreebsd_Gcc4_BreakageName[] =
3358      "freebsd_gcc4_breakage";
3361  *  File name selection pattern
3362  */
3363 tSCC zFreebsd_Gcc4_BreakageList[] =
3364   "sys/cdefs.h\0";
3366  *  Machine/OS name selection pattern
3367  */
3368 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3369         "*-*-freebsd*",
3370         (const char*)NULL };
3373  *  content selection pattern - do fix if pattern found
3374  */
3375 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3376        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3378 #define    FREEBSD_GCC4_BREAKAGE_TEST_CT  1
3379 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3380   { TT_EGREP,    zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3383  *  Fix Command Arguments for Freebsd_Gcc4_Breakage
3384  */
3385 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3386     "format",
3387     "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3388     (char*)NULL };
3390 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3392  *  Description of Glibc_C99_Inline_1 fix
3393  */
3394 tSCC zGlibc_C99_Inline_1Name[] =
3395      "glibc_c99_inline_1";
3398  *  File name selection pattern
3399  */
3400 tSCC zGlibc_C99_Inline_1List[] =
3401   "features.h\0*/features.h\0";
3403  *  Machine/OS name selection pattern
3404  */
3405 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3408  *  content selection pattern - do fix if pattern found
3409  */
3410 tSCC zGlibc_C99_Inline_1Select0[] =
3411        "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
3413 #define    GLIBC_C99_INLINE_1_TEST_CT  1
3414 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
3415   { TT_EGREP,    zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
3418  *  Fix Command Arguments for Glibc_C99_Inline_1
3419  */
3420 static const char* apzGlibc_C99_Inline_1Patch[] = {
3421     "format",
3422     "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
3423     (char*)NULL };
3425 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3427  *  Description of Glibc_C99_Inline_1a fix
3428  */
3429 tSCC zGlibc_C99_Inline_1aName[] =
3430      "glibc_c99_inline_1a";
3433  *  File name selection pattern
3434  */
3435 tSCC zGlibc_C99_Inline_1aList[] =
3436   "features.h\0*/features.h\0";
3438  *  Machine/OS name selection pattern
3439  */
3440 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
3443  *  content selection pattern - do fix if pattern found
3444  */
3445 tSCC zGlibc_C99_Inline_1aSelect0[] =
3446        "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
3447 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
3449 #define    GLIBC_C99_INLINE_1A_TEST_CT  1
3450 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
3451   { TT_EGREP,    zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
3454  *  Fix Command Arguments for Glibc_C99_Inline_1a
3455  */
3456 static const char* apzGlibc_C99_Inline_1aPatch[] = {
3457     "format",
3458     "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
3459 %2",
3460     (char*)NULL };
3462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3464  *  Description of Glibc_C99_Inline_2 fix
3465  */
3466 tSCC zGlibc_C99_Inline_2Name[] =
3467      "glibc_c99_inline_2";
3470  *  File name selection pattern
3471  */
3472 tSCC zGlibc_C99_Inline_2List[] =
3473   "sys/stat.h\0*/sys/stat.h\0";
3475  *  Machine/OS name selection pattern
3476  */
3477 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
3480  *  content selection pattern - do fix if pattern found
3481  */
3482 tSCC zGlibc_C99_Inline_2Select0[] =
3483        "extern __inline__ int";
3485 #define    GLIBC_C99_INLINE_2_TEST_CT  1
3486 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
3487   { TT_EGREP,    zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
3490  *  Fix Command Arguments for Glibc_C99_Inline_2
3491  */
3492 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
3493     "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3494 extern\\\n\
3495 #endif\\\n\
3496 __inline__ int \\1/",
3497     "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3498 extern\\\n\
3499 #endif\\\n\
3500 __inline__ int \\1/",
3501     "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3502 extern\\\n\
3503 #endif\\\n\
3504 __inline__ int \\1/",
3505     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3506 extern\\\n\
3507 #endif\\\n\
3508 __inline__ int __REDIRECT\\1 (\\2/",
3509     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
3510 extern\\\n\
3511 #endif\\\n\
3512 __inline__ int __REDIRECT\\1 (\\2/",
3513     "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
3514 extern\\\n\
3515 #endif\\\n\
3516 __inline__ int/",
3517     (char*)NULL };
3519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3521  *  Description of Glibc_C99_Inline_3 fix
3522  */
3523 tSCC zGlibc_C99_Inline_3Name[] =
3524      "glibc_c99_inline_3";
3527  *  File name selection pattern
3528  */
3529 tSCC zGlibc_C99_Inline_3List[] =
3530   "bits/string2.h\0*/bits/string2.h\0";
3532  *  Machine/OS name selection pattern
3533  */
3534 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
3537  *  content selection pattern - do fix if pattern found
3538  */
3539 tSCC zGlibc_C99_Inline_3Select0[] =
3540        "extern __inline";
3543  *  content bypass pattern - skip fix if pattern found
3544  */
3545 tSCC zGlibc_C99_Inline_3Bypass0[] =
3546        "__extern_inline|__GNU_STDC_INLINE__";
3548 #define    GLIBC_C99_INLINE_3_TEST_CT  2
3549 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
3550   { TT_NEGREP,   zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
3551   { TT_EGREP,    zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
3554  *  Fix Command Arguments for Glibc_C99_Inline_3
3555  */
3556 static const char* apzGlibc_C99_Inline_3Patch[] = {
3557     "format",
3558     "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
3559     "^# ifdef __cplusplus$",
3560     (char*)NULL };
3562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3564  *  Description of Glibc_C99_Inline_4 fix
3565  */
3566 tSCC zGlibc_C99_Inline_4Name[] =
3567      "glibc_c99_inline_4";
3570  *  File name selection pattern
3571  */
3572 tSCC zGlibc_C99_Inline_4List[] =
3573   "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
3575  *  Machine/OS name selection pattern
3576  */
3577 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
3580  *  content selection pattern - do fix if pattern found
3581  */
3582 tSCC zGlibc_C99_Inline_4Select0[] =
3583        "(^| )extern __inline";
3586  *  content bypass pattern - skip fix if pattern found
3587  */
3588 tSCC zGlibc_C99_Inline_4Bypass0[] =
3589        "__extern_inline|__gnu_inline__";
3591 #define    GLIBC_C99_INLINE_4_TEST_CT  2
3592 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
3593   { TT_NEGREP,   zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
3594   { TT_EGREP,    zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
3597  *  Fix Command Arguments for Glibc_C99_Inline_4
3598  */
3599 static const char* apzGlibc_C99_Inline_4Patch[] = {
3600     "format",
3601     "%0 __attribute__ ((__gnu_inline__))",
3602     (char*)NULL };
3604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3606  *  Description of Glibc_Mutex_Init fix
3607  */
3608 tSCC zGlibc_Mutex_InitName[] =
3609      "glibc_mutex_init";
3612  *  File name selection pattern
3613  */
3614 tSCC zGlibc_Mutex_InitList[] =
3615   "pthread.h\0";
3617  *  Machine/OS name selection pattern
3618  */
3619 #define apzGlibc_Mutex_InitMachs (const char**)NULL
3622  *  content selection pattern - do fix if pattern found
3623  */
3624 tSCC zGlibc_Mutex_InitSelect0[] =
3625        "\\{ *\\{ *0, *\\} *\\}";
3627 #define    GLIBC_MUTEX_INIT_TEST_CT  1
3628 static tTestDesc aGlibc_Mutex_InitTests[] = {
3629   { TT_EGREP,    zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
3632  *  Fix Command Arguments for Glibc_Mutex_Init
3633  */
3634 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
3635     "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
3636 N\n\
3637 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
3639     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
3640     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
3641     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
3642     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3643     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
3644     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
3645     "-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\
3646 #  \\1\\\n\
3647   { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3648 # else\\\n\
3649 #  \\1\\\n\
3650   { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
3651 # endif/",
3652     "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
3653     "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
3654     (char*)NULL };
3656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3658  *  Description of Glibc_Stdint fix
3659  */
3660 tSCC zGlibc_StdintName[] =
3661      "glibc_stdint";
3664  *  File name selection pattern
3665  */
3666 tSCC zGlibc_StdintList[] =
3667   "stdint.h\0";
3669  *  Machine/OS name selection pattern
3670  */
3671 #define apzGlibc_StdintMachs (const char**)NULL
3674  *  content selection pattern - do fix if pattern found
3675  */
3676 tSCC zGlibc_StdintSelect0[] =
3677        "GNU C Library";
3679 #define    GLIBC_STDINT_TEST_CT  1
3680 static tTestDesc aGlibc_StdintTests[] = {
3681   { TT_EGREP,    zGlibc_StdintSelect0, (regex_t*)NULL }, };
3684  *  Fix Command Arguments for Glibc_Stdint
3685  */
3686 static const char* apzGlibc_StdintPatch[] = {
3687     "format",
3688     "# define UINT8_C(c)\tc\n\
3689 # define UINT16_C(c)\tc",
3690     "# define UINT8_C\\(c\\)\tc ## U\n\
3691 # define UINT16_C\\(c\\)\tc ## U",
3692     (char*)NULL };
3694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3696  *  Description of Glibc_Strncpy fix
3697  */
3698 tSCC zGlibc_StrncpyName[] =
3699      "glibc_strncpy";
3702  *  File name selection pattern
3703  */
3704 tSCC zGlibc_StrncpyList[] =
3705   "bits/string2.h\0*/bits/string2.h\0";
3707  *  Machine/OS name selection pattern
3708  */
3709 #define apzGlibc_StrncpyMachs (const char**)NULL
3712  *  content bypass pattern - skip fix if pattern found
3713  */
3714 tSCC zGlibc_StrncpyBypass0[] =
3715        "__builtin_strncpy";
3717 #define    GLIBC_STRNCPY_TEST_CT  1
3718 static tTestDesc aGlibc_StrncpyTests[] = {
3719   { TT_NEGREP,   zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
3722  *  Fix Command Arguments for Glibc_Strncpy
3723  */
3724 static const char* apzGlibc_StrncpyPatch[] = {
3725     "format",
3726     "#  define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
3727     "#  define strncpy([^\n\
3728 ]*\\\\\n\
3729 )*[^\n\
3730 ]*",
3731     (char*)NULL };
3733 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3735  *  Description of Glibc_Tgmath fix
3736  */
3737 tSCC zGlibc_TgmathName[] =
3738      "glibc_tgmath";
3741  *  File name selection pattern
3742  */
3743 tSCC zGlibc_TgmathList[] =
3744   "tgmath.h\0";
3746  *  Machine/OS name selection pattern
3747  */
3748 #define apzGlibc_TgmathMachs (const char**)NULL
3751  *  content selection pattern - do fix if pattern found
3752  */
3753 tSCC zGlibc_TgmathSelect0[] =
3754        "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
3757  *  content bypass pattern - skip fix if pattern found
3758  */
3759 tSCC zGlibc_TgmathBypass0[] =
3760        "__floating_type\\(type\\) \\\\\n\
3761 .*__builtin_classify_type";
3763 #define    GLIBC_TGMATH_TEST_CT  2
3764 static tTestDesc aGlibc_TgmathTests[] = {
3765   { TT_NEGREP,   zGlibc_TgmathBypass0, (regex_t*)NULL },
3766   { TT_EGREP,    zGlibc_TgmathSelect0, (regex_t*)NULL }, };
3769  *  Fix Command Arguments for Glibc_Tgmath
3770  */
3771 static const char* apzGlibc_TgmathPatch[] = {
3772     "format",
3773     "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
3774     (char*)NULL };
3776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3778  *  Description of Gnu_Types fix
3779  */
3780 tSCC zGnu_TypesName[] =
3781      "gnu_types";
3784  *  File name selection pattern
3785  */
3786 tSCC zGnu_TypesList[] =
3787   "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
3789  *  Machine/OS name selection pattern
3790  */
3791 tSCC* apzGnu_TypesMachs[] = {
3792         "*-*-solaris2.1[0-9]*",
3793         (const char*)NULL };
3796  *  content selection pattern - do fix if pattern found
3797  */
3798 tSCC zGnu_TypesSelect0[] =
3799        "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
3802  *  content bypass pattern - skip fix if pattern found
3803  */
3804 tSCC zGnu_TypesBypass0[] =
3805        "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
3807 #define    GNU_TYPES_TEST_CT  2
3808 static tTestDesc aGnu_TypesTests[] = {
3809   { TT_NEGREP,   zGnu_TypesBypass0, (regex_t*)NULL },
3810   { TT_EGREP,    zGnu_TypesSelect0, (regex_t*)NULL }, };
3813  *  Fix Command Arguments for Gnu_Types
3814  */
3815 static const char* apzGnu_TypesPatch[] = {
3816     "gnu_type",
3817     (char*)NULL };
3819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3821  *  Description of Hp_Inline fix
3822  */
3823 tSCC zHp_InlineName[] =
3824      "hp_inline";
3827  *  File name selection pattern
3828  */
3829 tSCC zHp_InlineList[] =
3830   "sys/spinlock.h\0machine/machparam.h\0";
3832  *  Machine/OS name selection pattern
3833  */
3834 #define apzHp_InlineMachs (const char**)NULL
3837  *  content selection pattern - do fix if pattern found
3838  */
3839 tSCC zHp_InlineSelect0[] =
3840        "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
3842 #define    HP_INLINE_TEST_CT  1
3843 static tTestDesc aHp_InlineTests[] = {
3844   { TT_EGREP,    zHp_InlineSelect0, (regex_t*)NULL }, };
3847  *  Fix Command Arguments for Hp_Inline
3848  */
3849 static const char* apzHp_InlinePatch[] = {
3850     "format",
3851     "%1<machine/%2.h>",
3852     "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
3853     (char*)NULL };
3855 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3857  *  Description of Hp_Sysfile fix
3858  */
3859 tSCC zHp_SysfileName[] =
3860      "hp_sysfile";
3863  *  File name selection pattern
3864  */
3865 tSCC zHp_SysfileList[] =
3866   "sys/file.h\0";
3868  *  Machine/OS name selection pattern
3869  */
3870 #define apzHp_SysfileMachs (const char**)NULL
3873  *  content selection pattern - do fix if pattern found
3874  */
3875 tSCC zHp_SysfileSelect0[] =
3876        "HPUX_SOURCE";
3878 #define    HP_SYSFILE_TEST_CT  1
3879 static tTestDesc aHp_SysfileTests[] = {
3880   { TT_EGREP,    zHp_SysfileSelect0, (regex_t*)NULL }, };
3883  *  Fix Command Arguments for Hp_Sysfile
3884  */
3885 static const char* apzHp_SysfilePatch[] = {
3886     "format",
3887     "(struct file *, ...)",
3888     "\\(\\.\\.\\.\\)",
3889     (char*)NULL };
3891 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3893  *  Description of Hppa_Hpux_Fp_Macros fix
3894  */
3895 tSCC zHppa_Hpux_Fp_MacrosName[] =
3896      "hppa_hpux_fp_macros";
3899  *  File name selection pattern
3900  */
3901 tSCC zHppa_Hpux_Fp_MacrosList[] =
3902   "math.h\0";
3904  *  Machine/OS name selection pattern
3905  */
3906 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
3907         "hppa*-hp-hpux11*",
3908         (const char*)NULL };
3911  *  content selection pattern - do fix if pattern found
3912  */
3913 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
3914        "#[ \t]*define[ \t]*FP_NORMAL.*\n\
3915 #[ \t]*define[ \t]*FP_ZERO.*\n\
3916 #[ \t]*define[ \t]*FP_INFINITE.*\n\
3917 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
3918 #[ \t]*define[ \t]*FP_NAN.*\n";
3920 #define    HPPA_HPUX_FP_MACROS_TEST_CT  1
3921 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
3922   { TT_EGREP,    zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
3925  *  Fix Command Arguments for Hppa_Hpux_Fp_Macros
3926  */
3927 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
3928     "format",
3929     "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
3930 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
3931    (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
3932 %0#endif\n\n\
3933 #ifdef _INCLUDE_HPUX_SOURCE\n",
3934     (char*)NULL };
3936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3938  *  Description of Hpux10_Cpp_Pow_Inline fix
3939  */
3940 tSCC zHpux10_Cpp_Pow_InlineName[] =
3941      "hpux10_cpp_pow_inline";
3944  *  File name selection pattern
3945  */
3946 tSCC zHpux10_Cpp_Pow_InlineList[] =
3947   "fixinc-test-limits.h\0math.h\0";
3949  *  Machine/OS name selection pattern
3950  */
3951 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
3954  *  content selection pattern - do fix if pattern found
3955  */
3956 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
3957        "^# +ifdef +__cplusplus\n\
3958  +\\}\n\
3959  +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
3960 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
3961  +\\}\n\
3962  +extern +\"C\" +\\{\n\
3963 #else\n\
3964 # +endif";
3966 #define    HPUX10_CPP_POW_INLINE_TEST_CT  1
3967 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
3968   { TT_EGREP,    zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
3971  *  Fix Command Arguments for Hpux10_Cpp_Pow_Inline
3972  */
3973 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
3974     "format",
3975     "",
3976     (char*)NULL };
3978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3980  *  Description of Hpux11_Cpp_Pow_Inline fix
3981  */
3982 tSCC zHpux11_Cpp_Pow_InlineName[] =
3983      "hpux11_cpp_pow_inline";
3986  *  File name selection pattern
3987  */
3988 tSCC zHpux11_Cpp_Pow_InlineList[] =
3989   "math.h\0";
3991  *  Machine/OS name selection pattern
3992  */
3993 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
3996  *  content selection pattern - do fix if pattern found
3997  */
3998 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
3999        " +inline double pow\\(double d,int expon\\) \\{\n\
4000  +return pow\\(d, \\(double\\)expon\\);\n\
4001  +\\}\n";
4003 #define    HPUX11_CPP_POW_INLINE_TEST_CT  1
4004 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4005   { TT_EGREP,    zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4008  *  Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4009  */
4010 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4011     "format",
4012     "",
4013     (char*)NULL };
4015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4017  *  Description of Hpux10_Ctype_Declarations1 fix
4018  */
4019 tSCC zHpux10_Ctype_Declarations1Name[] =
4020      "hpux10_ctype_declarations1";
4023  *  File name selection pattern
4024  */
4025 tSCC zHpux10_Ctype_Declarations1List[] =
4026   "ctype.h\0";
4028  *  Machine/OS name selection pattern
4029  */
4030 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4033  *  content selection pattern - do fix if pattern found
4034  */
4035 tSCC zHpux10_Ctype_Declarations1Select0[] =
4036        "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4039  *  content bypass pattern - skip fix if pattern found
4040  */
4041 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4042        "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4044 #define    HPUX10_CTYPE_DECLARATIONS1_TEST_CT  2
4045 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4046   { TT_NEGREP,   zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4047   { TT_EGREP,    zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4050  *  Fix Command Arguments for Hpux10_Ctype_Declarations1
4051  */
4052 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4053     "format",
4054     "#ifdef _PROTOTYPES\n\
4055 extern int __tolower(int);\n\
4056 extern int __toupper(int);\n\
4057 #else /* NOT _PROTOTYPES */\n\
4058 extern int __tolower();\n\
4059 extern int __toupper();\n\
4060 #endif /* _PROTOTYPES */\n\n\
4061 %0\n",
4062     (char*)NULL };
4064 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4066  *  Description of Hpux10_Ctype_Declarations2 fix
4067  */
4068 tSCC zHpux10_Ctype_Declarations2Name[] =
4069      "hpux10_ctype_declarations2";
4072  *  File name selection pattern
4073  */
4074 tSCC zHpux10_Ctype_Declarations2List[] =
4075   "ctype.h\0";
4077  *  Machine/OS name selection pattern
4078  */
4079 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4082  *  content selection pattern - do fix if pattern found
4083  */
4084 tSCC zHpux10_Ctype_Declarations2Select0[] =
4085        "^#  if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4088  *  content bypass pattern - skip fix if pattern found
4089  */
4090 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4091        "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4093 #define    HPUX10_CTYPE_DECLARATIONS2_TEST_CT  2
4094 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4095   { TT_NEGREP,   zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4096   { TT_EGREP,    zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4099  *  Fix Command Arguments for Hpux10_Ctype_Declarations2
4100  */
4101 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4102     "format",
4103     "%0\n\n\
4104 #ifdef _PROTOTYPES\n\
4105      extern int _isalnum(int);\n\
4106      extern int _isalpha(int);\n\
4107      extern int _iscntrl(int);\n\
4108      extern int _isdigit(int);\n\
4109      extern int _isgraph(int);\n\
4110      extern int _islower(int);\n\
4111      extern int _isprint(int);\n\
4112      extern int _ispunct(int);\n\
4113      extern int _isspace(int);\n\
4114      extern int _isupper(int);\n\
4115      extern int _isxdigit(int);\n\
4116 #  else /* not _PROTOTYPES */\n\
4117      extern int _isalnum();\n\
4118      extern int _isalpha();\n\
4119      extern int _iscntrl();\n\
4120      extern int _isdigit();\n\
4121      extern int _isgraph();\n\
4122      extern int _islower();\n\
4123      extern int _isprint();\n\
4124      extern int _ispunct();\n\
4125      extern int _isspace();\n\
4126      extern int _isupper();\n\
4127      extern int _isxdigit();\n\
4128 #endif /* _PROTOTYPES */\n",
4129     (char*)NULL };
4131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4133  *  Description of Hpux10_Stdio_Declarations fix
4134  */
4135 tSCC zHpux10_Stdio_DeclarationsName[] =
4136      "hpux10_stdio_declarations";
4139  *  File name selection pattern
4140  */
4141 tSCC zHpux10_Stdio_DeclarationsList[] =
4142   "stdio.h\0";
4144  *  Machine/OS name selection pattern
4145  */
4146 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4149  *  content selection pattern - do fix if pattern found
4150  */
4151 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4152        "^#[ \t]*define _iob[ \t]*__iob";
4155  *  content bypass pattern - skip fix if pattern found
4156  */
4157 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4158        "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4160 #define    HPUX10_STDIO_DECLARATIONS_TEST_CT  2
4161 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4162   { TT_NEGREP,   zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4163   { TT_EGREP,    zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4166  *  Fix Command Arguments for Hpux10_Stdio_Declarations
4167  */
4168 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4169     "format",
4170     "%0\n\n\
4171 #  if defined(__STDC__) || defined(__cplusplus)\n\
4172      extern int snprintf(char *, size_t, const char *, ...);\n\
4173      extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4174 #  else /* not __STDC__) || __cplusplus */\n\
4175      extern int snprintf();\n\
4176      extern int vsnprintf();\n\
4177 #  endif /* __STDC__) || __cplusplus */\n",
4178     (char*)NULL };
4180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4182  *  Description of Hpux11_Abs fix
4183  */
4184 tSCC zHpux11_AbsName[] =
4185      "hpux11_abs";
4188  *  File name selection pattern
4189  */
4190 tSCC zHpux11_AbsList[] =
4191   "stdlib.h\0";
4193  *  Machine/OS name selection pattern
4194  */
4195 tSCC* apzHpux11_AbsMachs[] = {
4196         "*-hp-hpux11*",
4197         (const char*)NULL };
4200  *  content selection pattern - do fix if pattern found
4201  */
4202 tSCC zHpux11_AbsSelect0[] =
4203        "ifndef _MATH_INCLUDED";
4205 #define    HPUX11_ABS_TEST_CT  1
4206 static tTestDesc aHpux11_AbsTests[] = {
4207   { TT_EGREP,    zHpux11_AbsSelect0, (regex_t*)NULL }, };
4210  *  Fix Command Arguments for Hpux11_Abs
4211  */
4212 static const char* apzHpux11_AbsPatch[] = {
4213     "format",
4214     "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
4215     (char*)NULL };
4217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4219  *  Description of Hpux11_Lwp_Rwlock_Valid fix
4220  */
4221 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
4222      "hpux11_lwp_rwlock_valid";
4225  *  File name selection pattern
4226  */
4227 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
4228   "sys/pthread.h\0";
4230  *  Machine/OS name selection pattern
4231  */
4232 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
4233         "*-hp-hpux11*",
4234         (const char*)NULL };
4237  *  content selection pattern - do fix if pattern found
4238  */
4239 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
4240        "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
4242 #define    HPUX11_LWP_RWLOCK_VALID_TEST_CT  1
4243 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
4244   { TT_EGREP,    zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
4247  *  Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
4248  */
4249 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
4250     "format",
4251     "#define __LWP_RWLOCK_VALID              -29551",
4252     (char*)NULL };
4254 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4256  *  Description of Hpux11_Extern_Sendfile fix
4257  */
4258 tSCC zHpux11_Extern_SendfileName[] =
4259      "hpux11_extern_sendfile";
4262  *  File name selection pattern
4263  */
4264 tSCC zHpux11_Extern_SendfileList[] =
4265   "sys/socket.h\0";
4267  *  Machine/OS name selection pattern
4268  */
4269 tSCC* apzHpux11_Extern_SendfileMachs[] = {
4270         "*-hp-hpux11.[12]*",
4271         (const char*)NULL };
4274  *  content selection pattern - do fix if pattern found
4275  */
4276 tSCC zHpux11_Extern_SendfileSelect0[] =
4277        "^[ \t]*extern sbsize_t sendfile.*\n\
4278 .*, int\\)\\);\n";
4280 #define    HPUX11_EXTERN_SENDFILE_TEST_CT  1
4281 static tTestDesc aHpux11_Extern_SendfileTests[] = {
4282   { TT_EGREP,    zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
4285  *  Fix Command Arguments for Hpux11_Extern_Sendfile
4286  */
4287 static const char* apzHpux11_Extern_SendfilePatch[] = {
4288     "format",
4289     "#ifndef _APP32_64BIT_OFF_T\n\
4290 %0#endif\n",
4291     (char*)NULL };
4293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4295  *  Description of Hpux11_Extern_Sendpath fix
4296  */
4297 tSCC zHpux11_Extern_SendpathName[] =
4298      "hpux11_extern_sendpath";
4301  *  File name selection pattern
4302  */
4303 tSCC zHpux11_Extern_SendpathList[] =
4304   "sys/socket.h\0";
4306  *  Machine/OS name selection pattern
4307  */
4308 tSCC* apzHpux11_Extern_SendpathMachs[] = {
4309         "*-hp-hpux11.[12]*",
4310         (const char*)NULL };
4313  *  content selection pattern - do fix if pattern found
4314  */
4315 tSCC zHpux11_Extern_SendpathSelect0[] =
4316        "^[ \t]*extern sbsize_t sendpath.*\n\
4317 .*, int\\)\\);\n";
4319 #define    HPUX11_EXTERN_SENDPATH_TEST_CT  1
4320 static tTestDesc aHpux11_Extern_SendpathTests[] = {
4321   { TT_EGREP,    zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
4324  *  Fix Command Arguments for Hpux11_Extern_Sendpath
4325  */
4326 static const char* apzHpux11_Extern_SendpathPatch[] = {
4327     "format",
4328     "#ifndef _APP32_64BIT_OFF_T\n\
4329 %0#endif\n",
4330     (char*)NULL };
4332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4334  *  Description of Hpux11_Fabsf fix
4335  */
4336 tSCC zHpux11_FabsfName[] =
4337      "hpux11_fabsf";
4340  *  File name selection pattern
4341  */
4342 tSCC zHpux11_FabsfList[] =
4343   "math.h\0";
4345  *  Machine/OS name selection pattern
4346  */
4347 #define apzHpux11_FabsfMachs (const char**)NULL
4350  *  content selection pattern - do fix if pattern found
4351  */
4352 tSCC zHpux11_FabsfSelect0[] =
4353        "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
4356  *  content bypass pattern - skip fix if pattern found
4357  */
4358 tSCC zHpux11_FabsfBypass0[] =
4359        "__cplusplus";
4361 #define    HPUX11_FABSF_TEST_CT  2
4362 static tTestDesc aHpux11_FabsfTests[] = {
4363   { TT_NEGREP,   zHpux11_FabsfBypass0, (regex_t*)NULL },
4364   { TT_EGREP,    zHpux11_FabsfSelect0, (regex_t*)NULL }, };
4367  *  Fix Command Arguments for Hpux11_Fabsf
4368  */
4369 static const char* apzHpux11_FabsfPatch[] = {
4370     "format",
4371     "#ifndef __cplusplus\n\
4372 %0\n\
4373 #endif",
4374     (char*)NULL };
4376 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4378  *  Description of Hpux11_Pthread_Const fix
4379  */
4380 tSCC zHpux11_Pthread_ConstName[] =
4381      "hpux11_pthread_const";
4384  *  File name selection pattern
4385  */
4386 tSCC zHpux11_Pthread_ConstList[] =
4387   "sys/pthread.h\0";
4389  *  Machine/OS name selection pattern
4390  */
4391 tSCC* apzHpux11_Pthread_ConstMachs[] = {
4392         "*-hp-hpux11.[0-3]*",
4393         (const char*)NULL };
4396  *  content selection pattern - do fix if pattern found
4397  */
4398 tSCC zHpux11_Pthread_ConstSelect0[] =
4399        "^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
4401 #define    HPUX11_PTHREAD_CONST_TEST_CT  1
4402 static tTestDesc aHpux11_Pthread_ConstTests[] = {
4403   { TT_EGREP,    zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
4406  *  Fix Command Arguments for Hpux11_Pthread_Const
4407  */
4408 static const char* apzHpux11_Pthread_ConstPatch[] = {
4409     "format",
4410     "#define __POINTER_SET\t\t((void *) 1L)",
4411     (char*)NULL };
4413 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4415  *  Description of Hpux11_Size_T fix
4416  */
4417 tSCC zHpux11_Size_TName[] =
4418      "hpux11_size_t";
4421  *  File name selection pattern
4422  */
4423 #define zHpux11_Size_TList (char*)NULL
4425  *  Machine/OS name selection pattern
4426  */
4427 tSCC* apzHpux11_Size_TMachs[] = {
4428         "*-hp-hpux11*",
4429         (const char*)NULL };
4432  *  content selection pattern - do fix if pattern found
4433  */
4434 tSCC zHpux11_Size_TSelect0[] =
4435        "__size_t";
4437 #define    HPUX11_SIZE_T_TEST_CT  1
4438 static tTestDesc aHpux11_Size_TTests[] = {
4439   { TT_EGREP,    zHpux11_Size_TSelect0, (regex_t*)NULL }, };
4442  *  Fix Command Arguments for Hpux11_Size_T
4443  */
4444 static const char* apzHpux11_Size_TPatch[] = {
4445     "format",
4446     "_hpux_size_t",
4447     (char*)NULL };
4449 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4451  *  Description of Hpux11_Snprintf fix
4452  */
4453 tSCC zHpux11_SnprintfName[] =
4454      "hpux11_snprintf";
4457  *  File name selection pattern
4458  */
4459 tSCC zHpux11_SnprintfList[] =
4460   "stdio.h\0";
4462  *  Machine/OS name selection pattern
4463  */
4464 #define apzHpux11_SnprintfMachs (const char**)NULL
4467  *  content selection pattern - do fix if pattern found
4468  */
4469 tSCC zHpux11_SnprintfSelect0[] =
4470        "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
4472 #define    HPUX11_SNPRINTF_TEST_CT  1
4473 static tTestDesc aHpux11_SnprintfTests[] = {
4474   { TT_EGREP,    zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
4477  *  Fix Command Arguments for Hpux11_Snprintf
4478  */
4479 static const char* apzHpux11_SnprintfPatch[] = {
4480     "format",
4481     "%1 const %3",
4482     (char*)NULL };
4484 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4486  *  Description of Hpux11_Vsnprintf fix
4487  */
4488 tSCC zHpux11_VsnprintfName[] =
4489      "hpux11_vsnprintf";
4492  *  File name selection pattern
4493  */
4494 tSCC zHpux11_VsnprintfList[] =
4495   "stdio.h\0";
4497  *  Machine/OS name selection pattern
4498  */
4499 #define apzHpux11_VsnprintfMachs (const char**)NULL
4502  *  content selection pattern - do fix if pattern found
4503  */
4504 tSCC zHpux11_VsnprintfSelect0[] =
4505        "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
4507 #define    HPUX11_VSNPRINTF_TEST_CT  1
4508 static tTestDesc aHpux11_VsnprintfTests[] = {
4509   { TT_EGREP,    zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
4512  *  Fix Command Arguments for Hpux11_Vsnprintf
4513  */
4514 static const char* apzHpux11_VsnprintfPatch[] = {
4515     "format",
4516     "%1 __va_list);",
4517     (char*)NULL };
4519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4521  *  Description of Hpux_Vsscanf fix
4522  */
4523 tSCC zHpux_VsscanfName[] =
4524      "hpux_vsscanf";
4527  *  File name selection pattern
4528  */
4529 tSCC zHpux_VsscanfList[] =
4530   "stdio.h\0";
4532  *  Machine/OS name selection pattern
4533  */
4534 tSCC* apzHpux_VsscanfMachs[] = {
4535         "*-*-hpux*",
4536         (const char*)NULL };
4539  *  content selection pattern - do fix if pattern found
4540  */
4541 tSCC zHpux_VsscanfSelect0[] =
4542        "(extern int vsscanf\\()char";
4544 #define    HPUX_VSSCANF_TEST_CT  1
4545 static tTestDesc aHpux_VsscanfTests[] = {
4546   { TT_EGREP,    zHpux_VsscanfSelect0, (regex_t*)NULL }, };
4549  *  Fix Command Arguments for Hpux_Vsscanf
4550  */
4551 static const char* apzHpux_VsscanfPatch[] = {
4552     "format",
4553     "%1const char",
4554     (char*)NULL };
4556 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4558  *  Description of Hpux8_Bogus_Inlines fix
4559  */
4560 tSCC zHpux8_Bogus_InlinesName[] =
4561      "hpux8_bogus_inlines";
4564  *  File name selection pattern
4565  */
4566 tSCC zHpux8_Bogus_InlinesList[] =
4567   "math.h\0";
4569  *  Machine/OS name selection pattern
4570  */
4571 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
4574  *  content selection pattern - do fix if pattern found
4575  */
4576 tSCC zHpux8_Bogus_InlinesSelect0[] =
4577        "inline";
4580  *  content bypass pattern - skip fix if pattern found
4581  */
4582 tSCC zHpux8_Bogus_InlinesBypass0[] =
4583        "__GNUG__";
4585 #define    HPUX8_BOGUS_INLINES_TEST_CT  2
4586 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
4587   { TT_NEGREP,   zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
4588   { TT_EGREP,    zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
4591  *  Fix Command Arguments for Hpux8_Bogus_Inlines
4592  */
4593 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
4594     "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
4595     "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
4596     "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
4597     "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
4598     (char*)NULL };
4600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4602  *  Description of Hpux_C99_Intptr fix
4603  */
4604 tSCC zHpux_C99_IntptrName[] =
4605      "hpux_c99_intptr";
4608  *  File name selection pattern
4609  */
4610 tSCC zHpux_C99_IntptrList[] =
4611   "stdint-hpux11.h\0stdint.h\0";
4613  *  Machine/OS name selection pattern
4614  */
4615 tSCC* apzHpux_C99_IntptrMachs[] = {
4616         "*-hp-hpux11.3*",
4617         (const char*)NULL };
4618 #define HPUX_C99_INTPTR_TEST_CT  0
4619 #define aHpux_C99_IntptrTests   (tTestDesc*)NULL
4622  *  Fix Command Arguments for Hpux_C99_Intptr
4623  */
4624 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
4625     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
4626     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
4627     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
4628     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
4629     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
4630     "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
4631     (char*)NULL };
4633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4635  *  Description of Hpux_C99_Inttypes fix
4636  */
4637 tSCC zHpux_C99_InttypesName[] =
4638      "hpux_c99_inttypes";
4641  *  File name selection pattern
4642  */
4643 tSCC zHpux_C99_InttypesList[] =
4644   "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
4646  *  Machine/OS name selection pattern
4647  */
4648 tSCC* apzHpux_C99_InttypesMachs[] = {
4649         "*-hp-hpux11.[23]*",
4650         (const char*)NULL };
4651 #define HPUX_C99_INTTYPES_TEST_CT  0
4652 #define aHpux_C99_InttypesTests   (tTestDesc*)NULL
4655  *  Fix Command Arguments for Hpux_C99_Inttypes
4656  */
4657 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
4658     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
4659     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
4660     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
4661     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
4662     (char*)NULL };
4664 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4666  *  Description of Hpux_C99_Inttypes2 fix
4667  */
4668 tSCC zHpux_C99_Inttypes2Name[] =
4669      "hpux_c99_inttypes2";
4672  *  File name selection pattern
4673  */
4674 tSCC zHpux_C99_Inttypes2List[] =
4675   "stdint-hpux11.h\0stdint.h\0";
4677  *  Machine/OS name selection pattern
4678  */
4679 tSCC* apzHpux_C99_Inttypes2Machs[] = {
4680         "*-hp-hpux11.2*",
4681         (const char*)NULL };
4682 #define HPUX_C99_INTTYPES2_TEST_CT  0
4683 #define aHpux_C99_Inttypes2Tests   (tTestDesc*)NULL
4686  *  Fix Command Arguments for Hpux_C99_Inttypes2
4687  */
4688 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
4689     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
4690     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
4691     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
4692     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
4693     (char*)NULL };
4695 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4697  *  Description of Hpux_Ctype_Macros fix
4698  */
4699 tSCC zHpux_Ctype_MacrosName[] =
4700      "hpux_ctype_macros";
4703  *  File name selection pattern
4704  */
4705 tSCC zHpux_Ctype_MacrosList[] =
4706   "ctype.h\0";
4708  *  Machine/OS name selection pattern
4709  */
4710 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
4713  *  content selection pattern - do fix if pattern found
4714  */
4715 tSCC zHpux_Ctype_MacrosSelect0[] =
4716        "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
4718 #define    HPUX_CTYPE_MACROS_TEST_CT  1
4719 static tTestDesc aHpux_Ctype_MacrosTests[] = {
4720   { TT_EGREP,    zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
4723  *  Fix Command Arguments for Hpux_Ctype_Macros
4724  */
4725 static const char* apzHpux_Ctype_MacrosPatch[] = {
4726     "format",
4727     "%1(int)%3",
4728     (char*)NULL };
4730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4732  *  Description of Hpux_Extern_Errno fix
4733  */
4734 tSCC zHpux_Extern_ErrnoName[] =
4735      "hpux_extern_errno";
4738  *  File name selection pattern
4739  */
4740 tSCC zHpux_Extern_ErrnoList[] =
4741   "errno.h\0";
4743  *  Machine/OS name selection pattern
4744  */
4745 tSCC* apzHpux_Extern_ErrnoMachs[] = {
4746         "*-hp-hpux10.*",
4747         "*-hp-hpux11.[0-2]*",
4748         (const char*)NULL };
4751  *  content selection pattern - do fix if pattern found
4752  */
4753 tSCC zHpux_Extern_ErrnoSelect0[] =
4754        "^[ \t]*extern int errno;$";
4756 #define    HPUX_EXTERN_ERRNO_TEST_CT  1
4757 static tTestDesc aHpux_Extern_ErrnoTests[] = {
4758   { TT_EGREP,    zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
4761  *  Fix Command Arguments for Hpux_Extern_Errno
4762  */
4763 static const char* apzHpux_Extern_ErrnoPatch[] = {
4764     "format",
4765     "#ifdef __cplusplus\n\
4766 extern \"C\" {\n\
4767 #endif\n\
4768 %0\n\
4769 #ifdef __cplusplus\n\
4770 }\n\
4771 #endif",
4772     (char*)NULL };
4774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4776  *  Description of Hpux_Htonl fix
4777  */
4778 tSCC zHpux_HtonlName[] =
4779      "hpux_htonl";
4782  *  File name selection pattern
4783  */
4784 tSCC zHpux_HtonlList[] =
4785   "netinet/in.h\0";
4787  *  Machine/OS name selection pattern
4788  */
4789 #define apzHpux_HtonlMachs (const char**)NULL
4792  *  content selection pattern - do fix if pattern found
4793  */
4794 tSCC zHpux_HtonlSelect0[] =
4795        "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
4796 (/\\*\n\
4797  \\* Macros for number representation conversion\\.\n\
4798  \\*/\n\
4799 #ifndef ntohl)";
4801 #define    HPUX_HTONL_TEST_CT  1
4802 static tTestDesc aHpux_HtonlTests[] = {
4803   { TT_EGREP,    zHpux_HtonlSelect0, (regex_t*)NULL }, };
4806  *  Fix Command Arguments for Hpux_Htonl
4807  */
4808 static const char* apzHpux_HtonlPatch[] = {
4809     "format",
4810     "#if 1\n\
4811 %1",
4812     (char*)NULL };
4814 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4816  *  Description of Hpux_Imaginary_I fix
4817  */
4818 tSCC zHpux_Imaginary_IName[] =
4819      "hpux_imaginary_i";
4822  *  File name selection pattern
4823  */
4824 tSCC zHpux_Imaginary_IList[] =
4825   "complex.h\0";
4827  *  Machine/OS name selection pattern
4828  */
4829 tSCC* apzHpux_Imaginary_IMachs[] = {
4830         "ia64-hp-hpux11.*",
4831         (const char*)NULL };
4834  *  content selection pattern - do fix if pattern found
4835  */
4836 tSCC zHpux_Imaginary_ISelect0[] =
4837        "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
4839 #define    HPUX_IMAGINARY_I_TEST_CT  1
4840 static tTestDesc aHpux_Imaginary_ITests[] = {
4841   { TT_EGREP,    zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
4844  *  Fix Command Arguments for Hpux_Imaginary_I
4845  */
4846 static const char* apzHpux_Imaginary_IPatch[] = {
4847     "format",
4848     "#define _Complex_I (__extension__ 1.0iF)",
4849     (char*)NULL };
4851 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4853  *  Description of Hpux_Inttype_Int8_T fix
4854  */
4855 tSCC zHpux_Inttype_Int8_TName[] =
4856      "hpux_inttype_int8_t";
4859  *  File name selection pattern
4860  */
4861 tSCC zHpux_Inttype_Int8_TList[] =
4862   "sys/_inttypes.h\0";
4864  *  Machine/OS name selection pattern
4865  */
4866 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
4867         "*-hp-hpux1[01].*",
4868         (const char*)NULL };
4871  *  content selection pattern - do fix if pattern found
4872  */
4873 tSCC zHpux_Inttype_Int8_TSelect0[] =
4874        "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
4876 #define    HPUX_INTTYPE_INT8_T_TEST_CT  1
4877 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
4878   { TT_EGREP,    zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
4881  *  Fix Command Arguments for Hpux_Inttype_Int8_T
4882  */
4883 static const char* apzHpux_Inttype_Int8_TPatch[] = {
4884     "format",
4885     "typedef signed char int%18_t;",
4886     (char*)NULL };
4888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4890  *  Description of Hpux_Long_Double fix
4891  */
4892 tSCC zHpux_Long_DoubleName[] =
4893      "hpux_long_double";
4896  *  File name selection pattern
4897  */
4898 tSCC zHpux_Long_DoubleList[] =
4899   "stdlib.h\0";
4901  *  Machine/OS name selection pattern
4902  */
4903 tSCC* apzHpux_Long_DoubleMachs[] = {
4904         "*-*-hpux10*",
4905         "*-*-hpux11.[012]*",
4906         (const char*)NULL };
4909  *  content selection pattern - do fix if pattern found
4910  */
4911 tSCC zHpux_Long_DoubleSelect0[] =
4912        "extern[ \t]long_double[ \t]strtold";
4915  *  content bypass pattern - skip fix if pattern found
4916  */
4917 tSCC zHpux_Long_DoubleBypass0[] =
4918        "long_double_t";
4920 #define    HPUX_LONG_DOUBLE_TEST_CT  2
4921 static tTestDesc aHpux_Long_DoubleTests[] = {
4922   { TT_NEGREP,   zHpux_Long_DoubleBypass0, (regex_t*)NULL },
4923   { TT_EGREP,    zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
4926  *  Fix Command Arguments for Hpux_Long_Double
4927  */
4928 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
4929     "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
4930     "-e", "s/long_double/long double/g",
4931     (char*)NULL };
4933 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4935  *  Description of Hpux_Long_Double_2 fix
4936  */
4937 tSCC zHpux_Long_Double_2Name[] =
4938      "hpux_long_double_2";
4941  *  File name selection pattern
4942  */
4943 tSCC zHpux_Long_Double_2List[] =
4944   "stdlib.h\0";
4946  *  Machine/OS name selection pattern
4947  */
4948 tSCC* apzHpux_Long_Double_2Machs[] = {
4949         "hppa*-*-hpux11.3*",
4950         (const char*)NULL };
4953  *  content selection pattern - do fix if pattern found
4954  */
4955 tSCC zHpux_Long_Double_2Select0[] =
4956        "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
4958 #define    HPUX_LONG_DOUBLE_2_TEST_CT  1
4959 static tTestDesc aHpux_Long_Double_2Tests[] = {
4960   { TT_EGREP,    zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
4963  *  Fix Command Arguments for Hpux_Long_Double_2
4964  */
4965 static const char* apzHpux_Long_Double_2Patch[] = {
4966     "format",
4967     "#  if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
4968     (char*)NULL };
4970 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4972  *  Description of Hpux_Pthread_Initializers fix
4973  */
4974 tSCC zHpux_Pthread_InitializersName[] =
4975      "hpux_pthread_initializers";
4978  *  File name selection pattern
4979  */
4980 tSCC zHpux_Pthread_InitializersList[] =
4981   "sys/pthread.h\0";
4983  *  Machine/OS name selection pattern
4984  */
4985 tSCC* apzHpux_Pthread_InitializersMachs[] = {
4986         "*-hp-hpux11.[0-3]*",
4987         (const char*)NULL };
4988 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT  0
4989 #define aHpux_Pthread_InitializersTests   (tTestDesc*)NULL
4992  *  Fix Command Arguments for Hpux_Pthread_Initializers
4993  */
4994 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
4995     "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
4996     "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
4997     "-e", "/^[ \t]*0$/d",
4998     "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
4999     "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
5000     "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
5001     "-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\\\\@",
5002     "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
5003     "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
5004     "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
5005     "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
5006     "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
5007     "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
5008     (char*)NULL };
5010 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5012  *  Description of Hpux_Spu_Info fix
5013  */
5014 tSCC zHpux_Spu_InfoName[] =
5015      "hpux_spu_info";
5018  *  File name selection pattern
5019  */
5020 tSCC zHpux_Spu_InfoList[] =
5021   "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
5023  *  Machine/OS name selection pattern
5024  */
5025 tSCC* apzHpux_Spu_InfoMachs[] = {
5026         "*-hp-hpux*",
5027         (const char*)NULL };
5030  *  content selection pattern - do fix if pattern found
5031  */
5032 tSCC zHpux_Spu_InfoSelect0[] =
5033        "^.*extern.*spu_info.*";
5035 #define    HPUX_SPU_INFO_TEST_CT  1
5036 static tTestDesc aHpux_Spu_InfoTests[] = {
5037   { TT_EGREP,    zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
5040  *  Fix Command Arguments for Hpux_Spu_Info
5041  */
5042 static const char* apzHpux_Spu_InfoPatch[] = {
5043     "format",
5044     "#ifdef _KERNEL\n\
5045 %0\n\
5046 #endif",
5047     (char*)NULL };
5049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5051  *  Description of Hpux_Stdint_Least_Fast fix
5052  */
5053 tSCC zHpux_Stdint_Least_FastName[] =
5054      "hpux_stdint_least_fast";
5057  *  File name selection pattern
5058  */
5059 tSCC zHpux_Stdint_Least_FastList[] =
5060   "stdint-hpux11.h\0stdint.h\0";
5062  *  Machine/OS name selection pattern
5063  */
5064 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
5065         "*-hp-hpux11.2*",
5066         (const char*)NULL };
5069  *  content selection pattern - do fix if pattern found
5070  */
5071 tSCC zHpux_Stdint_Least_FastSelect0[] =
5072        "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
5074 #define    HPUX_STDINT_LEAST_FAST_TEST_CT  1
5075 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
5076   { TT_EGREP,    zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
5079  *  Fix Command Arguments for Hpux_Stdint_Least_Fast
5080  */
5081 static const char* apzHpux_Stdint_Least_FastPatch[] = {
5082     "format",
5083     "#  define\tUINT_%164_MAX\t__UINT64_MAX__",
5084     (char*)NULL };
5086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5088  *  Description of Hpux_Longjmp fix
5089  */
5090 tSCC zHpux_LongjmpName[] =
5091      "hpux_longjmp";
5094  *  File name selection pattern
5095  */
5096 tSCC zHpux_LongjmpList[] =
5097   "setjmp.h\0";
5099  *  Machine/OS name selection pattern
5100  */
5101 tSCC* apzHpux_LongjmpMachs[] = {
5102         "*-hp-hpux*",
5103         (const char*)NULL };
5106  *  content selection pattern - do fix if pattern found
5107  */
5108 tSCC zHpux_LongjmpSelect0[] =
5109        "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
5111 #define    HPUX_LONGJMP_TEST_CT  1
5112 static tTestDesc aHpux_LongjmpTests[] = {
5113   { TT_EGREP,    zHpux_LongjmpSelect0, (regex_t*)NULL }, };
5116  *  Fix Command Arguments for Hpux_Longjmp
5117  */
5118 static const char* apzHpux_LongjmpPatch[] = {
5119     "format",
5120     "%0 __attribute__ ((__noreturn__))",
5121     (char*)NULL };
5123 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5125  *  Description of Hpux_Systime fix
5126  */
5127 tSCC zHpux_SystimeName[] =
5128      "hpux_systime";
5131  *  File name selection pattern
5132  */
5133 tSCC zHpux_SystimeList[] =
5134   "sys/time.h\0";
5136  *  Machine/OS name selection pattern
5137  */
5138 #define apzHpux_SystimeMachs (const char**)NULL
5141  *  content selection pattern - do fix if pattern found
5142  */
5143 tSCC zHpux_SystimeSelect0[] =
5144        "^extern struct sigevent;";
5146 #define    HPUX_SYSTIME_TEST_CT  1
5147 static tTestDesc aHpux_SystimeTests[] = {
5148   { TT_EGREP,    zHpux_SystimeSelect0, (regex_t*)NULL }, };
5151  *  Fix Command Arguments for Hpux_Systime
5152  */
5153 static const char* apzHpux_SystimePatch[] = {
5154     "format",
5155     "struct sigevent;",
5156     (char*)NULL };
5158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5160  *  Description of Huge_Val_Hex fix
5161  */
5162 tSCC zHuge_Val_HexName[] =
5163      "huge_val_hex";
5166  *  File name selection pattern
5167  */
5168 tSCC zHuge_Val_HexList[] =
5169   "bits/huge_val.h\0*/bits/huge_val.h\0";
5171  *  Machine/OS name selection pattern
5172  */
5173 #define apzHuge_Val_HexMachs (const char**)NULL
5176  *  content selection pattern - do fix if pattern found
5177  */
5178 tSCC zHuge_Val_HexSelect0[] =
5179        "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
5182  *  content bypass pattern - skip fix if pattern found
5183  */
5184 tSCC zHuge_Val_HexBypass0[] =
5185        "__builtin_huge_val";
5187 #define    HUGE_VAL_HEX_TEST_CT  2
5188 static tTestDesc aHuge_Val_HexTests[] = {
5189   { TT_NEGREP,   zHuge_Val_HexBypass0, (regex_t*)NULL },
5190   { TT_EGREP,    zHuge_Val_HexSelect0, (regex_t*)NULL }, };
5193  *  Fix Command Arguments for Huge_Val_Hex
5194  */
5195 static const char* apzHuge_Val_HexPatch[] = {
5196     "format",
5197     "#define HUGE_VAL (__builtin_huge_val())\n",
5198     (char*)NULL };
5200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5202  *  Description of Huge_Valf_Hex fix
5203  */
5204 tSCC zHuge_Valf_HexName[] =
5205      "huge_valf_hex";
5208  *  File name selection pattern
5209  */
5210 tSCC zHuge_Valf_HexList[] =
5211   "bits/huge_val.h\0*/bits/huge_val.h\0";
5213  *  Machine/OS name selection pattern
5214  */
5215 #define apzHuge_Valf_HexMachs (const char**)NULL
5218  *  content selection pattern - do fix if pattern found
5219  */
5220 tSCC zHuge_Valf_HexSelect0[] =
5221        "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
5224  *  content bypass pattern - skip fix if pattern found
5225  */
5226 tSCC zHuge_Valf_HexBypass0[] =
5227        "__builtin_huge_valf";
5229 #define    HUGE_VALF_HEX_TEST_CT  2
5230 static tTestDesc aHuge_Valf_HexTests[] = {
5231   { TT_NEGREP,   zHuge_Valf_HexBypass0, (regex_t*)NULL },
5232   { TT_EGREP,    zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
5235  *  Fix Command Arguments for Huge_Valf_Hex
5236  */
5237 static const char* apzHuge_Valf_HexPatch[] = {
5238     "format",
5239     "#define HUGE_VALF (__builtin_huge_valf())\n",
5240     (char*)NULL };
5242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5244  *  Description of Huge_Vall_Hex fix
5245  */
5246 tSCC zHuge_Vall_HexName[] =
5247      "huge_vall_hex";
5250  *  File name selection pattern
5251  */
5252 tSCC zHuge_Vall_HexList[] =
5253   "bits/huge_val.h\0*/bits/huge_val.h\0";
5255  *  Machine/OS name selection pattern
5256  */
5257 #define apzHuge_Vall_HexMachs (const char**)NULL
5260  *  content selection pattern - do fix if pattern found
5261  */
5262 tSCC zHuge_Vall_HexSelect0[] =
5263        "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
5266  *  content bypass pattern - skip fix if pattern found
5267  */
5268 tSCC zHuge_Vall_HexBypass0[] =
5269        "__builtin_huge_vall";
5271 #define    HUGE_VALL_HEX_TEST_CT  2
5272 static tTestDesc aHuge_Vall_HexTests[] = {
5273   { TT_NEGREP,   zHuge_Vall_HexBypass0, (regex_t*)NULL },
5274   { TT_EGREP,    zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
5277  *  Fix Command Arguments for Huge_Vall_Hex
5278  */
5279 static const char* apzHuge_Vall_HexPatch[] = {
5280     "format",
5281     "#define HUGE_VALL (__builtin_huge_vall())\n",
5282     (char*)NULL };
5284 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5286  *  Description of Int_Abort_Free_And_Exit fix
5287  */
5288 tSCC zInt_Abort_Free_And_ExitName[] =
5289      "int_abort_free_and_exit";
5292  *  File name selection pattern
5293  */
5294 tSCC zInt_Abort_Free_And_ExitList[] =
5295   "stdlib.h\0";
5297  *  Machine/OS name selection pattern
5298  */
5299 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
5302  *  content selection pattern - do fix if pattern found
5303  */
5304 tSCC zInt_Abort_Free_And_ExitSelect0[] =
5305        "int[ \t]+(abort|free|exit)[ \t]*\\(";
5308  *  content bypass pattern - skip fix if pattern found
5309  */
5310 tSCC zInt_Abort_Free_And_ExitBypass0[] =
5311        "_CLASSIC_ANSI_TYPES";
5313 #define    INT_ABORT_FREE_AND_EXIT_TEST_CT  2
5314 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
5315   { TT_NEGREP,   zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
5316   { TT_EGREP,    zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
5319  *  Fix Command Arguments for Int_Abort_Free_And_Exit
5320  */
5321 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
5322     "format",
5323     "void\t%1(",
5324     (char*)NULL };
5326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5328  *  Description of Io_Quotes_Def fix
5329  */
5330 tSCC zIo_Quotes_DefName[] =
5331      "io_quotes_def";
5334  *  File name selection pattern
5335  */
5336 #define zIo_Quotes_DefList (char*)NULL
5338  *  Machine/OS name selection pattern
5339  */
5340 #define apzIo_Quotes_DefMachs (const char**)NULL
5343  *  content selection pattern - do fix if pattern found
5344  */
5345 tSCC zIo_Quotes_DefSelect0[] =
5346        "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
5348 #define    IO_QUOTES_DEF_TEST_CT  1
5349 static tTestDesc aIo_Quotes_DefTests[] = {
5350   { TT_EGREP,    zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
5353  *  Fix Command Arguments for Io_Quotes_Def
5354  */
5355 static const char* apzIo_Quotes_DefPatch[] = {
5356     "char_macro_def",
5357     "IO",
5358     (char*)NULL };
5360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5362  *  Description of Io_Quotes_Use fix
5363  */
5364 tSCC zIo_Quotes_UseName[] =
5365      "io_quotes_use";
5368  *  File name selection pattern
5369  */
5370 #define zIo_Quotes_UseList (char*)NULL
5372  *  Machine/OS name selection pattern
5373  */
5374 #define apzIo_Quotes_UseMachs (const char**)NULL
5377  *  content selection pattern - do fix if pattern found
5378  */
5379 tSCC zIo_Quotes_UseSelect0[] =
5380        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
5382 #define    IO_QUOTES_USE_TEST_CT  1
5383 static tTestDesc aIo_Quotes_UseTests[] = {
5384   { TT_EGREP,    zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
5387  *  Fix Command Arguments for Io_Quotes_Use
5388  */
5389 static const char* apzIo_Quotes_UsePatch[] = {
5390     "char_macro_use",
5391     "IO",
5392     (char*)NULL };
5394 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5396  *  Description of Ip_Missing_Semi fix
5397  */
5398 tSCC zIp_Missing_SemiName[] =
5399      "ip_missing_semi";
5402  *  File name selection pattern
5403  */
5404 tSCC zIp_Missing_SemiList[] =
5405   "netinet/ip.h\0";
5407  *  Machine/OS name selection pattern
5408  */
5409 #define apzIp_Missing_SemiMachs (const char**)NULL
5412  *  content selection pattern - do fix if pattern found
5413  */
5414 tSCC zIp_Missing_SemiSelect0[] =
5415        "}$";
5417 #define    IP_MISSING_SEMI_TEST_CT  1
5418 static tTestDesc aIp_Missing_SemiTests[] = {
5419   { TT_EGREP,    zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
5422  *  Fix Command Arguments for Ip_Missing_Semi
5423  */
5424 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
5425     "-e", "/^struct/,/^};/s/}$/};/",
5426     (char*)NULL };
5428 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5430  *  Description of Irix_Limits_Const fix
5431  */
5432 tSCC zIrix_Limits_ConstName[] =
5433      "irix_limits_const";
5436  *  File name selection pattern
5437  */
5438 tSCC zIrix_Limits_ConstList[] =
5439   "fixinc-test-limits.h\0limits.h\0";
5441  *  Machine/OS name selection pattern
5442  */
5443 #define apzIrix_Limits_ConstMachs (const char**)NULL
5446  *  content selection pattern - do fix if pattern found
5447  */
5448 tSCC zIrix_Limits_ConstSelect0[] =
5449        "^extern const ";
5451 #define    IRIX_LIMITS_CONST_TEST_CT  1
5452 static tTestDesc aIrix_Limits_ConstTests[] = {
5453   { TT_EGREP,    zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
5456  *  Fix Command Arguments for Irix_Limits_Const
5457  */
5458 static const char* apzIrix_Limits_ConstPatch[] = {
5459     "format",
5460     "extern __const ",
5461     (char*)NULL };
5463 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5465  *  Description of Irix_Stdio_Va_List fix
5466  */
5467 tSCC zIrix_Stdio_Va_ListName[] =
5468      "irix_stdio_va_list";
5471  *  File name selection pattern
5472  */
5473 tSCC zIrix_Stdio_Va_ListList[] =
5474   "stdio.h\0";
5476  *  Machine/OS name selection pattern
5477  */
5478 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
5481  *  content selection pattern - do fix if pattern found
5482  */
5483 tSCC zIrix_Stdio_Va_ListSelect0[] =
5484        "/\\* va_list \\*/ char \\*";
5486 #define    IRIX_STDIO_VA_LIST_TEST_CT  1
5487 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
5488   { TT_EGREP,    zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
5491  *  Fix Command Arguments for Irix_Stdio_Va_List
5492  */
5493 static const char* apzIrix_Stdio_Va_ListPatch[] = {
5494     "format",
5495     "__gnuc_va_list",
5496     (char*)NULL };
5498 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5500  *  Description of Kandr_Concat fix
5501  */
5502 tSCC zKandr_ConcatName[] =
5503      "kandr_concat";
5506  *  File name selection pattern
5507  */
5508 tSCC zKandr_ConcatList[] =
5509   "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";
5511  *  Machine/OS name selection pattern
5512  */
5513 #define apzKandr_ConcatMachs (const char**)NULL
5516  *  content selection pattern - do fix if pattern found
5517  */
5518 tSCC zKandr_ConcatSelect0[] =
5519        "/\\*\\*/";
5521 #define    KANDR_CONCAT_TEST_CT  1
5522 static tTestDesc aKandr_ConcatTests[] = {
5523   { TT_EGREP,    zKandr_ConcatSelect0, (regex_t*)NULL }, };
5526  *  Fix Command Arguments for Kandr_Concat
5527  */
5528 static const char* apzKandr_ConcatPatch[] = {
5529     "format",
5530     "##",
5531     (char*)NULL };
5533 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5535  *  Description of Linux_Ia64_Ucontext fix
5536  */
5537 tSCC zLinux_Ia64_UcontextName[] =
5538      "linux_ia64_ucontext";
5541  *  File name selection pattern
5542  */
5543 tSCC zLinux_Ia64_UcontextList[] =
5544   "sys/ucontext.h\0";
5546  *  Machine/OS name selection pattern
5547  */
5548 tSCC* apzLinux_Ia64_UcontextMachs[] = {
5549         "ia64-*-linux*",
5550         (const char*)NULL };
5553  *  content selection pattern - do fix if pattern found
5554  */
5555 tSCC zLinux_Ia64_UcontextSelect0[] =
5556        "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
5558 #define    LINUX_IA64_UCONTEXT_TEST_CT  1
5559 static tTestDesc aLinux_Ia64_UcontextTests[] = {
5560   { TT_EGREP,    zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
5563  *  Fix Command Arguments for Linux_Ia64_Ucontext
5564  */
5565 static const char* apzLinux_Ia64_UcontextPatch[] = {
5566     "format",
5567     "__builtin_offsetof (struct sigcontext, sc_gr[0])",
5568     (char*)NULL };
5570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5572  *  Description of Lynxos_No_Warning_In_Sys_Time_H fix
5573  */
5574 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
5575      "lynxos_no_warning_in_sys_time_h";
5578  *  File name selection pattern
5579  */
5580 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
5581   "sys/time.h\0";
5583  *  Machine/OS name selection pattern
5584  */
5585 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
5588  *  content selection pattern - do fix if pattern found
5589  */
5590 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
5591        "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
5593 #define    LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT  1
5594 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
5595   { TT_EGREP,    zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
5598  *  Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
5599  */
5600 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
5601     "format",
5602     "",
5603     (char*)NULL };
5605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5607  *  Description of Lynxos_Missing_Putenv fix
5608  */
5609 tSCC zLynxos_Missing_PutenvName[] =
5610      "lynxos_missing_putenv";
5613  *  File name selection pattern
5614  */
5615 tSCC zLynxos_Missing_PutenvList[] =
5616   "stdlib.h\0";
5618  *  Machine/OS name selection pattern
5619  */
5620 tSCC* apzLynxos_Missing_PutenvMachs[] = {
5621         "*-*-lynxos*",
5622         (const char*)NULL };
5625  *  content selection pattern - do fix if pattern found
5626  */
5627 tSCC zLynxos_Missing_PutenvSelect0[] =
5628        "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
5631  *  content bypass pattern - skip fix if pattern found
5632  */
5633 tSCC zLynxos_Missing_PutenvBypass0[] =
5634        "putenv[ \\t]*\\(";
5636 #define    LYNXOS_MISSING_PUTENV_TEST_CT  2
5637 static tTestDesc aLynxos_Missing_PutenvTests[] = {
5638   { TT_NEGREP,   zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
5639   { TT_EGREP,    zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
5642  *  Fix Command Arguments for Lynxos_Missing_Putenv
5643  */
5644 static const char* apzLynxos_Missing_PutenvPatch[] = {
5645     "format",
5646     "%0\n\
5647 extern int putenv\t\t\t\t_AP((char *));",
5648     "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
5649     (char*)NULL };
5651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5653  *  Description of Machine_Ansi_H_Va_List fix
5654  */
5655 tSCC zMachine_Ansi_H_Va_ListName[] =
5656      "machine_ansi_h_va_list";
5659  *  File name selection pattern
5660  */
5661 #define zMachine_Ansi_H_Va_ListList (char*)NULL
5663  *  Machine/OS name selection pattern
5664  */
5665 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
5668  *  content selection pattern - do fix if pattern found
5669  */
5670 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
5671        "define[ \t]+_BSD_VA_LIST_[ \t]";
5674  *  content bypass pattern - skip fix if pattern found
5675  */
5676 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
5677        "__builtin_va_list";
5679 #define    MACHINE_ANSI_H_VA_LIST_TEST_CT  2
5680 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
5681   { TT_NEGREP,   zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
5682   { TT_EGREP,    zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
5685  *  Fix Command Arguments for Machine_Ansi_H_Va_List
5686  */
5687 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
5688     "format",
5689     "%1__builtin_va_list",
5690     "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
5691     (char*)NULL };
5693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5695  *  Description of Machine_Name fix
5696  */
5697 tSCC zMachine_NameName[] =
5698      "machine_name";
5701  *  File name selection pattern
5702  */
5703 #define zMachine_NameList (char*)NULL
5705  *  Machine/OS name selection pattern
5706  */
5707 #define apzMachine_NameMachs (const char**)NULL
5710  *  perform the C function call test
5711  */
5712 tSCC zMachine_NameFTst0[] = "machine_name";
5714 #define    MACHINE_NAME_TEST_CT  1
5715 static tTestDesc aMachine_NameTests[] = {
5716   { TT_FUNCTION, zMachine_NameFTst0,   0 /* unused */ }, };
5719  *  Fix Command Arguments for Machine_Name
5720  */
5721 static const char* apzMachine_NamePatch[] = {
5722     "machine_name",
5723     (char*)NULL };
5725 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5727  *  Description of Math_Exception fix
5728  */
5729 tSCC zMath_ExceptionName[] =
5730      "math_exception";
5733  *  File name selection pattern
5734  */
5735 tSCC zMath_ExceptionList[] =
5736   "math.h\0";
5738  *  Machine/OS name selection pattern
5739  */
5740 tSCC* apzMath_ExceptionMachs[] = {
5741         "*-*-solaris2.1[0-9]*",
5742         (const char*)NULL };
5745  *  content selection pattern - do fix if pattern found
5746  */
5747 tSCC zMath_ExceptionSelect0[] =
5748        "struct exception";
5751  *  content bypass pattern - skip fix if pattern found
5752  */
5753 tSCC zMath_ExceptionBypass0[] =
5754        "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
5756 #define    MATH_EXCEPTION_TEST_CT  2
5757 static tTestDesc aMath_ExceptionTests[] = {
5758   { TT_NEGREP,   zMath_ExceptionBypass0, (regex_t*)NULL },
5759   { TT_EGREP,    zMath_ExceptionSelect0, (regex_t*)NULL }, };
5762  *  Fix Command Arguments for Math_Exception
5763  */
5764 static const char* apzMath_ExceptionPatch[] = {
5765     "wrap",
5766     "#ifdef __cplusplus\n\
5767 #define exception __math_exception\n\
5768 #endif\n",
5769     "#ifdef __cplusplus\n\
5770 #undef exception\n\
5771 #endif\n",
5772     (char*)NULL };
5774 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5776  *  Description of Math_Huge_Val_From_Dbl_Max fix
5777  */
5778 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
5779      "math_huge_val_from_dbl_max";
5782  *  File name selection pattern
5783  */
5784 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
5785   "math.h\0";
5787  *  Machine/OS name selection pattern
5788  */
5789 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
5792  *  content selection pattern - do fix if pattern found
5793  */
5794 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
5795        "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
5798  *  content bypass pattern - skip fix if pattern found
5799  */
5800 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
5801        "define[ \t]+DBL_MAX";
5803 #define    MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT  2
5804 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
5805   { TT_NEGREP,   zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
5806   { TT_EGREP,    zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
5809  *  Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
5810  */
5811 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
5812     "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
5813 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
5814 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
5815 \telse cat\n\
5816 \tfi",
5817     (char*)NULL };
5819 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5821  *  Description of Nested_Auth_Des fix
5822  */
5823 tSCC zNested_Auth_DesName[] =
5824      "nested_auth_des";
5827  *  File name selection pattern
5828  */
5829 tSCC zNested_Auth_DesList[] =
5830   "rpc/rpc.h\0";
5832  *  Machine/OS name selection pattern
5833  */
5834 #define apzNested_Auth_DesMachs (const char**)NULL
5837  *  content selection pattern - do fix if pattern found
5838  */
5839 tSCC zNested_Auth_DesSelect0[] =
5840        "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
5842 #define    NESTED_AUTH_DES_TEST_CT  1
5843 static tTestDesc aNested_Auth_DesTests[] = {
5844   { TT_EGREP,    zNested_Auth_DesSelect0, (regex_t*)NULL }, };
5847  *  Fix Command Arguments for Nested_Auth_Des
5848  */
5849 static const char* apzNested_Auth_DesPatch[] = {
5850     "format",
5851     "%1*/ /*",
5852     (char*)NULL };
5854 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5856  *  Description of Netbsd_C99_Inline_1 fix
5857  */
5858 tSCC zNetbsd_C99_Inline_1Name[] =
5859      "netbsd_c99_inline_1";
5862  *  File name selection pattern
5863  */
5864 tSCC zNetbsd_C99_Inline_1List[] =
5865   "signal.h\0";
5867  *  Machine/OS name selection pattern
5868  */
5869 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
5870         "*-*-netbsd*",
5871         (const char*)NULL };
5874  *  content selection pattern - do fix if pattern found
5875  */
5876 tSCC zNetbsd_C99_Inline_1Select0[] =
5877        "extern __inline int";
5879 #define    NETBSD_C99_INLINE_1_TEST_CT  1
5880 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
5881   { TT_EGREP,    zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
5884  *  Fix Command Arguments for Netbsd_C99_Inline_1
5885  */
5886 static const char* apzNetbsd_C99_Inline_1Patch[] = {
5887     "format",
5888     "extern\n\
5889 #ifdef __GNUC_STDC_INLINE__\n\
5890 __attribute__((__gnu_inline__))\n\
5891 #endif\n\
5892 __inline int",
5893     (char*)NULL };
5895 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5897  *  Description of Netbsd_C99_Inline_2 fix
5898  */
5899 tSCC zNetbsd_C99_Inline_2Name[] =
5900      "netbsd_c99_inline_2";
5903  *  File name selection pattern
5904  */
5905 tSCC zNetbsd_C99_Inline_2List[] =
5906   "signal.h\0";
5908  *  Machine/OS name selection pattern
5909  */
5910 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
5911         "*-*-netbsd*",
5912         (const char*)NULL };
5915  *  content selection pattern - do fix if pattern found
5916  */
5917 tSCC zNetbsd_C99_Inline_2Select0[] =
5918        "#define _SIGINLINE extern __inline";
5920 #define    NETBSD_C99_INLINE_2_TEST_CT  1
5921 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
5922   { TT_EGREP,    zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
5925  *  Fix Command Arguments for Netbsd_C99_Inline_2
5926  */
5927 static const char* apzNetbsd_C99_Inline_2Patch[] = {
5928     "format",
5929     "#ifdef __GNUC_STDC_INLINE__\n\
5930 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
5931 #else\n\
5932 %0\n\
5933 #endif",
5934     (char*)NULL };
5936 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5938  *  Description of Netbsd_Extra_Semicolon fix
5939  */
5940 tSCC zNetbsd_Extra_SemicolonName[] =
5941      "netbsd_extra_semicolon";
5944  *  File name selection pattern
5945  */
5946 tSCC zNetbsd_Extra_SemicolonList[] =
5947   "sys/cdefs.h\0";
5949  *  Machine/OS name selection pattern
5950  */
5951 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
5952         "*-*-netbsd*",
5953         (const char*)NULL };
5956  *  content selection pattern - do fix if pattern found
5957  */
5958 tSCC zNetbsd_Extra_SemicolonSelect0[] =
5959        "#define[ \t]*__END_DECLS[ \t]*};";
5961 #define    NETBSD_EXTRA_SEMICOLON_TEST_CT  1
5962 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
5963   { TT_EGREP,    zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
5966  *  Fix Command Arguments for Netbsd_Extra_Semicolon
5967  */
5968 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
5969     "format",
5970     "#define __END_DECLS }",
5971     (char*)NULL };
5973 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5975  *  Description of Newlib_Stdint_1 fix
5976  */
5977 tSCC zNewlib_Stdint_1Name[] =
5978      "newlib_stdint_1";
5981  *  File name selection pattern
5982  */
5983 tSCC zNewlib_Stdint_1List[] =
5984   "stdint-newlib.h\0stdint.h\0";
5986  *  Machine/OS name selection pattern
5987  */
5988 #define apzNewlib_Stdint_1Machs (const char**)NULL
5991  *  content selection pattern - do fix if pattern found
5992  */
5993 tSCC zNewlib_Stdint_1Select0[] =
5994        "@todo - Add support for wint_t types";
5996 #define    NEWLIB_STDINT_1_TEST_CT  1
5997 static tTestDesc aNewlib_Stdint_1Tests[] = {
5998   { TT_EGREP,    zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
6001  *  Fix Command Arguments for Newlib_Stdint_1
6002  */
6003 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
6004     "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
6005     "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
6006     "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
6007     "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
6008     "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
6009     "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
6010     "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
6011     "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
6012     "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
6013     "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
6014     "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
6015     "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
6016     "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
6017     "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
6018     (char*)NULL };
6020 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6022  *  Description of Newlib_Stdint_2 fix
6023  */
6024 tSCC zNewlib_Stdint_2Name[] =
6025      "newlib_stdint_2";
6028  *  File name selection pattern
6029  */
6030 tSCC zNewlib_Stdint_2List[] =
6031   "stdint-newlib.h\0stdint.h\0";
6033  *  Machine/OS name selection pattern
6034  */
6035 #define apzNewlib_Stdint_2Machs (const char**)NULL
6038  *  content selection pattern - do fix if pattern found
6039  */
6040 tSCC zNewlib_Stdint_2Select0[] =
6041        "@todo - Add support for wint_t types";
6043 #define    NEWLIB_STDINT_2_TEST_CT  1
6044 static tTestDesc aNewlib_Stdint_2Tests[] = {
6045   { TT_EGREP,    zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
6048  *  Fix Command Arguments for Newlib_Stdint_2
6049  */
6050 static const char* apzNewlib_Stdint_2Patch[] = {
6051     "format",
6052     "#define INTMAX_MAX __INTMAX_MAX__\n\
6053 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
6054 #define UINTMAX_MAX __UINTMAX_MAX__\n\
6055 #define WCHAR_MAX __WCHAR_MAX__\n\
6056 #define WCHAR_MIN __WCHAR_MIN__\n\
6057 #define WINT_MAX __WINT_MAX__\n\
6058 #define WINT_MIN __WINT_MIN__\n\n\
6059 %0",
6060     "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
6061     (char*)NULL };
6063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6065  *  Description of Next_Math_Prefix fix
6066  */
6067 tSCC zNext_Math_PrefixName[] =
6068      "next_math_prefix";
6071  *  File name selection pattern
6072  */
6073 tSCC zNext_Math_PrefixList[] =
6074   "ansi/math.h\0";
6076  *  Machine/OS name selection pattern
6077  */
6078 #define apzNext_Math_PrefixMachs (const char**)NULL
6081  *  content selection pattern - do fix if pattern found
6082  */
6083 tSCC zNext_Math_PrefixSelect0[] =
6084        "^extern[ \t]+double[ \t]+__const__[ \t]";
6086 #define    NEXT_MATH_PREFIX_TEST_CT  1
6087 static tTestDesc aNext_Math_PrefixTests[] = {
6088   { TT_EGREP,    zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
6091  *  Fix Command Arguments for Next_Math_Prefix
6092  */
6093 static const char* apzNext_Math_PrefixPatch[] = {
6094     "format",
6095     "extern double %1(",
6096     "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
6097     (char*)NULL };
6099 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6101  *  Description of Next_Template fix
6102  */
6103 tSCC zNext_TemplateName[] =
6104      "next_template";
6107  *  File name selection pattern
6108  */
6109 tSCC zNext_TemplateList[] =
6110   "bsd/libc.h\0";
6112  *  Machine/OS name selection pattern
6113  */
6114 #define apzNext_TemplateMachs (const char**)NULL
6117  *  content selection pattern - do fix if pattern found
6118  */
6119 tSCC zNext_TemplateSelect0[] =
6120        "[ \t]template\\)";
6122 #define    NEXT_TEMPLATE_TEST_CT  1
6123 static tTestDesc aNext_TemplateTests[] = {
6124   { TT_EGREP,    zNext_TemplateSelect0, (regex_t*)NULL }, };
6127  *  Fix Command Arguments for Next_Template
6128  */
6129 static const char* apzNext_TemplatePatch[] = {
6130     "format",
6131     "(%1)",
6132     "\\(([^)]*)[ \t]template\\)",
6133     (char*)NULL };
6135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6137  *  Description of Next_Volitile fix
6138  */
6139 tSCC zNext_VolitileName[] =
6140      "next_volitile";
6143  *  File name selection pattern
6144  */
6145 tSCC zNext_VolitileList[] =
6146   "ansi/stdlib.h\0";
6148  *  Machine/OS name selection pattern
6149  */
6150 #define apzNext_VolitileMachs (const char**)NULL
6153  *  content selection pattern - do fix if pattern found
6154  */
6155 tSCC zNext_VolitileSelect0[] =
6156        "^extern[ \t]+volatile[ \t]+void[ \t]";
6158 #define    NEXT_VOLITILE_TEST_CT  1
6159 static tTestDesc aNext_VolitileTests[] = {
6160   { TT_EGREP,    zNext_VolitileSelect0, (regex_t*)NULL }, };
6163  *  Fix Command Arguments for Next_Volitile
6164  */
6165 static const char* apzNext_VolitilePatch[] = {
6166     "format",
6167     "extern void %1(",
6168     "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
6169     (char*)NULL };
6171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6173  *  Description of Next_Wait_Union fix
6174  */
6175 tSCC zNext_Wait_UnionName[] =
6176      "next_wait_union";
6179  *  File name selection pattern
6180  */
6181 tSCC zNext_Wait_UnionList[] =
6182   "sys/wait.h\0";
6184  *  Machine/OS name selection pattern
6185  */
6186 #define apzNext_Wait_UnionMachs (const char**)NULL
6189  *  content selection pattern - do fix if pattern found
6190  */
6191 tSCC zNext_Wait_UnionSelect0[] =
6192        "wait\\(union wait";
6194 #define    NEXT_WAIT_UNION_TEST_CT  1
6195 static tTestDesc aNext_Wait_UnionTests[] = {
6196   { TT_EGREP,    zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
6199  *  Fix Command Arguments for Next_Wait_Union
6200  */
6201 static const char* apzNext_Wait_UnionPatch[] = {
6202     "format",
6203     "wait(void",
6204     (char*)NULL };
6206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6208  *  Description of Nodeent_Syntax fix
6209  */
6210 tSCC zNodeent_SyntaxName[] =
6211      "nodeent_syntax";
6214  *  File name selection pattern
6215  */
6216 tSCC zNodeent_SyntaxList[] =
6217   "netdnet/dnetdb.h\0";
6219  *  Machine/OS name selection pattern
6220  */
6221 #define apzNodeent_SyntaxMachs (const char**)NULL
6224  *  content selection pattern - do fix if pattern found
6225  */
6226 tSCC zNodeent_SyntaxSelect0[] =
6227        "char[ \t]*\\*na_addr[ \t]*$";
6229 #define    NODEENT_SYNTAX_TEST_CT  1
6230 static tTestDesc aNodeent_SyntaxTests[] = {
6231   { TT_EGREP,    zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
6234  *  Fix Command Arguments for Nodeent_Syntax
6235  */
6236 static const char* apzNodeent_SyntaxPatch[] = {
6237     "format",
6238     "%0;",
6239     (char*)NULL };
6241 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6243  *  Description of Openbsd_Null_Definition fix
6244  */
6245 tSCC zOpenbsd_Null_DefinitionName[] =
6246      "openbsd_null_definition";
6249  *  File name selection pattern
6250  */
6251 tSCC zOpenbsd_Null_DefinitionList[] =
6252   "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
6254  *  Machine/OS name selection pattern
6255  */
6256 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
6257         "*-*-openbsd*",
6258         (const char*)NULL };
6261  *  content selection pattern - do fix if pattern found
6262  */
6263 tSCC zOpenbsd_Null_DefinitionSelect0[] =
6264        "__GNUG__";
6266 #define    OPENBSD_NULL_DEFINITION_TEST_CT  1
6267 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
6268   { TT_EGREP,    zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
6271  *  Fix Command Arguments for Openbsd_Null_Definition
6272  */
6273 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
6274     "format",
6275     "#ifndef NULL\n\
6276 #ifdef __cplusplus\n\
6277 #ifdef __GNUG__\n\
6278 #define NULL\t__null\n\
6279 #else\t /* ! __GNUG__  */\n\
6280 #define NULL\t0L\n\
6281 #endif\t /* __GNUG__  */\n\
6282 #else\t /* ! __cplusplus  */\n\
6283 #define NULL\t((void *)0)\n\
6284 #endif\t /* __cplusplus  */\n\
6285 #endif\t /* !NULL  */",
6286     "^#ifndef[ \t]*NULL\n\
6287 ^#ifdef[ \t]*__GNUG__\n\
6288 ^#define[ \t]*NULL[ \t]*__null\n\
6289 ^#else\n\
6290 ^#define[ \t]*NULL[ \t]*0L\n\
6291 ^#endif\n\
6292 ^#endif",
6293     (char*)NULL };
6295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6297  *  Description of Obstack_Lvalue_Cast fix
6298  */
6299 tSCC zObstack_Lvalue_CastName[] =
6300      "obstack_lvalue_cast";
6303  *  File name selection pattern
6304  */
6305 tSCC zObstack_Lvalue_CastList[] =
6306   "obstack.h\0";
6308  *  Machine/OS name selection pattern
6309  */
6310 #define apzObstack_Lvalue_CastMachs (const char**)NULL
6313  *  content selection pattern - do fix if pattern found
6314  */
6315 tSCC zObstack_Lvalue_CastSelect0[] =
6316        "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
6318 #define    OBSTACK_LVALUE_CAST_TEST_CT  1
6319 static tTestDesc aObstack_Lvalue_CastTests[] = {
6320   { TT_EGREP,    zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
6323  *  Fix Command Arguments for Obstack_Lvalue_Cast
6324  */
6325 static const char* apzObstack_Lvalue_CastPatch[] = {
6326     "format",
6327     "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
6328     (char*)NULL };
6330 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6332  *  Description of Openbsd_Va_Start fix
6333  */
6334 tSCC zOpenbsd_Va_StartName[] =
6335      "openbsd_va_start";
6338  *  File name selection pattern
6339  */
6340 tSCC zOpenbsd_Va_StartList[] =
6341   "stdarg.h\0";
6343  *  Machine/OS name selection pattern
6344  */
6345 tSCC* apzOpenbsd_Va_StartMachs[] = {
6346         "*-*-openbsd*",
6347         (const char*)NULL };
6350  *  content selection pattern - do fix if pattern found
6351  */
6352 tSCC zOpenbsd_Va_StartSelect0[] =
6353        "__builtin_stdarg_start";
6355 #define    OPENBSD_VA_START_TEST_CT  1
6356 static tTestDesc aOpenbsd_Va_StartTests[] = {
6357   { TT_EGREP,    zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
6360  *  Fix Command Arguments for Openbsd_Va_Start
6361  */
6362 static const char* apzOpenbsd_Va_StartPatch[] = {
6363     "format",
6364     "__builtin_va_start",
6365     (char*)NULL };
6367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6369  *  Description of Osf_Namespace_A fix
6370  */
6371 tSCC zOsf_Namespace_AName[] =
6372      "osf_namespace_a";
6375  *  File name selection pattern
6376  */
6377 tSCC zOsf_Namespace_AList[] =
6378   "reg_types.h\0sys/lc_core.h\0";
6380  *  Machine/OS name selection pattern
6381  */
6382 #define apzOsf_Namespace_AMachs (const char**)NULL
6385  *  perform the 'test' shell command - do fix on success
6386  */
6387 tSCC zOsf_Namespace_ATest0[] =
6388        " -r reg_types.h";
6389 tSCC zOsf_Namespace_ATest1[] =
6390        " -r sys/lc_core.h";
6391 tSCC zOsf_Namespace_ATest2[] =
6392        " -n \"`grep '} regex_t;' reg_types.h`\"";
6393 tSCC zOsf_Namespace_ATest3[] =
6394        " -z \"`grep __regex_t regex.h`\"";
6396 #define    OSF_NAMESPACE_A_TEST_CT  4
6397 static tTestDesc aOsf_Namespace_ATests[] = {
6398   { TT_TEST,     zOsf_Namespace_ATest0,   0 /* unused */ },
6399   { TT_TEST,     zOsf_Namespace_ATest1,   0 /* unused */ },
6400   { TT_TEST,     zOsf_Namespace_ATest2,   0 /* unused */ },
6401   { TT_TEST,     zOsf_Namespace_ATest3,   0 /* unused */ }, };
6404  *  Fix Command Arguments for Osf_Namespace_A
6405  */
6406 static const char* apzOsf_Namespace_APatch[] = {
6407     "format",
6408     "__%0",
6409     "reg(ex|off|match)_t",
6410     (char*)NULL };
6412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6414  *  Description of Osf_Namespace_C fix
6415  */
6416 tSCC zOsf_Namespace_CName[] =
6417      "osf_namespace_c";
6420  *  File name selection pattern
6421  */
6422 tSCC zOsf_Namespace_CList[] =
6423   "regex.h\0";
6425  *  Machine/OS name selection pattern
6426  */
6427 #define apzOsf_Namespace_CMachs (const char**)NULL
6430  *  content selection pattern - do fix if pattern found
6431  */
6432 tSCC zOsf_Namespace_CSelect0[] =
6433        "#include <reg_types.h>.*";
6436  *  perform the 'test' shell command - do fix on success
6437  */
6438 tSCC zOsf_Namespace_CTest0[] =
6439        " -r reg_types.h";
6440 tSCC zOsf_Namespace_CTest1[] =
6441        " -r sys/lc_core.h";
6442 tSCC zOsf_Namespace_CTest2[] =
6443        " -n \"`grep '} regex_t;' reg_types.h`\"";
6444 tSCC zOsf_Namespace_CTest3[] =
6445        " -z \"`grep __regex_t regex.h`\"";
6447 #define    OSF_NAMESPACE_C_TEST_CT  5
6448 static tTestDesc aOsf_Namespace_CTests[] = {
6449   { TT_TEST,     zOsf_Namespace_CTest0,   0 /* unused */ },
6450   { TT_TEST,     zOsf_Namespace_CTest1,   0 /* unused */ },
6451   { TT_TEST,     zOsf_Namespace_CTest2,   0 /* unused */ },
6452   { TT_TEST,     zOsf_Namespace_CTest3,   0 /* unused */ },
6453   { TT_EGREP,    zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
6456  *  Fix Command Arguments for Osf_Namespace_C
6457  */
6458 static const char* apzOsf_Namespace_CPatch[] = {
6459     "format",
6460     "%0\n\
6461 typedef __regex_t\tregex_t;\n\
6462 typedef __regoff_t\tregoff_t;\n\
6463 typedef __regmatch_t\tregmatch_t;",
6464     (char*)NULL };
6466 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6468  *  Description of Pthread_Incomplete_Struct_Argument fix
6469  */
6470 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
6471      "pthread_incomplete_struct_argument";
6474  *  File name selection pattern
6475  */
6476 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
6477   "pthread.h\0";
6479  *  Machine/OS name selection pattern
6480  */
6481 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
6484  *  content selection pattern - do fix if pattern found
6485  */
6486 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
6487        "struct __jmp_buf_tag";
6489 #define    PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT  1
6490 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
6491   { TT_EGREP,    zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
6494  *  Fix Command Arguments for Pthread_Incomplete_Struct_Argument
6495  */
6496 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
6497     "format",
6498     "%1 *%2%3",
6499     "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
6500     (char*)NULL };
6502 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6504  *  Description of Read_Ret_Type fix
6505  */
6506 tSCC zRead_Ret_TypeName[] =
6507      "read_ret_type";
6510  *  File name selection pattern
6511  */
6512 tSCC zRead_Ret_TypeList[] =
6513   "stdio.h\0";
6515  *  Machine/OS name selection pattern
6516  */
6517 #define apzRead_Ret_TypeMachs (const char**)NULL
6520  *  content selection pattern - do fix if pattern found
6521  */
6522 tSCC zRead_Ret_TypeSelect0[] =
6523        "extern int\t.*, fread\\(\\), fwrite\\(\\)";
6525 #define    READ_RET_TYPE_TEST_CT  1
6526 static tTestDesc aRead_Ret_TypeTests[] = {
6527   { TT_EGREP,    zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
6530  *  Fix Command Arguments for Read_Ret_Type
6531  */
6532 static const char* apzRead_Ret_TypePatch[] = {
6533     "format",
6534     "extern unsigned int fread(), fwrite();\n\
6535 %1%2",
6536     "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
6537     (char*)NULL };
6539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6541  *  Description of Rpc_Xdr_Lvalue_Cast_A fix
6542  */
6543 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
6544      "rpc_xdr_lvalue_cast_a";
6547  *  File name selection pattern
6548  */
6549 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
6550   "rpc/xdr.h\0";
6552  *  Machine/OS name selection pattern
6553  */
6554 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
6557  *  content selection pattern - do fix if pattern found
6558  */
6559 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
6560        "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
6561 .*__extension__.*";
6563 #define    RPC_XDR_LVALUE_CAST_A_TEST_CT  1
6564 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
6565   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
6568  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
6569  */
6570 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
6571     "format",
6572     "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
6573     (char*)NULL };
6575 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6577  *  Description of Rpc_Xdr_Lvalue_Cast_B fix
6578  */
6579 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
6580      "rpc_xdr_lvalue_cast_b";
6583  *  File name selection pattern
6584  */
6585 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
6586   "rpc/xdr.h\0";
6588  *  Machine/OS name selection pattern
6589  */
6590 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
6593  *  content selection pattern - do fix if pattern found
6594  */
6595 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
6596        "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
6597 .*__extension__.*";
6599 #define    RPC_XDR_LVALUE_CAST_B_TEST_CT  1
6600 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
6601   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
6604  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
6605  */
6606 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
6607     "format",
6608     "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
6609     (char*)NULL };
6611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6613  *  Description of Rs6000_Double fix
6614  */
6615 tSCC zRs6000_DoubleName[] =
6616      "rs6000_double";
6619  *  File name selection pattern
6620  */
6621 tSCC zRs6000_DoubleList[] =
6622   "math.h\0";
6624  *  Machine/OS name selection pattern
6625  */
6626 #define apzRs6000_DoubleMachs (const char**)NULL
6629  *  content selection pattern - do fix if pattern found
6630  */
6631 tSCC zRs6000_DoubleSelect0[] =
6632        "[^a-zA-Z_]class\\(";
6634 #define    RS6000_DOUBLE_TEST_CT  1
6635 static tTestDesc aRs6000_DoubleTests[] = {
6636   { TT_EGREP,    zRs6000_DoubleSelect0, (regex_t*)NULL }, };
6639  *  Fix Command Arguments for Rs6000_Double
6640  */
6641 static const char* apzRs6000_DoublePatch[] = {
6642     "format",
6643     "#ifndef __cplusplus\n\
6644 %0\n\
6645 #endif",
6646     "^.*[^a-zA-Z_]class\\(.*",
6647     (char*)NULL };
6649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6651  *  Description of Rs6000_Fchmod fix
6652  */
6653 tSCC zRs6000_FchmodName[] =
6654      "rs6000_fchmod";
6657  *  File name selection pattern
6658  */
6659 tSCC zRs6000_FchmodList[] =
6660   "sys/stat.h\0";
6662  *  Machine/OS name selection pattern
6663  */
6664 #define apzRs6000_FchmodMachs (const char**)NULL
6667  *  content selection pattern - do fix if pattern found
6668  */
6669 tSCC zRs6000_FchmodSelect0[] =
6670        "fchmod\\(char \\*";
6672 #define    RS6000_FCHMOD_TEST_CT  1
6673 static tTestDesc aRs6000_FchmodTests[] = {
6674   { TT_EGREP,    zRs6000_FchmodSelect0, (regex_t*)NULL }, };
6677  *  Fix Command Arguments for Rs6000_Fchmod
6678  */
6679 static const char* apzRs6000_FchmodPatch[] = {
6680     "format",
6681     "fchmod(int",
6682     (char*)NULL };
6684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6686  *  Description of Rs6000_Param fix
6687  */
6688 tSCC zRs6000_ParamName[] =
6689      "rs6000_param";
6692  *  File name selection pattern
6693  */
6694 tSCC zRs6000_ParamList[] =
6695   "stdio.h\0unistd.h\0";
6697  *  Machine/OS name selection pattern
6698  */
6699 #define apzRs6000_ParamMachs (const char**)NULL
6702  *  content selection pattern - do fix if pattern found
6703  */
6704 tSCC zRs6000_ParamSelect0[] =
6705        "rename\\(const char \\*old, const char \\*new\\)";
6707 #define    RS6000_PARAM_TEST_CT  1
6708 static tTestDesc aRs6000_ParamTests[] = {
6709   { TT_EGREP,    zRs6000_ParamSelect0, (regex_t*)NULL }, };
6712  *  Fix Command Arguments for Rs6000_Param
6713  */
6714 static const char* apzRs6000_ParamPatch[] = {
6715     "format",
6716     "rename(const char *_old, const char *_new)",
6717     (char*)NULL };
6719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6721  *  Description of Solaris___Restrict fix
6722  */
6723 tSCC zSolaris___RestrictName[] =
6724      "solaris___restrict";
6727  *  File name selection pattern
6728  */
6729 tSCC zSolaris___RestrictList[] =
6730   "sys/feature_tests.h\0";
6732  *  Machine/OS name selection pattern
6733  */
6734 tSCC* apzSolaris___RestrictMachs[] = {
6735         "*-*-solaris2*",
6736         (const char*)NULL };
6739  *  content selection pattern - do fix if pattern found
6740  */
6741 tSCC zSolaris___RestrictSelect0[] =
6742        "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
6744 #define    SOLARIS___RESTRICT_TEST_CT  1
6745 static tTestDesc aSolaris___RestrictTests[] = {
6746   { TT_EGREP,    zSolaris___RestrictSelect0, (regex_t*)NULL }, };
6749  *  Fix Command Arguments for Solaris___Restrict
6750  */
6751 static const char* apzSolaris___RestrictPatch[] = {
6752     "format",
6753     "#ifdef __cplusplus\n\
6754 #define\t_RESTRICT_KYWD\t__restrict\n\
6755 #else\n\
6756 %0\n\
6757 #endif",
6758     (char*)NULL };
6760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6762  *  Description of Solaris_Complex fix
6763  */
6764 tSCC zSolaris_ComplexName[] =
6765      "solaris_complex";
6768  *  File name selection pattern
6769  */
6770 tSCC zSolaris_ComplexList[] =
6771   "complex.h\0";
6773  *  Machine/OS name selection pattern
6774  */
6775 tSCC* apzSolaris_ComplexMachs[] = {
6776         "*-*-solaris2.*",
6777         (const char*)NULL };
6780  *  content selection pattern - do fix if pattern found
6781  */
6782 tSCC zSolaris_ComplexSelect0[] =
6783        "#define[ \t]_Complex_I[ \t]_Complex_I";
6785 #define    SOLARIS_COMPLEX_TEST_CT  1
6786 static tTestDesc aSolaris_ComplexTests[] = {
6787   { TT_EGREP,    zSolaris_ComplexSelect0, (regex_t*)NULL }, };
6790  *  Fix Command Arguments for Solaris_Complex
6791  */
6792 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
6793     "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
6794     "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
6795     "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
6796     "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
6797     (char*)NULL };
6799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6801  *  Description of Solaris_Complex_Cxx fix
6802  */
6803 tSCC zSolaris_Complex_CxxName[] =
6804      "solaris_complex_cxx";
6807  *  File name selection pattern
6808  */
6809 tSCC zSolaris_Complex_CxxList[] =
6810   "complex.h\0";
6812  *  Machine/OS name selection pattern
6813  */
6814 tSCC* apzSolaris_Complex_CxxMachs[] = {
6815         "*-*-solaris2.*",
6816         (const char*)NULL };
6817 #define SOLARIS_COMPLEX_CXX_TEST_CT  0
6818 #define aSolaris_Complex_CxxTests   (tTestDesc*)NULL
6821  *  Fix Command Arguments for Solaris_Complex_Cxx
6822  */
6823 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
6824     "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
6825 #ifdef\t__cplusplus\\\n\
6826 extern \"C\" {\\\n\
6827 #endif",
6828     "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
6829 #ifdef\t__cplusplus\\\n\
6830 }\\\n\
6831 #endif",
6832     (char*)NULL };
6834 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6836  *  Description of Solaris_Cxx_Linkage fix
6837  */
6838 tSCC zSolaris_Cxx_LinkageName[] =
6839      "solaris_cxx_linkage";
6842  *  File name selection pattern
6843  */
6844 tSCC zSolaris_Cxx_LinkageList[] =
6845   "iso/stdlib_iso.h\0";
6847  *  Machine/OS name selection pattern
6848  */
6849 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
6850         "*-*-solaris2*",
6851         (const char*)NULL };
6854  *  content selection pattern - do fix if pattern found
6855  */
6856 tSCC zSolaris_Cxx_LinkageSelect0[] =
6857        "(#if __cplusplus >= 199711L)\n\
6858 (extern \"C\\+\\+\" \\{\n\
6859 )(.*(bsearch|qsort).*)";
6861 #define    SOLARIS_CXX_LINKAGE_TEST_CT  1
6862 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
6863   { TT_EGREP,    zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
6866  *  Fix Command Arguments for Solaris_Cxx_Linkage
6867  */
6868 static const char* apzSolaris_Cxx_LinkagePatch[] = {
6869     "format",
6870     "%1 && !__GNUG__\n\
6871 %2%3",
6872     (char*)NULL };
6874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6876  *  Description of Solaris_Getc_Strict_Stdc fix
6877  */
6878 tSCC zSolaris_Getc_Strict_StdcName[] =
6879      "solaris_getc_strict_stdc";
6882  *  File name selection pattern
6883  */
6884 tSCC zSolaris_Getc_Strict_StdcList[] =
6885   "iso/stdio_iso.h\0";
6887  *  Machine/OS name selection pattern
6888  */
6889 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
6890         "*-*-solaris2*",
6891         (const char*)NULL };
6894  *  content selection pattern - do fix if pattern found
6895  */
6896 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
6897        "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
6899 #define    SOLARIS_GETC_STRICT_STDC_TEST_CT  1
6900 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
6901   { TT_EGREP,    zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
6904  *  Fix Command Arguments for Solaris_Getc_Strict_Stdc
6905  */
6906 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
6907     "format",
6908     "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
6909     (char*)NULL };
6911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6913  *  Description of Solaris_Int_Const fix
6914  */
6915 tSCC zSolaris_Int_ConstName[] =
6916      "solaris_int_const";
6919  *  File name selection pattern
6920  */
6921 tSCC zSolaris_Int_ConstList[] =
6922   "sys/int_const.h\0";
6924  *  Machine/OS name selection pattern
6925  */
6926 tSCC* apzSolaris_Int_ConstMachs[] = {
6927         "*-*-solaris2*",
6928         (const char*)NULL };
6931  *  content selection pattern - do fix if pattern found
6932  */
6933 tSCC zSolaris_Int_ConstSelect0[] =
6934        "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
6935 (/*.**/)\n\
6936 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
6938 #define    SOLARIS_INT_CONST_TEST_CT  1
6939 static tTestDesc aSolaris_Int_ConstTests[] = {
6940   { TT_EGREP,    zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
6943  *  Fix Command Arguments for Solaris_Int_Const
6944  */
6945 static const char* apzSolaris_Int_ConstPatch[] = {
6946     "format",
6947     "#define\tUINT8_C(c)\t(c)\n\
6948 %1\n\
6949 #define\tUINT16_C(c)\t(c)",
6950     (char*)NULL };
6952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6954  *  Description of Solaris_Int_Limits_1 fix
6955  */
6956 tSCC zSolaris_Int_Limits_1Name[] =
6957      "solaris_int_limits_1";
6960  *  File name selection pattern
6961  */
6962 tSCC zSolaris_Int_Limits_1List[] =
6963   "sys/int_limits.h\0";
6965  *  Machine/OS name selection pattern
6966  */
6967 tSCC* apzSolaris_Int_Limits_1Machs[] = {
6968         "*-*-solaris2*",
6969         (const char*)NULL };
6972  *  content selection pattern - do fix if pattern found
6973  */
6974 tSCC zSolaris_Int_Limits_1Select0[] =
6975        "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
6976 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
6978 #define    SOLARIS_INT_LIMITS_1_TEST_CT  1
6979 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
6980   { TT_EGREP,    zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
6983  *  Fix Command Arguments for Solaris_Int_Limits_1
6984  */
6985 static const char* apzSolaris_Int_Limits_1Patch[] = {
6986     "format",
6987     "#define\tUINT8_MAX\t(255)\n\
6988 #define\tUINT16_MAX\t(65535)",
6989     (char*)NULL };
6991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6993  *  Description of Solaris_Int_Limits_2 fix
6994  */
6995 tSCC zSolaris_Int_Limits_2Name[] =
6996      "solaris_int_limits_2";
6999  *  File name selection pattern
7000  */
7001 tSCC zSolaris_Int_Limits_2List[] =
7002   "sys/int_limits.h\0";
7004  *  Machine/OS name selection pattern
7005  */
7006 tSCC* apzSolaris_Int_Limits_2Machs[] = {
7007         "*-*-solaris2*",
7008         (const char*)NULL };
7011  *  content selection pattern - do fix if pattern found
7012  */
7013 tSCC zSolaris_Int_Limits_2Select0[] =
7014        "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
7016 #define    SOLARIS_INT_LIMITS_2_TEST_CT  1
7017 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
7018   { TT_EGREP,    zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
7021  *  Fix Command Arguments for Solaris_Int_Limits_2
7022  */
7023 static const char* apzSolaris_Int_Limits_2Patch[] = {
7024     "format",
7025     "#define\t%1_FAST16_%2 %132_%2",
7026     (char*)NULL };
7028 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7030  *  Description of Solaris_Int_Limits_3 fix
7031  */
7032 tSCC zSolaris_Int_Limits_3Name[] =
7033      "solaris_int_limits_3";
7036  *  File name selection pattern
7037  */
7038 tSCC zSolaris_Int_Limits_3List[] =
7039   "sys/int_limits.h\0";
7041  *  Machine/OS name selection pattern
7042  */
7043 tSCC* apzSolaris_Int_Limits_3Machs[] = {
7044         "*-*-solaris2*",
7045         (const char*)NULL };
7048  *  content selection pattern - do fix if pattern found
7049  */
7050 tSCC zSolaris_Int_Limits_3Select0[] =
7051        "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7053 #define    SOLARIS_INT_LIMITS_3_TEST_CT  1
7054 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7055   { TT_EGREP,    zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
7058  *  Fix Command Arguments for Solaris_Int_Limits_3
7059  */
7060 static const char* apzSolaris_Int_Limits_3Patch[] = {
7061     "format",
7062     "#define\tSIZE_MAX\t4294967295U",
7063     (char*)NULL };
7065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7067  *  Description of Solaris_Math_1 fix
7068  */
7069 tSCC zSolaris_Math_1Name[] =
7070      "solaris_math_1";
7073  *  File name selection pattern
7074  */
7075 tSCC zSolaris_Math_1List[] =
7076   "iso/math_c99.h\0";
7078  *  Machine/OS name selection pattern
7079  */
7080 #define apzSolaris_Math_1Machs (const char**)NULL
7083  *  content selection pattern - do fix if pattern found
7084  */
7085 tSCC zSolaris_Math_1Select0[] =
7086        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7089  *  content bypass pattern - skip fix if pattern found
7090  */
7091 tSCC zSolaris_Math_1Bypass0[] =
7092        "__GNUC__";
7094 #define    SOLARIS_MATH_1_TEST_CT  2
7095 static tTestDesc aSolaris_Math_1Tests[] = {
7096   { TT_NEGREP,   zSolaris_Math_1Bypass0, (regex_t*)NULL },
7097   { TT_EGREP,    zSolaris_Math_1Select0, (regex_t*)NULL }, };
7100  *  Fix Command Arguments for Solaris_Math_1
7101  */
7102 static const char* apzSolaris_Math_1Patch[] = {
7103     "format",
7104     "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
7105     "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
7106     (char*)NULL };
7108 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7110  *  Description of Solaris_Math_10 fix
7111  */
7112 tSCC zSolaris_Math_10Name[] =
7113      "solaris_math_10";
7116  *  File name selection pattern
7117  */
7118 tSCC zSolaris_Math_10List[] =
7119   "iso/math_c99.h\0";
7121  *  Machine/OS name selection pattern
7122  */
7123 #define apzSolaris_Math_10Machs (const char**)NULL
7126  *  content selection pattern - do fix if pattern found
7127  */
7128 tSCC zSolaris_Math_10Select0[] =
7129        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7131 #define    SOLARIS_MATH_10_TEST_CT  1
7132 static tTestDesc aSolaris_Math_10Tests[] = {
7133   { TT_EGREP,    zSolaris_Math_10Select0, (regex_t*)NULL }, };
7136  *  Fix Command Arguments for Solaris_Math_10
7137  */
7138 static const char* apzSolaris_Math_10Patch[] = {
7139     "format",
7140     "#define\tisinf(x) __builtin_isinf(x)",
7141     "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
7142 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7143 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
7144 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
7145     (char*)NULL };
7147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7149  *  Description of Solaris_Math_2 fix
7150  */
7151 tSCC zSolaris_Math_2Name[] =
7152      "solaris_math_2";
7155  *  File name selection pattern
7156  */
7157 tSCC zSolaris_Math_2List[] =
7158   "iso/math_c99.h\0";
7160  *  Machine/OS name selection pattern
7161  */
7162 #define apzSolaris_Math_2Machs (const char**)NULL
7165  *  content selection pattern - do fix if pattern found
7166  */
7167 tSCC zSolaris_Math_2Select0[] =
7168        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7171  *  content bypass pattern - skip fix if pattern found
7172  */
7173 tSCC zSolaris_Math_2Bypass0[] =
7174        "__GNUC__";
7176 #define    SOLARIS_MATH_2_TEST_CT  2
7177 static tTestDesc aSolaris_Math_2Tests[] = {
7178   { TT_NEGREP,   zSolaris_Math_2Bypass0, (regex_t*)NULL },
7179   { TT_EGREP,    zSolaris_Math_2Select0, (regex_t*)NULL }, };
7182  *  Fix Command Arguments for Solaris_Math_2
7183  */
7184 static const char* apzSolaris_Math_2Patch[] = {
7185     "format",
7186     "#define\tINFINITY\t(__builtin_inff())",
7187     "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
7188     (char*)NULL };
7190 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7192  *  Description of Solaris_Math_3 fix
7193  */
7194 tSCC zSolaris_Math_3Name[] =
7195      "solaris_math_3";
7198  *  File name selection pattern
7199  */
7200 tSCC zSolaris_Math_3List[] =
7201   "iso/math_c99.h\0";
7203  *  Machine/OS name selection pattern
7204  */
7205 #define apzSolaris_Math_3Machs (const char**)NULL
7208  *  content selection pattern - do fix if pattern found
7209  */
7210 tSCC zSolaris_Math_3Select0[] =
7211        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7214  *  content bypass pattern - skip fix if pattern found
7215  */
7216 tSCC zSolaris_Math_3Bypass0[] =
7217        "__GNUC__";
7219 #define    SOLARIS_MATH_3_TEST_CT  2
7220 static tTestDesc aSolaris_Math_3Tests[] = {
7221   { TT_NEGREP,   zSolaris_Math_3Bypass0, (regex_t*)NULL },
7222   { TT_EGREP,    zSolaris_Math_3Select0, (regex_t*)NULL }, };
7225  *  Fix Command Arguments for Solaris_Math_3
7226  */
7227 static const char* apzSolaris_Math_3Patch[] = {
7228     "format",
7229     "#define\tNAN\t\t(__builtin_nanf(\"\"))",
7230     "^#define[ \t]+NAN[ \t]+__builtin_nan",
7231     (char*)NULL };
7233 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7235  *  Description of Solaris_Math_4 fix
7236  */
7237 tSCC zSolaris_Math_4Name[] =
7238      "solaris_math_4";
7241  *  File name selection pattern
7242  */
7243 tSCC zSolaris_Math_4List[] =
7244   "iso/math_c99.h\0";
7246  *  Machine/OS name selection pattern
7247  */
7248 #define apzSolaris_Math_4Machs (const char**)NULL
7251  *  content selection pattern - do fix if pattern found
7252  */
7253 tSCC zSolaris_Math_4Select0[] =
7254        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7257  *  content bypass pattern - skip fix if pattern found
7258  */
7259 tSCC zSolaris_Math_4Bypass0[] =
7260        "__GNUC__";
7262 #define    SOLARIS_MATH_4_TEST_CT  2
7263 static tTestDesc aSolaris_Math_4Tests[] = {
7264   { TT_NEGREP,   zSolaris_Math_4Bypass0, (regex_t*)NULL },
7265   { TT_EGREP,    zSolaris_Math_4Select0, (regex_t*)NULL }, };
7268  *  Fix Command Arguments for Solaris_Math_4
7269  */
7270 static const char* apzSolaris_Math_4Patch[] = {
7271     "format",
7272     "#define\tfpclassify(x) \\\n\
7273   __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
7274     "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
7275     (char*)NULL };
7277 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7279  *  Description of Solaris_Math_8 fix
7280  */
7281 tSCC zSolaris_Math_8Name[] =
7282      "solaris_math_8";
7285  *  File name selection pattern
7286  */
7287 tSCC zSolaris_Math_8List[] =
7288   "iso/math_c99.h\0";
7290  *  Machine/OS name selection pattern
7291  */
7292 #define apzSolaris_Math_8Machs (const char**)NULL
7295  *  content selection pattern - do fix if pattern found
7296  */
7297 tSCC zSolaris_Math_8Select0[] =
7298        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
7301  *  content bypass pattern - skip fix if pattern found
7302  */
7303 tSCC zSolaris_Math_8Bypass0[] =
7304        "__GNUC__";
7306 #define    SOLARIS_MATH_8_TEST_CT  2
7307 static tTestDesc aSolaris_Math_8Tests[] = {
7308   { TT_NEGREP,   zSolaris_Math_8Bypass0, (regex_t*)NULL },
7309   { TT_EGREP,    zSolaris_Math_8Select0, (regex_t*)NULL }, };
7312  *  Fix Command Arguments for Solaris_Math_8
7313  */
7314 static const char* apzSolaris_Math_8Patch[] = {
7315     "format",
7316     "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7317 \t\t\t   ? __builtin_signbitf(x) \\\n\
7318 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
7319 \t\t\t     ? __builtin_signbitl(x) \\\n\
7320 \t\t\t     : __builtin_signbit(x))",
7321     "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
7322     (char*)NULL };
7324 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7326  *  Description of Solaris_Math_9 fix
7327  */
7328 tSCC zSolaris_Math_9Name[] =
7329      "solaris_math_9";
7332  *  File name selection pattern
7333  */
7334 tSCC zSolaris_Math_9List[] =
7335   "iso/math_c99.h\0";
7337  *  Machine/OS name selection pattern
7338  */
7339 #define apzSolaris_Math_9Machs (const char**)NULL
7342  *  content selection pattern - do fix if pattern found
7343  */
7344 tSCC zSolaris_Math_9Select0[] =
7345        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7348  *  content bypass pattern - skip fix if pattern found
7349  */
7350 tSCC zSolaris_Math_9Bypass0[] =
7351        "__GNUC__";
7353 #define    SOLARIS_MATH_9_TEST_CT  2
7354 static tTestDesc aSolaris_Math_9Tests[] = {
7355   { TT_NEGREP,   zSolaris_Math_9Bypass0, (regex_t*)NULL },
7356   { TT_EGREP,    zSolaris_Math_9Select0, (regex_t*)NULL }, };
7359  *  Fix Command Arguments for Solaris_Math_9
7360  */
7361 static const char* apzSolaris_Math_9Patch[] = {
7362     "format",
7363     "#define\t%1(x, y)%2__builtin_%1(x, y)",
7364     "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
7365     (char*)NULL };
7367 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7369  *  Description of Solaris_Math_11 fix
7370  */
7371 tSCC zSolaris_Math_11Name[] =
7372      "solaris_math_11";
7375  *  File name selection pattern
7376  */
7377 tSCC zSolaris_Math_11List[] =
7378   "iso/math_c99.h\0";
7380  *  Machine/OS name selection pattern
7381  */
7382 #define apzSolaris_Math_11Machs (const char**)NULL
7385  *  content selection pattern - do fix if pattern found
7386  */
7387 tSCC zSolaris_Math_11Select0[] =
7388        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
7390 #define    SOLARIS_MATH_11_TEST_CT  1
7391 static tTestDesc aSolaris_Math_11Tests[] = {
7392   { TT_EGREP,    zSolaris_Math_11Select0, (regex_t*)NULL }, };
7395  *  Fix Command Arguments for Solaris_Math_11
7396  */
7397 static const char* apzSolaris_Math_11Patch[] = {
7398     "format",
7399     "#undef\tsignbit\n\
7400 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
7401 \t\t\t   ? __builtin_signbitf(x) \\\n\
7402 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
7403 \t\t\t     ? __builtin_signbitl(x) \\\n\
7404 \t\t\t     : __builtin_signbit(x))",
7405     "^#undef[ \t]+signbit\n\
7406 #if defined\\(__sparc\\)\n\
7407 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7408 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
7409 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
7410 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
7411 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
7412 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
7413 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
7414 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
7415 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
7416 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
7417 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
7418 #endif",
7419     (char*)NULL };
7421 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7423  *  Description of Solaris_Once_Init_1 fix
7424  */
7425 tSCC zSolaris_Once_Init_1Name[] =
7426      "solaris_once_init_1";
7429  *  File name selection pattern
7430  */
7431 tSCC zSolaris_Once_Init_1List[] =
7432   "pthread.h\0";
7434  *  Machine/OS name selection pattern
7435  */
7436 tSCC* apzSolaris_Once_Init_1Machs[] = {
7437         "*-*-solaris*",
7438         (const char*)NULL };
7441  *  content selection pattern - do fix if pattern found
7442  */
7443 tSCC zSolaris_Once_Init_1Select0[] =
7444        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7446 #define    SOLARIS_ONCE_INIT_1_TEST_CT  1
7447 static tTestDesc aSolaris_Once_Init_1Tests[] = {
7448   { TT_EGREP,    zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
7451  *  Fix Command Arguments for Solaris_Once_Init_1
7452  */
7453 static const char* apzSolaris_Once_Init_1Patch[] = {
7454     "format",
7455     "%1{%2}%3",
7456     "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
7457     (char*)NULL };
7459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7461  *  Description of Solaris_Posix_Spawn_Restrict fix
7462  */
7463 tSCC zSolaris_Posix_Spawn_RestrictName[] =
7464      "solaris_posix_spawn_restrict";
7467  *  File name selection pattern
7468  */
7469 tSCC zSolaris_Posix_Spawn_RestrictList[] =
7470   "spawn.h\0";
7472  *  Machine/OS name selection pattern
7473  */
7474 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
7475         "*-*-solaris2*",
7476         (const char*)NULL };
7479  *  content selection pattern - do fix if pattern found
7480  */
7481 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
7482        "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
7484 #define    SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT  1
7485 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
7486   { TT_EGREP,    zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
7489  *  Fix Command Arguments for Solaris_Posix_Spawn_Restrict
7490  */
7491 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
7492     "format",
7493     "%1*_RESTRICT_KYWD %2%3",
7494     (char*)NULL };
7496 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7498  *  Description of Solaris_Pow_Int_Overload fix
7499  */
7500 tSCC zSolaris_Pow_Int_OverloadName[] =
7501      "solaris_pow_int_overload";
7504  *  File name selection pattern
7505  */
7506 tSCC zSolaris_Pow_Int_OverloadList[] =
7507   "iso/math_iso.h\0";
7509  *  Machine/OS name selection pattern
7510  */
7511 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7512         "*-*-solaris2*",
7513         (const char*)NULL };
7516  *  content selection pattern - do fix if pattern found
7517  */
7518 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7519        "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7520 [^{}]*\\}";
7522 #define    SOLARIS_POW_INT_OVERLOAD_TEST_CT  1
7523 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7524   { TT_EGREP,    zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
7527  *  Fix Command Arguments for Solaris_Pow_Int_Overload
7528  */
7529 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7530     "format",
7531     "#if __cplusplus < 201103L\n\
7532 %0\n\
7533 #endif",
7534     (char*)NULL };
7536 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7538  *  Description of Solaris_Rwlock_Init_1 fix
7539  */
7540 tSCC zSolaris_Rwlock_Init_1Name[] =
7541      "solaris_rwlock_init_1";
7544  *  File name selection pattern
7545  */
7546 tSCC zSolaris_Rwlock_Init_1List[] =
7547   "pthread.h\0";
7549  *  Machine/OS name selection pattern
7550  */
7551 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
7552         "*-*-solaris*",
7553         (const char*)NULL };
7556  *  content selection pattern - do fix if pattern found
7557  */
7558 tSCC zSolaris_Rwlock_Init_1Select0[] =
7559        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
7561 #define    SOLARIS_RWLOCK_INIT_1_TEST_CT  1
7562 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
7563   { TT_EGREP,    zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
7566  *  Fix Command Arguments for Solaris_Rwlock_Init_1
7567  */
7568 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
7569     "format",
7570     "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
7571 %0\n\
7572 #else\n\
7573 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
7574 #endif",
7575     "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
7576     (char*)NULL };
7578 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7580  *  Description of Solaris_Std___Filbuf fix
7581  */
7582 tSCC zSolaris_Std___FilbufName[] =
7583      "solaris_std___filbuf";
7586  *  File name selection pattern
7587  */
7588 tSCC zSolaris_Std___FilbufList[] =
7589   "stdio.h\0";
7591  *  Machine/OS name selection pattern
7592  */
7593 tSCC* apzSolaris_Std___FilbufMachs[] = {
7594         "*-*-solaris2*",
7595         (const char*)NULL };
7598  *  content selection pattern - do fix if pattern found
7599  */
7600 tSCC zSolaris_Std___FilbufSelect0[] =
7601        "(using std::perror;\n\
7602 )(#endif)";
7605  *  content bypass pattern - skip fix if pattern found
7606  */
7607 tSCC zSolaris_Std___FilbufBypass0[] =
7608        "using std::__filbuf";
7610 #define    SOLARIS_STD___FILBUF_TEST_CT  2
7611 static tTestDesc aSolaris_Std___FilbufTests[] = {
7612   { TT_NEGREP,   zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
7613   { TT_EGREP,    zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
7616  *  Fix Command Arguments for Solaris_Std___Filbuf
7617  */
7618 static const char* apzSolaris_Std___FilbufPatch[] = {
7619     "format",
7620     "%1#ifndef _LP64\n\
7621 using std::__filbuf;\n\
7622 using std::__flsbuf;\n\
7623 #endif\n\
7624 %2",
7625     (char*)NULL };
7627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7629  *  Description of Solaris_Stdio_Tag fix
7630  */
7631 tSCC zSolaris_Stdio_TagName[] =
7632      "solaris_stdio_tag";
7635  *  File name selection pattern
7636  */
7637 tSCC zSolaris_Stdio_TagList[] =
7638   "stdio_tag.h\0";
7640  *  Machine/OS name selection pattern
7641  */
7642 #define apzSolaris_Stdio_TagMachs (const char**)NULL
7645  *  content selection pattern - do fix if pattern found
7646  */
7647 tSCC zSolaris_Stdio_TagSelect0[] =
7648        "__cplusplus < 54321L";
7651  *  content bypass pattern - skip fix if pattern found
7652  */
7653 tSCC zSolaris_Stdio_TagBypass0[] =
7654        "__GNUC__";
7656 #define    SOLARIS_STDIO_TAG_TEST_CT  2
7657 static tTestDesc aSolaris_Stdio_TagTests[] = {
7658   { TT_NEGREP,   zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
7659   { TT_EGREP,    zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
7662  *  Fix Command Arguments for Solaris_Stdio_Tag
7663  */
7664 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
7665     "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
7666     (char*)NULL };
7668 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7670  *  Description of Statsswtch fix
7671  */
7672 tSCC zStatsswtchName[] =
7673      "statsswtch";
7676  *  File name selection pattern
7677  */
7678 tSCC zStatsswtchList[] =
7679   "rpcsvc/rstat.h\0";
7681  *  Machine/OS name selection pattern
7682  */
7683 #define apzStatsswtchMachs (const char**)NULL
7686  *  content selection pattern - do fix if pattern found
7687  */
7688 tSCC zStatsswtchSelect0[] =
7689        "boottime$";
7691 #define    STATSSWTCH_TEST_CT  1
7692 static tTestDesc aStatsswtchTests[] = {
7693   { TT_EGREP,    zStatsswtchSelect0, (regex_t*)NULL }, };
7696  *  Fix Command Arguments for Statsswtch
7697  */
7698 static const char* apzStatsswtchPatch[] = {
7699     "format",
7700     "boottime;",
7701     (char*)NULL };
7703 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7705  *  Description of Stdio_Stdarg_H fix
7706  */
7707 tSCC zStdio_Stdarg_HName[] =
7708      "stdio_stdarg_h";
7711  *  File name selection pattern
7712  */
7713 tSCC zStdio_Stdarg_HList[] =
7714   "stdio.h\0";
7716  *  Machine/OS name selection pattern
7717  */
7718 tSCC* apzStdio_Stdarg_HMachs[] = {
7719         "*-*-solaris2.1[0-9]*",
7720         (const char*)NULL };
7723  *  content bypass pattern - skip fix if pattern found
7724  */
7725 tSCC zStdio_Stdarg_HBypass0[] =
7726        "include.*(stdarg.h|machine/ansi.h)";
7728 #define    STDIO_STDARG_H_TEST_CT  1
7729 static tTestDesc aStdio_Stdarg_HTests[] = {
7730   { TT_NEGREP,   zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
7733  *  Fix Command Arguments for Stdio_Stdarg_H
7734  */
7735 static const char* apzStdio_Stdarg_HPatch[] = {
7736     "wrap",
7737     "#define __need___va_list\n\
7738 #include <stdarg.h>\n",
7739     (char*)NULL };
7741 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7743  *  Description of Stdio_Va_List fix
7744  */
7745 tSCC zStdio_Va_ListName[] =
7746      "stdio_va_list";
7749  *  File name selection pattern
7750  */
7751 tSCC zStdio_Va_ListList[] =
7752   "stdio.h\0";
7754  *  Machine/OS name selection pattern
7755  */
7756 tSCC* apzStdio_Va_ListMachs[] = {
7757         "*-*-solaris2.1[0-9]*",
7758         (const char*)NULL };
7761  *  content bypass pattern - skip fix if pattern found
7762  */
7763 tSCC zStdio_Va_ListBypass0[] =
7764        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7766 #define    STDIO_VA_LIST_TEST_CT  1
7767 static tTestDesc aStdio_Va_ListTests[] = {
7768   { TT_NEGREP,   zStdio_Va_ListBypass0, (regex_t*)NULL }, };
7771  *  Fix Command Arguments for Stdio_Va_List
7772  */
7773 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
7774     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7775 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7776 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7777 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7778 s@ va_list@ __not_va_list__@\n\
7779 s@\\*va_list@*__not_va_list__@\n\
7780 s@ __va_list)@ __gnuc_va_list)@\n\
7781 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7782 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7783 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7784 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7785 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7786 s@VA_LIST@DUMMY_VA_LIST@\n\
7787 s@_Va_LIST@_VA_LIST@",
7788     (char*)NULL };
7790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7792  *  Description of Stdio_Va_List_Clients fix
7793  */
7794 tSCC zStdio_Va_List_ClientsName[] =
7795      "stdio_va_list_clients";
7798  *  File name selection pattern
7799  */
7800 tSCC zStdio_Va_List_ClientsList[] =
7801   "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
7803  *  Machine/OS name selection pattern
7804  */
7805 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
7808  *  content bypass pattern - skip fix if pattern found
7809  */
7810 tSCC zStdio_Va_List_ClientsBypass0[] =
7811        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
7812 tSCC zStdio_Va_List_ClientsBypass1[] =
7813        "include <stdarg\\.h>|#ifdef va_start";
7815 #define    STDIO_VA_LIST_CLIENTS_TEST_CT  2
7816 static tTestDesc aStdio_Va_List_ClientsTests[] = {
7817   { TT_NEGREP,   zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
7818   { TT_NEGREP,   zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
7821  *  Fix Command Arguments for Stdio_Va_List_Clients
7822  */
7823 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
7824     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
7825 s@(va_list)&@(__gnuc_va_list)\\&@\n\
7826 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
7827 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
7828 s@ va_list@ __not_va_list__@\n\
7829 s@\\*va_list@*__not_va_list__@\n\
7830 s@ __va_list)@ __gnuc_va_list)@\n\
7831 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
7832 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
7833 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
7834 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
7835 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
7836 s@VA_LIST@DUMMY_VA_LIST@\n\
7837 s@_Va_LIST@_VA_LIST@",
7838     (char*)NULL };
7840 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7842  *  Description of Strict_Ansi_Not fix
7843  */
7844 tSCC zStrict_Ansi_NotName[] =
7845      "strict_ansi_not";
7848  *  File name selection pattern
7849  */
7850 #define zStrict_Ansi_NotList (char*)NULL
7852  *  Machine/OS name selection pattern
7853  */
7854 #define apzStrict_Ansi_NotMachs (const char**)NULL
7857  *  content selection pattern - do fix if pattern found
7858  */
7859 tSCC zStrict_Ansi_NotSelect0[] =
7860        "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
7863  *  content bypass pattern - skip fix if pattern found
7864  */
7865 tSCC zStrict_Ansi_NotBypass0[] =
7866        "GNU and MIPS C compilers define __STDC__ differently";
7867 tSCC zStrict_Ansi_NotBypass1[] =
7868        "__SCO_VERSION__.*__STDC__ != 1";
7871  *  perform the C function call test
7872  */
7873 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
7875 #define    STRICT_ANSI_NOT_TEST_CT  4
7876 static tTestDesc aStrict_Ansi_NotTests[] = {
7877   { TT_FUNCTION, zStrict_Ansi_NotFTst0,   0 /* unused */ },
7878   { TT_NEGREP,   zStrict_Ansi_NotBypass0, (regex_t*)NULL },
7879   { TT_NEGREP,   zStrict_Ansi_NotBypass1, (regex_t*)NULL },
7880   { TT_EGREP,    zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
7883  *  Fix Command Arguments for Strict_Ansi_Not
7884  */
7885 static const char* apzStrict_Ansi_NotPatch[] = {
7886     "format",
7887     "%1 !defined(__STRICT_ANSI__)",
7888     (char*)NULL };
7890 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7892  *  Description of Strict_Ansi_Not_Ctd fix
7893  */
7894 tSCC zStrict_Ansi_Not_CtdName[] =
7895      "strict_ansi_not_ctd";
7898  *  File name selection pattern
7899  */
7900 tSCC zStrict_Ansi_Not_CtdList[] =
7901   "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
7903  *  Machine/OS name selection pattern
7904  */
7905 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
7908  *  content selection pattern - do fix if pattern found
7909  */
7910 tSCC zStrict_Ansi_Not_CtdSelect0[] =
7911        "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
7914  *  perform the C function call test
7915  */
7916 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
7918 #define    STRICT_ANSI_NOT_CTD_TEST_CT  2
7919 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
7920   { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0,   0 /* unused */ },
7921   { TT_EGREP,    zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
7924  *  Fix Command Arguments for Strict_Ansi_Not_Ctd
7925  */
7926 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
7927     "format",
7928     "%1 !defined(__STRICT_ANSI__)",
7929     (char*)NULL };
7931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7933  *  Description of Strict_Ansi_Only fix
7934  */
7935 tSCC zStrict_Ansi_OnlyName[] =
7936      "strict_ansi_only";
7939  *  File name selection pattern
7940  */
7941 #define zStrict_Ansi_OnlyList (char*)NULL
7943  *  Machine/OS name selection pattern
7944  */
7945 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
7948  *  content selection pattern - do fix if pattern found
7949  */
7950 tSCC zStrict_Ansi_OnlySelect0[] =
7951        "^([ \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)";
7954  *  perform the C function call test
7955  */
7956 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
7958 #define    STRICT_ANSI_ONLY_TEST_CT  2
7959 static tTestDesc aStrict_Ansi_OnlyTests[] = {
7960   { TT_FUNCTION, zStrict_Ansi_OnlyFTst0,   0 /* unused */ },
7961   { TT_EGREP,    zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
7964  *  Fix Command Arguments for Strict_Ansi_Only
7965  */
7966 static const char* apzStrict_Ansi_OnlyPatch[] = {
7967     "format",
7968     "%1 defined(__STRICT_ANSI__)",
7969     (char*)NULL };
7971 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7973  *  Description of Struct_File fix
7974  */
7975 tSCC zStruct_FileName[] =
7976      "struct_file";
7979  *  File name selection pattern
7980  */
7981 tSCC zStruct_FileList[] =
7982   "rpc/xdr.h\0";
7984  *  Machine/OS name selection pattern
7985  */
7986 #define apzStruct_FileMachs (const char**)NULL
7989  *  content selection pattern - do fix if pattern found
7990  */
7991 tSCC zStruct_FileSelect0[] =
7992        "^.*xdrstdio_create.*struct __file_s";
7994 #define    STRUCT_FILE_TEST_CT  1
7995 static tTestDesc aStruct_FileTests[] = {
7996   { TT_EGREP,    zStruct_FileSelect0, (regex_t*)NULL }, };
7999  *  Fix Command Arguments for Struct_File
8000  */
8001 static const char* apzStruct_FilePatch[] = {
8002     "format",
8003     "struct __file_s;\n\
8004 %0",
8005     (char*)NULL };
8007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8009  *  Description of Struct_Sockaddr fix
8010  */
8011 tSCC zStruct_SockaddrName[] =
8012      "struct_sockaddr";
8015  *  File name selection pattern
8016  */
8017 tSCC zStruct_SockaddrList[] =
8018   "rpc/auth.h\0";
8020  *  Machine/OS name selection pattern
8021  */
8022 #define apzStruct_SockaddrMachs (const char**)NULL
8025  *  content selection pattern - do fix if pattern found
8026  */
8027 tSCC zStruct_SockaddrSelect0[] =
8028        "^.*authdes_create.*struct sockaddr[^_]";
8031  *  content bypass pattern - skip fix if pattern found
8032  */
8033 tSCC zStruct_SockaddrBypass0[] =
8034        "<sys/socket.h>";
8035 tSCC zStruct_SockaddrBypass1[] =
8036        "struct sockaddr;\n";
8038 #define    STRUCT_SOCKADDR_TEST_CT  3
8039 static tTestDesc aStruct_SockaddrTests[] = {
8040   { TT_NEGREP,   zStruct_SockaddrBypass0, (regex_t*)NULL },
8041   { TT_NEGREP,   zStruct_SockaddrBypass1, (regex_t*)NULL },
8042   { TT_EGREP,    zStruct_SockaddrSelect0, (regex_t*)NULL }, };
8045  *  Fix Command Arguments for Struct_Sockaddr
8046  */
8047 static const char* apzStruct_SockaddrPatch[] = {
8048     "format",
8049     "struct sockaddr;\n\
8050 %0",
8051     (char*)NULL };
8053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8055  *  Description of Sun_Auth_Proto fix
8056  */
8057 tSCC zSun_Auth_ProtoName[] =
8058      "sun_auth_proto";
8061  *  File name selection pattern
8062  */
8063 tSCC zSun_Auth_ProtoList[] =
8064   "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8066  *  Machine/OS name selection pattern
8067  */
8068 #define apzSun_Auth_ProtoMachs (const char**)NULL
8071  *  content selection pattern - do fix if pattern found
8072  */
8073 tSCC zSun_Auth_ProtoSelect0[] =
8074        "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8077  *  content bypass pattern - skip fix if pattern found
8078  */
8079 tSCC zSun_Auth_ProtoBypass0[] =
8080        "__cplusplus";
8082 #define    SUN_AUTH_PROTO_TEST_CT  2
8083 static tTestDesc aSun_Auth_ProtoTests[] = {
8084   { TT_NEGREP,   zSun_Auth_ProtoBypass0, (regex_t*)NULL },
8085   { TT_EGREP,    zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
8088  *  Fix Command Arguments for Sun_Auth_Proto
8089  */
8090 static const char* apzSun_Auth_ProtoPatch[] = {
8091     "format",
8092     "#ifdef __cplusplus\n\
8093 %1(...);%2\n\
8094 #else\n\
8095 %1();%2\n\
8096 #endif",
8097     "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8098     (char*)NULL };
8100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8102  *  Description of Sun_Bogus_Ifdef fix
8103  */
8104 tSCC zSun_Bogus_IfdefName[] =
8105      "sun_bogus_ifdef";
8108  *  File name selection pattern
8109  */
8110 tSCC zSun_Bogus_IfdefList[] =
8111   "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8113  *  Machine/OS name selection pattern
8114  */
8115 #define apzSun_Bogus_IfdefMachs (const char**)NULL
8118  *  content selection pattern - do fix if pattern found
8119  */
8120 tSCC zSun_Bogus_IfdefSelect0[] =
8121        "#ifdef(.*\\|\\|.*)";
8123 #define    SUN_BOGUS_IFDEF_TEST_CT  1
8124 static tTestDesc aSun_Bogus_IfdefTests[] = {
8125   { TT_EGREP,    zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
8128  *  Fix Command Arguments for Sun_Bogus_Ifdef
8129  */
8130 static const char* apzSun_Bogus_IfdefPatch[] = {
8131     "format",
8132     "#if%1",
8133     (char*)NULL };
8135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8137  *  Description of Sun_Catmacro fix
8138  */
8139 tSCC zSun_CatmacroName[] =
8140      "sun_catmacro";
8143  *  File name selection pattern
8144  */
8145 tSCC zSun_CatmacroList[] =
8146   "pixrect/memvar.h\0";
8148  *  Machine/OS name selection pattern
8149  */
8150 #define apzSun_CatmacroMachs (const char**)NULL
8153  *  content selection pattern - do fix if pattern found
8154  */
8155 tSCC zSun_CatmacroSelect0[] =
8156        "^#define[ \t]+CAT\\(a,b\\).*";
8158 #define    SUN_CATMACRO_TEST_CT  1
8159 static tTestDesc aSun_CatmacroTests[] = {
8160   { TT_EGREP,    zSun_CatmacroSelect0, (regex_t*)NULL }, };
8163  *  Fix Command Arguments for Sun_Catmacro
8164  */
8165 static const char* apzSun_CatmacroPatch[] = {
8166     "format",
8167     "#ifdef __STDC__\n\
8168 #  define CAT(a,b) a##b\n\
8169 #else\n\
8170 %0\n\
8171 #endif",
8172     (char*)NULL };
8174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8176  *  Description of Sun_Malloc fix
8177  */
8178 tSCC zSun_MallocName[] =
8179      "sun_malloc";
8182  *  File name selection pattern
8183  */
8184 tSCC zSun_MallocList[] =
8185   "malloc.h\0";
8187  *  Machine/OS name selection pattern
8188  */
8189 #define apzSun_MallocMachs (const char**)NULL
8192  *  content bypass pattern - skip fix if pattern found
8193  */
8194 tSCC zSun_MallocBypass0[] =
8195        "_CLASSIC_ANSI_TYPES";
8197 #define    SUN_MALLOC_TEST_CT  1
8198 static tTestDesc aSun_MallocTests[] = {
8199   { TT_NEGREP,   zSun_MallocBypass0, (regex_t*)NULL }, };
8202  *  Fix Command Arguments for Sun_Malloc
8203  */
8204 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8205     "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8206     "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8207     "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8208     "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8209     "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8210     (char*)NULL };
8212 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8214  *  Description of Sun_Rusers_Semi fix
8215  */
8216 tSCC zSun_Rusers_SemiName[] =
8217      "sun_rusers_semi";
8220  *  File name selection pattern
8221  */
8222 tSCC zSun_Rusers_SemiList[] =
8223   "rpcsvc/rusers.h\0";
8225  *  Machine/OS name selection pattern
8226  */
8227 #define apzSun_Rusers_SemiMachs (const char**)NULL
8230  *  content selection pattern - do fix if pattern found
8231  */
8232 tSCC zSun_Rusers_SemiSelect0[] =
8233        "_cnt$";
8235 #define    SUN_RUSERS_SEMI_TEST_CT  1
8236 static tTestDesc aSun_Rusers_SemiTests[] = {
8237   { TT_EGREP,    zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
8240  *  Fix Command Arguments for Sun_Rusers_Semi
8241  */
8242 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8243     "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8244     (char*)NULL };
8246 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8248  *  Description of Sun_Signal fix
8249  */
8250 tSCC zSun_SignalName[] =
8251      "sun_signal";
8254  *  File name selection pattern
8255  */
8256 tSCC zSun_SignalList[] =
8257   "sys/signal.h\0signal.h\0";
8259  *  Machine/OS name selection pattern
8260  */
8261 #define apzSun_SignalMachs (const char**)NULL
8264  *  content selection pattern - do fix if pattern found
8265  */
8266 tSCC zSun_SignalSelect0[] =
8267        "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8269 #define    SUN_SIGNAL_TEST_CT  1
8270 static tTestDesc aSun_SignalTests[] = {
8271   { TT_EGREP,    zSun_SignalSelect0, (regex_t*)NULL }, };
8274  *  Fix Command Arguments for Sun_Signal
8275  */
8276 static const char* apzSun_SignalPatch[] = {
8277     "format",
8278     "#ifdef __cplusplus\n\
8279 void\t(*signal(...))(...);\n\
8280 #else\n\
8281 %0\n\
8282 #endif",
8283     (char*)NULL };
8285 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8287  *  Description of Sunos_Strlen fix
8288  */
8289 tSCC zSunos_StrlenName[] =
8290      "sunos_strlen";
8293  *  File name selection pattern
8294  */
8295 tSCC zSunos_StrlenList[] =
8296   "strings.h\0";
8298  *  Machine/OS name selection pattern
8299  */
8300 #define apzSunos_StrlenMachs (const char**)NULL
8303  *  content selection pattern - do fix if pattern found
8304  */
8305 tSCC zSunos_StrlenSelect0[] =
8306        "int[ \t]*strlen\\(\\);(.*)";
8308 #define    SUNOS_STRLEN_TEST_CT  1
8309 static tTestDesc aSunos_StrlenTests[] = {
8310   { TT_EGREP,    zSunos_StrlenSelect0, (regex_t*)NULL }, };
8313  *  Fix Command Arguments for Sunos_Strlen
8314  */
8315 static const char* apzSunos_StrlenPatch[] = {
8316     "format",
8317     "__SIZE_TYPE__ strlen();%1",
8318     (char*)NULL };
8320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8322  *  Description of Suse_Linux_Vt_Cxx fix
8323  */
8324 tSCC zSuse_Linux_Vt_CxxName[] =
8325      "suse_linux_vt_cxx";
8328  *  File name selection pattern
8329  */
8330 tSCC zSuse_Linux_Vt_CxxList[] =
8331   "linux/vt.h\0";
8333  *  Machine/OS name selection pattern
8334  */
8335 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8338  *  content selection pattern - do fix if pattern found
8339  */
8340 tSCC zSuse_Linux_Vt_CxxSelect0[] =
8341        "^[ \t]*unsigned int new;";
8343 #define    SUSE_LINUX_VT_CXX_TEST_CT  1
8344 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8345   { TT_EGREP,    zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
8348  *  Fix Command Arguments for Suse_Linux_Vt_Cxx
8349  */
8350 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8351     "format",
8352     "unsigned int newev;",
8353     (char*)NULL };
8355 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8357  *  Description of Svr4_Disable_Opt fix
8358  */
8359 tSCC zSvr4_Disable_OptName[] =
8360      "svr4_disable_opt";
8363  *  File name selection pattern
8364  */
8365 tSCC zSvr4_Disable_OptList[] =
8366   "string.h\0";
8368  *  Machine/OS name selection pattern
8369  */
8370 #define apzSvr4_Disable_OptMachs (const char**)NULL
8373  *  content selection pattern - do fix if pattern found
8374  */
8375 tSCC zSvr4_Disable_OptSelect0[] =
8376        "#define.*__std_hdr_";
8378 #define    SVR4_DISABLE_OPT_TEST_CT  1
8379 static tTestDesc aSvr4_Disable_OptTests[] = {
8380   { TT_EGREP,    zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
8383  *  Fix Command Arguments for Svr4_Disable_Opt
8384  */
8385 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8386     "-e", "/#define.*__std_hdr_/d",
8387     (char*)NULL };
8389 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8391  *  Description of Svr4_Getcwd fix
8392  */
8393 tSCC zSvr4_GetcwdName[] =
8394      "svr4_getcwd";
8397  *  File name selection pattern
8398  */
8399 tSCC zSvr4_GetcwdList[] =
8400   "stdlib.h\0unistd.h\0prototypes.h\0";
8402  *  Machine/OS name selection pattern
8403  */
8404 #define apzSvr4_GetcwdMachs (const char**)NULL
8407  *  content selection pattern - do fix if pattern found
8408  */
8409 tSCC zSvr4_GetcwdSelect0[] =
8410        "getcwd\\(char \\*, int\\)";
8412 #define    SVR4_GETCWD_TEST_CT  1
8413 static tTestDesc aSvr4_GetcwdTests[] = {
8414   { TT_EGREP,    zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
8417  *  Fix Command Arguments for Svr4_Getcwd
8418  */
8419 static const char* apzSvr4_GetcwdPatch[] = {
8420     "format",
8421     "getcwd(char *, size_t)",
8422     (char*)NULL };
8424 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8426  *  Description of Svr4_Profil fix
8427  */
8428 tSCC zSvr4_ProfilName[] =
8429      "svr4_profil";
8432  *  File name selection pattern
8433  */
8434 tSCC zSvr4_ProfilList[] =
8435   "stdlib.h\0unistd.h\0";
8437  *  Machine/OS name selection pattern
8438  */
8439 #define apzSvr4_ProfilMachs (const char**)NULL
8442  *  content selection pattern - do fix if pattern found
8443  */
8444 tSCC zSvr4_ProfilSelect0[] =
8445        "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8447 #define    SVR4_PROFIL_TEST_CT  1
8448 static tTestDesc aSvr4_ProfilTests[] = {
8449   { TT_EGREP,    zSvr4_ProfilSelect0, (regex_t*)NULL }, };
8452  *  Fix Command Arguments for Svr4_Profil
8453  */
8454 static const char* apzSvr4_ProfilPatch[] = {
8455     "format",
8456     "profil(unsigned short *, size_t, int, unsigned int)",
8457     (char*)NULL };
8459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8461  *  Description of Svr4_Sighandler_Type fix
8462  */
8463 tSCC zSvr4_Sighandler_TypeName[] =
8464      "svr4_sighandler_type";
8467  *  File name selection pattern
8468  */
8469 tSCC zSvr4_Sighandler_TypeList[] =
8470   "sys/signal.h\0";
8472  *  Machine/OS name selection pattern
8473  */
8474 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8477  *  content selection pattern - do fix if pattern found
8478  */
8479 tSCC zSvr4_Sighandler_TypeSelect0[] =
8480        "void *\\(\\*\\)\\(\\)";
8482 #define    SVR4_SIGHANDLER_TYPE_TEST_CT  1
8483 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8484   { TT_EGREP,    zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
8487  *  Fix Command Arguments for Svr4_Sighandler_Type
8488  */
8489 static const char* apzSvr4_Sighandler_TypePatch[] = {
8490     "format",
8491     "void (*)(int)",
8492     (char*)NULL };
8494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8496  *  Description of Svr4_Undeclared_Getrnge fix
8497  */
8498 tSCC zSvr4_Undeclared_GetrngeName[] =
8499      "svr4_undeclared_getrnge";
8502  *  File name selection pattern
8503  */
8504 tSCC zSvr4_Undeclared_GetrngeList[] =
8505   "regexp.h\0";
8507  *  Machine/OS name selection pattern
8508  */
8509 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8512  *  content selection pattern - do fix if pattern found
8513  */
8514 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8515        "getrnge";
8518  *  content bypass pattern - skip fix if pattern found
8519  */
8520 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8521        "static void getrnge";
8523 #define    SVR4_UNDECLARED_GETRNGE_TEST_CT  2
8524 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8525   { TT_NEGREP,   zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
8526   { TT_EGREP,    zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
8529  *  Fix Command Arguments for Svr4_Undeclared_Getrnge
8530  */
8531 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8532     "format",
8533     "%0\n\
8534 static int getrnge ();",
8535     "^static int[ \t]+size;",
8536     (char*)NULL };
8538 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8540  *  Description of Sysv68_String fix
8541  */
8542 tSCC zSysv68_StringName[] =
8543      "sysv68_string";
8546  *  File name selection pattern
8547  */
8548 tSCC zSysv68_StringList[] =
8549   "testing.h\0string.h\0";
8551  *  Machine/OS name selection pattern
8552  */
8553 #define apzSysv68_StringMachs (const char**)NULL
8556  *  content bypass pattern - skip fix if pattern found
8557  */
8558 tSCC zSysv68_StringBypass0[] =
8559        "_CLASSIC_ANSI_TYPES";
8561 #define    SYSV68_STRING_TEST_CT  1
8562 static tTestDesc aSysv68_StringTests[] = {
8563   { TT_NEGREP,   zSysv68_StringBypass0, (regex_t*)NULL }, };
8566  *  Fix Command Arguments for Sysv68_String
8567  */
8568 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8569     "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8570     "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8571     "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8572     "-e", "/^extern char$/N",
8573     "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8574     "-e", "/^extern int$/N",
8575     "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8576     "-e", "/^\tstrncmp(),$/N",
8577     "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8578 extern unsigned int\\\n\
8579 \\2/",
8580     (char*)NULL };
8582 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8584  *  Description of Sysz_Stdlib_For_Sun fix
8585  */
8586 tSCC zSysz_Stdlib_For_SunName[] =
8587      "sysz_stdlib_for_sun";
8590  *  File name selection pattern
8591  */
8592 tSCC zSysz_Stdlib_For_SunList[] =
8593   "stdlib.h\0";
8595  *  Machine/OS name selection pattern
8596  */
8597 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8600  *  content selection pattern - do fix if pattern found
8601  */
8602 tSCC zSysz_Stdlib_For_SunSelect0[] =
8603        "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8606  *  content bypass pattern - skip fix if pattern found
8607  */
8608 tSCC zSysz_Stdlib_For_SunBypass0[] =
8609        "_CLASSIC_ANSI_TYPES";
8611 #define    SYSZ_STDLIB_FOR_SUN_TEST_CT  2
8612 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8613   { TT_NEGREP,   zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
8614   { TT_EGREP,    zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
8617  *  Fix Command Arguments for Sysz_Stdlib_For_Sun
8618  */
8619 static const char* apzSysz_Stdlib_For_SunPatch[] = {
8620     "format",
8621     "void *\t%1(",
8622     (char*)NULL };
8624 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8626  *  Description of Thread_Keyword fix
8627  */
8628 tSCC zThread_KeywordName[] =
8629      "thread_keyword";
8632  *  File name selection pattern
8633  */
8634 tSCC zThread_KeywordList[] =
8635   "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8637  *  Machine/OS name selection pattern
8638  */
8639 #define apzThread_KeywordMachs (const char**)NULL
8642  *  content selection pattern - do fix if pattern found
8643  */
8644 tSCC zThread_KeywordSelect0[] =
8645        "([* ])__thread([,)])";
8647 #define    THREAD_KEYWORD_TEST_CT  1
8648 static tTestDesc aThread_KeywordTests[] = {
8649   { TT_EGREP,    zThread_KeywordSelect0, (regex_t*)NULL }, };
8652  *  Fix Command Arguments for Thread_Keyword
8653  */
8654 static const char* apzThread_KeywordPatch[] = {
8655     "format",
8656     "%1__thr%2",
8657     (char*)NULL };
8659 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8661  *  Description of Tinfo_Cplusplus fix
8662  */
8663 tSCC zTinfo_CplusplusName[] =
8664      "tinfo_cplusplus";
8667  *  File name selection pattern
8668  */
8669 tSCC zTinfo_CplusplusList[] =
8670   "tinfo.h\0";
8672  *  Machine/OS name selection pattern
8673  */
8674 #define apzTinfo_CplusplusMachs (const char**)NULL
8677  *  content selection pattern - do fix if pattern found
8678  */
8679 tSCC zTinfo_CplusplusSelect0[] =
8680        "[ \t]_cplusplus";
8682 #define    TINFO_CPLUSPLUS_TEST_CT  1
8683 static tTestDesc aTinfo_CplusplusTests[] = {
8684   { TT_EGREP,    zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
8687  *  Fix Command Arguments for Tinfo_Cplusplus
8688  */
8689 static const char* apzTinfo_CplusplusPatch[] = {
8690     "format",
8691     " __cplusplus",
8692     (char*)NULL };
8694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8696  *  Description of Ultrix_Const fix
8697  */
8698 tSCC zUltrix_ConstName[] =
8699      "ultrix_const";
8702  *  File name selection pattern
8703  */
8704 tSCC zUltrix_ConstList[] =
8705   "stdio.h\0";
8707  *  Machine/OS name selection pattern
8708  */
8709 #define apzUltrix_ConstMachs (const char**)NULL
8712  *  content selection pattern - do fix if pattern found
8713  */
8714 tSCC zUltrix_ConstSelect0[] =
8715        "perror\\( char \\*";
8717 #define    ULTRIX_CONST_TEST_CT  1
8718 static tTestDesc aUltrix_ConstTests[] = {
8719   { TT_EGREP,    zUltrix_ConstSelect0, (regex_t*)NULL }, };
8722  *  Fix Command Arguments for Ultrix_Const
8723  */
8724 static const char* apzUltrix_ConstPatch[] = {
8725     "format",
8726     "%1 const %3 *__",
8727     "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
8728     (char*)NULL };
8730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8732  *  Description of Ultrix_Const2 fix
8733  */
8734 tSCC zUltrix_Const2Name[] =
8735      "ultrix_const2";
8738  *  File name selection pattern
8739  */
8740 tSCC zUltrix_Const2List[] =
8741   "stdio.h\0";
8743  *  Machine/OS name selection pattern
8744  */
8745 #define apzUltrix_Const2Machs (const char**)NULL
8748  *  content selection pattern - do fix if pattern found
8749  */
8750 tSCC zUltrix_Const2Select0[] =
8751        "\\*fopen\\( char \\*";
8753 #define    ULTRIX_CONST2_TEST_CT  1
8754 static tTestDesc aUltrix_Const2Tests[] = {
8755   { TT_EGREP,    zUltrix_Const2Select0, (regex_t*)NULL }, };
8758  *  Fix Command Arguments for Ultrix_Const2
8759  */
8760 static const char* apzUltrix_Const2Patch[] = {
8761     "format",
8762     "%1( const char *%3, const char *",
8763     "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
8764     (char*)NULL };
8766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8768  *  Description of Va_I960_Macro fix
8769  */
8770 tSCC zVa_I960_MacroName[] =
8771      "va_i960_macro";
8774  *  File name selection pattern
8775  */
8776 tSCC zVa_I960_MacroList[] =
8777   "arch/i960/archI960.h\0";
8779  *  Machine/OS name selection pattern
8780  */
8781 #define apzVa_I960_MacroMachs (const char**)NULL
8784  *  content selection pattern - do fix if pattern found
8785  */
8786 tSCC zVa_I960_MacroSelect0[] =
8787        "__(vsiz|vali|vpad|alignof__)";
8789 #define    VA_I960_MACRO_TEST_CT  1
8790 static tTestDesc aVa_I960_MacroTests[] = {
8791   { TT_EGREP,    zVa_I960_MacroSelect0, (regex_t*)NULL }, };
8794  *  Fix Command Arguments for Va_I960_Macro
8795  */
8796 static const char* apzVa_I960_MacroPatch[] = {
8797     "format",
8798     "__vx%1",
8799     (char*)NULL };
8801 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8803  *  Description of Vms_Add_Missing_Braces fix
8804  */
8805 tSCC zVms_Add_Missing_BracesName[] =
8806      "vms_add_missing_braces";
8809  *  File name selection pattern
8810  */
8811 tSCC zVms_Add_Missing_BracesList[] =
8812   "rtldef/signal.h\0";
8814  *  Machine/OS name selection pattern
8815  */
8816 tSCC* apzVms_Add_Missing_BracesMachs[] = {
8817         "*-*-*vms*",
8818         (const char*)NULL };
8821  *  content selection pattern - do fix if pattern found
8822  */
8823 tSCC zVms_Add_Missing_BracesSelect0[] =
8824        "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
8826 #define    VMS_ADD_MISSING_BRACES_TEST_CT  1
8827 static tTestDesc aVms_Add_Missing_BracesTests[] = {
8828   { TT_EGREP,    zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
8831  *  Fix Command Arguments for Vms_Add_Missing_Braces
8832  */
8833 static const char* apzVms_Add_Missing_BracesPatch[] = {
8834     "format",
8835     "%1 {%2} ",
8836     (char*)NULL };
8838 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8840  *  Description of Vms_Decc_Builtin fix
8841  */
8842 tSCC zVms_Decc_BuiltinName[] =
8843      "vms_decc_builtin";
8846  *  File name selection pattern
8847  */
8848 tSCC zVms_Decc_BuiltinList[] =
8849   "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
8851  *  Machine/OS name selection pattern
8852  */
8853 tSCC* apzVms_Decc_BuiltinMachs[] = {
8854         "*-*-*vms*",
8855         (const char*)NULL };
8858  *  content selection pattern - do fix if pattern found
8859  */
8860 tSCC zVms_Decc_BuiltinSelect0[] =
8861        "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
8863 #define    VMS_DECC_BUILTIN_TEST_CT  1
8864 static tTestDesc aVms_Decc_BuiltinTests[] = {
8865   { TT_EGREP,    zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
8868  *  Fix Command Arguments for Vms_Decc_Builtin
8869  */
8870 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
8871     "-e", "s@__MEMSET@memset@",
8872     "-e", "s@__MEMMOVE@memmove@",
8873     "-e", "s@__MEMCPY@memcpy@",
8874     "-e", "s@__STRLEN@strlen@",
8875     "-e", "s@__STRCPY@strcpy@",
8876     (char*)NULL };
8878 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8880  *  Description of Vms_Define_Can_Use_Extern_Prefix fix
8881  */
8882 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
8883      "vms_define_can_use_extern_prefix";
8886  *  File name selection pattern
8887  */
8888 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
8889   "rtldef/decc$types.h\0";
8891  *  Machine/OS name selection pattern
8892  */
8893 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
8894         "*-*-*vms*",
8895         (const char*)NULL };
8898  *  content selection pattern - do fix if pattern found
8899  */
8900 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
8901        "#[ \t]*else\n\
8902 #[ \t]*if defined\\(__DECCXX\\)\n\
8903 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
8905 #define    VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT  1
8906 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
8907   { TT_EGREP,    zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
8910  *  Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
8911  */
8912 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
8913     "format",
8914     "%0#    elif defined (__GNUC__)\n\
8915 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
8916     (char*)NULL };
8918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8920  *  Description of Vms_Disable_Decc_String_Builtins fix
8921  */
8922 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
8923      "vms_disable_decc_string_builtins";
8926  *  File name selection pattern
8927  */
8928 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
8929   "rtldef/string.h\0";
8931  *  Machine/OS name selection pattern
8932  */
8933 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
8934         "*-*-*vms*",
8935         (const char*)NULL };
8938  *  content selection pattern - do fix if pattern found
8939  */
8940 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
8941        "#if !defined\\(__VAX\\)\n";
8943 #define    VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT  1
8944 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
8945   { TT_EGREP,    zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
8948  *  Fix Command Arguments for Vms_Disable_Decc_String_Builtins
8949  */
8950 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
8951     "format",
8952     "#if !defined(__VAX) && !defined(__GNUC__)\n",
8953     (char*)NULL };
8955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8957  *  Description of Vms_Do_Not_Redeclare_Hostalias fix
8958  */
8959 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
8960      "vms_do_not_redeclare_hostalias";
8963  *  File name selection pattern
8964  */
8965 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
8966   "rtldef/resolv.h\0";
8968  *  Machine/OS name selection pattern
8969  */
8970 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
8971         "*-*-*vms*",
8972         (const char*)NULL };
8975  *  content selection pattern - do fix if pattern found
8976  */
8977 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
8978        "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
8979 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
8981 #define    VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT  1
8982 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
8983   { TT_EGREP,    zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
8986  *  Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
8987  */
8988 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
8989     "format",
8990     "%1\n\
8991 /* %2 */",
8992     (char*)NULL };
8994 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8996  *  Description of Vms_Forward_Declare_Struct fix
8997  */
8998 tSCC zVms_Forward_Declare_StructName[] =
8999      "vms_forward_declare_struct";
9002  *  File name selection pattern
9003  */
9004 tSCC zVms_Forward_Declare_StructList[] =
9005   "rtldef/if.h\0";
9007  *  Machine/OS name selection pattern
9008  */
9009 tSCC* apzVms_Forward_Declare_StructMachs[] = {
9010         "*-*-*vms*",
9011         (const char*)NULL };
9014  *  content selection pattern - do fix if pattern found
9015  */
9016 tSCC zVms_Forward_Declare_StructSelect0[] =
9017        "(/\\* forward decls for C\\+\\+ \\*/\n\
9018 )#ifdef __cplusplus\n";
9020 #define    VMS_FORWARD_DECLARE_STRUCT_TEST_CT  1
9021 static tTestDesc aVms_Forward_Declare_StructTests[] = {
9022   { TT_EGREP,    zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
9025  *  Fix Command Arguments for Vms_Forward_Declare_Struct
9026  */
9027 static const char* apzVms_Forward_Declare_StructPatch[] = {
9028     "format",
9029     "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9030     (char*)NULL };
9032 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9034  *  Description of Vms_No_64bit_Getopt fix
9035  */
9036 tSCC zVms_No_64bit_GetoptName[] =
9037      "vms_no_64bit_getopt";
9040  *  File name selection pattern
9041  */
9042 tSCC zVms_No_64bit_GetoptList[] =
9043   "rtldef/stdio.h\0rtldef/unistd.h\0";
9045  *  Machine/OS name selection pattern
9046  */
9047 tSCC* apzVms_No_64bit_GetoptMachs[] = {
9048         "*-*-*vms*",
9049         (const char*)NULL };
9052  *  content selection pattern - do fix if pattern found
9053  */
9054 tSCC zVms_No_64bit_GetoptSelect0[] =
9055        "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9057 #define    VMS_NO_64BIT_GETOPT_TEST_CT  1
9058 static tTestDesc aVms_No_64bit_GetoptTests[] = {
9059   { TT_EGREP,    zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
9062  *  Fix Command Arguments for Vms_No_64bit_Getopt
9063  */
9064 static const char* apzVms_No_64bit_GetoptPatch[] = {
9065     "format",
9066     "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only.  */\n\
9067 %0#endif\n",
9068     (char*)NULL };
9070 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9072  *  Description of Vms_Use_Fast_Setjmp fix
9073  */
9074 tSCC zVms_Use_Fast_SetjmpName[] =
9075      "vms_use_fast_setjmp";
9078  *  File name selection pattern
9079  */
9080 tSCC zVms_Use_Fast_SetjmpList[] =
9081   "rtldef/setjmp.h\0";
9083  *  Machine/OS name selection pattern
9084  */
9085 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9086         "*-*-*vms*",
9087         (const char*)NULL };
9090  *  content selection pattern - do fix if pattern found
9091  */
9092 tSCC zVms_Use_Fast_SetjmpSelect0[] =
9093        "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9095 #define    VMS_USE_FAST_SETJMP_TEST_CT  1
9096 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9097   { TT_EGREP,    zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
9100  *  Fix Command Arguments for Vms_Use_Fast_Setjmp
9101  */
9102 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9103     "format",
9104     "%0 defined (__GNUC__) ||",
9105     (char*)NULL };
9107 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9109  *  Description of Vms_Use_Pragma_Extern_Model fix
9110  */
9111 tSCC zVms_Use_Pragma_Extern_ModelName[] =
9112      "vms_use_pragma_extern_model";
9115  *  File name selection pattern
9116  */
9117 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9119  *  Machine/OS name selection pattern
9120  */
9121 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9122         "*-*-*vms*",
9123         (const char*)NULL };
9126  *  content selection pattern - do fix if pattern found
9127  */
9128 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9129        "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9130 # pragma extern_model __save\n";
9132 #define    VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT  1
9133 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9134   { TT_EGREP,    zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
9137  *  Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9138  */
9139 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9140     "format",
9141     "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9142 # pragma extern_model __save\n",
9143     (char*)NULL };
9145 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9147  *  Description of Vms_Use_Quoted_Include fix
9148  */
9149 tSCC zVms_Use_Quoted_IncludeName[] =
9150      "vms_use_quoted_include";
9153  *  File name selection pattern
9154  */
9155 tSCC zVms_Use_Quoted_IncludeList[] =
9156   "rtldef/wait.h\0starlet_c/pthread.h\0";
9158  *  Machine/OS name selection pattern
9159  */
9160 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9161         "*-*-*vms*",
9162         (const char*)NULL };
9165  *  content selection pattern - do fix if pattern found
9166  */
9167 tSCC zVms_Use_Quoted_IncludeSelect0[] =
9168        "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9170 #define    VMS_USE_QUOTED_INCLUDE_TEST_CT  1
9171 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9172   { TT_EGREP,    zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
9175  *  Fix Command Arguments for Vms_Use_Quoted_Include
9176  */
9177 static const char* apzVms_Use_Quoted_IncludePatch[] = {
9178     "format",
9179     "%1<sys/%2.h>",
9180     (char*)NULL };
9182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9184  *  Description of Void_Null fix
9185  */
9186 tSCC zVoid_NullName[] =
9187      "void_null";
9190  *  File name selection pattern
9191  */
9192 tSCC zVoid_NullList[] =
9193   "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";
9195  *  Machine/OS name selection pattern
9196  */
9197 #define apzVoid_NullMachs (const char**)NULL
9200  *  content selection pattern - do fix if pattern found
9201  */
9202 tSCC zVoid_NullSelect0[] =
9203        "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9206  *  content bypass pattern - skip fix if pattern found
9207  */
9208 tSCC zVoid_NullBypass0[] =
9209        "__cplusplus";
9210 tSCC zVoid_NullBypass1[] =
9211        "__null";
9213 #define    VOID_NULL_TEST_CT  3
9214 static tTestDesc aVoid_NullTests[] = {
9215   { TT_NEGREP,   zVoid_NullBypass0, (regex_t*)NULL },
9216   { TT_NEGREP,   zVoid_NullBypass1, (regex_t*)NULL },
9217   { TT_EGREP,    zVoid_NullSelect0, (regex_t*)NULL }, };
9220  *  Fix Command Arguments for Void_Null
9221  */
9222 static const char* apzVoid_NullPatch[] = {
9223     "format",
9224     "#ifndef NULL\n\
9225 #ifdef __cplusplus\n\
9226 #ifdef __GNUG__\n\
9227 #define NULL __null\n\
9228 #else /* ! __GNUG__  */\n\
9229 #define NULL 0L\n\
9230 #endif /* __GNUG__  */\n\
9231 #else /* ! __cplusplus  */\n\
9232 #define NULL ((void *)0)\n\
9233 #endif /* __cplusplus  */\n\
9234 #endif /* !NULL  */",
9235     (char*)NULL };
9237 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9239  *  Description of Vxworks_Gcc_Problem fix
9240  */
9241 tSCC zVxworks_Gcc_ProblemName[] =
9242      "vxworks_gcc_problem";
9245  *  File name selection pattern
9246  */
9247 tSCC zVxworks_Gcc_ProblemList[] =
9248   "types/vxTypesBase.h\0";
9250  *  Machine/OS name selection pattern
9251  */
9252 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9255  *  content selection pattern - do fix if pattern found
9256  */
9257 tSCC zVxworks_Gcc_ProblemSelect0[] =
9258        "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9260 #define    VXWORKS_GCC_PROBLEM_TEST_CT  1
9261 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9262   { TT_EGREP,    zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
9265  *  Fix Command Arguments for Vxworks_Gcc_Problem
9266  */
9267 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9268     "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9269     "-e", "/[ \t]size_t/i\\\n\
9270 #ifndef _GCC_SIZE_T\\\n\
9271 #define _GCC_SIZE_T\n",
9272     "-e", "/[ \t]size_t/a\\\n\
9273 #endif\n",
9274     "-e", "/[ \t]ptrdiff_t/i\\\n\
9275 #ifndef _GCC_PTRDIFF_T\\\n\
9276 #define _GCC_PTRDIFF_T\n",
9277     "-e", "/[ \t]ptrdiff_t/a\\\n\
9278 #endif\n",
9279     "-e", "/[ \t]wchar_t/i\\\n\
9280 #ifndef _GCC_WCHAR_T\\\n\
9281 #define _GCC_WCHAR_T\n",
9282     "-e", "/[ \t]wchar_t/a\\\n\
9283 #endif\n",
9284     (char*)NULL };
9286 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9288  *  Description of Vxworks_Ioctl_Macro fix
9289  */
9290 tSCC zVxworks_Ioctl_MacroName[] =
9291      "vxworks_ioctl_macro";
9294  *  File name selection pattern
9295  */
9296 tSCC zVxworks_Ioctl_MacroList[] =
9297   "ioLib.h\0";
9299  *  Machine/OS name selection pattern
9300  */
9301 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9302         "*-*-vxworks*",
9303         (const char*)NULL };
9304 #define VXWORKS_IOCTL_MACRO_TEST_CT  0
9305 #define aVxworks_Ioctl_MacroTests   (tTestDesc*)NULL
9308  *  Fix Command Arguments for Vxworks_Ioctl_Macro
9309  */
9310 static const char* apzVxworks_Ioctl_MacroPatch[] = {
9311     "format",
9312     "%0\n\
9313 #define ioctl(fd, func, arg) (ioctl)(fd, func, (int)(arg))\n",
9314     "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9315     (char*)NULL };
9317 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9319  *  Description of Vxworks_Mkdir_Macro fix
9320  */
9321 tSCC zVxworks_Mkdir_MacroName[] =
9322      "vxworks_mkdir_macro";
9325  *  File name selection pattern
9326  */
9327 tSCC zVxworks_Mkdir_MacroList[] =
9328   "sys/stat.h\0";
9330  *  Machine/OS name selection pattern
9331  */
9332 tSCC* apzVxworks_Mkdir_MacroMachs[] = {
9333         "*-*-vxworks*",
9334         (const char*)NULL };
9335 #define VXWORKS_MKDIR_MACRO_TEST_CT  0
9336 #define aVxworks_Mkdir_MacroTests   (tTestDesc*)NULL
9339  *  Fix Command Arguments for Vxworks_Mkdir_Macro
9340  */
9341 static const char* apzVxworks_Mkdir_MacroPatch[] = {
9342     "format",
9343     "%0\n\
9344 #define mkdir(dir, ...) ((void)0, ##__VA_ARGS__, (mkdir)(dir))\n",
9345     "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9346     (char*)NULL };
9348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9350  *  Description of Vxworks_Needs_Vxtypes fix
9351  */
9352 tSCC zVxworks_Needs_VxtypesName[] =
9353      "vxworks_needs_vxtypes";
9356  *  File name selection pattern
9357  */
9358 tSCC zVxworks_Needs_VxtypesList[] =
9359   "time.h\0";
9361  *  Machine/OS name selection pattern
9362  */
9363 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9366  *  content selection pattern - do fix if pattern found
9367  */
9368 tSCC zVxworks_Needs_VxtypesSelect0[] =
9369        "uint_t([ \t]+_clocks_per_sec)";
9371 #define    VXWORKS_NEEDS_VXTYPES_TEST_CT  1
9372 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9373   { TT_EGREP,    zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
9376  *  Fix Command Arguments for Vxworks_Needs_Vxtypes
9377  */
9378 static const char* apzVxworks_Needs_VxtypesPatch[] = {
9379     "format",
9380     "unsigned int%1",
9381     (char*)NULL };
9383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9385  *  Description of Vxworks_Needs_Vxworks fix
9386  */
9387 tSCC zVxworks_Needs_VxworksName[] =
9388      "vxworks_needs_vxworks";
9391  *  File name selection pattern
9392  */
9393 tSCC zVxworks_Needs_VxworksList[] =
9394   "sys/stat.h\0";
9396  *  Machine/OS name selection pattern
9397  */
9398 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
9401  *  content selection pattern - do fix if pattern found
9402  */
9403 tSCC zVxworks_Needs_VxworksSelect0[] =
9404        "#[ \t]define[ \t]+__INCstath";
9407  *  perform the 'test' shell command - do fix on success
9408  */
9409 tSCC zVxworks_Needs_VxworksTest0[] =
9410        " -r types/vxTypesOld.h";
9411 tSCC zVxworks_Needs_VxworksTest1[] =
9412        " -n \"`egrep '#include' $file`\"";
9413 tSCC zVxworks_Needs_VxworksTest2[] =
9414        " -n \"`egrep ULONG $file`\"";
9416 #define    VXWORKS_NEEDS_VXWORKS_TEST_CT  4
9417 static tTestDesc aVxworks_Needs_VxworksTests[] = {
9418   { TT_TEST,     zVxworks_Needs_VxworksTest0,   0 /* unused */ },
9419   { TT_TEST,     zVxworks_Needs_VxworksTest1,   0 /* unused */ },
9420   { TT_TEST,     zVxworks_Needs_VxworksTest2,   0 /* unused */ },
9421   { TT_EGREP,    zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
9424  *  Fix Command Arguments for Vxworks_Needs_Vxworks
9425  */
9426 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9427     "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9428 #include <types/vxTypesOld.h>\n",
9429     (char*)NULL };
9431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9433  *  Description of Vxworks_Regs fix
9434  */
9435 tSCC zVxworks_RegsName[] =
9436      "vxworks_regs";
9439  *  File name selection pattern
9440  */
9441 #define zVxworks_RegsList (char*)NULL
9443  *  Machine/OS name selection pattern
9444  */
9445 tSCC* apzVxworks_RegsMachs[] = {
9446         "*-*-vxworks*",
9447         (const char*)NULL };
9450  *  content selection pattern - do fix if pattern found
9451  */
9452 tSCC zVxworks_RegsSelect0[] =
9453        "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9455 #define    VXWORKS_REGS_TEST_CT  1
9456 static tTestDesc aVxworks_RegsTests[] = {
9457   { TT_EGREP,    zVxworks_RegsSelect0, (regex_t*)NULL }, };
9460  *  Fix Command Arguments for Vxworks_Regs
9461  */
9462 static const char* apzVxworks_RegsPatch[] = {
9463     "format",
9464     "#include <arch/../regs.h>",
9465     (char*)NULL };
9467 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9469  *  Description of Vxworks_Time fix
9470  */
9471 tSCC zVxworks_TimeName[] =
9472      "vxworks_time";
9475  *  File name selection pattern
9476  */
9477 tSCC zVxworks_TimeList[] =
9478   "time.h\0";
9480  *  Machine/OS name selection pattern
9481  */
9482 #define apzVxworks_TimeMachs (const char**)NULL
9485  *  content selection pattern - do fix if pattern found
9486  */
9487 tSCC zVxworks_TimeSelect0[] =
9488        "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9491  *  perform the 'test' shell command - do fix on success
9492  */
9493 tSCC zVxworks_TimeTest0[] =
9494        " -r vxWorks.h";
9496 #define    VXWORKS_TIME_TEST_CT  2
9497 static tTestDesc aVxworks_TimeTests[] = {
9498   { TT_TEST,     zVxworks_TimeTest0,   0 /* unused */ },
9499   { TT_EGREP,    zVxworks_TimeSelect0, (regex_t*)NULL }, };
9502  *  Fix Command Arguments for Vxworks_Time
9503  */
9504 static const char* apzVxworks_TimePatch[] = {
9505     "format",
9506     "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9507 #ifdef __cplusplus\n\
9508 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9509 #else\n\
9510 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9511 #endif\n\
9512 #define __gcc_VOIDFUNCPTR_defined\n\
9513 #endif\n\
9514 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9515     (char*)NULL };
9517 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9519  *  Description of Vxworks_Write_Const fix
9520  */
9521 tSCC zVxworks_Write_ConstName[] =
9522      "vxworks_write_const";
9525  *  File name selection pattern
9526  */
9527 tSCC zVxworks_Write_ConstList[] =
9528   "ioLib.h\0";
9530  *  Machine/OS name selection pattern
9531  */
9532 tSCC* apzVxworks_Write_ConstMachs[] = {
9533         "*-*-vxworks*",
9534         (const char*)NULL };
9535 #define VXWORKS_WRITE_CONST_TEST_CT  0
9536 #define aVxworks_Write_ConstTests   (tTestDesc*)NULL
9539  *  Fix Command Arguments for Vxworks_Write_Const
9540  */
9541 static const char* apzVxworks_Write_ConstPatch[] = {
9542     "format",
9543     "extern int  write (int, const char*, size_t);",
9544     "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9545     (char*)NULL };
9547 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9549  *  Description of X11_Class fix
9550  */
9551 tSCC zX11_ClassName[] =
9552      "x11_class";
9555  *  File name selection pattern
9556  */
9557 tSCC zX11_ClassList[] =
9558   "X11/ShellP.h\0";
9560  *  Machine/OS name selection pattern
9561  */
9562 #define apzX11_ClassMachs (const char**)NULL
9565  *  content selection pattern - do fix if pattern found
9566  */
9567 tSCC zX11_ClassSelect0[] =
9568        "^([ \t]*char \\*)class;(.*)";
9571  *  content bypass pattern - skip fix if pattern found
9572  */
9573 tSCC zX11_ClassBypass0[] =
9574        "__cplusplus";
9576 #define    X11_CLASS_TEST_CT  2
9577 static tTestDesc aX11_ClassTests[] = {
9578   { TT_NEGREP,   zX11_ClassBypass0, (regex_t*)NULL },
9579   { TT_EGREP,    zX11_ClassSelect0, (regex_t*)NULL }, };
9582  *  Fix Command Arguments for X11_Class
9583  */
9584 static const char* apzX11_ClassPatch[] = {
9585     "format",
9586     "#ifdef __cplusplus\n\
9587 %1c_class;%2\n\
9588 #else\n\
9589 %1class;%2\n\
9590 #endif",
9591     (char*)NULL };
9593 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9595  *  Description of X11_Class_Usage fix
9596  */
9597 tSCC zX11_Class_UsageName[] =
9598      "x11_class_usage";
9601  *  File name selection pattern
9602  */
9603 tSCC zX11_Class_UsageList[] =
9604   "Xm/BaseClassI.h\0";
9606  *  Machine/OS name selection pattern
9607  */
9608 #define apzX11_Class_UsageMachs (const char**)NULL
9611  *  content selection pattern - do fix if pattern found
9612  */
9613 tSCC zX11_Class_UsageSelect0[] =
9614        " class\\)";
9617  *  content bypass pattern - skip fix if pattern found
9618  */
9619 tSCC zX11_Class_UsageBypass0[] =
9620        "__cplusplus";
9622 #define    X11_CLASS_USAGE_TEST_CT  2
9623 static tTestDesc aX11_Class_UsageTests[] = {
9624   { TT_NEGREP,   zX11_Class_UsageBypass0, (regex_t*)NULL },
9625   { TT_EGREP,    zX11_Class_UsageSelect0, (regex_t*)NULL }, };
9628  *  Fix Command Arguments for X11_Class_Usage
9629  */
9630 static const char* apzX11_Class_UsagePatch[] = {
9631     "format",
9632     " c_class)",
9633     (char*)NULL };
9635 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9637  *  Description of X11_New fix
9638  */
9639 tSCC zX11_NewName[] =
9640      "x11_new";
9643  *  File name selection pattern
9644  */
9645 tSCC zX11_NewList[] =
9646   "Xm/Traversal.h\0";
9648  *  Machine/OS name selection pattern
9649  */
9650 #define apzX11_NewMachs (const char**)NULL
9653  *  content bypass pattern - skip fix if pattern found
9654  */
9655 tSCC zX11_NewBypass0[] =
9656        "__cplusplus";
9658 #define    X11_NEW_TEST_CT  1
9659 static tTestDesc aX11_NewTests[] = {
9660   { TT_NEGREP,   zX11_NewBypass0, (regex_t*)NULL }, };
9663  *  Fix Command Arguments for X11_New
9664  */
9665 static const char* apzX11_NewPatch[] = { sed_cmd_z,
9666     "-e", "/Widget\told, new;/i\\\n\
9667 #ifdef __cplusplus\\\n\
9668 \\\tWidget\told, c_new;\\\n\
9669 #else\n",
9670     "-e", "/Widget\told, new;/a\\\n\
9671 #endif\n",
9672     "-e", "s/Widget new,/Widget c_new,/g",
9673     (char*)NULL };
9675 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9677  *  Description of X11_Sprintf fix
9678  */
9679 tSCC zX11_SprintfName[] =
9680      "x11_sprintf";
9683  *  File name selection pattern
9684  */
9685 tSCC zX11_SprintfList[] =
9686   "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
9688  *  Machine/OS name selection pattern
9689  */
9690 #define apzX11_SprintfMachs (const char**)NULL
9693  *  content selection pattern - do fix if pattern found
9694  */
9695 tSCC zX11_SprintfSelect0[] =
9696        "^extern char \\*\tsprintf\\(\\);$";
9698 #define    X11_SPRINTF_TEST_CT  1
9699 static tTestDesc aX11_SprintfTests[] = {
9700   { TT_EGREP,    zX11_SprintfSelect0, (regex_t*)NULL }, };
9703  *  Fix Command Arguments for X11_Sprintf
9704  */
9705 static const char* apzX11_SprintfPatch[] = {
9706     "format",
9707     "#ifndef __STDC__\n\
9708 %0\n\
9709 #endif /* !defined __STDC__ */",
9710     (char*)NULL };
9713 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9715  *  List of all fixes
9716  */
9717 #define REGEX_COUNT          275
9718 #define MACH_LIST_SIZE_LIMIT 187
9719 #define FIX_COUNT            237
9722  *  Enumerate the fixes
9723  */
9724 typedef enum {
9725     AAB_AIX_STDIO_FIXIDX,
9726     AAB_AIX_FCNTL_FIXIDX,
9727     AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
9728     AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
9729     AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
9730     AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
9731     AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
9732     AAB_SUN_MEMCPY_FIXIDX,
9733     AAB_VXWORKS_ASSERT_FIXIDX,
9734     AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
9735     AAB_VXWORKS_STDINT_FIXIDX,
9736     AAB_VXWORKS_UNISTD_FIXIDX,
9737     AIX_ASSERT_FIXIDX,
9738     AIX_COMPLEX_FIXIDX,
9739     AIX_EXTERNC_FIXIDX,
9740     AIX_EXTERNCPP1_FIXIDX,
9741     AIX_EXTERNCPP2_FIXIDX,
9742     AIX_MALLOC_FIXIDX,
9743     AIX_NET_IF_ARP_FIXIDX,
9744     AIX_NULL_FIXIDX,
9745     AIX_ONCE_INIT_1_FIXIDX,
9746     AIX_ONCE_INIT_2_FIXIDX,
9747     AIX_MUTEX_INITIALIZER_1_FIXIDX,
9748     AIX_COND_INITIALIZER_1_FIXIDX,
9749     AIX_RWLOCK_INITIALIZER_1_FIXIDX,
9750     AIX_PTHREAD_FIXIDX,
9751     AIX_STDINT_1_FIXIDX,
9752     AIX_STDINT_2_FIXIDX,
9753     AIX_STDINT_3_FIXIDX,
9754     AIX_STDINT_4_FIXIDX,
9755     AIX_STDINT_5_FIXIDX,
9756     AIX_STDIO_INLINE_FIXIDX,
9757     AIX_STDLIB_MALLOC_FIXIDX,
9758     AIX_STDLIB_REALLOC_FIXIDX,
9759     AIX_STDLIB_CALLOC_FIXIDX,
9760     AIX_STDLIB_VALLOC_FIXIDX,
9761     AIX_STRTOF_CONST_FIXIDX,
9762     AIX_SYSMACHINE_FIXIDX,
9763     AIX_SYSWAIT_2_FIXIDX,
9764     AIX_VOLATILE_FIXIDX,
9765     ALPHA___ASSERT_FIXIDX,
9766     ALPHA_ASSERT_FIXIDX,
9767     ALPHA_GETOPT_FIXIDX,
9768     ALPHA_IF_SEMICOLON_FIXIDX,
9769     ALPHA_PARENS_FIXIDX,
9770     ALPHA_SBRK_FIXIDX,
9771     AVOID_BOOL_DEFINE_FIXIDX,
9772     AVOID_BOOL_TYPE_FIXIDX,
9773     AVOID_WCHAR_T_TYPE_FIXIDX,
9774     BAD_STRUCT_TERM_FIXIDX,
9775     BADQUOTE_FIXIDX,
9776     BROKEN_ASSERT_STDIO_FIXIDX,
9777     BROKEN_ASSERT_STDLIB_FIXIDX,
9778     BROKEN_CABS_FIXIDX,
9779     BROKEN_NAN_FIXIDX,
9780     BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
9781     CTRL_QUOTES_DEF_FIXIDX,
9782     CTRL_QUOTES_USE_FIXIDX,
9783     CXX_UNREADY_FIXIDX,
9784     DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
9785     DARWIN_EXTERNC_FIXIDX,
9786     DARWIN_GCC4_BREAKAGE_FIXIDX,
9787     DARWIN_LONGJMP_NORETURN_FIXIDX,
9788     DARWIN_PRIVATE_EXTERN_FIXIDX,
9789     DARWIN_STDINT_1_FIXIDX,
9790     DARWIN_STDINT_2_FIXIDX,
9791     DARWIN_STDINT_3_FIXIDX,
9792     DARWIN_STDINT_4_FIXIDX,
9793     DARWIN_STDINT_5_FIXIDX,
9794     DARWIN_STDINT_6_FIXIDX,
9795     DARWIN_STDINT_7_FIXIDX,
9796     DEC_INTERN_ASM_FIXIDX,
9797     DJGPP_WCHAR_H_FIXIDX,
9798     ECD_CURSOR_FIXIDX,
9799     FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
9800     FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
9801     FREEBSD_GCC3_BREAKAGE_FIXIDX,
9802     FREEBSD_GCC4_BREAKAGE_FIXIDX,
9803     GLIBC_C99_INLINE_1_FIXIDX,
9804     GLIBC_C99_INLINE_1A_FIXIDX,
9805     GLIBC_C99_INLINE_2_FIXIDX,
9806     GLIBC_C99_INLINE_3_FIXIDX,
9807     GLIBC_C99_INLINE_4_FIXIDX,
9808     GLIBC_MUTEX_INIT_FIXIDX,
9809     GLIBC_STDINT_FIXIDX,
9810     GLIBC_STRNCPY_FIXIDX,
9811     GLIBC_TGMATH_FIXIDX,
9812     GNU_TYPES_FIXIDX,
9813     HP_INLINE_FIXIDX,
9814     HP_SYSFILE_FIXIDX,
9815     HPPA_HPUX_FP_MACROS_FIXIDX,
9816     HPUX10_CPP_POW_INLINE_FIXIDX,
9817     HPUX11_CPP_POW_INLINE_FIXIDX,
9818     HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
9819     HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
9820     HPUX10_STDIO_DECLARATIONS_FIXIDX,
9821     HPUX11_ABS_FIXIDX,
9822     HPUX11_LWP_RWLOCK_VALID_FIXIDX,
9823     HPUX11_EXTERN_SENDFILE_FIXIDX,
9824     HPUX11_EXTERN_SENDPATH_FIXIDX,
9825     HPUX11_FABSF_FIXIDX,
9826     HPUX11_PTHREAD_CONST_FIXIDX,
9827     HPUX11_SIZE_T_FIXIDX,
9828     HPUX11_SNPRINTF_FIXIDX,
9829     HPUX11_VSNPRINTF_FIXIDX,
9830     HPUX_VSSCANF_FIXIDX,
9831     HPUX8_BOGUS_INLINES_FIXIDX,
9832     HPUX_C99_INTPTR_FIXIDX,
9833     HPUX_C99_INTTYPES_FIXIDX,
9834     HPUX_C99_INTTYPES2_FIXIDX,
9835     HPUX_CTYPE_MACROS_FIXIDX,
9836     HPUX_EXTERN_ERRNO_FIXIDX,
9837     HPUX_HTONL_FIXIDX,
9838     HPUX_IMAGINARY_I_FIXIDX,
9839     HPUX_INTTYPE_INT8_T_FIXIDX,
9840     HPUX_LONG_DOUBLE_FIXIDX,
9841     HPUX_LONG_DOUBLE_2_FIXIDX,
9842     HPUX_PTHREAD_INITIALIZERS_FIXIDX,
9843     HPUX_SPU_INFO_FIXIDX,
9844     HPUX_STDINT_LEAST_FAST_FIXIDX,
9845     HPUX_LONGJMP_FIXIDX,
9846     HPUX_SYSTIME_FIXIDX,
9847     HUGE_VAL_HEX_FIXIDX,
9848     HUGE_VALF_HEX_FIXIDX,
9849     HUGE_VALL_HEX_FIXIDX,
9850     INT_ABORT_FREE_AND_EXIT_FIXIDX,
9851     IO_QUOTES_DEF_FIXIDX,
9852     IO_QUOTES_USE_FIXIDX,
9853     IP_MISSING_SEMI_FIXIDX,
9854     IRIX_LIMITS_CONST_FIXIDX,
9855     IRIX_STDIO_VA_LIST_FIXIDX,
9856     KANDR_CONCAT_FIXIDX,
9857     LINUX_IA64_UCONTEXT_FIXIDX,
9858     LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
9859     LYNXOS_MISSING_PUTENV_FIXIDX,
9860     MACHINE_ANSI_H_VA_LIST_FIXIDX,
9861     MACHINE_NAME_FIXIDX,
9862     MATH_EXCEPTION_FIXIDX,
9863     MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
9864     NESTED_AUTH_DES_FIXIDX,
9865     NETBSD_C99_INLINE_1_FIXIDX,
9866     NETBSD_C99_INLINE_2_FIXIDX,
9867     NETBSD_EXTRA_SEMICOLON_FIXIDX,
9868     NEWLIB_STDINT_1_FIXIDX,
9869     NEWLIB_STDINT_2_FIXIDX,
9870     NEXT_MATH_PREFIX_FIXIDX,
9871     NEXT_TEMPLATE_FIXIDX,
9872     NEXT_VOLITILE_FIXIDX,
9873     NEXT_WAIT_UNION_FIXIDX,
9874     NODEENT_SYNTAX_FIXIDX,
9875     OPENBSD_NULL_DEFINITION_FIXIDX,
9876     OBSTACK_LVALUE_CAST_FIXIDX,
9877     OPENBSD_VA_START_FIXIDX,
9878     OSF_NAMESPACE_A_FIXIDX,
9879     OSF_NAMESPACE_C_FIXIDX,
9880     PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
9881     READ_RET_TYPE_FIXIDX,
9882     RPC_XDR_LVALUE_CAST_A_FIXIDX,
9883     RPC_XDR_LVALUE_CAST_B_FIXIDX,
9884     RS6000_DOUBLE_FIXIDX,
9885     RS6000_FCHMOD_FIXIDX,
9886     RS6000_PARAM_FIXIDX,
9887     SOLARIS___RESTRICT_FIXIDX,
9888     SOLARIS_COMPLEX_FIXIDX,
9889     SOLARIS_COMPLEX_CXX_FIXIDX,
9890     SOLARIS_CXX_LINKAGE_FIXIDX,
9891     SOLARIS_GETC_STRICT_STDC_FIXIDX,
9892     SOLARIS_INT_CONST_FIXIDX,
9893     SOLARIS_INT_LIMITS_1_FIXIDX,
9894     SOLARIS_INT_LIMITS_2_FIXIDX,
9895     SOLARIS_INT_LIMITS_3_FIXIDX,
9896     SOLARIS_MATH_1_FIXIDX,
9897     SOLARIS_MATH_10_FIXIDX,
9898     SOLARIS_MATH_2_FIXIDX,
9899     SOLARIS_MATH_3_FIXIDX,
9900     SOLARIS_MATH_4_FIXIDX,
9901     SOLARIS_MATH_8_FIXIDX,
9902     SOLARIS_MATH_9_FIXIDX,
9903     SOLARIS_MATH_11_FIXIDX,
9904     SOLARIS_ONCE_INIT_1_FIXIDX,
9905     SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
9906     SOLARIS_POW_INT_OVERLOAD_FIXIDX,
9907     SOLARIS_RWLOCK_INIT_1_FIXIDX,
9908     SOLARIS_STD___FILBUF_FIXIDX,
9909     SOLARIS_STDIO_TAG_FIXIDX,
9910     STATSSWTCH_FIXIDX,
9911     STDIO_STDARG_H_FIXIDX,
9912     STDIO_VA_LIST_FIXIDX,
9913     STDIO_VA_LIST_CLIENTS_FIXIDX,
9914     STRICT_ANSI_NOT_FIXIDX,
9915     STRICT_ANSI_NOT_CTD_FIXIDX,
9916     STRICT_ANSI_ONLY_FIXIDX,
9917     STRUCT_FILE_FIXIDX,
9918     STRUCT_SOCKADDR_FIXIDX,
9919     SUN_AUTH_PROTO_FIXIDX,
9920     SUN_BOGUS_IFDEF_FIXIDX,
9921     SUN_CATMACRO_FIXIDX,
9922     SUN_MALLOC_FIXIDX,
9923     SUN_RUSERS_SEMI_FIXIDX,
9924     SUN_SIGNAL_FIXIDX,
9925     SUNOS_STRLEN_FIXIDX,
9926     SUSE_LINUX_VT_CXX_FIXIDX,
9927     SVR4_DISABLE_OPT_FIXIDX,
9928     SVR4_GETCWD_FIXIDX,
9929     SVR4_PROFIL_FIXIDX,
9930     SVR4_SIGHANDLER_TYPE_FIXIDX,
9931     SVR4_UNDECLARED_GETRNGE_FIXIDX,
9932     SYSV68_STRING_FIXIDX,
9933     SYSZ_STDLIB_FOR_SUN_FIXIDX,
9934     THREAD_KEYWORD_FIXIDX,
9935     TINFO_CPLUSPLUS_FIXIDX,
9936     ULTRIX_CONST_FIXIDX,
9937     ULTRIX_CONST2_FIXIDX,
9938     VA_I960_MACRO_FIXIDX,
9939     VMS_ADD_MISSING_BRACES_FIXIDX,
9940     VMS_DECC_BUILTIN_FIXIDX,
9941     VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
9942     VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
9943     VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
9944     VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
9945     VMS_NO_64BIT_GETOPT_FIXIDX,
9946     VMS_USE_FAST_SETJMP_FIXIDX,
9947     VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
9948     VMS_USE_QUOTED_INCLUDE_FIXIDX,
9949     VOID_NULL_FIXIDX,
9950     VXWORKS_GCC_PROBLEM_FIXIDX,
9951     VXWORKS_IOCTL_MACRO_FIXIDX,
9952     VXWORKS_MKDIR_MACRO_FIXIDX,
9953     VXWORKS_NEEDS_VXTYPES_FIXIDX,
9954     VXWORKS_NEEDS_VXWORKS_FIXIDX,
9955     VXWORKS_REGS_FIXIDX,
9956     VXWORKS_TIME_FIXIDX,
9957     VXWORKS_WRITE_CONST_FIXIDX,
9958     X11_CLASS_FIXIDX,
9959     X11_CLASS_USAGE_FIXIDX,
9960     X11_NEW_FIXIDX,
9961     X11_SPRINTF_FIXIDX
9962 } t_fixinc_idx;
9964 tFixDesc fixDescList[ FIX_COUNT ] = {
9965   {  zAab_Aix_StdioName,    zAab_Aix_StdioList,
9966      apzAab_Aix_StdioMachs,
9967      AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9968      aAab_Aix_StdioTests,   apzAab_Aix_StdioPatch, 0 },
9970   {  zAab_Aix_FcntlName,    zAab_Aix_FcntlList,
9971      apzAab_Aix_FcntlMachs,
9972      AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
9973      aAab_Aix_FcntlTests,   apzAab_Aix_FcntlPatch, 0 },
9975   {  zAab_Darwin7_9_Long_Double_FuncsName,    zAab_Darwin7_9_Long_Double_FuncsList,
9976      apzAab_Darwin7_9_Long_Double_FuncsMachs,
9977      AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9978      aAab_Darwin7_9_Long_Double_FuncsTests,   apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
9980   {  zAab_Fd_Zero_Asm_Posix_Types_HName,    zAab_Fd_Zero_Asm_Posix_Types_HList,
9981      apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
9982      AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9983      aAab_Fd_Zero_Asm_Posix_Types_HTests,   apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
9985   {  zAab_Fd_Zero_Gnu_Types_HName,    zAab_Fd_Zero_Gnu_Types_HList,
9986      apzAab_Fd_Zero_Gnu_Types_HMachs,
9987      AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9988      aAab_Fd_Zero_Gnu_Types_HTests,   apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
9990   {  zAab_Fd_Zero_Selectbits_HName,    zAab_Fd_Zero_Selectbits_HList,
9991      apzAab_Fd_Zero_Selectbits_HMachs,
9992      AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9993      aAab_Fd_Zero_Selectbits_HTests,   apzAab_Fd_Zero_Selectbits_HPatch, 0 },
9995   {  zAab_Solaris_Sys_Varargs_HName,    zAab_Solaris_Sys_Varargs_HList,
9996      apzAab_Solaris_Sys_Varargs_HMachs,
9997      AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
9998      aAab_Solaris_Sys_Varargs_HTests,   apzAab_Solaris_Sys_Varargs_HPatch, 0 },
10000   {  zAab_Sun_MemcpyName,    zAab_Sun_MemcpyList,
10001      apzAab_Sun_MemcpyMachs,
10002      AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10003      aAab_Sun_MemcpyTests,   apzAab_Sun_MemcpyPatch, 0 },
10005   {  zAab_Vxworks_AssertName,    zAab_Vxworks_AssertList,
10006      apzAab_Vxworks_AssertMachs,
10007      AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10008      aAab_Vxworks_AssertTests,   apzAab_Vxworks_AssertPatch, 0 },
10010   {  zAab_Vxworks_Regs_VxtypesName,    zAab_Vxworks_Regs_VxtypesList,
10011      apzAab_Vxworks_Regs_VxtypesMachs,
10012      AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10013      aAab_Vxworks_Regs_VxtypesTests,   apzAab_Vxworks_Regs_VxtypesPatch, 0 },
10015   {  zAab_Vxworks_StdintName,    zAab_Vxworks_StdintList,
10016      apzAab_Vxworks_StdintMachs,
10017      AAB_VXWORKS_STDINT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10018      aAab_Vxworks_StdintTests,   apzAab_Vxworks_StdintPatch, 0 },
10020   {  zAab_Vxworks_UnistdName,    zAab_Vxworks_UnistdList,
10021      apzAab_Vxworks_UnistdMachs,
10022      AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10023      aAab_Vxworks_UnistdTests,   apzAab_Vxworks_UnistdPatch, 0 },
10025   {  zAix_AssertName,    zAix_AssertList,
10026      apzAix_AssertMachs,
10027      AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10028      aAix_AssertTests,   apzAix_AssertPatch, 0 },
10030   {  zAix_ComplexName,    zAix_ComplexList,
10031      apzAix_ComplexMachs,
10032      AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10033      aAix_ComplexTests,   apzAix_ComplexPatch, 0 },
10035   {  zAix_ExterncName,    zAix_ExterncList,
10036      apzAix_ExterncMachs,
10037      AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10038      aAix_ExterncTests,   apzAix_ExterncPatch, 0 },
10040   {  zAix_Externcpp1Name,    zAix_Externcpp1List,
10041      apzAix_Externcpp1Machs,
10042      AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10043      aAix_Externcpp1Tests,   apzAix_Externcpp1Patch, 0 },
10045   {  zAix_Externcpp2Name,    zAix_Externcpp2List,
10046      apzAix_Externcpp2Machs,
10047      AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10048      aAix_Externcpp2Tests,   apzAix_Externcpp2Patch, 0 },
10050   {  zAix_MallocName,    zAix_MallocList,
10051      apzAix_MallocMachs,
10052      AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10053      aAix_MallocTests,   apzAix_MallocPatch, 0 },
10055   {  zAix_Net_If_ArpName,    zAix_Net_If_ArpList,
10056      apzAix_Net_If_ArpMachs,
10057      AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10058      aAix_Net_If_ArpTests,   apzAix_Net_If_ArpPatch, 0 },
10060   {  zAix_NullName,    zAix_NullList,
10061      apzAix_NullMachs,
10062      AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10063      aAix_NullTests,   apzAix_NullPatch, 0 },
10065   {  zAix_Once_Init_1Name,    zAix_Once_Init_1List,
10066      apzAix_Once_Init_1Machs,
10067      AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10068      aAix_Once_Init_1Tests,   apzAix_Once_Init_1Patch, 0 },
10070   {  zAix_Once_Init_2Name,    zAix_Once_Init_2List,
10071      apzAix_Once_Init_2Machs,
10072      AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10073      aAix_Once_Init_2Tests,   apzAix_Once_Init_2Patch, 0 },
10075   {  zAix_Mutex_Initializer_1Name,    zAix_Mutex_Initializer_1List,
10076      apzAix_Mutex_Initializer_1Machs,
10077      AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10078      aAix_Mutex_Initializer_1Tests,   apzAix_Mutex_Initializer_1Patch, 0 },
10080   {  zAix_Cond_Initializer_1Name,    zAix_Cond_Initializer_1List,
10081      apzAix_Cond_Initializer_1Machs,
10082      AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10083      aAix_Cond_Initializer_1Tests,   apzAix_Cond_Initializer_1Patch, 0 },
10085   {  zAix_Rwlock_Initializer_1Name,    zAix_Rwlock_Initializer_1List,
10086      apzAix_Rwlock_Initializer_1Machs,
10087      AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10088      aAix_Rwlock_Initializer_1Tests,   apzAix_Rwlock_Initializer_1Patch, 0 },
10090   {  zAix_PthreadName,    zAix_PthreadList,
10091      apzAix_PthreadMachs,
10092      AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10093      aAix_PthreadTests,   apzAix_PthreadPatch, 0 },
10095   {  zAix_Stdint_1Name,    zAix_Stdint_1List,
10096      apzAix_Stdint_1Machs,
10097      AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10098      aAix_Stdint_1Tests,   apzAix_Stdint_1Patch, 0 },
10100   {  zAix_Stdint_2Name,    zAix_Stdint_2List,
10101      apzAix_Stdint_2Machs,
10102      AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10103      aAix_Stdint_2Tests,   apzAix_Stdint_2Patch, 0 },
10105   {  zAix_Stdint_3Name,    zAix_Stdint_3List,
10106      apzAix_Stdint_3Machs,
10107      AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10108      aAix_Stdint_3Tests,   apzAix_Stdint_3Patch, 0 },
10110   {  zAix_Stdint_4Name,    zAix_Stdint_4List,
10111      apzAix_Stdint_4Machs,
10112      AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10113      aAix_Stdint_4Tests,   apzAix_Stdint_4Patch, 0 },
10115   {  zAix_Stdint_5Name,    zAix_Stdint_5List,
10116      apzAix_Stdint_5Machs,
10117      AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10118      aAix_Stdint_5Tests,   apzAix_Stdint_5Patch, 0 },
10120   {  zAix_Stdio_InlineName,    zAix_Stdio_InlineList,
10121      apzAix_Stdio_InlineMachs,
10122      AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10123      aAix_Stdio_InlineTests,   apzAix_Stdio_InlinePatch, 0 },
10125   {  zAix_Stdlib_MallocName,    zAix_Stdlib_MallocList,
10126      apzAix_Stdlib_MallocMachs,
10127      AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10128      aAix_Stdlib_MallocTests,   apzAix_Stdlib_MallocPatch, 0 },
10130   {  zAix_Stdlib_ReallocName,    zAix_Stdlib_ReallocList,
10131      apzAix_Stdlib_ReallocMachs,
10132      AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10133      aAix_Stdlib_ReallocTests,   apzAix_Stdlib_ReallocPatch, 0 },
10135   {  zAix_Stdlib_CallocName,    zAix_Stdlib_CallocList,
10136      apzAix_Stdlib_CallocMachs,
10137      AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10138      aAix_Stdlib_CallocTests,   apzAix_Stdlib_CallocPatch, 0 },
10140   {  zAix_Stdlib_VallocName,    zAix_Stdlib_VallocList,
10141      apzAix_Stdlib_VallocMachs,
10142      AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10143      aAix_Stdlib_VallocTests,   apzAix_Stdlib_VallocPatch, 0 },
10145   {  zAix_Strtof_ConstName,    zAix_Strtof_ConstList,
10146      apzAix_Strtof_ConstMachs,
10147      AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10148      aAix_Strtof_ConstTests,   apzAix_Strtof_ConstPatch, 0 },
10150   {  zAix_SysmachineName,    zAix_SysmachineList,
10151      apzAix_SysmachineMachs,
10152      AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10153      aAix_SysmachineTests,   apzAix_SysmachinePatch, 0 },
10155   {  zAix_Syswait_2Name,    zAix_Syswait_2List,
10156      apzAix_Syswait_2Machs,
10157      AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10158      aAix_Syswait_2Tests,   apzAix_Syswait_2Patch, 0 },
10160   {  zAix_VolatileName,    zAix_VolatileList,
10161      apzAix_VolatileMachs,
10162      AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10163      aAix_VolatileTests,   apzAix_VolatilePatch, 0 },
10165   {  zAlpha___AssertName,    zAlpha___AssertList,
10166      apzAlpha___AssertMachs,
10167      ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10168      aAlpha___AssertTests,   apzAlpha___AssertPatch, 0 },
10170   {  zAlpha_AssertName,    zAlpha_AssertList,
10171      apzAlpha_AssertMachs,
10172      ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10173      aAlpha_AssertTests,   apzAlpha_AssertPatch, 0 },
10175   {  zAlpha_GetoptName,    zAlpha_GetoptList,
10176      apzAlpha_GetoptMachs,
10177      ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10178      aAlpha_GetoptTests,   apzAlpha_GetoptPatch, 0 },
10180   {  zAlpha_If_SemicolonName,    zAlpha_If_SemicolonList,
10181      apzAlpha_If_SemicolonMachs,
10182      ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10183      aAlpha_If_SemicolonTests,   apzAlpha_If_SemicolonPatch, 0 },
10185   {  zAlpha_ParensName,    zAlpha_ParensList,
10186      apzAlpha_ParensMachs,
10187      ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10188      aAlpha_ParensTests,   apzAlpha_ParensPatch, 0 },
10190   {  zAlpha_SbrkName,    zAlpha_SbrkList,
10191      apzAlpha_SbrkMachs,
10192      ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10193      aAlpha_SbrkTests,   apzAlpha_SbrkPatch, 0 },
10195   {  zAvoid_Bool_DefineName,    zAvoid_Bool_DefineList,
10196      apzAvoid_Bool_DefineMachs,
10197      AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10198      aAvoid_Bool_DefineTests,   apzAvoid_Bool_DefinePatch, 0 },
10200   {  zAvoid_Bool_TypeName,    zAvoid_Bool_TypeList,
10201      apzAvoid_Bool_TypeMachs,
10202      AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10203      aAvoid_Bool_TypeTests,   apzAvoid_Bool_TypePatch, 0 },
10205   {  zAvoid_Wchar_T_TypeName,    zAvoid_Wchar_T_TypeList,
10206      apzAvoid_Wchar_T_TypeMachs,
10207      AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10208      aAvoid_Wchar_T_TypeTests,   apzAvoid_Wchar_T_TypePatch, 0 },
10210   {  zBad_Struct_TermName,    zBad_Struct_TermList,
10211      apzBad_Struct_TermMachs,
10212      BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10213      aBad_Struct_TermTests,   apzBad_Struct_TermPatch, 0 },
10215   {  zBadquoteName,    zBadquoteList,
10216      apzBadquoteMachs,
10217      BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10218      aBadquoteTests,   apzBadquotePatch, 0 },
10220   {  zBroken_Assert_StdioName,    zBroken_Assert_StdioList,
10221      apzBroken_Assert_StdioMachs,
10222      BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10223      aBroken_Assert_StdioTests,   apzBroken_Assert_StdioPatch, 0 },
10225   {  zBroken_Assert_StdlibName,    zBroken_Assert_StdlibList,
10226      apzBroken_Assert_StdlibMachs,
10227      BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10228      aBroken_Assert_StdlibTests,   apzBroken_Assert_StdlibPatch, 0 },
10230   {  zBroken_CabsName,    zBroken_CabsList,
10231      apzBroken_CabsMachs,
10232      BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10233      aBroken_CabsTests,   apzBroken_CabsPatch, 0 },
10235   {  zBroken_NanName,    zBroken_NanList,
10236      apzBroken_NanMachs,
10237      BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10238      aBroken_NanTests,   apzBroken_NanPatch, 0 },
10240   {  zBsd_Stdio_Attrs_ConflictName,    zBsd_Stdio_Attrs_ConflictList,
10241      apzBsd_Stdio_Attrs_ConflictMachs,
10242      BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10243      aBsd_Stdio_Attrs_ConflictTests,   apzBsd_Stdio_Attrs_ConflictPatch, 0 },
10245   {  zCtrl_Quotes_DefName,    zCtrl_Quotes_DefList,
10246      apzCtrl_Quotes_DefMachs,
10247      CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10248      aCtrl_Quotes_DefTests,   apzCtrl_Quotes_DefPatch, 0 },
10250   {  zCtrl_Quotes_UseName,    zCtrl_Quotes_UseList,
10251      apzCtrl_Quotes_UseMachs,
10252      CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10253      aCtrl_Quotes_UseTests,   apzCtrl_Quotes_UsePatch, 0 },
10255   {  zCxx_UnreadyName,    zCxx_UnreadyList,
10256      apzCxx_UnreadyMachs,
10257      CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10258      aCxx_UnreadyTests,   apzCxx_UnreadyPatch, 0 },
10260   {  zDarwin_9_Long_Double_Funcs_2Name,    zDarwin_9_Long_Double_Funcs_2List,
10261      apzDarwin_9_Long_Double_Funcs_2Machs,
10262      DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10263      aDarwin_9_Long_Double_Funcs_2Tests,   apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
10265   {  zDarwin_ExterncName,    zDarwin_ExterncList,
10266      apzDarwin_ExterncMachs,
10267      DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10268      aDarwin_ExterncTests,   apzDarwin_ExterncPatch, 0 },
10270   {  zDarwin_Gcc4_BreakageName,    zDarwin_Gcc4_BreakageList,
10271      apzDarwin_Gcc4_BreakageMachs,
10272      DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10273      aDarwin_Gcc4_BreakageTests,   apzDarwin_Gcc4_BreakagePatch, 0 },
10275   {  zDarwin_Longjmp_NoreturnName,    zDarwin_Longjmp_NoreturnList,
10276      apzDarwin_Longjmp_NoreturnMachs,
10277      DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10278      aDarwin_Longjmp_NoreturnTests,   apzDarwin_Longjmp_NoreturnPatch, 0 },
10280   {  zDarwin_Private_ExternName,    zDarwin_Private_ExternList,
10281      apzDarwin_Private_ExternMachs,
10282      DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10283      aDarwin_Private_ExternTests,   apzDarwin_Private_ExternPatch, 0 },
10285   {  zDarwin_Stdint_1Name,    zDarwin_Stdint_1List,
10286      apzDarwin_Stdint_1Machs,
10287      DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10288      aDarwin_Stdint_1Tests,   apzDarwin_Stdint_1Patch, 0 },
10290   {  zDarwin_Stdint_2Name,    zDarwin_Stdint_2List,
10291      apzDarwin_Stdint_2Machs,
10292      DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10293      aDarwin_Stdint_2Tests,   apzDarwin_Stdint_2Patch, 0 },
10295   {  zDarwin_Stdint_3Name,    zDarwin_Stdint_3List,
10296      apzDarwin_Stdint_3Machs,
10297      DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10298      aDarwin_Stdint_3Tests,   apzDarwin_Stdint_3Patch, 0 },
10300   {  zDarwin_Stdint_4Name,    zDarwin_Stdint_4List,
10301      apzDarwin_Stdint_4Machs,
10302      DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10303      aDarwin_Stdint_4Tests,   apzDarwin_Stdint_4Patch, 0 },
10305   {  zDarwin_Stdint_5Name,    zDarwin_Stdint_5List,
10306      apzDarwin_Stdint_5Machs,
10307      DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10308      aDarwin_Stdint_5Tests,   apzDarwin_Stdint_5Patch, 0 },
10310   {  zDarwin_Stdint_6Name,    zDarwin_Stdint_6List,
10311      apzDarwin_Stdint_6Machs,
10312      DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10313      aDarwin_Stdint_6Tests,   apzDarwin_Stdint_6Patch, 0 },
10315   {  zDarwin_Stdint_7Name,    zDarwin_Stdint_7List,
10316      apzDarwin_Stdint_7Machs,
10317      DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10318      aDarwin_Stdint_7Tests,   apzDarwin_Stdint_7Patch, 0 },
10320   {  zDec_Intern_AsmName,    zDec_Intern_AsmList,
10321      apzDec_Intern_AsmMachs,
10322      DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10323      aDec_Intern_AsmTests,   apzDec_Intern_AsmPatch, 0 },
10325   {  zDjgpp_Wchar_HName,    zDjgpp_Wchar_HList,
10326      apzDjgpp_Wchar_HMachs,
10327      DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10328      aDjgpp_Wchar_HTests,   apzDjgpp_Wchar_HPatch, 0 },
10330   {  zEcd_CursorName,    zEcd_CursorList,
10331      apzEcd_CursorMachs,
10332      ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10333      aEcd_CursorTests,   apzEcd_CursorPatch, 0 },
10335   {  zFeraiseexcept_Nosse_DivbyzeroName,    zFeraiseexcept_Nosse_DivbyzeroList,
10336      apzFeraiseexcept_Nosse_DivbyzeroMachs,
10337      FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10338      aFeraiseexcept_Nosse_DivbyzeroTests,   apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
10340   {  zFeraiseexcept_Nosse_InvalidName,    zFeraiseexcept_Nosse_InvalidList,
10341      apzFeraiseexcept_Nosse_InvalidMachs,
10342      FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10343      aFeraiseexcept_Nosse_InvalidTests,   apzFeraiseexcept_Nosse_InvalidPatch, 0 },
10345   {  zFreebsd_Gcc3_BreakageName,    zFreebsd_Gcc3_BreakageList,
10346      apzFreebsd_Gcc3_BreakageMachs,
10347      FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10348      aFreebsd_Gcc3_BreakageTests,   apzFreebsd_Gcc3_BreakagePatch, 0 },
10350   {  zFreebsd_Gcc4_BreakageName,    zFreebsd_Gcc4_BreakageList,
10351      apzFreebsd_Gcc4_BreakageMachs,
10352      FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10353      aFreebsd_Gcc4_BreakageTests,   apzFreebsd_Gcc4_BreakagePatch, 0 },
10355   {  zGlibc_C99_Inline_1Name,    zGlibc_C99_Inline_1List,
10356      apzGlibc_C99_Inline_1Machs,
10357      GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10358      aGlibc_C99_Inline_1Tests,   apzGlibc_C99_Inline_1Patch, 0 },
10360   {  zGlibc_C99_Inline_1aName,    zGlibc_C99_Inline_1aList,
10361      apzGlibc_C99_Inline_1aMachs,
10362      GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10363      aGlibc_C99_Inline_1aTests,   apzGlibc_C99_Inline_1aPatch, 0 },
10365   {  zGlibc_C99_Inline_2Name,    zGlibc_C99_Inline_2List,
10366      apzGlibc_C99_Inline_2Machs,
10367      GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10368      aGlibc_C99_Inline_2Tests,   apzGlibc_C99_Inline_2Patch, 0 },
10370   {  zGlibc_C99_Inline_3Name,    zGlibc_C99_Inline_3List,
10371      apzGlibc_C99_Inline_3Machs,
10372      GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10373      aGlibc_C99_Inline_3Tests,   apzGlibc_C99_Inline_3Patch, 0 },
10375   {  zGlibc_C99_Inline_4Name,    zGlibc_C99_Inline_4List,
10376      apzGlibc_C99_Inline_4Machs,
10377      GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10378      aGlibc_C99_Inline_4Tests,   apzGlibc_C99_Inline_4Patch, 0 },
10380   {  zGlibc_Mutex_InitName,    zGlibc_Mutex_InitList,
10381      apzGlibc_Mutex_InitMachs,
10382      GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
10383      aGlibc_Mutex_InitTests,   apzGlibc_Mutex_InitPatch, 0 },
10385   {  zGlibc_StdintName,    zGlibc_StdintList,
10386      apzGlibc_StdintMachs,
10387      GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10388      aGlibc_StdintTests,   apzGlibc_StdintPatch, 0 },
10390   {  zGlibc_StrncpyName,    zGlibc_StrncpyList,
10391      apzGlibc_StrncpyMachs,
10392      GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10393      aGlibc_StrncpyTests,   apzGlibc_StrncpyPatch, 0 },
10395   {  zGlibc_TgmathName,    zGlibc_TgmathList,
10396      apzGlibc_TgmathMachs,
10397      GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10398      aGlibc_TgmathTests,   apzGlibc_TgmathPatch, 0 },
10400   {  zGnu_TypesName,    zGnu_TypesList,
10401      apzGnu_TypesMachs,
10402      GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10403      aGnu_TypesTests,   apzGnu_TypesPatch, 0 },
10405   {  zHp_InlineName,    zHp_InlineList,
10406      apzHp_InlineMachs,
10407      HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10408      aHp_InlineTests,   apzHp_InlinePatch, 0 },
10410   {  zHp_SysfileName,    zHp_SysfileList,
10411      apzHp_SysfileMachs,
10412      HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10413      aHp_SysfileTests,   apzHp_SysfilePatch, 0 },
10415   {  zHppa_Hpux_Fp_MacrosName,    zHppa_Hpux_Fp_MacrosList,
10416      apzHppa_Hpux_Fp_MacrosMachs,
10417      HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10418      aHppa_Hpux_Fp_MacrosTests,   apzHppa_Hpux_Fp_MacrosPatch, 0 },
10420   {  zHpux10_Cpp_Pow_InlineName,    zHpux10_Cpp_Pow_InlineList,
10421      apzHpux10_Cpp_Pow_InlineMachs,
10422      HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10423      aHpux10_Cpp_Pow_InlineTests,   apzHpux10_Cpp_Pow_InlinePatch, 0 },
10425   {  zHpux11_Cpp_Pow_InlineName,    zHpux11_Cpp_Pow_InlineList,
10426      apzHpux11_Cpp_Pow_InlineMachs,
10427      HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10428      aHpux11_Cpp_Pow_InlineTests,   apzHpux11_Cpp_Pow_InlinePatch, 0 },
10430   {  zHpux10_Ctype_Declarations1Name,    zHpux10_Ctype_Declarations1List,
10431      apzHpux10_Ctype_Declarations1Machs,
10432      HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10433      aHpux10_Ctype_Declarations1Tests,   apzHpux10_Ctype_Declarations1Patch, 0 },
10435   {  zHpux10_Ctype_Declarations2Name,    zHpux10_Ctype_Declarations2List,
10436      apzHpux10_Ctype_Declarations2Machs,
10437      HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10438      aHpux10_Ctype_Declarations2Tests,   apzHpux10_Ctype_Declarations2Patch, 0 },
10440   {  zHpux10_Stdio_DeclarationsName,    zHpux10_Stdio_DeclarationsList,
10441      apzHpux10_Stdio_DeclarationsMachs,
10442      HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10443      aHpux10_Stdio_DeclarationsTests,   apzHpux10_Stdio_DeclarationsPatch, 0 },
10445   {  zHpux11_AbsName,    zHpux11_AbsList,
10446      apzHpux11_AbsMachs,
10447      HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10448      aHpux11_AbsTests,   apzHpux11_AbsPatch, 0 },
10450   {  zHpux11_Lwp_Rwlock_ValidName,    zHpux11_Lwp_Rwlock_ValidList,
10451      apzHpux11_Lwp_Rwlock_ValidMachs,
10452      HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10453      aHpux11_Lwp_Rwlock_ValidTests,   apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
10455   {  zHpux11_Extern_SendfileName,    zHpux11_Extern_SendfileList,
10456      apzHpux11_Extern_SendfileMachs,
10457      HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10458      aHpux11_Extern_SendfileTests,   apzHpux11_Extern_SendfilePatch, 0 },
10460   {  zHpux11_Extern_SendpathName,    zHpux11_Extern_SendpathList,
10461      apzHpux11_Extern_SendpathMachs,
10462      HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10463      aHpux11_Extern_SendpathTests,   apzHpux11_Extern_SendpathPatch, 0 },
10465   {  zHpux11_FabsfName,    zHpux11_FabsfList,
10466      apzHpux11_FabsfMachs,
10467      HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10468      aHpux11_FabsfTests,   apzHpux11_FabsfPatch, 0 },
10470   {  zHpux11_Pthread_ConstName,    zHpux11_Pthread_ConstList,
10471      apzHpux11_Pthread_ConstMachs,
10472      HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10473      aHpux11_Pthread_ConstTests,   apzHpux11_Pthread_ConstPatch, 0 },
10475   {  zHpux11_Size_TName,    zHpux11_Size_TList,
10476      apzHpux11_Size_TMachs,
10477      HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10478      aHpux11_Size_TTests,   apzHpux11_Size_TPatch, 0 },
10480   {  zHpux11_SnprintfName,    zHpux11_SnprintfList,
10481      apzHpux11_SnprintfMachs,
10482      HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10483      aHpux11_SnprintfTests,   apzHpux11_SnprintfPatch, 0 },
10485   {  zHpux11_VsnprintfName,    zHpux11_VsnprintfList,
10486      apzHpux11_VsnprintfMachs,
10487      HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10488      aHpux11_VsnprintfTests,   apzHpux11_VsnprintfPatch, 0 },
10490   {  zHpux_VsscanfName,    zHpux_VsscanfList,
10491      apzHpux_VsscanfMachs,
10492      HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10493      aHpux_VsscanfTests,   apzHpux_VsscanfPatch, 0 },
10495   {  zHpux8_Bogus_InlinesName,    zHpux8_Bogus_InlinesList,
10496      apzHpux8_Bogus_InlinesMachs,
10497      HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
10498      aHpux8_Bogus_InlinesTests,   apzHpux8_Bogus_InlinesPatch, 0 },
10500   {  zHpux_C99_IntptrName,    zHpux_C99_IntptrList,
10501      apzHpux_C99_IntptrMachs,
10502      HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
10503      aHpux_C99_IntptrTests,   apzHpux_C99_IntptrPatch, 0 },
10505   {  zHpux_C99_InttypesName,    zHpux_C99_InttypesList,
10506      apzHpux_C99_InttypesMachs,
10507      HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
10508      aHpux_C99_InttypesTests,   apzHpux_C99_InttypesPatch, 0 },
10510   {  zHpux_C99_Inttypes2Name,    zHpux_C99_Inttypes2List,
10511      apzHpux_C99_Inttypes2Machs,
10512      HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
10513      aHpux_C99_Inttypes2Tests,   apzHpux_C99_Inttypes2Patch, 0 },
10515   {  zHpux_Ctype_MacrosName,    zHpux_Ctype_MacrosList,
10516      apzHpux_Ctype_MacrosMachs,
10517      HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10518      aHpux_Ctype_MacrosTests,   apzHpux_Ctype_MacrosPatch, 0 },
10520   {  zHpux_Extern_ErrnoName,    zHpux_Extern_ErrnoList,
10521      apzHpux_Extern_ErrnoMachs,
10522      HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10523      aHpux_Extern_ErrnoTests,   apzHpux_Extern_ErrnoPatch, 0 },
10525   {  zHpux_HtonlName,    zHpux_HtonlList,
10526      apzHpux_HtonlMachs,
10527      HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10528      aHpux_HtonlTests,   apzHpux_HtonlPatch, 0 },
10530   {  zHpux_Imaginary_IName,    zHpux_Imaginary_IList,
10531      apzHpux_Imaginary_IMachs,
10532      HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10533      aHpux_Imaginary_ITests,   apzHpux_Imaginary_IPatch, 0 },
10535   {  zHpux_Inttype_Int8_TName,    zHpux_Inttype_Int8_TList,
10536      apzHpux_Inttype_Int8_TMachs,
10537      HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10538      aHpux_Inttype_Int8_TTests,   apzHpux_Inttype_Int8_TPatch, 0 },
10540   {  zHpux_Long_DoubleName,    zHpux_Long_DoubleList,
10541      apzHpux_Long_DoubleMachs,
10542      HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
10543      aHpux_Long_DoubleTests,   apzHpux_Long_DoublePatch, 0 },
10545   {  zHpux_Long_Double_2Name,    zHpux_Long_Double_2List,
10546      apzHpux_Long_Double_2Machs,
10547      HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10548      aHpux_Long_Double_2Tests,   apzHpux_Long_Double_2Patch, 0 },
10550   {  zHpux_Pthread_InitializersName,    zHpux_Pthread_InitializersList,
10551      apzHpux_Pthread_InitializersMachs,
10552      HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
10553      aHpux_Pthread_InitializersTests,   apzHpux_Pthread_InitializersPatch, 0 },
10555   {  zHpux_Spu_InfoName,    zHpux_Spu_InfoList,
10556      apzHpux_Spu_InfoMachs,
10557      HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10558      aHpux_Spu_InfoTests,   apzHpux_Spu_InfoPatch, 0 },
10560   {  zHpux_Stdint_Least_FastName,    zHpux_Stdint_Least_FastList,
10561      apzHpux_Stdint_Least_FastMachs,
10562      HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10563      aHpux_Stdint_Least_FastTests,   apzHpux_Stdint_Least_FastPatch, 0 },
10565   {  zHpux_LongjmpName,    zHpux_LongjmpList,
10566      apzHpux_LongjmpMachs,
10567      HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10568      aHpux_LongjmpTests,   apzHpux_LongjmpPatch, 0 },
10570   {  zHpux_SystimeName,    zHpux_SystimeList,
10571      apzHpux_SystimeMachs,
10572      HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10573      aHpux_SystimeTests,   apzHpux_SystimePatch, 0 },
10575   {  zHuge_Val_HexName,    zHuge_Val_HexList,
10576      apzHuge_Val_HexMachs,
10577      HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10578      aHuge_Val_HexTests,   apzHuge_Val_HexPatch, 0 },
10580   {  zHuge_Valf_HexName,    zHuge_Valf_HexList,
10581      apzHuge_Valf_HexMachs,
10582      HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10583      aHuge_Valf_HexTests,   apzHuge_Valf_HexPatch, 0 },
10585   {  zHuge_Vall_HexName,    zHuge_Vall_HexList,
10586      apzHuge_Vall_HexMachs,
10587      HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10588      aHuge_Vall_HexTests,   apzHuge_Vall_HexPatch, 0 },
10590   {  zInt_Abort_Free_And_ExitName,    zInt_Abort_Free_And_ExitList,
10591      apzInt_Abort_Free_And_ExitMachs,
10592      INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10593      aInt_Abort_Free_And_ExitTests,   apzInt_Abort_Free_And_ExitPatch, 0 },
10595   {  zIo_Quotes_DefName,    zIo_Quotes_DefList,
10596      apzIo_Quotes_DefMachs,
10597      IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10598      aIo_Quotes_DefTests,   apzIo_Quotes_DefPatch, 0 },
10600   {  zIo_Quotes_UseName,    zIo_Quotes_UseList,
10601      apzIo_Quotes_UseMachs,
10602      IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10603      aIo_Quotes_UseTests,   apzIo_Quotes_UsePatch, 0 },
10605   {  zIp_Missing_SemiName,    zIp_Missing_SemiList,
10606      apzIp_Missing_SemiMachs,
10607      IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
10608      aIp_Missing_SemiTests,   apzIp_Missing_SemiPatch, 0 },
10610   {  zIrix_Limits_ConstName,    zIrix_Limits_ConstList,
10611      apzIrix_Limits_ConstMachs,
10612      IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10613      aIrix_Limits_ConstTests,   apzIrix_Limits_ConstPatch, 0 },
10615   {  zIrix_Stdio_Va_ListName,    zIrix_Stdio_Va_ListList,
10616      apzIrix_Stdio_Va_ListMachs,
10617      IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10618      aIrix_Stdio_Va_ListTests,   apzIrix_Stdio_Va_ListPatch, 0 },
10620   {  zKandr_ConcatName,    zKandr_ConcatList,
10621      apzKandr_ConcatMachs,
10622      KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10623      aKandr_ConcatTests,   apzKandr_ConcatPatch, 0 },
10625   {  zLinux_Ia64_UcontextName,    zLinux_Ia64_UcontextList,
10626      apzLinux_Ia64_UcontextMachs,
10627      LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10628      aLinux_Ia64_UcontextTests,   apzLinux_Ia64_UcontextPatch, 0 },
10630   {  zLynxos_No_Warning_In_Sys_Time_HName,    zLynxos_No_Warning_In_Sys_Time_HList,
10631      apzLynxos_No_Warning_In_Sys_Time_HMachs,
10632      LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10633      aLynxos_No_Warning_In_Sys_Time_HTests,   apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
10635   {  zLynxos_Missing_PutenvName,    zLynxos_Missing_PutenvList,
10636      apzLynxos_Missing_PutenvMachs,
10637      LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10638      aLynxos_Missing_PutenvTests,   apzLynxos_Missing_PutenvPatch, 0 },
10640   {  zMachine_Ansi_H_Va_ListName,    zMachine_Ansi_H_Va_ListList,
10641      apzMachine_Ansi_H_Va_ListMachs,
10642      MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10643      aMachine_Ansi_H_Va_ListTests,   apzMachine_Ansi_H_Va_ListPatch, 0 },
10645   {  zMachine_NameName,    zMachine_NameList,
10646      apzMachine_NameMachs,
10647      MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10648      aMachine_NameTests,   apzMachine_NamePatch, 0 },
10650   {  zMath_ExceptionName,    zMath_ExceptionList,
10651      apzMath_ExceptionMachs,
10652      MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10653      aMath_ExceptionTests,   apzMath_ExceptionPatch, 0 },
10655   {  zMath_Huge_Val_From_Dbl_MaxName,    zMath_Huge_Val_From_Dbl_MaxList,
10656      apzMath_Huge_Val_From_Dbl_MaxMachs,
10657      MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
10658      aMath_Huge_Val_From_Dbl_MaxTests,   apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
10660   {  zNested_Auth_DesName,    zNested_Auth_DesList,
10661      apzNested_Auth_DesMachs,
10662      NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10663      aNested_Auth_DesTests,   apzNested_Auth_DesPatch, 0 },
10665   {  zNetbsd_C99_Inline_1Name,    zNetbsd_C99_Inline_1List,
10666      apzNetbsd_C99_Inline_1Machs,
10667      NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10668      aNetbsd_C99_Inline_1Tests,   apzNetbsd_C99_Inline_1Patch, 0 },
10670   {  zNetbsd_C99_Inline_2Name,    zNetbsd_C99_Inline_2List,
10671      apzNetbsd_C99_Inline_2Machs,
10672      NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10673      aNetbsd_C99_Inline_2Tests,   apzNetbsd_C99_Inline_2Patch, 0 },
10675   {  zNetbsd_Extra_SemicolonName,    zNetbsd_Extra_SemicolonList,
10676      apzNetbsd_Extra_SemicolonMachs,
10677      NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10678      aNetbsd_Extra_SemicolonTests,   apzNetbsd_Extra_SemicolonPatch, 0 },
10680   {  zNewlib_Stdint_1Name,    zNewlib_Stdint_1List,
10681      apzNewlib_Stdint_1Machs,
10682      NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
10683      aNewlib_Stdint_1Tests,   apzNewlib_Stdint_1Patch, 0 },
10685   {  zNewlib_Stdint_2Name,    zNewlib_Stdint_2List,
10686      apzNewlib_Stdint_2Machs,
10687      NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10688      aNewlib_Stdint_2Tests,   apzNewlib_Stdint_2Patch, 0 },
10690   {  zNext_Math_PrefixName,    zNext_Math_PrefixList,
10691      apzNext_Math_PrefixMachs,
10692      NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10693      aNext_Math_PrefixTests,   apzNext_Math_PrefixPatch, 0 },
10695   {  zNext_TemplateName,    zNext_TemplateList,
10696      apzNext_TemplateMachs,
10697      NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10698      aNext_TemplateTests,   apzNext_TemplatePatch, 0 },
10700   {  zNext_VolitileName,    zNext_VolitileList,
10701      apzNext_VolitileMachs,
10702      NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10703      aNext_VolitileTests,   apzNext_VolitilePatch, 0 },
10705   {  zNext_Wait_UnionName,    zNext_Wait_UnionList,
10706      apzNext_Wait_UnionMachs,
10707      NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10708      aNext_Wait_UnionTests,   apzNext_Wait_UnionPatch, 0 },
10710   {  zNodeent_SyntaxName,    zNodeent_SyntaxList,
10711      apzNodeent_SyntaxMachs,
10712      NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10713      aNodeent_SyntaxTests,   apzNodeent_SyntaxPatch, 0 },
10715   {  zOpenbsd_Null_DefinitionName,    zOpenbsd_Null_DefinitionList,
10716      apzOpenbsd_Null_DefinitionMachs,
10717      OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10718      aOpenbsd_Null_DefinitionTests,   apzOpenbsd_Null_DefinitionPatch, 0 },
10720   {  zObstack_Lvalue_CastName,    zObstack_Lvalue_CastList,
10721      apzObstack_Lvalue_CastMachs,
10722      OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10723      aObstack_Lvalue_CastTests,   apzObstack_Lvalue_CastPatch, 0 },
10725   {  zOpenbsd_Va_StartName,    zOpenbsd_Va_StartList,
10726      apzOpenbsd_Va_StartMachs,
10727      OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10728      aOpenbsd_Va_StartTests,   apzOpenbsd_Va_StartPatch, 0 },
10730   {  zOsf_Namespace_AName,    zOsf_Namespace_AList,
10731      apzOsf_Namespace_AMachs,
10732      OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10733      aOsf_Namespace_ATests,   apzOsf_Namespace_APatch, 0 },
10735   {  zOsf_Namespace_CName,    zOsf_Namespace_CList,
10736      apzOsf_Namespace_CMachs,
10737      OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10738      aOsf_Namespace_CTests,   apzOsf_Namespace_CPatch, 0 },
10740   {  zPthread_Incomplete_Struct_ArgumentName,    zPthread_Incomplete_Struct_ArgumentList,
10741      apzPthread_Incomplete_Struct_ArgumentMachs,
10742      PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10743      aPthread_Incomplete_Struct_ArgumentTests,   apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
10745   {  zRead_Ret_TypeName,    zRead_Ret_TypeList,
10746      apzRead_Ret_TypeMachs,
10747      READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10748      aRead_Ret_TypeTests,   apzRead_Ret_TypePatch, 0 },
10750   {  zRpc_Xdr_Lvalue_Cast_AName,    zRpc_Xdr_Lvalue_Cast_AList,
10751      apzRpc_Xdr_Lvalue_Cast_AMachs,
10752      RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10753      aRpc_Xdr_Lvalue_Cast_ATests,   apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
10755   {  zRpc_Xdr_Lvalue_Cast_BName,    zRpc_Xdr_Lvalue_Cast_BList,
10756      apzRpc_Xdr_Lvalue_Cast_BMachs,
10757      RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10758      aRpc_Xdr_Lvalue_Cast_BTests,   apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
10760   {  zRs6000_DoubleName,    zRs6000_DoubleList,
10761      apzRs6000_DoubleMachs,
10762      RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10763      aRs6000_DoubleTests,   apzRs6000_DoublePatch, 0 },
10765   {  zRs6000_FchmodName,    zRs6000_FchmodList,
10766      apzRs6000_FchmodMachs,
10767      RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10768      aRs6000_FchmodTests,   apzRs6000_FchmodPatch, 0 },
10770   {  zRs6000_ParamName,    zRs6000_ParamList,
10771      apzRs6000_ParamMachs,
10772      RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10773      aRs6000_ParamTests,   apzRs6000_ParamPatch, 0 },
10775   {  zSolaris___RestrictName,    zSolaris___RestrictList,
10776      apzSolaris___RestrictMachs,
10777      SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10778      aSolaris___RestrictTests,   apzSolaris___RestrictPatch, 0 },
10780   {  zSolaris_ComplexName,    zSolaris_ComplexList,
10781      apzSolaris_ComplexMachs,
10782      SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
10783      aSolaris_ComplexTests,   apzSolaris_ComplexPatch, 0 },
10785   {  zSolaris_Complex_CxxName,    zSolaris_Complex_CxxList,
10786      apzSolaris_Complex_CxxMachs,
10787      SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
10788      aSolaris_Complex_CxxTests,   apzSolaris_Complex_CxxPatch, 0 },
10790   {  zSolaris_Cxx_LinkageName,    zSolaris_Cxx_LinkageList,
10791      apzSolaris_Cxx_LinkageMachs,
10792      SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10793      aSolaris_Cxx_LinkageTests,   apzSolaris_Cxx_LinkagePatch, 0 },
10795   {  zSolaris_Getc_Strict_StdcName,    zSolaris_Getc_Strict_StdcList,
10796      apzSolaris_Getc_Strict_StdcMachs,
10797      SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10798      aSolaris_Getc_Strict_StdcTests,   apzSolaris_Getc_Strict_StdcPatch, 0 },
10800   {  zSolaris_Int_ConstName,    zSolaris_Int_ConstList,
10801      apzSolaris_Int_ConstMachs,
10802      SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10803      aSolaris_Int_ConstTests,   apzSolaris_Int_ConstPatch, 0 },
10805   {  zSolaris_Int_Limits_1Name,    zSolaris_Int_Limits_1List,
10806      apzSolaris_Int_Limits_1Machs,
10807      SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10808      aSolaris_Int_Limits_1Tests,   apzSolaris_Int_Limits_1Patch, 0 },
10810   {  zSolaris_Int_Limits_2Name,    zSolaris_Int_Limits_2List,
10811      apzSolaris_Int_Limits_2Machs,
10812      SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10813      aSolaris_Int_Limits_2Tests,   apzSolaris_Int_Limits_2Patch, 0 },
10815   {  zSolaris_Int_Limits_3Name,    zSolaris_Int_Limits_3List,
10816      apzSolaris_Int_Limits_3Machs,
10817      SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10818      aSolaris_Int_Limits_3Tests,   apzSolaris_Int_Limits_3Patch, 0 },
10820   {  zSolaris_Math_1Name,    zSolaris_Math_1List,
10821      apzSolaris_Math_1Machs,
10822      SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10823      aSolaris_Math_1Tests,   apzSolaris_Math_1Patch, 0 },
10825   {  zSolaris_Math_10Name,    zSolaris_Math_10List,
10826      apzSolaris_Math_10Machs,
10827      SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10828      aSolaris_Math_10Tests,   apzSolaris_Math_10Patch, 0 },
10830   {  zSolaris_Math_2Name,    zSolaris_Math_2List,
10831      apzSolaris_Math_2Machs,
10832      SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10833      aSolaris_Math_2Tests,   apzSolaris_Math_2Patch, 0 },
10835   {  zSolaris_Math_3Name,    zSolaris_Math_3List,
10836      apzSolaris_Math_3Machs,
10837      SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10838      aSolaris_Math_3Tests,   apzSolaris_Math_3Patch, 0 },
10840   {  zSolaris_Math_4Name,    zSolaris_Math_4List,
10841      apzSolaris_Math_4Machs,
10842      SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10843      aSolaris_Math_4Tests,   apzSolaris_Math_4Patch, 0 },
10845   {  zSolaris_Math_8Name,    zSolaris_Math_8List,
10846      apzSolaris_Math_8Machs,
10847      SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10848      aSolaris_Math_8Tests,   apzSolaris_Math_8Patch, 0 },
10850   {  zSolaris_Math_9Name,    zSolaris_Math_9List,
10851      apzSolaris_Math_9Machs,
10852      SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10853      aSolaris_Math_9Tests,   apzSolaris_Math_9Patch, 0 },
10855   {  zSolaris_Math_11Name,    zSolaris_Math_11List,
10856      apzSolaris_Math_11Machs,
10857      SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10858      aSolaris_Math_11Tests,   apzSolaris_Math_11Patch, 0 },
10860   {  zSolaris_Once_Init_1Name,    zSolaris_Once_Init_1List,
10861      apzSolaris_Once_Init_1Machs,
10862      SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10863      aSolaris_Once_Init_1Tests,   apzSolaris_Once_Init_1Patch, 0 },
10865   {  zSolaris_Posix_Spawn_RestrictName,    zSolaris_Posix_Spawn_RestrictList,
10866      apzSolaris_Posix_Spawn_RestrictMachs,
10867      SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10868      aSolaris_Posix_Spawn_RestrictTests,   apzSolaris_Posix_Spawn_RestrictPatch, 0 },
10870   {  zSolaris_Pow_Int_OverloadName,    zSolaris_Pow_Int_OverloadList,
10871      apzSolaris_Pow_Int_OverloadMachs,
10872      SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10873      aSolaris_Pow_Int_OverloadTests,   apzSolaris_Pow_Int_OverloadPatch, 0 },
10875   {  zSolaris_Rwlock_Init_1Name,    zSolaris_Rwlock_Init_1List,
10876      apzSolaris_Rwlock_Init_1Machs,
10877      SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10878      aSolaris_Rwlock_Init_1Tests,   apzSolaris_Rwlock_Init_1Patch, 0 },
10880   {  zSolaris_Std___FilbufName,    zSolaris_Std___FilbufList,
10881      apzSolaris_Std___FilbufMachs,
10882      SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10883      aSolaris_Std___FilbufTests,   apzSolaris_Std___FilbufPatch, 0 },
10885   {  zSolaris_Stdio_TagName,    zSolaris_Stdio_TagList,
10886      apzSolaris_Stdio_TagMachs,
10887      SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
10888      aSolaris_Stdio_TagTests,   apzSolaris_Stdio_TagPatch, 0 },
10890   {  zStatsswtchName,    zStatsswtchList,
10891      apzStatsswtchMachs,
10892      STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10893      aStatsswtchTests,   apzStatsswtchPatch, 0 },
10895   {  zStdio_Stdarg_HName,    zStdio_Stdarg_HList,
10896      apzStdio_Stdarg_HMachs,
10897      STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
10898      aStdio_Stdarg_HTests,   apzStdio_Stdarg_HPatch, 0 },
10900   {  zStdio_Va_ListName,    zStdio_Va_ListList,
10901      apzStdio_Va_ListMachs,
10902      STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
10903      aStdio_Va_ListTests,   apzStdio_Va_ListPatch, 0 },
10905   {  zStdio_Va_List_ClientsName,    zStdio_Va_List_ClientsList,
10906      apzStdio_Va_List_ClientsMachs,
10907      STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
10908      aStdio_Va_List_ClientsTests,   apzStdio_Va_List_ClientsPatch, 0 },
10910   {  zStrict_Ansi_NotName,    zStrict_Ansi_NotList,
10911      apzStrict_Ansi_NotMachs,
10912      STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10913      aStrict_Ansi_NotTests,   apzStrict_Ansi_NotPatch, 0 },
10915   {  zStrict_Ansi_Not_CtdName,    zStrict_Ansi_Not_CtdList,
10916      apzStrict_Ansi_Not_CtdMachs,
10917      STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10918      aStrict_Ansi_Not_CtdTests,   apzStrict_Ansi_Not_CtdPatch, 0 },
10920   {  zStrict_Ansi_OnlyName,    zStrict_Ansi_OnlyList,
10921      apzStrict_Ansi_OnlyMachs,
10922      STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10923      aStrict_Ansi_OnlyTests,   apzStrict_Ansi_OnlyPatch, 0 },
10925   {  zStruct_FileName,    zStruct_FileList,
10926      apzStruct_FileMachs,
10927      STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10928      aStruct_FileTests,   apzStruct_FilePatch, 0 },
10930   {  zStruct_SockaddrName,    zStruct_SockaddrList,
10931      apzStruct_SockaddrMachs,
10932      STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10933      aStruct_SockaddrTests,   apzStruct_SockaddrPatch, 0 },
10935   {  zSun_Auth_ProtoName,    zSun_Auth_ProtoList,
10936      apzSun_Auth_ProtoMachs,
10937      SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10938      aSun_Auth_ProtoTests,   apzSun_Auth_ProtoPatch, 0 },
10940   {  zSun_Bogus_IfdefName,    zSun_Bogus_IfdefList,
10941      apzSun_Bogus_IfdefMachs,
10942      SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10943      aSun_Bogus_IfdefTests,   apzSun_Bogus_IfdefPatch, 0 },
10945   {  zSun_CatmacroName,    zSun_CatmacroList,
10946      apzSun_CatmacroMachs,
10947      SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10948      aSun_CatmacroTests,   apzSun_CatmacroPatch, 0 },
10950   {  zSun_MallocName,    zSun_MallocList,
10951      apzSun_MallocMachs,
10952      SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
10953      aSun_MallocTests,   apzSun_MallocPatch, 0 },
10955   {  zSun_Rusers_SemiName,    zSun_Rusers_SemiList,
10956      apzSun_Rusers_SemiMachs,
10957      SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
10958      aSun_Rusers_SemiTests,   apzSun_Rusers_SemiPatch, 0 },
10960   {  zSun_SignalName,    zSun_SignalList,
10961      apzSun_SignalMachs,
10962      SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10963      aSun_SignalTests,   apzSun_SignalPatch, 0 },
10965   {  zSunos_StrlenName,    zSunos_StrlenList,
10966      apzSunos_StrlenMachs,
10967      SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10968      aSunos_StrlenTests,   apzSunos_StrlenPatch, 0 },
10970   {  zSuse_Linux_Vt_CxxName,    zSuse_Linux_Vt_CxxList,
10971      apzSuse_Linux_Vt_CxxMachs,
10972      SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10973      aSuse_Linux_Vt_CxxTests,   apzSuse_Linux_Vt_CxxPatch, 0 },
10975   {  zSvr4_Disable_OptName,    zSvr4_Disable_OptList,
10976      apzSvr4_Disable_OptMachs,
10977      SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
10978      aSvr4_Disable_OptTests,   apzSvr4_Disable_OptPatch, 0 },
10980   {  zSvr4_GetcwdName,    zSvr4_GetcwdList,
10981      apzSvr4_GetcwdMachs,
10982      SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10983      aSvr4_GetcwdTests,   apzSvr4_GetcwdPatch, 0 },
10985   {  zSvr4_ProfilName,    zSvr4_ProfilList,
10986      apzSvr4_ProfilMachs,
10987      SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10988      aSvr4_ProfilTests,   apzSvr4_ProfilPatch, 0 },
10990   {  zSvr4_Sighandler_TypeName,    zSvr4_Sighandler_TypeList,
10991      apzSvr4_Sighandler_TypeMachs,
10992      SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10993      aSvr4_Sighandler_TypeTests,   apzSvr4_Sighandler_TypePatch, 0 },
10995   {  zSvr4_Undeclared_GetrngeName,    zSvr4_Undeclared_GetrngeList,
10996      apzSvr4_Undeclared_GetrngeMachs,
10997      SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10998      aSvr4_Undeclared_GetrngeTests,   apzSvr4_Undeclared_GetrngePatch, 0 },
11000   {  zSysv68_StringName,    zSysv68_StringList,
11001      apzSysv68_StringMachs,
11002      SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11003      aSysv68_StringTests,   apzSysv68_StringPatch, 0 },
11005   {  zSysz_Stdlib_For_SunName,    zSysz_Stdlib_For_SunList,
11006      apzSysz_Stdlib_For_SunMachs,
11007      SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11008      aSysz_Stdlib_For_SunTests,   apzSysz_Stdlib_For_SunPatch, 0 },
11010   {  zThread_KeywordName,    zThread_KeywordList,
11011      apzThread_KeywordMachs,
11012      THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11013      aThread_KeywordTests,   apzThread_KeywordPatch, 0 },
11015   {  zTinfo_CplusplusName,    zTinfo_CplusplusList,
11016      apzTinfo_CplusplusMachs,
11017      TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11018      aTinfo_CplusplusTests,   apzTinfo_CplusplusPatch, 0 },
11020   {  zUltrix_ConstName,    zUltrix_ConstList,
11021      apzUltrix_ConstMachs,
11022      ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11023      aUltrix_ConstTests,   apzUltrix_ConstPatch, 0 },
11025   {  zUltrix_Const2Name,    zUltrix_Const2List,
11026      apzUltrix_Const2Machs,
11027      ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11028      aUltrix_Const2Tests,   apzUltrix_Const2Patch, 0 },
11030   {  zVa_I960_MacroName,    zVa_I960_MacroList,
11031      apzVa_I960_MacroMachs,
11032      VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11033      aVa_I960_MacroTests,   apzVa_I960_MacroPatch, 0 },
11035   {  zVms_Add_Missing_BracesName,    zVms_Add_Missing_BracesList,
11036      apzVms_Add_Missing_BracesMachs,
11037      VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11038      aVms_Add_Missing_BracesTests,   apzVms_Add_Missing_BracesPatch, 0 },
11040   {  zVms_Decc_BuiltinName,    zVms_Decc_BuiltinList,
11041      apzVms_Decc_BuiltinMachs,
11042      VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11043      aVms_Decc_BuiltinTests,   apzVms_Decc_BuiltinPatch, 0 },
11045   {  zVms_Define_Can_Use_Extern_PrefixName,    zVms_Define_Can_Use_Extern_PrefixList,
11046      apzVms_Define_Can_Use_Extern_PrefixMachs,
11047      VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11048      aVms_Define_Can_Use_Extern_PrefixTests,   apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
11050   {  zVms_Disable_Decc_String_BuiltinsName,    zVms_Disable_Decc_String_BuiltinsList,
11051      apzVms_Disable_Decc_String_BuiltinsMachs,
11052      VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11053      aVms_Disable_Decc_String_BuiltinsTests,   apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
11055   {  zVms_Do_Not_Redeclare_HostaliasName,    zVms_Do_Not_Redeclare_HostaliasList,
11056      apzVms_Do_Not_Redeclare_HostaliasMachs,
11057      VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11058      aVms_Do_Not_Redeclare_HostaliasTests,   apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
11060   {  zVms_Forward_Declare_StructName,    zVms_Forward_Declare_StructList,
11061      apzVms_Forward_Declare_StructMachs,
11062      VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11063      aVms_Forward_Declare_StructTests,   apzVms_Forward_Declare_StructPatch, 0 },
11065   {  zVms_No_64bit_GetoptName,    zVms_No_64bit_GetoptList,
11066      apzVms_No_64bit_GetoptMachs,
11067      VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11068      aVms_No_64bit_GetoptTests,   apzVms_No_64bit_GetoptPatch, 0 },
11070   {  zVms_Use_Fast_SetjmpName,    zVms_Use_Fast_SetjmpList,
11071      apzVms_Use_Fast_SetjmpMachs,
11072      VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11073      aVms_Use_Fast_SetjmpTests,   apzVms_Use_Fast_SetjmpPatch, 0 },
11075   {  zVms_Use_Pragma_Extern_ModelName,    zVms_Use_Pragma_Extern_ModelList,
11076      apzVms_Use_Pragma_Extern_ModelMachs,
11077      VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11078      aVms_Use_Pragma_Extern_ModelTests,   apzVms_Use_Pragma_Extern_ModelPatch, 0 },
11080   {  zVms_Use_Quoted_IncludeName,    zVms_Use_Quoted_IncludeList,
11081      apzVms_Use_Quoted_IncludeMachs,
11082      VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11083      aVms_Use_Quoted_IncludeTests,   apzVms_Use_Quoted_IncludePatch, 0 },
11085   {  zVoid_NullName,    zVoid_NullList,
11086      apzVoid_NullMachs,
11087      VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11088      aVoid_NullTests,   apzVoid_NullPatch, 0 },
11090   {  zVxworks_Gcc_ProblemName,    zVxworks_Gcc_ProblemList,
11091      apzVxworks_Gcc_ProblemMachs,
11092      VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11093      aVxworks_Gcc_ProblemTests,   apzVxworks_Gcc_ProblemPatch, 0 },
11095   {  zVxworks_Ioctl_MacroName,    zVxworks_Ioctl_MacroList,
11096      apzVxworks_Ioctl_MacroMachs,
11097      VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11098      aVxworks_Ioctl_MacroTests,   apzVxworks_Ioctl_MacroPatch, 0 },
11100   {  zVxworks_Mkdir_MacroName,    zVxworks_Mkdir_MacroList,
11101      apzVxworks_Mkdir_MacroMachs,
11102      VXWORKS_MKDIR_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11103      aVxworks_Mkdir_MacroTests,   apzVxworks_Mkdir_MacroPatch, 0 },
11105   {  zVxworks_Needs_VxtypesName,    zVxworks_Needs_VxtypesList,
11106      apzVxworks_Needs_VxtypesMachs,
11107      VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11108      aVxworks_Needs_VxtypesTests,   apzVxworks_Needs_VxtypesPatch, 0 },
11110   {  zVxworks_Needs_VxworksName,    zVxworks_Needs_VxworksList,
11111      apzVxworks_Needs_VxworksMachs,
11112      VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11113      aVxworks_Needs_VxworksTests,   apzVxworks_Needs_VxworksPatch, 0 },
11115   {  zVxworks_RegsName,    zVxworks_RegsList,
11116      apzVxworks_RegsMachs,
11117      VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11118      aVxworks_RegsTests,   apzVxworks_RegsPatch, 0 },
11120   {  zVxworks_TimeName,    zVxworks_TimeList,
11121      apzVxworks_TimeMachs,
11122      VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11123      aVxworks_TimeTests,   apzVxworks_TimePatch, 0 },
11125   {  zVxworks_Write_ConstName,    zVxworks_Write_ConstList,
11126      apzVxworks_Write_ConstMachs,
11127      VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11128      aVxworks_Write_ConstTests,   apzVxworks_Write_ConstPatch, 0 },
11130   {  zX11_ClassName,    zX11_ClassList,
11131      apzX11_ClassMachs,
11132      X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11133      aX11_ClassTests,   apzX11_ClassPatch, 0 },
11135   {  zX11_Class_UsageName,    zX11_Class_UsageList,
11136      apzX11_Class_UsageMachs,
11137      X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11138      aX11_Class_UsageTests,   apzX11_Class_UsagePatch, 0 },
11140   {  zX11_NewName,    zX11_NewList,
11141      apzX11_NewMachs,
11142      X11_NEW_TEST_CT, FD_MACH_ONLY,
11143      aX11_NewTests,   apzX11_NewPatch, 0 },
11145   {  zX11_SprintfName,    zX11_SprintfList,
11146      apzX11_SprintfMachs,
11147      X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11148      aX11_SprintfTests,   apzX11_SprintfPatch, 0 }