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 6, 2026 at 04:43:53 PM by AutoGen 5.18.12
6 * From the definitions inclhack.def
7 * and the template file fixincl
8 */
9/* DO NOT MERGE THIS FILE, EITHER Tue Jan 6 16:43:53 CET 2026
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 250 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
42static char const sed_cmd_z[] = SED_PROGRAM;
43
44/* * * * * * * * * * * * * * * * * * * * * * * * * *
45 *
46 * Description of Aab_Aix_Stdio fix
47 */
48tSCC zAab_Aix_StdioName[] =
49 "AAB_aix_stdio";
50
51/*
52 * File name selection pattern
53 */
54tSCC zAab_Aix_StdioList[] =
55 "stdio.h\0";
56/*
57 * Machine/OS name selection pattern
58 */
59tSCC* apzAab_Aix_StdioMachs[] = {
60 "*-*-aix*",
61 (const char*)NULL };
62
63/*
64 * content selection pattern - do fix if pattern found
65 */
66tSCC zAab_Aix_StdioSelect0[] =
67 "define fopen fopen64";
68
69#define AAB_AIX_STDIO_TEST_CT 1
70static tTestDesc aAab_Aix_StdioTests[] = {
71 { .type: TT_EGREP, .pz_test_text: zAab_Aix_StdioSelect0, .p_test_regex: (regex_t*)NULL }, };
72
73/*
74 * Fix Command Arguments for Aab_Aix_Stdio
75 */
76static 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\
90extern \"C\" {\n\
91extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
92extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
93extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
94extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
95extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
96extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
97}\n\
98#endif\n\
99#endif\n",
100 (char*)NULL };
101
102/* * * * * * * * * * * * * * * * * * * * * * * * * *
103 *
104 * Description of Aab_Aix_Fcntl fix
105 */
106tSCC zAab_Aix_FcntlName[] =
107 "AAB_aix_fcntl";
108
109/*
110 * File name selection pattern
111 */
112tSCC zAab_Aix_FcntlList[] =
113 "fcntl.h\0";
114/*
115 * Machine/OS name selection pattern
116 */
117tSCC* apzAab_Aix_FcntlMachs[] = {
118 "*-*-aix*",
119 (const char*)NULL };
120
121/*
122 * content selection pattern - do fix if pattern found
123 */
124tSCC zAab_Aix_FcntlSelect0[] =
125 "define open[ \t]open64";
126
127#define AAB_AIX_FCNTL_TEST_CT 1
128static tTestDesc aAab_Aix_FcntlTests[] = {
129 { .type: TT_EGREP, .pz_test_text: zAab_Aix_FcntlSelect0, .p_test_regex: (regex_t*)NULL }, };
130
131/*
132 * Fix Command Arguments for Aab_Aix_Fcntl
133 */
134static 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\
145extern \"C\" {\n\
146extern int open(const char *, int, ...) __asm__(\"open64\");\n\
147extern int creat(const char *, mode_t) __asm__(\"creat64\");\n\
148#if (_XOPEN_SOURCE >= 700)\n\
149extern int openat(int, const char *, int, ...) __asm__(\"open64at\");\n\
150#endif\n\
151}\n\
152#endif\n\
153#endif\n",
154 (char*)NULL };
155
156/* * * * * * * * * * * * * * * * * * * * * * * * * *
157 *
158 * Description of Aab_Darwin7_9_Long_Double_Funcs fix
159 */
160tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
161 "AAB_darwin7_9_long_double_funcs";
162
163/*
164 * File name selection pattern
165 */
166tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
167 "architecture/ppc/math.h\0";
168/*
169 * Machine/OS name selection pattern
170 */
171tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
172 "*-*-darwin7.9*",
173 (const char*)NULL };
174
175/*
176 * content bypass pattern - skip fix if pattern found
177 */
178tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
179 "powl";
180
181#define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
182static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
183 { .type: TT_NEGREP, .pz_test_text: zAab_Darwin7_9_Long_Double_FuncsBypass0, .p_test_regex: (regex_t*)NULL }, };
184
185/*
186 * Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
187 */
188static 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 };
269
270/* * * * * * * * * * * * * * * * * * * * * * * * * *
271 *
272 * Description of Darwin_Api_Availability fix
273 */
274tSCC zDarwin_Api_AvailabilityName[] =
275 "darwin_api_availability";
276
277/*
278 * File name selection pattern
279 */
280tSCC zDarwin_Api_AvailabilityList[] =
281 "os/availability.h\0";
282/*
283 * Machine/OS name selection pattern
284 */
285tSCC* apzDarwin_Api_AvailabilityMachs[] = {
286 "*-*-darwin*",
287 (const char*)NULL };
288
289/*
290 * content selection pattern - do fix if pattern found
291 */
292tSCC 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";
297
298/*
299 * content bypass pattern - skip fix if pattern found
300 */
301tSCC zDarwin_Api_AvailabilityBypass0[] =
302 "__IPHONE_OS_VERSION_MIN_REQUIRED";
303
304#define DARWIN_API_AVAILABILITY_TEST_CT 2
305static tTestDesc aDarwin_Api_AvailabilityTests[] = {
306 { .type: TT_NEGREP, .pz_test_text: zDarwin_Api_AvailabilityBypass0, .p_test_regex: (regex_t*)NULL },
307 { .type: TT_EGREP, .pz_test_text: zDarwin_Api_AvailabilitySelect0, .p_test_regex: (regex_t*)NULL }, };
308
309/*
310 * Fix Command Arguments for Darwin_Api_Availability
311 */
312static 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 };
319
320/* * * * * * * * * * * * * * * * * * * * * * * * * *
321 *
322 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
323 */
324tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
325 "AAB_fd_zero_asm_posix_types_h";
326
327/*
328 * File name selection pattern
329 */
330tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
331 "asm/posix_types.h\0";
332/*
333 * Machine/OS name selection pattern
334 */
335tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
336 "i[34567]86-*-linux*",
337 (const char*)NULL };
338
339/*
340 * content bypass pattern - skip fix if pattern found
341 */
342tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
343 "} while";
344tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
345 "x86_64";
346tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
347 "posix_types_64";
348
349#define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
350static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
351 { .type: TT_NEGREP, .pz_test_text: zAab_Fd_Zero_Asm_Posix_Types_HBypass0, .p_test_regex: (regex_t*)NULL },
352 { .type: TT_NEGREP, .pz_test_text: zAab_Fd_Zero_Asm_Posix_Types_HBypass1, .p_test_regex: (regex_t*)NULL },
353 { .type: TT_NEGREP, .pz_test_text: zAab_Fd_Zero_Asm_Posix_Types_HBypass2, .p_test_regex: (regex_t*)NULL }, };
354
355/*
356 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
357 */
358static 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 };
378
379/* * * * * * * * * * * * * * * * * * * * * * * * * *
380 *
381 * Description of Aab_Fd_Zero_Gnu_Types_H fix
382 */
383tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
384 "AAB_fd_zero_gnu_types_h";
385
386/*
387 * File name selection pattern
388 */
389tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
390 "gnu/types.h\0";
391/*
392 * Machine/OS name selection pattern
393 */
394tSCC* 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
399
400/*
401 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
402 */
403static 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 };
422
423/* * * * * * * * * * * * * * * * * * * * * * * * * *
424 *
425 * Description of Aab_Fd_Zero_Selectbits_H fix
426 */
427tSCC zAab_Fd_Zero_Selectbits_HName[] =
428 "AAB_fd_zero_selectbits_h";
429
430/*
431 * File name selection pattern
432 */
433tSCC zAab_Fd_Zero_Selectbits_HList[] =
434 "selectbits.h\0";
435/*
436 * Machine/OS name selection pattern
437 */
438tSCC* 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
443
444/*
445 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
446 */
447static 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 };
470
471/* * * * * * * * * * * * * * * * * * * * * * * * * *
472 *
473 * Description of Aab_Sun_Memcpy fix
474 */
475tSCC zAab_Sun_MemcpyName[] =
476 "AAB_sun_memcpy";
477
478/*
479 * File name selection pattern
480 */
481tSCC zAab_Sun_MemcpyList[] =
482 "memory.h\0";
483/*
484 * Machine/OS name selection pattern
485 */
486#define apzAab_Sun_MemcpyMachs (const char**)NULL
487
488/*
489 * content selection pattern - do fix if pattern found
490 */
491tSCC zAab_Sun_MemcpySelect0[] =
492 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
493
494#define AAB_SUN_MEMCPY_TEST_CT 1
495static tTestDesc aAab_Sun_MemcpyTests[] = {
496 { .type: TT_EGREP, .pz_test_text: zAab_Sun_MemcpySelect0, .p_test_regex: (regex_t*)NULL }, };
497
498/*
499 * Fix Command Arguments for Aab_Sun_Memcpy
500 */
501static const char* apzAab_Sun_MemcpyPatch[] = {
502"/* This file was generated by fixincludes */\n\
503#ifndef __memory_h__\n\
504 #define __memory_h__\n\n\
505 #ifdef __STDC__\n\
506 extern void *memccpy();\n\
507 extern void *memchr();\n\
508 extern void *memcpy();\n\
509 extern void *memset();\n\
510 #else\n\
511 extern char *memccpy();\n\
512 extern char *memchr();\n\
513 extern char *memcpy();\n\
514 extern char *memset();\n\
515 #endif /* __STDC__ */\n\n\
516 extern int memcmp();\n\n\
517#endif /* __memory_h__ */",
518 (char*)NULL };
519
520/* * * * * * * * * * * * * * * * * * * * * * * * * *
521 *
522 * Description of Aab_Vxworks_Assert fix
523 */
524tSCC zAab_Vxworks_AssertName[] =
525 "AAB_vxworks_assert";
526
527/*
528 * File name selection pattern
529 */
530tSCC zAab_Vxworks_AssertList[] =
531 "assert.h\0";
532/*
533 * Machine/OS name selection pattern
534 */
535tSCC* apzAab_Vxworks_AssertMachs[] = {
536 "*-*-vxworks*",
537 (const char*)NULL };
538#define AAB_VXWORKS_ASSERT_TEST_CT 0
539#define aAab_Vxworks_AssertTests (tTestDesc*)NULL
540
541/*
542 * Fix Command Arguments for Aab_Vxworks_Assert
543 */
544static const char* apzAab_Vxworks_AssertPatch[] = {
545"#ifdef _ASSERT_H\n\
546#undef _ASSERT_H\n\
547#undef assert\n\
548#endif\n\n\
549#define _ASSERT_H\n\n\
550#ifdef __cplusplus\n\
551extern \"C\" {\n\
552#endif\n\n\
553#if defined(__STDC__) || defined(__cplusplus)\n\
554extern void __assert (const char*);\n\
555#else\n\
556extern void __assert ();\n\
557#endif\n\n\
558#ifdef NDEBUG\n\
559#define assert(ign) ((void)0)\n\
560#else\n\n\
561#define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
562#define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
563#define assert(test) ((void) \\\n\
564 ((test) ? ((void)0) : \\\n\
565 __assert(\"Assertion failed: \" #test \", file \" \\\n\
566 __FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
567#endif\n\n\
568#ifdef __cplusplus\n\
569}\n\
570#endif",
571 (char*)NULL };
572
573/* * * * * * * * * * * * * * * * * * * * * * * * * *
574 *
575 * Description of Aab_Vxworks_Regs_Vxtypes fix
576 */
577tSCC zAab_Vxworks_Regs_VxtypesName[] =
578 "AAB_vxworks_regs_vxtypes";
579
580/*
581 * File name selection pattern
582 */
583tSCC zAab_Vxworks_Regs_VxtypesList[] =
584 "regs.h\0";
585/*
586 * Machine/OS name selection pattern
587 */
588tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
589 "*-*-vxworks*",
590 (const char*)NULL };
591#define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
592#define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
593
594/*
595 * Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
596 */
597static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
598"#ifndef _REGS_H\n\
599#define _REGS_H\n\
600/* regs.h depends on CPU_FAMILY being properly defined, which\n\
601 is done by vxCpu.h. */\n\
602#include <types/vxCpu.h>\n\
603/* regs.h includes a CPU_FAMILY-specific header that requires\n\
604 vxTypesOld.h to already have been included. Those headers\n\
605 contain proper _ASMLANGUAGE guards around their typedefs,\n\
606 but vxTypesOld.h itself does not. So we avoid including\n\
607 vxTypesOld.h from assembly. */\n\
608#ifndef _ASMLANGUAGE\n\
609#include <types/vxTypesOld.h>\n\
610#endif\n\
611#include_next <arch/../regs.h>\n\
612#endif",
613 (char*)NULL };
614
615/* * * * * * * * * * * * * * * * * * * * * * * * * *
616 *
617 * Description of Aab_Vxworks_Unistd fix
618 */
619tSCC zAab_Vxworks_UnistdName[] =
620 "AAB_vxworks_unistd";
621
622/*
623 * File name selection pattern
624 */
625tSCC zAab_Vxworks_UnistdList[] =
626 "unistd.h\0";
627/*
628 * Machine/OS name selection pattern
629 */
630tSCC* apzAab_Vxworks_UnistdMachs[] = {
631 "*-*-vxworks*",
632 (const char*)NULL };
633#define AAB_VXWORKS_UNISTD_TEST_CT 0
634#define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
635
636/*
637 * Fix Command Arguments for Aab_Vxworks_Unistd
638 */
639static const char* apzAab_Vxworks_UnistdPatch[] = {
640"#ifndef _UNISTD_H\n\
641#define _UNISTD_H\n\
642#include_next <unistd.h>\n\
643#include <ioLib.h>\n\
644#ifndef STDIN_FILENO\n\
645#define STDIN_FILENO 0\n\
646#endif\n\
647#ifndef STDOUT_FILENO\n\
648#define STDOUT_FILENO 1\n\
649#endif\n\
650#ifndef STDERR_FILENO\n\
651#define STDERR_FILENO 2\n\
652#endif\n\
653#endif /* _UNISTD_H */",
654 (char*)NULL };
655
656/* * * * * * * * * * * * * * * * * * * * * * * * * *
657 *
658 * Description of Aix_Assert fix
659 */
660tSCC zAix_AssertName[] =
661 "aix_assert";
662
663/*
664 * File name selection pattern
665 */
666tSCC zAix_AssertList[] =
667 "assert.h\0";
668/*
669 * Machine/OS name selection pattern
670 */
671tSCC* apzAix_AssertMachs[] = {
672 "*-*-aix*",
673 (const char*)NULL };
674
675/*
676 * content selection pattern - do fix if pattern found
677 */
678tSCC zAix_AssertSelect0[] =
679 "#define[ \t]static_assert[ \t]_Static_assert";
680
681#define AIX_ASSERT_TEST_CT 1
682static tTestDesc aAix_AssertTests[] = {
683 { .type: TT_EGREP, .pz_test_text: zAix_AssertSelect0, .p_test_regex: (regex_t*)NULL }, };
684
685/*
686 * Fix Command Arguments for Aix_Assert
687 */
688static const char* apzAix_AssertPatch[] = {
689 "format",
690 "#ifndef __cplusplus\n\
691%0\n\
692#endif",
693 (char*)NULL };
694
695/* * * * * * * * * * * * * * * * * * * * * * * * * *
696 *
697 * Description of Aix_Complex fix
698 */
699tSCC zAix_ComplexName[] =
700 "aix_complex";
701
702/*
703 * File name selection pattern
704 */
705tSCC zAix_ComplexList[] =
706 "complex.h\0";
707/*
708 * Machine/OS name selection pattern
709 */
710tSCC* apzAix_ComplexMachs[] = {
711 "*-*-aix*",
712 (const char*)NULL };
713
714/*
715 * content selection pattern - do fix if pattern found
716 */
717tSCC zAix_ComplexSelect0[] =
718 "#define[ \t]_Complex_I[ \t]__I";
719
720#define AIX_COMPLEX_TEST_CT 1
721static tTestDesc aAix_ComplexTests[] = {
722 { .type: TT_EGREP, .pz_test_text: zAix_ComplexSelect0, .p_test_regex: (regex_t*)NULL }, };
723
724/*
725 * Fix Command Arguments for Aix_Complex
726 */
727static const char* apzAix_ComplexPatch[] = {
728 "format",
729 "#define _Complex_I (__extension__ 1.0iF)",
730 (char*)NULL };
731
732/* * * * * * * * * * * * * * * * * * * * * * * * * *
733 *
734 * Description of Aix_Externc fix
735 */
736tSCC zAix_ExterncName[] =
737 "aix_externc";
738
739/*
740 * File name selection pattern
741 */
742tSCC zAix_ExterncList[] =
743 "ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
744/*
745 * Machine/OS name selection pattern
746 */
747tSCC* apzAix_ExterncMachs[] = {
748 "*-*-aix*",
749 (const char*)NULL };
750
751/*
752 * content bypass pattern - skip fix if pattern found
753 */
754tSCC zAix_ExterncBypass0[] =
755 "extern \"C\"";
756
757#define AIX_EXTERNC_TEST_CT 1
758static tTestDesc aAix_ExterncTests[] = {
759 { .type: TT_NEGREP, .pz_test_text: zAix_ExterncBypass0, .p_test_regex: (regex_t*)NULL }, };
760
761/*
762 * Fix Command Arguments for Aix_Externc
763 */
764static const char* apzAix_ExterncPatch[] = {
765 "wrap",
766 "#ifdef __cplusplus\n\
767extern \"C\" {\n\
768#endif\n",
769 "#ifdef __cplusplus\n\
770}\n\
771#endif\n",
772 (char*)NULL };
773
774/* * * * * * * * * * * * * * * * * * * * * * * * * *
775 *
776 * Description of Aix_Externcpp1 fix
777 */
778tSCC zAix_Externcpp1Name[] =
779 "aix_externcpp1";
780
781/*
782 * File name selection pattern
783 */
784tSCC zAix_Externcpp1List[] =
785 "sys/socket.h\0";
786/*
787 * Machine/OS name selection pattern
788 */
789tSCC* apzAix_Externcpp1Machs[] = {
790 "*-*-aix*",
791 (const char*)NULL };
792
793/*
794 * content selection pattern - do fix if pattern found
795 */
796tSCC zAix_Externcpp1Select0[] =
797 "#ifndef _KERNEL\n\
798#ifdef __cplusplus\n\
799extern \"C\" int naccept\\(int, struct sockaddr \\*, socklen_t \\*\\);";
800
801#define AIX_EXTERNCPP1_TEST_CT 1
802static tTestDesc aAix_Externcpp1Tests[] = {
803 { .type: TT_EGREP, .pz_test_text: zAix_Externcpp1Select0, .p_test_regex: (regex_t*)NULL }, };
804
805/*
806 * Fix Command Arguments for Aix_Externcpp1
807 */
808static const char* apzAix_Externcpp1Patch[] = {
809 "format",
810 "#ifndef _KERNEL\n\
811#ifdef __cplusplus\n\
812extern \"C++\" {\n\
813extern \"C\" int naccept(int, struct sockaddr *, socklen_t *);",
814 (char*)NULL };
815
816/* * * * * * * * * * * * * * * * * * * * * * * * * *
817 *
818 * Description of Aix_Externcpp2 fix
819 */
820tSCC zAix_Externcpp2Name[] =
821 "aix_externcpp2";
822
823/*
824 * File name selection pattern
825 */
826tSCC zAix_Externcpp2List[] =
827 "sys/socket.h\0";
828/*
829 * Machine/OS name selection pattern
830 */
831tSCC* apzAix_Externcpp2Machs[] = {
832 "*-*-aix*",
833 (const char*)NULL };
834
835/*
836 * content selection pattern - do fix if pattern found
837 */
838tSCC zAix_Externcpp2Select0[] =
839 "#endif /\\* COMPAT_43 \\*/\n\
840#else /\\* __cplusplus \\*/";
841
842#define AIX_EXTERNCPP2_TEST_CT 1
843static tTestDesc aAix_Externcpp2Tests[] = {
844 { .type: TT_EGREP, .pz_test_text: zAix_Externcpp2Select0, .p_test_regex: (regex_t*)NULL }, };
845
846/*
847 * Fix Command Arguments for Aix_Externcpp2
848 */
849static const char* apzAix_Externcpp2Patch[] = {
850 "format",
851 "#endif /* COMPAT_43 */\n\
852} /* extern \"C++\" */\n\
853#else /* __cplusplus */",
854 (char*)NULL };
855
856/* * * * * * * * * * * * * * * * * * * * * * * * * *
857 *
858 * Description of Aix_Inttypes fix
859 */
860tSCC zAix_InttypesName[] =
861 "aix_inttypes";
862
863/*
864 * File name selection pattern
865 */
866tSCC zAix_InttypesList[] =
867 "sys/inttypes.h\0";
868/*
869 * Machine/OS name selection pattern
870 */
871tSCC* apzAix_InttypesMachs[] = {
872 "*-*-aix*",
873 (const char*)NULL };
874
875/*
876 * content selection pattern - do fix if pattern found
877 */
878tSCC zAix_InttypesSelect0[] =
879 "#if !defined\\(__cplusplus\\) \\|\\| defined\\(__STDC_FORMAT_MACROS\\)";
880
881#define AIX_INTTYPES_TEST_CT 1
882static tTestDesc aAix_InttypesTests[] = {
883 { .type: TT_EGREP, .pz_test_text: zAix_InttypesSelect0, .p_test_regex: (regex_t*)NULL }, };
884
885/*
886 * Fix Command Arguments for Aix_Inttypes
887 */
888static const char* apzAix_InttypesPatch[] = {
889 "format",
890 "#if 1",
891 (char*)NULL };
892
893/* * * * * * * * * * * * * * * * * * * * * * * * * *
894 *
895 * Description of Aix_Malloc fix
896 */
897tSCC zAix_MallocName[] =
898 "aix_malloc";
899
900/*
901 * File name selection pattern
902 */
903tSCC zAix_MallocList[] =
904 "malloc.h\0";
905/*
906 * Machine/OS name selection pattern
907 */
908tSCC* apzAix_MallocMachs[] = {
909 "*-*-aix*",
910 (const char*)NULL };
911
912/*
913 * content selection pattern - do fix if pattern found
914 */
915tSCC zAix_MallocSelect0[] =
916 "#ifdef __cplusplus\n\
917extern \"C\" \\{\n\
918[ \t]extern \"builtin\" char \\*__alloca \\(size_t\\);";
919
920#define AIX_MALLOC_TEST_CT 1
921static tTestDesc aAix_MallocTests[] = {
922 { .type: TT_EGREP, .pz_test_text: zAix_MallocSelect0, .p_test_regex: (regex_t*)NULL }, };
923
924/*
925 * Fix Command Arguments for Aix_Malloc
926 */
927static const char* apzAix_MallocPatch[] = {
928 "format",
929 "#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
930extern \"C\" {\n\
931\textern \"builtin\" char *__alloca (size_t);",
932 (char*)NULL };
933
934/* * * * * * * * * * * * * * * * * * * * * * * * * *
935 *
936 * Description of Aix_Net_If_Arp fix
937 */
938tSCC zAix_Net_If_ArpName[] =
939 "aix_net_if_arp";
940
941/*
942 * File name selection pattern
943 */
944tSCC zAix_Net_If_ArpList[] =
945 "net/if_arp.h\0";
946/*
947 * Machine/OS name selection pattern
948 */
949tSCC* apzAix_Net_If_ArpMachs[] = {
950 "*-*-aix*",
951 (const char*)NULL };
952
953/*
954 * content selection pattern - do fix if pattern found
955 */
956tSCC zAix_Net_If_ArpSelect0[] =
957 "^struct fc_softc \\{";
958
959#define AIX_NET_IF_ARP_TEST_CT 1
960static tTestDesc aAix_Net_If_ArpTests[] = {
961 { .type: TT_EGREP, .pz_test_text: zAix_Net_If_ArpSelect0, .p_test_regex: (regex_t*)NULL }, };
962
963/*
964 * Fix Command Arguments for Aix_Net_If_Arp
965 */
966static const char* apzAix_Net_If_ArpPatch[] = {
967 "format",
968 "typedef struct _fc_softc {",
969 (char*)NULL };
970
971/* * * * * * * * * * * * * * * * * * * * * * * * * *
972 *
973 * Description of Aix_Null fix
974 */
975tSCC zAix_NullName[] =
976 "aix_null";
977
978/*
979 * File name selection pattern
980 */
981tSCC zAix_NullList[] =
982 "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";
983/*
984 * Machine/OS name selection pattern
985 */
986tSCC* apzAix_NullMachs[] = {
987 "*-*-aix*",
988 (const char*)NULL };
989
990/*
991 * content selection pattern - do fix if pattern found
992 */
993tSCC zAix_NullSelect0[] =
994 "#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
995
996/*
997 * content bypass pattern - skip fix if pattern found
998 */
999tSCC zAix_NullBypass0[] =
1000 "__null";
1001
1002#define AIX_NULL_TEST_CT 2
1003static tTestDesc aAix_NullTests[] = {
1004 { .type: TT_NEGREP, .pz_test_text: zAix_NullBypass0, .p_test_regex: (regex_t*)NULL },
1005 { .type: TT_EGREP, .pz_test_text: zAix_NullSelect0, .p_test_regex: (regex_t*)NULL }, };
1006
1007/*
1008 * Fix Command Arguments for Aix_Null
1009 */
1010static const char* apzAix_NullPatch[] = {
1011 "format",
1012 "#ifndef NULL\n\
1013#ifdef __cplusplus\n\
1014#ifdef __GNUG__\n\
1015#define NULL __null\n\
1016#else /* ! __GNUG__ */\n\
1017#define NULL 0L\n\
1018#endif /* __GNUG__ */\n\
1019#else /* ! __cplusplus */\n\
1020#define NULL ((void *)0)\n\
1021#endif /* __cplusplus */\n\
1022#endif /* !NULL */",
1023 (char*)NULL };
1024
1025/* * * * * * * * * * * * * * * * * * * * * * * * * *
1026 *
1027 * Description of Aix_Once_Init_1 fix
1028 */
1029tSCC zAix_Once_Init_1Name[] =
1030 "aix_once_init_1";
1031
1032/*
1033 * File name selection pattern
1034 */
1035tSCC zAix_Once_Init_1List[] =
1036 "pthread.h\0";
1037/*
1038 * Machine/OS name selection pattern
1039 */
1040tSCC* apzAix_Once_Init_1Machs[] = {
1041 "*-*-aix*",
1042 (const char*)NULL };
1043
1044/*
1045 * content selection pattern - do fix if pattern found
1046 */
1047tSCC zAix_Once_Init_1Select0[] =
1048 "#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
1049\\{ \\\\\n";
1050
1051#define AIX_ONCE_INIT_1_TEST_CT 1
1052static tTestDesc aAix_Once_Init_1Tests[] = {
1053 { .type: TT_EGREP, .pz_test_text: zAix_Once_Init_1Select0, .p_test_regex: (regex_t*)NULL }, };
1054
1055/*
1056 * Fix Command Arguments for Aix_Once_Init_1
1057 */
1058static const char* apzAix_Once_Init_1Patch[] = {
1059 "format",
1060 "#define PTHREAD_ONCE_INIT \\\n\
1061{{ \\\n",
1062 (char*)NULL };
1063
1064/* * * * * * * * * * * * * * * * * * * * * * * * * *
1065 *
1066 * Description of Aix_Once_Init_2 fix
1067 */
1068tSCC zAix_Once_Init_2Name[] =
1069 "aix_once_init_2";
1070
1071/*
1072 * File name selection pattern
1073 */
1074tSCC zAix_Once_Init_2List[] =
1075 "pthread.h\0";
1076/*
1077 * Machine/OS name selection pattern
1078 */
1079tSCC* apzAix_Once_Init_2Machs[] = {
1080 "*-*-aix*",
1081 (const char*)NULL };
1082
1083/*
1084 * content selection pattern - do fix if pattern found
1085 */
1086tSCC zAix_Once_Init_2Select0[] =
1087 "[ \t]0 \\\\\n\
1088\\}\n";
1089
1090#define AIX_ONCE_INIT_2_TEST_CT 1
1091static tTestDesc aAix_Once_Init_2Tests[] = {
1092 { .type: TT_EGREP, .pz_test_text: zAix_Once_Init_2Select0, .p_test_regex: (regex_t*)NULL }, };
1093
1094/*
1095 * Fix Command Arguments for Aix_Once_Init_2
1096 */
1097static const char* apzAix_Once_Init_2Patch[] = {
1098 "format",
1099 "\t0 \\\n\
1100}}\n",
1101 (char*)NULL };
1102
1103/* * * * * * * * * * * * * * * * * * * * * * * * * *
1104 *
1105 * Description of Aix_Mutex_Initializer_1 fix
1106 */
1107tSCC zAix_Mutex_Initializer_1Name[] =
1108 "aix_mutex_initializer_1";
1109
1110/*
1111 * File name selection pattern
1112 */
1113tSCC zAix_Mutex_Initializer_1List[] =
1114 "pthread.h\0";
1115/*
1116 * Machine/OS name selection pattern
1117 */
1118tSCC* apzAix_Mutex_Initializer_1Machs[] = {
1119 "*-*-aix*",
1120 (const char*)NULL };
1121
1122/*
1123 * content selection pattern - do fix if pattern found
1124 */
1125tSCC zAix_Mutex_Initializer_1Select0[] =
1126 "#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
1127\\{ \\\\\n";
1128
1129#define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
1130static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
1131 { .type: TT_EGREP, .pz_test_text: zAix_Mutex_Initializer_1Select0, .p_test_regex: (regex_t*)NULL }, };
1132
1133/*
1134 * Fix Command Arguments for Aix_Mutex_Initializer_1
1135 */
1136static const char* apzAix_Mutex_Initializer_1Patch[] = {
1137 "format",
1138 "#define PTHREAD_MUTEX_INITIALIZER \\\n\
1139{{ \\\n",
1140 (char*)NULL };
1141
1142/* * * * * * * * * * * * * * * * * * * * * * * * * *
1143 *
1144 * Description of Aix_Cond_Initializer_1 fix
1145 */
1146tSCC zAix_Cond_Initializer_1Name[] =
1147 "aix_cond_initializer_1";
1148
1149/*
1150 * File name selection pattern
1151 */
1152tSCC zAix_Cond_Initializer_1List[] =
1153 "pthread.h\0";
1154/*
1155 * Machine/OS name selection pattern
1156 */
1157tSCC* apzAix_Cond_Initializer_1Machs[] = {
1158 "*-*-aix*",
1159 (const char*)NULL };
1160
1161/*
1162 * content selection pattern - do fix if pattern found
1163 */
1164tSCC zAix_Cond_Initializer_1Select0[] =
1165 "#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
1166\\{ \\\\\n";
1167
1168#define AIX_COND_INITIALIZER_1_TEST_CT 1
1169static tTestDesc aAix_Cond_Initializer_1Tests[] = {
1170 { .type: TT_EGREP, .pz_test_text: zAix_Cond_Initializer_1Select0, .p_test_regex: (regex_t*)NULL }, };
1171
1172/*
1173 * Fix Command Arguments for Aix_Cond_Initializer_1
1174 */
1175static const char* apzAix_Cond_Initializer_1Patch[] = {
1176 "format",
1177 "#define PTHREAD_COND_INITIALIZER \\\n\
1178{{ \\\n",
1179 (char*)NULL };
1180
1181/* * * * * * * * * * * * * * * * * * * * * * * * * *
1182 *
1183 * Description of Aix_Rwlock_Initializer_1 fix
1184 */
1185tSCC zAix_Rwlock_Initializer_1Name[] =
1186 "aix_rwlock_initializer_1";
1187
1188/*
1189 * File name selection pattern
1190 */
1191tSCC zAix_Rwlock_Initializer_1List[] =
1192 "pthread.h\0";
1193/*
1194 * Machine/OS name selection pattern
1195 */
1196tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
1197 "*-*-aix*",
1198 (const char*)NULL };
1199
1200/*
1201 * content selection pattern - do fix if pattern found
1202 */
1203tSCC zAix_Rwlock_Initializer_1Select0[] =
1204 "#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
1205\\{ \\\\\n";
1206
1207#define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
1208static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
1209 { .type: TT_EGREP, .pz_test_text: zAix_Rwlock_Initializer_1Select0, .p_test_regex: (regex_t*)NULL }, };
1210
1211/*
1212 * Fix Command Arguments for Aix_Rwlock_Initializer_1
1213 */
1214static const char* apzAix_Rwlock_Initializer_1Patch[] = {
1215 "format",
1216 "#define PTHREAD_RWLOCK_INITIALIZER \\\n\
1217{{ \\\n",
1218 (char*)NULL };
1219
1220/* * * * * * * * * * * * * * * * * * * * * * * * * *
1221 *
1222 * Description of Aix_Physadr_T fix
1223 */
1224tSCC zAix_Physadr_TName[] =
1225 "aix_physadr_t";
1226
1227/*
1228 * File name selection pattern
1229 */
1230tSCC zAix_Physadr_TList[] =
1231 "sys/types.h\0";
1232/*
1233 * Machine/OS name selection pattern
1234 */
1235tSCC* apzAix_Physadr_TMachs[] = {
1236 "*-*-aix*",
1237 (const char*)NULL };
1238
1239/*
1240 * content selection pattern - do fix if pattern found
1241 */
1242tSCC zAix_Physadr_TSelect0[] =
1243 "typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
1244
1245#define AIX_PHYSADR_T_TEST_CT 1
1246static tTestDesc aAix_Physadr_TTests[] = {
1247 { .type: TT_EGREP, .pz_test_text: zAix_Physadr_TSelect0, .p_test_regex: (regex_t*)NULL }, };
1248
1249/*
1250 * Fix Command Arguments for Aix_Physadr_T
1251 */
1252static const char* apzAix_Physadr_TPatch[] = {
1253 "format",
1254 "typedef struct __physadr_s %1",
1255 (char*)NULL };
1256
1257/* * * * * * * * * * * * * * * * * * * * * * * * * *
1258 *
1259 * Description of Aix_Pthread fix
1260 */
1261tSCC zAix_PthreadName[] =
1262 "aix_pthread";
1263
1264/*
1265 * File name selection pattern
1266 */
1267tSCC zAix_PthreadList[] =
1268 "pthread.h\0";
1269/*
1270 * Machine/OS name selection pattern
1271 */
1272#define apzAix_PthreadMachs (const char**)NULL
1273
1274/*
1275 * content selection pattern - do fix if pattern found
1276 */
1277tSCC zAix_PthreadSelect0[] =
1278 "(#define[\t ][A-Za-z_0-9]+)(\\\\\n\
1279[^A-Za-z_0-9 \t\n\
1280(])";
1281
1282#define AIX_PTHREAD_TEST_CT 1
1283static tTestDesc aAix_PthreadTests[] = {
1284 { .type: TT_EGREP, .pz_test_text: zAix_PthreadSelect0, .p_test_regex: (regex_t*)NULL }, };
1285
1286/*
1287 * Fix Command Arguments for Aix_Pthread
1288 */
1289static const char* apzAix_PthreadPatch[] = {
1290 "format",
1291 "%1 %2",
1292 (char*)NULL };
1293
1294/* * * * * * * * * * * * * * * * * * * * * * * * * *
1295 *
1296 * Description of Aix_Stdint_1 fix
1297 */
1298tSCC zAix_Stdint_1Name[] =
1299 "aix_stdint_1";
1300
1301/*
1302 * File name selection pattern
1303 */
1304tSCC zAix_Stdint_1List[] =
1305 "stdint-aix.h\0stdint.h\0";
1306/*
1307 * Machine/OS name selection pattern
1308 */
1309tSCC* apzAix_Stdint_1Machs[] = {
1310 "*-*-aix*",
1311 (const char*)NULL };
1312
1313/*
1314 * content selection pattern - do fix if pattern found
1315 */
1316tSCC zAix_Stdint_1Select0[] =
1317 "#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
1318#define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
1319
1320#define AIX_STDINT_1_TEST_CT 1
1321static tTestDesc aAix_Stdint_1Tests[] = {
1322 { .type: TT_EGREP, .pz_test_text: zAix_Stdint_1Select0, .p_test_regex: (regex_t*)NULL }, };
1323
1324/*
1325 * Fix Command Arguments for Aix_Stdint_1
1326 */
1327static const char* apzAix_Stdint_1Patch[] = {
1328 "format",
1329 "#define UINT8_MAX\t(255)\n\
1330#define UINT16_MAX\t(65535)",
1331 (char*)NULL };
1332
1333/* * * * * * * * * * * * * * * * * * * * * * * * * *
1334 *
1335 * Description of Aix_Stdint_2 fix
1336 */
1337tSCC zAix_Stdint_2Name[] =
1338 "aix_stdint_2";
1339
1340/*
1341 * File name selection pattern
1342 */
1343tSCC zAix_Stdint_2List[] =
1344 "stdint-aix.h\0stdint.h\0";
1345/*
1346 * Machine/OS name selection pattern
1347 */
1348tSCC* apzAix_Stdint_2Machs[] = {
1349 "*-*-aix*",
1350 (const char*)NULL };
1351
1352/*
1353 * content selection pattern - do fix if pattern found
1354 */
1355tSCC zAix_Stdint_2Select0[] =
1356 "#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
1357#define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
1358#define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
1359#else\n\
1360#define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
1361#define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
1362#define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
1363
1364#define AIX_STDINT_2_TEST_CT 1
1365static tTestDesc aAix_Stdint_2Tests[] = {
1366 { .type: TT_EGREP, .pz_test_text: zAix_Stdint_2Select0, .p_test_regex: (regex_t*)NULL }, };
1367
1368/*
1369 * Fix Command Arguments for Aix_Stdint_2
1370 */
1371static const char* apzAix_Stdint_2Patch[] = {
1372 "format",
1373 "#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1374#define INTPTR_MAX\t9223372036854775807L\n\
1375#define UINTPTR_MAX\t18446744073709551615UL\n\
1376#else\n\
1377#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
1378#define INTPTR_MAX\t2147483647L\n\
1379#define UINTPTR_MAX\t4294967295UL",
1380 (char*)NULL };
1381
1382/* * * * * * * * * * * * * * * * * * * * * * * * * *
1383 *
1384 * Description of Aix_Stdint_3 fix
1385 */
1386tSCC zAix_Stdint_3Name[] =
1387 "aix_stdint_3";
1388
1389/*
1390 * File name selection pattern
1391 */
1392tSCC zAix_Stdint_3List[] =
1393 "stdint-aix.h\0stdint.h\0";
1394/*
1395 * Machine/OS name selection pattern
1396 */
1397tSCC* apzAix_Stdint_3Machs[] = {
1398 "*-*-aix*",
1399 (const char*)NULL };
1400
1401/*
1402 * content selection pattern - do fix if pattern found
1403 */
1404tSCC zAix_Stdint_3Select0[] =
1405 "#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
1406#define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
1407#else\n\
1408#define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
1409#define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
1410
1411#define AIX_STDINT_3_TEST_CT 1
1412static tTestDesc aAix_Stdint_3Tests[] = {
1413 { .type: TT_EGREP, .pz_test_text: zAix_Stdint_3Select0, .p_test_regex: (regex_t*)NULL }, };
1414
1415/*
1416 * Fix Command Arguments for Aix_Stdint_3
1417 */
1418static const char* apzAix_Stdint_3Patch[] = {
1419 "format",
1420 "#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
1421#define PTRDIFF_MAX\t9223372036854775807L\n\
1422#else\n\
1423#define PTRDIFF_MIN\t(-2147483647L - 1)\n\
1424#define PTRDIFF_MAX\t2147483647L",
1425 (char*)NULL };
1426
1427/* * * * * * * * * * * * * * * * * * * * * * * * * *
1428 *
1429 * Description of Aix_Stdint_4 fix
1430 */
1431tSCC zAix_Stdint_4Name[] =
1432 "aix_stdint_4";
1433
1434/*
1435 * File name selection pattern
1436 */
1437tSCC zAix_Stdint_4List[] =
1438 "stdint-aix.h\0stdint.h\0";
1439/*
1440 * Machine/OS name selection pattern
1441 */
1442tSCC* apzAix_Stdint_4Machs[] = {
1443 "*-*-aix*",
1444 (const char*)NULL };
1445
1446/*
1447 * content selection pattern - do fix if pattern found
1448 */
1449tSCC zAix_Stdint_4Select0[] =
1450 "#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
1451#else\n\
1452#define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
1453
1454#define AIX_STDINT_4_TEST_CT 1
1455static tTestDesc aAix_Stdint_4Tests[] = {
1456 { .type: TT_EGREP, .pz_test_text: zAix_Stdint_4Select0, .p_test_regex: (regex_t*)NULL }, };
1457
1458/*
1459 * Fix Command Arguments for Aix_Stdint_4
1460 */
1461static const char* apzAix_Stdint_4Patch[] = {
1462 "format",
1463 "#define SIZE_MAX\t18446744073709551615UL\n\
1464#else\n\
1465#define SIZE_MAX\t4294967295UL",
1466 (char*)NULL };
1467
1468/* * * * * * * * * * * * * * * * * * * * * * * * * *
1469 *
1470 * Description of Aix_Stdint_5 fix
1471 */
1472tSCC zAix_Stdint_5Name[] =
1473 "aix_stdint_5";
1474
1475/*
1476 * File name selection pattern
1477 */
1478tSCC zAix_Stdint_5List[] =
1479 "stdint-aix.h\0stdint.h\0";
1480/*
1481 * Machine/OS name selection pattern
1482 */
1483tSCC* apzAix_Stdint_5Machs[] = {
1484 "*-*-aix*",
1485 (const char*)NULL };
1486
1487/*
1488 * content selection pattern - do fix if pattern found
1489 */
1490tSCC zAix_Stdint_5Select0[] =
1491 "#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
1492#define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
1493
1494#define AIX_STDINT_5_TEST_CT 1
1495static tTestDesc aAix_Stdint_5Tests[] = {
1496 { .type: TT_EGREP, .pz_test_text: zAix_Stdint_5Select0, .p_test_regex: (regex_t*)NULL }, };
1497
1498/*
1499 * Fix Command Arguments for Aix_Stdint_5
1500 */
1501static const char* apzAix_Stdint_5Patch[] = {
1502 "format",
1503 "#define UINT8_C(c)\tc\n\
1504#define UINT16_C(c)\tc",
1505 (char*)NULL };
1506
1507/* * * * * * * * * * * * * * * * * * * * * * * * * *
1508 *
1509 * Description of Aix_Stdio_Inline fix
1510 */
1511tSCC zAix_Stdio_InlineName[] =
1512 "aix_stdio_inline";
1513
1514/*
1515 * File name selection pattern
1516 */
1517tSCC zAix_Stdio_InlineList[] =
1518 "stdio.h\0";
1519/*
1520 * Machine/OS name selection pattern
1521 */
1522tSCC* apzAix_Stdio_InlineMachs[] = {
1523 "*-*-aix*",
1524 (const char*)NULL };
1525
1526/*
1527 * content selection pattern - do fix if pattern found
1528 */
1529tSCC zAix_Stdio_InlineSelect0[] =
1530 "#ifdef __cplusplus\\\n\
1531}\\\n\
1532\\\n\
1533#ifdef ferror\\\n";
1534
1535#define AIX_STDIO_INLINE_TEST_CT 1
1536static tTestDesc aAix_Stdio_InlineTests[] = {
1537 { .type: TT_EGREP, .pz_test_text: zAix_Stdio_InlineSelect0, .p_test_regex: (regex_t*)NULL }, };
1538
1539/*
1540 * Fix Command Arguments for Aix_Stdio_Inline
1541 */
1542static const char* apzAix_Stdio_InlinePatch[] = {
1543 "format",
1544 "#ifdef __cplusplus\n\
1545}\n\
1546#endif\n\n\
1547#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
1548#ifdef ferror\n",
1549 (char*)NULL };
1550
1551/* * * * * * * * * * * * * * * * * * * * * * * * * *
1552 *
1553 * Description of Aix_Stdlib_Malloc fix
1554 */
1555tSCC zAix_Stdlib_MallocName[] =
1556 "aix_stdlib_malloc";
1557
1558/*
1559 * File name selection pattern
1560 */
1561tSCC zAix_Stdlib_MallocList[] =
1562 "stdlib.h\0";
1563/*
1564 * Machine/OS name selection pattern
1565 */
1566tSCC* apzAix_Stdlib_MallocMachs[] = {
1567 "*-*-aix*",
1568 (const char*)NULL };
1569
1570/*
1571 * content selection pattern - do fix if pattern found
1572 */
1573tSCC zAix_Stdlib_MallocSelect0[] =
1574 "#define[ \t]+malloc[ \t]+__linux_malloc";
1575
1576#define AIX_STDLIB_MALLOC_TEST_CT 1
1577static tTestDesc aAix_Stdlib_MallocTests[] = {
1578 { .type: TT_EGREP, .pz_test_text: zAix_Stdlib_MallocSelect0, .p_test_regex: (regex_t*)NULL }, };
1579
1580/*
1581 * Fix Command Arguments for Aix_Stdlib_Malloc
1582 */
1583static const char* apzAix_Stdlib_MallocPatch[] = {
1584 "format",
1585 "extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
1586 (char*)NULL };
1587
1588/* * * * * * * * * * * * * * * * * * * * * * * * * *
1589 *
1590 * Description of Aix_Stdlib_Realloc fix
1591 */
1592tSCC zAix_Stdlib_ReallocName[] =
1593 "aix_stdlib_realloc";
1594
1595/*
1596 * File name selection pattern
1597 */
1598tSCC zAix_Stdlib_ReallocList[] =
1599 "stdlib.h\0";
1600/*
1601 * Machine/OS name selection pattern
1602 */
1603tSCC* apzAix_Stdlib_ReallocMachs[] = {
1604 "*-*-aix*",
1605 (const char*)NULL };
1606
1607/*
1608 * content selection pattern - do fix if pattern found
1609 */
1610tSCC zAix_Stdlib_ReallocSelect0[] =
1611 "#define[ \t]+realloc[ \t]+__linux_realloc";
1612
1613#define AIX_STDLIB_REALLOC_TEST_CT 1
1614static tTestDesc aAix_Stdlib_ReallocTests[] = {
1615 { .type: TT_EGREP, .pz_test_text: zAix_Stdlib_ReallocSelect0, .p_test_regex: (regex_t*)NULL }, };
1616
1617/*
1618 * Fix Command Arguments for Aix_Stdlib_Realloc
1619 */
1620static const char* apzAix_Stdlib_ReallocPatch[] = {
1621 "format",
1622 "extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
1623 (char*)NULL };
1624
1625/* * * * * * * * * * * * * * * * * * * * * * * * * *
1626 *
1627 * Description of Aix_Stdlib_Calloc fix
1628 */
1629tSCC zAix_Stdlib_CallocName[] =
1630 "aix_stdlib_calloc";
1631
1632/*
1633 * File name selection pattern
1634 */
1635tSCC zAix_Stdlib_CallocList[] =
1636 "stdlib.h\0";
1637/*
1638 * Machine/OS name selection pattern
1639 */
1640tSCC* apzAix_Stdlib_CallocMachs[] = {
1641 "*-*-aix*",
1642 (const char*)NULL };
1643
1644/*
1645 * content selection pattern - do fix if pattern found
1646 */
1647tSCC zAix_Stdlib_CallocSelect0[] =
1648 "#define[ \t]+calloc[ \t]+__linux_calloc";
1649
1650#define AIX_STDLIB_CALLOC_TEST_CT 1
1651static tTestDesc aAix_Stdlib_CallocTests[] = {
1652 { .type: TT_EGREP, .pz_test_text: zAix_Stdlib_CallocSelect0, .p_test_regex: (regex_t*)NULL }, };
1653
1654/*
1655 * Fix Command Arguments for Aix_Stdlib_Calloc
1656 */
1657static const char* apzAix_Stdlib_CallocPatch[] = {
1658 "format",
1659 "extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
1660 (char*)NULL };
1661
1662/* * * * * * * * * * * * * * * * * * * * * * * * * *
1663 *
1664 * Description of Aix_Stdlib_Valloc fix
1665 */
1666tSCC zAix_Stdlib_VallocName[] =
1667 "aix_stdlib_valloc";
1668
1669/*
1670 * File name selection pattern
1671 */
1672tSCC zAix_Stdlib_VallocList[] =
1673 "stdlib.h\0";
1674/*
1675 * Machine/OS name selection pattern
1676 */
1677tSCC* apzAix_Stdlib_VallocMachs[] = {
1678 "*-*-aix*",
1679 (const char*)NULL };
1680
1681/*
1682 * content selection pattern - do fix if pattern found
1683 */
1684tSCC zAix_Stdlib_VallocSelect0[] =
1685 "#define[ \t]+valloc[ \t]+__linux_valloc";
1686
1687#define AIX_STDLIB_VALLOC_TEST_CT 1
1688static tTestDesc aAix_Stdlib_VallocTests[] = {
1689 { .type: TT_EGREP, .pz_test_text: zAix_Stdlib_VallocSelect0, .p_test_regex: (regex_t*)NULL }, };
1690
1691/*
1692 * Fix Command Arguments for Aix_Stdlib_Valloc
1693 */
1694static const char* apzAix_Stdlib_VallocPatch[] = {
1695 "format",
1696 "extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
1697 (char*)NULL };
1698
1699/* * * * * * * * * * * * * * * * * * * * * * * * * *
1700 *
1701 * Description of Aix_Stdlib_Vec_Malloc fix
1702 */
1703tSCC zAix_Stdlib_Vec_MallocName[] =
1704 "aix_stdlib_vec_malloc";
1705
1706/*
1707 * File name selection pattern
1708 */
1709tSCC zAix_Stdlib_Vec_MallocList[] =
1710 "stdlib.h\0";
1711/*
1712 * Machine/OS name selection pattern
1713 */
1714tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
1715 "*-*-aix*",
1716 (const char*)NULL };
1717
1718/*
1719 * content selection pattern - do fix if pattern found
1720 */
1721tSCC zAix_Stdlib_Vec_MallocSelect0[] =
1722 "#define[ \t]+malloc[ \t]+vec_malloc";
1723
1724#define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
1725static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
1726 { .type: TT_EGREP, .pz_test_text: zAix_Stdlib_Vec_MallocSelect0, .p_test_regex: (regex_t*)NULL }, };
1727
1728/*
1729 * Fix Command Arguments for Aix_Stdlib_Vec_Malloc
1730 */
1731static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
1732 "format",
1733 "extern void *malloc(size_t) __asm__(\"vec_malloc\");",
1734 (char*)NULL };
1735
1736/* * * * * * * * * * * * * * * * * * * * * * * * * *
1737 *
1738 * Description of Aix_Stdlib_Vec_Calloc fix
1739 */
1740tSCC zAix_Stdlib_Vec_CallocName[] =
1741 "aix_stdlib_vec_calloc";
1742
1743/*
1744 * File name selection pattern
1745 */
1746tSCC zAix_Stdlib_Vec_CallocList[] =
1747 "stdlib.h\0";
1748/*
1749 * Machine/OS name selection pattern
1750 */
1751tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
1752 "*-*-aix*",
1753 (const char*)NULL };
1754
1755/*
1756 * content selection pattern - do fix if pattern found
1757 */
1758tSCC zAix_Stdlib_Vec_CallocSelect0[] =
1759 "#define[ \t]+calloc[ \t]+vec_calloc";
1760
1761#define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
1762static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
1763 { .type: TT_EGREP, .pz_test_text: zAix_Stdlib_Vec_CallocSelect0, .p_test_regex: (regex_t*)NULL }, };
1764
1765/*
1766 * Fix Command Arguments for Aix_Stdlib_Vec_Calloc
1767 */
1768static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
1769 "format",
1770 "extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
1771 (char*)NULL };
1772
1773/* * * * * * * * * * * * * * * * * * * * * * * * * *
1774 *
1775 * Description of Aix_Strtof_Const fix
1776 */
1777tSCC zAix_Strtof_ConstName[] =
1778 "aix_strtof_const";
1779
1780/*
1781 * File name selection pattern
1782 */
1783tSCC zAix_Strtof_ConstList[] =
1784 "stdlib.h\0";
1785/*
1786 * Machine/OS name selection pattern
1787 */
1788tSCC* apzAix_Strtof_ConstMachs[] = {
1789 "*-*-aix*",
1790 (const char*)NULL };
1791
1792/*
1793 * content selection pattern - do fix if pattern found
1794 */
1795tSCC zAix_Strtof_ConstSelect0[] =
1796 "((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
1797
1798#define AIX_STRTOF_CONST_TEST_CT 1
1799static tTestDesc aAix_Strtof_ConstTests[] = {
1800 { .type: TT_EGREP, .pz_test_text: zAix_Strtof_ConstSelect0, .p_test_regex: (regex_t*)NULL }, };
1801
1802/*
1803 * Fix Command Arguments for Aix_Strtof_Const
1804 */
1805static const char* apzAix_Strtof_ConstPatch[] = {
1806 "format",
1807 "%1(const char *, char **);",
1808 (char*)NULL };
1809
1810/* * * * * * * * * * * * * * * * * * * * * * * * * *
1811 *
1812 * Description of Aix_Sysmachine fix
1813 */
1814tSCC zAix_SysmachineName[] =
1815 "aix_sysmachine";
1816
1817/*
1818 * File name selection pattern
1819 */
1820tSCC zAix_SysmachineList[] =
1821 "sys/machine.h\0";
1822/*
1823 * Machine/OS name selection pattern
1824 */
1825tSCC* apzAix_SysmachineMachs[] = {
1826 "*-*-aix*",
1827 (const char*)NULL };
1828
1829/*
1830 * content selection pattern - do fix if pattern found
1831 */
1832tSCC zAix_SysmachineSelect0[] =
1833 "\\\\ +\n";
1834
1835#define AIX_SYSMACHINE_TEST_CT 1
1836static tTestDesc aAix_SysmachineTests[] = {
1837 { .type: TT_EGREP, .pz_test_text: zAix_SysmachineSelect0, .p_test_regex: (regex_t*)NULL }, };
1838
1839/*
1840 * Fix Command Arguments for Aix_Sysmachine
1841 */
1842static const char* apzAix_SysmachinePatch[] = {
1843 "format",
1844 "\\\n",
1845 (char*)NULL };
1846
1847/* * * * * * * * * * * * * * * * * * * * * * * * * *
1848 *
1849 * Description of Aix_Syswait_2 fix
1850 */
1851tSCC zAix_Syswait_2Name[] =
1852 "aix_syswait_2";
1853
1854/*
1855 * File name selection pattern
1856 */
1857tSCC zAix_Syswait_2List[] =
1858 "sys/wait.h\0";
1859/*
1860 * Machine/OS name selection pattern
1861 */
1862tSCC* apzAix_Syswait_2Machs[] = {
1863 "*-*-aix*",
1864 (const char*)NULL };
1865
1866/*
1867 * content selection pattern - do fix if pattern found
1868 */
1869tSCC zAix_Syswait_2Select0[] =
1870 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
1871
1872#define AIX_SYSWAIT_2_TEST_CT 1
1873static tTestDesc aAix_Syswait_2Tests[] = {
1874 { .type: TT_EGREP, .pz_test_text: zAix_Syswait_2Select0, .p_test_regex: (regex_t*)NULL }, };
1875
1876/*
1877 * Fix Command Arguments for Aix_Syswait_2
1878 */
1879static const char* apzAix_Syswait_2Patch[] = {
1880 "format",
1881 "? (int)%1",
1882 (char*)NULL };
1883
1884/* * * * * * * * * * * * * * * * * * * * * * * * * *
1885 *
1886 * Description of Aix_Volatile fix
1887 */
1888tSCC zAix_VolatileName[] =
1889 "aix_volatile";
1890
1891/*
1892 * File name selection pattern
1893 */
1894tSCC zAix_VolatileList[] =
1895 "sys/signal.h\0";
1896/*
1897 * Machine/OS name selection pattern
1898 */
1899tSCC* apzAix_VolatileMachs[] = {
1900 "*-*-aix*",
1901 (const char*)NULL };
1902
1903/*
1904 * content selection pattern - do fix if pattern found
1905 */
1906tSCC zAix_VolatileSelect0[] =
1907 "typedef volatile int sig_atomic_t";
1908
1909#define AIX_VOLATILE_TEST_CT 1
1910static tTestDesc aAix_VolatileTests[] = {
1911 { .type: TT_EGREP, .pz_test_text: zAix_VolatileSelect0, .p_test_regex: (regex_t*)NULL }, };
1912
1913/*
1914 * Fix Command Arguments for Aix_Volatile
1915 */
1916static const char* apzAix_VolatilePatch[] = {
1917 "format",
1918 "typedef int sig_atomic_t",
1919 (char*)NULL };
1920
1921/* * * * * * * * * * * * * * * * * * * * * * * * * *
1922 *
1923 * Description of Aix_Unistd fix
1924 */
1925tSCC zAix_UnistdName[] =
1926 "aix_unistd";
1927
1928/*
1929 * File name selection pattern
1930 */
1931tSCC zAix_UnistdList[] =
1932 "unistd.h\0";
1933/*
1934 * Machine/OS name selection pattern
1935 */
1936tSCC* apzAix_UnistdMachs[] = {
1937 "*-*-aix*",
1938 (const char*)NULL };
1939
1940/*
1941 * content selection pattern - do fix if pattern found
1942 */
1943tSCC zAix_UnistdSelect0[] =
1944 "[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
1945
1946#define AIX_UNISTD_TEST_CT 1
1947static tTestDesc aAix_UnistdTests[] = {
1948 { .type: TT_EGREP, .pz_test_text: zAix_UnistdSelect0, .p_test_regex: (regex_t*)NULL }, };
1949
1950/*
1951 * Fix Command Arguments for Aix_Unistd
1952 */
1953static const char* apzAix_UnistdPatch[] = {
1954 "format",
1955 "\tstatic int\t\tgetdtablesize(void)",
1956 (char*)NULL };
1957
1958/* * * * * * * * * * * * * * * * * * * * * * * * * *
1959 *
1960 * Description of Alpha___Assert fix
1961 */
1962tSCC zAlpha___AssertName[] =
1963 "alpha___assert";
1964
1965/*
1966 * File name selection pattern
1967 */
1968tSCC zAlpha___AssertList[] =
1969 "assert.h\0";
1970/*
1971 * Machine/OS name selection pattern
1972 */
1973#define apzAlpha___AssertMachs (const char**)NULL
1974
1975/*
1976 * content selection pattern - do fix if pattern found
1977 */
1978tSCC zAlpha___AssertSelect0[] =
1979 "__assert\\(char \\*, char \\*, int\\)";
1980
1981#define ALPHA___ASSERT_TEST_CT 1
1982static tTestDesc aAlpha___AssertTests[] = {
1983 { .type: TT_EGREP, .pz_test_text: zAlpha___AssertSelect0, .p_test_regex: (regex_t*)NULL }, };
1984
1985/*
1986 * Fix Command Arguments for Alpha___Assert
1987 */
1988static const char* apzAlpha___AssertPatch[] = {
1989 "format",
1990 "__assert(const char *, const char *, int)",
1991 (char*)NULL };
1992
1993/* * * * * * * * * * * * * * * * * * * * * * * * * *
1994 *
1995 * Description of Alpha_Assert fix
1996 */
1997tSCC zAlpha_AssertName[] =
1998 "alpha_assert";
1999
2000/*
2001 * File name selection pattern
2002 */
2003tSCC zAlpha_AssertList[] =
2004 "assert.h\0";
2005/*
2006 * Machine/OS name selection pattern
2007 */
2008#define apzAlpha_AssertMachs (const char**)NULL
2009
2010/*
2011 * content selection pattern - do fix if pattern found
2012 */
2013tSCC zAlpha_AssertSelect0[] =
2014 "(#[ \t]*define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
2015
2016#define ALPHA_ASSERT_TEST_CT 1
2017static tTestDesc aAlpha_AssertTests[] = {
2018 { .type: TT_EGREP, .pz_test_text: zAlpha_AssertSelect0, .p_test_regex: (regex_t*)NULL }, };
2019
2020/*
2021 * Fix Command Arguments for Alpha_Assert
2022 */
2023static const char* apzAlpha_AssertPatch[] = {
2024 "format",
2025 "%1(EX)",
2026 (char*)NULL };
2027
2028/* * * * * * * * * * * * * * * * * * * * * * * * * *
2029 *
2030 * Description of Alpha_Getopt fix
2031 */
2032tSCC zAlpha_GetoptName[] =
2033 "alpha_getopt";
2034
2035/*
2036 * File name selection pattern
2037 */
2038tSCC zAlpha_GetoptList[] =
2039 "stdio.h\0stdlib.h\0";
2040/*
2041 * Machine/OS name selection pattern
2042 */
2043#define apzAlpha_GetoptMachs (const char**)NULL
2044
2045/*
2046 * content selection pattern - do fix if pattern found
2047 */
2048tSCC zAlpha_GetoptSelect0[] =
2049 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
2050
2051#define ALPHA_GETOPT_TEST_CT 1
2052static tTestDesc aAlpha_GetoptTests[] = {
2053 { .type: TT_EGREP, .pz_test_text: zAlpha_GetoptSelect0, .p_test_regex: (regex_t*)NULL }, };
2054
2055/*
2056 * Fix Command Arguments for Alpha_Getopt
2057 */
2058static const char* apzAlpha_GetoptPatch[] = {
2059 "format",
2060 "getopt(int, char *const[], const char *)",
2061 (char*)NULL };
2062
2063/* * * * * * * * * * * * * * * * * * * * * * * * * *
2064 *
2065 * Description of Alpha_If_Semicolon fix
2066 */
2067tSCC zAlpha_If_SemicolonName[] =
2068 "alpha_if_semicolon";
2069
2070/*
2071 * File name selection pattern
2072 */
2073tSCC zAlpha_If_SemicolonList[] =
2074 "net/if.h\0";
2075/*
2076 * Machine/OS name selection pattern
2077 */
2078#define apzAlpha_If_SemicolonMachs (const char**)NULL
2079
2080/*
2081 * content selection pattern - do fix if pattern found
2082 */
2083tSCC zAlpha_If_SemicolonSelect0[] =
2084 "struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
2085
2086#define ALPHA_IF_SEMICOLON_TEST_CT 1
2087static tTestDesc aAlpha_If_SemicolonTests[] = {
2088 { .type: TT_EGREP, .pz_test_text: zAlpha_If_SemicolonSelect0, .p_test_regex: (regex_t*)NULL }, };
2089
2090/*
2091 * Fix Command Arguments for Alpha_If_Semicolon
2092 */
2093static const char* apzAlpha_If_SemicolonPatch[] = {
2094 "format",
2095 "struct sockaddr vmif_paddr;\t/*",
2096 (char*)NULL };
2097
2098/* * * * * * * * * * * * * * * * * * * * * * * * * *
2099 *
2100 * Description of Alpha_Parens fix
2101 */
2102tSCC zAlpha_ParensName[] =
2103 "alpha_parens";
2104
2105/*
2106 * File name selection pattern
2107 */
2108tSCC zAlpha_ParensList[] =
2109 "sym.h\0";
2110/*
2111 * Machine/OS name selection pattern
2112 */
2113#define apzAlpha_ParensMachs (const char**)NULL
2114
2115/*
2116 * content selection pattern - do fix if pattern found
2117 */
2118tSCC zAlpha_ParensSelect0[] =
2119 "#ifndef\\(__mips64\\)";
2120
2121#define ALPHA_PARENS_TEST_CT 1
2122static tTestDesc aAlpha_ParensTests[] = {
2123 { .type: TT_EGREP, .pz_test_text: zAlpha_ParensSelect0, .p_test_regex: (regex_t*)NULL }, };
2124
2125/*
2126 * Fix Command Arguments for Alpha_Parens
2127 */
2128static const char* apzAlpha_ParensPatch[] = {
2129 "format",
2130 "#ifndef __mips64",
2131 (char*)NULL };
2132
2133/* * * * * * * * * * * * * * * * * * * * * * * * * *
2134 *
2135 * Description of Alpha_Sbrk fix
2136 */
2137tSCC zAlpha_SbrkName[] =
2138 "alpha_sbrk";
2139
2140/*
2141 * File name selection pattern
2142 */
2143tSCC zAlpha_SbrkList[] =
2144 "unistd.h\0";
2145/*
2146 * Machine/OS name selection pattern
2147 */
2148#define apzAlpha_SbrkMachs (const char**)NULL
2149
2150/*
2151 * content selection pattern - do fix if pattern found
2152 */
2153tSCC zAlpha_SbrkSelect0[] =
2154 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
2155
2156#define ALPHA_SBRK_TEST_CT 1
2157static tTestDesc aAlpha_SbrkTests[] = {
2158 { .type: TT_EGREP, .pz_test_text: zAlpha_SbrkSelect0, .p_test_regex: (regex_t*)NULL }, };
2159
2160/*
2161 * Fix Command Arguments for Alpha_Sbrk
2162 */
2163static const char* apzAlpha_SbrkPatch[] = {
2164 "format",
2165 "void *sbrk(",
2166 (char*)NULL };
2167
2168/* * * * * * * * * * * * * * * * * * * * * * * * * *
2169 *
2170 * Description of Avoid_Bool_Define fix
2171 */
2172tSCC zAvoid_Bool_DefineName[] =
2173 "avoid_bool_define";
2174
2175/*
2176 * File name selection pattern
2177 */
2178tSCC zAvoid_Bool_DefineList[] =
2179 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2180/*
2181 * Machine/OS name selection pattern
2182 */
2183#define apzAvoid_Bool_DefineMachs (const char**)NULL
2184
2185/*
2186 * content selection pattern - do fix if pattern found
2187 */
2188tSCC zAvoid_Bool_DefineSelect0[] =
2189 "#[ \t]*define[ \t]+bool[ \t]";
2190
2191/*
2192 * content bypass pattern - skip fix if pattern found
2193 */
2194tSCC zAvoid_Bool_DefineBypass0[] =
2195 "__cplusplus";
2196
2197#define AVOID_BOOL_DEFINE_TEST_CT 2
2198static tTestDesc aAvoid_Bool_DefineTests[] = {
2199 { .type: TT_NEGREP, .pz_test_text: zAvoid_Bool_DefineBypass0, .p_test_regex: (regex_t*)NULL },
2200 { .type: TT_EGREP, .pz_test_text: zAvoid_Bool_DefineSelect0, .p_test_regex: (regex_t*)NULL }, };
2201
2202/*
2203 * Fix Command Arguments for Avoid_Bool_Define
2204 */
2205static const char* apzAvoid_Bool_DefinePatch[] = {
2206 "format",
2207 "#ifndef __cplusplus\n\
2208%0\n\
2209#endif",
2210 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
2211 (char*)NULL };
2212
2213/* * * * * * * * * * * * * * * * * * * * * * * * * *
2214 *
2215 * Description of Avoid_Bool_Type fix
2216 */
2217tSCC zAvoid_Bool_TypeName[] =
2218 "avoid_bool_type";
2219
2220/*
2221 * File name selection pattern
2222 */
2223tSCC zAvoid_Bool_TypeList[] =
2224 "curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
2225/*
2226 * Machine/OS name selection pattern
2227 */
2228#define apzAvoid_Bool_TypeMachs (const char**)NULL
2229
2230/*
2231 * content selection pattern - do fix if pattern found
2232 */
2233tSCC zAvoid_Bool_TypeSelect0[] =
2234 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
2235
2236/*
2237 * content bypass pattern - skip fix if pattern found
2238 */
2239tSCC zAvoid_Bool_TypeBypass0[] =
2240 "__cplusplus";
2241
2242#define AVOID_BOOL_TYPE_TEST_CT 2
2243static tTestDesc aAvoid_Bool_TypeTests[] = {
2244 { .type: TT_NEGREP, .pz_test_text: zAvoid_Bool_TypeBypass0, .p_test_regex: (regex_t*)NULL },
2245 { .type: TT_EGREP, .pz_test_text: zAvoid_Bool_TypeSelect0, .p_test_regex: (regex_t*)NULL }, };
2246
2247/*
2248 * Fix Command Arguments for Avoid_Bool_Type
2249 */
2250static const char* apzAvoid_Bool_TypePatch[] = {
2251 "format",
2252 "#ifndef __cplusplus\n\
2253%0\n\
2254#endif",
2255 (char*)NULL };
2256
2257/* * * * * * * * * * * * * * * * * * * * * * * * * *
2258 *
2259 * Description of Avoid_Wchar_T_Type fix
2260 */
2261tSCC zAvoid_Wchar_T_TypeName[] =
2262 "avoid_wchar_t_type";
2263
2264/*
2265 * File name selection pattern
2266 */
2267#define zAvoid_Wchar_T_TypeList (char*)NULL
2268/*
2269 * Machine/OS name selection pattern
2270 */
2271#define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
2272
2273/*
2274 * content selection pattern - do fix if pattern found
2275 */
2276tSCC zAvoid_Wchar_T_TypeSelect0[] =
2277 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
2278
2279/*
2280 * content bypass pattern - skip fix if pattern found
2281 */
2282tSCC zAvoid_Wchar_T_TypeBypass0[] =
2283 "__cplusplus";
2284tSCC zAvoid_Wchar_T_TypeBypass1[] =
2285 "_LINUX_NLS_H";
2286tSCC zAvoid_Wchar_T_TypeBypass2[] =
2287 "XFree86: xc/lib/X11/Xlib\\.h";
2288
2289#define AVOID_WCHAR_T_TYPE_TEST_CT 4
2290static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
2291 { .type: TT_NEGREP, .pz_test_text: zAvoid_Wchar_T_TypeBypass0, .p_test_regex: (regex_t*)NULL },
2292 { .type: TT_NEGREP, .pz_test_text: zAvoid_Wchar_T_TypeBypass1, .p_test_regex: (regex_t*)NULL },
2293 { .type: TT_NEGREP, .pz_test_text: zAvoid_Wchar_T_TypeBypass2, .p_test_regex: (regex_t*)NULL },
2294 { .type: TT_EGREP, .pz_test_text: zAvoid_Wchar_T_TypeSelect0, .p_test_regex: (regex_t*)NULL }, };
2295
2296/*
2297 * Fix Command Arguments for Avoid_Wchar_T_Type
2298 */
2299static const char* apzAvoid_Wchar_T_TypePatch[] = {
2300 "format",
2301 "#ifndef __cplusplus\n\
2302%0\n\
2303#endif",
2304 (char*)NULL };
2305
2306/* * * * * * * * * * * * * * * * * * * * * * * * * *
2307 *
2308 * Description of Bad_Struct_Term fix
2309 */
2310tSCC zBad_Struct_TermName[] =
2311 "bad_struct_term";
2312
2313/*
2314 * File name selection pattern
2315 */
2316tSCC zBad_Struct_TermList[] =
2317 "curses.h\0";
2318/*
2319 * Machine/OS name selection pattern
2320 */
2321#define apzBad_Struct_TermMachs (const char**)NULL
2322
2323/*
2324 * content selection pattern - do fix if pattern found
2325 */
2326tSCC zBad_Struct_TermSelect0[] =
2327 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
2328
2329#define BAD_STRUCT_TERM_TEST_CT 1
2330static tTestDesc aBad_Struct_TermTests[] = {
2331 { .type: TT_EGREP, .pz_test_text: zBad_Struct_TermSelect0, .p_test_regex: (regex_t*)NULL }, };
2332
2333/*
2334 * Fix Command Arguments for Bad_Struct_Term
2335 */
2336static const char* apzBad_Struct_TermPatch[] = {
2337 "format",
2338 "struct term;",
2339 (char*)NULL };
2340
2341/* * * * * * * * * * * * * * * * * * * * * * * * * *
2342 *
2343 * Description of Badquote fix
2344 */
2345tSCC zBadquoteName[] =
2346 "badquote";
2347
2348/*
2349 * File name selection pattern
2350 */
2351tSCC zBadquoteList[] =
2352 "sundev/vuid_event.h\0";
2353/*
2354 * Machine/OS name selection pattern
2355 */
2356#define apzBadquoteMachs (const char**)NULL
2357
2358/*
2359 * content selection pattern - do fix if pattern found
2360 */
2361tSCC zBadquoteSelect0[] =
2362 "doesn't";
2363
2364#define BADQUOTE_TEST_CT 1
2365static tTestDesc aBadquoteTests[] = {
2366 { .type: TT_EGREP, .pz_test_text: zBadquoteSelect0, .p_test_regex: (regex_t*)NULL }, };
2367
2368/*
2369 * Fix Command Arguments for Badquote
2370 */
2371static const char* apzBadquotePatch[] = {
2372 "format",
2373 "does not",
2374 (char*)NULL };
2375
2376/* * * * * * * * * * * * * * * * * * * * * * * * * *
2377 *
2378 * Description of Broken_Assert_Stdio fix
2379 */
2380tSCC zBroken_Assert_StdioName[] =
2381 "broken_assert_stdio";
2382
2383/*
2384 * File name selection pattern
2385 */
2386tSCC zBroken_Assert_StdioList[] =
2387 "assert.h\0";
2388/*
2389 * Machine/OS name selection pattern
2390 */
2391#define apzBroken_Assert_StdioMachs (const char**)NULL
2392
2393/*
2394 * content selection pattern - do fix if pattern found
2395 */
2396tSCC zBroken_Assert_StdioSelect0[] =
2397 "stderr";
2398
2399/*
2400 * content bypass pattern - skip fix if pattern found
2401 */
2402tSCC zBroken_Assert_StdioBypass0[] =
2403 "include.*stdio\\.h";
2404
2405#define BROKEN_ASSERT_STDIO_TEST_CT 2
2406static tTestDesc aBroken_Assert_StdioTests[] = {
2407 { .type: TT_NEGREP, .pz_test_text: zBroken_Assert_StdioBypass0, .p_test_regex: (regex_t*)NULL },
2408 { .type: TT_EGREP, .pz_test_text: zBroken_Assert_StdioSelect0, .p_test_regex: (regex_t*)NULL }, };
2409
2410/*
2411 * Fix Command Arguments for Broken_Assert_Stdio
2412 */
2413static const char* apzBroken_Assert_StdioPatch[] = {
2414 "wrap",
2415 "#include <stdio.h>\n",
2416 (char*)NULL };
2417
2418/* * * * * * * * * * * * * * * * * * * * * * * * * *
2419 *
2420 * Description of Broken_Assert_Stdlib fix
2421 */
2422tSCC zBroken_Assert_StdlibName[] =
2423 "broken_assert_stdlib";
2424
2425/*
2426 * File name selection pattern
2427 */
2428tSCC zBroken_Assert_StdlibList[] =
2429 "assert.h\0";
2430/*
2431 * Machine/OS name selection pattern
2432 */
2433#define apzBroken_Assert_StdlibMachs (const char**)NULL
2434
2435/*
2436 * content selection pattern - do fix if pattern found
2437 */
2438tSCC zBroken_Assert_StdlibSelect0[] =
2439 "exit *\\(|abort *\\(";
2440
2441/*
2442 * content bypass pattern - skip fix if pattern found
2443 */
2444tSCC zBroken_Assert_StdlibBypass0[] =
2445 "include.*stdlib\\.h";
2446
2447#define BROKEN_ASSERT_STDLIB_TEST_CT 2
2448static tTestDesc aBroken_Assert_StdlibTests[] = {
2449 { .type: TT_NEGREP, .pz_test_text: zBroken_Assert_StdlibBypass0, .p_test_regex: (regex_t*)NULL },
2450 { .type: TT_EGREP, .pz_test_text: zBroken_Assert_StdlibSelect0, .p_test_regex: (regex_t*)NULL }, };
2451
2452/*
2453 * Fix Command Arguments for Broken_Assert_Stdlib
2454 */
2455static const char* apzBroken_Assert_StdlibPatch[] = {
2456 "wrap",
2457 "#ifdef __cplusplus\n\
2458#include <stdlib.h>\n\
2459#endif\n",
2460 (char*)NULL };
2461
2462/* * * * * * * * * * * * * * * * * * * * * * * * * *
2463 *
2464 * Description of Broken_Cabs fix
2465 */
2466tSCC zBroken_CabsName[] =
2467 "broken_cabs";
2468
2469/*
2470 * File name selection pattern
2471 */
2472tSCC zBroken_CabsList[] =
2473 "math.h\0architecture/*/math.h\0";
2474/*
2475 * Machine/OS name selection pattern
2476 */
2477#define apzBroken_CabsMachs (const char**)NULL
2478
2479/*
2480 * content selection pattern - do fix if pattern found
2481 */
2482tSCC zBroken_CabsSelect0[] =
2483 "^extern[ \t]+double[ \t]+cabs";
2484
2485#define BROKEN_CABS_TEST_CT 1
2486static tTestDesc aBroken_CabsTests[] = {
2487 { .type: TT_EGREP, .pz_test_text: zBroken_CabsSelect0, .p_test_regex: (regex_t*)NULL }, };
2488
2489/*
2490 * Fix Command Arguments for Broken_Cabs
2491 */
2492static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
2493 "-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
2494 "-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
2495 (char*)NULL };
2496
2497/* * * * * * * * * * * * * * * * * * * * * * * * * *
2498 *
2499 * Description of Broken_Nan fix
2500 */
2501tSCC zBroken_NanName[] =
2502 "broken_nan";
2503
2504/*
2505 * File name selection pattern
2506 */
2507tSCC zBroken_NanList[] =
2508 "architecture/ppc/math.h\0architecture/*/math.h\0";
2509/*
2510 * Machine/OS name selection pattern
2511 */
2512#define apzBroken_NanMachs (const char**)NULL
2513
2514/*
2515 * content selection pattern - do fix if pattern found
2516 */
2517tSCC zBroken_NanSelect0[] =
2518 "#if defined\\(__APPLE_CC__\\) && \\(__APPLE_CC__ >= 1345\\)";
2519
2520/*
2521 * content bypass pattern - skip fix if pattern found
2522 */
2523tSCC zBroken_NanBypass0[] =
2524 "powl";
2525
2526#define BROKEN_NAN_TEST_CT 2
2527static tTestDesc aBroken_NanTests[] = {
2528 { .type: TT_NEGREP, .pz_test_text: zBroken_NanBypass0, .p_test_regex: (regex_t*)NULL },
2529 { .type: TT_EGREP, .pz_test_text: zBroken_NanSelect0, .p_test_regex: (regex_t*)NULL }, };
2530
2531/*
2532 * Fix Command Arguments for Broken_Nan
2533 */
2534static const char* apzBroken_NanPatch[] = {
2535 "format",
2536 "#if 1",
2537 (char*)NULL };
2538
2539/* * * * * * * * * * * * * * * * * * * * * * * * * *
2540 *
2541 * Description of Bsd_Stdio_Attrs_Conflict fix
2542 */
2543tSCC zBsd_Stdio_Attrs_ConflictName[] =
2544 "bsd_stdio_attrs_conflict";
2545
2546/*
2547 * File name selection pattern
2548 */
2549tSCC zBsd_Stdio_Attrs_ConflictList[] =
2550 "stdio.h\0";
2551/*
2552 * Machine/OS name selection pattern
2553 */
2554tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
2555 "*-*-*bsd*",
2556 "*-*-*darwin*",
2557 (const char*)NULL };
2558
2559/*
2560 * content selection pattern - do fix if pattern found
2561 */
2562tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
2563 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
2564
2565#define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
2566static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
2567 { .type: TT_EGREP, .pz_test_text: zBsd_Stdio_Attrs_ConflictSelect0, .p_test_regex: (regex_t*)NULL }, };
2568
2569/*
2570 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
2571 */
2572static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
2573 "format",
2574 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
2575#define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
2576int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
2577 (char*)NULL };
2578
2579/* * * * * * * * * * * * * * * * * * * * * * * * * *
2580 *
2581 * Description of Apple_Local_Stdio_Fn_Deprecation fix
2582 */
2583tSCC zApple_Local_Stdio_Fn_DeprecationName[] =
2584 "apple_local_stdio_fn_deprecation";
2585
2586/*
2587 * File name selection pattern
2588 */
2589tSCC zApple_Local_Stdio_Fn_DeprecationList[] =
2590 "stdio.h\0_stdio.h\0";
2591/*
2592 * Machine/OS name selection pattern
2593 */
2594tSCC* apzApple_Local_Stdio_Fn_DeprecationMachs[] = {
2595 "*-*-*darwin2*",
2596 (const char*)NULL };
2597
2598/*
2599 * content selection pattern - do fix if pattern found
2600 */
2601tSCC zApple_Local_Stdio_Fn_DeprecationSelect0[] =
2602 "__deprecated_msg([^\n\
2603]*)$";
2604
2605#define APPLE_LOCAL_STDIO_FN_DEPRECATION_TEST_CT 1
2606static tTestDesc aApple_Local_Stdio_Fn_DeprecationTests[] = {
2607 { .type: TT_EGREP, .pz_test_text: zApple_Local_Stdio_Fn_DeprecationSelect0, .p_test_regex: (regex_t*)NULL }, };
2608
2609/*
2610 * Fix Command Arguments for Apple_Local_Stdio_Fn_Deprecation
2611 */
2612static const char* apzApple_Local_Stdio_Fn_DeprecationPatch[] = {
2613 "format",
2614 "#if defined(__APPLE_LOCAL_DEPRECATIONS)\n\
2615%0\n\
2616#endif",
2617 (char*)NULL };
2618
2619/* * * * * * * * * * * * * * * * * * * * * * * * * *
2620 *
2621 * Description of Ctrl_Quotes_Def fix
2622 */
2623tSCC zCtrl_Quotes_DefName[] =
2624 "ctrl_quotes_def";
2625
2626/*
2627 * File name selection pattern
2628 */
2629#define zCtrl_Quotes_DefList (char*)NULL
2630/*
2631 * Machine/OS name selection pattern
2632 */
2633#define apzCtrl_Quotes_DefMachs (const char**)NULL
2634
2635/*
2636 * content selection pattern - do fix if pattern found
2637 */
2638tSCC zCtrl_Quotes_DefSelect0[] =
2639 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
2640
2641#define CTRL_QUOTES_DEF_TEST_CT 1
2642static tTestDesc aCtrl_Quotes_DefTests[] = {
2643 { .type: TT_EGREP, .pz_test_text: zCtrl_Quotes_DefSelect0, .p_test_regex: (regex_t*)NULL }, };
2644
2645/*
2646 * Fix Command Arguments for Ctrl_Quotes_Def
2647 */
2648static const char* apzCtrl_Quotes_DefPatch[] = {
2649 "char_macro_def",
2650 "CTRL",
2651 (char*)NULL };
2652
2653/* * * * * * * * * * * * * * * * * * * * * * * * * *
2654 *
2655 * Description of Ctrl_Quotes_Use fix
2656 */
2657tSCC zCtrl_Quotes_UseName[] =
2658 "ctrl_quotes_use";
2659
2660/*
2661 * File name selection pattern
2662 */
2663#define zCtrl_Quotes_UseList (char*)NULL
2664/*
2665 * Machine/OS name selection pattern
2666 */
2667#define apzCtrl_Quotes_UseMachs (const char**)NULL
2668
2669/*
2670 * content selection pattern - do fix if pattern found
2671 */
2672tSCC zCtrl_Quotes_UseSelect0[] =
2673 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
2674
2675#define CTRL_QUOTES_USE_TEST_CT 1
2676static tTestDesc aCtrl_Quotes_UseTests[] = {
2677 { .type: TT_EGREP, .pz_test_text: zCtrl_Quotes_UseSelect0, .p_test_regex: (regex_t*)NULL }, };
2678
2679/*
2680 * Fix Command Arguments for Ctrl_Quotes_Use
2681 */
2682static const char* apzCtrl_Quotes_UsePatch[] = {
2683 "char_macro_use",
2684 "CTRL",
2685 (char*)NULL };
2686
2687/* * * * * * * * * * * * * * * * * * * * * * * * * *
2688 *
2689 * Description of Cxx_Unready fix
2690 */
2691tSCC zCxx_UnreadyName[] =
2692 "cxx_unready";
2693
2694/*
2695 * File name selection pattern
2696 */
2697tSCC zCxx_UnreadyList[] =
2698 "sys/mman.h\0rpc/types.h\0";
2699/*
2700 * Machine/OS name selection pattern
2701 */
2702#define apzCxx_UnreadyMachs (const char**)NULL
2703
2704/*
2705 * content selection pattern - do fix if pattern found
2706 */
2707tSCC zCxx_UnreadySelect0[] =
2708 "[^#]+malloc.*;";
2709
2710/*
2711 * content bypass pattern - skip fix if pattern found
2712 */
2713tSCC zCxx_UnreadyBypass0[] =
2714 "\"C\"|__BEGIN_DECLS";
2715
2716#define CXX_UNREADY_TEST_CT 2
2717static tTestDesc aCxx_UnreadyTests[] = {
2718 { .type: TT_NEGREP, .pz_test_text: zCxx_UnreadyBypass0, .p_test_regex: (regex_t*)NULL },
2719 { .type: TT_EGREP, .pz_test_text: zCxx_UnreadySelect0, .p_test_regex: (regex_t*)NULL }, };
2720
2721/*
2722 * Fix Command Arguments for Cxx_Unready
2723 */
2724static const char* apzCxx_UnreadyPatch[] = {
2725 "wrap",
2726 "#ifdef __cplusplus\n\
2727extern \"C\" {\n\
2728#endif\n",
2729 "#ifdef __cplusplus\n\
2730}\n\
2731#endif\n",
2732 (char*)NULL };
2733
2734/* * * * * * * * * * * * * * * * * * * * * * * * * *
2735 *
2736 * Description of Darwin_Availabilityinternal fix
2737 */
2738tSCC zDarwin_AvailabilityinternalName[] =
2739 "darwin_availabilityinternal";
2740
2741/*
2742 * File name selection pattern
2743 */
2744tSCC zDarwin_AvailabilityinternalList[] =
2745 "AvailabilityInternal.h\0";
2746/*
2747 * Machine/OS name selection pattern
2748 */
2749tSCC* apzDarwin_AvailabilityinternalMachs[] = {
2750 "*-*-darwin*",
2751 (const char*)NULL };
2752
2753/*
2754 * content selection pattern - do fix if pattern found
2755 */
2756tSCC zDarwin_AvailabilityinternalSelect0[] =
2757 "#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
2758
2759#define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
2760static tTestDesc aDarwin_AvailabilityinternalTests[] = {
2761 { .type: TT_EGREP, .pz_test_text: zDarwin_AvailabilityinternalSelect0, .p_test_regex: (regex_t*)NULL }, };
2762
2763/*
2764 * Fix Command Arguments for Darwin_Availabilityinternal
2765 */
2766static const char* apzDarwin_AvailabilityinternalPatch[] = {
2767 "format",
2768 "#if defined(__has_attribute)\n\
2769 #if __has_attribute(availability)\n\
2770%0\n\
2771 #else\n\
2772 #define %1\n\
2773 #endif\n\
2774#else\n\
2775 #define %1\n\
2776#endif",
2777 (char*)NULL };
2778
2779/* * * * * * * * * * * * * * * * * * * * * * * * * *
2780 *
2781 * Description of Darwin_9_Long_Double_Funcs_2 fix
2782 */
2783tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
2784 "darwin_9_long_double_funcs_2";
2785
2786/*
2787 * File name selection pattern
2788 */
2789tSCC zDarwin_9_Long_Double_Funcs_2List[] =
2790 "math.h\0";
2791/*
2792 * Machine/OS name selection pattern
2793 */
2794tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
2795 "*-*-darwin*",
2796 (const char*)NULL };
2797
2798/*
2799 * content selection pattern - do fix if pattern found
2800 */
2801tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
2802 "#include[ \\t]+\\\"";
2803
2804#define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
2805static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
2806 { .type: TT_EGREP, .pz_test_text: zDarwin_9_Long_Double_Funcs_2Select0, .p_test_regex: (regex_t*)NULL }, };
2807
2808/*
2809 * Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
2810 */
2811static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
2812 "format",
2813 "%1<%2.h>",
2814 "([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
2815 (char*)NULL };
2816
2817/* * * * * * * * * * * * * * * * * * * * * * * * * *
2818 *
2819 * Description of Darwin_Externc fix
2820 */
2821tSCC zDarwin_ExterncName[] =
2822 "darwin_externc";
2823
2824/*
2825 * File name selection pattern
2826 */
2827tSCC zDarwin_ExterncList[] =
2828 "mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
2829/*
2830 * Machine/OS name selection pattern
2831 */
2832tSCC* apzDarwin_ExterncMachs[] = {
2833 "*-*-darwin*",
2834 (const char*)NULL };
2835
2836/*
2837 * content bypass pattern - skip fix if pattern found
2838 */
2839tSCC zDarwin_ExterncBypass0[] =
2840 "extern \"C\"";
2841tSCC zDarwin_ExterncBypass1[] =
2842 "__BEGIN_DECLS";
2843
2844#define DARWIN_EXTERNC_TEST_CT 2
2845static tTestDesc aDarwin_ExterncTests[] = {
2846 { .type: TT_NEGREP, .pz_test_text: zDarwin_ExterncBypass0, .p_test_regex: (regex_t*)NULL },
2847 { .type: TT_NEGREP, .pz_test_text: zDarwin_ExterncBypass1, .p_test_regex: (regex_t*)NULL }, };
2848
2849/*
2850 * Fix Command Arguments for Darwin_Externc
2851 */
2852static const char* apzDarwin_ExterncPatch[] = {
2853 "wrap",
2854 "#ifdef __cplusplus\n\
2855extern \"C\" {\n\
2856#endif\n",
2857 "#ifdef __cplusplus\n\
2858}\n\
2859#endif\n",
2860 (char*)NULL };
2861
2862/* * * * * * * * * * * * * * * * * * * * * * * * * *
2863 *
2864 * Description of Darwin_Gcc4_Breakage fix
2865 */
2866tSCC zDarwin_Gcc4_BreakageName[] =
2867 "darwin_gcc4_breakage";
2868
2869/*
2870 * File name selection pattern
2871 */
2872tSCC zDarwin_Gcc4_BreakageList[] =
2873 "AvailabilityMacros.h\0";
2874/*
2875 * Machine/OS name selection pattern
2876 */
2877tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
2878 "*-*-darwin*",
2879 (const char*)NULL };
2880
2881/*
2882 * content selection pattern - do fix if pattern found
2883 */
2884tSCC zDarwin_Gcc4_BreakageSelect0[] =
2885 "\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
2886
2887#define DARWIN_GCC4_BREAKAGE_TEST_CT 1
2888static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
2889 { .type: TT_EGREP, .pz_test_text: zDarwin_Gcc4_BreakageSelect0, .p_test_regex: (regex_t*)NULL }, };
2890
2891/*
2892 * Fix Command Arguments for Darwin_Gcc4_Breakage
2893 */
2894static const char* apzDarwin_Gcc4_BreakagePatch[] = {
2895 "format",
2896 "((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
2897 (char*)NULL };
2898
2899/* * * * * * * * * * * * * * * * * * * * * * * * * *
2900 *
2901 * Description of Darwin_Ll_Funcs_Avail fix
2902 */
2903tSCC zDarwin_Ll_Funcs_AvailName[] =
2904 "darwin_ll_funcs_avail";
2905
2906/*
2907 * File name selection pattern
2908 */
2909tSCC zDarwin_Ll_Funcs_AvailList[] =
2910 "architecture/ppc/math.h\0architecture/i386/math.h\0";
2911/*
2912 * Machine/OS name selection pattern
2913 */
2914tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
2915 "*-*-darwin*",
2916 (const char*)NULL };
2917
2918/*
2919 * content selection pattern - do fix if pattern found
2920 */
2921tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
2922 "#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
2923
2924#define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
2925static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
2926 { .type: TT_EGREP, .pz_test_text: zDarwin_Ll_Funcs_AvailSelect0, .p_test_regex: (regex_t*)NULL }, };
2927
2928/*
2929 * Fix Command Arguments for Darwin_Ll_Funcs_Avail
2930 */
2931static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
2932 "-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
2933 (char*)NULL };
2934
2935/* * * * * * * * * * * * * * * * * * * * * * * * * *
2936 *
2937 * Description of Darwin_Longjmp_Noreturn fix
2938 */
2939tSCC zDarwin_Longjmp_NoreturnName[] =
2940 "darwin_longjmp_noreturn";
2941
2942/*
2943 * File name selection pattern
2944 */
2945tSCC zDarwin_Longjmp_NoreturnList[] =
2946 "i386/setjmp.h\0";
2947/*
2948 * Machine/OS name selection pattern
2949 */
2950tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
2951 "*-*-darwin*",
2952 (const char*)NULL };
2953
2954/*
2955 * content selection pattern - do fix if pattern found
2956 */
2957tSCC zDarwin_Longjmp_NoreturnSelect0[] =
2958 "(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
2959
2960/*
2961 * content bypass pattern - skip fix if pattern found
2962 */
2963tSCC zDarwin_Longjmp_NoreturnBypass0[] =
2964 "__dead2";
2965
2966#define DARWIN_LONGJMP_NORETURN_TEST_CT 2
2967static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
2968 { .type: TT_NEGREP, .pz_test_text: zDarwin_Longjmp_NoreturnBypass0, .p_test_regex: (regex_t*)NULL },
2969 { .type: TT_EGREP, .pz_test_text: zDarwin_Longjmp_NoreturnSelect0, .p_test_regex: (regex_t*)NULL }, };
2970
2971/*
2972 * Fix Command Arguments for Darwin_Longjmp_Noreturn
2973 */
2974static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
2975 "format",
2976 "%1 __attribute__ ((__noreturn__));",
2977 (char*)NULL };
2978
2979/* * * * * * * * * * * * * * * * * * * * * * * * * *
2980 *
2981 * Description of Darwin_Os_Trace_1 fix
2982 */
2983tSCC zDarwin_Os_Trace_1Name[] =
2984 "darwin_os_trace_1";
2985
2986/*
2987 * File name selection pattern
2988 */
2989tSCC zDarwin_Os_Trace_1List[] =
2990 "os/trace.h\0";
2991/*
2992 * Machine/OS name selection pattern
2993 */
2994tSCC* apzDarwin_Os_Trace_1Machs[] = {
2995 "*-*-darwin*",
2996 (const char*)NULL };
2997
2998/*
2999 * content selection pattern - do fix if pattern found
3000 */
3001tSCC zDarwin_Os_Trace_1Select0[] =
3002 "^(_os_trace_verify_printf.*) (__attribute__.*)";
3003
3004#define DARWIN_OS_TRACE_1_TEST_CT 1
3005static tTestDesc aDarwin_Os_Trace_1Tests[] = {
3006 { .type: TT_EGREP, .pz_test_text: zDarwin_Os_Trace_1Select0, .p_test_regex: (regex_t*)NULL }, };
3007
3008/*
3009 * Fix Command Arguments for Darwin_Os_Trace_1
3010 */
3011static const char* apzDarwin_Os_Trace_1Patch[] = {
3012 "format",
3013 "%1",
3014 (char*)NULL };
3015
3016/* * * * * * * * * * * * * * * * * * * * * * * * * *
3017 *
3018 * Description of Darwin_Os_Trace_2 fix
3019 */
3020tSCC zDarwin_Os_Trace_2Name[] =
3021 "darwin_os_trace_2";
3022
3023/*
3024 * File name selection pattern
3025 */
3026tSCC zDarwin_Os_Trace_2List[] =
3027 "os/trace.h\0";
3028/*
3029 * Machine/OS name selection pattern
3030 */
3031tSCC* apzDarwin_Os_Trace_2Machs[] = {
3032 "*-*-darwin*",
3033 (const char*)NULL };
3034
3035/*
3036 * content selection pattern - do fix if pattern found
3037 */
3038tSCC zDarwin_Os_Trace_2Select0[] =
3039 "typedef.*\\^os_trace_payload_t.*";
3040
3041/*
3042 * content bypass pattern - skip fix if pattern found
3043 */
3044tSCC zDarwin_Os_Trace_2Bypass0[] =
3045 "#ifdef __BLOCKS__";
3046
3047#define DARWIN_OS_TRACE_2_TEST_CT 2
3048static tTestDesc aDarwin_Os_Trace_2Tests[] = {
3049 { .type: TT_NEGREP, .pz_test_text: zDarwin_Os_Trace_2Bypass0, .p_test_regex: (regex_t*)NULL },
3050 { .type: TT_EGREP, .pz_test_text: zDarwin_Os_Trace_2Select0, .p_test_regex: (regex_t*)NULL }, };
3051
3052/*
3053 * Fix Command Arguments for Darwin_Os_Trace_2
3054 */
3055static const char* apzDarwin_Os_Trace_2Patch[] = {
3056 "format",
3057 "#if __BLOCKS__\n\
3058%0\n\
3059#endif",
3060 (char*)NULL };
3061
3062/* * * * * * * * * * * * * * * * * * * * * * * * * *
3063 *
3064 * Description of Darwin_Objc_Runtime_1 fix
3065 */
3066tSCC zDarwin_Objc_Runtime_1Name[] =
3067 "darwin_objc_runtime_1";
3068
3069/*
3070 * File name selection pattern
3071 */
3072tSCC zDarwin_Objc_Runtime_1List[] =
3073 "objc/runtime.h\0";
3074/*
3075 * Machine/OS name selection pattern
3076 */
3077tSCC* apzDarwin_Objc_Runtime_1Machs[] = {
3078 "*-*-darwin2*",
3079 (const char*)NULL };
3080
3081/*
3082 * content selection pattern - do fix if pattern found
3083 */
3084tSCC zDarwin_Objc_Runtime_1Select0[] =
3085 "OBJC_EXPORT void.*\n\
3086objc_enumerateClasses.*\n\
3087.*\n\
3088.*\n\
3089.*\n\
3090.*void \\(\\^ _Nonnull block.*\n\
3091.*\n\
3092.*\n\
3093.*OBJC_REFINED_FOR_SWIFT.*";
3094
3095/*
3096 * content bypass pattern - skip fix if pattern found
3097 */
3098tSCC zDarwin_Objc_Runtime_1Bypass0[] =
3099 "#ifdef __BLOCKS__";
3100
3101#define DARWIN_OBJC_RUNTIME_1_TEST_CT 2
3102static tTestDesc aDarwin_Objc_Runtime_1Tests[] = {
3103 { .type: TT_NEGREP, .pz_test_text: zDarwin_Objc_Runtime_1Bypass0, .p_test_regex: (regex_t*)NULL },
3104 { .type: TT_EGREP, .pz_test_text: zDarwin_Objc_Runtime_1Select0, .p_test_regex: (regex_t*)NULL }, };
3105
3106/*
3107 * Fix Command Arguments for Darwin_Objc_Runtime_1
3108 */
3109static const char* apzDarwin_Objc_Runtime_1Patch[] = {
3110 "format",
3111 "#if __BLOCKS__\n\
3112%0\n\
3113#endif",
3114 (char*)NULL };
3115
3116/* * * * * * * * * * * * * * * * * * * * * * * * * *
3117 *
3118 * Description of Darwin_Os_Trace_3 fix
3119 */
3120tSCC zDarwin_Os_Trace_3Name[] =
3121 "darwin_os_trace_3";
3122
3123/*
3124 * File name selection pattern
3125 */
3126tSCC zDarwin_Os_Trace_3List[] =
3127 "os/trace.h\0";
3128/*
3129 * Machine/OS name selection pattern
3130 */
3131tSCC* apzDarwin_Os_Trace_3Machs[] = {
3132 "*-*-darwin*",
3133 (const char*)NULL };
3134
3135/*
3136 * content selection pattern - do fix if pattern found
3137 */
3138tSCC zDarwin_Os_Trace_3Select0[] =
3139 "__(API|OSX)_.*\n\
3140OS_EXPORT.*\n\
3141.*\n\
3142_os_trace.*os_trace_payload_t payload);";
3143
3144#define DARWIN_OS_TRACE_3_TEST_CT 1
3145static tTestDesc aDarwin_Os_Trace_3Tests[] = {
3146 { .type: TT_EGREP, .pz_test_text: zDarwin_Os_Trace_3Select0, .p_test_regex: (regex_t*)NULL }, };
3147
3148/*
3149 * Fix Command Arguments for Darwin_Os_Trace_3
3150 */
3151static const char* apzDarwin_Os_Trace_3Patch[] = {
3152 "format",
3153 "#if __BLOCKS__\n\
3154%0\n\
3155#endif",
3156 (char*)NULL };
3157
3158/* * * * * * * * * * * * * * * * * * * * * * * * * *
3159 *
3160 * Description of Darwin_Os_Base_1 fix
3161 */
3162tSCC zDarwin_Os_Base_1Name[] =
3163 "darwin_os_base_1";
3164
3165/*
3166 * File name selection pattern
3167 */
3168tSCC zDarwin_Os_Base_1List[] =
3169 "os/base.h\0";
3170/*
3171 * Machine/OS name selection pattern
3172 */
3173tSCC* apzDarwin_Os_Base_1Machs[] = {
3174 "*-*-darwin*",
3175 (const char*)NULL };
3176
3177/*
3178 * content selection pattern - do fix if pattern found
3179 */
3180tSCC zDarwin_Os_Base_1Select0[] =
3181 "#define __has_attribute.*\n\
3182#endif";
3183
3184/*
3185 * content bypass pattern - skip fix if pattern found
3186 */
3187tSCC zDarwin_Os_Base_1Bypass0[] =
3188 "#define __has_extension";
3189
3190#define DARWIN_OS_BASE_1_TEST_CT 2
3191static tTestDesc aDarwin_Os_Base_1Tests[] = {
3192 { .type: TT_NEGREP, .pz_test_text: zDarwin_Os_Base_1Bypass0, .p_test_regex: (regex_t*)NULL },
3193 { .type: TT_EGREP, .pz_test_text: zDarwin_Os_Base_1Select0, .p_test_regex: (regex_t*)NULL }, };
3194
3195/*
3196 * Fix Command Arguments for Darwin_Os_Base_1
3197 */
3198static const char* apzDarwin_Os_Base_1Patch[] = {
3199 "format",
3200 "%0\n\
3201#ifndef __has_extension\n\
3202#define __has_extension(x) 0\n\
3203#endif",
3204 (char*)NULL };
3205
3206/* * * * * * * * * * * * * * * * * * * * * * * * * *
3207 *
3208 * Description of Darwin_Dispatch_Object_1 fix
3209 */
3210tSCC zDarwin_Dispatch_Object_1Name[] =
3211 "darwin_dispatch_object_1";
3212
3213/*
3214 * File name selection pattern
3215 */
3216tSCC zDarwin_Dispatch_Object_1List[] =
3217 "dispatch/object.h\0";
3218/*
3219 * Machine/OS name selection pattern
3220 */
3221tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
3222 "*-*-darwin*",
3223 (const char*)NULL };
3224
3225/*
3226 * content selection pattern - do fix if pattern found
3227 */
3228tSCC zDarwin_Dispatch_Object_1Select0[] =
3229 "typedef void.*\\^dispatch_block_t.*";
3230
3231/*
3232 * content bypass pattern - skip fix if pattern found
3233 */
3234tSCC zDarwin_Dispatch_Object_1Bypass0[] =
3235 "#ifdef __BLOCKS__";
3236
3237#define DARWIN_DISPATCH_OBJECT_1_TEST_CT 2
3238static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
3239 { .type: TT_NEGREP, .pz_test_text: zDarwin_Dispatch_Object_1Bypass0, .p_test_regex: (regex_t*)NULL },
3240 { .type: TT_EGREP, .pz_test_text: zDarwin_Dispatch_Object_1Select0, .p_test_regex: (regex_t*)NULL }, };
3241
3242/*
3243 * Fix Command Arguments for Darwin_Dispatch_Object_1
3244 */
3245static const char* apzDarwin_Dispatch_Object_1Patch[] = {
3246 "format",
3247 "#if __BLOCKS__\n\
3248%0\n\
3249#endif",
3250 (char*)NULL };
3251
3252/* * * * * * * * * * * * * * * * * * * * * * * * * *
3253 *
3254 * Description of Darwin_Private_Extern fix
3255 */
3256tSCC zDarwin_Private_ExternName[] =
3257 "darwin_private_extern";
3258
3259/*
3260 * File name selection pattern
3261 */
3262tSCC zDarwin_Private_ExternList[] =
3263 "mach-o/dyld.h\0";
3264/*
3265 * Machine/OS name selection pattern
3266 */
3267tSCC* apzDarwin_Private_ExternMachs[] = {
3268 "*-*-darwin*",
3269 (const char*)NULL };
3270
3271/*
3272 * content selection pattern - do fix if pattern found
3273 */
3274tSCC zDarwin_Private_ExternSelect0[] =
3275 "__private_extern__ [a-z_]+ _dyld_";
3276
3277#define DARWIN_PRIVATE_EXTERN_TEST_CT 1
3278static tTestDesc aDarwin_Private_ExternTests[] = {
3279 { .type: TT_EGREP, .pz_test_text: zDarwin_Private_ExternSelect0, .p_test_regex: (regex_t*)NULL }, };
3280
3281/*
3282 * Fix Command Arguments for Darwin_Private_Extern
3283 */
3284static const char* apzDarwin_Private_ExternPatch[] = {
3285 "format",
3286 "extern",
3287 "__private_extern__",
3288 (char*)NULL };
3289
3290/* * * * * * * * * * * * * * * * * * * * * * * * * *
3291 *
3292 * Description of Darwin_Stdint_1 fix
3293 */
3294tSCC zDarwin_Stdint_1Name[] =
3295 "darwin_stdint_1";
3296
3297/*
3298 * File name selection pattern
3299 */
3300tSCC zDarwin_Stdint_1List[] =
3301 "stdint-darwin.h\0stdint.h\0";
3302/*
3303 * Machine/OS name selection pattern
3304 */
3305tSCC* apzDarwin_Stdint_1Machs[] = {
3306 "*-*-darwin*",
3307 (const char*)NULL };
3308
3309/*
3310 * content selection pattern - do fix if pattern found
3311 */
3312tSCC zDarwin_Stdint_1Select0[] =
3313 "#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
3314#define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
3315
3316#define DARWIN_STDINT_1_TEST_CT 1
3317static tTestDesc aDarwin_Stdint_1Tests[] = {
3318 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_1Select0, .p_test_regex: (regex_t*)NULL }, };
3319
3320/*
3321 * Fix Command Arguments for Darwin_Stdint_1
3322 */
3323static const char* apzDarwin_Stdint_1Patch[] = {
3324 "format",
3325 "#define UINT8_C(v)\tv\n\
3326#define UINT16_C(v)\tv",
3327 (char*)NULL };
3328
3329/* * * * * * * * * * * * * * * * * * * * * * * * * *
3330 *
3331 * Description of Darwin_Stdint_2 fix
3332 */
3333tSCC zDarwin_Stdint_2Name[] =
3334 "darwin_stdint_2";
3335
3336/*
3337 * File name selection pattern
3338 */
3339tSCC zDarwin_Stdint_2List[] =
3340 "stdint-darwin.h\0stdint.h\0";
3341/*
3342 * Machine/OS name selection pattern
3343 */
3344tSCC* apzDarwin_Stdint_2Machs[] = {
3345 "*-*-darwin*",
3346 (const char*)NULL };
3347
3348/*
3349 * content selection pattern - do fix if pattern found
3350 */
3351tSCC zDarwin_Stdint_2Select0[] =
3352 "#if __WORDSIZE == 64\n\
3353#define INTPTR_MIN[ \t]+INT64_MIN\n\
3354#define INTPTR_MAX[ \t]+INT64_MAX\n\
3355#else\n\
3356#define INTPTR_MIN[ \t]+INT32_MIN\n\
3357#define INTPTR_MAX[ \t]+INT32_MAX\n\
3358#endif";
3359
3360#define DARWIN_STDINT_2_TEST_CT 1
3361static tTestDesc aDarwin_Stdint_2Tests[] = {
3362 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_2Select0, .p_test_regex: (regex_t*)NULL }, };
3363
3364/*
3365 * Fix Command Arguments for Darwin_Stdint_2
3366 */
3367static const char* apzDarwin_Stdint_2Patch[] = {
3368 "format",
3369 "#if __WORDSIZE == 64\n\
3370#define INTPTR_MAX 9223372036854775807L\n\
3371#define INTPTR_MIN (-INTPTR_MAX-1)\n\
3372#else\n\
3373#define INTPTR_MAX 2147483647L\n\
3374#define INTPTR_MIN (-INTPTR_MAX-1)\n\
3375#endif",
3376 (char*)NULL };
3377
3378/* * * * * * * * * * * * * * * * * * * * * * * * * *
3379 *
3380 * Description of Darwin_Stdint_3 fix
3381 */
3382tSCC zDarwin_Stdint_3Name[] =
3383 "darwin_stdint_3";
3384
3385/*
3386 * File name selection pattern
3387 */
3388tSCC zDarwin_Stdint_3List[] =
3389 "stdint-darwin.h\0stdint.h\0";
3390/*
3391 * Machine/OS name selection pattern
3392 */
3393tSCC* apzDarwin_Stdint_3Machs[] = {
3394 "*-*-darwin*",
3395 (const char*)NULL };
3396
3397/*
3398 * content selection pattern - do fix if pattern found
3399 */
3400tSCC zDarwin_Stdint_3Select0[] =
3401 "#if __WORDSIZE == 64\n\
3402#define UINTPTR_MAX[ \t]+UINT64_MAX\n\
3403#else\n\
3404#define UINTPTR_MAX[ \t]+UINT32_MAX\n\
3405#endif";
3406
3407#define DARWIN_STDINT_3_TEST_CT 1
3408static tTestDesc aDarwin_Stdint_3Tests[] = {
3409 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_3Select0, .p_test_regex: (regex_t*)NULL }, };
3410
3411/*
3412 * Fix Command Arguments for Darwin_Stdint_3
3413 */
3414static const char* apzDarwin_Stdint_3Patch[] = {
3415 "format",
3416 "#if __WORDSIZE == 64\n\
3417#define UINTPTR_MAX 18446744073709551615UL\n\
3418#else\n\
3419#define UINTPTR_MAX 4294967295UL\n\
3420#endif",
3421 (char*)NULL };
3422
3423/* * * * * * * * * * * * * * * * * * * * * * * * * *
3424 *
3425 * Description of Darwin_Stdint_4 fix
3426 */
3427tSCC zDarwin_Stdint_4Name[] =
3428 "darwin_stdint_4";
3429
3430/*
3431 * File name selection pattern
3432 */
3433tSCC zDarwin_Stdint_4List[] =
3434 "stdint-darwin.h\0stdint.h\0";
3435/*
3436 * Machine/OS name selection pattern
3437 */
3438tSCC* apzDarwin_Stdint_4Machs[] = {
3439 "*-*-darwin*",
3440 (const char*)NULL };
3441
3442/*
3443 * content selection pattern - do fix if pattern found
3444 */
3445tSCC zDarwin_Stdint_4Select0[] =
3446 "#if __WORDSIZE == 64\n\
3447#define SIZE_MAX[ \t]+UINT64_MAX\n\
3448#else\n\
3449#define SIZE_MAX[ \t]+UINT32_MAX\n\
3450#endif";
3451
3452#define DARWIN_STDINT_4_TEST_CT 1
3453static tTestDesc aDarwin_Stdint_4Tests[] = {
3454 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_4Select0, .p_test_regex: (regex_t*)NULL }, };
3455
3456/*
3457 * Fix Command Arguments for Darwin_Stdint_4
3458 */
3459static const char* apzDarwin_Stdint_4Patch[] = {
3460 "format",
3461 "#if __WORDSIZE == 64\n\
3462#define SIZE_MAX 18446744073709551615UL\n\
3463#else\n\
3464#define SIZE_MAX 4294967295UL\n\
3465#endif",
3466 (char*)NULL };
3467
3468/* * * * * * * * * * * * * * * * * * * * * * * * * *
3469 *
3470 * Description of Darwin_Stdint_5 fix
3471 */
3472tSCC zDarwin_Stdint_5Name[] =
3473 "darwin_stdint_5";
3474
3475/*
3476 * File name selection pattern
3477 */
3478tSCC zDarwin_Stdint_5List[] =
3479 "stdint-darwin.h\0stdint.h\0";
3480/*
3481 * Machine/OS name selection pattern
3482 */
3483tSCC* apzDarwin_Stdint_5Machs[] = {
3484 "*-*-darwin*",
3485 (const char*)NULL };
3486
3487/*
3488 * content selection pattern - do fix if pattern found
3489 */
3490tSCC zDarwin_Stdint_5Select0[] =
3491 "#define INTMAX_MIN[ \t]+INT64_MIN\n\
3492#define INTMAX_MAX[ \t]+INT64_MAX\n\n\
3493#define UINTMAX_MAX[ \t]+UINT64_MAX";
3494
3495#define DARWIN_STDINT_5_TEST_CT 1
3496static tTestDesc aDarwin_Stdint_5Tests[] = {
3497 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_5Select0, .p_test_regex: (regex_t*)NULL }, };
3498
3499/*
3500 * Fix Command Arguments for Darwin_Stdint_5
3501 */
3502static const char* apzDarwin_Stdint_5Patch[] = {
3503 "format",
3504 "#if __WORDSIZE == 64\n\
3505#define INTMAX_MIN (-9223372036854775807L - 1)\n\
3506#define INTMAX_MAX 9223372036854775807L\n\
3507#define UINTMAX_MAX 18446744073709551615UL\n\
3508#else\n\
3509#define INTMAX_MIN (-9223372036854775807LL - 1)\n\
3510#define INTMAX_MAX 9223372036854775807LL\n\
3511#define UINTMAX_MAX 18446744073709551615ULL\n\
3512#endif",
3513 (char*)NULL };
3514
3515/* * * * * * * * * * * * * * * * * * * * * * * * * *
3516 *
3517 * Description of Darwin_Stdint_6 fix
3518 */
3519tSCC zDarwin_Stdint_6Name[] =
3520 "darwin_stdint_6";
3521
3522/*
3523 * File name selection pattern
3524 */
3525tSCC zDarwin_Stdint_6List[] =
3526 "stdint-darwin.h\0stdint.h\0";
3527/*
3528 * Machine/OS name selection pattern
3529 */
3530tSCC* apzDarwin_Stdint_6Machs[] = {
3531 "*-*-darwin*",
3532 (const char*)NULL };
3533
3534/*
3535 * content selection pattern - do fix if pattern found
3536 */
3537tSCC zDarwin_Stdint_6Select0[] =
3538 "#if __WORDSIZE == 64\n\
3539#define PTRDIFF_MIN[ \t]+INT64_MIN\n\
3540#define PTRDIFF_MAX[ \t]+INT64_MAX\n\
3541#else\n\
3542#define PTRDIFF_MIN[ \t]+INT32_MIN\n\
3543#define PTRDIFF_MAX[ \t]+INT32_MAX\n\
3544#endif";
3545
3546#define DARWIN_STDINT_6_TEST_CT 1
3547static tTestDesc aDarwin_Stdint_6Tests[] = {
3548 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_6Select0, .p_test_regex: (regex_t*)NULL }, };
3549
3550/*
3551 * Fix Command Arguments for Darwin_Stdint_6
3552 */
3553static const char* apzDarwin_Stdint_6Patch[] = {
3554 "format",
3555 "#if __WORDSIZE == 64\n\
3556#define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
3557#define PTRDIFF_MAX 9223372036854775807L\n\
3558#else\n\
3559#define PTRDIFF_MIN (-2147483647 - 1)\n\
3560#define PTRDIFF_MAX 2147483647\n\
3561#endif",
3562 (char*)NULL };
3563
3564/* * * * * * * * * * * * * * * * * * * * * * * * * *
3565 *
3566 * Description of Darwin_Stdint_7 fix
3567 */
3568tSCC zDarwin_Stdint_7Name[] =
3569 "darwin_stdint_7";
3570
3571/*
3572 * File name selection pattern
3573 */
3574tSCC zDarwin_Stdint_7List[] =
3575 "stdint-darwin.h\0stdint.h\0";
3576/*
3577 * Machine/OS name selection pattern
3578 */
3579tSCC* apzDarwin_Stdint_7Machs[] = {
3580 "*-*-darwin*",
3581 (const char*)NULL };
3582
3583/*
3584 * content selection pattern - do fix if pattern found
3585 */
3586tSCC zDarwin_Stdint_7Select0[] =
3587 "#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
3588#define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
3589
3590/*
3591 * content bypass pattern - skip fix if pattern found
3592 */
3593tSCC zDarwin_Stdint_7Bypass0[] =
3594 "#ifdef __LP64__";
3595
3596#define DARWIN_STDINT_7_TEST_CT 2
3597static tTestDesc aDarwin_Stdint_7Tests[] = {
3598 { .type: TT_NEGREP, .pz_test_text: zDarwin_Stdint_7Bypass0, .p_test_regex: (regex_t*)NULL },
3599 { .type: TT_EGREP, .pz_test_text: zDarwin_Stdint_7Select0, .p_test_regex: (regex_t*)NULL }, };
3600
3601/*
3602 * Fix Command Arguments for Darwin_Stdint_7
3603 */
3604static const char* apzDarwin_Stdint_7Patch[] = {
3605 "format",
3606 "#if __WORDSIZE == 64\n\
3607#define INTMAX_C(v) (v ## L)\n\
3608#define UINTMAX_C(v) (v ## UL)\n\
3609#else\n\
3610#define INTMAX_C(v) (v ## LL)\n\
3611#define UINTMAX_C(v) (v ## ULL)\n\
3612#endif",
3613 (char*)NULL };
3614
3615/* * * * * * * * * * * * * * * * * * * * * * * * * *
3616 *
3617 * Description of Darwin_Ucred__Atomic fix
3618 */
3619tSCC zDarwin_Ucred__AtomicName[] =
3620 "darwin_ucred__Atomic";
3621
3622/*
3623 * File name selection pattern
3624 */
3625tSCC zDarwin_Ucred__AtomicList[] =
3626 "sys/ucred.h\0";
3627/*
3628 * Machine/OS name selection pattern
3629 */
3630tSCC* apzDarwin_Ucred__AtomicMachs[] = {
3631 "*-*-darwin*",
3632 (const char*)NULL };
3633
3634/*
3635 * content selection pattern - do fix if pattern found
3636 */
3637tSCC zDarwin_Ucred__AtomicSelect0[] =
3638 "_Atomic";
3639
3640#define DARWIN_UCRED__ATOMIC_TEST_CT 1
3641static tTestDesc aDarwin_Ucred__AtomicTests[] = {
3642 { .type: TT_EGREP, .pz_test_text: zDarwin_Ucred__AtomicSelect0, .p_test_regex: (regex_t*)NULL }, };
3643
3644/*
3645 * Fix Command Arguments for Darwin_Ucred__Atomic
3646 */
3647static const char* apzDarwin_Ucred__AtomicPatch[] = {
3648 "wrap",
3649 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3650# define _Atomic volatile\n\
3651#endif\n",
3652 "#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
3653# undef _Atomic\n\
3654#endif\n",
3655 (char*)NULL };
3656
3657/* * * * * * * * * * * * * * * * * * * * * * * * * *
3658 *
3659 * Description of Darwin_Flt_Eval_Method fix
3660 */
3661tSCC zDarwin_Flt_Eval_MethodName[] =
3662 "darwin_flt_eval_method";
3663
3664/*
3665 * File name selection pattern
3666 */
3667tSCC zDarwin_Flt_Eval_MethodList[] =
3668 "math.h\0";
3669/*
3670 * Machine/OS name selection pattern
3671 */
3672tSCC* apzDarwin_Flt_Eval_MethodMachs[] = {
3673 "*-*-darwin*",
3674 (const char*)NULL };
3675
3676/*
3677 * content selection pattern - do fix if pattern found
3678 */
3679tSCC zDarwin_Flt_Eval_MethodSelect0[] =
3680 "^#if __FLT_EVAL_METHOD__ == 0( \\|\\| __FLT_EVAL_METHOD__ == -1)?$";
3681
3682#define DARWIN_FLT_EVAL_METHOD_TEST_CT 1
3683static tTestDesc aDarwin_Flt_Eval_MethodTests[] = {
3684 { .type: TT_EGREP, .pz_test_text: zDarwin_Flt_Eval_MethodSelect0, .p_test_regex: (regex_t*)NULL }, };
3685
3686/*
3687 * Fix Command Arguments for Darwin_Flt_Eval_Method
3688 */
3689static const char* apzDarwin_Flt_Eval_MethodPatch[] = {
3690 "format",
3691 "%0 || __FLT_EVAL_METHOD__ == 16",
3692 (char*)NULL };
3693
3694/* * * * * * * * * * * * * * * * * * * * * * * * * *
3695 *
3696 * Description of Dec_Intern_Asm fix
3697 */
3698tSCC zDec_Intern_AsmName[] =
3699 "dec_intern_asm";
3700
3701/*
3702 * File name selection pattern
3703 */
3704tSCC zDec_Intern_AsmList[] =
3705 "c_asm.h\0";
3706/*
3707 * Machine/OS name selection pattern
3708 */
3709#define apzDec_Intern_AsmMachs (const char**)NULL
3710#define DEC_INTERN_ASM_TEST_CT 0
3711#define aDec_Intern_AsmTests (tTestDesc*)NULL
3712
3713/*
3714 * Fix Command Arguments for Dec_Intern_Asm
3715 */
3716static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
3717 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
3718#ifdef __DECC\n",
3719 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
3720#endif\n",
3721 (char*)NULL };
3722
3723/* * * * * * * * * * * * * * * * * * * * * * * * * *
3724 *
3725 * Description of Djgpp_Wchar_H fix
3726 */
3727tSCC zDjgpp_Wchar_HName[] =
3728 "djgpp_wchar_h";
3729
3730/*
3731 * File name selection pattern
3732 */
3733#define zDjgpp_Wchar_HList (char*)NULL
3734/*
3735 * Machine/OS name selection pattern
3736 */
3737#define apzDjgpp_Wchar_HMachs (const char**)NULL
3738
3739/*
3740 * content selection pattern - do fix if pattern found
3741 */
3742tSCC zDjgpp_Wchar_HSelect0[] =
3743 "__DJ_wint_t";
3744
3745/*
3746 * content bypass pattern - skip fix if pattern found
3747 */
3748tSCC zDjgpp_Wchar_HBypass0[] =
3749 "sys/djtypes.h";
3750
3751#define DJGPP_WCHAR_H_TEST_CT 2
3752static tTestDesc aDjgpp_Wchar_HTests[] = {
3753 { .type: TT_NEGREP, .pz_test_text: zDjgpp_Wchar_HBypass0, .p_test_regex: (regex_t*)NULL },
3754 { .type: TT_EGREP, .pz_test_text: zDjgpp_Wchar_HSelect0, .p_test_regex: (regex_t*)NULL }, };
3755
3756/*
3757 * Fix Command Arguments for Djgpp_Wchar_H
3758 */
3759static const char* apzDjgpp_Wchar_HPatch[] = {
3760 "format",
3761 "%0\n\
3762#include <sys/djtypes.h>",
3763 "#include <stddef.h>",
3764 (char*)NULL };
3765
3766/* * * * * * * * * * * * * * * * * * * * * * * * * *
3767 *
3768 * Description of Ecd_Cursor fix
3769 */
3770tSCC zEcd_CursorName[] =
3771 "ecd_cursor";
3772
3773/*
3774 * File name selection pattern
3775 */
3776tSCC zEcd_CursorList[] =
3777 "sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
3778/*
3779 * Machine/OS name selection pattern
3780 */
3781#define apzEcd_CursorMachs (const char**)NULL
3782
3783/*
3784 * content selection pattern - do fix if pattern found
3785 */
3786tSCC zEcd_CursorSelect0[] =
3787 "ecd\\.cursor";
3788
3789#define ECD_CURSOR_TEST_CT 1
3790static tTestDesc aEcd_CursorTests[] = {
3791 { .type: TT_EGREP, .pz_test_text: zEcd_CursorSelect0, .p_test_regex: (regex_t*)NULL }, };
3792
3793/*
3794 * Fix Command Arguments for Ecd_Cursor
3795 */
3796static const char* apzEcd_CursorPatch[] = {
3797 "format",
3798 "ecd_cursor",
3799 (char*)NULL };
3800
3801/* * * * * * * * * * * * * * * * * * * * * * * * * *
3802 *
3803 * Description of Feraiseexcept_Nosse_Divbyzero fix
3804 */
3805tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
3806 "feraiseexcept_nosse_divbyzero";
3807
3808/*
3809 * File name selection pattern
3810 */
3811tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
3812 "bits/fenv.h\0*/bits/fenv.h\0";
3813/*
3814 * Machine/OS name selection pattern
3815 */
3816tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
3817 "i[34567]86-*-linux*",
3818 "x86*-linux*",
3819 "amd64-*-linux*",
3820 (const char*)NULL };
3821
3822/*
3823 * content selection pattern - do fix if pattern found
3824 */
3825tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
3826 "^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
3827
3828/*
3829 * content bypass pattern - skip fix if pattern found
3830 */
3831tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
3832 "\"fdivp .*; fwait\"";
3833
3834#define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
3835static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
3836 { .type: TT_NEGREP, .pz_test_text: zFeraiseexcept_Nosse_DivbyzeroBypass0, .p_test_regex: (regex_t*)NULL },
3837 { .type: TT_EGREP, .pz_test_text: zFeraiseexcept_Nosse_DivbyzeroSelect0, .p_test_regex: (regex_t*)NULL }, };
3838
3839/*
3840 * Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
3841 */
3842static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
3843 "format",
3844 "# ifdef __SSE_MATH__\n\
3845%0\n\
3846# else\n\
3847%1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
3848%1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
3849# endif",
3850 (char*)NULL };
3851
3852/* * * * * * * * * * * * * * * * * * * * * * * * * *
3853 *
3854 * Description of Feraiseexcept_Nosse_Invalid fix
3855 */
3856tSCC zFeraiseexcept_Nosse_InvalidName[] =
3857 "feraiseexcept_nosse_invalid";
3858
3859/*
3860 * File name selection pattern
3861 */
3862tSCC zFeraiseexcept_Nosse_InvalidList[] =
3863 "bits/fenv.h\0*/bits/fenv.h\0";
3864/*
3865 * Machine/OS name selection pattern
3866 */
3867tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
3868 "i[34567]86-*-linux*",
3869 "x86*-linux*",
3870 "amd64-*-linux*",
3871 (const char*)NULL };
3872
3873/*
3874 * content selection pattern - do fix if pattern found
3875 */
3876tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
3877 "^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
3878
3879/*
3880 * content bypass pattern - skip fix if pattern found
3881 */
3882tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
3883 "\"fdiv .*; fwait\"";
3884
3885#define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
3886static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
3887 { .type: TT_NEGREP, .pz_test_text: zFeraiseexcept_Nosse_InvalidBypass0, .p_test_regex: (regex_t*)NULL },
3888 { .type: TT_EGREP, .pz_test_text: zFeraiseexcept_Nosse_InvalidSelect0, .p_test_regex: (regex_t*)NULL }, };
3889
3890/*
3891 * Fix Command Arguments for Feraiseexcept_Nosse_Invalid
3892 */
3893static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
3894 "format",
3895 "# ifdef __SSE_MATH__\n\
3896%0\n\
3897# else\n\
3898%1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
3899%1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
3900# endif",
3901 (char*)NULL };
3902
3903/* * * * * * * * * * * * * * * * * * * * * * * * * *
3904 *
3905 * Description of Freebsd_Gcc3_Breakage fix
3906 */
3907tSCC zFreebsd_Gcc3_BreakageName[] =
3908 "freebsd_gcc3_breakage";
3909
3910/*
3911 * File name selection pattern
3912 */
3913tSCC zFreebsd_Gcc3_BreakageList[] =
3914 "sys/cdefs.h\0";
3915/*
3916 * Machine/OS name selection pattern
3917 */
3918tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
3919 "*-*-freebsd*",
3920 (const char*)NULL };
3921
3922/*
3923 * content selection pattern - do fix if pattern found
3924 */
3925tSCC zFreebsd_Gcc3_BreakageSelect0[] =
3926 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
3927
3928/*
3929 * content bypass pattern - skip fix if pattern found
3930 */
3931tSCC zFreebsd_Gcc3_BreakageBypass0[] =
3932 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
3933
3934#define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
3935static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
3936 { .type: TT_NEGREP, .pz_test_text: zFreebsd_Gcc3_BreakageBypass0, .p_test_regex: (regex_t*)NULL },
3937 { .type: TT_EGREP, .pz_test_text: zFreebsd_Gcc3_BreakageSelect0, .p_test_regex: (regex_t*)NULL }, };
3938
3939/*
3940 * Fix Command Arguments for Freebsd_Gcc3_Breakage
3941 */
3942static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
3943 "format",
3944 "%0 || __GNUC__ >= 3",
3945 (char*)NULL };
3946
3947/* * * * * * * * * * * * * * * * * * * * * * * * * *
3948 *
3949 * Description of Freebsd_Gcc4_Breakage fix
3950 */
3951tSCC zFreebsd_Gcc4_BreakageName[] =
3952 "freebsd_gcc4_breakage";
3953
3954/*
3955 * File name selection pattern
3956 */
3957tSCC zFreebsd_Gcc4_BreakageList[] =
3958 "sys/cdefs.h\0";
3959/*
3960 * Machine/OS name selection pattern
3961 */
3962tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
3963 "*-*-freebsd*",
3964 (const char*)NULL };
3965
3966/*
3967 * content selection pattern - do fix if pattern found
3968 */
3969tSCC zFreebsd_Gcc4_BreakageSelect0[] =
3970 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
3971
3972#define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
3973static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
3974 { .type: TT_EGREP, .pz_test_text: zFreebsd_Gcc4_BreakageSelect0, .p_test_regex: (regex_t*)NULL }, };
3975
3976/*
3977 * Fix Command Arguments for Freebsd_Gcc4_Breakage
3978 */
3979static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
3980 "format",
3981 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
3982 (char*)NULL };
3983
3984/* * * * * * * * * * * * * * * * * * * * * * * * * *
3985 *
3986 * Description of Glibc_C99_Inline_1 fix
3987 */
3988tSCC zGlibc_C99_Inline_1Name[] =
3989 "glibc_c99_inline_1";
3990
3991/*
3992 * File name selection pattern
3993 */
3994tSCC zGlibc_C99_Inline_1List[] =
3995 "features.h\0*/features.h\0";
3996/*
3997 * Machine/OS name selection pattern
3998 */
3999#define apzGlibc_C99_Inline_1Machs (const char**)NULL
4000
4001/*
4002 * content selection pattern - do fix if pattern found
4003 */
4004tSCC zGlibc_C99_Inline_1Select0[] =
4005 "^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
4006
4007#define GLIBC_C99_INLINE_1_TEST_CT 1
4008static tTestDesc aGlibc_C99_Inline_1Tests[] = {
4009 { .type: TT_EGREP, .pz_test_text: zGlibc_C99_Inline_1Select0, .p_test_regex: (regex_t*)NULL }, };
4010
4011/*
4012 * Fix Command Arguments for Glibc_C99_Inline_1
4013 */
4014static const char* apzGlibc_C99_Inline_1Patch[] = {
4015 "format",
4016 "%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
4017 (char*)NULL };
4018
4019/* * * * * * * * * * * * * * * * * * * * * * * * * *
4020 *
4021 * Description of Glibc_C99_Inline_1a fix
4022 */
4023tSCC zGlibc_C99_Inline_1aName[] =
4024 "glibc_c99_inline_1a";
4025
4026/*
4027 * File name selection pattern
4028 */
4029tSCC zGlibc_C99_Inline_1aList[] =
4030 "features.h\0*/features.h\0";
4031/*
4032 * Machine/OS name selection pattern
4033 */
4034#define apzGlibc_C99_Inline_1aMachs (const char**)NULL
4035
4036/*
4037 * content selection pattern - do fix if pattern found
4038 */
4039tSCC zGlibc_C99_Inline_1aSelect0[] =
4040 "(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
4041(#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
4042
4043#define GLIBC_C99_INLINE_1A_TEST_CT 1
4044static tTestDesc aGlibc_C99_Inline_1aTests[] = {
4045 { .type: TT_EGREP, .pz_test_text: zGlibc_C99_Inline_1aSelect0, .p_test_regex: (regex_t*)NULL }, };
4046
4047/*
4048 * Fix Command Arguments for Glibc_C99_Inline_1a
4049 */
4050static const char* apzGlibc_C99_Inline_1aPatch[] = {
4051 "format",
4052 "%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
4053%2",
4054 (char*)NULL };
4055
4056/* * * * * * * * * * * * * * * * * * * * * * * * * *
4057 *
4058 * Description of Glibc_C99_Inline_2 fix
4059 */
4060tSCC zGlibc_C99_Inline_2Name[] =
4061 "glibc_c99_inline_2";
4062
4063/*
4064 * File name selection pattern
4065 */
4066tSCC zGlibc_C99_Inline_2List[] =
4067 "sys/stat.h\0*/sys/stat.h\0";
4068/*
4069 * Machine/OS name selection pattern
4070 */
4071#define apzGlibc_C99_Inline_2Machs (const char**)NULL
4072
4073/*
4074 * content selection pattern - do fix if pattern found
4075 */
4076tSCC zGlibc_C99_Inline_2Select0[] =
4077 "extern __inline__ int";
4078
4079#define GLIBC_C99_INLINE_2_TEST_CT 1
4080static tTestDesc aGlibc_C99_Inline_2Tests[] = {
4081 { .type: TT_EGREP, .pz_test_text: zGlibc_C99_Inline_2Select0, .p_test_regex: (regex_t*)NULL }, };
4082
4083/*
4084 * Fix Command Arguments for Glibc_C99_Inline_2
4085 */
4086static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
4087 "-e", "s/extern int \\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4088extern\\\n\
4089#endif\\\n\
4090__inline__ int \\1/",
4091 "-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4092extern\\\n\
4093#endif\\\n\
4094__inline__ int \\1/",
4095 "-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4096extern\\\n\
4097#endif\\\n\
4098__inline__ int \\1/",
4099 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4100extern\\\n\
4101#endif\\\n\
4102__inline__ int __REDIRECT\\1 (\\2/",
4103 "-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
4104extern\\\n\
4105#endif\\\n\
4106__inline__ int __REDIRECT\\1 (\\2/",
4107 "-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
4108extern\\\n\
4109#endif\\\n\
4110__inline__ int/",
4111 (char*)NULL };
4112
4113/* * * * * * * * * * * * * * * * * * * * * * * * * *
4114 *
4115 * Description of Glibc_C99_Inline_3 fix
4116 */
4117tSCC zGlibc_C99_Inline_3Name[] =
4118 "glibc_c99_inline_3";
4119
4120/*
4121 * File name selection pattern
4122 */
4123tSCC zGlibc_C99_Inline_3List[] =
4124 "bits/string2.h\0*/bits/string2.h\0";
4125/*
4126 * Machine/OS name selection pattern
4127 */
4128#define apzGlibc_C99_Inline_3Machs (const char**)NULL
4129
4130/*
4131 * content selection pattern - do fix if pattern found
4132 */
4133tSCC zGlibc_C99_Inline_3Select0[] =
4134 "extern __inline";
4135
4136/*
4137 * content bypass pattern - skip fix if pattern found
4138 */
4139tSCC zGlibc_C99_Inline_3Bypass0[] =
4140 "__extern_inline|__GNU_STDC_INLINE__";
4141
4142#define GLIBC_C99_INLINE_3_TEST_CT 2
4143static tTestDesc aGlibc_C99_Inline_3Tests[] = {
4144 { .type: TT_NEGREP, .pz_test_text: zGlibc_C99_Inline_3Bypass0, .p_test_regex: (regex_t*)NULL },
4145 { .type: TT_EGREP, .pz_test_text: zGlibc_C99_Inline_3Select0, .p_test_regex: (regex_t*)NULL }, };
4146
4147/*
4148 * Fix Command Arguments for Glibc_C99_Inline_3
4149 */
4150static const char* apzGlibc_C99_Inline_3Patch[] = {
4151 "format",
4152 "# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
4153 "^# ifdef __cplusplus$",
4154 (char*)NULL };
4155
4156/* * * * * * * * * * * * * * * * * * * * * * * * * *
4157 *
4158 * Description of Glibc_C99_Inline_4 fix
4159 */
4160tSCC zGlibc_C99_Inline_4Name[] =
4161 "glibc_c99_inline_4";
4162
4163/*
4164 * File name selection pattern
4165 */
4166tSCC zGlibc_C99_Inline_4List[] =
4167 "sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0pthread.h\0*/pthread.h\0";
4168/*
4169 * Machine/OS name selection pattern
4170 */
4171#define apzGlibc_C99_Inline_4Machs (const char**)NULL
4172
4173/*
4174 * content selection pattern - do fix if pattern found
4175 */
4176tSCC zGlibc_C99_Inline_4Select0[] =
4177 "(^| )extern __inline";
4178
4179/*
4180 * content bypass pattern - skip fix if pattern found
4181 */
4182tSCC zGlibc_C99_Inline_4Bypass0[] =
4183 "__extern_inline|__gnu_inline__";
4184
4185#define GLIBC_C99_INLINE_4_TEST_CT 2
4186static tTestDesc aGlibc_C99_Inline_4Tests[] = {
4187 { .type: TT_NEGREP, .pz_test_text: zGlibc_C99_Inline_4Bypass0, .p_test_regex: (regex_t*)NULL },
4188 { .type: TT_EGREP, .pz_test_text: zGlibc_C99_Inline_4Select0, .p_test_regex: (regex_t*)NULL }, };
4189
4190/*
4191 * Fix Command Arguments for Glibc_C99_Inline_4
4192 */
4193static const char* apzGlibc_C99_Inline_4Patch[] = {
4194 "format",
4195 "%0 __attribute__ ((__gnu_inline__))",
4196 (char*)NULL };
4197
4198/* * * * * * * * * * * * * * * * * * * * * * * * * *
4199 *
4200 * Description of Glibc_Cxx_Floatn_1 fix
4201 */
4202tSCC zGlibc_Cxx_Floatn_1Name[] =
4203 "glibc_cxx_floatn_1";
4204
4205/*
4206 * File name selection pattern
4207 */
4208tSCC zGlibc_Cxx_Floatn_1List[] =
4209 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4210/*
4211 * Machine/OS name selection pattern
4212 */
4213#define apzGlibc_Cxx_Floatn_1Machs (const char**)NULL
4214
4215/*
4216 * content selection pattern - do fix if pattern found
4217 */
4218tSCC zGlibc_Cxx_Floatn_1Select0[] =
4219 "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4220(([ \t]*/\\*[^\n\
4221]*\\*/\n\
4222)?([ \t]*#[ \t]*if[^\n\
4223]*\n\
4224)?[ \t]*#[ \t]*define __f(16|32|64|128)x?\\()";
4225
4226#define GLIBC_CXX_FLOATN_1_TEST_CT 1
4227static tTestDesc aGlibc_Cxx_Floatn_1Tests[] = {
4228 { .type: TT_EGREP, .pz_test_text: zGlibc_Cxx_Floatn_1Select0, .p_test_regex: (regex_t*)NULL }, };
4229
4230/*
4231 * Fix Command Arguments for Glibc_Cxx_Floatn_1
4232 */
4233static const char* apzGlibc_Cxx_Floatn_1Patch[] = {
4234 "format",
4235 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4236%2",
4237 (char*)NULL };
4238
4239/* * * * * * * * * * * * * * * * * * * * * * * * * *
4240 *
4241 * Description of Glibc_Cxx_Floatn_2 fix
4242 */
4243tSCC zGlibc_Cxx_Floatn_2Name[] =
4244 "glibc_cxx_floatn_2";
4245
4246/*
4247 * File name selection pattern
4248 */
4249tSCC zGlibc_Cxx_Floatn_2List[] =
4250 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4251/*
4252 * Machine/OS name selection pattern
4253 */
4254#define apzGlibc_Cxx_Floatn_2Machs (const char**)NULL
4255
4256/*
4257 * content selection pattern - do fix if pattern found
4258 */
4259tSCC zGlibc_Cxx_Floatn_2Select0[] =
4260 "^([ \t]*#[ \t]*(el)?if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4261(([ \t]*/\\*[^\n\
4262]*\\*/\n\
4263)?[ \t]*typedef[ \t]+[^\n\
4264]*[ \t]+_Float(16|32|64|128)x?([ \t]+__attribute__ \\(\\(__mode__ \\(__HF__\\)\\)\\))?;)";
4265
4266#define GLIBC_CXX_FLOATN_2_TEST_CT 1
4267static tTestDesc aGlibc_Cxx_Floatn_2Tests[] = {
4268 { .type: TT_EGREP, .pz_test_text: zGlibc_Cxx_Floatn_2Select0, .p_test_regex: (regex_t*)NULL }, };
4269
4270/*
4271 * Fix Command Arguments for Glibc_Cxx_Floatn_2
4272 */
4273static const char* apzGlibc_Cxx_Floatn_2Patch[] = {
4274 "format",
4275 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4276%3",
4277 (char*)NULL };
4278
4279/* * * * * * * * * * * * * * * * * * * * * * * * * *
4280 *
4281 * Description of Glibc_Cxx_Floatn_3 fix
4282 */
4283tSCC zGlibc_Cxx_Floatn_3Name[] =
4284 "glibc_cxx_floatn_3";
4285
4286/*
4287 * File name selection pattern
4288 */
4289tSCC zGlibc_Cxx_Floatn_3List[] =
4290 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4291/*
4292 * Machine/OS name selection pattern
4293 */
4294#define apzGlibc_Cxx_Floatn_3Machs (const char**)NULL
4295
4296/*
4297 * content selection pattern - do fix if pattern found
4298 */
4299tSCC zGlibc_Cxx_Floatn_3Select0[] =
4300 "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4301(([ \t]*/\\*[^\n\
4302]*\n\
4303?[^\n\
4304]*\\*/\n\
4305)?([ \t]*#[ \t]*if[^\n\
4306]*\n\
4307)?([ \t]*typedef[ \t]+[^\n\
4308]*;\n\
4309)?[ \t]*#[ \t]*define __CFLOAT(16|32|64|128)X?[ \t]+)";
4310
4311#define GLIBC_CXX_FLOATN_3_TEST_CT 1
4312static tTestDesc aGlibc_Cxx_Floatn_3Tests[] = {
4313 { .type: TT_EGREP, .pz_test_text: zGlibc_Cxx_Floatn_3Select0, .p_test_regex: (regex_t*)NULL }, };
4314
4315/*
4316 * Fix Command Arguments for Glibc_Cxx_Floatn_3
4317 */
4318static const char* apzGlibc_Cxx_Floatn_3Patch[] = {
4319 "format",
4320 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4321%2",
4322 (char*)NULL };
4323
4324/* * * * * * * * * * * * * * * * * * * * * * * * * *
4325 *
4326 * Description of Glibc_Cxx_Floatn_4 fix
4327 */
4328tSCC zGlibc_Cxx_Floatn_4Name[] =
4329 "glibc_cxx_floatn_4";
4330
4331/*
4332 * File name selection pattern
4333 */
4334tSCC zGlibc_Cxx_Floatn_4List[] =
4335 "bits/floatn.h\0*/bits/floatn.h\0";
4336/*
4337 * Machine/OS name selection pattern
4338 */
4339#define apzGlibc_Cxx_Floatn_4Machs (const char**)NULL
4340
4341/*
4342 * content selection pattern - do fix if pattern found
4343 */
4344tSCC zGlibc_Cxx_Floatn_4Select0[] =
4345 "^([ \t]*#[ \t]*if __LDBL_MANT_DIG__ == 113 && )defined __cplusplus\n\
4346(([ \t]*/\\*[^\n\
4347]*\\*/\n\
4348)?[ \t]*typedef[ \t]+[^\n\
4349]*[ \t]+_Float128;)";
4350
4351#define GLIBC_CXX_FLOATN_4_TEST_CT 1
4352static tTestDesc aGlibc_Cxx_Floatn_4Tests[] = {
4353 { .type: TT_EGREP, .pz_test_text: zGlibc_Cxx_Floatn_4Select0, .p_test_regex: (regex_t*)NULL }, };
4354
4355/*
4356 * Fix Command Arguments for Glibc_Cxx_Floatn_4
4357 */
4358static const char* apzGlibc_Cxx_Floatn_4Patch[] = {
4359 "format",
4360 "%1defined __cplusplus && !__GNUC_PREREQ (13, 0)\n\
4361%2",
4362 (char*)NULL };
4363
4364/* * * * * * * * * * * * * * * * * * * * * * * * * *
4365 *
4366 * Description of Glibc_Cxx_Floatn_5 fix
4367 */
4368tSCC zGlibc_Cxx_Floatn_5Name[] =
4369 "glibc_cxx_floatn_5";
4370
4371/*
4372 * File name selection pattern
4373 */
4374tSCC zGlibc_Cxx_Floatn_5List[] =
4375 "bits/floatn.h\0bits/floatn-common.h\0*/bits/floatn.h\0*/bits/floatn-common.h\0";
4376/*
4377 * Machine/OS name selection pattern
4378 */
4379#define apzGlibc_Cxx_Floatn_5Machs (const char**)NULL
4380
4381/*
4382 * content selection pattern - do fix if pattern found
4383 */
4384tSCC zGlibc_Cxx_Floatn_5Select0[] =
4385 "^([ \t]*#[ \t]*if !__GNUC_PREREQ \\(7, 0\\) \\|\\| )defined __cplusplus\n\
4386([ \t]*#[ \t]+error \"_Float128[xX] supported but no )";
4387
4388#define GLIBC_CXX_FLOATN_5_TEST_CT 1
4389static tTestDesc aGlibc_Cxx_Floatn_5Tests[] = {
4390 { .type: TT_EGREP, .pz_test_text: zGlibc_Cxx_Floatn_5Select0, .p_test_regex: (regex_t*)NULL }, };
4391
4392/*
4393 * Fix Command Arguments for Glibc_Cxx_Floatn_5
4394 */
4395static const char* apzGlibc_Cxx_Floatn_5Patch[] = {
4396 "format",
4397 "%1(defined __cplusplus && !__GNUC_PREREQ (13, 0))\n\
4398%2",
4399 (char*)NULL };
4400
4401/* * * * * * * * * * * * * * * * * * * * * * * * * *
4402 *
4403 * Description of Glibc_Mutex_Init fix
4404 */
4405tSCC zGlibc_Mutex_InitName[] =
4406 "glibc_mutex_init";
4407
4408/*
4409 * File name selection pattern
4410 */
4411tSCC zGlibc_Mutex_InitList[] =
4412 "pthread.h\0";
4413/*
4414 * Machine/OS name selection pattern
4415 */
4416#define apzGlibc_Mutex_InitMachs (const char**)NULL
4417
4418/*
4419 * content selection pattern - do fix if pattern found
4420 */
4421tSCC zGlibc_Mutex_InitSelect0[] =
4422 "\\{ *\\{ *0, *\\} *\\}";
4423
4424#define GLIBC_MUTEX_INIT_TEST_CT 1
4425static tTestDesc aGlibc_Mutex_InitTests[] = {
4426 { .type: TT_EGREP, .pz_test_text: zGlibc_Mutex_InitSelect0, .p_test_regex: (regex_t*)NULL }, };
4427
4428/*
4429 * Fix Command Arguments for Glibc_Mutex_Init
4430 */
4431static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
4432 "-e", "/define[ \t]\\{1,\\}PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
4433N\n\
4434s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
4435}",
4436 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0 }/",
4437 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
4438 "-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
4439 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4440 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
4441 "-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
4442 "-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\
4443# \\1\\\n\
4444 { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4445# else\\\n\
4446# \\1\\\n\
4447 { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\\n\
4448# endif/",
4449 "-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
4450 "-e", "/define[ \t]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
4451 (char*)NULL };
4452
4453/* * * * * * * * * * * * * * * * * * * * * * * * * *
4454 *
4455 * Description of Glibc_Stdint fix
4456 */
4457tSCC zGlibc_StdintName[] =
4458 "glibc_stdint";
4459
4460/*
4461 * File name selection pattern
4462 */
4463tSCC zGlibc_StdintList[] =
4464 "stdint.h\0";
4465/*
4466 * Machine/OS name selection pattern
4467 */
4468#define apzGlibc_StdintMachs (const char**)NULL
4469
4470/*
4471 * content selection pattern - do fix if pattern found
4472 */
4473tSCC zGlibc_StdintSelect0[] =
4474 "GNU C Library";
4475
4476#define GLIBC_STDINT_TEST_CT 1
4477static tTestDesc aGlibc_StdintTests[] = {
4478 { .type: TT_EGREP, .pz_test_text: zGlibc_StdintSelect0, .p_test_regex: (regex_t*)NULL }, };
4479
4480/*
4481 * Fix Command Arguments for Glibc_Stdint
4482 */
4483static const char* apzGlibc_StdintPatch[] = {
4484 "format",
4485 "# define UINT8_C(c)\tc\n\
4486# define UINT16_C(c)\tc",
4487 "# define UINT8_C\\(c\\)\tc ## U\n\
4488# define UINT16_C\\(c\\)\tc ## U",
4489 (char*)NULL };
4490
4491/* * * * * * * * * * * * * * * * * * * * * * * * * *
4492 *
4493 * Description of Glibc_Strncpy fix
4494 */
4495tSCC zGlibc_StrncpyName[] =
4496 "glibc_strncpy";
4497
4498/*
4499 * File name selection pattern
4500 */
4501tSCC zGlibc_StrncpyList[] =
4502 "bits/string2.h\0*/bits/string2.h\0";
4503/*
4504 * Machine/OS name selection pattern
4505 */
4506#define apzGlibc_StrncpyMachs (const char**)NULL
4507
4508/*
4509 * content bypass pattern - skip fix if pattern found
4510 */
4511tSCC zGlibc_StrncpyBypass0[] =
4512 "__builtin_strncpy";
4513
4514#define GLIBC_STRNCPY_TEST_CT 1
4515static tTestDesc aGlibc_StrncpyTests[] = {
4516 { .type: TT_NEGREP, .pz_test_text: zGlibc_StrncpyBypass0, .p_test_regex: (regex_t*)NULL }, };
4517
4518/*
4519 * Fix Command Arguments for Glibc_Strncpy
4520 */
4521static const char* apzGlibc_StrncpyPatch[] = {
4522 "format",
4523 "# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
4524 "# define strncpy([^\n\
4525]*\\\\\n\
4526)*[^\n\
4527]*",
4528 (char*)NULL };
4529
4530/* * * * * * * * * * * * * * * * * * * * * * * * * *
4531 *
4532 * Description of Glibc_Tgmath fix
4533 */
4534tSCC zGlibc_TgmathName[] =
4535 "glibc_tgmath";
4536
4537/*
4538 * File name selection pattern
4539 */
4540tSCC zGlibc_TgmathList[] =
4541 "tgmath.h\0";
4542/*
4543 * Machine/OS name selection pattern
4544 */
4545#define apzGlibc_TgmathMachs (const char**)NULL
4546
4547/*
4548 * content selection pattern - do fix if pattern found
4549 */
4550tSCC zGlibc_TgmathSelect0[] =
4551 "\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
4552
4553/*
4554 * content bypass pattern - skip fix if pattern found
4555 */
4556tSCC zGlibc_TgmathBypass0[] =
4557 "__floating_type\\(type\\) \\\\\n\
4558.*__builtin_classify_type";
4559
4560#define GLIBC_TGMATH_TEST_CT 2
4561static tTestDesc aGlibc_TgmathTests[] = {
4562 { .type: TT_NEGREP, .pz_test_text: zGlibc_TgmathBypass0, .p_test_regex: (regex_t*)NULL },
4563 { .type: TT_EGREP, .pz_test_text: zGlibc_TgmathSelect0, .p_test_regex: (regex_t*)NULL }, };
4564
4565/*
4566 * Fix Command Arguments for Glibc_Tgmath
4567 */
4568static const char* apzGlibc_TgmathPatch[] = {
4569 "format",
4570 "(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
4571 (char*)NULL };
4572
4573/* * * * * * * * * * * * * * * * * * * * * * * * * *
4574 *
4575 * Description of Gnu_Types fix
4576 */
4577tSCC zGnu_TypesName[] =
4578 "gnu_types";
4579
4580/*
4581 * File name selection pattern
4582 */
4583tSCC zGnu_TypesList[] =
4584 "sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
4585/*
4586 * Machine/OS name selection pattern
4587 */
4588tSCC* apzGnu_TypesMachs[] = {
4589 "*-*-solaris2*",
4590 (const char*)NULL };
4591
4592/*
4593 * content selection pattern - do fix if pattern found
4594 */
4595tSCC zGnu_TypesSelect0[] =
4596 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
4597
4598/*
4599 * content bypass pattern - skip fix if pattern found
4600 */
4601tSCC zGnu_TypesBypass0[] =
4602 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
4603
4604#define GNU_TYPES_TEST_CT 2
4605static tTestDesc aGnu_TypesTests[] = {
4606 { .type: TT_NEGREP, .pz_test_text: zGnu_TypesBypass0, .p_test_regex: (regex_t*)NULL },
4607 { .type: TT_EGREP, .pz_test_text: zGnu_TypesSelect0, .p_test_regex: (regex_t*)NULL }, };
4608
4609/*
4610 * Fix Command Arguments for Gnu_Types
4611 */
4612static const char* apzGnu_TypesPatch[] = {
4613 "gnu_type",
4614 (char*)NULL };
4615
4616/* * * * * * * * * * * * * * * * * * * * * * * * * *
4617 *
4618 * Description of Hp_Inline fix
4619 */
4620tSCC zHp_InlineName[] =
4621 "hp_inline";
4622
4623/*
4624 * File name selection pattern
4625 */
4626tSCC zHp_InlineList[] =
4627 "sys/spinlock.h\0machine/machparam.h\0";
4628/*
4629 * Machine/OS name selection pattern
4630 */
4631#define apzHp_InlineMachs (const char**)NULL
4632
4633/*
4634 * content selection pattern - do fix if pattern found
4635 */
4636tSCC zHp_InlineSelect0[] =
4637 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
4638
4639#define HP_INLINE_TEST_CT 1
4640static tTestDesc aHp_InlineTests[] = {
4641 { .type: TT_EGREP, .pz_test_text: zHp_InlineSelect0, .p_test_regex: (regex_t*)NULL }, };
4642
4643/*
4644 * Fix Command Arguments for Hp_Inline
4645 */
4646static const char* apzHp_InlinePatch[] = {
4647 "format",
4648 "%1<machine/%2.h>",
4649 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
4650 (char*)NULL };
4651
4652/* * * * * * * * * * * * * * * * * * * * * * * * * *
4653 *
4654 * Description of Hp_Sysfile fix
4655 */
4656tSCC zHp_SysfileName[] =
4657 "hp_sysfile";
4658
4659/*
4660 * File name selection pattern
4661 */
4662tSCC zHp_SysfileList[] =
4663 "sys/file.h\0";
4664/*
4665 * Machine/OS name selection pattern
4666 */
4667#define apzHp_SysfileMachs (const char**)NULL
4668
4669/*
4670 * content selection pattern - do fix if pattern found
4671 */
4672tSCC zHp_SysfileSelect0[] =
4673 "HPUX_SOURCE";
4674
4675#define HP_SYSFILE_TEST_CT 1
4676static tTestDesc aHp_SysfileTests[] = {
4677 { .type: TT_EGREP, .pz_test_text: zHp_SysfileSelect0, .p_test_regex: (regex_t*)NULL }, };
4678
4679/*
4680 * Fix Command Arguments for Hp_Sysfile
4681 */
4682static const char* apzHp_SysfilePatch[] = {
4683 "format",
4684 "(struct file *, ...)",
4685 "\\(\\.\\.\\.\\)",
4686 (char*)NULL };
4687
4688/* * * * * * * * * * * * * * * * * * * * * * * * * *
4689 *
4690 * Description of Hppa_Hpux_Fp_Macros fix
4691 */
4692tSCC zHppa_Hpux_Fp_MacrosName[] =
4693 "hppa_hpux_fp_macros";
4694
4695/*
4696 * File name selection pattern
4697 */
4698tSCC zHppa_Hpux_Fp_MacrosList[] =
4699 "math.h\0";
4700/*
4701 * Machine/OS name selection pattern
4702 */
4703tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
4704 "hppa*-hp-hpux11*",
4705 (const char*)NULL };
4706
4707/*
4708 * content selection pattern - do fix if pattern found
4709 */
4710tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
4711 "#[ \t]*define[ \t]*FP_NORMAL.*\n\
4712#[ \t]*define[ \t]*FP_ZERO.*\n\
4713#[ \t]*define[ \t]*FP_INFINITE.*\n\
4714#[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
4715#[ \t]*define[ \t]*FP_NAN.*\n";
4716
4717#define HPPA_HPUX_FP_MACROS_TEST_CT 1
4718static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
4719 { .type: TT_EGREP, .pz_test_text: zHppa_Hpux_Fp_MacrosSelect0, .p_test_regex: (regex_t*)NULL }, };
4720
4721/*
4722 * Fix Command Arguments for Hppa_Hpux_Fp_Macros
4723 */
4724static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
4725 "format",
4726 "#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
4727#if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
4728 (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
4729%0#endif\n\n\
4730#ifdef _INCLUDE_HPUX_SOURCE\n",
4731 (char*)NULL };
4732
4733/* * * * * * * * * * * * * * * * * * * * * * * * * *
4734 *
4735 * Description of Hpux10_Cpp_Pow_Inline fix
4736 */
4737tSCC zHpux10_Cpp_Pow_InlineName[] =
4738 "hpux10_cpp_pow_inline";
4739
4740/*
4741 * File name selection pattern
4742 */
4743tSCC zHpux10_Cpp_Pow_InlineList[] =
4744 "fixinc-test-limits.h\0math.h\0";
4745/*
4746 * Machine/OS name selection pattern
4747 */
4748#define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
4749
4750/*
4751 * content selection pattern - do fix if pattern found
4752 */
4753tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
4754 "^# +ifdef +__cplusplus\n\
4755 +\\}\n\
4756 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
4757[ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
4758 +\\}\n\
4759 +extern +\"C\" +\\{\n\
4760#else\n\
4761# +endif";
4762
4763#define HPUX10_CPP_POW_INLINE_TEST_CT 1
4764static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
4765 { .type: TT_EGREP, .pz_test_text: zHpux10_Cpp_Pow_InlineSelect0, .p_test_regex: (regex_t*)NULL }, };
4766
4767/*
4768 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
4769 */
4770static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
4771 "format",
4772 "",
4773 (char*)NULL };
4774
4775/* * * * * * * * * * * * * * * * * * * * * * * * * *
4776 *
4777 * Description of Hpux11_Cpp_Pow_Inline fix
4778 */
4779tSCC zHpux11_Cpp_Pow_InlineName[] =
4780 "hpux11_cpp_pow_inline";
4781
4782/*
4783 * File name selection pattern
4784 */
4785tSCC zHpux11_Cpp_Pow_InlineList[] =
4786 "math.h\0";
4787/*
4788 * Machine/OS name selection pattern
4789 */
4790#define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
4791
4792/*
4793 * content selection pattern - do fix if pattern found
4794 */
4795tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
4796 " +inline double pow\\(double d,int expon\\) \\{\n\
4797 +return pow\\(d, \\(double\\)expon\\);\n\
4798 +\\}\n";
4799
4800#define HPUX11_CPP_POW_INLINE_TEST_CT 1
4801static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
4802 { .type: TT_EGREP, .pz_test_text: zHpux11_Cpp_Pow_InlineSelect0, .p_test_regex: (regex_t*)NULL }, };
4803
4804/*
4805 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
4806 */
4807static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
4808 "format",
4809 "",
4810 (char*)NULL };
4811
4812/* * * * * * * * * * * * * * * * * * * * * * * * * *
4813 *
4814 * Description of Hpux_Math_Constexpr fix
4815 */
4816tSCC zHpux_Math_ConstexprName[] =
4817 "hpux_math_constexpr";
4818
4819/*
4820 * File name selection pattern
4821 */
4822tSCC zHpux_Math_ConstexprList[] =
4823 "math.h\0";
4824/*
4825 * Machine/OS name selection pattern
4826 */
4827tSCC* apzHpux_Math_ConstexprMachs[] = {
4828 "*-hp-hpux11*",
4829 (const char*)NULL };
4830#define HPUX_MATH_CONSTEXPR_TEST_CT 0
4831#define aHpux_Math_ConstexprTests (tTestDesc*)NULL
4832
4833/*
4834 * Fix Command Arguments for Hpux_Math_Constexpr
4835 */
4836static const char* apzHpux_Math_ConstexprPatch[] = { sed_cmd_z,
4837 "-e", "s@^[ \t]*extern[ \t]*const[ \t]*double[ \t]*_DINFINITY;[ \t]*$@# define _DINFINITY (__builtin_inf ())@",
4838 "-e", "s@^[ \t]*extern[ \t]*const[ \t]*float[ \t]*_SINFINITY;[ \t]*$@# define _SINFINITY (__builtin_inff ())@",
4839 "-e", "s@^[ \t]*extern[ \t]*const[ \t]*float[ \t]*_SQNAN;[ \t]*$@# define _SQNAN (__builtin_nanf (\\\"\\\"))@",
4840 (char*)NULL };
4841
4842/* * * * * * * * * * * * * * * * * * * * * * * * * *
4843 *
4844 * Description of Hpux10_Ctype_Declarations1 fix
4845 */
4846tSCC zHpux10_Ctype_Declarations1Name[] =
4847 "hpux10_ctype_declarations1";
4848
4849/*
4850 * File name selection pattern
4851 */
4852tSCC zHpux10_Ctype_Declarations1List[] =
4853 "ctype.h\0";
4854/*
4855 * Machine/OS name selection pattern
4856 */
4857#define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
4858
4859/*
4860 * content selection pattern - do fix if pattern found
4861 */
4862tSCC zHpux10_Ctype_Declarations1Select0[] =
4863 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
4864
4865/*
4866 * content bypass pattern - skip fix if pattern found
4867 */
4868tSCC zHpux10_Ctype_Declarations1Bypass0[] =
4869 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
4870
4871#define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
4872static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
4873 { .type: TT_NEGREP, .pz_test_text: zHpux10_Ctype_Declarations1Bypass0, .p_test_regex: (regex_t*)NULL },
4874 { .type: TT_EGREP, .pz_test_text: zHpux10_Ctype_Declarations1Select0, .p_test_regex: (regex_t*)NULL }, };
4875
4876/*
4877 * Fix Command Arguments for Hpux10_Ctype_Declarations1
4878 */
4879static const char* apzHpux10_Ctype_Declarations1Patch[] = {
4880 "format",
4881 "#ifdef _PROTOTYPES\n\
4882extern int __tolower(int);\n\
4883extern int __toupper(int);\n\
4884#else /* NOT _PROTOTYPES */\n\
4885extern int __tolower();\n\
4886extern int __toupper();\n\
4887#endif /* _PROTOTYPES */\n\n\
4888%0\n",
4889 (char*)NULL };
4890
4891/* * * * * * * * * * * * * * * * * * * * * * * * * *
4892 *
4893 * Description of Hpux10_Ctype_Declarations2 fix
4894 */
4895tSCC zHpux10_Ctype_Declarations2Name[] =
4896 "hpux10_ctype_declarations2";
4897
4898/*
4899 * File name selection pattern
4900 */
4901tSCC zHpux10_Ctype_Declarations2List[] =
4902 "ctype.h\0";
4903/*
4904 * Machine/OS name selection pattern
4905 */
4906#define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
4907
4908/*
4909 * content selection pattern - do fix if pattern found
4910 */
4911tSCC zHpux10_Ctype_Declarations2Select0[] =
4912 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
4913
4914/*
4915 * content bypass pattern - skip fix if pattern found
4916 */
4917tSCC zHpux10_Ctype_Declarations2Bypass0[] =
4918 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
4919
4920#define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
4921static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
4922 { .type: TT_NEGREP, .pz_test_text: zHpux10_Ctype_Declarations2Bypass0, .p_test_regex: (regex_t*)NULL },
4923 { .type: TT_EGREP, .pz_test_text: zHpux10_Ctype_Declarations2Select0, .p_test_regex: (regex_t*)NULL }, };
4924
4925/*
4926 * Fix Command Arguments for Hpux10_Ctype_Declarations2
4927 */
4928static const char* apzHpux10_Ctype_Declarations2Patch[] = {
4929 "format",
4930 "%0\n\n\
4931#ifdef _PROTOTYPES\n\
4932 extern int _isalnum(int);\n\
4933 extern int _isalpha(int);\n\
4934 extern int _iscntrl(int);\n\
4935 extern int _isdigit(int);\n\
4936 extern int _isgraph(int);\n\
4937 extern int _islower(int);\n\
4938 extern int _isprint(int);\n\
4939 extern int _ispunct(int);\n\
4940 extern int _isspace(int);\n\
4941 extern int _isupper(int);\n\
4942 extern int _isxdigit(int);\n\
4943# else /* not _PROTOTYPES */\n\
4944 extern int _isalnum();\n\
4945 extern int _isalpha();\n\
4946 extern int _iscntrl();\n\
4947 extern int _isdigit();\n\
4948 extern int _isgraph();\n\
4949 extern int _islower();\n\
4950 extern int _isprint();\n\
4951 extern int _ispunct();\n\
4952 extern int _isspace();\n\
4953 extern int _isupper();\n\
4954 extern int _isxdigit();\n\
4955#endif /* _PROTOTYPES */\n",
4956 (char*)NULL };
4957
4958/* * * * * * * * * * * * * * * * * * * * * * * * * *
4959 *
4960 * Description of Hpux10_Stdio_Declarations fix
4961 */
4962tSCC zHpux10_Stdio_DeclarationsName[] =
4963 "hpux10_stdio_declarations";
4964
4965/*
4966 * File name selection pattern
4967 */
4968tSCC zHpux10_Stdio_DeclarationsList[] =
4969 "stdio.h\0";
4970/*
4971 * Machine/OS name selection pattern
4972 */
4973#define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
4974
4975/*
4976 * content selection pattern - do fix if pattern found
4977 */
4978tSCC zHpux10_Stdio_DeclarationsSelect0[] =
4979 "^#[ \t]*define _iob[ \t]*__iob";
4980
4981/*
4982 * content bypass pattern - skip fix if pattern found
4983 */
4984tSCC zHpux10_Stdio_DeclarationsBypass0[] =
4985 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
4986
4987#define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
4988static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
4989 { .type: TT_NEGREP, .pz_test_text: zHpux10_Stdio_DeclarationsBypass0, .p_test_regex: (regex_t*)NULL },
4990 { .type: TT_EGREP, .pz_test_text: zHpux10_Stdio_DeclarationsSelect0, .p_test_regex: (regex_t*)NULL }, };
4991
4992/*
4993 * Fix Command Arguments for Hpux10_Stdio_Declarations
4994 */
4995static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
4996 "format",
4997 "%0\n\n\
4998# if defined(__STDC__) || defined(__cplusplus)\n\
4999 extern int snprintf(char *, size_t, const char *, ...);\n\
5000 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
5001# else /* not __STDC__) || __cplusplus */\n\
5002 extern int snprintf();\n\
5003 extern int vsnprintf();\n\
5004# endif /* __STDC__) || __cplusplus */\n",
5005 (char*)NULL };
5006
5007/* * * * * * * * * * * * * * * * * * * * * * * * * *
5008 *
5009 * Description of Hppa_Hpux11_Alloca fix
5010 */
5011tSCC zHppa_Hpux11_AllocaName[] =
5012 "hppa_hpux11_alloca";
5013
5014/*
5015 * File name selection pattern
5016 */
5017tSCC zHppa_Hpux11_AllocaList[] =
5018 "alloca.h\0";
5019/*
5020 * Machine/OS name selection pattern
5021 */
5022tSCC* apzHppa_Hpux11_AllocaMachs[] = {
5023 "hppa*-*-hpux11*",
5024 (const char*)NULL };
5025
5026/*
5027 * content selection pattern - do fix if pattern found
5028 */
5029tSCC zHppa_Hpux11_AllocaSelect0[] =
5030 "#ifndef _STDDEF_INCLUDED";
5031
5032#define HPPA_HPUX11_ALLOCA_TEST_CT 1
5033static tTestDesc aHppa_Hpux11_AllocaTests[] = {
5034 { .type: TT_EGREP, .pz_test_text: zHppa_Hpux11_AllocaSelect0, .p_test_regex: (regex_t*)NULL }, };
5035
5036/*
5037 * Fix Command Arguments for Hppa_Hpux11_Alloca
5038 */
5039static const char* apzHppa_Hpux11_AllocaPatch[] = {
5040 "format",
5041 "#ifndef _SYS_STDSYMS_INCLUDED\n\
5042# include <sys/stdsyms.h>\n\
5043#endif /* _SYS_STDSYMS_INCLUDED */\n\n\
5044%0",
5045 (char*)NULL };
5046
5047/* * * * * * * * * * * * * * * * * * * * * * * * * *
5048 *
5049 * Description of Hpux11_Abs fix
5050 */
5051tSCC zHpux11_AbsName[] =
5052 "hpux11_abs";
5053
5054/*
5055 * File name selection pattern
5056 */
5057tSCC zHpux11_AbsList[] =
5058 "stdlib.h\0";
5059/*
5060 * Machine/OS name selection pattern
5061 */
5062tSCC* apzHpux11_AbsMachs[] = {
5063 "*-hp-hpux11*",
5064 (const char*)NULL };
5065
5066/*
5067 * content selection pattern - do fix if pattern found
5068 */
5069tSCC zHpux11_AbsSelect0[] =
5070 "ifndef _MATH_INCLUDED";
5071
5072#define HPUX11_ABS_TEST_CT 1
5073static tTestDesc aHpux11_AbsTests[] = {
5074 { .type: TT_EGREP, .pz_test_text: zHpux11_AbsSelect0, .p_test_regex: (regex_t*)NULL }, };
5075
5076/*
5077 * Fix Command Arguments for Hpux11_Abs
5078 */
5079static const char* apzHpux11_AbsPatch[] = {
5080 "format",
5081 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
5082 (char*)NULL };
5083
5084/* * * * * * * * * * * * * * * * * * * * * * * * * *
5085 *
5086 * Description of Hpux11_Lwp_Rwlock_Valid fix
5087 */
5088tSCC zHpux11_Lwp_Rwlock_ValidName[] =
5089 "hpux11_lwp_rwlock_valid";
5090
5091/*
5092 * File name selection pattern
5093 */
5094tSCC zHpux11_Lwp_Rwlock_ValidList[] =
5095 "sys/pthread.h\0";
5096/*
5097 * Machine/OS name selection pattern
5098 */
5099tSCC* apzHpux11_Lwp_Rwlock_ValidMachs[] = {
5100 "*-hp-hpux11*",
5101 (const char*)NULL };
5102
5103/*
5104 * content selection pattern - do fix if pattern found
5105 */
5106tSCC zHpux11_Lwp_Rwlock_ValidSelect0[] =
5107 "#define __LWP_RWLOCK_VALID[ \t]*0x8c91";
5108
5109#define HPUX11_LWP_RWLOCK_VALID_TEST_CT 1
5110static tTestDesc aHpux11_Lwp_Rwlock_ValidTests[] = {
5111 { .type: TT_EGREP, .pz_test_text: zHpux11_Lwp_Rwlock_ValidSelect0, .p_test_regex: (regex_t*)NULL }, };
5112
5113/*
5114 * Fix Command Arguments for Hpux11_Lwp_Rwlock_Valid
5115 */
5116static const char* apzHpux11_Lwp_Rwlock_ValidPatch[] = {
5117 "format",
5118 "#define __LWP_RWLOCK_VALID -29551",
5119 (char*)NULL };
5120
5121/* * * * * * * * * * * * * * * * * * * * * * * * * *
5122 *
5123 * Description of Hpux11_Extern_Sendfile fix
5124 */
5125tSCC zHpux11_Extern_SendfileName[] =
5126 "hpux11_extern_sendfile";
5127
5128/*
5129 * File name selection pattern
5130 */
5131tSCC zHpux11_Extern_SendfileList[] =
5132 "sys/socket.h\0";
5133/*
5134 * Machine/OS name selection pattern
5135 */
5136tSCC* apzHpux11_Extern_SendfileMachs[] = {
5137 "*-hp-hpux11.[12]*",
5138 (const char*)NULL };
5139
5140/*
5141 * content selection pattern - do fix if pattern found
5142 */
5143tSCC zHpux11_Extern_SendfileSelect0[] =
5144 "^[ \t]*extern sbsize_t sendfile.*\n\
5145.*, int\\)\\);\n";
5146
5147#define HPUX11_EXTERN_SENDFILE_TEST_CT 1
5148static tTestDesc aHpux11_Extern_SendfileTests[] = {
5149 { .type: TT_EGREP, .pz_test_text: zHpux11_Extern_SendfileSelect0, .p_test_regex: (regex_t*)NULL }, };
5150
5151/*
5152 * Fix Command Arguments for Hpux11_Extern_Sendfile
5153 */
5154static const char* apzHpux11_Extern_SendfilePatch[] = {
5155 "format",
5156 "#ifndef _APP32_64BIT_OFF_T\n\
5157%0#endif\n",
5158 (char*)NULL };
5159
5160/* * * * * * * * * * * * * * * * * * * * * * * * * *
5161 *
5162 * Description of Hpux11_Extern_Sendpath fix
5163 */
5164tSCC zHpux11_Extern_SendpathName[] =
5165 "hpux11_extern_sendpath";
5166
5167/*
5168 * File name selection pattern
5169 */
5170tSCC zHpux11_Extern_SendpathList[] =
5171 "sys/socket.h\0";
5172/*
5173 * Machine/OS name selection pattern
5174 */
5175tSCC* apzHpux11_Extern_SendpathMachs[] = {
5176 "*-hp-hpux11.[12]*",
5177 (const char*)NULL };
5178
5179/*
5180 * content selection pattern - do fix if pattern found
5181 */
5182tSCC zHpux11_Extern_SendpathSelect0[] =
5183 "^[ \t]*extern sbsize_t sendpath.*\n\
5184.*, int\\)\\);\n";
5185
5186#define HPUX11_EXTERN_SENDPATH_TEST_CT 1
5187static tTestDesc aHpux11_Extern_SendpathTests[] = {
5188 { .type: TT_EGREP, .pz_test_text: zHpux11_Extern_SendpathSelect0, .p_test_regex: (regex_t*)NULL }, };
5189
5190/*
5191 * Fix Command Arguments for Hpux11_Extern_Sendpath
5192 */
5193static const char* apzHpux11_Extern_SendpathPatch[] = {
5194 "format",
5195 "#ifndef _APP32_64BIT_OFF_T\n\
5196%0#endif\n",
5197 (char*)NULL };
5198
5199/* * * * * * * * * * * * * * * * * * * * * * * * * *
5200 *
5201 * Description of Hpux11_Fabsf fix
5202 */
5203tSCC zHpux11_FabsfName[] =
5204 "hpux11_fabsf";
5205
5206/*
5207 * File name selection pattern
5208 */
5209tSCC zHpux11_FabsfList[] =
5210 "math.h\0";
5211/*
5212 * Machine/OS name selection pattern
5213 */
5214tSCC* apzHpux11_FabsfMachs[] = {
5215 "*-hp-hpux11*",
5216 (const char*)NULL };
5217
5218/*
5219 * content selection pattern - do fix if pattern found
5220 */
5221tSCC zHpux11_FabsfSelect0[] =
5222 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
5223
5224#define HPUX11_FABSF_TEST_CT 1
5225static tTestDesc aHpux11_FabsfTests[] = {
5226 { .type: TT_EGREP, .pz_test_text: zHpux11_FabsfSelect0, .p_test_regex: (regex_t*)NULL }, };
5227
5228/*
5229 * Fix Command Arguments for Hpux11_Fabsf
5230 */
5231static const char* apzHpux11_FabsfPatch[] = {
5232 "format",
5233 "#ifndef __cplusplus\n\
5234%0\n\
5235#endif",
5236 (char*)NULL };
5237
5238/* * * * * * * * * * * * * * * * * * * * * * * * * *
5239 *
5240 * Description of Hpux11_Pthread_Pointer fix
5241 */
5242tSCC zHpux11_Pthread_PointerName[] =
5243 "hpux11_pthread_pointer";
5244
5245/*
5246 * File name selection pattern
5247 */
5248tSCC zHpux11_Pthread_PointerList[] =
5249 "sys/pthread.h\0";
5250/*
5251 * Machine/OS name selection pattern
5252 */
5253tSCC* apzHpux11_Pthread_PointerMachs[] = {
5254 "*-hp-hpux11.[0-3]*",
5255 (const char*)NULL };
5256
5257/*
5258 * content selection pattern - do fix if pattern found
5259 */
5260tSCC zHpux11_Pthread_PointerSelect0[] =
5261 "(void[ \t]*\\*)(m|c|rw)(_ptr)";
5262
5263#define HPUX11_PTHREAD_POINTER_TEST_CT 1
5264static tTestDesc aHpux11_Pthread_PointerTests[] = {
5265 { .type: TT_EGREP, .pz_test_text: zHpux11_Pthread_PointerSelect0, .p_test_regex: (regex_t*)NULL }, };
5266
5267/*
5268 * Fix Command Arguments for Hpux11_Pthread_Pointer
5269 */
5270static const char* apzHpux11_Pthread_PointerPatch[] = {
5271 "format",
5272 "long\t%2%3",
5273 (char*)NULL };
5274
5275/* * * * * * * * * * * * * * * * * * * * * * * * * *
5276 *
5277 * Description of Hpux11_Pthread_Const fix
5278 */
5279tSCC zHpux11_Pthread_ConstName[] =
5280 "hpux11_pthread_const";
5281
5282/*
5283 * File name selection pattern
5284 */
5285tSCC zHpux11_Pthread_ConstList[] =
5286 "sys/pthread.h\0";
5287/*
5288 * Machine/OS name selection pattern
5289 */
5290tSCC* apzHpux11_Pthread_ConstMachs[] = {
5291 "*-hp-hpux11.[0-3]*",
5292 (const char*)NULL };
5293
5294/*
5295 * content selection pattern - do fix if pattern found
5296 */
5297tSCC zHpux11_Pthread_ConstSelect0[] =
5298 "^(#define[ \t]+__POINTER_SET[ \t0,]*)(.*\\))";
5299
5300#define HPUX11_PTHREAD_CONST_TEST_CT 1
5301static tTestDesc aHpux11_Pthread_ConstTests[] = {
5302 { .type: TT_EGREP, .pz_test_text: zHpux11_Pthread_ConstSelect0, .p_test_regex: (regex_t*)NULL }, };
5303
5304/*
5305 * Fix Command Arguments for Hpux11_Pthread_Const
5306 */
5307static const char* apzHpux11_Pthread_ConstPatch[] = {
5308 "format",
5309 "%11",
5310 (char*)NULL };
5311
5312/* * * * * * * * * * * * * * * * * * * * * * * * * *
5313 *
5314 * Description of Hpux11_Size_T fix
5315 */
5316tSCC zHpux11_Size_TName[] =
5317 "hpux11_size_t";
5318
5319/*
5320 * File name selection pattern
5321 */
5322#define zHpux11_Size_TList (char*)NULL
5323/*
5324 * Machine/OS name selection pattern
5325 */
5326tSCC* apzHpux11_Size_TMachs[] = {
5327 "*-hp-hpux11*",
5328 (const char*)NULL };
5329
5330/*
5331 * content selection pattern - do fix if pattern found
5332 */
5333tSCC zHpux11_Size_TSelect0[] =
5334 "__size_t";
5335
5336#define HPUX11_SIZE_T_TEST_CT 1
5337static tTestDesc aHpux11_Size_TTests[] = {
5338 { .type: TT_EGREP, .pz_test_text: zHpux11_Size_TSelect0, .p_test_regex: (regex_t*)NULL }, };
5339
5340/*
5341 * Fix Command Arguments for Hpux11_Size_T
5342 */
5343static const char* apzHpux11_Size_TPatch[] = {
5344 "format",
5345 "_hpux_size_t",
5346 (char*)NULL };
5347
5348/* * * * * * * * * * * * * * * * * * * * * * * * * *
5349 *
5350 * Description of Hpux11_Snprintf fix
5351 */
5352tSCC zHpux11_SnprintfName[] =
5353 "hpux11_snprintf";
5354
5355/*
5356 * File name selection pattern
5357 */
5358tSCC zHpux11_SnprintfList[] =
5359 "stdio.h\0";
5360/*
5361 * Machine/OS name selection pattern
5362 */
5363#define apzHpux11_SnprintfMachs (const char**)NULL
5364
5365/*
5366 * content selection pattern - do fix if pattern found
5367 */
5368tSCC zHpux11_SnprintfSelect0[] =
5369 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
5370
5371#define HPUX11_SNPRINTF_TEST_CT 1
5372static tTestDesc aHpux11_SnprintfTests[] = {
5373 { .type: TT_EGREP, .pz_test_text: zHpux11_SnprintfSelect0, .p_test_regex: (regex_t*)NULL }, };
5374
5375/*
5376 * Fix Command Arguments for Hpux11_Snprintf
5377 */
5378static const char* apzHpux11_SnprintfPatch[] = {
5379 "format",
5380 "%1 const %3",
5381 (char*)NULL };
5382
5383/* * * * * * * * * * * * * * * * * * * * * * * * * *
5384 *
5385 * Description of Hpux11_Vsnprintf fix
5386 */
5387tSCC zHpux11_VsnprintfName[] =
5388 "hpux11_vsnprintf";
5389
5390/*
5391 * File name selection pattern
5392 */
5393tSCC zHpux11_VsnprintfList[] =
5394 "stdio.h\0";
5395/*
5396 * Machine/OS name selection pattern
5397 */
5398#define apzHpux11_VsnprintfMachs (const char**)NULL
5399
5400/*
5401 * content selection pattern - do fix if pattern found
5402 */
5403tSCC zHpux11_VsnprintfSelect0[] =
5404 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
5405
5406#define HPUX11_VSNPRINTF_TEST_CT 1
5407static tTestDesc aHpux11_VsnprintfTests[] = {
5408 { .type: TT_EGREP, .pz_test_text: zHpux11_VsnprintfSelect0, .p_test_regex: (regex_t*)NULL }, };
5409
5410/*
5411 * Fix Command Arguments for Hpux11_Vsnprintf
5412 */
5413static const char* apzHpux11_VsnprintfPatch[] = {
5414 "format",
5415 "%1 __va_list);",
5416 (char*)NULL };
5417
5418/* * * * * * * * * * * * * * * * * * * * * * * * * *
5419 *
5420 * Description of Hpux_Vsscanf fix
5421 */
5422tSCC zHpux_VsscanfName[] =
5423 "hpux_vsscanf";
5424
5425/*
5426 * File name selection pattern
5427 */
5428tSCC zHpux_VsscanfList[] =
5429 "stdio.h\0";
5430/*
5431 * Machine/OS name selection pattern
5432 */
5433tSCC* apzHpux_VsscanfMachs[] = {
5434 "*-*-hpux*",
5435 (const char*)NULL };
5436
5437/*
5438 * content selection pattern - do fix if pattern found
5439 */
5440tSCC zHpux_VsscanfSelect0[] =
5441 "(extern int vsscanf\\()char";
5442
5443#define HPUX_VSSCANF_TEST_CT 1
5444static tTestDesc aHpux_VsscanfTests[] = {
5445 { .type: TT_EGREP, .pz_test_text: zHpux_VsscanfSelect0, .p_test_regex: (regex_t*)NULL }, };
5446
5447/*
5448 * Fix Command Arguments for Hpux_Vsscanf
5449 */
5450static const char* apzHpux_VsscanfPatch[] = {
5451 "format",
5452 "%1const char",
5453 (char*)NULL };
5454
5455/* * * * * * * * * * * * * * * * * * * * * * * * * *
5456 *
5457 * Description of Hpux8_Bogus_Inlines fix
5458 */
5459tSCC zHpux8_Bogus_InlinesName[] =
5460 "hpux8_bogus_inlines";
5461
5462/*
5463 * File name selection pattern
5464 */
5465tSCC zHpux8_Bogus_InlinesList[] =
5466 "math.h\0";
5467/*
5468 * Machine/OS name selection pattern
5469 */
5470#define apzHpux8_Bogus_InlinesMachs (const char**)NULL
5471
5472/*
5473 * content selection pattern - do fix if pattern found
5474 */
5475tSCC zHpux8_Bogus_InlinesSelect0[] =
5476 "inline";
5477
5478/*
5479 * content bypass pattern - skip fix if pattern found
5480 */
5481tSCC zHpux8_Bogus_InlinesBypass0[] =
5482 "__GNUG__";
5483
5484#define HPUX8_BOGUS_INLINES_TEST_CT 2
5485static tTestDesc aHpux8_Bogus_InlinesTests[] = {
5486 { .type: TT_NEGREP, .pz_test_text: zHpux8_Bogus_InlinesBypass0, .p_test_regex: (regex_t*)NULL },
5487 { .type: TT_EGREP, .pz_test_text: zHpux8_Bogus_InlinesSelect0, .p_test_regex: (regex_t*)NULL }, };
5488
5489/*
5490 * Fix Command Arguments for Hpux8_Bogus_Inlines
5491 */
5492static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
5493 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
5494 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
5495 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
5496 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
5497 (char*)NULL };
5498
5499/* * * * * * * * * * * * * * * * * * * * * * * * * *
5500 *
5501 * Description of Hpux_C99_Intptr fix
5502 */
5503tSCC zHpux_C99_IntptrName[] =
5504 "hpux_c99_intptr";
5505
5506/*
5507 * File name selection pattern
5508 */
5509tSCC zHpux_C99_IntptrList[] =
5510 "stdint-hpux11.h\0stdint.h\0";
5511/*
5512 * Machine/OS name selection pattern
5513 */
5514tSCC* apzHpux_C99_IntptrMachs[] = {
5515 "*-hp-hpux11.3*",
5516 (const char*)NULL };
5517#define HPUX_C99_INTPTR_TEST_CT 0
5518#define aHpux_C99_IntptrTests (tTestDesc*)NULL
5519
5520/*
5521 * Fix Command Arguments for Hpux_C99_Intptr
5522 */
5523static const char* apzHpux_C99_IntptrPatch[] = { sed_cmd_z,
5524 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MAX[ \t]*INT32_MAX[ \t]*$@#define PTRDIFF_MAX (2147483647l)@",
5525 "-e", "s@^[ \t]*#[ \t]*define[ \t]*PTRDIFF_MIN[ \t]*INT32_MIN[ \t]*$@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
5526 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MAX[ \t]*INT32_MAX[ \t]*$@#define INTPTR_MAX (2147483647l)@",
5527 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INTPTR_MIN[ \t]*INT32_MIN[ \t]*$@#define INTPTR_MIN (-INTPTR_MAX - 1)@",
5528 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINTPTR_MAX[ \t]*UINT32_MAX[ \t]*$@#define UINTPTR_MAX (4294967295ul)@",
5529 "-e", "s@^[ \t]*#[ \t]*define[ \t]*SIZE_MAX[ \t]*UINT32_MAX[ \t]*$@#define SIZE_MAX (4294967295ul)@",
5530 (char*)NULL };
5531
5532/* * * * * * * * * * * * * * * * * * * * * * * * * *
5533 *
5534 * Description of Hpux_C99_Inttypes fix
5535 */
5536tSCC zHpux_C99_InttypesName[] =
5537 "hpux_c99_inttypes";
5538
5539/*
5540 * File name selection pattern
5541 */
5542tSCC zHpux_C99_InttypesList[] =
5543 "inttypes.h\0stdint-hpux11.h\0stdint.h\0";
5544/*
5545 * Machine/OS name selection pattern
5546 */
5547tSCC* apzHpux_C99_InttypesMachs[] = {
5548 "*-hp-hpux11.[23]*",
5549 (const char*)NULL };
5550#define HPUX_C99_INTTYPES_TEST_CT 0
5551#define aHpux_C99_InttypesTests (tTestDesc*)NULL
5552
5553/*
5554 * Fix Command Arguments for Hpux_C99_Inttypes
5555 */
5556static const char* apzHpux_C99_InttypesPatch[] = { sed_cmd_z,
5557 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT8_C(__c) (__c)@",
5558 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*__CONCAT_U__(__c)[ \t]*$@#define UINT16_C(__c) (__c)@",
5559 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT32_C(__c)[ \t]*__CONCAT__(__c,l)[ \t]*$@#define INT32_C(__c) (__c)@",
5560 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT32_C(__c)[ \t].*$@#define UINT32_C(__c) __CONCAT__(__c,u)@",
5561 (char*)NULL };
5562
5563/* * * * * * * * * * * * * * * * * * * * * * * * * *
5564 *
5565 * Description of Hpux_C99_Inttypes2 fix
5566 */
5567tSCC zHpux_C99_Inttypes2Name[] =
5568 "hpux_c99_inttypes2";
5569
5570/*
5571 * File name selection pattern
5572 */
5573tSCC zHpux_C99_Inttypes2List[] =
5574 "stdint-hpux11.h\0stdint.h\0";
5575/*
5576 * Machine/OS name selection pattern
5577 */
5578tSCC* apzHpux_C99_Inttypes2Machs[] = {
5579 "*-hp-hpux11.2*",
5580 (const char*)NULL };
5581#define HPUX_C99_INTTYPES2_TEST_CT 0
5582#define aHpux_C99_Inttypes2Tests (tTestDesc*)NULL
5583
5584/*
5585 * Fix Command Arguments for Hpux_C99_Inttypes2
5586 */
5587static const char* apzHpux_C99_Inttypes2Patch[] = { sed_cmd_z,
5588 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT8_C(__c)[ \t]*((signed char)(__c))[ \t]*$@#define INT8_C(__c) (__c)@",
5589 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT8_C(__c)[ \t]*((unsigned char)(__c))[ \t]*$@#define UINT8_C(__c) (__c)@",
5590 "-e", "s@^[ \t]*#[ \t]*define[ \t]*INT16_C(__c)[ \t]*((short)(__c))[ \t]*$@#define INT16_C(__c) (__c)@",
5591 "-e", "s@^[ \t]*#[ \t]*define[ \t]*UINT16_C(__c)[ \t]*((unsigned short)(__c))[ \t]*$@#define UINT16_C(__c) (__c)@",
5592 (char*)NULL };
5593
5594/* * * * * * * * * * * * * * * * * * * * * * * * * *
5595 *
5596 * Description of Hpux_C99_Inttypes3 fix
5597 */
5598tSCC zHpux_C99_Inttypes3Name[] =
5599 "hpux_c99_inttypes3";
5600
5601/*
5602 * File name selection pattern
5603 */
5604tSCC zHpux_C99_Inttypes3List[] =
5605 "inttypes.h\0";
5606/*
5607 * Machine/OS name selection pattern
5608 */
5609tSCC* apzHpux_C99_Inttypes3Machs[] = {
5610 "hppa*-hp-hpux11*",
5611 (const char*)NULL };
5612
5613/*
5614 * content selection pattern - do fix if pattern found
5615 */
5616tSCC zHpux_C99_Inttypes3Select0[] =
5617 "#define[ \t]INTPTR_MAX[ \t]*\n\
5618#define[ \t]UINTPTR_MAX[ \t]*\n";
5619
5620#define HPUX_C99_INTTYPES3_TEST_CT 1
5621static tTestDesc aHpux_C99_Inttypes3Tests[] = {
5622 { .type: TT_EGREP, .pz_test_text: zHpux_C99_Inttypes3Select0, .p_test_regex: (regex_t*)NULL }, };
5623
5624/*
5625 * Fix Command Arguments for Hpux_C99_Inttypes3
5626 */
5627static const char* apzHpux_C99_Inttypes3Patch[] = {
5628 "format",
5629 "#undef SIZE_MAX\n\
5630#define SIZE_MAX __SIZE_MAX__\n\
5631#ifdef __INTPTR_MAX__\n\
5632# undef INTPTR_MAX\n\
5633# define INTPTR_MAX __INTPTR_MAX__\n\
5634# undef INTPTR_MIN\n\
5635# define INTPTR_MIN (-INTPTR_MAX - 1)\n\
5636#endif\n\
5637#ifdef __UINTPTR_MAX__\n\
5638# undef UINTPTR_MAX\n\
5639# define UINTPTR_MAX __UINTPTR_MAX__\n\
5640#endif\n",
5641 (char*)NULL };
5642
5643/* * * * * * * * * * * * * * * * * * * * * * * * * *
5644 *
5645 * Description of Hpux_C99_Inttypes4 fix
5646 */
5647tSCC zHpux_C99_Inttypes4Name[] =
5648 "hpux_c99_inttypes4";
5649
5650/*
5651 * File name selection pattern
5652 */
5653tSCC zHpux_C99_Inttypes4List[] =
5654 "inttypes.h\0";
5655/*
5656 * Machine/OS name selection pattern
5657 */
5658tSCC* apzHpux_C99_Inttypes4Machs[] = {
5659 "hppa*-hp-hpux11.[01]*",
5660 (const char*)NULL };
5661#define HPUX_C99_INTTYPES4_TEST_CT 0
5662#define aHpux_C99_Inttypes4Tests (tTestDesc*)NULL
5663
5664/*
5665 * Fix Command Arguments for Hpux_C99_Inttypes4
5666 */
5667static const char* apzHpux_C99_Inttypes4Patch[] = { sed_cmd_z,
5668 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx64/a\\\n\
5669#define SCNuMAX \t SCNu64\n",
5670 "-e", "/^[ \t]*#[ \t]*define[ \t]*SCNxMAX[ \t]*SCNx32/a\\\n\
5671#define SCNuMAX \t SCNu32\n",
5672 (char*)NULL };
5673
5674/* * * * * * * * * * * * * * * * * * * * * * * * * *
5675 *
5676 * Description of Hpux_C99_Inttypes5 fix
5677 */
5678tSCC zHpux_C99_Inttypes5Name[] =
5679 "hpux_c99_inttypes5";
5680
5681/*
5682 * File name selection pattern
5683 */
5684tSCC zHpux_C99_Inttypes5List[] =
5685 "inttypes.h\0";
5686/*
5687 * Machine/OS name selection pattern
5688 */
5689tSCC* apzHpux_C99_Inttypes5Machs[] = {
5690 "hppa*-hp-hpux11.[01]*",
5691 (const char*)NULL };
5692
5693/*
5694 * content selection pattern - do fix if pattern found
5695 */
5696tSCC zHpux_C99_Inttypes5Select0[] =
5697 "#ifndef[ \t]_KERNEL[ \t]*\n";
5698
5699#define HPUX_C99_INTTYPES5_TEST_CT 1
5700static tTestDesc aHpux_C99_Inttypes5Tests[] = {
5701 { .type: TT_EGREP, .pz_test_text: zHpux_C99_Inttypes5Select0, .p_test_regex: (regex_t*)NULL }, };
5702
5703/*
5704 * Fix Command Arguments for Hpux_C99_Inttypes5
5705 */
5706static const char* apzHpux_C99_Inttypes5Patch[] = {
5707 "format",
5708 "#ifndef __LP64__\n\
5709#define PRIdPTR\t\tPRId32\n\
5710#define PRIiPTR\t\tPRIi32\n\
5711#define PRIoPTR\t\tPRIo32\n\
5712#define PRIuPTR\t\tPRIu32\n\
5713#define PRIxPTR\t\tPRIx32\n\
5714#define PRIXPTR\t\tPRIX32\n\
5715#else\n\
5716#define PRIdPTR\t\tPRId64\n\
5717#define PRIiPTR\t\tPRIi64\n\
5718#define PRIoPTR\t\tPRIo64\n\
5719#define PRIuPTR\t\tPRIu64\n\
5720#define PRIxPTR\t\tPRIx64\n\
5721#define PRIXPTR\t\tPRIX64\n\
5722#endif\n\n\
5723#ifndef _KERNEL\n",
5724 (char*)NULL };
5725
5726/* * * * * * * * * * * * * * * * * * * * * * * * * *
5727 *
5728 * Description of Hpux_Ctype_Macros fix
5729 */
5730tSCC zHpux_Ctype_MacrosName[] =
5731 "hpux_ctype_macros";
5732
5733/*
5734 * File name selection pattern
5735 */
5736tSCC zHpux_Ctype_MacrosList[] =
5737 "ctype.h\0";
5738/*
5739 * Machine/OS name selection pattern
5740 */
5741#define apzHpux_Ctype_MacrosMachs (const char**)NULL
5742
5743/*
5744 * content selection pattern - do fix if pattern found
5745 */
5746tSCC zHpux_Ctype_MacrosSelect0[] =
5747 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
5748
5749#define HPUX_CTYPE_MACROS_TEST_CT 1
5750static tTestDesc aHpux_Ctype_MacrosTests[] = {
5751 { .type: TT_EGREP, .pz_test_text: zHpux_Ctype_MacrosSelect0, .p_test_regex: (regex_t*)NULL }, };
5752
5753/*
5754 * Fix Command Arguments for Hpux_Ctype_Macros
5755 */
5756static const char* apzHpux_Ctype_MacrosPatch[] = {
5757 "format",
5758 "%1(int)%3",
5759 (char*)NULL };
5760
5761/* * * * * * * * * * * * * * * * * * * * * * * * * *
5762 *
5763 * Description of Hpux_Extern_Errno fix
5764 */
5765tSCC zHpux_Extern_ErrnoName[] =
5766 "hpux_extern_errno";
5767
5768/*
5769 * File name selection pattern
5770 */
5771tSCC zHpux_Extern_ErrnoList[] =
5772 "errno.h\0";
5773/*
5774 * Machine/OS name selection pattern
5775 */
5776tSCC* apzHpux_Extern_ErrnoMachs[] = {
5777 "*-hp-hpux10.*",
5778 "*-hp-hpux11.[0-2]*",
5779 (const char*)NULL };
5780
5781/*
5782 * content selection pattern - do fix if pattern found
5783 */
5784tSCC zHpux_Extern_ErrnoSelect0[] =
5785 "^[ \t]*extern int errno;$";
5786
5787#define HPUX_EXTERN_ERRNO_TEST_CT 1
5788static tTestDesc aHpux_Extern_ErrnoTests[] = {
5789 { .type: TT_EGREP, .pz_test_text: zHpux_Extern_ErrnoSelect0, .p_test_regex: (regex_t*)NULL }, };
5790
5791/*
5792 * Fix Command Arguments for Hpux_Extern_Errno
5793 */
5794static const char* apzHpux_Extern_ErrnoPatch[] = {
5795 "format",
5796 "#ifdef __cplusplus\n\
5797extern \"C\" {\n\
5798#endif\n\
5799%0\n\
5800#ifdef __cplusplus\n\
5801}\n\
5802#endif",
5803 (char*)NULL };
5804
5805/* * * * * * * * * * * * * * * * * * * * * * * * * *
5806 *
5807 * Description of Hpux_Htonl fix
5808 */
5809tSCC zHpux_HtonlName[] =
5810 "hpux_htonl";
5811
5812/*
5813 * File name selection pattern
5814 */
5815tSCC zHpux_HtonlList[] =
5816 "netinet/in.h\0";
5817/*
5818 * Machine/OS name selection pattern
5819 */
5820#define apzHpux_HtonlMachs (const char**)NULL
5821
5822/*
5823 * content selection pattern - do fix if pattern found
5824 */
5825tSCC zHpux_HtonlSelect0[] =
5826 "#ifndef _XOPEN_SOURCE_EXTENDED[ \t]*\n\
5827(/\\*\n\
5828 \\* Macros for number representation conversion\\.\n\
5829 \\*/\n\
5830#ifndef ntohl)";
5831
5832#define HPUX_HTONL_TEST_CT 1
5833static tTestDesc aHpux_HtonlTests[] = {
5834 { .type: TT_EGREP, .pz_test_text: zHpux_HtonlSelect0, .p_test_regex: (regex_t*)NULL }, };
5835
5836/*
5837 * Fix Command Arguments for Hpux_Htonl
5838 */
5839static const char* apzHpux_HtonlPatch[] = {
5840 "format",
5841 "#if 1\n\
5842%1",
5843 (char*)NULL };
5844
5845/* * * * * * * * * * * * * * * * * * * * * * * * * *
5846 *
5847 * Description of Hpux_Imaginary_I fix
5848 */
5849tSCC zHpux_Imaginary_IName[] =
5850 "hpux_imaginary_i";
5851
5852/*
5853 * File name selection pattern
5854 */
5855tSCC zHpux_Imaginary_IList[] =
5856 "complex.h\0";
5857/*
5858 * Machine/OS name selection pattern
5859 */
5860tSCC* apzHpux_Imaginary_IMachs[] = {
5861 "ia64-hp-hpux11.*",
5862 (const char*)NULL };
5863
5864/*
5865 * content selection pattern - do fix if pattern found
5866 */
5867tSCC zHpux_Imaginary_ISelect0[] =
5868 "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
5869
5870#define HPUX_IMAGINARY_I_TEST_CT 1
5871static tTestDesc aHpux_Imaginary_ITests[] = {
5872 { .type: TT_EGREP, .pz_test_text: zHpux_Imaginary_ISelect0, .p_test_regex: (regex_t*)NULL }, };
5873
5874/*
5875 * Fix Command Arguments for Hpux_Imaginary_I
5876 */
5877static const char* apzHpux_Imaginary_IPatch[] = {
5878 "format",
5879 "#define _Complex_I (__extension__ 1.0iF)",
5880 (char*)NULL };
5881
5882/* * * * * * * * * * * * * * * * * * * * * * * * * *
5883 *
5884 * Description of Hpux_Inttype_Int8_T fix
5885 */
5886tSCC zHpux_Inttype_Int8_TName[] =
5887 "hpux_inttype_int8_t";
5888
5889/*
5890 * File name selection pattern
5891 */
5892tSCC zHpux_Inttype_Int8_TList[] =
5893 "sys/_inttypes.h\0";
5894/*
5895 * Machine/OS name selection pattern
5896 */
5897tSCC* apzHpux_Inttype_Int8_TMachs[] = {
5898 "*-hp-hpux1[01].*",
5899 (const char*)NULL };
5900
5901/*
5902 * content selection pattern - do fix if pattern found
5903 */
5904tSCC zHpux_Inttype_Int8_TSelect0[] =
5905 "^[ \t]*typedef[ \t]*char[ \t]*int(_least){0,1}8_t.*";
5906
5907#define HPUX_INTTYPE_INT8_T_TEST_CT 1
5908static tTestDesc aHpux_Inttype_Int8_TTests[] = {
5909 { .type: TT_EGREP, .pz_test_text: zHpux_Inttype_Int8_TSelect0, .p_test_regex: (regex_t*)NULL }, };
5910
5911/*
5912 * Fix Command Arguments for Hpux_Inttype_Int8_T
5913 */
5914static const char* apzHpux_Inttype_Int8_TPatch[] = {
5915 "format",
5916 "typedef signed char int%18_t;",
5917 (char*)NULL };
5918
5919/* * * * * * * * * * * * * * * * * * * * * * * * * *
5920 *
5921 * Description of Hpux_Long_Double fix
5922 */
5923tSCC zHpux_Long_DoubleName[] =
5924 "hpux_long_double";
5925
5926/*
5927 * File name selection pattern
5928 */
5929tSCC zHpux_Long_DoubleList[] =
5930 "stdlib.h\0";
5931/*
5932 * Machine/OS name selection pattern
5933 */
5934tSCC* apzHpux_Long_DoubleMachs[] = {
5935 "*-*-hpux10*",
5936 "*-*-hpux11.[012]*",
5937 (const char*)NULL };
5938
5939/*
5940 * content selection pattern - do fix if pattern found
5941 */
5942tSCC zHpux_Long_DoubleSelect0[] =
5943 "extern[ \t]long_double[ \t]strtold";
5944
5945/*
5946 * content bypass pattern - skip fix if pattern found
5947 */
5948tSCC zHpux_Long_DoubleBypass0[] =
5949 "long_double_t";
5950
5951#define HPUX_LONG_DOUBLE_TEST_CT 2
5952static tTestDesc aHpux_Long_DoubleTests[] = {
5953 { .type: TT_NEGREP, .pz_test_text: zHpux_Long_DoubleBypass0, .p_test_regex: (regex_t*)NULL },
5954 { .type: TT_EGREP, .pz_test_text: zHpux_Long_DoubleSelect0, .p_test_regex: (regex_t*)NULL }, };
5955
5956/*
5957 * Fix Command Arguments for Hpux_Long_Double
5958 */
5959static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
5960 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
5961 "-e", "s/long_double/long double/g",
5962 (char*)NULL };
5963
5964/* * * * * * * * * * * * * * * * * * * * * * * * * *
5965 *
5966 * Description of Hpux_Long_Double_2 fix
5967 */
5968tSCC zHpux_Long_Double_2Name[] =
5969 "hpux_long_double_2";
5970
5971/*
5972 * File name selection pattern
5973 */
5974tSCC zHpux_Long_Double_2List[] =
5975 "stdlib.h\0";
5976/*
5977 * Machine/OS name selection pattern
5978 */
5979tSCC* apzHpux_Long_Double_2Machs[] = {
5980 "hppa*-*-hpux11.3*",
5981 (const char*)NULL };
5982
5983/*
5984 * content selection pattern - do fix if pattern found
5985 */
5986tSCC zHpux_Long_Double_2Select0[] =
5987 "#[ \t]*if[ \t]*!defined\\(__ia64\\) \\|\\| defined\\(_PROTOTYPES\\) \\|\\| defined\\(_LONG_DOUBLE_STRUCT\\)";
5988
5989#define HPUX_LONG_DOUBLE_2_TEST_CT 1
5990static tTestDesc aHpux_Long_Double_2Tests[] = {
5991 { .type: TT_EGREP, .pz_test_text: zHpux_Long_Double_2Select0, .p_test_regex: (regex_t*)NULL }, };
5992
5993/*
5994 * Fix Command Arguments for Hpux_Long_Double_2
5995 */
5996static const char* apzHpux_Long_Double_2Patch[] = {
5997 "format",
5998 "# if !defined(_PROTOTYPES) || defined(_LONG_DOUBLE_STRUCT)",
5999 (char*)NULL };
6000
6001/* * * * * * * * * * * * * * * * * * * * * * * * * *
6002 *
6003 * Description of Hpux_Pthread_Initializers fix
6004 */
6005tSCC zHpux_Pthread_InitializersName[] =
6006 "hpux_pthread_initializers";
6007
6008/*
6009 * File name selection pattern
6010 */
6011tSCC zHpux_Pthread_InitializersList[] =
6012 "sys/pthread.h\0";
6013/*
6014 * Machine/OS name selection pattern
6015 */
6016tSCC* apzHpux_Pthread_InitializersMachs[] = {
6017 "*-hp-hpux11.[0-3]*",
6018 (const char*)NULL };
6019#define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
6020#define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
6021
6022/*
6023 * Fix Command Arguments for Hpux_Pthread_Initializers
6024 */
6025static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
6026 "-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
6027 "-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
6028 "-e", "/^[ \t]*0$/d",
6029 "-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
6030 "-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
6031 "-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
6032 "-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\\\\@",
6033 "-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
6034 "-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
6035 "-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
6036 "-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
6037 "-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
6038 "-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
6039 (char*)NULL };
6040
6041/* * * * * * * * * * * * * * * * * * * * * * * * * *
6042 *
6043 * Description of Hpux_Spu_Info fix
6044 */
6045tSCC zHpux_Spu_InfoName[] =
6046 "hpux_spu_info";
6047
6048/*
6049 * File name selection pattern
6050 */
6051tSCC zHpux_Spu_InfoList[] =
6052 "ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
6053/*
6054 * Machine/OS name selection pattern
6055 */
6056tSCC* apzHpux_Spu_InfoMachs[] = {
6057 "*-hp-hpux*",
6058 (const char*)NULL };
6059
6060/*
6061 * content selection pattern - do fix if pattern found
6062 */
6063tSCC zHpux_Spu_InfoSelect0[] =
6064 "^.*extern.*spu_info.*";
6065
6066#define HPUX_SPU_INFO_TEST_CT 1
6067static tTestDesc aHpux_Spu_InfoTests[] = {
6068 { .type: TT_EGREP, .pz_test_text: zHpux_Spu_InfoSelect0, .p_test_regex: (regex_t*)NULL }, };
6069
6070/*
6071 * Fix Command Arguments for Hpux_Spu_Info
6072 */
6073static const char* apzHpux_Spu_InfoPatch[] = {
6074 "format",
6075 "#ifdef _KERNEL\n\
6076%0\n\
6077#endif",
6078 (char*)NULL };
6079
6080/* * * * * * * * * * * * * * * * * * * * * * * * * *
6081 *
6082 * Description of Hpux_Stdint_Least_Fast fix
6083 */
6084tSCC zHpux_Stdint_Least_FastName[] =
6085 "hpux_stdint_least_fast";
6086
6087/*
6088 * File name selection pattern
6089 */
6090tSCC zHpux_Stdint_Least_FastList[] =
6091 "stdint-hpux11.h\0stdint.h\0";
6092/*
6093 * Machine/OS name selection pattern
6094 */
6095tSCC* apzHpux_Stdint_Least_FastMachs[] = {
6096 "*-hp-hpux11.2*",
6097 (const char*)NULL };
6098
6099/*
6100 * content selection pattern - do fix if pattern found
6101 */
6102tSCC zHpux_Stdint_Least_FastSelect0[] =
6103 "^[ \t]*#[ \t]*define[ \t]+UINT_(LEAST|FAST)64_MAX[ \t]+ULLONG_MAX";
6104
6105#define HPUX_STDINT_LEAST_FAST_TEST_CT 1
6106static tTestDesc aHpux_Stdint_Least_FastTests[] = {
6107 { .type: TT_EGREP, .pz_test_text: zHpux_Stdint_Least_FastSelect0, .p_test_regex: (regex_t*)NULL }, };
6108
6109/*
6110 * Fix Command Arguments for Hpux_Stdint_Least_Fast
6111 */
6112static const char* apzHpux_Stdint_Least_FastPatch[] = {
6113 "format",
6114 "# define\tUINT_%164_MAX\t__UINT64_MAX__",
6115 (char*)NULL };
6116
6117/* * * * * * * * * * * * * * * * * * * * * * * * * *
6118 *
6119 * Description of Hpux_Longjmp fix
6120 */
6121tSCC zHpux_LongjmpName[] =
6122 "hpux_longjmp";
6123
6124/*
6125 * File name selection pattern
6126 */
6127tSCC zHpux_LongjmpList[] =
6128 "setjmp.h\0";
6129/*
6130 * Machine/OS name selection pattern
6131 */
6132tSCC* apzHpux_LongjmpMachs[] = {
6133 "*-hp-hpux*",
6134 (const char*)NULL };
6135
6136/*
6137 * content selection pattern - do fix if pattern found
6138 */
6139tSCC zHpux_LongjmpSelect0[] =
6140 "^[ \t]*extern[ \t]+void[ \t]+.*longjmp[ \t]*(__\\(\\(.*int\\)\\)|\\(.*int\\)|\\(\\))";
6141
6142#define HPUX_LONGJMP_TEST_CT 1
6143static tTestDesc aHpux_LongjmpTests[] = {
6144 { .type: TT_EGREP, .pz_test_text: zHpux_LongjmpSelect0, .p_test_regex: (regex_t*)NULL }, };
6145
6146/*
6147 * Fix Command Arguments for Hpux_Longjmp
6148 */
6149static const char* apzHpux_LongjmpPatch[] = {
6150 "format",
6151 "%0 __attribute__ ((__noreturn__))",
6152 (char*)NULL };
6153
6154/* * * * * * * * * * * * * * * * * * * * * * * * * *
6155 *
6156 * Description of Hpux_Systime fix
6157 */
6158tSCC zHpux_SystimeName[] =
6159 "hpux_systime";
6160
6161/*
6162 * File name selection pattern
6163 */
6164tSCC zHpux_SystimeList[] =
6165 "sys/time.h\0";
6166/*
6167 * Machine/OS name selection pattern
6168 */
6169#define apzHpux_SystimeMachs (const char**)NULL
6170
6171/*
6172 * content selection pattern - do fix if pattern found
6173 */
6174tSCC zHpux_SystimeSelect0[] =
6175 "^extern struct sigevent;";
6176
6177#define HPUX_SYSTIME_TEST_CT 1
6178static tTestDesc aHpux_SystimeTests[] = {
6179 { .type: TT_EGREP, .pz_test_text: zHpux_SystimeSelect0, .p_test_regex: (regex_t*)NULL }, };
6180
6181/*
6182 * Fix Command Arguments for Hpux_Systime
6183 */
6184static const char* apzHpux_SystimePatch[] = {
6185 "format",
6186 "struct sigevent;",
6187 (char*)NULL };
6188
6189/* * * * * * * * * * * * * * * * * * * * * * * * * *
6190 *
6191 * Description of Huge_Val_Hex fix
6192 */
6193tSCC zHuge_Val_HexName[] =
6194 "huge_val_hex";
6195
6196/*
6197 * File name selection pattern
6198 */
6199tSCC zHuge_Val_HexList[] =
6200 "bits/huge_val.h\0*/bits/huge_val.h\0";
6201/*
6202 * Machine/OS name selection pattern
6203 */
6204#define apzHuge_Val_HexMachs (const char**)NULL
6205
6206/*
6207 * content selection pattern - do fix if pattern found
6208 */
6209tSCC zHuge_Val_HexSelect0[] =
6210 "^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
6211
6212/*
6213 * content bypass pattern - skip fix if pattern found
6214 */
6215tSCC zHuge_Val_HexBypass0[] =
6216 "__builtin_huge_val";
6217
6218#define HUGE_VAL_HEX_TEST_CT 2
6219static tTestDesc aHuge_Val_HexTests[] = {
6220 { .type: TT_NEGREP, .pz_test_text: zHuge_Val_HexBypass0, .p_test_regex: (regex_t*)NULL },
6221 { .type: TT_EGREP, .pz_test_text: zHuge_Val_HexSelect0, .p_test_regex: (regex_t*)NULL }, };
6222
6223/*
6224 * Fix Command Arguments for Huge_Val_Hex
6225 */
6226static const char* apzHuge_Val_HexPatch[] = {
6227 "format",
6228 "#define HUGE_VAL (__builtin_huge_val())\n",
6229 (char*)NULL };
6230
6231/* * * * * * * * * * * * * * * * * * * * * * * * * *
6232 *
6233 * Description of Huge_Valf_Hex fix
6234 */
6235tSCC zHuge_Valf_HexName[] =
6236 "huge_valf_hex";
6237
6238/*
6239 * File name selection pattern
6240 */
6241tSCC zHuge_Valf_HexList[] =
6242 "bits/huge_val.h\0*/bits/huge_val.h\0";
6243/*
6244 * Machine/OS name selection pattern
6245 */
6246#define apzHuge_Valf_HexMachs (const char**)NULL
6247
6248/*
6249 * content selection pattern - do fix if pattern found
6250 */
6251tSCC zHuge_Valf_HexSelect0[] =
6252 "^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
6253
6254/*
6255 * content bypass pattern - skip fix if pattern found
6256 */
6257tSCC zHuge_Valf_HexBypass0[] =
6258 "__builtin_huge_valf";
6259
6260#define HUGE_VALF_HEX_TEST_CT 2
6261static tTestDesc aHuge_Valf_HexTests[] = {
6262 { .type: TT_NEGREP, .pz_test_text: zHuge_Valf_HexBypass0, .p_test_regex: (regex_t*)NULL },
6263 { .type: TT_EGREP, .pz_test_text: zHuge_Valf_HexSelect0, .p_test_regex: (regex_t*)NULL }, };
6264
6265/*
6266 * Fix Command Arguments for Huge_Valf_Hex
6267 */
6268static const char* apzHuge_Valf_HexPatch[] = {
6269 "format",
6270 "#define HUGE_VALF (__builtin_huge_valf())\n",
6271 (char*)NULL };
6272
6273/* * * * * * * * * * * * * * * * * * * * * * * * * *
6274 *
6275 * Description of Huge_Vall_Hex fix
6276 */
6277tSCC zHuge_Vall_HexName[] =
6278 "huge_vall_hex";
6279
6280/*
6281 * File name selection pattern
6282 */
6283tSCC zHuge_Vall_HexList[] =
6284 "bits/huge_val.h\0*/bits/huge_val.h\0";
6285/*
6286 * Machine/OS name selection pattern
6287 */
6288#define apzHuge_Vall_HexMachs (const char**)NULL
6289
6290/*
6291 * content selection pattern - do fix if pattern found
6292 */
6293tSCC zHuge_Vall_HexSelect0[] =
6294 "^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
6295
6296/*
6297 * content bypass pattern - skip fix if pattern found
6298 */
6299tSCC zHuge_Vall_HexBypass0[] =
6300 "__builtin_huge_vall";
6301
6302#define HUGE_VALL_HEX_TEST_CT 2
6303static tTestDesc aHuge_Vall_HexTests[] = {
6304 { .type: TT_NEGREP, .pz_test_text: zHuge_Vall_HexBypass0, .p_test_regex: (regex_t*)NULL },
6305 { .type: TT_EGREP, .pz_test_text: zHuge_Vall_HexSelect0, .p_test_regex: (regex_t*)NULL }, };
6306
6307/*
6308 * Fix Command Arguments for Huge_Vall_Hex
6309 */
6310static const char* apzHuge_Vall_HexPatch[] = {
6311 "format",
6312 "#define HUGE_VALL (__builtin_huge_vall())\n",
6313 (char*)NULL };
6314
6315/* * * * * * * * * * * * * * * * * * * * * * * * * *
6316 *
6317 * Description of Int_Abort_Free_And_Exit fix
6318 */
6319tSCC zInt_Abort_Free_And_ExitName[] =
6320 "int_abort_free_and_exit";
6321
6322/*
6323 * File name selection pattern
6324 */
6325tSCC zInt_Abort_Free_And_ExitList[] =
6326 "stdlib.h\0";
6327/*
6328 * Machine/OS name selection pattern
6329 */
6330#define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
6331
6332/*
6333 * content selection pattern - do fix if pattern found
6334 */
6335tSCC zInt_Abort_Free_And_ExitSelect0[] =
6336 "int[ \t]+(abort|free|exit)[ \t]*\\(";
6337
6338/*
6339 * content bypass pattern - skip fix if pattern found
6340 */
6341tSCC zInt_Abort_Free_And_ExitBypass0[] =
6342 "_CLASSIC_ANSI_TYPES";
6343
6344#define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
6345static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
6346 { .type: TT_NEGREP, .pz_test_text: zInt_Abort_Free_And_ExitBypass0, .p_test_regex: (regex_t*)NULL },
6347 { .type: TT_EGREP, .pz_test_text: zInt_Abort_Free_And_ExitSelect0, .p_test_regex: (regex_t*)NULL }, };
6348
6349/*
6350 * Fix Command Arguments for Int_Abort_Free_And_Exit
6351 */
6352static const char* apzInt_Abort_Free_And_ExitPatch[] = {
6353 "format",
6354 "void\t%1(",
6355 (char*)NULL };
6356
6357/* * * * * * * * * * * * * * * * * * * * * * * * * *
6358 *
6359 * Description of Io_Quotes_Def fix
6360 */
6361tSCC zIo_Quotes_DefName[] =
6362 "io_quotes_def";
6363
6364/*
6365 * File name selection pattern
6366 */
6367#define zIo_Quotes_DefList (char*)NULL
6368/*
6369 * Machine/OS name selection pattern
6370 */
6371#define apzIo_Quotes_DefMachs (const char**)NULL
6372
6373/*
6374 * content selection pattern - do fix if pattern found
6375 */
6376tSCC zIo_Quotes_DefSelect0[] =
6377 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
6378
6379#define IO_QUOTES_DEF_TEST_CT 1
6380static tTestDesc aIo_Quotes_DefTests[] = {
6381 { .type: TT_EGREP, .pz_test_text: zIo_Quotes_DefSelect0, .p_test_regex: (regex_t*)NULL }, };
6382
6383/*
6384 * Fix Command Arguments for Io_Quotes_Def
6385 */
6386static const char* apzIo_Quotes_DefPatch[] = {
6387 "char_macro_def",
6388 "IO",
6389 (char*)NULL };
6390
6391/* * * * * * * * * * * * * * * * * * * * * * * * * *
6392 *
6393 * Description of Io_Quotes_Use fix
6394 */
6395tSCC zIo_Quotes_UseName[] =
6396 "io_quotes_use";
6397
6398/*
6399 * File name selection pattern
6400 */
6401#define zIo_Quotes_UseList (char*)NULL
6402/*
6403 * Machine/OS name selection pattern
6404 */
6405#define apzIo_Quotes_UseMachs (const char**)NULL
6406
6407/*
6408 * content selection pattern - do fix if pattern found
6409 */
6410tSCC zIo_Quotes_UseSelect0[] =
6411 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
6412
6413#define IO_QUOTES_USE_TEST_CT 1
6414static tTestDesc aIo_Quotes_UseTests[] = {
6415 { .type: TT_EGREP, .pz_test_text: zIo_Quotes_UseSelect0, .p_test_regex: (regex_t*)NULL }, };
6416
6417/*
6418 * Fix Command Arguments for Io_Quotes_Use
6419 */
6420static const char* apzIo_Quotes_UsePatch[] = {
6421 "char_macro_use",
6422 "IO",
6423 (char*)NULL };
6424
6425/* * * * * * * * * * * * * * * * * * * * * * * * * *
6426 *
6427 * Description of Ip_Missing_Semi fix
6428 */
6429tSCC zIp_Missing_SemiName[] =
6430 "ip_missing_semi";
6431
6432/*
6433 * File name selection pattern
6434 */
6435tSCC zIp_Missing_SemiList[] =
6436 "netinet/ip.h\0";
6437/*
6438 * Machine/OS name selection pattern
6439 */
6440#define apzIp_Missing_SemiMachs (const char**)NULL
6441
6442/*
6443 * content selection pattern - do fix if pattern found
6444 */
6445tSCC zIp_Missing_SemiSelect0[] =
6446 "}$";
6447
6448#define IP_MISSING_SEMI_TEST_CT 1
6449static tTestDesc aIp_Missing_SemiTests[] = {
6450 { .type: TT_EGREP, .pz_test_text: zIp_Missing_SemiSelect0, .p_test_regex: (regex_t*)NULL }, };
6451
6452/*
6453 * Fix Command Arguments for Ip_Missing_Semi
6454 */
6455static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
6456 "-e", "/^struct/,/^};/s/}$/};/",
6457 (char*)NULL };
6458
6459/* * * * * * * * * * * * * * * * * * * * * * * * * *
6460 *
6461 * Description of Irix_Limits_Const fix
6462 */
6463tSCC zIrix_Limits_ConstName[] =
6464 "irix_limits_const";
6465
6466/*
6467 * File name selection pattern
6468 */
6469tSCC zIrix_Limits_ConstList[] =
6470 "fixinc-test-limits.h\0limits.h\0";
6471/*
6472 * Machine/OS name selection pattern
6473 */
6474#define apzIrix_Limits_ConstMachs (const char**)NULL
6475
6476/*
6477 * content selection pattern - do fix if pattern found
6478 */
6479tSCC zIrix_Limits_ConstSelect0[] =
6480 "^extern const ";
6481
6482#define IRIX_LIMITS_CONST_TEST_CT 1
6483static tTestDesc aIrix_Limits_ConstTests[] = {
6484 { .type: TT_EGREP, .pz_test_text: zIrix_Limits_ConstSelect0, .p_test_regex: (regex_t*)NULL }, };
6485
6486/*
6487 * Fix Command Arguments for Irix_Limits_Const
6488 */
6489static const char* apzIrix_Limits_ConstPatch[] = {
6490 "format",
6491 "extern __const ",
6492 (char*)NULL };
6493
6494/* * * * * * * * * * * * * * * * * * * * * * * * * *
6495 *
6496 * Description of Irix_Stdio_Va_List fix
6497 */
6498tSCC zIrix_Stdio_Va_ListName[] =
6499 "irix_stdio_va_list";
6500
6501/*
6502 * File name selection pattern
6503 */
6504tSCC zIrix_Stdio_Va_ListList[] =
6505 "stdio.h\0";
6506/*
6507 * Machine/OS name selection pattern
6508 */
6509#define apzIrix_Stdio_Va_ListMachs (const char**)NULL
6510
6511/*
6512 * content selection pattern - do fix if pattern found
6513 */
6514tSCC zIrix_Stdio_Va_ListSelect0[] =
6515 "/\\* va_list \\*/ char \\*";
6516
6517#define IRIX_STDIO_VA_LIST_TEST_CT 1
6518static tTestDesc aIrix_Stdio_Va_ListTests[] = {
6519 { .type: TT_EGREP, .pz_test_text: zIrix_Stdio_Va_ListSelect0, .p_test_regex: (regex_t*)NULL }, };
6520
6521/*
6522 * Fix Command Arguments for Irix_Stdio_Va_List
6523 */
6524static const char* apzIrix_Stdio_Va_ListPatch[] = {
6525 "format",
6526 "__gnuc_va_list",
6527 (char*)NULL };
6528
6529/* * * * * * * * * * * * * * * * * * * * * * * * * *
6530 *
6531 * Description of Kandr_Concat fix
6532 */
6533tSCC zKandr_ConcatName[] =
6534 "kandr_concat";
6535
6536/*
6537 * File name selection pattern
6538 */
6539tSCC zKandr_ConcatList[] =
6540 "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";
6541/*
6542 * Machine/OS name selection pattern
6543 */
6544#define apzKandr_ConcatMachs (const char**)NULL
6545
6546/*
6547 * content selection pattern - do fix if pattern found
6548 */
6549tSCC zKandr_ConcatSelect0[] =
6550 "/\\*\\*/";
6551
6552#define KANDR_CONCAT_TEST_CT 1
6553static tTestDesc aKandr_ConcatTests[] = {
6554 { .type: TT_EGREP, .pz_test_text: zKandr_ConcatSelect0, .p_test_regex: (regex_t*)NULL }, };
6555
6556/*
6557 * Fix Command Arguments for Kandr_Concat
6558 */
6559static const char* apzKandr_ConcatPatch[] = {
6560 "format",
6561 "##",
6562 (char*)NULL };
6563
6564/* * * * * * * * * * * * * * * * * * * * * * * * * *
6565 *
6566 * Description of Linux_Ia64_Ucontext fix
6567 */
6568tSCC zLinux_Ia64_UcontextName[] =
6569 "linux_ia64_ucontext";
6570
6571/*
6572 * File name selection pattern
6573 */
6574tSCC zLinux_Ia64_UcontextList[] =
6575 "sys/ucontext.h\0";
6576/*
6577 * Machine/OS name selection pattern
6578 */
6579tSCC* apzLinux_Ia64_UcontextMachs[] = {
6580 "ia64-*-linux*",
6581 (const char*)NULL };
6582
6583/*
6584 * content selection pattern - do fix if pattern found
6585 */
6586tSCC zLinux_Ia64_UcontextSelect0[] =
6587 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
6588
6589#define LINUX_IA64_UCONTEXT_TEST_CT 1
6590static tTestDesc aLinux_Ia64_UcontextTests[] = {
6591 { .type: TT_EGREP, .pz_test_text: zLinux_Ia64_UcontextSelect0, .p_test_regex: (regex_t*)NULL }, };
6592
6593/*
6594 * Fix Command Arguments for Linux_Ia64_Ucontext
6595 */
6596static const char* apzLinux_Ia64_UcontextPatch[] = {
6597 "format",
6598 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
6599 (char*)NULL };
6600
6601/* * * * * * * * * * * * * * * * * * * * * * * * * *
6602 *
6603 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
6604 */
6605tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
6606 "lynxos_no_warning_in_sys_time_h";
6607
6608/*
6609 * File name selection pattern
6610 */
6611tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
6612 "sys/time.h\0";
6613/*
6614 * Machine/OS name selection pattern
6615 */
6616#define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
6617
6618/*
6619 * content selection pattern - do fix if pattern found
6620 */
6621tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
6622 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
6623
6624#define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
6625static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
6626 { .type: TT_EGREP, .pz_test_text: zLynxos_No_Warning_In_Sys_Time_HSelect0, .p_test_regex: (regex_t*)NULL }, };
6627
6628/*
6629 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
6630 */
6631static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
6632 "format",
6633 "",
6634 (char*)NULL };
6635
6636/* * * * * * * * * * * * * * * * * * * * * * * * * *
6637 *
6638 * Description of Lynxos_Missing_Putenv fix
6639 */
6640tSCC zLynxos_Missing_PutenvName[] =
6641 "lynxos_missing_putenv";
6642
6643/*
6644 * File name selection pattern
6645 */
6646tSCC zLynxos_Missing_PutenvList[] =
6647 "stdlib.h\0";
6648/*
6649 * Machine/OS name selection pattern
6650 */
6651tSCC* apzLynxos_Missing_PutenvMachs[] = {
6652 "*-*-lynxos*",
6653 (const char*)NULL };
6654
6655/*
6656 * content selection pattern - do fix if pattern found
6657 */
6658tSCC zLynxos_Missing_PutenvSelect0[] =
6659 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
6660
6661/*
6662 * content bypass pattern - skip fix if pattern found
6663 */
6664tSCC zLynxos_Missing_PutenvBypass0[] =
6665 "putenv[ \\t]*\\(";
6666
6667#define LYNXOS_MISSING_PUTENV_TEST_CT 2
6668static tTestDesc aLynxos_Missing_PutenvTests[] = {
6669 { .type: TT_NEGREP, .pz_test_text: zLynxos_Missing_PutenvBypass0, .p_test_regex: (regex_t*)NULL },
6670 { .type: TT_EGREP, .pz_test_text: zLynxos_Missing_PutenvSelect0, .p_test_regex: (regex_t*)NULL }, };
6671
6672/*
6673 * Fix Command Arguments for Lynxos_Missing_Putenv
6674 */
6675static const char* apzLynxos_Missing_PutenvPatch[] = {
6676 "format",
6677 "%0\n\
6678extern int putenv\t\t\t\t_AP((char *));",
6679 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
6680 (char*)NULL };
6681
6682/* * * * * * * * * * * * * * * * * * * * * * * * * *
6683 *
6684 * Description of Machine_Ansi_H_Va_List fix
6685 */
6686tSCC zMachine_Ansi_H_Va_ListName[] =
6687 "machine_ansi_h_va_list";
6688
6689/*
6690 * File name selection pattern
6691 */
6692#define zMachine_Ansi_H_Va_ListList (char*)NULL
6693/*
6694 * Machine/OS name selection pattern
6695 */
6696#define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
6697
6698/*
6699 * content selection pattern - do fix if pattern found
6700 */
6701tSCC zMachine_Ansi_H_Va_ListSelect0[] =
6702 "define[ \t]+_BSD_VA_LIST_[ \t]";
6703
6704/*
6705 * content bypass pattern - skip fix if pattern found
6706 */
6707tSCC zMachine_Ansi_H_Va_ListBypass0[] =
6708 "__builtin_va_list";
6709
6710#define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
6711static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
6712 { .type: TT_NEGREP, .pz_test_text: zMachine_Ansi_H_Va_ListBypass0, .p_test_regex: (regex_t*)NULL },
6713 { .type: TT_EGREP, .pz_test_text: zMachine_Ansi_H_Va_ListSelect0, .p_test_regex: (regex_t*)NULL }, };
6714
6715/*
6716 * Fix Command Arguments for Machine_Ansi_H_Va_List
6717 */
6718static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
6719 "format",
6720 "%1__builtin_va_list",
6721 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
6722 (char*)NULL };
6723
6724/* * * * * * * * * * * * * * * * * * * * * * * * * *
6725 *
6726 * Description of Machine_Name fix
6727 */
6728tSCC zMachine_NameName[] =
6729 "machine_name";
6730
6731/*
6732 * File name selection pattern
6733 */
6734#define zMachine_NameList (char*)NULL
6735/*
6736 * Machine/OS name selection pattern
6737 */
6738#define apzMachine_NameMachs (const char**)NULL
6739
6740/*
6741 * perform the C function call test
6742 */
6743tSCC zMachine_NameFTst0[] = "machine_name";
6744
6745#define MACHINE_NAME_TEST_CT 1
6746static tTestDesc aMachine_NameTests[] = {
6747 { .type: TT_FUNCTION, .pz_test_text: zMachine_NameFTst0, .p_test_regex: 0 /* unused */ }, };
6748
6749/*
6750 * Fix Command Arguments for Machine_Name
6751 */
6752static const char* apzMachine_NamePatch[] = {
6753 "machine_name",
6754 (char*)NULL };
6755
6756/* * * * * * * * * * * * * * * * * * * * * * * * * *
6757 *
6758 * Description of Math_Exception fix
6759 */
6760tSCC zMath_ExceptionName[] =
6761 "math_exception";
6762
6763/*
6764 * File name selection pattern
6765 */
6766tSCC zMath_ExceptionList[] =
6767 "math.h\0";
6768/*
6769 * Machine/OS name selection pattern
6770 */
6771#define apzMath_ExceptionMachs (const char**)NULL
6772
6773/*
6774 * content selection pattern - do fix if pattern found
6775 */
6776tSCC zMath_ExceptionSelect0[] =
6777 "struct exception";
6778
6779/*
6780 * content bypass pattern - skip fix if pattern found
6781 */
6782tSCC zMath_ExceptionBypass0[] =
6783 "__cplusplus";
6784
6785#define MATH_EXCEPTION_TEST_CT 2
6786static tTestDesc aMath_ExceptionTests[] = {
6787 { .type: TT_NEGREP, .pz_test_text: zMath_ExceptionBypass0, .p_test_regex: (regex_t*)NULL },
6788 { .type: TT_EGREP, .pz_test_text: zMath_ExceptionSelect0, .p_test_regex: (regex_t*)NULL }, };
6789
6790/*
6791 * Fix Command Arguments for Math_Exception
6792 */
6793static const char* apzMath_ExceptionPatch[] = {
6794 "wrap",
6795 "#ifdef __cplusplus\n\
6796#define exception __math_exception\n\
6797#endif\n",
6798 "#ifdef __cplusplus\n\
6799#undef exception\n\
6800#endif\n",
6801 (char*)NULL };
6802
6803/* * * * * * * * * * * * * * * * * * * * * * * * * *
6804 *
6805 * Description of Math_Huge_Val_From_Dbl_Max fix
6806 */
6807tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
6808 "math_huge_val_from_dbl_max";
6809
6810/*
6811 * File name selection pattern
6812 */
6813tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
6814 "math.h\0";
6815/*
6816 * Machine/OS name selection pattern
6817 */
6818#define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
6819
6820/*
6821 * content selection pattern - do fix if pattern found
6822 */
6823tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
6824 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
6825
6826/*
6827 * content bypass pattern - skip fix if pattern found
6828 */
6829tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
6830 "define[ \t]+DBL_MAX";
6831
6832#define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
6833static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
6834 { .type: TT_NEGREP, .pz_test_text: zMath_Huge_Val_From_Dbl_MaxBypass0, .p_test_regex: (regex_t*)NULL },
6835 { .type: TT_EGREP, .pz_test_text: zMath_Huge_Val_From_Dbl_MaxSelect0, .p_test_regex: (regex_t*)NULL }, };
6836
6837/*
6838 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
6839 */
6840static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
6841 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
6842\tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
6843\tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
6844\telse cat\n\
6845\tfi",
6846 (char*)NULL };
6847
6848/* * * * * * * * * * * * * * * * * * * * * * * * * *
6849 *
6850 * Description of Nested_Auth_Des fix
6851 */
6852tSCC zNested_Auth_DesName[] =
6853 "nested_auth_des";
6854
6855/*
6856 * File name selection pattern
6857 */
6858tSCC zNested_Auth_DesList[] =
6859 "rpc/rpc.h\0";
6860/*
6861 * Machine/OS name selection pattern
6862 */
6863#define apzNested_Auth_DesMachs (const char**)NULL
6864
6865/*
6866 * content selection pattern - do fix if pattern found
6867 */
6868tSCC zNested_Auth_DesSelect0[] =
6869 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
6870
6871#define NESTED_AUTH_DES_TEST_CT 1
6872static tTestDesc aNested_Auth_DesTests[] = {
6873 { .type: TT_EGREP, .pz_test_text: zNested_Auth_DesSelect0, .p_test_regex: (regex_t*)NULL }, };
6874
6875/*
6876 * Fix Command Arguments for Nested_Auth_Des
6877 */
6878static const char* apzNested_Auth_DesPatch[] = {
6879 "format",
6880 "%1*/ /*",
6881 (char*)NULL };
6882
6883/* * * * * * * * * * * * * * * * * * * * * * * * * *
6884 *
6885 * Description of Netbsd_C99_Inline_1 fix
6886 */
6887tSCC zNetbsd_C99_Inline_1Name[] =
6888 "netbsd_c99_inline_1";
6889
6890/*
6891 * File name selection pattern
6892 */
6893tSCC zNetbsd_C99_Inline_1List[] =
6894 "signal.h\0";
6895/*
6896 * Machine/OS name selection pattern
6897 */
6898tSCC* apzNetbsd_C99_Inline_1Machs[] = {
6899 "*-*-netbsd*",
6900 (const char*)NULL };
6901
6902/*
6903 * content selection pattern - do fix if pattern found
6904 */
6905tSCC zNetbsd_C99_Inline_1Select0[] =
6906 "extern __inline int";
6907
6908#define NETBSD_C99_INLINE_1_TEST_CT 1
6909static tTestDesc aNetbsd_C99_Inline_1Tests[] = {
6910 { .type: TT_EGREP, .pz_test_text: zNetbsd_C99_Inline_1Select0, .p_test_regex: (regex_t*)NULL }, };
6911
6912/*
6913 * Fix Command Arguments for Netbsd_C99_Inline_1
6914 */
6915static const char* apzNetbsd_C99_Inline_1Patch[] = {
6916 "format",
6917 "extern\n\
6918#ifdef __GNUC_STDC_INLINE__\n\
6919__attribute__((__gnu_inline__))\n\
6920#endif\n\
6921__inline int",
6922 (char*)NULL };
6923
6924/* * * * * * * * * * * * * * * * * * * * * * * * * *
6925 *
6926 * Description of Netbsd_C99_Inline_2 fix
6927 */
6928tSCC zNetbsd_C99_Inline_2Name[] =
6929 "netbsd_c99_inline_2";
6930
6931/*
6932 * File name selection pattern
6933 */
6934tSCC zNetbsd_C99_Inline_2List[] =
6935 "signal.h\0";
6936/*
6937 * Machine/OS name selection pattern
6938 */
6939tSCC* apzNetbsd_C99_Inline_2Machs[] = {
6940 "*-*-netbsd*",
6941 (const char*)NULL };
6942
6943/*
6944 * content selection pattern - do fix if pattern found
6945 */
6946tSCC zNetbsd_C99_Inline_2Select0[] =
6947 "#define _SIGINLINE extern __inline";
6948
6949#define NETBSD_C99_INLINE_2_TEST_CT 1
6950static tTestDesc aNetbsd_C99_Inline_2Tests[] = {
6951 { .type: TT_EGREP, .pz_test_text: zNetbsd_C99_Inline_2Select0, .p_test_regex: (regex_t*)NULL }, };
6952
6953/*
6954 * Fix Command Arguments for Netbsd_C99_Inline_2
6955 */
6956static const char* apzNetbsd_C99_Inline_2Patch[] = {
6957 "format",
6958 "#ifdef __GNUC_STDC_INLINE__\n\
6959#define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline\n\
6960#else\n\
6961%0\n\
6962#endif",
6963 (char*)NULL };
6964
6965/* * * * * * * * * * * * * * * * * * * * * * * * * *
6966 *
6967 * Description of Netbsd_Extra_Semicolon fix
6968 */
6969tSCC zNetbsd_Extra_SemicolonName[] =
6970 "netbsd_extra_semicolon";
6971
6972/*
6973 * File name selection pattern
6974 */
6975tSCC zNetbsd_Extra_SemicolonList[] =
6976 "sys/cdefs.h\0";
6977/*
6978 * Machine/OS name selection pattern
6979 */
6980tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
6981 "*-*-netbsd*",
6982 (const char*)NULL };
6983
6984/*
6985 * content selection pattern - do fix if pattern found
6986 */
6987tSCC zNetbsd_Extra_SemicolonSelect0[] =
6988 "#define[ \t]*__END_DECLS[ \t]*};";
6989
6990#define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
6991static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
6992 { .type: TT_EGREP, .pz_test_text: zNetbsd_Extra_SemicolonSelect0, .p_test_regex: (regex_t*)NULL }, };
6993
6994/*
6995 * Fix Command Arguments for Netbsd_Extra_Semicolon
6996 */
6997static const char* apzNetbsd_Extra_SemicolonPatch[] = {
6998 "format",
6999 "#define __END_DECLS }",
7000 (char*)NULL };
7001
7002/* * * * * * * * * * * * * * * * * * * * * * * * * *
7003 *
7004 * Description of Newlib_Stdint_1 fix
7005 */
7006tSCC zNewlib_Stdint_1Name[] =
7007 "newlib_stdint_1";
7008
7009/*
7010 * File name selection pattern
7011 */
7012tSCC zNewlib_Stdint_1List[] =
7013 "stdint-newlib.h\0stdint.h\0";
7014/*
7015 * Machine/OS name selection pattern
7016 */
7017#define apzNewlib_Stdint_1Machs (const char**)NULL
7018
7019/*
7020 * content selection pattern - do fix if pattern found
7021 */
7022tSCC zNewlib_Stdint_1Select0[] =
7023 "@todo - Add support for wint_t types";
7024
7025#define NEWLIB_STDINT_1_TEST_CT 1
7026static tTestDesc aNewlib_Stdint_1Tests[] = {
7027 { .type: TT_EGREP, .pz_test_text: zNewlib_Stdint_1Select0, .p_test_regex: (regex_t*)NULL }, };
7028
7029/*
7030 * Fix Command Arguments for Newlib_Stdint_1
7031 */
7032static const char* apzNewlib_Stdint_1Patch[] = { sed_cmd_z,
7033 "-e", "s@#define INT32_MIN.*@#define INT32_MIN (-INT32_MAX - 1)@",
7034 "-e", "s@#define INT32_MAX.*@#define INT32_MAX __INT32_MAX__@",
7035 "-e", "s@#define UINT32_MAX.*@#define UINT32_MAX __UINT32_MAX__@",
7036 "-e", "s@#define INT_LEAST32_MIN.*@#define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)@",
7037 "-e", "s@#define INT_LEAST32_MAX.*@#define INT_LEAST32_MAX __INT_LEAST32_MAX__@",
7038 "-e", "s@#define UINT_LEAST32_MAX.*@#define UINT_LEAST32_MAX __UINT_LEAST32_MAX__@",
7039 "-e", "s@#define INT_FAST\\([0-9]*\\)_MIN.*@#define INT_FAST\\1_MIN (-INT_FAST\\1_MAX - 1)@",
7040 "-e", "s@#define INT_FAST\\([0-9]*\\)_MAX.*@#define INT_FAST\\1_MAX __INT_FAST\\1_MAX__@",
7041 "-e", "s@#define UINT_FAST\\([0-9]*\\)_MAX.*@#define UINT_FAST\\1_MAX __UINT_FAST\\1_MAX__@",
7042 "-e", "s@#define SIZE_MAX.*@#define SIZE_MAX __SIZE_MAX__@",
7043 "-e", "s@#define PTRDIFF_MIN.*@#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)@",
7044 "-e", "s@#define PTRDIFF_MAX.*@#define PTRDIFF_MAX __PTRDIFF_MAX__@",
7045 "-e", "s@#define UINT8_C.*@#define UINT8_C(c) __UINT8_C(c)@",
7046 "-e", "s@#define UINT16_C.*@#define UINT16_C(c) __UINT16_C(c)@",
7047 (char*)NULL };
7048
7049/* * * * * * * * * * * * * * * * * * * * * * * * * *
7050 *
7051 * Description of Newlib_Stdint_2 fix
7052 */
7053tSCC zNewlib_Stdint_2Name[] =
7054 "newlib_stdint_2";
7055
7056/*
7057 * File name selection pattern
7058 */
7059tSCC zNewlib_Stdint_2List[] =
7060 "stdint-newlib.h\0stdint.h\0";
7061/*
7062 * Machine/OS name selection pattern
7063 */
7064#define apzNewlib_Stdint_2Machs (const char**)NULL
7065
7066/*
7067 * content selection pattern - do fix if pattern found
7068 */
7069tSCC zNewlib_Stdint_2Select0[] =
7070 "@todo - Add support for wint_t types";
7071
7072#define NEWLIB_STDINT_2_TEST_CT 1
7073static tTestDesc aNewlib_Stdint_2Tests[] = {
7074 { .type: TT_EGREP, .pz_test_text: zNewlib_Stdint_2Select0, .p_test_regex: (regex_t*)NULL }, };
7075
7076/*
7077 * Fix Command Arguments for Newlib_Stdint_2
7078 */
7079static const char* apzNewlib_Stdint_2Patch[] = {
7080 "format",
7081 "#define INTMAX_MAX __INTMAX_MAX__\n\
7082#define INTMAX_MIN (-INTMAX_MAX - 1)\n\
7083#define UINTMAX_MAX __UINTMAX_MAX__\n\
7084#define WCHAR_MAX __WCHAR_MAX__\n\
7085#define WCHAR_MIN __WCHAR_MIN__\n\
7086#define WINT_MAX __WINT_MAX__\n\
7087#define WINT_MIN __WINT_MIN__\n\n\
7088%0",
7089 "/\\*\\* Macros for minimum-width integer constant expressions \\*/",
7090 (char*)NULL };
7091
7092/* * * * * * * * * * * * * * * * * * * * * * * * * *
7093 *
7094 * Description of Next_Math_Prefix fix
7095 */
7096tSCC zNext_Math_PrefixName[] =
7097 "next_math_prefix";
7098
7099/*
7100 * File name selection pattern
7101 */
7102tSCC zNext_Math_PrefixList[] =
7103 "ansi/math.h\0";
7104/*
7105 * Machine/OS name selection pattern
7106 */
7107#define apzNext_Math_PrefixMachs (const char**)NULL
7108
7109/*
7110 * content selection pattern - do fix if pattern found
7111 */
7112tSCC zNext_Math_PrefixSelect0[] =
7113 "^extern[ \t]+double[ \t]+__const__[ \t]";
7114
7115#define NEXT_MATH_PREFIX_TEST_CT 1
7116static tTestDesc aNext_Math_PrefixTests[] = {
7117 { .type: TT_EGREP, .pz_test_text: zNext_Math_PrefixSelect0, .p_test_regex: (regex_t*)NULL }, };
7118
7119/*
7120 * Fix Command Arguments for Next_Math_Prefix
7121 */
7122static const char* apzNext_Math_PrefixPatch[] = {
7123 "format",
7124 "extern double %1(",
7125 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
7126 (char*)NULL };
7127
7128/* * * * * * * * * * * * * * * * * * * * * * * * * *
7129 *
7130 * Description of Next_Template fix
7131 */
7132tSCC zNext_TemplateName[] =
7133 "next_template";
7134
7135/*
7136 * File name selection pattern
7137 */
7138tSCC zNext_TemplateList[] =
7139 "bsd/libc.h\0";
7140/*
7141 * Machine/OS name selection pattern
7142 */
7143#define apzNext_TemplateMachs (const char**)NULL
7144
7145/*
7146 * content selection pattern - do fix if pattern found
7147 */
7148tSCC zNext_TemplateSelect0[] =
7149 "[ \t]template\\)";
7150
7151#define NEXT_TEMPLATE_TEST_CT 1
7152static tTestDesc aNext_TemplateTests[] = {
7153 { .type: TT_EGREP, .pz_test_text: zNext_TemplateSelect0, .p_test_regex: (regex_t*)NULL }, };
7154
7155/*
7156 * Fix Command Arguments for Next_Template
7157 */
7158static const char* apzNext_TemplatePatch[] = {
7159 "format",
7160 "(%1)",
7161 "\\(([^)]*)[ \t]template\\)",
7162 (char*)NULL };
7163
7164/* * * * * * * * * * * * * * * * * * * * * * * * * *
7165 *
7166 * Description of Next_Volitile fix
7167 */
7168tSCC zNext_VolitileName[] =
7169 "next_volitile";
7170
7171/*
7172 * File name selection pattern
7173 */
7174tSCC zNext_VolitileList[] =
7175 "ansi/stdlib.h\0";
7176/*
7177 * Machine/OS name selection pattern
7178 */
7179#define apzNext_VolitileMachs (const char**)NULL
7180
7181/*
7182 * content selection pattern - do fix if pattern found
7183 */
7184tSCC zNext_VolitileSelect0[] =
7185 "^extern[ \t]+volatile[ \t]+void[ \t]";
7186
7187#define NEXT_VOLITILE_TEST_CT 1
7188static tTestDesc aNext_VolitileTests[] = {
7189 { .type: TT_EGREP, .pz_test_text: zNext_VolitileSelect0, .p_test_regex: (regex_t*)NULL }, };
7190
7191/*
7192 * Fix Command Arguments for Next_Volitile
7193 */
7194static const char* apzNext_VolitilePatch[] = {
7195 "format",
7196 "extern void %1(",
7197 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
7198 (char*)NULL };
7199
7200/* * * * * * * * * * * * * * * * * * * * * * * * * *
7201 *
7202 * Description of Next_Wait_Union fix
7203 */
7204tSCC zNext_Wait_UnionName[] =
7205 "next_wait_union";
7206
7207/*
7208 * File name selection pattern
7209 */
7210tSCC zNext_Wait_UnionList[] =
7211 "sys/wait.h\0";
7212/*
7213 * Machine/OS name selection pattern
7214 */
7215#define apzNext_Wait_UnionMachs (const char**)NULL
7216
7217/*
7218 * content selection pattern - do fix if pattern found
7219 */
7220tSCC zNext_Wait_UnionSelect0[] =
7221 "wait\\(union wait";
7222
7223#define NEXT_WAIT_UNION_TEST_CT 1
7224static tTestDesc aNext_Wait_UnionTests[] = {
7225 { .type: TT_EGREP, .pz_test_text: zNext_Wait_UnionSelect0, .p_test_regex: (regex_t*)NULL }, };
7226
7227/*
7228 * Fix Command Arguments for Next_Wait_Union
7229 */
7230static const char* apzNext_Wait_UnionPatch[] = {
7231 "format",
7232 "wait(void",
7233 (char*)NULL };
7234
7235/* * * * * * * * * * * * * * * * * * * * * * * * * *
7236 *
7237 * Description of Nodeent_Syntax fix
7238 */
7239tSCC zNodeent_SyntaxName[] =
7240 "nodeent_syntax";
7241
7242/*
7243 * File name selection pattern
7244 */
7245tSCC zNodeent_SyntaxList[] =
7246 "netdnet/dnetdb.h\0";
7247/*
7248 * Machine/OS name selection pattern
7249 */
7250#define apzNodeent_SyntaxMachs (const char**)NULL
7251
7252/*
7253 * content selection pattern - do fix if pattern found
7254 */
7255tSCC zNodeent_SyntaxSelect0[] =
7256 "char[ \t]*\\*na_addr[ \t]*$";
7257
7258#define NODEENT_SYNTAX_TEST_CT 1
7259static tTestDesc aNodeent_SyntaxTests[] = {
7260 { .type: TT_EGREP, .pz_test_text: zNodeent_SyntaxSelect0, .p_test_regex: (regex_t*)NULL }, };
7261
7262/*
7263 * Fix Command Arguments for Nodeent_Syntax
7264 */
7265static const char* apzNodeent_SyntaxPatch[] = {
7266 "format",
7267 "%0;",
7268 (char*)NULL };
7269
7270/* * * * * * * * * * * * * * * * * * * * * * * * * *
7271 *
7272 * Description of Openbsd_Null_Definition fix
7273 */
7274tSCC zOpenbsd_Null_DefinitionName[] =
7275 "openbsd_null_definition";
7276
7277/*
7278 * File name selection pattern
7279 */
7280tSCC zOpenbsd_Null_DefinitionList[] =
7281 "locale.h\0stddef.h\0stdio.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/param.h\0";
7282/*
7283 * Machine/OS name selection pattern
7284 */
7285tSCC* apzOpenbsd_Null_DefinitionMachs[] = {
7286 "*-*-openbsd*",
7287 (const char*)NULL };
7288
7289/*
7290 * content selection pattern - do fix if pattern found
7291 */
7292tSCC zOpenbsd_Null_DefinitionSelect0[] =
7293 "__GNUG__";
7294
7295#define OPENBSD_NULL_DEFINITION_TEST_CT 1
7296static tTestDesc aOpenbsd_Null_DefinitionTests[] = {
7297 { .type: TT_EGREP, .pz_test_text: zOpenbsd_Null_DefinitionSelect0, .p_test_regex: (regex_t*)NULL }, };
7298
7299/*
7300 * Fix Command Arguments for Openbsd_Null_Definition
7301 */
7302static const char* apzOpenbsd_Null_DefinitionPatch[] = {
7303 "format",
7304 "#ifndef NULL\n\
7305#ifdef __cplusplus\n\
7306#ifdef __GNUG__\n\
7307#define NULL\t__null\n\
7308#else\t /* ! __GNUG__ */\n\
7309#define NULL\t0L\n\
7310#endif\t /* __GNUG__ */\n\
7311#else\t /* ! __cplusplus */\n\
7312#define NULL\t((void *)0)\n\
7313#endif\t /* __cplusplus */\n\
7314#endif\t /* !NULL */",
7315 "^#ifndef[ \t]*NULL\n\
7316^#ifdef[ \t]*__GNUG__\n\
7317^#define[ \t]*NULL[ \t]*__null\n\
7318^#else\n\
7319^#define[ \t]*NULL[ \t]*0L\n\
7320^#endif\n\
7321^#endif",
7322 (char*)NULL };
7323
7324/* * * * * * * * * * * * * * * * * * * * * * * * * *
7325 *
7326 * Description of Obstack_Lvalue_Cast fix
7327 */
7328tSCC zObstack_Lvalue_CastName[] =
7329 "obstack_lvalue_cast";
7330
7331/*
7332 * File name selection pattern
7333 */
7334tSCC zObstack_Lvalue_CastList[] =
7335 "obstack.h\0";
7336/*
7337 * Machine/OS name selection pattern
7338 */
7339#define apzObstack_Lvalue_CastMachs (const char**)NULL
7340
7341/*
7342 * content selection pattern - do fix if pattern found
7343 */
7344tSCC zObstack_Lvalue_CastSelect0[] =
7345 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
7346
7347#define OBSTACK_LVALUE_CAST_TEST_CT 1
7348static tTestDesc aObstack_Lvalue_CastTests[] = {
7349 { .type: TT_EGREP, .pz_test_text: zObstack_Lvalue_CastSelect0, .p_test_regex: (regex_t*)NULL }, };
7350
7351/*
7352 * Fix Command Arguments for Obstack_Lvalue_Cast
7353 */
7354static const char* apzObstack_Lvalue_CastPatch[] = {
7355 "format",
7356 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
7357 (char*)NULL };
7358
7359/* * * * * * * * * * * * * * * * * * * * * * * * * *
7360 *
7361 * Description of Openbsd_Va_Start fix
7362 */
7363tSCC zOpenbsd_Va_StartName[] =
7364 "openbsd_va_start";
7365
7366/*
7367 * File name selection pattern
7368 */
7369tSCC zOpenbsd_Va_StartList[] =
7370 "stdarg.h\0";
7371/*
7372 * Machine/OS name selection pattern
7373 */
7374tSCC* apzOpenbsd_Va_StartMachs[] = {
7375 "*-*-openbsd*",
7376 (const char*)NULL };
7377
7378/*
7379 * content selection pattern - do fix if pattern found
7380 */
7381tSCC zOpenbsd_Va_StartSelect0[] =
7382 "__builtin_stdarg_start";
7383
7384#define OPENBSD_VA_START_TEST_CT 1
7385static tTestDesc aOpenbsd_Va_StartTests[] = {
7386 { .type: TT_EGREP, .pz_test_text: zOpenbsd_Va_StartSelect0, .p_test_regex: (regex_t*)NULL }, };
7387
7388/*
7389 * Fix Command Arguments for Openbsd_Va_Start
7390 */
7391static const char* apzOpenbsd_Va_StartPatch[] = {
7392 "format",
7393 "__builtin_va_start",
7394 (char*)NULL };
7395
7396/* * * * * * * * * * * * * * * * * * * * * * * * * *
7397 *
7398 * Description of Osf_Namespace_A fix
7399 */
7400tSCC zOsf_Namespace_AName[] =
7401 "osf_namespace_a";
7402
7403/*
7404 * File name selection pattern
7405 */
7406tSCC zOsf_Namespace_AList[] =
7407 "reg_types.h\0sys/lc_core.h\0";
7408/*
7409 * Machine/OS name selection pattern
7410 */
7411#define apzOsf_Namespace_AMachs (const char**)NULL
7412
7413/*
7414 * perform the 'test' shell command - do fix on success
7415 */
7416tSCC zOsf_Namespace_ATest0[] =
7417 " -r reg_types.h";
7418tSCC zOsf_Namespace_ATest1[] =
7419 " -r sys/lc_core.h";
7420tSCC zOsf_Namespace_ATest2[] =
7421 " -n \"`grep '} regex_t;' reg_types.h`\"";
7422tSCC zOsf_Namespace_ATest3[] =
7423 " -z \"`grep __regex_t regex.h`\"";
7424
7425#define OSF_NAMESPACE_A_TEST_CT 4
7426static tTestDesc aOsf_Namespace_ATests[] = {
7427 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_ATest0, .p_test_regex: 0 /* unused */ },
7428 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_ATest1, .p_test_regex: 0 /* unused */ },
7429 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_ATest2, .p_test_regex: 0 /* unused */ },
7430 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_ATest3, .p_test_regex: 0 /* unused */ }, };
7431
7432/*
7433 * Fix Command Arguments for Osf_Namespace_A
7434 */
7435static const char* apzOsf_Namespace_APatch[] = {
7436 "format",
7437 "__%0",
7438 "reg(ex|off|match)_t",
7439 (char*)NULL };
7440
7441/* * * * * * * * * * * * * * * * * * * * * * * * * *
7442 *
7443 * Description of Osf_Namespace_C fix
7444 */
7445tSCC zOsf_Namespace_CName[] =
7446 "osf_namespace_c";
7447
7448/*
7449 * File name selection pattern
7450 */
7451tSCC zOsf_Namespace_CList[] =
7452 "regex.h\0";
7453/*
7454 * Machine/OS name selection pattern
7455 */
7456#define apzOsf_Namespace_CMachs (const char**)NULL
7457
7458/*
7459 * content selection pattern - do fix if pattern found
7460 */
7461tSCC zOsf_Namespace_CSelect0[] =
7462 "#include <reg_types.h>.*";
7463
7464/*
7465 * perform the 'test' shell command - do fix on success
7466 */
7467tSCC zOsf_Namespace_CTest0[] =
7468 " -r reg_types.h";
7469tSCC zOsf_Namespace_CTest1[] =
7470 " -r sys/lc_core.h";
7471tSCC zOsf_Namespace_CTest2[] =
7472 " -n \"`grep '} regex_t;' reg_types.h`\"";
7473tSCC zOsf_Namespace_CTest3[] =
7474 " -z \"`grep __regex_t regex.h`\"";
7475
7476#define OSF_NAMESPACE_C_TEST_CT 5
7477static tTestDesc aOsf_Namespace_CTests[] = {
7478 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_CTest0, .p_test_regex: 0 /* unused */ },
7479 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_CTest1, .p_test_regex: 0 /* unused */ },
7480 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_CTest2, .p_test_regex: 0 /* unused */ },
7481 { .type: TT_TEST, .pz_test_text: zOsf_Namespace_CTest3, .p_test_regex: 0 /* unused */ },
7482 { .type: TT_EGREP, .pz_test_text: zOsf_Namespace_CSelect0, .p_test_regex: (regex_t*)NULL }, };
7483
7484/*
7485 * Fix Command Arguments for Osf_Namespace_C
7486 */
7487static const char* apzOsf_Namespace_CPatch[] = {
7488 "format",
7489 "%0\n\
7490typedef __regex_t\tregex_t;\n\
7491typedef __regoff_t\tregoff_t;\n\
7492typedef __regmatch_t\tregmatch_t;",
7493 (char*)NULL };
7494
7495/* * * * * * * * * * * * * * * * * * * * * * * * * *
7496 *
7497 * Description of Pthread_Incomplete_Struct_Argument fix
7498 */
7499tSCC zPthread_Incomplete_Struct_ArgumentName[] =
7500 "pthread_incomplete_struct_argument";
7501
7502/*
7503 * File name selection pattern
7504 */
7505tSCC zPthread_Incomplete_Struct_ArgumentList[] =
7506 "pthread.h\0";
7507/*
7508 * Machine/OS name selection pattern
7509 */
7510#define apzPthread_Incomplete_Struct_ArgumentMachs (const char**)NULL
7511
7512/*
7513 * content selection pattern - do fix if pattern found
7514 */
7515tSCC zPthread_Incomplete_Struct_ArgumentSelect0[] =
7516 "struct __jmp_buf_tag";
7517
7518/*
7519 * content bypass pattern - skip fix if pattern found
7520 */
7521tSCC zPthread_Incomplete_Struct_ArgumentBypass0[] =
7522 "bits/types/struct___jmp_buf_tag.h";
7523
7524#define PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT 2
7525static tTestDesc aPthread_Incomplete_Struct_ArgumentTests[] = {
7526 { .type: TT_NEGREP, .pz_test_text: zPthread_Incomplete_Struct_ArgumentBypass0, .p_test_regex: (regex_t*)NULL },
7527 { .type: TT_EGREP, .pz_test_text: zPthread_Incomplete_Struct_ArgumentSelect0, .p_test_regex: (regex_t*)NULL }, };
7528
7529/*
7530 * Fix Command Arguments for Pthread_Incomplete_Struct_Argument
7531 */
7532static const char* apzPthread_Incomplete_Struct_ArgumentPatch[] = {
7533 "format",
7534 "%1 *%2%3",
7535 "^(extern int __sigsetjmp \\(struct __jmp_buf_tag) (__env)\\[1\\](.*)$",
7536 (char*)NULL };
7537
7538/* * * * * * * * * * * * * * * * * * * * * * * * * *
7539 *
7540 * Description of Read_Ret_Type fix
7541 */
7542tSCC zRead_Ret_TypeName[] =
7543 "read_ret_type";
7544
7545/*
7546 * File name selection pattern
7547 */
7548tSCC zRead_Ret_TypeList[] =
7549 "stdio.h\0";
7550/*
7551 * Machine/OS name selection pattern
7552 */
7553#define apzRead_Ret_TypeMachs (const char**)NULL
7554
7555/*
7556 * content selection pattern - do fix if pattern found
7557 */
7558tSCC zRead_Ret_TypeSelect0[] =
7559 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
7560
7561#define READ_RET_TYPE_TEST_CT 1
7562static tTestDesc aRead_Ret_TypeTests[] = {
7563 { .type: TT_EGREP, .pz_test_text: zRead_Ret_TypeSelect0, .p_test_regex: (regex_t*)NULL }, };
7564
7565/*
7566 * Fix Command Arguments for Read_Ret_Type
7567 */
7568static const char* apzRead_Ret_TypePatch[] = {
7569 "format",
7570 "extern unsigned int fread(), fwrite();\n\
7571%1%2",
7572 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
7573 (char*)NULL };
7574
7575/* * * * * * * * * * * * * * * * * * * * * * * * * *
7576 *
7577 * Description of Rpc_Xdr_Lvalue_Cast_A fix
7578 */
7579tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
7580 "rpc_xdr_lvalue_cast_a";
7581
7582/*
7583 * File name selection pattern
7584 */
7585tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
7586 "rpc/xdr.h\0";
7587/*
7588 * Machine/OS name selection pattern
7589 */
7590#define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
7591
7592/*
7593 * content selection pattern - do fix if pattern found
7594 */
7595tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
7596 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
7597.*__extension__.*";
7598
7599#define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
7600static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
7601 { .type: TT_EGREP, .pz_test_text: zRpc_Xdr_Lvalue_Cast_ASelect0, .p_test_regex: (regex_t*)NULL }, };
7602
7603/*
7604 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
7605 */
7606static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
7607 "format",
7608 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
7609 (char*)NULL };
7610
7611/* * * * * * * * * * * * * * * * * * * * * * * * * *
7612 *
7613 * Description of Rpc_Xdr_Lvalue_Cast_B fix
7614 */
7615tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
7616 "rpc_xdr_lvalue_cast_b";
7617
7618/*
7619 * File name selection pattern
7620 */
7621tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
7622 "rpc/xdr.h\0";
7623/*
7624 * Machine/OS name selection pattern
7625 */
7626#define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
7627
7628/*
7629 * content selection pattern - do fix if pattern found
7630 */
7631tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
7632 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
7633.*__extension__.*";
7634
7635#define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
7636static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
7637 { .type: TT_EGREP, .pz_test_text: zRpc_Xdr_Lvalue_Cast_BSelect0, .p_test_regex: (regex_t*)NULL }, };
7638
7639/*
7640 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
7641 */
7642static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
7643 "format",
7644 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
7645 (char*)NULL };
7646
7647/* * * * * * * * * * * * * * * * * * * * * * * * * *
7648 *
7649 * Description of Rs6000_Double fix
7650 */
7651tSCC zRs6000_DoubleName[] =
7652 "rs6000_double";
7653
7654/*
7655 * File name selection pattern
7656 */
7657tSCC zRs6000_DoubleList[] =
7658 "math.h\0";
7659/*
7660 * Machine/OS name selection pattern
7661 */
7662#define apzRs6000_DoubleMachs (const char**)NULL
7663
7664/*
7665 * content selection pattern - do fix if pattern found
7666 */
7667tSCC zRs6000_DoubleSelect0[] =
7668 "[^a-zA-Z_]class\\(";
7669
7670#define RS6000_DOUBLE_TEST_CT 1
7671static tTestDesc aRs6000_DoubleTests[] = {
7672 { .type: TT_EGREP, .pz_test_text: zRs6000_DoubleSelect0, .p_test_regex: (regex_t*)NULL }, };
7673
7674/*
7675 * Fix Command Arguments for Rs6000_Double
7676 */
7677static const char* apzRs6000_DoublePatch[] = {
7678 "format",
7679 "#ifndef __cplusplus\n\
7680%0\n\
7681#endif",
7682 "^.*[^a-zA-Z_]class\\(.*",
7683 (char*)NULL };
7684
7685/* * * * * * * * * * * * * * * * * * * * * * * * * *
7686 *
7687 * Description of Rs6000_Fchmod fix
7688 */
7689tSCC zRs6000_FchmodName[] =
7690 "rs6000_fchmod";
7691
7692/*
7693 * File name selection pattern
7694 */
7695tSCC zRs6000_FchmodList[] =
7696 "sys/stat.h\0";
7697/*
7698 * Machine/OS name selection pattern
7699 */
7700#define apzRs6000_FchmodMachs (const char**)NULL
7701
7702/*
7703 * content selection pattern - do fix if pattern found
7704 */
7705tSCC zRs6000_FchmodSelect0[] =
7706 "fchmod\\(char \\*";
7707
7708#define RS6000_FCHMOD_TEST_CT 1
7709static tTestDesc aRs6000_FchmodTests[] = {
7710 { .type: TT_EGREP, .pz_test_text: zRs6000_FchmodSelect0, .p_test_regex: (regex_t*)NULL }, };
7711
7712/*
7713 * Fix Command Arguments for Rs6000_Fchmod
7714 */
7715static const char* apzRs6000_FchmodPatch[] = {
7716 "format",
7717 "fchmod(int",
7718 (char*)NULL };
7719
7720/* * * * * * * * * * * * * * * * * * * * * * * * * *
7721 *
7722 * Description of Rs6000_Param fix
7723 */
7724tSCC zRs6000_ParamName[] =
7725 "rs6000_param";
7726
7727/*
7728 * File name selection pattern
7729 */
7730tSCC zRs6000_ParamList[] =
7731 "stdio.h\0unistd.h\0";
7732/*
7733 * Machine/OS name selection pattern
7734 */
7735#define apzRs6000_ParamMachs (const char**)NULL
7736
7737/*
7738 * content selection pattern - do fix if pattern found
7739 */
7740tSCC zRs6000_ParamSelect0[] =
7741 "rename\\(const char \\*old, const char \\*new\\)";
7742
7743#define RS6000_PARAM_TEST_CT 1
7744static tTestDesc aRs6000_ParamTests[] = {
7745 { .type: TT_EGREP, .pz_test_text: zRs6000_ParamSelect0, .p_test_regex: (regex_t*)NULL }, };
7746
7747/*
7748 * Fix Command Arguments for Rs6000_Param
7749 */
7750static const char* apzRs6000_ParamPatch[] = {
7751 "format",
7752 "rename(const char *_old, const char *_new)",
7753 (char*)NULL };
7754
7755/* * * * * * * * * * * * * * * * * * * * * * * * * *
7756 *
7757 * Description of Solaris_Int_Const fix
7758 */
7759tSCC zSolaris_Int_ConstName[] =
7760 "solaris_int_const";
7761
7762/*
7763 * File name selection pattern
7764 */
7765tSCC zSolaris_Int_ConstList[] =
7766 "sys/int_const.h\0";
7767/*
7768 * Machine/OS name selection pattern
7769 */
7770tSCC* apzSolaris_Int_ConstMachs[] = {
7771 "*-*-solaris2*",
7772 (const char*)NULL };
7773
7774/*
7775 * content selection pattern - do fix if pattern found
7776 */
7777tSCC zSolaris_Int_ConstSelect0[] =
7778 "^#define[ \t]+UINT8_C\\(c\\)[ \t]+__CONCAT__.*\n\
7779(/*.**/)\n\
7780#define[ \t]+UINT16_C\\(c\\)[ \t]+__CONCAT__.*";
7781
7782#define SOLARIS_INT_CONST_TEST_CT 1
7783static tTestDesc aSolaris_Int_ConstTests[] = {
7784 { .type: TT_EGREP, .pz_test_text: zSolaris_Int_ConstSelect0, .p_test_regex: (regex_t*)NULL }, };
7785
7786/*
7787 * Fix Command Arguments for Solaris_Int_Const
7788 */
7789static const char* apzSolaris_Int_ConstPatch[] = {
7790 "format",
7791 "#define\tUINT8_C(c)\t(c)\n\
7792%1\n\
7793#define\tUINT16_C(c)\t(c)",
7794 (char*)NULL };
7795
7796/* * * * * * * * * * * * * * * * * * * * * * * * * *
7797 *
7798 * Description of Solaris_Int_Limits_1 fix
7799 */
7800tSCC zSolaris_Int_Limits_1Name[] =
7801 "solaris_int_limits_1";
7802
7803/*
7804 * File name selection pattern
7805 */
7806tSCC zSolaris_Int_Limits_1List[] =
7807 "sys/int_limits.h\0";
7808/*
7809 * Machine/OS name selection pattern
7810 */
7811tSCC* apzSolaris_Int_Limits_1Machs[] = {
7812 "*-*-solaris2*",
7813 (const char*)NULL };
7814
7815/*
7816 * content selection pattern - do fix if pattern found
7817 */
7818tSCC zSolaris_Int_Limits_1Select0[] =
7819 "^#define[ \t]+UINT8_MAX[ \t]+\\(255U\\)\n\
7820#define[ \t]+UINT16_MAX[ \t]+\\(65535U\\)";
7821
7822#define SOLARIS_INT_LIMITS_1_TEST_CT 1
7823static tTestDesc aSolaris_Int_Limits_1Tests[] = {
7824 { .type: TT_EGREP, .pz_test_text: zSolaris_Int_Limits_1Select0, .p_test_regex: (regex_t*)NULL }, };
7825
7826/*
7827 * Fix Command Arguments for Solaris_Int_Limits_1
7828 */
7829static const char* apzSolaris_Int_Limits_1Patch[] = {
7830 "format",
7831 "#define\tUINT8_MAX\t(255)\n\
7832#define\tUINT16_MAX\t(65535)",
7833 (char*)NULL };
7834
7835/* * * * * * * * * * * * * * * * * * * * * * * * * *
7836 *
7837 * Description of Solaris_Int_Limits_3 fix
7838 */
7839tSCC zSolaris_Int_Limits_3Name[] =
7840 "solaris_int_limits_3";
7841
7842/*
7843 * File name selection pattern
7844 */
7845tSCC zSolaris_Int_Limits_3List[] =
7846 "sys/int_limits.h\0";
7847/*
7848 * Machine/OS name selection pattern
7849 */
7850tSCC* apzSolaris_Int_Limits_3Machs[] = {
7851 "*-*-solaris2*",
7852 (const char*)NULL };
7853
7854/*
7855 * content selection pattern - do fix if pattern found
7856 */
7857tSCC zSolaris_Int_Limits_3Select0[] =
7858 "^#define[ \t]+SIZE_MAX[ \t]+4294967295UL";
7859
7860#define SOLARIS_INT_LIMITS_3_TEST_CT 1
7861static tTestDesc aSolaris_Int_Limits_3Tests[] = {
7862 { .type: TT_EGREP, .pz_test_text: zSolaris_Int_Limits_3Select0, .p_test_regex: (regex_t*)NULL }, };
7863
7864/*
7865 * Fix Command Arguments for Solaris_Int_Limits_3
7866 */
7867static const char* apzSolaris_Int_Limits_3Patch[] = {
7868 "format",
7869 "#define\tSIZE_MAX\t4294967295U",
7870 (char*)NULL };
7871
7872/* * * * * * * * * * * * * * * * * * * * * * * * * *
7873 *
7874 * Description of Solaris_Math_12 fix
7875 */
7876tSCC zSolaris_Math_12Name[] =
7877 "solaris_math_12";
7878
7879/*
7880 * File name selection pattern
7881 */
7882tSCC zSolaris_Math_12List[] =
7883 "math.h\0";
7884/*
7885 * Machine/OS name selection pattern
7886 */
7887tSCC* apzSolaris_Math_12Machs[] = {
7888 "*-*-solaris2*",
7889 (const char*)NULL };
7890
7891/*
7892 * content selection pattern - do fix if pattern found
7893 */
7894tSCC zSolaris_Math_12Select0[] =
7895 "#undef.*_GLIBCXX_USE_C99_MATH";
7896
7897/*
7898 * content bypass pattern - skip fix if pattern found
7899 */
7900tSCC zSolaris_Math_12Bypass0[] =
7901 "__MATH_PREEMPTS_GLIBCXX_C99_MATH";
7902
7903#define SOLARIS_MATH_12_TEST_CT 2
7904static tTestDesc aSolaris_Math_12Tests[] = {
7905 { .type: TT_NEGREP, .pz_test_text: zSolaris_Math_12Bypass0, .p_test_regex: (regex_t*)NULL },
7906 { .type: TT_EGREP, .pz_test_text: zSolaris_Math_12Select0, .p_test_regex: (regex_t*)NULL }, };
7907
7908/*
7909 * Fix Command Arguments for Solaris_Math_12
7910 */
7911static const char* apzSolaris_Math_12Patch[] = { sed_cmd_z,
7912 "-e", "/#undef[ \t]*_GLIBCXX_USE_C99_MATH/d",
7913 (char*)NULL };
7914
7915/* * * * * * * * * * * * * * * * * * * * * * * * * *
7916 *
7917 * Description of Solaris_Pow_Int_Overload fix
7918 */
7919tSCC zSolaris_Pow_Int_OverloadName[] =
7920 "solaris_pow_int_overload";
7921
7922/*
7923 * File name selection pattern
7924 */
7925tSCC zSolaris_Pow_Int_OverloadList[] =
7926 "iso/math_iso.h\0";
7927/*
7928 * Machine/OS name selection pattern
7929 */
7930tSCC* apzSolaris_Pow_Int_OverloadMachs[] = {
7931 "*-*-solaris2*",
7932 (const char*)NULL };
7933
7934/*
7935 * content selection pattern - do fix if pattern found
7936 */
7937tSCC zSolaris_Pow_Int_OverloadSelect0[] =
7938 "^[ \t]*inline [a-z ]* pow\\([^()]*, int [^()]*\\) *\\{[^{}]*\n\
7939[^{}]*\\}";
7940
7941#define SOLARIS_POW_INT_OVERLOAD_TEST_CT 1
7942static tTestDesc aSolaris_Pow_Int_OverloadTests[] = {
7943 { .type: TT_EGREP, .pz_test_text: zSolaris_Pow_Int_OverloadSelect0, .p_test_regex: (regex_t*)NULL }, };
7944
7945/*
7946 * Fix Command Arguments for Solaris_Pow_Int_Overload
7947 */
7948static const char* apzSolaris_Pow_Int_OverloadPatch[] = {
7949 "format",
7950 "#if __cplusplus < 201103L\n\
7951%0\n\
7952#endif",
7953 (char*)NULL };
7954
7955/* * * * * * * * * * * * * * * * * * * * * * * * * *
7956 *
7957 * Description of Statsswtch fix
7958 */
7959tSCC zStatsswtchName[] =
7960 "statsswtch";
7961
7962/*
7963 * File name selection pattern
7964 */
7965tSCC zStatsswtchList[] =
7966 "rpcsvc/rstat.h\0";
7967/*
7968 * Machine/OS name selection pattern
7969 */
7970#define apzStatsswtchMachs (const char**)NULL
7971
7972/*
7973 * content selection pattern - do fix if pattern found
7974 */
7975tSCC zStatsswtchSelect0[] =
7976 "boottime$";
7977
7978#define STATSSWTCH_TEST_CT 1
7979static tTestDesc aStatsswtchTests[] = {
7980 { .type: TT_EGREP, .pz_test_text: zStatsswtchSelect0, .p_test_regex: (regex_t*)NULL }, };
7981
7982/*
7983 * Fix Command Arguments for Statsswtch
7984 */
7985static const char* apzStatsswtchPatch[] = {
7986 "format",
7987 "boottime;",
7988 (char*)NULL };
7989
7990/* * * * * * * * * * * * * * * * * * * * * * * * * *
7991 *
7992 * Description of Stdio_Stdarg_H fix
7993 */
7994tSCC zStdio_Stdarg_HName[] =
7995 "stdio_stdarg_h";
7996
7997/*
7998 * File name selection pattern
7999 */
8000tSCC zStdio_Stdarg_HList[] =
8001 "stdio.h\0";
8002/*
8003 * Machine/OS name selection pattern
8004 */
8005tSCC* apzStdio_Stdarg_HMachs[] = {
8006 "*-*-solaris2*",
8007 (const char*)NULL };
8008
8009/*
8010 * content bypass pattern - skip fix if pattern found
8011 */
8012tSCC zStdio_Stdarg_HBypass0[] =
8013 "include.*(stdarg.h|machine/ansi.h|_stdio.h)";
8014
8015#define STDIO_STDARG_H_TEST_CT 1
8016static tTestDesc aStdio_Stdarg_HTests[] = {
8017 { .type: TT_NEGREP, .pz_test_text: zStdio_Stdarg_HBypass0, .p_test_regex: (regex_t*)NULL }, };
8018
8019/*
8020 * Fix Command Arguments for Stdio_Stdarg_H
8021 */
8022static const char* apzStdio_Stdarg_HPatch[] = {
8023 "wrap",
8024 "#define __need___va_list\n\
8025#include <stdarg.h>\n",
8026 (char*)NULL };
8027
8028/* * * * * * * * * * * * * * * * * * * * * * * * * *
8029 *
8030 * Description of Stdio_Va_List fix
8031 */
8032tSCC zStdio_Va_ListName[] =
8033 "stdio_va_list";
8034
8035/*
8036 * File name selection pattern
8037 */
8038tSCC zStdio_Va_ListList[] =
8039 "stdio.h\0";
8040/*
8041 * Machine/OS name selection pattern
8042 */
8043tSCC* apzStdio_Va_ListMachs[] = {
8044 "*-*-solaris2*",
8045 (const char*)NULL };
8046
8047/*
8048 * content bypass pattern - skip fix if pattern found
8049 */
8050tSCC zStdio_Va_ListBypass0[] =
8051 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list|_stdio.h";
8052
8053#define STDIO_VA_LIST_TEST_CT 1
8054static tTestDesc aStdio_Va_ListTests[] = {
8055 { .type: TT_NEGREP, .pz_test_text: zStdio_Va_ListBypass0, .p_test_regex: (regex_t*)NULL }, };
8056
8057/*
8058 * Fix Command Arguments for Stdio_Va_List
8059 */
8060static const char* apzStdio_Va_ListPatch[] = { sed_cmd_z,
8061 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8062s@(va_list)&@(__gnuc_va_list)\\&@\n\
8063s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8064s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8065s@ va_list@ __not_va_list__@\n\
8066s@\\*va_list@*__not_va_list__@\n\
8067s@ __va_list)@ __gnuc_va_list)@\n\
8068s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8069s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8070s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8071s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8072s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8073s@VA_LIST@DUMMY_VA_LIST@\n\
8074s@_Va_LIST@_VA_LIST@",
8075 (char*)NULL };
8076
8077/* * * * * * * * * * * * * * * * * * * * * * * * * *
8078 *
8079 * Description of Stdio_Va_List_Clients fix
8080 */
8081tSCC zStdio_Va_List_ClientsName[] =
8082 "stdio_va_list_clients";
8083
8084/*
8085 * File name selection pattern
8086 */
8087tSCC zStdio_Va_List_ClientsList[] =
8088 "com_err.h\0cps.h\0curses.h\0krb5.h\0lc_core.h\0pfmt.h\0wchar.h\0curses_colr/curses.h\0";
8089/*
8090 * Machine/OS name selection pattern
8091 */
8092tSCC* apzStdio_Va_List_ClientsMachs[] = {
8093 "*-*-solaris2.1[0-9]*",
8094 (const char*)NULL };
8095
8096/*
8097 * content bypass pattern - skip fix if pattern found
8098 */
8099tSCC zStdio_Va_List_ClientsBypass0[] =
8100 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
8101tSCC zStdio_Va_List_ClientsBypass1[] =
8102 "include <stdarg\\.h>|#ifdef va_start";
8103
8104#define STDIO_VA_LIST_CLIENTS_TEST_CT 2
8105static tTestDesc aStdio_Va_List_ClientsTests[] = {
8106 { .type: TT_NEGREP, .pz_test_text: zStdio_Va_List_ClientsBypass0, .p_test_regex: (regex_t*)NULL },
8107 { .type: TT_NEGREP, .pz_test_text: zStdio_Va_List_ClientsBypass1, .p_test_regex: (regex_t*)NULL }, };
8108
8109/*
8110 * Fix Command Arguments for Stdio_Va_List_Clients
8111 */
8112static const char* apzStdio_Va_List_ClientsPatch[] = { sed_cmd_z,
8113 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
8114s@(va_list)&@(__gnuc_va_list)\\&@\n\
8115s@ _VA_LIST_));@ __gnuc_va_list));@\n\
8116s@ __VA_LIST__));@ __gnuc_va_list));@\n\
8117s@ va_list@ __not_va_list__@\n\
8118s@\\*va_list@*__not_va_list__@\n\
8119s@ __va_list)@ __gnuc_va_list)@\n\
8120s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
8121s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
8122s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
8123s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
8124s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
8125s@VA_LIST@DUMMY_VA_LIST@\n\
8126s@_Va_LIST@_VA_LIST@",
8127 (char*)NULL };
8128
8129/* * * * * * * * * * * * * * * * * * * * * * * * * *
8130 *
8131 * Description of Strict_Ansi_Not fix
8132 */
8133tSCC zStrict_Ansi_NotName[] =
8134 "strict_ansi_not";
8135
8136/*
8137 * File name selection pattern
8138 */
8139#define zStrict_Ansi_NotList (char*)NULL
8140/*
8141 * Machine/OS name selection pattern
8142 */
8143#define apzStrict_Ansi_NotMachs (const char**)NULL
8144
8145/*
8146 * content selection pattern - do fix if pattern found
8147 */
8148tSCC zStrict_Ansi_NotSelect0[] =
8149 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
8150
8151/*
8152 * content bypass pattern - skip fix if pattern found
8153 */
8154tSCC zStrict_Ansi_NotBypass0[] =
8155 "GNU and MIPS C compilers define __STDC__ differently";
8156tSCC zStrict_Ansi_NotBypass1[] =
8157 "__SCO_VERSION__.*__STDC__ != 1";
8158
8159/*
8160 * perform the C function call test
8161 */
8162tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
8163
8164#define STRICT_ANSI_NOT_TEST_CT 4
8165static tTestDesc aStrict_Ansi_NotTests[] = {
8166 { .type: TT_FUNCTION, .pz_test_text: zStrict_Ansi_NotFTst0, .p_test_regex: 0 /* unused */ },
8167 { .type: TT_NEGREP, .pz_test_text: zStrict_Ansi_NotBypass0, .p_test_regex: (regex_t*)NULL },
8168 { .type: TT_NEGREP, .pz_test_text: zStrict_Ansi_NotBypass1, .p_test_regex: (regex_t*)NULL },
8169 { .type: TT_EGREP, .pz_test_text: zStrict_Ansi_NotSelect0, .p_test_regex: (regex_t*)NULL }, };
8170
8171/*
8172 * Fix Command Arguments for Strict_Ansi_Not
8173 */
8174static const char* apzStrict_Ansi_NotPatch[] = {
8175 "format",
8176 "%1 !defined(__STRICT_ANSI__)",
8177 (char*)NULL };
8178
8179/* * * * * * * * * * * * * * * * * * * * * * * * * *
8180 *
8181 * Description of Strict_Ansi_Not_Ctd fix
8182 */
8183tSCC zStrict_Ansi_Not_CtdName[] =
8184 "strict_ansi_not_ctd";
8185
8186/*
8187 * File name selection pattern
8188 */
8189tSCC zStrict_Ansi_Not_CtdList[] =
8190 "math.h\0limits.h\0stdio.h\0signal.h\0stdlib.h\0sys/signal.h\0time.h\0";
8191/*
8192 * Machine/OS name selection pattern
8193 */
8194#define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
8195
8196/*
8197 * content selection pattern - do fix if pattern found
8198 */
8199tSCC zStrict_Ansi_Not_CtdSelect0[] =
8200 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
8201
8202/*
8203 * perform the C function call test
8204 */
8205tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
8206
8207#define STRICT_ANSI_NOT_CTD_TEST_CT 2
8208static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
8209 { .type: TT_FUNCTION, .pz_test_text: zStrict_Ansi_Not_CtdFTst0, .p_test_regex: 0 /* unused */ },
8210 { .type: TT_EGREP, .pz_test_text: zStrict_Ansi_Not_CtdSelect0, .p_test_regex: (regex_t*)NULL }, };
8211
8212/*
8213 * Fix Command Arguments for Strict_Ansi_Not_Ctd
8214 */
8215static const char* apzStrict_Ansi_Not_CtdPatch[] = {
8216 "format",
8217 "%1 !defined(__STRICT_ANSI__)",
8218 (char*)NULL };
8219
8220/* * * * * * * * * * * * * * * * * * * * * * * * * *
8221 *
8222 * Description of Strict_Ansi_Only fix
8223 */
8224tSCC zStrict_Ansi_OnlyName[] =
8225 "strict_ansi_only";
8226
8227/*
8228 * File name selection pattern
8229 */
8230#define zStrict_Ansi_OnlyList (char*)NULL
8231/*
8232 * Machine/OS name selection pattern
8233 */
8234tSCC* apzStrict_Ansi_OnlyMachs[] = {
8235 "*-*-solaris2*",
8236 (const char*)NULL };
8237
8238/*
8239 * content selection pattern - do fix if pattern found
8240 */
8241tSCC zStrict_Ansi_OnlySelect0[] =
8242 "^([ \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)";
8243
8244/*
8245 * perform the C function call test
8246 */
8247tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
8248
8249#define STRICT_ANSI_ONLY_TEST_CT 2
8250static tTestDesc aStrict_Ansi_OnlyTests[] = {
8251 { .type: TT_FUNCTION, .pz_test_text: zStrict_Ansi_OnlyFTst0, .p_test_regex: 0 /* unused */ },
8252 { .type: TT_EGREP, .pz_test_text: zStrict_Ansi_OnlySelect0, .p_test_regex: (regex_t*)NULL }, };
8253
8254/*
8255 * Fix Command Arguments for Strict_Ansi_Only
8256 */
8257static const char* apzStrict_Ansi_OnlyPatch[] = {
8258 "format",
8259 "%1 defined(__STRICT_ANSI__)",
8260 (char*)NULL };
8261
8262/* * * * * * * * * * * * * * * * * * * * * * * * * *
8263 *
8264 * Description of Struct_File fix
8265 */
8266tSCC zStruct_FileName[] =
8267 "struct_file";
8268
8269/*
8270 * File name selection pattern
8271 */
8272tSCC zStruct_FileList[] =
8273 "rpc/xdr.h\0";
8274/*
8275 * Machine/OS name selection pattern
8276 */
8277#define apzStruct_FileMachs (const char**)NULL
8278
8279/*
8280 * content selection pattern - do fix if pattern found
8281 */
8282tSCC zStruct_FileSelect0[] =
8283 "^.*xdrstdio_create.*struct __file_s";
8284
8285#define STRUCT_FILE_TEST_CT 1
8286static tTestDesc aStruct_FileTests[] = {
8287 { .type: TT_EGREP, .pz_test_text: zStruct_FileSelect0, .p_test_regex: (regex_t*)NULL }, };
8288
8289/*
8290 * Fix Command Arguments for Struct_File
8291 */
8292static const char* apzStruct_FilePatch[] = {
8293 "format",
8294 "struct __file_s;\n\
8295%0",
8296 (char*)NULL };
8297
8298/* * * * * * * * * * * * * * * * * * * * * * * * * *
8299 *
8300 * Description of Struct_Sockaddr fix
8301 */
8302tSCC zStruct_SockaddrName[] =
8303 "struct_sockaddr";
8304
8305/*
8306 * File name selection pattern
8307 */
8308tSCC zStruct_SockaddrList[] =
8309 "rpc/auth.h\0";
8310/*
8311 * Machine/OS name selection pattern
8312 */
8313#define apzStruct_SockaddrMachs (const char**)NULL
8314
8315/*
8316 * content selection pattern - do fix if pattern found
8317 */
8318tSCC zStruct_SockaddrSelect0[] =
8319 "^.*authdes_create.*struct sockaddr[^_]";
8320
8321/*
8322 * content bypass pattern - skip fix if pattern found
8323 */
8324tSCC zStruct_SockaddrBypass0[] =
8325 "<sys/socket.h>";
8326tSCC zStruct_SockaddrBypass1[] =
8327 "struct sockaddr;\n";
8328
8329#define STRUCT_SOCKADDR_TEST_CT 3
8330static tTestDesc aStruct_SockaddrTests[] = {
8331 { .type: TT_NEGREP, .pz_test_text: zStruct_SockaddrBypass0, .p_test_regex: (regex_t*)NULL },
8332 { .type: TT_NEGREP, .pz_test_text: zStruct_SockaddrBypass1, .p_test_regex: (regex_t*)NULL },
8333 { .type: TT_EGREP, .pz_test_text: zStruct_SockaddrSelect0, .p_test_regex: (regex_t*)NULL }, };
8334
8335/*
8336 * Fix Command Arguments for Struct_Sockaddr
8337 */
8338static const char* apzStruct_SockaddrPatch[] = {
8339 "format",
8340 "struct sockaddr;\n\
8341%0",
8342 (char*)NULL };
8343
8344/* * * * * * * * * * * * * * * * * * * * * * * * * *
8345 *
8346 * Description of Sun_Auth_Proto fix
8347 */
8348tSCC zSun_Auth_ProtoName[] =
8349 "sun_auth_proto";
8350
8351/*
8352 * File name selection pattern
8353 */
8354tSCC zSun_Auth_ProtoList[] =
8355 "rpc/auth.h\0rpc/clnt.h\0rpc/svc.h\0rpc/xdr.h\0";
8356/*
8357 * Machine/OS name selection pattern
8358 */
8359#define apzSun_Auth_ProtoMachs (const char**)NULL
8360
8361/*
8362 * content selection pattern - do fix if pattern found
8363 */
8364tSCC zSun_Auth_ProtoSelect0[] =
8365 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
8366
8367/*
8368 * content bypass pattern - skip fix if pattern found
8369 */
8370tSCC zSun_Auth_ProtoBypass0[] =
8371 "__cplusplus";
8372
8373#define SUN_AUTH_PROTO_TEST_CT 2
8374static tTestDesc aSun_Auth_ProtoTests[] = {
8375 { .type: TT_NEGREP, .pz_test_text: zSun_Auth_ProtoBypass0, .p_test_regex: (regex_t*)NULL },
8376 { .type: TT_EGREP, .pz_test_text: zSun_Auth_ProtoSelect0, .p_test_regex: (regex_t*)NULL }, };
8377
8378/*
8379 * Fix Command Arguments for Sun_Auth_Proto
8380 */
8381static const char* apzSun_Auth_ProtoPatch[] = {
8382 "format",
8383 "#ifdef __cplusplus\n\
8384%1(...);%2\n\
8385#else\n\
8386%1();%2\n\
8387#endif",
8388 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
8389 (char*)NULL };
8390
8391/* * * * * * * * * * * * * * * * * * * * * * * * * *
8392 *
8393 * Description of Sun_Bogus_Ifdef fix
8394 */
8395tSCC zSun_Bogus_IfdefName[] =
8396 "sun_bogus_ifdef";
8397
8398/*
8399 * File name selection pattern
8400 */
8401tSCC zSun_Bogus_IfdefList[] =
8402 "hsfs/hsfs_spec.h\0hsfs/iso_spec.h\0";
8403/*
8404 * Machine/OS name selection pattern
8405 */
8406#define apzSun_Bogus_IfdefMachs (const char**)NULL
8407
8408/*
8409 * content selection pattern - do fix if pattern found
8410 */
8411tSCC zSun_Bogus_IfdefSelect0[] =
8412 "#ifdef(.*\\|\\|.*)";
8413
8414#define SUN_BOGUS_IFDEF_TEST_CT 1
8415static tTestDesc aSun_Bogus_IfdefTests[] = {
8416 { .type: TT_EGREP, .pz_test_text: zSun_Bogus_IfdefSelect0, .p_test_regex: (regex_t*)NULL }, };
8417
8418/*
8419 * Fix Command Arguments for Sun_Bogus_Ifdef
8420 */
8421static const char* apzSun_Bogus_IfdefPatch[] = {
8422 "format",
8423 "#if%1",
8424 (char*)NULL };
8425
8426/* * * * * * * * * * * * * * * * * * * * * * * * * *
8427 *
8428 * Description of Sun_Catmacro fix
8429 */
8430tSCC zSun_CatmacroName[] =
8431 "sun_catmacro";
8432
8433/*
8434 * File name selection pattern
8435 */
8436tSCC zSun_CatmacroList[] =
8437 "pixrect/memvar.h\0";
8438/*
8439 * Machine/OS name selection pattern
8440 */
8441#define apzSun_CatmacroMachs (const char**)NULL
8442
8443/*
8444 * content selection pattern - do fix if pattern found
8445 */
8446tSCC zSun_CatmacroSelect0[] =
8447 "^#define[ \t]+CAT\\(a,b\\).*";
8448
8449#define SUN_CATMACRO_TEST_CT 1
8450static tTestDesc aSun_CatmacroTests[] = {
8451 { .type: TT_EGREP, .pz_test_text: zSun_CatmacroSelect0, .p_test_regex: (regex_t*)NULL }, };
8452
8453/*
8454 * Fix Command Arguments for Sun_Catmacro
8455 */
8456static const char* apzSun_CatmacroPatch[] = {
8457 "format",
8458 "#ifdef __STDC__\n\
8459# define CAT(a,b) a##b\n\
8460#else\n\
8461%0\n\
8462#endif",
8463 (char*)NULL };
8464
8465/* * * * * * * * * * * * * * * * * * * * * * * * * *
8466 *
8467 * Description of Sun_Malloc fix
8468 */
8469tSCC zSun_MallocName[] =
8470 "sun_malloc";
8471
8472/*
8473 * File name selection pattern
8474 */
8475tSCC zSun_MallocList[] =
8476 "malloc.h\0";
8477/*
8478 * Machine/OS name selection pattern
8479 */
8480#define apzSun_MallocMachs (const char**)NULL
8481
8482/*
8483 * content bypass pattern - skip fix if pattern found
8484 */
8485tSCC zSun_MallocBypass0[] =
8486 "_CLASSIC_ANSI_TYPES";
8487
8488#define SUN_MALLOC_TEST_CT 1
8489static tTestDesc aSun_MallocTests[] = {
8490 { .type: TT_NEGREP, .pz_test_text: zSun_MallocBypass0, .p_test_regex: (regex_t*)NULL }, };
8491
8492/*
8493 * Fix Command Arguments for Sun_Malloc
8494 */
8495static const char* apzSun_MallocPatch[] = { sed_cmd_z,
8496 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
8497 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
8498 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
8499 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
8500 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
8501 (char*)NULL };
8502
8503/* * * * * * * * * * * * * * * * * * * * * * * * * *
8504 *
8505 * Description of Sun_Rusers_Semi fix
8506 */
8507tSCC zSun_Rusers_SemiName[] =
8508 "sun_rusers_semi";
8509
8510/*
8511 * File name selection pattern
8512 */
8513tSCC zSun_Rusers_SemiList[] =
8514 "rpcsvc/rusers.h\0";
8515/*
8516 * Machine/OS name selection pattern
8517 */
8518#define apzSun_Rusers_SemiMachs (const char**)NULL
8519
8520/*
8521 * content selection pattern - do fix if pattern found
8522 */
8523tSCC zSun_Rusers_SemiSelect0[] =
8524 "_cnt$";
8525
8526#define SUN_RUSERS_SEMI_TEST_CT 1
8527static tTestDesc aSun_Rusers_SemiTests[] = {
8528 { .type: TT_EGREP, .pz_test_text: zSun_Rusers_SemiSelect0, .p_test_regex: (regex_t*)NULL }, };
8529
8530/*
8531 * Fix Command Arguments for Sun_Rusers_Semi
8532 */
8533static const char* apzSun_Rusers_SemiPatch[] = { sed_cmd_z,
8534 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
8535 (char*)NULL };
8536
8537/* * * * * * * * * * * * * * * * * * * * * * * * * *
8538 *
8539 * Description of Sun_Signal fix
8540 */
8541tSCC zSun_SignalName[] =
8542 "sun_signal";
8543
8544/*
8545 * File name selection pattern
8546 */
8547tSCC zSun_SignalList[] =
8548 "sys/signal.h\0signal.h\0";
8549/*
8550 * Machine/OS name selection pattern
8551 */
8552#define apzSun_SignalMachs (const char**)NULL
8553
8554/*
8555 * content selection pattern - do fix if pattern found
8556 */
8557tSCC zSun_SignalSelect0[] =
8558 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
8559
8560#define SUN_SIGNAL_TEST_CT 1
8561static tTestDesc aSun_SignalTests[] = {
8562 { .type: TT_EGREP, .pz_test_text: zSun_SignalSelect0, .p_test_regex: (regex_t*)NULL }, };
8563
8564/*
8565 * Fix Command Arguments for Sun_Signal
8566 */
8567static const char* apzSun_SignalPatch[] = {
8568 "format",
8569 "#ifdef __cplusplus\n\
8570void\t(*signal(...))(...);\n\
8571#else\n\
8572%0\n\
8573#endif",
8574 (char*)NULL };
8575
8576/* * * * * * * * * * * * * * * * * * * * * * * * * *
8577 *
8578 * Description of Sunos_Strlen fix
8579 */
8580tSCC zSunos_StrlenName[] =
8581 "sunos_strlen";
8582
8583/*
8584 * File name selection pattern
8585 */
8586tSCC zSunos_StrlenList[] =
8587 "strings.h\0";
8588/*
8589 * Machine/OS name selection pattern
8590 */
8591#define apzSunos_StrlenMachs (const char**)NULL
8592
8593/*
8594 * content selection pattern - do fix if pattern found
8595 */
8596tSCC zSunos_StrlenSelect0[] =
8597 "int[ \t]*strlen\\(\\);(.*)";
8598
8599#define SUNOS_STRLEN_TEST_CT 1
8600static tTestDesc aSunos_StrlenTests[] = {
8601 { .type: TT_EGREP, .pz_test_text: zSunos_StrlenSelect0, .p_test_regex: (regex_t*)NULL }, };
8602
8603/*
8604 * Fix Command Arguments for Sunos_Strlen
8605 */
8606static const char* apzSunos_StrlenPatch[] = {
8607 "format",
8608 "__SIZE_TYPE__ strlen();%1",
8609 (char*)NULL };
8610
8611/* * * * * * * * * * * * * * * * * * * * * * * * * *
8612 *
8613 * Description of Suse_Linux_Vt_Cxx fix
8614 */
8615tSCC zSuse_Linux_Vt_CxxName[] =
8616 "suse_linux_vt_cxx";
8617
8618/*
8619 * File name selection pattern
8620 */
8621tSCC zSuse_Linux_Vt_CxxList[] =
8622 "linux/vt.h\0";
8623/*
8624 * Machine/OS name selection pattern
8625 */
8626#define apzSuse_Linux_Vt_CxxMachs (const char**)NULL
8627
8628/*
8629 * content selection pattern - do fix if pattern found
8630 */
8631tSCC zSuse_Linux_Vt_CxxSelect0[] =
8632 "^[ \t]*unsigned int new;";
8633
8634#define SUSE_LINUX_VT_CXX_TEST_CT 1
8635static tTestDesc aSuse_Linux_Vt_CxxTests[] = {
8636 { .type: TT_EGREP, .pz_test_text: zSuse_Linux_Vt_CxxSelect0, .p_test_regex: (regex_t*)NULL }, };
8637
8638/*
8639 * Fix Command Arguments for Suse_Linux_Vt_Cxx
8640 */
8641static const char* apzSuse_Linux_Vt_CxxPatch[] = {
8642 "format",
8643 "unsigned int newev;",
8644 (char*)NULL };
8645
8646/* * * * * * * * * * * * * * * * * * * * * * * * * *
8647 *
8648 * Description of Svr4_Disable_Opt fix
8649 */
8650tSCC zSvr4_Disable_OptName[] =
8651 "svr4_disable_opt";
8652
8653/*
8654 * File name selection pattern
8655 */
8656tSCC zSvr4_Disable_OptList[] =
8657 "string.h\0";
8658/*
8659 * Machine/OS name selection pattern
8660 */
8661#define apzSvr4_Disable_OptMachs (const char**)NULL
8662
8663/*
8664 * content selection pattern - do fix if pattern found
8665 */
8666tSCC zSvr4_Disable_OptSelect0[] =
8667 "#define.*__std_hdr_";
8668
8669#define SVR4_DISABLE_OPT_TEST_CT 1
8670static tTestDesc aSvr4_Disable_OptTests[] = {
8671 { .type: TT_EGREP, .pz_test_text: zSvr4_Disable_OptSelect0, .p_test_regex: (regex_t*)NULL }, };
8672
8673/*
8674 * Fix Command Arguments for Svr4_Disable_Opt
8675 */
8676static const char* apzSvr4_Disable_OptPatch[] = { sed_cmd_z,
8677 "-e", "/#define.*__std_hdr_/d",
8678 (char*)NULL };
8679
8680/* * * * * * * * * * * * * * * * * * * * * * * * * *
8681 *
8682 * Description of Svr4_Getcwd fix
8683 */
8684tSCC zSvr4_GetcwdName[] =
8685 "svr4_getcwd";
8686
8687/*
8688 * File name selection pattern
8689 */
8690tSCC zSvr4_GetcwdList[] =
8691 "stdlib.h\0unistd.h\0prototypes.h\0";
8692/*
8693 * Machine/OS name selection pattern
8694 */
8695#define apzSvr4_GetcwdMachs (const char**)NULL
8696
8697/*
8698 * content selection pattern - do fix if pattern found
8699 */
8700tSCC zSvr4_GetcwdSelect0[] =
8701 "getcwd\\(char \\*, int\\)";
8702
8703#define SVR4_GETCWD_TEST_CT 1
8704static tTestDesc aSvr4_GetcwdTests[] = {
8705 { .type: TT_EGREP, .pz_test_text: zSvr4_GetcwdSelect0, .p_test_regex: (regex_t*)NULL }, };
8706
8707/*
8708 * Fix Command Arguments for Svr4_Getcwd
8709 */
8710static const char* apzSvr4_GetcwdPatch[] = {
8711 "format",
8712 "getcwd(char *, size_t)",
8713 (char*)NULL };
8714
8715/* * * * * * * * * * * * * * * * * * * * * * * * * *
8716 *
8717 * Description of Svr4_Profil fix
8718 */
8719tSCC zSvr4_ProfilName[] =
8720 "svr4_profil";
8721
8722/*
8723 * File name selection pattern
8724 */
8725tSCC zSvr4_ProfilList[] =
8726 "stdlib.h\0unistd.h\0";
8727/*
8728 * Machine/OS name selection pattern
8729 */
8730#define apzSvr4_ProfilMachs (const char**)NULL
8731
8732/*
8733 * content selection pattern - do fix if pattern found
8734 */
8735tSCC zSvr4_ProfilSelect0[] =
8736 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
8737
8738#define SVR4_PROFIL_TEST_CT 1
8739static tTestDesc aSvr4_ProfilTests[] = {
8740 { .type: TT_EGREP, .pz_test_text: zSvr4_ProfilSelect0, .p_test_regex: (regex_t*)NULL }, };
8741
8742/*
8743 * Fix Command Arguments for Svr4_Profil
8744 */
8745static const char* apzSvr4_ProfilPatch[] = {
8746 "format",
8747 "profil(unsigned short *, size_t, int, unsigned int)",
8748 (char*)NULL };
8749
8750/* * * * * * * * * * * * * * * * * * * * * * * * * *
8751 *
8752 * Description of Svr4_Sighandler_Type fix
8753 */
8754tSCC zSvr4_Sighandler_TypeName[] =
8755 "svr4_sighandler_type";
8756
8757/*
8758 * File name selection pattern
8759 */
8760tSCC zSvr4_Sighandler_TypeList[] =
8761 "sys/signal.h\0";
8762/*
8763 * Machine/OS name selection pattern
8764 */
8765#define apzSvr4_Sighandler_TypeMachs (const char**)NULL
8766
8767/*
8768 * content selection pattern - do fix if pattern found
8769 */
8770tSCC zSvr4_Sighandler_TypeSelect0[] =
8771 "void *\\(\\*\\)\\(\\)";
8772
8773#define SVR4_SIGHANDLER_TYPE_TEST_CT 1
8774static tTestDesc aSvr4_Sighandler_TypeTests[] = {
8775 { .type: TT_EGREP, .pz_test_text: zSvr4_Sighandler_TypeSelect0, .p_test_regex: (regex_t*)NULL }, };
8776
8777/*
8778 * Fix Command Arguments for Svr4_Sighandler_Type
8779 */
8780static const char* apzSvr4_Sighandler_TypePatch[] = {
8781 "format",
8782 "void (*)(int)",
8783 (char*)NULL };
8784
8785/* * * * * * * * * * * * * * * * * * * * * * * * * *
8786 *
8787 * Description of Svr4_Undeclared_Getrnge fix
8788 */
8789tSCC zSvr4_Undeclared_GetrngeName[] =
8790 "svr4_undeclared_getrnge";
8791
8792/*
8793 * File name selection pattern
8794 */
8795tSCC zSvr4_Undeclared_GetrngeList[] =
8796 "regexp.h\0";
8797/*
8798 * Machine/OS name selection pattern
8799 */
8800#define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
8801
8802/*
8803 * content selection pattern - do fix if pattern found
8804 */
8805tSCC zSvr4_Undeclared_GetrngeSelect0[] =
8806 "getrnge";
8807
8808/*
8809 * content bypass pattern - skip fix if pattern found
8810 */
8811tSCC zSvr4_Undeclared_GetrngeBypass0[] =
8812 "static void getrnge";
8813
8814#define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
8815static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
8816 { .type: TT_NEGREP, .pz_test_text: zSvr4_Undeclared_GetrngeBypass0, .p_test_regex: (regex_t*)NULL },
8817 { .type: TT_EGREP, .pz_test_text: zSvr4_Undeclared_GetrngeSelect0, .p_test_regex: (regex_t*)NULL }, };
8818
8819/*
8820 * Fix Command Arguments for Svr4_Undeclared_Getrnge
8821 */
8822static const char* apzSvr4_Undeclared_GetrngePatch[] = {
8823 "format",
8824 "%0\n\
8825static int getrnge ();",
8826 "^static int[ \t]+size;",
8827 (char*)NULL };
8828
8829/* * * * * * * * * * * * * * * * * * * * * * * * * *
8830 *
8831 * Description of Sysv68_String fix
8832 */
8833tSCC zSysv68_StringName[] =
8834 "sysv68_string";
8835
8836/*
8837 * File name selection pattern
8838 */
8839tSCC zSysv68_StringList[] =
8840 "testing.h\0string.h\0";
8841/*
8842 * Machine/OS name selection pattern
8843 */
8844#define apzSysv68_StringMachs (const char**)NULL
8845
8846/*
8847 * content bypass pattern - skip fix if pattern found
8848 */
8849tSCC zSysv68_StringBypass0[] =
8850 "_CLASSIC_ANSI_TYPES";
8851
8852#define SYSV68_STRING_TEST_CT 1
8853static tTestDesc aSysv68_StringTests[] = {
8854 { .type: TT_NEGREP, .pz_test_text: zSysv68_StringBypass0, .p_test_regex: (regex_t*)NULL }, };
8855
8856/*
8857 * Fix Command Arguments for Sysv68_String
8858 */
8859static const char* apzSysv68_StringPatch[] = { sed_cmd_z,
8860 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
8861 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
8862 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
8863 "-e", "/^extern char$/N",
8864 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
8865 "-e", "/^extern int$/N",
8866 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
8867 "-e", "/^\tstrncmp(),$/N",
8868 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
8869extern unsigned int\\\n\
8870\\2/",
8871 (char*)NULL };
8872
8873/* * * * * * * * * * * * * * * * * * * * * * * * * *
8874 *
8875 * Description of Sysz_Stdlib_For_Sun fix
8876 */
8877tSCC zSysz_Stdlib_For_SunName[] =
8878 "sysz_stdlib_for_sun";
8879
8880/*
8881 * File name selection pattern
8882 */
8883tSCC zSysz_Stdlib_For_SunList[] =
8884 "stdlib.h\0";
8885/*
8886 * Machine/OS name selection pattern
8887 */
8888#define apzSysz_Stdlib_For_SunMachs (const char**)NULL
8889
8890/*
8891 * content selection pattern - do fix if pattern found
8892 */
8893tSCC zSysz_Stdlib_For_SunSelect0[] =
8894 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
8895
8896/*
8897 * content bypass pattern - skip fix if pattern found
8898 */
8899tSCC zSysz_Stdlib_For_SunBypass0[] =
8900 "_CLASSIC_ANSI_TYPES";
8901
8902#define SYSZ_STDLIB_FOR_SUN_TEST_CT 2
8903static tTestDesc aSysz_Stdlib_For_SunTests[] = {
8904 { .type: TT_NEGREP, .pz_test_text: zSysz_Stdlib_For_SunBypass0, .p_test_regex: (regex_t*)NULL },
8905 { .type: TT_EGREP, .pz_test_text: zSysz_Stdlib_For_SunSelect0, .p_test_regex: (regex_t*)NULL }, };
8906
8907/*
8908 * Fix Command Arguments for Sysz_Stdlib_For_Sun
8909 */
8910static const char* apzSysz_Stdlib_For_SunPatch[] = {
8911 "format",
8912 "void *\t%1(",
8913 (char*)NULL };
8914
8915/* * * * * * * * * * * * * * * * * * * * * * * * * *
8916 *
8917 * Description of Thread_Keyword fix
8918 */
8919tSCC zThread_KeywordName[] =
8920 "thread_keyword";
8921
8922/*
8923 * File name selection pattern
8924 */
8925tSCC zThread_KeywordList[] =
8926 "pthread.h\0bits/sigthread.h\0*/bits/sigthread.h\0";
8927/*
8928 * Machine/OS name selection pattern
8929 */
8930#define apzThread_KeywordMachs (const char**)NULL
8931
8932/*
8933 * content selection pattern - do fix if pattern found
8934 */
8935tSCC zThread_KeywordSelect0[] =
8936 "([* ])__thread([,)])";
8937
8938#define THREAD_KEYWORD_TEST_CT 1
8939static tTestDesc aThread_KeywordTests[] = {
8940 { .type: TT_EGREP, .pz_test_text: zThread_KeywordSelect0, .p_test_regex: (regex_t*)NULL }, };
8941
8942/*
8943 * Fix Command Arguments for Thread_Keyword
8944 */
8945static const char* apzThread_KeywordPatch[] = {
8946 "format",
8947 "%1__thr%2",
8948 (char*)NULL };
8949
8950/* * * * * * * * * * * * * * * * * * * * * * * * * *
8951 *
8952 * Description of Tinfo_Cplusplus fix
8953 */
8954tSCC zTinfo_CplusplusName[] =
8955 "tinfo_cplusplus";
8956
8957/*
8958 * File name selection pattern
8959 */
8960tSCC zTinfo_CplusplusList[] =
8961 "tinfo.h\0";
8962/*
8963 * Machine/OS name selection pattern
8964 */
8965#define apzTinfo_CplusplusMachs (const char**)NULL
8966
8967/*
8968 * content selection pattern - do fix if pattern found
8969 */
8970tSCC zTinfo_CplusplusSelect0[] =
8971 "[ \t]_cplusplus";
8972
8973#define TINFO_CPLUSPLUS_TEST_CT 1
8974static tTestDesc aTinfo_CplusplusTests[] = {
8975 { .type: TT_EGREP, .pz_test_text: zTinfo_CplusplusSelect0, .p_test_regex: (regex_t*)NULL }, };
8976
8977/*
8978 * Fix Command Arguments for Tinfo_Cplusplus
8979 */
8980static const char* apzTinfo_CplusplusPatch[] = {
8981 "format",
8982 " __cplusplus",
8983 (char*)NULL };
8984
8985/* * * * * * * * * * * * * * * * * * * * * * * * * *
8986 *
8987 * Description of Ultrix_Const fix
8988 */
8989tSCC zUltrix_ConstName[] =
8990 "ultrix_const";
8991
8992/*
8993 * File name selection pattern
8994 */
8995tSCC zUltrix_ConstList[] =
8996 "stdio.h\0";
8997/*
8998 * Machine/OS name selection pattern
8999 */
9000#define apzUltrix_ConstMachs (const char**)NULL
9001
9002/*
9003 * content selection pattern - do fix if pattern found
9004 */
9005tSCC zUltrix_ConstSelect0[] =
9006 "perror\\( char \\*";
9007
9008#define ULTRIX_CONST_TEST_CT 1
9009static tTestDesc aUltrix_ConstTests[] = {
9010 { .type: TT_EGREP, .pz_test_text: zUltrix_ConstSelect0, .p_test_regex: (regex_t*)NULL }, };
9011
9012/*
9013 * Fix Command Arguments for Ultrix_Const
9014 */
9015static const char* apzUltrix_ConstPatch[] = {
9016 "format",
9017 "%1 const %3 *__",
9018 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
9019 (char*)NULL };
9020
9021/* * * * * * * * * * * * * * * * * * * * * * * * * *
9022 *
9023 * Description of Ultrix_Const2 fix
9024 */
9025tSCC zUltrix_Const2Name[] =
9026 "ultrix_const2";
9027
9028/*
9029 * File name selection pattern
9030 */
9031tSCC zUltrix_Const2List[] =
9032 "stdio.h\0";
9033/*
9034 * Machine/OS name selection pattern
9035 */
9036#define apzUltrix_Const2Machs (const char**)NULL
9037
9038/*
9039 * content selection pattern - do fix if pattern found
9040 */
9041tSCC zUltrix_Const2Select0[] =
9042 "\\*fopen\\( char \\*";
9043
9044#define ULTRIX_CONST2_TEST_CT 1
9045static tTestDesc aUltrix_Const2Tests[] = {
9046 { .type: TT_EGREP, .pz_test_text: zUltrix_Const2Select0, .p_test_regex: (regex_t*)NULL }, };
9047
9048/*
9049 * Fix Command Arguments for Ultrix_Const2
9050 */
9051static const char* apzUltrix_Const2Patch[] = {
9052 "format",
9053 "%1( const char *%3, const char *",
9054 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
9055 (char*)NULL };
9056
9057/* * * * * * * * * * * * * * * * * * * * * * * * * *
9058 *
9059 * Description of Va_I960_Macro fix
9060 */
9061tSCC zVa_I960_MacroName[] =
9062 "va_i960_macro";
9063
9064/*
9065 * File name selection pattern
9066 */
9067tSCC zVa_I960_MacroList[] =
9068 "arch/i960/archI960.h\0";
9069/*
9070 * Machine/OS name selection pattern
9071 */
9072#define apzVa_I960_MacroMachs (const char**)NULL
9073
9074/*
9075 * content selection pattern - do fix if pattern found
9076 */
9077tSCC zVa_I960_MacroSelect0[] =
9078 "__(vsiz|vali|vpad|alignof__)";
9079
9080#define VA_I960_MACRO_TEST_CT 1
9081static tTestDesc aVa_I960_MacroTests[] = {
9082 { .type: TT_EGREP, .pz_test_text: zVa_I960_MacroSelect0, .p_test_regex: (regex_t*)NULL }, };
9083
9084/*
9085 * Fix Command Arguments for Va_I960_Macro
9086 */
9087static const char* apzVa_I960_MacroPatch[] = {
9088 "format",
9089 "__vx%1",
9090 (char*)NULL };
9091
9092/* * * * * * * * * * * * * * * * * * * * * * * * * *
9093 *
9094 * Description of Vms_Add_Missing_Braces fix
9095 */
9096tSCC zVms_Add_Missing_BracesName[] =
9097 "vms_add_missing_braces";
9098
9099/*
9100 * File name selection pattern
9101 */
9102tSCC zVms_Add_Missing_BracesList[] =
9103 "rtldef/signal.h\0";
9104/*
9105 * Machine/OS name selection pattern
9106 */
9107tSCC* apzVms_Add_Missing_BracesMachs[] = {
9108 "*-*-*vms*",
9109 (const char*)NULL };
9110
9111/*
9112 * content selection pattern - do fix if pattern found
9113 */
9114tSCC zVms_Add_Missing_BracesSelect0[] =
9115 "(_SIG_[A-Z]+_SET[ \t]+= \\{)(0x[0F]+, 0x[0F]+)";
9116
9117#define VMS_ADD_MISSING_BRACES_TEST_CT 1
9118static tTestDesc aVms_Add_Missing_BracesTests[] = {
9119 { .type: TT_EGREP, .pz_test_text: zVms_Add_Missing_BracesSelect0, .p_test_regex: (regex_t*)NULL }, };
9120
9121/*
9122 * Fix Command Arguments for Vms_Add_Missing_Braces
9123 */
9124static const char* apzVms_Add_Missing_BracesPatch[] = {
9125 "format",
9126 "%1 {%2} ",
9127 (char*)NULL };
9128
9129/* * * * * * * * * * * * * * * * * * * * * * * * * *
9130 *
9131 * Description of Vms_Decc_Builtin fix
9132 */
9133tSCC zVms_Decc_BuiltinName[] =
9134 "vms_decc_builtin";
9135
9136/*
9137 * File name selection pattern
9138 */
9139tSCC zVms_Decc_BuiltinList[] =
9140 "rtldef/string.h\0rtldef/time.h\0rtldef/strings.h\0rtldef/socket.h\0";
9141/*
9142 * Machine/OS name selection pattern
9143 */
9144tSCC* apzVms_Decc_BuiltinMachs[] = {
9145 "*-*-*vms*",
9146 (const char*)NULL };
9147
9148/*
9149 * content selection pattern - do fix if pattern found
9150 */
9151tSCC zVms_Decc_BuiltinSelect0[] =
9152 "(__MEMSET|__MEMMOVE|__MEMCPY|__STRLEN|__STRCPY)";
9153
9154#define VMS_DECC_BUILTIN_TEST_CT 1
9155static tTestDesc aVms_Decc_BuiltinTests[] = {
9156 { .type: TT_EGREP, .pz_test_text: zVms_Decc_BuiltinSelect0, .p_test_regex: (regex_t*)NULL }, };
9157
9158/*
9159 * Fix Command Arguments for Vms_Decc_Builtin
9160 */
9161static const char* apzVms_Decc_BuiltinPatch[] = { sed_cmd_z,
9162 "-e", "s@__MEMSET@memset@",
9163 "-e", "s@__MEMMOVE@memmove@",
9164 "-e", "s@__MEMCPY@memcpy@",
9165 "-e", "s@__STRLEN@strlen@",
9166 "-e", "s@__STRCPY@strcpy@",
9167 (char*)NULL };
9168
9169/* * * * * * * * * * * * * * * * * * * * * * * * * *
9170 *
9171 * Description of Vms_Define_Can_Use_Extern_Prefix fix
9172 */
9173tSCC zVms_Define_Can_Use_Extern_PrefixName[] =
9174 "vms_define_can_use_extern_prefix";
9175
9176/*
9177 * File name selection pattern
9178 */
9179tSCC zVms_Define_Can_Use_Extern_PrefixList[] =
9180 "rtldef/decc$types.h\0";
9181/*
9182 * Machine/OS name selection pattern
9183 */
9184tSCC* apzVms_Define_Can_Use_Extern_PrefixMachs[] = {
9185 "*-*-*vms*",
9186 (const char*)NULL };
9187
9188/*
9189 * content selection pattern - do fix if pattern found
9190 */
9191tSCC zVms_Define_Can_Use_Extern_PrefixSelect0[] =
9192 "#[ \t]*else\n\
9193#[ \t]*if defined\\(__DECCXX\\)\n\
9194#[ \t]*define __CAN_USE_EXTERN_PREFIX 1\n";
9195
9196#define VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT 1
9197static tTestDesc aVms_Define_Can_Use_Extern_PrefixTests[] = {
9198 { .type: TT_EGREP, .pz_test_text: zVms_Define_Can_Use_Extern_PrefixSelect0, .p_test_regex: (regex_t*)NULL }, };
9199
9200/*
9201 * Fix Command Arguments for Vms_Define_Can_Use_Extern_Prefix
9202 */
9203static const char* apzVms_Define_Can_Use_Extern_PrefixPatch[] = {
9204 "format",
9205 "%0# elif defined (__GNUC__)\n\
9206#\tdefine __CAN_USE_EXTERN_PREFIX 1\n",
9207 (char*)NULL };
9208
9209/* * * * * * * * * * * * * * * * * * * * * * * * * *
9210 *
9211 * Description of Vms_Disable_Decc_String_Builtins fix
9212 */
9213tSCC zVms_Disable_Decc_String_BuiltinsName[] =
9214 "vms_disable_decc_string_builtins";
9215
9216/*
9217 * File name selection pattern
9218 */
9219tSCC zVms_Disable_Decc_String_BuiltinsList[] =
9220 "rtldef/string.h\0";
9221/*
9222 * Machine/OS name selection pattern
9223 */
9224tSCC* apzVms_Disable_Decc_String_BuiltinsMachs[] = {
9225 "*-*-*vms*",
9226 (const char*)NULL };
9227
9228/*
9229 * content selection pattern - do fix if pattern found
9230 */
9231tSCC zVms_Disable_Decc_String_BuiltinsSelect0[] =
9232 "#if !defined\\(__VAX\\)\n";
9233
9234#define VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT 1
9235static tTestDesc aVms_Disable_Decc_String_BuiltinsTests[] = {
9236 { .type: TT_EGREP, .pz_test_text: zVms_Disable_Decc_String_BuiltinsSelect0, .p_test_regex: (regex_t*)NULL }, };
9237
9238/*
9239 * Fix Command Arguments for Vms_Disable_Decc_String_Builtins
9240 */
9241static const char* apzVms_Disable_Decc_String_BuiltinsPatch[] = {
9242 "format",
9243 "#if !defined(__VAX) && !defined(__GNUC__)\n",
9244 (char*)NULL };
9245
9246/* * * * * * * * * * * * * * * * * * * * * * * * * *
9247 *
9248 * Description of Vms_Do_Not_Redeclare_Hostalias fix
9249 */
9250tSCC zVms_Do_Not_Redeclare_HostaliasName[] =
9251 "vms_do_not_redeclare_hostalias";
9252
9253/*
9254 * File name selection pattern
9255 */
9256tSCC zVms_Do_Not_Redeclare_HostaliasList[] =
9257 "rtldef/resolv.h\0";
9258/*
9259 * Machine/OS name selection pattern
9260 */
9261tSCC* apzVms_Do_Not_Redeclare_HostaliasMachs[] = {
9262 "*-*-*vms*",
9263 (const char*)NULL };
9264
9265/*
9266 * content selection pattern - do fix if pattern found
9267 */
9268tSCC zVms_Do_Not_Redeclare_HostaliasSelect0[] =
9269 "(void[ \t]+fp_nquery \\(const u_char \\*, int, FILE \\*\\);)\n\
9270(__char_ptr32[ \t]+hostalias \\(const char \\*\\);)";
9271
9272#define VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT 1
9273static tTestDesc aVms_Do_Not_Redeclare_HostaliasTests[] = {
9274 { .type: TT_EGREP, .pz_test_text: zVms_Do_Not_Redeclare_HostaliasSelect0, .p_test_regex: (regex_t*)NULL }, };
9275
9276/*
9277 * Fix Command Arguments for Vms_Do_Not_Redeclare_Hostalias
9278 */
9279static const char* apzVms_Do_Not_Redeclare_HostaliasPatch[] = {
9280 "format",
9281 "%1\n\
9282/* %2 */",
9283 (char*)NULL };
9284
9285/* * * * * * * * * * * * * * * * * * * * * * * * * *
9286 *
9287 * Description of Vms_Forward_Declare_Struct fix
9288 */
9289tSCC zVms_Forward_Declare_StructName[] =
9290 "vms_forward_declare_struct";
9291
9292/*
9293 * File name selection pattern
9294 */
9295tSCC zVms_Forward_Declare_StructList[] =
9296 "rtldef/if.h\0";
9297/*
9298 * Machine/OS name selection pattern
9299 */
9300tSCC* apzVms_Forward_Declare_StructMachs[] = {
9301 "*-*-*vms*",
9302 (const char*)NULL };
9303
9304/*
9305 * content selection pattern - do fix if pattern found
9306 */
9307tSCC zVms_Forward_Declare_StructSelect0[] =
9308 "(/\\* forward decls for C\\+\\+ \\*/\n\
9309)#ifdef __cplusplus\n";
9310
9311#define VMS_FORWARD_DECLARE_STRUCT_TEST_CT 1
9312static tTestDesc aVms_Forward_Declare_StructTests[] = {
9313 { .type: TT_EGREP, .pz_test_text: zVms_Forward_Declare_StructSelect0, .p_test_regex: (regex_t*)NULL }, };
9314
9315/*
9316 * Fix Command Arguments for Vms_Forward_Declare_Struct
9317 */
9318static const char* apzVms_Forward_Declare_StructPatch[] = {
9319 "format",
9320 "%1#if defined (__cplusplus) || defined (__GNUC__)\n",
9321 (char*)NULL };
9322
9323/* * * * * * * * * * * * * * * * * * * * * * * * * *
9324 *
9325 * Description of Vms_No_64bit_Getopt fix
9326 */
9327tSCC zVms_No_64bit_GetoptName[] =
9328 "vms_no_64bit_getopt";
9329
9330/*
9331 * File name selection pattern
9332 */
9333tSCC zVms_No_64bit_GetoptList[] =
9334 "rtldef/stdio.h\0rtldef/unistd.h\0";
9335/*
9336 * Machine/OS name selection pattern
9337 */
9338tSCC* apzVms_No_64bit_GetoptMachs[] = {
9339 "*-*-*vms*",
9340 (const char*)NULL };
9341
9342/*
9343 * content selection pattern - do fix if pattern found
9344 */
9345tSCC zVms_No_64bit_GetoptSelect0[] =
9346 "^[ \t]*(extern[ \t]*)?(int[ \t]*(getopt|optind|opterr|optopt)|(char \\*optarg))([ \t]*\\(.*\\))?;\n";
9347
9348#define VMS_NO_64BIT_GETOPT_TEST_CT 1
9349static tTestDesc aVms_No_64bit_GetoptTests[] = {
9350 { .type: TT_EGREP, .pz_test_text: zVms_No_64bit_GetoptSelect0, .p_test_regex: (regex_t*)NULL }, };
9351
9352/*
9353 * Fix Command Arguments for Vms_No_64bit_Getopt
9354 */
9355static const char* apzVms_No_64bit_GetoptPatch[] = {
9356 "format",
9357 "#if __INITIAL_POINTER_SIZE != 64 /* getopt is short ptr only. */\n\
9358%0#endif\n",
9359 (char*)NULL };
9360
9361/* * * * * * * * * * * * * * * * * * * * * * * * * *
9362 *
9363 * Description of Vms_Use_Fast_Setjmp fix
9364 */
9365tSCC zVms_Use_Fast_SetjmpName[] =
9366 "vms_use_fast_setjmp";
9367
9368/*
9369 * File name selection pattern
9370 */
9371tSCC zVms_Use_Fast_SetjmpList[] =
9372 "rtldef/setjmp.h\0";
9373/*
9374 * Machine/OS name selection pattern
9375 */
9376tSCC* apzVms_Use_Fast_SetjmpMachs[] = {
9377 "*-*-*vms*",
9378 (const char*)NULL };
9379
9380/*
9381 * content selection pattern - do fix if pattern found
9382 */
9383tSCC zVms_Use_Fast_SetjmpSelect0[] =
9384 "(#[ \t]*if[ \t]*defined\\(__FAST_SETJMP\\)[ \t]*\\|\\|)";
9385
9386#define VMS_USE_FAST_SETJMP_TEST_CT 1
9387static tTestDesc aVms_Use_Fast_SetjmpTests[] = {
9388 { .type: TT_EGREP, .pz_test_text: zVms_Use_Fast_SetjmpSelect0, .p_test_regex: (regex_t*)NULL }, };
9389
9390/*
9391 * Fix Command Arguments for Vms_Use_Fast_Setjmp
9392 */
9393static const char* apzVms_Use_Fast_SetjmpPatch[] = {
9394 "format",
9395 "%0 defined (__GNUC__) ||",
9396 (char*)NULL };
9397
9398/* * * * * * * * * * * * * * * * * * * * * * * * * *
9399 *
9400 * Description of Vms_Use_Pragma_Extern_Model fix
9401 */
9402tSCC zVms_Use_Pragma_Extern_ModelName[] =
9403 "vms_use_pragma_extern_model";
9404
9405/*
9406 * File name selection pattern
9407 */
9408#define zVms_Use_Pragma_Extern_ModelList (char*)NULL
9409/*
9410 * Machine/OS name selection pattern
9411 */
9412tSCC* apzVms_Use_Pragma_Extern_ModelMachs[] = {
9413 "*-*-*vms*",
9414 (const char*)NULL };
9415
9416/*
9417 * content selection pattern - do fix if pattern found
9418 */
9419tSCC zVms_Use_Pragma_Extern_ModelSelect0[] =
9420 "#if defined\\(__DECC\\) \\|\\| defined\\(__DECCXX\\)\n\
9421# pragma extern_model __save\n";
9422
9423#define VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT 1
9424static tTestDesc aVms_Use_Pragma_Extern_ModelTests[] = {
9425 { .type: TT_EGREP, .pz_test_text: zVms_Use_Pragma_Extern_ModelSelect0, .p_test_regex: (regex_t*)NULL }, };
9426
9427/*
9428 * Fix Command Arguments for Vms_Use_Pragma_Extern_Model
9429 */
9430static const char* apzVms_Use_Pragma_Extern_ModelPatch[] = {
9431 "format",
9432 "#if defined(__DECC) || defined(__DECCXX) || defined(__GNUC__)\n\
9433# pragma extern_model __save\n",
9434 (char*)NULL };
9435
9436/* * * * * * * * * * * * * * * * * * * * * * * * * *
9437 *
9438 * Description of Vms_Use_Quoted_Include fix
9439 */
9440tSCC zVms_Use_Quoted_IncludeName[] =
9441 "vms_use_quoted_include";
9442
9443/*
9444 * File name selection pattern
9445 */
9446tSCC zVms_Use_Quoted_IncludeList[] =
9447 "rtldef/wait.h\0starlet_c/pthread.h\0";
9448/*
9449 * Machine/OS name selection pattern
9450 */
9451tSCC* apzVms_Use_Quoted_IncludeMachs[] = {
9452 "*-*-*vms*",
9453 (const char*)NULL };
9454
9455/*
9456 * content selection pattern - do fix if pattern found
9457 */
9458tSCC zVms_Use_Quoted_IncludeSelect0[] =
9459 "(#[ \t]*include[ \t]+)<(resource|builtins)\\.h>";
9460
9461#define VMS_USE_QUOTED_INCLUDE_TEST_CT 1
9462static tTestDesc aVms_Use_Quoted_IncludeTests[] = {
9463 { .type: TT_EGREP, .pz_test_text: zVms_Use_Quoted_IncludeSelect0, .p_test_regex: (regex_t*)NULL }, };
9464
9465/*
9466 * Fix Command Arguments for Vms_Use_Quoted_Include
9467 */
9468static const char* apzVms_Use_Quoted_IncludePatch[] = {
9469 "format",
9470 "%1<sys/%2.h>",
9471 (char*)NULL };
9472
9473/* * * * * * * * * * * * * * * * * * * * * * * * * *
9474 *
9475 * Description of Void_Null fix
9476 */
9477tSCC zVoid_NullName[] =
9478 "void_null";
9479
9480/*
9481 * File name selection pattern
9482 */
9483tSCC zVoid_NullList[] =
9484 "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";
9485/*
9486 * Machine/OS name selection pattern
9487 */
9488#define apzVoid_NullMachs (const char**)NULL
9489
9490/*
9491 * content selection pattern - do fix if pattern found
9492 */
9493tSCC zVoid_NullSelect0[] =
9494 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
9495
9496/*
9497 * content bypass pattern - skip fix if pattern found
9498 */
9499tSCC zVoid_NullBypass0[] =
9500 "__cplusplus";
9501tSCC zVoid_NullBypass1[] =
9502 "__null";
9503
9504#define VOID_NULL_TEST_CT 3
9505static tTestDesc aVoid_NullTests[] = {
9506 { .type: TT_NEGREP, .pz_test_text: zVoid_NullBypass0, .p_test_regex: (regex_t*)NULL },
9507 { .type: TT_NEGREP, .pz_test_text: zVoid_NullBypass1, .p_test_regex: (regex_t*)NULL },
9508 { .type: TT_EGREP, .pz_test_text: zVoid_NullSelect0, .p_test_regex: (regex_t*)NULL }, };
9509
9510/*
9511 * Fix Command Arguments for Void_Null
9512 */
9513static const char* apzVoid_NullPatch[] = {
9514 "format",
9515 "#ifndef NULL\n\
9516#ifdef __cplusplus\n\
9517#ifdef __GNUG__\n\
9518#define NULL __null\n\
9519#else /* ! __GNUG__ */\n\
9520#define NULL 0L\n\
9521#endif /* __GNUG__ */\n\
9522#else /* ! __cplusplus */\n\
9523#define NULL ((void *)0)\n\
9524#endif /* __cplusplus */\n\
9525#endif /* !NULL */",
9526 (char*)NULL };
9527
9528/* * * * * * * * * * * * * * * * * * * * * * * * * *
9529 *
9530 * Description of Vxworks_Gcc_Problem fix
9531 */
9532tSCC zVxworks_Gcc_ProblemName[] =
9533 "vxworks_gcc_problem";
9534
9535/*
9536 * File name selection pattern
9537 */
9538tSCC zVxworks_Gcc_ProblemList[] =
9539 "types/vxTypesBase.h\0";
9540/*
9541 * Machine/OS name selection pattern
9542 */
9543#define apzVxworks_Gcc_ProblemMachs (const char**)NULL
9544
9545/*
9546 * content selection pattern - do fix if pattern found
9547 */
9548tSCC zVxworks_Gcc_ProblemSelect0[] =
9549 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
9550
9551#define VXWORKS_GCC_PROBLEM_TEST_CT 1
9552static tTestDesc aVxworks_Gcc_ProblemTests[] = {
9553 { .type: TT_EGREP, .pz_test_text: zVxworks_Gcc_ProblemSelect0, .p_test_regex: (regex_t*)NULL }, };
9554
9555/*
9556 * Fix Command Arguments for Vxworks_Gcc_Problem
9557 */
9558static const char* apzVxworks_Gcc_ProblemPatch[] = { sed_cmd_z,
9559 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
9560 "-e", "/[ \t]size_t/i\\\n\
9561#ifndef _GCC_SIZE_T\\\n\
9562#define _GCC_SIZE_T\n",
9563 "-e", "/[ \t]size_t/a\\\n\
9564#endif\n",
9565 "-e", "/[ \t]ptrdiff_t/i\\\n\
9566#ifndef _GCC_PTRDIFF_T\\\n\
9567#define _GCC_PTRDIFF_T\n",
9568 "-e", "/[ \t]ptrdiff_t/a\\\n\
9569#endif\n",
9570 "-e", "/[ \t]wchar_t/i\\\n\
9571#ifndef _GCC_WCHAR_T\\\n\
9572#define _GCC_WCHAR_T\n",
9573 "-e", "/[ \t]wchar_t/a\\\n\
9574#endif\n",
9575 (char*)NULL };
9576
9577/* * * * * * * * * * * * * * * * * * * * * * * * * *
9578 *
9579 * Description of Vxworks_Ioctl_Macro fix
9580 */
9581tSCC zVxworks_Ioctl_MacroName[] =
9582 "vxworks_ioctl_macro";
9583
9584/*
9585 * File name selection pattern
9586 */
9587tSCC zVxworks_Ioctl_MacroList[] =
9588 "ioLib.h\0";
9589/*
9590 * Machine/OS name selection pattern
9591 */
9592tSCC* apzVxworks_Ioctl_MacroMachs[] = {
9593 "*-*-vxworks*",
9594 (const char*)NULL };
9595#define VXWORKS_IOCTL_MACRO_TEST_CT 0
9596#define aVxworks_Ioctl_MacroTests (tTestDesc*)NULL
9597
9598/*
9599 * Fix Command Arguments for Vxworks_Ioctl_Macro
9600 */
9601static const char* apzVxworks_Ioctl_MacroPatch[] = {
9602 "format",
9603 "%0\n\
9604#define ioctl(fd, func, arg) ioctl(fd, func, (int)(arg))\n",
9605 "extern[\t ]+int[\t ]+ioctl[\t ]*\\([\t ,[:alnum:]]*\\);",
9606 (char*)NULL };
9607
9608/* * * * * * * * * * * * * * * * * * * * * * * * * *
9609 *
9610 * Description of Vxworks_Math_H_Fp_C99 fix
9611 */
9612tSCC zVxworks_Math_H_Fp_C99Name[] =
9613 "vxworks_math_h_fp_c99";
9614
9615/*
9616 * File name selection pattern
9617 */
9618tSCC zVxworks_Math_H_Fp_C99List[] =
9619 "math.h\0";
9620/*
9621 * Machine/OS name selection pattern
9622 */
9623tSCC* apzVxworks_Math_H_Fp_C99Machs[] = {
9624 "*-*-vxworks*",
9625 (const char*)NULL };
9626
9627/*
9628 * content selection pattern - do fix if pattern found
9629 */
9630tSCC zVxworks_Math_H_Fp_C99Select0[] =
9631 "#define HUGE_VAL[ \t]*_ARCH.*";
9632
9633/*
9634 * content bypass pattern - skip fix if pattern found
9635 */
9636tSCC zVxworks_Math_H_Fp_C99Bypass0[] =
9637 "#define[ \t]+FP_INFINITE";
9638
9639#define VXWORKS_MATH_H_FP_C99_TEST_CT 2
9640static tTestDesc aVxworks_Math_H_Fp_C99Tests[] = {
9641 { .type: TT_NEGREP, .pz_test_text: zVxworks_Math_H_Fp_C99Bypass0, .p_test_regex: (regex_t*)NULL },
9642 { .type: TT_EGREP, .pz_test_text: zVxworks_Math_H_Fp_C99Select0, .p_test_regex: (regex_t*)NULL }, };
9643
9644/*
9645 * Fix Command Arguments for Vxworks_Math_H_Fp_C99
9646 */
9647static const char* apzVxworks_Math_H_Fp_C99Patch[] = {
9648 "format",
9649 "\n\
9650%0\n\n\
9651#if _C99\n\n\
9652#define FP_INFINITE 1\n\
9653#define FP_NAN 2\n\
9654#define FP_NORMAL (-1)\n\
9655#define FP_SUBNORMAL (-2)\n\
9656#define FP_ZERO 0\n\n\
9657#define fpclassify(x) \\\n\
9658 __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, \\\n\
9659\t\t FP_SUBNORMAL, FP_ZERO, (x))\n\n\
9660#define signbit(x) __builtin_signbit(x)\n\
9661#define isfinite(x) __builtin_isfinite(x)\n\
9662#define isnormal(x) __builtin_isnormal(x)\n\
9663#define isnan(x) __builtin_isnan(x)\n\
9664#define isinf(x) __builtin_isinf(x)\n\n\
9665#define isgreater(x, y) __builtin_isgreater((x),(y))\n\
9666#define isgreaterequal(x, y) __builtin_isgreaterequal((x),(y))\n\
9667#define isless(x, y) __builtin_isless((x),(y))\n\
9668#define islessequal(x, y) __builtin_islessequal((x),(y))\n\
9669#define islessgreater(x, y) __builtin_islessgreater((x),(y))\n\
9670#define isunordered(x, y) __builtin_isunordered((x),(y))\n\n\
9671#endif /* _C99 */\n",
9672 (char*)NULL };
9673
9674/* * * * * * * * * * * * * * * * * * * * * * * * * *
9675 *
9676 * Description of Vxworks_Posix_Mkdir fix
9677 */
9678tSCC zVxworks_Posix_MkdirName[] =
9679 "vxworks_posix_mkdir";
9680
9681/*
9682 * File name selection pattern
9683 */
9684tSCC zVxworks_Posix_MkdirList[] =
9685 "sys/stat.h\0";
9686/*
9687 * Machine/OS name selection pattern
9688 */
9689tSCC* apzVxworks_Posix_MkdirMachs[] = {
9690 "*-*-vxworks*",
9691 (const char*)NULL };
9692#define VXWORKS_POSIX_MKDIR_TEST_CT 0
9693#define aVxworks_Posix_MkdirTests (tTestDesc*)NULL
9694
9695/*
9696 * Fix Command Arguments for Vxworks_Posix_Mkdir
9697 */
9698static const char* apzVxworks_Posix_MkdirPatch[] = {
9699 "format",
9700 "extern STATUS mkdir(const char *dir, ...);",
9701 "extern[\t ]+STATUS[\t ]+mkdir[\t ]*\\([\t ]*const[\t ]+char[\t ]*\\*[\t ]*(|[_[:alpha:]][_[:alnum:]]*)\\)[\t ]*;",
9702 (char*)NULL };
9703
9704/* * * * * * * * * * * * * * * * * * * * * * * * * *
9705 *
9706 * Description of Vxworks_Needs_Vxtypes fix
9707 */
9708tSCC zVxworks_Needs_VxtypesName[] =
9709 "vxworks_needs_vxtypes";
9710
9711/*
9712 * File name selection pattern
9713 */
9714tSCC zVxworks_Needs_VxtypesList[] =
9715 "time.h\0";
9716/*
9717 * Machine/OS name selection pattern
9718 */
9719#define apzVxworks_Needs_VxtypesMachs (const char**)NULL
9720
9721/*
9722 * content selection pattern - do fix if pattern found
9723 */
9724tSCC zVxworks_Needs_VxtypesSelect0[] =
9725 "uint_t([ \t]+_clocks_per_sec)";
9726
9727#define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
9728static tTestDesc aVxworks_Needs_VxtypesTests[] = {
9729 { .type: TT_EGREP, .pz_test_text: zVxworks_Needs_VxtypesSelect0, .p_test_regex: (regex_t*)NULL }, };
9730
9731/*
9732 * Fix Command Arguments for Vxworks_Needs_Vxtypes
9733 */
9734static const char* apzVxworks_Needs_VxtypesPatch[] = {
9735 "format",
9736 "unsigned int%1",
9737 (char*)NULL };
9738
9739/* * * * * * * * * * * * * * * * * * * * * * * * * *
9740 *
9741 * Description of Vxworks_Needs_Vxworks fix
9742 */
9743tSCC zVxworks_Needs_VxworksName[] =
9744 "vxworks_needs_vxworks";
9745
9746/*
9747 * File name selection pattern
9748 */
9749tSCC zVxworks_Needs_VxworksList[] =
9750 "sys/stat.h\0";
9751/*
9752 * Machine/OS name selection pattern
9753 */
9754#define apzVxworks_Needs_VxworksMachs (const char**)NULL
9755
9756/*
9757 * content selection pattern - do fix if pattern found
9758 */
9759tSCC zVxworks_Needs_VxworksSelect0[] =
9760 "#[ \t]define[ \t]+__INCstath";
9761
9762/*
9763 * perform the 'test' shell command - do fix on success
9764 */
9765tSCC zVxworks_Needs_VxworksTest0[] =
9766 " -r types/vxTypesOld.h";
9767tSCC zVxworks_Needs_VxworksTest1[] =
9768 " -n \"`egrep '#include' $file`\"";
9769tSCC zVxworks_Needs_VxworksTest2[] =
9770 " -n \"`egrep ULONG $file`\"";
9771
9772#define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
9773static tTestDesc aVxworks_Needs_VxworksTests[] = {
9774 { .type: TT_TEST, .pz_test_text: zVxworks_Needs_VxworksTest0, .p_test_regex: 0 /* unused */ },
9775 { .type: TT_TEST, .pz_test_text: zVxworks_Needs_VxworksTest1, .p_test_regex: 0 /* unused */ },
9776 { .type: TT_TEST, .pz_test_text: zVxworks_Needs_VxworksTest2, .p_test_regex: 0 /* unused */ },
9777 { .type: TT_EGREP, .pz_test_text: zVxworks_Needs_VxworksSelect0, .p_test_regex: (regex_t*)NULL }, };
9778
9779/*
9780 * Fix Command Arguments for Vxworks_Needs_Vxworks
9781 */
9782static const char* apzVxworks_Needs_VxworksPatch[] = { sed_cmd_z,
9783 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
9784#include <types/vxTypesOld.h>\n",
9785 (char*)NULL };
9786
9787/* * * * * * * * * * * * * * * * * * * * * * * * * *
9788 *
9789 * Description of Vxworks_Next_Yvals fix
9790 */
9791tSCC zVxworks_Next_YvalsName[] =
9792 "vxworks_next_yvals";
9793
9794/*
9795 * File name selection pattern
9796 */
9797tSCC zVxworks_Next_YvalsList[] =
9798 "yvals.h\0";
9799/*
9800 * Machine/OS name selection pattern
9801 */
9802tSCC* apzVxworks_Next_YvalsMachs[] = {
9803 "*-*-vxworks*",
9804 (const char*)NULL };
9805
9806/*
9807 * content selection pattern - do fix if pattern found
9808 */
9809tSCC zVxworks_Next_YvalsSelect0[] =
9810 "#include_next <yvals.h>";
9811
9812#define VXWORKS_NEXT_YVALS_TEST_CT 1
9813static tTestDesc aVxworks_Next_YvalsTests[] = {
9814 { .type: TT_EGREP, .pz_test_text: zVxworks_Next_YvalsSelect0, .p_test_regex: (regex_t*)NULL }, };
9815
9816/*
9817 * Fix Command Arguments for Vxworks_Next_Yvals
9818 */
9819static const char* apzVxworks_Next_YvalsPatch[] = {
9820 "format",
9821 "#if 0 /* GCC does not provide yvals.h. */\n\
9822%1",
9823 "#if .*\n\
9824/\\* .*\n\
9825(#include_next <yvals.h>\n\
9826)",
9827 (char*)NULL };
9828
9829/* * * * * * * * * * * * * * * * * * * * * * * * * *
9830 *
9831 * Description of Vxworks_Regs fix
9832 */
9833tSCC zVxworks_RegsName[] =
9834 "vxworks_regs";
9835
9836/*
9837 * File name selection pattern
9838 */
9839#define zVxworks_RegsList (char*)NULL
9840/*
9841 * Machine/OS name selection pattern
9842 */
9843tSCC* apzVxworks_RegsMachs[] = {
9844 "*-*-vxworks*",
9845 (const char*)NULL };
9846
9847/*
9848 * content selection pattern - do fix if pattern found
9849 */
9850tSCC zVxworks_RegsSelect0[] =
9851 "#[\t ]*include[\t ]+[<\"]regs.h[>\"]";
9852
9853#define VXWORKS_REGS_TEST_CT 1
9854static tTestDesc aVxworks_RegsTests[] = {
9855 { .type: TT_EGREP, .pz_test_text: zVxworks_RegsSelect0, .p_test_regex: (regex_t*)NULL }, };
9856
9857/*
9858 * Fix Command Arguments for Vxworks_Regs
9859 */
9860static const char* apzVxworks_RegsPatch[] = {
9861 "format",
9862 "#include <arch/../regs.h>",
9863 (char*)NULL };
9864
9865/* * * * * * * * * * * * * * * * * * * * * * * * * *
9866 *
9867 * Description of Vxworks_Posix_Open fix
9868 */
9869tSCC zVxworks_Posix_OpenName[] =
9870 "vxworks_posix_open";
9871
9872/*
9873 * File name selection pattern
9874 */
9875tSCC zVxworks_Posix_OpenList[] =
9876 "fcntl.h\0";
9877/*
9878 * Machine/OS name selection pattern
9879 */
9880tSCC* apzVxworks_Posix_OpenMachs[] = {
9881 "*-*-vxworks*",
9882 (const char*)NULL };
9883
9884/*
9885 * content selection pattern - do fix if pattern found
9886 */
9887tSCC zVxworks_Posix_OpenSelect0[] =
9888 "extern int.*open \\(const char \\*[ a-z]*, int[ a-z]*, int[ a-z]*\\);";
9889
9890#define VXWORKS_POSIX_OPEN_TEST_CT 1
9891static tTestDesc aVxworks_Posix_OpenTests[] = {
9892 { .type: TT_EGREP, .pz_test_text: zVxworks_Posix_OpenSelect0, .p_test_regex: (regex_t*)NULL }, };
9893
9894/*
9895 * Fix Command Arguments for Vxworks_Posix_Open
9896 */
9897static const char* apzVxworks_Posix_OpenPatch[] = {
9898 "format",
9899 "%0\n\n\
9900#if defined(__cplusplus)\n\
9901extern \"C++\" {\n\
9902 inline int open (const char *, int) __attribute__((__always_inline__));\n\n\
9903 inline int\n\
9904 open (const char *name, int flags)\n\
9905 {\n\
9906 return open (name, flags, 0);\n\
9907 }\n\
9908}\n\
9909#endif\n",
9910 (char*)NULL };
9911
9912/* * * * * * * * * * * * * * * * * * * * * * * * * *
9913 *
9914 * Description of Vxworks_Time fix
9915 */
9916tSCC zVxworks_TimeName[] =
9917 "vxworks_time";
9918
9919/*
9920 * File name selection pattern
9921 */
9922tSCC zVxworks_TimeList[] =
9923 "time.h\0";
9924/*
9925 * Machine/OS name selection pattern
9926 */
9927#define apzVxworks_TimeMachs (const char**)NULL
9928
9929/*
9930 * content selection pattern - do fix if pattern found
9931 */
9932tSCC zVxworks_TimeSelect0[] =
9933 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
9934
9935/*
9936 * perform the 'test' shell command - do fix on success
9937 */
9938tSCC zVxworks_TimeTest0[] =
9939 " -r vxWorks.h";
9940
9941#define VXWORKS_TIME_TEST_CT 2
9942static tTestDesc aVxworks_TimeTests[] = {
9943 { .type: TT_TEST, .pz_test_text: zVxworks_TimeTest0, .p_test_regex: 0 /* unused */ },
9944 { .type: TT_EGREP, .pz_test_text: zVxworks_TimeSelect0, .p_test_regex: (regex_t*)NULL }, };
9945
9946/*
9947 * Fix Command Arguments for Vxworks_Time
9948 */
9949static const char* apzVxworks_TimePatch[] = {
9950 "format",
9951 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
9952#ifdef __cplusplus\n\
9953typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
9954#else\n\
9955typedef void (*__gcc_VOIDFUNCPTR) ();\n\
9956#endif\n\
9957#define __gcc_VOIDFUNCPTR_defined\n\
9958#endif\n\
9959#define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
9960 (char*)NULL };
9961
9962/* * * * * * * * * * * * * * * * * * * * * * * * * *
9963 *
9964 * Description of Vxworks_Write_Const fix
9965 */
9966tSCC zVxworks_Write_ConstName[] =
9967 "vxworks_write_const";
9968
9969/*
9970 * File name selection pattern
9971 */
9972tSCC zVxworks_Write_ConstList[] =
9973 "ioLib.h\0";
9974/*
9975 * Machine/OS name selection pattern
9976 */
9977tSCC* apzVxworks_Write_ConstMachs[] = {
9978 "*-*-vxworks*",
9979 (const char*)NULL };
9980#define VXWORKS_WRITE_CONST_TEST_CT 0
9981#define aVxworks_Write_ConstTests (tTestDesc*)NULL
9982
9983/*
9984 * Fix Command Arguments for Vxworks_Write_Const
9985 */
9986static const char* apzVxworks_Write_ConstPatch[] = {
9987 "format",
9988 "extern int write (int, const char*, size_t);",
9989 "extern[\t ]+int[\t ]+write[\t ]*\\([\t ]*int[\t ]*,[\t ]*char[\t ]*\\*[\t ]*,[\t ]*size_t[\t ]*\\)[\t ]*;",
9990 (char*)NULL };
9991
9992/* * * * * * * * * * * * * * * * * * * * * * * * * *
9993 *
9994 * Description of Vxworks_Iolib_Include_Unistd fix
9995 */
9996tSCC zVxworks_Iolib_Include_UnistdName[] =
9997 "vxworks_iolib_include_unistd";
9998
9999/*
10000 * File name selection pattern
10001 */
10002tSCC zVxworks_Iolib_Include_UnistdList[] =
10003 "ioLib.h\0";
10004/*
10005 * Machine/OS name selection pattern
10006 */
10007tSCC* apzVxworks_Iolib_Include_UnistdMachs[] = {
10008 "*-*-vxworks*",
10009 (const char*)NULL };
10010
10011/*
10012 * content selection pattern - do fix if pattern found
10013 */
10014tSCC zVxworks_Iolib_Include_UnistdSelect0[] =
10015 "#include \"unistd.h\"";
10016
10017#define VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT 1
10018static tTestDesc aVxworks_Iolib_Include_UnistdTests[] = {
10019 { .type: TT_EGREP, .pz_test_text: zVxworks_Iolib_Include_UnistdSelect0, .p_test_regex: (regex_t*)NULL }, };
10020
10021/*
10022 * Fix Command Arguments for Vxworks_Iolib_Include_Unistd
10023 */
10024static const char* apzVxworks_Iolib_Include_UnistdPatch[] = {
10025 "format",
10026 "#include <unistd.h>",
10027 (char*)NULL };
10028
10029/* * * * * * * * * * * * * * * * * * * * * * * * * *
10030 *
10031 * Description of Vxworks_Time_H_Syslib fix
10032 */
10033tSCC zVxworks_Time_H_SyslibName[] =
10034 "vxworks_time_h_syslib";
10035
10036/*
10037 * File name selection pattern
10038 */
10039tSCC zVxworks_Time_H_SyslibList[] =
10040 "time.h\0";
10041/*
10042 * Machine/OS name selection pattern
10043 */
10044tSCC* apzVxworks_Time_H_SyslibMachs[] = {
10045 "*-*-vxworks*",
10046 (const char*)NULL };
10047
10048/*
10049 * content selection pattern - do fix if pattern found
10050 */
10051tSCC zVxworks_Time_H_SyslibSelect0[] =
10052 "[ \t]*#define[ \t]+CLOCKS_PER_SEC[ \t]+sysClkRateGet.*";
10053
10054#define VXWORKS_TIME_H_SYSLIB_TEST_CT 1
10055static tTestDesc aVxworks_Time_H_SyslibTests[] = {
10056 { .type: TT_EGREP, .pz_test_text: zVxworks_Time_H_SyslibSelect0, .p_test_regex: (regex_t*)NULL }, };
10057
10058/*
10059 * Fix Command Arguments for Vxworks_Time_H_Syslib
10060 */
10061static const char* apzVxworks_Time_H_SyslibPatch[] = {
10062 "format",
10063 "%0\n\
10064#include <sysLib.h>",
10065 "#include <vxWorks.h>|#endif.* _YVALS.*",
10066 (char*)NULL };
10067
10068/* * * * * * * * * * * * * * * * * * * * * * * * * *
10069 *
10070 * Description of X11_Class fix
10071 */
10072tSCC zX11_ClassName[] =
10073 "x11_class";
10074
10075/*
10076 * File name selection pattern
10077 */
10078tSCC zX11_ClassList[] =
10079 "X11/ShellP.h\0";
10080/*
10081 * Machine/OS name selection pattern
10082 */
10083#define apzX11_ClassMachs (const char**)NULL
10084
10085/*
10086 * content selection pattern - do fix if pattern found
10087 */
10088tSCC zX11_ClassSelect0[] =
10089 "^([ \t]*char \\*)class;(.*)";
10090
10091/*
10092 * content bypass pattern - skip fix if pattern found
10093 */
10094tSCC zX11_ClassBypass0[] =
10095 "__cplusplus";
10096
10097#define X11_CLASS_TEST_CT 2
10098static tTestDesc aX11_ClassTests[] = {
10099 { .type: TT_NEGREP, .pz_test_text: zX11_ClassBypass0, .p_test_regex: (regex_t*)NULL },
10100 { .type: TT_EGREP, .pz_test_text: zX11_ClassSelect0, .p_test_regex: (regex_t*)NULL }, };
10101
10102/*
10103 * Fix Command Arguments for X11_Class
10104 */
10105static const char* apzX11_ClassPatch[] = {
10106 "format",
10107 "#ifdef __cplusplus\n\
10108%1c_class;%2\n\
10109#else\n\
10110%1class;%2\n\
10111#endif",
10112 (char*)NULL };
10113
10114/* * * * * * * * * * * * * * * * * * * * * * * * * *
10115 *
10116 * Description of X11_Class_Usage fix
10117 */
10118tSCC zX11_Class_UsageName[] =
10119 "x11_class_usage";
10120
10121/*
10122 * File name selection pattern
10123 */
10124tSCC zX11_Class_UsageList[] =
10125 "Xm/BaseClassI.h\0";
10126/*
10127 * Machine/OS name selection pattern
10128 */
10129#define apzX11_Class_UsageMachs (const char**)NULL
10130
10131/*
10132 * content selection pattern - do fix if pattern found
10133 */
10134tSCC zX11_Class_UsageSelect0[] =
10135 " class\\)";
10136
10137/*
10138 * content bypass pattern - skip fix if pattern found
10139 */
10140tSCC zX11_Class_UsageBypass0[] =
10141 "__cplusplus";
10142
10143#define X11_CLASS_USAGE_TEST_CT 2
10144static tTestDesc aX11_Class_UsageTests[] = {
10145 { .type: TT_NEGREP, .pz_test_text: zX11_Class_UsageBypass0, .p_test_regex: (regex_t*)NULL },
10146 { .type: TT_EGREP, .pz_test_text: zX11_Class_UsageSelect0, .p_test_regex: (regex_t*)NULL }, };
10147
10148/*
10149 * Fix Command Arguments for X11_Class_Usage
10150 */
10151static const char* apzX11_Class_UsagePatch[] = {
10152 "format",
10153 " c_class)",
10154 (char*)NULL };
10155
10156/* * * * * * * * * * * * * * * * * * * * * * * * * *
10157 *
10158 * Description of X11_New fix
10159 */
10160tSCC zX11_NewName[] =
10161 "x11_new";
10162
10163/*
10164 * File name selection pattern
10165 */
10166tSCC zX11_NewList[] =
10167 "Xm/Traversal.h\0";
10168/*
10169 * Machine/OS name selection pattern
10170 */
10171#define apzX11_NewMachs (const char**)NULL
10172
10173/*
10174 * content bypass pattern - skip fix if pattern found
10175 */
10176tSCC zX11_NewBypass0[] =
10177 "__cplusplus";
10178
10179#define X11_NEW_TEST_CT 1
10180static tTestDesc aX11_NewTests[] = {
10181 { .type: TT_NEGREP, .pz_test_text: zX11_NewBypass0, .p_test_regex: (regex_t*)NULL }, };
10182
10183/*
10184 * Fix Command Arguments for X11_New
10185 */
10186static const char* apzX11_NewPatch[] = { sed_cmd_z,
10187 "-e", "/Widget\told, new;/i\\\n\
10188#ifdef __cplusplus\\\n\
10189\\\tWidget\told, c_new;\\\n\
10190#else\n",
10191 "-e", "/Widget\told, new;/a\\\n\
10192#endif\n",
10193 "-e", "s/Widget new,/Widget c_new,/g",
10194 (char*)NULL };
10195
10196/* * * * * * * * * * * * * * * * * * * * * * * * * *
10197 *
10198 * Description of X11_Sprintf fix
10199 */
10200tSCC zX11_SprintfName[] =
10201 "x11_sprintf";
10202
10203/*
10204 * File name selection pattern
10205 */
10206tSCC zX11_SprintfList[] =
10207 "X11/Xmu.h\0X11/Xmu/Xmu.h\0";
10208/*
10209 * Machine/OS name selection pattern
10210 */
10211#define apzX11_SprintfMachs (const char**)NULL
10212
10213/*
10214 * content selection pattern - do fix if pattern found
10215 */
10216tSCC zX11_SprintfSelect0[] =
10217 "^extern char \\*\tsprintf\\(\\);$";
10218
10219#define X11_SPRINTF_TEST_CT 1
10220static tTestDesc aX11_SprintfTests[] = {
10221 { .type: TT_EGREP, .pz_test_text: zX11_SprintfSelect0, .p_test_regex: (regex_t*)NULL }, };
10222
10223/*
10224 * Fix Command Arguments for X11_Sprintf
10225 */
10226static const char* apzX11_SprintfPatch[] = {
10227 "format",
10228 "#ifndef __STDC__\n\
10229%0\n\
10230#endif /* !defined __STDC__ */",
10231 (char*)NULL };
10232
10233
10234/* * * * * * * * * * * * * * * * * * * * * * * * * *
10235 *
10236 * List of all fixes
10237 */
10238#define REGEX_COUNT 289
10239#define MACH_LIST_SIZE_LIMIT 187
10240#define FIX_COUNT 250
10241
10242/*
10243 * Enumerate the fixes
10244 */
10245typedef enum {
10246 AAB_AIX_STDIO_FIXIDX,
10247 AAB_AIX_FCNTL_FIXIDX,
10248 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_FIXIDX,
10249 DARWIN_API_AVAILABILITY_FIXIDX,
10250 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
10251 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
10252 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
10253 AAB_SUN_MEMCPY_FIXIDX,
10254 AAB_VXWORKS_ASSERT_FIXIDX,
10255 AAB_VXWORKS_REGS_VXTYPES_FIXIDX,
10256 AAB_VXWORKS_UNISTD_FIXIDX,
10257 AIX_ASSERT_FIXIDX,
10258 AIX_COMPLEX_FIXIDX,
10259 AIX_EXTERNC_FIXIDX,
10260 AIX_EXTERNCPP1_FIXIDX,
10261 AIX_EXTERNCPP2_FIXIDX,
10262 AIX_INTTYPES_FIXIDX,
10263 AIX_MALLOC_FIXIDX,
10264 AIX_NET_IF_ARP_FIXIDX,
10265 AIX_NULL_FIXIDX,
10266 AIX_ONCE_INIT_1_FIXIDX,
10267 AIX_ONCE_INIT_2_FIXIDX,
10268 AIX_MUTEX_INITIALIZER_1_FIXIDX,
10269 AIX_COND_INITIALIZER_1_FIXIDX,
10270 AIX_RWLOCK_INITIALIZER_1_FIXIDX,
10271 AIX_PHYSADR_T_FIXIDX,
10272 AIX_PTHREAD_FIXIDX,
10273 AIX_STDINT_1_FIXIDX,
10274 AIX_STDINT_2_FIXIDX,
10275 AIX_STDINT_3_FIXIDX,
10276 AIX_STDINT_4_FIXIDX,
10277 AIX_STDINT_5_FIXIDX,
10278 AIX_STDIO_INLINE_FIXIDX,
10279 AIX_STDLIB_MALLOC_FIXIDX,
10280 AIX_STDLIB_REALLOC_FIXIDX,
10281 AIX_STDLIB_CALLOC_FIXIDX,
10282 AIX_STDLIB_VALLOC_FIXIDX,
10283 AIX_STDLIB_VEC_MALLOC_FIXIDX,
10284 AIX_STDLIB_VEC_CALLOC_FIXIDX,
10285 AIX_STRTOF_CONST_FIXIDX,
10286 AIX_SYSMACHINE_FIXIDX,
10287 AIX_SYSWAIT_2_FIXIDX,
10288 AIX_VOLATILE_FIXIDX,
10289 AIX_UNISTD_FIXIDX,
10290 ALPHA___ASSERT_FIXIDX,
10291 ALPHA_ASSERT_FIXIDX,
10292 ALPHA_GETOPT_FIXIDX,
10293 ALPHA_IF_SEMICOLON_FIXIDX,
10294 ALPHA_PARENS_FIXIDX,
10295 ALPHA_SBRK_FIXIDX,
10296 AVOID_BOOL_DEFINE_FIXIDX,
10297 AVOID_BOOL_TYPE_FIXIDX,
10298 AVOID_WCHAR_T_TYPE_FIXIDX,
10299 BAD_STRUCT_TERM_FIXIDX,
10300 BADQUOTE_FIXIDX,
10301 BROKEN_ASSERT_STDIO_FIXIDX,
10302 BROKEN_ASSERT_STDLIB_FIXIDX,
10303 BROKEN_CABS_FIXIDX,
10304 BROKEN_NAN_FIXIDX,
10305 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
10306 APPLE_LOCAL_STDIO_FN_DEPRECATION_FIXIDX,
10307 CTRL_QUOTES_DEF_FIXIDX,
10308 CTRL_QUOTES_USE_FIXIDX,
10309 CXX_UNREADY_FIXIDX,
10310 DARWIN_AVAILABILITYINTERNAL_FIXIDX,
10311 DARWIN_9_LONG_DOUBLE_FUNCS_2_FIXIDX,
10312 DARWIN_EXTERNC_FIXIDX,
10313 DARWIN_GCC4_BREAKAGE_FIXIDX,
10314 DARWIN_LL_FUNCS_AVAIL_FIXIDX,
10315 DARWIN_LONGJMP_NORETURN_FIXIDX,
10316 DARWIN_OS_TRACE_1_FIXIDX,
10317 DARWIN_OS_TRACE_2_FIXIDX,
10318 DARWIN_OBJC_RUNTIME_1_FIXIDX,
10319 DARWIN_OS_TRACE_3_FIXIDX,
10320 DARWIN_OS_BASE_1_FIXIDX,
10321 DARWIN_DISPATCH_OBJECT_1_FIXIDX,
10322 DARWIN_PRIVATE_EXTERN_FIXIDX,
10323 DARWIN_STDINT_1_FIXIDX,
10324 DARWIN_STDINT_2_FIXIDX,
10325 DARWIN_STDINT_3_FIXIDX,
10326 DARWIN_STDINT_4_FIXIDX,
10327 DARWIN_STDINT_5_FIXIDX,
10328 DARWIN_STDINT_6_FIXIDX,
10329 DARWIN_STDINT_7_FIXIDX,
10330 DARWIN_UCRED__ATOMIC_FIXIDX,
10331 DARWIN_FLT_EVAL_METHOD_FIXIDX,
10332 DEC_INTERN_ASM_FIXIDX,
10333 DJGPP_WCHAR_H_FIXIDX,
10334 ECD_CURSOR_FIXIDX,
10335 FERAISEEXCEPT_NOSSE_DIVBYZERO_FIXIDX,
10336 FERAISEEXCEPT_NOSSE_INVALID_FIXIDX,
10337 FREEBSD_GCC3_BREAKAGE_FIXIDX,
10338 FREEBSD_GCC4_BREAKAGE_FIXIDX,
10339 GLIBC_C99_INLINE_1_FIXIDX,
10340 GLIBC_C99_INLINE_1A_FIXIDX,
10341 GLIBC_C99_INLINE_2_FIXIDX,
10342 GLIBC_C99_INLINE_3_FIXIDX,
10343 GLIBC_C99_INLINE_4_FIXIDX,
10344 GLIBC_CXX_FLOATN_1_FIXIDX,
10345 GLIBC_CXX_FLOATN_2_FIXIDX,
10346 GLIBC_CXX_FLOATN_3_FIXIDX,
10347 GLIBC_CXX_FLOATN_4_FIXIDX,
10348 GLIBC_CXX_FLOATN_5_FIXIDX,
10349 GLIBC_MUTEX_INIT_FIXIDX,
10350 GLIBC_STDINT_FIXIDX,
10351 GLIBC_STRNCPY_FIXIDX,
10352 GLIBC_TGMATH_FIXIDX,
10353 GNU_TYPES_FIXIDX,
10354 HP_INLINE_FIXIDX,
10355 HP_SYSFILE_FIXIDX,
10356 HPPA_HPUX_FP_MACROS_FIXIDX,
10357 HPUX10_CPP_POW_INLINE_FIXIDX,
10358 HPUX11_CPP_POW_INLINE_FIXIDX,
10359 HPUX_MATH_CONSTEXPR_FIXIDX,
10360 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
10361 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
10362 HPUX10_STDIO_DECLARATIONS_FIXIDX,
10363 HPPA_HPUX11_ALLOCA_FIXIDX,
10364 HPUX11_ABS_FIXIDX,
10365 HPUX11_LWP_RWLOCK_VALID_FIXIDX,
10366 HPUX11_EXTERN_SENDFILE_FIXIDX,
10367 HPUX11_EXTERN_SENDPATH_FIXIDX,
10368 HPUX11_FABSF_FIXIDX,
10369 HPUX11_PTHREAD_POINTER_FIXIDX,
10370 HPUX11_PTHREAD_CONST_FIXIDX,
10371 HPUX11_SIZE_T_FIXIDX,
10372 HPUX11_SNPRINTF_FIXIDX,
10373 HPUX11_VSNPRINTF_FIXIDX,
10374 HPUX_VSSCANF_FIXIDX,
10375 HPUX8_BOGUS_INLINES_FIXIDX,
10376 HPUX_C99_INTPTR_FIXIDX,
10377 HPUX_C99_INTTYPES_FIXIDX,
10378 HPUX_C99_INTTYPES2_FIXIDX,
10379 HPUX_C99_INTTYPES3_FIXIDX,
10380 HPUX_C99_INTTYPES4_FIXIDX,
10381 HPUX_C99_INTTYPES5_FIXIDX,
10382 HPUX_CTYPE_MACROS_FIXIDX,
10383 HPUX_EXTERN_ERRNO_FIXIDX,
10384 HPUX_HTONL_FIXIDX,
10385 HPUX_IMAGINARY_I_FIXIDX,
10386 HPUX_INTTYPE_INT8_T_FIXIDX,
10387 HPUX_LONG_DOUBLE_FIXIDX,
10388 HPUX_LONG_DOUBLE_2_FIXIDX,
10389 HPUX_PTHREAD_INITIALIZERS_FIXIDX,
10390 HPUX_SPU_INFO_FIXIDX,
10391 HPUX_STDINT_LEAST_FAST_FIXIDX,
10392 HPUX_LONGJMP_FIXIDX,
10393 HPUX_SYSTIME_FIXIDX,
10394 HUGE_VAL_HEX_FIXIDX,
10395 HUGE_VALF_HEX_FIXIDX,
10396 HUGE_VALL_HEX_FIXIDX,
10397 INT_ABORT_FREE_AND_EXIT_FIXIDX,
10398 IO_QUOTES_DEF_FIXIDX,
10399 IO_QUOTES_USE_FIXIDX,
10400 IP_MISSING_SEMI_FIXIDX,
10401 IRIX_LIMITS_CONST_FIXIDX,
10402 IRIX_STDIO_VA_LIST_FIXIDX,
10403 KANDR_CONCAT_FIXIDX,
10404 LINUX_IA64_UCONTEXT_FIXIDX,
10405 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
10406 LYNXOS_MISSING_PUTENV_FIXIDX,
10407 MACHINE_ANSI_H_VA_LIST_FIXIDX,
10408 MACHINE_NAME_FIXIDX,
10409 MATH_EXCEPTION_FIXIDX,
10410 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
10411 NESTED_AUTH_DES_FIXIDX,
10412 NETBSD_C99_INLINE_1_FIXIDX,
10413 NETBSD_C99_INLINE_2_FIXIDX,
10414 NETBSD_EXTRA_SEMICOLON_FIXIDX,
10415 NEWLIB_STDINT_1_FIXIDX,
10416 NEWLIB_STDINT_2_FIXIDX,
10417 NEXT_MATH_PREFIX_FIXIDX,
10418 NEXT_TEMPLATE_FIXIDX,
10419 NEXT_VOLITILE_FIXIDX,
10420 NEXT_WAIT_UNION_FIXIDX,
10421 NODEENT_SYNTAX_FIXIDX,
10422 OPENBSD_NULL_DEFINITION_FIXIDX,
10423 OBSTACK_LVALUE_CAST_FIXIDX,
10424 OPENBSD_VA_START_FIXIDX,
10425 OSF_NAMESPACE_A_FIXIDX,
10426 OSF_NAMESPACE_C_FIXIDX,
10427 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_FIXIDX,
10428 READ_RET_TYPE_FIXIDX,
10429 RPC_XDR_LVALUE_CAST_A_FIXIDX,
10430 RPC_XDR_LVALUE_CAST_B_FIXIDX,
10431 RS6000_DOUBLE_FIXIDX,
10432 RS6000_FCHMOD_FIXIDX,
10433 RS6000_PARAM_FIXIDX,
10434 SOLARIS_INT_CONST_FIXIDX,
10435 SOLARIS_INT_LIMITS_1_FIXIDX,
10436 SOLARIS_INT_LIMITS_3_FIXIDX,
10437 SOLARIS_MATH_12_FIXIDX,
10438 SOLARIS_POW_INT_OVERLOAD_FIXIDX,
10439 STATSSWTCH_FIXIDX,
10440 STDIO_STDARG_H_FIXIDX,
10441 STDIO_VA_LIST_FIXIDX,
10442 STDIO_VA_LIST_CLIENTS_FIXIDX,
10443 STRICT_ANSI_NOT_FIXIDX,
10444 STRICT_ANSI_NOT_CTD_FIXIDX,
10445 STRICT_ANSI_ONLY_FIXIDX,
10446 STRUCT_FILE_FIXIDX,
10447 STRUCT_SOCKADDR_FIXIDX,
10448 SUN_AUTH_PROTO_FIXIDX,
10449 SUN_BOGUS_IFDEF_FIXIDX,
10450 SUN_CATMACRO_FIXIDX,
10451 SUN_MALLOC_FIXIDX,
10452 SUN_RUSERS_SEMI_FIXIDX,
10453 SUN_SIGNAL_FIXIDX,
10454 SUNOS_STRLEN_FIXIDX,
10455 SUSE_LINUX_VT_CXX_FIXIDX,
10456 SVR4_DISABLE_OPT_FIXIDX,
10457 SVR4_GETCWD_FIXIDX,
10458 SVR4_PROFIL_FIXIDX,
10459 SVR4_SIGHANDLER_TYPE_FIXIDX,
10460 SVR4_UNDECLARED_GETRNGE_FIXIDX,
10461 SYSV68_STRING_FIXIDX,
10462 SYSZ_STDLIB_FOR_SUN_FIXIDX,
10463 THREAD_KEYWORD_FIXIDX,
10464 TINFO_CPLUSPLUS_FIXIDX,
10465 ULTRIX_CONST_FIXIDX,
10466 ULTRIX_CONST2_FIXIDX,
10467 VA_I960_MACRO_FIXIDX,
10468 VMS_ADD_MISSING_BRACES_FIXIDX,
10469 VMS_DECC_BUILTIN_FIXIDX,
10470 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_FIXIDX,
10471 VMS_DISABLE_DECC_STRING_BUILTINS_FIXIDX,
10472 VMS_DO_NOT_REDECLARE_HOSTALIAS_FIXIDX,
10473 VMS_FORWARD_DECLARE_STRUCT_FIXIDX,
10474 VMS_NO_64BIT_GETOPT_FIXIDX,
10475 VMS_USE_FAST_SETJMP_FIXIDX,
10476 VMS_USE_PRAGMA_EXTERN_MODEL_FIXIDX,
10477 VMS_USE_QUOTED_INCLUDE_FIXIDX,
10478 VOID_NULL_FIXIDX,
10479 VXWORKS_GCC_PROBLEM_FIXIDX,
10480 VXWORKS_IOCTL_MACRO_FIXIDX,
10481 VXWORKS_MATH_H_FP_C99_FIXIDX,
10482 VXWORKS_POSIX_MKDIR_FIXIDX,
10483 VXWORKS_NEEDS_VXTYPES_FIXIDX,
10484 VXWORKS_NEEDS_VXWORKS_FIXIDX,
10485 VXWORKS_NEXT_YVALS_FIXIDX,
10486 VXWORKS_REGS_FIXIDX,
10487 VXWORKS_POSIX_OPEN_FIXIDX,
10488 VXWORKS_TIME_FIXIDX,
10489 VXWORKS_WRITE_CONST_FIXIDX,
10490 VXWORKS_IOLIB_INCLUDE_UNISTD_FIXIDX,
10491 VXWORKS_TIME_H_SYSLIB_FIXIDX,
10492 X11_CLASS_FIXIDX,
10493 X11_CLASS_USAGE_FIXIDX,
10494 X11_NEW_FIXIDX,
10495 X11_SPRINTF_FIXIDX
10496} t_fixinc_idx;
10497
10498tFixDesc fixDescList[ FIX_COUNT ] = {
10499 { .fix_name: zAab_Aix_StdioName, .file_list: zAab_Aix_StdioList,
10500 .papz_machs: apzAab_Aix_StdioMachs,
10501 AAB_AIX_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10502 .p_test_desc: aAab_Aix_StdioTests, .patch_args: apzAab_Aix_StdioPatch, .unused: 0 },
10503
10504 { .fix_name: zAab_Aix_FcntlName, .file_list: zAab_Aix_FcntlList,
10505 .papz_machs: apzAab_Aix_FcntlMachs,
10506 AAB_AIX_FCNTL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10507 .p_test_desc: aAab_Aix_FcntlTests, .patch_args: apzAab_Aix_FcntlPatch, .unused: 0 },
10508
10509 { .fix_name: zAab_Darwin7_9_Long_Double_FuncsName, .file_list: zAab_Darwin7_9_Long_Double_FuncsList,
10510 .papz_machs: apzAab_Darwin7_9_Long_Double_FuncsMachs,
10511 AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10512 .p_test_desc: aAab_Darwin7_9_Long_Double_FuncsTests, .patch_args: apzAab_Darwin7_9_Long_Double_FuncsPatch, .unused: 0 },
10513
10514 { .fix_name: zDarwin_Api_AvailabilityName, .file_list: zDarwin_Api_AvailabilityList,
10515 .papz_machs: apzDarwin_Api_AvailabilityMachs,
10516 DARWIN_API_AVAILABILITY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10517 .p_test_desc: aDarwin_Api_AvailabilityTests, .patch_args: apzDarwin_Api_AvailabilityPatch, .unused: 0 },
10518
10519 { .fix_name: zAab_Fd_Zero_Asm_Posix_Types_HName, .file_list: zAab_Fd_Zero_Asm_Posix_Types_HList,
10520 .papz_machs: apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
10521 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10522 .p_test_desc: aAab_Fd_Zero_Asm_Posix_Types_HTests, .patch_args: apzAab_Fd_Zero_Asm_Posix_Types_HPatch, .unused: 0 },
10523
10524 { .fix_name: zAab_Fd_Zero_Gnu_Types_HName, .file_list: zAab_Fd_Zero_Gnu_Types_HList,
10525 .papz_machs: apzAab_Fd_Zero_Gnu_Types_HMachs,
10526 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10527 aAab_Fd_Zero_Gnu_Types_HTests, .patch_args: apzAab_Fd_Zero_Gnu_Types_HPatch, .unused: 0 },
10528
10529 { .fix_name: zAab_Fd_Zero_Selectbits_HName, .file_list: zAab_Fd_Zero_Selectbits_HList,
10530 .papz_machs: apzAab_Fd_Zero_Selectbits_HMachs,
10531 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10532 aAab_Fd_Zero_Selectbits_HTests, .patch_args: apzAab_Fd_Zero_Selectbits_HPatch, .unused: 0 },
10533
10534 { .fix_name: zAab_Sun_MemcpyName, .file_list: zAab_Sun_MemcpyList,
10535 apzAab_Sun_MemcpyMachs,
10536 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10537 .p_test_desc: aAab_Sun_MemcpyTests, .patch_args: apzAab_Sun_MemcpyPatch, .unused: 0 },
10538
10539 { .fix_name: zAab_Vxworks_AssertName, .file_list: zAab_Vxworks_AssertList,
10540 .papz_machs: apzAab_Vxworks_AssertMachs,
10541 AAB_VXWORKS_ASSERT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10542 aAab_Vxworks_AssertTests, .patch_args: apzAab_Vxworks_AssertPatch, .unused: 0 },
10543
10544 { .fix_name: zAab_Vxworks_Regs_VxtypesName, .file_list: zAab_Vxworks_Regs_VxtypesList,
10545 .papz_machs: apzAab_Vxworks_Regs_VxtypesMachs,
10546 AAB_VXWORKS_REGS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10547 aAab_Vxworks_Regs_VxtypesTests, .patch_args: apzAab_Vxworks_Regs_VxtypesPatch, .unused: 0 },
10548
10549 { .fix_name: zAab_Vxworks_UnistdName, .file_list: zAab_Vxworks_UnistdList,
10550 .papz_machs: apzAab_Vxworks_UnistdMachs,
10551 AAB_VXWORKS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
10552 aAab_Vxworks_UnistdTests, .patch_args: apzAab_Vxworks_UnistdPatch, .unused: 0 },
10553
10554 { .fix_name: zAix_AssertName, .file_list: zAix_AssertList,
10555 .papz_machs: apzAix_AssertMachs,
10556 AIX_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10557 .p_test_desc: aAix_AssertTests, .patch_args: apzAix_AssertPatch, .unused: 0 },
10558
10559 { .fix_name: zAix_ComplexName, .file_list: zAix_ComplexList,
10560 .papz_machs: apzAix_ComplexMachs,
10561 AIX_COMPLEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10562 .p_test_desc: aAix_ComplexTests, .patch_args: apzAix_ComplexPatch, .unused: 0 },
10563
10564 { .fix_name: zAix_ExterncName, .file_list: zAix_ExterncList,
10565 .papz_machs: apzAix_ExterncMachs,
10566 AIX_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10567 .p_test_desc: aAix_ExterncTests, .patch_args: apzAix_ExterncPatch, .unused: 0 },
10568
10569 { .fix_name: zAix_Externcpp1Name, .file_list: zAix_Externcpp1List,
10570 .papz_machs: apzAix_Externcpp1Machs,
10571 AIX_EXTERNCPP1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10572 .p_test_desc: aAix_Externcpp1Tests, .patch_args: apzAix_Externcpp1Patch, .unused: 0 },
10573
10574 { .fix_name: zAix_Externcpp2Name, .file_list: zAix_Externcpp2List,
10575 .papz_machs: apzAix_Externcpp2Machs,
10576 AIX_EXTERNCPP2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10577 .p_test_desc: aAix_Externcpp2Tests, .patch_args: apzAix_Externcpp2Patch, .unused: 0 },
10578
10579 { .fix_name: zAix_InttypesName, .file_list: zAix_InttypesList,
10580 .papz_machs: apzAix_InttypesMachs,
10581 AIX_INTTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10582 .p_test_desc: aAix_InttypesTests, .patch_args: apzAix_InttypesPatch, .unused: 0 },
10583
10584 { .fix_name: zAix_MallocName, .file_list: zAix_MallocList,
10585 .papz_machs: apzAix_MallocMachs,
10586 AIX_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10587 .p_test_desc: aAix_MallocTests, .patch_args: apzAix_MallocPatch, .unused: 0 },
10588
10589 { .fix_name: zAix_Net_If_ArpName, .file_list: zAix_Net_If_ArpList,
10590 .papz_machs: apzAix_Net_If_ArpMachs,
10591 AIX_NET_IF_ARP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10592 .p_test_desc: aAix_Net_If_ArpTests, .patch_args: apzAix_Net_If_ArpPatch, .unused: 0 },
10593
10594 { .fix_name: zAix_NullName, .file_list: zAix_NullList,
10595 .papz_machs: apzAix_NullMachs,
10596 AIX_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10597 .p_test_desc: aAix_NullTests, .patch_args: apzAix_NullPatch, .unused: 0 },
10598
10599 { .fix_name: zAix_Once_Init_1Name, .file_list: zAix_Once_Init_1List,
10600 .papz_machs: apzAix_Once_Init_1Machs,
10601 AIX_ONCE_INIT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10602 .p_test_desc: aAix_Once_Init_1Tests, .patch_args: apzAix_Once_Init_1Patch, .unused: 0 },
10603
10604 { .fix_name: zAix_Once_Init_2Name, .file_list: zAix_Once_Init_2List,
10605 .papz_machs: apzAix_Once_Init_2Machs,
10606 AIX_ONCE_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10607 .p_test_desc: aAix_Once_Init_2Tests, .patch_args: apzAix_Once_Init_2Patch, .unused: 0 },
10608
10609 { .fix_name: zAix_Mutex_Initializer_1Name, .file_list: zAix_Mutex_Initializer_1List,
10610 .papz_machs: apzAix_Mutex_Initializer_1Machs,
10611 AIX_MUTEX_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10612 .p_test_desc: aAix_Mutex_Initializer_1Tests, .patch_args: apzAix_Mutex_Initializer_1Patch, .unused: 0 },
10613
10614 { .fix_name: zAix_Cond_Initializer_1Name, .file_list: zAix_Cond_Initializer_1List,
10615 .papz_machs: apzAix_Cond_Initializer_1Machs,
10616 AIX_COND_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10617 .p_test_desc: aAix_Cond_Initializer_1Tests, .patch_args: apzAix_Cond_Initializer_1Patch, .unused: 0 },
10618
10619 { .fix_name: zAix_Rwlock_Initializer_1Name, .file_list: zAix_Rwlock_Initializer_1List,
10620 .papz_machs: apzAix_Rwlock_Initializer_1Machs,
10621 AIX_RWLOCK_INITIALIZER_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10622 .p_test_desc: aAix_Rwlock_Initializer_1Tests, .patch_args: apzAix_Rwlock_Initializer_1Patch, .unused: 0 },
10623
10624 { .fix_name: zAix_Physadr_TName, .file_list: zAix_Physadr_TList,
10625 .papz_machs: apzAix_Physadr_TMachs,
10626 AIX_PHYSADR_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10627 .p_test_desc: aAix_Physadr_TTests, .patch_args: apzAix_Physadr_TPatch, .unused: 0 },
10628
10629 { .fix_name: zAix_PthreadName, .file_list: zAix_PthreadList,
10630 apzAix_PthreadMachs,
10631 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10632 .p_test_desc: aAix_PthreadTests, .patch_args: apzAix_PthreadPatch, .unused: 0 },
10633
10634 { .fix_name: zAix_Stdint_1Name, .file_list: zAix_Stdint_1List,
10635 .papz_machs: apzAix_Stdint_1Machs,
10636 AIX_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10637 .p_test_desc: aAix_Stdint_1Tests, .patch_args: apzAix_Stdint_1Patch, .unused: 0 },
10638
10639 { .fix_name: zAix_Stdint_2Name, .file_list: zAix_Stdint_2List,
10640 .papz_machs: apzAix_Stdint_2Machs,
10641 AIX_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10642 .p_test_desc: aAix_Stdint_2Tests, .patch_args: apzAix_Stdint_2Patch, .unused: 0 },
10643
10644 { .fix_name: zAix_Stdint_3Name, .file_list: zAix_Stdint_3List,
10645 .papz_machs: apzAix_Stdint_3Machs,
10646 AIX_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10647 .p_test_desc: aAix_Stdint_3Tests, .patch_args: apzAix_Stdint_3Patch, .unused: 0 },
10648
10649 { .fix_name: zAix_Stdint_4Name, .file_list: zAix_Stdint_4List,
10650 .papz_machs: apzAix_Stdint_4Machs,
10651 AIX_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10652 .p_test_desc: aAix_Stdint_4Tests, .patch_args: apzAix_Stdint_4Patch, .unused: 0 },
10653
10654 { .fix_name: zAix_Stdint_5Name, .file_list: zAix_Stdint_5List,
10655 .papz_machs: apzAix_Stdint_5Machs,
10656 AIX_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10657 .p_test_desc: aAix_Stdint_5Tests, .patch_args: apzAix_Stdint_5Patch, .unused: 0 },
10658
10659 { .fix_name: zAix_Stdio_InlineName, .file_list: zAix_Stdio_InlineList,
10660 .papz_machs: apzAix_Stdio_InlineMachs,
10661 AIX_STDIO_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10662 .p_test_desc: aAix_Stdio_InlineTests, .patch_args: apzAix_Stdio_InlinePatch, .unused: 0 },
10663
10664 { .fix_name: zAix_Stdlib_MallocName, .file_list: zAix_Stdlib_MallocList,
10665 .papz_machs: apzAix_Stdlib_MallocMachs,
10666 AIX_STDLIB_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10667 .p_test_desc: aAix_Stdlib_MallocTests, .patch_args: apzAix_Stdlib_MallocPatch, .unused: 0 },
10668
10669 { .fix_name: zAix_Stdlib_ReallocName, .file_list: zAix_Stdlib_ReallocList,
10670 .papz_machs: apzAix_Stdlib_ReallocMachs,
10671 AIX_STDLIB_REALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10672 .p_test_desc: aAix_Stdlib_ReallocTests, .patch_args: apzAix_Stdlib_ReallocPatch, .unused: 0 },
10673
10674 { .fix_name: zAix_Stdlib_CallocName, .file_list: zAix_Stdlib_CallocList,
10675 .papz_machs: apzAix_Stdlib_CallocMachs,
10676 AIX_STDLIB_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10677 .p_test_desc: aAix_Stdlib_CallocTests, .patch_args: apzAix_Stdlib_CallocPatch, .unused: 0 },
10678
10679 { .fix_name: zAix_Stdlib_VallocName, .file_list: zAix_Stdlib_VallocList,
10680 .papz_machs: apzAix_Stdlib_VallocMachs,
10681 AIX_STDLIB_VALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10682 .p_test_desc: aAix_Stdlib_VallocTests, .patch_args: apzAix_Stdlib_VallocPatch, .unused: 0 },
10683
10684 { .fix_name: zAix_Stdlib_Vec_MallocName, .file_list: zAix_Stdlib_Vec_MallocList,
10685 .papz_machs: apzAix_Stdlib_Vec_MallocMachs,
10686 AIX_STDLIB_VEC_MALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10687 .p_test_desc: aAix_Stdlib_Vec_MallocTests, .patch_args: apzAix_Stdlib_Vec_MallocPatch, .unused: 0 },
10688
10689 { .fix_name: zAix_Stdlib_Vec_CallocName, .file_list: zAix_Stdlib_Vec_CallocList,
10690 .papz_machs: apzAix_Stdlib_Vec_CallocMachs,
10691 AIX_STDLIB_VEC_CALLOC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10692 .p_test_desc: aAix_Stdlib_Vec_CallocTests, .patch_args: apzAix_Stdlib_Vec_CallocPatch, .unused: 0 },
10693
10694 { .fix_name: zAix_Strtof_ConstName, .file_list: zAix_Strtof_ConstList,
10695 .papz_machs: apzAix_Strtof_ConstMachs,
10696 AIX_STRTOF_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10697 .p_test_desc: aAix_Strtof_ConstTests, .patch_args: apzAix_Strtof_ConstPatch, .unused: 0 },
10698
10699 { .fix_name: zAix_SysmachineName, .file_list: zAix_SysmachineList,
10700 .papz_machs: apzAix_SysmachineMachs,
10701 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10702 .p_test_desc: aAix_SysmachineTests, .patch_args: apzAix_SysmachinePatch, .unused: 0 },
10703
10704 { .fix_name: zAix_Syswait_2Name, .file_list: zAix_Syswait_2List,
10705 .papz_machs: apzAix_Syswait_2Machs,
10706 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10707 .p_test_desc: aAix_Syswait_2Tests, .patch_args: apzAix_Syswait_2Patch, .unused: 0 },
10708
10709 { .fix_name: zAix_VolatileName, .file_list: zAix_VolatileList,
10710 .papz_machs: apzAix_VolatileMachs,
10711 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10712 .p_test_desc: aAix_VolatileTests, .patch_args: apzAix_VolatilePatch, .unused: 0 },
10713
10714 { .fix_name: zAix_UnistdName, .file_list: zAix_UnistdList,
10715 .papz_machs: apzAix_UnistdMachs,
10716 AIX_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10717 .p_test_desc: aAix_UnistdTests, .patch_args: apzAix_UnistdPatch, .unused: 0 },
10718
10719 { .fix_name: zAlpha___AssertName, .file_list: zAlpha___AssertList,
10720 apzAlpha___AssertMachs,
10721 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10722 .p_test_desc: aAlpha___AssertTests, .patch_args: apzAlpha___AssertPatch, .unused: 0 },
10723
10724 { .fix_name: zAlpha_AssertName, .file_list: zAlpha_AssertList,
10725 apzAlpha_AssertMachs,
10726 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10727 .p_test_desc: aAlpha_AssertTests, .patch_args: apzAlpha_AssertPatch, .unused: 0 },
10728
10729 { .fix_name: zAlpha_GetoptName, .file_list: zAlpha_GetoptList,
10730 apzAlpha_GetoptMachs,
10731 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10732 .p_test_desc: aAlpha_GetoptTests, .patch_args: apzAlpha_GetoptPatch, .unused: 0 },
10733
10734 { .fix_name: zAlpha_If_SemicolonName, .file_list: zAlpha_If_SemicolonList,
10735 apzAlpha_If_SemicolonMachs,
10736 ALPHA_IF_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10737 .p_test_desc: aAlpha_If_SemicolonTests, .patch_args: apzAlpha_If_SemicolonPatch, .unused: 0 },
10738
10739 { .fix_name: zAlpha_ParensName, .file_list: zAlpha_ParensList,
10740 apzAlpha_ParensMachs,
10741 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10742 .p_test_desc: aAlpha_ParensTests, .patch_args: apzAlpha_ParensPatch, .unused: 0 },
10743
10744 { .fix_name: zAlpha_SbrkName, .file_list: zAlpha_SbrkList,
10745 apzAlpha_SbrkMachs,
10746 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10747 .p_test_desc: aAlpha_SbrkTests, .patch_args: apzAlpha_SbrkPatch, .unused: 0 },
10748
10749 { .fix_name: zAvoid_Bool_DefineName, .file_list: zAvoid_Bool_DefineList,
10750 apzAvoid_Bool_DefineMachs,
10751 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10752 .p_test_desc: aAvoid_Bool_DefineTests, .patch_args: apzAvoid_Bool_DefinePatch, .unused: 0 },
10753
10754 { .fix_name: zAvoid_Bool_TypeName, .file_list: zAvoid_Bool_TypeList,
10755 apzAvoid_Bool_TypeMachs,
10756 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10757 .p_test_desc: aAvoid_Bool_TypeTests, .patch_args: apzAvoid_Bool_TypePatch, .unused: 0 },
10758
10759 { .fix_name: zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
10760 apzAvoid_Wchar_T_TypeMachs,
10761 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10762 .p_test_desc: aAvoid_Wchar_T_TypeTests, .patch_args: apzAvoid_Wchar_T_TypePatch, .unused: 0 },
10763
10764 { .fix_name: zBad_Struct_TermName, .file_list: zBad_Struct_TermList,
10765 apzBad_Struct_TermMachs,
10766 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10767 .p_test_desc: aBad_Struct_TermTests, .patch_args: apzBad_Struct_TermPatch, .unused: 0 },
10768
10769 { .fix_name: zBadquoteName, .file_list: zBadquoteList,
10770 apzBadquoteMachs,
10771 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10772 .p_test_desc: aBadquoteTests, .patch_args: apzBadquotePatch, .unused: 0 },
10773
10774 { .fix_name: zBroken_Assert_StdioName, .file_list: zBroken_Assert_StdioList,
10775 apzBroken_Assert_StdioMachs,
10776 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10777 .p_test_desc: aBroken_Assert_StdioTests, .patch_args: apzBroken_Assert_StdioPatch, .unused: 0 },
10778
10779 { .fix_name: zBroken_Assert_StdlibName, .file_list: zBroken_Assert_StdlibList,
10780 apzBroken_Assert_StdlibMachs,
10781 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10782 .p_test_desc: aBroken_Assert_StdlibTests, .patch_args: apzBroken_Assert_StdlibPatch, .unused: 0 },
10783
10784 { .fix_name: zBroken_CabsName, .file_list: zBroken_CabsList,
10785 apzBroken_CabsMachs,
10786 BROKEN_CABS_TEST_CT, FD_MACH_ONLY,
10787 .p_test_desc: aBroken_CabsTests, .patch_args: apzBroken_CabsPatch, .unused: 0 },
10788
10789 { .fix_name: zBroken_NanName, .file_list: zBroken_NanList,
10790 apzBroken_NanMachs,
10791 BROKEN_NAN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10792 .p_test_desc: aBroken_NanTests, .patch_args: apzBroken_NanPatch, .unused: 0 },
10793
10794 { .fix_name: zBsd_Stdio_Attrs_ConflictName, .file_list: zBsd_Stdio_Attrs_ConflictList,
10795 .papz_machs: apzBsd_Stdio_Attrs_ConflictMachs,
10796 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10797 .p_test_desc: aBsd_Stdio_Attrs_ConflictTests, .patch_args: apzBsd_Stdio_Attrs_ConflictPatch, .unused: 0 },
10798
10799 { .fix_name: zApple_Local_Stdio_Fn_DeprecationName, .file_list: zApple_Local_Stdio_Fn_DeprecationList,
10800 .papz_machs: apzApple_Local_Stdio_Fn_DeprecationMachs,
10801 APPLE_LOCAL_STDIO_FN_DEPRECATION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10802 .p_test_desc: aApple_Local_Stdio_Fn_DeprecationTests, .patch_args: apzApple_Local_Stdio_Fn_DeprecationPatch, .unused: 0 },
10803
10804 { .fix_name: zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
10805 apzCtrl_Quotes_DefMachs,
10806 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10807 .p_test_desc: aCtrl_Quotes_DefTests, .patch_args: apzCtrl_Quotes_DefPatch, .unused: 0 },
10808
10809 { .fix_name: zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
10810 apzCtrl_Quotes_UseMachs,
10811 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10812 .p_test_desc: aCtrl_Quotes_UseTests, .patch_args: apzCtrl_Quotes_UsePatch, .unused: 0 },
10813
10814 { .fix_name: zCxx_UnreadyName, .file_list: zCxx_UnreadyList,
10815 apzCxx_UnreadyMachs,
10816 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10817 .p_test_desc: aCxx_UnreadyTests, .patch_args: apzCxx_UnreadyPatch, .unused: 0 },
10818
10819 { .fix_name: zDarwin_AvailabilityinternalName, .file_list: zDarwin_AvailabilityinternalList,
10820 .papz_machs: apzDarwin_AvailabilityinternalMachs,
10821 DARWIN_AVAILABILITYINTERNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10822 .p_test_desc: aDarwin_AvailabilityinternalTests, .patch_args: apzDarwin_AvailabilityinternalPatch, .unused: 0 },
10823
10824 { .fix_name: zDarwin_9_Long_Double_Funcs_2Name, .file_list: zDarwin_9_Long_Double_Funcs_2List,
10825 .papz_machs: apzDarwin_9_Long_Double_Funcs_2Machs,
10826 DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10827 .p_test_desc: aDarwin_9_Long_Double_Funcs_2Tests, .patch_args: apzDarwin_9_Long_Double_Funcs_2Patch, .unused: 0 },
10828
10829 { .fix_name: zDarwin_ExterncName, .file_list: zDarwin_ExterncList,
10830 .papz_machs: apzDarwin_ExterncMachs,
10831 DARWIN_EXTERNC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10832 .p_test_desc: aDarwin_ExterncTests, .patch_args: apzDarwin_ExterncPatch, .unused: 0 },
10833
10834 { .fix_name: zDarwin_Gcc4_BreakageName, .file_list: zDarwin_Gcc4_BreakageList,
10835 .papz_machs: apzDarwin_Gcc4_BreakageMachs,
10836 DARWIN_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10837 .p_test_desc: aDarwin_Gcc4_BreakageTests, .patch_args: apzDarwin_Gcc4_BreakagePatch, .unused: 0 },
10838
10839 { .fix_name: zDarwin_Ll_Funcs_AvailName, .file_list: zDarwin_Ll_Funcs_AvailList,
10840 .papz_machs: apzDarwin_Ll_Funcs_AvailMachs,
10841 DARWIN_LL_FUNCS_AVAIL_TEST_CT, FD_MACH_ONLY,
10842 .p_test_desc: aDarwin_Ll_Funcs_AvailTests, .patch_args: apzDarwin_Ll_Funcs_AvailPatch, .unused: 0 },
10843
10844 { .fix_name: zDarwin_Longjmp_NoreturnName, .file_list: zDarwin_Longjmp_NoreturnList,
10845 .papz_machs: apzDarwin_Longjmp_NoreturnMachs,
10846 DARWIN_LONGJMP_NORETURN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10847 .p_test_desc: aDarwin_Longjmp_NoreturnTests, .patch_args: apzDarwin_Longjmp_NoreturnPatch, .unused: 0 },
10848
10849 { .fix_name: zDarwin_Os_Trace_1Name, .file_list: zDarwin_Os_Trace_1List,
10850 .papz_machs: apzDarwin_Os_Trace_1Machs,
10851 DARWIN_OS_TRACE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10852 .p_test_desc: aDarwin_Os_Trace_1Tests, .patch_args: apzDarwin_Os_Trace_1Patch, .unused: 0 },
10853
10854 { .fix_name: zDarwin_Os_Trace_2Name, .file_list: zDarwin_Os_Trace_2List,
10855 .papz_machs: apzDarwin_Os_Trace_2Machs,
10856 DARWIN_OS_TRACE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10857 .p_test_desc: aDarwin_Os_Trace_2Tests, .patch_args: apzDarwin_Os_Trace_2Patch, .unused: 0 },
10858
10859 { .fix_name: zDarwin_Objc_Runtime_1Name, .file_list: zDarwin_Objc_Runtime_1List,
10860 .papz_machs: apzDarwin_Objc_Runtime_1Machs,
10861 DARWIN_OBJC_RUNTIME_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10862 .p_test_desc: aDarwin_Objc_Runtime_1Tests, .patch_args: apzDarwin_Objc_Runtime_1Patch, .unused: 0 },
10863
10864 { .fix_name: zDarwin_Os_Trace_3Name, .file_list: zDarwin_Os_Trace_3List,
10865 .papz_machs: apzDarwin_Os_Trace_3Machs,
10866 DARWIN_OS_TRACE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10867 .p_test_desc: aDarwin_Os_Trace_3Tests, .patch_args: apzDarwin_Os_Trace_3Patch, .unused: 0 },
10868
10869 { .fix_name: zDarwin_Os_Base_1Name, .file_list: zDarwin_Os_Base_1List,
10870 .papz_machs: apzDarwin_Os_Base_1Machs,
10871 DARWIN_OS_BASE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10872 .p_test_desc: aDarwin_Os_Base_1Tests, .patch_args: apzDarwin_Os_Base_1Patch, .unused: 0 },
10873
10874 { .fix_name: zDarwin_Dispatch_Object_1Name, .file_list: zDarwin_Dispatch_Object_1List,
10875 .papz_machs: apzDarwin_Dispatch_Object_1Machs,
10876 DARWIN_DISPATCH_OBJECT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10877 .p_test_desc: aDarwin_Dispatch_Object_1Tests, .patch_args: apzDarwin_Dispatch_Object_1Patch, .unused: 0 },
10878
10879 { .fix_name: zDarwin_Private_ExternName, .file_list: zDarwin_Private_ExternList,
10880 .papz_machs: apzDarwin_Private_ExternMachs,
10881 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10882 .p_test_desc: aDarwin_Private_ExternTests, .patch_args: apzDarwin_Private_ExternPatch, .unused: 0 },
10883
10884 { .fix_name: zDarwin_Stdint_1Name, .file_list: zDarwin_Stdint_1List,
10885 .papz_machs: apzDarwin_Stdint_1Machs,
10886 DARWIN_STDINT_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10887 .p_test_desc: aDarwin_Stdint_1Tests, .patch_args: apzDarwin_Stdint_1Patch, .unused: 0 },
10888
10889 { .fix_name: zDarwin_Stdint_2Name, .file_list: zDarwin_Stdint_2List,
10890 .papz_machs: apzDarwin_Stdint_2Machs,
10891 DARWIN_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10892 .p_test_desc: aDarwin_Stdint_2Tests, .patch_args: apzDarwin_Stdint_2Patch, .unused: 0 },
10893
10894 { .fix_name: zDarwin_Stdint_3Name, .file_list: zDarwin_Stdint_3List,
10895 .papz_machs: apzDarwin_Stdint_3Machs,
10896 DARWIN_STDINT_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10897 .p_test_desc: aDarwin_Stdint_3Tests, .patch_args: apzDarwin_Stdint_3Patch, .unused: 0 },
10898
10899 { .fix_name: zDarwin_Stdint_4Name, .file_list: zDarwin_Stdint_4List,
10900 .papz_machs: apzDarwin_Stdint_4Machs,
10901 DARWIN_STDINT_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10902 .p_test_desc: aDarwin_Stdint_4Tests, .patch_args: apzDarwin_Stdint_4Patch, .unused: 0 },
10903
10904 { .fix_name: zDarwin_Stdint_5Name, .file_list: zDarwin_Stdint_5List,
10905 .papz_machs: apzDarwin_Stdint_5Machs,
10906 DARWIN_STDINT_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10907 .p_test_desc: aDarwin_Stdint_5Tests, .patch_args: apzDarwin_Stdint_5Patch, .unused: 0 },
10908
10909 { .fix_name: zDarwin_Stdint_6Name, .file_list: zDarwin_Stdint_6List,
10910 .papz_machs: apzDarwin_Stdint_6Machs,
10911 DARWIN_STDINT_6_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10912 .p_test_desc: aDarwin_Stdint_6Tests, .patch_args: apzDarwin_Stdint_6Patch, .unused: 0 },
10913
10914 { .fix_name: zDarwin_Stdint_7Name, .file_list: zDarwin_Stdint_7List,
10915 .papz_machs: apzDarwin_Stdint_7Machs,
10916 DARWIN_STDINT_7_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10917 .p_test_desc: aDarwin_Stdint_7Tests, .patch_args: apzDarwin_Stdint_7Patch, .unused: 0 },
10918
10919 { .fix_name: zDarwin_Ucred__AtomicName, .file_list: zDarwin_Ucred__AtomicList,
10920 .papz_machs: apzDarwin_Ucred__AtomicMachs,
10921 DARWIN_UCRED__ATOMIC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10922 .p_test_desc: aDarwin_Ucred__AtomicTests, .patch_args: apzDarwin_Ucred__AtomicPatch, .unused: 0 },
10923
10924 { .fix_name: zDarwin_Flt_Eval_MethodName, .file_list: zDarwin_Flt_Eval_MethodList,
10925 .papz_machs: apzDarwin_Flt_Eval_MethodMachs,
10926 DARWIN_FLT_EVAL_METHOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10927 .p_test_desc: aDarwin_Flt_Eval_MethodTests, .patch_args: apzDarwin_Flt_Eval_MethodPatch, .unused: 0 },
10928
10929 { .fix_name: zDec_Intern_AsmName, .file_list: zDec_Intern_AsmList,
10930 apzDec_Intern_AsmMachs,
10931 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
10932 aDec_Intern_AsmTests, .patch_args: apzDec_Intern_AsmPatch, .unused: 0 },
10933
10934 { .fix_name: zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
10935 apzDjgpp_Wchar_HMachs,
10936 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10937 .p_test_desc: aDjgpp_Wchar_HTests, .patch_args: apzDjgpp_Wchar_HPatch, .unused: 0 },
10938
10939 { .fix_name: zEcd_CursorName, .file_list: zEcd_CursorList,
10940 apzEcd_CursorMachs,
10941 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10942 .p_test_desc: aEcd_CursorTests, .patch_args: apzEcd_CursorPatch, .unused: 0 },
10943
10944 { .fix_name: zFeraiseexcept_Nosse_DivbyzeroName, .file_list: zFeraiseexcept_Nosse_DivbyzeroList,
10945 .papz_machs: apzFeraiseexcept_Nosse_DivbyzeroMachs,
10946 FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10947 .p_test_desc: aFeraiseexcept_Nosse_DivbyzeroTests, .patch_args: apzFeraiseexcept_Nosse_DivbyzeroPatch, .unused: 0 },
10948
10949 { .fix_name: zFeraiseexcept_Nosse_InvalidName, .file_list: zFeraiseexcept_Nosse_InvalidList,
10950 .papz_machs: apzFeraiseexcept_Nosse_InvalidMachs,
10951 FERAISEEXCEPT_NOSSE_INVALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10952 .p_test_desc: aFeraiseexcept_Nosse_InvalidTests, .patch_args: apzFeraiseexcept_Nosse_InvalidPatch, .unused: 0 },
10953
10954 { .fix_name: zFreebsd_Gcc3_BreakageName, .file_list: zFreebsd_Gcc3_BreakageList,
10955 .papz_machs: apzFreebsd_Gcc3_BreakageMachs,
10956 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10957 .p_test_desc: aFreebsd_Gcc3_BreakageTests, .patch_args: apzFreebsd_Gcc3_BreakagePatch, .unused: 0 },
10958
10959 { .fix_name: zFreebsd_Gcc4_BreakageName, .file_list: zFreebsd_Gcc4_BreakageList,
10960 .papz_machs: apzFreebsd_Gcc4_BreakageMachs,
10961 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10962 .p_test_desc: aFreebsd_Gcc4_BreakageTests, .patch_args: apzFreebsd_Gcc4_BreakagePatch, .unused: 0 },
10963
10964 { .fix_name: zGlibc_C99_Inline_1Name, .file_list: zGlibc_C99_Inline_1List,
10965 apzGlibc_C99_Inline_1Machs,
10966 GLIBC_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10967 .p_test_desc: aGlibc_C99_Inline_1Tests, .patch_args: apzGlibc_C99_Inline_1Patch, .unused: 0 },
10968
10969 { .fix_name: zGlibc_C99_Inline_1aName, .file_list: zGlibc_C99_Inline_1aList,
10970 apzGlibc_C99_Inline_1aMachs,
10971 GLIBC_C99_INLINE_1A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10972 .p_test_desc: aGlibc_C99_Inline_1aTests, .patch_args: apzGlibc_C99_Inline_1aPatch, .unused: 0 },
10973
10974 { .fix_name: zGlibc_C99_Inline_2Name, .file_list: zGlibc_C99_Inline_2List,
10975 apzGlibc_C99_Inline_2Machs,
10976 GLIBC_C99_INLINE_2_TEST_CT, FD_MACH_ONLY,
10977 .p_test_desc: aGlibc_C99_Inline_2Tests, .patch_args: apzGlibc_C99_Inline_2Patch, .unused: 0 },
10978
10979 { .fix_name: zGlibc_C99_Inline_3Name, .file_list: zGlibc_C99_Inline_3List,
10980 apzGlibc_C99_Inline_3Machs,
10981 GLIBC_C99_INLINE_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10982 .p_test_desc: aGlibc_C99_Inline_3Tests, .patch_args: apzGlibc_C99_Inline_3Patch, .unused: 0 },
10983
10984 { .fix_name: zGlibc_C99_Inline_4Name, .file_list: zGlibc_C99_Inline_4List,
10985 apzGlibc_C99_Inline_4Machs,
10986 GLIBC_C99_INLINE_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10987 .p_test_desc: aGlibc_C99_Inline_4Tests, .patch_args: apzGlibc_C99_Inline_4Patch, .unused: 0 },
10988
10989 { .fix_name: zGlibc_Cxx_Floatn_1Name, .file_list: zGlibc_Cxx_Floatn_1List,
10990 apzGlibc_Cxx_Floatn_1Machs,
10991 GLIBC_CXX_FLOATN_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10992 .p_test_desc: aGlibc_Cxx_Floatn_1Tests, .patch_args: apzGlibc_Cxx_Floatn_1Patch, .unused: 0 },
10993
10994 { .fix_name: zGlibc_Cxx_Floatn_2Name, .file_list: zGlibc_Cxx_Floatn_2List,
10995 apzGlibc_Cxx_Floatn_2Machs,
10996 GLIBC_CXX_FLOATN_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
10997 .p_test_desc: aGlibc_Cxx_Floatn_2Tests, .patch_args: apzGlibc_Cxx_Floatn_2Patch, .unused: 0 },
10998
10999 { .fix_name: zGlibc_Cxx_Floatn_3Name, .file_list: zGlibc_Cxx_Floatn_3List,
11000 apzGlibc_Cxx_Floatn_3Machs,
11001 GLIBC_CXX_FLOATN_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11002 .p_test_desc: aGlibc_Cxx_Floatn_3Tests, .patch_args: apzGlibc_Cxx_Floatn_3Patch, .unused: 0 },
11003
11004 { .fix_name: zGlibc_Cxx_Floatn_4Name, .file_list: zGlibc_Cxx_Floatn_4List,
11005 apzGlibc_Cxx_Floatn_4Machs,
11006 GLIBC_CXX_FLOATN_4_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11007 .p_test_desc: aGlibc_Cxx_Floatn_4Tests, .patch_args: apzGlibc_Cxx_Floatn_4Patch, .unused: 0 },
11008
11009 { .fix_name: zGlibc_Cxx_Floatn_5Name, .file_list: zGlibc_Cxx_Floatn_5List,
11010 apzGlibc_Cxx_Floatn_5Machs,
11011 GLIBC_CXX_FLOATN_5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11012 .p_test_desc: aGlibc_Cxx_Floatn_5Tests, .patch_args: apzGlibc_Cxx_Floatn_5Patch, .unused: 0 },
11013
11014 { .fix_name: zGlibc_Mutex_InitName, .file_list: zGlibc_Mutex_InitList,
11015 apzGlibc_Mutex_InitMachs,
11016 GLIBC_MUTEX_INIT_TEST_CT, FD_MACH_ONLY,
11017 .p_test_desc: aGlibc_Mutex_InitTests, .patch_args: apzGlibc_Mutex_InitPatch, .unused: 0 },
11018
11019 { .fix_name: zGlibc_StdintName, .file_list: zGlibc_StdintList,
11020 apzGlibc_StdintMachs,
11021 GLIBC_STDINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11022 .p_test_desc: aGlibc_StdintTests, .patch_args: apzGlibc_StdintPatch, .unused: 0 },
11023
11024 { .fix_name: zGlibc_StrncpyName, .file_list: zGlibc_StrncpyList,
11025 apzGlibc_StrncpyMachs,
11026 GLIBC_STRNCPY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11027 .p_test_desc: aGlibc_StrncpyTests, .patch_args: apzGlibc_StrncpyPatch, .unused: 0 },
11028
11029 { .fix_name: zGlibc_TgmathName, .file_list: zGlibc_TgmathList,
11030 apzGlibc_TgmathMachs,
11031 GLIBC_TGMATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11032 .p_test_desc: aGlibc_TgmathTests, .patch_args: apzGlibc_TgmathPatch, .unused: 0 },
11033
11034 { .fix_name: zGnu_TypesName, .file_list: zGnu_TypesList,
11035 .papz_machs: apzGnu_TypesMachs,
11036 GNU_TYPES_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11037 .p_test_desc: aGnu_TypesTests, .patch_args: apzGnu_TypesPatch, .unused: 0 },
11038
11039 { .fix_name: zHp_InlineName, .file_list: zHp_InlineList,
11040 apzHp_InlineMachs,
11041 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11042 .p_test_desc: aHp_InlineTests, .patch_args: apzHp_InlinePatch, .unused: 0 },
11043
11044 { .fix_name: zHp_SysfileName, .file_list: zHp_SysfileList,
11045 apzHp_SysfileMachs,
11046 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11047 .p_test_desc: aHp_SysfileTests, .patch_args: apzHp_SysfilePatch, .unused: 0 },
11048
11049 { .fix_name: zHppa_Hpux_Fp_MacrosName, .file_list: zHppa_Hpux_Fp_MacrosList,
11050 .papz_machs: apzHppa_Hpux_Fp_MacrosMachs,
11051 HPPA_HPUX_FP_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11052 .p_test_desc: aHppa_Hpux_Fp_MacrosTests, .patch_args: apzHppa_Hpux_Fp_MacrosPatch, .unused: 0 },
11053
11054 { .fix_name: zHpux10_Cpp_Pow_InlineName, .file_list: zHpux10_Cpp_Pow_InlineList,
11055 apzHpux10_Cpp_Pow_InlineMachs,
11056 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11057 .p_test_desc: aHpux10_Cpp_Pow_InlineTests, .patch_args: apzHpux10_Cpp_Pow_InlinePatch, .unused: 0 },
11058
11059 { .fix_name: zHpux11_Cpp_Pow_InlineName, .file_list: zHpux11_Cpp_Pow_InlineList,
11060 apzHpux11_Cpp_Pow_InlineMachs,
11061 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11062 .p_test_desc: aHpux11_Cpp_Pow_InlineTests, .patch_args: apzHpux11_Cpp_Pow_InlinePatch, .unused: 0 },
11063
11064 { .fix_name: zHpux_Math_ConstexprName, .file_list: zHpux_Math_ConstexprList,
11065 .papz_machs: apzHpux_Math_ConstexprMachs,
11066 HPUX_MATH_CONSTEXPR_TEST_CT, FD_MACH_ONLY,
11067 aHpux_Math_ConstexprTests, .patch_args: apzHpux_Math_ConstexprPatch, .unused: 0 },
11068
11069 { .fix_name: zHpux10_Ctype_Declarations1Name, .file_list: zHpux10_Ctype_Declarations1List,
11070 apzHpux10_Ctype_Declarations1Machs,
11071 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11072 .p_test_desc: aHpux10_Ctype_Declarations1Tests, .patch_args: apzHpux10_Ctype_Declarations1Patch, .unused: 0 },
11073
11074 { .fix_name: zHpux10_Ctype_Declarations2Name, .file_list: zHpux10_Ctype_Declarations2List,
11075 apzHpux10_Ctype_Declarations2Machs,
11076 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11077 .p_test_desc: aHpux10_Ctype_Declarations2Tests, .patch_args: apzHpux10_Ctype_Declarations2Patch, .unused: 0 },
11078
11079 { .fix_name: zHpux10_Stdio_DeclarationsName, .file_list: zHpux10_Stdio_DeclarationsList,
11080 apzHpux10_Stdio_DeclarationsMachs,
11081 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11082 .p_test_desc: aHpux10_Stdio_DeclarationsTests, .patch_args: apzHpux10_Stdio_DeclarationsPatch, .unused: 0 },
11083
11084 { .fix_name: zHppa_Hpux11_AllocaName, .file_list: zHppa_Hpux11_AllocaList,
11085 .papz_machs: apzHppa_Hpux11_AllocaMachs,
11086 HPPA_HPUX11_ALLOCA_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11087 .p_test_desc: aHppa_Hpux11_AllocaTests, .patch_args: apzHppa_Hpux11_AllocaPatch, .unused: 0 },
11088
11089 { .fix_name: zHpux11_AbsName, .file_list: zHpux11_AbsList,
11090 .papz_machs: apzHpux11_AbsMachs,
11091 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11092 .p_test_desc: aHpux11_AbsTests, .patch_args: apzHpux11_AbsPatch, .unused: 0 },
11093
11094 { .fix_name: zHpux11_Lwp_Rwlock_ValidName, .file_list: zHpux11_Lwp_Rwlock_ValidList,
11095 .papz_machs: apzHpux11_Lwp_Rwlock_ValidMachs,
11096 HPUX11_LWP_RWLOCK_VALID_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11097 .p_test_desc: aHpux11_Lwp_Rwlock_ValidTests, .patch_args: apzHpux11_Lwp_Rwlock_ValidPatch, .unused: 0 },
11098
11099 { .fix_name: zHpux11_Extern_SendfileName, .file_list: zHpux11_Extern_SendfileList,
11100 .papz_machs: apzHpux11_Extern_SendfileMachs,
11101 HPUX11_EXTERN_SENDFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11102 .p_test_desc: aHpux11_Extern_SendfileTests, .patch_args: apzHpux11_Extern_SendfilePatch, .unused: 0 },
11103
11104 { .fix_name: zHpux11_Extern_SendpathName, .file_list: zHpux11_Extern_SendpathList,
11105 .papz_machs: apzHpux11_Extern_SendpathMachs,
11106 HPUX11_EXTERN_SENDPATH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11107 .p_test_desc: aHpux11_Extern_SendpathTests, .patch_args: apzHpux11_Extern_SendpathPatch, .unused: 0 },
11108
11109 { .fix_name: zHpux11_FabsfName, .file_list: zHpux11_FabsfList,
11110 .papz_machs: apzHpux11_FabsfMachs,
11111 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11112 .p_test_desc: aHpux11_FabsfTests, .patch_args: apzHpux11_FabsfPatch, .unused: 0 },
11113
11114 { .fix_name: zHpux11_Pthread_PointerName, .file_list: zHpux11_Pthread_PointerList,
11115 .papz_machs: apzHpux11_Pthread_PointerMachs,
11116 HPUX11_PTHREAD_POINTER_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11117 .p_test_desc: aHpux11_Pthread_PointerTests, .patch_args: apzHpux11_Pthread_PointerPatch, .unused: 0 },
11118
11119 { .fix_name: zHpux11_Pthread_ConstName, .file_list: zHpux11_Pthread_ConstList,
11120 .papz_machs: apzHpux11_Pthread_ConstMachs,
11121 HPUX11_PTHREAD_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11122 .p_test_desc: aHpux11_Pthread_ConstTests, .patch_args: apzHpux11_Pthread_ConstPatch, .unused: 0 },
11123
11124 { .fix_name: zHpux11_Size_TName, zHpux11_Size_TList,
11125 .papz_machs: apzHpux11_Size_TMachs,
11126 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11127 .p_test_desc: aHpux11_Size_TTests, .patch_args: apzHpux11_Size_TPatch, .unused: 0 },
11128
11129 { .fix_name: zHpux11_SnprintfName, .file_list: zHpux11_SnprintfList,
11130 apzHpux11_SnprintfMachs,
11131 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11132 .p_test_desc: aHpux11_SnprintfTests, .patch_args: apzHpux11_SnprintfPatch, .unused: 0 },
11133
11134 { .fix_name: zHpux11_VsnprintfName, .file_list: zHpux11_VsnprintfList,
11135 apzHpux11_VsnprintfMachs,
11136 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11137 .p_test_desc: aHpux11_VsnprintfTests, .patch_args: apzHpux11_VsnprintfPatch, .unused: 0 },
11138
11139 { .fix_name: zHpux_VsscanfName, .file_list: zHpux_VsscanfList,
11140 .papz_machs: apzHpux_VsscanfMachs,
11141 HPUX_VSSCANF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11142 .p_test_desc: aHpux_VsscanfTests, .patch_args: apzHpux_VsscanfPatch, .unused: 0 },
11143
11144 { .fix_name: zHpux8_Bogus_InlinesName, .file_list: zHpux8_Bogus_InlinesList,
11145 apzHpux8_Bogus_InlinesMachs,
11146 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
11147 .p_test_desc: aHpux8_Bogus_InlinesTests, .patch_args: apzHpux8_Bogus_InlinesPatch, .unused: 0 },
11148
11149 { .fix_name: zHpux_C99_IntptrName, .file_list: zHpux_C99_IntptrList,
11150 .papz_machs: apzHpux_C99_IntptrMachs,
11151 HPUX_C99_INTPTR_TEST_CT, FD_MACH_ONLY,
11152 aHpux_C99_IntptrTests, .patch_args: apzHpux_C99_IntptrPatch, .unused: 0 },
11153
11154 { .fix_name: zHpux_C99_InttypesName, .file_list: zHpux_C99_InttypesList,
11155 .papz_machs: apzHpux_C99_InttypesMachs,
11156 HPUX_C99_INTTYPES_TEST_CT, FD_MACH_ONLY,
11157 aHpux_C99_InttypesTests, .patch_args: apzHpux_C99_InttypesPatch, .unused: 0 },
11158
11159 { .fix_name: zHpux_C99_Inttypes2Name, .file_list: zHpux_C99_Inttypes2List,
11160 .papz_machs: apzHpux_C99_Inttypes2Machs,
11161 HPUX_C99_INTTYPES2_TEST_CT, FD_MACH_ONLY,
11162 aHpux_C99_Inttypes2Tests, .patch_args: apzHpux_C99_Inttypes2Patch, .unused: 0 },
11163
11164 { .fix_name: zHpux_C99_Inttypes3Name, .file_list: zHpux_C99_Inttypes3List,
11165 .papz_machs: apzHpux_C99_Inttypes3Machs,
11166 HPUX_C99_INTTYPES3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11167 .p_test_desc: aHpux_C99_Inttypes3Tests, .patch_args: apzHpux_C99_Inttypes3Patch, .unused: 0 },
11168
11169 { .fix_name: zHpux_C99_Inttypes4Name, .file_list: zHpux_C99_Inttypes4List,
11170 .papz_machs: apzHpux_C99_Inttypes4Machs,
11171 HPUX_C99_INTTYPES4_TEST_CT, FD_MACH_ONLY,
11172 aHpux_C99_Inttypes4Tests, .patch_args: apzHpux_C99_Inttypes4Patch, .unused: 0 },
11173
11174 { .fix_name: zHpux_C99_Inttypes5Name, .file_list: zHpux_C99_Inttypes5List,
11175 .papz_machs: apzHpux_C99_Inttypes5Machs,
11176 HPUX_C99_INTTYPES5_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11177 .p_test_desc: aHpux_C99_Inttypes5Tests, .patch_args: apzHpux_C99_Inttypes5Patch, .unused: 0 },
11178
11179 { .fix_name: zHpux_Ctype_MacrosName, .file_list: zHpux_Ctype_MacrosList,
11180 apzHpux_Ctype_MacrosMachs,
11181 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11182 .p_test_desc: aHpux_Ctype_MacrosTests, .patch_args: apzHpux_Ctype_MacrosPatch, .unused: 0 },
11183
11184 { .fix_name: zHpux_Extern_ErrnoName, .file_list: zHpux_Extern_ErrnoList,
11185 .papz_machs: apzHpux_Extern_ErrnoMachs,
11186 HPUX_EXTERN_ERRNO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11187 .p_test_desc: aHpux_Extern_ErrnoTests, .patch_args: apzHpux_Extern_ErrnoPatch, .unused: 0 },
11188
11189 { .fix_name: zHpux_HtonlName, .file_list: zHpux_HtonlList,
11190 apzHpux_HtonlMachs,
11191 HPUX_HTONL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11192 .p_test_desc: aHpux_HtonlTests, .patch_args: apzHpux_HtonlPatch, .unused: 0 },
11193
11194 { .fix_name: zHpux_Imaginary_IName, .file_list: zHpux_Imaginary_IList,
11195 .papz_machs: apzHpux_Imaginary_IMachs,
11196 HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11197 .p_test_desc: aHpux_Imaginary_ITests, .patch_args: apzHpux_Imaginary_IPatch, .unused: 0 },
11198
11199 { .fix_name: zHpux_Inttype_Int8_TName, .file_list: zHpux_Inttype_Int8_TList,
11200 .papz_machs: apzHpux_Inttype_Int8_TMachs,
11201 HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11202 .p_test_desc: aHpux_Inttype_Int8_TTests, .patch_args: apzHpux_Inttype_Int8_TPatch, .unused: 0 },
11203
11204 { .fix_name: zHpux_Long_DoubleName, .file_list: zHpux_Long_DoubleList,
11205 .papz_machs: apzHpux_Long_DoubleMachs,
11206 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
11207 .p_test_desc: aHpux_Long_DoubleTests, .patch_args: apzHpux_Long_DoublePatch, .unused: 0 },
11208
11209 { .fix_name: zHpux_Long_Double_2Name, .file_list: zHpux_Long_Double_2List,
11210 .papz_machs: apzHpux_Long_Double_2Machs,
11211 HPUX_LONG_DOUBLE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11212 .p_test_desc: aHpux_Long_Double_2Tests, .patch_args: apzHpux_Long_Double_2Patch, .unused: 0 },
11213
11214 { .fix_name: zHpux_Pthread_InitializersName, .file_list: zHpux_Pthread_InitializersList,
11215 .papz_machs: apzHpux_Pthread_InitializersMachs,
11216 HPUX_PTHREAD_INITIALIZERS_TEST_CT, FD_MACH_ONLY,
11217 aHpux_Pthread_InitializersTests, .patch_args: apzHpux_Pthread_InitializersPatch, .unused: 0 },
11218
11219 { .fix_name: zHpux_Spu_InfoName, .file_list: zHpux_Spu_InfoList,
11220 .papz_machs: apzHpux_Spu_InfoMachs,
11221 HPUX_SPU_INFO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11222 .p_test_desc: aHpux_Spu_InfoTests, .patch_args: apzHpux_Spu_InfoPatch, .unused: 0 },
11223
11224 { .fix_name: zHpux_Stdint_Least_FastName, .file_list: zHpux_Stdint_Least_FastList,
11225 .papz_machs: apzHpux_Stdint_Least_FastMachs,
11226 HPUX_STDINT_LEAST_FAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11227 .p_test_desc: aHpux_Stdint_Least_FastTests, .patch_args: apzHpux_Stdint_Least_FastPatch, .unused: 0 },
11228
11229 { .fix_name: zHpux_LongjmpName, .file_list: zHpux_LongjmpList,
11230 .papz_machs: apzHpux_LongjmpMachs,
11231 HPUX_LONGJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11232 .p_test_desc: aHpux_LongjmpTests, .patch_args: apzHpux_LongjmpPatch, .unused: 0 },
11233
11234 { .fix_name: zHpux_SystimeName, .file_list: zHpux_SystimeList,
11235 apzHpux_SystimeMachs,
11236 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11237 .p_test_desc: aHpux_SystimeTests, .patch_args: apzHpux_SystimePatch, .unused: 0 },
11238
11239 { .fix_name: zHuge_Val_HexName, .file_list: zHuge_Val_HexList,
11240 apzHuge_Val_HexMachs,
11241 HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11242 .p_test_desc: aHuge_Val_HexTests, .patch_args: apzHuge_Val_HexPatch, .unused: 0 },
11243
11244 { .fix_name: zHuge_Valf_HexName, .file_list: zHuge_Valf_HexList,
11245 apzHuge_Valf_HexMachs,
11246 HUGE_VALF_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11247 .p_test_desc: aHuge_Valf_HexTests, .patch_args: apzHuge_Valf_HexPatch, .unused: 0 },
11248
11249 { .fix_name: zHuge_Vall_HexName, .file_list: zHuge_Vall_HexList,
11250 apzHuge_Vall_HexMachs,
11251 HUGE_VALL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11252 .p_test_desc: aHuge_Vall_HexTests, .patch_args: apzHuge_Vall_HexPatch, .unused: 0 },
11253
11254 { .fix_name: zInt_Abort_Free_And_ExitName, .file_list: zInt_Abort_Free_And_ExitList,
11255 apzInt_Abort_Free_And_ExitMachs,
11256 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11257 .p_test_desc: aInt_Abort_Free_And_ExitTests, .patch_args: apzInt_Abort_Free_And_ExitPatch, .unused: 0 },
11258
11259 { .fix_name: zIo_Quotes_DefName, zIo_Quotes_DefList,
11260 apzIo_Quotes_DefMachs,
11261 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11262 .p_test_desc: aIo_Quotes_DefTests, .patch_args: apzIo_Quotes_DefPatch, .unused: 0 },
11263
11264 { .fix_name: zIo_Quotes_UseName, zIo_Quotes_UseList,
11265 apzIo_Quotes_UseMachs,
11266 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11267 .p_test_desc: aIo_Quotes_UseTests, .patch_args: apzIo_Quotes_UsePatch, .unused: 0 },
11268
11269 { .fix_name: zIp_Missing_SemiName, .file_list: zIp_Missing_SemiList,
11270 apzIp_Missing_SemiMachs,
11271 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
11272 .p_test_desc: aIp_Missing_SemiTests, .patch_args: apzIp_Missing_SemiPatch, .unused: 0 },
11273
11274 { .fix_name: zIrix_Limits_ConstName, .file_list: zIrix_Limits_ConstList,
11275 apzIrix_Limits_ConstMachs,
11276 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11277 .p_test_desc: aIrix_Limits_ConstTests, .patch_args: apzIrix_Limits_ConstPatch, .unused: 0 },
11278
11279 { .fix_name: zIrix_Stdio_Va_ListName, .file_list: zIrix_Stdio_Va_ListList,
11280 apzIrix_Stdio_Va_ListMachs,
11281 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11282 .p_test_desc: aIrix_Stdio_Va_ListTests, .patch_args: apzIrix_Stdio_Va_ListPatch, .unused: 0 },
11283
11284 { .fix_name: zKandr_ConcatName, .file_list: zKandr_ConcatList,
11285 apzKandr_ConcatMachs,
11286 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11287 .p_test_desc: aKandr_ConcatTests, .patch_args: apzKandr_ConcatPatch, .unused: 0 },
11288
11289 { .fix_name: zLinux_Ia64_UcontextName, .file_list: zLinux_Ia64_UcontextList,
11290 .papz_machs: apzLinux_Ia64_UcontextMachs,
11291 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11292 .p_test_desc: aLinux_Ia64_UcontextTests, .patch_args: apzLinux_Ia64_UcontextPatch, .unused: 0 },
11293
11294 { .fix_name: zLynxos_No_Warning_In_Sys_Time_HName, .file_list: zLynxos_No_Warning_In_Sys_Time_HList,
11295 apzLynxos_No_Warning_In_Sys_Time_HMachs,
11296 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11297 .p_test_desc: aLynxos_No_Warning_In_Sys_Time_HTests, .patch_args: apzLynxos_No_Warning_In_Sys_Time_HPatch, .unused: 0 },
11298
11299 { .fix_name: zLynxos_Missing_PutenvName, .file_list: zLynxos_Missing_PutenvList,
11300 .papz_machs: apzLynxos_Missing_PutenvMachs,
11301 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11302 .p_test_desc: aLynxos_Missing_PutenvTests, .patch_args: apzLynxos_Missing_PutenvPatch, .unused: 0 },
11303
11304 { .fix_name: zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
11305 apzMachine_Ansi_H_Va_ListMachs,
11306 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11307 .p_test_desc: aMachine_Ansi_H_Va_ListTests, .patch_args: apzMachine_Ansi_H_Va_ListPatch, .unused: 0 },
11308
11309 { .fix_name: zMachine_NameName, zMachine_NameList,
11310 apzMachine_NameMachs,
11311 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11312 .p_test_desc: aMachine_NameTests, .patch_args: apzMachine_NamePatch, .unused: 0 },
11313
11314 { .fix_name: zMath_ExceptionName, .file_list: zMath_ExceptionList,
11315 apzMath_ExceptionMachs,
11316 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11317 .p_test_desc: aMath_ExceptionTests, .patch_args: apzMath_ExceptionPatch, .unused: 0 },
11318
11319 { .fix_name: zMath_Huge_Val_From_Dbl_MaxName, .file_list: zMath_Huge_Val_From_Dbl_MaxList,
11320 apzMath_Huge_Val_From_Dbl_MaxMachs,
11321 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
11322 .p_test_desc: aMath_Huge_Val_From_Dbl_MaxTests, .patch_args: apzMath_Huge_Val_From_Dbl_MaxPatch, .unused: 0 },
11323
11324 { .fix_name: zNested_Auth_DesName, .file_list: zNested_Auth_DesList,
11325 apzNested_Auth_DesMachs,
11326 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11327 .p_test_desc: aNested_Auth_DesTests, .patch_args: apzNested_Auth_DesPatch, .unused: 0 },
11328
11329 { .fix_name: zNetbsd_C99_Inline_1Name, .file_list: zNetbsd_C99_Inline_1List,
11330 .papz_machs: apzNetbsd_C99_Inline_1Machs,
11331 NETBSD_C99_INLINE_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11332 .p_test_desc: aNetbsd_C99_Inline_1Tests, .patch_args: apzNetbsd_C99_Inline_1Patch, .unused: 0 },
11333
11334 { .fix_name: zNetbsd_C99_Inline_2Name, .file_list: zNetbsd_C99_Inline_2List,
11335 .papz_machs: apzNetbsd_C99_Inline_2Machs,
11336 NETBSD_C99_INLINE_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11337 .p_test_desc: aNetbsd_C99_Inline_2Tests, .patch_args: apzNetbsd_C99_Inline_2Patch, .unused: 0 },
11338
11339 { .fix_name: zNetbsd_Extra_SemicolonName, .file_list: zNetbsd_Extra_SemicolonList,
11340 .papz_machs: apzNetbsd_Extra_SemicolonMachs,
11341 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11342 .p_test_desc: aNetbsd_Extra_SemicolonTests, .patch_args: apzNetbsd_Extra_SemicolonPatch, .unused: 0 },
11343
11344 { .fix_name: zNewlib_Stdint_1Name, .file_list: zNewlib_Stdint_1List,
11345 apzNewlib_Stdint_1Machs,
11346 NEWLIB_STDINT_1_TEST_CT, FD_MACH_ONLY,
11347 .p_test_desc: aNewlib_Stdint_1Tests, .patch_args: apzNewlib_Stdint_1Patch, .unused: 0 },
11348
11349 { .fix_name: zNewlib_Stdint_2Name, .file_list: zNewlib_Stdint_2List,
11350 apzNewlib_Stdint_2Machs,
11351 NEWLIB_STDINT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11352 .p_test_desc: aNewlib_Stdint_2Tests, .patch_args: apzNewlib_Stdint_2Patch, .unused: 0 },
11353
11354 { .fix_name: zNext_Math_PrefixName, .file_list: zNext_Math_PrefixList,
11355 apzNext_Math_PrefixMachs,
11356 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11357 .p_test_desc: aNext_Math_PrefixTests, .patch_args: apzNext_Math_PrefixPatch, .unused: 0 },
11358
11359 { .fix_name: zNext_TemplateName, .file_list: zNext_TemplateList,
11360 apzNext_TemplateMachs,
11361 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11362 .p_test_desc: aNext_TemplateTests, .patch_args: apzNext_TemplatePatch, .unused: 0 },
11363
11364 { .fix_name: zNext_VolitileName, .file_list: zNext_VolitileList,
11365 apzNext_VolitileMachs,
11366 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11367 .p_test_desc: aNext_VolitileTests, .patch_args: apzNext_VolitilePatch, .unused: 0 },
11368
11369 { .fix_name: zNext_Wait_UnionName, .file_list: zNext_Wait_UnionList,
11370 apzNext_Wait_UnionMachs,
11371 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11372 .p_test_desc: aNext_Wait_UnionTests, .patch_args: apzNext_Wait_UnionPatch, .unused: 0 },
11373
11374 { .fix_name: zNodeent_SyntaxName, .file_list: zNodeent_SyntaxList,
11375 apzNodeent_SyntaxMachs,
11376 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11377 .p_test_desc: aNodeent_SyntaxTests, .patch_args: apzNodeent_SyntaxPatch, .unused: 0 },
11378
11379 { .fix_name: zOpenbsd_Null_DefinitionName, .file_list: zOpenbsd_Null_DefinitionList,
11380 .papz_machs: apzOpenbsd_Null_DefinitionMachs,
11381 OPENBSD_NULL_DEFINITION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11382 .p_test_desc: aOpenbsd_Null_DefinitionTests, .patch_args: apzOpenbsd_Null_DefinitionPatch, .unused: 0 },
11383
11384 { .fix_name: zObstack_Lvalue_CastName, .file_list: zObstack_Lvalue_CastList,
11385 apzObstack_Lvalue_CastMachs,
11386 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11387 .p_test_desc: aObstack_Lvalue_CastTests, .patch_args: apzObstack_Lvalue_CastPatch, .unused: 0 },
11388
11389 { .fix_name: zOpenbsd_Va_StartName, .file_list: zOpenbsd_Va_StartList,
11390 .papz_machs: apzOpenbsd_Va_StartMachs,
11391 OPENBSD_VA_START_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11392 .p_test_desc: aOpenbsd_Va_StartTests, .patch_args: apzOpenbsd_Va_StartPatch, .unused: 0 },
11393
11394 { .fix_name: zOsf_Namespace_AName, .file_list: zOsf_Namespace_AList,
11395 apzOsf_Namespace_AMachs,
11396 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11397 .p_test_desc: aOsf_Namespace_ATests, .patch_args: apzOsf_Namespace_APatch, .unused: 0 },
11398
11399 { .fix_name: zOsf_Namespace_CName, .file_list: zOsf_Namespace_CList,
11400 apzOsf_Namespace_CMachs,
11401 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11402 .p_test_desc: aOsf_Namespace_CTests, .patch_args: apzOsf_Namespace_CPatch, .unused: 0 },
11403
11404 { .fix_name: zPthread_Incomplete_Struct_ArgumentName, .file_list: zPthread_Incomplete_Struct_ArgumentList,
11405 apzPthread_Incomplete_Struct_ArgumentMachs,
11406 PTHREAD_INCOMPLETE_STRUCT_ARGUMENT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11407 .p_test_desc: aPthread_Incomplete_Struct_ArgumentTests, .patch_args: apzPthread_Incomplete_Struct_ArgumentPatch, .unused: 0 },
11408
11409 { .fix_name: zRead_Ret_TypeName, .file_list: zRead_Ret_TypeList,
11410 apzRead_Ret_TypeMachs,
11411 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11412 .p_test_desc: aRead_Ret_TypeTests, .patch_args: apzRead_Ret_TypePatch, .unused: 0 },
11413
11414 { .fix_name: zRpc_Xdr_Lvalue_Cast_AName, .file_list: zRpc_Xdr_Lvalue_Cast_AList,
11415 apzRpc_Xdr_Lvalue_Cast_AMachs,
11416 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11417 .p_test_desc: aRpc_Xdr_Lvalue_Cast_ATests, .patch_args: apzRpc_Xdr_Lvalue_Cast_APatch, .unused: 0 },
11418
11419 { .fix_name: zRpc_Xdr_Lvalue_Cast_BName, .file_list: zRpc_Xdr_Lvalue_Cast_BList,
11420 apzRpc_Xdr_Lvalue_Cast_BMachs,
11421 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11422 .p_test_desc: aRpc_Xdr_Lvalue_Cast_BTests, .patch_args: apzRpc_Xdr_Lvalue_Cast_BPatch, .unused: 0 },
11423
11424 { .fix_name: zRs6000_DoubleName, .file_list: zRs6000_DoubleList,
11425 apzRs6000_DoubleMachs,
11426 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11427 .p_test_desc: aRs6000_DoubleTests, .patch_args: apzRs6000_DoublePatch, .unused: 0 },
11428
11429 { .fix_name: zRs6000_FchmodName, .file_list: zRs6000_FchmodList,
11430 apzRs6000_FchmodMachs,
11431 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11432 .p_test_desc: aRs6000_FchmodTests, .patch_args: apzRs6000_FchmodPatch, .unused: 0 },
11433
11434 { .fix_name: zRs6000_ParamName, .file_list: zRs6000_ParamList,
11435 apzRs6000_ParamMachs,
11436 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11437 .p_test_desc: aRs6000_ParamTests, .patch_args: apzRs6000_ParamPatch, .unused: 0 },
11438
11439 { .fix_name: zSolaris_Int_ConstName, .file_list: zSolaris_Int_ConstList,
11440 .papz_machs: apzSolaris_Int_ConstMachs,
11441 SOLARIS_INT_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11442 .p_test_desc: aSolaris_Int_ConstTests, .patch_args: apzSolaris_Int_ConstPatch, .unused: 0 },
11443
11444 { .fix_name: zSolaris_Int_Limits_1Name, .file_list: zSolaris_Int_Limits_1List,
11445 .papz_machs: apzSolaris_Int_Limits_1Machs,
11446 SOLARIS_INT_LIMITS_1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11447 .p_test_desc: aSolaris_Int_Limits_1Tests, .patch_args: apzSolaris_Int_Limits_1Patch, .unused: 0 },
11448
11449 { .fix_name: zSolaris_Int_Limits_3Name, .file_list: zSolaris_Int_Limits_3List,
11450 .papz_machs: apzSolaris_Int_Limits_3Machs,
11451 SOLARIS_INT_LIMITS_3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11452 .p_test_desc: aSolaris_Int_Limits_3Tests, .patch_args: apzSolaris_Int_Limits_3Patch, .unused: 0 },
11453
11454 { .fix_name: zSolaris_Math_12Name, .file_list: zSolaris_Math_12List,
11455 .papz_machs: apzSolaris_Math_12Machs,
11456 SOLARIS_MATH_12_TEST_CT, FD_MACH_ONLY,
11457 .p_test_desc: aSolaris_Math_12Tests, .patch_args: apzSolaris_Math_12Patch, .unused: 0 },
11458
11459 { .fix_name: zSolaris_Pow_Int_OverloadName, .file_list: zSolaris_Pow_Int_OverloadList,
11460 .papz_machs: apzSolaris_Pow_Int_OverloadMachs,
11461 SOLARIS_POW_INT_OVERLOAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11462 .p_test_desc: aSolaris_Pow_Int_OverloadTests, .patch_args: apzSolaris_Pow_Int_OverloadPatch, .unused: 0 },
11463
11464 { .fix_name: zStatsswtchName, .file_list: zStatsswtchList,
11465 apzStatsswtchMachs,
11466 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11467 .p_test_desc: aStatsswtchTests, .patch_args: apzStatsswtchPatch, .unused: 0 },
11468
11469 { .fix_name: zStdio_Stdarg_HName, .file_list: zStdio_Stdarg_HList,
11470 .papz_machs: apzStdio_Stdarg_HMachs,
11471 STDIO_STDARG_H_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11472 .p_test_desc: aStdio_Stdarg_HTests, .patch_args: apzStdio_Stdarg_HPatch, .unused: 0 },
11473
11474 { .fix_name: zStdio_Va_ListName, .file_list: zStdio_Va_ListList,
11475 .papz_machs: apzStdio_Va_ListMachs,
11476 STDIO_VA_LIST_TEST_CT, FD_MACH_IFNOT,
11477 .p_test_desc: aStdio_Va_ListTests, .patch_args: apzStdio_Va_ListPatch, .unused: 0 },
11478
11479 { .fix_name: zStdio_Va_List_ClientsName, .file_list: zStdio_Va_List_ClientsList,
11480 .papz_machs: apzStdio_Va_List_ClientsMachs,
11481 STDIO_VA_LIST_CLIENTS_TEST_CT, FD_MACH_IFNOT,
11482 .p_test_desc: aStdio_Va_List_ClientsTests, .patch_args: apzStdio_Va_List_ClientsPatch, .unused: 0 },
11483
11484 { .fix_name: zStrict_Ansi_NotName, zStrict_Ansi_NotList,
11485 apzStrict_Ansi_NotMachs,
11486 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11487 .p_test_desc: aStrict_Ansi_NotTests, .patch_args: apzStrict_Ansi_NotPatch, .unused: 0 },
11488
11489 { .fix_name: zStrict_Ansi_Not_CtdName, .file_list: zStrict_Ansi_Not_CtdList,
11490 apzStrict_Ansi_Not_CtdMachs,
11491 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11492 .p_test_desc: aStrict_Ansi_Not_CtdTests, .patch_args: apzStrict_Ansi_Not_CtdPatch, .unused: 0 },
11493
11494 { .fix_name: zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
11495 .papz_machs: apzStrict_Ansi_OnlyMachs,
11496 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_IFNOT | FD_SUBROUTINE,
11497 .p_test_desc: aStrict_Ansi_OnlyTests, .patch_args: apzStrict_Ansi_OnlyPatch, .unused: 0 },
11498
11499 { .fix_name: zStruct_FileName, .file_list: zStruct_FileList,
11500 apzStruct_FileMachs,
11501 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11502 .p_test_desc: aStruct_FileTests, .patch_args: apzStruct_FilePatch, .unused: 0 },
11503
11504 { .fix_name: zStruct_SockaddrName, .file_list: zStruct_SockaddrList,
11505 apzStruct_SockaddrMachs,
11506 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11507 .p_test_desc: aStruct_SockaddrTests, .patch_args: apzStruct_SockaddrPatch, .unused: 0 },
11508
11509 { .fix_name: zSun_Auth_ProtoName, .file_list: zSun_Auth_ProtoList,
11510 apzSun_Auth_ProtoMachs,
11511 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11512 .p_test_desc: aSun_Auth_ProtoTests, .patch_args: apzSun_Auth_ProtoPatch, .unused: 0 },
11513
11514 { .fix_name: zSun_Bogus_IfdefName, .file_list: zSun_Bogus_IfdefList,
11515 apzSun_Bogus_IfdefMachs,
11516 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11517 .p_test_desc: aSun_Bogus_IfdefTests, .patch_args: apzSun_Bogus_IfdefPatch, .unused: 0 },
11518
11519 { .fix_name: zSun_CatmacroName, .file_list: zSun_CatmacroList,
11520 apzSun_CatmacroMachs,
11521 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11522 .p_test_desc: aSun_CatmacroTests, .patch_args: apzSun_CatmacroPatch, .unused: 0 },
11523
11524 { .fix_name: zSun_MallocName, .file_list: zSun_MallocList,
11525 apzSun_MallocMachs,
11526 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
11527 .p_test_desc: aSun_MallocTests, .patch_args: apzSun_MallocPatch, .unused: 0 },
11528
11529 { .fix_name: zSun_Rusers_SemiName, .file_list: zSun_Rusers_SemiList,
11530 apzSun_Rusers_SemiMachs,
11531 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
11532 .p_test_desc: aSun_Rusers_SemiTests, .patch_args: apzSun_Rusers_SemiPatch, .unused: 0 },
11533
11534 { .fix_name: zSun_SignalName, .file_list: zSun_SignalList,
11535 apzSun_SignalMachs,
11536 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11537 .p_test_desc: aSun_SignalTests, .patch_args: apzSun_SignalPatch, .unused: 0 },
11538
11539 { .fix_name: zSunos_StrlenName, .file_list: zSunos_StrlenList,
11540 apzSunos_StrlenMachs,
11541 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11542 .p_test_desc: aSunos_StrlenTests, .patch_args: apzSunos_StrlenPatch, .unused: 0 },
11543
11544 { .fix_name: zSuse_Linux_Vt_CxxName, .file_list: zSuse_Linux_Vt_CxxList,
11545 apzSuse_Linux_Vt_CxxMachs,
11546 SUSE_LINUX_VT_CXX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11547 .p_test_desc: aSuse_Linux_Vt_CxxTests, .patch_args: apzSuse_Linux_Vt_CxxPatch, .unused: 0 },
11548
11549 { .fix_name: zSvr4_Disable_OptName, .file_list: zSvr4_Disable_OptList,
11550 apzSvr4_Disable_OptMachs,
11551 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
11552 .p_test_desc: aSvr4_Disable_OptTests, .patch_args: apzSvr4_Disable_OptPatch, .unused: 0 },
11553
11554 { .fix_name: zSvr4_GetcwdName, .file_list: zSvr4_GetcwdList,
11555 apzSvr4_GetcwdMachs,
11556 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11557 .p_test_desc: aSvr4_GetcwdTests, .patch_args: apzSvr4_GetcwdPatch, .unused: 0 },
11558
11559 { .fix_name: zSvr4_ProfilName, .file_list: zSvr4_ProfilList,
11560 apzSvr4_ProfilMachs,
11561 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11562 .p_test_desc: aSvr4_ProfilTests, .patch_args: apzSvr4_ProfilPatch, .unused: 0 },
11563
11564 { .fix_name: zSvr4_Sighandler_TypeName, .file_list: zSvr4_Sighandler_TypeList,
11565 apzSvr4_Sighandler_TypeMachs,
11566 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11567 .p_test_desc: aSvr4_Sighandler_TypeTests, .patch_args: apzSvr4_Sighandler_TypePatch, .unused: 0 },
11568
11569 { .fix_name: zSvr4_Undeclared_GetrngeName, .file_list: zSvr4_Undeclared_GetrngeList,
11570 apzSvr4_Undeclared_GetrngeMachs,
11571 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11572 .p_test_desc: aSvr4_Undeclared_GetrngeTests, .patch_args: apzSvr4_Undeclared_GetrngePatch, .unused: 0 },
11573
11574 { .fix_name: zSysv68_StringName, .file_list: zSysv68_StringList,
11575 apzSysv68_StringMachs,
11576 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
11577 .p_test_desc: aSysv68_StringTests, .patch_args: apzSysv68_StringPatch, .unused: 0 },
11578
11579 { .fix_name: zSysz_Stdlib_For_SunName, .file_list: zSysz_Stdlib_For_SunList,
11580 apzSysz_Stdlib_For_SunMachs,
11581 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11582 .p_test_desc: aSysz_Stdlib_For_SunTests, .patch_args: apzSysz_Stdlib_For_SunPatch, .unused: 0 },
11583
11584 { .fix_name: zThread_KeywordName, .file_list: zThread_KeywordList,
11585 apzThread_KeywordMachs,
11586 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11587 .p_test_desc: aThread_KeywordTests, .patch_args: apzThread_KeywordPatch, .unused: 0 },
11588
11589 { .fix_name: zTinfo_CplusplusName, .file_list: zTinfo_CplusplusList,
11590 apzTinfo_CplusplusMachs,
11591 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11592 .p_test_desc: aTinfo_CplusplusTests, .patch_args: apzTinfo_CplusplusPatch, .unused: 0 },
11593
11594 { .fix_name: zUltrix_ConstName, .file_list: zUltrix_ConstList,
11595 apzUltrix_ConstMachs,
11596 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11597 .p_test_desc: aUltrix_ConstTests, .patch_args: apzUltrix_ConstPatch, .unused: 0 },
11598
11599 { .fix_name: zUltrix_Const2Name, .file_list: zUltrix_Const2List,
11600 apzUltrix_Const2Machs,
11601 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11602 .p_test_desc: aUltrix_Const2Tests, .patch_args: apzUltrix_Const2Patch, .unused: 0 },
11603
11604 { .fix_name: zVa_I960_MacroName, .file_list: zVa_I960_MacroList,
11605 apzVa_I960_MacroMachs,
11606 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11607 .p_test_desc: aVa_I960_MacroTests, .patch_args: apzVa_I960_MacroPatch, .unused: 0 },
11608
11609 { .fix_name: zVms_Add_Missing_BracesName, .file_list: zVms_Add_Missing_BracesList,
11610 .papz_machs: apzVms_Add_Missing_BracesMachs,
11611 VMS_ADD_MISSING_BRACES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11612 .p_test_desc: aVms_Add_Missing_BracesTests, .patch_args: apzVms_Add_Missing_BracesPatch, .unused: 0 },
11613
11614 { .fix_name: zVms_Decc_BuiltinName, .file_list: zVms_Decc_BuiltinList,
11615 .papz_machs: apzVms_Decc_BuiltinMachs,
11616 VMS_DECC_BUILTIN_TEST_CT, FD_MACH_ONLY,
11617 .p_test_desc: aVms_Decc_BuiltinTests, .patch_args: apzVms_Decc_BuiltinPatch, .unused: 0 },
11618
11619 { .fix_name: zVms_Define_Can_Use_Extern_PrefixName, .file_list: zVms_Define_Can_Use_Extern_PrefixList,
11620 .papz_machs: apzVms_Define_Can_Use_Extern_PrefixMachs,
11621 VMS_DEFINE_CAN_USE_EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11622 .p_test_desc: aVms_Define_Can_Use_Extern_PrefixTests, .patch_args: apzVms_Define_Can_Use_Extern_PrefixPatch, .unused: 0 },
11623
11624 { .fix_name: zVms_Disable_Decc_String_BuiltinsName, .file_list: zVms_Disable_Decc_String_BuiltinsList,
11625 .papz_machs: apzVms_Disable_Decc_String_BuiltinsMachs,
11626 VMS_DISABLE_DECC_STRING_BUILTINS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11627 .p_test_desc: aVms_Disable_Decc_String_BuiltinsTests, .patch_args: apzVms_Disable_Decc_String_BuiltinsPatch, .unused: 0 },
11628
11629 { .fix_name: zVms_Do_Not_Redeclare_HostaliasName, .file_list: zVms_Do_Not_Redeclare_HostaliasList,
11630 .papz_machs: apzVms_Do_Not_Redeclare_HostaliasMachs,
11631 VMS_DO_NOT_REDECLARE_HOSTALIAS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11632 .p_test_desc: aVms_Do_Not_Redeclare_HostaliasTests, .patch_args: apzVms_Do_Not_Redeclare_HostaliasPatch, .unused: 0 },
11633
11634 { .fix_name: zVms_Forward_Declare_StructName, .file_list: zVms_Forward_Declare_StructList,
11635 .papz_machs: apzVms_Forward_Declare_StructMachs,
11636 VMS_FORWARD_DECLARE_STRUCT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11637 .p_test_desc: aVms_Forward_Declare_StructTests, .patch_args: apzVms_Forward_Declare_StructPatch, .unused: 0 },
11638
11639 { .fix_name: zVms_No_64bit_GetoptName, .file_list: zVms_No_64bit_GetoptList,
11640 .papz_machs: apzVms_No_64bit_GetoptMachs,
11641 VMS_NO_64BIT_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11642 .p_test_desc: aVms_No_64bit_GetoptTests, .patch_args: apzVms_No_64bit_GetoptPatch, .unused: 0 },
11643
11644 { .fix_name: zVms_Use_Fast_SetjmpName, .file_list: zVms_Use_Fast_SetjmpList,
11645 .papz_machs: apzVms_Use_Fast_SetjmpMachs,
11646 VMS_USE_FAST_SETJMP_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11647 .p_test_desc: aVms_Use_Fast_SetjmpTests, .patch_args: apzVms_Use_Fast_SetjmpPatch, .unused: 0 },
11648
11649 { .fix_name: zVms_Use_Pragma_Extern_ModelName, zVms_Use_Pragma_Extern_ModelList,
11650 .papz_machs: apzVms_Use_Pragma_Extern_ModelMachs,
11651 VMS_USE_PRAGMA_EXTERN_MODEL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11652 .p_test_desc: aVms_Use_Pragma_Extern_ModelTests, .patch_args: apzVms_Use_Pragma_Extern_ModelPatch, .unused: 0 },
11653
11654 { .fix_name: zVms_Use_Quoted_IncludeName, .file_list: zVms_Use_Quoted_IncludeList,
11655 .papz_machs: apzVms_Use_Quoted_IncludeMachs,
11656 VMS_USE_QUOTED_INCLUDE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11657 .p_test_desc: aVms_Use_Quoted_IncludeTests, .patch_args: apzVms_Use_Quoted_IncludePatch, .unused: 0 },
11658
11659 { .fix_name: zVoid_NullName, .file_list: zVoid_NullList,
11660 apzVoid_NullMachs,
11661 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11662 .p_test_desc: aVoid_NullTests, .patch_args: apzVoid_NullPatch, .unused: 0 },
11663
11664 { .fix_name: zVxworks_Gcc_ProblemName, .file_list: zVxworks_Gcc_ProblemList,
11665 apzVxworks_Gcc_ProblemMachs,
11666 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
11667 .p_test_desc: aVxworks_Gcc_ProblemTests, .patch_args: apzVxworks_Gcc_ProblemPatch, .unused: 0 },
11668
11669 { .fix_name: zVxworks_Ioctl_MacroName, .file_list: zVxworks_Ioctl_MacroList,
11670 .papz_machs: apzVxworks_Ioctl_MacroMachs,
11671 VXWORKS_IOCTL_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11672 aVxworks_Ioctl_MacroTests, .patch_args: apzVxworks_Ioctl_MacroPatch, .unused: 0 },
11673
11674 { .fix_name: zVxworks_Math_H_Fp_C99Name, .file_list: zVxworks_Math_H_Fp_C99List,
11675 .papz_machs: apzVxworks_Math_H_Fp_C99Machs,
11676 VXWORKS_MATH_H_FP_C99_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11677 .p_test_desc: aVxworks_Math_H_Fp_C99Tests, .patch_args: apzVxworks_Math_H_Fp_C99Patch, .unused: 0 },
11678
11679 { .fix_name: zVxworks_Posix_MkdirName, .file_list: zVxworks_Posix_MkdirList,
11680 .papz_machs: apzVxworks_Posix_MkdirMachs,
11681 VXWORKS_POSIX_MKDIR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11682 aVxworks_Posix_MkdirTests, .patch_args: apzVxworks_Posix_MkdirPatch, .unused: 0 },
11683
11684 { .fix_name: zVxworks_Needs_VxtypesName, .file_list: zVxworks_Needs_VxtypesList,
11685 apzVxworks_Needs_VxtypesMachs,
11686 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11687 .p_test_desc: aVxworks_Needs_VxtypesTests, .patch_args: apzVxworks_Needs_VxtypesPatch, .unused: 0 },
11688
11689 { .fix_name: zVxworks_Needs_VxworksName, .file_list: zVxworks_Needs_VxworksList,
11690 apzVxworks_Needs_VxworksMachs,
11691 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
11692 .p_test_desc: aVxworks_Needs_VxworksTests, .patch_args: apzVxworks_Needs_VxworksPatch, .unused: 0 },
11693
11694 { .fix_name: zVxworks_Next_YvalsName, .file_list: zVxworks_Next_YvalsList,
11695 .papz_machs: apzVxworks_Next_YvalsMachs,
11696 VXWORKS_NEXT_YVALS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11697 .p_test_desc: aVxworks_Next_YvalsTests, .patch_args: apzVxworks_Next_YvalsPatch, .unused: 0 },
11698
11699 { .fix_name: zVxworks_RegsName, zVxworks_RegsList,
11700 .papz_machs: apzVxworks_RegsMachs,
11701 VXWORKS_REGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11702 .p_test_desc: aVxworks_RegsTests, .patch_args: apzVxworks_RegsPatch, .unused: 0 },
11703
11704 { .fix_name: zVxworks_Posix_OpenName, .file_list: zVxworks_Posix_OpenList,
11705 .papz_machs: apzVxworks_Posix_OpenMachs,
11706 VXWORKS_POSIX_OPEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11707 .p_test_desc: aVxworks_Posix_OpenTests, .patch_args: apzVxworks_Posix_OpenPatch, .unused: 0 },
11708
11709 { .fix_name: zVxworks_TimeName, .file_list: zVxworks_TimeList,
11710 apzVxworks_TimeMachs,
11711 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11712 .p_test_desc: aVxworks_TimeTests, .patch_args: apzVxworks_TimePatch, .unused: 0 },
11713
11714 { .fix_name: zVxworks_Write_ConstName, .file_list: zVxworks_Write_ConstList,
11715 .papz_machs: apzVxworks_Write_ConstMachs,
11716 VXWORKS_WRITE_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11717 aVxworks_Write_ConstTests, .patch_args: apzVxworks_Write_ConstPatch, .unused: 0 },
11718
11719 { .fix_name: zVxworks_Iolib_Include_UnistdName, .file_list: zVxworks_Iolib_Include_UnistdList,
11720 .papz_machs: apzVxworks_Iolib_Include_UnistdMachs,
11721 VXWORKS_IOLIB_INCLUDE_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11722 .p_test_desc: aVxworks_Iolib_Include_UnistdTests, .patch_args: apzVxworks_Iolib_Include_UnistdPatch, .unused: 0 },
11723
11724 { .fix_name: zVxworks_Time_H_SyslibName, .file_list: zVxworks_Time_H_SyslibList,
11725 .papz_machs: apzVxworks_Time_H_SyslibMachs,
11726 VXWORKS_TIME_H_SYSLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11727 .p_test_desc: aVxworks_Time_H_SyslibTests, .patch_args: apzVxworks_Time_H_SyslibPatch, .unused: 0 },
11728
11729 { .fix_name: zX11_ClassName, .file_list: zX11_ClassList,
11730 apzX11_ClassMachs,
11731 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11732 .p_test_desc: aX11_ClassTests, .patch_args: apzX11_ClassPatch, .unused: 0 },
11733
11734 { .fix_name: zX11_Class_UsageName, .file_list: zX11_Class_UsageList,
11735 apzX11_Class_UsageMachs,
11736 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11737 .p_test_desc: aX11_Class_UsageTests, .patch_args: apzX11_Class_UsagePatch, .unused: 0 },
11738
11739 { .fix_name: zX11_NewName, .file_list: zX11_NewList,
11740 apzX11_NewMachs,
11741 X11_NEW_TEST_CT, FD_MACH_ONLY,
11742 .p_test_desc: aX11_NewTests, .patch_args: apzX11_NewPatch, .unused: 0 },
11743
11744 { .fix_name: zX11_SprintfName, .file_list: zX11_SprintfList,
11745 apzX11_SprintfMachs,
11746 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
11747 .p_test_desc: aX11_SprintfTests, .patch_args: apzX11_SprintfPatch, .unused: 0 }
11748};
11749

source code of fixincludes/fixincl.x