1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Saturday September 18, 2004 at 10:59:03 AM MDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Sat Sep 18 10:59:03 MDT 2004
11 * You must regenerate it. Use the ./genfixes script.
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.
18 * This file contains 179 fixup descriptions.
20 * See README for more information.
22 * inclhack copyright (c) 1998, 1999, 2000, 2001
23 * The Free Software Foundation, Inc.
25 * inclhack is free software.
27 * You may redistribute it and/or modify it under the terms of the
28 * GNU General Public License, as published by the Free Software
29 * Foundation; either version 2, or (at your option) any later version.
31 * inclhack is distributed in the hope that it will be useful,
32 * but 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.
36 * You should have received a copy of the GNU General Public License
37 * along with inclhack. See the file "COPYING". If not,
38 * write to: The Free Software Foundation, Inc.,
39 * 59 Temple Place - Suite 330,
40 * Boston, MA 02111-1307, USA.
43 /* * * * * * * * * * * * * * * * * * * * * * * * * *
45 * Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
47 tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
48 "AAB_fd_zero_asm_posix_types_h";
51 * File name selection pattern
53 tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
54 "|asm/posix_types.h|";
56 * Machine/OS name selection pattern
58 tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
59 "i[34567]86-*-linux*",
63 * content bypass pattern - skip fix if pattern found
65 tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
68 #define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 1
69 static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
70 { TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL }, };
73 * Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
75 static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
76 "/* This file fixes a bug in the __FD_ZERO macro\n\
77 for older versions of the Linux kernel. */\n\
78 #ifndef _POSIX_TYPES_H_WRAPPER\n\
79 #include <features.h>\n\
80 #include_next <asm/posix_types.h>\n\n\
81 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
83 #define __FD_ZERO(fdsetp) \\\n\
86 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
87 : \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
88 : \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
89 \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
92 #define _POSIX_TYPES_H_WRAPPER\n\
93 #endif /* _POSIX_TYPES_H_WRAPPER */",
96 /* * * * * * * * * * * * * * * * * * * * * * * * * *
98 * Description of Aab_Fd_Zero_Gnu_Types_H fix
100 tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
101 "AAB_fd_zero_gnu_types_h";
104 * File name selection pattern
106 tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
109 * Machine/OS name selection pattern
111 tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
112 "i[34567]86-*-linux*",
114 #define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
115 #define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
118 * Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
120 static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
121 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
122 #ifndef _TYPES_H_WRAPPER\n\
123 #include <features.h>\n\
124 #include_next <gnu/types.h>\n\n\
125 #if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
127 # define __FD_ZERO(fdsetp) \\\\\n\
129 int __d0, __d1; \\\\\n\
130 __asm__ __volatile__(\"cld ; rep ; stosl\" \\\\\n\
131 \t: \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
132 \t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\\\n\
133 \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\\\n\
136 #define _TYPES_H_WRAPPER\n\
137 #endif /* _TYPES_H_WRAPPER */",
140 /* * * * * * * * * * * * * * * * * * * * * * * * * *
142 * Description of Aab_Fd_Zero_Selectbits_H fix
144 tSCC zAab_Fd_Zero_Selectbits_HName[] =
145 "AAB_fd_zero_selectbits_h";
148 * File name selection pattern
150 tSCC zAab_Fd_Zero_Selectbits_HList[] =
153 * Machine/OS name selection pattern
155 tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
156 "i[34567]86-*-linux*",
158 #define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
159 #define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
162 * Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
164 static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
165 "/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
166 #ifndef _SELECTBITS_H_WRAPPER\n\
167 #include <features.h>\n\
168 #include_next <selectbits.h>\n\n\
169 #if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
170 && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
171 && __GLIBC_MINOR__ == 0\n\
173 #define __FD_ZERO(fdsetp) \\\\\n\
175 int __d0, __d1; \\\\\n\
176 __asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
177 : \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
178 : \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
179 / sizeof (__fd_mask)), \\\\\n\
180 \"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
181 : \"memory\"); \\\\\n\
184 #define _SELECTBITS_H_WRAPPER\n\
185 #endif /* _SELECTBITS_H_WRAPPER */",
188 /* * * * * * * * * * * * * * * * * * * * * * * * * *
190 * Description of Aab_Solaris_Sys_Varargs_H fix
192 tSCC zAab_Solaris_Sys_Varargs_HName[] =
193 "AAB_solaris_sys_varargs_h";
196 * File name selection pattern
198 tSCC zAab_Solaris_Sys_Varargs_HList[] =
201 * Machine/OS name selection pattern
203 tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
206 #define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
207 #define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
210 * Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
212 static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
214 #include <stdarg.h>\n\
216 #include <varargs.h>\n\
220 /* * * * * * * * * * * * * * * * * * * * * * * * * *
222 * Description of Aab_Sun_Memcpy fix
224 tSCC zAab_Sun_MemcpyName[] =
228 * File name selection pattern
230 tSCC zAab_Sun_MemcpyList[] =
233 * Machine/OS name selection pattern
235 #define apzAab_Sun_MemcpyMachs (const char**)NULL
238 * content selection pattern - do fix if pattern found
240 tSCC zAab_Sun_MemcpySelect0[] =
241 "/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
243 #define AAB_SUN_MEMCPY_TEST_CT 1
244 static tTestDesc aAab_Sun_MemcpyTests[] = {
245 { TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
248 * Fix Command Arguments for Aab_Sun_Memcpy
250 static const char* apzAab_Sun_MemcpyPatch[] = {
251 "/* This file was generated by fixincludes */\n\
252 #ifndef __memory_h__\n\
253 #define __memory_h__\n\n\
255 extern void *memccpy();\n\
256 extern void *memchr();\n\
257 extern void *memcpy();\n\
258 extern void *memset();\n\
260 extern char *memccpy();\n\
261 extern char *memchr();\n\
262 extern char *memcpy();\n\
263 extern char *memset();\n\
264 #endif /* __STDC__ */\n\n\
265 extern int memcmp();\n\n\
266 #endif /* __memory_h__ */\n\
270 * Completely replace <sys/varargs.h> with a file that includes gcc's\n\
271 * stdarg.h or varargs.h files as appropriate.\n\
275 hackname = AAB_svr4_no_varargs;\n\
276 files = sys/varargs.h;\n\
277 replace = \"/* This file was generated by fixincludes. */\\n\"\n\
278 \"#ifndef _SYS_VARARGS_H\\n\"\n\
279 \"#define _SYS_VARARGS_H\\n\\n\"\n\n\
280 \"#ifdef __STDC__\\n\"\n\
281 \"#include <stdarg.h>\\n\"\n\
283 \"#include <varargs.h>\\n\"\n\
284 \"#endif\\n\\n\"\n\n\
285 \"#endif /* _SYS_VARARGS_H */\\n\";\n\
289 * Completely replace <sys/byteorder.h> with a file that implements gcc's\n\
290 * optimized byteswapping. (The original probably implemented some\n\
291 * incompatible optimized byteswapping.)\n\
294 hackname = AAB_svr4_replace_byteorder;\n\
295 mach = \"*-*-sysv4*\";\n\
296 mach = \"i[34567]86-*-sysv5*\";\n\
297 mach = \"i[34567]86-*-sco3.2v5*\";\n\
298 mach = \"i[34567]86-*-udk*\";\n\
299 mach = \"i[34567]86-*-solaris2.[0-4]\";\n\
300 mach = \"powerpcle-*-solaris2.[0-4]\";\n\
301 mach = \"sparc-*-solaris2.[0-4]\";\n\
302 mach = \"i[34567]86-sequent-ptx*\";\n\
303 files = sys/byteorder.h;\n\
304 replace = <<- _EndOfHeader_\n\
305 #ifndef _SYS_BYTEORDER_H\n\
306 #define _SYS_BYTEORDER_H\n\n\
307 /* Functions to convert `short' and `long' quantities from host byte order\n\
308 to (internet) network byte order (i.e. big-endian).\n\n\
309 Written by Ron Guilmette (rfg@ncd.com).\n\n\
310 This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
311 For big-endian machines these functions are essentially no-ops.\n\n\
312 For little-endian machines, we define the functions using specialized\n\
313 asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
314 #if !defined (__GNUC__) && !defined (__GNUG__)\n\
315 #error You lose! This file is only useful with GNU compilers.\n\
317 #ifndef __BYTE_ORDER__\n\
318 /* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
319 double underscores added at the front and back. */\n\
320 #define __LITTLE_ENDIAN__ 1234\n\
321 #define __BIG_ENDIAN__ 4321\n\
322 #define __PDP_ENDIAN__ 3412\n\
325 static __inline__ unsigned long htonl (unsigned long);\n\
326 static __inline__ unsigned short htons (unsigned int);\n\
327 static __inline__ unsigned long ntohl (unsigned long);\n\
328 static __inline__ unsigned short ntohs (unsigned int);\n\
329 #endif /* defined (__STDC__) */\n\n\
330 #if defined (__i386__)\n\n\
331 #ifndef __BYTE_ORDER__\n\
332 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
334 /* Convert a host long to a network long. */\n\n\
335 /* We must use a new-style function definition, so that this will also\n\
336 be valid for C++. */\n\
337 static __inline__ unsigned long\n\
338 htonl (unsigned long __arg)\n\
340 register unsigned long __result;\n\n\
341 __asm__ (\"xchg%B0 %b0,%h0\n\
343 xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
346 /* Convert a host short to a network short. */\n\n\
347 static __inline__ unsigned short\n\
348 htons (unsigned int __arg)\n\
350 register unsigned short __result;\n\n\
351 __asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
354 #elif (defined (__ns32k__) || defined (__vax__) || defined (__arm__))\n\n\
355 #ifndef __BYTE_ORDER__\n\
356 #define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
358 /* For other little-endian machines, using C code is just as efficient as\n\
359 using assembly code. */\n\n\
360 /* Convert a host long to a network long. */\n\n\
361 static __inline__ unsigned long\n\
362 htonl (unsigned long __arg)\n\
364 register unsigned long __result;\n\n\
365 __result = (__arg >> 24) & 0x000000ff;\n\
366 __result |= (__arg >> 8) & 0x0000ff00;\n\
367 __result |= (__arg << 8) & 0x00ff0000;\n\
368 __result |= (__arg << 24) & 0xff000000;\n\
371 /* Convert a host short to a network short. */\n\n\
372 static __inline__ unsigned short\n\
373 htons (unsigned int __arg)\n\
375 register unsigned short __result;\n\n\
376 __result = (__arg << 8) & 0xff00;\n\
377 __result |= (__arg >> 8) & 0x00ff;\n\
380 #else /* must be a big-endian machine */\n\n\
381 #ifndef __BYTE_ORDER__\n\
382 #define __BYTE_ORDER__ __BIG_ENDIAN__\n\
384 /* Convert a host long to a network long. */\n\n\
385 static __inline__ unsigned long\n\
386 htonl (unsigned long __arg)\n\
390 /* Convert a host short to a network short. */\n\n\
391 static __inline__ unsigned short\n\
392 htons (unsigned int __arg)\n\
396 #endif /* big-endian */\n\n\
397 /* Convert a network long to a host long. */\n\n\
398 static __inline__ unsigned long\n\
399 ntohl (unsigned long __arg)\n\
401 return htonl (__arg);\n\
403 /* Convert a network short to a host short. */\n\n\
404 static __inline__ unsigned short\n\
405 ntohs (unsigned int __arg)\n\
407 return htons (__arg);\n\
412 /* * * * * * * * * * * * * * * * * * * * * * * * * *
414 * Description of Aab_Ultrix_Ansi_Compat fix
416 tSCC zAab_Ultrix_Ansi_CompatName[] =
417 "AAB_ultrix_ansi_compat";
420 * File name selection pattern
422 tSCC zAab_Ultrix_Ansi_CompatList[] =
425 * Machine/OS name selection pattern
427 #define apzAab_Ultrix_Ansi_CompatMachs (const char**)NULL
430 * content selection pattern - do fix if pattern found
432 tSCC zAab_Ultrix_Ansi_CompatSelect0[] =
435 #define AAB_ULTRIX_ANSI_COMPAT_TEST_CT 1
436 static tTestDesc aAab_Ultrix_Ansi_CompatTests[] = {
437 { TT_EGREP, zAab_Ultrix_Ansi_CompatSelect0, (regex_t*)NULL }, };
440 * Fix Command Arguments for Aab_Ultrix_Ansi_Compat
442 static const char* apzAab_Ultrix_Ansi_CompatPatch[] = {
443 "/* This file intentionally left blank. */\n",
446 /* * * * * * * * * * * * * * * * * * * * * * * * * *
448 * Description of Aab_Ultrix_Limits fix
450 tSCC zAab_Ultrix_LimitsName[] =
454 * File name selection pattern
456 tSCC zAab_Ultrix_LimitsList[] =
459 * Machine/OS name selection pattern
461 tSCC* apzAab_Ultrix_LimitsMachs[] = {
464 #define AAB_ULTRIX_LIMITS_TEST_CT 0
465 #define aAab_Ultrix_LimitsTests (tTestDesc*)NULL
468 * Fix Command Arguments for Aab_Ultrix_Limits
470 static const char* apzAab_Ultrix_LimitsPatch[] = {
471 "#ifndef _LIMITS_INCLUDED\n\
472 #define _LIMITS_INCLUDED\n\
473 #include <sys/limits.h>\n\
474 #endif /* _LIMITS_INCLUDED */",
477 /* * * * * * * * * * * * * * * * * * * * * * * * * *
479 * Description of Aab_Ultrix_Memory fix
481 tSCC zAab_Ultrix_MemoryName[] =
485 * File name selection pattern
487 tSCC zAab_Ultrix_MemoryList[] =
490 * Machine/OS name selection pattern
492 tSCC* apzAab_Ultrix_MemoryMachs[] = {
495 #define AAB_ULTRIX_MEMORY_TEST_CT 0
496 #define aAab_Ultrix_MemoryTests (tTestDesc*)NULL
499 * Fix Command Arguments for Aab_Ultrix_Memory
501 static const char* apzAab_Ultrix_MemoryPatch[] = {
502 "#ifndef _MEMORY_INCLUDED\n\
503 #define _MEMORY_INCLUDED\n\
504 #include <strings.h>\n\
505 #endif /* _MEMORY_INCLUDED */",
508 /* * * * * * * * * * * * * * * * * * * * * * * * * *
510 * Description of Aab_Ultrix_String fix
512 tSCC zAab_Ultrix_StringName[] =
516 * File name selection pattern
518 tSCC zAab_Ultrix_StringList[] =
521 * Machine/OS name selection pattern
523 tSCC* apzAab_Ultrix_StringMachs[] = {
526 #define AAB_ULTRIX_STRING_TEST_CT 0
527 #define aAab_Ultrix_StringTests (tTestDesc*)NULL
530 * Fix Command Arguments for Aab_Ultrix_String
532 static const char* apzAab_Ultrix_StringPatch[] = {
533 "#ifndef _STRING_INCLUDED\n\
534 #define _STRING_INCLUDED\n\
535 #include <strings.h>\n\
536 #endif /* _STRING_INCLUDED */",
539 /* * * * * * * * * * * * * * * * * * * * * * * * * *
541 * Description of Aix_Pthread fix
543 tSCC zAix_PthreadName[] =
547 * File name selection pattern
549 tSCC zAix_PthreadList[] =
552 * Machine/OS name selection pattern
554 #define apzAix_PthreadMachs (const char**)NULL
557 * content selection pattern - do fix if pattern found
559 tSCC zAix_PthreadSelect0[] =
560 "(#define [A-Za-z_0-9]+)(\\\\\n\
564 #define AIX_PTHREAD_TEST_CT 1
565 static tTestDesc aAix_PthreadTests[] = {
566 { TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
569 * Fix Command Arguments for Aix_Pthread
571 static const char* apzAix_PthreadPatch[] = {
576 /* * * * * * * * * * * * * * * * * * * * * * * * * *
578 * Description of Aix_Sysmachine fix
580 tSCC zAix_SysmachineName[] =
584 * File name selection pattern
586 tSCC zAix_SysmachineList[] =
589 * Machine/OS name selection pattern
591 #define apzAix_SysmachineMachs (const char**)NULL
594 * content selection pattern - do fix if pattern found
596 tSCC zAix_SysmachineSelect0[] =
599 #define AIX_SYSMACHINE_TEST_CT 1
600 static tTestDesc aAix_SysmachineTests[] = {
601 { TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
604 * Fix Command Arguments for Aix_Sysmachine
606 static const char* apzAix_SysmachinePatch[] = {
611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
613 * Description of Aix_Syswait fix
615 tSCC zAix_SyswaitName[] =
619 * File name selection pattern
621 tSCC zAix_SyswaitList[] =
624 * Machine/OS name selection pattern
626 #define apzAix_SyswaitMachs (const char**)NULL
629 * content selection pattern - do fix if pattern found
631 tSCC zAix_SyswaitSelect0[] =
632 "^extern pid_t wait3\\(\\);\n";
633 tSCC zAix_SyswaitSelect1[] =
636 #define AIX_SYSWAIT_TEST_CT 2
637 static tTestDesc aAix_SyswaitTests[] = {
638 { TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
639 { TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
642 * Fix Command Arguments for Aix_Syswait
644 static const char* apzAix_SyswaitPatch[] = {
650 /* * * * * * * * * * * * * * * * * * * * * * * * * *
652 * Description of Aix_Syswait_2 fix
654 tSCC zAix_Syswait_2Name[] =
658 * File name selection pattern
660 tSCC zAix_Syswait_2List[] =
663 * Machine/OS name selection pattern
665 #define apzAix_Syswait_2Machs (const char**)NULL
668 * content selection pattern - do fix if pattern found
670 tSCC zAix_Syswait_2Select0[] =
671 "\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
673 #define AIX_SYSWAIT_2_TEST_CT 1
674 static tTestDesc aAix_Syswait_2Tests[] = {
675 { TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
678 * Fix Command Arguments for Aix_Syswait_2
680 static const char* apzAix_Syswait_2Patch[] = {
685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
687 * Description of Aix_Volatile fix
689 tSCC zAix_VolatileName[] =
693 * File name selection pattern
695 tSCC zAix_VolatileList[] =
698 * Machine/OS name selection pattern
700 #define apzAix_VolatileMachs (const char**)NULL
703 * content selection pattern - do fix if pattern found
705 tSCC zAix_VolatileSelect0[] =
706 "typedef volatile int sig_atomic_t";
708 #define AIX_VOLATILE_TEST_CT 1
709 static tTestDesc aAix_VolatileTests[] = {
710 { TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
713 * Fix Command Arguments for Aix_Volatile
715 static const char* apzAix_VolatilePatch[] = {
717 "typedef int sig_atomic_t",
720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
722 * Description of Alpha___Assert fix
724 tSCC zAlpha___AssertName[] =
728 * File name selection pattern
730 tSCC zAlpha___AssertList[] =
733 * Machine/OS name selection pattern
735 #define apzAlpha___AssertMachs (const char**)NULL
738 * content selection pattern - do fix if pattern found
740 tSCC zAlpha___AssertSelect0[] =
741 "__assert\\(char \\*, char \\*, int\\)";
743 #define ALPHA___ASSERT_TEST_CT 1
744 static tTestDesc aAlpha___AssertTests[] = {
745 { TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
748 * Fix Command Arguments for Alpha___Assert
750 static const char* apzAlpha___AssertPatch[] = {
752 "__assert(const char *, const char *, int)",
755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
757 * Description of Alpha___Extern_Prefix fix
759 tSCC zAlpha___Extern_PrefixName[] =
760 "alpha___extern_prefix";
763 * File name selection pattern
765 #define zAlpha___Extern_PrefixList (char*)NULL
767 * Machine/OS name selection pattern
769 tSCC* apzAlpha___Extern_PrefixMachs[] = {
774 * content selection pattern - do fix if pattern found
776 tSCC zAlpha___Extern_PrefixSelect0[] =
777 "(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
778 (#[ \t]*pragma[ \t]*extern_prefix.*)";
780 #define ALPHA___EXTERN_PREFIX_TEST_CT 1
781 static tTestDesc aAlpha___Extern_PrefixTests[] = {
782 { TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
785 * Fix Command Arguments for Alpha___Extern_Prefix
787 static const char* apzAlpha___Extern_PrefixPatch[] = {
789 "%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
793 /* * * * * * * * * * * * * * * * * * * * * * * * * *
795 * Description of Alpha___Extern_Prefix_Standards fix
797 tSCC zAlpha___Extern_Prefix_StandardsName[] =
798 "alpha___extern_prefix_standards";
801 * File name selection pattern
803 tSCC zAlpha___Extern_Prefix_StandardsList[] =
806 * Machine/OS name selection pattern
808 tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
813 * content selection pattern - do fix if pattern found
815 tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
816 ".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
818 #define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
819 static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
820 { TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
823 * Fix Command Arguments for Alpha___Extern_Prefix_Standards
825 static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
827 "%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
832 * Description of Alpha___Extern_Prefix_Sys_Stat fix
834 tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
835 "alpha___extern_prefix_sys_stat";
838 * File name selection pattern
840 tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
841 "|sys/stat.h|sys/mount.h|";
843 * Machine/OS name selection pattern
845 tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
850 * content selection pattern - do fix if pattern found
852 tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
853 "#[ \t]*if[ \t]*defined\\(__DECC\\)";
855 #define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
856 static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
857 { TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
860 * Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
862 static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
864 "%0 || defined(__PRAGMA_EXTERN_PREFIX)",
867 /* * * * * * * * * * * * * * * * * * * * * * * * * *
869 * Description of Alpha_Assert fix
871 tSCC zAlpha_AssertName[] =
875 * File name selection pattern
877 tSCC zAlpha_AssertList[] =
880 * Machine/OS name selection pattern
882 #define apzAlpha_AssertMachs (const char**)NULL
885 * content selection pattern - do fix if pattern found
887 tSCC zAlpha_AssertSelect0[] =
888 "(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
890 #define ALPHA_ASSERT_TEST_CT 1
891 static tTestDesc aAlpha_AssertTests[] = {
892 { TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
895 * Fix Command Arguments for Alpha_Assert
897 static const char* apzAlpha_AssertPatch[] = {
902 /* * * * * * * * * * * * * * * * * * * * * * * * * *
904 * Description of Alpha_Bad_Lval fix
906 tSCC zAlpha_Bad_LvalName[] =
910 * File name selection pattern
912 #define zAlpha_Bad_LvalList (char*)NULL
914 * Machine/OS name selection pattern
916 tSCC* apzAlpha_Bad_LvalMachs[] = {
921 * content selection pattern - do fix if pattern found
923 tSCC zAlpha_Bad_LvalSelect0[] =
924 "^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
926 #define ALPHA_BAD_LVAL_TEST_CT 1
927 static tTestDesc aAlpha_Bad_LvalTests[] = {
928 { TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
931 * Fix Command Arguments for Alpha_Bad_Lval
933 static const char* apzAlpha_Bad_LvalPatch[] = { "sed",
934 "-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
937 /* * * * * * * * * * * * * * * * * * * * * * * * * *
939 * Description of Alpha_Getopt fix
941 tSCC zAlpha_GetoptName[] =
945 * File name selection pattern
947 tSCC zAlpha_GetoptList[] =
948 "|stdio.h|stdlib.h|";
950 * Machine/OS name selection pattern
952 #define apzAlpha_GetoptMachs (const char**)NULL
955 * content selection pattern - do fix if pattern found
957 tSCC zAlpha_GetoptSelect0[] =
958 "getopt\\(int, char \\*\\[\\], *char \\*\\)";
960 #define ALPHA_GETOPT_TEST_CT 1
961 static tTestDesc aAlpha_GetoptTests[] = {
962 { TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
965 * Fix Command Arguments for Alpha_Getopt
967 static const char* apzAlpha_GetoptPatch[] = {
969 "getopt(int, char *const[], const char *)",
972 /* * * * * * * * * * * * * * * * * * * * * * * * * *
974 * Description of Alpha_Parens fix
976 tSCC zAlpha_ParensName[] =
980 * File name selection pattern
982 tSCC zAlpha_ParensList[] =
985 * Machine/OS name selection pattern
987 #define apzAlpha_ParensMachs (const char**)NULL
990 * content selection pattern - do fix if pattern found
992 tSCC zAlpha_ParensSelect0[] =
993 "#ifndef\\(__mips64\\)";
995 #define ALPHA_PARENS_TEST_CT 1
996 static tTestDesc aAlpha_ParensTests[] = {
997 { TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
1000 * Fix Command Arguments for Alpha_Parens
1002 static const char* apzAlpha_ParensPatch[] = {
1007 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1009 * Description of Alpha_Pthread fix
1011 tSCC zAlpha_PthreadName[] =
1015 * File name selection pattern
1017 tSCC zAlpha_PthreadList[] =
1020 * Machine/OS name selection pattern
1022 tSCC* apzAlpha_PthreadMachs[] = {
1024 (const char*)NULL };
1027 * content selection pattern - do fix if pattern found
1029 tSCC zAlpha_PthreadSelect0[] =
1030 "((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
1031 (#[ \t]*define _PTHREAD_USE_PTDNAM_)";
1033 #define ALPHA_PTHREAD_TEST_CT 1
1034 static tTestDesc aAlpha_PthreadTests[] = {
1035 { TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
1038 * Fix Command Arguments for Alpha_Pthread
1040 static const char* apzAlpha_PthreadPatch[] = {
1042 "%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
1046 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1048 * Description of Alpha_Pthread_Gcc fix
1050 tSCC zAlpha_Pthread_GccName[] =
1051 "alpha_pthread_gcc";
1054 * File name selection pattern
1056 tSCC zAlpha_Pthread_GccList[] =
1059 * Machine/OS name selection pattern
1061 tSCC* apzAlpha_Pthread_GccMachs[] = {
1063 (const char*)NULL };
1066 * content selection pattern - do fix if pattern found
1068 tSCC zAlpha_Pthread_GccSelect0[] =
1070 # error <pthread.h>: unrecognized compiler.";
1072 #define ALPHA_PTHREAD_GCC_TEST_CT 1
1073 static tTestDesc aAlpha_Pthread_GccTests[] = {
1074 { TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
1077 * Fix Command Arguments for Alpha_Pthread_Gcc
1079 static const char* apzAlpha_Pthread_GccPatch[] = {
1081 "#elif defined (__GNUC__)\n\
1082 # define _PTHREAD_ENV_GCC\n\
1086 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1088 * Description of Alpha_Sbrk fix
1090 tSCC zAlpha_SbrkName[] =
1094 * File name selection pattern
1096 tSCC zAlpha_SbrkList[] =
1099 * Machine/OS name selection pattern
1101 #define apzAlpha_SbrkMachs (const char**)NULL
1104 * content selection pattern - do fix if pattern found
1106 tSCC zAlpha_SbrkSelect0[] =
1107 "char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
1109 #define ALPHA_SBRK_TEST_CT 1
1110 static tTestDesc aAlpha_SbrkTests[] = {
1111 { TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
1114 * Fix Command Arguments for Alpha_Sbrk
1116 static const char* apzAlpha_SbrkPatch[] = {
1121 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1123 * Description of Alpha_Wchar fix
1125 tSCC zAlpha_WcharName[] =
1129 * File name selection pattern
1131 tSCC zAlpha_WcharList[] =
1134 * Machine/OS name selection pattern
1136 tSCC* apzAlpha_WcharMachs[] = {
1138 (const char*)NULL };
1141 * content selection pattern - do fix if pattern found
1143 tSCC zAlpha_WcharSelect0[] =
1144 "#define wcstok wcstok_r";
1146 #define ALPHA_WCHAR_TEST_CT 1
1147 static tTestDesc aAlpha_WcharTests[] = {
1148 { TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
1151 * Fix Command Arguments for Alpha_Wchar
1153 static const char* apzAlpha_WcharPatch[] = { "sed",
1154 "-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
1155 "-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
1158 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1160 * Description of Avoid_Bool_Define fix
1162 tSCC zAvoid_Bool_DefineName[] =
1163 "avoid_bool_define";
1166 * File name selection pattern
1168 tSCC zAvoid_Bool_DefineList[] =
1169 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1171 * Machine/OS name selection pattern
1173 #define apzAvoid_Bool_DefineMachs (const char**)NULL
1176 * content selection pattern - do fix if pattern found
1178 tSCC zAvoid_Bool_DefineSelect0[] =
1179 "#[ \t]*define[ \t]+bool[ \t]";
1182 * content bypass pattern - skip fix if pattern found
1184 tSCC zAvoid_Bool_DefineBypass0[] =
1187 #define AVOID_BOOL_DEFINE_TEST_CT 2
1188 static tTestDesc aAvoid_Bool_DefineTests[] = {
1189 { TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
1190 { TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
1193 * Fix Command Arguments for Avoid_Bool_Define
1195 static const char* apzAvoid_Bool_DefinePatch[] = {
1197 "#ifndef __cplusplus\n\
1200 "^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
1203 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1205 * Description of Avoid_Bool_Type fix
1207 tSCC zAvoid_Bool_TypeName[] =
1211 * File name selection pattern
1213 tSCC zAvoid_Bool_TypeList[] =
1214 "|curses.h|curses_colr/curses.h|term.h|tinfo.h|";
1216 * Machine/OS name selection pattern
1218 #define apzAvoid_Bool_TypeMachs (const char**)NULL
1221 * content selection pattern - do fix if pattern found
1223 tSCC zAvoid_Bool_TypeSelect0[] =
1224 "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
1227 * content bypass pattern - skip fix if pattern found
1229 tSCC zAvoid_Bool_TypeBypass0[] =
1232 #define AVOID_BOOL_TYPE_TEST_CT 2
1233 static tTestDesc aAvoid_Bool_TypeTests[] = {
1234 { TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
1235 { TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
1238 * Fix Command Arguments for Avoid_Bool_Type
1240 static const char* apzAvoid_Bool_TypePatch[] = {
1242 "#ifndef __cplusplus\n\
1247 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1249 * Description of Avoid_Wchar_T_Type fix
1251 tSCC zAvoid_Wchar_T_TypeName[] =
1252 "avoid_wchar_t_type";
1255 * File name selection pattern
1257 #define zAvoid_Wchar_T_TypeList (char*)NULL
1259 * Machine/OS name selection pattern
1261 #define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
1264 * content selection pattern - do fix if pattern found
1266 tSCC zAvoid_Wchar_T_TypeSelect0[] =
1267 "^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
1270 * content bypass pattern - skip fix if pattern found
1272 tSCC zAvoid_Wchar_T_TypeBypass0[] =
1274 tSCC zAvoid_Wchar_T_TypeBypass1[] =
1276 tSCC zAvoid_Wchar_T_TypeBypass2[] =
1277 "XFree86: xc/lib/X11/Xlib\\.h";
1279 #define AVOID_WCHAR_T_TYPE_TEST_CT 4
1280 static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
1281 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
1282 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
1283 { TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
1284 { TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
1287 * Fix Command Arguments for Avoid_Wchar_T_Type
1289 static const char* apzAvoid_Wchar_T_TypePatch[] = {
1291 "#ifndef __cplusplus\n\
1296 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1298 * Description of Bad_Struct_Term fix
1300 tSCC zBad_Struct_TermName[] =
1304 * File name selection pattern
1306 tSCC zBad_Struct_TermList[] =
1309 * Machine/OS name selection pattern
1311 #define apzBad_Struct_TermMachs (const char**)NULL
1314 * content selection pattern - do fix if pattern found
1316 tSCC zBad_Struct_TermSelect0[] =
1317 "^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
1319 #define BAD_STRUCT_TERM_TEST_CT 1
1320 static tTestDesc aBad_Struct_TermTests[] = {
1321 { TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
1324 * Fix Command Arguments for Bad_Struct_Term
1326 static const char* apzBad_Struct_TermPatch[] = {
1331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1333 * Description of Badquote fix
1335 tSCC zBadquoteName[] =
1339 * File name selection pattern
1341 tSCC zBadquoteList[] =
1342 "|sundev/vuid_event.h|";
1344 * Machine/OS name selection pattern
1346 #define apzBadquoteMachs (const char**)NULL
1349 * content selection pattern - do fix if pattern found
1351 tSCC zBadquoteSelect0[] =
1354 #define BADQUOTE_TEST_CT 1
1355 static tTestDesc aBadquoteTests[] = {
1356 { TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
1359 * Fix Command Arguments for Badquote
1361 static const char* apzBadquotePatch[] = {
1366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1368 * Description of Broken_Assert_Stdio fix
1370 tSCC zBroken_Assert_StdioName[] =
1371 "broken_assert_stdio";
1374 * File name selection pattern
1376 tSCC zBroken_Assert_StdioList[] =
1379 * Machine/OS name selection pattern
1381 #define apzBroken_Assert_StdioMachs (const char**)NULL
1384 * content selection pattern - do fix if pattern found
1386 tSCC zBroken_Assert_StdioSelect0[] =
1390 * content bypass pattern - skip fix if pattern found
1392 tSCC zBroken_Assert_StdioBypass0[] =
1393 "include.*stdio\\.h";
1395 #define BROKEN_ASSERT_STDIO_TEST_CT 2
1396 static tTestDesc aBroken_Assert_StdioTests[] = {
1397 { TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
1398 { TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
1401 * Fix Command Arguments for Broken_Assert_Stdio
1403 static const char* apzBroken_Assert_StdioPatch[] = {
1405 "#include <stdio.h>\n",
1408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1410 * Description of Broken_Assert_Stdlib fix
1412 tSCC zBroken_Assert_StdlibName[] =
1413 "broken_assert_stdlib";
1416 * File name selection pattern
1418 tSCC zBroken_Assert_StdlibList[] =
1421 * Machine/OS name selection pattern
1423 #define apzBroken_Assert_StdlibMachs (const char**)NULL
1426 * content selection pattern - do fix if pattern found
1428 tSCC zBroken_Assert_StdlibSelect0[] =
1429 "exit *\\(|abort *\\(";
1432 * content bypass pattern - skip fix if pattern found
1434 tSCC zBroken_Assert_StdlibBypass0[] =
1435 "include.*stdlib\\.h";
1437 #define BROKEN_ASSERT_STDLIB_TEST_CT 2
1438 static tTestDesc aBroken_Assert_StdlibTests[] = {
1439 { TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
1440 { TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
1443 * Fix Command Arguments for Broken_Assert_Stdlib
1445 static const char* apzBroken_Assert_StdlibPatch[] = {
1447 "#ifdef __cplusplus\n\
1448 #include <stdlib.h>\n\
1452 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1454 * Description of Broken_Cabs fix
1456 tSCC zBroken_CabsName[] =
1460 * File name selection pattern
1462 tSCC zBroken_CabsList[] =
1463 "|math.h|architecture/ppc/math.h|architecture/i386/math.h|";
1465 * Machine/OS name selection pattern
1467 #define apzBroken_CabsMachs (const char**)NULL
1470 * content selection pattern - do fix if pattern found
1472 tSCC zBroken_CabsSelect0[] =
1473 "^extern[ \\t]+double[ \\t]+cabs";
1475 #define BROKEN_CABS_TEST_CT 1
1476 static tTestDesc aBroken_CabsTests[] = {
1477 { TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
1480 * Fix Command Arguments for Broken_Cabs
1482 static const char* apzBroken_CabsPatch[] = {
1485 "^extern[ \t]+double[ \t]+cabs[ \t]*\\([^\\)]*\\);",
1488 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1490 * Description of Bsd_Stdio_Attrs_Conflict fix
1492 tSCC zBsd_Stdio_Attrs_ConflictName[] =
1493 "bsd_stdio_attrs_conflict";
1496 * File name selection pattern
1498 tSCC zBsd_Stdio_Attrs_ConflictList[] =
1501 * Machine/OS name selection pattern
1503 tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
1506 (const char*)NULL };
1509 * content selection pattern - do fix if pattern found
1511 tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
1512 "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
1514 #define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
1515 static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
1516 { TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
1519 * Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
1521 static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
1523 "#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
1524 #define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
1525 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
1528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1530 * Description of Ctrl_Quotes_Def fix
1532 tSCC zCtrl_Quotes_DefName[] =
1536 * File name selection pattern
1538 #define zCtrl_Quotes_DefList (char*)NULL
1540 * Machine/OS name selection pattern
1542 #define apzCtrl_Quotes_DefMachs (const char**)NULL
1545 * content selection pattern - do fix if pattern found
1547 tSCC zCtrl_Quotes_DefSelect0[] =
1548 "define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
1550 #define CTRL_QUOTES_DEF_TEST_CT 1
1551 static tTestDesc aCtrl_Quotes_DefTests[] = {
1552 { TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
1555 * Fix Command Arguments for Ctrl_Quotes_Def
1557 static const char* apzCtrl_Quotes_DefPatch[] = {
1562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1564 * Description of Ctrl_Quotes_Use fix
1566 tSCC zCtrl_Quotes_UseName[] =
1570 * File name selection pattern
1572 #define zCtrl_Quotes_UseList (char*)NULL
1574 * Machine/OS name selection pattern
1576 #define apzCtrl_Quotes_UseMachs (const char**)NULL
1579 * content selection pattern - do fix if pattern found
1581 tSCC zCtrl_Quotes_UseSelect0[] =
1582 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
1584 #define CTRL_QUOTES_USE_TEST_CT 1
1585 static tTestDesc aCtrl_Quotes_UseTests[] = {
1586 { TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
1589 * Fix Command Arguments for Ctrl_Quotes_Use
1591 static const char* apzCtrl_Quotes_UsePatch[] = {
1596 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1598 * Description of Cxx_Unready fix
1600 tSCC zCxx_UnreadyName[] =
1604 * File name selection pattern
1606 tSCC zCxx_UnreadyList[] =
1607 "|sys/mman.h|rpc/types.h|";
1609 * Machine/OS name selection pattern
1611 #define apzCxx_UnreadyMachs (const char**)NULL
1614 * content selection pattern - do fix if pattern found
1616 tSCC zCxx_UnreadySelect0[] =
1620 * content bypass pattern - skip fix if pattern found
1622 tSCC zCxx_UnreadyBypass0[] =
1623 "\"C\"|__BEGIN_DECLS";
1625 #define CXX_UNREADY_TEST_CT 2
1626 static tTestDesc aCxx_UnreadyTests[] = {
1627 { TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
1628 { TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
1631 * Fix Command Arguments for Cxx_Unready
1633 static const char* apzCxx_UnreadyPatch[] = {
1635 "#ifdef __cplusplus\n\
1638 "#ifdef __cplusplus\n\
1643 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1645 * Description of Darwin_Private_Extern fix
1647 tSCC zDarwin_Private_ExternName[] =
1648 "darwin_private_extern";
1651 * File name selection pattern
1653 tSCC zDarwin_Private_ExternList[] =
1656 * Machine/OS name selection pattern
1658 tSCC* apzDarwin_Private_ExternMachs[] = {
1660 (const char*)NULL };
1663 * content selection pattern - do fix if pattern found
1665 tSCC zDarwin_Private_ExternSelect0[] =
1666 "__private_extern__ [a-z_]+ _dyld_";
1668 #define DARWIN_PRIVATE_EXTERN_TEST_CT 1
1669 static tTestDesc aDarwin_Private_ExternTests[] = {
1670 { TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
1673 * Fix Command Arguments for Darwin_Private_Extern
1675 static const char* apzDarwin_Private_ExternPatch[] = {
1678 "__private_extern__",
1681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1683 * Description of Dec_Intern_Asm fix
1685 tSCC zDec_Intern_AsmName[] =
1689 * File name selection pattern
1691 tSCC zDec_Intern_AsmList[] =
1694 * Machine/OS name selection pattern
1696 #define apzDec_Intern_AsmMachs (const char**)NULL
1697 #define DEC_INTERN_ASM_TEST_CT 0
1698 #define aDec_Intern_AsmTests (tTestDesc*)NULL
1701 * Fix Command Arguments for Dec_Intern_Asm
1703 static const char* apzDec_Intern_AsmPatch[] = { "sed",
1704 "-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
1706 "-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
1710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1712 * Description of Djgpp_Wchar_H fix
1714 tSCC zDjgpp_Wchar_HName[] =
1718 * File name selection pattern
1720 #define zDjgpp_Wchar_HList (char*)NULL
1722 * Machine/OS name selection pattern
1724 #define apzDjgpp_Wchar_HMachs (const char**)NULL
1727 * content selection pattern - do fix if pattern found
1729 tSCC zDjgpp_Wchar_HSelect0[] =
1733 * content bypass pattern - skip fix if pattern found
1735 tSCC zDjgpp_Wchar_HBypass0[] =
1738 #define DJGPP_WCHAR_H_TEST_CT 2
1739 static tTestDesc aDjgpp_Wchar_HTests[] = {
1740 { TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
1741 { TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
1744 * Fix Command Arguments for Djgpp_Wchar_H
1746 static const char* apzDjgpp_Wchar_HPatch[] = {
1749 #include <sys/djtypes.h>",
1750 "#include <stddef.h>",
1753 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1755 * Description of Ecd_Cursor fix
1757 tSCC zEcd_CursorName[] =
1761 * File name selection pattern
1763 tSCC zEcd_CursorList[] =
1764 "|sunwindow/win_lock.h|sunwindow/win_cursor.h|";
1766 * Machine/OS name selection pattern
1768 #define apzEcd_CursorMachs (const char**)NULL
1771 * content selection pattern - do fix if pattern found
1773 tSCC zEcd_CursorSelect0[] =
1776 #define ECD_CURSOR_TEST_CT 1
1777 static tTestDesc aEcd_CursorTests[] = {
1778 { TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
1781 * Fix Command Arguments for Ecd_Cursor
1783 static const char* apzEcd_CursorPatch[] = {
1788 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1790 * Description of Exception_Structure fix
1792 tSCC zException_StructureName[] =
1793 "exception_structure";
1796 * File name selection pattern
1798 tSCC zException_StructureList[] =
1801 * Machine/OS name selection pattern
1803 #define apzException_StructureMachs (const char**)NULL
1806 * content selection pattern - do fix if pattern found
1808 tSCC zException_StructureSelect0[] =
1812 * content bypass pattern - skip fix if pattern found
1814 tSCC zException_StructureBypass0[] =
1815 "matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
1817 #define EXCEPTION_STRUCTURE_TEST_CT 2
1818 static tTestDesc aException_StructureTests[] = {
1819 { TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
1820 { TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
1823 * Fix Command Arguments for Exception_Structure
1825 static const char* apzException_StructurePatch[] = {
1827 "struct exception;\n",
1830 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1832 * Description of Freebsd_Gcc3_Breakage fix
1834 tSCC zFreebsd_Gcc3_BreakageName[] =
1835 "freebsd_gcc3_breakage";
1838 * File name selection pattern
1840 tSCC zFreebsd_Gcc3_BreakageList[] =
1843 * Machine/OS name selection pattern
1845 tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
1847 (const char*)NULL };
1850 * content selection pattern - do fix if pattern found
1852 tSCC zFreebsd_Gcc3_BreakageSelect0[] =
1853 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
1856 * content bypass pattern - skip fix if pattern found
1858 tSCC zFreebsd_Gcc3_BreakageBypass0[] =
1859 "__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
1861 #define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
1862 static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
1863 { TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
1864 { TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
1867 * Fix Command Arguments for Freebsd_Gcc3_Breakage
1869 static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
1871 "%0 || __GNUC__ >= 3",
1874 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1876 * Description of Freebsd_Gcc4_Breakage fix
1878 tSCC zFreebsd_Gcc4_BreakageName[] =
1879 "freebsd_gcc4_breakage";
1882 * File name selection pattern
1884 tSCC zFreebsd_Gcc4_BreakageList[] =
1887 * Machine/OS name selection pattern
1889 tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
1891 (const char*)NULL };
1894 * content selection pattern - do fix if pattern found
1896 tSCC zFreebsd_Gcc4_BreakageSelect0[] =
1897 "^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
1899 #define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
1900 static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
1901 { TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
1904 * Fix Command Arguments for Freebsd_Gcc4_Breakage
1906 static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
1908 "#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
1911 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1913 * Description of Gnu_Types fix
1915 tSCC zGnu_TypesName[] =
1919 * File name selection pattern
1921 tSCC zGnu_TypesList[] =
1922 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
1924 * Machine/OS name selection pattern
1926 #define apzGnu_TypesMachs (const char**)NULL
1929 * content selection pattern - do fix if pattern found
1931 tSCC zGnu_TypesSelect0[] =
1932 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
1935 * content bypass pattern - skip fix if pattern found
1937 tSCC zGnu_TypesBypass0[] =
1938 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
1940 #define GNU_TYPES_TEST_CT 2
1941 static tTestDesc aGnu_TypesTests[] = {
1942 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
1943 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
1946 * Fix Command Arguments for Gnu_Types
1948 static const char* apzGnu_TypesPatch[] = {
1952 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1954 * Description of Hp_Inline fix
1956 tSCC zHp_InlineName[] =
1960 * File name selection pattern
1962 tSCC zHp_InlineList[] =
1963 "|sys/spinlock.h|machine/machparam.h|";
1965 * Machine/OS name selection pattern
1967 #define apzHp_InlineMachs (const char**)NULL
1970 * content selection pattern - do fix if pattern found
1972 tSCC zHp_InlineSelect0[] =
1973 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1975 #define HP_INLINE_TEST_CT 1
1976 static tTestDesc aHp_InlineTests[] = {
1977 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1980 * Fix Command Arguments for Hp_Inline
1982 static const char* apzHp_InlinePatch[] = {
1985 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1988 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1990 * Description of Hp_Sysfile fix
1992 tSCC zHp_SysfileName[] =
1996 * File name selection pattern
1998 tSCC zHp_SysfileList[] =
2001 * Machine/OS name selection pattern
2003 #define apzHp_SysfileMachs (const char**)NULL
2006 * content selection pattern - do fix if pattern found
2008 tSCC zHp_SysfileSelect0[] =
2011 #define HP_SYSFILE_TEST_CT 1
2012 static tTestDesc aHp_SysfileTests[] = {
2013 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
2016 * Fix Command Arguments for Hp_Sysfile
2018 static const char* apzHp_SysfilePatch[] = {
2020 "(struct file *, ...)",
2024 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2026 * Description of Hpux10_Cpp_Pow_Inline fix
2028 tSCC zHpux10_Cpp_Pow_InlineName[] =
2029 "hpux10_cpp_pow_inline";
2032 * File name selection pattern
2034 tSCC zHpux10_Cpp_Pow_InlineList[] =
2035 "|fixinc-test-limits.h|math.h|";
2037 * Machine/OS name selection pattern
2039 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2042 * content selection pattern - do fix if pattern found
2044 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2045 "^# +ifdef +__cplusplus\n\
2047 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2048 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2050 +extern +\"C\" +\\{\n\
2054 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2055 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2056 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2059 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2061 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2068 * Description of Hpux11_Cpp_Pow_Inline fix
2070 tSCC zHpux11_Cpp_Pow_InlineName[] =
2071 "hpux11_cpp_pow_inline";
2074 * File name selection pattern
2076 tSCC zHpux11_Cpp_Pow_InlineList[] =
2079 * Machine/OS name selection pattern
2081 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2084 * content selection pattern - do fix if pattern found
2086 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2087 " +inline double pow\\(double d,int expon\\) \\{\n\
2088 +return pow\\(d, \\(double\\)expon\\);\n\
2091 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2092 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2093 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2096 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2098 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2105 * Description of Hpux10_Ctype_Declarations1 fix
2107 tSCC zHpux10_Ctype_Declarations1Name[] =
2108 "hpux10_ctype_declarations1";
2111 * File name selection pattern
2113 tSCC zHpux10_Ctype_Declarations1List[] =
2116 * Machine/OS name selection pattern
2118 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2121 * content selection pattern - do fix if pattern found
2123 tSCC zHpux10_Ctype_Declarations1Select0[] =
2124 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2127 * content bypass pattern - skip fix if pattern found
2129 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2130 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2132 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2133 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2134 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2135 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2138 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2140 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2142 "#ifdef _PROTOTYPES\n\
2143 extern int __tolower(int);\n\
2144 extern int __toupper(int);\n\
2145 #else /* NOT _PROTOTYPES */\n\
2146 extern int __tolower();\n\
2147 extern int __toupper();\n\
2148 #endif /* _PROTOTYPES */\n\n\
2152 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2154 * Description of Hpux10_Ctype_Declarations2 fix
2156 tSCC zHpux10_Ctype_Declarations2Name[] =
2157 "hpux10_ctype_declarations2";
2160 * File name selection pattern
2162 tSCC zHpux10_Ctype_Declarations2List[] =
2165 * Machine/OS name selection pattern
2167 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2170 * content selection pattern - do fix if pattern found
2172 tSCC zHpux10_Ctype_Declarations2Select0[] =
2173 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2176 * content bypass pattern - skip fix if pattern found
2178 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2179 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2181 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2182 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2183 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2184 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2187 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2189 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2192 #ifdef _PROTOTYPES\n\
2193 extern int _isalnum(int);\n\
2194 extern int _isalpha(int);\n\
2195 extern int _iscntrl(int);\n\
2196 extern int _isdigit(int);\n\
2197 extern int _isgraph(int);\n\
2198 extern int _islower(int);\n\
2199 extern int _isprint(int);\n\
2200 extern int _ispunct(int);\n\
2201 extern int _isspace(int);\n\
2202 extern int _isupper(int);\n\
2203 extern int _isxdigit(int);\n\
2204 # else /* not _PROTOTYPES */\n\
2205 extern int _isalnum();\n\
2206 extern int _isalpha();\n\
2207 extern int _iscntrl();\n\
2208 extern int _isdigit();\n\
2209 extern int _isgraph();\n\
2210 extern int _islower();\n\
2211 extern int _isprint();\n\
2212 extern int _ispunct();\n\
2213 extern int _isspace();\n\
2214 extern int _isupper();\n\
2215 extern int _isxdigit();\n\
2216 #endif /* _PROTOTYPES */\n",
2219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2221 * Description of Hpux10_Stdio_Declarations fix
2223 tSCC zHpux10_Stdio_DeclarationsName[] =
2224 "hpux10_stdio_declarations";
2227 * File name selection pattern
2229 tSCC zHpux10_Stdio_DeclarationsList[] =
2232 * Machine/OS name selection pattern
2234 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2237 * content selection pattern - do fix if pattern found
2239 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2240 "^#[ \t]*define _iob[ \t]*__iob";
2243 * content bypass pattern - skip fix if pattern found
2245 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2246 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2248 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2249 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2250 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2251 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2254 * Fix Command Arguments for Hpux10_Stdio_Declarations
2256 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2259 # if defined(__STDC__) || defined(__cplusplus)\n\
2260 extern int snprintf(char *, size_t, const char *, ...);\n\
2261 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2262 # else /* not __STDC__) || __cplusplus */\n\
2263 extern int snprintf();\n\
2264 extern int vsnprintf();\n\
2265 # endif /* __STDC__) || __cplusplus */\n",
2268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2270 * Description of Hpux11_Abs fix
2272 tSCC zHpux11_AbsName[] =
2276 * File name selection pattern
2278 tSCC zHpux11_AbsList[] =
2281 * Machine/OS name selection pattern
2283 tSCC* apzHpux11_AbsMachs[] = {
2285 (const char*)NULL };
2288 * content selection pattern - do fix if pattern found
2290 tSCC zHpux11_AbsSelect0[] =
2291 "ifndef _MATH_INCLUDED";
2293 #define HPUX11_ABS_TEST_CT 1
2294 static tTestDesc aHpux11_AbsTests[] = {
2295 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2298 * Fix Command Arguments for Hpux11_Abs
2300 static const char* apzHpux11_AbsPatch[] = {
2302 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2305 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2307 * Description of Hpux11_Fabsf fix
2309 tSCC zHpux11_FabsfName[] =
2313 * File name selection pattern
2315 tSCC zHpux11_FabsfList[] =
2318 * Machine/OS name selection pattern
2320 #define apzHpux11_FabsfMachs (const char**)NULL
2323 * content selection pattern - do fix if pattern found
2325 tSCC zHpux11_FabsfSelect0[] =
2326 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2329 * content bypass pattern - skip fix if pattern found
2331 tSCC zHpux11_FabsfBypass0[] =
2334 #define HPUX11_FABSF_TEST_CT 2
2335 static tTestDesc aHpux11_FabsfTests[] = {
2336 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2337 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2340 * Fix Command Arguments for Hpux11_Fabsf
2342 static const char* apzHpux11_FabsfPatch[] = {
2344 "#ifndef __cplusplus\n\
2349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2351 * Description of Hpux11_Size_T fix
2353 tSCC zHpux11_Size_TName[] =
2357 * File name selection pattern
2359 #define zHpux11_Size_TList (char*)NULL
2361 * Machine/OS name selection pattern
2363 tSCC* apzHpux11_Size_TMachs[] = {
2365 (const char*)NULL };
2368 * content selection pattern - do fix if pattern found
2370 tSCC zHpux11_Size_TSelect0[] =
2373 #define HPUX11_SIZE_T_TEST_CT 1
2374 static tTestDesc aHpux11_Size_TTests[] = {
2375 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2378 * Fix Command Arguments for Hpux11_Size_T
2380 static const char* apzHpux11_Size_TPatch[] = {
2385 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2387 * Description of Hpux11_Snprintf fix
2389 tSCC zHpux11_SnprintfName[] =
2393 * File name selection pattern
2395 tSCC zHpux11_SnprintfList[] =
2398 * Machine/OS name selection pattern
2400 #define apzHpux11_SnprintfMachs (const char**)NULL
2403 * content selection pattern - do fix if pattern found
2405 tSCC zHpux11_SnprintfSelect0[] =
2406 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2408 #define HPUX11_SNPRINTF_TEST_CT 1
2409 static tTestDesc aHpux11_SnprintfTests[] = {
2410 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2413 * Fix Command Arguments for Hpux11_Snprintf
2415 static const char* apzHpux11_SnprintfPatch[] = {
2420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2422 * Description of Hpux11_Uint32_C fix
2424 tSCC zHpux11_Uint32_CName[] =
2428 * File name selection pattern
2430 tSCC zHpux11_Uint32_CList[] =
2433 * Machine/OS name selection pattern
2435 #define apzHpux11_Uint32_CMachs (const char**)NULL
2438 * content selection pattern - do fix if pattern found
2440 tSCC zHpux11_Uint32_CSelect0[] =
2441 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2443 #define HPUX11_UINT32_C_TEST_CT 1
2444 static tTestDesc aHpux11_Uint32_CTests[] = {
2445 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2448 * Fix Command Arguments for Hpux11_Uint32_C
2450 static const char* apzHpux11_Uint32_CPatch[] = {
2452 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2455 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2457 * Description of Hpux11_Vsnprintf fix
2459 tSCC zHpux11_VsnprintfName[] =
2463 * File name selection pattern
2465 tSCC zHpux11_VsnprintfList[] =
2468 * Machine/OS name selection pattern
2470 #define apzHpux11_VsnprintfMachs (const char**)NULL
2473 * content selection pattern - do fix if pattern found
2475 tSCC zHpux11_VsnprintfSelect0[] =
2476 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2478 #define HPUX11_VSNPRINTF_TEST_CT 1
2479 static tTestDesc aHpux11_VsnprintfTests[] = {
2480 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2483 * Fix Command Arguments for Hpux11_Vsnprintf
2485 static const char* apzHpux11_VsnprintfPatch[] = {
2490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2492 * Description of Hpux8_Bogus_Inlines fix
2494 tSCC zHpux8_Bogus_InlinesName[] =
2495 "hpux8_bogus_inlines";
2498 * File name selection pattern
2500 tSCC zHpux8_Bogus_InlinesList[] =
2503 * Machine/OS name selection pattern
2505 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2508 * content selection pattern - do fix if pattern found
2510 tSCC zHpux8_Bogus_InlinesSelect0[] =
2513 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2514 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2515 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2518 * Fix Command Arguments for Hpux8_Bogus_Inlines
2520 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2521 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2522 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2523 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2524 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2527 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2529 * Description of Hpux_Ctype_Macros fix
2531 tSCC zHpux_Ctype_MacrosName[] =
2532 "hpux_ctype_macros";
2535 * File name selection pattern
2537 tSCC zHpux_Ctype_MacrosList[] =
2540 * Machine/OS name selection pattern
2542 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2545 * content selection pattern - do fix if pattern found
2547 tSCC zHpux_Ctype_MacrosSelect0[] =
2548 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2550 #define HPUX_CTYPE_MACROS_TEST_CT 1
2551 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2552 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2555 * Fix Command Arguments for Hpux_Ctype_Macros
2557 static const char* apzHpux_Ctype_MacrosPatch[] = {
2562 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2564 * Description of Hpux_Long_Double fix
2566 tSCC zHpux_Long_DoubleName[] =
2570 * File name selection pattern
2572 tSCC zHpux_Long_DoubleList[] =
2575 * Machine/OS name selection pattern
2577 #define apzHpux_Long_DoubleMachs (const char**)NULL
2580 * content selection pattern - do fix if pattern found
2582 tSCC zHpux_Long_DoubleSelect0[] =
2583 "extern[ \t]long_double[ \t]strtold";
2586 * content bypass pattern - skip fix if pattern found
2588 tSCC zHpux_Long_DoubleBypass0[] =
2591 #define HPUX_LONG_DOUBLE_TEST_CT 2
2592 static tTestDesc aHpux_Long_DoubleTests[] = {
2593 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2594 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2597 * Fix Command Arguments for Hpux_Long_Double
2599 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2600 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2601 "-e", "s/long_double/long double/g",
2604 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2606 * Description of Hpux_Maxint fix
2608 tSCC zHpux_MaxintName[] =
2612 * File name selection pattern
2614 tSCC zHpux_MaxintList[] =
2615 "|sys/param.h|values.h|";
2617 * Machine/OS name selection pattern
2619 #define apzHpux_MaxintMachs (const char**)NULL
2622 * content selection pattern - do fix if pattern found
2624 tSCC zHpux_MaxintSelect0[] =
2625 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2628 * content bypass pattern - skip fix if pattern found
2630 tSCC zHpux_MaxintBypass0[] =
2631 "^#[ \t]*ifndef[ \t]+MAXINT";
2634 * perform the 'test' shell command - do fix on success
2636 tSCC zHpux_MaxintTest0[] =
2637 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2639 #define HPUX_MAXINT_TEST_CT 3
2640 static tTestDesc aHpux_MaxintTests[] = {
2641 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2642 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2643 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2646 * Fix Command Arguments for Hpux_Maxint
2648 static const char* apzHpux_MaxintPatch[] = {
2653 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2656 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2658 * Description of Hpux_Systime fix
2660 tSCC zHpux_SystimeName[] =
2664 * File name selection pattern
2666 tSCC zHpux_SystimeList[] =
2669 * Machine/OS name selection pattern
2671 #define apzHpux_SystimeMachs (const char**)NULL
2674 * content selection pattern - do fix if pattern found
2676 tSCC zHpux_SystimeSelect0[] =
2677 "^extern struct sigevent;";
2679 #define HPUX_SYSTIME_TEST_CT 1
2680 static tTestDesc aHpux_SystimeTests[] = {
2681 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2684 * Fix Command Arguments for Hpux_Systime
2686 static const char* apzHpux_SystimePatch[] = {
2691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2693 * Description of Int_Abort_Free_And_Exit fix
2695 tSCC zInt_Abort_Free_And_ExitName[] =
2696 "int_abort_free_and_exit";
2699 * File name selection pattern
2701 tSCC zInt_Abort_Free_And_ExitList[] =
2704 * Machine/OS name selection pattern
2706 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2709 * content selection pattern - do fix if pattern found
2711 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2712 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2714 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2715 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2716 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2719 * Fix Command Arguments for Int_Abort_Free_And_Exit
2721 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2728 * Description of Io_Quotes_Def fix
2730 tSCC zIo_Quotes_DefName[] =
2734 * File name selection pattern
2736 #define zIo_Quotes_DefList (char*)NULL
2738 * Machine/OS name selection pattern
2740 #define apzIo_Quotes_DefMachs (const char**)NULL
2743 * content selection pattern - do fix if pattern found
2745 tSCC zIo_Quotes_DefSelect0[] =
2746 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2748 #define IO_QUOTES_DEF_TEST_CT 1
2749 static tTestDesc aIo_Quotes_DefTests[] = {
2750 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2753 * Fix Command Arguments for Io_Quotes_Def
2755 static const char* apzIo_Quotes_DefPatch[] = {
2760 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2762 * Description of Io_Quotes_Use fix
2764 tSCC zIo_Quotes_UseName[] =
2768 * File name selection pattern
2770 #define zIo_Quotes_UseList (char*)NULL
2772 * Machine/OS name selection pattern
2774 #define apzIo_Quotes_UseMachs (const char**)NULL
2777 * content selection pattern - do fix if pattern found
2779 tSCC zIo_Quotes_UseSelect0[] =
2780 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2782 #define IO_QUOTES_USE_TEST_CT 1
2783 static tTestDesc aIo_Quotes_UseTests[] = {
2784 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2787 * Fix Command Arguments for Io_Quotes_Use
2789 static const char* apzIo_Quotes_UsePatch[] = {
2794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2796 * Description of Ip_Missing_Semi fix
2798 tSCC zIp_Missing_SemiName[] =
2802 * File name selection pattern
2804 tSCC zIp_Missing_SemiList[] =
2807 * Machine/OS name selection pattern
2809 #define apzIp_Missing_SemiMachs (const char**)NULL
2812 * content selection pattern - do fix if pattern found
2814 tSCC zIp_Missing_SemiSelect0[] =
2817 #define IP_MISSING_SEMI_TEST_CT 1
2818 static tTestDesc aIp_Missing_SemiTests[] = {
2819 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2822 * Fix Command Arguments for Ip_Missing_Semi
2824 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2825 "-e", "/^struct/,/^};/s/}$/};/",
2828 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2830 * Description of Irix___Restrict fix
2832 tSCC zIrix___RestrictName[] =
2836 * File name selection pattern
2838 tSCC zIrix___RestrictList[] =
2839 "|internal/sgimacros.h|";
2841 * Machine/OS name selection pattern
2843 tSCC* apzIrix___RestrictMachs[] = {
2845 (const char*)NULL };
2848 * content selection pattern - do fix if pattern found
2850 tSCC zIrix___RestrictSelect0[] =
2852 )(#[ \t]*define __restrict restrict)";
2854 #define IRIX___RESTRICT_TEST_CT 1
2855 static tTestDesc aIrix___RestrictTests[] = {
2856 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
2859 * Fix Command Arguments for Irix___Restrict
2861 static const char* apzIrix___RestrictPatch[] = {
2863 "%1# ifndef __cplusplus\n\
2868 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2870 * Description of Irix___Generic1 fix
2872 tSCC zIrix___Generic1Name[] =
2876 * File name selection pattern
2878 tSCC zIrix___Generic1List[] =
2879 "|internal/math_core.h|";
2881 * Machine/OS name selection pattern
2883 tSCC* apzIrix___Generic1Machs[] = {
2885 (const char*)NULL };
2888 * content selection pattern - do fix if pattern found
2890 tSCC zIrix___Generic1Select0[] =
2891 "#define ([a-z]+)\\(x\\) *__generic.*";
2893 #define IRIX___GENERIC1_TEST_CT 1
2894 static tTestDesc aIrix___Generic1Tests[] = {
2895 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
2898 * Fix Command Arguments for Irix___Generic1
2900 static const char* apzIrix___Generic1Patch[] = {
2902 "extern int %1(double);\n\
2903 extern int %1f(float);\n\
2904 extern int %1l(long double);\n\
2905 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
2906 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
2910 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2912 * Description of Irix___Generic2 fix
2914 tSCC zIrix___Generic2Name[] =
2918 * File name selection pattern
2920 tSCC zIrix___Generic2List[] =
2921 "|internal/math_core.h|";
2923 * Machine/OS name selection pattern
2925 tSCC* apzIrix___Generic2Machs[] = {
2927 (const char*)NULL };
2930 * content selection pattern - do fix if pattern found
2932 tSCC zIrix___Generic2Select0[] =
2933 "#define ([a-z]+)\\(x,y\\) *__generic.*";
2935 #define IRIX___GENERIC2_TEST_CT 1
2936 static tTestDesc aIrix___Generic2Tests[] = {
2937 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
2940 * Fix Command Arguments for Irix___Generic2
2942 static const char* apzIrix___Generic2Patch[] = {
2944 "#define %1(x,y) \\\n\
2945 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
2946 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
2950 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2952 * Description of Irix_Asm_Apostrophe fix
2954 tSCC zIrix_Asm_ApostropheName[] =
2955 "irix_asm_apostrophe";
2958 * File name selection pattern
2960 tSCC zIrix_Asm_ApostropheList[] =
2963 * Machine/OS name selection pattern
2965 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2968 * content selection pattern - do fix if pattern found
2970 tSCC zIrix_Asm_ApostropheSelect0[] =
2971 "^[ \t]*#.*[Ww]e're";
2973 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2974 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2975 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2978 * Fix Command Arguments for Irix_Asm_Apostrophe
2980 static const char* apzIrix_Asm_ApostrophePatch[] = {
2983 "^([ \t]*#.*[Ww]e)'re",
2986 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2988 * Description of Irix_Limits_Const fix
2990 tSCC zIrix_Limits_ConstName[] =
2991 "irix_limits_const";
2994 * File name selection pattern
2996 tSCC zIrix_Limits_ConstList[] =
2997 "|fixinc-test-limits.h|limits.h|";
2999 * Machine/OS name selection pattern
3001 #define apzIrix_Limits_ConstMachs (const char**)NULL
3004 * content selection pattern - do fix if pattern found
3006 tSCC zIrix_Limits_ConstSelect0[] =
3009 #define IRIX_LIMITS_CONST_TEST_CT 1
3010 static tTestDesc aIrix_Limits_ConstTests[] = {
3011 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
3014 * Fix Command Arguments for Irix_Limits_Const
3016 static const char* apzIrix_Limits_ConstPatch[] = {
3021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3023 * Description of Irix_Socklen_T fix
3025 tSCC zIrix_Socklen_TName[] =
3029 * File name selection pattern
3031 tSCC zIrix_Socklen_TList[] =
3034 * Machine/OS name selection pattern
3036 tSCC* apzIrix_Socklen_TMachs[] = {
3038 (const char*)NULL };
3041 * content selection pattern - do fix if pattern found
3043 tSCC zIrix_Socklen_TSelect0[] =
3044 "(#define _SOCKLEN_T\n\
3045 )(typedef u_int32_t socklen_t;)";
3047 #define IRIX_SOCKLEN_T_TEST_CT 1
3048 static tTestDesc aIrix_Socklen_TTests[] = {
3049 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3052 * Fix Command Arguments for Irix_Socklen_T
3054 static const char* apzIrix_Socklen_TPatch[] = {
3056 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3057 typedef int socklen_t;\n\
3060 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3065 * Description of Irix_Stdio_Va_List fix
3067 tSCC zIrix_Stdio_Va_ListName[] =
3068 "irix_stdio_va_list";
3071 * File name selection pattern
3073 tSCC zIrix_Stdio_Va_ListList[] =
3074 "|stdio.h|internal/stdio_core.h|";
3076 * Machine/OS name selection pattern
3078 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3081 * content selection pattern - do fix if pattern found
3083 tSCC zIrix_Stdio_Va_ListSelect0[] =
3084 "/\\* va_list \\*/ char \\*";
3086 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3087 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3088 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3091 * Fix Command Arguments for Irix_Stdio_Va_List
3093 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3098 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3100 * Description of Irix_Wcsftime fix
3102 tSCC zIrix_WcsftimeName[] =
3106 * File name selection pattern
3108 tSCC zIrix_WcsftimeList[] =
3109 "|internal/wchar_core.h|";
3111 * Machine/OS name selection pattern
3113 tSCC* apzIrix_WcsftimeMachs[] = {
3115 (const char*)NULL };
3118 * content selection pattern - do fix if pattern found
3120 tSCC zIrix_WcsftimeSelect0[] =
3122 (extern size_t[ \t]+wcsftime.*const char *.*)";
3124 #define IRIX_WCSFTIME_TEST_CT 1
3125 static tTestDesc aIrix_WcsftimeTests[] = {
3126 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3129 * Fix Command Arguments for Irix_Wcsftime
3131 static const char* apzIrix_WcsftimePatch[] = {
3133 "#if _NO_XOPEN5 && !defined(__c99)\n\
3137 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3139 * Description of Isc_Fmod fix
3141 tSCC zIsc_FmodName[] =
3145 * File name selection pattern
3147 tSCC zIsc_FmodList[] =
3150 * Machine/OS name selection pattern
3152 #define apzIsc_FmodMachs (const char**)NULL
3155 * content selection pattern - do fix if pattern found
3157 tSCC zIsc_FmodSelect0[] =
3160 #define ISC_FMOD_TEST_CT 1
3161 static tTestDesc aIsc_FmodTests[] = {
3162 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3165 * Fix Command Arguments for Isc_Fmod
3167 static const char* apzIsc_FmodPatch[] = {
3169 "fmod(double, double)",
3172 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3174 * Description of Isc_Omits_With_Stdc fix
3176 tSCC zIsc_Omits_With_StdcName[] =
3177 "isc_omits_with_stdc";
3180 * File name selection pattern
3182 tSCC zIsc_Omits_With_StdcList[] =
3183 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3185 * Machine/OS name selection pattern
3187 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3190 * content selection pattern - do fix if pattern found
3192 tSCC zIsc_Omits_With_StdcSelect0[] =
3193 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3195 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3196 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3197 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3200 * Fix Command Arguments for Isc_Omits_With_Stdc
3202 static const char* apzIsc_Omits_With_StdcPatch[] = {
3204 "!defined(_POSIX_SOURCE)",
3207 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3209 * Description of Kandr_Concat fix
3211 tSCC zKandr_ConcatName[] =
3215 * File name selection pattern
3217 tSCC zKandr_ConcatList[] =
3218 "|sparc/asm_linkage.h|sun3/asm_linkage.h|sun3x/asm_linkage.h|sun4/asm_linkage.h|sun4c/asm_linkage.h|sun4m/asm_linkage.h|sun4c/debug/asm_linkage.h|sun4m/debug/asm_linkage.h|arm/as_support.h|arm/mc_type.h|arm/xcb.h|dev/chardefmac.h|dev/ps_irq.h|dev/screen.h|dev/scsi.h|sys/tty.h|Xm.acorn/XmP.h|bsd43/bsd43_.h|";
3220 * Machine/OS name selection pattern
3222 #define apzKandr_ConcatMachs (const char**)NULL
3225 * content selection pattern - do fix if pattern found
3227 tSCC zKandr_ConcatSelect0[] =
3230 #define KANDR_CONCAT_TEST_CT 1
3231 static tTestDesc aKandr_ConcatTests[] = {
3232 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
3235 * Fix Command Arguments for Kandr_Concat
3237 static const char* apzKandr_ConcatPatch[] = {
3242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3244 * Description of Libc1_G_Va_List fix
3246 tSCC zLibc1_G_Va_ListName[] =
3250 * File name selection pattern
3252 tSCC zLibc1_G_Va_ListList[] =
3255 * Machine/OS name selection pattern
3257 tSCC* apzLibc1_G_Va_ListMachs[] = {
3259 (const char*)NULL };
3262 * content selection pattern - do fix if pattern found
3264 tSCC zLibc1_G_Va_ListSelect0[] =
3265 "typedef void \\* _G_va_list;";
3267 #define LIBC1_G_VA_LIST_TEST_CT 1
3268 static tTestDesc aLibc1_G_Va_ListTests[] = {
3269 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
3272 * Fix Command Arguments for Libc1_G_Va_List
3274 static const char* apzLibc1_G_Va_ListPatch[] = {
3276 "typedef __builtin_va_list _G_va_list;",
3279 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3281 * Description of Libc1_Ifdefd_Memx fix
3283 tSCC zLibc1_Ifdefd_MemxName[] =
3284 "libc1_ifdefd_memx";
3287 * File name selection pattern
3289 tSCC zLibc1_Ifdefd_MemxList[] =
3290 "|testing.h|string.h|";
3292 * Machine/OS name selection pattern
3294 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
3297 * content selection pattern - do fix if pattern found
3299 tSCC zLibc1_Ifdefd_MemxSelect0[] =
3300 "' is a built-in function for gcc 2\\.x\\. \\*/";
3303 * content bypass pattern - skip fix if pattern found
3305 tSCC zLibc1_Ifdefd_MemxBypass0[] =
3308 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
3309 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
3310 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
3311 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
3314 * Fix Command Arguments for Libc1_Ifdefd_Memx
3316 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
3319 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
3320 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
3322 extern [a-z_]+ mem.*(\n\
3327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3329 * Description of Limits_Ifndefs fix
3331 tSCC zLimits_IfndefsName[] =
3335 * File name selection pattern
3337 tSCC zLimits_IfndefsList[] =
3338 "|sys/limits.h|limits.h|";
3340 * Machine/OS name selection pattern
3342 #define apzLimits_IfndefsMachs (const char**)NULL
3345 * content selection pattern - do fix if pattern found
3347 tSCC zLimits_IfndefsSelect0[] =
3348 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*";
3351 * content bypass pattern - skip fix if pattern found
3353 tSCC zLimits_IfndefsBypass0[] =
3354 "ifndef[ \t]+FLT_(MIN|MAX)";
3356 #define LIMITS_IFNDEFS_TEST_CT 2
3357 static tTestDesc aLimits_IfndefsTests[] = {
3358 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL },
3359 { TT_EGREP, zLimits_IfndefsSelect0, (regex_t*)NULL }, };
3362 * Fix Command Arguments for Limits_Ifndefs
3364 static const char* apzLimits_IfndefsPatch[] = {
3371 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3373 * Description of Linux_Ia64_Ucontext fix
3375 tSCC zLinux_Ia64_UcontextName[] =
3376 "linux_ia64_ucontext";
3379 * File name selection pattern
3381 tSCC zLinux_Ia64_UcontextList[] =
3384 * Machine/OS name selection pattern
3386 tSCC* apzLinux_Ia64_UcontextMachs[] = {
3388 (const char*)NULL };
3391 * content selection pattern - do fix if pattern found
3393 tSCC zLinux_Ia64_UcontextSelect0[] =
3394 "\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
3396 #define LINUX_IA64_UCONTEXT_TEST_CT 1
3397 static tTestDesc aLinux_Ia64_UcontextTests[] = {
3398 { TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
3401 * Fix Command Arguments for Linux_Ia64_Ucontext
3403 static const char* apzLinux_Ia64_UcontextPatch[] = {
3405 "__builtin_offsetof (struct sigcontext, sc_gr[0])",
3408 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3410 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
3412 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
3413 "lynxos_no_warning_in_sys_time_h";
3416 * File name selection pattern
3418 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
3421 * Machine/OS name selection pattern
3423 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
3426 * content selection pattern - do fix if pattern found
3428 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
3429 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
3431 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
3432 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
3433 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
3436 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
3438 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
3443 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3445 * Description of Lynxos_Missing_Putenv fix
3447 tSCC zLynxos_Missing_PutenvName[] =
3448 "lynxos_missing_putenv";
3451 * File name selection pattern
3453 tSCC zLynxos_Missing_PutenvList[] =
3456 * Machine/OS name selection pattern
3458 tSCC* apzLynxos_Missing_PutenvMachs[] = {
3460 (const char*)NULL };
3463 * content selection pattern - do fix if pattern found
3465 tSCC zLynxos_Missing_PutenvSelect0[] =
3466 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
3469 * content bypass pattern - skip fix if pattern found
3471 tSCC zLynxos_Missing_PutenvBypass0[] =
3474 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
3475 static tTestDesc aLynxos_Missing_PutenvTests[] = {
3476 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
3477 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
3480 * Fix Command Arguments for Lynxos_Missing_Putenv
3482 static const char* apzLynxos_Missing_PutenvPatch[] = {
3485 extern int putenv\t\t\t\t_AP((char *));",
3486 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
3489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3491 * Description of Machine_Ansi_H_Va_List fix
3493 tSCC zMachine_Ansi_H_Va_ListName[] =
3494 "machine_ansi_h_va_list";
3497 * File name selection pattern
3499 #define zMachine_Ansi_H_Va_ListList (char*)NULL
3501 * Machine/OS name selection pattern
3503 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
3506 * content selection pattern - do fix if pattern found
3508 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
3509 "define[ \t]+_BSD_VA_LIST_[ \t]";
3512 * content bypass pattern - skip fix if pattern found
3514 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
3515 "__builtin_va_list";
3517 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3518 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3519 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3520 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3523 * Fix Command Arguments for Machine_Ansi_H_Va_List
3525 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3527 "%1__builtin_va_list",
3528 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3533 * Description of Machine_Name fix
3535 tSCC zMachine_NameName[] =
3539 * File name selection pattern
3541 #define zMachine_NameList (char*)NULL
3543 * Machine/OS name selection pattern
3545 #define apzMachine_NameMachs (const char**)NULL
3548 * perform the C function call test
3550 tSCC zMachine_NameFTst0[] = "machine_name";
3552 #define MACHINE_NAME_TEST_CT 1
3553 static tTestDesc aMachine_NameTests[] = {
3554 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3557 * Fix Command Arguments for Machine_Name
3559 static const char* apzMachine_NamePatch[] = {
3563 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3565 * Description of Math_Exception fix
3567 tSCC zMath_ExceptionName[] =
3571 * File name selection pattern
3573 tSCC zMath_ExceptionList[] =
3576 * Machine/OS name selection pattern
3578 #define apzMath_ExceptionMachs (const char**)NULL
3581 * content selection pattern - do fix if pattern found
3583 tSCC zMath_ExceptionSelect0[] =
3587 * content bypass pattern - skip fix if pattern found
3589 tSCC zMath_ExceptionBypass0[] =
3590 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
3592 #define MATH_EXCEPTION_TEST_CT 2
3593 static tTestDesc aMath_ExceptionTests[] = {
3594 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3595 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3598 * Fix Command Arguments for Math_Exception
3600 static const char* apzMath_ExceptionPatch[] = {
3602 "#ifdef __cplusplus\n\
3603 #define exception __math_exception\n\
3605 "#ifdef __cplusplus\n\
3610 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3612 * Description of Math_Huge_Val_From_Dbl_Max fix
3614 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3615 "math_huge_val_from_dbl_max";
3618 * File name selection pattern
3620 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3623 * Machine/OS name selection pattern
3625 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3628 * content selection pattern - do fix if pattern found
3630 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3631 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3634 * content bypass pattern - skip fix if pattern found
3636 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3637 "define[ \t]+DBL_MAX";
3639 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3640 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3641 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3642 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3645 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3647 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3648 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3649 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3650 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3655 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3657 * Description of Math_Huge_Val_Ifndef fix
3659 tSCC zMath_Huge_Val_IfndefName[] =
3660 "math_huge_val_ifndef";
3663 * File name selection pattern
3665 tSCC zMath_Huge_Val_IfndefList[] =
3666 "|math.h|math/math.h|";
3668 * Machine/OS name selection pattern
3670 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
3673 * content selection pattern - do fix if pattern found
3675 tSCC zMath_Huge_Val_IfndefSelect0[] =
3676 "define[ \t]+HUGE_VAL";
3678 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3679 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3680 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3683 * Fix Command Arguments for Math_Huge_Val_Ifndef
3685 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3687 "#ifndef HUGE_VAL\n\
3690 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3693 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3695 * Description of Nested_Auth_Des fix
3697 tSCC zNested_Auth_DesName[] =
3701 * File name selection pattern
3703 tSCC zNested_Auth_DesList[] =
3706 * Machine/OS name selection pattern
3708 #define apzNested_Auth_DesMachs (const char**)NULL
3711 * content selection pattern - do fix if pattern found
3713 tSCC zNested_Auth_DesSelect0[] =
3714 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3716 #define NESTED_AUTH_DES_TEST_CT 1
3717 static tTestDesc aNested_Auth_DesTests[] = {
3718 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3721 * Fix Command Arguments for Nested_Auth_Des
3723 static const char* apzNested_Auth_DesPatch[] = {
3728 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3730 * Description of Nested_Motorola fix
3732 tSCC zNested_MotorolaName[] =
3736 * File name selection pattern
3738 tSCC zNested_MotorolaList[] =
3739 "|sys/limits.h|limits.h|";
3741 * Machine/OS name selection pattern
3743 tSCC* apzNested_MotorolaMachs[] = {
3744 "m68k-motorola-sysv*",
3745 (const char*)NULL };
3748 * content selection pattern - do fix if pattern found
3750 tSCC zNested_MotorolaSelect0[] =
3751 "max # bytes atomic in write|error value returned by Math lib";
3753 #define NESTED_MOTOROLA_TEST_CT 1
3754 static tTestDesc aNested_MotorolaTests[] = {
3755 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3758 * Fix Command Arguments for Nested_Motorola
3760 static const char* apzNested_MotorolaPatch[] = { "sed",
3761 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3762 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3765 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3767 * Description of Nested_Sys_Limits fix
3769 tSCC zNested_Sys_LimitsName[] =
3770 "nested_sys_limits";
3773 * File name selection pattern
3775 tSCC zNested_Sys_LimitsList[] =
3778 * Machine/OS name selection pattern
3780 #define apzNested_Sys_LimitsMachs (const char**)NULL
3783 * content selection pattern - do fix if pattern found
3785 tSCC zNested_Sys_LimitsSelect0[] =
3788 #define NESTED_SYS_LIMITS_TEST_CT 1
3789 static tTestDesc aNested_Sys_LimitsTests[] = {
3790 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3793 * Fix Command Arguments for Nested_Sys_Limits
3795 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3796 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3797 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3802 * Description of Netbsd_Extra_Semicolon fix
3804 tSCC zNetbsd_Extra_SemicolonName[] =
3805 "netbsd_extra_semicolon";
3808 * File name selection pattern
3810 tSCC zNetbsd_Extra_SemicolonList[] =
3813 * Machine/OS name selection pattern
3815 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
3817 (const char*)NULL };
3820 * content selection pattern - do fix if pattern found
3822 tSCC zNetbsd_Extra_SemicolonSelect0[] =
3823 "#define[ \t]*__END_DECLS[ \t]*};";
3825 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
3826 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
3827 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
3830 * Fix Command Arguments for Netbsd_Extra_Semicolon
3832 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
3834 "#define __END_DECLS }",
3837 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3839 * Description of Next_Math_Prefix fix
3841 tSCC zNext_Math_PrefixName[] =
3845 * File name selection pattern
3847 tSCC zNext_Math_PrefixList[] =
3850 * Machine/OS name selection pattern
3852 #define apzNext_Math_PrefixMachs (const char**)NULL
3855 * content selection pattern - do fix if pattern found
3857 tSCC zNext_Math_PrefixSelect0[] =
3858 "^extern[ \t]+double[ \t]+__const__[ \t]";
3860 #define NEXT_MATH_PREFIX_TEST_CT 1
3861 static tTestDesc aNext_Math_PrefixTests[] = {
3862 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3865 * Fix Command Arguments for Next_Math_Prefix
3867 static const char* apzNext_Math_PrefixPatch[] = {
3869 "extern double %1(",
3870 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3875 * Description of Next_Template fix
3877 tSCC zNext_TemplateName[] =
3881 * File name selection pattern
3883 tSCC zNext_TemplateList[] =
3886 * Machine/OS name selection pattern
3888 #define apzNext_TemplateMachs (const char**)NULL
3891 * content selection pattern - do fix if pattern found
3893 tSCC zNext_TemplateSelect0[] =
3896 #define NEXT_TEMPLATE_TEST_CT 1
3897 static tTestDesc aNext_TemplateTests[] = {
3898 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3901 * Fix Command Arguments for Next_Template
3903 static const char* apzNext_TemplatePatch[] = {
3906 "\\(([^)]*)[ \t]template\\)",
3909 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3911 * Description of Next_Volitile fix
3913 tSCC zNext_VolitileName[] =
3917 * File name selection pattern
3919 tSCC zNext_VolitileList[] =
3922 * Machine/OS name selection pattern
3924 #define apzNext_VolitileMachs (const char**)NULL
3927 * content selection pattern - do fix if pattern found
3929 tSCC zNext_VolitileSelect0[] =
3930 "^extern[ \t]+volatile[ \t]+void[ \t]";
3932 #define NEXT_VOLITILE_TEST_CT 1
3933 static tTestDesc aNext_VolitileTests[] = {
3934 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3937 * Fix Command Arguments for Next_Volitile
3939 static const char* apzNext_VolitilePatch[] = {
3942 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3945 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3947 * Description of Next_Wait_Union fix
3949 tSCC zNext_Wait_UnionName[] =
3953 * File name selection pattern
3955 tSCC zNext_Wait_UnionList[] =
3958 * Machine/OS name selection pattern
3960 #define apzNext_Wait_UnionMachs (const char**)NULL
3963 * content selection pattern - do fix if pattern found
3965 tSCC zNext_Wait_UnionSelect0[] =
3966 "wait\\(union wait";
3968 #define NEXT_WAIT_UNION_TEST_CT 1
3969 static tTestDesc aNext_Wait_UnionTests[] = {
3970 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3973 * Fix Command Arguments for Next_Wait_Union
3975 static const char* apzNext_Wait_UnionPatch[] = {
3980 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3982 * Description of Nodeent_Syntax fix
3984 tSCC zNodeent_SyntaxName[] =
3988 * File name selection pattern
3990 tSCC zNodeent_SyntaxList[] =
3991 "|netdnet/dnetdb.h|";
3993 * Machine/OS name selection pattern
3995 #define apzNodeent_SyntaxMachs (const char**)NULL
3998 * content selection pattern - do fix if pattern found
4000 tSCC zNodeent_SyntaxSelect0[] =
4001 "char[ \t]*\\*na_addr[ \t]*$";
4003 #define NODEENT_SYNTAX_TEST_CT 1
4004 static tTestDesc aNodeent_SyntaxTests[] = {
4005 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
4008 * Fix Command Arguments for Nodeent_Syntax
4010 static const char* apzNodeent_SyntaxPatch[] = {
4015 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4017 * Description of Obstack_Lvalue_Cast fix
4019 tSCC zObstack_Lvalue_CastName[] =
4020 "obstack_lvalue_cast";
4023 * File name selection pattern
4025 tSCC zObstack_Lvalue_CastList[] =
4028 * Machine/OS name selection pattern
4030 #define apzObstack_Lvalue_CastMachs (const char**)NULL
4033 * content selection pattern - do fix if pattern found
4035 tSCC zObstack_Lvalue_CastSelect0[] =
4036 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
4038 #define OBSTACK_LVALUE_CAST_TEST_CT 1
4039 static tTestDesc aObstack_Lvalue_CastTests[] = {
4040 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
4043 * Fix Command Arguments for Obstack_Lvalue_Cast
4045 static const char* apzObstack_Lvalue_CastPatch[] = {
4047 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
4050 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4052 * Description of Osf_Namespace_A fix
4054 tSCC zOsf_Namespace_AName[] =
4058 * File name selection pattern
4060 tSCC zOsf_Namespace_AList[] =
4061 "|reg_types.h|sys/lc_core.h|";
4063 * Machine/OS name selection pattern
4065 #define apzOsf_Namespace_AMachs (const char**)NULL
4068 * perform the 'test' shell command - do fix on success
4070 tSCC zOsf_Namespace_ATest0[] =
4072 tSCC zOsf_Namespace_ATest1[] =
4073 " -r sys/lc_core.h";
4074 tSCC zOsf_Namespace_ATest2[] =
4075 " -n \"`grep '} regex_t;' reg_types.h`\"";
4076 tSCC zOsf_Namespace_ATest3[] =
4077 " -z \"`grep __regex_t regex.h`\"";
4079 #define OSF_NAMESPACE_A_TEST_CT 4
4080 static tTestDesc aOsf_Namespace_ATests[] = {
4081 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4082 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4083 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4084 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4087 * Fix Command Arguments for Osf_Namespace_A
4089 static const char* apzOsf_Namespace_APatch[] = {
4092 "reg(ex|off|match)_t",
4095 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4097 * Description of Osf_Namespace_C fix
4099 tSCC zOsf_Namespace_CName[] =
4103 * File name selection pattern
4105 tSCC zOsf_Namespace_CList[] =
4108 * Machine/OS name selection pattern
4110 #define apzOsf_Namespace_CMachs (const char**)NULL
4113 * content selection pattern - do fix if pattern found
4115 tSCC zOsf_Namespace_CSelect0[] =
4116 "#include <reg_types.h>.*";
4119 * perform the 'test' shell command - do fix on success
4121 tSCC zOsf_Namespace_CTest0[] =
4123 tSCC zOsf_Namespace_CTest1[] =
4124 " -r sys/lc_core.h";
4125 tSCC zOsf_Namespace_CTest2[] =
4126 " -n \"`grep '} regex_t;' reg_types.h`\"";
4127 tSCC zOsf_Namespace_CTest3[] =
4128 " -z \"`grep __regex_t regex.h`\"";
4130 #define OSF_NAMESPACE_C_TEST_CT 5
4131 static tTestDesc aOsf_Namespace_CTests[] = {
4132 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4133 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4134 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4135 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4136 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4139 * Fix Command Arguments for Osf_Namespace_C
4141 static const char* apzOsf_Namespace_CPatch[] = {
4144 typedef __regex_t\tregex_t;\n\
4145 typedef __regoff_t\tregoff_t;\n\
4146 typedef __regmatch_t\tregmatch_t;",
4149 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4151 * Description of Pthread_Page_Size fix
4153 tSCC zPthread_Page_SizeName[] =
4154 "pthread_page_size";
4157 * File name selection pattern
4159 tSCC zPthread_Page_SizeList[] =
4162 * Machine/OS name selection pattern
4164 #define apzPthread_Page_SizeMachs (const char**)NULL
4167 * content selection pattern - do fix if pattern found
4169 tSCC zPthread_Page_SizeSelect0[] =
4172 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4173 static tTestDesc aPthread_Page_SizeTests[] = {
4174 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4177 * Fix Command Arguments for Pthread_Page_Size
4179 static const char* apzPthread_Page_SizePatch[] = {
4184 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4186 * Description of Read_Ret_Type fix
4188 tSCC zRead_Ret_TypeName[] =
4192 * File name selection pattern
4194 tSCC zRead_Ret_TypeList[] =
4197 * Machine/OS name selection pattern
4199 #define apzRead_Ret_TypeMachs (const char**)NULL
4202 * content selection pattern - do fix if pattern found
4204 tSCC zRead_Ret_TypeSelect0[] =
4205 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4207 #define READ_RET_TYPE_TEST_CT 1
4208 static tTestDesc aRead_Ret_TypeTests[] = {
4209 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4212 * Fix Command Arguments for Read_Ret_Type
4214 static const char* apzRead_Ret_TypePatch[] = {
4216 "extern unsigned int fread(), fwrite();\n\
4218 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4221 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4223 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4225 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4226 "rpc_xdr_lvalue_cast_a";
4229 * File name selection pattern
4231 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4234 * Machine/OS name selection pattern
4236 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4239 * content selection pattern - do fix if pattern found
4241 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4242 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4245 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4246 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4247 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4250 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4252 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4254 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4259 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4261 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4262 "rpc_xdr_lvalue_cast_b";
4265 * File name selection pattern
4267 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4270 * Machine/OS name selection pattern
4272 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4275 * content selection pattern - do fix if pattern found
4277 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4278 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4281 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4282 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4283 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4286 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
4288 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
4290 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
4293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4295 * Description of Rs6000_Double fix
4297 tSCC zRs6000_DoubleName[] =
4301 * File name selection pattern
4303 tSCC zRs6000_DoubleList[] =
4306 * Machine/OS name selection pattern
4308 #define apzRs6000_DoubleMachs (const char**)NULL
4311 * content selection pattern - do fix if pattern found
4313 tSCC zRs6000_DoubleSelect0[] =
4314 "[^a-zA-Z_]class\\(";
4316 #define RS6000_DOUBLE_TEST_CT 1
4317 static tTestDesc aRs6000_DoubleTests[] = {
4318 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
4321 * Fix Command Arguments for Rs6000_Double
4323 static const char* apzRs6000_DoublePatch[] = {
4325 "#ifndef __cplusplus\n\
4328 "^.*[^a-zA-Z_]class\\(.*",
4331 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4333 * Description of Rs6000_Fchmod fix
4335 tSCC zRs6000_FchmodName[] =
4339 * File name selection pattern
4341 tSCC zRs6000_FchmodList[] =
4344 * Machine/OS name selection pattern
4346 #define apzRs6000_FchmodMachs (const char**)NULL
4349 * content selection pattern - do fix if pattern found
4351 tSCC zRs6000_FchmodSelect0[] =
4352 "fchmod\\(char \\*";
4354 #define RS6000_FCHMOD_TEST_CT 1
4355 static tTestDesc aRs6000_FchmodTests[] = {
4356 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
4359 * Fix Command Arguments for Rs6000_Fchmod
4361 static const char* apzRs6000_FchmodPatch[] = {
4366 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4368 * Description of Rs6000_Param fix
4370 tSCC zRs6000_ParamName[] =
4374 * File name selection pattern
4376 tSCC zRs6000_ParamList[] =
4377 "|stdio.h|unistd.h|";
4379 * Machine/OS name selection pattern
4381 #define apzRs6000_ParamMachs (const char**)NULL
4384 * content selection pattern - do fix if pattern found
4386 tSCC zRs6000_ParamSelect0[] =
4387 "rename\\(const char \\*old, const char \\*new\\)";
4389 #define RS6000_PARAM_TEST_CT 1
4390 static tTestDesc aRs6000_ParamTests[] = {
4391 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
4394 * Fix Command Arguments for Rs6000_Param
4396 static const char* apzRs6000_ParamPatch[] = {
4398 "rename(const char *_old, const char *_new)",
4401 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4403 * Description of Sco_Math fix
4405 tSCC zSco_MathName[] =
4409 * File name selection pattern
4411 tSCC zSco_MathList[] =
4412 "|math.h|ansi/math.h|posix/math.h|xpg4/math.h|xpg4v2/math.h|xpg4plus/math.h|ods_30_compat/math.h|oldstyle/math.h|";
4414 * Machine/OS name selection pattern
4416 #define apzSco_MathMachs (const char**)NULL
4419 * content selection pattern - do fix if pattern found
4421 tSCC zSco_MathSelect0[] =
4422 "inline double abs";
4424 #define SCO_MATH_TEST_CT 1
4425 static tTestDesc aSco_MathTests[] = {
4426 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
4429 * Fix Command Arguments for Sco_Math
4431 static const char* apzSco_MathPatch[] = { "sed",
4432 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
4433 #ifndef __GNUC__\n",
4434 "-e", "/.*__builtin_generic/a\\\n\
4436 #define __fp_class(a) \\\\\\\n\
4437 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
4438 __fpclassifyl(a), \\\\\\\n\
4439 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
4440 __fpclassifyf(a),__fpclassify(a)))\\\n\
4442 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
4443 #ifndef __GNUC__\n",
4444 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
4445 #endif /* ! __GNUC__ */",
4448 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4450 * Description of Sco_Regset fix
4452 tSCC zSco_RegsetName[] =
4456 * File name selection pattern
4458 tSCC zSco_RegsetList[] =
4461 * Machine/OS name selection pattern
4463 tSCC* apzSco_RegsetMachs[] = {
4465 (const char*)NULL };
4468 * content selection pattern - do fix if pattern found
4470 tSCC zSco_RegsetSelect0[] =
4471 "(struct[ \t]+.*)fpstate";
4473 #define SCO_REGSET_TEST_CT 1
4474 static tTestDesc aSco_RegsetTests[] = {
4475 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
4478 * Fix Command Arguments for Sco_Regset
4480 static const char* apzSco_RegsetPatch[] = {
4485 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4487 * Description of Sco_Static_Func fix
4489 tSCC zSco_Static_FuncName[] =
4493 * File name selection pattern
4495 tSCC zSco_Static_FuncList[] =
4498 * Machine/OS name selection pattern
4500 tSCC* apzSco_Static_FuncMachs[] = {
4502 (const char*)NULL };
4505 * content selection pattern - do fix if pattern found
4507 tSCC zSco_Static_FuncSelect0[] =
4510 #define SCO_STATIC_FUNC_TEST_CT 1
4511 static tTestDesc aSco_Static_FuncTests[] = {
4512 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
4515 * Fix Command Arguments for Sco_Static_Func
4517 static const char* apzSco_Static_FuncPatch[] = { "sed",
4518 "-e", "/^static int/i\\\n\
4519 #if __cplusplus\\\n\
4521 #endif /* __cplusplus */",
4523 #if __cplusplus\\\n\
4525 #endif /* __cplusplus */",
4528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4530 * Description of Sco_Utime fix
4532 tSCC zSco_UtimeName[] =
4536 * File name selection pattern
4538 tSCC zSco_UtimeList[] =
4541 * Machine/OS name selection pattern
4543 tSCC* apzSco_UtimeMachs[] = {
4545 (const char*)NULL };
4548 * content selection pattern - do fix if pattern found
4550 tSCC zSco_UtimeSelect0[] =
4551 "\\(const char \\*, struct utimbuf \\*\\);";
4553 #define SCO_UTIME_TEST_CT 1
4554 static tTestDesc aSco_UtimeTests[] = {
4555 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
4558 * Fix Command Arguments for Sco_Utime
4560 static const char* apzSco_UtimePatch[] = {
4562 "(const char *, const struct utimbuf *);",
4565 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4567 * Description of Solaris_Mutex_Init_1 fix
4569 tSCC zSolaris_Mutex_Init_1Name[] =
4570 "solaris_mutex_init_1";
4573 * File name selection pattern
4575 tSCC zSolaris_Mutex_Init_1List[] =
4578 * Machine/OS name selection pattern
4580 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
4583 * content selection pattern - do fix if pattern found
4585 tSCC zSolaris_Mutex_Init_1Select0[] =
4586 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
4588 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
4589 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
4590 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
4593 * Fix Command Arguments for Solaris_Mutex_Init_1
4595 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
4596 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
4597 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
4600 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4602 * Description of Solaris_Mutex_Init_2 fix
4604 tSCC zSolaris_Mutex_Init_2Name[] =
4605 "solaris_mutex_init_2";
4608 * File name selection pattern
4610 tSCC zSolaris_Mutex_Init_2List[] =
4613 * Machine/OS name selection pattern
4615 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
4618 * content selection pattern - do fix if pattern found
4620 tSCC zSolaris_Mutex_Init_2Select0[] =
4621 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4623 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
4624 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
4625 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
4628 * Fix Command Arguments for Solaris_Mutex_Init_2
4630 static const char* apzSolaris_Mutex_Init_2Patch[] = {
4632 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
4637 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
4640 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4642 * Description of Solaris_Socket fix
4644 tSCC zSolaris_SocketName[] =
4648 * File name selection pattern
4650 tSCC zSolaris_SocketList[] =
4653 * Machine/OS name selection pattern
4655 #define apzSolaris_SocketMachs (const char**)NULL
4658 * content selection pattern - do fix if pattern found
4660 tSCC zSolaris_SocketSelect0[] =
4661 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
4663 #define SOLARIS_SOCKET_TEST_CT 1
4664 static tTestDesc aSolaris_SocketTests[] = {
4665 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
4668 * Fix Command Arguments for Solaris_Socket
4670 static const char* apzSolaris_SocketPatch[] = {
4672 "extern int %1(int, %2void *, int, int);",
4673 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
4676 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4678 * Description of Solaris_Stdio_Tag fix
4680 tSCC zSolaris_Stdio_TagName[] =
4681 "solaris_stdio_tag";
4684 * File name selection pattern
4686 tSCC zSolaris_Stdio_TagList[] =
4689 * Machine/OS name selection pattern
4691 #define apzSolaris_Stdio_TagMachs (const char**)NULL
4694 * content selection pattern - do fix if pattern found
4696 tSCC zSolaris_Stdio_TagSelect0[] =
4697 "__cplusplus < 54321L";
4699 #define SOLARIS_STDIO_TAG_TEST_CT 1
4700 static tTestDesc aSolaris_Stdio_TagTests[] = {
4701 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
4704 * Fix Command Arguments for Solaris_Stdio_Tag
4706 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
4707 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
4710 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4712 * Description of Solaris_Unistd fix
4714 tSCC zSolaris_UnistdName[] =
4718 * File name selection pattern
4720 tSCC zSolaris_UnistdList[] =
4723 * Machine/OS name selection pattern
4725 #define apzSolaris_UnistdMachs (const char**)NULL
4728 * content selection pattern - do fix if pattern found
4730 tSCC zSolaris_UnistdSelect0[] =
4731 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
4734 * content bypass pattern - skip fix if pattern found
4736 tSCC zSolaris_UnistdBypass0[] =
4739 #define SOLARIS_UNISTD_TEST_CT 2
4740 static tTestDesc aSolaris_UnistdTests[] = {
4741 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
4742 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
4745 * Fix Command Arguments for Solaris_Unistd
4747 static const char* apzSolaris_UnistdPatch[] = {
4749 "extern int getpagesize();\n\
4751 "^extern (pid_t|int) getpgid\\(.*\\);",
4754 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4756 * Description of Solaris_Widec fix
4758 tSCC zSolaris_WidecName[] =
4762 * File name selection pattern
4764 tSCC zSolaris_WidecList[] =
4767 * Machine/OS name selection pattern
4769 tSCC* apzSolaris_WidecMachs[] = {
4770 "*-*-solaris2.[0-5]",
4771 "*-*-solaris2.[0-5].*",
4772 (const char*)NULL };
4775 * content selection pattern - do fix if pattern found
4777 tSCC zSolaris_WidecSelect0[] =
4781 * content bypass pattern - skip fix if pattern found
4783 tSCC zSolaris_WidecBypass0[] =
4784 "include.*wchar\\.h";
4786 #define SOLARIS_WIDEC_TEST_CT 2
4787 static tTestDesc aSolaris_WidecTests[] = {
4788 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
4789 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
4792 * Fix Command Arguments for Solaris_Widec
4794 static const char* apzSolaris_WidecPatch[] = {
4797 #include <wchar.h>",
4800 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4802 * Description of Statsswtch fix
4804 tSCC zStatsswtchName[] =
4808 * File name selection pattern
4810 tSCC zStatsswtchList[] =
4813 * Machine/OS name selection pattern
4815 #define apzStatsswtchMachs (const char**)NULL
4818 * content selection pattern - do fix if pattern found
4820 tSCC zStatsswtchSelect0[] =
4823 #define STATSSWTCH_TEST_CT 1
4824 static tTestDesc aStatsswtchTests[] = {
4825 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
4828 * Fix Command Arguments for Statsswtch
4830 static const char* apzStatsswtchPatch[] = {
4835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4837 * Description of Stdio_Stdarg_H fix
4839 tSCC zStdio_Stdarg_HName[] =
4843 * File name selection pattern
4845 tSCC zStdio_Stdarg_HList[] =
4848 * Machine/OS name selection pattern
4850 #define apzStdio_Stdarg_HMachs (const char**)NULL
4853 * content bypass pattern - skip fix if pattern found
4855 tSCC zStdio_Stdarg_HBypass0[] =
4856 "include.*(stdarg.h|machine/ansi.h)";
4858 #define STDIO_STDARG_H_TEST_CT 1
4859 static tTestDesc aStdio_Stdarg_HTests[] = {
4860 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
4863 * Fix Command Arguments for Stdio_Stdarg_H
4865 static const char* apzStdio_Stdarg_HPatch[] = {
4867 "#define __need___va_list\n\
4868 #include <stdarg.h>\n",
4871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4873 * Description of Stdio_Va_List fix
4875 tSCC zStdio_Va_ListName[] =
4879 * File name selection pattern
4881 tSCC zStdio_Va_ListList[] =
4882 "|stdio.h|internal/stdio_core.h|internal/wchar_core.h|com_err.h|cps.h|curses.h|krb5.h|lc_core.h|pfmt.h|wchar.h|curses_colr/curses.h|";
4884 * Machine/OS name selection pattern
4886 #define apzStdio_Va_ListMachs (const char**)NULL
4889 * content bypass pattern - skip fix if pattern found
4891 tSCC zStdio_Va_ListBypass0[] =
4892 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4894 #define STDIO_VA_LIST_TEST_CT 1
4895 static tTestDesc aStdio_Va_ListTests[] = {
4896 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
4899 * Fix Command Arguments for Stdio_Va_List
4901 static const char* apzStdio_Va_ListPatch[] = { "sed",
4902 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
4903 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4904 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4905 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4906 s@ va_list@ __not_va_list__@\n\
4907 s@\\*va_list@*__not_va_list__@\n\
4908 s@ __va_list)@ __gnuc_va_list)@\n\
4909 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4910 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4911 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4912 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4913 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4914 s@VA_LIST@DUMMY_VA_LIST@\n\
4915 s@_Va_LIST@_VA_LIST@",
4918 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4920 * Description of Strict_Ansi_Not fix
4922 tSCC zStrict_Ansi_NotName[] =
4926 * File name selection pattern
4928 #define zStrict_Ansi_NotList (char*)NULL
4930 * Machine/OS name selection pattern
4932 #define apzStrict_Ansi_NotMachs (const char**)NULL
4935 * content selection pattern - do fix if pattern found
4937 tSCC zStrict_Ansi_NotSelect0[] =
4938 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
4941 * content bypass pattern - skip fix if pattern found
4943 tSCC zStrict_Ansi_NotBypass0[] =
4944 "GNU and MIPS C compilers define __STDC__ differently";
4945 tSCC zStrict_Ansi_NotBypass1[] =
4946 "__SCO_VERSION__.*__STDC__ != 1";
4949 * perform the C function call test
4951 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
4953 #define STRICT_ANSI_NOT_TEST_CT 4
4954 static tTestDesc aStrict_Ansi_NotTests[] = {
4955 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
4956 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
4957 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
4958 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4961 * Fix Command Arguments for Strict_Ansi_Not
4963 static const char* apzStrict_Ansi_NotPatch[] = {
4965 "%1 !defined(__STRICT_ANSI__)",
4968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4970 * Description of Strict_Ansi_Not_Ctd fix
4972 tSCC zStrict_Ansi_Not_CtdName[] =
4973 "strict_ansi_not_ctd";
4976 * File name selection pattern
4978 tSCC zStrict_Ansi_Not_CtdList[] =
4979 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
4981 * Machine/OS name selection pattern
4983 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
4986 * content selection pattern - do fix if pattern found
4988 tSCC zStrict_Ansi_Not_CtdSelect0[] =
4989 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
4992 * perform the C function call test
4994 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
4996 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
4997 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
4998 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
4999 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
5002 * Fix Command Arguments for Strict_Ansi_Not_Ctd
5004 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
5006 "%1 !defined(__STRICT_ANSI__)",
5009 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5011 * Description of Strict_Ansi_Only fix
5013 tSCC zStrict_Ansi_OnlyName[] =
5017 * File name selection pattern
5019 #define zStrict_Ansi_OnlyList (char*)NULL
5021 * Machine/OS name selection pattern
5023 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
5026 * content selection pattern - do fix if pattern found
5028 tSCC zStrict_Ansi_OnlySelect0[] =
5029 "^([ \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)";
5032 * perform the C function call test
5034 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
5036 #define STRICT_ANSI_ONLY_TEST_CT 2
5037 static tTestDesc aStrict_Ansi_OnlyTests[] = {
5038 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
5039 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
5042 * Fix Command Arguments for Strict_Ansi_Only
5044 static const char* apzStrict_Ansi_OnlyPatch[] = {
5046 "%1 defined(__STRICT_ANSI__)",
5049 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5051 * Description of Struct_File fix
5053 tSCC zStruct_FileName[] =
5057 * File name selection pattern
5059 tSCC zStruct_FileList[] =
5062 * Machine/OS name selection pattern
5064 #define apzStruct_FileMachs (const char**)NULL
5067 * content selection pattern - do fix if pattern found
5069 tSCC zStruct_FileSelect0[] =
5070 "^.*xdrstdio_create.*struct __file_s";
5072 #define STRUCT_FILE_TEST_CT 1
5073 static tTestDesc aStruct_FileTests[] = {
5074 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
5077 * Fix Command Arguments for Struct_File
5079 static const char* apzStruct_FilePatch[] = {
5081 "struct __file_s;\n\
5085 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5087 * Description of Struct_Sockaddr fix
5089 tSCC zStruct_SockaddrName[] =
5093 * File name selection pattern
5095 tSCC zStruct_SockaddrList[] =
5098 * Machine/OS name selection pattern
5100 #define apzStruct_SockaddrMachs (const char**)NULL
5103 * content selection pattern - do fix if pattern found
5105 tSCC zStruct_SockaddrSelect0[] =
5106 "^.*authdes_create.*struct sockaddr[^_]";
5109 * content bypass pattern - skip fix if pattern found
5111 tSCC zStruct_SockaddrBypass0[] =
5113 tSCC zStruct_SockaddrBypass1[] =
5114 "struct sockaddr;\n";
5116 #define STRUCT_SOCKADDR_TEST_CT 3
5117 static tTestDesc aStruct_SockaddrTests[] = {
5118 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
5119 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
5120 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
5123 * Fix Command Arguments for Struct_Sockaddr
5125 static const char* apzStruct_SockaddrPatch[] = {
5127 "struct sockaddr;\n\
5131 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5133 * Description of Sun_Auth_Proto fix
5135 tSCC zSun_Auth_ProtoName[] =
5139 * File name selection pattern
5141 tSCC zSun_Auth_ProtoList[] =
5142 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
5144 * Machine/OS name selection pattern
5146 #define apzSun_Auth_ProtoMachs (const char**)NULL
5149 * content selection pattern - do fix if pattern found
5151 tSCC zSun_Auth_ProtoSelect0[] =
5152 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
5154 #define SUN_AUTH_PROTO_TEST_CT 1
5155 static tTestDesc aSun_Auth_ProtoTests[] = {
5156 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
5159 * Fix Command Arguments for Sun_Auth_Proto
5161 static const char* apzSun_Auth_ProtoPatch[] = {
5163 "#ifdef __cplusplus\n\
5168 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
5171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5173 * Description of Sun_Bogus_Ifdef fix
5175 tSCC zSun_Bogus_IfdefName[] =
5179 * File name selection pattern
5181 tSCC zSun_Bogus_IfdefList[] =
5182 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
5184 * Machine/OS name selection pattern
5186 #define apzSun_Bogus_IfdefMachs (const char**)NULL
5189 * content selection pattern - do fix if pattern found
5191 tSCC zSun_Bogus_IfdefSelect0[] =
5192 "#ifdef(.*\\|\\|.*)";
5194 #define SUN_BOGUS_IFDEF_TEST_CT 1
5195 static tTestDesc aSun_Bogus_IfdefTests[] = {
5196 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
5199 * Fix Command Arguments for Sun_Bogus_Ifdef
5201 static const char* apzSun_Bogus_IfdefPatch[] = {
5206 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5208 * Description of Sun_Catmacro fix
5210 tSCC zSun_CatmacroName[] =
5214 * File name selection pattern
5216 tSCC zSun_CatmacroList[] =
5217 "|pixrect/memvar.h|";
5219 * Machine/OS name selection pattern
5221 #define apzSun_CatmacroMachs (const char**)NULL
5224 * content selection pattern - do fix if pattern found
5226 tSCC zSun_CatmacroSelect0[] =
5227 "^#define[ \t]+CAT\\(a,b\\).*";
5229 #define SUN_CATMACRO_TEST_CT 1
5230 static tTestDesc aSun_CatmacroTests[] = {
5231 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
5234 * Fix Command Arguments for Sun_Catmacro
5236 static const char* apzSun_CatmacroPatch[] = {
5239 # define CAT(a,b) a##b\n\
5245 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5247 * Description of Sun_Malloc fix
5249 tSCC zSun_MallocName[] =
5253 * File name selection pattern
5255 tSCC zSun_MallocList[] =
5258 * Machine/OS name selection pattern
5260 #define apzSun_MallocMachs (const char**)NULL
5261 #define SUN_MALLOC_TEST_CT 0
5262 #define aSun_MallocTests (tTestDesc*)NULL
5265 * Fix Command Arguments for Sun_Malloc
5267 static const char* apzSun_MallocPatch[] = { "sed",
5268 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
5269 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
5270 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
5271 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
5272 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
5275 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5277 * Description of Sun_Rusers_Semi fix
5279 tSCC zSun_Rusers_SemiName[] =
5283 * File name selection pattern
5285 tSCC zSun_Rusers_SemiList[] =
5286 "|rpcsvc/rusers.h|";
5288 * Machine/OS name selection pattern
5290 #define apzSun_Rusers_SemiMachs (const char**)NULL
5293 * content selection pattern - do fix if pattern found
5295 tSCC zSun_Rusers_SemiSelect0[] =
5298 #define SUN_RUSERS_SEMI_TEST_CT 1
5299 static tTestDesc aSun_Rusers_SemiTests[] = {
5300 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
5303 * Fix Command Arguments for Sun_Rusers_Semi
5305 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
5306 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
5309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5311 * Description of Sun_Signal fix
5313 tSCC zSun_SignalName[] =
5317 * File name selection pattern
5319 tSCC zSun_SignalList[] =
5320 "|sys/signal.h|signal.h|";
5322 * Machine/OS name selection pattern
5324 #define apzSun_SignalMachs (const char**)NULL
5327 * content selection pattern - do fix if pattern found
5329 tSCC zSun_SignalSelect0[] =
5330 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
5332 #define SUN_SIGNAL_TEST_CT 1
5333 static tTestDesc aSun_SignalTests[] = {
5334 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
5337 * Fix Command Arguments for Sun_Signal
5339 static const char* apzSun_SignalPatch[] = {
5341 "#ifdef __cplusplus\n\
5342 void\t(*signal(...))(...);\n\
5348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5350 * Description of Sunos_Strlen fix
5352 tSCC zSunos_StrlenName[] =
5356 * File name selection pattern
5358 tSCC zSunos_StrlenList[] =
5361 * Machine/OS name selection pattern
5363 #define apzSunos_StrlenMachs (const char**)NULL
5366 * content selection pattern - do fix if pattern found
5368 tSCC zSunos_StrlenSelect0[] =
5369 "int[ \t]*strlen\\(\\);(.*)";
5371 #define SUNOS_STRLEN_TEST_CT 1
5372 static tTestDesc aSunos_StrlenTests[] = {
5373 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
5376 * Fix Command Arguments for Sunos_Strlen
5378 static const char* apzSunos_StrlenPatch[] = {
5380 "__SIZE_TYPE__ strlen();%1",
5383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5385 * Description of Svr4__P fix
5387 tSCC zSvr4__PName[] =
5391 * File name selection pattern
5393 tSCC zSvr4__PList[] =
5394 "|math.h|floatingpoint.h|";
5396 * Machine/OS name selection pattern
5398 #define apzSvr4__PMachs (const char**)NULL
5401 * content selection pattern - do fix if pattern found
5403 tSCC zSvr4__PSelect0[] =
5404 "^#define[ \t]+__P.*";
5406 #define SVR4__P_TEST_CT 1
5407 static tTestDesc aSvr4__PTests[] = {
5408 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
5411 * Fix Command Arguments for Svr4__P
5413 static const char* apzSvr4__PPatch[] = {
5420 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5422 * Description of Svr4_Disable_Opt fix
5424 tSCC zSvr4_Disable_OptName[] =
5428 * File name selection pattern
5430 tSCC zSvr4_Disable_OptList[] =
5433 * Machine/OS name selection pattern
5435 #define apzSvr4_Disable_OptMachs (const char**)NULL
5438 * content selection pattern - do fix if pattern found
5440 tSCC zSvr4_Disable_OptSelect0[] =
5441 "#define.*__std_hdr_";
5443 #define SVR4_DISABLE_OPT_TEST_CT 1
5444 static tTestDesc aSvr4_Disable_OptTests[] = {
5445 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
5448 * Fix Command Arguments for Svr4_Disable_Opt
5450 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
5451 "-e", "/#define.*__std_hdr_/d",
5454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5456 * Description of Svr4_Getcwd fix
5458 tSCC zSvr4_GetcwdName[] =
5462 * File name selection pattern
5464 tSCC zSvr4_GetcwdList[] =
5465 "|stdlib.h|unistd.h|prototypes.h|";
5467 * Machine/OS name selection pattern
5469 #define apzSvr4_GetcwdMachs (const char**)NULL
5472 * content selection pattern - do fix if pattern found
5474 tSCC zSvr4_GetcwdSelect0[] =
5475 "getcwd\\(char \\*, int\\)";
5477 #define SVR4_GETCWD_TEST_CT 1
5478 static tTestDesc aSvr4_GetcwdTests[] = {
5479 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
5482 * Fix Command Arguments for Svr4_Getcwd
5484 static const char* apzSvr4_GetcwdPatch[] = {
5486 "getcwd(char *, size_t)",
5489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5491 * Description of Svr4_Krnl fix
5493 tSCC zSvr4_KrnlName[] =
5497 * File name selection pattern
5499 tSCC zSvr4_KrnlList[] =
5500 "|fs/rfs/rf_cache.h|sys/erec.h|sys/err.h|sys/char.h|sys/getpages.h|sys/map.h|sys/cmn_err.h|sys/kdebugger.h|";
5502 * Machine/OS name selection pattern
5504 tSCC* apzSvr4_KrnlMachs[] = {
5506 "i?86-sequent-ptx*",
5507 (const char*)NULL };
5510 * content bypass pattern - skip fix if pattern found
5512 tSCC zSvr4_KrnlBypass0[] =
5515 #define SVR4_KRNL_TEST_CT 1
5516 static tTestDesc aSvr4_KrnlTests[] = {
5517 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
5520 * Fix Command Arguments for Svr4_Krnl
5522 static const char* apzSvr4_KrnlPatch[] = {
5525 "#endif /* _KERNEL */\n",
5528 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5530 * Description of Svr4_Profil fix
5532 tSCC zSvr4_ProfilName[] =
5536 * File name selection pattern
5538 tSCC zSvr4_ProfilList[] =
5539 "|stdlib.h|unistd.h|";
5541 * Machine/OS name selection pattern
5543 #define apzSvr4_ProfilMachs (const char**)NULL
5546 * content selection pattern - do fix if pattern found
5548 tSCC zSvr4_ProfilSelect0[] =
5549 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
5552 * content bypass pattern - skip fix if pattern found
5554 tSCC zSvr4_ProfilBypass0[] =
5557 #define SVR4_PROFIL_TEST_CT 2
5558 static tTestDesc aSvr4_ProfilTests[] = {
5559 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
5560 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
5563 * Fix Command Arguments for Svr4_Profil
5565 static const char* apzSvr4_ProfilPatch[] = {
5567 "profil(unsigned short *, size_t, int, unsigned int)",
5570 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5572 * Description of Svr4_Sighandler_Type fix
5574 tSCC zSvr4_Sighandler_TypeName[] =
5575 "svr4_sighandler_type";
5578 * File name selection pattern
5580 tSCC zSvr4_Sighandler_TypeList[] =
5583 * Machine/OS name selection pattern
5585 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
5588 * content selection pattern - do fix if pattern found
5590 tSCC zSvr4_Sighandler_TypeSelect0[] =
5591 "void *\\(\\*\\)\\(\\)";
5593 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
5594 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
5595 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
5598 * Fix Command Arguments for Svr4_Sighandler_Type
5600 static const char* apzSvr4_Sighandler_TypePatch[] = {
5605 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5607 * Description of Svr4_Undeclared_Getrnge fix
5609 tSCC zSvr4_Undeclared_GetrngeName[] =
5610 "svr4_undeclared_getrnge";
5613 * File name selection pattern
5615 tSCC zSvr4_Undeclared_GetrngeList[] =
5618 * Machine/OS name selection pattern
5620 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
5623 * content selection pattern - do fix if pattern found
5625 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
5629 * content bypass pattern - skip fix if pattern found
5631 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
5632 "static void getrnge";
5634 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
5635 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
5636 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
5637 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
5640 * Fix Command Arguments for Svr4_Undeclared_Getrnge
5642 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
5645 static int getrnge ();",
5646 "^static int[ \t]+size;",
5649 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5651 * Description of Sysv68_String fix
5653 tSCC zSysv68_StringName[] =
5657 * File name selection pattern
5659 tSCC zSysv68_StringList[] =
5660 "|testing.h|string.h|";
5662 * Machine/OS name selection pattern
5664 #define apzSysv68_StringMachs (const char**)NULL
5665 #define SYSV68_STRING_TEST_CT 0
5666 #define aSysv68_StringTests (tTestDesc*)NULL
5669 * Fix Command Arguments for Sysv68_String
5671 static const char* apzSysv68_StringPatch[] = { "sed",
5672 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
5673 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
5674 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
5675 "-e", "/^extern char$/N",
5676 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
5677 "-e", "/^extern int$/N",
5678 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
5679 "-e", "/^\tstrncmp(),$/N",
5680 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
5681 extern unsigned int\\\n\
5685 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5687 * Description of Sysz_Stdlib_For_Sun fix
5689 tSCC zSysz_Stdlib_For_SunName[] =
5690 "sysz_stdlib_for_sun";
5693 * File name selection pattern
5695 tSCC zSysz_Stdlib_For_SunList[] =
5698 * Machine/OS name selection pattern
5700 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
5703 * content selection pattern - do fix if pattern found
5705 tSCC zSysz_Stdlib_For_SunSelect0[] =
5706 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
5708 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
5709 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
5710 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
5713 * Fix Command Arguments for Sysz_Stdlib_For_Sun
5715 static const char* apzSysz_Stdlib_For_SunPatch[] = {
5720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5722 * Description of Thread_Keyword fix
5724 tSCC zThread_KeywordName[] =
5728 * File name selection pattern
5730 tSCC zThread_KeywordList[] =
5731 "|pthread.h|bits/sigthread.h|";
5733 * Machine/OS name selection pattern
5735 #define apzThread_KeywordMachs (const char**)NULL
5738 * content selection pattern - do fix if pattern found
5740 tSCC zThread_KeywordSelect0[] =
5741 "([* ])__thread([,)])";
5743 #define THREAD_KEYWORD_TEST_CT 1
5744 static tTestDesc aThread_KeywordTests[] = {
5745 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
5748 * Fix Command Arguments for Thread_Keyword
5750 static const char* apzThread_KeywordPatch[] = {
5755 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5757 * Description of Tinfo_Cplusplus fix
5759 tSCC zTinfo_CplusplusName[] =
5763 * File name selection pattern
5765 tSCC zTinfo_CplusplusList[] =
5768 * Machine/OS name selection pattern
5770 #define apzTinfo_CplusplusMachs (const char**)NULL
5773 * content selection pattern - do fix if pattern found
5775 tSCC zTinfo_CplusplusSelect0[] =
5778 #define TINFO_CPLUSPLUS_TEST_CT 1
5779 static tTestDesc aTinfo_CplusplusTests[] = {
5780 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
5783 * Fix Command Arguments for Tinfo_Cplusplus
5785 static const char* apzTinfo_CplusplusPatch[] = {
5790 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5792 * Description of Ultrix_Atexit_Param fix
5794 tSCC zUltrix_Atexit_ParamName[] =
5795 "ultrix_atexit_param";
5798 * File name selection pattern
5800 tSCC zUltrix_Atexit_ParamList[] =
5803 * Machine/OS name selection pattern
5805 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
5808 * content selection pattern - do fix if pattern found
5810 tSCC zUltrix_Atexit_ParamSelect0[] =
5811 "atexit\\(.*\\(\\)";
5813 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
5814 static tTestDesc aUltrix_Atexit_ParamTests[] = {
5815 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
5818 * Fix Command Arguments for Ultrix_Atexit_Param
5820 static const char* apzUltrix_Atexit_ParamPatch[] = {
5822 "atexit( void (*__func)( void )",
5825 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5827 * Description of Ultrix_Atof_Param fix
5829 tSCC zUltrix_Atof_ParamName[] =
5830 "ultrix_atof_param";
5833 * File name selection pattern
5835 tSCC zUltrix_Atof_ParamList[] =
5838 * Machine/OS name selection pattern
5840 #define apzUltrix_Atof_ParamMachs (const char**)NULL
5843 * content selection pattern - do fix if pattern found
5845 tSCC zUltrix_Atof_ParamSelect0[] =
5846 "atof\\([ \t]*char";
5848 #define ULTRIX_ATOF_PARAM_TEST_CT 1
5849 static tTestDesc aUltrix_Atof_ParamTests[] = {
5850 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
5853 * Fix Command Arguments for Ultrix_Atof_Param
5855 static const char* apzUltrix_Atof_ParamPatch[] = {
5860 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5862 * Description of Ultrix_Const fix
5864 tSCC zUltrix_ConstName[] =
5868 * File name selection pattern
5870 tSCC zUltrix_ConstList[] =
5873 * Machine/OS name selection pattern
5875 #define apzUltrix_ConstMachs (const char**)NULL
5878 * content selection pattern - do fix if pattern found
5880 tSCC zUltrix_ConstSelect0[] =
5881 "perror\\( char \\*";
5883 #define ULTRIX_CONST_TEST_CT 1
5884 static tTestDesc aUltrix_ConstTests[] = {
5885 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
5888 * Fix Command Arguments for Ultrix_Const
5890 static const char* apzUltrix_ConstPatch[] = {
5893 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
5896 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5898 * Description of Ultrix_Const2 fix
5900 tSCC zUltrix_Const2Name[] =
5904 * File name selection pattern
5906 tSCC zUltrix_Const2List[] =
5909 * Machine/OS name selection pattern
5911 #define apzUltrix_Const2Machs (const char**)NULL
5914 * content selection pattern - do fix if pattern found
5916 tSCC zUltrix_Const2Select0[] =
5917 "\\*fopen\\( char \\*";
5919 #define ULTRIX_CONST2_TEST_CT 1
5920 static tTestDesc aUltrix_Const2Tests[] = {
5921 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
5924 * Fix Command Arguments for Ultrix_Const2
5926 static const char* apzUltrix_Const2Patch[] = {
5928 "%1( const char *%3, const char *",
5929 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
5932 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5934 * Description of Ultrix_Const3 fix
5936 tSCC zUltrix_Const3Name[] =
5940 * File name selection pattern
5942 tSCC zUltrix_Const3List[] =
5945 * Machine/OS name selection pattern
5947 #define apzUltrix_Const3Machs (const char**)NULL
5950 * content selection pattern - do fix if pattern found
5952 tSCC zUltrix_Const3Select0[] =
5953 "fdopen\\( .*, char \\*";
5955 #define ULTRIX_CONST3_TEST_CT 1
5956 static tTestDesc aUltrix_Const3Tests[] = {
5957 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
5960 * Fix Command Arguments for Ultrix_Const3
5962 static const char* apzUltrix_Const3Patch[] = {
5965 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
5968 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5970 * Description of Ultrix_Fix_Fixproto fix
5972 tSCC zUltrix_Fix_FixprotoName[] =
5973 "ultrix_fix_fixproto";
5976 * File name selection pattern
5978 tSCC zUltrix_Fix_FixprotoList[] =
5981 * Machine/OS name selection pattern
5983 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
5986 * content selection pattern - do fix if pattern found
5988 tSCC zUltrix_Fix_FixprotoSelect0[] =
5991 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
5992 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
5993 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
5996 * Fix Command Arguments for Ultrix_Fix_Fixproto
5998 static const char* apzUltrix_Fix_FixprotoPatch[] = {
6002 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
6005 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6007 * Description of Ultrix_Ifdef fix
6009 tSCC zUltrix_IfdefName[] =
6013 * File name selection pattern
6015 tSCC zUltrix_IfdefList[] =
6018 * Machine/OS name selection pattern
6020 #define apzUltrix_IfdefMachs (const char**)NULL
6023 * content selection pattern - do fix if pattern found
6025 tSCC zUltrix_IfdefSelect0[] =
6026 "^#ifdef KERNEL[ \t]+&&";
6028 #define ULTRIX_IFDEF_TEST_CT 1
6029 static tTestDesc aUltrix_IfdefTests[] = {
6030 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
6033 * Fix Command Arguments for Ultrix_Ifdef
6035 static const char* apzUltrix_IfdefPatch[] = {
6037 "#if defined(KERNEL) &&",
6040 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6042 * Description of Ultrix_Locale fix
6044 tSCC zUltrix_LocaleName[] =
6048 * File name selection pattern
6050 tSCC zUltrix_LocaleList[] =
6053 * Machine/OS name selection pattern
6055 #define apzUltrix_LocaleMachs (const char**)NULL
6058 * content selection pattern - do fix if pattern found
6060 tSCC zUltrix_LocaleSelect0[] =
6061 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
6063 #define ULTRIX_LOCALE_TEST_CT 1
6064 static tTestDesc aUltrix_LocaleTests[] = {
6065 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
6068 * Fix Command Arguments for Ultrix_Locale
6070 static const char* apzUltrix_LocalePatch[] = {
6074 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6076 * Description of Ultrix_Math_Ifdef fix
6078 tSCC zUltrix_Math_IfdefName[] =
6079 "ultrix_math_ifdef";
6082 * File name selection pattern
6084 tSCC zUltrix_Math_IfdefList[] =
6085 "|sys/limits.h|float.h|math.h|";
6087 * Machine/OS name selection pattern
6089 #define apzUltrix_Math_IfdefMachs (const char**)NULL
6092 * content selection pattern - do fix if pattern found
6094 tSCC zUltrix_Math_IfdefSelect0[] =
6095 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
6097 #define ULTRIX_MATH_IFDEF_TEST_CT 1
6098 static tTestDesc aUltrix_Math_IfdefTests[] = {
6099 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
6102 * Fix Command Arguments for Ultrix_Math_Ifdef
6104 static const char* apzUltrix_Math_IfdefPatch[] = {
6109 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6111 * Description of Ultrix_Nested_Ioctl fix
6113 tSCC zUltrix_Nested_IoctlName[] =
6114 "ultrix_nested_ioctl";
6117 * File name selection pattern
6119 tSCC zUltrix_Nested_IoctlList[] =
6122 * Machine/OS name selection pattern
6124 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
6127 * content selection pattern - do fix if pattern found
6129 tSCC zUltrix_Nested_IoctlSelect0[] =
6130 "^/\\* #define SIOCSCREEN";
6132 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
6133 static tTestDesc aUltrix_Nested_IoctlTests[] = {
6134 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
6137 * Fix Command Arguments for Ultrix_Nested_Ioctl
6139 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
6140 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
6143 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6145 * Description of Ultrix_Nested_Svc fix
6147 tSCC zUltrix_Nested_SvcName[] =
6148 "ultrix_nested_svc";
6151 * File name selection pattern
6153 tSCC zUltrix_Nested_SvcList[] =
6156 * Machine/OS name selection pattern
6158 #define apzUltrix_Nested_SvcMachs (const char**)NULL
6161 * content selection pattern - do fix if pattern found
6163 tSCC zUltrix_Nested_SvcSelect0[] =
6164 "^ \\*[ \t]*int protocol; */\\*";
6166 #define ULTRIX_NESTED_SVC_TEST_CT 1
6167 static tTestDesc aUltrix_Nested_SvcTests[] = {
6168 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
6171 * Fix Command Arguments for Ultrix_Nested_Svc
6173 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
6174 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
6177 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6179 * Description of Ultrix_Stat fix
6181 tSCC zUltrix_StatName[] =
6185 * File name selection pattern
6187 tSCC zUltrix_StatList[] =
6190 * Machine/OS name selection pattern
6192 #define apzUltrix_StatMachs (const char**)NULL
6195 * content selection pattern - do fix if pattern found
6197 tSCC zUltrix_StatSelect0[] =
6198 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
6200 #define ULTRIX_STAT_TEST_CT 1
6201 static tTestDesc aUltrix_StatTests[] = {
6202 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
6205 * Fix Command Arguments for Ultrix_Stat
6207 static const char* apzUltrix_StatPatch[] = { "sed",
6208 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
6210 /* macro to test for symbolic link */\\\n\
6211 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
6212 "-e", "/^[ \t]*fstat(),$/a\\\n\
6216 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6218 * Description of Ultrix_Static fix
6220 tSCC zUltrix_StaticName[] =
6224 * File name selection pattern
6226 tSCC zUltrix_StaticList[] =
6229 * Machine/OS name selection pattern
6231 #define apzUltrix_StaticMachs (const char**)NULL
6234 * content selection pattern - do fix if pattern found
6236 tSCC zUltrix_StaticSelect0[] =
6237 "#include \"r[34]_cpu";
6239 #define ULTRIX_STATIC_TEST_CT 1
6240 static tTestDesc aUltrix_StaticTests[] = {
6241 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
6244 * Fix Command Arguments for Ultrix_Static
6246 static const char* apzUltrix_StaticPatch[] = { "sed",
6247 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
6248 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
6249 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
6252 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6254 * Description of Ultrix_Stdlib fix
6256 tSCC zUltrix_StdlibName[] =
6260 * File name selection pattern
6262 tSCC zUltrix_StdlibList[] =
6265 * Machine/OS name selection pattern
6267 #define apzUltrix_StdlibMachs (const char**)NULL
6270 * content selection pattern - do fix if pattern found
6272 tSCC zUltrix_StdlibSelect0[] =
6273 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
6275 #define ULTRIX_STDLIB_TEST_CT 1
6276 static tTestDesc aUltrix_StdlibTests[] = {
6277 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
6280 * Fix Command Arguments for Ultrix_Stdlib
6282 static const char* apzUltrix_StdlibPatch[] = { "sed",
6283 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
6284 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
6285 void\t\tunsetenv( const char *__name );\\\n\
6286 int\t\tputenv( char *__s );\n",
6287 "-e", "/^char.*getenv();.*$/a\\\n\
6289 void\tunsetenv();\\\n\
6293 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6295 * Description of Ultrix_Strings fix
6297 tSCC zUltrix_StringsName[] =
6301 * File name selection pattern
6303 tSCC zUltrix_StringsList[] =
6306 * Machine/OS name selection pattern
6308 #define apzUltrix_StringsMachs (const char**)NULL
6311 * content selection pattern - do fix if pattern found
6313 tSCC zUltrix_StringsSelect0[] =
6314 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6316 #define ULTRIX_STRINGS_TEST_CT 1
6317 static tTestDesc aUltrix_StringsTests[] = {
6318 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
6321 * Fix Command Arguments for Ultrix_Strings
6323 static const char* apzUltrix_StringsPatch[] = {
6327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6329 * Description of Ultrix_Strings2 fix
6331 tSCC zUltrix_Strings2Name[] =
6335 * File name selection pattern
6337 tSCC zUltrix_Strings2List[] =
6340 * Machine/OS name selection pattern
6342 #define apzUltrix_Strings2Machs (const char**)NULL
6345 * content selection pattern - do fix if pattern found
6347 tSCC zUltrix_Strings2Select0[] =
6348 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6350 #define ULTRIX_STRINGS2_TEST_CT 1
6351 static tTestDesc aUltrix_Strings2Tests[] = {
6352 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
6355 * Fix Command Arguments for Ultrix_Strings2
6357 static const char* apzUltrix_Strings2Patch[] = { "sed",
6358 "-e", "/^.*strncmp( const .* );.*/a\\\n\
6361 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
6362 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
6363 "-e", "/^.*strncmp();.*/a\\\n\
6365 \tstrcasecmp(),\\\n\
6366 \tstrncasecmp();\n",
6369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6371 * Description of Ultrix_Sys_Time fix
6373 tSCC zUltrix_Sys_TimeName[] =
6377 * File name selection pattern
6379 tSCC zUltrix_Sys_TimeList[] =
6382 * Machine/OS name selection pattern
6384 #define apzUltrix_Sys_TimeMachs (const char**)NULL
6387 * content selection pattern - do fix if pattern found
6389 tSCC zUltrix_Sys_TimeSelect0[] =
6390 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
6392 #define ULTRIX_SYS_TIME_TEST_CT 1
6393 static tTestDesc aUltrix_Sys_TimeTests[] = {
6394 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
6397 * Fix Command Arguments for Ultrix_Sys_Time
6399 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
6400 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
6402 extern int adjtime(struct timeval *, struct timeval *);\\\n\
6403 extern int getitimer(int, struct itimerval *);\\\n\
6404 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
6405 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
6406 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
6407 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
6408 extern int stime(const time_t *);\\\n\
6409 extern int utimes(const char *, const struct timeval[2]);\\\n\
6410 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
6411 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
6412 extern\tint adjtime();\\\n\
6413 extern\tint getitimer();\\\n\
6414 extern\tint setitimer();\\\n\
6415 extern\tint gettimeofday();\\\n\
6416 extern\tint settimeofday();\\\n\
6417 extern\tvoid profil();\\\n\
6418 extern\tint stime();\\\n\
6419 extern\tint utimes();\\\n\
6420 extern\tint select();\n",
6423 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6425 * Description of Ultrix_Unistd fix
6427 tSCC zUltrix_UnistdName[] =
6431 * File name selection pattern
6433 tSCC zUltrix_UnistdList[] =
6436 * Machine/OS name selection pattern
6438 #define apzUltrix_UnistdMachs (const char**)NULL
6441 * content selection pattern - do fix if pattern found
6443 tSCC zUltrix_UnistdSelect0[] =
6444 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
6446 #define ULTRIX_UNISTD_TEST_CT 1
6447 static tTestDesc aUltrix_UnistdTests[] = {
6448 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
6451 * Fix Command Arguments for Ultrix_Unistd
6453 static const char* apzUltrix_UnistdPatch[] = { "sed",
6454 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
6455 \tgetpagesize(),\n",
6456 "-e", "/^[ \t]*fork(),.*$/a\\\n\
6460 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6462 * Description of Undefine_Null fix
6464 tSCC zUndefine_NullName[] =
6468 * File name selection pattern
6470 #define zUndefine_NullList (char*)NULL
6472 * Machine/OS name selection pattern
6474 #define apzUndefine_NullMachs (const char**)NULL
6477 * content selection pattern - do fix if pattern found
6479 tSCC zUndefine_NullSelect0[] =
6480 "^#[ \t]*define[ \t]+NULL[ \t]";
6483 * content bypass pattern - skip fix if pattern found
6485 tSCC zUndefine_NullBypass0[] =
6486 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
6488 #define UNDEFINE_NULL_TEST_CT 2
6489 static tTestDesc aUndefine_NullTests[] = {
6490 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
6491 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
6494 * Fix Command Arguments for Undefine_Null
6496 static const char* apzUndefine_NullPatch[] = {
6501 "^#[ \t]*define[ \t]+NULL([^\r\n\
6505 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6507 * Description of Unicosmk_Restrict fix
6509 tSCC zUnicosmk_RestrictName[] =
6510 "unicosmk_restrict";
6513 * File name selection pattern
6515 tSCC zUnicosmk_RestrictList[] =
6516 "|stdio.h|stdlib.h|wchar.h|";
6518 * Machine/OS name selection pattern
6520 tSCC* apzUnicosmk_RestrictMachs[] = {
6522 (const char*)NULL };
6525 * content selection pattern - do fix if pattern found
6527 tSCC zUnicosmk_RestrictSelect0[] =
6528 "(\\*[ \t]*)restrict([ \t]+)";
6530 #define UNICOSMK_RESTRICT_TEST_CT 1
6531 static tTestDesc aUnicosmk_RestrictTests[] = {
6532 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
6535 * Fix Command Arguments for Unicosmk_Restrict
6537 static const char* apzUnicosmk_RestrictPatch[] = {
6542 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6544 * Description of Uw7_Byteorder_Fix fix
6546 tSCC zUw7_Byteorder_FixName[] =
6547 "uw7_byteorder_fix";
6550 * File name selection pattern
6552 tSCC zUw7_Byteorder_FixList[] =
6555 * Machine/OS name selection pattern
6557 tSCC* apzUw7_Byteorder_FixMachs[] = {
6561 "i?86-*-solaris2.[0-4]",
6562 "powerpcle-*-solaris2.[0-4]",
6563 "sparc-*-solaris2.[0-4]",
6564 (const char*)NULL };
6567 * content selection pattern - do fix if pattern found
6569 tSCC zUw7_Byteorder_FixSelect0[] =
6573 * perform the 'test' shell command - do fix on success
6575 tSCC zUw7_Byteorder_FixTest0[] =
6576 "-f sys/byteorder.h";
6578 #define UW7_BYTEORDER_FIX_TEST_CT 2
6579 static tTestDesc aUw7_Byteorder_FixTests[] = {
6580 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
6581 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
6584 * Fix Command Arguments for Uw7_Byteorder_Fix
6586 static const char* apzUw7_Byteorder_FixPatch[] = {
6589 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
6592 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6594 * Description of Va_I960_Macro fix
6596 tSCC zVa_I960_MacroName[] =
6600 * File name selection pattern
6602 tSCC zVa_I960_MacroList[] =
6603 "|arch/i960/archI960.h|";
6605 * Machine/OS name selection pattern
6607 #define apzVa_I960_MacroMachs (const char**)NULL
6610 * content selection pattern - do fix if pattern found
6612 tSCC zVa_I960_MacroSelect0[] =
6613 "__(vsiz|vali|vpad|alignof__)";
6615 #define VA_I960_MACRO_TEST_CT 1
6616 static tTestDesc aVa_I960_MacroTests[] = {
6617 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
6620 * Fix Command Arguments for Va_I960_Macro
6622 static const char* apzVa_I960_MacroPatch[] = {
6627 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6629 * Description of Void_Null fix
6631 tSCC zVoid_NullName[] =
6635 * File name selection pattern
6637 tSCC zVoid_NullList[] =
6638 "|curses.h|dbm.h|locale.h|stdio.h|stdlib.h|string.h|time.h|unistd.h|sys/dir.h|sys/param.h|sys/types.h|";
6640 * Machine/OS name selection pattern
6642 #define apzVoid_NullMachs (const char**)NULL
6645 * content selection pattern - do fix if pattern found
6647 tSCC zVoid_NullSelect0[] =
6648 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
6650 #define VOID_NULL_TEST_CT 1
6651 static tTestDesc aVoid_NullTests[] = {
6652 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
6655 * Fix Command Arguments for Void_Null
6657 static const char* apzVoid_NullPatch[] = {
6662 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6664 * Description of Vxworks_Gcc_Problem fix
6666 tSCC zVxworks_Gcc_ProblemName[] =
6667 "vxworks_gcc_problem";
6670 * File name selection pattern
6672 tSCC zVxworks_Gcc_ProblemList[] =
6673 "|types/vxTypesBase.h|";
6675 * Machine/OS name selection pattern
6677 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
6680 * content selection pattern - do fix if pattern found
6682 tSCC zVxworks_Gcc_ProblemSelect0[] =
6683 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
6685 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
6686 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
6687 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
6690 * Fix Command Arguments for Vxworks_Gcc_Problem
6692 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
6693 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
6694 "-e", "/[ \t]size_t/i\\\n\
6695 #ifndef _GCC_SIZE_T\\\n\
6696 #define _GCC_SIZE_T\n",
6697 "-e", "/[ \t]size_t/a\\\n\
6699 "-e", "/[ \t]ptrdiff_t/i\\\n\
6700 #ifndef _GCC_PTRDIFF_T\\\n\
6701 #define _GCC_PTRDIFF_T\n",
6702 "-e", "/[ \t]ptrdiff_t/a\\\n\
6704 "-e", "/[ \t]wchar_t/i\\\n\
6705 #ifndef _GCC_WCHAR_T\\\n\
6706 #define _GCC_WCHAR_T\n",
6707 "-e", "/[ \t]wchar_t/a\\\n\
6711 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6713 * Description of Vxworks_Needs_Vxtypes fix
6715 tSCC zVxworks_Needs_VxtypesName[] =
6716 "vxworks_needs_vxtypes";
6719 * File name selection pattern
6721 tSCC zVxworks_Needs_VxtypesList[] =
6724 * Machine/OS name selection pattern
6726 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
6729 * content selection pattern - do fix if pattern found
6731 tSCC zVxworks_Needs_VxtypesSelect0[] =
6732 "uint_t([ \t]+_clocks_per_sec)";
6734 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
6735 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
6736 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
6739 * Fix Command Arguments for Vxworks_Needs_Vxtypes
6741 static const char* apzVxworks_Needs_VxtypesPatch[] = {
6746 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6748 * Description of Vxworks_Needs_Vxworks fix
6750 tSCC zVxworks_Needs_VxworksName[] =
6751 "vxworks_needs_vxworks";
6754 * File name selection pattern
6756 tSCC zVxworks_Needs_VxworksList[] =
6759 * Machine/OS name selection pattern
6761 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
6764 * content selection pattern - do fix if pattern found
6766 tSCC zVxworks_Needs_VxworksSelect0[] =
6767 "#[ \t]define[ \t]+__INCstath";
6770 * perform the 'test' shell command - do fix on success
6772 tSCC zVxworks_Needs_VxworksTest0[] =
6773 " -r types/vxTypesOld.h";
6774 tSCC zVxworks_Needs_VxworksTest1[] =
6775 " -n \"`egrep '#include' $file`\"";
6776 tSCC zVxworks_Needs_VxworksTest2[] =
6777 " -n \"`egrep ULONG $file`\"";
6779 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
6780 static tTestDesc aVxworks_Needs_VxworksTests[] = {
6781 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
6782 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
6783 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
6784 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
6787 * Fix Command Arguments for Vxworks_Needs_Vxworks
6789 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
6790 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
6791 #include <types/vxTypesOld.h>\n",
6794 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6796 * Description of Vxworks_Time fix
6798 tSCC zVxworks_TimeName[] =
6802 * File name selection pattern
6804 tSCC zVxworks_TimeList[] =
6807 * Machine/OS name selection pattern
6809 #define apzVxworks_TimeMachs (const char**)NULL
6812 * content selection pattern - do fix if pattern found
6814 tSCC zVxworks_TimeSelect0[] =
6815 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
6818 * perform the 'test' shell command - do fix on success
6820 tSCC zVxworks_TimeTest0[] =
6823 #define VXWORKS_TIME_TEST_CT 2
6824 static tTestDesc aVxworks_TimeTests[] = {
6825 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
6826 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
6829 * Fix Command Arguments for Vxworks_Time
6831 static const char* apzVxworks_TimePatch[] = {
6833 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
6834 #ifdef __cplusplus\n\
6835 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
6837 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
6839 #define __gcc_VOIDFUNCPTR_defined\n\
6841 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
6844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6846 * Description of Windiss_Math1 fix
6848 tSCC zWindiss_Math1Name[] =
6852 * File name selection pattern
6854 tSCC zWindiss_Math1List[] =
6857 * Machine/OS name selection pattern
6859 tSCC* apzWindiss_Math1Machs[] = {
6861 (const char*)NULL };
6862 #define WINDISS_MATH1_TEST_CT 0
6863 #define aWindiss_Math1Tests (tTestDesc*)NULL
6866 * Fix Command Arguments for Windiss_Math1
6868 static const char* apzWindiss_Math1Patch[] = { "sed",
6869 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
6872 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6874 * Description of Windiss_Math2 fix
6876 tSCC zWindiss_Math2Name[] =
6880 * File name selection pattern
6882 tSCC zWindiss_Math2List[] =
6885 * Machine/OS name selection pattern
6887 tSCC* apzWindiss_Math2Machs[] = {
6889 (const char*)NULL };
6890 #define WINDISS_MATH2_TEST_CT 0
6891 #define aWindiss_Math2Tests (tTestDesc*)NULL
6894 * Fix Command Arguments for Windiss_Math2
6896 static const char* apzWindiss_Math2Patch[] = { "sed",
6897 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
6900 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6902 * Description of Windiss_Valist fix
6904 tSCC zWindiss_ValistName[] =
6908 * File name selection pattern
6910 #define zWindiss_ValistList (char*)NULL
6912 * Machine/OS name selection pattern
6914 tSCC* apzWindiss_ValistMachs[] = {
6916 (const char*)NULL };
6919 * content selection pattern - do fix if pattern found
6921 tSCC zWindiss_ValistSelect0[] =
6922 "(#include.*)diab/va_list.h";
6924 #define WINDISS_VALIST_TEST_CT 1
6925 static tTestDesc aWindiss_ValistTests[] = {
6926 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
6929 * Fix Command Arguments for Windiss_Valist
6931 static const char* apzWindiss_ValistPatch[] = { "sed",
6932 "-e", "s|diab/va_list.h|stdarg.h|",
6935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6937 * Description of X11_Class fix
6939 tSCC zX11_ClassName[] =
6943 * File name selection pattern
6945 tSCC zX11_ClassList[] =
6948 * Machine/OS name selection pattern
6950 #define apzX11_ClassMachs (const char**)NULL
6953 * content selection pattern - do fix if pattern found
6955 tSCC zX11_ClassSelect0[] =
6956 "^([ \t]*char \\*)class;(.*)";
6959 * content bypass pattern - skip fix if pattern found
6961 tSCC zX11_ClassBypass0[] =
6964 #define X11_CLASS_TEST_CT 2
6965 static tTestDesc aX11_ClassTests[] = {
6966 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
6967 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
6970 * Fix Command Arguments for X11_Class
6972 static const char* apzX11_ClassPatch[] = {
6974 "#ifdef __cplusplus\n\
6981 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6983 * Description of X11_Class_Usage fix
6985 tSCC zX11_Class_UsageName[] =
6989 * File name selection pattern
6991 tSCC zX11_Class_UsageList[] =
6992 "|Xm/BaseClassI.h|";
6994 * Machine/OS name selection pattern
6996 #define apzX11_Class_UsageMachs (const char**)NULL
6999 * content selection pattern - do fix if pattern found
7001 tSCC zX11_Class_UsageSelect0[] =
7005 * content bypass pattern - skip fix if pattern found
7007 tSCC zX11_Class_UsageBypass0[] =
7010 #define X11_CLASS_USAGE_TEST_CT 2
7011 static tTestDesc aX11_Class_UsageTests[] = {
7012 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
7013 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
7016 * Fix Command Arguments for X11_Class_Usage
7018 static const char* apzX11_Class_UsagePatch[] = {
7023 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7025 * Description of X11_New fix
7027 tSCC zX11_NewName[] =
7031 * File name selection pattern
7033 tSCC zX11_NewList[] =
7036 * Machine/OS name selection pattern
7038 #define apzX11_NewMachs (const char**)NULL
7041 * content bypass pattern - skip fix if pattern found
7043 tSCC zX11_NewBypass0[] =
7046 #define X11_NEW_TEST_CT 1
7047 static tTestDesc aX11_NewTests[] = {
7048 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
7051 * Fix Command Arguments for X11_New
7053 static const char* apzX11_NewPatch[] = { "sed",
7054 "-e", "/Widget\told, new;/i\\\n\
7055 #ifdef __cplusplus\\\n\
7056 \tWidget\told, c_new;\\\n\
7058 "-e", "/Widget\told, new;/a\\\n\
7060 "-e", "s/Widget new,/Widget c_new,/g",
7063 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7065 * Description of X11_Sprintf fix
7067 tSCC zX11_SprintfName[] =
7071 * File name selection pattern
7073 tSCC zX11_SprintfList[] =
7074 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
7076 * Machine/OS name selection pattern
7078 #define apzX11_SprintfMachs (const char**)NULL
7081 * content selection pattern - do fix if pattern found
7083 tSCC zX11_SprintfSelect0[] =
7084 "^extern char \\*\tsprintf\\(\\);$";
7086 #define X11_SPRINTF_TEST_CT 1
7087 static tTestDesc aX11_SprintfTests[] = {
7088 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7091 * Fix Command Arguments for X11_Sprintf
7093 static const char* apzX11_SprintfPatch[] = {
7095 "#ifndef __STDC__\n\
7097 #endif /* !defined __STDC__ */",
7101 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7105 #define REGEX_COUNT 202
7106 #define MACH_LIST_SIZE_LIMIT 261
7107 #define FIX_COUNT 179
7110 * Enumerate the fixes
7113 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7114 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7115 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7116 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7117 AAB_SUN_MEMCPY_FIXIDX,
7118 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
7119 AAB_ULTRIX_LIMITS_FIXIDX,
7120 AAB_ULTRIX_MEMORY_FIXIDX,
7121 AAB_ULTRIX_STRING_FIXIDX,
7123 AIX_SYSMACHINE_FIXIDX,
7125 AIX_SYSWAIT_2_FIXIDX,
7126 AIX_VOLATILE_FIXIDX,
7127 ALPHA___ASSERT_FIXIDX,
7128 ALPHA___EXTERN_PREFIX_FIXIDX,
7129 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7130 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7131 ALPHA_ASSERT_FIXIDX,
7132 ALPHA_BAD_LVAL_FIXIDX,
7133 ALPHA_GETOPT_FIXIDX,
7134 ALPHA_PARENS_FIXIDX,
7135 ALPHA_PTHREAD_FIXIDX,
7136 ALPHA_PTHREAD_GCC_FIXIDX,
7139 AVOID_BOOL_DEFINE_FIXIDX,
7140 AVOID_BOOL_TYPE_FIXIDX,
7141 AVOID_WCHAR_T_TYPE_FIXIDX,
7142 BAD_STRUCT_TERM_FIXIDX,
7144 BROKEN_ASSERT_STDIO_FIXIDX,
7145 BROKEN_ASSERT_STDLIB_FIXIDX,
7147 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7148 CTRL_QUOTES_DEF_FIXIDX,
7149 CTRL_QUOTES_USE_FIXIDX,
7151 DARWIN_PRIVATE_EXTERN_FIXIDX,
7152 DEC_INTERN_ASM_FIXIDX,
7153 DJGPP_WCHAR_H_FIXIDX,
7155 EXCEPTION_STRUCTURE_FIXIDX,
7156 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7157 FREEBSD_GCC4_BREAKAGE_FIXIDX,
7161 HPUX10_CPP_POW_INLINE_FIXIDX,
7162 HPUX11_CPP_POW_INLINE_FIXIDX,
7163 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7164 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7165 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7167 HPUX11_FABSF_FIXIDX,
7168 HPUX11_SIZE_T_FIXIDX,
7169 HPUX11_SNPRINTF_FIXIDX,
7170 HPUX11_UINT32_C_FIXIDX,
7171 HPUX11_VSNPRINTF_FIXIDX,
7172 HPUX8_BOGUS_INLINES_FIXIDX,
7173 HPUX_CTYPE_MACROS_FIXIDX,
7174 HPUX_LONG_DOUBLE_FIXIDX,
7176 HPUX_SYSTIME_FIXIDX,
7177 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7178 IO_QUOTES_DEF_FIXIDX,
7179 IO_QUOTES_USE_FIXIDX,
7180 IP_MISSING_SEMI_FIXIDX,
7181 IRIX___RESTRICT_FIXIDX,
7182 IRIX___GENERIC1_FIXIDX,
7183 IRIX___GENERIC2_FIXIDX,
7184 IRIX_ASM_APOSTROPHE_FIXIDX,
7185 IRIX_LIMITS_CONST_FIXIDX,
7186 IRIX_SOCKLEN_T_FIXIDX,
7187 IRIX_STDIO_VA_LIST_FIXIDX,
7188 IRIX_WCSFTIME_FIXIDX,
7190 ISC_OMITS_WITH_STDC_FIXIDX,
7191 KANDR_CONCAT_FIXIDX,
7192 LIBC1_G_VA_LIST_FIXIDX,
7193 LIBC1_IFDEFD_MEMX_FIXIDX,
7194 LIMITS_IFNDEFS_FIXIDX,
7195 LINUX_IA64_UCONTEXT_FIXIDX,
7196 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7197 LYNXOS_MISSING_PUTENV_FIXIDX,
7198 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7199 MACHINE_NAME_FIXIDX,
7200 MATH_EXCEPTION_FIXIDX,
7201 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7202 MATH_HUGE_VAL_IFNDEF_FIXIDX,
7203 NESTED_AUTH_DES_FIXIDX,
7204 NESTED_MOTOROLA_FIXIDX,
7205 NESTED_SYS_LIMITS_FIXIDX,
7206 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7207 NEXT_MATH_PREFIX_FIXIDX,
7208 NEXT_TEMPLATE_FIXIDX,
7209 NEXT_VOLITILE_FIXIDX,
7210 NEXT_WAIT_UNION_FIXIDX,
7211 NODEENT_SYNTAX_FIXIDX,
7212 OBSTACK_LVALUE_CAST_FIXIDX,
7213 OSF_NAMESPACE_A_FIXIDX,
7214 OSF_NAMESPACE_C_FIXIDX,
7215 PTHREAD_PAGE_SIZE_FIXIDX,
7216 READ_RET_TYPE_FIXIDX,
7217 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7218 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7219 RS6000_DOUBLE_FIXIDX,
7220 RS6000_FCHMOD_FIXIDX,
7221 RS6000_PARAM_FIXIDX,
7224 SCO_STATIC_FUNC_FIXIDX,
7226 SOLARIS_MUTEX_INIT_1_FIXIDX,
7227 SOLARIS_MUTEX_INIT_2_FIXIDX,
7228 SOLARIS_SOCKET_FIXIDX,
7229 SOLARIS_STDIO_TAG_FIXIDX,
7230 SOLARIS_UNISTD_FIXIDX,
7231 SOLARIS_WIDEC_FIXIDX,
7233 STDIO_STDARG_H_FIXIDX,
7234 STDIO_VA_LIST_FIXIDX,
7235 STRICT_ANSI_NOT_FIXIDX,
7236 STRICT_ANSI_NOT_CTD_FIXIDX,
7237 STRICT_ANSI_ONLY_FIXIDX,
7239 STRUCT_SOCKADDR_FIXIDX,
7240 SUN_AUTH_PROTO_FIXIDX,
7241 SUN_BOGUS_IFDEF_FIXIDX,
7242 SUN_CATMACRO_FIXIDX,
7244 SUN_RUSERS_SEMI_FIXIDX,
7246 SUNOS_STRLEN_FIXIDX,
7248 SVR4_DISABLE_OPT_FIXIDX,
7252 SVR4_SIGHANDLER_TYPE_FIXIDX,
7253 SVR4_UNDECLARED_GETRNGE_FIXIDX,
7254 SYSV68_STRING_FIXIDX,
7255 SYSZ_STDLIB_FOR_SUN_FIXIDX,
7256 THREAD_KEYWORD_FIXIDX,
7257 TINFO_CPLUSPLUS_FIXIDX,
7258 ULTRIX_ATEXIT_PARAM_FIXIDX,
7259 ULTRIX_ATOF_PARAM_FIXIDX,
7260 ULTRIX_CONST_FIXIDX,
7261 ULTRIX_CONST2_FIXIDX,
7262 ULTRIX_CONST3_FIXIDX,
7263 ULTRIX_FIX_FIXPROTO_FIXIDX,
7264 ULTRIX_IFDEF_FIXIDX,
7265 ULTRIX_LOCALE_FIXIDX,
7266 ULTRIX_MATH_IFDEF_FIXIDX,
7267 ULTRIX_NESTED_IOCTL_FIXIDX,
7268 ULTRIX_NESTED_SVC_FIXIDX,
7270 ULTRIX_STATIC_FIXIDX,
7271 ULTRIX_STDLIB_FIXIDX,
7272 ULTRIX_STRINGS_FIXIDX,
7273 ULTRIX_STRINGS2_FIXIDX,
7274 ULTRIX_SYS_TIME_FIXIDX,
7275 ULTRIX_UNISTD_FIXIDX,
7276 UNDEFINE_NULL_FIXIDX,
7277 UNICOSMK_RESTRICT_FIXIDX,
7278 UW7_BYTEORDER_FIX_FIXIDX,
7279 VA_I960_MACRO_FIXIDX,
7281 VXWORKS_GCC_PROBLEM_FIXIDX,
7282 VXWORKS_NEEDS_VXTYPES_FIXIDX,
7283 VXWORKS_NEEDS_VXWORKS_FIXIDX,
7284 VXWORKS_TIME_FIXIDX,
7285 WINDISS_MATH1_FIXIDX,
7286 WINDISS_MATH2_FIXIDX,
7287 WINDISS_VALIST_FIXIDX,
7289 X11_CLASS_USAGE_FIXIDX,
7294 tFixDesc fixDescList[ FIX_COUNT ] = {
7295 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
7296 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
7297 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7298 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
7300 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
7301 apzAab_Fd_Zero_Gnu_Types_HMachs,
7302 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7303 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
7305 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
7306 apzAab_Fd_Zero_Selectbits_HMachs,
7307 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7308 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
7310 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
7311 apzAab_Solaris_Sys_Varargs_HMachs,
7312 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7313 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
7315 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
7316 apzAab_Sun_MemcpyMachs,
7317 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7318 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
7320 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
7321 apzAab_Ultrix_Ansi_CompatMachs,
7322 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7323 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
7325 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
7326 apzAab_Ultrix_LimitsMachs,
7327 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7328 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
7330 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
7331 apzAab_Ultrix_MemoryMachs,
7332 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7333 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
7335 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
7336 apzAab_Ultrix_StringMachs,
7337 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7338 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
7340 { zAix_PthreadName, zAix_PthreadList,
7341 apzAix_PthreadMachs,
7342 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7343 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
7345 { zAix_SysmachineName, zAix_SysmachineList,
7346 apzAix_SysmachineMachs,
7347 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7348 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
7350 { zAix_SyswaitName, zAix_SyswaitList,
7351 apzAix_SyswaitMachs,
7352 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7353 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
7355 { zAix_Syswait_2Name, zAix_Syswait_2List,
7356 apzAix_Syswait_2Machs,
7357 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7358 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
7360 { zAix_VolatileName, zAix_VolatileList,
7361 apzAix_VolatileMachs,
7362 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7363 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
7365 { zAlpha___AssertName, zAlpha___AssertList,
7366 apzAlpha___AssertMachs,
7367 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7368 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
7370 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
7371 apzAlpha___Extern_PrefixMachs,
7372 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7373 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
7375 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
7376 apzAlpha___Extern_Prefix_StandardsMachs,
7377 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7378 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
7380 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
7381 apzAlpha___Extern_Prefix_Sys_StatMachs,
7382 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7383 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
7385 { zAlpha_AssertName, zAlpha_AssertList,
7386 apzAlpha_AssertMachs,
7387 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7388 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
7390 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
7391 apzAlpha_Bad_LvalMachs,
7392 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
7393 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
7395 { zAlpha_GetoptName, zAlpha_GetoptList,
7396 apzAlpha_GetoptMachs,
7397 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7398 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
7400 { zAlpha_ParensName, zAlpha_ParensList,
7401 apzAlpha_ParensMachs,
7402 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7403 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
7405 { zAlpha_PthreadName, zAlpha_PthreadList,
7406 apzAlpha_PthreadMachs,
7407 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7408 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
7410 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
7411 apzAlpha_Pthread_GccMachs,
7412 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7413 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
7415 { zAlpha_SbrkName, zAlpha_SbrkList,
7417 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7418 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
7420 { zAlpha_WcharName, zAlpha_WcharList,
7421 apzAlpha_WcharMachs,
7422 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
7423 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
7425 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
7426 apzAvoid_Bool_DefineMachs,
7427 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7428 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
7430 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
7431 apzAvoid_Bool_TypeMachs,
7432 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7433 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
7435 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
7436 apzAvoid_Wchar_T_TypeMachs,
7437 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7438 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
7440 { zBad_Struct_TermName, zBad_Struct_TermList,
7441 apzBad_Struct_TermMachs,
7442 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7443 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
7445 { zBadquoteName, zBadquoteList,
7447 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7448 aBadquoteTests, apzBadquotePatch, 0 },
7450 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
7451 apzBroken_Assert_StdioMachs,
7452 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7453 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
7455 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
7456 apzBroken_Assert_StdlibMachs,
7457 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7458 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
7460 { zBroken_CabsName, zBroken_CabsList,
7461 apzBroken_CabsMachs,
7462 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7463 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
7465 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
7466 apzBsd_Stdio_Attrs_ConflictMachs,
7467 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7468 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
7470 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
7471 apzCtrl_Quotes_DefMachs,
7472 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7473 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
7475 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
7476 apzCtrl_Quotes_UseMachs,
7477 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7478 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
7480 { zCxx_UnreadyName, zCxx_UnreadyList,
7481 apzCxx_UnreadyMachs,
7482 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7483 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
7485 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
7486 apzDarwin_Private_ExternMachs,
7487 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7488 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
7490 { zDec_Intern_AsmName, zDec_Intern_AsmList,
7491 apzDec_Intern_AsmMachs,
7492 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
7493 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
7495 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
7496 apzDjgpp_Wchar_HMachs,
7497 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7498 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
7500 { zEcd_CursorName, zEcd_CursorList,
7502 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7503 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
7505 { zException_StructureName, zException_StructureList,
7506 apzException_StructureMachs,
7507 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7508 aException_StructureTests, apzException_StructurePatch, 0 },
7510 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
7511 apzFreebsd_Gcc3_BreakageMachs,
7512 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7513 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
7515 { zFreebsd_Gcc4_BreakageName, zFreebsd_Gcc4_BreakageList,
7516 apzFreebsd_Gcc4_BreakageMachs,
7517 FREEBSD_GCC4_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7518 aFreebsd_Gcc4_BreakageTests, apzFreebsd_Gcc4_BreakagePatch, 0 },
7520 { zGnu_TypesName, zGnu_TypesList,
7522 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7523 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
7525 { zHp_InlineName, zHp_InlineList,
7527 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7528 aHp_InlineTests, apzHp_InlinePatch, 0 },
7530 { zHp_SysfileName, zHp_SysfileList,
7532 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7533 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
7535 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
7536 apzHpux10_Cpp_Pow_InlineMachs,
7537 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7538 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
7540 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
7541 apzHpux11_Cpp_Pow_InlineMachs,
7542 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7543 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
7545 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
7546 apzHpux10_Ctype_Declarations1Machs,
7547 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7548 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
7550 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
7551 apzHpux10_Ctype_Declarations2Machs,
7552 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7553 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
7555 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
7556 apzHpux10_Stdio_DeclarationsMachs,
7557 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7558 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
7560 { zHpux11_AbsName, zHpux11_AbsList,
7562 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7563 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
7565 { zHpux11_FabsfName, zHpux11_FabsfList,
7566 apzHpux11_FabsfMachs,
7567 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7568 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
7570 { zHpux11_Size_TName, zHpux11_Size_TList,
7571 apzHpux11_Size_TMachs,
7572 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7573 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
7575 { zHpux11_SnprintfName, zHpux11_SnprintfList,
7576 apzHpux11_SnprintfMachs,
7577 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7578 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
7580 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
7581 apzHpux11_Uint32_CMachs,
7582 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7583 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
7585 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
7586 apzHpux11_VsnprintfMachs,
7587 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7588 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
7590 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
7591 apzHpux8_Bogus_InlinesMachs,
7592 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
7593 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
7595 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
7596 apzHpux_Ctype_MacrosMachs,
7597 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7598 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
7600 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
7601 apzHpux_Long_DoubleMachs,
7602 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
7603 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
7605 { zHpux_MaxintName, zHpux_MaxintList,
7606 apzHpux_MaxintMachs,
7607 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7608 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
7610 { zHpux_SystimeName, zHpux_SystimeList,
7611 apzHpux_SystimeMachs,
7612 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7613 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
7615 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
7616 apzInt_Abort_Free_And_ExitMachs,
7617 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7618 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
7620 { zIo_Quotes_DefName, zIo_Quotes_DefList,
7621 apzIo_Quotes_DefMachs,
7622 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7623 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
7625 { zIo_Quotes_UseName, zIo_Quotes_UseList,
7626 apzIo_Quotes_UseMachs,
7627 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7628 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
7630 { zIp_Missing_SemiName, zIp_Missing_SemiList,
7631 apzIp_Missing_SemiMachs,
7632 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
7633 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
7635 { zIrix___RestrictName, zIrix___RestrictList,
7636 apzIrix___RestrictMachs,
7637 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7638 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
7640 { zIrix___Generic1Name, zIrix___Generic1List,
7641 apzIrix___Generic1Machs,
7642 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7643 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
7645 { zIrix___Generic2Name, zIrix___Generic2List,
7646 apzIrix___Generic2Machs,
7647 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7648 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
7650 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
7651 apzIrix_Asm_ApostropheMachs,
7652 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7653 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
7655 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
7656 apzIrix_Limits_ConstMachs,
7657 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7658 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
7660 { zIrix_Socklen_TName, zIrix_Socklen_TList,
7661 apzIrix_Socklen_TMachs,
7662 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7663 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
7665 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
7666 apzIrix_Stdio_Va_ListMachs,
7667 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7668 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
7670 { zIrix_WcsftimeName, zIrix_WcsftimeList,
7671 apzIrix_WcsftimeMachs,
7672 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7673 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
7675 { zIsc_FmodName, zIsc_FmodList,
7677 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7678 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
7680 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
7681 apzIsc_Omits_With_StdcMachs,
7682 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7683 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
7685 { zKandr_ConcatName, zKandr_ConcatList,
7686 apzKandr_ConcatMachs,
7687 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7688 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
7690 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
7691 apzLibc1_G_Va_ListMachs,
7692 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7693 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
7695 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
7696 apzLibc1_Ifdefd_MemxMachs,
7697 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7698 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
7700 { zLimits_IfndefsName, zLimits_IfndefsList,
7701 apzLimits_IfndefsMachs,
7702 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7703 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
7705 { zLinux_Ia64_UcontextName, zLinux_Ia64_UcontextList,
7706 apzLinux_Ia64_UcontextMachs,
7707 LINUX_IA64_UCONTEXT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7708 aLinux_Ia64_UcontextTests, apzLinux_Ia64_UcontextPatch, 0 },
7710 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
7711 apzLynxos_No_Warning_In_Sys_Time_HMachs,
7712 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7713 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
7715 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
7716 apzLynxos_Missing_PutenvMachs,
7717 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7718 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
7720 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
7721 apzMachine_Ansi_H_Va_ListMachs,
7722 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7723 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
7725 { zMachine_NameName, zMachine_NameList,
7726 apzMachine_NameMachs,
7727 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7728 aMachine_NameTests, apzMachine_NamePatch, 0 },
7730 { zMath_ExceptionName, zMath_ExceptionList,
7731 apzMath_ExceptionMachs,
7732 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7733 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
7735 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
7736 apzMath_Huge_Val_From_Dbl_MaxMachs,
7737 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
7738 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
7740 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
7741 apzMath_Huge_Val_IfndefMachs,
7742 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7743 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
7745 { zNested_Auth_DesName, zNested_Auth_DesList,
7746 apzNested_Auth_DesMachs,
7747 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7748 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
7750 { zNested_MotorolaName, zNested_MotorolaList,
7751 apzNested_MotorolaMachs,
7752 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
7753 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
7755 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
7756 apzNested_Sys_LimitsMachs,
7757 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
7758 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
7760 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
7761 apzNetbsd_Extra_SemicolonMachs,
7762 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7763 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
7765 { zNext_Math_PrefixName, zNext_Math_PrefixList,
7766 apzNext_Math_PrefixMachs,
7767 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7768 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
7770 { zNext_TemplateName, zNext_TemplateList,
7771 apzNext_TemplateMachs,
7772 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7773 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
7775 { zNext_VolitileName, zNext_VolitileList,
7776 apzNext_VolitileMachs,
7777 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7778 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
7780 { zNext_Wait_UnionName, zNext_Wait_UnionList,
7781 apzNext_Wait_UnionMachs,
7782 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7783 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
7785 { zNodeent_SyntaxName, zNodeent_SyntaxList,
7786 apzNodeent_SyntaxMachs,
7787 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7788 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
7790 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
7791 apzObstack_Lvalue_CastMachs,
7792 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7793 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
7795 { zOsf_Namespace_AName, zOsf_Namespace_AList,
7796 apzOsf_Namespace_AMachs,
7797 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7798 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
7800 { zOsf_Namespace_CName, zOsf_Namespace_CList,
7801 apzOsf_Namespace_CMachs,
7802 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7803 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
7805 { zPthread_Page_SizeName, zPthread_Page_SizeList,
7806 apzPthread_Page_SizeMachs,
7807 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7808 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
7810 { zRead_Ret_TypeName, zRead_Ret_TypeList,
7811 apzRead_Ret_TypeMachs,
7812 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7813 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
7815 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
7816 apzRpc_Xdr_Lvalue_Cast_AMachs,
7817 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7818 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
7820 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
7821 apzRpc_Xdr_Lvalue_Cast_BMachs,
7822 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7823 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
7825 { zRs6000_DoubleName, zRs6000_DoubleList,
7826 apzRs6000_DoubleMachs,
7827 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7828 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
7830 { zRs6000_FchmodName, zRs6000_FchmodList,
7831 apzRs6000_FchmodMachs,
7832 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7833 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
7835 { zRs6000_ParamName, zRs6000_ParamList,
7836 apzRs6000_ParamMachs,
7837 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7838 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
7840 { zSco_MathName, zSco_MathList,
7842 SCO_MATH_TEST_CT, FD_MACH_ONLY,
7843 aSco_MathTests, apzSco_MathPatch, 0 },
7845 { zSco_RegsetName, zSco_RegsetList,
7847 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7848 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
7850 { zSco_Static_FuncName, zSco_Static_FuncList,
7851 apzSco_Static_FuncMachs,
7852 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
7853 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
7855 { zSco_UtimeName, zSco_UtimeList,
7857 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7858 aSco_UtimeTests, apzSco_UtimePatch, 0 },
7860 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
7861 apzSolaris_Mutex_Init_1Machs,
7862 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
7863 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
7865 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
7866 apzSolaris_Mutex_Init_2Machs,
7867 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7868 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
7870 { zSolaris_SocketName, zSolaris_SocketList,
7871 apzSolaris_SocketMachs,
7872 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7873 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
7875 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
7876 apzSolaris_Stdio_TagMachs,
7877 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
7878 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
7880 { zSolaris_UnistdName, zSolaris_UnistdList,
7881 apzSolaris_UnistdMachs,
7882 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7883 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
7885 { zSolaris_WidecName, zSolaris_WidecList,
7886 apzSolaris_WidecMachs,
7887 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7888 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
7890 { zStatsswtchName, zStatsswtchList,
7892 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7893 aStatsswtchTests, apzStatsswtchPatch, 0 },
7895 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
7896 apzStdio_Stdarg_HMachs,
7897 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7898 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
7900 { zStdio_Va_ListName, zStdio_Va_ListList,
7901 apzStdio_Va_ListMachs,
7902 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
7903 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
7905 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
7906 apzStrict_Ansi_NotMachs,
7907 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7908 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
7910 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
7911 apzStrict_Ansi_Not_CtdMachs,
7912 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7913 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
7915 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
7916 apzStrict_Ansi_OnlyMachs,
7917 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7918 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
7920 { zStruct_FileName, zStruct_FileList,
7921 apzStruct_FileMachs,
7922 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7923 aStruct_FileTests, apzStruct_FilePatch, 0 },
7925 { zStruct_SockaddrName, zStruct_SockaddrList,
7926 apzStruct_SockaddrMachs,
7927 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7928 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
7930 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
7931 apzSun_Auth_ProtoMachs,
7932 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7933 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
7935 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
7936 apzSun_Bogus_IfdefMachs,
7937 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7938 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
7940 { zSun_CatmacroName, zSun_CatmacroList,
7941 apzSun_CatmacroMachs,
7942 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7943 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
7945 { zSun_MallocName, zSun_MallocList,
7947 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
7948 aSun_MallocTests, apzSun_MallocPatch, 0 },
7950 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
7951 apzSun_Rusers_SemiMachs,
7952 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
7953 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
7955 { zSun_SignalName, zSun_SignalList,
7957 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7958 aSun_SignalTests, apzSun_SignalPatch, 0 },
7960 { zSunos_StrlenName, zSunos_StrlenList,
7961 apzSunos_StrlenMachs,
7962 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7963 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
7965 { zSvr4__PName, zSvr4__PList,
7967 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7968 aSvr4__PTests, apzSvr4__PPatch, 0 },
7970 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
7971 apzSvr4_Disable_OptMachs,
7972 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
7973 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
7975 { zSvr4_GetcwdName, zSvr4_GetcwdList,
7976 apzSvr4_GetcwdMachs,
7977 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7978 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
7980 { zSvr4_KrnlName, zSvr4_KrnlList,
7982 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7983 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
7985 { zSvr4_ProfilName, zSvr4_ProfilList,
7986 apzSvr4_ProfilMachs,
7987 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7988 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
7990 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
7991 apzSvr4_Sighandler_TypeMachs,
7992 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7993 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
7995 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
7996 apzSvr4_Undeclared_GetrngeMachs,
7997 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7998 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
8000 { zSysv68_StringName, zSysv68_StringList,
8001 apzSysv68_StringMachs,
8002 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
8003 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
8005 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
8006 apzSysz_Stdlib_For_SunMachs,
8007 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8008 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
8010 { zThread_KeywordName, zThread_KeywordList,
8011 apzThread_KeywordMachs,
8012 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8013 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
8015 { zTinfo_CplusplusName, zTinfo_CplusplusList,
8016 apzTinfo_CplusplusMachs,
8017 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8018 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
8020 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
8021 apzUltrix_Atexit_ParamMachs,
8022 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8023 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
8025 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
8026 apzUltrix_Atof_ParamMachs,
8027 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8028 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
8030 { zUltrix_ConstName, zUltrix_ConstList,
8031 apzUltrix_ConstMachs,
8032 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8033 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
8035 { zUltrix_Const2Name, zUltrix_Const2List,
8036 apzUltrix_Const2Machs,
8037 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8038 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
8040 { zUltrix_Const3Name, zUltrix_Const3List,
8041 apzUltrix_Const3Machs,
8042 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8043 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
8045 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
8046 apzUltrix_Fix_FixprotoMachs,
8047 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8048 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
8050 { zUltrix_IfdefName, zUltrix_IfdefList,
8051 apzUltrix_IfdefMachs,
8052 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8053 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
8055 { zUltrix_LocaleName, zUltrix_LocaleList,
8056 apzUltrix_LocaleMachs,
8057 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8058 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
8060 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
8061 apzUltrix_Math_IfdefMachs,
8062 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8063 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
8065 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
8066 apzUltrix_Nested_IoctlMachs,
8067 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
8068 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
8070 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
8071 apzUltrix_Nested_SvcMachs,
8072 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
8073 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
8075 { zUltrix_StatName, zUltrix_StatList,
8076 apzUltrix_StatMachs,
8077 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
8078 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
8080 { zUltrix_StaticName, zUltrix_StaticList,
8081 apzUltrix_StaticMachs,
8082 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
8083 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
8085 { zUltrix_StdlibName, zUltrix_StdlibList,
8086 apzUltrix_StdlibMachs,
8087 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
8088 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
8090 { zUltrix_StringsName, zUltrix_StringsList,
8091 apzUltrix_StringsMachs,
8092 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8093 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
8095 { zUltrix_Strings2Name, zUltrix_Strings2List,
8096 apzUltrix_Strings2Machs,
8097 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
8098 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
8100 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
8101 apzUltrix_Sys_TimeMachs,
8102 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
8103 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
8105 { zUltrix_UnistdName, zUltrix_UnistdList,
8106 apzUltrix_UnistdMachs,
8107 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
8108 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
8110 { zUndefine_NullName, zUndefine_NullList,
8111 apzUndefine_NullMachs,
8112 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8113 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
8115 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
8116 apzUnicosmk_RestrictMachs,
8117 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8118 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
8120 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
8121 apzUw7_Byteorder_FixMachs,
8122 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8123 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
8125 { zVa_I960_MacroName, zVa_I960_MacroList,
8126 apzVa_I960_MacroMachs,
8127 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8128 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8130 { zVoid_NullName, zVoid_NullList,
8132 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8133 aVoid_NullTests, apzVoid_NullPatch, 0 },
8135 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8136 apzVxworks_Gcc_ProblemMachs,
8137 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8138 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8140 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8141 apzVxworks_Needs_VxtypesMachs,
8142 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8143 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8145 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8146 apzVxworks_Needs_VxworksMachs,
8147 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8148 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8150 { zVxworks_TimeName, zVxworks_TimeList,
8151 apzVxworks_TimeMachs,
8152 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8153 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8155 { zWindiss_Math1Name, zWindiss_Math1List,
8156 apzWindiss_Math1Machs,
8157 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
8158 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
8160 { zWindiss_Math2Name, zWindiss_Math2List,
8161 apzWindiss_Math2Machs,
8162 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
8163 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
8165 { zWindiss_ValistName, zWindiss_ValistList,
8166 apzWindiss_ValistMachs,
8167 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
8168 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
8170 { zX11_ClassName, zX11_ClassList,
8172 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8173 aX11_ClassTests, apzX11_ClassPatch, 0 },
8175 { zX11_Class_UsageName, zX11_Class_UsageList,
8176 apzX11_Class_UsageMachs,
8177 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8178 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
8180 { zX11_NewName, zX11_NewList,
8182 X11_NEW_TEST_CT, FD_MACH_ONLY,
8183 aX11_NewTests, apzX11_NewPatch, 0 },
8185 { zX11_SprintfName, zX11_SprintfList,
8186 apzX11_SprintfMachs,
8187 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8188 aX11_SprintfTests, apzX11_SprintfPatch, 0 }