ada: Cleanup analysis of iterated component association
[official-gcc.git] / fixincludes / fixincl.x
blob416d2c2e3a4ba5f84e9ec04d8e4fd4b13240cb2d
1 /*  -*- buffer-read-only: t -*- vi: set ro:
2  *
3  * DO NOT EDIT THIS FILE   (fixincl.x)
4  *
5  * It has been AutoGen-ed  January 22, 2023 at 09:03:29 PM by AutoGen 5.18.12
6  * From the definitions    inclhack.def
7  * and the template file   fixincl
8  */
9 /* DO NOT SVN-MERGE THIS FILE, EITHER Sun Jan 22 21:03:29 CET 2023
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 274 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 Darwin_Api_Availability fix
273  */
274 tSCC zDarwin_Api_AvailabilityName[] =
275      "darwin_api_availability";
278  *  File name selection pattern
279  */
280 tSCC zDarwin_Api_AvailabilityList[] =
281   "os/availability.h\0";
283  *  Machine/OS name selection pattern
284  */
285 tSCC* apzDarwin_Api_AvailabilityMachs[] = {
286         "*-*-darwin*",
287         (const char*)NULL };
290  *  content selection pattern - do fix if pattern found
291  */
292 tSCC zDarwin_Api_AvailabilitySelect0[] =
293        " *#define __API_AVAILABLE.*\n\
294  *#define __API_DEPRECATED.*\n\
295  *#define __API_DEPRECATED_WITH_REPLACEMENT.*\n\
296  *#define __API_UNAVAILABLE.*\n";
299  *  content bypass pattern - skip fix if pattern found
300  */
301 tSCC zDarwin_Api_AvailabilityBypass0[] =
302        "__IPHONE_OS_VERSION_MIN_REQUIRED";
304 #define    DARWIN_API_AVAILABILITY_TEST_CT  2
305 static tTestDesc aDarwin_Api_AvailabilityTests[] = {
306   { TT_NEGREP,   zDarwin_Api_AvailabilityBypass0, (regex_t*)NULL },
307   { TT_EGREP,    zDarwin_Api_AvailabilitySelect0, (regex_t*)NULL }, };
310  *  Fix Command Arguments for Darwin_Api_Availability
311  */
312 static const char* apzDarwin_Api_AvailabilityPatch[] = {
313     "format",
314     "    #define API_AVAILABLE(...)\n\
315     #define API_DEPRECATED(...)\n\
316     #define API_DEPRECATED_WITH_REPLACEMENT(...)\n\
317     #define API_UNAVAILABLE(...)\n",
318     (char*)NULL };
320 /* * * * * * * * * * * * * * * * * * * * * * * * * *
322  *  Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
323  */
324 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
325      "AAB_fd_zero_asm_posix_types_h";
328  *  File name selection pattern
329  */
330 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
331   "asm/posix_types.h\0";
333  *  Machine/OS name selection pattern
334  */
335 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
336         "i[34567]86-*-linux*",
337         (const char*)NULL };
340  *  content bypass pattern - skip fix if pattern found
341  */
342 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
343        "} while";
344 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
345        "x86_64";
346 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
347        "posix_types_64";
349 #define    AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT  3
350 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
351   { TT_NEGREP,   zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
352   { TT_NEGREP,   zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
353   { TT_NEGREP,   zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
356  *  Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
357  */
358 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
359 "/* This file fixes a bug in the __FD_ZERO macro\n\
360    for older versions of the Linux kernel. */\n\
361 #ifndef _POSIX_TYPES_H_WRAPPER\n\
362 #include <features.h>\n\
363  #include_next <asm/posix_types.h>\n\n\
364 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
365 #undef __FD_ZERO\n\
366 #define __FD_ZERO(fdsetp) \\\n\
367   do { \\\n\
368     int __d0, __d1; \\\n\
369 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
370 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
371 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
372   \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
373   } while (0)\n\
374 #endif\n\n\
375 #define _POSIX_TYPES_H_WRAPPER\n\
376 #endif /* _POSIX_TYPES_H_WRAPPER */",
377     (char*)NULL };
379 /* * * * * * * * * * * * * * * * * * * * * * * * * *
381  *  Description of Aab_Fd_Zero_Gnu_Types_H fix
382  */
383 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
384      "AAB_fd_zero_gnu_types_h";
387  *  File name selection pattern
388  */
389 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
390   "gnu/types.h\0";
392  *  Machine/OS name selection pattern
393  */
394 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
395         "i[34567]86-*-linux*",
396         (const char*)NULL };
397 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT  0
398 #define aAab_Fd_Zero_Gnu_Types_HTests   (tTestDesc*)NULL
401  *  Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
402  */
403 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
404 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
405 #ifndef _TYPES_H_WRAPPER\n\
406 #include <features.h>\n\
407 #include_next <gnu/types.h>\n\n\
408 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
409 #undef __FD_ZERO\n\
410 # define __FD_ZERO(fdsetp) \\\n\
411   do { \\\n\
412     int __d0, __d1; \\\n\
413         __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
414         : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
415         : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
416           \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
417   } while (0)\n\
418 #endif\n\n\
419 #define _TYPES_H_WRAPPER\n\
420 #endif /* _TYPES_H_WRAPPER */",
421     (char*)NULL };
423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
425  *  Description of Aab_Fd_Zero_Selectbits_H fix
426  */
427 tSCC zAab_Fd_Zero_Selectbits_HName[] =
428      "AAB_fd_zero_selectbits_h";
431  *  File name selection pattern
432  */
433 tSCC zAab_Fd_Zero_Selectbits_HList[] =
434   "selectbits.h\0";
436  *  Machine/OS name selection pattern
437  */
438 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
439         "i[34567]86-*-linux*",
440         (const char*)NULL };
441 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT  0
442 #define aAab_Fd_Zero_Selectbits_HTests   (tTestDesc*)NULL
445  *  Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
446  */
447 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
448 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
449 #ifndef _SELECTBITS_H_WRAPPER\n\
450   #include <features.h>\n\
451   #include_next <selectbits.h>\n\n\
452   #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
453   && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
454   && __GLIBC_MINOR__ == 0\n\
455      #undef __FD_ZERO\n\
456      #define __FD_ZERO(fdsetp) \\\\\n\
457      do { \\\\\n\
458         int __d0, __d1; \\\\\n\
459       __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
460                         : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
461                         : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
462                                         / sizeof (__fd_mask)), \\\\\n\
463                           \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
464                         : \"memory\"); \\\\\n\
465       } while (0)\n\
466   #endif\n\n\
467   #define _SELECTBITS_H_WRAPPER\n\
468 #endif /* _SELECTBITS_H_WRAPPER */",
469     (char*)NULL };
471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
473  *  Description of Aab_Solaris_Sys_Varargs_H fix
474  */
475 tSCC zAab_Solaris_Sys_Varargs_HName[] =
476      "AAB_solaris_sys_varargs_h";
479  *  File name selection pattern
480  */
481 tSCC zAab_Solaris_Sys_Varargs_HList[] =
482   "sys/varargs.h\0";
484  *  Machine/OS name selection pattern
485  */
486 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
487         "*-*-solaris*",
488         (const char*)NULL };
489 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT  0
490 #define aAab_Solaris_Sys_Varargs_HTests   (tTestDesc*)NULL
493  *  Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
494  */
495 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
496 "#ifdef __STDC__\n\
497   #include <stdarg.h>\n\
498 #else\n\
499   #include <varargs.h>\n\
500 #endif",
501     (char*)NULL };
503 /* * * * * * * * * * * * * * * * * * * * * * * * * *
505  *  Description of Aab_Sun_Memcpy fix
506  */
507 tSCC zAab_Sun_MemcpyName[] =
508      "AAB_sun_memcpy";
511  *  File name selection pattern
512  */
513 tSCC zAab_Sun_MemcpyList[] =
514   "memory.h\0";
516  *  Machine/OS name selection pattern
517  */
518 #define apzAab_Sun_MemcpyMachs (const char**)NULL
521  *  content selection pattern - do fix if pattern found
522  */
523 tSCC zAab_Sun_MemcpySelect0[] =
524        "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
526 #define    AAB_SUN_MEMCPY_TEST_CT  1
527 static tTestDesc aAab_Sun_MemcpyTests[] = {
528   { TT_EGREP,    zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
531  *  Fix Command Arguments for Aab_Sun_Memcpy
532  */
533 static const char* apzAab_Sun_MemcpyPatch[] = {
534 "/* This file was generated by fixincludes */\n\
535 #ifndef __memory_h__\n\
536   #define __memory_h__\n\n\
537   #ifdef __STDC__\n\
538     extern void *memccpy();\n\
539     extern void *memchr();\n\
540     extern void *memcpy();\n\
541     extern void *memset();\n\
542   #else\n\
543     extern char *memccpy();\n\
544     extern char *memchr();\n\
545     extern char *memcpy();\n\
546     extern char *memset();\n\
547   #endif /* __STDC__ */\n\n\
548   extern int memcmp();\n\n\
549 #endif /* __memory_h__ */",
550     (char*)NULL };
552 /* * * * * * * * * * * * * * * * * * * * * * * * * *
554  *  Description of Aab_Vxworks_Assert fix
555  */
556 tSCC zAab_Vxworks_AssertName[] =
557      "AAB_vxworks_assert";
560  *  File name selection pattern
561  */
562 tSCC zAab_Vxworks_AssertList[] =
563   "assert.h\0";
565  *  Machine/OS name selection pattern
566  */
567 tSCC* apzAab_Vxworks_AssertMachs[] = {
568         "*-*-vxworks*",
569         (const char*)NULL };
570 #define AAB_VXWORKS_ASSERT_TEST_CT  0
571 #define aAab_Vxworks_AssertTests   (tTestDesc*)NULL
574  *  Fix Command Arguments for Aab_Vxworks_Assert
575  */
576 static const char* apzAab_Vxworks_AssertPatch[] = {
577 "#ifdef _ASSERT_H\n\
578 #undef _ASSERT_H\n\
579 #undef assert\n\
580 #endif\n\n\
581 #define _ASSERT_H\n\n\
582 #ifdef __cplusplus\n\
583 extern \"C\" {\n\
584 #endif\n\n\
585 #if defined(__STDC__) || defined(__cplusplus)\n\
586 extern void __assert (const char*);\n\
587 #else\n\
588 extern void __assert ();\n\
589 #endif\n\n\
590 #ifdef NDEBUG\n\
591 #define assert(ign) ((void)0)\n\
592 #else\n\n\
593 #define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
594 #define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
595 #define assert(test) ((void) \\\n\
596         ((test) ? ((void)0) : \\\n\
597         __assert(\"Assertion failed: \" #test \", file \" \\\n\
598         __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
599 #endif\n\n\
600 #ifdef __cplusplus\n\
601 }\n\
602 #endif",
603     (char*)NULL };
605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
607  *  Description of Aab_Vxworks_Regs_Vxtypes fix
608  */
609 tSCC zAab_Vxworks_Regs_VxtypesName[] =
610      "AAB_vxworks_regs_vxtypes";
613  *  File name selection pattern
614  */
615 tSCC zAab_Vxworks_Regs_VxtypesList[] =
616   "regs.h\0";
618  *  Machine/OS name selection pattern
619  */
620 tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
621         "*-*-vxworks*",
622         (const char*)NULL };
623 #define AAB_VXWORKS_REGS_VXTYPES_TEST_CT  0
624 #define aAab_Vxworks_Regs_VxtypesTests   (tTestDesc*)NULL
627  *  Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
628  */
629 static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
630 "#ifndef _REGS_H\n\
631 #define _REGS_H\n\
632 /* regs.h depends on CPU_FAMILY being properly defined, which\n\
633    is done by vxCpu.h.  */\n\
634 #include <types/vxCpu.h>\n\
635 /* regs.h includes a CPU_FAMILY-specific header that requires\n\
636    vxTypesOld.h to already have been included.  Those headers\n\
637    contain proper _ASMLANGUAGE guards around their typedefs,\n\
638    but vxTypesOld.h itself does not. So we avoid including\n\
639    vxTypesOld.h from assembly.  */\n\
640 #ifndef _ASMLANGUAGE\n\
641 #include <types/vxTypesOld.h>\n\
642 #endif\n\
643 #include_next <arch/../regs.h>\n\
644 #endif",
645     (char*)NULL };
647 /* * * * * * * * * * * * * * * * * * * * * * * * * *
649  *  Description of Aab_Vxworks_Unistd fix
650  */
651 tSCC zAab_Vxworks_UnistdName[] =
652      "AAB_vxworks_unistd";
655  *  File name selection pattern
656  */
657 tSCC zAab_Vxworks_UnistdList[] =
658   "unistd.h\0";
660  *  Machine/OS name selection pattern
661  */
662 tSCC* apzAab_Vxworks_UnistdMachs[] = {
663         "*-*-vxworks*",
664         (const char*)NULL };
665 #define AAB_VXWORKS_UNISTD_TEST_CT  0
666 #define aAab_Vxworks_UnistdTests   (tTestDesc*)NULL
669  *  Fix Command Arguments for Aab_Vxworks_Unistd
670  */
671 static const char* apzAab_Vxworks_UnistdPatch[] = {
672 "#ifndef _UNISTD_H\n\
673 #define _UNISTD_H\n\
674 #include_next <unistd.h>\n\
675 #include <ioLib.h>\n\
676 #ifndef STDIN_FILENO\n\
677 #define STDIN_FILENO 0\n\
678 #endif\n\
679 #ifndef STDOUT_FILENO\n\
680 #define STDOUT_FILENO 1\n\
681 #endif\n\
682 #ifndef STDERR_FILENO\n\
683 #define STDERR_FILENO 2\n\
684 #endif\n\
685 #endif /* _UNISTD_H */",
686     (char*)NULL };
688 /* * * * * * * * * * * * * * * * * * * * * * * * * *
690  *  Description of Aix_Assert fix
691  */
692 tSCC zAix_AssertName[] =
693      "aix_assert";
696  *  File name selection pattern
697  */
698 tSCC zAix_AssertList[] =
699   "assert.h\0";
701  *  Machine/OS name selection pattern
702  */
703 tSCC* apzAix_AssertMachs[] = {
704         "*-*-aix*",
705         (const char*)NULL };
708  *  content selection pattern - do fix if pattern found
709  */
710 tSCC zAix_AssertSelect0[] =
711        "#define[ \t]static_assert[ \t]_Static_assert";
713 #define    AIX_ASSERT_TEST_CT  1
714 static tTestDesc aAix_AssertTests[] = {
715   { TT_EGREP,    zAix_AssertSelect0, (regex_t*)NULL }, };
718  *  Fix Command Arguments for Aix_Assert
719  */
720 static const char* apzAix_AssertPatch[] = {
721     "format",
722     "#ifndef __cplusplus\n\
723 %0\n\
724 #endif",
725     (char*)NULL };
727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
729  *  Description of Aix_Complex fix
730  */
731 tSCC zAix_ComplexName[] =
732      "aix_complex";
735  *  File name selection pattern
736  */
737 tSCC zAix_ComplexList[] =
738   "complex.h\0";
740  *  Machine/OS name selection pattern
741  */
742 tSCC* apzAix_ComplexMachs[] = {
743         "*-*-aix*",
744         (const char*)NULL };
747  *  content selection pattern - do fix if pattern found
748  */
749 tSCC zAix_ComplexSelect0[] =
750        "#define[ \t]_Complex_I[ \t]__I";
752 #define    AIX_COMPLEX_TEST_CT  1
753 static tTestDesc aAix_ComplexTests[] = {
754   { TT_EGREP,    zAix_ComplexSelect0, (regex_t*)NULL }, };
757  *  Fix Command Arguments for Aix_Complex
758  */
759 static const char* apzAix_ComplexPatch[] = {
760     "format",
761     "#define _Complex_I (__extension__ 1.0iF)",
762     (char*)NULL };
764 /* * * * * * * * * * * * * * * * * * * * * * * * * *
766  *  Description of Aix_Externc fix
767  */
768 tSCC zAix_ExterncName[] =
769      "aix_externc";
772  *  File name selection pattern
773  */
774 tSCC zAix_ExterncList[] =
775   "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
777  *  Machine/OS name selection pattern
778  */
779 tSCC* apzAix_ExterncMachs[] = {
780         "*-*-aix*",
781         (const char*)NULL };
784  *  content bypass pattern - skip fix if pattern found
785  */
786 tSCC zAix_ExterncBypass0[] =
787        "extern \"C\"";
789 #define    AIX_EXTERNC_TEST_CT  1
790 static tTestDesc aAix_ExterncTests[] = {
791   { TT_NEGREP,   zAix_ExterncBypass0, (regex_t*)NULL }, };
794  *  Fix Command Arguments for Aix_Externc
795  */
796 static const char* apzAix_ExterncPatch[] = {
797     "wrap",
798     "#ifdef __cplusplus\n\
799 extern \"C\" {\n\
800 #endif\n",
801     "#ifdef __cplusplus\n\
802 }\n\
803 #endif\n",
804     (char*)NULL };
806 /* * * * * * * * * * * * * * * * * * * * * * * * * *
808  *  Description of Aix_Externcpp1 fix
809  */
810 tSCC zAix_Externcpp1Name[] =
811      "aix_externcpp1";
814  *  File name selection pattern
815  */
816 tSCC zAix_Externcpp1List[] =
817   "sys/socket.h\0";
819  *  Machine/OS name selection pattern
820  */
821 tSCC* apzAix_Externcpp1Machs[] = {
822         "*-*-aix*",
823         (const char*)NULL };
826  *  content selection pattern - do fix if pattern found
827  */
828 tSCC zAix_Externcpp1Select0[] =
829        "#ifndef _KERNEL\n\
830 #ifdef __cplusplus\n\
831 extern \"C\" int naccept\\(int, struct sockaddr \\*, socklen_t \\*\\);";
833 #define    AIX_EXTERNCPP1_TEST_CT  1
834 static tTestDesc aAix_Externcpp1Tests[] = {
835   { TT_EGREP,    zAix_Externcpp1Select0, (regex_t*)NULL }, };
838  *  Fix Command Arguments for Aix_Externcpp1
839  */
840 static const char* apzAix_Externcpp1Patch[] = {
841     "format",
842     "#ifndef _KERNEL\n\
843 #ifdef __cplusplus\n\
844 extern \"C++\" {\n\
845 extern \"C\" int naccept(int, struct sockaddr *, socklen_t *);",
846     (char*)NULL };
848 /* * * * * * * * * * * * * * * * * * * * * * * * * *
850  *  Description of Aix_Externcpp2 fix
851  */
852 tSCC zAix_Externcpp2Name[] =
853      "aix_externcpp2";
856  *  File name selection pattern
857  */
858 tSCC zAix_Externcpp2List[] =
859   "sys/socket.h\0";
861  *  Machine/OS name selection pattern
862  */
863 tSCC* apzAix_Externcpp2Machs[] = {
864         "*-*-aix*",
865         (const char*)NULL };
868  *  content selection pattern - do fix if pattern found
869  */
870 tSCC zAix_Externcpp2Select0[] =
871        "#endif /\\* COMPAT_43 \\*/\n\
872 #else  /\\* __cplusplus \\*/";
874 #define    AIX_EXTERNCPP2_TEST_CT  1
875 static tTestDesc aAix_Externcpp2Tests[] = {
876   { TT_EGREP,    zAix_Externcpp2Select0, (regex_t*)NULL }, };
879  *  Fix Command Arguments for Aix_Externcpp2
880  */
881 static const char* apzAix_Externcpp2Patch[] = {
882     "format",
883     "#endif /* COMPAT_43 */\n\
884 } /* extern \"C++\" */\n\
885 #else  /* __cplusplus */",
886     (char*)NULL };
888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
890  *  Description of Aix_Inttypes fix
891  */
892 tSCC zAix_InttypesName[] =
893      "aix_inttypes";
896  *  File name selection pattern
897  */
898 tSCC zAix_InttypesList[] =
899   "sys/inttypes.h\0";
901  *  Machine/OS name selection pattern
902  */
903 tSCC* apzAix_InttypesMachs[] = {
904         "*-*-aix*",
905         (const char*)NULL };
908  *  content selection pattern - do fix if pattern found
909  */
910 tSCC zAix_InttypesSelect0[] =
911        "#if !defined\\(__cplusplus\\) \\|\\| defined\\(__STDC_FORMAT_MACROS\\)";
913 #define    AIX_INTTYPES_TEST_CT  1
914 static tTestDesc aAix_InttypesTests[] = {
915   { TT_EGREP,    zAix_InttypesSelect0, (regex_t*)NULL }, };
918  *  Fix Command Arguments for Aix_Inttypes
919  */
920 static const char* apzAix_InttypesPatch[] = {
921     "format",
922     "#if 1",
923     (char*)NULL };
925 /* * * * * * * * * * * * * * * * * * * * * * * * * *
927  *  Description of Aix_Malloc fix
928  */
929 tSCC zAix_MallocName[] =
930      "aix_malloc";
933  *  File name selection pattern
934  */
935 tSCC zAix_MallocList[] =
936   "malloc.h\0";
938  *  Machine/OS name selection pattern
939  */
940 tSCC* apzAix_MallocMachs[] = {
941         "*-*-aix*",
942         (const char*)NULL };
945  *  content selection pattern - do fix if pattern found
946  */
947 tSCC zAix_MallocSelect0[] =
948        "#ifdef __cplusplus\n\
949 extern \"C\" \\{\n\
950 [ \t]extern \"builtin\" char \\*__alloca \\(size_t\\);";
952 #define    AIX_MALLOC_TEST_CT  1
953 static tTestDesc aAix_MallocTests[] = {
954   { TT_EGREP,    zAix_MallocSelect0, (regex_t*)NULL }, };
957  *  Fix Command Arguments for Aix_Malloc
958  */
959 static const char* apzAix_MallocPatch[] = {
960     "format",
961     "#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
962 extern \"C\" {\n\
963 \textern \"builtin\" char *__alloca (size_t);",
964     (char*)NULL };
966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
968  *  Description of Aix_Net_If_Arp fix
969  */
970 tSCC zAix_Net_If_ArpName[] =
971      "aix_net_if_arp";
974  *  File name selection pattern
975  */
976 tSCC zAix_Net_If_ArpList[] =
977   "net/if_arp.h\0";
979  *  Machine/OS name selection pattern
980  */
981 tSCC* apzAix_Net_If_ArpMachs[] = {
982         "*-*-aix*",
983         (const char*)NULL };
986  *  content selection pattern - do fix if pattern found
987  */
988 tSCC zAix_Net_If_ArpSelect0[] =
989        "^struct  fc_softc \\{";
991 #define    AIX_NET_IF_ARP_TEST_CT  1
992 static tTestDesc aAix_Net_If_ArpTests[] = {
993   { TT_EGREP,    zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
996  *  Fix Command Arguments for Aix_Net_If_Arp
997  */
998 static const char* apzAix_Net_If_ArpPatch[] = {
999     "format",
1000     "typedef struct _fc_softc {",
1001     (char*)NULL };
1003 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1005  *  Description of Aix_Null fix
1006  */
1007 tSCC zAix_NullName[] =
1008      "aix_null";
1011  *  File name selection pattern
1012  */
1013 tSCC zAix_NullList[] =
1014   "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";
1016  *  Machine/OS name selection pattern
1017  */
1018 tSCC* apzAix_NullMachs[] = {
1019         "*-*-aix*",
1020         (const char*)NULL };
1023  *  content selection pattern - do fix if pattern found
1024  */
1025 tSCC zAix_NullSelect0[] =
1026        "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
1029  *  content bypass pattern - skip fix if pattern found
1030  */
1031 tSCC zAix_NullBypass0[] =
1032        "__null";
1034 #define    AIX_NULL_TEST_CT  2
1035 static tTestDesc aAix_NullTests[] = {
1036   { TT_NEGREP,   zAix_NullBypass0, (regex_t*)NULL },
1037   { TT_EGREP,    zAix_NullSelect0, (regex_t*)NULL }, };
1040  *  Fix Command Arguments for Aix_Null
1041  */
1042 static const char* apzAix_NullPatch[] = {
1043     "format",
1044     "#ifndef NULL\n\
1045 #ifdef __cplusplus\n\
1046 #ifdef __GNUG__\n\
1047 #define NULL __null\n\
1048 #else /* ! __GNUG__  */\n\
1049 #define NULL 0L\n\
1050 #endif /* __GNUG__  */\n\
1051 #else /* ! __cplusplus  */\n\
1052 #define NULL ((void *)0)\n\
1053 #endif /* __cplusplus  */\n\
1054 #endif /* !NULL  */",
1055     (char*)NULL };
1057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1059  *  Description of Aix_Once_Init_1 fix
1060  */
1061 tSCC zAix_Once_Init_1Name[] =
1062      "aix_once_init_1";
1065  *  File name selection pattern
1066  */
1067 tSCC zAix_Once_Init_1List[] =
1068   "pthread.h\0";
1070  *  Machine/OS name selection pattern
1071  */
1072 tSCC* apzAix_Once_Init_1Machs[] = {
1073         "*-*-aix*",
1074         (const char*)NULL };
1077  *  content selection pattern - do fix if pattern found
1078  */
1079 tSCC zAix_Once_Init_1Select0[] =
1080        "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1081 \\{ \\\\\n";
1083 #define    AIX_ONCE_INIT_1_TEST_CT  1
1084 static tTestDesc aAix_Once_Init_1Tests[] = {
1085   { TT_EGREP,    zAix_Once_Init_1Select0, (regex_t*)NULL }, };
1088  *  Fix Command Arguments for Aix_Once_Init_1
1089  */
1090 static const char* apzAix_Once_Init_1Patch[] = {
1091     "format",
1092     "#define PTHREAD_ONCE_INIT \\\n\
1093 {{ \\\n",
1094     (char*)NULL };
1096 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1098  *  Description of Aix_Once_Init_2 fix
1099  */
1100 tSCC zAix_Once_Init_2Name[] =
1101      "aix_once_init_2";
1104  *  File name selection pattern
1105  */
1106 tSCC zAix_Once_Init_2List[] =
1107   "pthread.h\0";
1109  *  Machine/OS name selection pattern
1110  */
1111 tSCC* apzAix_Once_Init_2Machs[] = {
1112         "*-*-aix*",
1113         (const char*)NULL };
1116  *  content selection pattern - do fix if pattern found
1117  */
1118 tSCC zAix_Once_Init_2Select0[] =
1119        "[ \t]0 \\\\\n\
1120 \\}\n";
1122 #define    AIX_ONCE_INIT_2_TEST_CT  1
1123 static tTestDesc aAix_Once_Init_2Tests[] = {
1124   { TT_EGREP,    zAix_Once_Init_2Select0, (regex_t*)NULL }, };
1127  *  Fix Command Arguments for Aix_Once_Init_2
1128  */
1129 static const char* apzAix_Once_Init_2Patch[] = {
1130     "format",
1131     "\t0 \\\n\
1132 }}\n",
1133     (char*)NULL };
1135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1137  *  Description of Aix_Mutex_Initializer_1 fix
1138  */
1139 tSCC zAix_Mutex_Initializer_1Name[] =
1140      "aix_mutex_initializer_1";
1143  *  File name selection pattern
1144  */
1145 tSCC zAix_Mutex_Initializer_1List[] =
1146   "pthread.h\0";
1148  *  Machine/OS name selection pattern
1149  */
1150 tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1151         "*-*-aix*",
1152         (const char*)NULL };
1155  *  content selection pattern - do fix if pattern found
1156  */
1157 tSCC zAix_Mutex_Initializer_1Select0[] =
1158        "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1159 \\{ \\\\\n";
1161 #define    AIX_MUTEX_INITIALIZER_1_TEST_CT  1
1162 static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1163   { TT_EGREP,    zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
1166  *  Fix Command Arguments for Aix_Mutex_Initializer_1
1167  */
1168 static const char* apzAix_Mutex_Initializer_1Patch[] = {
1169     "format",
1170     "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1171 {{ \\\n",
1172     (char*)NULL };
1174 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1176  *  Description of Aix_Cond_Initializer_1 fix
1177  */
1178 tSCC zAix_Cond_Initializer_1Name[] =
1179      "aix_cond_initializer_1";
1182  *  File name selection pattern
1183  */
1184 tSCC zAix_Cond_Initializer_1List[] =
1185   "pthread.h\0";
1187  *  Machine/OS name selection pattern
1188  */
1189 tSCC* apzAix_Cond_Initializer_1Machs[] = {
1190         "*-*-aix*",
1191         (const char*)NULL };
1194  *  content selection pattern - do fix if pattern found
1195  */
1196 tSCC zAix_Cond_Initializer_1Select0[] =
1197        "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1198 \\{ \\\\\n";
1200 #define    AIX_COND_INITIALIZER_1_TEST_CT  1
1201 static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1202   { TT_EGREP,    zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
1205  *  Fix Command Arguments for Aix_Cond_Initializer_1
1206  */
1207 static const char* apzAix_Cond_Initializer_1Patch[] = {
1208     "format",
1209     "#define PTHREAD_COND_INITIALIZER \\\n\
1210 {{ \\\n",
1211     (char*)NULL };
1213 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1215  *  Description of Aix_Rwlock_Initializer_1 fix
1216  */
1217 tSCC zAix_Rwlock_Initializer_1Name[] =
1218      "aix_rwlock_initializer_1";
1221  *  File name selection pattern
1222  */
1223 tSCC zAix_Rwlock_Initializer_1List[] =
1224   "pthread.h\0";
1226  *  Machine/OS name selection pattern
1227  */
1228 tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1229         "*-*-aix*",
1230         (const char*)NULL };
1233  *  content selection pattern - do fix if pattern found
1234  */
1235 tSCC zAix_Rwlock_Initializer_1Select0[] =
1236        "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1237 \\{ \\\\\n";
1239 #define    AIX_RWLOCK_INITIALIZER_1_TEST_CT  1
1240 static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1241   { TT_EGREP,    zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
1244  *  Fix Command Arguments for Aix_Rwlock_Initializer_1
1245  */
1246 static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1247     "format",
1248     "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1249 {{ \\\n",
1250     (char*)NULL };
1252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1254  *  Description of Aix_Physadr_T fix
1255  */
1256 tSCC zAix_Physadr_TName[] =
1257      "aix_physadr_t";
1260  *  File name selection pattern
1261  */
1262 tSCC zAix_Physadr_TList[] =
1263   "sys/types.h\0";
1265  *  Machine/OS name selection pattern
1266  */
1267 tSCC* apzAix_Physadr_TMachs[] = {
1268         "*-*-aix*",
1269         (const char*)NULL };
1272  *  content selection pattern - do fix if pattern found
1273  */
1274 tSCC zAix_Physadr_TSelect0[] =
1275        "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
1277 #define    AIX_PHYSADR_T_TEST_CT  1
1278 static tTestDesc aAix_Physadr_TTests[] = {
1279   { TT_EGREP,    zAix_Physadr_TSelect0, (regex_t*)NULL }, };
1282  *  Fix Command Arguments for Aix_Physadr_T
1283  */
1284 static const char* apzAix_Physadr_TPatch[] = {
1285     "format",
1286     "typedef struct __physadr_s %1",
1287     (char*)NULL };
1289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1291  *  Description of Aix_Pthread fix
1292  */
1293 tSCC zAix_PthreadName[] =
1294      "aix_pthread";
1297  *  File name selection pattern
1298  */
1299 tSCC zAix_PthreadList[] =
1300   "pthread.h\0";
1302  *  Machine/OS name selection pattern
1303  */
1304 #define apzAix_PthreadMachs (const char**)NULL
1307  *  content selection pattern - do fix if pattern found
1308  */
1309 tSCC zAix_PthreadSelect0[] =
1310        "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1311 [^A-Za-z_0-9 \t\n\
1312 (])";
1314 #define    AIX_PTHREAD_TEST_CT  1
1315 static tTestDesc aAix_PthreadTests[] = {
1316   { TT_EGREP,    zAix_PthreadSelect0, (regex_t*)NULL }, };
1319  *  Fix Command Arguments for Aix_Pthread
1320  */
1321 static const char* apzAix_PthreadPatch[] = {
1322     "format",
1323     "%1 %2",
1324     (char*)NULL };
1326 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1328  *  Description of Aix_Stdint_1 fix
1329  */
1330 tSCC zAix_Stdint_1Name[] =
1331      "aix_stdint_1";
1334  *  File name selection pattern
1335  */
1336 tSCC zAix_Stdint_1List[] =
1337   "stdint-aix.h\0stdint.h\0";
1339  *  Machine/OS name selection pattern
1340  */
1341 tSCC* apzAix_Stdint_1Machs[] = {
1342         "*-*-aix*",
1343         (const char*)NULL };
1346  *  content selection pattern - do fix if pattern found
1347  */
1348 tSCC zAix_Stdint_1Select0[] =
1349        "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1350 #define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1352 #define    AIX_STDINT_1_TEST_CT  1
1353 static tTestDesc aAix_Stdint_1Tests[] = {
1354   { TT_EGREP,    zAix_Stdint_1Select0, (regex_t*)NULL }, };
1357  *  Fix Command Arguments for Aix_Stdint_1
1358  */
1359 static const char* apzAix_Stdint_1Patch[] = {
1360     "format",
1361     "#define UINT8_MAX\t(255)\n\
1362 #define UINT16_MAX\t(65535)",
1363     (char*)NULL };
1365 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1367  *  Description of Aix_Stdint_2 fix
1368  */
1369 tSCC zAix_Stdint_2Name[] =
1370      "aix_stdint_2";
1373  *  File name selection pattern
1374  */
1375 tSCC zAix_Stdint_2List[] =
1376   "stdint-aix.h\0stdint.h\0";
1378  *  Machine/OS name selection pattern
1379  */
1380 tSCC* apzAix_Stdint_2Machs[] = {
1381         "*-*-aix*",
1382         (const char*)NULL };
1385  *  content selection pattern - do fix if pattern found
1386  */
1387 tSCC zAix_Stdint_2Select0[] =
1388        "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1389 #define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1390 #define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1391 #else\n\
1392 #define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1393 #define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1394 #define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1396 #define    AIX_STDINT_2_TEST_CT  1
1397 static tTestDesc aAix_Stdint_2Tests[] = {
1398   { TT_EGREP,    zAix_Stdint_2Select0, (regex_t*)NULL }, };
1401  *  Fix Command Arguments for Aix_Stdint_2
1402  */
1403 static const char* apzAix_Stdint_2Patch[] = {
1404     "format",
1405     "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1406 #define INTPTR_MAX\t9223372036854775807L\n\
1407 #define UINTPTR_MAX\t18446744073709551615UL\n\
1408 #else\n\
1409 #define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1410 #define INTPTR_MAX\t2147483647L\n\
1411 #define UINTPTR_MAX\t4294967295UL",
1412     (char*)NULL };
1414 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1416  *  Description of Aix_Stdint_3 fix
1417  */
1418 tSCC zAix_Stdint_3Name[] =
1419      "aix_stdint_3";
1422  *  File name selection pattern
1423  */
1424 tSCC zAix_Stdint_3List[] =
1425   "stdint-aix.h\0stdint.h\0";
1427  *  Machine/OS name selection pattern
1428  */
1429 tSCC* apzAix_Stdint_3Machs[] = {
1430         "*-*-aix*",
1431         (const char*)NULL };
1434  *  content selection pattern - do fix if pattern found
1435  */
1436 tSCC zAix_Stdint_3Select0[] =
1437        "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1438 #define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1439 #else\n\
1440 #define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1441 #define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1443 #define    AIX_STDINT_3_TEST_CT  1
1444 static tTestDesc aAix_Stdint_3Tests[] = {
1445   { TT_EGREP,    zAix_Stdint_3Select0, (regex_t*)NULL }, };
1448  *  Fix Command Arguments for Aix_Stdint_3
1449  */
1450 static const char* apzAix_Stdint_3Patch[] = {
1451     "format",
1452     "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1453 #define PTRDIFF_MAX\t9223372036854775807L\n\
1454 #else\n\
1455 #define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1456 #define PTRDIFF_MAX\t2147483647L",
1457     (char*)NULL };
1459 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1461  *  Description of Aix_Stdint_4 fix
1462  */
1463 tSCC zAix_Stdint_4Name[] =
1464      "aix_stdint_4";
1467  *  File name selection pattern
1468  */
1469 tSCC zAix_Stdint_4List[] =
1470   "stdint-aix.h\0stdint.h\0";
1472  *  Machine/OS name selection pattern
1473  */
1474 tSCC* apzAix_Stdint_4Machs[] = {
1475         "*-*-aix*",
1476         (const char*)NULL };
1479  *  content selection pattern - do fix if pattern found
1480  */
1481 tSCC zAix_Stdint_4Select0[] =
1482        "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1483 #else\n\
1484 #define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1486 #define    AIX_STDINT_4_TEST_CT  1
1487 static tTestDesc aAix_Stdint_4Tests[] = {
1488   { TT_EGREP,    zAix_Stdint_4Select0, (regex_t*)NULL }, };
1491  *  Fix Command Arguments for Aix_Stdint_4
1492  */
1493 static const char* apzAix_Stdint_4Patch[] = {
1494     "format",
1495     "#define SIZE_MAX\t18446744073709551615UL\n\
1496 #else\n\
1497 #define SIZE_MAX\t4294967295UL",
1498     (char*)NULL };
1500 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1502  *  Description of Aix_Stdint_5 fix
1503  */
1504 tSCC zAix_Stdint_5Name[] =
1505      "aix_stdint_5";
1508  *  File name selection pattern
1509  */
1510 tSCC zAix_Stdint_5List[] =
1511   "stdint-aix.h\0stdint.h\0";
1513  *  Machine/OS name selection pattern
1514  */
1515 tSCC* apzAix_Stdint_5Machs[] = {
1516         "*-*-aix*",
1517         (const char*)NULL };
1520  *  content selection pattern - do fix if pattern found
1521  */
1522 tSCC zAix_Stdint_5Select0[] =
1523        "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1524 #define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1526 #define    AIX_STDINT_5_TEST_CT  1
1527 static tTestDesc aAix_Stdint_5Tests[] = {
1528   { TT_EGREP,    zAix_Stdint_5Select0, (regex_t*)NULL }, };
1531  *  Fix Command Arguments for Aix_Stdint_5
1532  */
1533 static const char* apzAix_Stdint_5Patch[] = {
1534     "format",
1535     "#define UINT8_C(c)\tc\n\
1536 #define UINT16_C(c)\tc",
1537     (char*)NULL };
1539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1541  *  Description of Aix_Stdio_Inline fix
1542  */
1543 tSCC zAix_Stdio_InlineName[] =
1544      "aix_stdio_inline";
1547  *  File name selection pattern
1548  */
1549 tSCC zAix_Stdio_InlineList[] =
1550   "stdio.h\0";
1552  *  Machine/OS name selection pattern
1553  */
1554 tSCC* apzAix_Stdio_InlineMachs[] = {
1555         "*-*-aix*",
1556         (const char*)NULL };
1559  *  content selection pattern - do fix if pattern found
1560  */
1561 tSCC zAix_Stdio_InlineSelect0[] =
1562        "#ifdef __cplusplus\\\n\
1563 }\\\n\
1564 \\\n\
1565 #ifdef ferror\\\n";
1567 #define    AIX_STDIO_INLINE_TEST_CT  1
1568 static tTestDesc aAix_Stdio_InlineTests[] = {
1569   { TT_EGREP,    zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
1572  *  Fix Command Arguments for Aix_Stdio_Inline
1573  */
1574 static const char* apzAix_Stdio_InlinePatch[] = {
1575     "format",
1576     "#ifdef __cplusplus\n\
1577 }\n\
1578 #endif\n\n\
1579 #if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1580 #ifdef ferror\n",
1581     (char*)NULL };
1583 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1585  *  Description of Aix_Stdlib_Malloc fix
1586  */
1587 tSCC zAix_Stdlib_MallocName[] =
1588      "aix_stdlib_malloc";
1591  *  File name selection pattern
1592  */
1593 tSCC zAix_Stdlib_MallocList[] =
1594   "stdlib.h\0";
1596  *  Machine/OS name selection pattern
1597  */
1598 tSCC* apzAix_Stdlib_MallocMachs[] = {
1599         "*-*-aix*",
1600         (const char*)NULL };
1603  *  content selection pattern - do fix if pattern found
1604  */
1605 tSCC zAix_Stdlib_MallocSelect0[] =
1606        "#define[ \t]+malloc[ \t]+__linux_malloc";
1608 #define    AIX_STDLIB_MALLOC_TEST_CT  1
1609 static tTestDesc aAix_Stdlib_MallocTests[] = {
1610   { TT_EGREP,    zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
1613  *  Fix Command Arguments for Aix_Stdlib_Malloc
1614  */
1615 static const char* apzAix_Stdlib_MallocPatch[] = {
1616     "format",
1617     "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1618     (char*)NULL };
1620 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1622  *  Description of Aix_Stdlib_Realloc fix
1623  */
1624 tSCC zAix_Stdlib_ReallocName[] =
1625      "aix_stdlib_realloc";
1628  *  File name selection pattern
1629  */
1630 tSCC zAix_Stdlib_ReallocList[] =
1631   "stdlib.h\0";
1633  *  Machine/OS name selection pattern
1634  */
1635 tSCC* apzAix_Stdlib_ReallocMachs[] = {
1636         "*-*-aix*",
1637         (const char*)NULL };
1640  *  content selection pattern - do fix if pattern found
1641  */
1642 tSCC zAix_Stdlib_ReallocSelect0[] =
1643        "#define[ \t]+realloc[ \t]+__linux_realloc";
1645 #define    AIX_STDLIB_REALLOC_TEST_CT  1
1646 static tTestDesc aAix_Stdlib_ReallocTests[] = {
1647   { TT_EGREP,    zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
1650  *  Fix Command Arguments for Aix_Stdlib_Realloc
1651  */
1652 static const char* apzAix_Stdlib_ReallocPatch[] = {
1653     "format",
1654     "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1655     (char*)NULL };
1657 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1659  *  Description of Aix_Stdlib_Calloc fix
1660  */
1661 tSCC zAix_Stdlib_CallocName[] =
1662      "aix_stdlib_calloc";
1665  *  File name selection pattern
1666  */
1667 tSCC zAix_Stdlib_CallocList[] =
1668   "stdlib.h\0";
1670  *  Machine/OS name selection pattern
1671  */
1672 tSCC* apzAix_Stdlib_CallocMachs[] = {
1673         "*-*-aix*",
1674         (const char*)NULL };
1677  *  content selection pattern - do fix if pattern found
1678  */
1679 tSCC zAix_Stdlib_CallocSelect0[] =
1680        "#define[ \t]+calloc[ \t]+__linux_calloc";
1682 #define    AIX_STDLIB_CALLOC_TEST_CT  1
1683 static tTestDesc aAix_Stdlib_CallocTests[] = {
1684   { TT_EGREP,    zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
1687  *  Fix Command Arguments for Aix_Stdlib_Calloc
1688  */
1689 static const char* apzAix_Stdlib_CallocPatch[] = {
1690     "format",
1691     "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1692     (char*)NULL };
1694 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1696  *  Description of Aix_Stdlib_Valloc fix
1697  */
1698 tSCC zAix_Stdlib_VallocName[] =
1699      "aix_stdlib_valloc";
1702  *  File name selection pattern
1703  */
1704 tSCC zAix_Stdlib_VallocList[] =
1705   "stdlib.h\0";
1707  *  Machine/OS name selection pattern
1708  */
1709 tSCC* apzAix_Stdlib_VallocMachs[] = {
1710         "*-*-aix*",
1711         (const char*)NULL };
1714  *  content selection pattern - do fix if pattern found
1715  */
1716 tSCC zAix_Stdlib_VallocSelect0[] =
1717        "#define[ \t]+valloc[ \t]+__linux_valloc";
1719 #define    AIX_STDLIB_VALLOC_TEST_CT  1
1720 static tTestDesc aAix_Stdlib_VallocTests[] = {
1721   { TT_EGREP,    zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
1724  *  Fix Command Arguments for Aix_Stdlib_Valloc
1725  */
1726 static const char* apzAix_Stdlib_VallocPatch[] = {
1727     "format",
1728     "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1729     (char*)NULL };
1731 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1733  *  Description of Aix_Stdlib_Vec_Malloc fix
1734  */
1735 tSCC zAix_Stdlib_Vec_MallocName[] =
1736      "aix_stdlib_vec_malloc";
1739  *  File name selection pattern
1740  */
1741 tSCC zAix_Stdlib_Vec_MallocList[] =
1742   "stdlib.h\0";
1744  *  Machine/OS name selection pattern
1745  */
1746 tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1747         "*-*-aix*",
1748         (const char*)NULL };
1751  *  content selection pattern - do fix if pattern found
1752  */
1753 tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1754        "#define[ \t]+malloc[ \t]+vec_malloc";
1756 #define    AIX_STDLIB_VEC_MALLOC_TEST_CT  1
1757 static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1758   { TT_EGREP,    zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
1761  *  Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1762  */
1763 static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1764     "format",
1765     "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1766     (char*)NULL };
1768 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1770  *  Description of Aix_Stdlib_Vec_Calloc fix
1771  */
1772 tSCC zAix_Stdlib_Vec_CallocName[] =
1773      "aix_stdlib_vec_calloc";
1776  *  File name selection pattern
1777  */
1778 tSCC zAix_Stdlib_Vec_CallocList[] =
1779   "stdlib.h\0";
1781  *  Machine/OS name selection pattern
1782  */
1783 tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1784         "*-*-aix*",
1785         (const char*)NULL };
1788  *  content selection pattern - do fix if pattern found
1789  */
1790 tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1791        "#define[ \t]+calloc[ \t]+vec_calloc";
1793 #define    AIX_STDLIB_VEC_CALLOC_TEST_CT  1
1794 static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1795   { TT_EGREP,    zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
1798  *  Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1799  */
1800 static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1801     "format",
1802     "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1803     (char*)NULL };
1805 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1807  *  Description of Aix_Strtof_Const fix
1808  */
1809 tSCC zAix_Strtof_ConstName[] =
1810      "aix_strtof_const";
1813  *  File name selection pattern
1814  */
1815 tSCC zAix_Strtof_ConstList[] =
1816   "stdlib.h\0";
1818  *  Machine/OS name selection pattern
1819  */
1820 tSCC* apzAix_Strtof_ConstMachs[] = {
1821         "*-*-aix*",
1822         (const char*)NULL };
1825  *  content selection pattern - do fix if pattern found
1826  */
1827 tSCC zAix_Strtof_ConstSelect0[] =
1828        "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1830 #define    AIX_STRTOF_CONST_TEST_CT  1
1831 static tTestDesc aAix_Strtof_ConstTests[] = {
1832   { TT_EGREP,    zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
1835  *  Fix Command Arguments for Aix_Strtof_Const
1836  */
1837 static const char* apzAix_Strtof_ConstPatch[] = {
1838     "format",
1839     "%1(const char *, char **);",
1840     (char*)NULL };
1842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1844  *  Description of Aix_Sysmachine fix
1845  */
1846 tSCC zAix_SysmachineName[] =
1847      "aix_sysmachine";
1850  *  File name selection pattern
1851  */
1852 tSCC zAix_SysmachineList[] =
1853   "sys/machine.h\0";
1855  *  Machine/OS name selection pattern
1856  */
1857 tSCC* apzAix_SysmachineMachs[] = {
1858         "*-*-aix*",
1859         (const char*)NULL };
1862  *  content selection pattern - do fix if pattern found
1863  */
1864 tSCC zAix_SysmachineSelect0[] =
1865        "\\\\ +\n";
1867 #define    AIX_SYSMACHINE_TEST_CT  1
1868 static tTestDesc aAix_SysmachineTests[] = {
1869   { TT_EGREP,    zAix_SysmachineSelect0, (regex_t*)NULL }, };
1872  *  Fix Command Arguments for Aix_Sysmachine
1873  */
1874 static const char* apzAix_SysmachinePatch[] = {
1875     "format",
1876     "\\\n",
1877     (char*)NULL };
1879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1881  *  Description of Aix_Syswait_2 fix
1882  */
1883 tSCC zAix_Syswait_2Name[] =
1884      "aix_syswait_2";
1887  *  File name selection pattern
1888  */
1889 tSCC zAix_Syswait_2List[] =
1890   "sys/wait.h\0";
1892  *  Machine/OS name selection pattern
1893  */
1894 tSCC* apzAix_Syswait_2Machs[] = {
1895         "*-*-aix*",
1896         (const char*)NULL };
1899  *  content selection pattern - do fix if pattern found
1900  */
1901 tSCC zAix_Syswait_2Select0[] =
1902        "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1904 #define    AIX_SYSWAIT_2_TEST_CT  1
1905 static tTestDesc aAix_Syswait_2Tests[] = {
1906   { TT_EGREP,    zAix_Syswait_2Select0, (regex_t*)NULL }, };
1909  *  Fix Command Arguments for Aix_Syswait_2
1910  */
1911 static const char* apzAix_Syswait_2Patch[] = {
1912     "format",
1913     "? (int)%1",
1914     (char*)NULL };
1916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1918  *  Description of Aix_Volatile fix
1919  */
1920 tSCC zAix_VolatileName[] =
1921      "aix_volatile";
1924  *  File name selection pattern
1925  */
1926 tSCC zAix_VolatileList[] =
1927   "sys/signal.h\0";
1929  *  Machine/OS name selection pattern
1930  */
1931 tSCC* apzAix_VolatileMachs[] = {
1932         "*-*-aix*",
1933         (const char*)NULL };
1936  *  content selection pattern - do fix if pattern found
1937  */
1938 tSCC zAix_VolatileSelect0[] =
1939        "typedef volatile int sig_atomic_t";
1941 #define    AIX_VOLATILE_TEST_CT  1
1942 static tTestDesc aAix_VolatileTests[] = {
1943   { TT_EGREP,    zAix_VolatileSelect0, (regex_t*)NULL }, };
1946  *  Fix Command Arguments for Aix_Volatile
1947  */
1948 static const char* apzAix_VolatilePatch[] = {
1949     "format",
1950     "typedef int sig_atomic_t",
1951     (char*)NULL };
1953 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1955  *  Description of Aix_Unistd fix
1956  */
1957 tSCC zAix_UnistdName[] =
1958      "aix_unistd";
1961  *  File name selection pattern
1962  */
1963 tSCC zAix_UnistdList[] =
1964   "unistd.h\0";
1966  *  Machine/OS name selection pattern
1967  */
1968 tSCC* apzAix_UnistdMachs[] = {
1969         "*-*-aix*",
1970         (const char*)NULL };
1973  *  content selection pattern - do fix if pattern found
1974  */
1975 tSCC zAix_UnistdSelect0[] =
1976        "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1978 #define    AIX_UNISTD_TEST_CT  1
1979 static tTestDesc aAix_UnistdTests[] = {
1980   { TT_EGREP,    zAix_UnistdSelect0, (regex_t*)NULL }, };
1983  *  Fix Command Arguments for Aix_Unistd
1984  */
1985 static const char* apzAix_UnistdPatch[] = {
1986     "format",
1987     "\tstatic int\t\tgetdtablesize(void)",
1988     (char*)NULL };
1990 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1992  *  Description of Alpha___Assert fix
1993  */
1994 tSCC zAlpha___AssertName[] =
1995      "alpha___assert";
1998  *  File name selection pattern
1999  */
2000 tSCC zAlpha___AssertList[] =
2001   "assert.h\0";
2003  *  Machine/OS name selection pattern
2004  */
2005 #define apzAlpha___AssertMachs (const char**)NULL
2008  *  content selection pattern - do fix if pattern found
2009  */
2010 tSCC zAlpha___AssertSelect0[] =
2011        "__assert\\(char \\*, char \\*, int\\)";
2013 #define    ALPHA___ASSERT_TEST_CT  1
2014 static tTestDesc aAlpha___AssertTests[] = {
2015   { TT_EGREP,    zAlpha___AssertSelect0, (regex_t*)NULL }, };
2018  *  Fix Command Arguments for Alpha___Assert
2019  */
2020 static const char* apzAlpha___AssertPatch[] = {
2021     "format",
2022     "__assert(const char *, const char *, int)",
2023     (char*)NULL };
2025 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2027  *  Description of Alpha_Assert fix
2028  */
2029 tSCC zAlpha_AssertName[] =
2030      "alpha_assert";
2033  *  File name selection pattern
2034  */
2035 tSCC zAlpha_AssertList[] =
2036   "assert.h\0";
2038  *  Machine/OS name selection pattern
2039  */
2040 #define apzAlpha_AssertMachs (const char**)NULL
2043  *  content selection pattern - do fix if pattern found
2044  */
2045 tSCC zAlpha_AssertSelect0[] =
2046        "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
2048 #define    ALPHA_ASSERT_TEST_CT  1
2049 static tTestDesc aAlpha_AssertTests[] = {
2050   { TT_EGREP,    zAlpha_AssertSelect0, (regex_t*)NULL }, };
2053  *  Fix Command Arguments for Alpha_Assert
2054  */
2055 static const char* apzAlpha_AssertPatch[] = {
2056     "format",
2057     "%1(EX)",
2058     (char*)NULL };
2060 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2062  *  Description of Alpha_Getopt fix
2063  */
2064 tSCC zAlpha_GetoptName[] =
2065      "alpha_getopt";
2068  *  File name selection pattern
2069  */
2070 tSCC zAlpha_GetoptList[] =
2071   "stdio.h\0stdlib.h\0";
2073  *  Machine/OS name selection pattern
2074  */
2075 #define apzAlpha_GetoptMachs (const char**)NULL
2078  *  content selection pattern - do fix if pattern found
2079  */
2080 tSCC zAlpha_GetoptSelect0[] =
2081        "getopt\\(int, char \\*\\[\\], *char \\*\\)";
2083 #define    ALPHA_GETOPT_TEST_CT  1
2084 static tTestDesc aAlpha_GetoptTests[] = {
2085   { TT_EGREP,    zAlpha_GetoptSelect0, (regex_t*)NULL }, };
2088  *  Fix Command Arguments for Alpha_Getopt
2089  */
2090 static const char* apzAlpha_GetoptPatch[] = {
2091     "format",
2092     "getopt(int, char *const[], const char *)",
2093     (char*)NULL };
2095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2097  *  Description of Alpha_If_Semicolon fix
2098  */
2099 tSCC zAlpha_If_SemicolonName[] =
2100      "alpha_if_semicolon";
2103  *  File name selection pattern
2104  */
2105 tSCC zAlpha_If_SemicolonList[] =
2106   "net/if.h\0";
2108  *  Machine/OS name selection pattern
2109  */
2110 #define apzAlpha_If_SemicolonMachs (const char**)NULL
2113  *  content selection pattern - do fix if pattern found
2114  */
2115 tSCC zAlpha_If_SemicolonSelect0[] =
2116        "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2118 #define    ALPHA_IF_SEMICOLON_TEST_CT  1
2119 static tTestDesc aAlpha_If_SemicolonTests[] = {
2120   { TT_EGREP,    zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
2123  *  Fix Command Arguments for Alpha_If_Semicolon
2124  */
2125 static const char* apzAlpha_If_SemicolonPatch[] = {
2126     "format",
2127     "struct sockaddr vmif_paddr;\t/*",
2128     (char*)NULL };
2130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2132  *  Description of Alpha_Parens fix
2133  */
2134 tSCC zAlpha_ParensName[] =
2135      "alpha_parens";
2138  *  File name selection pattern
2139  */
2140 tSCC zAlpha_ParensList[] =
2141   "sym.h\0";
2143  *  Machine/OS name selection pattern
2144  */
2145 #define apzAlpha_ParensMachs (const char**)NULL
2148  *  content selection pattern - do fix if pattern found
2149  */
2150 tSCC zAlpha_ParensSelect0[] =
2151        "#ifndef\\(__mips64\\)";
2153 #define    ALPHA_PARENS_TEST_CT  1
2154 static tTestDesc aAlpha_ParensTests[] = {
2155   { TT_EGREP,    zAlpha_ParensSelect0, (regex_t*)NULL }, };
2158  *  Fix Command Arguments for Alpha_Parens
2159  */
2160 static const char* apzAlpha_ParensPatch[] = {
2161     "format",
2162     "#ifndef __mips64",
2163     (char*)NULL };
2165 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2167  *  Description of Alpha_Sbrk fix
2168  */
2169 tSCC zAlpha_SbrkName[] =
2170      "alpha_sbrk";
2173  *  File name selection pattern
2174  */
2175 tSCC zAlpha_SbrkList[] =
2176   "unistd.h\0";
2178  *  Machine/OS name selection pattern
2179  */
2180 #define apzAlpha_SbrkMachs (const char**)NULL
2183  *  content selection pattern - do fix if pattern found
2184  */
2185 tSCC zAlpha_SbrkSelect0[] =
2186        "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2188 #define    ALPHA_SBRK_TEST_CT  1
2189 static tTestDesc aAlpha_SbrkTests[] = {
2190   { TT_EGREP,    zAlpha_SbrkSelect0, (regex_t*)NULL }, };
2193  *  Fix Command Arguments for Alpha_Sbrk
2194  */
2195 static const char* apzAlpha_SbrkPatch[] = {
2196     "format",
2197     "void *sbrk(",
2198     (char*)NULL };
2200 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2202  *  Description of Avoid_Bool_Define fix
2203  */
2204 tSCC zAvoid_Bool_DefineName[] =
2205      "avoid_bool_define";
2208  *  File name selection pattern
2209  */
2210 tSCC zAvoid_Bool_DefineList[] =
2211   "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2213  *  Machine/OS name selection pattern
2214  */
2215 #define apzAvoid_Bool_DefineMachs (const char**)NULL
2218  *  content selection pattern - do fix if pattern found
2219  */
2220 tSCC zAvoid_Bool_DefineSelect0[] =
2221        "#[ \t]*define[ \t]+bool[ \t]";
2224  *  content bypass pattern - skip fix if pattern found
2225  */
2226 tSCC zAvoid_Bool_DefineBypass0[] =
2227        "__cplusplus";
2229 #define    AVOID_BOOL_DEFINE_TEST_CT  2
2230 static tTestDesc aAvoid_Bool_DefineTests[] = {
2231   { TT_NEGREP,   zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
2232   { TT_EGREP,    zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
2235  *  Fix Command Arguments for Avoid_Bool_Define
2236  */
2237 static const char* apzAvoid_Bool_DefinePatch[] = {
2238     "format",
2239     "#ifndef __cplusplus\n\
2240 %0\n\
2241 #endif",
2242     "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2243     (char*)NULL };
2245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2247  *  Description of Avoid_Bool_Type fix
2248  */
2249 tSCC zAvoid_Bool_TypeName[] =
2250      "avoid_bool_type";
2253  *  File name selection pattern
2254  */
2255 tSCC zAvoid_Bool_TypeList[] =
2256   "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2258  *  Machine/OS name selection pattern
2259  */
2260 #define apzAvoid_Bool_TypeMachs (const char**)NULL
2263  *  content selection pattern - do fix if pattern found
2264  */
2265 tSCC zAvoid_Bool_TypeSelect0[] =
2266        "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2269  *  content bypass pattern - skip fix if pattern found
2270  */
2271 tSCC zAvoid_Bool_TypeBypass0[] =
2272        "__cplusplus";
2274 #define    AVOID_BOOL_TYPE_TEST_CT  2
2275 static tTestDesc aAvoid_Bool_TypeTests[] = {
2276   { TT_NEGREP,   zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
2277   { TT_EGREP,    zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
2280  *  Fix Command Arguments for Avoid_Bool_Type
2281  */
2282 static const char* apzAvoid_Bool_TypePatch[] = {
2283     "format",
2284     "#ifndef __cplusplus\n\
2285 %0\n\
2286 #endif",
2287     (char*)NULL };
2289 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2291  *  Description of Avoid_Wchar_T_Type fix
2292  */
2293 tSCC zAvoid_Wchar_T_TypeName[] =
2294      "avoid_wchar_t_type";
2297  *  File name selection pattern
2298  */
2299 #define zAvoid_Wchar_T_TypeList (char*)NULL
2301  *  Machine/OS name selection pattern
2302  */
2303 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2306  *  content selection pattern - do fix if pattern found
2307  */
2308 tSCC zAvoid_Wchar_T_TypeSelect0[] =
2309        "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2312  *  content bypass pattern - skip fix if pattern found
2313  */
2314 tSCC zAvoid_Wchar_T_TypeBypass0[] =
2315        "__cplusplus";
2316 tSCC zAvoid_Wchar_T_TypeBypass1[] =
2317        "_LINUX_NLS_H";
2318 tSCC zAvoid_Wchar_T_TypeBypass2[] =
2319        "XFree86: xc/lib/X11/Xlib\\.h";
2321 #define    AVOID_WCHAR_T_TYPE_TEST_CT  4
2322 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2323   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
2324   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
2325   { TT_NEGREP,   zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
2326   { TT_EGREP,    zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
2329  *  Fix Command Arguments for Avoid_Wchar_T_Type
2330  */
2331 static const char* apzAvoid_Wchar_T_TypePatch[] = {
2332     "format",
2333     "#ifndef __cplusplus\n\
2334 %0\n\
2335 #endif",
2336     (char*)NULL };
2338 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2340  *  Description of Bad_Struct_Term fix
2341  */
2342 tSCC zBad_Struct_TermName[] =
2343      "bad_struct_term";
2346  *  File name selection pattern
2347  */
2348 tSCC zBad_Struct_TermList[] =
2349   "curses.h\0";
2351  *  Machine/OS name selection pattern
2352  */
2353 #define apzBad_Struct_TermMachs (const char**)NULL
2356  *  content selection pattern - do fix if pattern found
2357  */
2358 tSCC zBad_Struct_TermSelect0[] =
2359        "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2361 #define    BAD_STRUCT_TERM_TEST_CT  1
2362 static tTestDesc aBad_Struct_TermTests[] = {
2363   { TT_EGREP,    zBad_Struct_TermSelect0, (regex_t*)NULL }, };
2366  *  Fix Command Arguments for Bad_Struct_Term
2367  */
2368 static const char* apzBad_Struct_TermPatch[] = {
2369     "format",
2370     "struct term;",
2371     (char*)NULL };
2373 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2375  *  Description of Badquote fix
2376  */
2377 tSCC zBadquoteName[] =
2378      "badquote";
2381  *  File name selection pattern
2382  */
2383 tSCC zBadquoteList[] =
2384   "sundev/vuid_event.h\0";
2386  *  Machine/OS name selection pattern
2387  */
2388 #define apzBadquoteMachs (const char**)NULL
2391  *  content selection pattern - do fix if pattern found
2392  */
2393 tSCC zBadquoteSelect0[] =
2394        "doesn't";
2396 #define    BADQUOTE_TEST_CT  1
2397 static tTestDesc aBadquoteTests[] = {
2398   { TT_EGREP,    zBadquoteSelect0, (regex_t*)NULL }, };
2401  *  Fix Command Arguments for Badquote
2402  */
2403 static const char* apzBadquotePatch[] = {
2404     "format",
2405     "does not",
2406     (char*)NULL };
2408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2410  *  Description of Broken_Assert_Stdio fix
2411  */
2412 tSCC zBroken_Assert_StdioName[] =
2413      "broken_assert_stdio";
2416  *  File name selection pattern
2417  */
2418 tSCC zBroken_Assert_StdioList[] =
2419   "assert.h\0";
2421  *  Machine/OS name selection pattern
2422  */
2423 #define apzBroken_Assert_StdioMachs (const char**)NULL
2426  *  content selection pattern - do fix if pattern found
2427  */
2428 tSCC zBroken_Assert_StdioSelect0[] =
2429        "stderr";
2432  *  content bypass pattern - skip fix if pattern found
2433  */
2434 tSCC zBroken_Assert_StdioBypass0[] =
2435        "include.*stdio\\.h";
2437 #define    BROKEN_ASSERT_STDIO_TEST_CT  2
2438 static tTestDesc aBroken_Assert_StdioTests[] = {
2439   { TT_NEGREP,   zBroken_Assert_StdioBypass0, (regex_t*)NULL },
2440   { TT_EGREP,    zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
2443  *  Fix Command Arguments for Broken_Assert_Stdio
2444  */
2445 static const char* apzBroken_Assert_StdioPatch[] = {
2446     "wrap",
2447     "#include <stdio.h>\n",
2448     (char*)NULL };
2450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2452  *  Description of Broken_Assert_Stdlib fix
2453  */
2454 tSCC zBroken_Assert_StdlibName[] =
2455      "broken_assert_stdlib";
2458  *  File name selection pattern
2459  */
2460 tSCC zBroken_Assert_StdlibList[] =
2461   "assert.h\0";
2463  *  Machine/OS name selection pattern
2464  */
2465 #define apzBroken_Assert_StdlibMachs (const char**)NULL
2468  *  content selection pattern - do fix if pattern found
2469  */
2470 tSCC zBroken_Assert_StdlibSelect0[] =
2471        "exit *\\(|abort *\\(";
2474  *  content bypass pattern - skip fix if pattern found
2475  */
2476 tSCC zBroken_Assert_StdlibBypass0[] =
2477        "include.*stdlib\\.h";
2479 #define    BROKEN_ASSERT_STDLIB_TEST_CT  2
2480 static tTestDesc aBroken_Assert_StdlibTests[] = {
2481   { TT_NEGREP,   zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
2482   { TT_EGREP,    zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
2485  *  Fix Command Arguments for Broken_Assert_Stdlib
2486  */
2487 static const char* apzBroken_Assert_StdlibPatch[] = {
2488     "wrap",
2489     "#ifdef __cplusplus\n\
2490 #include <stdlib.h>\n\
2491 #endif\n",
2492     (char*)NULL };
2494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2496  *  Description of Broken_Cabs fix
2497  */
2498 tSCC zBroken_CabsName[] =
2499      "broken_cabs";
2502  *  File name selection pattern
2503  */
2504 tSCC zBroken_CabsList[] =
2505   "math.h\0architecture/*/math.h\0";
2507  *  Machine/OS name selection pattern
2508  */
2509 #define apzBroken_CabsMachs (const char**)NULL
2512  *  content selection pattern - do fix if pattern found
2513  */
2514 tSCC zBroken_CabsSelect0[] =
2515        "^extern[ \t]+double[ \t]+cabs";
2517 #define    BROKEN_CABS_TEST_CT  1
2518 static tTestDesc aBroken_CabsTests[] = {
2519   { TT_EGREP,    zBroken_CabsSelect0, (regex_t*)NULL }, };
2522  *  Fix Command Arguments for Broken_Cabs
2523  */
2524 static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2525     "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2526     "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2527     (char*)NULL };
2529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2531  *  Description of Broken_Nan fix
2532  */
2533 tSCC zBroken_NanName[] =
2534      "broken_nan";
2537  *  File name selection pattern
2538  */
2539 tSCC zBroken_NanList[] =
2540   "architecture/ppc/math.h\0architecture/*/math.h\0";
2542  *  Machine/OS name selection pattern
2543  */
2544 #define apzBroken_NanMachs (const char**)NULL
2547  *  content selection pattern - do fix if pattern found
2548  */
2549 tSCC zBroken_NanSelect0[] =
2550        "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2553  *  content bypass pattern - skip fix if pattern found
2554  */
2555 tSCC zBroken_NanBypass0[] =
2556        "powl";
2558 #define    BROKEN_NAN_TEST_CT  2
2559 static tTestDesc aBroken_NanTests[] = {
2560   { TT_NEGREP,   zBroken_NanBypass0, (regex_t*)NULL },
2561   { TT_EGREP,    zBroken_NanSelect0, (regex_t*)NULL }, };
2564  *  Fix Command Arguments for Broken_Nan
2565  */
2566 static const char* apzBroken_NanPatch[] = {
2567     "format",
2568     "#if 1",
2569     (char*)NULL };
2571 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2573  *  Description of Bsd_Stdio_Attrs_Conflict fix
2574  */
2575 tSCC zBsd_Stdio_Attrs_ConflictName[] =
2576      "bsd_stdio_attrs_conflict";
2579  *  File name selection pattern
2580  */
2581 tSCC zBsd_Stdio_Attrs_ConflictList[] =
2582   "stdio.h\0";
2584  *  Machine/OS name selection pattern
2585  */
2586 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2587         "*-*-*bsd*",
2588         "*-*-*darwin*",
2589         (const char*)NULL };
2592  *  content selection pattern - do fix if pattern found
2593  */
2594 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2595        "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2597 #define    BSD_STDIO_ATTRS_CONFLICT_TEST_CT  1
2598 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2599   { TT_EGREP,    zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
2602  *  Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2603  */
2604 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2605     "format",
2606     "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2607 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2608 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2609     (char*)NULL };
2611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2613  *  Description of Apple_Local_Stdio_Fn_Deprecation fix
2614  */
2615 tSCC zApple_Local_Stdio_Fn_DeprecationName[] =
2616      "apple_local_stdio_fn_deprecation";
2619  *  File name selection pattern
2620  */
2621 tSCC zApple_Local_Stdio_Fn_DeprecationList[] =
2622   "stdio.h\0";
2624  *  Machine/OS name selection pattern
2625  */
2626 tSCC* apzApple_Local_Stdio_Fn_DeprecationMachs[] = {
2627         "*-*-*darwin2*",
2628         (const char*)NULL };
2631  *  content selection pattern - do fix if pattern found
2632  */
2633 tSCC zApple_Local_Stdio_Fn_DeprecationSelect0[] =
2634        "__deprecated_msg([^\n\
2635 ]*)$";
2637 #define    APPLE_LOCAL_STDIO_FN_DEPRECATION_TEST_CT  1
2638 static tTestDesc aApple_Local_Stdio_Fn_DeprecationTests[] = {
2639   { TT_EGREP,    zApple_Local_Stdio_Fn_DeprecationSelect0, (regex_t*)NULL }, };
2642  *  Fix Command Arguments for Apple_Local_Stdio_Fn_Deprecation
2643  */
2644 static const char* apzApple_Local_Stdio_Fn_DeprecationPatch[] = {
2645     "format",
2646     "#if defined(__APPLE_LOCAL_DEPRECATIONS)\n\
2647 %0\n\
2648 #endif",
2649     (char*)NULL };
2651 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2653  *  Description of Ctrl_Quotes_Def fix
2654  */
2655 tSCC zCtrl_Quotes_DefName[] =
2656      "ctrl_quotes_def";
2659  *  File name selection pattern
2660  */
2661 #define zCtrl_Quotes_DefList (char*)NULL
2663  *  Machine/OS name selection pattern
2664  */
2665 #define apzCtrl_Quotes_DefMachs (const char**)NULL
2668  *  content selection pattern - do fix if pattern found
2669  */
2670 tSCC zCtrl_Quotes_DefSelect0[] =
2671        "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2673 #define    CTRL_QUOTES_DEF_TEST_CT  1
2674 static tTestDesc aCtrl_Quotes_DefTests[] = {
2675   { TT_EGREP,    zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
2678  *  Fix Command Arguments for Ctrl_Quotes_Def
2679  */
2680 static const char* apzCtrl_Quotes_DefPatch[] = {
2681     "char_macro_def",
2682     "CTRL",
2683     (char*)NULL };
2685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2687  *  Description of Ctrl_Quotes_Use fix
2688  */
2689 tSCC zCtrl_Quotes_UseName[] =
2690      "ctrl_quotes_use";
2693  *  File name selection pattern
2694  */
2695 #define zCtrl_Quotes_UseList (char*)NULL
2697  *  Machine/OS name selection pattern
2698  */
2699 #define apzCtrl_Quotes_UseMachs (const char**)NULL
2702  *  content selection pattern - do fix if pattern found
2703  */
2704 tSCC zCtrl_Quotes_UseSelect0[] =
2705        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2707 #define    CTRL_QUOTES_USE_TEST_CT  1
2708 static tTestDesc aCtrl_Quotes_UseTests[] = {
2709   { TT_EGREP,    zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
2712  *  Fix Command Arguments for Ctrl_Quotes_Use
2713  */
2714 static const char* apzCtrl_Quotes_UsePatch[] = {
2715     "char_macro_use",
2716     "CTRL",
2717     (char*)NULL };
2719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2721  *  Description of Cxx_Unready fix
2722  */
2723 tSCC zCxx_UnreadyName[] =
2724      "cxx_unready";
2727  *  File name selection pattern
2728  */
2729 tSCC zCxx_UnreadyList[] =
2730   "sys/mman.h\0rpc/types.h\0";
2732  *  Machine/OS name selection pattern
2733  */
2734 #define apzCxx_UnreadyMachs (const char**)NULL
2737  *  content selection pattern - do fix if pattern found
2738  */
2739 tSCC zCxx_UnreadySelect0[] =
2740        "[^#]+malloc.*;";
2743  *  content bypass pattern - skip fix if pattern found
2744  */
2745 tSCC zCxx_UnreadyBypass0[] =
2746        "\"C\"|__BEGIN_DECLS";
2748 #define    CXX_UNREADY_TEST_CT  2
2749 static tTestDesc aCxx_UnreadyTests[] = {
2750   { TT_NEGREP,   zCxx_UnreadyBypass0, (regex_t*)NULL },
2751   { TT_EGREP,    zCxx_UnreadySelect0, (regex_t*)NULL }, };
2754  *  Fix Command Arguments for Cxx_Unready
2755  */
2756 static const char* apzCxx_UnreadyPatch[] = {
2757     "wrap",
2758     "#ifdef __cplusplus\n\
2759 extern \"C\" {\n\
2760 #endif\n",
2761     "#ifdef __cplusplus\n\
2762 }\n\
2763 #endif\n",
2764     (char*)NULL };
2766 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2768  *  Description of Darwin_Availabilityinternal fix
2769  */
2770 tSCC zDarwin_AvailabilityinternalName[] =
2771      "darwin_availabilityinternal";
2774  *  File name selection pattern
2775  */
2776 tSCC zDarwin_AvailabilityinternalList[] =
2777   "AvailabilityInternal.h\0";
2779  *  Machine/OS name selection pattern
2780  */
2781 tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2782         "*-*-darwin*",
2783         (const char*)NULL };
2786  *  content selection pattern - do fix if pattern found
2787  */
2788 tSCC zDarwin_AvailabilityinternalSelect0[] =
2789        "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2791 #define    DARWIN_AVAILABILITYINTERNAL_TEST_CT  1
2792 static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2793   { TT_EGREP,    zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
2796  *  Fix Command Arguments for Darwin_Availabilityinternal
2797  */
2798 static const char* apzDarwin_AvailabilityinternalPatch[] = {
2799     "format",
2800     "#if defined(__has_attribute)\n\
2801   #if __has_attribute(availability)\n\
2802 %0\n\
2803   #else\n\
2804     #define %1\n\
2805   #endif\n\
2806 #else\n\
2807     #define %1\n\
2808 #endif",
2809     (char*)NULL };
2811 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2813  *  Description of Darwin_9_Long_Double_Funcs_2 fix
2814  */
2815 tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2816      "darwin_9_long_double_funcs_2";
2819  *  File name selection pattern
2820  */
2821 tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2822   "math.h\0";
2824  *  Machine/OS name selection pattern
2825  */
2826 tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2827         "*-*-darwin*",
2828         (const char*)NULL };
2831  *  content selection pattern - do fix if pattern found
2832  */
2833 tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2834        "#include[ \\t]+\\\"";
2836 #define    DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT  1
2837 static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2838   { TT_EGREP,    zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
2841  *  Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2842  */
2843 static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2844     "format",
2845     "%1<%2.h>",
2846     "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2847     (char*)NULL };
2849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2851  *  Description of Darwin_Externc fix
2852  */
2853 tSCC zDarwin_ExterncName[] =
2854      "darwin_externc";
2857  *  File name selection pattern
2858  */
2859 tSCC zDarwin_ExterncList[] =
2860   "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2862  *  Machine/OS name selection pattern
2863  */
2864 tSCC* apzDarwin_ExterncMachs[] = {
2865         "*-*-darwin*",
2866         (const char*)NULL };
2869  *  content bypass pattern - skip fix if pattern found
2870  */
2871 tSCC zDarwin_ExterncBypass0[] =
2872        "extern \"C\"";
2873 tSCC zDarwin_ExterncBypass1[] =
2874        "__BEGIN_DECLS";
2876 #define    DARWIN_EXTERNC_TEST_CT  2
2877 static tTestDesc aDarwin_ExterncTests[] = {
2878   { TT_NEGREP,   zDarwin_ExterncBypass0, (regex_t*)NULL },
2879   { TT_NEGREP,   zDarwin_ExterncBypass1, (regex_t*)NULL }, };
2882  *  Fix Command Arguments for Darwin_Externc
2883  */
2884 static const char* apzDarwin_ExterncPatch[] = {
2885     "wrap",
2886     "#ifdef __cplusplus\n\
2887 extern \"C\" {\n\
2888 #endif\n",
2889     "#ifdef __cplusplus\n\
2890 }\n\
2891 #endif\n",
2892     (char*)NULL };
2894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2896  *  Description of Darwin_Gcc4_Breakage fix
2897  */
2898 tSCC zDarwin_Gcc4_BreakageName[] =
2899      "darwin_gcc4_breakage";
2902  *  File name selection pattern
2903  */
2904 tSCC zDarwin_Gcc4_BreakageList[] =
2905   "AvailabilityMacros.h\0";
2907  *  Machine/OS name selection pattern
2908  */
2909 tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2910         "*-*-darwin*",
2911         (const char*)NULL };
2914  *  content selection pattern - do fix if pattern found
2915  */
2916 tSCC zDarwin_Gcc4_BreakageSelect0[] =
2917        "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2919 #define    DARWIN_GCC4_BREAKAGE_TEST_CT  1
2920 static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2921   { TT_EGREP,    zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
2924  *  Fix Command Arguments for Darwin_Gcc4_Breakage
2925  */
2926 static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2927     "format",
2928     "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2929     (char*)NULL };
2931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2933  *  Description of Darwin_Ll_Funcs_Avail fix
2934  */
2935 tSCC zDarwin_Ll_Funcs_AvailName[] =
2936      "darwin_ll_funcs_avail";
2939  *  File name selection pattern
2940  */
2941 tSCC zDarwin_Ll_Funcs_AvailList[] =
2942   "architecture/ppc/math.h\0architecture/i386/math.h\0";
2944  *  Machine/OS name selection pattern
2945  */
2946 tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2947         "*-*-darwin*",
2948         (const char*)NULL };
2951  *  content selection pattern - do fix if pattern found
2952  */
2953 tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2954        "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2956 #define    DARWIN_LL_FUNCS_AVAIL_TEST_CT  1
2957 static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2958   { TT_EGREP,    zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
2961  *  Fix Command Arguments for Darwin_Ll_Funcs_Avail
2962  */
2963 static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2964     "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2965     (char*)NULL };
2967 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2969  *  Description of Darwin_Longjmp_Noreturn fix
2970  */
2971 tSCC zDarwin_Longjmp_NoreturnName[] =
2972      "darwin_longjmp_noreturn";
2975  *  File name selection pattern
2976  */
2977 tSCC zDarwin_Longjmp_NoreturnList[] =
2978   "i386/setjmp.h\0";
2980  *  Machine/OS name selection pattern
2981  */
2982 tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2983         "*-*-darwin*",
2984         (const char*)NULL };
2987  *  content selection pattern - do fix if pattern found
2988  */
2989 tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2990        "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2993  *  content bypass pattern - skip fix if pattern found
2994  */
2995 tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2996        "__dead2";
2998 #define    DARWIN_LONGJMP_NORETURN_TEST_CT  2
2999 static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
3000   { TT_NEGREP,   zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
3001   { TT_EGREP,    zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
3004  *  Fix Command Arguments for Darwin_Longjmp_Noreturn
3005  */
3006 static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
3007     "format",
3008     "%1 __attribute__ ((__noreturn__));",
3009     (char*)NULL };
3011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3013  *  Description of Darwin_Os_Trace_1 fix
3014  */
3015 tSCC zDarwin_Os_Trace_1Name[] =
3016      "darwin_os_trace_1";
3019  *  File name selection pattern
3020  */
3021 tSCC zDarwin_Os_Trace_1List[] =
3022   "os/trace.h\0";
3024  *  Machine/OS name selection pattern
3025  */
3026 tSCC* apzDarwin_Os_Trace_1Machs[] = {
3027         "*-*-darwin*",
3028         (const char*)NULL };
3031  *  content selection pattern - do fix if pattern found
3032  */
3033 tSCC zDarwin_Os_Trace_1Select0[] =
3034        "^(_os_trace_verify_printf.*) (__attribute__.*)";
3036 #define    DARWIN_OS_TRACE_1_TEST_CT  1
3037 static tTestDesc aDarwin_Os_Trace_1Tests[] = {
3038   { TT_EGREP,    zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
3041  *  Fix Command Arguments for Darwin_Os_Trace_1
3042  */
3043 static const char* apzDarwin_Os_Trace_1Patch[] = {
3044     "format",
3045     "%1",
3046     (char*)NULL };
3048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3050  *  Description of Darwin_Os_Trace_2 fix
3051  */
3052 tSCC zDarwin_Os_Trace_2Name[] =
3053      "darwin_os_trace_2";
3056  *  File name selection pattern
3057  */
3058 tSCC zDarwin_Os_Trace_2List[] =
3059   "os/trace.h\0";
3061  *  Machine/OS name selection pattern
3062  */
3063 tSCC* apzDarwin_Os_Trace_2Machs[] = {
3064         "*-*-darwin*",
3065         (const char*)NULL };
3068  *  content selection pattern - do fix if pattern found
3069  */
3070 tSCC zDarwin_Os_Trace_2Select0[] =
3071        "typedef.*\\^os_trace_payload_t.*";
3073 #define    DARWIN_OS_TRACE_2_TEST_CT  1
3074 static tTestDesc aDarwin_Os_Trace_2Tests[] = {
3075   { TT_EGREP,    zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
3078  *  Fix Command Arguments for Darwin_Os_Trace_2
3079  */
3080 static const char* apzDarwin_Os_Trace_2Patch[] = {
3081     "format",
3082     "#if __BLOCKS__\n\
3083 %0\n\
3084 #endif",
3085     (char*)NULL };
3087 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3089  *  Description of Darwin_Objc_Runtime_1 fix
3090  */
3091 tSCC zDarwin_Objc_Runtime_1Name[] =
3092      "darwin_objc_runtime_1";
3095  *  File name selection pattern
3096  */
3097 tSCC zDarwin_Objc_Runtime_1List[] =
3098   "objc/runtime.h\0";
3100  *  Machine/OS name selection pattern
3101  */
3102 tSCC* apzDarwin_Objc_Runtime_1Machs[] = {
3103         "*-*-darwin2*",
3104         (const char*)NULL };
3107  *  content selection pattern - do fix if pattern found
3108  */
3109 tSCC zDarwin_Objc_Runtime_1Select0[] =
3110        "OBJC_EXPORT void.*\n\
3111 objc_enumerateClasses.*\n\
3112 .*\n\
3113 .*\n\
3114 .*\n\
3115 .*void \\(\\^ _Nonnull block.*\n\
3116 .*\n\
3117 .*\n\
3118 .*OBJC_REFINED_FOR_SWIFT.*";
3120 #define    DARWIN_OBJC_RUNTIME_1_TEST_CT  1
3121 static tTestDesc aDarwin_Objc_Runtime_1Tests[] = {
3122   { TT_EGREP,    zDarwin_Objc_Runtime_1Select0, (regex_t*)NULL }, };
3125  *  Fix Command Arguments for Darwin_Objc_Runtime_1
3126  */
3127 static const char* apzDarwin_Objc_Runtime_1Patch[] = {
3128     "format",
3129     "#if __BLOCKS__\n\
3130 %0\n\
3131 #endif",
3132     (char*)NULL };
3134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3136  *  Description of Darwin_Os_Trace_3 fix
3137  */
3138 tSCC zDarwin_Os_Trace_3Name[] =
3139      "darwin_os_trace_3";
3142  *  File name selection pattern
3143  */
3144 tSCC zDarwin_Os_Trace_3List[] =
3145   "os/trace.h\0";
3147  *  Machine/OS name selection pattern
3148  */
3149 tSCC* apzDarwin_Os_Trace_3Machs[] = {
3150         "*-*-darwin*",
3151         (const char*)NULL };
3154  *  content selection pattern - do fix if pattern found
3155  */
3156 tSCC zDarwin_Os_Trace_3Select0[] =
3157        "__(API|OSX)_.*\n\
3158 OS_EXPORT.*\n\
3159 .*\n\
3160 _os_trace.*os_trace_payload_t payload);";
3162 #define    DARWIN_OS_TRACE_3_TEST_CT  1
3163 static tTestDesc aDarwin_Os_Trace_3Tests[] = {
3164   { TT_EGREP,    zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
3167  *  Fix Command Arguments for Darwin_Os_Trace_3
3168  */
3169 static const char* apzDarwin_Os_Trace_3Patch[] = {
3170     "format",
3171     "#if __BLOCKS__\n\
3172 %0\n\
3173 #endif",
3174     (char*)NULL };
3176 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3178  *  Description of Darwin_Os_Base_1 fix
3179  */
3180 tSCC zDarwin_Os_Base_1Name[] =
3181      "darwin_os_base_1";
3184  *  File name selection pattern
3185  */
3186 tSCC zDarwin_Os_Base_1List[] =
3187   "os/base.h\0";
3189  *  Machine/OS name selection pattern
3190  */
3191 tSCC* apzDarwin_Os_Base_1Machs[] = {
3192         "*-*-darwin*",
3193         (const char*)NULL };
3196  *  content selection pattern - do fix if pattern found
3197  */
3198 tSCC zDarwin_Os_Base_1Select0[] =
3199        "#define __has_attribute.*\n\
3200 #endif";
3202 #define    DARWIN_OS_BASE_1_TEST_CT  1
3203 static tTestDesc aDarwin_Os_Base_1Tests[] = {
3204   { TT_EGREP,    zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
3207  *  Fix Command Arguments for Darwin_Os_Base_1
3208  */
3209 static const char* apzDarwin_Os_Base_1Patch[] = {
3210     "format",
3211     "%0\n\
3212 #ifndef __has_extension\n\
3213 #define __has_extension(x) 0\n\
3214 #endif",
3215     (char*)NULL };
3217 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3219  *  Description of Darwin_Dispatch_Object_1 fix
3220  */
3221 tSCC zDarwin_Dispatch_Object_1Name[] =
3222      "darwin_dispatch_object_1";
3225  *  File name selection pattern
3226  */
3227 tSCC zDarwin_Dispatch_Object_1List[] =
3228   "dispatch/object.h\0";
3230  *  Machine/OS name selection pattern
3231  */
3232 tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3233         "*-*-darwin*",
3234         (const char*)NULL };
3237  *  content selection pattern - do fix if pattern found
3238  */
3239 tSCC zDarwin_Dispatch_Object_1Select0[] =
3240        "typedef void.*\\^dispatch_block_t.*";
3242 #define    DARWIN_DISPATCH_OBJECT_1_TEST_CT  1
3243 static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3244   { TT_EGREP,    zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
3247  *  Fix Command Arguments for Darwin_Dispatch_Object_1
3248  */
3249 static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3250     "format",
3251     "#if __BLOCKS__\n\
3252 %0\n\
3253 #endif",
3254     (char*)NULL };
3256 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3258  *  Description of Darwin_Private_Extern fix
3259  */
3260 tSCC zDarwin_Private_ExternName[] =
3261      "darwin_private_extern";
3264  *  File name selection pattern
3265  */
3266 tSCC zDarwin_Private_ExternList[] =
3267   "mach-o/dyld.h\0";
3269  *  Machine/OS name selection pattern
3270  */
3271 tSCC* apzDarwin_Private_ExternMachs[] = {
3272         "*-*-darwin*",
3273         (const char*)NULL };
3276  *  content selection pattern - do fix if pattern found
3277  */
3278 tSCC zDarwin_Private_ExternSelect0[] =
3279        "__private_extern__ [a-z_]+ _dyld_";
3281 #define    DARWIN_PRIVATE_EXTERN_TEST_CT  1
3282 static tTestDesc aDarwin_Private_ExternTests[] = {
3283   { TT_EGREP,    zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
3286  *  Fix Command Arguments for Darwin_Private_Extern
3287  */
3288 static const char* apzDarwin_Private_ExternPatch[] = {
3289     "format",
3290     "extern",
3291     "__private_extern__",
3292     (char*)NULL };
3294 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3296  *  Description of Darwin_Stdint_1 fix
3297  */
3298 tSCC zDarwin_Stdint_1Name[] =
3299      "darwin_stdint_1";
3302  *  File name selection pattern
3303  */
3304 tSCC zDarwin_Stdint_1List[] =
3305   "stdint-darwin.h\0stdint.h\0";
3307  *  Machine/OS name selection pattern
3308  */
3309 tSCC* apzDarwin_Stdint_1Machs[] = {
3310         "*-*-darwin*",
3311         (const char*)NULL };
3314  *  content selection pattern - do fix if pattern found
3315  */
3316 tSCC zDarwin_Stdint_1Select0[] =
3317        "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3318 #define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3320 #define    DARWIN_STDINT_1_TEST_CT  1
3321 static tTestDesc aDarwin_Stdint_1Tests[] = {
3322   { TT_EGREP,    zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
3325  *  Fix Command Arguments for Darwin_Stdint_1
3326  */
3327 static const char* apzDarwin_Stdint_1Patch[] = {
3328     "format",
3329     "#define UINT8_C(v)\tv\n\
3330 #define UINT16_C(v)\tv",
3331     (char*)NULL };
3333 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3335  *  Description of Darwin_Stdint_2 fix
3336  */
3337 tSCC zDarwin_Stdint_2Name[] =
3338      "darwin_stdint_2";
3341  *  File name selection pattern
3342  */
3343 tSCC zDarwin_Stdint_2List[] =
3344   "stdint-darwin.h\0stdint.h\0";
3346  *  Machine/OS name selection pattern
3347  */
3348 tSCC* apzDarwin_Stdint_2Machs[] = {
3349         "*-*-darwin*",
3350         (const char*)NULL };
3353  *  content selection pattern - do fix if pattern found
3354  */
3355 tSCC zDarwin_Stdint_2Select0[] =
3356        "#if __WORDSIZE == 64\n\
3357 #define INTPTR_MIN[ \t]+INT64_MIN\n\
3358 #define INTPTR_MAX[ \t]+INT64_MAX\n\
3359 #else\n\
3360 #define INTPTR_MIN[ \t]+INT32_MIN\n\
3361 #define INTPTR_MAX[ \t]+INT32_MAX\n\
3362 #endif";
3364 #define    DARWIN_STDINT_2_TEST_CT  1
3365 static tTestDesc aDarwin_Stdint_2Tests[] = {
3366   { TT_EGREP,    zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
3369  *  Fix Command Arguments for Darwin_Stdint_2
3370  */
3371 static const char* apzDarwin_Stdint_2Patch[] = {
3372     "format",
3373     "#if __WORDSIZE == 64\n\
3374 #define INTPTR_MAX 9223372036854775807L\n\
3375 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3376 #else\n\
3377 #define INTPTR_MAX 2147483647L\n\
3378 #define INTPTR_MIN (-INTPTR_MAX-1)\n\
3379 #endif",
3380     (char*)NULL };
3382 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3384  *  Description of Darwin_Stdint_3 fix
3385  */
3386 tSCC zDarwin_Stdint_3Name[] =
3387      "darwin_stdint_3";
3390  *  File name selection pattern
3391  */
3392 tSCC zDarwin_Stdint_3List[] =
3393   "stdint-darwin.h\0stdint.h\0";
3395  *  Machine/OS name selection pattern
3396  */
3397 tSCC* apzDarwin_Stdint_3Machs[] = {
3398         "*-*-darwin*",
3399         (const char*)NULL };
3402  *  content selection pattern - do fix if pattern found
3403  */
3404 tSCC zDarwin_Stdint_3Select0[] =
3405        "#if __WORDSIZE == 64\n\
3406 #define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3407 #else\n\
3408 #define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3409 #endif";
3411 #define    DARWIN_STDINT_3_TEST_CT  1
3412 static tTestDesc aDarwin_Stdint_3Tests[] = {
3413   { TT_EGREP,    zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
3416  *  Fix Command Arguments for Darwin_Stdint_3
3417  */
3418 static const char* apzDarwin_Stdint_3Patch[] = {
3419     "format",
3420     "#if __WORDSIZE == 64\n\
3421 #define UINTPTR_MAX 18446744073709551615UL\n\
3422 #else\n\
3423 #define UINTPTR_MAX 4294967295UL\n\
3424 #endif",
3425     (char*)NULL };
3427 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3429  *  Description of Darwin_Stdint_4 fix
3430  */
3431 tSCC zDarwin_Stdint_4Name[] =
3432      "darwin_stdint_4";
3435  *  File name selection pattern
3436  */
3437 tSCC zDarwin_Stdint_4List[] =
3438   "stdint-darwin.h\0stdint.h\0";
3440  *  Machine/OS name selection pattern
3441  */
3442 tSCC* apzDarwin_Stdint_4Machs[] = {
3443         "*-*-darwin*",
3444         (const char*)NULL };
3447  *  content selection pattern - do fix if pattern found
3448  */
3449 tSCC zDarwin_Stdint_4Select0[] =
3450        "#if __WORDSIZE == 64\n\
3451 #define SIZE_MAX[ \t]+UINT64_MAX\n\
3452 #else\n\
3453 #define SIZE_MAX[ \t]+UINT32_MAX\n\
3454 #endif";
3456 #define    DARWIN_STDINT_4_TEST_CT  1
3457 static tTestDesc aDarwin_Stdint_4Tests[] = {
3458   { TT_EGREP,    zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
3461  *  Fix Command Arguments for Darwin_Stdint_4
3462  */
3463 static const char* apzDarwin_Stdint_4Patch[] = {
3464     "format",
3465     "#if __WORDSIZE == 64\n\
3466 #define SIZE_MAX 18446744073709551615UL\n\
3467 #else\n\
3468 #define SIZE_MAX 4294967295UL\n\
3469 #endif",
3470     (char*)NULL };
3472 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3474  *  Description of Darwin_Stdint_5 fix
3475  */
3476 tSCC zDarwin_Stdint_5Name[] =
3477      "darwin_stdint_5";
3480  *  File name selection pattern
3481  */
3482 tSCC zDarwin_Stdint_5List[] =
3483   "stdint-darwin.h\0stdint.h\0";
3485  *  Machine/OS name selection pattern
3486  */
3487 tSCC* apzDarwin_Stdint_5Machs[] = {
3488         "*-*-darwin*",
3489         (const char*)NULL };
3492  *  content selection pattern - do fix if pattern found
3493  */
3494 tSCC zDarwin_Stdint_5Select0[] =
3495        "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3496 #define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3497 #define UINTMAX_MAX[ \t]+UINT64_MAX";
3499 #define    DARWIN_STDINT_5_TEST_CT  1
3500 static tTestDesc aDarwin_Stdint_5Tests[] = {
3501   { TT_EGREP,    zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
3504  *  Fix Command Arguments for Darwin_Stdint_5
3505  */
3506 static const char* apzDarwin_Stdint_5Patch[] = {
3507     "format",
3508     "#if __WORDSIZE == 64\n\
3509 #define INTMAX_MIN   (-9223372036854775807L - 1)\n\
3510 #define INTMAX_MAX   9223372036854775807L\n\
3511 #define UINTMAX_MAX  18446744073709551615UL\n\
3512 #else\n\
3513 #define INTMAX_MIN   (-9223372036854775807LL - 1)\n\
3514 #define INTMAX_MAX   9223372036854775807LL\n\
3515 #define UINTMAX_MAX  18446744073709551615ULL\n\
3516 #endif",
3517     (char*)NULL };
3519 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3521  *  Description of Darwin_Stdint_6 fix
3522  */
3523 tSCC zDarwin_Stdint_6Name[] =
3524      "darwin_stdint_6";
3527  *  File name selection pattern
3528  */
3529 tSCC zDarwin_Stdint_6List[] =
3530   "stdint-darwin.h\0stdint.h\0";
3532  *  Machine/OS name selection pattern
3533  */
3534 tSCC* apzDarwin_Stdint_6Machs[] = {
3535         "*-*-darwin*",
3536         (const char*)NULL };
3539  *  content selection pattern - do fix if pattern found
3540  */
3541 tSCC zDarwin_Stdint_6Select0[] =
3542        "#if __WORDSIZE == 64\n\
3543 #define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3544 #define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3545 #else\n\
3546 #define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3547 #define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3548 #endif";
3550 #define    DARWIN_STDINT_6_TEST_CT  1
3551 static tTestDesc aDarwin_Stdint_6Tests[] = {
3552   { TT_EGREP,    zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
3555  *  Fix Command Arguments for Darwin_Stdint_6
3556  */
3557 static const char* apzDarwin_Stdint_6Patch[] = {
3558     "format",
3559     "#if __WORDSIZE == 64\n\
3560 #define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3561 #define PTRDIFF_MAX 9223372036854775807L\n\
3562 #else\n\
3563 #define PTRDIFF_MIN (-2147483647 - 1)\n\
3564 #define PTRDIFF_MAX 2147483647\n\
3565 #endif",
3566     (char*)NULL };
3568 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3570  *  Description of Darwin_Stdint_7 fix
3571  */
3572 tSCC zDarwin_Stdint_7Name[] =
3573      "darwin_stdint_7";
3576  *  File name selection pattern
3577  */
3578 tSCC zDarwin_Stdint_7List[] =
3579   "stdint-darwin.h\0stdint.h\0";
3581  *  Machine/OS name selection pattern
3582  */
3583 tSCC* apzDarwin_Stdint_7Machs[] = {
3584         "*-*-darwin*",
3585         (const char*)NULL };
3588  *  content selection pattern - do fix if pattern found
3589  */
3590 tSCC zDarwin_Stdint_7Select0[] =
3591        "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3592 #define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3594 #define    DARWIN_STDINT_7_TEST_CT  1
3595 static tTestDesc aDarwin_Stdint_7Tests[] = {
3596   { TT_EGREP,    zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
3599  *  Fix Command Arguments for Darwin_Stdint_7
3600  */
3601 static const char* apzDarwin_Stdint_7Patch[] = {
3602     "format",
3603     "#if __WORDSIZE == 64\n\
3604 #define INTMAX_C(v)  (v ## L)\n\
3605 #define UINTMAX_C(v) (v ## UL)\n\
3606 #else\n\
3607 #define INTMAX_C(v)  (v ## LL)\n\
3608 #define UINTMAX_C(v) (v ## ULL)\n\
3609 #endif",
3610     (char*)NULL };
3612 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3614  *  Description of Darwin_Ucred__Atomic fix
3615  */
3616 tSCC zDarwin_Ucred__AtomicName[] =
3617      "darwin_ucred__Atomic";
3620  *  File name selection pattern
3621  */
3622 tSCC zDarwin_Ucred__AtomicList[] =
3623   "sys/ucred.h\0";
3625  *  Machine/OS name selection pattern
3626  */
3627 tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3628         "*-*-darwin*",
3629         (const char*)NULL };
3632  *  content selection pattern - do fix if pattern found
3633  */
3634 tSCC zDarwin_Ucred__AtomicSelect0[] =
3635        "_Atomic";
3637 #define    DARWIN_UCRED__ATOMIC_TEST_CT  1
3638 static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3639   { TT_EGREP,    zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
3642  *  Fix Command Arguments for Darwin_Ucred__Atomic
3643  */
3644 static const char* apzDarwin_Ucred__AtomicPatch[] = {
3645     "wrap",
3646     "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3647 # define _Atomic volatile\n\
3648 #endif\n",
3649     "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3650 # undef _Atomic\n\
3651 #endif\n",
3652     (char*)NULL };
3654 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3656  *  Description of Darwin_Flt_Eval_Method fix
3657  */
3658 tSCC zDarwin_Flt_Eval_MethodName[] =
3659      "darwin_flt_eval_method";
3662  *  File name selection pattern
3663  */
3664 tSCC zDarwin_Flt_Eval_MethodList[] =
3665   "math.h\0";
3667  *  Machine/OS name selection pattern
3668  */
3669 tSCC* apzDarwin_Flt_Eval_MethodMachs[] = {
3670         "*-*-darwin*",
3671         (const char*)NULL };
3674  *  content selection pattern - do fix if pattern found
3675  */
3676 tSCC zDarwin_Flt_Eval_MethodSelect0[] =
3677        "^#if __FLT_EVAL_METHOD__ == 0$";
3679 #define    DARWIN_FLT_EVAL_METHOD_TEST_CT  1
3680 static tTestDesc aDarwin_Flt_Eval_MethodTests[] = {
3681   { TT_EGREP,    zDarwin_Flt_Eval_MethodSelect0, (regex_t*)NULL }, };
3684  *  Fix Command Arguments for Darwin_Flt_Eval_Method
3685  */
3686 static const char* apzDarwin_Flt_Eval_MethodPatch[] = {
3687     "format",
3688     "#if __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 16",
3689     (char*)NULL };
3691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3693  *  Description of Dec_Intern_Asm fix
3694  */
3695 tSCC zDec_Intern_AsmName[] =
3696      "dec_intern_asm";
3699  *  File name selection pattern
3700  */
3701 tSCC zDec_Intern_AsmList[] =
3702   "c_asm.h\0";
3704  *  Machine/OS name selection pattern
3705  */
3706 #define apzDec_Intern_AsmMachs (const char**)NULL
3707 #define DEC_INTERN_ASM_TEST_CT  0
3708 #define aDec_Intern_AsmTests   (tTestDesc*)NULL
3711  *  Fix Command Arguments for Dec_Intern_Asm
3712  */
3713 static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3714     "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3715 #ifdef __DECC\n",
3716     "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3717 #endif\n",
3718     (char*)NULL };
3720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3722  *  Description of Djgpp_Wchar_H fix
3723  */
3724 tSCC zDjgpp_Wchar_HName[] =
3725      "djgpp_wchar_h";
3728  *  File name selection pattern
3729  */
3730 #define zDjgpp_Wchar_HList (char*)NULL
3732  *  Machine/OS name selection pattern
3733  */
3734 #define apzDjgpp_Wchar_HMachs (const char**)NULL
3737  *  content selection pattern - do fix if pattern found
3738  */
3739 tSCC zDjgpp_Wchar_HSelect0[] =
3740        "__DJ_wint_t";
3743  *  content bypass pattern - skip fix if pattern found
3744  */
3745 tSCC zDjgpp_Wchar_HBypass0[] =
3746        "sys/djtypes.h";
3748 #define    DJGPP_WCHAR_H_TEST_CT  2
3749 static tTestDesc aDjgpp_Wchar_HTests[] = {
3750   { TT_NEGREP,   zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
3751   { TT_EGREP,    zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
3754  *  Fix Command Arguments for Djgpp_Wchar_H
3755  */
3756 static const char* apzDjgpp_Wchar_HPatch[] = {
3757     "format",
3758     "%0\n\
3759 #include <sys/djtypes.h>",
3760     "#include <stddef.h>",
3761     (char*)NULL };
3763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3765  *  Description of Ecd_Cursor fix
3766  */
3767 tSCC zEcd_CursorName[] =
3768      "ecd_cursor";
3771  *  File name selection pattern
3772  */
3773 tSCC zEcd_CursorList[] =
3774   "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3776  *  Machine/OS name selection pattern
3777  */
3778 #define apzEcd_CursorMachs (const char**)NULL
3781  *  content selection pattern - do fix if pattern found
3782  */
3783 tSCC zEcd_CursorSelect0[] =
3784        "ecd\\.cursor";
3786 #define    ECD_CURSOR_TEST_CT  1
3787 static tTestDesc aEcd_CursorTests[] = {
3788   { TT_EGREP,    zEcd_CursorSelect0, (regex_t*)NULL }, };
3791  *  Fix Command Arguments for Ecd_Cursor
3792  */
3793 static const char* apzEcd_CursorPatch[] = {
3794     "format",
3795     "ecd_cursor",
3796     (char*)NULL };
3798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3800  *  Description of Feraiseexcept_Nosse_Divbyzero fix
3801  */
3802 tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3803      "feraiseexcept_nosse_divbyzero";
3806  *  File name selection pattern
3807  */
3808 tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3809   "bits/fenv.h\0*/bits/fenv.h\0";
3811  *  Machine/OS name selection pattern
3812  */
3813 tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3814         "i[34567]86-*-linux*",
3815         "x86*-linux*",
3816         "amd64-*-linux*",
3817         (const char*)NULL };
3820  *  content selection pattern - do fix if pattern found
3821  */
3822 tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3823        "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3826  *  content bypass pattern - skip fix if pattern found
3827  */
3828 tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3829        "\"fdivp .*; fwait\"";
3831 #define    FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT  2
3832 static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3833   { TT_NEGREP,   zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
3834   { TT_EGREP,    zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
3837  *  Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3838  */
3839 static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3840     "format",
3841     "# ifdef __SSE_MATH__\n\
3842 %0\n\
3843 # else\n\
3844 %1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3845 %1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3846 # endif",
3847     (char*)NULL };
3849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3851  *  Description of Feraiseexcept_Nosse_Invalid fix
3852  */
3853 tSCC zFeraiseexcept_Nosse_InvalidName[] =
3854      "feraiseexcept_nosse_invalid";
3857  *  File name selection pattern
3858  */
3859 tSCC zFeraiseexcept_Nosse_InvalidList[] =
3860   "bits/fenv.h\0*/bits/fenv.h\0";
3862  *  Machine/OS name selection pattern
3863  */
3864 tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3865         "i[34567]86-*-linux*",
3866         "x86*-linux*",
3867         "amd64-*-linux*",
3868         (const char*)NULL };
3871  *  content selection pattern - do fix if pattern found
3872  */
3873 tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3874        "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3877  *  content bypass pattern - skip fix if pattern found
3878  */
3879 tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3880        "\"fdiv .*; fwait\"";
3882 #define    FERAISEEXCEPT_NOSSE_INVALID_TEST_CT  2
3883 static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3884   { TT_NEGREP,   zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
3885   { TT_EGREP,    zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
3888  *  Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3889  */
3890 static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3891     "format",
3892     "# ifdef __SSE_MATH__\n\
3893 %0\n\
3894 # else\n\
3895 %1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3896 %1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3897 # endif",
3898     (char*)NULL };
3900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3902  *  Description of Freebsd_Gcc3_Breakage fix
3903  */
3904 tSCC zFreebsd_Gcc3_BreakageName[] =
3905      "freebsd_gcc3_breakage";
3908  *  File name selection pattern
3909  */
3910 tSCC zFreebsd_Gcc3_BreakageList[] =
3911   "sys/cdefs.h\0";
3913  *  Machine/OS name selection pattern
3914  */
3915 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3916         "*-*-freebsd*",
3917         (const char*)NULL };
3920  *  content selection pattern - do fix if pattern found
3921  */
3922 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3923        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3926  *  content bypass pattern - skip fix if pattern found
3927  */
3928 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3929        "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3931 #define    FREEBSD_GCC3_BREAKAGE_TEST_CT  2
3932 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3933   { TT_NEGREP,   zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
3934   { TT_EGREP,    zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
3937  *  Fix Command Arguments for Freebsd_Gcc3_Breakage
3938  */
3939 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3940     "format",
3941     "%0 || __GNUC__ >= 3",
3942     (char*)NULL };
3944 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3946  *  Description of Freebsd_Gcc4_Breakage fix
3947  */
3948 tSCC zFreebsd_Gcc4_BreakageName[] =
3949      "freebsd_gcc4_breakage";
3952  *  File name selection pattern
3953  */
3954 tSCC zFreebsd_Gcc4_BreakageList[] =
3955   "sys/cdefs.h\0";
3957  *  Machine/OS name selection pattern
3958  */
3959 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3960         "*-*-freebsd*",
3961         (const char*)NULL };
3964  *  content selection pattern - do fix if pattern found
3965  */
3966 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3967        "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3969 #define    FREEBSD_GCC4_BREAKAGE_TEST_CT  1
3970 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3971   { TT_EGREP,    zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
3974  *  Fix Command Arguments for Freebsd_Gcc4_Breakage
3975  */
3976 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3977     "format",
3978     "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3979     (char*)NULL };
3981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3983  *  Description of Glibc_C99_Inline_1 fix
3984  */
3985 tSCC zGlibc_C99_Inline_1Name[] =
3986      "glibc_c99_inline_1";
3989  *  File name selection pattern
3990  */
3991 tSCC zGlibc_C99_Inline_1List[] =
3992   "features.h\0*/features.h\0";
3994  *  Machine/OS name selection pattern
3995  */
3996 #define apzGlibc_C99_Inline_1Machs (const char**)NULL
3999  *  content selection pattern - do fix if pattern found
4000  */
4001 tSCC zGlibc_C99_Inline_1Select0[] =
4002        "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
4004 #define    GLIBC_C99_INLINE_1_TEST_CT  1
4005 static tTestDesc aGlibc_C99_Inline_1Tests[] = {
4006   { TT_EGREP,    zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
4009  *  Fix Command Arguments for Glibc_C99_Inline_1
4010  */
4011 static const char* apzGlibc_C99_Inline_1Patch[] = {
4012     "format",
4013     "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
4014     (char*)NULL };
4016 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4018  *  Description of Glibc_C99_Inline_1a fix
4019  */
4020 tSCC zGlibc_C99_Inline_1aName[] =
4021      "glibc_c99_inline_1a";
4024  *  File name selection pattern
4025  */
4026 tSCC zGlibc_C99_Inline_1aList[] =
4027   "features.h\0*/features.h\0";
4029  *  Machine/OS name selection pattern
4030  */
4031 #define apzGlibc_C99_Inline_1aMachs (const char**)NULL
4034  *  content selection pattern - do fix if pattern found
4035  */
4036 tSCC zGlibc_C99_Inline_1aSelect0[] =
4037        "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
4038 (#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
4040 #define    GLIBC_C99_INLINE_1A_TEST_CT  1
4041 static tTestDesc aGlibc_C99_Inline_1aTests[] = {
4042   { TT_EGREP,    zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
4045  *  Fix Command Arguments for Glibc_C99_Inline_1a
4046  */
4047 static const char* apzGlibc_C99_Inline_1aPatch[] = {
4048     "format",
4049     "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
4050 %2",
4051     (char*)NULL };
4053 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4055  *  Description of Glibc_C99_Inline_2 fix
4056  */
4057 tSCC zGlibc_C99_Inline_2Name[] =
4058      "glibc_c99_inline_2";
4061  *  File name selection pattern
4062  */
4063 tSCC zGlibc_C99_Inline_2List[] =
4064   "sys/stat.h\0*/sys/stat.h\0";
4066  *  Machine/OS name selection pattern
4067  */
4068 #define apzGlibc_C99_Inline_2Machs (const char**)NULL
4071  *  content selection pattern - do fix if pattern found
4072  */
4073 tSCC zGlibc_C99_Inline_2Select0[] =
4074        "extern __inline__ int";
4076 #define    GLIBC_C99_INLINE_2_TEST_CT  1
4077 static tTestDesc aGlibc_C99_Inline_2Tests[] = {
4078   { TT_EGREP,    zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
4081  *  Fix Command Arguments for Glibc_C99_Inline_2
4082  */
4083 static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
4084     "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4085 extern\\\n\
4086 #endif\\\n\
4087 __inline__ int \\1/",
4088     "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4089 extern\\\n\
4090 #endif\\\n\
4091 __inline__ int \\1/",
4092     "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4093 extern\\\n\
4094 #endif\\\n\
4095 __inline__ int \\1/",
4096     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4097 extern\\\n\
4098 #endif\\\n\
4099 __inline__ int __REDIRECT\\1 (\\2/",
4100     "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4101 extern\\\n\
4102 #endif\\\n\
4103 __inline__ int __REDIRECT\\1 (\\2/",
4104     "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
4105 extern\\\n\
4106 #endif\\\n\
4107 __inline__ int/",
4108     (char*)NULL };
4110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4112  *  Description of Glibc_C99_Inline_3 fix
4113  */
4114 tSCC zGlibc_C99_Inline_3Name[] =
4115      "glibc_c99_inline_3";
4118  *  File name selection pattern
4119  */
4120 tSCC zGlibc_C99_Inline_3List[] =
4121   "bits/string2.h\0*/bits/string2.h\0";
4123  *  Machine/OS name selection pattern
4124  */
4125 #define apzGlibc_C99_Inline_3Machs (const char**)NULL
4128  *  content selection pattern - do fix if pattern found
4129  */
4130 tSCC zGlibc_C99_Inline_3Select0[] =
4131        "extern __inline";
4134  *  content bypass pattern - skip fix if pattern found
4135  */
4136 tSCC zGlibc_C99_Inline_3Bypass0[] =
4137        "__extern_inline|__GNU_STDC_INLINE__";
4139 #define    GLIBC_C99_INLINE_3_TEST_CT  2
4140 static tTestDesc aGlibc_C99_Inline_3Tests[] = {
4141   { TT_NEGREP,   zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
4142   { TT_EGREP,    zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
4145  *  Fix Command Arguments for Glibc_C99_Inline_3
4146  */
4147 static const char* apzGlibc_C99_Inline_3Patch[] = {
4148     "format",
4149     "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
4150     "^# ifdef __cplusplus$",
4151     (char*)NULL };
4153 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4155  *  Description of Glibc_C99_Inline_4 fix
4156  */
4157 tSCC zGlibc_C99_Inline_4Name[] =
4158      "glibc_c99_inline_4";
4161  *  File name selection pattern
4162  */
4163 tSCC zGlibc_C99_Inline_4List[] =
4164   "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
4166  *  Machine/OS name selection pattern
4167  */
4168 #define apzGlibc_C99_Inline_4Machs (const char**)NULL
4171  *  content selection pattern - do fix if pattern found
4172  */
4173 tSCC zGlibc_C99_Inline_4Select0[] =
4174        "(^| )extern __inline";
4177  *  content bypass pattern - skip fix if pattern found
4178  */
4179 tSCC zGlibc_C99_Inline_4Bypass0[] =
4180        "__extern_inline|__gnu_inline__";
4182 #define    GLIBC_C99_INLINE_4_TEST_CT  2
4183 static tTestDesc aGlibc_C99_Inline_4Tests[] = {
4184   { TT_NEGREP,   zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
4185   { TT_EGREP,    zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
4188  *  Fix Command Arguments for Glibc_C99_Inline_4
4189  */
4190 static const char* apzGlibc_C99_Inline_4Patch[] = {
4191     "format",
4192     "%0 __attribute__ ((__gnu_inline__))",
4193     (char*)NULL };
4195 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4197  *  Description of Glibc_Cxx_Floatn_1 fix
4198  */
4199 tSCC zGlibc_Cxx_Floatn_1Name[] =
4200      "glibc_cxx_floatn_1";
4203  *  File name selection pattern
4204  */
4205 tSCC zGlibc_Cxx_Floatn_1List[] =
4206   "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4208  *  Machine/OS name selection pattern
4209  */
4210 #define apzGlibc_Cxx_Floatn_1Machs (const char**)NULL
4213  *  content selection pattern - do fix if pattern found
4214  */
4215 tSCC zGlibc_Cxx_Floatn_1Select0[] =
4216        "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4217 (([ \t]*/\\*[^\n\
4218 ]*\\*/\n\
4219 )?([ \t]*#[ \t]*if[^\n\
4220 ]*\n\
4221 )?[ \t]*#[ \t]*define __f(16|32|64|128)x?\\()";
4223 #define    GLIBC_CXX_FLOATN_1_TEST_CT  1
4224 static tTestDesc aGlibc_Cxx_Floatn_1Tests[] = {
4225   { TT_EGREP,    zGlibc_Cxx_Floatn_1Select0, (regex_t*)NULL }, };
4228  *  Fix Command Arguments for Glibc_Cxx_Floatn_1
4229  */
4230 static const char* apzGlibc_Cxx_Floatn_1Patch[] = {
4231     "format",
4232     "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4233 %2",
4234     (char*)NULL };
4236 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4238  *  Description of Glibc_Cxx_Floatn_2 fix
4239  */
4240 tSCC zGlibc_Cxx_Floatn_2Name[] =
4241      "glibc_cxx_floatn_2";
4244  *  File name selection pattern
4245  */
4246 tSCC zGlibc_Cxx_Floatn_2List[] =
4247   "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4249  *  Machine/OS name selection pattern
4250  */
4251 #define apzGlibc_Cxx_Floatn_2Machs (const char**)NULL
4254  *  content selection pattern - do fix if pattern found
4255  */
4256 tSCC zGlibc_Cxx_Floatn_2Select0[] =
4257        "^([ \t]*#[ \t]*(el)?if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4258 (([ \t]*/\\*[^\n\
4259 ]*\\*/\n\
4260 )?[ \t]*typedef[ \t]+[^\n\
4261 ]*[ \t]+_Float(16|32|64|128)x?([ \t]+__attribute__ \\(\\(__mode__ \\(__HF__\\)\\)\\))?;)";
4263 #define    GLIBC_CXX_FLOATN_2_TEST_CT  1
4264 static tTestDesc aGlibc_Cxx_Floatn_2Tests[] = {
4265   { TT_EGREP,    zGlibc_Cxx_Floatn_2Select0, (regex_t*)NULL }, };
4268  *  Fix Command Arguments for Glibc_Cxx_Floatn_2
4269  */
4270 static const char* apzGlibc_Cxx_Floatn_2Patch[] = {
4271     "format",
4272     "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4273 %3",
4274     (char*)NULL };
4276 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4278  *  Description of Glibc_Cxx_Floatn_3 fix
4279  */
4280 tSCC zGlibc_Cxx_Floatn_3Name[] =
4281      "glibc_cxx_floatn_3";
4284  *  File name selection pattern
4285  */
4286 tSCC zGlibc_Cxx_Floatn_3List[] =
4287   "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4289  *  Machine/OS name selection pattern
4290  */
4291 #define apzGlibc_Cxx_Floatn_3Machs (const char**)NULL
4294  *  content selection pattern - do fix if pattern found
4295  */
4296 tSCC zGlibc_Cxx_Floatn_3Select0[] =
4297        "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4298 (([ \t]*/\\*[^\n\
4299 ]*\n\
4300 ?[^\n\
4301 ]*\\*/\n\
4302 )?([ \t]*#[ \t]*if[^\n\
4303 ]*\n\
4304 )?([ \t]*typedef[ \t]+[^\n\
4305 ]*;\n\
4306 )?[ \t]*#[ \t]*define __CFLOAT(16|32|64|128)X?[ \t]+)";
4308 #define    GLIBC_CXX_FLOATN_3_TEST_CT  1
4309 static tTestDesc aGlibc_Cxx_Floatn_3Tests[] = {
4310   { TT_EGREP,    zGlibc_Cxx_Floatn_3Select0, (regex_t*)NULL }, };
4313  *  Fix Command Arguments for Glibc_Cxx_Floatn_3
4314  */
4315 static const char* apzGlibc_Cxx_Floatn_3Patch[] = {
4316     "format",
4317     "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4318 %2",
4319     (char*)NULL };
4321 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4323  *  Description of Glibc_Cxx_Floatn_4 fix
4324  */
4325 tSCC zGlibc_Cxx_Floatn_4Name[] =
4326      "glibc_cxx_floatn_4";
4329  *  File name selection pattern
4330  */
4331 tSCC zGlibc_Cxx_Floatn_4List[] =
4332   "bits/floatn.h\0*/bits/floatn.h\0";
4334  *  Machine/OS name selection pattern
4335  */
4336 #define apzGlibc_Cxx_Floatn_4Machs (const char**)NULL
4339  *  content selection pattern - do fix if pattern found
4340  */
4341 tSCC zGlibc_Cxx_Floatn_4Select0[] =
4342        "^([ \t]*#[ \t]*if __LDBL_MANT_DIG__ == 113 && )defined __cplusplus\n\
4343 (([ \t]*/\\*[^\n\
4344 ]*\\*/\n\
4345 )?[ \t]*typedef[ \t]+[^\n\
4346 ]*[ \t]+_Float128;)";
4348 #define    GLIBC_CXX_FLOATN_4_TEST_CT  1
4349 static tTestDesc aGlibc_Cxx_Floatn_4Tests[] = {
4350   { TT_EGREP,    zGlibc_Cxx_Floatn_4Select0, (regex_t*)NULL }, };
4353  *  Fix Command Arguments for Glibc_Cxx_Floatn_4
4354  */
4355 static const char* apzGlibc_Cxx_Floatn_4Patch[] = {
4356     "format",
4357     "%1defined __cplusplus && !__GNUC_PREREQ (13, 0)\n\
4358 %2",
4359     (char*)NULL };
4361 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4363  *  Description of Glibc_Cxx_Floatn_5 fix
4364  */
4365 tSCC zGlibc_Cxx_Floatn_5Name[] =
4366      "glibc_cxx_floatn_5";
4369  *  File name selection pattern
4370  */
4371 tSCC zGlibc_Cxx_Floatn_5List[] =
4372   "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4374  *  Machine/OS name selection pattern
4375  */
4376 #define apzGlibc_Cxx_Floatn_5Machs (const char**)NULL
4379  *  content selection pattern - do fix if pattern found
4380  */
4381 tSCC zGlibc_Cxx_Floatn_5Select0[] =
4382        "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4383 ([ \t]*#[ \t]+error \"_Float128[xX] supported but no )";
4385 #define    GLIBC_CXX_FLOATN_5_TEST_CT  1
4386 static tTestDesc aGlibc_Cxx_Floatn_5Tests[] = {
4387   { TT_EGREP,    zGlibc_Cxx_Floatn_5Select0, (regex_t*)NULL }, };
4390  *  Fix Command Arguments for Glibc_Cxx_Floatn_5
4391  */
4392 static const char* apzGlibc_Cxx_Floatn_5Patch[] = {
4393     "format",
4394     "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4395 %2",
4396     (char*)NULL };
4398 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4400  *  Description of Glibc_Mutex_Init fix
4401  */
4402 tSCC zGlibc_Mutex_InitName[] =
4403      "glibc_mutex_init";
4406  *  File name selection pattern
4407  */
4408 tSCC zGlibc_Mutex_InitList[] =
4409   "pthread.h\0";
4411  *  Machine/OS name selection pattern
4412  */
4413 #define apzGlibc_Mutex_InitMachs (const char**)NULL
4416  *  content selection pattern - do fix if pattern found
4417  */
4418 tSCC zGlibc_Mutex_InitSelect0[] =
4419        "\\{ *\\{ *0, *\\} *\\}";
4421 #define    GLIBC_MUTEX_INIT_TEST_CT  1
4422 static tTestDesc aGlibc_Mutex_InitTests[] = {
4423   { TT_EGREP,    zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
4426  *  Fix Command Arguments for Glibc_Mutex_Init
4427  */
4428 static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4429     "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4430 N\n\
4431 s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4433     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4434     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4435     "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4436     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4437     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4438     "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4439     "-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\
4440 #  \\1\\\n\
4441   { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4442 # else\\\n\
4443 #  \\1\\\n\
4444   { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4445 # endif/",
4446     "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4447     "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4448     (char*)NULL };
4450 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4452  *  Description of Glibc_Stdint fix
4453  */
4454 tSCC zGlibc_StdintName[] =
4455      "glibc_stdint";
4458  *  File name selection pattern
4459  */
4460 tSCC zGlibc_StdintList[] =
4461   "stdint.h\0";
4463  *  Machine/OS name selection pattern
4464  */
4465 #define apzGlibc_StdintMachs (const char**)NULL
4468  *  content selection pattern - do fix if pattern found
4469  */
4470 tSCC zGlibc_StdintSelect0[] =
4471        "GNU C Library";
4473 #define    GLIBC_STDINT_TEST_CT  1
4474 static tTestDesc aGlibc_StdintTests[] = {
4475   { TT_EGREP,    zGlibc_StdintSelect0, (regex_t*)NULL }, };
4478  *  Fix Command Arguments for Glibc_Stdint
4479  */
4480 static const char* apzGlibc_StdintPatch[] = {
4481     "format",
4482     "# define UINT8_C(c)\tc\n\
4483 # define UINT16_C(c)\tc",
4484     "# define UINT8_C\\(c\\)\tc ## U\n\
4485 # define UINT16_C\\(c\\)\tc ## U",
4486     (char*)NULL };
4488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4490  *  Description of Glibc_Strncpy fix
4491  */
4492 tSCC zGlibc_StrncpyName[] =
4493      "glibc_strncpy";
4496  *  File name selection pattern
4497  */
4498 tSCC zGlibc_StrncpyList[] =
4499   "bits/string2.h\0*/bits/string2.h\0";
4501  *  Machine/OS name selection pattern
4502  */
4503 #define apzGlibc_StrncpyMachs (const char**)NULL
4506  *  content bypass pattern - skip fix if pattern found
4507  */
4508 tSCC zGlibc_StrncpyBypass0[] =
4509        "__builtin_strncpy";
4511 #define    GLIBC_STRNCPY_TEST_CT  1
4512 static tTestDesc aGlibc_StrncpyTests[] = {
4513   { TT_NEGREP,   zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
4516  *  Fix Command Arguments for Glibc_Strncpy
4517  */
4518 static const char* apzGlibc_StrncpyPatch[] = {
4519     "format",
4520     "#  define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4521     "#  define strncpy([^\n\
4522 ]*\\\\\n\
4523 )*[^\n\
4524 ]*",
4525     (char*)NULL };
4527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4529  *  Description of Glibc_Tgmath fix
4530  */
4531 tSCC zGlibc_TgmathName[] =
4532      "glibc_tgmath";
4535  *  File name selection pattern
4536  */
4537 tSCC zGlibc_TgmathList[] =
4538   "tgmath.h\0";
4540  *  Machine/OS name selection pattern
4541  */
4542 #define apzGlibc_TgmathMachs (const char**)NULL
4545  *  content selection pattern - do fix if pattern found
4546  */
4547 tSCC zGlibc_TgmathSelect0[] =
4548        "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4551  *  content bypass pattern - skip fix if pattern found
4552  */
4553 tSCC zGlibc_TgmathBypass0[] =
4554        "__floating_type\\(type\\) \\\\\n\
4555 .*__builtin_classify_type";
4557 #define    GLIBC_TGMATH_TEST_CT  2
4558 static tTestDesc aGlibc_TgmathTests[] = {
4559   { TT_NEGREP,   zGlibc_TgmathBypass0, (regex_t*)NULL },
4560   { TT_EGREP,    zGlibc_TgmathSelect0, (regex_t*)NULL }, };
4563  *  Fix Command Arguments for Glibc_Tgmath
4564  */
4565 static const char* apzGlibc_TgmathPatch[] = {
4566     "format",
4567     "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4568     (char*)NULL };
4570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4572  *  Description of Gnu_Types fix
4573  */
4574 tSCC zGnu_TypesName[] =
4575      "gnu_types";
4578  *  File name selection pattern
4579  */
4580 tSCC zGnu_TypesList[] =
4581   "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4583  *  Machine/OS name selection pattern
4584  */
4585 tSCC* apzGnu_TypesMachs[] = {
4586         "*-*-solaris2.1[0-9]*",
4587         (const char*)NULL };
4590  *  content selection pattern - do fix if pattern found
4591  */
4592 tSCC zGnu_TypesSelect0[] =
4593        "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4596  *  content bypass pattern - skip fix if pattern found
4597  */
4598 tSCC zGnu_TypesBypass0[] =
4599        "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4601 #define    GNU_TYPES_TEST_CT  2
4602 static tTestDesc aGnu_TypesTests[] = {
4603   { TT_NEGREP,   zGnu_TypesBypass0, (regex_t*)NULL },
4604   { TT_EGREP,    zGnu_TypesSelect0, (regex_t*)NULL }, };
4607  *  Fix Command Arguments for Gnu_Types
4608  */
4609 static const char* apzGnu_TypesPatch[] = {
4610     "gnu_type",
4611     (char*)NULL };
4613 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4615  *  Description of Hp_Inline fix
4616  */
4617 tSCC zHp_InlineName[] =
4618      "hp_inline";
4621  *  File name selection pattern
4622  */
4623 tSCC zHp_InlineList[] =
4624   "sys/spinlock.h\0machine/machparam.h\0";
4626  *  Machine/OS name selection pattern
4627  */
4628 #define apzHp_InlineMachs (const char**)NULL
4631  *  content selection pattern - do fix if pattern found
4632  */
4633 tSCC zHp_InlineSelect0[] =
4634        "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4636 #define    HP_INLINE_TEST_CT  1
4637 static tTestDesc aHp_InlineTests[] = {
4638   { TT_EGREP,    zHp_InlineSelect0, (regex_t*)NULL }, };
4641  *  Fix Command Arguments for Hp_Inline
4642  */
4643 static const char* apzHp_InlinePatch[] = {
4644     "format",
4645     "%1<machine/%2.h>",
4646     "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4647     (char*)NULL };
4649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4651  *  Description of Hp_Sysfile fix
4652  */
4653 tSCC zHp_SysfileName[] =
4654      "hp_sysfile";
4657  *  File name selection pattern
4658  */
4659 tSCC zHp_SysfileList[] =
4660   "sys/file.h\0";
4662  *  Machine/OS name selection pattern
4663  */
4664 #define apzHp_SysfileMachs (const char**)NULL
4667  *  content selection pattern - do fix if pattern found
4668  */
4669 tSCC zHp_SysfileSelect0[] =
4670        "HPUX_SOURCE";
4672 #define    HP_SYSFILE_TEST_CT  1
4673 static tTestDesc aHp_SysfileTests[] = {
4674   { TT_EGREP,    zHp_SysfileSelect0, (regex_t*)NULL }, };
4677  *  Fix Command Arguments for Hp_Sysfile
4678  */
4679 static const char* apzHp_SysfilePatch[] = {
4680     "format",
4681     "(struct file *, ...)",
4682     "\\(\\.\\.\\.\\)",
4683     (char*)NULL };
4685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4687  *  Description of Hppa_Hpux_Fp_Macros fix
4688  */
4689 tSCC zHppa_Hpux_Fp_MacrosName[] =
4690      "hppa_hpux_fp_macros";
4693  *  File name selection pattern
4694  */
4695 tSCC zHppa_Hpux_Fp_MacrosList[] =
4696   "math.h\0";
4698  *  Machine/OS name selection pattern
4699  */
4700 tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4701         "hppa*-hp-hpux11*",
4702         (const char*)NULL };
4705  *  content selection pattern - do fix if pattern found
4706  */
4707 tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4708        "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4709 #[ \t]*define[ \t]*FP_ZERO.*\n\
4710 #[ \t]*define[ \t]*FP_INFINITE.*\n\
4711 #[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4712 #[ \t]*define[ \t]*FP_NAN.*\n";
4714 #define    HPPA_HPUX_FP_MACROS_TEST_CT  1
4715 static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4716   { TT_EGREP,    zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
4719  *  Fix Command Arguments for Hppa_Hpux_Fp_Macros
4720  */
4721 static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4722     "format",
4723     "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4724 #if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4725    (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4726 %0#endif\n\n\
4727 #ifdef _INCLUDE_HPUX_SOURCE\n",
4728     (char*)NULL };
4730 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4732  *  Description of Hpux10_Cpp_Pow_Inline fix
4733  */
4734 tSCC zHpux10_Cpp_Pow_InlineName[] =
4735      "hpux10_cpp_pow_inline";
4738  *  File name selection pattern
4739  */
4740 tSCC zHpux10_Cpp_Pow_InlineList[] =
4741   "fixinc-test-limits.h\0math.h\0";
4743  *  Machine/OS name selection pattern
4744  */
4745 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4748  *  content selection pattern - do fix if pattern found
4749  */
4750 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4751        "^# +ifdef +__cplusplus\n\
4752  +\\}\n\
4753  +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4754 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4755  +\\}\n\
4756  +extern +\"C\" +\\{\n\
4757 #else\n\
4758 # +endif";
4760 #define    HPUX10_CPP_POW_INLINE_TEST_CT  1
4761 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4762   { TT_EGREP,    zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4765  *  Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4766  */
4767 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4768     "format",
4769     "",
4770     (char*)NULL };
4772 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4774  *  Description of Hpux11_Cpp_Pow_Inline fix
4775  */
4776 tSCC zHpux11_Cpp_Pow_InlineName[] =
4777      "hpux11_cpp_pow_inline";
4780  *  File name selection pattern
4781  */
4782 tSCC zHpux11_Cpp_Pow_InlineList[] =
4783   "math.h\0";
4785  *  Machine/OS name selection pattern
4786  */
4787 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4790  *  content selection pattern - do fix if pattern found
4791  */
4792 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4793        " +inline double pow\\(double d,int expon\\) \\{\n\
4794  +return pow\\(d, \\(double\\)expon\\);\n\
4795  +\\}\n";
4797 #define    HPUX11_CPP_POW_INLINE_TEST_CT  1
4798 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4799   { TT_EGREP,    zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
4802  *  Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4803  */
4804 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4805     "format",
4806     "",
4807     (char*)NULL };
4809 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4811  *  Description of Hpux_Math_Constexpr fix
4812  */
4813 tSCC zHpux_Math_ConstexprName[] =
4814      "hpux_math_constexpr";
4817  *  File name selection pattern
4818  */
4819 tSCC zHpux_Math_ConstexprList[] =
4820   "math.h\0";
4822  *  Machine/OS name selection pattern
4823  */
4824 tSCC* apzHpux_Math_ConstexprMachs[] = {
4825         "*-hp-hpux11*",
4826         (const char*)NULL };
4827 #define HPUX_MATH_CONSTEXPR_TEST_CT  0
4828 #define aHpux_Math_ConstexprTests   (tTestDesc*)NULL
4831  *  Fix Command Arguments for Hpux_Math_Constexpr
4832  */
4833 static const char* apzHpux_Math_ConstexprPatch[] = { sed_cmd_z,
4834     "-e", "s@^[ \t]*extern[ \t]*const[ \t]*double[ \t]*_DINFINITY;[ \t]*$@#  define _DINFINITY (__builtin_inf ())@",
4835     "-e", "s@^[ \t]*extern[ \t]*const[ \t]*float[ \t]*_SINFINITY;[ \t]*$@#    define _SINFINITY (__builtin_inff ())@",
4836     "-e", "s@^[ \t]*extern[ \t]*const[ \t]*float[ \t]*_SQNAN;[ \t]*$@#    define _SQNAN (__builtin_nanf (\\\"\\\"))@",
4837     (char*)NULL };
4839 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4841  *  Description of Hpux10_Ctype_Declarations1 fix
4842  */
4843 tSCC zHpux10_Ctype_Declarations1Name[] =
4844      "hpux10_ctype_declarations1";
4847  *  File name selection pattern
4848  */
4849 tSCC zHpux10_Ctype_Declarations1List[] =
4850   "ctype.h\0";
4852  *  Machine/OS name selection pattern
4853  */
4854 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4857  *  content selection pattern - do fix if pattern found
4858  */
4859 tSCC zHpux10_Ctype_Declarations1Select0[] =
4860        "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4863  *  content bypass pattern - skip fix if pattern found
4864  */
4865 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4866        "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4868 #define    HPUX10_CTYPE_DECLARATIONS1_TEST_CT  2
4869 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4870   { TT_NEGREP,   zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
4871   { TT_EGREP,    zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
4874  *  Fix Command Arguments for Hpux10_Ctype_Declarations1
4875  */
4876 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4877     "format",
4878     "#ifdef _PROTOTYPES\n\
4879 extern int __tolower(int);\n\
4880 extern int __toupper(int);\n\
4881 #else /* NOT _PROTOTYPES */\n\
4882 extern int __tolower();\n\
4883 extern int __toupper();\n\
4884 #endif /* _PROTOTYPES */\n\n\
4885 %0\n",
4886     (char*)NULL };
4888 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4890  *  Description of Hpux10_Ctype_Declarations2 fix
4891  */
4892 tSCC zHpux10_Ctype_Declarations2Name[] =
4893      "hpux10_ctype_declarations2";
4896  *  File name selection pattern
4897  */
4898 tSCC zHpux10_Ctype_Declarations2List[] =
4899   "ctype.h\0";
4901  *  Machine/OS name selection pattern
4902  */
4903 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4906  *  content selection pattern - do fix if pattern found
4907  */
4908 tSCC zHpux10_Ctype_Declarations2Select0[] =
4909        "^#  if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4912  *  content bypass pattern - skip fix if pattern found
4913  */
4914 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4915        "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4917 #define    HPUX10_CTYPE_DECLARATIONS2_TEST_CT  2
4918 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4919   { TT_NEGREP,   zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
4920   { TT_EGREP,    zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
4923  *  Fix Command Arguments for Hpux10_Ctype_Declarations2
4924  */
4925 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4926     "format",
4927     "%0\n\n\
4928 #ifdef _PROTOTYPES\n\
4929      extern int _isalnum(int);\n\
4930      extern int _isalpha(int);\n\
4931      extern int _iscntrl(int);\n\
4932      extern int _isdigit(int);\n\
4933      extern int _isgraph(int);\n\
4934      extern int _islower(int);\n\
4935      extern int _isprint(int);\n\
4936      extern int _ispunct(int);\n\
4937      extern int _isspace(int);\n\
4938      extern int _isupper(int);\n\
4939      extern int _isxdigit(int);\n\
4940 #  else /* not _PROTOTYPES */\n\
4941      extern int _isalnum();\n\
4942      extern int _isalpha();\n\
4943      extern int _iscntrl();\n\
4944      extern int _isdigit();\n\
4945      extern int _isgraph();\n\
4946      extern int _islower();\n\
4947      extern int _isprint();\n\
4948      extern int _ispunct();\n\
4949      extern int _isspace();\n\
4950      extern int _isupper();\n\
4951      extern int _isxdigit();\n\
4952 #endif /* _PROTOTYPES */\n",
4953     (char*)NULL };
4955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4957  *  Description of Hpux10_Stdio_Declarations fix
4958  */
4959 tSCC zHpux10_Stdio_DeclarationsName[] =
4960      "hpux10_stdio_declarations";
4963  *  File name selection pattern
4964  */
4965 tSCC zHpux10_Stdio_DeclarationsList[] =
4966   "stdio.h\0";
4968  *  Machine/OS name selection pattern
4969  */
4970 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4973  *  content selection pattern - do fix if pattern found
4974  */
4975 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4976        "^#[ \t]*define _iob[ \t]*__iob";
4979  *  content bypass pattern - skip fix if pattern found
4980  */
4981 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4982        "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4984 #define    HPUX10_STDIO_DECLARATIONS_TEST_CT  2
4985 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4986   { TT_NEGREP,   zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
4987   { TT_EGREP,    zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
4990  *  Fix Command Arguments for Hpux10_Stdio_Declarations
4991  */
4992 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4993     "format",
4994     "%0\n\n\
4995 #  if defined(__STDC__) || defined(__cplusplus)\n\
4996      extern int snprintf(char *, size_t, const char *, ...);\n\
4997      extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
4998 #  else /* not __STDC__) || __cplusplus */\n\
4999      extern int snprintf();\n\
5000      extern int vsnprintf();\n\
5001 #  endif /* __STDC__) || __cplusplus */\n",
5002     (char*)NULL };
5004 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5006  *  Description of Hppa_Hpux11_Alloca fix
5007  */
5008 tSCC zHppa_Hpux11_AllocaName[] =
5009      "hppa_hpux11_alloca";
5012  *  File name selection pattern
5013  */
5014 tSCC zHppa_Hpux11_AllocaList[] =
5015   "alloca.h\0";
5017  *  Machine/OS name selection pattern
5018  */
5019 tSCC* apzHppa_Hpux11_AllocaMachs[] = {
5020         "hppa*-*-hpux11*",
5021         (const char*)NULL };
5024  *  content selection pattern - do fix if pattern found
5025  */
5026 tSCC zHppa_Hpux11_AllocaSelect0[] =
5027        "#ifndef _STDDEF_INCLUDED";
5029 #define    HPPA_HPUX11_ALLOCA_TEST_CT  1
5030 static tTestDesc aHppa_Hpux11_AllocaTests[] = {
5031   { TT_EGREP,    zHppa_Hpux11_AllocaSelect0, (regex_t*)NULL }, };
5034  *  Fix Command Arguments for Hppa_Hpux11_Alloca
5035  */
5036 static const char* apzHppa_Hpux11_AllocaPatch[] = {
5037     "format",
5038     "#ifndef _SYS_STDSYMS_INCLUDED\n\
5039 #  include <sys/stdsyms.h>\n\
5040 #endif /* _SYS_STDSYMS_INCLUDED */\n\n\
5041 %0",
5042     (char*)NULL };
5044 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5046  *  Description of Hpux11_Abs fix
5047  */
5048 tSCC zHpux11_AbsName[] =
5049      "hpux11_abs";
5052  *  File name selection pattern
5053  */
5054 tSCC zHpux11_AbsList[] =
5055   "stdlib.h\0";
5057  *  Machine/OS name selection pattern
5058  */
5059 tSCC* apzHpux11_AbsMachs[] = {
5060         "*-hp-hpux11*",
5061         (const char*)NULL };
5064  *  content selection pattern - do fix if pattern found
5065  */
5066 tSCC zHpux11_AbsSelect0[] =
5067        "ifndef _MATH_INCLUDED";
5069 #define    HPUX11_ABS_TEST_CT  1
5070 static tTestDesc aHpux11_AbsTests[] = {
5071   { TT_EGREP,    zHpux11_AbsSelect0, (regex_t*)NULL }, };
5074  *  Fix Command Arguments for Hpux11_Abs
5075  */
5076 static const char* apzHpux11_AbsPatch[] = {
5077     "format",
5078     "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
5079     (char*)NULL };
5081 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5083  *  Description of Hpux11_Lwp_Rwlock_Valid fix
5084  */
5085 tSCC zHpux11_Lwp_Rwlock_ValidName[] =
5086      "hpux11_lwp_rwlock_valid";
5089  *  File name selection pattern
5090  */
5091 tSCC zHpux11_Lwp_Rwlock_ValidList[] =
5092   "sys/pthread.h\0";
5094  *  Machine/OS name selection pattern
5095  */
5096 tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
5097         "*-hp-hpux11*",
5098         (const char*)NULL };
5101  *  content selection pattern - do fix if pattern found
5102  */
5103 tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
5104        "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
5106 #define    HPUX11_LWP_RWLOCK_VALID_TEST_CT  1
5107 static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
5108   { TT_EGREP,    zHpux11_Lwp_Rwlock_ValidSelect0, (regex_t*)NULL }, };
5111  *  Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
5112  */
5113 static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
5114     "format",
5115     "#define __LWP_RWLOCK_VALID              -29551",
5116     (char*)NULL };
5118 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5120  *  Description of Hpux11_Extern_Sendfile fix
5121  */
5122 tSCC zHpux11_Extern_SendfileName[] =
5123      "hpux11_extern_sendfile";
5126  *  File name selection pattern
5127  */
5128 tSCC zHpux11_Extern_SendfileList[] =
5129   "sys/socket.h\0";
5131  *  Machine/OS name selection pattern
5132  */
5133 tSCC* apzHpux11_Extern_SendfileMachs[] = {
5134         "*-hp-hpux11.[12]*",
5135         (const char*)NULL };
5138  *  content selection pattern - do fix if pattern found
5139  */
5140 tSCC zHpux11_Extern_SendfileSelect0[] =
5141        "^[ \t]*extern sbsize_t sendfile.*\n\
5142 .*, int\\)\\);\n";
5144 #define    HPUX11_EXTERN_SENDFILE_TEST_CT  1
5145 static tTestDesc aHpux11_Extern_SendfileTests[] = {
5146   { TT_EGREP,    zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
5149  *  Fix Command Arguments for Hpux11_Extern_Sendfile
5150  */
5151 static const char* apzHpux11_Extern_SendfilePatch[] = {
5152     "format",
5153     "#ifndef _APP32_64BIT_OFF_T\n\
5154 %0#endif\n",
5155     (char*)NULL };
5157 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5159  *  Description of Hpux11_Extern_Sendpath fix
5160  */
5161 tSCC zHpux11_Extern_SendpathName[] =
5162      "hpux11_extern_sendpath";
5165  *  File name selection pattern
5166  */
5167 tSCC zHpux11_Extern_SendpathList[] =
5168   "sys/socket.h\0";
5170  *  Machine/OS name selection pattern
5171  */
5172 tSCC* apzHpux11_Extern_SendpathMachs[] = {
5173         "*-hp-hpux11.[12]*",
5174         (const char*)NULL };
5177  *  content selection pattern - do fix if pattern found
5178  */
5179 tSCC zHpux11_Extern_SendpathSelect0[] =
5180        "^[ \t]*extern sbsize_t sendpath.*\n\
5181 .*, int\\)\\);\n";
5183 #define    HPUX11_EXTERN_SENDPATH_TEST_CT  1
5184 static tTestDesc aHpux11_Extern_SendpathTests[] = {
5185   { TT_EGREP,    zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
5188  *  Fix Command Arguments for Hpux11_Extern_Sendpath
5189  */
5190 static const char* apzHpux11_Extern_SendpathPatch[] = {
5191     "format",
5192     "#ifndef _APP32_64BIT_OFF_T\n\
5193 %0#endif\n",
5194     (char*)NULL };
5196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5198  *  Description of Hpux11_Fabsf fix
5199  */
5200 tSCC zHpux11_FabsfName[] =
5201      "hpux11_fabsf";
5204  *  File name selection pattern
5205  */
5206 tSCC zHpux11_FabsfList[] =
5207   "math.h\0";
5209  *  Machine/OS name selection pattern
5210  */
5211 tSCC* apzHpux11_FabsfMachs[] = {
5212         "*-hp-hpux11*",
5213         (const char*)NULL };
5216  *  content selection pattern - do fix if pattern found
5217  */
5218 tSCC zHpux11_FabsfSelect0[] =
5219        "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
5221 #define    HPUX11_FABSF_TEST_CT  1
5222 static tTestDesc aHpux11_FabsfTests[] = {
5223   { TT_EGREP,    zHpux11_FabsfSelect0, (regex_t*)NULL }, };
5226  *  Fix Command Arguments for Hpux11_Fabsf
5227  */
5228 static const char* apzHpux11_FabsfPatch[] = {
5229     "format",
5230     "#ifndef __cplusplus\n\
5231 %0\n\
5232 #endif",
5233     (char*)NULL };
5235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5237  *  Description of Hpux11_Pthread_Pointer fix
5238  */
5239 tSCC zHpux11_Pthread_PointerName[] =
5240      "hpux11_pthread_pointer";
5243  *  File name selection pattern
5244  */
5245 tSCC zHpux11_Pthread_PointerList[] =
5246   "sys/pthread.h\0";
5248  *  Machine/OS name selection pattern
5249  */
5250 tSCC* apzHpux11_Pthread_PointerMachs[] = {
5251         "*-hp-hpux11.[0-3]*",
5252         (const char*)NULL };
5255  *  content selection pattern - do fix if pattern found
5256  */
5257 tSCC zHpux11_Pthread_PointerSelect0[] =
5258        "(void[ \t]*\\*)(m|c|rw)(_ptr)";
5260 #define    HPUX11_PTHREAD_POINTER_TEST_CT  1
5261 static tTestDesc aHpux11_Pthread_PointerTests[] = {
5262   { TT_EGREP,    zHpux11_Pthread_PointerSelect0, (regex_t*)NULL }, };
5265  *  Fix Command Arguments for Hpux11_Pthread_Pointer
5266  */
5267 static const char* apzHpux11_Pthread_PointerPatch[] = {
5268     "format",
5269     "long\t%2%3",
5270     (char*)NULL };
5272 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5274  *  Description of Hpux11_Pthread_Const fix
5275  */
5276 tSCC zHpux11_Pthread_ConstName[] =
5277      "hpux11_pthread_const";
5280  *  File name selection pattern
5281  */
5282 tSCC zHpux11_Pthread_ConstList[] =
5283   "sys/pthread.h\0";
5285  *  Machine/OS name selection pattern
5286  */
5287 tSCC* apzHpux11_Pthread_ConstMachs[] = {
5288         "*-hp-hpux11.[0-3]*",
5289         (const char*)NULL };
5292  *  content selection pattern - do fix if pattern found
5293  */
5294 tSCC zHpux11_Pthread_ConstSelect0[] =
5295        "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
5297 #define    HPUX11_PTHREAD_CONST_TEST_CT  1
5298 static tTestDesc aHpux11_Pthread_ConstTests[] = {
5299   { TT_EGREP,    zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
5302  *  Fix Command Arguments for Hpux11_Pthread_Const
5303  */
5304 static const char* apzHpux11_Pthread_ConstPatch[] = {
5305     "format",
5306     "%11",
5307     (char*)NULL };
5309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5311  *  Description of Hpux11_Size_T fix
5312  */
5313 tSCC zHpux11_Size_TName[] =
5314      "hpux11_size_t";
5317  *  File name selection pattern
5318  */
5319 #define zHpux11_Size_TList (char*)NULL
5321  *  Machine/OS name selection pattern
5322  */
5323 tSCC* apzHpux11_Size_TMachs[] = {
5324         "*-hp-hpux11*",
5325         (const char*)NULL };
5328  *  content selection pattern - do fix if pattern found
5329  */
5330 tSCC zHpux11_Size_TSelect0[] =
5331        "__size_t";
5333 #define    HPUX11_SIZE_T_TEST_CT  1
5334 static tTestDesc aHpux11_Size_TTests[] = {
5335   { TT_EGREP,    zHpux11_Size_TSelect0, (regex_t*)NULL }, };
5338  *  Fix Command Arguments for Hpux11_Size_T
5339  */
5340 static const char* apzHpux11_Size_TPatch[] = {
5341     "format",
5342     "_hpux_size_t",
5343     (char*)NULL };
5345 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5347  *  Description of Hpux11_Snprintf fix
5348  */
5349 tSCC zHpux11_SnprintfName[] =
5350      "hpux11_snprintf";
5353  *  File name selection pattern
5354  */
5355 tSCC zHpux11_SnprintfList[] =
5356   "stdio.h\0";
5358  *  Machine/OS name selection pattern
5359  */
5360 #define apzHpux11_SnprintfMachs (const char**)NULL
5363  *  content selection pattern - do fix if pattern found
5364  */
5365 tSCC zHpux11_SnprintfSelect0[] =
5366        "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
5368 #define    HPUX11_SNPRINTF_TEST_CT  1
5369 static tTestDesc aHpux11_SnprintfTests[] = {
5370   { TT_EGREP,    zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
5373  *  Fix Command Arguments for Hpux11_Snprintf
5374  */
5375 static const char* apzHpux11_SnprintfPatch[] = {
5376     "format",
5377     "%1 const %3",
5378     (char*)NULL };
5380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5382  *  Description of Hpux11_Vsnprintf fix
5383  */
5384 tSCC zHpux11_VsnprintfName[] =
5385      "hpux11_vsnprintf";
5388  *  File name selection pattern
5389  */
5390 tSCC zHpux11_VsnprintfList[] =
5391   "stdio.h\0";
5393  *  Machine/OS name selection pattern
5394  */
5395 #define apzHpux11_VsnprintfMachs (const char**)NULL
5398  *  content selection pattern - do fix if pattern found
5399  */
5400 tSCC zHpux11_VsnprintfSelect0[] =
5401        "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
5403 #define    HPUX11_VSNPRINTF_TEST_CT  1
5404 static tTestDesc aHpux11_VsnprintfTests[] = {
5405   { TT_EGREP,    zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
5408  *  Fix Command Arguments for Hpux11_Vsnprintf
5409  */
5410 static const char* apzHpux11_VsnprintfPatch[] = {
5411     "format",
5412     "%1 __va_list);",
5413     (char*)NULL };
5415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5417  *  Description of Hpux_Vsscanf fix
5418  */
5419 tSCC zHpux_VsscanfName[] =
5420      "hpux_vsscanf";
5423  *  File name selection pattern
5424  */
5425 tSCC zHpux_VsscanfList[] =
5426   "stdio.h\0";
5428  *  Machine/OS name selection pattern
5429  */
5430 tSCC* apzHpux_VsscanfMachs[] = {
5431         "*-*-hpux*",
5432         (const char*)NULL };
5435  *  content selection pattern - do fix if pattern found
5436  */
5437 tSCC zHpux_VsscanfSelect0[] =
5438        "(extern int vsscanf\\()char";
5440 #define    HPUX_VSSCANF_TEST_CT  1
5441 static tTestDesc aHpux_VsscanfTests[] = {
5442   { TT_EGREP,    zHpux_VsscanfSelect0, (regex_t*)NULL }, };
5445  *  Fix Command Arguments for Hpux_Vsscanf
5446  */
5447 static const char* apzHpux_VsscanfPatch[] = {
5448     "format",
5449     "%1const char",
5450     (char*)NULL };
5452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5454  *  Description of Hpux8_Bogus_Inlines fix
5455  */
5456 tSCC zHpux8_Bogus_InlinesName[] =
5457      "hpux8_bogus_inlines";
5460  *  File name selection pattern
5461  */
5462 tSCC zHpux8_Bogus_InlinesList[] =
5463   "math.h\0";
5465  *  Machine/OS name selection pattern
5466  */
5467 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5470  *  content selection pattern - do fix if pattern found
5471  */
5472 tSCC zHpux8_Bogus_InlinesSelect0[] =
5473        "inline";
5476  *  content bypass pattern - skip fix if pattern found
5477  */
5478 tSCC zHpux8_Bogus_InlinesBypass0[] =
5479        "__GNUG__";
5481 #define    HPUX8_BOGUS_INLINES_TEST_CT  2
5482 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5483   { TT_NEGREP,   zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
5484   { TT_EGREP,    zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
5487  *  Fix Command Arguments for Hpux8_Bogus_Inlines
5488  */
5489 static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5490     "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5491     "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5492     "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5493     "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5494     (char*)NULL };
5496 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5498  *  Description of Hpux_C99_Intptr fix
5499  */
5500 tSCC zHpux_C99_IntptrName[] =
5501      "hpux_c99_intptr";
5504  *  File name selection pattern
5505  */
5506 tSCC zHpux_C99_IntptrList[] =
5507   "stdint-hpux11.h\0stdint.h\0";
5509  *  Machine/OS name selection pattern
5510  */
5511 tSCC* apzHpux_C99_IntptrMachs[] = {
5512         "*-hp-hpux11.3*",
5513         (const char*)NULL };
5514 #define HPUX_C99_INTPTR_TEST_CT  0
5515 #define aHpux_C99_IntptrTests   (tTestDesc*)NULL
5518  *  Fix Command Arguments for Hpux_C99_Intptr
5519  */
5520 static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5521     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5522     "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5523     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5524     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5525     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5526     "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5527     (char*)NULL };
5529 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5531  *  Description of Hpux_C99_Inttypes fix
5532  */
5533 tSCC zHpux_C99_InttypesName[] =
5534      "hpux_c99_inttypes";
5537  *  File name selection pattern
5538  */
5539 tSCC zHpux_C99_InttypesList[] =
5540   "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5542  *  Machine/OS name selection pattern
5543  */
5544 tSCC* apzHpux_C99_InttypesMachs[] = {
5545         "*-hp-hpux11.[23]*",
5546         (const char*)NULL };
5547 #define HPUX_C99_INTTYPES_TEST_CT  0
5548 #define aHpux_C99_InttypesTests   (tTestDesc*)NULL
5551  *  Fix Command Arguments for Hpux_C99_Inttypes
5552  */
5553 static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5554     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5555     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5556     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5557     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5558     (char*)NULL };
5560 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5562  *  Description of Hpux_C99_Inttypes2 fix
5563  */
5564 tSCC zHpux_C99_Inttypes2Name[] =
5565      "hpux_c99_inttypes2";
5568  *  File name selection pattern
5569  */
5570 tSCC zHpux_C99_Inttypes2List[] =
5571   "stdint-hpux11.h\0stdint.h\0";
5573  *  Machine/OS name selection pattern
5574  */
5575 tSCC* apzHpux_C99_Inttypes2Machs[] = {
5576         "*-hp-hpux11.2*",
5577         (const char*)NULL };
5578 #define HPUX_C99_INTTYPES2_TEST_CT  0
5579 #define aHpux_C99_Inttypes2Tests   (tTestDesc*)NULL
5582  *  Fix Command Arguments for Hpux_C99_Inttypes2
5583  */
5584 static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5585     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5586     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5587     "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5588     "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5589     (char*)NULL };
5591 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5593  *  Description of Hpux_C99_Inttypes3 fix
5594  */
5595 tSCC zHpux_C99_Inttypes3Name[] =
5596      "hpux_c99_inttypes3";
5599  *  File name selection pattern
5600  */
5601 tSCC zHpux_C99_Inttypes3List[] =
5602   "inttypes.h\0";
5604  *  Machine/OS name selection pattern
5605  */
5606 tSCC* apzHpux_C99_Inttypes3Machs[] = {
5607         "hppa*-hp-hpux11*",
5608         (const char*)NULL };
5611  *  content selection pattern - do fix if pattern found
5612  */
5613 tSCC zHpux_C99_Inttypes3Select0[] =
5614        "#define[ \t]INTPTR_MAX[ \t]*\n\
5615 #define[ \t]UINTPTR_MAX[ \t]*\n";
5617 #define    HPUX_C99_INTTYPES3_TEST_CT  1
5618 static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5619   { TT_EGREP,    zHpux_C99_Inttypes3Select0, (regex_t*)NULL }, };
5622  *  Fix Command Arguments for Hpux_C99_Inttypes3
5623  */
5624 static const char* apzHpux_C99_Inttypes3Patch[] = {
5625     "format",
5626     "#undef SIZE_MAX\n\
5627 #define SIZE_MAX __SIZE_MAX__\n\
5628 #ifdef __INTPTR_MAX__\n\
5629 # undef INTPTR_MAX\n\
5630 # define INTPTR_MAX __INTPTR_MAX__\n\
5631 # undef INTPTR_MIN\n\
5632 # define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5633 #endif\n\
5634 #ifdef __UINTPTR_MAX__\n\
5635 # undef UINTPTR_MAX\n\
5636 # define UINTPTR_MAX __UINTPTR_MAX__\n\
5637 #endif\n",
5638     (char*)NULL };
5640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5642  *  Description of Hpux_C99_Inttypes4 fix
5643  */
5644 tSCC zHpux_C99_Inttypes4Name[] =
5645      "hpux_c99_inttypes4";
5648  *  File name selection pattern
5649  */
5650 tSCC zHpux_C99_Inttypes4List[] =
5651   "inttypes.h\0";
5653  *  Machine/OS name selection pattern
5654  */
5655 tSCC* apzHpux_C99_Inttypes4Machs[] = {
5656         "hppa*-hp-hpux11.[01]*",
5657         (const char*)NULL };
5658 #define HPUX_C99_INTTYPES4_TEST_CT  0
5659 #define aHpux_C99_Inttypes4Tests   (tTestDesc*)NULL
5662  *  Fix Command Arguments for Hpux_C99_Inttypes4
5663  */
5664 static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5665     "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5666 #define SCNuMAX \t SCNu64\n",
5667     "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5668 #define SCNuMAX \t SCNu32\n",
5669     (char*)NULL };
5671 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5673  *  Description of Hpux_C99_Inttypes5 fix
5674  */
5675 tSCC zHpux_C99_Inttypes5Name[] =
5676      "hpux_c99_inttypes5";
5679  *  File name selection pattern
5680  */
5681 tSCC zHpux_C99_Inttypes5List[] =
5682   "inttypes.h\0";
5684  *  Machine/OS name selection pattern
5685  */
5686 tSCC* apzHpux_C99_Inttypes5Machs[] = {
5687         "hppa*-hp-hpux11.[01]*",
5688         (const char*)NULL };
5691  *  content selection pattern - do fix if pattern found
5692  */
5693 tSCC zHpux_C99_Inttypes5Select0[] =
5694        "#ifndef[ \t]_KERNEL[ \t]*\n";
5696 #define    HPUX_C99_INTTYPES5_TEST_CT  1
5697 static tTestDesc aHpux_C99_Inttypes5Tests[] = {
5698   { TT_EGREP,    zHpux_C99_Inttypes5Select0, (regex_t*)NULL }, };
5701  *  Fix Command Arguments for Hpux_C99_Inttypes5
5702  */
5703 static const char* apzHpux_C99_Inttypes5Patch[] = {
5704     "format",
5705     "#ifndef __LP64__\n\
5706 #define PRIdPTR\t\tPRId32\n\
5707 #define PRIiPTR\t\tPRIi32\n\
5708 #define PRIoPTR\t\tPRIo32\n\
5709 #define PRIuPTR\t\tPRIu32\n\
5710 #define PRIxPTR\t\tPRIx32\n\
5711 #define PRIXPTR\t\tPRIX32\n\
5712 #else\n\
5713 #define PRIdPTR\t\tPRId64\n\
5714 #define PRIiPTR\t\tPRIi64\n\
5715 #define PRIoPTR\t\tPRIo64\n\
5716 #define PRIuPTR\t\tPRIu64\n\
5717 #define PRIxPTR\t\tPRIx64\n\
5718 #define PRIXPTR\t\tPRIX64\n\
5719 #endif\n\n\
5720 #ifndef _KERNEL\n",
5721     (char*)NULL };
5723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5725  *  Description of Hpux_Ctype_Macros fix
5726  */
5727 tSCC zHpux_Ctype_MacrosName[] =
5728      "hpux_ctype_macros";
5731  *  File name selection pattern
5732  */
5733 tSCC zHpux_Ctype_MacrosList[] =
5734   "ctype.h\0";
5736  *  Machine/OS name selection pattern
5737  */
5738 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
5741  *  content selection pattern - do fix if pattern found
5742  */
5743 tSCC zHpux_Ctype_MacrosSelect0[] =
5744        "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5746 #define    HPUX_CTYPE_MACROS_TEST_CT  1
5747 static tTestDesc aHpux_Ctype_MacrosTests[] = {
5748   { TT_EGREP,    zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
5751  *  Fix Command Arguments for Hpux_Ctype_Macros
5752  */
5753 static const char* apzHpux_Ctype_MacrosPatch[] = {
5754     "format",
5755     "%1(int)%3",
5756     (char*)NULL };
5758 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5760  *  Description of Hpux_Extern_Errno fix
5761  */
5762 tSCC zHpux_Extern_ErrnoName[] =
5763      "hpux_extern_errno";
5766  *  File name selection pattern
5767  */
5768 tSCC zHpux_Extern_ErrnoList[] =
5769   "errno.h\0";
5771  *  Machine/OS name selection pattern
5772  */
5773 tSCC* apzHpux_Extern_ErrnoMachs[] = {
5774         "*-hp-hpux10.*",
5775         "*-hp-hpux11.[0-2]*",
5776         (const char*)NULL };
5779  *  content selection pattern - do fix if pattern found
5780  */
5781 tSCC zHpux_Extern_ErrnoSelect0[] =
5782        "^[ \t]*extern int errno;$";
5784 #define    HPUX_EXTERN_ERRNO_TEST_CT  1
5785 static tTestDesc aHpux_Extern_ErrnoTests[] = {
5786   { TT_EGREP,    zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
5789  *  Fix Command Arguments for Hpux_Extern_Errno
5790  */
5791 static const char* apzHpux_Extern_ErrnoPatch[] = {
5792     "format",
5793     "#ifdef __cplusplus\n\
5794 extern \"C\" {\n\
5795 #endif\n\
5796 %0\n\
5797 #ifdef __cplusplus\n\
5798 }\n\
5799 #endif",
5800     (char*)NULL };
5802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5804  *  Description of Hpux_Htonl fix
5805  */
5806 tSCC zHpux_HtonlName[] =
5807      "hpux_htonl";
5810  *  File name selection pattern
5811  */
5812 tSCC zHpux_HtonlList[] =
5813   "netinet/in.h\0";
5815  *  Machine/OS name selection pattern
5816  */
5817 #define apzHpux_HtonlMachs (const char**)NULL
5820  *  content selection pattern - do fix if pattern found
5821  */
5822 tSCC zHpux_HtonlSelect0[] =
5823        "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5824 (/\\*\n\
5825  \\* Macros for number representation conversion\\.\n\
5826  \\*/\n\
5827 #ifndef ntohl)";
5829 #define    HPUX_HTONL_TEST_CT  1
5830 static tTestDesc aHpux_HtonlTests[] = {
5831   { TT_EGREP,    zHpux_HtonlSelect0, (regex_t*)NULL }, };
5834  *  Fix Command Arguments for Hpux_Htonl
5835  */
5836 static const char* apzHpux_HtonlPatch[] = {
5837     "format",
5838     "#if 1\n\
5839 %1",
5840     (char*)NULL };
5842 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5844  *  Description of Hpux_Imaginary_I fix
5845  */
5846 tSCC zHpux_Imaginary_IName[] =
5847      "hpux_imaginary_i";
5850  *  File name selection pattern
5851  */
5852 tSCC zHpux_Imaginary_IList[] =
5853   "complex.h\0";
5855  *  Machine/OS name selection pattern
5856  */
5857 tSCC* apzHpux_Imaginary_IMachs[] = {
5858         "ia64-hp-hpux11.*",
5859         (const char*)NULL };
5862  *  content selection pattern - do fix if pattern found
5863  */
5864 tSCC zHpux_Imaginary_ISelect0[] =
5865        "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5867 #define    HPUX_IMAGINARY_I_TEST_CT  1
5868 static tTestDesc aHpux_Imaginary_ITests[] = {
5869   { TT_EGREP,    zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
5872  *  Fix Command Arguments for Hpux_Imaginary_I
5873  */
5874 static const char* apzHpux_Imaginary_IPatch[] = {
5875     "format",
5876     "#define _Complex_I (__extension__ 1.0iF)",
5877     (char*)NULL };
5879 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5881  *  Description of Hpux_Inttype_Int8_T fix
5882  */
5883 tSCC zHpux_Inttype_Int8_TName[] =
5884      "hpux_inttype_int8_t";
5887  *  File name selection pattern
5888  */
5889 tSCC zHpux_Inttype_Int8_TList[] =
5890   "sys/_inttypes.h\0";
5892  *  Machine/OS name selection pattern
5893  */
5894 tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5895         "*-hp-hpux1[01].*",
5896         (const char*)NULL };
5899  *  content selection pattern - do fix if pattern found
5900  */
5901 tSCC zHpux_Inttype_Int8_TSelect0[] =
5902        "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5904 #define    HPUX_INTTYPE_INT8_T_TEST_CT  1
5905 static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5906   { TT_EGREP,    zHpux_Inttype_Int8_TSelect0, (regex_t*)NULL }, };
5909  *  Fix Command Arguments for Hpux_Inttype_Int8_T
5910  */
5911 static const char* apzHpux_Inttype_Int8_TPatch[] = {
5912     "format",
5913     "typedef signed char int%18_t;",
5914     (char*)NULL };
5916 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5918  *  Description of Hpux_Long_Double fix
5919  */
5920 tSCC zHpux_Long_DoubleName[] =
5921      "hpux_long_double";
5924  *  File name selection pattern
5925  */
5926 tSCC zHpux_Long_DoubleList[] =
5927   "stdlib.h\0";
5929  *  Machine/OS name selection pattern
5930  */
5931 tSCC* apzHpux_Long_DoubleMachs[] = {
5932         "*-*-hpux10*",
5933         "*-*-hpux11.[012]*",
5934         (const char*)NULL };
5937  *  content selection pattern - do fix if pattern found
5938  */
5939 tSCC zHpux_Long_DoubleSelect0[] =
5940        "extern[ \t]long_double[ \t]strtold";
5943  *  content bypass pattern - skip fix if pattern found
5944  */
5945 tSCC zHpux_Long_DoubleBypass0[] =
5946        "long_double_t";
5948 #define    HPUX_LONG_DOUBLE_TEST_CT  2
5949 static tTestDesc aHpux_Long_DoubleTests[] = {
5950   { TT_NEGREP,   zHpux_Long_DoubleBypass0, (regex_t*)NULL },
5951   { TT_EGREP,    zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
5954  *  Fix Command Arguments for Hpux_Long_Double
5955  */
5956 static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5957     "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5958     "-e", "s/long_double/long double/g",
5959     (char*)NULL };
5961 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5963  *  Description of Hpux_Long_Double_2 fix
5964  */
5965 tSCC zHpux_Long_Double_2Name[] =
5966      "hpux_long_double_2";
5969  *  File name selection pattern
5970  */
5971 tSCC zHpux_Long_Double_2List[] =
5972   "stdlib.h\0";
5974  *  Machine/OS name selection pattern
5975  */
5976 tSCC* apzHpux_Long_Double_2Machs[] = {
5977         "hppa*-*-hpux11.3*",
5978         (const char*)NULL };
5981  *  content selection pattern - do fix if pattern found
5982  */
5983 tSCC zHpux_Long_Double_2Select0[] =
5984        "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5986 #define    HPUX_LONG_DOUBLE_2_TEST_CT  1
5987 static tTestDesc aHpux_Long_Double_2Tests[] = {
5988   { TT_EGREP,    zHpux_Long_Double_2Select0, (regex_t*)NULL }, };
5991  *  Fix Command Arguments for Hpux_Long_Double_2
5992  */
5993 static const char* apzHpux_Long_Double_2Patch[] = {
5994     "format",
5995     "#  if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5996     (char*)NULL };
5998 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6000  *  Description of Hpux_Pthread_Initializers fix
6001  */
6002 tSCC zHpux_Pthread_InitializersName[] =
6003      "hpux_pthread_initializers";
6006  *  File name selection pattern
6007  */
6008 tSCC zHpux_Pthread_InitializersList[] =
6009   "sys/pthread.h\0";
6011  *  Machine/OS name selection pattern
6012  */
6013 tSCC* apzHpux_Pthread_InitializersMachs[] = {
6014         "*-hp-hpux11.[0-3]*",
6015         (const char*)NULL };
6016 #define HPUX_PTHREAD_INITIALIZERS_TEST_CT  0
6017 #define aHpux_Pthread_InitializersTests   (tTestDesc*)NULL
6020  *  Fix Command Arguments for Hpux_Pthread_Initializers
6021  */
6022 static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
6023     "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
6024     "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
6025     "-e", "/^[ \t]*0$/d",
6026     "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
6027     "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
6028     "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
6029     "-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\\\\@",
6030     "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
6031     "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
6032     "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
6033     "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
6034     "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
6035     "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
6036     (char*)NULL };
6038 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6040  *  Description of Hpux_Spu_Info fix
6041  */
6042 tSCC zHpux_Spu_InfoName[] =
6043      "hpux_spu_info";
6046  *  File name selection pattern
6047  */
6048 tSCC zHpux_Spu_InfoList[] =
6049   "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
6051  *  Machine/OS name selection pattern
6052  */
6053 tSCC* apzHpux_Spu_InfoMachs[] = {
6054         "*-hp-hpux*",
6055         (const char*)NULL };
6058  *  content selection pattern - do fix if pattern found
6059  */
6060 tSCC zHpux_Spu_InfoSelect0[] =
6061        "^.*extern.*spu_info.*";
6063 #define    HPUX_SPU_INFO_TEST_CT  1
6064 static tTestDesc aHpux_Spu_InfoTests[] = {
6065   { TT_EGREP,    zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
6068  *  Fix Command Arguments for Hpux_Spu_Info
6069  */
6070 static const char* apzHpux_Spu_InfoPatch[] = {
6071     "format",
6072     "#ifdef _KERNEL\n\
6073 %0\n\
6074 #endif",
6075     (char*)NULL };
6077 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6079  *  Description of Hpux_Stdint_Least_Fast fix
6080  */
6081 tSCC zHpux_Stdint_Least_FastName[] =
6082      "hpux_stdint_least_fast";
6085  *  File name selection pattern
6086  */
6087 tSCC zHpux_Stdint_Least_FastList[] =
6088   "stdint-hpux11.h\0stdint.h\0";
6090  *  Machine/OS name selection pattern
6091  */
6092 tSCC* apzHpux_Stdint_Least_FastMachs[] = {
6093         "*-hp-hpux11.2*",
6094         (const char*)NULL };
6097  *  content selection pattern - do fix if pattern found
6098  */
6099 tSCC zHpux_Stdint_Least_FastSelect0[] =
6100        "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
6102 #define    HPUX_STDINT_LEAST_FAST_TEST_CT  1
6103 static tTestDesc aHpux_Stdint_Least_FastTests[] = {
6104   { TT_EGREP,    zHpux_Stdint_Least_FastSelect0, (regex_t*)NULL }, };
6107  *  Fix Command Arguments for Hpux_Stdint_Least_Fast
6108  */
6109 static const char* apzHpux_Stdint_Least_FastPatch[] = {
6110     "format",
6111     "#  define\tUINT_%164_MAX\t__UINT64_MAX__",
6112     (char*)NULL };
6114 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6116  *  Description of Hpux_Longjmp fix
6117  */
6118 tSCC zHpux_LongjmpName[] =
6119      "hpux_longjmp";
6122  *  File name selection pattern
6123  */
6124 tSCC zHpux_LongjmpList[] =
6125   "setjmp.h\0";
6127  *  Machine/OS name selection pattern
6128  */
6129 tSCC* apzHpux_LongjmpMachs[] = {
6130         "*-hp-hpux*",
6131         (const char*)NULL };
6134  *  content selection pattern - do fix if pattern found
6135  */
6136 tSCC zHpux_LongjmpSelect0[] =
6137        "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
6139 #define    HPUX_LONGJMP_TEST_CT  1
6140 static tTestDesc aHpux_LongjmpTests[] = {
6141   { TT_EGREP,    zHpux_LongjmpSelect0, (regex_t*)NULL }, };
6144  *  Fix Command Arguments for Hpux_Longjmp
6145  */
6146 static const char* apzHpux_LongjmpPatch[] = {
6147     "format",
6148     "%0 __attribute__ ((__noreturn__))",
6149     (char*)NULL };
6151 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6153  *  Description of Hpux_Systime fix
6154  */
6155 tSCC zHpux_SystimeName[] =
6156      "hpux_systime";
6159  *  File name selection pattern
6160  */
6161 tSCC zHpux_SystimeList[] =
6162   "sys/time.h\0";
6164  *  Machine/OS name selection pattern
6165  */
6166 #define apzHpux_SystimeMachs (const char**)NULL
6169  *  content selection pattern - do fix if pattern found
6170  */
6171 tSCC zHpux_SystimeSelect0[] =
6172        "^extern struct sigevent;";
6174 #define    HPUX_SYSTIME_TEST_CT  1
6175 static tTestDesc aHpux_SystimeTests[] = {
6176   { TT_EGREP,    zHpux_SystimeSelect0, (regex_t*)NULL }, };
6179  *  Fix Command Arguments for Hpux_Systime
6180  */
6181 static const char* apzHpux_SystimePatch[] = {
6182     "format",
6183     "struct sigevent;",
6184     (char*)NULL };
6186 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6188  *  Description of Huge_Val_Hex fix
6189  */
6190 tSCC zHuge_Val_HexName[] =
6191      "huge_val_hex";
6194  *  File name selection pattern
6195  */
6196 tSCC zHuge_Val_HexList[] =
6197   "bits/huge_val.h\0*/bits/huge_val.h\0";
6199  *  Machine/OS name selection pattern
6200  */
6201 #define apzHuge_Val_HexMachs (const char**)NULL
6204  *  content selection pattern - do fix if pattern found
6205  */
6206 tSCC zHuge_Val_HexSelect0[] =
6207        "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
6210  *  content bypass pattern - skip fix if pattern found
6211  */
6212 tSCC zHuge_Val_HexBypass0[] =
6213        "__builtin_huge_val";
6215 #define    HUGE_VAL_HEX_TEST_CT  2
6216 static tTestDesc aHuge_Val_HexTests[] = {
6217   { TT_NEGREP,   zHuge_Val_HexBypass0, (regex_t*)NULL },
6218   { TT_EGREP,    zHuge_Val_HexSelect0, (regex_t*)NULL }, };
6221  *  Fix Command Arguments for Huge_Val_Hex
6222  */
6223 static const char* apzHuge_Val_HexPatch[] = {
6224     "format",
6225     "#define HUGE_VAL (__builtin_huge_val())\n",
6226     (char*)NULL };
6228 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6230  *  Description of Huge_Valf_Hex fix
6231  */
6232 tSCC zHuge_Valf_HexName[] =
6233      "huge_valf_hex";
6236  *  File name selection pattern
6237  */
6238 tSCC zHuge_Valf_HexList[] =
6239   "bits/huge_val.h\0*/bits/huge_val.h\0";
6241  *  Machine/OS name selection pattern
6242  */
6243 #define apzHuge_Valf_HexMachs (const char**)NULL
6246  *  content selection pattern - do fix if pattern found
6247  */
6248 tSCC zHuge_Valf_HexSelect0[] =
6249        "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
6252  *  content bypass pattern - skip fix if pattern found
6253  */
6254 tSCC zHuge_Valf_HexBypass0[] =
6255        "__builtin_huge_valf";
6257 #define    HUGE_VALF_HEX_TEST_CT  2
6258 static tTestDesc aHuge_Valf_HexTests[] = {
6259   { TT_NEGREP,   zHuge_Valf_HexBypass0, (regex_t*)NULL },
6260   { TT_EGREP,    zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
6263  *  Fix Command Arguments for Huge_Valf_Hex
6264  */
6265 static const char* apzHuge_Valf_HexPatch[] = {
6266     "format",
6267     "#define HUGE_VALF (__builtin_huge_valf())\n",
6268     (char*)NULL };
6270 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6272  *  Description of Huge_Vall_Hex fix
6273  */
6274 tSCC zHuge_Vall_HexName[] =
6275      "huge_vall_hex";
6278  *  File name selection pattern
6279  */
6280 tSCC zHuge_Vall_HexList[] =
6281   "bits/huge_val.h\0*/bits/huge_val.h\0";
6283  *  Machine/OS name selection pattern
6284  */
6285 #define apzHuge_Vall_HexMachs (const char**)NULL
6288  *  content selection pattern - do fix if pattern found
6289  */
6290 tSCC zHuge_Vall_HexSelect0[] =
6291        "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
6294  *  content bypass pattern - skip fix if pattern found
6295  */
6296 tSCC zHuge_Vall_HexBypass0[] =
6297        "__builtin_huge_vall";
6299 #define    HUGE_VALL_HEX_TEST_CT  2
6300 static tTestDesc aHuge_Vall_HexTests[] = {
6301   { TT_NEGREP,   zHuge_Vall_HexBypass0, (regex_t*)NULL },
6302   { TT_EGREP,    zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
6305  *  Fix Command Arguments for Huge_Vall_Hex
6306  */
6307 static const char* apzHuge_Vall_HexPatch[] = {
6308     "format",
6309     "#define HUGE_VALL (__builtin_huge_vall())\n",
6310     (char*)NULL };
6312 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6314  *  Description of Int_Abort_Free_And_Exit fix
6315  */
6316 tSCC zInt_Abort_Free_And_ExitName[] =
6317      "int_abort_free_and_exit";
6320  *  File name selection pattern
6321  */
6322 tSCC zInt_Abort_Free_And_ExitList[] =
6323   "stdlib.h\0";
6325  *  Machine/OS name selection pattern
6326  */
6327 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
6330  *  content selection pattern - do fix if pattern found
6331  */
6332 tSCC zInt_Abort_Free_And_ExitSelect0[] =
6333        "int[ \t]+(abort|free|exit)[ \t]*\\(";
6336  *  content bypass pattern - skip fix if pattern found
6337  */
6338 tSCC zInt_Abort_Free_And_ExitBypass0[] =
6339        "_CLASSIC_ANSI_TYPES";
6341 #define    INT_ABORT_FREE_AND_EXIT_TEST_CT  2
6342 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
6343   { TT_NEGREP,   zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
6344   { TT_EGREP,    zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
6347  *  Fix Command Arguments for Int_Abort_Free_And_Exit
6348  */
6349 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
6350     "format",
6351     "void\t%1(",
6352     (char*)NULL };
6354 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6356  *  Description of Io_Quotes_Def fix
6357  */
6358 tSCC zIo_Quotes_DefName[] =
6359      "io_quotes_def";
6362  *  File name selection pattern
6363  */
6364 #define zIo_Quotes_DefList (char*)NULL
6366  *  Machine/OS name selection pattern
6367  */
6368 #define apzIo_Quotes_DefMachs (const char**)NULL
6371  *  content selection pattern - do fix if pattern found
6372  */
6373 tSCC zIo_Quotes_DefSelect0[] =
6374        "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
6376 #define    IO_QUOTES_DEF_TEST_CT  1
6377 static tTestDesc aIo_Quotes_DefTests[] = {
6378   { TT_EGREP,    zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
6381  *  Fix Command Arguments for Io_Quotes_Def
6382  */
6383 static const char* apzIo_Quotes_DefPatch[] = {
6384     "char_macro_def",
6385     "IO",
6386     (char*)NULL };
6388 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6390  *  Description of Io_Quotes_Use fix
6391  */
6392 tSCC zIo_Quotes_UseName[] =
6393      "io_quotes_use";
6396  *  File name selection pattern
6397  */
6398 #define zIo_Quotes_UseList (char*)NULL
6400  *  Machine/OS name selection pattern
6401  */
6402 #define apzIo_Quotes_UseMachs (const char**)NULL
6405  *  content selection pattern - do fix if pattern found
6406  */
6407 tSCC zIo_Quotes_UseSelect0[] =
6408        "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
6410 #define    IO_QUOTES_USE_TEST_CT  1
6411 static tTestDesc aIo_Quotes_UseTests[] = {
6412   { TT_EGREP,    zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
6415  *  Fix Command Arguments for Io_Quotes_Use
6416  */
6417 static const char* apzIo_Quotes_UsePatch[] = {
6418     "char_macro_use",
6419     "IO",
6420     (char*)NULL };
6422 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6424  *  Description of Ip_Missing_Semi fix
6425  */
6426 tSCC zIp_Missing_SemiName[] =
6427      "ip_missing_semi";
6430  *  File name selection pattern
6431  */
6432 tSCC zIp_Missing_SemiList[] =
6433   "netinet/ip.h\0";
6435  *  Machine/OS name selection pattern
6436  */
6437 #define apzIp_Missing_SemiMachs (const char**)NULL
6440  *  content selection pattern - do fix if pattern found
6441  */
6442 tSCC zIp_Missing_SemiSelect0[] =
6443        "}$";
6445 #define    IP_MISSING_SEMI_TEST_CT  1
6446 static tTestDesc aIp_Missing_SemiTests[] = {
6447   { TT_EGREP,    zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
6450  *  Fix Command Arguments for Ip_Missing_Semi
6451  */
6452 static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
6453     "-e", "/^struct/,/^};/s/}$/};/",
6454     (char*)NULL };
6456 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6458  *  Description of Irix_Limits_Const fix
6459  */
6460 tSCC zIrix_Limits_ConstName[] =
6461      "irix_limits_const";
6464  *  File name selection pattern
6465  */
6466 tSCC zIrix_Limits_ConstList[] =
6467   "fixinc-test-limits.h\0limits.h\0";
6469  *  Machine/OS name selection pattern
6470  */
6471 #define apzIrix_Limits_ConstMachs (const char**)NULL
6474  *  content selection pattern - do fix if pattern found
6475  */
6476 tSCC zIrix_Limits_ConstSelect0[] =
6477        "^extern const ";
6479 #define    IRIX_LIMITS_CONST_TEST_CT  1
6480 static tTestDesc aIrix_Limits_ConstTests[] = {
6481   { TT_EGREP,    zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
6484  *  Fix Command Arguments for Irix_Limits_Const
6485  */
6486 static const char* apzIrix_Limits_ConstPatch[] = {
6487     "format",
6488     "extern __const ",
6489     (char*)NULL };
6491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6493  *  Description of Irix_Stdio_Va_List fix
6494  */
6495 tSCC zIrix_Stdio_Va_ListName[] =
6496      "irix_stdio_va_list";
6499  *  File name selection pattern
6500  */
6501 tSCC zIrix_Stdio_Va_ListList[] =
6502   "stdio.h\0";
6504  *  Machine/OS name selection pattern
6505  */
6506 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6509  *  content selection pattern - do fix if pattern found
6510  */
6511 tSCC zIrix_Stdio_Va_ListSelect0[] =
6512        "/\\* va_list \\*/ char \\*";
6514 #define    IRIX_STDIO_VA_LIST_TEST_CT  1
6515 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6516   { TT_EGREP,    zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
6519  *  Fix Command Arguments for Irix_Stdio_Va_List
6520  */
6521 static const char* apzIrix_Stdio_Va_ListPatch[] = {
6522     "format",
6523     "__gnuc_va_list",
6524     (char*)NULL };
6526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6528  *  Description of Kandr_Concat fix
6529  */
6530 tSCC zKandr_ConcatName[] =
6531      "kandr_concat";
6534  *  File name selection pattern
6535  */
6536 tSCC zKandr_ConcatList[] =
6537   "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";
6539  *  Machine/OS name selection pattern
6540  */
6541 #define apzKandr_ConcatMachs (const char**)NULL
6544  *  content selection pattern - do fix if pattern found
6545  */
6546 tSCC zKandr_ConcatSelect0[] =
6547        "/\\*\\*/";
6549 #define    KANDR_CONCAT_TEST_CT  1
6550 static tTestDesc aKandr_ConcatTests[] = {
6551   { TT_EGREP,    zKandr_ConcatSelect0, (regex_t*)NULL }, };
6554  *  Fix Command Arguments for Kandr_Concat
6555  */
6556 static const char* apzKandr_ConcatPatch[] = {
6557     "format",
6558     "##",
6559     (char*)NULL };
6561 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6563  *  Description of Linux_Ia64_Ucontext fix
6564  */
6565 tSCC zLinux_Ia64_UcontextName[] =
6566      "linux_ia64_ucontext";
6569  *  File name selection pattern
6570  */
6571 tSCC zLinux_Ia64_UcontextList[] =
6572   "sys/ucontext.h\0";
6574  *  Machine/OS name selection pattern
6575  */
6576 tSCC* apzLinux_Ia64_UcontextMachs[] = {
6577         "ia64-*-linux*",
6578         (const char*)NULL };
6581  *  content selection pattern - do fix if pattern found
6582  */
6583 tSCC zLinux_Ia64_UcontextSelect0[] =
6584        "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6586 #define    LINUX_IA64_UCONTEXT_TEST_CT  1
6587 static tTestDesc aLinux_Ia64_UcontextTests[] = {
6588   { TT_EGREP,    zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
6591  *  Fix Command Arguments for Linux_Ia64_Ucontext
6592  */
6593 static const char* apzLinux_Ia64_UcontextPatch[] = {
6594     "format",
6595     "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6596     (char*)NULL };
6598 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6600  *  Description of Lynxos_No_Warning_In_Sys_Time_H fix
6601  */
6602 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6603      "lynxos_no_warning_in_sys_time_h";
6606  *  File name selection pattern
6607  */
6608 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6609   "sys/time.h\0";
6611  *  Machine/OS name selection pattern
6612  */
6613 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6616  *  content selection pattern - do fix if pattern found
6617  */
6618 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6619        "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6621 #define    LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT  1
6622 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6623   { TT_EGREP,    zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
6626  *  Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6627  */
6628 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6629     "format",
6630     "",
6631     (char*)NULL };
6633 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6635  *  Description of Lynxos_Missing_Putenv fix
6636  */
6637 tSCC zLynxos_Missing_PutenvName[] =
6638      "lynxos_missing_putenv";
6641  *  File name selection pattern
6642  */
6643 tSCC zLynxos_Missing_PutenvList[] =
6644   "stdlib.h\0";
6646  *  Machine/OS name selection pattern
6647  */
6648 tSCC* apzLynxos_Missing_PutenvMachs[] = {
6649         "*-*-lynxos*",
6650         (const char*)NULL };
6653  *  content selection pattern - do fix if pattern found
6654  */
6655 tSCC zLynxos_Missing_PutenvSelect0[] =
6656        "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6659  *  content bypass pattern - skip fix if pattern found
6660  */
6661 tSCC zLynxos_Missing_PutenvBypass0[] =
6662        "putenv[ \\t]*\\(";
6664 #define    LYNXOS_MISSING_PUTENV_TEST_CT  2
6665 static tTestDesc aLynxos_Missing_PutenvTests[] = {
6666   { TT_NEGREP,   zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
6667   { TT_EGREP,    zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
6670  *  Fix Command Arguments for Lynxos_Missing_Putenv
6671  */
6672 static const char* apzLynxos_Missing_PutenvPatch[] = {
6673     "format",
6674     "%0\n\
6675 extern int putenv\t\t\t\t_AP((char *));",
6676     "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6677     (char*)NULL };
6679 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6681  *  Description of Machine_Ansi_H_Va_List fix
6682  */
6683 tSCC zMachine_Ansi_H_Va_ListName[] =
6684      "machine_ansi_h_va_list";
6687  *  File name selection pattern
6688  */
6689 #define zMachine_Ansi_H_Va_ListList (char*)NULL
6691  *  Machine/OS name selection pattern
6692  */
6693 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6696  *  content selection pattern - do fix if pattern found
6697  */
6698 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6699        "define[ \t]+_BSD_VA_LIST_[ \t]";
6702  *  content bypass pattern - skip fix if pattern found
6703  */
6704 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6705        "__builtin_va_list";
6707 #define    MACHINE_ANSI_H_VA_LIST_TEST_CT  2
6708 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6709   { TT_NEGREP,   zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
6710   { TT_EGREP,    zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
6713  *  Fix Command Arguments for Machine_Ansi_H_Va_List
6714  */
6715 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6716     "format",
6717     "%1__builtin_va_list",
6718     "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6719     (char*)NULL };
6721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6723  *  Description of Machine_Name fix
6724  */
6725 tSCC zMachine_NameName[] =
6726      "machine_name";
6729  *  File name selection pattern
6730  */
6731 #define zMachine_NameList (char*)NULL
6733  *  Machine/OS name selection pattern
6734  */
6735 #define apzMachine_NameMachs (const char**)NULL
6738  *  perform the C function call test
6739  */
6740 tSCC zMachine_NameFTst0[] = "machine_name";
6742 #define    MACHINE_NAME_TEST_CT  1
6743 static tTestDesc aMachine_NameTests[] = {
6744   { TT_FUNCTION, zMachine_NameFTst0,   0 /* unused */ }, };
6747  *  Fix Command Arguments for Machine_Name
6748  */
6749 static const char* apzMachine_NamePatch[] = {
6750     "machine_name",
6751     (char*)NULL };
6753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6755  *  Description of Math_Exception fix
6756  */
6757 tSCC zMath_ExceptionName[] =
6758      "math_exception";
6761  *  File name selection pattern
6762  */
6763 tSCC zMath_ExceptionList[] =
6764   "math.h\0";
6766  *  Machine/OS name selection pattern
6767  */
6768 tSCC* apzMath_ExceptionMachs[] = {
6769         "*-*-solaris2.1[0-9]*",
6770         (const char*)NULL };
6773  *  content selection pattern - do fix if pattern found
6774  */
6775 tSCC zMath_ExceptionSelect0[] =
6776        "struct exception";
6779  *  content bypass pattern - skip fix if pattern found
6780  */
6781 tSCC zMath_ExceptionBypass0[] =
6782        "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
6784 #define    MATH_EXCEPTION_TEST_CT  2
6785 static tTestDesc aMath_ExceptionTests[] = {
6786   { TT_NEGREP,   zMath_ExceptionBypass0, (regex_t*)NULL },
6787   { TT_EGREP,    zMath_ExceptionSelect0, (regex_t*)NULL }, };
6790  *  Fix Command Arguments for Math_Exception
6791  */
6792 static const char* apzMath_ExceptionPatch[] = {
6793     "wrap",
6794     "#ifdef __cplusplus\n\
6795 #define exception __math_exception\n\
6796 #endif\n",
6797     "#ifdef __cplusplus\n\
6798 #undef exception\n\
6799 #endif\n",
6800     (char*)NULL };
6802 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6804  *  Description of Math_Huge_Val_From_Dbl_Max fix
6805  */
6806 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6807      "math_huge_val_from_dbl_max";
6810  *  File name selection pattern
6811  */
6812 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6813   "math.h\0";
6815  *  Machine/OS name selection pattern
6816  */
6817 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6820  *  content selection pattern - do fix if pattern found
6821  */
6822 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6823        "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6826  *  content bypass pattern - skip fix if pattern found
6827  */
6828 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6829        "define[ \t]+DBL_MAX";
6831 #define    MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT  2
6832 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6833   { TT_NEGREP,   zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
6834   { TT_EGREP,    zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
6837  *  Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6838  */
6839 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6840     "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6841 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6842 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6843 \telse cat\n\
6844 \tfi",
6845     (char*)NULL };
6847 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6849  *  Description of Nested_Auth_Des fix
6850  */
6851 tSCC zNested_Auth_DesName[] =
6852      "nested_auth_des";
6855  *  File name selection pattern
6856  */
6857 tSCC zNested_Auth_DesList[] =
6858   "rpc/rpc.h\0";
6860  *  Machine/OS name selection pattern
6861  */
6862 #define apzNested_Auth_DesMachs (const char**)NULL
6865  *  content selection pattern - do fix if pattern found
6866  */
6867 tSCC zNested_Auth_DesSelect0[] =
6868        "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6870 #define    NESTED_AUTH_DES_TEST_CT  1
6871 static tTestDesc aNested_Auth_DesTests[] = {
6872   { TT_EGREP,    zNested_Auth_DesSelect0, (regex_t*)NULL }, };
6875  *  Fix Command Arguments for Nested_Auth_Des
6876  */
6877 static const char* apzNested_Auth_DesPatch[] = {
6878     "format",
6879     "%1*/ /*",
6880     (char*)NULL };
6882 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6884  *  Description of Netbsd_C99_Inline_1 fix
6885  */
6886 tSCC zNetbsd_C99_Inline_1Name[] =
6887      "netbsd_c99_inline_1";
6890  *  File name selection pattern
6891  */
6892 tSCC zNetbsd_C99_Inline_1List[] =
6893   "signal.h\0";
6895  *  Machine/OS name selection pattern
6896  */
6897 tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6898         "*-*-netbsd*",
6899         (const char*)NULL };
6902  *  content selection pattern - do fix if pattern found
6903  */
6904 tSCC zNetbsd_C99_Inline_1Select0[] =
6905        "extern __inline int";
6907 #define    NETBSD_C99_INLINE_1_TEST_CT  1
6908 static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6909   { TT_EGREP,    zNetbsd_C99_Inline_1Select0, (regex_t*)NULL }, };
6912  *  Fix Command Arguments for Netbsd_C99_Inline_1
6913  */
6914 static const char* apzNetbsd_C99_Inline_1Patch[] = {
6915     "format",
6916     "extern\n\
6917 #ifdef __GNUC_STDC_INLINE__\n\
6918 __attribute__((__gnu_inline__))\n\
6919 #endif\n\
6920 __inline int",
6921     (char*)NULL };
6923 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6925  *  Description of Netbsd_C99_Inline_2 fix
6926  */
6927 tSCC zNetbsd_C99_Inline_2Name[] =
6928      "netbsd_c99_inline_2";
6931  *  File name selection pattern
6932  */
6933 tSCC zNetbsd_C99_Inline_2List[] =
6934   "signal.h\0";
6936  *  Machine/OS name selection pattern
6937  */
6938 tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6939         "*-*-netbsd*",
6940         (const char*)NULL };
6943  *  content selection pattern - do fix if pattern found
6944  */
6945 tSCC zNetbsd_C99_Inline_2Select0[] =
6946        "#define _SIGINLINE extern __inline";
6948 #define    NETBSD_C99_INLINE_2_TEST_CT  1
6949 static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6950   { TT_EGREP,    zNetbsd_C99_Inline_2Select0, (regex_t*)NULL }, };
6953  *  Fix Command Arguments for Netbsd_C99_Inline_2
6954  */
6955 static const char* apzNetbsd_C99_Inline_2Patch[] = {
6956     "format",
6957     "#ifdef __GNUC_STDC_INLINE__\n\
6958 #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6959 #else\n\
6960 %0\n\
6961 #endif",
6962     (char*)NULL };
6964 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6966  *  Description of Netbsd_Extra_Semicolon fix
6967  */
6968 tSCC zNetbsd_Extra_SemicolonName[] =
6969      "netbsd_extra_semicolon";
6972  *  File name selection pattern
6973  */
6974 tSCC zNetbsd_Extra_SemicolonList[] =
6975   "sys/cdefs.h\0";
6977  *  Machine/OS name selection pattern
6978  */
6979 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6980         "*-*-netbsd*",
6981         (const char*)NULL };
6984  *  content selection pattern - do fix if pattern found
6985  */
6986 tSCC zNetbsd_Extra_SemicolonSelect0[] =
6987        "#define[ \t]*__END_DECLS[ \t]*};";
6989 #define    NETBSD_EXTRA_SEMICOLON_TEST_CT  1
6990 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6991   { TT_EGREP,    zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
6994  *  Fix Command Arguments for Netbsd_Extra_Semicolon
6995  */
6996 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6997     "format",
6998     "#define __END_DECLS }",
6999     (char*)NULL };
7001 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7003  *  Description of Newlib_Stdint_1 fix
7004  */
7005 tSCC zNewlib_Stdint_1Name[] =
7006      "newlib_stdint_1";
7009  *  File name selection pattern
7010  */
7011 tSCC zNewlib_Stdint_1List[] =
7012   "stdint-newlib.h\0stdint.h\0";
7014  *  Machine/OS name selection pattern
7015  */
7016 #define apzNewlib_Stdint_1Machs (const char**)NULL
7019  *  content selection pattern - do fix if pattern found
7020  */
7021 tSCC zNewlib_Stdint_1Select0[] =
7022        "@todo - Add support for wint_t types";
7024 #define    NEWLIB_STDINT_1_TEST_CT  1
7025 static tTestDesc aNewlib_Stdint_1Tests[] = {
7026   { TT_EGREP,    zNewlib_Stdint_1Select0, (regex_t*)NULL }, };
7029  *  Fix Command Arguments for Newlib_Stdint_1
7030  */
7031 static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
7032     "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
7033     "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
7034     "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
7035     "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
7036     "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
7037     "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
7038     "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
7039     "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
7040     "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
7041     "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
7042     "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
7043     "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
7044     "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
7045     "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
7046     (char*)NULL };
7048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7050  *  Description of Newlib_Stdint_2 fix
7051  */
7052 tSCC zNewlib_Stdint_2Name[] =
7053      "newlib_stdint_2";
7056  *  File name selection pattern
7057  */
7058 tSCC zNewlib_Stdint_2List[] =
7059   "stdint-newlib.h\0stdint.h\0";
7061  *  Machine/OS name selection pattern
7062  */
7063 #define apzNewlib_Stdint_2Machs (const char**)NULL
7066  *  content selection pattern - do fix if pattern found
7067  */
7068 tSCC zNewlib_Stdint_2Select0[] =
7069        "@todo - Add support for wint_t types";
7071 #define    NEWLIB_STDINT_2_TEST_CT  1
7072 static tTestDesc aNewlib_Stdint_2Tests[] = {
7073   { TT_EGREP,    zNewlib_Stdint_2Select0, (regex_t*)NULL }, };
7076  *  Fix Command Arguments for Newlib_Stdint_2
7077  */
7078 static const char* apzNewlib_Stdint_2Patch[] = {
7079     "format",
7080     "#define INTMAX_MAX __INTMAX_MAX__\n\
7081 #define INTMAX_MIN (-INTMAX_MAX - 1)\n\
7082 #define UINTMAX_MAX __UINTMAX_MAX__\n\
7083 #define WCHAR_MAX __WCHAR_MAX__\n\
7084 #define WCHAR_MIN __WCHAR_MIN__\n\
7085 #define WINT_MAX __WINT_MAX__\n\
7086 #define WINT_MIN __WINT_MIN__\n\n\
7087 %0",
7088     "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
7089     (char*)NULL };
7091 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7093  *  Description of Next_Math_Prefix fix
7094  */
7095 tSCC zNext_Math_PrefixName[] =
7096      "next_math_prefix";
7099  *  File name selection pattern
7100  */
7101 tSCC zNext_Math_PrefixList[] =
7102   "ansi/math.h\0";
7104  *  Machine/OS name selection pattern
7105  */
7106 #define apzNext_Math_PrefixMachs (const char**)NULL
7109  *  content selection pattern - do fix if pattern found
7110  */
7111 tSCC zNext_Math_PrefixSelect0[] =
7112        "^extern[ \t]+double[ \t]+__const__[ \t]";
7114 #define    NEXT_MATH_PREFIX_TEST_CT  1
7115 static tTestDesc aNext_Math_PrefixTests[] = {
7116   { TT_EGREP,    zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
7119  *  Fix Command Arguments for Next_Math_Prefix
7120  */
7121 static const char* apzNext_Math_PrefixPatch[] = {
7122     "format",
7123     "extern double %1(",
7124     "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
7125     (char*)NULL };
7127 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7129  *  Description of Next_Template fix
7130  */
7131 tSCC zNext_TemplateName[] =
7132      "next_template";
7135  *  File name selection pattern
7136  */
7137 tSCC zNext_TemplateList[] =
7138   "bsd/libc.h\0";
7140  *  Machine/OS name selection pattern
7141  */
7142 #define apzNext_TemplateMachs (const char**)NULL
7145  *  content selection pattern - do fix if pattern found
7146  */
7147 tSCC zNext_TemplateSelect0[] =
7148        "[ \t]template\\)";
7150 #define    NEXT_TEMPLATE_TEST_CT  1
7151 static tTestDesc aNext_TemplateTests[] = {
7152   { TT_EGREP,    zNext_TemplateSelect0, (regex_t*)NULL }, };
7155  *  Fix Command Arguments for Next_Template
7156  */
7157 static const char* apzNext_TemplatePatch[] = {
7158     "format",
7159     "(%1)",
7160     "\\(([^)]*)[ \t]template\\)",
7161     (char*)NULL };
7163 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7165  *  Description of Next_Volitile fix
7166  */
7167 tSCC zNext_VolitileName[] =
7168      "next_volitile";
7171  *  File name selection pattern
7172  */
7173 tSCC zNext_VolitileList[] =
7174   "ansi/stdlib.h\0";
7176  *  Machine/OS name selection pattern
7177  */
7178 #define apzNext_VolitileMachs (const char**)NULL
7181  *  content selection pattern - do fix if pattern found
7182  */
7183 tSCC zNext_VolitileSelect0[] =
7184        "^extern[ \t]+volatile[ \t]+void[ \t]";
7186 #define    NEXT_VOLITILE_TEST_CT  1
7187 static tTestDesc aNext_VolitileTests[] = {
7188   { TT_EGREP,    zNext_VolitileSelect0, (regex_t*)NULL }, };
7191  *  Fix Command Arguments for Next_Volitile
7192  */
7193 static const char* apzNext_VolitilePatch[] = {
7194     "format",
7195     "extern void %1(",
7196     "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
7197     (char*)NULL };
7199 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7201  *  Description of Next_Wait_Union fix
7202  */
7203 tSCC zNext_Wait_UnionName[] =
7204      "next_wait_union";
7207  *  File name selection pattern
7208  */
7209 tSCC zNext_Wait_UnionList[] =
7210   "sys/wait.h\0";
7212  *  Machine/OS name selection pattern
7213  */
7214 #define apzNext_Wait_UnionMachs (const char**)NULL
7217  *  content selection pattern - do fix if pattern found
7218  */
7219 tSCC zNext_Wait_UnionSelect0[] =
7220        "wait\\(union wait";
7222 #define    NEXT_WAIT_UNION_TEST_CT  1
7223 static tTestDesc aNext_Wait_UnionTests[] = {
7224   { TT_EGREP,    zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
7227  *  Fix Command Arguments for Next_Wait_Union
7228  */
7229 static const char* apzNext_Wait_UnionPatch[] = {
7230     "format",
7231     "wait(void",
7232     (char*)NULL };
7234 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7236  *  Description of Nodeent_Syntax fix
7237  */
7238 tSCC zNodeent_SyntaxName[] =
7239      "nodeent_syntax";
7242  *  File name selection pattern
7243  */
7244 tSCC zNodeent_SyntaxList[] =
7245   "netdnet/dnetdb.h\0";
7247  *  Machine/OS name selection pattern
7248  */
7249 #define apzNodeent_SyntaxMachs (const char**)NULL
7252  *  content selection pattern - do fix if pattern found
7253  */
7254 tSCC zNodeent_SyntaxSelect0[] =
7255        "char[ \t]*\\*na_addr[ \t]*$";
7257 #define    NODEENT_SYNTAX_TEST_CT  1
7258 static tTestDesc aNodeent_SyntaxTests[] = {
7259   { TT_EGREP,    zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
7262  *  Fix Command Arguments for Nodeent_Syntax
7263  */
7264 static const char* apzNodeent_SyntaxPatch[] = {
7265     "format",
7266     "%0;",
7267     (char*)NULL };
7269 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7271  *  Description of Openbsd_Null_Definition fix
7272  */
7273 tSCC zOpenbsd_Null_DefinitionName[] =
7274      "openbsd_null_definition";
7277  *  File name selection pattern
7278  */
7279 tSCC zOpenbsd_Null_DefinitionList[] =
7280   "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
7282  *  Machine/OS name selection pattern
7283  */
7284 tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
7285         "*-*-openbsd*",
7286         (const char*)NULL };
7289  *  content selection pattern - do fix if pattern found
7290  */
7291 tSCC zOpenbsd_Null_DefinitionSelect0[] =
7292        "__GNUG__";
7294 #define    OPENBSD_NULL_DEFINITION_TEST_CT  1
7295 static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
7296   { TT_EGREP,    zOpenbsd_Null_DefinitionSelect0, (regex_t*)NULL }, };
7299  *  Fix Command Arguments for Openbsd_Null_Definition
7300  */
7301 static const char* apzOpenbsd_Null_DefinitionPatch[] = {
7302     "format",
7303     "#ifndef NULL\n\
7304 #ifdef __cplusplus\n\
7305 #ifdef __GNUG__\n\
7306 #define NULL\t__null\n\
7307 #else\t /* ! __GNUG__  */\n\
7308 #define NULL\t0L\n\
7309 #endif\t /* __GNUG__  */\n\
7310 #else\t /* ! __cplusplus  */\n\
7311 #define NULL\t((void *)0)\n\
7312 #endif\t /* __cplusplus  */\n\
7313 #endif\t /* !NULL  */",
7314     "^#ifndef[ \t]*NULL\n\
7315 ^#ifdef[ \t]*__GNUG__\n\
7316 ^#define[ \t]*NULL[ \t]*__null\n\
7317 ^#else\n\
7318 ^#define[ \t]*NULL[ \t]*0L\n\
7319 ^#endif\n\
7320 ^#endif",
7321     (char*)NULL };
7323 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7325  *  Description of Obstack_Lvalue_Cast fix
7326  */
7327 tSCC zObstack_Lvalue_CastName[] =
7328      "obstack_lvalue_cast";
7331  *  File name selection pattern
7332  */
7333 tSCC zObstack_Lvalue_CastList[] =
7334   "obstack.h\0";
7336  *  Machine/OS name selection pattern
7337  */
7338 #define apzObstack_Lvalue_CastMachs (const char**)NULL
7341  *  content selection pattern - do fix if pattern found
7342  */
7343 tSCC zObstack_Lvalue_CastSelect0[] =
7344        "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
7346 #define    OBSTACK_LVALUE_CAST_TEST_CT  1
7347 static tTestDesc aObstack_Lvalue_CastTests[] = {
7348   { TT_EGREP,    zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
7351  *  Fix Command Arguments for Obstack_Lvalue_Cast
7352  */
7353 static const char* apzObstack_Lvalue_CastPatch[] = {
7354     "format",
7355     "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
7356     (char*)NULL };
7358 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7360  *  Description of Openbsd_Va_Start fix
7361  */
7362 tSCC zOpenbsd_Va_StartName[] =
7363      "openbsd_va_start";
7366  *  File name selection pattern
7367  */
7368 tSCC zOpenbsd_Va_StartList[] =
7369   "stdarg.h\0";
7371  *  Machine/OS name selection pattern
7372  */
7373 tSCC* apzOpenbsd_Va_StartMachs[] = {
7374         "*-*-openbsd*",
7375         (const char*)NULL };
7378  *  content selection pattern - do fix if pattern found
7379  */
7380 tSCC zOpenbsd_Va_StartSelect0[] =
7381        "__builtin_stdarg_start";
7383 #define    OPENBSD_VA_START_TEST_CT  1
7384 static tTestDesc aOpenbsd_Va_StartTests[] = {
7385   { TT_EGREP,    zOpenbsd_Va_StartSelect0, (regex_t*)NULL }, };
7388  *  Fix Command Arguments for Openbsd_Va_Start
7389  */
7390 static const char* apzOpenbsd_Va_StartPatch[] = {
7391     "format",
7392     "__builtin_va_start",
7393     (char*)NULL };
7395 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7397  *  Description of Osf_Namespace_A fix
7398  */
7399 tSCC zOsf_Namespace_AName[] =
7400      "osf_namespace_a";
7403  *  File name selection pattern
7404  */
7405 tSCC zOsf_Namespace_AList[] =
7406   "reg_types.h\0sys/lc_core.h\0";
7408  *  Machine/OS name selection pattern
7409  */
7410 #define apzOsf_Namespace_AMachs (const char**)NULL
7413  *  perform the 'test' shell command - do fix on success
7414  */
7415 tSCC zOsf_Namespace_ATest0[] =
7416        " -r reg_types.h";
7417 tSCC zOsf_Namespace_ATest1[] =
7418        " -r sys/lc_core.h";
7419 tSCC zOsf_Namespace_ATest2[] =
7420        " -n \"`grep '} regex_t;' reg_types.h`\"";
7421 tSCC zOsf_Namespace_ATest3[] =
7422        " -z \"`grep __regex_t regex.h`\"";
7424 #define    OSF_NAMESPACE_A_TEST_CT  4
7425 static tTestDesc aOsf_Namespace_ATests[] = {
7426   { TT_TEST,     zOsf_Namespace_ATest0,   0 /* unused */ },
7427   { TT_TEST,     zOsf_Namespace_ATest1,   0 /* unused */ },
7428   { TT_TEST,     zOsf_Namespace_ATest2,   0 /* unused */ },
7429   { TT_TEST,     zOsf_Namespace_ATest3,   0 /* unused */ }, };
7432  *  Fix Command Arguments for Osf_Namespace_A
7433  */
7434 static const char* apzOsf_Namespace_APatch[] = {
7435     "format",
7436     "__%0",
7437     "reg(ex|off|match)_t",
7438     (char*)NULL };
7440 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7442  *  Description of Osf_Namespace_C fix
7443  */
7444 tSCC zOsf_Namespace_CName[] =
7445      "osf_namespace_c";
7448  *  File name selection pattern
7449  */
7450 tSCC zOsf_Namespace_CList[] =
7451   "regex.h\0";
7453  *  Machine/OS name selection pattern
7454  */
7455 #define apzOsf_Namespace_CMachs (const char**)NULL
7458  *  content selection pattern - do fix if pattern found
7459  */
7460 tSCC zOsf_Namespace_CSelect0[] =
7461        "#include <reg_types.h>.*";
7464  *  perform the 'test' shell command - do fix on success
7465  */
7466 tSCC zOsf_Namespace_CTest0[] =
7467        " -r reg_types.h";
7468 tSCC zOsf_Namespace_CTest1[] =
7469        " -r sys/lc_core.h";
7470 tSCC zOsf_Namespace_CTest2[] =
7471        " -n \"`grep '} regex_t;' reg_types.h`\"";
7472 tSCC zOsf_Namespace_CTest3[] =
7473        " -z \"`grep __regex_t regex.h`\"";
7475 #define    OSF_NAMESPACE_C_TEST_CT  5
7476 static tTestDesc aOsf_Namespace_CTests[] = {
7477   { TT_TEST,     zOsf_Namespace_CTest0,   0 /* unused */ },
7478   { TT_TEST,     zOsf_Namespace_CTest1,   0 /* unused */ },
7479   { TT_TEST,     zOsf_Namespace_CTest2,   0 /* unused */ },
7480   { TT_TEST,     zOsf_Namespace_CTest3,   0 /* unused */ },
7481   { TT_EGREP,    zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
7484  *  Fix Command Arguments for Osf_Namespace_C
7485  */
7486 static const char* apzOsf_Namespace_CPatch[] = {
7487     "format",
7488     "%0\n\
7489 typedef __regex_t\tregex_t;\n\
7490 typedef __regoff_t\tregoff_t;\n\
7491 typedef __regmatch_t\tregmatch_t;",
7492     (char*)NULL };
7494 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7496  *  Description of Pthread_Incomplete_Struct_Argument fix
7497  */
7498 tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7499      "pthread_incomplete_struct_argument";
7502  *  File name selection pattern
7503  */
7504 tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7505   "pthread.h\0";
7507  *  Machine/OS name selection pattern
7508  */
7509 #define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7512  *  content selection pattern - do fix if pattern found
7513  */
7514 tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7515        "struct __jmp_buf_tag";
7517 #define    PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT  1
7518 static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7519   { TT_EGREP,    zPthread_Incomplete_Struct_ArgumentSelect0, (regex_t*)NULL }, };
7522  *  Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7523  */
7524 static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7525     "format",
7526     "%1 *%2%3",
7527     "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7528     (char*)NULL };
7530 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7532  *  Description of Read_Ret_Type fix
7533  */
7534 tSCC zRead_Ret_TypeName[] =
7535      "read_ret_type";
7538  *  File name selection pattern
7539  */
7540 tSCC zRead_Ret_TypeList[] =
7541   "stdio.h\0";
7543  *  Machine/OS name selection pattern
7544  */
7545 #define apzRead_Ret_TypeMachs (const char**)NULL
7548  *  content selection pattern - do fix if pattern found
7549  */
7550 tSCC zRead_Ret_TypeSelect0[] =
7551        "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7553 #define    READ_RET_TYPE_TEST_CT  1
7554 static tTestDesc aRead_Ret_TypeTests[] = {
7555   { TT_EGREP,    zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
7558  *  Fix Command Arguments for Read_Ret_Type
7559  */
7560 static const char* apzRead_Ret_TypePatch[] = {
7561     "format",
7562     "extern unsigned int fread(), fwrite();\n\
7563 %1%2",
7564     "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7565     (char*)NULL };
7567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7569  *  Description of Rpc_Xdr_Lvalue_Cast_A fix
7570  */
7571 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7572      "rpc_xdr_lvalue_cast_a";
7575  *  File name selection pattern
7576  */
7577 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7578   "rpc/xdr.h\0";
7580  *  Machine/OS name selection pattern
7581  */
7582 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7585  *  content selection pattern - do fix if pattern found
7586  */
7587 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7588        "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7589 .*__extension__.*";
7591 #define    RPC_XDR_LVALUE_CAST_A_TEST_CT  1
7592 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7593   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
7596  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7597  */
7598 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7599     "format",
7600     "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7601     (char*)NULL };
7603 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7605  *  Description of Rpc_Xdr_Lvalue_Cast_B fix
7606  */
7607 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7608      "rpc_xdr_lvalue_cast_b";
7611  *  File name selection pattern
7612  */
7613 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7614   "rpc/xdr.h\0";
7616  *  Machine/OS name selection pattern
7617  */
7618 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7621  *  content selection pattern - do fix if pattern found
7622  */
7623 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7624        "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7625 .*__extension__.*";
7627 #define    RPC_XDR_LVALUE_CAST_B_TEST_CT  1
7628 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7629   { TT_EGREP,    zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
7632  *  Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7633  */
7634 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7635     "format",
7636     "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7637     (char*)NULL };
7639 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7641  *  Description of Rs6000_Double fix
7642  */
7643 tSCC zRs6000_DoubleName[] =
7644      "rs6000_double";
7647  *  File name selection pattern
7648  */
7649 tSCC zRs6000_DoubleList[] =
7650   "math.h\0";
7652  *  Machine/OS name selection pattern
7653  */
7654 #define apzRs6000_DoubleMachs (const char**)NULL
7657  *  content selection pattern - do fix if pattern found
7658  */
7659 tSCC zRs6000_DoubleSelect0[] =
7660        "[^a-zA-Z_]class\\(";
7662 #define    RS6000_DOUBLE_TEST_CT  1
7663 static tTestDesc aRs6000_DoubleTests[] = {
7664   { TT_EGREP,    zRs6000_DoubleSelect0, (regex_t*)NULL }, };
7667  *  Fix Command Arguments for Rs6000_Double
7668  */
7669 static const char* apzRs6000_DoublePatch[] = {
7670     "format",
7671     "#ifndef __cplusplus\n\
7672 %0\n\
7673 #endif",
7674     "^.*[^a-zA-Z_]class\\(.*",
7675     (char*)NULL };
7677 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7679  *  Description of Rs6000_Fchmod fix
7680  */
7681 tSCC zRs6000_FchmodName[] =
7682      "rs6000_fchmod";
7685  *  File name selection pattern
7686  */
7687 tSCC zRs6000_FchmodList[] =
7688   "sys/stat.h\0";
7690  *  Machine/OS name selection pattern
7691  */
7692 #define apzRs6000_FchmodMachs (const char**)NULL
7695  *  content selection pattern - do fix if pattern found
7696  */
7697 tSCC zRs6000_FchmodSelect0[] =
7698        "fchmod\\(char \\*";
7700 #define    RS6000_FCHMOD_TEST_CT  1
7701 static tTestDesc aRs6000_FchmodTests[] = {
7702   { TT_EGREP,    zRs6000_FchmodSelect0, (regex_t*)NULL }, };
7705  *  Fix Command Arguments for Rs6000_Fchmod
7706  */
7707 static const char* apzRs6000_FchmodPatch[] = {
7708     "format",
7709     "fchmod(int",
7710     (char*)NULL };
7712 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7714  *  Description of Rs6000_Param fix
7715  */
7716 tSCC zRs6000_ParamName[] =
7717      "rs6000_param";
7720  *  File name selection pattern
7721  */
7722 tSCC zRs6000_ParamList[] =
7723   "stdio.h\0unistd.h\0";
7725  *  Machine/OS name selection pattern
7726  */
7727 #define apzRs6000_ParamMachs (const char**)NULL
7730  *  content selection pattern - do fix if pattern found
7731  */
7732 tSCC zRs6000_ParamSelect0[] =
7733        "rename\\(const char \\*old, const char \\*new\\)";
7735 #define    RS6000_PARAM_TEST_CT  1
7736 static tTestDesc aRs6000_ParamTests[] = {
7737   { TT_EGREP,    zRs6000_ParamSelect0, (regex_t*)NULL }, };
7740  *  Fix Command Arguments for Rs6000_Param
7741  */
7742 static const char* apzRs6000_ParamPatch[] = {
7743     "format",
7744     "rename(const char *_old, const char *_new)",
7745     (char*)NULL };
7747 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7749  *  Description of Solaris___Restrict fix
7750  */
7751 tSCC zSolaris___RestrictName[] =
7752      "solaris___restrict";
7755  *  File name selection pattern
7756  */
7757 tSCC zSolaris___RestrictList[] =
7758   "sys/feature_tests.h\0";
7760  *  Machine/OS name selection pattern
7761  */
7762 tSCC* apzSolaris___RestrictMachs[] = {
7763         "*-*-solaris2*",
7764         (const char*)NULL };
7767  *  content selection pattern - do fix if pattern found
7768  */
7769 tSCC zSolaris___RestrictSelect0[] =
7770        "#define[ \t]*_RESTRICT_KYWD[ \t]*restrict";
7772 #define    SOLARIS___RESTRICT_TEST_CT  1
7773 static tTestDesc aSolaris___RestrictTests[] = {
7774   { TT_EGREP,    zSolaris___RestrictSelect0, (regex_t*)NULL }, };
7777  *  Fix Command Arguments for Solaris___Restrict
7778  */
7779 static const char* apzSolaris___RestrictPatch[] = {
7780     "format",
7781     "#ifdef __cplusplus\n\
7782 #define\t_RESTRICT_KYWD\t__restrict\n\
7783 #else\n\
7784 %0\n\
7785 #endif",
7786     (char*)NULL };
7788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7790  *  Description of Solaris_Complex fix
7791  */
7792 tSCC zSolaris_ComplexName[] =
7793      "solaris_complex";
7796  *  File name selection pattern
7797  */
7798 tSCC zSolaris_ComplexList[] =
7799   "complex.h\0";
7801  *  Machine/OS name selection pattern
7802  */
7803 tSCC* apzSolaris_ComplexMachs[] = {
7804         "*-*-solaris2.*",
7805         (const char*)NULL };
7808  *  content selection pattern - do fix if pattern found
7809  */
7810 tSCC zSolaris_ComplexSelect0[] =
7811        "#define[ \t]_Complex_I[ \t]_Complex_I";
7813 #define    SOLARIS_COMPLEX_TEST_CT  1
7814 static tTestDesc aSolaris_ComplexTests[] = {
7815   { TT_EGREP,    zSolaris_ComplexSelect0, (regex_t*)NULL }, };
7818  *  Fix Command Arguments for Solaris_Complex
7819  */
7820 static const char* apzSolaris_ComplexPatch[] = { sed_cmd_z,
7821     "-e", "s/#define[ \t]_Complex_I[ \t]_Complex_I/#define\t_Complex_I\t(__extension__ 1.0iF)/",
7822     "-e", "/#define[ \t]_Imaginary_I[ \t]_Imaginary_I/d",
7823     "-e", "/#define[ \t]imaginary[ \t]_Imaginary/d",
7824     "-e", "s/#define[ \t]I[ \t]\\{1,\\}_Imaginary_I/#define\tI\t\t_Complex_I/",
7825     (char*)NULL };
7827 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7829  *  Description of Solaris_Complex_Cxx fix
7830  */
7831 tSCC zSolaris_Complex_CxxName[] =
7832      "solaris_complex_cxx";
7835  *  File name selection pattern
7836  */
7837 tSCC zSolaris_Complex_CxxList[] =
7838   "complex.h\0";
7840  *  Machine/OS name selection pattern
7841  */
7842 tSCC* apzSolaris_Complex_CxxMachs[] = {
7843         "*-*-solaris2.*",
7844         (const char*)NULL };
7845 #define SOLARIS_COMPLEX_CXX_TEST_CT  0
7846 #define aSolaris_Complex_CxxTests   (tTestDesc*)NULL
7849  *  Fix Command Arguments for Solaris_Complex_Cxx
7850  */
7851 static const char* apzSolaris_Complex_CxxPatch[] = { sed_cmd_z,
7852     "-e", "/#if[ \t]*!defined(__cplusplus)/c\\\n\
7853 #ifdef\t__cplusplus\\\n\
7854 extern \"C\" {\\\n\
7855 #endif",
7856     "-e", "/#endif[ \t]*\\/\\* !defined(__cplusplus) \\*\\//c\\\n\
7857 #ifdef\t__cplusplus\\\n\
7858 }\\\n\
7859 #endif",
7860     (char*)NULL };
7862 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7864  *  Description of Solaris_Cxx_Linkage fix
7865  */
7866 tSCC zSolaris_Cxx_LinkageName[] =
7867      "solaris_cxx_linkage";
7870  *  File name selection pattern
7871  */
7872 tSCC zSolaris_Cxx_LinkageList[] =
7873   "iso/stdlib_iso.h\0";
7875  *  Machine/OS name selection pattern
7876  */
7877 tSCC* apzSolaris_Cxx_LinkageMachs[] = {
7878         "*-*-solaris2*",
7879         (const char*)NULL };
7882  *  content selection pattern - do fix if pattern found
7883  */
7884 tSCC zSolaris_Cxx_LinkageSelect0[] =
7885        "(#if __cplusplus >= 199711L)\n\
7886 (extern \"C\\+\\+\" \\{\n\
7887 )(.*(bsearch|qsort).*)";
7889 #define    SOLARIS_CXX_LINKAGE_TEST_CT  1
7890 static tTestDesc aSolaris_Cxx_LinkageTests[] = {
7891   { TT_EGREP,    zSolaris_Cxx_LinkageSelect0, (regex_t*)NULL }, };
7894  *  Fix Command Arguments for Solaris_Cxx_Linkage
7895  */
7896 static const char* apzSolaris_Cxx_LinkagePatch[] = {
7897     "format",
7898     "%1 && !__GNUG__\n\
7899 %2%3",
7900     (char*)NULL };
7902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7904  *  Description of Solaris_Getc_Strict_Stdc fix
7905  */
7906 tSCC zSolaris_Getc_Strict_StdcName[] =
7907      "solaris_getc_strict_stdc";
7910  *  File name selection pattern
7911  */
7912 tSCC zSolaris_Getc_Strict_StdcList[] =
7913   "iso/stdio_iso.h\0";
7915  *  Machine/OS name selection pattern
7916  */
7917 tSCC* apzSolaris_Getc_Strict_StdcMachs[] = {
7918         "*-*-solaris2*",
7919         (const char*)NULL };
7922  *  content selection pattern - do fix if pattern found
7923  */
7924 tSCC zSolaris_Getc_Strict_StdcSelect0[] =
7925        "(.*&& )!defined\\(_STRICT_STDC\\)(.*)";
7927 #define    SOLARIS_GETC_STRICT_STDC_TEST_CT  1
7928 static tTestDesc aSolaris_Getc_Strict_StdcTests[] = {
7929   { TT_EGREP,    zSolaris_Getc_Strict_StdcSelect0, (regex_t*)NULL }, };
7932  *  Fix Command Arguments for Solaris_Getc_Strict_Stdc
7933  */
7934 static const char* apzSolaris_Getc_Strict_StdcPatch[] = {
7935     "format",
7936     "%1(!defined(_STRICT_STDC) || (__cplusplus >= 199711L))%2",
7937     (char*)NULL };
7939 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7941  *  Description of Solaris_Gets_C11 fix
7942  */
7943 tSCC zSolaris_Gets_C11Name[] =
7944      "solaris_gets_c11";
7947  *  File name selection pattern
7948  */
7949 tSCC zSolaris_Gets_C11List[] =
7950   "iso/stdio_iso.h\0";
7952  *  Machine/OS name selection pattern
7953  */
7954 tSCC* apzSolaris_Gets_C11Machs[] = {
7955         "*-*-solaris2*",
7956         (const char*)NULL };
7959  *  content selection pattern - do fix if pattern found
7960  */
7961 tSCC zSolaris_Gets_C11Select0[] =
7962        "(extern char[ \t]*\\*gets\\(char \\*\\));";
7964 #define    SOLARIS_GETS_C11_TEST_CT  1
7965 static tTestDesc aSolaris_Gets_C11Tests[] = {
7966   { TT_EGREP,    zSolaris_Gets_C11Select0, (regex_t*)NULL }, };
7969  *  Fix Command Arguments for Solaris_Gets_C11
7970  */
7971 static const char* apzSolaris_Gets_C11Patch[] = {
7972     "format",
7973     "#if __STDC_VERSION__ < 201112L && __cplusplus < 201402L\n\
7974 %1 __attribute__((__deprecated__));\n\
7975 #endif",
7976     (char*)NULL };
7978 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7980  *  Description of Solaris_Gets_Cxx14 fix
7981  */
7982 tSCC zSolaris_Gets_Cxx14Name[] =
7983      "solaris_gets_cxx14";
7986  *  File name selection pattern
7987  */
7988 tSCC zSolaris_Gets_Cxx14List[] =
7989   "iso/stdio_iso.h\0";
7991  *  Machine/OS name selection pattern
7992  */
7993 tSCC* apzSolaris_Gets_Cxx14Machs[] = {
7994         "*-*-solaris2*",
7995         (const char*)NULL };
7998  *  content selection pattern - do fix if pattern found
7999  */
8000 tSCC zSolaris_Gets_Cxx14Select0[] =
8001        "(#if __STDC_VERSION__ < 201112L)\n\
8002 (extern char\t\\*gets\\(char \\*\\) __ATTR_DEPRECATED;)";
8004 #define    SOLARIS_GETS_CXX14_TEST_CT  1
8005 static tTestDesc aSolaris_Gets_Cxx14Tests[] = {
8006   { TT_EGREP,    zSolaris_Gets_Cxx14Select0, (regex_t*)NULL }, };
8009  *  Fix Command Arguments for Solaris_Gets_Cxx14
8010  */
8011 static const char* apzSolaris_Gets_Cxx14Patch[] = {
8012     "format",
8013     "%1 && __cplusplus < 201402L\n\
8014 %2",
8015     (char*)NULL };
8017 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8019  *  Description of Solaris_Int_Const fix
8020  */
8021 tSCC zSolaris_Int_ConstName[] =
8022      "solaris_int_const";
8025  *  File name selection pattern
8026  */
8027 tSCC zSolaris_Int_ConstList[] =
8028   "sys/int_const.h\0";
8030  *  Machine/OS name selection pattern
8031  */
8032 tSCC* apzSolaris_Int_ConstMachs[] = {
8033         "*-*-solaris2*",
8034         (const char*)NULL };
8037  *  content selection pattern - do fix if pattern found
8038  */
8039 tSCC zSolaris_Int_ConstSelect0[] =
8040        "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
8041 (/*.**/)\n\
8042 #define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
8044 #define    SOLARIS_INT_CONST_TEST_CT  1
8045 static tTestDesc aSolaris_Int_ConstTests[] = {
8046   { TT_EGREP,    zSolaris_Int_ConstSelect0, (regex_t*)NULL }, };
8049  *  Fix Command Arguments for Solaris_Int_Const
8050  */
8051 static const char* apzSolaris_Int_ConstPatch[] = {
8052     "format",
8053     "#define\tUINT8_C(c)\t(c)\n\
8054 %1\n\
8055 #define\tUINT16_C(c)\t(c)",
8056     (char*)NULL };
8058 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8060  *  Description of Solaris_Int_Limits_1 fix
8061  */
8062 tSCC zSolaris_Int_Limits_1Name[] =
8063      "solaris_int_limits_1";
8066  *  File name selection pattern
8067  */
8068 tSCC zSolaris_Int_Limits_1List[] =
8069   "sys/int_limits.h\0";
8071  *  Machine/OS name selection pattern
8072  */
8073 tSCC* apzSolaris_Int_Limits_1Machs[] = {
8074         "*-*-solaris2*",
8075         (const char*)NULL };
8078  *  content selection pattern - do fix if pattern found
8079  */
8080 tSCC zSolaris_Int_Limits_1Select0[] =
8081        "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
8082 #define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
8084 #define    SOLARIS_INT_LIMITS_1_TEST_CT  1
8085 static tTestDesc aSolaris_Int_Limits_1Tests[] = {
8086   { TT_EGREP,    zSolaris_Int_Limits_1Select0, (regex_t*)NULL }, };
8089  *  Fix Command Arguments for Solaris_Int_Limits_1
8090  */
8091 static const char* apzSolaris_Int_Limits_1Patch[] = {
8092     "format",
8093     "#define\tUINT8_MAX\t(255)\n\
8094 #define\tUINT16_MAX\t(65535)",
8095     (char*)NULL };
8097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8099  *  Description of Solaris_Int_Limits_2 fix
8100  */
8101 tSCC zSolaris_Int_Limits_2Name[] =
8102      "solaris_int_limits_2";
8105  *  File name selection pattern
8106  */
8107 tSCC zSolaris_Int_Limits_2List[] =
8108   "sys/int_limits.h\0";
8110  *  Machine/OS name selection pattern
8111  */
8112 tSCC* apzSolaris_Int_Limits_2Machs[] = {
8113         "*-*-solaris2*",
8114         (const char*)NULL };
8117  *  content selection pattern - do fix if pattern found
8118  */
8119 tSCC zSolaris_Int_Limits_2Select0[] =
8120        "^#define[ \t]+(INT|UINT)_FAST16_(MAX|MIN)[ \t](INT|UINT)16.*";
8122 #define    SOLARIS_INT_LIMITS_2_TEST_CT  1
8123 static tTestDesc aSolaris_Int_Limits_2Tests[] = {
8124   { TT_EGREP,    zSolaris_Int_Limits_2Select0, (regex_t*)NULL }, };
8127  *  Fix Command Arguments for Solaris_Int_Limits_2
8128  */
8129 static const char* apzSolaris_Int_Limits_2Patch[] = {
8130     "format",
8131     "#define\t%1_FAST16_%2 %132_%2",
8132     (char*)NULL };
8134 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8136  *  Description of Solaris_Int_Limits_3 fix
8137  */
8138 tSCC zSolaris_Int_Limits_3Name[] =
8139      "solaris_int_limits_3";
8142  *  File name selection pattern
8143  */
8144 tSCC zSolaris_Int_Limits_3List[] =
8145   "sys/int_limits.h\0";
8147  *  Machine/OS name selection pattern
8148  */
8149 tSCC* apzSolaris_Int_Limits_3Machs[] = {
8150         "*-*-solaris2*",
8151         (const char*)NULL };
8154  *  content selection pattern - do fix if pattern found
8155  */
8156 tSCC zSolaris_Int_Limits_3Select0[] =
8157        "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
8159 #define    SOLARIS_INT_LIMITS_3_TEST_CT  1
8160 static tTestDesc aSolaris_Int_Limits_3Tests[] = {
8161   { TT_EGREP,    zSolaris_Int_Limits_3Select0, (regex_t*)NULL }, };
8164  *  Fix Command Arguments for Solaris_Int_Limits_3
8165  */
8166 static const char* apzSolaris_Int_Limits_3Patch[] = {
8167     "format",
8168     "#define\tSIZE_MAX\t4294967295U",
8169     (char*)NULL };
8171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8173  *  Description of Solaris_Math_1 fix
8174  */
8175 tSCC zSolaris_Math_1Name[] =
8176      "solaris_math_1";
8179  *  File name selection pattern
8180  */
8181 tSCC zSolaris_Math_1List[] =
8182   "iso/math_c99.h\0";
8184  *  Machine/OS name selection pattern
8185  */
8186 #define apzSolaris_Math_1Machs (const char**)NULL
8189  *  content selection pattern - do fix if pattern found
8190  */
8191 tSCC zSolaris_Math_1Select0[] =
8192        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8195  *  content bypass pattern - skip fix if pattern found
8196  */
8197 tSCC zSolaris_Math_1Bypass0[] =
8198        "__GNUC__";
8200 #define    SOLARIS_MATH_1_TEST_CT  2
8201 static tTestDesc aSolaris_Math_1Tests[] = {
8202   { TT_NEGREP,   zSolaris_Math_1Bypass0, (regex_t*)NULL },
8203   { TT_EGREP,    zSolaris_Math_1Select0, (regex_t*)NULL }, };
8206  *  Fix Command Arguments for Solaris_Math_1
8207  */
8208 static const char* apzSolaris_Math_1Patch[] = {
8209     "format",
8210     "#define\tHUGE_VA%1\t(__builtin_huge_va%2())",
8211     "^#define[ \t]+HUGE_VA([LF]+)[ \t]+__builtin_huge_va([lf]+)",
8212     (char*)NULL };
8214 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8216  *  Description of Solaris_Math_10 fix
8217  */
8218 tSCC zSolaris_Math_10Name[] =
8219      "solaris_math_10";
8222  *  File name selection pattern
8223  */
8224 tSCC zSolaris_Math_10List[] =
8225   "iso/math_c99.h\0";
8227  *  Machine/OS name selection pattern
8228  */
8229 #define apzSolaris_Math_10Machs (const char**)NULL
8232  *  content selection pattern - do fix if pattern found
8233  */
8234 tSCC zSolaris_Math_10Select0[] =
8235        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8237 #define    SOLARIS_MATH_10_TEST_CT  1
8238 static tTestDesc aSolaris_Math_10Tests[] = {
8239   { TT_EGREP,    zSolaris_Math_10Select0, (regex_t*)NULL }, };
8242  *  Fix Command Arguments for Solaris_Math_10
8243  */
8244 static const char* apzSolaris_Math_10Patch[] = {
8245     "format",
8246     "#define\tisinf(x) __builtin_isinf(x)",
8247     "^#define[ \t]+isinf\\(x\\)[ \t]+__extension__\\([ \t]*\\\\\n\
8248 [ \t]*\\{[ \t]*__typeof\\(x\\)[ \t]*__x_i[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8249 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*INFINITY[ \t]*\\|\\|[ \t]*\\\\\n\
8250 [ \t]*__x_i[ \t]*==[ \t]*\\(__typeof\\(__x_i\\)\\)[ \t]*\\(-INFINITY\\);[ \t]*\\}\\)",
8251     (char*)NULL };
8253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8255  *  Description of Solaris_Math_2 fix
8256  */
8257 tSCC zSolaris_Math_2Name[] =
8258      "solaris_math_2";
8261  *  File name selection pattern
8262  */
8263 tSCC zSolaris_Math_2List[] =
8264   "iso/math_c99.h\0";
8266  *  Machine/OS name selection pattern
8267  */
8268 #define apzSolaris_Math_2Machs (const char**)NULL
8271  *  content selection pattern - do fix if pattern found
8272  */
8273 tSCC zSolaris_Math_2Select0[] =
8274        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8277  *  content bypass pattern - skip fix if pattern found
8278  */
8279 tSCC zSolaris_Math_2Bypass0[] =
8280        "__GNUC__";
8282 #define    SOLARIS_MATH_2_TEST_CT  2
8283 static tTestDesc aSolaris_Math_2Tests[] = {
8284   { TT_NEGREP,   zSolaris_Math_2Bypass0, (regex_t*)NULL },
8285   { TT_EGREP,    zSolaris_Math_2Select0, (regex_t*)NULL }, };
8288  *  Fix Command Arguments for Solaris_Math_2
8289  */
8290 static const char* apzSolaris_Math_2Patch[] = {
8291     "format",
8292     "#define\tINFINITY\t(__builtin_inff())",
8293     "^#define[ \t]+INFINITY[ \t]+__builtin_infinity",
8294     (char*)NULL };
8296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8298  *  Description of Solaris_Math_3 fix
8299  */
8300 tSCC zSolaris_Math_3Name[] =
8301      "solaris_math_3";
8304  *  File name selection pattern
8305  */
8306 tSCC zSolaris_Math_3List[] =
8307   "iso/math_c99.h\0";
8309  *  Machine/OS name selection pattern
8310  */
8311 #define apzSolaris_Math_3Machs (const char**)NULL
8314  *  content selection pattern - do fix if pattern found
8315  */
8316 tSCC zSolaris_Math_3Select0[] =
8317        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8320  *  content bypass pattern - skip fix if pattern found
8321  */
8322 tSCC zSolaris_Math_3Bypass0[] =
8323        "__GNUC__";
8325 #define    SOLARIS_MATH_3_TEST_CT  2
8326 static tTestDesc aSolaris_Math_3Tests[] = {
8327   { TT_NEGREP,   zSolaris_Math_3Bypass0, (regex_t*)NULL },
8328   { TT_EGREP,    zSolaris_Math_3Select0, (regex_t*)NULL }, };
8331  *  Fix Command Arguments for Solaris_Math_3
8332  */
8333 static const char* apzSolaris_Math_3Patch[] = {
8334     "format",
8335     "#define\tNAN\t\t(__builtin_nanf(\"\"))",
8336     "^#define[ \t]+NAN[ \t]+__builtin_nan",
8337     (char*)NULL };
8339 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8341  *  Description of Solaris_Math_4 fix
8342  */
8343 tSCC zSolaris_Math_4Name[] =
8344      "solaris_math_4";
8347  *  File name selection pattern
8348  */
8349 tSCC zSolaris_Math_4List[] =
8350   "iso/math_c99.h\0";
8352  *  Machine/OS name selection pattern
8353  */
8354 #define apzSolaris_Math_4Machs (const char**)NULL
8357  *  content selection pattern - do fix if pattern found
8358  */
8359 tSCC zSolaris_Math_4Select0[] =
8360        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8363  *  content bypass pattern - skip fix if pattern found
8364  */
8365 tSCC zSolaris_Math_4Bypass0[] =
8366        "__GNUC__";
8368 #define    SOLARIS_MATH_4_TEST_CT  2
8369 static tTestDesc aSolaris_Math_4Tests[] = {
8370   { TT_NEGREP,   zSolaris_Math_4Bypass0, (regex_t*)NULL },
8371   { TT_EGREP,    zSolaris_Math_4Select0, (regex_t*)NULL }, };
8374  *  Fix Command Arguments for Solaris_Math_4
8375  */
8376 static const char* apzSolaris_Math_4Patch[] = {
8377     "format",
8378     "#define\tfpclassify(x) \\\n\
8379   __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x))",
8380     "^#define[ \t]+fpclassify\\(x\\)[ \t]+__builtin_fpclassify\\(x\\)",
8381     (char*)NULL };
8383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8385  *  Description of Solaris_Math_8 fix
8386  */
8387 tSCC zSolaris_Math_8Name[] =
8388      "solaris_math_8";
8391  *  File name selection pattern
8392  */
8393 tSCC zSolaris_Math_8List[] =
8394   "iso/math_c99.h\0";
8396  *  Machine/OS name selection pattern
8397  */
8398 #define apzSolaris_Math_8Machs (const char**)NULL
8401  *  content selection pattern - do fix if pattern found
8402  */
8403 tSCC zSolaris_Math_8Select0[] =
8404        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ SMI";
8407  *  content bypass pattern - skip fix if pattern found
8408  */
8409 tSCC zSolaris_Math_8Bypass0[] =
8410        "__GNUC__";
8412 #define    SOLARIS_MATH_8_TEST_CT  2
8413 static tTestDesc aSolaris_Math_8Tests[] = {
8414   { TT_NEGREP,   zSolaris_Math_8Bypass0, (regex_t*)NULL },
8415   { TT_EGREP,    zSolaris_Math_8Select0, (regex_t*)NULL }, };
8418  *  Fix Command Arguments for Solaris_Math_8
8419  */
8420 static const char* apzSolaris_Math_8Patch[] = {
8421     "format",
8422     "#define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8423 \t\t\t   ? __builtin_signbitf(x) \\\n\
8424 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
8425 \t\t\t     ? __builtin_signbitl(x) \\\n\
8426 \t\t\t     : __builtin_signbit(x))",
8427     "^#define[ \t]+signbit\\(x\\)[ \t]+__builtin_signbit\\(x\\)",
8428     (char*)NULL };
8430 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8432  *  Description of Solaris_Math_9 fix
8433  */
8434 tSCC zSolaris_Math_9Name[] =
8435      "solaris_math_9";
8438  *  File name selection pattern
8439  */
8440 tSCC zSolaris_Math_9List[] =
8441   "iso/math_c99.h\0";
8443  *  Machine/OS name selection pattern
8444  */
8445 #define apzSolaris_Math_9Machs (const char**)NULL
8448  *  content selection pattern - do fix if pattern found
8449  */
8450 tSCC zSolaris_Math_9Select0[] =
8451        "@\\(#\\)math_c99.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8454  *  content bypass pattern - skip fix if pattern found
8455  */
8456 tSCC zSolaris_Math_9Bypass0[] =
8457        "__GNUC__";
8459 #define    SOLARIS_MATH_9_TEST_CT  2
8460 static tTestDesc aSolaris_Math_9Tests[] = {
8461   { TT_NEGREP,   zSolaris_Math_9Bypass0, (regex_t*)NULL },
8462   { TT_EGREP,    zSolaris_Math_9Select0, (regex_t*)NULL }, };
8465  *  Fix Command Arguments for Solaris_Math_9
8466  */
8467 static const char* apzSolaris_Math_9Patch[] = {
8468     "format",
8469     "#define\t%1(x, y)%2__builtin_%1(x, y)",
8470     "^#define[ \t]+([a-z]+)\\(x, y\\)([ \t]+)\\(\\(x\\) __builtin_[a-z]+\\(y\\)\\)",
8471     (char*)NULL };
8473 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8475  *  Description of Solaris_Math_11 fix
8476  */
8477 tSCC zSolaris_Math_11Name[] =
8478      "solaris_math_11";
8481  *  File name selection pattern
8482  */
8483 tSCC zSolaris_Math_11List[] =
8484   "iso/math_c99.h\0";
8486  *  Machine/OS name selection pattern
8487  */
8488 #define apzSolaris_Math_11Machs (const char**)NULL
8491  *  content selection pattern - do fix if pattern found
8492  */
8493 tSCC zSolaris_Math_11Select0[] =
8494        "@\\(#\\)math_c99\\.h[ \t]+1\\.[0-9]+[ \t]+[0-9/]+ ";
8496 #define    SOLARIS_MATH_11_TEST_CT  1
8497 static tTestDesc aSolaris_Math_11Tests[] = {
8498   { TT_EGREP,    zSolaris_Math_11Select0, (regex_t*)NULL }, };
8501  *  Fix Command Arguments for Solaris_Math_11
8502  */
8503 static const char* apzSolaris_Math_11Patch[] = {
8504     "format",
8505     "#undef\tsignbit\n\
8506 #define\tsignbit(x)\t(sizeof(x) == sizeof(float) \\\n\
8507 \t\t\t   ? __builtin_signbitf(x) \\\n\
8508 \t\t\t   : sizeof(x) == sizeof(long double) \\\n\
8509 \t\t\t     ? __builtin_signbitl(x) \\\n\
8510 \t\t\t     : __builtin_signbit(x))",
8511     "^#undef[ \t]+signbit\n\
8512 #if defined\\(__sparc\\)\n\
8513 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8514 [ \t]+\\{[ \t]*__typeof\\(x\\)[ \t]*__x_s[ \t]*=[ \t]*\\(x\\);[ \t]*\\\\\n\
8515 [ \t]+\\(int\\)[ \t]*\\(\\*\\(unsigned[ \t]*\\*\\)[ \t]*\\&__x_s[ \t]*>>[ \t]*31\\);[ \t]*\\}\\)\n\
8516 #elif defined\\(__i386\\) \\|\\| defined\\(__amd64\\)\n\
8517 #define[ \t]+signbit\\(x\\)[ \t]+__extension__\\( \\\\\n\
8518 [ \t]+\\{ __typeof\\(x\\) __x_s = \\(x\\); \\\\\n\
8519 [ \t]+\\(sizeof \\(__x_s\\) == sizeof \\(float\\) \\? \\\\\n\
8520 [ \t]+\\(int\\) \\(\\*\\(unsigned \\*\\) \\&__x_s >> 31\\) : \\\\\n\
8521 [ \t]+sizeof \\(__x_s\\) == sizeof \\(double\\) \\? \\\\\n\
8522 [ \t]+\\(int\\) \\(\\(\\(unsigned \\*\\) \\&__x_s\\)\\[1\\] >> 31\\) : \\\\\n\
8523 [ \t]+\\(int\\) \\(\\(\\(unsigned short \\*\\) \\&__x_s\\)\\[4\\] >> 15\\)\\); \\}\\)\n\
8524 #endif",
8525     (char*)NULL };
8527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8529  *  Description of Solaris_Math_12 fix
8530  */
8531 tSCC zSolaris_Math_12Name[] =
8532      "solaris_math_12";
8535  *  File name selection pattern
8536  */
8537 tSCC zSolaris_Math_12List[] =
8538   "math.h\0";
8540  *  Machine/OS name selection pattern
8541  */
8542 tSCC* apzSolaris_Math_12Machs[] = {
8543         "*-*-solaris2*",
8544         (const char*)NULL };
8547  *  content selection pattern - do fix if pattern found
8548  */
8549 tSCC zSolaris_Math_12Select0[] =
8550        "#undef.*_GLIBCXX_USE_C99_MATH";
8553  *  content bypass pattern - skip fix if pattern found
8554  */
8555 tSCC zSolaris_Math_12Bypass0[] =
8556        "__MATH_PREEMPTS_GLIBCXX_C99_MATH";
8558 #define    SOLARIS_MATH_12_TEST_CT  2
8559 static tTestDesc aSolaris_Math_12Tests[] = {
8560   { TT_NEGREP,   zSolaris_Math_12Bypass0, (regex_t*)NULL },
8561   { TT_EGREP,    zSolaris_Math_12Select0, (regex_t*)NULL }, };
8564  *  Fix Command Arguments for Solaris_Math_12
8565  */
8566 static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
8567     "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
8568     (char*)NULL };
8570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8572  *  Description of Solaris_Once_Init_1 fix
8573  */
8574 tSCC zSolaris_Once_Init_1Name[] =
8575      "solaris_once_init_1";
8578  *  File name selection pattern
8579  */
8580 tSCC zSolaris_Once_Init_1List[] =
8581   "pthread.h\0";
8583  *  Machine/OS name selection pattern
8584  */
8585 tSCC* apzSolaris_Once_Init_1Machs[] = {
8586         "*-*-solaris*",
8587         (const char*)NULL };
8590  *  content selection pattern - do fix if pattern found
8591  */
8592 tSCC zSolaris_Once_Init_1Select0[] =
8593        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8595 #define    SOLARIS_ONCE_INIT_1_TEST_CT  1
8596 static tTestDesc aSolaris_Once_Init_1Tests[] = {
8597   { TT_EGREP,    zSolaris_Once_Init_1Select0, (regex_t*)NULL }, };
8600  *  Fix Command Arguments for Solaris_Once_Init_1
8601  */
8602 static const char* apzSolaris_Once_Init_1Patch[] = {
8603     "format",
8604     "%1{%2}%3",
8605     "(^#define[ \t]+PTHREAD_ONCE_INIT[ \t]+\\{)([^}]+)(\\})[ \t]*$",
8606     (char*)NULL };
8608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8610  *  Description of Solaris_Posix_Spawn_Restrict fix
8611  */
8612 tSCC zSolaris_Posix_Spawn_RestrictName[] =
8613      "solaris_posix_spawn_restrict";
8616  *  File name selection pattern
8617  */
8618 tSCC zSolaris_Posix_Spawn_RestrictList[] =
8619   "spawn.h\0";
8621  *  Machine/OS name selection pattern
8622  */
8623 tSCC* apzSolaris_Posix_Spawn_RestrictMachs[] = {
8624         "*-*-solaris2*",
8625         (const char*)NULL };
8628  *  content selection pattern - do fix if pattern found
8629  */
8630 tSCC zSolaris_Posix_Spawn_RestrictSelect0[] =
8631        "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)";
8633 #define    SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT  1
8634 static tTestDesc aSolaris_Posix_Spawn_RestrictTests[] = {
8635   { TT_EGREP,    zSolaris_Posix_Spawn_RestrictSelect0, (regex_t*)NULL }, };
8638  *  Fix Command Arguments for Solaris_Posix_Spawn_Restrict
8639  */
8640 static const char* apzSolaris_Posix_Spawn_RestrictPatch[] = {
8641     "format",
8642     "%1*_RESTRICT_KYWD %2%3",
8643     (char*)NULL };
8645 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8647  *  Description of Solaris_Pow_Int_Overload fix
8648  */
8649 tSCC zSolaris_Pow_Int_OverloadName[] =
8650      "solaris_pow_int_overload";
8653  *  File name selection pattern
8654  */
8655 tSCC zSolaris_Pow_Int_OverloadList[] =
8656   "iso/math_iso.h\0";
8658  *  Machine/OS name selection pattern
8659  */
8660 tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
8661         "*-*-solaris2*",
8662         (const char*)NULL };
8665  *  content selection pattern - do fix if pattern found
8666  */
8667 tSCC zSolaris_Pow_Int_OverloadSelect0[] =
8668        "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
8669 [^{}]*\\}";
8671 #define    SOLARIS_POW_INT_OVERLOAD_TEST_CT  1
8672 static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
8673   { TT_EGREP,    zSolaris_Pow_Int_OverloadSelect0, (regex_t*)NULL }, };
8676  *  Fix Command Arguments for Solaris_Pow_Int_Overload
8677  */
8678 static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
8679     "format",
8680     "#if __cplusplus < 201103L\n\
8681 %0\n\
8682 #endif",
8683     (char*)NULL };
8685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8687  *  Description of Solaris_Rwlock_Init_1 fix
8688  */
8689 tSCC zSolaris_Rwlock_Init_1Name[] =
8690      "solaris_rwlock_init_1";
8693  *  File name selection pattern
8694  */
8695 tSCC zSolaris_Rwlock_Init_1List[] =
8696   "pthread.h\0";
8698  *  Machine/OS name selection pattern
8699  */
8700 tSCC* apzSolaris_Rwlock_Init_1Machs[] = {
8701         "*-*-solaris*",
8702         (const char*)NULL };
8705  *  content selection pattern - do fix if pattern found
8706  */
8707 tSCC zSolaris_Rwlock_Init_1Select0[] =
8708        "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
8710 #define    SOLARIS_RWLOCK_INIT_1_TEST_CT  1
8711 static tTestDesc aSolaris_Rwlock_Init_1Tests[] = {
8712   { TT_EGREP,    zSolaris_Rwlock_Init_1Select0, (regex_t*)NULL }, };
8715  *  Fix Command Arguments for Solaris_Rwlock_Init_1
8716  */
8717 static const char* apzSolaris_Rwlock_Init_1Patch[] = {
8718     "format",
8719     "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
8720 %0\n\
8721 #else\n\
8722 %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}}\n\
8723 #endif",
8724     "(^#define[ \t]+PTHREAD_RWLOCK_INITIALIZER[ \t]+)\\{0, 0, 0, \\{0, 0, 0\\}, \\{0, 0\\}, \\{0, 0\\}\\}[ \t]*$",
8725     (char*)NULL };
8727 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8729  *  Description of Solaris_Std___Filbuf fix
8730  */
8731 tSCC zSolaris_Std___FilbufName[] =
8732      "solaris_std___filbuf";
8735  *  File name selection pattern
8736  */
8737 tSCC zSolaris_Std___FilbufList[] =
8738   "stdio.h\0";
8740  *  Machine/OS name selection pattern
8741  */
8742 tSCC* apzSolaris_Std___FilbufMachs[] = {
8743         "*-*-solaris2*",
8744         (const char*)NULL };
8747  *  content selection pattern - do fix if pattern found
8748  */
8749 tSCC zSolaris_Std___FilbufSelect0[] =
8750        "(using std::perror;\n\
8751 )(#endif)";
8754  *  content bypass pattern - skip fix if pattern found
8755  */
8756 tSCC zSolaris_Std___FilbufBypass0[] =
8757        "using std::__filbuf";
8759 #define    SOLARIS_STD___FILBUF_TEST_CT  2
8760 static tTestDesc aSolaris_Std___FilbufTests[] = {
8761   { TT_NEGREP,   zSolaris_Std___FilbufBypass0, (regex_t*)NULL },
8762   { TT_EGREP,    zSolaris_Std___FilbufSelect0, (regex_t*)NULL }, };
8765  *  Fix Command Arguments for Solaris_Std___Filbuf
8766  */
8767 static const char* apzSolaris_Std___FilbufPatch[] = {
8768     "format",
8769     "%1#ifndef _LP64\n\
8770 using std::__filbuf;\n\
8771 using std::__flsbuf;\n\
8772 #endif\n\
8773 %2",
8774     (char*)NULL };
8776 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8778  *  Description of Solaris_Std_Gets_Cxx14 fix
8779  */
8780 tSCC zSolaris_Std_Gets_Cxx14Name[] =
8781      "solaris_std_gets_cxx14";
8784  *  File name selection pattern
8785  */
8786 tSCC zSolaris_Std_Gets_Cxx14List[] =
8787   "stdio.h\0";
8789  *  Machine/OS name selection pattern
8790  */
8791 tSCC* apzSolaris_Std_Gets_Cxx14Machs[] = {
8792         "*-*-solaris2*",
8793         (const char*)NULL };
8796  *  content selection pattern - do fix if pattern found
8797  */
8798 tSCC zSolaris_Std_Gets_Cxx14Select0[] =
8799        "using std::gets;";
8801 #define    SOLARIS_STD_GETS_CXX14_TEST_CT  1
8802 static tTestDesc aSolaris_Std_Gets_Cxx14Tests[] = {
8803   { TT_EGREP,    zSolaris_Std_Gets_Cxx14Select0, (regex_t*)NULL }, };
8806  *  Fix Command Arguments for Solaris_Std_Gets_Cxx14
8807  */
8808 static const char* apzSolaris_Std_Gets_Cxx14Patch[] = {
8809     "format",
8810     "#if __cplusplus < 201402L\n\
8811 %0\n\
8812 #endif",
8813     (char*)NULL };
8815 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8817  *  Description of Solaris_Stdio_Tag fix
8818  */
8819 tSCC zSolaris_Stdio_TagName[] =
8820      "solaris_stdio_tag";
8823  *  File name selection pattern
8824  */
8825 tSCC zSolaris_Stdio_TagList[] =
8826   "stdio_tag.h\0";
8828  *  Machine/OS name selection pattern
8829  */
8830 #define apzSolaris_Stdio_TagMachs (const char**)NULL
8833  *  content selection pattern - do fix if pattern found
8834  */
8835 tSCC zSolaris_Stdio_TagSelect0[] =
8836        "__cplusplus < 54321L";
8839  *  content bypass pattern - skip fix if pattern found
8840  */
8841 tSCC zSolaris_Stdio_TagBypass0[] =
8842        "__GNUC__";
8844 #define    SOLARIS_STDIO_TAG_TEST_CT  2
8845 static tTestDesc aSolaris_Stdio_TagTests[] = {
8846   { TT_NEGREP,   zSolaris_Stdio_TagBypass0, (regex_t*)NULL },
8847   { TT_EGREP,    zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
8850  *  Fix Command Arguments for Solaris_Stdio_Tag
8851  */
8852 static const char* apzSolaris_Stdio_TagPatch[] = { sed_cmd_z,
8853     "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
8854     (char*)NULL };
8856 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8858  *  Description of Solaris_Stdlib_Noreturn fix
8859  */
8860 tSCC zSolaris_Stdlib_NoreturnName[] =
8861      "solaris_stdlib_noreturn";
8864  *  File name selection pattern
8865  */
8866 tSCC zSolaris_Stdlib_NoreturnList[] =
8867   "iso/stdlib_c99.h\0";
8869  *  Machine/OS name selection pattern
8870  */
8871 tSCC* apzSolaris_Stdlib_NoreturnMachs[] = {
8872         "*-*-solaris2*",
8873         (const char*)NULL };
8876  *  content selection pattern - do fix if pattern found
8877  */
8878 tSCC zSolaris_Stdlib_NoreturnSelect0[] =
8879        "(extern) _Noreturn (void quick_exit\\(int\\));";
8881 #define    SOLARIS_STDLIB_NORETURN_TEST_CT  1
8882 static tTestDesc aSolaris_Stdlib_NoreturnTests[] = {
8883   { TT_EGREP,    zSolaris_Stdlib_NoreturnSelect0, (regex_t*)NULL }, };
8886  *  Fix Command Arguments for Solaris_Stdlib_Noreturn
8887  */
8888 static const char* apzSolaris_Stdlib_NoreturnPatch[] = {
8889     "format",
8890     "%1 %2 __attribute__((__noreturn__));",
8891     (char*)NULL };
8893 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8895  *  Description of Statsswtch fix
8896  */
8897 tSCC zStatsswtchName[] =
8898      "statsswtch";
8901  *  File name selection pattern
8902  */
8903 tSCC zStatsswtchList[] =
8904   "rpcsvc/rstat.h\0";
8906  *  Machine/OS name selection pattern
8907  */
8908 #define apzStatsswtchMachs (const char**)NULL
8911  *  content selection pattern - do fix if pattern found
8912  */
8913 tSCC zStatsswtchSelect0[] =
8914        "boottime$";
8916 #define    STATSSWTCH_TEST_CT  1
8917 static tTestDesc aStatsswtchTests[] = {
8918   { TT_EGREP,    zStatsswtchSelect0, (regex_t*)NULL }, };
8921  *  Fix Command Arguments for Statsswtch
8922  */
8923 static const char* apzStatsswtchPatch[] = {
8924     "format",
8925     "boottime;",
8926     (char*)NULL };
8928 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8930  *  Description of Stdio_Stdarg_H fix
8931  */
8932 tSCC zStdio_Stdarg_HName[] =
8933      "stdio_stdarg_h";
8936  *  File name selection pattern
8937  */
8938 tSCC zStdio_Stdarg_HList[] =
8939   "stdio.h\0";
8941  *  Machine/OS name selection pattern
8942  */
8943 tSCC* apzStdio_Stdarg_HMachs[] = {
8944         "*-*-solaris2.1[0-9]*",
8945         (const char*)NULL };
8948  *  content bypass pattern - skip fix if pattern found
8949  */
8950 tSCC zStdio_Stdarg_HBypass0[] =
8951        "include.*(stdarg.h|machine/ansi.h)";
8953 #define    STDIO_STDARG_H_TEST_CT  1
8954 static tTestDesc aStdio_Stdarg_HTests[] = {
8955   { TT_NEGREP,   zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
8958  *  Fix Command Arguments for Stdio_Stdarg_H
8959  */
8960 static const char* apzStdio_Stdarg_HPatch[] = {
8961     "wrap",
8962     "#define __need___va_list\n\
8963 #include <stdarg.h>\n",
8964     (char*)NULL };
8966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
8968  *  Description of Stdio_Va_List fix
8969  */
8970 tSCC zStdio_Va_ListName[] =
8971      "stdio_va_list";
8974  *  File name selection pattern
8975  */
8976 tSCC zStdio_Va_ListList[] =
8977   "stdio.h\0";
8979  *  Machine/OS name selection pattern
8980  */
8981 tSCC* apzStdio_Va_ListMachs[] = {
8982         "*-*-solaris2.1[0-9]*",
8983         (const char*)NULL };
8986  *  content bypass pattern - skip fix if pattern found
8987  */
8988 tSCC zStdio_Va_ListBypass0[] =
8989        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8991 #define    STDIO_VA_LIST_TEST_CT  1
8992 static tTestDesc aStdio_Va_ListTests[] = {
8993   { TT_NEGREP,   zStdio_Va_ListBypass0, (regex_t*)NULL }, };
8996  *  Fix Command Arguments for Stdio_Va_List
8997  */
8998 static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8999     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
9000 s@(va_list)&@(__gnuc_va_list)\\&@\n\
9001 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
9002 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
9003 s@ va_list@ __not_va_list__@\n\
9004 s@\\*va_list@*__not_va_list__@\n\
9005 s@ __va_list)@ __gnuc_va_list)@\n\
9006 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
9007 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
9008 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
9009 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
9010 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
9011 s@VA_LIST@DUMMY_VA_LIST@\n\
9012 s@_Va_LIST@_VA_LIST@",
9013     (char*)NULL };
9015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9017  *  Description of Stdio_Va_List_Clients fix
9018  */
9019 tSCC zStdio_Va_List_ClientsName[] =
9020      "stdio_va_list_clients";
9023  *  File name selection pattern
9024  */
9025 tSCC zStdio_Va_List_ClientsList[] =
9026   "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
9028  *  Machine/OS name selection pattern
9029  */
9030 #define apzStdio_Va_List_ClientsMachs (const char**)NULL
9033  *  content bypass pattern - skip fix if pattern found
9034  */
9035 tSCC zStdio_Va_List_ClientsBypass0[] =
9036        "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
9037 tSCC zStdio_Va_List_ClientsBypass1[] =
9038        "include <stdarg\\.h>|#ifdef va_start";
9040 #define    STDIO_VA_LIST_CLIENTS_TEST_CT  2
9041 static tTestDesc aStdio_Va_List_ClientsTests[] = {
9042   { TT_NEGREP,   zStdio_Va_List_ClientsBypass0, (regex_t*)NULL },
9043   { TT_NEGREP,   zStdio_Va_List_ClientsBypass1, (regex_t*)NULL }, };
9046  *  Fix Command Arguments for Stdio_Va_List_Clients
9047  */
9048 static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
9049     "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
9050 s@(va_list)&@(__gnuc_va_list)\\&@\n\
9051 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
9052 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
9053 s@ va_list@ __not_va_list__@\n\
9054 s@\\*va_list@*__not_va_list__@\n\
9055 s@ __va_list)@ __gnuc_va_list)@\n\
9056 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
9057 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
9058 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
9059 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
9060 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
9061 s@VA_LIST@DUMMY_VA_LIST@\n\
9062 s@_Va_LIST@_VA_LIST@",
9063     (char*)NULL };
9065 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9067  *  Description of Strict_Ansi_Not fix
9068  */
9069 tSCC zStrict_Ansi_NotName[] =
9070      "strict_ansi_not";
9073  *  File name selection pattern
9074  */
9075 #define zStrict_Ansi_NotList (char*)NULL
9077  *  Machine/OS name selection pattern
9078  */
9079 #define apzStrict_Ansi_NotMachs (const char**)NULL
9082  *  content selection pattern - do fix if pattern found
9083  */
9084 tSCC zStrict_Ansi_NotSelect0[] =
9085        "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
9088  *  content bypass pattern - skip fix if pattern found
9089  */
9090 tSCC zStrict_Ansi_NotBypass0[] =
9091        "GNU and MIPS C compilers define __STDC__ differently";
9092 tSCC zStrict_Ansi_NotBypass1[] =
9093        "__SCO_VERSION__.*__STDC__ != 1";
9096  *  perform the C function call test
9097  */
9098 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
9100 #define    STRICT_ANSI_NOT_TEST_CT  4
9101 static tTestDesc aStrict_Ansi_NotTests[] = {
9102   { TT_FUNCTION, zStrict_Ansi_NotFTst0,   0 /* unused */ },
9103   { TT_NEGREP,   zStrict_Ansi_NotBypass0, (regex_t*)NULL },
9104   { TT_NEGREP,   zStrict_Ansi_NotBypass1, (regex_t*)NULL },
9105   { TT_EGREP,    zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
9108  *  Fix Command Arguments for Strict_Ansi_Not
9109  */
9110 static const char* apzStrict_Ansi_NotPatch[] = {
9111     "format",
9112     "%1 !defined(__STRICT_ANSI__)",
9113     (char*)NULL };
9115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9117  *  Description of Strict_Ansi_Not_Ctd fix
9118  */
9119 tSCC zStrict_Ansi_Not_CtdName[] =
9120      "strict_ansi_not_ctd";
9123  *  File name selection pattern
9124  */
9125 tSCC zStrict_Ansi_Not_CtdList[] =
9126   "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
9128  *  Machine/OS name selection pattern
9129  */
9130 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
9133  *  content selection pattern - do fix if pattern found
9134  */
9135 tSCC zStrict_Ansi_Not_CtdSelect0[] =
9136        "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
9139  *  perform the C function call test
9140  */
9141 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
9143 #define    STRICT_ANSI_NOT_CTD_TEST_CT  2
9144 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
9145   { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0,   0 /* unused */ },
9146   { TT_EGREP,    zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
9149  *  Fix Command Arguments for Strict_Ansi_Not_Ctd
9150  */
9151 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
9152     "format",
9153     "%1 !defined(__STRICT_ANSI__)",
9154     (char*)NULL };
9156 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9158  *  Description of Strict_Ansi_Only fix
9159  */
9160 tSCC zStrict_Ansi_OnlyName[] =
9161      "strict_ansi_only";
9164  *  File name selection pattern
9165  */
9166 #define zStrict_Ansi_OnlyList (char*)NULL
9168  *  Machine/OS name selection pattern
9169  */
9170 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
9173  *  content selection pattern - do fix if pattern found
9174  */
9175 tSCC zStrict_Ansi_OnlySelect0[] =
9176        "^([ \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)";
9179  *  perform the C function call test
9180  */
9181 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
9183 #define    STRICT_ANSI_ONLY_TEST_CT  2
9184 static tTestDesc aStrict_Ansi_OnlyTests[] = {
9185   { TT_FUNCTION, zStrict_Ansi_OnlyFTst0,   0 /* unused */ },
9186   { TT_EGREP,    zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
9189  *  Fix Command Arguments for Strict_Ansi_Only
9190  */
9191 static const char* apzStrict_Ansi_OnlyPatch[] = {
9192     "format",
9193     "%1 defined(__STRICT_ANSI__)",
9194     (char*)NULL };
9196 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9198  *  Description of Struct_File fix
9199  */
9200 tSCC zStruct_FileName[] =
9201      "struct_file";
9204  *  File name selection pattern
9205  */
9206 tSCC zStruct_FileList[] =
9207   "rpc/xdr.h\0";
9209  *  Machine/OS name selection pattern
9210  */
9211 #define apzStruct_FileMachs (const char**)NULL
9214  *  content selection pattern - do fix if pattern found
9215  */
9216 tSCC zStruct_FileSelect0[] =
9217        "^.*xdrstdio_create.*struct __file_s";
9219 #define    STRUCT_FILE_TEST_CT  1
9220 static tTestDesc aStruct_FileTests[] = {
9221   { TT_EGREP,    zStruct_FileSelect0, (regex_t*)NULL }, };
9224  *  Fix Command Arguments for Struct_File
9225  */
9226 static const char* apzStruct_FilePatch[] = {
9227     "format",
9228     "struct __file_s;\n\
9229 %0",
9230     (char*)NULL };
9232 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9234  *  Description of Struct_Sockaddr fix
9235  */
9236 tSCC zStruct_SockaddrName[] =
9237      "struct_sockaddr";
9240  *  File name selection pattern
9241  */
9242 tSCC zStruct_SockaddrList[] =
9243   "rpc/auth.h\0";
9245  *  Machine/OS name selection pattern
9246  */
9247 #define apzStruct_SockaddrMachs (const char**)NULL
9250  *  content selection pattern - do fix if pattern found
9251  */
9252 tSCC zStruct_SockaddrSelect0[] =
9253        "^.*authdes_create.*struct sockaddr[^_]";
9256  *  content bypass pattern - skip fix if pattern found
9257  */
9258 tSCC zStruct_SockaddrBypass0[] =
9259        "<sys/socket.h>";
9260 tSCC zStruct_SockaddrBypass1[] =
9261        "struct sockaddr;\n";
9263 #define    STRUCT_SOCKADDR_TEST_CT  3
9264 static tTestDesc aStruct_SockaddrTests[] = {
9265   { TT_NEGREP,   zStruct_SockaddrBypass0, (regex_t*)NULL },
9266   { TT_NEGREP,   zStruct_SockaddrBypass1, (regex_t*)NULL },
9267   { TT_EGREP,    zStruct_SockaddrSelect0, (regex_t*)NULL }, };
9270  *  Fix Command Arguments for Struct_Sockaddr
9271  */
9272 static const char* apzStruct_SockaddrPatch[] = {
9273     "format",
9274     "struct sockaddr;\n\
9275 %0",
9276     (char*)NULL };
9278 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9280  *  Description of Sun_Auth_Proto fix
9281  */
9282 tSCC zSun_Auth_ProtoName[] =
9283      "sun_auth_proto";
9286  *  File name selection pattern
9287  */
9288 tSCC zSun_Auth_ProtoList[] =
9289   "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
9291  *  Machine/OS name selection pattern
9292  */
9293 #define apzSun_Auth_ProtoMachs (const char**)NULL
9296  *  content selection pattern - do fix if pattern found
9297  */
9298 tSCC zSun_Auth_ProtoSelect0[] =
9299        "\\(\\*[a-z][a-z_]*\\)\\(\\)";
9302  *  content bypass pattern - skip fix if pattern found
9303  */
9304 tSCC zSun_Auth_ProtoBypass0[] =
9305        "__cplusplus";
9307 #define    SUN_AUTH_PROTO_TEST_CT  2
9308 static tTestDesc aSun_Auth_ProtoTests[] = {
9309   { TT_NEGREP,   zSun_Auth_ProtoBypass0, (regex_t*)NULL },
9310   { TT_EGREP,    zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
9313  *  Fix Command Arguments for Sun_Auth_Proto
9314  */
9315 static const char* apzSun_Auth_ProtoPatch[] = {
9316     "format",
9317     "#ifdef __cplusplus\n\
9318 %1(...);%2\n\
9319 #else\n\
9320 %1();%2\n\
9321 #endif",
9322     "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
9323     (char*)NULL };
9325 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9327  *  Description of Sun_Bogus_Ifdef fix
9328  */
9329 tSCC zSun_Bogus_IfdefName[] =
9330      "sun_bogus_ifdef";
9333  *  File name selection pattern
9334  */
9335 tSCC zSun_Bogus_IfdefList[] =
9336   "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
9338  *  Machine/OS name selection pattern
9339  */
9340 #define apzSun_Bogus_IfdefMachs (const char**)NULL
9343  *  content selection pattern - do fix if pattern found
9344  */
9345 tSCC zSun_Bogus_IfdefSelect0[] =
9346        "#ifdef(.*\\|\\|.*)";
9348 #define    SUN_BOGUS_IFDEF_TEST_CT  1
9349 static tTestDesc aSun_Bogus_IfdefTests[] = {
9350   { TT_EGREP,    zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
9353  *  Fix Command Arguments for Sun_Bogus_Ifdef
9354  */
9355 static const char* apzSun_Bogus_IfdefPatch[] = {
9356     "format",
9357     "#if%1",
9358     (char*)NULL };
9360 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9362  *  Description of Sun_Catmacro fix
9363  */
9364 tSCC zSun_CatmacroName[] =
9365      "sun_catmacro";
9368  *  File name selection pattern
9369  */
9370 tSCC zSun_CatmacroList[] =
9371   "pixrect/memvar.h\0";
9373  *  Machine/OS name selection pattern
9374  */
9375 #define apzSun_CatmacroMachs (const char**)NULL
9378  *  content selection pattern - do fix if pattern found
9379  */
9380 tSCC zSun_CatmacroSelect0[] =
9381        "^#define[ \t]+CAT\\(a,b\\).*";
9383 #define    SUN_CATMACRO_TEST_CT  1
9384 static tTestDesc aSun_CatmacroTests[] = {
9385   { TT_EGREP,    zSun_CatmacroSelect0, (regex_t*)NULL }, };
9388  *  Fix Command Arguments for Sun_Catmacro
9389  */
9390 static const char* apzSun_CatmacroPatch[] = {
9391     "format",
9392     "#ifdef __STDC__\n\
9393 #  define CAT(a,b) a##b\n\
9394 #else\n\
9395 %0\n\
9396 #endif",
9397     (char*)NULL };
9399 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9401  *  Description of Sun_Malloc fix
9402  */
9403 tSCC zSun_MallocName[] =
9404      "sun_malloc";
9407  *  File name selection pattern
9408  */
9409 tSCC zSun_MallocList[] =
9410   "malloc.h\0";
9412  *  Machine/OS name selection pattern
9413  */
9414 #define apzSun_MallocMachs (const char**)NULL
9417  *  content bypass pattern - skip fix if pattern found
9418  */
9419 tSCC zSun_MallocBypass0[] =
9420        "_CLASSIC_ANSI_TYPES";
9422 #define    SUN_MALLOC_TEST_CT  1
9423 static tTestDesc aSun_MallocTests[] = {
9424   { TT_NEGREP,   zSun_MallocBypass0, (regex_t*)NULL }, };
9427  *  Fix Command Arguments for Sun_Malloc
9428  */
9429 static const char* apzSun_MallocPatch[] = { sed_cmd_z,
9430     "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
9431     "-e", "s/int[ \t][ \t]*free/void\tfree/g",
9432     "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
9433     "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
9434     "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
9435     (char*)NULL };
9437 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9439  *  Description of Sun_Rusers_Semi fix
9440  */
9441 tSCC zSun_Rusers_SemiName[] =
9442      "sun_rusers_semi";
9445  *  File name selection pattern
9446  */
9447 tSCC zSun_Rusers_SemiList[] =
9448   "rpcsvc/rusers.h\0";
9450  *  Machine/OS name selection pattern
9451  */
9452 #define apzSun_Rusers_SemiMachs (const char**)NULL
9455  *  content selection pattern - do fix if pattern found
9456  */
9457 tSCC zSun_Rusers_SemiSelect0[] =
9458        "_cnt$";
9460 #define    SUN_RUSERS_SEMI_TEST_CT  1
9461 static tTestDesc aSun_Rusers_SemiTests[] = {
9462   { TT_EGREP,    zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
9465  *  Fix Command Arguments for Sun_Rusers_Semi
9466  */
9467 static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
9468     "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
9469     (char*)NULL };
9471 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9473  *  Description of Sun_Signal fix
9474  */
9475 tSCC zSun_SignalName[] =
9476      "sun_signal";
9479  *  File name selection pattern
9480  */
9481 tSCC zSun_SignalList[] =
9482   "sys/signal.h\0signal.h\0";
9484  *  Machine/OS name selection pattern
9485  */
9486 #define apzSun_SignalMachs (const char**)NULL
9489  *  content selection pattern - do fix if pattern found
9490  */
9491 tSCC zSun_SignalSelect0[] =
9492        "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
9494 #define    SUN_SIGNAL_TEST_CT  1
9495 static tTestDesc aSun_SignalTests[] = {
9496   { TT_EGREP,    zSun_SignalSelect0, (regex_t*)NULL }, };
9499  *  Fix Command Arguments for Sun_Signal
9500  */
9501 static const char* apzSun_SignalPatch[] = {
9502     "format",
9503     "#ifdef __cplusplus\n\
9504 void\t(*signal(...))(...);\n\
9505 #else\n\
9506 %0\n\
9507 #endif",
9508     (char*)NULL };
9510 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9512  *  Description of Sunos_Strlen fix
9513  */
9514 tSCC zSunos_StrlenName[] =
9515      "sunos_strlen";
9518  *  File name selection pattern
9519  */
9520 tSCC zSunos_StrlenList[] =
9521   "strings.h\0";
9523  *  Machine/OS name selection pattern
9524  */
9525 #define apzSunos_StrlenMachs (const char**)NULL
9528  *  content selection pattern - do fix if pattern found
9529  */
9530 tSCC zSunos_StrlenSelect0[] =
9531        "int[ \t]*strlen\\(\\);(.*)";
9533 #define    SUNOS_STRLEN_TEST_CT  1
9534 static tTestDesc aSunos_StrlenTests[] = {
9535   { TT_EGREP,    zSunos_StrlenSelect0, (regex_t*)NULL }, };
9538  *  Fix Command Arguments for Sunos_Strlen
9539  */
9540 static const char* apzSunos_StrlenPatch[] = {
9541     "format",
9542     "__SIZE_TYPE__ strlen();%1",
9543     (char*)NULL };
9545 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9547  *  Description of Suse_Linux_Vt_Cxx fix
9548  */
9549 tSCC zSuse_Linux_Vt_CxxName[] =
9550      "suse_linux_vt_cxx";
9553  *  File name selection pattern
9554  */
9555 tSCC zSuse_Linux_Vt_CxxList[] =
9556   "linux/vt.h\0";
9558  *  Machine/OS name selection pattern
9559  */
9560 #define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
9563  *  content selection pattern - do fix if pattern found
9564  */
9565 tSCC zSuse_Linux_Vt_CxxSelect0[] =
9566        "^[ \t]*unsigned int new;";
9568 #define    SUSE_LINUX_VT_CXX_TEST_CT  1
9569 static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
9570   { TT_EGREP,    zSuse_Linux_Vt_CxxSelect0, (regex_t*)NULL }, };
9573  *  Fix Command Arguments for Suse_Linux_Vt_Cxx
9574  */
9575 static const char* apzSuse_Linux_Vt_CxxPatch[] = {
9576     "format",
9577     "unsigned int newev;",
9578     (char*)NULL };
9580 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9582  *  Description of Svr4_Disable_Opt fix
9583  */
9584 tSCC zSvr4_Disable_OptName[] =
9585      "svr4_disable_opt";
9588  *  File name selection pattern
9589  */
9590 tSCC zSvr4_Disable_OptList[] =
9591   "string.h\0";
9593  *  Machine/OS name selection pattern
9594  */
9595 #define apzSvr4_Disable_OptMachs (const char**)NULL
9598  *  content selection pattern - do fix if pattern found
9599  */
9600 tSCC zSvr4_Disable_OptSelect0[] =
9601        "#define.*__std_hdr_";
9603 #define    SVR4_DISABLE_OPT_TEST_CT  1
9604 static tTestDesc aSvr4_Disable_OptTests[] = {
9605   { TT_EGREP,    zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
9608  *  Fix Command Arguments for Svr4_Disable_Opt
9609  */
9610 static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
9611     "-e", "/#define.*__std_hdr_/d",
9612     (char*)NULL };
9614 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9616  *  Description of Svr4_Getcwd fix
9617  */
9618 tSCC zSvr4_GetcwdName[] =
9619      "svr4_getcwd";
9622  *  File name selection pattern
9623  */
9624 tSCC zSvr4_GetcwdList[] =
9625   "stdlib.h\0unistd.h\0prototypes.h\0";
9627  *  Machine/OS name selection pattern
9628  */
9629 #define apzSvr4_GetcwdMachs (const char**)NULL
9632  *  content selection pattern - do fix if pattern found
9633  */
9634 tSCC zSvr4_GetcwdSelect0[] =
9635        "getcwd\\(char \\*, int\\)";
9637 #define    SVR4_GETCWD_TEST_CT  1
9638 static tTestDesc aSvr4_GetcwdTests[] = {
9639   { TT_EGREP,    zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
9642  *  Fix Command Arguments for Svr4_Getcwd
9643  */
9644 static const char* apzSvr4_GetcwdPatch[] = {
9645     "format",
9646     "getcwd(char *, size_t)",
9647     (char*)NULL };
9649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9651  *  Description of Svr4_Profil fix
9652  */
9653 tSCC zSvr4_ProfilName[] =
9654      "svr4_profil";
9657  *  File name selection pattern
9658  */
9659 tSCC zSvr4_ProfilList[] =
9660   "stdlib.h\0unistd.h\0";
9662  *  Machine/OS name selection pattern
9663  */
9664 #define apzSvr4_ProfilMachs (const char**)NULL
9667  *  content selection pattern - do fix if pattern found
9668  */
9669 tSCC zSvr4_ProfilSelect0[] =
9670        "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
9672 #define    SVR4_PROFIL_TEST_CT  1
9673 static tTestDesc aSvr4_ProfilTests[] = {
9674   { TT_EGREP,    zSvr4_ProfilSelect0, (regex_t*)NULL }, };
9677  *  Fix Command Arguments for Svr4_Profil
9678  */
9679 static const char* apzSvr4_ProfilPatch[] = {
9680     "format",
9681     "profil(unsigned short *, size_t, int, unsigned int)",
9682     (char*)NULL };
9684 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9686  *  Description of Svr4_Sighandler_Type fix
9687  */
9688 tSCC zSvr4_Sighandler_TypeName[] =
9689      "svr4_sighandler_type";
9692  *  File name selection pattern
9693  */
9694 tSCC zSvr4_Sighandler_TypeList[] =
9695   "sys/signal.h\0";
9697  *  Machine/OS name selection pattern
9698  */
9699 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
9702  *  content selection pattern - do fix if pattern found
9703  */
9704 tSCC zSvr4_Sighandler_TypeSelect0[] =
9705        "void *\\(\\*\\)\\(\\)";
9707 #define    SVR4_SIGHANDLER_TYPE_TEST_CT  1
9708 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
9709   { TT_EGREP,    zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
9712  *  Fix Command Arguments for Svr4_Sighandler_Type
9713  */
9714 static const char* apzSvr4_Sighandler_TypePatch[] = {
9715     "format",
9716     "void (*)(int)",
9717     (char*)NULL };
9719 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9721  *  Description of Svr4_Undeclared_Getrnge fix
9722  */
9723 tSCC zSvr4_Undeclared_GetrngeName[] =
9724      "svr4_undeclared_getrnge";
9727  *  File name selection pattern
9728  */
9729 tSCC zSvr4_Undeclared_GetrngeList[] =
9730   "regexp.h\0";
9732  *  Machine/OS name selection pattern
9733  */
9734 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
9737  *  content selection pattern - do fix if pattern found
9738  */
9739 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
9740        "getrnge";
9743  *  content bypass pattern - skip fix if pattern found
9744  */
9745 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
9746        "static void getrnge";
9748 #define    SVR4_UNDECLARED_GETRNGE_TEST_CT  2
9749 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
9750   { TT_NEGREP,   zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
9751   { TT_EGREP,    zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
9754  *  Fix Command Arguments for Svr4_Undeclared_Getrnge
9755  */
9756 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
9757     "format",
9758     "%0\n\
9759 static int getrnge ();",
9760     "^static int[ \t]+size;",
9761     (char*)NULL };
9763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9765  *  Description of Sysv68_String fix
9766  */
9767 tSCC zSysv68_StringName[] =
9768      "sysv68_string";
9771  *  File name selection pattern
9772  */
9773 tSCC zSysv68_StringList[] =
9774   "testing.h\0string.h\0";
9776  *  Machine/OS name selection pattern
9777  */
9778 #define apzSysv68_StringMachs (const char**)NULL
9781  *  content bypass pattern - skip fix if pattern found
9782  */
9783 tSCC zSysv68_StringBypass0[] =
9784        "_CLASSIC_ANSI_TYPES";
9786 #define    SYSV68_STRING_TEST_CT  1
9787 static tTestDesc aSysv68_StringTests[] = {
9788   { TT_NEGREP,   zSysv68_StringBypass0, (regex_t*)NULL }, };
9791  *  Fix Command Arguments for Sysv68_String
9792  */
9793 static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
9794     "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
9795     "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
9796     "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
9797     "-e", "/^extern char$/N",
9798     "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
9799     "-e", "/^extern int$/N",
9800     "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
9801     "-e", "/^\tstrncmp(),$/N",
9802     "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
9803 extern unsigned int\\\n\
9804 \\2/",
9805     (char*)NULL };
9807 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9809  *  Description of Sysz_Stdlib_For_Sun fix
9810  */
9811 tSCC zSysz_Stdlib_For_SunName[] =
9812      "sysz_stdlib_for_sun";
9815  *  File name selection pattern
9816  */
9817 tSCC zSysz_Stdlib_For_SunList[] =
9818   "stdlib.h\0";
9820  *  Machine/OS name selection pattern
9821  */
9822 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
9825  *  content selection pattern - do fix if pattern found
9826  */
9827 tSCC zSysz_Stdlib_For_SunSelect0[] =
9828        "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
9831  *  content bypass pattern - skip fix if pattern found
9832  */
9833 tSCC zSysz_Stdlib_For_SunBypass0[] =
9834        "_CLASSIC_ANSI_TYPES";
9836 #define    SYSZ_STDLIB_FOR_SUN_TEST_CT  2
9837 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
9838   { TT_NEGREP,   zSysz_Stdlib_For_SunBypass0, (regex_t*)NULL },
9839   { TT_EGREP,    zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
9842  *  Fix Command Arguments for Sysz_Stdlib_For_Sun
9843  */
9844 static const char* apzSysz_Stdlib_For_SunPatch[] = {
9845     "format",
9846     "void *\t%1(",
9847     (char*)NULL };
9849 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9851  *  Description of Thread_Keyword fix
9852  */
9853 tSCC zThread_KeywordName[] =
9854      "thread_keyword";
9857  *  File name selection pattern
9858  */
9859 tSCC zThread_KeywordList[] =
9860   "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
9862  *  Machine/OS name selection pattern
9863  */
9864 #define apzThread_KeywordMachs (const char**)NULL
9867  *  content selection pattern - do fix if pattern found
9868  */
9869 tSCC zThread_KeywordSelect0[] =
9870        "([* ])__thread([,)])";
9872 #define    THREAD_KEYWORD_TEST_CT  1
9873 static tTestDesc aThread_KeywordTests[] = {
9874   { TT_EGREP,    zThread_KeywordSelect0, (regex_t*)NULL }, };
9877  *  Fix Command Arguments for Thread_Keyword
9878  */
9879 static const char* apzThread_KeywordPatch[] = {
9880     "format",
9881     "%1__thr%2",
9882     (char*)NULL };
9884 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9886  *  Description of Tinfo_Cplusplus fix
9887  */
9888 tSCC zTinfo_CplusplusName[] =
9889      "tinfo_cplusplus";
9892  *  File name selection pattern
9893  */
9894 tSCC zTinfo_CplusplusList[] =
9895   "tinfo.h\0";
9897  *  Machine/OS name selection pattern
9898  */
9899 #define apzTinfo_CplusplusMachs (const char**)NULL
9902  *  content selection pattern - do fix if pattern found
9903  */
9904 tSCC zTinfo_CplusplusSelect0[] =
9905        "[ \t]_cplusplus";
9907 #define    TINFO_CPLUSPLUS_TEST_CT  1
9908 static tTestDesc aTinfo_CplusplusTests[] = {
9909   { TT_EGREP,    zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
9912  *  Fix Command Arguments for Tinfo_Cplusplus
9913  */
9914 static const char* apzTinfo_CplusplusPatch[] = {
9915     "format",
9916     " __cplusplus",
9917     (char*)NULL };
9919 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9921  *  Description of Ultrix_Const fix
9922  */
9923 tSCC zUltrix_ConstName[] =
9924      "ultrix_const";
9927  *  File name selection pattern
9928  */
9929 tSCC zUltrix_ConstList[] =
9930   "stdio.h\0";
9932  *  Machine/OS name selection pattern
9933  */
9934 #define apzUltrix_ConstMachs (const char**)NULL
9937  *  content selection pattern - do fix if pattern found
9938  */
9939 tSCC zUltrix_ConstSelect0[] =
9940        "perror\\( char \\*";
9942 #define    ULTRIX_CONST_TEST_CT  1
9943 static tTestDesc aUltrix_ConstTests[] = {
9944   { TT_EGREP,    zUltrix_ConstSelect0, (regex_t*)NULL }, };
9947  *  Fix Command Arguments for Ultrix_Const
9948  */
9949 static const char* apzUltrix_ConstPatch[] = {
9950     "format",
9951     "%1 const %3 *__",
9952     "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9953     (char*)NULL };
9955 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9957  *  Description of Ultrix_Const2 fix
9958  */
9959 tSCC zUltrix_Const2Name[] =
9960      "ultrix_const2";
9963  *  File name selection pattern
9964  */
9965 tSCC zUltrix_Const2List[] =
9966   "stdio.h\0";
9968  *  Machine/OS name selection pattern
9969  */
9970 #define apzUltrix_Const2Machs (const char**)NULL
9973  *  content selection pattern - do fix if pattern found
9974  */
9975 tSCC zUltrix_Const2Select0[] =
9976        "\\*fopen\\( char \\*";
9978 #define    ULTRIX_CONST2_TEST_CT  1
9979 static tTestDesc aUltrix_Const2Tests[] = {
9980   { TT_EGREP,    zUltrix_Const2Select0, (regex_t*)NULL }, };
9983  *  Fix Command Arguments for Ultrix_Const2
9984  */
9985 static const char* apzUltrix_Const2Patch[] = {
9986     "format",
9987     "%1( const char *%3, const char *",
9988     "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9989     (char*)NULL };
9991 /* * * * * * * * * * * * * * * * * * * * * * * * * *
9993  *  Description of Va_I960_Macro fix
9994  */
9995 tSCC zVa_I960_MacroName[] =
9996      "va_i960_macro";
9999  *  File name selection pattern
10000  */
10001 tSCC zVa_I960_MacroList[] =
10002   "arch/i960/archI960.h\0";
10004  *  Machine/OS name selection pattern
10005  */
10006 #define apzVa_I960_MacroMachs (const char**)NULL
10009  *  content selection pattern - do fix if pattern found
10010  */
10011 tSCC zVa_I960_MacroSelect0[] =
10012        "__(vsiz|vali|vpad|alignof__)";
10014 #define    VA_I960_MACRO_TEST_CT  1
10015 static tTestDesc aVa_I960_MacroTests[] = {
10016   { TT_EGREP,    zVa_I960_MacroSelect0, (regex_t*)NULL }, };
10019  *  Fix Command Arguments for Va_I960_Macro
10020  */
10021 static const char* apzVa_I960_MacroPatch[] = {
10022     "format",
10023     "__vx%1",
10024     (char*)NULL };
10026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10028  *  Description of Vms_Add_Missing_Braces fix
10029  */
10030 tSCC zVms_Add_Missing_BracesName[] =
10031      "vms_add_missing_braces";
10034  *  File name selection pattern
10035  */
10036 tSCC zVms_Add_Missing_BracesList[] =
10037   "rtldef/signal.h\0";
10039  *  Machine/OS name selection pattern
10040  */
10041 tSCC* apzVms_Add_Missing_BracesMachs[] = {
10042         "*-*-*vms*",
10043         (const char*)NULL };
10046  *  content selection pattern - do fix if pattern found
10047  */
10048 tSCC zVms_Add_Missing_BracesSelect0[] =
10049        "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
10051 #define    VMS_ADD_MISSING_BRACES_TEST_CT  1
10052 static tTestDesc aVms_Add_Missing_BracesTests[] = {
10053   { TT_EGREP,    zVms_Add_Missing_BracesSelect0, (regex_t*)NULL }, };
10056  *  Fix Command Arguments for Vms_Add_Missing_Braces
10057  */
10058 static const char* apzVms_Add_Missing_BracesPatch[] = {
10059     "format",
10060     "%1 {%2} ",
10061     (char*)NULL };
10063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10065  *  Description of Vms_Decc_Builtin fix
10066  */
10067 tSCC zVms_Decc_BuiltinName[] =
10068      "vms_decc_builtin";
10071  *  File name selection pattern
10072  */
10073 tSCC zVms_Decc_BuiltinList[] =
10074   "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
10076  *  Machine/OS name selection pattern
10077  */
10078 tSCC* apzVms_Decc_BuiltinMachs[] = {
10079         "*-*-*vms*",
10080         (const char*)NULL };
10083  *  content selection pattern - do fix if pattern found
10084  */
10085 tSCC zVms_Decc_BuiltinSelect0[] =
10086        "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
10088 #define    VMS_DECC_BUILTIN_TEST_CT  1
10089 static tTestDesc aVms_Decc_BuiltinTests[] = {
10090   { TT_EGREP,    zVms_Decc_BuiltinSelect0, (regex_t*)NULL }, };
10093  *  Fix Command Arguments for Vms_Decc_Builtin
10094  */
10095 static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
10096     "-e", "s@__MEMSET@memset@",
10097     "-e", "s@__MEMMOVE@memmove@",
10098     "-e", "s@__MEMCPY@memcpy@",
10099     "-e", "s@__STRLEN@strlen@",
10100     "-e", "s@__STRCPY@strcpy@",
10101     (char*)NULL };
10103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10105  *  Description of Vms_Define_Can_Use_Extern_Prefix fix
10106  */
10107 tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
10108      "vms_define_can_use_extern_prefix";
10111  *  File name selection pattern
10112  */
10113 tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
10114   "rtldef/decc$types.h\0";
10116  *  Machine/OS name selection pattern
10117  */
10118 tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
10119         "*-*-*vms*",
10120         (const char*)NULL };
10123  *  content selection pattern - do fix if pattern found
10124  */
10125 tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
10126        "#[ \t]*else\n\
10127 #[ \t]*if defined\\(__DECCXX\\)\n\
10128 #[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
10130 #define    VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT  1
10131 static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
10132   { TT_EGREP,    zVms_Define_Can_Use_Extern_PrefixSelect0, (regex_t*)NULL }, };
10135  *  Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
10136  */
10137 static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
10138     "format",
10139     "%0#    elif defined (__GNUC__)\n\
10140 #\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
10141     (char*)NULL };
10143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10145  *  Description of Vms_Disable_Decc_String_Builtins fix
10146  */
10147 tSCC zVms_Disable_Decc_String_BuiltinsName[] =
10148      "vms_disable_decc_string_builtins";
10151  *  File name selection pattern
10152  */
10153 tSCC zVms_Disable_Decc_String_BuiltinsList[] =
10154   "rtldef/string.h\0";
10156  *  Machine/OS name selection pattern
10157  */
10158 tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
10159         "*-*-*vms*",
10160         (const char*)NULL };
10163  *  content selection pattern - do fix if pattern found
10164  */
10165 tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
10166        "#if !defined\\(__VAX\\)\n";
10168 #define    VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT  1
10169 static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
10170   { TT_EGREP,    zVms_Disable_Decc_String_BuiltinsSelect0, (regex_t*)NULL }, };
10173  *  Fix Command Arguments for Vms_Disable_Decc_String_Builtins
10174  */
10175 static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
10176     "format",
10177     "#if !defined(__VAX) && !defined(__GNUC__)\n",
10178     (char*)NULL };
10180 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10182  *  Description of Vms_Do_Not_Redeclare_Hostalias fix
10183  */
10184 tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
10185      "vms_do_not_redeclare_hostalias";
10188  *  File name selection pattern
10189  */
10190 tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
10191   "rtldef/resolv.h\0";
10193  *  Machine/OS name selection pattern
10194  */
10195 tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
10196         "*-*-*vms*",
10197         (const char*)NULL };
10200  *  content selection pattern - do fix if pattern found
10201  */
10202 tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
10203        "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
10204 (__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
10206 #define    VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT  1
10207 static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
10208   { TT_EGREP,    zVms_Do_Not_Redeclare_HostaliasSelect0, (regex_t*)NULL }, };
10211  *  Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
10212  */
10213 static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
10214     "format",
10215     "%1\n\
10216 /* %2 */",
10217     (char*)NULL };
10219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10221  *  Description of Vms_Forward_Declare_Struct fix
10222  */
10223 tSCC zVms_Forward_Declare_StructName[] =
10224      "vms_forward_declare_struct";
10227  *  File name selection pattern
10228  */
10229 tSCC zVms_Forward_Declare_StructList[] =
10230   "rtldef/if.h\0";
10232  *  Machine/OS name selection pattern
10233  */
10234 tSCC* apzVms_Forward_Declare_StructMachs[] = {
10235         "*-*-*vms*",
10236         (const char*)NULL };
10239  *  content selection pattern - do fix if pattern found
10240  */
10241 tSCC zVms_Forward_Declare_StructSelect0[] =
10242        "(/\\* forward decls for C\\+\\+ \\*/\n\
10243 )#ifdef __cplusplus\n";
10245 #define    VMS_FORWARD_DECLARE_STRUCT_TEST_CT  1
10246 static tTestDesc aVms_Forward_Declare_StructTests[] = {
10247   { TT_EGREP,    zVms_Forward_Declare_StructSelect0, (regex_t*)NULL }, };
10250  *  Fix Command Arguments for Vms_Forward_Declare_Struct
10251  */
10252 static const char* apzVms_Forward_Declare_StructPatch[] = {
10253     "format",
10254     "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
10255     (char*)NULL };
10257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10259  *  Description of Vms_No_64bit_Getopt fix
10260  */
10261 tSCC zVms_No_64bit_GetoptName[] =
10262      "vms_no_64bit_getopt";
10265  *  File name selection pattern
10266  */
10267 tSCC zVms_No_64bit_GetoptList[] =
10268   "rtldef/stdio.h\0rtldef/unistd.h\0";
10270  *  Machine/OS name selection pattern
10271  */
10272 tSCC* apzVms_No_64bit_GetoptMachs[] = {
10273         "*-*-*vms*",
10274         (const char*)NULL };
10277  *  content selection pattern - do fix if pattern found
10278  */
10279 tSCC zVms_No_64bit_GetoptSelect0[] =
10280        "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
10282 #define    VMS_NO_64BIT_GETOPT_TEST_CT  1
10283 static tTestDesc aVms_No_64bit_GetoptTests[] = {
10284   { TT_EGREP,    zVms_No_64bit_GetoptSelect0, (regex_t*)NULL }, };
10287  *  Fix Command Arguments for Vms_No_64bit_Getopt
10288  */
10289 static const char* apzVms_No_64bit_GetoptPatch[] = {
10290     "format",
10291     "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only.  */\n\
10292 %0#endif\n",
10293     (char*)NULL };
10295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10297  *  Description of Vms_Use_Fast_Setjmp fix
10298  */
10299 tSCC zVms_Use_Fast_SetjmpName[] =
10300      "vms_use_fast_setjmp";
10303  *  File name selection pattern
10304  */
10305 tSCC zVms_Use_Fast_SetjmpList[] =
10306   "rtldef/setjmp.h\0";
10308  *  Machine/OS name selection pattern
10309  */
10310 tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
10311         "*-*-*vms*",
10312         (const char*)NULL };
10315  *  content selection pattern - do fix if pattern found
10316  */
10317 tSCC zVms_Use_Fast_SetjmpSelect0[] =
10318        "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
10320 #define    VMS_USE_FAST_SETJMP_TEST_CT  1
10321 static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
10322   { TT_EGREP,    zVms_Use_Fast_SetjmpSelect0, (regex_t*)NULL }, };
10325  *  Fix Command Arguments for Vms_Use_Fast_Setjmp
10326  */
10327 static const char* apzVms_Use_Fast_SetjmpPatch[] = {
10328     "format",
10329     "%0 defined (__GNUC__) ||",
10330     (char*)NULL };
10332 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10334  *  Description of Vms_Use_Pragma_Extern_Model fix
10335  */
10336 tSCC zVms_Use_Pragma_Extern_ModelName[] =
10337      "vms_use_pragma_extern_model";
10340  *  File name selection pattern
10341  */
10342 #define zVms_Use_Pragma_Extern_ModelList (char*)NULL
10344  *  Machine/OS name selection pattern
10345  */
10346 tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
10347         "*-*-*vms*",
10348         (const char*)NULL };
10351  *  content selection pattern - do fix if pattern found
10352  */
10353 tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
10354        "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
10355 # pragma extern_model __save\n";
10357 #define    VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT  1
10358 static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
10359   { TT_EGREP,    zVms_Use_Pragma_Extern_ModelSelect0, (regex_t*)NULL }, };
10362  *  Fix Command Arguments for Vms_Use_Pragma_Extern_Model
10363  */
10364 static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
10365     "format",
10366     "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
10367 # pragma extern_model __save\n",
10368     (char*)NULL };
10370 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10372  *  Description of Vms_Use_Quoted_Include fix
10373  */
10374 tSCC zVms_Use_Quoted_IncludeName[] =
10375      "vms_use_quoted_include";
10378  *  File name selection pattern
10379  */
10380 tSCC zVms_Use_Quoted_IncludeList[] =
10381   "rtldef/wait.h\0starlet_c/pthread.h\0";
10383  *  Machine/OS name selection pattern
10384  */
10385 tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
10386         "*-*-*vms*",
10387         (const char*)NULL };
10390  *  content selection pattern - do fix if pattern found
10391  */
10392 tSCC zVms_Use_Quoted_IncludeSelect0[] =
10393        "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
10395 #define    VMS_USE_QUOTED_INCLUDE_TEST_CT  1
10396 static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
10397   { TT_EGREP,    zVms_Use_Quoted_IncludeSelect0, (regex_t*)NULL }, };
10400  *  Fix Command Arguments for Vms_Use_Quoted_Include
10401  */
10402 static const char* apzVms_Use_Quoted_IncludePatch[] = {
10403     "format",
10404     "%1<sys/%2.h>",
10405     (char*)NULL };
10407 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10409  *  Description of Void_Null fix
10410  */
10411 tSCC zVoid_NullName[] =
10412      "void_null";
10415  *  File name selection pattern
10416  */
10417 tSCC zVoid_NullList[] =
10418   "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";
10420  *  Machine/OS name selection pattern
10421  */
10422 #define apzVoid_NullMachs (const char**)NULL
10425  *  content selection pattern - do fix if pattern found
10426  */
10427 tSCC zVoid_NullSelect0[] =
10428        "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
10431  *  content bypass pattern - skip fix if pattern found
10432  */
10433 tSCC zVoid_NullBypass0[] =
10434        "__cplusplus";
10435 tSCC zVoid_NullBypass1[] =
10436        "__null";
10438 #define    VOID_NULL_TEST_CT  3
10439 static tTestDesc aVoid_NullTests[] = {
10440   { TT_NEGREP,   zVoid_NullBypass0, (regex_t*)NULL },
10441   { TT_NEGREP,   zVoid_NullBypass1, (regex_t*)NULL },
10442   { TT_EGREP,    zVoid_NullSelect0, (regex_t*)NULL }, };
10445  *  Fix Command Arguments for Void_Null
10446  */
10447 static const char* apzVoid_NullPatch[] = {
10448     "format",
10449     "#ifndef NULL\n\
10450 #ifdef __cplusplus\n\
10451 #ifdef __GNUG__\n\
10452 #define NULL __null\n\
10453 #else /* ! __GNUG__  */\n\
10454 #define NULL 0L\n\
10455 #endif /* __GNUG__  */\n\
10456 #else /* ! __cplusplus  */\n\
10457 #define NULL ((void *)0)\n\
10458 #endif /* __cplusplus  */\n\
10459 #endif /* !NULL  */",
10460     (char*)NULL };
10462 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10464  *  Description of Vxworks_Gcc_Problem fix
10465  */
10466 tSCC zVxworks_Gcc_ProblemName[] =
10467      "vxworks_gcc_problem";
10470  *  File name selection pattern
10471  */
10472 tSCC zVxworks_Gcc_ProblemList[] =
10473   "types/vxTypesBase.h\0";
10475  *  Machine/OS name selection pattern
10476  */
10477 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
10480  *  content selection pattern - do fix if pattern found
10481  */
10482 tSCC zVxworks_Gcc_ProblemSelect0[] =
10483        "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
10485 #define    VXWORKS_GCC_PROBLEM_TEST_CT  1
10486 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
10487   { TT_EGREP,    zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
10490  *  Fix Command Arguments for Vxworks_Gcc_Problem
10491  */
10492 static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
10493     "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
10494     "-e", "/[ \t]size_t/i\\\n\
10495 #ifndef _GCC_SIZE_T\\\n\
10496 #define _GCC_SIZE_T\n",
10497     "-e", "/[ \t]size_t/a\\\n\
10498 #endif\n",
10499     "-e", "/[ \t]ptrdiff_t/i\\\n\
10500 #ifndef _GCC_PTRDIFF_T\\\n\
10501 #define _GCC_PTRDIFF_T\n",
10502     "-e", "/[ \t]ptrdiff_t/a\\\n\
10503 #endif\n",
10504     "-e", "/[ \t]wchar_t/i\\\n\
10505 #ifndef _GCC_WCHAR_T\\\n\
10506 #define _GCC_WCHAR_T\n",
10507     "-e", "/[ \t]wchar_t/a\\\n\
10508 #endif\n",
10509     (char*)NULL };
10511 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10513  *  Description of Vxworks_Ioctl_Macro fix
10514  */
10515 tSCC zVxworks_Ioctl_MacroName[] =
10516      "vxworks_ioctl_macro";
10519  *  File name selection pattern
10520  */
10521 tSCC zVxworks_Ioctl_MacroList[] =
10522   "ioLib.h\0";
10524  *  Machine/OS name selection pattern
10525  */
10526 tSCC* apzVxworks_Ioctl_MacroMachs[] = {
10527         "*-*-vxworks*",
10528         (const char*)NULL };
10529 #define VXWORKS_IOCTL_MACRO_TEST_CT  0
10530 #define aVxworks_Ioctl_MacroTests   (tTestDesc*)NULL
10533  *  Fix Command Arguments for Vxworks_Ioctl_Macro
10534  */
10535 static const char* apzVxworks_Ioctl_MacroPatch[] = {
10536     "format",
10537     "%0\n\
10538 #define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
10539     "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
10540     (char*)NULL };
10542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10544  *  Description of Vxworks_Math_H_Fp_C99 fix
10545  */
10546 tSCC zVxworks_Math_H_Fp_C99Name[] =
10547      "vxworks_math_h_fp_c99";
10550  *  File name selection pattern
10551  */
10552 tSCC zVxworks_Math_H_Fp_C99List[] =
10553   "math.h\0";
10555  *  Machine/OS name selection pattern
10556  */
10557 tSCC* apzVxworks_Math_H_Fp_C99Machs[] = {
10558         "*-*-vxworks*",
10559         (const char*)NULL };
10562  *  content selection pattern - do fix if pattern found
10563  */
10564 tSCC zVxworks_Math_H_Fp_C99Select0[] =
10565        "#define HUGE_VAL[ \t]*_ARCH.*";
10568  *  content bypass pattern - skip fix if pattern found
10569  */
10570 tSCC zVxworks_Math_H_Fp_C99Bypass0[] =
10571        "#define[ \t]+FP_INFINITE";
10573 #define    VXWORKS_MATH_H_FP_C99_TEST_CT  2
10574 static tTestDesc aVxworks_Math_H_Fp_C99Tests[] = {
10575   { TT_NEGREP,   zVxworks_Math_H_Fp_C99Bypass0, (regex_t*)NULL },
10576   { TT_EGREP,    zVxworks_Math_H_Fp_C99Select0, (regex_t*)NULL }, };
10579  *  Fix Command Arguments for Vxworks_Math_H_Fp_C99
10580  */
10581 static const char* apzVxworks_Math_H_Fp_C99Patch[] = {
10582     "format",
10583     "\n\
10584 %0\n\n\
10585 #if _C99\n\n\
10586 #define FP_INFINITE  1\n\
10587 #define FP_NAN       2\n\
10588 #define FP_NORMAL    (-1)\n\
10589 #define FP_SUBNORMAL (-2)\n\
10590 #define FP_ZERO      0\n\n\
10591 #define fpclassify(x) \\\n\
10592   __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, \\\n\
10593 \t\t       FP_SUBNORMAL, FP_ZERO, (x))\n\n\
10594 #define signbit(x) __builtin_signbit(x)\n\
10595 #define isfinite(x) __builtin_isfinite(x)\n\
10596 #define isnormal(x) __builtin_isnormal(x)\n\
10597 #define isnan(x) __builtin_isnan(x)\n\
10598 #define isinf(x) __builtin_isinf(x)\n\n\
10599 #define isgreater(x, y) __builtin_isgreater((x),(y))\n\
10600 #define isgreaterequal(x, y) __builtin_isgreaterequal((x),(y))\n\
10601 #define isless(x, y) __builtin_isless((x),(y))\n\
10602 #define islessequal(x, y) __builtin_islessequal((x),(y))\n\
10603 #define islessgreater(x, y) __builtin_islessgreater((x),(y))\n\
10604 #define isunordered(x, y) __builtin_isunordered((x),(y))\n\n\
10605 #endif /* _C99 */\n",
10606     (char*)NULL };
10608 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10610  *  Description of Vxworks_Posix_Mkdir fix
10611  */
10612 tSCC zVxworks_Posix_MkdirName[] =
10613      "vxworks_posix_mkdir";
10616  *  File name selection pattern
10617  */
10618 tSCC zVxworks_Posix_MkdirList[] =
10619   "sys/stat.h\0";
10621  *  Machine/OS name selection pattern
10622  */
10623 tSCC* apzVxworks_Posix_MkdirMachs[] = {
10624         "*-*-vxworks*",
10625         (const char*)NULL };
10626 #define VXWORKS_POSIX_MKDIR_TEST_CT  0
10627 #define aVxworks_Posix_MkdirTests   (tTestDesc*)NULL
10630  *  Fix Command Arguments for Vxworks_Posix_Mkdir
10631  */
10632 static const char* apzVxworks_Posix_MkdirPatch[] = {
10633     "format",
10634     "extern STATUS mkdir(const char *dir, ...);",
10635     "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
10636     (char*)NULL };
10638 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10640  *  Description of Vxworks_Needs_Vxtypes fix
10641  */
10642 tSCC zVxworks_Needs_VxtypesName[] =
10643      "vxworks_needs_vxtypes";
10646  *  File name selection pattern
10647  */
10648 tSCC zVxworks_Needs_VxtypesList[] =
10649   "time.h\0";
10651  *  Machine/OS name selection pattern
10652  */
10653 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
10656  *  content selection pattern - do fix if pattern found
10657  */
10658 tSCC zVxworks_Needs_VxtypesSelect0[] =
10659        "uint_t([ \t]+_clocks_per_sec)";
10661 #define    VXWORKS_NEEDS_VXTYPES_TEST_CT  1
10662 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
10663   { TT_EGREP,    zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
10666  *  Fix Command Arguments for Vxworks_Needs_Vxtypes
10667  */
10668 static const char* apzVxworks_Needs_VxtypesPatch[] = {
10669     "format",
10670     "unsigned int%1",
10671     (char*)NULL };
10673 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10675  *  Description of Vxworks_Needs_Vxworks fix
10676  */
10677 tSCC zVxworks_Needs_VxworksName[] =
10678      "vxworks_needs_vxworks";
10681  *  File name selection pattern
10682  */
10683 tSCC zVxworks_Needs_VxworksList[] =
10684   "sys/stat.h\0";
10686  *  Machine/OS name selection pattern
10687  */
10688 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
10691  *  content selection pattern - do fix if pattern found
10692  */
10693 tSCC zVxworks_Needs_VxworksSelect0[] =
10694        "#[ \t]define[ \t]+__INCstath";
10697  *  perform the 'test' shell command - do fix on success
10698  */
10699 tSCC zVxworks_Needs_VxworksTest0[] =
10700        " -r types/vxTypesOld.h";
10701 tSCC zVxworks_Needs_VxworksTest1[] =
10702        " -n \"`egrep '#include' $file`\"";
10703 tSCC zVxworks_Needs_VxworksTest2[] =
10704        " -n \"`egrep ULONG $file`\"";
10706 #define    VXWORKS_NEEDS_VXWORKS_TEST_CT  4
10707 static tTestDesc aVxworks_Needs_VxworksTests[] = {
10708   { TT_TEST,     zVxworks_Needs_VxworksTest0,   0 /* unused */ },
10709   { TT_TEST,     zVxworks_Needs_VxworksTest1,   0 /* unused */ },
10710   { TT_TEST,     zVxworks_Needs_VxworksTest2,   0 /* unused */ },
10711   { TT_EGREP,    zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
10714  *  Fix Command Arguments for Vxworks_Needs_Vxworks
10715  */
10716 static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
10717     "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
10718 #include <types/vxTypesOld.h>\n",
10719     (char*)NULL };
10721 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10723  *  Description of Vxworks_Next_Yvals fix
10724  */
10725 tSCC zVxworks_Next_YvalsName[] =
10726      "vxworks_next_yvals";
10729  *  File name selection pattern
10730  */
10731 tSCC zVxworks_Next_YvalsList[] =
10732   "yvals.h\0";
10734  *  Machine/OS name selection pattern
10735  */
10736 tSCC* apzVxworks_Next_YvalsMachs[] = {
10737         "*-*-vxworks*",
10738         (const char*)NULL };
10741  *  content selection pattern - do fix if pattern found
10742  */
10743 tSCC zVxworks_Next_YvalsSelect0[] =
10744        "#include_next <yvals.h>";
10746 #define    VXWORKS_NEXT_YVALS_TEST_CT  1
10747 static tTestDesc aVxworks_Next_YvalsTests[] = {
10748   { TT_EGREP,    zVxworks_Next_YvalsSelect0, (regex_t*)NULL }, };
10751  *  Fix Command Arguments for Vxworks_Next_Yvals
10752  */
10753 static const char* apzVxworks_Next_YvalsPatch[] = {
10754     "format",
10755     "#if 0 /* GCC does not provide yvals.h.  */\n\
10756 %1",
10757     "#if .*\n\
10758 /\\* .*\n\
10759 (#include_next <yvals.h>\n\
10761     (char*)NULL };
10763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10765  *  Description of Vxworks_Regs fix
10766  */
10767 tSCC zVxworks_RegsName[] =
10768      "vxworks_regs";
10771  *  File name selection pattern
10772  */
10773 #define zVxworks_RegsList (char*)NULL
10775  *  Machine/OS name selection pattern
10776  */
10777 tSCC* apzVxworks_RegsMachs[] = {
10778         "*-*-vxworks*",
10779         (const char*)NULL };
10782  *  content selection pattern - do fix if pattern found
10783  */
10784 tSCC zVxworks_RegsSelect0[] =
10785        "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
10787 #define    VXWORKS_REGS_TEST_CT  1
10788 static tTestDesc aVxworks_RegsTests[] = {
10789   { TT_EGREP,    zVxworks_RegsSelect0, (regex_t*)NULL }, };
10792  *  Fix Command Arguments for Vxworks_Regs
10793  */
10794 static const char* apzVxworks_RegsPatch[] = {
10795     "format",
10796     "#include <arch/../regs.h>",
10797     (char*)NULL };
10799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10801  *  Description of Vxworks_Posix_Open fix
10802  */
10803 tSCC zVxworks_Posix_OpenName[] =
10804      "vxworks_posix_open";
10807  *  File name selection pattern
10808  */
10809 tSCC zVxworks_Posix_OpenList[] =
10810   "fcntl.h\0";
10812  *  Machine/OS name selection pattern
10813  */
10814 tSCC* apzVxworks_Posix_OpenMachs[] = {
10815         "*-*-vxworks*",
10816         (const char*)NULL };
10819  *  content selection pattern - do fix if pattern found
10820  */
10821 tSCC zVxworks_Posix_OpenSelect0[] =
10822        "extern int.*open \\(const char \\*[ a-z]*, int[ a-z]*, int[ a-z]*\\);";
10824 #define    VXWORKS_POSIX_OPEN_TEST_CT  1
10825 static tTestDesc aVxworks_Posix_OpenTests[] = {
10826   { TT_EGREP,    zVxworks_Posix_OpenSelect0, (regex_t*)NULL }, };
10829  *  Fix Command Arguments for Vxworks_Posix_Open
10830  */
10831 static const char* apzVxworks_Posix_OpenPatch[] = {
10832     "format",
10833     "%0\n\n\
10834 #if defined(__cplusplus)\n\
10835 extern \"C++\" {\n\
10836   inline int open (const char *, int) __attribute__((__always_inline__));\n\n\
10837   inline int\n\
10838   open (const char *name, int flags)\n\
10839   {\n\
10840     return open (name, flags, 0);\n\
10841   }\n\
10842 }\n\
10843 #endif\n",
10844     (char*)NULL };
10846 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10848  *  Description of Vxworks_Time fix
10849  */
10850 tSCC zVxworks_TimeName[] =
10851      "vxworks_time";
10854  *  File name selection pattern
10855  */
10856 tSCC zVxworks_TimeList[] =
10857   "time.h\0";
10859  *  Machine/OS name selection pattern
10860  */
10861 #define apzVxworks_TimeMachs (const char**)NULL
10864  *  content selection pattern - do fix if pattern found
10865  */
10866 tSCC zVxworks_TimeSelect0[] =
10867        "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
10870  *  perform the 'test' shell command - do fix on success
10871  */
10872 tSCC zVxworks_TimeTest0[] =
10873        " -r vxWorks.h";
10875 #define    VXWORKS_TIME_TEST_CT  2
10876 static tTestDesc aVxworks_TimeTests[] = {
10877   { TT_TEST,     zVxworks_TimeTest0,   0 /* unused */ },
10878   { TT_EGREP,    zVxworks_TimeSelect0, (regex_t*)NULL }, };
10881  *  Fix Command Arguments for Vxworks_Time
10882  */
10883 static const char* apzVxworks_TimePatch[] = {
10884     "format",
10885     "#ifndef __gcc_VOIDFUNCPTR_defined\n\
10886 #ifdef __cplusplus\n\
10887 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
10888 #else\n\
10889 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
10890 #endif\n\
10891 #define __gcc_VOIDFUNCPTR_defined\n\
10892 #endif\n\
10893 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
10894     (char*)NULL };
10896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10898  *  Description of Vxworks_Write_Const fix
10899  */
10900 tSCC zVxworks_Write_ConstName[] =
10901      "vxworks_write_const";
10904  *  File name selection pattern
10905  */
10906 tSCC zVxworks_Write_ConstList[] =
10907   "ioLib.h\0";
10909  *  Machine/OS name selection pattern
10910  */
10911 tSCC* apzVxworks_Write_ConstMachs[] = {
10912         "*-*-vxworks*",
10913         (const char*)NULL };
10914 #define VXWORKS_WRITE_CONST_TEST_CT  0
10915 #define aVxworks_Write_ConstTests   (tTestDesc*)NULL
10918  *  Fix Command Arguments for Vxworks_Write_Const
10919  */
10920 static const char* apzVxworks_Write_ConstPatch[] = {
10921     "format",
10922     "extern int  write (int, const char*, size_t);",
10923     "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
10924     (char*)NULL };
10926 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10928  *  Description of Vxworks_Iolib_Include_Unistd fix
10929  */
10930 tSCC zVxworks_Iolib_Include_UnistdName[] =
10931      "vxworks_iolib_include_unistd";
10934  *  File name selection pattern
10935  */
10936 tSCC zVxworks_Iolib_Include_UnistdList[] =
10937   "ioLib.h\0";
10939  *  Machine/OS name selection pattern
10940  */
10941 tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10942         "*-*-vxworks*",
10943         (const char*)NULL };
10946  *  content selection pattern - do fix if pattern found
10947  */
10948 tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10949        "#include \"unistd.h\"";
10951 #define    VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT  1
10952 static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10953   { TT_EGREP,    zVxworks_Iolib_Include_UnistdSelect0, (regex_t*)NULL }, };
10956  *  Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10957  */
10958 static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10959     "format",
10960     "#include <unistd.h>",
10961     (char*)NULL };
10963 /* * * * * * * * * * * * * * * * * * * * * * * * * *
10965  *  Description of Vxworks_Time_H_Syslib fix
10966  */
10967 tSCC zVxworks_Time_H_SyslibName[] =
10968      "vxworks_time_h_syslib";
10971  *  File name selection pattern
10972  */
10973 tSCC zVxworks_Time_H_SyslibList[] =
10974   "time.h\0";
10976  *  Machine/OS name selection pattern
10977  */
10978 tSCC* apzVxworks_Time_H_SyslibMachs[] = {
10979         "*-*-vxworks*",
10980         (const char*)NULL };
10983  *  content selection pattern - do fix if pattern found
10984  */
10985 tSCC zVxworks_Time_H_SyslibSelect0[] =
10986        "[ \t]*#define[ \t]+CLOCKS_PER_SEC[ \t]+sysClkRateGet.*";
10988 #define    VXWORKS_TIME_H_SYSLIB_TEST_CT  1
10989 static tTestDesc aVxworks_Time_H_SyslibTests[] = {
10990   { TT_EGREP,    zVxworks_Time_H_SyslibSelect0, (regex_t*)NULL }, };
10993  *  Fix Command Arguments for Vxworks_Time_H_Syslib
10994  */
10995 static const char* apzVxworks_Time_H_SyslibPatch[] = {
10996     "format",
10997     "%0\n\
10998 #include <sysLib.h>",
10999     "#include <vxWorks.h>|#endif.* _YVALS.*",
11000     (char*)NULL };
11002 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11004  *  Description of X11_Class fix
11005  */
11006 tSCC zX11_ClassName[] =
11007      "x11_class";
11010  *  File name selection pattern
11011  */
11012 tSCC zX11_ClassList[] =
11013   "X11/ShellP.h\0";
11015  *  Machine/OS name selection pattern
11016  */
11017 #define apzX11_ClassMachs (const char**)NULL
11020  *  content selection pattern - do fix if pattern found
11021  */
11022 tSCC zX11_ClassSelect0[] =
11023        "^([ \t]*char \\*)class;(.*)";
11026  *  content bypass pattern - skip fix if pattern found
11027  */
11028 tSCC zX11_ClassBypass0[] =
11029        "__cplusplus";
11031 #define    X11_CLASS_TEST_CT  2
11032 static tTestDesc aX11_ClassTests[] = {
11033   { TT_NEGREP,   zX11_ClassBypass0, (regex_t*)NULL },
11034   { TT_EGREP,    zX11_ClassSelect0, (regex_t*)NULL }, };
11037  *  Fix Command Arguments for X11_Class
11038  */
11039 static const char* apzX11_ClassPatch[] = {
11040     "format",
11041     "#ifdef __cplusplus\n\
11042 %1c_class;%2\n\
11043 #else\n\
11044 %1class;%2\n\
11045 #endif",
11046     (char*)NULL };
11048 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11050  *  Description of X11_Class_Usage fix
11051  */
11052 tSCC zX11_Class_UsageName[] =
11053      "x11_class_usage";
11056  *  File name selection pattern
11057  */
11058 tSCC zX11_Class_UsageList[] =
11059   "Xm/BaseClassI.h\0";
11061  *  Machine/OS name selection pattern
11062  */
11063 #define apzX11_Class_UsageMachs (const char**)NULL
11066  *  content selection pattern - do fix if pattern found
11067  */
11068 tSCC zX11_Class_UsageSelect0[] =
11069        " class\\)";
11072  *  content bypass pattern - skip fix if pattern found
11073  */
11074 tSCC zX11_Class_UsageBypass0[] =
11075        "__cplusplus";
11077 #define    X11_CLASS_USAGE_TEST_CT  2
11078 static tTestDesc aX11_Class_UsageTests[] = {
11079   { TT_NEGREP,   zX11_Class_UsageBypass0, (regex_t*)NULL },
11080   { TT_EGREP,    zX11_Class_UsageSelect0, (regex_t*)NULL }, };
11083  *  Fix Command Arguments for X11_Class_Usage
11084  */
11085 static const char* apzX11_Class_UsagePatch[] = {
11086     "format",
11087     " c_class)",
11088     (char*)NULL };
11090 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11092  *  Description of X11_New fix
11093  */
11094 tSCC zX11_NewName[] =
11095      "x11_new";
11098  *  File name selection pattern
11099  */
11100 tSCC zX11_NewList[] =
11101   "Xm/Traversal.h\0";
11103  *  Machine/OS name selection pattern
11104  */
11105 #define apzX11_NewMachs (const char**)NULL
11108  *  content bypass pattern - skip fix if pattern found
11109  */
11110 tSCC zX11_NewBypass0[] =
11111        "__cplusplus";
11113 #define    X11_NEW_TEST_CT  1
11114 static tTestDesc aX11_NewTests[] = {
11115   { TT_NEGREP,   zX11_NewBypass0, (regex_t*)NULL }, };
11118  *  Fix Command Arguments for X11_New
11119  */
11120 static const char* apzX11_NewPatch[] = { sed_cmd_z,
11121     "-e", "/Widget\told, new;/i\\\n\
11122 #ifdef __cplusplus\\\n\
11123 \\\tWidget\told, c_new;\\\n\
11124 #else\n",
11125     "-e", "/Widget\told, new;/a\\\n\
11126 #endif\n",
11127     "-e", "s/Widget new,/Widget c_new,/g",
11128     (char*)NULL };
11130 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11132  *  Description of X11_Sprintf fix
11133  */
11134 tSCC zX11_SprintfName[] =
11135      "x11_sprintf";
11138  *  File name selection pattern
11139  */
11140 tSCC zX11_SprintfList[] =
11141   "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
11143  *  Machine/OS name selection pattern
11144  */
11145 #define apzX11_SprintfMachs (const char**)NULL
11148  *  content selection pattern - do fix if pattern found
11149  */
11150 tSCC zX11_SprintfSelect0[] =
11151        "^extern char \\*\tsprintf\\(\\);$";
11153 #define    X11_SPRINTF_TEST_CT  1
11154 static tTestDesc aX11_SprintfTests[] = {
11155   { TT_EGREP,    zX11_SprintfSelect0, (regex_t*)NULL }, };
11158  *  Fix Command Arguments for X11_Sprintf
11159  */
11160 static const char* apzX11_SprintfPatch[] = {
11161     "format",
11162     "#ifndef __STDC__\n\
11163 %0\n\
11164 #endif /* !defined __STDC__ */",
11165     (char*)NULL };
11168 /* * * * * * * * * * * * * * * * * * * * * * * * * *
11170  *  List of all fixes
11171  */
11172 #define REGEX_COUNT          313
11173 #define MACH_LIST_SIZE_LIMIT 187
11174 #define FIX_COUNT            274
11177  *  Enumerate the fixes
11178  */
11179 typedef enum {
11180     AAB_AIX_STDIO_FIXIDX,
11181     AAB_AIX_FCNTL_FIXIDX,
11182     AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
11183     DARWIN_API_AVAILABILITY_FIXIDX,
11184     AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
11185     AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
11186     AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
11187     AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
11188     AAB_SUN_MEMCPY_FIXIDX,
11189     AAB_VXWORKS_ASSERT_FIXIDX,
11190     AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
11191     AAB_VXWORKS_UNISTD_FIXIDX,
11192     AIX_ASSERT_FIXIDX,
11193     AIX_COMPLEX_FIXIDX,
11194     AIX_EXTERNC_FIXIDX,
11195     AIX_EXTERNCPP1_FIXIDX,
11196     AIX_EXTERNCPP2_FIXIDX,
11197     AIX_INTTYPES_FIXIDX,
11198     AIX_MALLOC_FIXIDX,
11199     AIX_NET_IF_ARP_FIXIDX,
11200     AIX_NULL_FIXIDX,
11201     AIX_ONCE_INIT_1_FIXIDX,
11202     AIX_ONCE_INIT_2_FIXIDX,
11203     AIX_MUTEX_INITIALIZER_1_FIXIDX,
11204     AIX_COND_INITIALIZER_1_FIXIDX,
11205     AIX_RWLOCK_INITIALIZER_1_FIXIDX,
11206     AIX_PHYSADR_T_FIXIDX,
11207     AIX_PTHREAD_FIXIDX,
11208     AIX_STDINT_1_FIXIDX,
11209     AIX_STDINT_2_FIXIDX,
11210     AIX_STDINT_3_FIXIDX,
11211     AIX_STDINT_4_FIXIDX,
11212     AIX_STDINT_5_FIXIDX,
11213     AIX_STDIO_INLINE_FIXIDX,
11214     AIX_STDLIB_MALLOC_FIXIDX,
11215     AIX_STDLIB_REALLOC_FIXIDX,
11216     AIX_STDLIB_CALLOC_FIXIDX,
11217     AIX_STDLIB_VALLOC_FIXIDX,
11218     AIX_STDLIB_VEC_MALLOC_FIXIDX,
11219     AIX_STDLIB_VEC_CALLOC_FIXIDX,
11220     AIX_STRTOF_CONST_FIXIDX,
11221     AIX_SYSMACHINE_FIXIDX,
11222     AIX_SYSWAIT_2_FIXIDX,
11223     AIX_VOLATILE_FIXIDX,
11224     AIX_UNISTD_FIXIDX,
11225     ALPHA___ASSERT_FIXIDX,
11226     ALPHA_ASSERT_FIXIDX,
11227     ALPHA_GETOPT_FIXIDX,
11228     ALPHA_IF_SEMICOLON_FIXIDX,
11229     ALPHA_PARENS_FIXIDX,
11230     ALPHA_SBRK_FIXIDX,
11231     AVOID_BOOL_DEFINE_FIXIDX,
11232     AVOID_BOOL_TYPE_FIXIDX,
11233     AVOID_WCHAR_T_TYPE_FIXIDX,
11234     BAD_STRUCT_TERM_FIXIDX,
11235     BADQUOTE_FIXIDX,
11236     BROKEN_ASSERT_STDIO_FIXIDX,
11237     BROKEN_ASSERT_STDLIB_FIXIDX,
11238     BROKEN_CABS_FIXIDX,
11239     BROKEN_NAN_FIXIDX,
11240     BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
11241     APPLE_LOCAL_STDIO_FN_DEPRECATION_FIXIDX,
11242     CTRL_QUOTES_DEF_FIXIDX,
11243     CTRL_QUOTES_USE_FIXIDX,
11244     CXX_UNREADY_FIXIDX,
11245     DARWIN_AVAILABILITYINTERNAL_FIXIDX,
11246     DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
11247     DARWIN_EXTERNC_FIXIDX,
11248     DARWIN_GCC4_BREAKAGE_FIXIDX,
11249     DARWIN_LL_FUNCS_AVAIL_FIXIDX,
11250     DARWIN_LONGJMP_NORETURN_FIXIDX,
11251     DARWIN_OS_TRACE_1_FIXIDX,
11252     DARWIN_OS_TRACE_2_FIXIDX,
11253     DARWIN_OBJC_RUNTIME_1_FIXIDX,
11254     DARWIN_OS_TRACE_3_FIXIDX,
11255     DARWIN_OS_BASE_1_FIXIDX,
11256     DARWIN_DISPATCH_OBJECT_1_FIXIDX,
11257     DARWIN_PRIVATE_EXTERN_FIXIDX,
11258     DARWIN_STDINT_1_FIXIDX,
11259     DARWIN_STDINT_2_FIXIDX,
11260     DARWIN_STDINT_3_FIXIDX,
11261     DARWIN_STDINT_4_FIXIDX,
11262     DARWIN_STDINT_5_FIXIDX,
11263     DARWIN_STDINT_6_FIXIDX,
11264     DARWIN_STDINT_7_FIXIDX,
11265     DARWIN_UCRED__ATOMIC_FIXIDX,
11266     DARWIN_FLT_EVAL_METHOD_FIXIDX,
11267     DEC_INTERN_ASM_FIXIDX,
11268     DJGPP_WCHAR_H_FIXIDX,
11269     ECD_CURSOR_FIXIDX,
11270     FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
11271     FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
11272     FREEBSD_GCC3_BREAKAGE_FIXIDX,
11273     FREEBSD_GCC4_BREAKAGE_FIXIDX,
11274     GLIBC_C99_INLINE_1_FIXIDX,
11275     GLIBC_C99_INLINE_1A_FIXIDX,
11276     GLIBC_C99_INLINE_2_FIXIDX,
11277     GLIBC_C99_INLINE_3_FIXIDX,
11278     GLIBC_C99_INLINE_4_FIXIDX,
11279     GLIBC_CXX_FLOATN_1_FIXIDX,
11280     GLIBC_CXX_FLOATN_2_FIXIDX,
11281     GLIBC_CXX_FLOATN_3_FIXIDX,
11282     GLIBC_CXX_FLOATN_4_FIXIDX,
11283     GLIBC_CXX_FLOATN_5_FIXIDX,
11284     GLIBC_MUTEX_INIT_FIXIDX,
11285     GLIBC_STDINT_FIXIDX,
11286     GLIBC_STRNCPY_FIXIDX,
11287     GLIBC_TGMATH_FIXIDX,
11288     GNU_TYPES_FIXIDX,
11289     HP_INLINE_FIXIDX,
11290     HP_SYSFILE_FIXIDX,
11291     HPPA_HPUX_FP_MACROS_FIXIDX,
11292     HPUX10_CPP_POW_INLINE_FIXIDX,
11293     HPUX11_CPP_POW_INLINE_FIXIDX,
11294     HPUX_MATH_CONSTEXPR_FIXIDX,
11295     HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
11296     HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
11297     HPUX10_STDIO_DECLARATIONS_FIXIDX,
11298     HPPA_HPUX11_ALLOCA_FIXIDX,
11299     HPUX11_ABS_FIXIDX,
11300     HPUX11_LWP_RWLOCK_VALID_FIXIDX,
11301     HPUX11_EXTERN_SENDFILE_FIXIDX,
11302     HPUX11_EXTERN_SENDPATH_FIXIDX,
11303     HPUX11_FABSF_FIXIDX,
11304     HPUX11_PTHREAD_POINTER_FIXIDX,
11305     HPUX11_PTHREAD_CONST_FIXIDX,
11306     HPUX11_SIZE_T_FIXIDX,
11307     HPUX11_SNPRINTF_FIXIDX,
11308     HPUX11_VSNPRINTF_FIXIDX,
11309     HPUX_VSSCANF_FIXIDX,
11310     HPUX8_BOGUS_INLINES_FIXIDX,
11311     HPUX_C99_INTPTR_FIXIDX,
11312     HPUX_C99_INTTYPES_FIXIDX,
11313     HPUX_C99_INTTYPES2_FIXIDX,
11314     HPUX_C99_INTTYPES3_FIXIDX,
11315     HPUX_C99_INTTYPES4_FIXIDX,
11316     HPUX_C99_INTTYPES5_FIXIDX,
11317     HPUX_CTYPE_MACROS_FIXIDX,
11318     HPUX_EXTERN_ERRNO_FIXIDX,
11319     HPUX_HTONL_FIXIDX,
11320     HPUX_IMAGINARY_I_FIXIDX,
11321     HPUX_INTTYPE_INT8_T_FIXIDX,
11322     HPUX_LONG_DOUBLE_FIXIDX,
11323     HPUX_LONG_DOUBLE_2_FIXIDX,
11324     HPUX_PTHREAD_INITIALIZERS_FIXIDX,
11325     HPUX_SPU_INFO_FIXIDX,
11326     HPUX_STDINT_LEAST_FAST_FIXIDX,
11327     HPUX_LONGJMP_FIXIDX,
11328     HPUX_SYSTIME_FIXIDX,
11329     HUGE_VAL_HEX_FIXIDX,
11330     HUGE_VALF_HEX_FIXIDX,
11331     HUGE_VALL_HEX_FIXIDX,
11332     INT_ABORT_FREE_AND_EXIT_FIXIDX,
11333     IO_QUOTES_DEF_FIXIDX,
11334     IO_QUOTES_USE_FIXIDX,
11335     IP_MISSING_SEMI_FIXIDX,
11336     IRIX_LIMITS_CONST_FIXIDX,
11337     IRIX_STDIO_VA_LIST_FIXIDX,
11338     KANDR_CONCAT_FIXIDX,
11339     LINUX_IA64_UCONTEXT_FIXIDX,
11340     LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
11341     LYNXOS_MISSING_PUTENV_FIXIDX,
11342     MACHINE_ANSI_H_VA_LIST_FIXIDX,
11343     MACHINE_NAME_FIXIDX,
11344     MATH_EXCEPTION_FIXIDX,
11345     MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
11346     NESTED_AUTH_DES_FIXIDX,
11347     NETBSD_C99_INLINE_1_FIXIDX,
11348     NETBSD_C99_INLINE_2_FIXIDX,
11349     NETBSD_EXTRA_SEMICOLON_FIXIDX,
11350     NEWLIB_STDINT_1_FIXIDX,
11351     NEWLIB_STDINT_2_FIXIDX,
11352     NEXT_MATH_PREFIX_FIXIDX,
11353     NEXT_TEMPLATE_FIXIDX,
11354     NEXT_VOLITILE_FIXIDX,
11355     NEXT_WAIT_UNION_FIXIDX,
11356     NODEENT_SYNTAX_FIXIDX,
11357     OPENBSD_NULL_DEFINITION_FIXIDX,
11358     OBSTACK_LVALUE_CAST_FIXIDX,
11359     OPENBSD_VA_START_FIXIDX,
11360     OSF_NAMESPACE_A_FIXIDX,
11361     OSF_NAMESPACE_C_FIXIDX,
11362     PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
11363     READ_RET_TYPE_FIXIDX,
11364     RPC_XDR_LVALUE_CAST_A_FIXIDX,
11365     RPC_XDR_LVALUE_CAST_B_FIXIDX,
11366     RS6000_DOUBLE_FIXIDX,
11367     RS6000_FCHMOD_FIXIDX,
11368     RS6000_PARAM_FIXIDX,
11369     SOLARIS___RESTRICT_FIXIDX,
11370     SOLARIS_COMPLEX_FIXIDX,
11371     SOLARIS_COMPLEX_CXX_FIXIDX,
11372     SOLARIS_CXX_LINKAGE_FIXIDX,
11373     SOLARIS_GETC_STRICT_STDC_FIXIDX,
11374     SOLARIS_GETS_C11_FIXIDX,
11375     SOLARIS_GETS_CXX14_FIXIDX,
11376     SOLARIS_INT_CONST_FIXIDX,
11377     SOLARIS_INT_LIMITS_1_FIXIDX,
11378     SOLARIS_INT_LIMITS_2_FIXIDX,
11379     SOLARIS_INT_LIMITS_3_FIXIDX,
11380     SOLARIS_MATH_1_FIXIDX,
11381     SOLARIS_MATH_10_FIXIDX,
11382     SOLARIS_MATH_2_FIXIDX,
11383     SOLARIS_MATH_3_FIXIDX,
11384     SOLARIS_MATH_4_FIXIDX,
11385     SOLARIS_MATH_8_FIXIDX,
11386     SOLARIS_MATH_9_FIXIDX,
11387     SOLARIS_MATH_11_FIXIDX,
11388     SOLARIS_MATH_12_FIXIDX,
11389     SOLARIS_ONCE_INIT_1_FIXIDX,
11390     SOLARIS_POSIX_SPAWN_RESTRICT_FIXIDX,
11391     SOLARIS_POW_INT_OVERLOAD_FIXIDX,
11392     SOLARIS_RWLOCK_INIT_1_FIXIDX,
11393     SOLARIS_STD___FILBUF_FIXIDX,
11394     SOLARIS_STD_GETS_CXX14_FIXIDX,
11395     SOLARIS_STDIO_TAG_FIXIDX,
11396     SOLARIS_STDLIB_NORETURN_FIXIDX,
11397     STATSSWTCH_FIXIDX,
11398     STDIO_STDARG_H_FIXIDX,
11399     STDIO_VA_LIST_FIXIDX,
11400     STDIO_VA_LIST_CLIENTS_FIXIDX,
11401     STRICT_ANSI_NOT_FIXIDX,
11402     STRICT_ANSI_NOT_CTD_FIXIDX,
11403     STRICT_ANSI_ONLY_FIXIDX,
11404     STRUCT_FILE_FIXIDX,
11405     STRUCT_SOCKADDR_FIXIDX,
11406     SUN_AUTH_PROTO_FIXIDX,
11407     SUN_BOGUS_IFDEF_FIXIDX,
11408     SUN_CATMACRO_FIXIDX,
11409     SUN_MALLOC_FIXIDX,
11410     SUN_RUSERS_SEMI_FIXIDX,
11411     SUN_SIGNAL_FIXIDX,
11412     SUNOS_STRLEN_FIXIDX,
11413     SUSE_LINUX_VT_CXX_FIXIDX,
11414     SVR4_DISABLE_OPT_FIXIDX,
11415     SVR4_GETCWD_FIXIDX,
11416     SVR4_PROFIL_FIXIDX,
11417     SVR4_SIGHANDLER_TYPE_FIXIDX,
11418     SVR4_UNDECLARED_GETRNGE_FIXIDX,
11419     SYSV68_STRING_FIXIDX,
11420     SYSZ_STDLIB_FOR_SUN_FIXIDX,
11421     THREAD_KEYWORD_FIXIDX,
11422     TINFO_CPLUSPLUS_FIXIDX,
11423     ULTRIX_CONST_FIXIDX,
11424     ULTRIX_CONST2_FIXIDX,
11425     VA_I960_MACRO_FIXIDX,
11426     VMS_ADD_MISSING_BRACES_FIXIDX,
11427     VMS_DECC_BUILTIN_FIXIDX,
11428     VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
11429     VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
11430     VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
11431     VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
11432     VMS_NO_64BIT_GETOPT_FIXIDX,
11433     VMS_USE_FAST_SETJMP_FIXIDX,
11434     VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
11435     VMS_USE_QUOTED_INCLUDE_FIXIDX,
11436     VOID_NULL_FIXIDX,
11437     VXWORKS_GCC_PROBLEM_FIXIDX,
11438     VXWORKS_IOCTL_MACRO_FIXIDX,
11439     VXWORKS_MATH_H_FP_C99_FIXIDX,
11440     VXWORKS_POSIX_MKDIR_FIXIDX,
11441     VXWORKS_NEEDS_VXTYPES_FIXIDX,
11442     VXWORKS_NEEDS_VXWORKS_FIXIDX,
11443     VXWORKS_NEXT_YVALS_FIXIDX,
11444     VXWORKS_REGS_FIXIDX,
11445     VXWORKS_POSIX_OPEN_FIXIDX,
11446     VXWORKS_TIME_FIXIDX,
11447     VXWORKS_WRITE_CONST_FIXIDX,
11448     VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
11449     VXWORKS_TIME_H_SYSLIB_FIXIDX,
11450     X11_CLASS_FIXIDX,
11451     X11_CLASS_USAGE_FIXIDX,
11452     X11_NEW_FIXIDX,
11453     X11_SPRINTF_FIXIDX
11454 } t_fixinc_idx;
11456 tFixDesc fixDescList[ FIX_COUNT ] = {
11457   {  zAab_Aix_StdioName,    zAab_Aix_StdioList,
11458      apzAab_Aix_StdioMachs,
11459      AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11460      aAab_Aix_StdioTests,   apzAab_Aix_StdioPatch, 0 },
11462   {  zAab_Aix_FcntlName,    zAab_Aix_FcntlList,
11463      apzAab_Aix_FcntlMachs,
11464      AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11465      aAab_Aix_FcntlTests,   apzAab_Aix_FcntlPatch, 0 },
11467   {  zAab_Darwin7_9_Long_Double_FuncsName,    zAab_Darwin7_9_Long_Double_FuncsList,
11468      apzAab_Darwin7_9_Long_Double_FuncsMachs,
11469      AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11470      aAab_Darwin7_9_Long_Double_FuncsTests,   apzAab_Darwin7_9_Long_Double_FuncsPatch, 0 },
11472   {  zDarwin_Api_AvailabilityName,    zDarwin_Api_AvailabilityList,
11473      apzDarwin_Api_AvailabilityMachs,
11474      DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11475      aDarwin_Api_AvailabilityTests,   apzDarwin_Api_AvailabilityPatch, 0 },
11477   {  zAab_Fd_Zero_Asm_Posix_Types_HName,    zAab_Fd_Zero_Asm_Posix_Types_HList,
11478      apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
11479      AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11480      aAab_Fd_Zero_Asm_Posix_Types_HTests,   apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
11482   {  zAab_Fd_Zero_Gnu_Types_HName,    zAab_Fd_Zero_Gnu_Types_HList,
11483      apzAab_Fd_Zero_Gnu_Types_HMachs,
11484      AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11485      aAab_Fd_Zero_Gnu_Types_HTests,   apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
11487   {  zAab_Fd_Zero_Selectbits_HName,    zAab_Fd_Zero_Selectbits_HList,
11488      apzAab_Fd_Zero_Selectbits_HMachs,
11489      AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11490      aAab_Fd_Zero_Selectbits_HTests,   apzAab_Fd_Zero_Selectbits_HPatch, 0 },
11492   {  zAab_Solaris_Sys_Varargs_HName,    zAab_Solaris_Sys_Varargs_HList,
11493      apzAab_Solaris_Sys_Varargs_HMachs,
11494      AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11495      aAab_Solaris_Sys_Varargs_HTests,   apzAab_Solaris_Sys_Varargs_HPatch, 0 },
11497   {  zAab_Sun_MemcpyName,    zAab_Sun_MemcpyList,
11498      apzAab_Sun_MemcpyMachs,
11499      AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11500      aAab_Sun_MemcpyTests,   apzAab_Sun_MemcpyPatch, 0 },
11502   {  zAab_Vxworks_AssertName,    zAab_Vxworks_AssertList,
11503      apzAab_Vxworks_AssertMachs,
11504      AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11505      aAab_Vxworks_AssertTests,   apzAab_Vxworks_AssertPatch, 0 },
11507   {  zAab_Vxworks_Regs_VxtypesName,    zAab_Vxworks_Regs_VxtypesList,
11508      apzAab_Vxworks_Regs_VxtypesMachs,
11509      AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11510      aAab_Vxworks_Regs_VxtypesTests,   apzAab_Vxworks_Regs_VxtypesPatch, 0 },
11512   {  zAab_Vxworks_UnistdName,    zAab_Vxworks_UnistdList,
11513      apzAab_Vxworks_UnistdMachs,
11514      AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
11515      aAab_Vxworks_UnistdTests,   apzAab_Vxworks_UnistdPatch, 0 },
11517   {  zAix_AssertName,    zAix_AssertList,
11518      apzAix_AssertMachs,
11519      AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11520      aAix_AssertTests,   apzAix_AssertPatch, 0 },
11522   {  zAix_ComplexName,    zAix_ComplexList,
11523      apzAix_ComplexMachs,
11524      AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11525      aAix_ComplexTests,   apzAix_ComplexPatch, 0 },
11527   {  zAix_ExterncName,    zAix_ExterncList,
11528      apzAix_ExterncMachs,
11529      AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11530      aAix_ExterncTests,   apzAix_ExterncPatch, 0 },
11532   {  zAix_Externcpp1Name,    zAix_Externcpp1List,
11533      apzAix_Externcpp1Machs,
11534      AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11535      aAix_Externcpp1Tests,   apzAix_Externcpp1Patch, 0 },
11537   {  zAix_Externcpp2Name,    zAix_Externcpp2List,
11538      apzAix_Externcpp2Machs,
11539      AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11540      aAix_Externcpp2Tests,   apzAix_Externcpp2Patch, 0 },
11542   {  zAix_InttypesName,    zAix_InttypesList,
11543      apzAix_InttypesMachs,
11544      AIX_INTTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11545      aAix_InttypesTests,   apzAix_InttypesPatch, 0 },
11547   {  zAix_MallocName,    zAix_MallocList,
11548      apzAix_MallocMachs,
11549      AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11550      aAix_MallocTests,   apzAix_MallocPatch, 0 },
11552   {  zAix_Net_If_ArpName,    zAix_Net_If_ArpList,
11553      apzAix_Net_If_ArpMachs,
11554      AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11555      aAix_Net_If_ArpTests,   apzAix_Net_If_ArpPatch, 0 },
11557   {  zAix_NullName,    zAix_NullList,
11558      apzAix_NullMachs,
11559      AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11560      aAix_NullTests,   apzAix_NullPatch, 0 },
11562   {  zAix_Once_Init_1Name,    zAix_Once_Init_1List,
11563      apzAix_Once_Init_1Machs,
11564      AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11565      aAix_Once_Init_1Tests,   apzAix_Once_Init_1Patch, 0 },
11567   {  zAix_Once_Init_2Name,    zAix_Once_Init_2List,
11568      apzAix_Once_Init_2Machs,
11569      AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11570      aAix_Once_Init_2Tests,   apzAix_Once_Init_2Patch, 0 },
11572   {  zAix_Mutex_Initializer_1Name,    zAix_Mutex_Initializer_1List,
11573      apzAix_Mutex_Initializer_1Machs,
11574      AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11575      aAix_Mutex_Initializer_1Tests,   apzAix_Mutex_Initializer_1Patch, 0 },
11577   {  zAix_Cond_Initializer_1Name,    zAix_Cond_Initializer_1List,
11578      apzAix_Cond_Initializer_1Machs,
11579      AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11580      aAix_Cond_Initializer_1Tests,   apzAix_Cond_Initializer_1Patch, 0 },
11582   {  zAix_Rwlock_Initializer_1Name,    zAix_Rwlock_Initializer_1List,
11583      apzAix_Rwlock_Initializer_1Machs,
11584      AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11585      aAix_Rwlock_Initializer_1Tests,   apzAix_Rwlock_Initializer_1Patch, 0 },
11587   {  zAix_Physadr_TName,    zAix_Physadr_TList,
11588      apzAix_Physadr_TMachs,
11589      AIX_PHYSADR_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11590      aAix_Physadr_TTests,   apzAix_Physadr_TPatch, 0 },
11592   {  zAix_PthreadName,    zAix_PthreadList,
11593      apzAix_PthreadMachs,
11594      AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11595      aAix_PthreadTests,   apzAix_PthreadPatch, 0 },
11597   {  zAix_Stdint_1Name,    zAix_Stdint_1List,
11598      apzAix_Stdint_1Machs,
11599      AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11600      aAix_Stdint_1Tests,   apzAix_Stdint_1Patch, 0 },
11602   {  zAix_Stdint_2Name,    zAix_Stdint_2List,
11603      apzAix_Stdint_2Machs,
11604      AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11605      aAix_Stdint_2Tests,   apzAix_Stdint_2Patch, 0 },
11607   {  zAix_Stdint_3Name,    zAix_Stdint_3List,
11608      apzAix_Stdint_3Machs,
11609      AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11610      aAix_Stdint_3Tests,   apzAix_Stdint_3Patch, 0 },
11612   {  zAix_Stdint_4Name,    zAix_Stdint_4List,
11613      apzAix_Stdint_4Machs,
11614      AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11615      aAix_Stdint_4Tests,   apzAix_Stdint_4Patch, 0 },
11617   {  zAix_Stdint_5Name,    zAix_Stdint_5List,
11618      apzAix_Stdint_5Machs,
11619      AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11620      aAix_Stdint_5Tests,   apzAix_Stdint_5Patch, 0 },
11622   {  zAix_Stdio_InlineName,    zAix_Stdio_InlineList,
11623      apzAix_Stdio_InlineMachs,
11624      AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11625      aAix_Stdio_InlineTests,   apzAix_Stdio_InlinePatch, 0 },
11627   {  zAix_Stdlib_MallocName,    zAix_Stdlib_MallocList,
11628      apzAix_Stdlib_MallocMachs,
11629      AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11630      aAix_Stdlib_MallocTests,   apzAix_Stdlib_MallocPatch, 0 },
11632   {  zAix_Stdlib_ReallocName,    zAix_Stdlib_ReallocList,
11633      apzAix_Stdlib_ReallocMachs,
11634      AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11635      aAix_Stdlib_ReallocTests,   apzAix_Stdlib_ReallocPatch, 0 },
11637   {  zAix_Stdlib_CallocName,    zAix_Stdlib_CallocList,
11638      apzAix_Stdlib_CallocMachs,
11639      AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11640      aAix_Stdlib_CallocTests,   apzAix_Stdlib_CallocPatch, 0 },
11642   {  zAix_Stdlib_VallocName,    zAix_Stdlib_VallocList,
11643      apzAix_Stdlib_VallocMachs,
11644      AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11645      aAix_Stdlib_VallocTests,   apzAix_Stdlib_VallocPatch, 0 },
11647   {  zAix_Stdlib_Vec_MallocName,    zAix_Stdlib_Vec_MallocList,
11648      apzAix_Stdlib_Vec_MallocMachs,
11649      AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11650      aAix_Stdlib_Vec_MallocTests,   apzAix_Stdlib_Vec_MallocPatch, 0 },
11652   {  zAix_Stdlib_Vec_CallocName,    zAix_Stdlib_Vec_CallocList,
11653      apzAix_Stdlib_Vec_CallocMachs,
11654      AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11655      aAix_Stdlib_Vec_CallocTests,   apzAix_Stdlib_Vec_CallocPatch, 0 },
11657   {  zAix_Strtof_ConstName,    zAix_Strtof_ConstList,
11658      apzAix_Strtof_ConstMachs,
11659      AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11660      aAix_Strtof_ConstTests,   apzAix_Strtof_ConstPatch, 0 },
11662   {  zAix_SysmachineName,    zAix_SysmachineList,
11663      apzAix_SysmachineMachs,
11664      AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11665      aAix_SysmachineTests,   apzAix_SysmachinePatch, 0 },
11667   {  zAix_Syswait_2Name,    zAix_Syswait_2List,
11668      apzAix_Syswait_2Machs,
11669      AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11670      aAix_Syswait_2Tests,   apzAix_Syswait_2Patch, 0 },
11672   {  zAix_VolatileName,    zAix_VolatileList,
11673      apzAix_VolatileMachs,
11674      AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11675      aAix_VolatileTests,   apzAix_VolatilePatch, 0 },
11677   {  zAix_UnistdName,    zAix_UnistdList,
11678      apzAix_UnistdMachs,
11679      AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11680      aAix_UnistdTests,   apzAix_UnistdPatch, 0 },
11682   {  zAlpha___AssertName,    zAlpha___AssertList,
11683      apzAlpha___AssertMachs,
11684      ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11685      aAlpha___AssertTests,   apzAlpha___AssertPatch, 0 },
11687   {  zAlpha_AssertName,    zAlpha_AssertList,
11688      apzAlpha_AssertMachs,
11689      ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11690      aAlpha_AssertTests,   apzAlpha_AssertPatch, 0 },
11692   {  zAlpha_GetoptName,    zAlpha_GetoptList,
11693      apzAlpha_GetoptMachs,
11694      ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11695      aAlpha_GetoptTests,   apzAlpha_GetoptPatch, 0 },
11697   {  zAlpha_If_SemicolonName,    zAlpha_If_SemicolonList,
11698      apzAlpha_If_SemicolonMachs,
11699      ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11700      aAlpha_If_SemicolonTests,   apzAlpha_If_SemicolonPatch, 0 },
11702   {  zAlpha_ParensName,    zAlpha_ParensList,
11703      apzAlpha_ParensMachs,
11704      ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11705      aAlpha_ParensTests,   apzAlpha_ParensPatch, 0 },
11707   {  zAlpha_SbrkName,    zAlpha_SbrkList,
11708      apzAlpha_SbrkMachs,
11709      ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11710      aAlpha_SbrkTests,   apzAlpha_SbrkPatch, 0 },
11712   {  zAvoid_Bool_DefineName,    zAvoid_Bool_DefineList,
11713      apzAvoid_Bool_DefineMachs,
11714      AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11715      aAvoid_Bool_DefineTests,   apzAvoid_Bool_DefinePatch, 0 },
11717   {  zAvoid_Bool_TypeName,    zAvoid_Bool_TypeList,
11718      apzAvoid_Bool_TypeMachs,
11719      AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11720      aAvoid_Bool_TypeTests,   apzAvoid_Bool_TypePatch, 0 },
11722   {  zAvoid_Wchar_T_TypeName,    zAvoid_Wchar_T_TypeList,
11723      apzAvoid_Wchar_T_TypeMachs,
11724      AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11725      aAvoid_Wchar_T_TypeTests,   apzAvoid_Wchar_T_TypePatch, 0 },
11727   {  zBad_Struct_TermName,    zBad_Struct_TermList,
11728      apzBad_Struct_TermMachs,
11729      BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11730      aBad_Struct_TermTests,   apzBad_Struct_TermPatch, 0 },
11732   {  zBadquoteName,    zBadquoteList,
11733      apzBadquoteMachs,
11734      BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11735      aBadquoteTests,   apzBadquotePatch, 0 },
11737   {  zBroken_Assert_StdioName,    zBroken_Assert_StdioList,
11738      apzBroken_Assert_StdioMachs,
11739      BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11740      aBroken_Assert_StdioTests,   apzBroken_Assert_StdioPatch, 0 },
11742   {  zBroken_Assert_StdlibName,    zBroken_Assert_StdlibList,
11743      apzBroken_Assert_StdlibMachs,
11744      BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11745      aBroken_Assert_StdlibTests,   apzBroken_Assert_StdlibPatch, 0 },
11747   {  zBroken_CabsName,    zBroken_CabsList,
11748      apzBroken_CabsMachs,
11749      BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
11750      aBroken_CabsTests,   apzBroken_CabsPatch, 0 },
11752   {  zBroken_NanName,    zBroken_NanList,
11753      apzBroken_NanMachs,
11754      BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11755      aBroken_NanTests,   apzBroken_NanPatch, 0 },
11757   {  zBsd_Stdio_Attrs_ConflictName,    zBsd_Stdio_Attrs_ConflictList,
11758      apzBsd_Stdio_Attrs_ConflictMachs,
11759      BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11760      aBsd_Stdio_Attrs_ConflictTests,   apzBsd_Stdio_Attrs_ConflictPatch, 0 },
11762   {  zApple_Local_Stdio_Fn_DeprecationName,    zApple_Local_Stdio_Fn_DeprecationList,
11763      apzApple_Local_Stdio_Fn_DeprecationMachs,
11764      APPLE_LOCAL_STDIO_FN_DEPRECATION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11765      aApple_Local_Stdio_Fn_DeprecationTests,   apzApple_Local_Stdio_Fn_DeprecationPatch, 0 },
11767   {  zCtrl_Quotes_DefName,    zCtrl_Quotes_DefList,
11768      apzCtrl_Quotes_DefMachs,
11769      CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11770      aCtrl_Quotes_DefTests,   apzCtrl_Quotes_DefPatch, 0 },
11772   {  zCtrl_Quotes_UseName,    zCtrl_Quotes_UseList,
11773      apzCtrl_Quotes_UseMachs,
11774      CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11775      aCtrl_Quotes_UseTests,   apzCtrl_Quotes_UsePatch, 0 },
11777   {  zCxx_UnreadyName,    zCxx_UnreadyList,
11778      apzCxx_UnreadyMachs,
11779      CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11780      aCxx_UnreadyTests,   apzCxx_UnreadyPatch, 0 },
11782   {  zDarwin_AvailabilityinternalName,    zDarwin_AvailabilityinternalList,
11783      apzDarwin_AvailabilityinternalMachs,
11784      DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11785      aDarwin_AvailabilityinternalTests,   apzDarwin_AvailabilityinternalPatch, 0 },
11787   {  zDarwin_9_Long_Double_Funcs_2Name,    zDarwin_9_Long_Double_Funcs_2List,
11788      apzDarwin_9_Long_Double_Funcs_2Machs,
11789      DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11790      aDarwin_9_Long_Double_Funcs_2Tests,   apzDarwin_9_Long_Double_Funcs_2Patch, 0 },
11792   {  zDarwin_ExterncName,    zDarwin_ExterncList,
11793      apzDarwin_ExterncMachs,
11794      DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11795      aDarwin_ExterncTests,   apzDarwin_ExterncPatch, 0 },
11797   {  zDarwin_Gcc4_BreakageName,    zDarwin_Gcc4_BreakageList,
11798      apzDarwin_Gcc4_BreakageMachs,
11799      DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11800      aDarwin_Gcc4_BreakageTests,   apzDarwin_Gcc4_BreakagePatch, 0 },
11802   {  zDarwin_Ll_Funcs_AvailName,    zDarwin_Ll_Funcs_AvailList,
11803      apzDarwin_Ll_Funcs_AvailMachs,
11804      DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
11805      aDarwin_Ll_Funcs_AvailTests,   apzDarwin_Ll_Funcs_AvailPatch, 0 },
11807   {  zDarwin_Longjmp_NoreturnName,    zDarwin_Longjmp_NoreturnList,
11808      apzDarwin_Longjmp_NoreturnMachs,
11809      DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11810      aDarwin_Longjmp_NoreturnTests,   apzDarwin_Longjmp_NoreturnPatch, 0 },
11812   {  zDarwin_Os_Trace_1Name,    zDarwin_Os_Trace_1List,
11813      apzDarwin_Os_Trace_1Machs,
11814      DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11815      aDarwin_Os_Trace_1Tests,   apzDarwin_Os_Trace_1Patch, 0 },
11817   {  zDarwin_Os_Trace_2Name,    zDarwin_Os_Trace_2List,
11818      apzDarwin_Os_Trace_2Machs,
11819      DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11820      aDarwin_Os_Trace_2Tests,   apzDarwin_Os_Trace_2Patch, 0 },
11822   {  zDarwin_Objc_Runtime_1Name,    zDarwin_Objc_Runtime_1List,
11823      apzDarwin_Objc_Runtime_1Machs,
11824      DARWIN_OBJC_RUNTIME_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11825      aDarwin_Objc_Runtime_1Tests,   apzDarwin_Objc_Runtime_1Patch, 0 },
11827   {  zDarwin_Os_Trace_3Name,    zDarwin_Os_Trace_3List,
11828      apzDarwin_Os_Trace_3Machs,
11829      DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11830      aDarwin_Os_Trace_3Tests,   apzDarwin_Os_Trace_3Patch, 0 },
11832   {  zDarwin_Os_Base_1Name,    zDarwin_Os_Base_1List,
11833      apzDarwin_Os_Base_1Machs,
11834      DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11835      aDarwin_Os_Base_1Tests,   apzDarwin_Os_Base_1Patch, 0 },
11837   {  zDarwin_Dispatch_Object_1Name,    zDarwin_Dispatch_Object_1List,
11838      apzDarwin_Dispatch_Object_1Machs,
11839      DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11840      aDarwin_Dispatch_Object_1Tests,   apzDarwin_Dispatch_Object_1Patch, 0 },
11842   {  zDarwin_Private_ExternName,    zDarwin_Private_ExternList,
11843      apzDarwin_Private_ExternMachs,
11844      DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11845      aDarwin_Private_ExternTests,   apzDarwin_Private_ExternPatch, 0 },
11847   {  zDarwin_Stdint_1Name,    zDarwin_Stdint_1List,
11848      apzDarwin_Stdint_1Machs,
11849      DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11850      aDarwin_Stdint_1Tests,   apzDarwin_Stdint_1Patch, 0 },
11852   {  zDarwin_Stdint_2Name,    zDarwin_Stdint_2List,
11853      apzDarwin_Stdint_2Machs,
11854      DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11855      aDarwin_Stdint_2Tests,   apzDarwin_Stdint_2Patch, 0 },
11857   {  zDarwin_Stdint_3Name,    zDarwin_Stdint_3List,
11858      apzDarwin_Stdint_3Machs,
11859      DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11860      aDarwin_Stdint_3Tests,   apzDarwin_Stdint_3Patch, 0 },
11862   {  zDarwin_Stdint_4Name,    zDarwin_Stdint_4List,
11863      apzDarwin_Stdint_4Machs,
11864      DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11865      aDarwin_Stdint_4Tests,   apzDarwin_Stdint_4Patch, 0 },
11867   {  zDarwin_Stdint_5Name,    zDarwin_Stdint_5List,
11868      apzDarwin_Stdint_5Machs,
11869      DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11870      aDarwin_Stdint_5Tests,   apzDarwin_Stdint_5Patch, 0 },
11872   {  zDarwin_Stdint_6Name,    zDarwin_Stdint_6List,
11873      apzDarwin_Stdint_6Machs,
11874      DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11875      aDarwin_Stdint_6Tests,   apzDarwin_Stdint_6Patch, 0 },
11877   {  zDarwin_Stdint_7Name,    zDarwin_Stdint_7List,
11878      apzDarwin_Stdint_7Machs,
11879      DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11880      aDarwin_Stdint_7Tests,   apzDarwin_Stdint_7Patch, 0 },
11882   {  zDarwin_Ucred__AtomicName,    zDarwin_Ucred__AtomicList,
11883      apzDarwin_Ucred__AtomicMachs,
11884      DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11885      aDarwin_Ucred__AtomicTests,   apzDarwin_Ucred__AtomicPatch, 0 },
11887   {  zDarwin_Flt_Eval_MethodName,    zDarwin_Flt_Eval_MethodList,
11888      apzDarwin_Flt_Eval_MethodMachs,
11889      DARWIN_FLT_EVAL_METHOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11890      aDarwin_Flt_Eval_MethodTests,   apzDarwin_Flt_Eval_MethodPatch, 0 },
11892   {  zDec_Intern_AsmName,    zDec_Intern_AsmList,
11893      apzDec_Intern_AsmMachs,
11894      DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
11895      aDec_Intern_AsmTests,   apzDec_Intern_AsmPatch, 0 },
11897   {  zDjgpp_Wchar_HName,    zDjgpp_Wchar_HList,
11898      apzDjgpp_Wchar_HMachs,
11899      DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11900      aDjgpp_Wchar_HTests,   apzDjgpp_Wchar_HPatch, 0 },
11902   {  zEcd_CursorName,    zEcd_CursorList,
11903      apzEcd_CursorMachs,
11904      ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11905      aEcd_CursorTests,   apzEcd_CursorPatch, 0 },
11907   {  zFeraiseexcept_Nosse_DivbyzeroName,    zFeraiseexcept_Nosse_DivbyzeroList,
11908      apzFeraiseexcept_Nosse_DivbyzeroMachs,
11909      FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11910      aFeraiseexcept_Nosse_DivbyzeroTests,   apzFeraiseexcept_Nosse_DivbyzeroPatch, 0 },
11912   {  zFeraiseexcept_Nosse_InvalidName,    zFeraiseexcept_Nosse_InvalidList,
11913      apzFeraiseexcept_Nosse_InvalidMachs,
11914      FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11915      aFeraiseexcept_Nosse_InvalidTests,   apzFeraiseexcept_Nosse_InvalidPatch, 0 },
11917   {  zFreebsd_Gcc3_BreakageName,    zFreebsd_Gcc3_BreakageList,
11918      apzFreebsd_Gcc3_BreakageMachs,
11919      FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11920      aFreebsd_Gcc3_BreakageTests,   apzFreebsd_Gcc3_BreakagePatch, 0 },
11922   {  zFreebsd_Gcc4_BreakageName,    zFreebsd_Gcc4_BreakageList,
11923      apzFreebsd_Gcc4_BreakageMachs,
11924      FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11925      aFreebsd_Gcc4_BreakageTests,   apzFreebsd_Gcc4_BreakagePatch, 0 },
11927   {  zGlibc_C99_Inline_1Name,    zGlibc_C99_Inline_1List,
11928      apzGlibc_C99_Inline_1Machs,
11929      GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11930      aGlibc_C99_Inline_1Tests,   apzGlibc_C99_Inline_1Patch, 0 },
11932   {  zGlibc_C99_Inline_1aName,    zGlibc_C99_Inline_1aList,
11933      apzGlibc_C99_Inline_1aMachs,
11934      GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11935      aGlibc_C99_Inline_1aTests,   apzGlibc_C99_Inline_1aPatch, 0 },
11937   {  zGlibc_C99_Inline_2Name,    zGlibc_C99_Inline_2List,
11938      apzGlibc_C99_Inline_2Machs,
11939      GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
11940      aGlibc_C99_Inline_2Tests,   apzGlibc_C99_Inline_2Patch, 0 },
11942   {  zGlibc_C99_Inline_3Name,    zGlibc_C99_Inline_3List,
11943      apzGlibc_C99_Inline_3Machs,
11944      GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11945      aGlibc_C99_Inline_3Tests,   apzGlibc_C99_Inline_3Patch, 0 },
11947   {  zGlibc_C99_Inline_4Name,    zGlibc_C99_Inline_4List,
11948      apzGlibc_C99_Inline_4Machs,
11949      GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11950      aGlibc_C99_Inline_4Tests,   apzGlibc_C99_Inline_4Patch, 0 },
11952   {  zGlibc_Cxx_Floatn_1Name,    zGlibc_Cxx_Floatn_1List,
11953      apzGlibc_Cxx_Floatn_1Machs,
11954      GLIBC_CXX_FLOATN_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11955      aGlibc_Cxx_Floatn_1Tests,   apzGlibc_Cxx_Floatn_1Patch, 0 },
11957   {  zGlibc_Cxx_Floatn_2Name,    zGlibc_Cxx_Floatn_2List,
11958      apzGlibc_Cxx_Floatn_2Machs,
11959      GLIBC_CXX_FLOATN_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11960      aGlibc_Cxx_Floatn_2Tests,   apzGlibc_Cxx_Floatn_2Patch, 0 },
11962   {  zGlibc_Cxx_Floatn_3Name,    zGlibc_Cxx_Floatn_3List,
11963      apzGlibc_Cxx_Floatn_3Machs,
11964      GLIBC_CXX_FLOATN_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11965      aGlibc_Cxx_Floatn_3Tests,   apzGlibc_Cxx_Floatn_3Patch, 0 },
11967   {  zGlibc_Cxx_Floatn_4Name,    zGlibc_Cxx_Floatn_4List,
11968      apzGlibc_Cxx_Floatn_4Machs,
11969      GLIBC_CXX_FLOATN_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11970      aGlibc_Cxx_Floatn_4Tests,   apzGlibc_Cxx_Floatn_4Patch, 0 },
11972   {  zGlibc_Cxx_Floatn_5Name,    zGlibc_Cxx_Floatn_5List,
11973      apzGlibc_Cxx_Floatn_5Machs,
11974      GLIBC_CXX_FLOATN_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11975      aGlibc_Cxx_Floatn_5Tests,   apzGlibc_Cxx_Floatn_5Patch, 0 },
11977   {  zGlibc_Mutex_InitName,    zGlibc_Mutex_InitList,
11978      apzGlibc_Mutex_InitMachs,
11979      GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11980      aGlibc_Mutex_InitTests,   apzGlibc_Mutex_InitPatch, 0 },
11982   {  zGlibc_StdintName,    zGlibc_StdintList,
11983      apzGlibc_StdintMachs,
11984      GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11985      aGlibc_StdintTests,   apzGlibc_StdintPatch, 0 },
11987   {  zGlibc_StrncpyName,    zGlibc_StrncpyList,
11988      apzGlibc_StrncpyMachs,
11989      GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11990      aGlibc_StrncpyTests,   apzGlibc_StrncpyPatch, 0 },
11992   {  zGlibc_TgmathName,    zGlibc_TgmathList,
11993      apzGlibc_TgmathMachs,
11994      GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11995      aGlibc_TgmathTests,   apzGlibc_TgmathPatch, 0 },
11997   {  zGnu_TypesName,    zGnu_TypesList,
11998      apzGnu_TypesMachs,
11999      GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
12000      aGnu_TypesTests,   apzGnu_TypesPatch, 0 },
12002   {  zHp_InlineName,    zHp_InlineList,
12003      apzHp_InlineMachs,
12004      HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12005      aHp_InlineTests,   apzHp_InlinePatch, 0 },
12007   {  zHp_SysfileName,    zHp_SysfileList,
12008      apzHp_SysfileMachs,
12009      HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12010      aHp_SysfileTests,   apzHp_SysfilePatch, 0 },
12012   {  zHppa_Hpux_Fp_MacrosName,    zHppa_Hpux_Fp_MacrosList,
12013      apzHppa_Hpux_Fp_MacrosMachs,
12014      HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12015      aHppa_Hpux_Fp_MacrosTests,   apzHppa_Hpux_Fp_MacrosPatch, 0 },
12017   {  zHpux10_Cpp_Pow_InlineName,    zHpux10_Cpp_Pow_InlineList,
12018      apzHpux10_Cpp_Pow_InlineMachs,
12019      HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12020      aHpux10_Cpp_Pow_InlineTests,   apzHpux10_Cpp_Pow_InlinePatch, 0 },
12022   {  zHpux11_Cpp_Pow_InlineName,    zHpux11_Cpp_Pow_InlineList,
12023      apzHpux11_Cpp_Pow_InlineMachs,
12024      HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12025      aHpux11_Cpp_Pow_InlineTests,   apzHpux11_Cpp_Pow_InlinePatch, 0 },
12027   {  zHpux_Math_ConstexprName,    zHpux_Math_ConstexprList,
12028      apzHpux_Math_ConstexprMachs,
12029      HPUX_MATH_CONSTEXPR_TEST_CT, FD_MACH_ONLY,
12030      aHpux_Math_ConstexprTests,   apzHpux_Math_ConstexprPatch, 0 },
12032   {  zHpux10_Ctype_Declarations1Name,    zHpux10_Ctype_Declarations1List,
12033      apzHpux10_Ctype_Declarations1Machs,
12034      HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12035      aHpux10_Ctype_Declarations1Tests,   apzHpux10_Ctype_Declarations1Patch, 0 },
12037   {  zHpux10_Ctype_Declarations2Name,    zHpux10_Ctype_Declarations2List,
12038      apzHpux10_Ctype_Declarations2Machs,
12039      HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12040      aHpux10_Ctype_Declarations2Tests,   apzHpux10_Ctype_Declarations2Patch, 0 },
12042   {  zHpux10_Stdio_DeclarationsName,    zHpux10_Stdio_DeclarationsList,
12043      apzHpux10_Stdio_DeclarationsMachs,
12044      HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12045      aHpux10_Stdio_DeclarationsTests,   apzHpux10_Stdio_DeclarationsPatch, 0 },
12047   {  zHppa_Hpux11_AllocaName,    zHppa_Hpux11_AllocaList,
12048      apzHppa_Hpux11_AllocaMachs,
12049      HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12050      aHppa_Hpux11_AllocaTests,   apzHppa_Hpux11_AllocaPatch, 0 },
12052   {  zHpux11_AbsName,    zHpux11_AbsList,
12053      apzHpux11_AbsMachs,
12054      HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12055      aHpux11_AbsTests,   apzHpux11_AbsPatch, 0 },
12057   {  zHpux11_Lwp_Rwlock_ValidName,    zHpux11_Lwp_Rwlock_ValidList,
12058      apzHpux11_Lwp_Rwlock_ValidMachs,
12059      HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12060      aHpux11_Lwp_Rwlock_ValidTests,   apzHpux11_Lwp_Rwlock_ValidPatch, 0 },
12062   {  zHpux11_Extern_SendfileName,    zHpux11_Extern_SendfileList,
12063      apzHpux11_Extern_SendfileMachs,
12064      HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12065      aHpux11_Extern_SendfileTests,   apzHpux11_Extern_SendfilePatch, 0 },
12067   {  zHpux11_Extern_SendpathName,    zHpux11_Extern_SendpathList,
12068      apzHpux11_Extern_SendpathMachs,
12069      HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12070      aHpux11_Extern_SendpathTests,   apzHpux11_Extern_SendpathPatch, 0 },
12072   {  zHpux11_FabsfName,    zHpux11_FabsfList,
12073      apzHpux11_FabsfMachs,
12074      HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12075      aHpux11_FabsfTests,   apzHpux11_FabsfPatch, 0 },
12077   {  zHpux11_Pthread_PointerName,    zHpux11_Pthread_PointerList,
12078      apzHpux11_Pthread_PointerMachs,
12079      HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12080      aHpux11_Pthread_PointerTests,   apzHpux11_Pthread_PointerPatch, 0 },
12082   {  zHpux11_Pthread_ConstName,    zHpux11_Pthread_ConstList,
12083      apzHpux11_Pthread_ConstMachs,
12084      HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12085      aHpux11_Pthread_ConstTests,   apzHpux11_Pthread_ConstPatch, 0 },
12087   {  zHpux11_Size_TName,    zHpux11_Size_TList,
12088      apzHpux11_Size_TMachs,
12089      HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12090      aHpux11_Size_TTests,   apzHpux11_Size_TPatch, 0 },
12092   {  zHpux11_SnprintfName,    zHpux11_SnprintfList,
12093      apzHpux11_SnprintfMachs,
12094      HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12095      aHpux11_SnprintfTests,   apzHpux11_SnprintfPatch, 0 },
12097   {  zHpux11_VsnprintfName,    zHpux11_VsnprintfList,
12098      apzHpux11_VsnprintfMachs,
12099      HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12100      aHpux11_VsnprintfTests,   apzHpux11_VsnprintfPatch, 0 },
12102   {  zHpux_VsscanfName,    zHpux_VsscanfList,
12103      apzHpux_VsscanfMachs,
12104      HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12105      aHpux_VsscanfTests,   apzHpux_VsscanfPatch, 0 },
12107   {  zHpux8_Bogus_InlinesName,    zHpux8_Bogus_InlinesList,
12108      apzHpux8_Bogus_InlinesMachs,
12109      HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
12110      aHpux8_Bogus_InlinesTests,   apzHpux8_Bogus_InlinesPatch, 0 },
12112   {  zHpux_C99_IntptrName,    zHpux_C99_IntptrList,
12113      apzHpux_C99_IntptrMachs,
12114      HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
12115      aHpux_C99_IntptrTests,   apzHpux_C99_IntptrPatch, 0 },
12117   {  zHpux_C99_InttypesName,    zHpux_C99_InttypesList,
12118      apzHpux_C99_InttypesMachs,
12119      HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
12120      aHpux_C99_InttypesTests,   apzHpux_C99_InttypesPatch, 0 },
12122   {  zHpux_C99_Inttypes2Name,    zHpux_C99_Inttypes2List,
12123      apzHpux_C99_Inttypes2Machs,
12124      HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
12125      aHpux_C99_Inttypes2Tests,   apzHpux_C99_Inttypes2Patch, 0 },
12127   {  zHpux_C99_Inttypes3Name,    zHpux_C99_Inttypes3List,
12128      apzHpux_C99_Inttypes3Machs,
12129      HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12130      aHpux_C99_Inttypes3Tests,   apzHpux_C99_Inttypes3Patch, 0 },
12132   {  zHpux_C99_Inttypes4Name,    zHpux_C99_Inttypes4List,
12133      apzHpux_C99_Inttypes4Machs,
12134      HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
12135      aHpux_C99_Inttypes4Tests,   apzHpux_C99_Inttypes4Patch, 0 },
12137   {  zHpux_C99_Inttypes5Name,    zHpux_C99_Inttypes5List,
12138      apzHpux_C99_Inttypes5Machs,
12139      HPUX_C99_INTTYPES5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12140      aHpux_C99_Inttypes5Tests,   apzHpux_C99_Inttypes5Patch, 0 },
12142   {  zHpux_Ctype_MacrosName,    zHpux_Ctype_MacrosList,
12143      apzHpux_Ctype_MacrosMachs,
12144      HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12145      aHpux_Ctype_MacrosTests,   apzHpux_Ctype_MacrosPatch, 0 },
12147   {  zHpux_Extern_ErrnoName,    zHpux_Extern_ErrnoList,
12148      apzHpux_Extern_ErrnoMachs,
12149      HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12150      aHpux_Extern_ErrnoTests,   apzHpux_Extern_ErrnoPatch, 0 },
12152   {  zHpux_HtonlName,    zHpux_HtonlList,
12153      apzHpux_HtonlMachs,
12154      HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12155      aHpux_HtonlTests,   apzHpux_HtonlPatch, 0 },
12157   {  zHpux_Imaginary_IName,    zHpux_Imaginary_IList,
12158      apzHpux_Imaginary_IMachs,
12159      HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12160      aHpux_Imaginary_ITests,   apzHpux_Imaginary_IPatch, 0 },
12162   {  zHpux_Inttype_Int8_TName,    zHpux_Inttype_Int8_TList,
12163      apzHpux_Inttype_Int8_TMachs,
12164      HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12165      aHpux_Inttype_Int8_TTests,   apzHpux_Inttype_Int8_TPatch, 0 },
12167   {  zHpux_Long_DoubleName,    zHpux_Long_DoubleList,
12168      apzHpux_Long_DoubleMachs,
12169      HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
12170      aHpux_Long_DoubleTests,   apzHpux_Long_DoublePatch, 0 },
12172   {  zHpux_Long_Double_2Name,    zHpux_Long_Double_2List,
12173      apzHpux_Long_Double_2Machs,
12174      HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12175      aHpux_Long_Double_2Tests,   apzHpux_Long_Double_2Patch, 0 },
12177   {  zHpux_Pthread_InitializersName,    zHpux_Pthread_InitializersList,
12178      apzHpux_Pthread_InitializersMachs,
12179      HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
12180      aHpux_Pthread_InitializersTests,   apzHpux_Pthread_InitializersPatch, 0 },
12182   {  zHpux_Spu_InfoName,    zHpux_Spu_InfoList,
12183      apzHpux_Spu_InfoMachs,
12184      HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12185      aHpux_Spu_InfoTests,   apzHpux_Spu_InfoPatch, 0 },
12187   {  zHpux_Stdint_Least_FastName,    zHpux_Stdint_Least_FastList,
12188      apzHpux_Stdint_Least_FastMachs,
12189      HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12190      aHpux_Stdint_Least_FastTests,   apzHpux_Stdint_Least_FastPatch, 0 },
12192   {  zHpux_LongjmpName,    zHpux_LongjmpList,
12193      apzHpux_LongjmpMachs,
12194      HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12195      aHpux_LongjmpTests,   apzHpux_LongjmpPatch, 0 },
12197   {  zHpux_SystimeName,    zHpux_SystimeList,
12198      apzHpux_SystimeMachs,
12199      HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12200      aHpux_SystimeTests,   apzHpux_SystimePatch, 0 },
12202   {  zHuge_Val_HexName,    zHuge_Val_HexList,
12203      apzHuge_Val_HexMachs,
12204      HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12205      aHuge_Val_HexTests,   apzHuge_Val_HexPatch, 0 },
12207   {  zHuge_Valf_HexName,    zHuge_Valf_HexList,
12208      apzHuge_Valf_HexMachs,
12209      HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12210      aHuge_Valf_HexTests,   apzHuge_Valf_HexPatch, 0 },
12212   {  zHuge_Vall_HexName,    zHuge_Vall_HexList,
12213      apzHuge_Vall_HexMachs,
12214      HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12215      aHuge_Vall_HexTests,   apzHuge_Vall_HexPatch, 0 },
12217   {  zInt_Abort_Free_And_ExitName,    zInt_Abort_Free_And_ExitList,
12218      apzInt_Abort_Free_And_ExitMachs,
12219      INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12220      aInt_Abort_Free_And_ExitTests,   apzInt_Abort_Free_And_ExitPatch, 0 },
12222   {  zIo_Quotes_DefName,    zIo_Quotes_DefList,
12223      apzIo_Quotes_DefMachs,
12224      IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12225      aIo_Quotes_DefTests,   apzIo_Quotes_DefPatch, 0 },
12227   {  zIo_Quotes_UseName,    zIo_Quotes_UseList,
12228      apzIo_Quotes_UseMachs,
12229      IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12230      aIo_Quotes_UseTests,   apzIo_Quotes_UsePatch, 0 },
12232   {  zIp_Missing_SemiName,    zIp_Missing_SemiList,
12233      apzIp_Missing_SemiMachs,
12234      IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
12235      aIp_Missing_SemiTests,   apzIp_Missing_SemiPatch, 0 },
12237   {  zIrix_Limits_ConstName,    zIrix_Limits_ConstList,
12238      apzIrix_Limits_ConstMachs,
12239      IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12240      aIrix_Limits_ConstTests,   apzIrix_Limits_ConstPatch, 0 },
12242   {  zIrix_Stdio_Va_ListName,    zIrix_Stdio_Va_ListList,
12243      apzIrix_Stdio_Va_ListMachs,
12244      IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12245      aIrix_Stdio_Va_ListTests,   apzIrix_Stdio_Va_ListPatch, 0 },
12247   {  zKandr_ConcatName,    zKandr_ConcatList,
12248      apzKandr_ConcatMachs,
12249      KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12250      aKandr_ConcatTests,   apzKandr_ConcatPatch, 0 },
12252   {  zLinux_Ia64_UcontextName,    zLinux_Ia64_UcontextList,
12253      apzLinux_Ia64_UcontextMachs,
12254      LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12255      aLinux_Ia64_UcontextTests,   apzLinux_Ia64_UcontextPatch, 0 },
12257   {  zLynxos_No_Warning_In_Sys_Time_HName,    zLynxos_No_Warning_In_Sys_Time_HList,
12258      apzLynxos_No_Warning_In_Sys_Time_HMachs,
12259      LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12260      aLynxos_No_Warning_In_Sys_Time_HTests,   apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
12262   {  zLynxos_Missing_PutenvName,    zLynxos_Missing_PutenvList,
12263      apzLynxos_Missing_PutenvMachs,
12264      LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12265      aLynxos_Missing_PutenvTests,   apzLynxos_Missing_PutenvPatch, 0 },
12267   {  zMachine_Ansi_H_Va_ListName,    zMachine_Ansi_H_Va_ListList,
12268      apzMachine_Ansi_H_Va_ListMachs,
12269      MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12270      aMachine_Ansi_H_Va_ListTests,   apzMachine_Ansi_H_Va_ListPatch, 0 },
12272   {  zMachine_NameName,    zMachine_NameList,
12273      apzMachine_NameMachs,
12274      MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12275      aMachine_NameTests,   apzMachine_NamePatch, 0 },
12277   {  zMath_ExceptionName,    zMath_ExceptionList,
12278      apzMath_ExceptionMachs,
12279      MATH_EXCEPTION_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
12280      aMath_ExceptionTests,   apzMath_ExceptionPatch, 0 },
12282   {  zMath_Huge_Val_From_Dbl_MaxName,    zMath_Huge_Val_From_Dbl_MaxList,
12283      apzMath_Huge_Val_From_Dbl_MaxMachs,
12284      MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
12285      aMath_Huge_Val_From_Dbl_MaxTests,   apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
12287   {  zNested_Auth_DesName,    zNested_Auth_DesList,
12288      apzNested_Auth_DesMachs,
12289      NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12290      aNested_Auth_DesTests,   apzNested_Auth_DesPatch, 0 },
12292   {  zNetbsd_C99_Inline_1Name,    zNetbsd_C99_Inline_1List,
12293      apzNetbsd_C99_Inline_1Machs,
12294      NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12295      aNetbsd_C99_Inline_1Tests,   apzNetbsd_C99_Inline_1Patch, 0 },
12297   {  zNetbsd_C99_Inline_2Name,    zNetbsd_C99_Inline_2List,
12298      apzNetbsd_C99_Inline_2Machs,
12299      NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12300      aNetbsd_C99_Inline_2Tests,   apzNetbsd_C99_Inline_2Patch, 0 },
12302   {  zNetbsd_Extra_SemicolonName,    zNetbsd_Extra_SemicolonList,
12303      apzNetbsd_Extra_SemicolonMachs,
12304      NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12305      aNetbsd_Extra_SemicolonTests,   apzNetbsd_Extra_SemicolonPatch, 0 },
12307   {  zNewlib_Stdint_1Name,    zNewlib_Stdint_1List,
12308      apzNewlib_Stdint_1Machs,
12309      NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
12310      aNewlib_Stdint_1Tests,   apzNewlib_Stdint_1Patch, 0 },
12312   {  zNewlib_Stdint_2Name,    zNewlib_Stdint_2List,
12313      apzNewlib_Stdint_2Machs,
12314      NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12315      aNewlib_Stdint_2Tests,   apzNewlib_Stdint_2Patch, 0 },
12317   {  zNext_Math_PrefixName,    zNext_Math_PrefixList,
12318      apzNext_Math_PrefixMachs,
12319      NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12320      aNext_Math_PrefixTests,   apzNext_Math_PrefixPatch, 0 },
12322   {  zNext_TemplateName,    zNext_TemplateList,
12323      apzNext_TemplateMachs,
12324      NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12325      aNext_TemplateTests,   apzNext_TemplatePatch, 0 },
12327   {  zNext_VolitileName,    zNext_VolitileList,
12328      apzNext_VolitileMachs,
12329      NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12330      aNext_VolitileTests,   apzNext_VolitilePatch, 0 },
12332   {  zNext_Wait_UnionName,    zNext_Wait_UnionList,
12333      apzNext_Wait_UnionMachs,
12334      NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12335      aNext_Wait_UnionTests,   apzNext_Wait_UnionPatch, 0 },
12337   {  zNodeent_SyntaxName,    zNodeent_SyntaxList,
12338      apzNodeent_SyntaxMachs,
12339      NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12340      aNodeent_SyntaxTests,   apzNodeent_SyntaxPatch, 0 },
12342   {  zOpenbsd_Null_DefinitionName,    zOpenbsd_Null_DefinitionList,
12343      apzOpenbsd_Null_DefinitionMachs,
12344      OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12345      aOpenbsd_Null_DefinitionTests,   apzOpenbsd_Null_DefinitionPatch, 0 },
12347   {  zObstack_Lvalue_CastName,    zObstack_Lvalue_CastList,
12348      apzObstack_Lvalue_CastMachs,
12349      OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12350      aObstack_Lvalue_CastTests,   apzObstack_Lvalue_CastPatch, 0 },
12352   {  zOpenbsd_Va_StartName,    zOpenbsd_Va_StartList,
12353      apzOpenbsd_Va_StartMachs,
12354      OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12355      aOpenbsd_Va_StartTests,   apzOpenbsd_Va_StartPatch, 0 },
12357   {  zOsf_Namespace_AName,    zOsf_Namespace_AList,
12358      apzOsf_Namespace_AMachs,
12359      OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12360      aOsf_Namespace_ATests,   apzOsf_Namespace_APatch, 0 },
12362   {  zOsf_Namespace_CName,    zOsf_Namespace_CList,
12363      apzOsf_Namespace_CMachs,
12364      OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12365      aOsf_Namespace_CTests,   apzOsf_Namespace_CPatch, 0 },
12367   {  zPthread_Incomplete_Struct_ArgumentName,    zPthread_Incomplete_Struct_ArgumentList,
12368      apzPthread_Incomplete_Struct_ArgumentMachs,
12369      PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12370      aPthread_Incomplete_Struct_ArgumentTests,   apzPthread_Incomplete_Struct_ArgumentPatch, 0 },
12372   {  zRead_Ret_TypeName,    zRead_Ret_TypeList,
12373      apzRead_Ret_TypeMachs,
12374      READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12375      aRead_Ret_TypeTests,   apzRead_Ret_TypePatch, 0 },
12377   {  zRpc_Xdr_Lvalue_Cast_AName,    zRpc_Xdr_Lvalue_Cast_AList,
12378      apzRpc_Xdr_Lvalue_Cast_AMachs,
12379      RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12380      aRpc_Xdr_Lvalue_Cast_ATests,   apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
12382   {  zRpc_Xdr_Lvalue_Cast_BName,    zRpc_Xdr_Lvalue_Cast_BList,
12383      apzRpc_Xdr_Lvalue_Cast_BMachs,
12384      RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12385      aRpc_Xdr_Lvalue_Cast_BTests,   apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
12387   {  zRs6000_DoubleName,    zRs6000_DoubleList,
12388      apzRs6000_DoubleMachs,
12389      RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12390      aRs6000_DoubleTests,   apzRs6000_DoublePatch, 0 },
12392   {  zRs6000_FchmodName,    zRs6000_FchmodList,
12393      apzRs6000_FchmodMachs,
12394      RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12395      aRs6000_FchmodTests,   apzRs6000_FchmodPatch, 0 },
12397   {  zRs6000_ParamName,    zRs6000_ParamList,
12398      apzRs6000_ParamMachs,
12399      RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12400      aRs6000_ParamTests,   apzRs6000_ParamPatch, 0 },
12402   {  zSolaris___RestrictName,    zSolaris___RestrictList,
12403      apzSolaris___RestrictMachs,
12404      SOLARIS___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12405      aSolaris___RestrictTests,   apzSolaris___RestrictPatch, 0 },
12407   {  zSolaris_ComplexName,    zSolaris_ComplexList,
12408      apzSolaris_ComplexMachs,
12409      SOLARIS_COMPLEX_TEST_CT, FD_MACH_ONLY,
12410      aSolaris_ComplexTests,   apzSolaris_ComplexPatch, 0 },
12412   {  zSolaris_Complex_CxxName,    zSolaris_Complex_CxxList,
12413      apzSolaris_Complex_CxxMachs,
12414      SOLARIS_COMPLEX_CXX_TEST_CT, FD_MACH_ONLY,
12415      aSolaris_Complex_CxxTests,   apzSolaris_Complex_CxxPatch, 0 },
12417   {  zSolaris_Cxx_LinkageName,    zSolaris_Cxx_LinkageList,
12418      apzSolaris_Cxx_LinkageMachs,
12419      SOLARIS_CXX_LINKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12420      aSolaris_Cxx_LinkageTests,   apzSolaris_Cxx_LinkagePatch, 0 },
12422   {  zSolaris_Getc_Strict_StdcName,    zSolaris_Getc_Strict_StdcList,
12423      apzSolaris_Getc_Strict_StdcMachs,
12424      SOLARIS_GETC_STRICT_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12425      aSolaris_Getc_Strict_StdcTests,   apzSolaris_Getc_Strict_StdcPatch, 0 },
12427   {  zSolaris_Gets_C11Name,    zSolaris_Gets_C11List,
12428      apzSolaris_Gets_C11Machs,
12429      SOLARIS_GETS_C11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12430      aSolaris_Gets_C11Tests,   apzSolaris_Gets_C11Patch, 0 },
12432   {  zSolaris_Gets_Cxx14Name,    zSolaris_Gets_Cxx14List,
12433      apzSolaris_Gets_Cxx14Machs,
12434      SOLARIS_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12435      aSolaris_Gets_Cxx14Tests,   apzSolaris_Gets_Cxx14Patch, 0 },
12437   {  zSolaris_Int_ConstName,    zSolaris_Int_ConstList,
12438      apzSolaris_Int_ConstMachs,
12439      SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12440      aSolaris_Int_ConstTests,   apzSolaris_Int_ConstPatch, 0 },
12442   {  zSolaris_Int_Limits_1Name,    zSolaris_Int_Limits_1List,
12443      apzSolaris_Int_Limits_1Machs,
12444      SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12445      aSolaris_Int_Limits_1Tests,   apzSolaris_Int_Limits_1Patch, 0 },
12447   {  zSolaris_Int_Limits_2Name,    zSolaris_Int_Limits_2List,
12448      apzSolaris_Int_Limits_2Machs,
12449      SOLARIS_INT_LIMITS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12450      aSolaris_Int_Limits_2Tests,   apzSolaris_Int_Limits_2Patch, 0 },
12452   {  zSolaris_Int_Limits_3Name,    zSolaris_Int_Limits_3List,
12453      apzSolaris_Int_Limits_3Machs,
12454      SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12455      aSolaris_Int_Limits_3Tests,   apzSolaris_Int_Limits_3Patch, 0 },
12457   {  zSolaris_Math_1Name,    zSolaris_Math_1List,
12458      apzSolaris_Math_1Machs,
12459      SOLARIS_MATH_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12460      aSolaris_Math_1Tests,   apzSolaris_Math_1Patch, 0 },
12462   {  zSolaris_Math_10Name,    zSolaris_Math_10List,
12463      apzSolaris_Math_10Machs,
12464      SOLARIS_MATH_10_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12465      aSolaris_Math_10Tests,   apzSolaris_Math_10Patch, 0 },
12467   {  zSolaris_Math_2Name,    zSolaris_Math_2List,
12468      apzSolaris_Math_2Machs,
12469      SOLARIS_MATH_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12470      aSolaris_Math_2Tests,   apzSolaris_Math_2Patch, 0 },
12472   {  zSolaris_Math_3Name,    zSolaris_Math_3List,
12473      apzSolaris_Math_3Machs,
12474      SOLARIS_MATH_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12475      aSolaris_Math_3Tests,   apzSolaris_Math_3Patch, 0 },
12477   {  zSolaris_Math_4Name,    zSolaris_Math_4List,
12478      apzSolaris_Math_4Machs,
12479      SOLARIS_MATH_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12480      aSolaris_Math_4Tests,   apzSolaris_Math_4Patch, 0 },
12482   {  zSolaris_Math_8Name,    zSolaris_Math_8List,
12483      apzSolaris_Math_8Machs,
12484      SOLARIS_MATH_8_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12485      aSolaris_Math_8Tests,   apzSolaris_Math_8Patch, 0 },
12487   {  zSolaris_Math_9Name,    zSolaris_Math_9List,
12488      apzSolaris_Math_9Machs,
12489      SOLARIS_MATH_9_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12490      aSolaris_Math_9Tests,   apzSolaris_Math_9Patch, 0 },
12492   {  zSolaris_Math_11Name,    zSolaris_Math_11List,
12493      apzSolaris_Math_11Machs,
12494      SOLARIS_MATH_11_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12495      aSolaris_Math_11Tests,   apzSolaris_Math_11Patch, 0 },
12497   {  zSolaris_Math_12Name,    zSolaris_Math_12List,
12498      apzSolaris_Math_12Machs,
12499      SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
12500      aSolaris_Math_12Tests,   apzSolaris_Math_12Patch, 0 },
12502   {  zSolaris_Once_Init_1Name,    zSolaris_Once_Init_1List,
12503      apzSolaris_Once_Init_1Machs,
12504      SOLARIS_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12505      aSolaris_Once_Init_1Tests,   apzSolaris_Once_Init_1Patch, 0 },
12507   {  zSolaris_Posix_Spawn_RestrictName,    zSolaris_Posix_Spawn_RestrictList,
12508      apzSolaris_Posix_Spawn_RestrictMachs,
12509      SOLARIS_POSIX_SPAWN_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12510      aSolaris_Posix_Spawn_RestrictTests,   apzSolaris_Posix_Spawn_RestrictPatch, 0 },
12512   {  zSolaris_Pow_Int_OverloadName,    zSolaris_Pow_Int_OverloadList,
12513      apzSolaris_Pow_Int_OverloadMachs,
12514      SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12515      aSolaris_Pow_Int_OverloadTests,   apzSolaris_Pow_Int_OverloadPatch, 0 },
12517   {  zSolaris_Rwlock_Init_1Name,    zSolaris_Rwlock_Init_1List,
12518      apzSolaris_Rwlock_Init_1Machs,
12519      SOLARIS_RWLOCK_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12520      aSolaris_Rwlock_Init_1Tests,   apzSolaris_Rwlock_Init_1Patch, 0 },
12522   {  zSolaris_Std___FilbufName,    zSolaris_Std___FilbufList,
12523      apzSolaris_Std___FilbufMachs,
12524      SOLARIS_STD___FILBUF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12525      aSolaris_Std___FilbufTests,   apzSolaris_Std___FilbufPatch, 0 },
12527   {  zSolaris_Std_Gets_Cxx14Name,    zSolaris_Std_Gets_Cxx14List,
12528      apzSolaris_Std_Gets_Cxx14Machs,
12529      SOLARIS_STD_GETS_CXX14_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12530      aSolaris_Std_Gets_Cxx14Tests,   apzSolaris_Std_Gets_Cxx14Patch, 0 },
12532   {  zSolaris_Stdio_TagName,    zSolaris_Stdio_TagList,
12533      apzSolaris_Stdio_TagMachs,
12534      SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
12535      aSolaris_Stdio_TagTests,   apzSolaris_Stdio_TagPatch, 0 },
12537   {  zSolaris_Stdlib_NoreturnName,    zSolaris_Stdlib_NoreturnList,
12538      apzSolaris_Stdlib_NoreturnMachs,
12539      SOLARIS_STDLIB_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12540      aSolaris_Stdlib_NoreturnTests,   apzSolaris_Stdlib_NoreturnPatch, 0 },
12542   {  zStatsswtchName,    zStatsswtchList,
12543      apzStatsswtchMachs,
12544      STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12545      aStatsswtchTests,   apzStatsswtchPatch, 0 },
12547   {  zStdio_Stdarg_HName,    zStdio_Stdarg_HList,
12548      apzStdio_Stdarg_HMachs,
12549      STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
12550      aStdio_Stdarg_HTests,   apzStdio_Stdarg_HPatch, 0 },
12552   {  zStdio_Va_ListName,    zStdio_Va_ListList,
12553      apzStdio_Va_ListMachs,
12554      STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
12555      aStdio_Va_ListTests,   apzStdio_Va_ListPatch, 0 },
12557   {  zStdio_Va_List_ClientsName,    zStdio_Va_List_ClientsList,
12558      apzStdio_Va_List_ClientsMachs,
12559      STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_ONLY,
12560      aStdio_Va_List_ClientsTests,   apzStdio_Va_List_ClientsPatch, 0 },
12562   {  zStrict_Ansi_NotName,    zStrict_Ansi_NotList,
12563      apzStrict_Ansi_NotMachs,
12564      STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12565      aStrict_Ansi_NotTests,   apzStrict_Ansi_NotPatch, 0 },
12567   {  zStrict_Ansi_Not_CtdName,    zStrict_Ansi_Not_CtdList,
12568      apzStrict_Ansi_Not_CtdMachs,
12569      STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12570      aStrict_Ansi_Not_CtdTests,   apzStrict_Ansi_Not_CtdPatch, 0 },
12572   {  zStrict_Ansi_OnlyName,    zStrict_Ansi_OnlyList,
12573      apzStrict_Ansi_OnlyMachs,
12574      STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12575      aStrict_Ansi_OnlyTests,   apzStrict_Ansi_OnlyPatch, 0 },
12577   {  zStruct_FileName,    zStruct_FileList,
12578      apzStruct_FileMachs,
12579      STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12580      aStruct_FileTests,   apzStruct_FilePatch, 0 },
12582   {  zStruct_SockaddrName,    zStruct_SockaddrList,
12583      apzStruct_SockaddrMachs,
12584      STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12585      aStruct_SockaddrTests,   apzStruct_SockaddrPatch, 0 },
12587   {  zSun_Auth_ProtoName,    zSun_Auth_ProtoList,
12588      apzSun_Auth_ProtoMachs,
12589      SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12590      aSun_Auth_ProtoTests,   apzSun_Auth_ProtoPatch, 0 },
12592   {  zSun_Bogus_IfdefName,    zSun_Bogus_IfdefList,
12593      apzSun_Bogus_IfdefMachs,
12594      SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12595      aSun_Bogus_IfdefTests,   apzSun_Bogus_IfdefPatch, 0 },
12597   {  zSun_CatmacroName,    zSun_CatmacroList,
12598      apzSun_CatmacroMachs,
12599      SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12600      aSun_CatmacroTests,   apzSun_CatmacroPatch, 0 },
12602   {  zSun_MallocName,    zSun_MallocList,
12603      apzSun_MallocMachs,
12604      SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
12605      aSun_MallocTests,   apzSun_MallocPatch, 0 },
12607   {  zSun_Rusers_SemiName,    zSun_Rusers_SemiList,
12608      apzSun_Rusers_SemiMachs,
12609      SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
12610      aSun_Rusers_SemiTests,   apzSun_Rusers_SemiPatch, 0 },
12612   {  zSun_SignalName,    zSun_SignalList,
12613      apzSun_SignalMachs,
12614      SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12615      aSun_SignalTests,   apzSun_SignalPatch, 0 },
12617   {  zSunos_StrlenName,    zSunos_StrlenList,
12618      apzSunos_StrlenMachs,
12619      SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12620      aSunos_StrlenTests,   apzSunos_StrlenPatch, 0 },
12622   {  zSuse_Linux_Vt_CxxName,    zSuse_Linux_Vt_CxxList,
12623      apzSuse_Linux_Vt_CxxMachs,
12624      SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12625      aSuse_Linux_Vt_CxxTests,   apzSuse_Linux_Vt_CxxPatch, 0 },
12627   {  zSvr4_Disable_OptName,    zSvr4_Disable_OptList,
12628      apzSvr4_Disable_OptMachs,
12629      SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
12630      aSvr4_Disable_OptTests,   apzSvr4_Disable_OptPatch, 0 },
12632   {  zSvr4_GetcwdName,    zSvr4_GetcwdList,
12633      apzSvr4_GetcwdMachs,
12634      SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12635      aSvr4_GetcwdTests,   apzSvr4_GetcwdPatch, 0 },
12637   {  zSvr4_ProfilName,    zSvr4_ProfilList,
12638      apzSvr4_ProfilMachs,
12639      SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12640      aSvr4_ProfilTests,   apzSvr4_ProfilPatch, 0 },
12642   {  zSvr4_Sighandler_TypeName,    zSvr4_Sighandler_TypeList,
12643      apzSvr4_Sighandler_TypeMachs,
12644      SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12645      aSvr4_Sighandler_TypeTests,   apzSvr4_Sighandler_TypePatch, 0 },
12647   {  zSvr4_Undeclared_GetrngeName,    zSvr4_Undeclared_GetrngeList,
12648      apzSvr4_Undeclared_GetrngeMachs,
12649      SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12650      aSvr4_Undeclared_GetrngeTests,   apzSvr4_Undeclared_GetrngePatch, 0 },
12652   {  zSysv68_StringName,    zSysv68_StringList,
12653      apzSysv68_StringMachs,
12654      SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
12655      aSysv68_StringTests,   apzSysv68_StringPatch, 0 },
12657   {  zSysz_Stdlib_For_SunName,    zSysz_Stdlib_For_SunList,
12658      apzSysz_Stdlib_For_SunMachs,
12659      SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12660      aSysz_Stdlib_For_SunTests,   apzSysz_Stdlib_For_SunPatch, 0 },
12662   {  zThread_KeywordName,    zThread_KeywordList,
12663      apzThread_KeywordMachs,
12664      THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12665      aThread_KeywordTests,   apzThread_KeywordPatch, 0 },
12667   {  zTinfo_CplusplusName,    zTinfo_CplusplusList,
12668      apzTinfo_CplusplusMachs,
12669      TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12670      aTinfo_CplusplusTests,   apzTinfo_CplusplusPatch, 0 },
12672   {  zUltrix_ConstName,    zUltrix_ConstList,
12673      apzUltrix_ConstMachs,
12674      ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12675      aUltrix_ConstTests,   apzUltrix_ConstPatch, 0 },
12677   {  zUltrix_Const2Name,    zUltrix_Const2List,
12678      apzUltrix_Const2Machs,
12679      ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12680      aUltrix_Const2Tests,   apzUltrix_Const2Patch, 0 },
12682   {  zVa_I960_MacroName,    zVa_I960_MacroList,
12683      apzVa_I960_MacroMachs,
12684      VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12685      aVa_I960_MacroTests,   apzVa_I960_MacroPatch, 0 },
12687   {  zVms_Add_Missing_BracesName,    zVms_Add_Missing_BracesList,
12688      apzVms_Add_Missing_BracesMachs,
12689      VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12690      aVms_Add_Missing_BracesTests,   apzVms_Add_Missing_BracesPatch, 0 },
12692   {  zVms_Decc_BuiltinName,    zVms_Decc_BuiltinList,
12693      apzVms_Decc_BuiltinMachs,
12694      VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
12695      aVms_Decc_BuiltinTests,   apzVms_Decc_BuiltinPatch, 0 },
12697   {  zVms_Define_Can_Use_Extern_PrefixName,    zVms_Define_Can_Use_Extern_PrefixList,
12698      apzVms_Define_Can_Use_Extern_PrefixMachs,
12699      VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12700      aVms_Define_Can_Use_Extern_PrefixTests,   apzVms_Define_Can_Use_Extern_PrefixPatch, 0 },
12702   {  zVms_Disable_Decc_String_BuiltinsName,    zVms_Disable_Decc_String_BuiltinsList,
12703      apzVms_Disable_Decc_String_BuiltinsMachs,
12704      VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12705      aVms_Disable_Decc_String_BuiltinsTests,   apzVms_Disable_Decc_String_BuiltinsPatch, 0 },
12707   {  zVms_Do_Not_Redeclare_HostaliasName,    zVms_Do_Not_Redeclare_HostaliasList,
12708      apzVms_Do_Not_Redeclare_HostaliasMachs,
12709      VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12710      aVms_Do_Not_Redeclare_HostaliasTests,   apzVms_Do_Not_Redeclare_HostaliasPatch, 0 },
12712   {  zVms_Forward_Declare_StructName,    zVms_Forward_Declare_StructList,
12713      apzVms_Forward_Declare_StructMachs,
12714      VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12715      aVms_Forward_Declare_StructTests,   apzVms_Forward_Declare_StructPatch, 0 },
12717   {  zVms_No_64bit_GetoptName,    zVms_No_64bit_GetoptList,
12718      apzVms_No_64bit_GetoptMachs,
12719      VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12720      aVms_No_64bit_GetoptTests,   apzVms_No_64bit_GetoptPatch, 0 },
12722   {  zVms_Use_Fast_SetjmpName,    zVms_Use_Fast_SetjmpList,
12723      apzVms_Use_Fast_SetjmpMachs,
12724      VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12725      aVms_Use_Fast_SetjmpTests,   apzVms_Use_Fast_SetjmpPatch, 0 },
12727   {  zVms_Use_Pragma_Extern_ModelName,    zVms_Use_Pragma_Extern_ModelList,
12728      apzVms_Use_Pragma_Extern_ModelMachs,
12729      VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12730      aVms_Use_Pragma_Extern_ModelTests,   apzVms_Use_Pragma_Extern_ModelPatch, 0 },
12732   {  zVms_Use_Quoted_IncludeName,    zVms_Use_Quoted_IncludeList,
12733      apzVms_Use_Quoted_IncludeMachs,
12734      VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12735      aVms_Use_Quoted_IncludeTests,   apzVms_Use_Quoted_IncludePatch, 0 },
12737   {  zVoid_NullName,    zVoid_NullList,
12738      apzVoid_NullMachs,
12739      VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12740      aVoid_NullTests,   apzVoid_NullPatch, 0 },
12742   {  zVxworks_Gcc_ProblemName,    zVxworks_Gcc_ProblemList,
12743      apzVxworks_Gcc_ProblemMachs,
12744      VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
12745      aVxworks_Gcc_ProblemTests,   apzVxworks_Gcc_ProblemPatch, 0 },
12747   {  zVxworks_Ioctl_MacroName,    zVxworks_Ioctl_MacroList,
12748      apzVxworks_Ioctl_MacroMachs,
12749      VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12750      aVxworks_Ioctl_MacroTests,   apzVxworks_Ioctl_MacroPatch, 0 },
12752   {  zVxworks_Math_H_Fp_C99Name,    zVxworks_Math_H_Fp_C99List,
12753      apzVxworks_Math_H_Fp_C99Machs,
12754      VXWORKS_MATH_H_FP_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12755      aVxworks_Math_H_Fp_C99Tests,   apzVxworks_Math_H_Fp_C99Patch, 0 },
12757   {  zVxworks_Posix_MkdirName,    zVxworks_Posix_MkdirList,
12758      apzVxworks_Posix_MkdirMachs,
12759      VXWORKS_POSIX_MKDIR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12760      aVxworks_Posix_MkdirTests,   apzVxworks_Posix_MkdirPatch, 0 },
12762   {  zVxworks_Needs_VxtypesName,    zVxworks_Needs_VxtypesList,
12763      apzVxworks_Needs_VxtypesMachs,
12764      VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12765      aVxworks_Needs_VxtypesTests,   apzVxworks_Needs_VxtypesPatch, 0 },
12767   {  zVxworks_Needs_VxworksName,    zVxworks_Needs_VxworksList,
12768      apzVxworks_Needs_VxworksMachs,
12769      VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
12770      aVxworks_Needs_VxworksTests,   apzVxworks_Needs_VxworksPatch, 0 },
12772   {  zVxworks_Next_YvalsName,    zVxworks_Next_YvalsList,
12773      apzVxworks_Next_YvalsMachs,
12774      VXWORKS_NEXT_YVALS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12775      aVxworks_Next_YvalsTests,   apzVxworks_Next_YvalsPatch, 0 },
12777   {  zVxworks_RegsName,    zVxworks_RegsList,
12778      apzVxworks_RegsMachs,
12779      VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12780      aVxworks_RegsTests,   apzVxworks_RegsPatch, 0 },
12782   {  zVxworks_Posix_OpenName,    zVxworks_Posix_OpenList,
12783      apzVxworks_Posix_OpenMachs,
12784      VXWORKS_POSIX_OPEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12785      aVxworks_Posix_OpenTests,   apzVxworks_Posix_OpenPatch, 0 },
12787   {  zVxworks_TimeName,    zVxworks_TimeList,
12788      apzVxworks_TimeMachs,
12789      VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12790      aVxworks_TimeTests,   apzVxworks_TimePatch, 0 },
12792   {  zVxworks_Write_ConstName,    zVxworks_Write_ConstList,
12793      apzVxworks_Write_ConstMachs,
12794      VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12795      aVxworks_Write_ConstTests,   apzVxworks_Write_ConstPatch, 0 },
12797   {  zVxworks_Iolib_Include_UnistdName,    zVxworks_Iolib_Include_UnistdList,
12798      apzVxworks_Iolib_Include_UnistdMachs,
12799      VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12800      aVxworks_Iolib_Include_UnistdTests,   apzVxworks_Iolib_Include_UnistdPatch, 0 },
12802   {  zVxworks_Time_H_SyslibName,    zVxworks_Time_H_SyslibList,
12803      apzVxworks_Time_H_SyslibMachs,
12804      VXWORKS_TIME_H_SYSLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12805      aVxworks_Time_H_SyslibTests,   apzVxworks_Time_H_SyslibPatch, 0 },
12807   {  zX11_ClassName,    zX11_ClassList,
12808      apzX11_ClassMachs,
12809      X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12810      aX11_ClassTests,   apzX11_ClassPatch, 0 },
12812   {  zX11_Class_UsageName,    zX11_Class_UsageList,
12813      apzX11_Class_UsageMachs,
12814      X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12815      aX11_Class_UsageTests,   apzX11_Class_UsagePatch, 0 },
12817   {  zX11_NewName,    zX11_NewList,
12818      apzX11_NewMachs,
12819      X11_NEW_TEST_CT, FD_MACH_ONLY,
12820      aX11_NewTests,   apzX11_NewPatch, 0 },
12822   {  zX11_SprintfName,    zX11_SprintfList,
12823      apzX11_SprintfMachs,
12824      X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
12825      aX11_SprintfTests,   apzX11_SprintfPatch, 0 }