1 /* -*- buffer-read-only: t -*- vi: set ro:
3 * DO NOT EDIT THIS FILE (fixincl.x)
5 * It has been AutoGen-ed Thursday September 9, 2004 at 08:07:32 PM PDT
6 * From the definitions inclhack.def
7 * and the template file fixincl
9 /* DO NOT CVS-MERGE THIS FILE, EITHER Thu Sep 9 20:07:32 PDT 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 177 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 Gnu_Types fix
1878 tSCC zGnu_TypesName[] =
1882 * File name selection pattern
1884 tSCC zGnu_TypesList[] =
1885 "|sys/types.h|stdlib.h|sys/stdtypes.h|stddef.h|memory.h|unistd.h|";
1887 * Machine/OS name selection pattern
1889 #define apzGnu_TypesMachs (const char**)NULL
1892 * content selection pattern - do fix if pattern found
1894 tSCC zGnu_TypesSelect0[] =
1895 "^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
1898 * content bypass pattern - skip fix if pattern found
1900 tSCC zGnu_TypesBypass0[] =
1901 "_GCC_(PTRDIFF|SIZE|WCHAR)_T";
1903 #define GNU_TYPES_TEST_CT 2
1904 static tTestDesc aGnu_TypesTests[] = {
1905 { TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
1906 { TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
1909 * Fix Command Arguments for Gnu_Types
1911 static const char* apzGnu_TypesPatch[] = {
1915 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1917 * Description of Hp_Inline fix
1919 tSCC zHp_InlineName[] =
1923 * File name selection pattern
1925 tSCC zHp_InlineList[] =
1926 "|sys/spinlock.h|machine/machparam.h|";
1928 * Machine/OS name selection pattern
1930 #define apzHp_InlineMachs (const char**)NULL
1933 * content selection pattern - do fix if pattern found
1935 tSCC zHp_InlineSelect0[] =
1936 "[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
1938 #define HP_INLINE_TEST_CT 1
1939 static tTestDesc aHp_InlineTests[] = {
1940 { TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
1943 * Fix Command Arguments for Hp_Inline
1945 static const char* apzHp_InlinePatch[] = {
1948 "([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
1951 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1953 * Description of Hp_Sysfile fix
1955 tSCC zHp_SysfileName[] =
1959 * File name selection pattern
1961 tSCC zHp_SysfileList[] =
1964 * Machine/OS name selection pattern
1966 #define apzHp_SysfileMachs (const char**)NULL
1969 * content selection pattern - do fix if pattern found
1971 tSCC zHp_SysfileSelect0[] =
1974 #define HP_SYSFILE_TEST_CT 1
1975 static tTestDesc aHp_SysfileTests[] = {
1976 { TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
1979 * Fix Command Arguments for Hp_Sysfile
1981 static const char* apzHp_SysfilePatch[] = {
1983 "(struct file *, ...)",
1987 /* * * * * * * * * * * * * * * * * * * * * * * * * *
1989 * Description of Hpux10_Cpp_Pow_Inline fix
1991 tSCC zHpux10_Cpp_Pow_InlineName[] =
1992 "hpux10_cpp_pow_inline";
1995 * File name selection pattern
1997 tSCC zHpux10_Cpp_Pow_InlineList[] =
1998 "|fixinc-test-limits.h|math.h|";
2000 * Machine/OS name selection pattern
2002 #define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
2005 * content selection pattern - do fix if pattern found
2007 tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
2008 "^# +ifdef +__cplusplus\n\
2010 +inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
2011 [ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
2013 +extern +\"C\" +\\{\n\
2017 #define HPUX10_CPP_POW_INLINE_TEST_CT 1
2018 static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
2019 { TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2022 * Fix Command Arguments for Hpux10_Cpp_Pow_Inline
2024 static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
2029 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2031 * Description of Hpux11_Cpp_Pow_Inline fix
2033 tSCC zHpux11_Cpp_Pow_InlineName[] =
2034 "hpux11_cpp_pow_inline";
2037 * File name selection pattern
2039 tSCC zHpux11_Cpp_Pow_InlineList[] =
2042 * Machine/OS name selection pattern
2044 #define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
2047 * content selection pattern - do fix if pattern found
2049 tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
2050 " +inline double pow\\(double d,int expon\\) \\{\n\
2051 +return pow\\(d, \\(double\\)expon\\);\n\
2054 #define HPUX11_CPP_POW_INLINE_TEST_CT 1
2055 static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
2056 { TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
2059 * Fix Command Arguments for Hpux11_Cpp_Pow_Inline
2061 static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
2066 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2068 * Description of Hpux10_Ctype_Declarations1 fix
2070 tSCC zHpux10_Ctype_Declarations1Name[] =
2071 "hpux10_ctype_declarations1";
2074 * File name selection pattern
2076 tSCC zHpux10_Ctype_Declarations1List[] =
2079 * Machine/OS name selection pattern
2081 #define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
2084 * content selection pattern - do fix if pattern found
2086 tSCC zHpux10_Ctype_Declarations1Select0[] =
2087 "^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
2090 * content bypass pattern - skip fix if pattern found
2092 tSCC zHpux10_Ctype_Declarations1Bypass0[] =
2093 "^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
2095 #define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
2096 static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
2097 { TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
2098 { TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
2101 * Fix Command Arguments for Hpux10_Ctype_Declarations1
2103 static const char* apzHpux10_Ctype_Declarations1Patch[] = {
2105 "#ifdef _PROTOTYPES\n\
2106 extern int __tolower(int);\n\
2107 extern int __toupper(int);\n\
2108 #else /* NOT _PROTOTYPES */\n\
2109 extern int __tolower();\n\
2110 extern int __toupper();\n\
2111 #endif /* _PROTOTYPES */\n\n\
2115 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2117 * Description of Hpux10_Ctype_Declarations2 fix
2119 tSCC zHpux10_Ctype_Declarations2Name[] =
2120 "hpux10_ctype_declarations2";
2123 * File name selection pattern
2125 tSCC zHpux10_Ctype_Declarations2List[] =
2128 * Machine/OS name selection pattern
2130 #define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
2133 * content selection pattern - do fix if pattern found
2135 tSCC zHpux10_Ctype_Declarations2Select0[] =
2136 "^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
2139 * content bypass pattern - skip fix if pattern found
2141 tSCC zHpux10_Ctype_Declarations2Bypass0[] =
2142 "^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
2144 #define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
2145 static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
2146 { TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
2147 { TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
2150 * Fix Command Arguments for Hpux10_Ctype_Declarations2
2152 static const char* apzHpux10_Ctype_Declarations2Patch[] = {
2155 #ifdef _PROTOTYPES\n\
2156 extern int _isalnum(int);\n\
2157 extern int _isalpha(int);\n\
2158 extern int _iscntrl(int);\n\
2159 extern int _isdigit(int);\n\
2160 extern int _isgraph(int);\n\
2161 extern int _islower(int);\n\
2162 extern int _isprint(int);\n\
2163 extern int _ispunct(int);\n\
2164 extern int _isspace(int);\n\
2165 extern int _isupper(int);\n\
2166 extern int _isxdigit(int);\n\
2167 # else /* not _PROTOTYPES */\n\
2168 extern int _isalnum();\n\
2169 extern int _isalpha();\n\
2170 extern int _iscntrl();\n\
2171 extern int _isdigit();\n\
2172 extern int _isgraph();\n\
2173 extern int _islower();\n\
2174 extern int _isprint();\n\
2175 extern int _ispunct();\n\
2176 extern int _isspace();\n\
2177 extern int _isupper();\n\
2178 extern int _isxdigit();\n\
2179 #endif /* _PROTOTYPES */\n",
2182 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2184 * Description of Hpux10_Stdio_Declarations fix
2186 tSCC zHpux10_Stdio_DeclarationsName[] =
2187 "hpux10_stdio_declarations";
2190 * File name selection pattern
2192 tSCC zHpux10_Stdio_DeclarationsList[] =
2195 * Machine/OS name selection pattern
2197 #define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
2200 * content selection pattern - do fix if pattern found
2202 tSCC zHpux10_Stdio_DeclarationsSelect0[] =
2203 "^#[ \t]*define _iob[ \t]*__iob";
2206 * content bypass pattern - skip fix if pattern found
2208 tSCC zHpux10_Stdio_DeclarationsBypass0[] =
2209 "^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
2211 #define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
2212 static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
2213 { TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
2214 { TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
2217 * Fix Command Arguments for Hpux10_Stdio_Declarations
2219 static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
2222 # if defined(__STDC__) || defined(__cplusplus)\n\
2223 extern int snprintf(char *, size_t, const char *, ...);\n\
2224 extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
2225 # else /* not __STDC__) || __cplusplus */\n\
2226 extern int snprintf();\n\
2227 extern int vsnprintf();\n\
2228 # endif /* __STDC__) || __cplusplus */\n",
2231 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2233 * Description of Hpux11_Abs fix
2235 tSCC zHpux11_AbsName[] =
2239 * File name selection pattern
2241 tSCC zHpux11_AbsList[] =
2244 * Machine/OS name selection pattern
2246 tSCC* apzHpux11_AbsMachs[] = {
2248 (const char*)NULL };
2251 * content selection pattern - do fix if pattern found
2253 tSCC zHpux11_AbsSelect0[] =
2254 "ifndef _MATH_INCLUDED";
2256 #define HPUX11_ABS_TEST_CT 1
2257 static tTestDesc aHpux11_AbsTests[] = {
2258 { TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
2261 * Fix Command Arguments for Hpux11_Abs
2263 static const char* apzHpux11_AbsPatch[] = {
2265 "if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
2268 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2270 * Description of Hpux11_Fabsf fix
2272 tSCC zHpux11_FabsfName[] =
2276 * File name selection pattern
2278 tSCC zHpux11_FabsfList[] =
2281 * Machine/OS name selection pattern
2283 #define apzHpux11_FabsfMachs (const char**)NULL
2286 * content selection pattern - do fix if pattern found
2288 tSCC zHpux11_FabsfSelect0[] =
2289 "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
2292 * content bypass pattern - skip fix if pattern found
2294 tSCC zHpux11_FabsfBypass0[] =
2297 #define HPUX11_FABSF_TEST_CT 2
2298 static tTestDesc aHpux11_FabsfTests[] = {
2299 { TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
2300 { TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
2303 * Fix Command Arguments for Hpux11_Fabsf
2305 static const char* apzHpux11_FabsfPatch[] = {
2307 "#ifndef __cplusplus\n\
2312 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2314 * Description of Hpux11_Size_T fix
2316 tSCC zHpux11_Size_TName[] =
2320 * File name selection pattern
2322 #define zHpux11_Size_TList (char*)NULL
2324 * Machine/OS name selection pattern
2326 tSCC* apzHpux11_Size_TMachs[] = {
2328 (const char*)NULL };
2331 * content selection pattern - do fix if pattern found
2333 tSCC zHpux11_Size_TSelect0[] =
2336 #define HPUX11_SIZE_T_TEST_CT 1
2337 static tTestDesc aHpux11_Size_TTests[] = {
2338 { TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
2341 * Fix Command Arguments for Hpux11_Size_T
2343 static const char* apzHpux11_Size_TPatch[] = {
2348 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2350 * Description of Hpux11_Snprintf fix
2352 tSCC zHpux11_SnprintfName[] =
2356 * File name selection pattern
2358 tSCC zHpux11_SnprintfList[] =
2361 * Machine/OS name selection pattern
2363 #define apzHpux11_SnprintfMachs (const char**)NULL
2366 * content selection pattern - do fix if pattern found
2368 tSCC zHpux11_SnprintfSelect0[] =
2369 "(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
2371 #define HPUX11_SNPRINTF_TEST_CT 1
2372 static tTestDesc aHpux11_SnprintfTests[] = {
2373 { TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
2376 * Fix Command Arguments for Hpux11_Snprintf
2378 static const char* apzHpux11_SnprintfPatch[] = {
2383 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2385 * Description of Hpux11_Uint32_C fix
2387 tSCC zHpux11_Uint32_CName[] =
2391 * File name selection pattern
2393 tSCC zHpux11_Uint32_CList[] =
2396 * Machine/OS name selection pattern
2398 #define apzHpux11_Uint32_CMachs (const char**)NULL
2401 * content selection pattern - do fix if pattern found
2403 tSCC zHpux11_Uint32_CSelect0[] =
2404 "^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
2406 #define HPUX11_UINT32_C_TEST_CT 1
2407 static tTestDesc aHpux11_Uint32_CTests[] = {
2408 { TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
2411 * Fix Command Arguments for Hpux11_Uint32_C
2413 static const char* apzHpux11_Uint32_CPatch[] = {
2415 "#define UINT32_C(__c) __CONCAT__(__c,ul)",
2418 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2420 * Description of Hpux11_Vsnprintf fix
2422 tSCC zHpux11_VsnprintfName[] =
2426 * File name selection pattern
2428 tSCC zHpux11_VsnprintfList[] =
2431 * Machine/OS name selection pattern
2433 #define apzHpux11_VsnprintfMachs (const char**)NULL
2436 * content selection pattern - do fix if pattern found
2438 tSCC zHpux11_VsnprintfSelect0[] =
2439 "(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
2441 #define HPUX11_VSNPRINTF_TEST_CT 1
2442 static tTestDesc aHpux11_VsnprintfTests[] = {
2443 { TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
2446 * Fix Command Arguments for Hpux11_Vsnprintf
2448 static const char* apzHpux11_VsnprintfPatch[] = {
2453 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2455 * Description of Hpux8_Bogus_Inlines fix
2457 tSCC zHpux8_Bogus_InlinesName[] =
2458 "hpux8_bogus_inlines";
2461 * File name selection pattern
2463 tSCC zHpux8_Bogus_InlinesList[] =
2466 * Machine/OS name selection pattern
2468 #define apzHpux8_Bogus_InlinesMachs (const char**)NULL
2471 * content selection pattern - do fix if pattern found
2473 tSCC zHpux8_Bogus_InlinesSelect0[] =
2476 #define HPUX8_BOGUS_INLINES_TEST_CT 1
2477 static tTestDesc aHpux8_Bogus_InlinesTests[] = {
2478 { TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
2481 * Fix Command Arguments for Hpux8_Bogus_Inlines
2483 static const char* apzHpux8_Bogus_InlinesPatch[] = { "sed",
2484 "-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
2485 "-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
2486 "-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
2487 "-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
2490 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2492 * Description of Hpux_Ctype_Macros fix
2494 tSCC zHpux_Ctype_MacrosName[] =
2495 "hpux_ctype_macros";
2498 * File name selection pattern
2500 tSCC zHpux_Ctype_MacrosList[] =
2503 * Machine/OS name selection pattern
2505 #define apzHpux_Ctype_MacrosMachs (const char**)NULL
2508 * content selection pattern - do fix if pattern found
2510 tSCC zHpux_Ctype_MacrosSelect0[] =
2511 "((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
2513 #define HPUX_CTYPE_MACROS_TEST_CT 1
2514 static tTestDesc aHpux_Ctype_MacrosTests[] = {
2515 { TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
2518 * Fix Command Arguments for Hpux_Ctype_Macros
2520 static const char* apzHpux_Ctype_MacrosPatch[] = {
2525 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2527 * Description of Hpux_Long_Double fix
2529 tSCC zHpux_Long_DoubleName[] =
2533 * File name selection pattern
2535 tSCC zHpux_Long_DoubleList[] =
2538 * Machine/OS name selection pattern
2540 #define apzHpux_Long_DoubleMachs (const char**)NULL
2543 * content selection pattern - do fix if pattern found
2545 tSCC zHpux_Long_DoubleSelect0[] =
2546 "extern[ \t]long_double[ \t]strtold";
2549 * content bypass pattern - skip fix if pattern found
2551 tSCC zHpux_Long_DoubleBypass0[] =
2554 #define HPUX_LONG_DOUBLE_TEST_CT 2
2555 static tTestDesc aHpux_Long_DoubleTests[] = {
2556 { TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
2557 { TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
2560 * Fix Command Arguments for Hpux_Long_Double
2562 static const char* apzHpux_Long_DoublePatch[] = { "sed",
2563 "-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
2564 "-e", "s/long_double/long double/g",
2567 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2569 * Description of Hpux_Maxint fix
2571 tSCC zHpux_MaxintName[] =
2575 * File name selection pattern
2577 tSCC zHpux_MaxintList[] =
2578 "|sys/param.h|values.h|";
2580 * Machine/OS name selection pattern
2582 #define apzHpux_MaxintMachs (const char**)NULL
2585 * content selection pattern - do fix if pattern found
2587 tSCC zHpux_MaxintSelect0[] =
2588 "^#[ \t]*define[ \t]+MAXINT[ \t]";
2591 * content bypass pattern - skip fix if pattern found
2593 tSCC zHpux_MaxintBypass0[] =
2594 "^#[ \t]*ifndef[ \t]+MAXINT";
2597 * perform the 'test' shell command - do fix on success
2599 tSCC zHpux_MaxintTest0[] =
2600 "-n \"`egrep '#[ \t]*define[ \t]+MAXINT[ \t]' sys/param.h`\"";
2602 #define HPUX_MAXINT_TEST_CT 3
2603 static tTestDesc aHpux_MaxintTests[] = {
2604 { TT_TEST, zHpux_MaxintTest0, 0 /* unused */ },
2605 { TT_NEGREP, zHpux_MaxintBypass0, (regex_t*)NULL },
2606 { TT_EGREP, zHpux_MaxintSelect0, (regex_t*)NULL }, };
2609 * Fix Command Arguments for Hpux_Maxint
2611 static const char* apzHpux_MaxintPatch[] = {
2616 "^#[ \t]*define[ \t]+MAXINT[ \t].*",
2619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2621 * Description of Hpux_Systime fix
2623 tSCC zHpux_SystimeName[] =
2627 * File name selection pattern
2629 tSCC zHpux_SystimeList[] =
2632 * Machine/OS name selection pattern
2634 #define apzHpux_SystimeMachs (const char**)NULL
2637 * content selection pattern - do fix if pattern found
2639 tSCC zHpux_SystimeSelect0[] =
2640 "^extern struct sigevent;";
2642 #define HPUX_SYSTIME_TEST_CT 1
2643 static tTestDesc aHpux_SystimeTests[] = {
2644 { TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
2647 * Fix Command Arguments for Hpux_Systime
2649 static const char* apzHpux_SystimePatch[] = {
2654 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2656 * Description of Int_Abort_Free_And_Exit fix
2658 tSCC zInt_Abort_Free_And_ExitName[] =
2659 "int_abort_free_and_exit";
2662 * File name selection pattern
2664 tSCC zInt_Abort_Free_And_ExitList[] =
2667 * Machine/OS name selection pattern
2669 #define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
2672 * content selection pattern - do fix if pattern found
2674 tSCC zInt_Abort_Free_And_ExitSelect0[] =
2675 "int[ \t]+(abort|free|exit)[ \t]*\\(";
2677 #define INT_ABORT_FREE_AND_EXIT_TEST_CT 1
2678 static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
2679 { TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
2682 * Fix Command Arguments for Int_Abort_Free_And_Exit
2684 static const char* apzInt_Abort_Free_And_ExitPatch[] = {
2689 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2691 * Description of Io_Quotes_Def fix
2693 tSCC zIo_Quotes_DefName[] =
2697 * File name selection pattern
2699 #define zIo_Quotes_DefList (char*)NULL
2701 * Machine/OS name selection pattern
2703 #define apzIo_Quotes_DefMachs (const char**)NULL
2706 * content selection pattern - do fix if pattern found
2708 tSCC zIo_Quotes_DefSelect0[] =
2709 "define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
2711 #define IO_QUOTES_DEF_TEST_CT 1
2712 static tTestDesc aIo_Quotes_DefTests[] = {
2713 { TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
2716 * Fix Command Arguments for Io_Quotes_Def
2718 static const char* apzIo_Quotes_DefPatch[] = {
2723 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2725 * Description of Io_Quotes_Use fix
2727 tSCC zIo_Quotes_UseName[] =
2731 * File name selection pattern
2733 #define zIo_Quotes_UseList (char*)NULL
2735 * Machine/OS name selection pattern
2737 #define apzIo_Quotes_UseMachs (const char**)NULL
2740 * content selection pattern - do fix if pattern found
2742 tSCC zIo_Quotes_UseSelect0[] =
2743 "define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
2745 #define IO_QUOTES_USE_TEST_CT 1
2746 static tTestDesc aIo_Quotes_UseTests[] = {
2747 { TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
2750 * Fix Command Arguments for Io_Quotes_Use
2752 static const char* apzIo_Quotes_UsePatch[] = {
2757 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2759 * Description of Ip_Missing_Semi fix
2761 tSCC zIp_Missing_SemiName[] =
2765 * File name selection pattern
2767 tSCC zIp_Missing_SemiList[] =
2770 * Machine/OS name selection pattern
2772 #define apzIp_Missing_SemiMachs (const char**)NULL
2775 * content selection pattern - do fix if pattern found
2777 tSCC zIp_Missing_SemiSelect0[] =
2780 #define IP_MISSING_SEMI_TEST_CT 1
2781 static tTestDesc aIp_Missing_SemiTests[] = {
2782 { TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
2785 * Fix Command Arguments for Ip_Missing_Semi
2787 static const char* apzIp_Missing_SemiPatch[] = { "sed",
2788 "-e", "/^struct/,/^};/s/}$/};/",
2791 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2793 * Description of Irix___Restrict fix
2795 tSCC zIrix___RestrictName[] =
2799 * File name selection pattern
2801 tSCC zIrix___RestrictList[] =
2802 "|internal/sgimacros.h|";
2804 * Machine/OS name selection pattern
2806 tSCC* apzIrix___RestrictMachs[] = {
2808 (const char*)NULL };
2811 * content selection pattern - do fix if pattern found
2813 tSCC zIrix___RestrictSelect0[] =
2815 )(#[ \t]*define __restrict restrict)";
2817 #define IRIX___RESTRICT_TEST_CT 1
2818 static tTestDesc aIrix___RestrictTests[] = {
2819 { TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
2822 * Fix Command Arguments for Irix___Restrict
2824 static const char* apzIrix___RestrictPatch[] = {
2826 "%1# ifndef __cplusplus\n\
2831 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2833 * Description of Irix___Generic1 fix
2835 tSCC zIrix___Generic1Name[] =
2839 * File name selection pattern
2841 tSCC zIrix___Generic1List[] =
2842 "|internal/math_core.h|";
2844 * Machine/OS name selection pattern
2846 tSCC* apzIrix___Generic1Machs[] = {
2848 (const char*)NULL };
2851 * content selection pattern - do fix if pattern found
2853 tSCC zIrix___Generic1Select0[] =
2854 "#define ([a-z]+)\\(x\\) *__generic.*";
2856 #define IRIX___GENERIC1_TEST_CT 1
2857 static tTestDesc aIrix___Generic1Tests[] = {
2858 { TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
2861 * Fix Command Arguments for Irix___Generic1
2863 static const char* apzIrix___Generic1Patch[] = {
2865 "extern int %1(double);\n\
2866 extern int %1f(float);\n\
2867 extern int %1l(long double);\n\
2868 #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
2869 : sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
2873 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2875 * Description of Irix___Generic2 fix
2877 tSCC zIrix___Generic2Name[] =
2881 * File name selection pattern
2883 tSCC zIrix___Generic2List[] =
2884 "|internal/math_core.h|";
2886 * Machine/OS name selection pattern
2888 tSCC* apzIrix___Generic2Machs[] = {
2890 (const char*)NULL };
2893 * content selection pattern - do fix if pattern found
2895 tSCC zIrix___Generic2Select0[] =
2896 "#define ([a-z]+)\\(x,y\\) *__generic.*";
2898 #define IRIX___GENERIC2_TEST_CT 1
2899 static tTestDesc aIrix___Generic2Tests[] = {
2900 { TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
2903 * Fix Command Arguments for Irix___Generic2
2905 static const char* apzIrix___Generic2Patch[] = {
2907 "#define %1(x,y) \\\n\
2908 ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
2909 : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
2913 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2915 * Description of Irix_Asm_Apostrophe fix
2917 tSCC zIrix_Asm_ApostropheName[] =
2918 "irix_asm_apostrophe";
2921 * File name selection pattern
2923 tSCC zIrix_Asm_ApostropheList[] =
2926 * Machine/OS name selection pattern
2928 #define apzIrix_Asm_ApostropheMachs (const char**)NULL
2931 * content selection pattern - do fix if pattern found
2933 tSCC zIrix_Asm_ApostropheSelect0[] =
2934 "^[ \t]*#.*[Ww]e're";
2936 #define IRIX_ASM_APOSTROPHE_TEST_CT 1
2937 static tTestDesc aIrix_Asm_ApostropheTests[] = {
2938 { TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
2941 * Fix Command Arguments for Irix_Asm_Apostrophe
2943 static const char* apzIrix_Asm_ApostrophePatch[] = {
2946 "^([ \t]*#.*[Ww]e)'re",
2949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2951 * Description of Irix_Limits_Const fix
2953 tSCC zIrix_Limits_ConstName[] =
2954 "irix_limits_const";
2957 * File name selection pattern
2959 tSCC zIrix_Limits_ConstList[] =
2960 "|fixinc-test-limits.h|limits.h|";
2962 * Machine/OS name selection pattern
2964 #define apzIrix_Limits_ConstMachs (const char**)NULL
2967 * content selection pattern - do fix if pattern found
2969 tSCC zIrix_Limits_ConstSelect0[] =
2972 #define IRIX_LIMITS_CONST_TEST_CT 1
2973 static tTestDesc aIrix_Limits_ConstTests[] = {
2974 { TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
2977 * Fix Command Arguments for Irix_Limits_Const
2979 static const char* apzIrix_Limits_ConstPatch[] = {
2984 /* * * * * * * * * * * * * * * * * * * * * * * * * *
2986 * Description of Irix_Socklen_T fix
2988 tSCC zIrix_Socklen_TName[] =
2992 * File name selection pattern
2994 tSCC zIrix_Socklen_TList[] =
2997 * Machine/OS name selection pattern
2999 tSCC* apzIrix_Socklen_TMachs[] = {
3001 (const char*)NULL };
3004 * content selection pattern - do fix if pattern found
3006 tSCC zIrix_Socklen_TSelect0[] =
3007 "(#define _SOCKLEN_T\n\
3008 )(typedef u_int32_t socklen_t;)";
3010 #define IRIX_SOCKLEN_T_TEST_CT 1
3011 static tTestDesc aIrix_Socklen_TTests[] = {
3012 { TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
3015 * Fix Command Arguments for Irix_Socklen_T
3017 static const char* apzIrix_Socklen_TPatch[] = {
3019 "%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
3020 typedef int socklen_t;\n\
3023 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
3026 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3028 * Description of Irix_Stdio_Va_List fix
3030 tSCC zIrix_Stdio_Va_ListName[] =
3031 "irix_stdio_va_list";
3034 * File name selection pattern
3036 tSCC zIrix_Stdio_Va_ListList[] =
3037 "|stdio.h|internal/stdio_core.h|";
3039 * Machine/OS name selection pattern
3041 #define apzIrix_Stdio_Va_ListMachs (const char**)NULL
3044 * content selection pattern - do fix if pattern found
3046 tSCC zIrix_Stdio_Va_ListSelect0[] =
3047 "/\\* va_list \\*/ char \\*";
3049 #define IRIX_STDIO_VA_LIST_TEST_CT 1
3050 static tTestDesc aIrix_Stdio_Va_ListTests[] = {
3051 { TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
3054 * Fix Command Arguments for Irix_Stdio_Va_List
3056 static const char* apzIrix_Stdio_Va_ListPatch[] = {
3061 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3063 * Description of Irix_Wcsftime fix
3065 tSCC zIrix_WcsftimeName[] =
3069 * File name selection pattern
3071 tSCC zIrix_WcsftimeList[] =
3072 "|internal/wchar_core.h|";
3074 * Machine/OS name selection pattern
3076 tSCC* apzIrix_WcsftimeMachs[] = {
3078 (const char*)NULL };
3081 * content selection pattern - do fix if pattern found
3083 tSCC zIrix_WcsftimeSelect0[] =
3085 (extern size_t[ \t]+wcsftime.*const char *.*)";
3087 #define IRIX_WCSFTIME_TEST_CT 1
3088 static tTestDesc aIrix_WcsftimeTests[] = {
3089 { TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
3092 * Fix Command Arguments for Irix_Wcsftime
3094 static const char* apzIrix_WcsftimePatch[] = {
3096 "#if _NO_XOPEN5 && !defined(__c99)\n\
3100 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3102 * Description of Isc_Fmod fix
3104 tSCC zIsc_FmodName[] =
3108 * File name selection pattern
3110 tSCC zIsc_FmodList[] =
3113 * Machine/OS name selection pattern
3115 #define apzIsc_FmodMachs (const char**)NULL
3118 * content selection pattern - do fix if pattern found
3120 tSCC zIsc_FmodSelect0[] =
3123 #define ISC_FMOD_TEST_CT 1
3124 static tTestDesc aIsc_FmodTests[] = {
3125 { TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
3128 * Fix Command Arguments for Isc_Fmod
3130 static const char* apzIsc_FmodPatch[] = {
3132 "fmod(double, double)",
3135 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3137 * Description of Isc_Omits_With_Stdc fix
3139 tSCC zIsc_Omits_With_StdcName[] =
3140 "isc_omits_with_stdc";
3143 * File name selection pattern
3145 tSCC zIsc_Omits_With_StdcList[] =
3146 "|stdio.h|math.h|ctype.h|sys/limits.h|sys/fcntl.h|sys/dirent.h|";
3148 * Machine/OS name selection pattern
3150 #define apzIsc_Omits_With_StdcMachs (const char**)NULL
3153 * content selection pattern - do fix if pattern found
3155 tSCC zIsc_Omits_With_StdcSelect0[] =
3156 "!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
3158 #define ISC_OMITS_WITH_STDC_TEST_CT 1
3159 static tTestDesc aIsc_Omits_With_StdcTests[] = {
3160 { TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
3163 * Fix Command Arguments for Isc_Omits_With_Stdc
3165 static const char* apzIsc_Omits_With_StdcPatch[] = {
3167 "!defined(_POSIX_SOURCE)",
3170 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3172 * Description of Kandr_Concat fix
3174 tSCC zKandr_ConcatName[] =
3178 * File name selection pattern
3180 tSCC zKandr_ConcatList[] =
3181 "|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|";
3183 * Machine/OS name selection pattern
3185 #define apzKandr_ConcatMachs (const char**)NULL
3188 * content selection pattern - do fix if pattern found
3190 tSCC zKandr_ConcatSelect0[] =
3193 #define KANDR_CONCAT_TEST_CT 1
3194 static tTestDesc aKandr_ConcatTests[] = {
3195 { TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
3198 * Fix Command Arguments for Kandr_Concat
3200 static const char* apzKandr_ConcatPatch[] = {
3205 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3207 * Description of Libc1_G_Va_List fix
3209 tSCC zLibc1_G_Va_ListName[] =
3213 * File name selection pattern
3215 tSCC zLibc1_G_Va_ListList[] =
3218 * Machine/OS name selection pattern
3220 tSCC* apzLibc1_G_Va_ListMachs[] = {
3222 (const char*)NULL };
3225 * content selection pattern - do fix if pattern found
3227 tSCC zLibc1_G_Va_ListSelect0[] =
3228 "typedef void \\* _G_va_list;";
3230 #define LIBC1_G_VA_LIST_TEST_CT 1
3231 static tTestDesc aLibc1_G_Va_ListTests[] = {
3232 { TT_EGREP, zLibc1_G_Va_ListSelect0, (regex_t*)NULL }, };
3235 * Fix Command Arguments for Libc1_G_Va_List
3237 static const char* apzLibc1_G_Va_ListPatch[] = {
3239 "typedef __builtin_va_list _G_va_list;",
3242 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3244 * Description of Libc1_Ifdefd_Memx fix
3246 tSCC zLibc1_Ifdefd_MemxName[] =
3247 "libc1_ifdefd_memx";
3250 * File name selection pattern
3252 tSCC zLibc1_Ifdefd_MemxList[] =
3253 "|testing.h|string.h|";
3255 * Machine/OS name selection pattern
3257 #define apzLibc1_Ifdefd_MemxMachs (const char**)NULL
3260 * content selection pattern - do fix if pattern found
3262 tSCC zLibc1_Ifdefd_MemxSelect0[] =
3263 "' is a built-in function for gcc 2\\.x\\. \\*/";
3266 * content bypass pattern - skip fix if pattern found
3268 tSCC zLibc1_Ifdefd_MemxBypass0[] =
3271 #define LIBC1_IFDEFD_MEMX_TEST_CT 2
3272 static tTestDesc aLibc1_Ifdefd_MemxTests[] = {
3273 { TT_NEGREP, zLibc1_Ifdefd_MemxBypass0, (regex_t*)NULL },
3274 { TT_EGREP, zLibc1_Ifdefd_MemxSelect0, (regex_t*)NULL }, };
3277 * Fix Command Arguments for Libc1_Ifdefd_Memx
3279 static const char* apzLibc1_Ifdefd_MemxPatch[] = {
3282 "/\\* `mem...' is a built-in function for gcc 2\\.x\\. \\*/\n\
3283 #if defined\\(__STDC__\\) && __GNUC__ < 2\n\
3285 extern [a-z_]+ mem.*(\n\
3290 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3292 * Description of Limits_Ifndefs fix
3294 tSCC zLimits_IfndefsName[] =
3298 * File name selection pattern
3300 tSCC zLimits_IfndefsList[] =
3301 "|sys/limits.h|limits.h|";
3303 * Machine/OS name selection pattern
3305 #define apzLimits_IfndefsMachs (const char**)NULL
3308 * content selection pattern - do fix if pattern found
3310 tSCC zLimits_IfndefsSelect0[] =
3311 "^[ \t]*#[ \t]*define[ \t]+((FLT|DBL)_(MIN|MAX|DIG))[ \t].*";
3314 * content bypass pattern - skip fix if pattern found
3316 tSCC zLimits_IfndefsBypass0[] =
3317 "ifndef[ \t]+FLT_(MIN|MAX)";
3319 #define LIMITS_IFNDEFS_TEST_CT 2
3320 static tTestDesc aLimits_IfndefsTests[] = {
3321 { TT_NEGREP, zLimits_IfndefsBypass0, (regex_t*)NULL },
3322 { TT_EGREP, zLimits_IfndefsSelect0, (regex_t*)NULL }, };
3325 * Fix Command Arguments for Limits_Ifndefs
3327 static const char* apzLimits_IfndefsPatch[] = {
3334 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3336 * Description of Lynxos_No_Warning_In_Sys_Time_H fix
3338 tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
3339 "lynxos_no_warning_in_sys_time_h";
3342 * File name selection pattern
3344 tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
3347 * Machine/OS name selection pattern
3349 #define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
3352 * content selection pattern - do fix if pattern found
3354 tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
3355 "#warning[ \t]+Using <time.h> instead of <sys/time.h>";
3357 #define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
3358 static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
3359 { TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
3362 * Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
3364 static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
3369 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3371 * Description of Lynxos_Missing_Putenv fix
3373 tSCC zLynxos_Missing_PutenvName[] =
3374 "lynxos_missing_putenv";
3377 * File name selection pattern
3379 tSCC zLynxos_Missing_PutenvList[] =
3382 * Machine/OS name selection pattern
3384 tSCC* apzLynxos_Missing_PutenvMachs[] = {
3386 (const char*)NULL };
3389 * content selection pattern - do fix if pattern found
3391 tSCC zLynxos_Missing_PutenvSelect0[] =
3392 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
3395 * content bypass pattern - skip fix if pattern found
3397 tSCC zLynxos_Missing_PutenvBypass0[] =
3400 #define LYNXOS_MISSING_PUTENV_TEST_CT 2
3401 static tTestDesc aLynxos_Missing_PutenvTests[] = {
3402 { TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
3403 { TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
3406 * Fix Command Arguments for Lynxos_Missing_Putenv
3408 static const char* apzLynxos_Missing_PutenvPatch[] = {
3411 extern int putenv\t\t\t\t_AP((char *));",
3412 "extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
3415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3417 * Description of Machine_Ansi_H_Va_List fix
3419 tSCC zMachine_Ansi_H_Va_ListName[] =
3420 "machine_ansi_h_va_list";
3423 * File name selection pattern
3425 #define zMachine_Ansi_H_Va_ListList (char*)NULL
3427 * Machine/OS name selection pattern
3429 #define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
3432 * content selection pattern - do fix if pattern found
3434 tSCC zMachine_Ansi_H_Va_ListSelect0[] =
3435 "define[ \t]+_BSD_VA_LIST_[ \t]";
3438 * content bypass pattern - skip fix if pattern found
3440 tSCC zMachine_Ansi_H_Va_ListBypass0[] =
3441 "__builtin_va_list";
3443 #define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
3444 static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
3445 { TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
3446 { TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
3449 * Fix Command Arguments for Machine_Ansi_H_Va_List
3451 static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
3453 "%1__builtin_va_list",
3454 "(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
3457 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3459 * Description of Machine_Name fix
3461 tSCC zMachine_NameName[] =
3465 * File name selection pattern
3467 #define zMachine_NameList (char*)NULL
3469 * Machine/OS name selection pattern
3471 #define apzMachine_NameMachs (const char**)NULL
3474 * perform the C function call test
3476 tSCC zMachine_NameFTst0[] = "machine_name";
3478 #define MACHINE_NAME_TEST_CT 1
3479 static tTestDesc aMachine_NameTests[] = {
3480 { TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
3483 * Fix Command Arguments for Machine_Name
3485 static const char* apzMachine_NamePatch[] = {
3489 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3491 * Description of Math_Exception fix
3493 tSCC zMath_ExceptionName[] =
3497 * File name selection pattern
3499 tSCC zMath_ExceptionList[] =
3502 * Machine/OS name selection pattern
3504 #define apzMath_ExceptionMachs (const char**)NULL
3507 * content selection pattern - do fix if pattern found
3509 tSCC zMath_ExceptionSelect0[] =
3513 * content bypass pattern - skip fix if pattern found
3515 tSCC zMath_ExceptionBypass0[] =
3516 "We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
3518 #define MATH_EXCEPTION_TEST_CT 2
3519 static tTestDesc aMath_ExceptionTests[] = {
3520 { TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
3521 { TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
3524 * Fix Command Arguments for Math_Exception
3526 static const char* apzMath_ExceptionPatch[] = {
3528 "#ifdef __cplusplus\n\
3529 #define exception __math_exception\n\
3531 "#ifdef __cplusplus\n\
3536 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3538 * Description of Math_Huge_Val_From_Dbl_Max fix
3540 tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
3541 "math_huge_val_from_dbl_max";
3544 * File name selection pattern
3546 tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
3549 * Machine/OS name selection pattern
3551 #define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
3554 * content selection pattern - do fix if pattern found
3556 tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
3557 "define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
3560 * content bypass pattern - skip fix if pattern found
3562 tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
3563 "define[ \t]+DBL_MAX";
3565 #define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
3566 static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
3567 { TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
3568 { TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
3571 * Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
3573 static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
3574 "\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
3575 \tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
3576 \tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
3581 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3583 * Description of Math_Huge_Val_Ifndef fix
3585 tSCC zMath_Huge_Val_IfndefName[] =
3586 "math_huge_val_ifndef";
3589 * File name selection pattern
3591 tSCC zMath_Huge_Val_IfndefList[] =
3592 "|math.h|math/math.h|";
3594 * Machine/OS name selection pattern
3596 #define apzMath_Huge_Val_IfndefMachs (const char**)NULL
3599 * content selection pattern - do fix if pattern found
3601 tSCC zMath_Huge_Val_IfndefSelect0[] =
3602 "define[ \t]+HUGE_VAL";
3604 #define MATH_HUGE_VAL_IFNDEF_TEST_CT 1
3605 static tTestDesc aMath_Huge_Val_IfndefTests[] = {
3606 { TT_EGREP, zMath_Huge_Val_IfndefSelect0, (regex_t*)NULL }, };
3609 * Fix Command Arguments for Math_Huge_Val_Ifndef
3611 static const char* apzMath_Huge_Val_IfndefPatch[] = {
3613 "#ifndef HUGE_VAL\n\
3616 "^[ \t]*#[ \t]*define[ \t]+HUGE_VAL[ \t].*",
3619 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3621 * Description of Nested_Auth_Des fix
3623 tSCC zNested_Auth_DesName[] =
3627 * File name selection pattern
3629 tSCC zNested_Auth_DesList[] =
3632 * Machine/OS name selection pattern
3634 #define apzNested_Auth_DesMachs (const char**)NULL
3637 * content selection pattern - do fix if pattern found
3639 tSCC zNested_Auth_DesSelect0[] =
3640 "(/\\*.*rpc/auth_des\\.h>.*)/\\*";
3642 #define NESTED_AUTH_DES_TEST_CT 1
3643 static tTestDesc aNested_Auth_DesTests[] = {
3644 { TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
3647 * Fix Command Arguments for Nested_Auth_Des
3649 static const char* apzNested_Auth_DesPatch[] = {
3654 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3656 * Description of Nested_Motorola fix
3658 tSCC zNested_MotorolaName[] =
3662 * File name selection pattern
3664 tSCC zNested_MotorolaList[] =
3665 "|sys/limits.h|limits.h|";
3667 * Machine/OS name selection pattern
3669 tSCC* apzNested_MotorolaMachs[] = {
3670 "m68k-motorola-sysv*",
3671 (const char*)NULL };
3674 * content selection pattern - do fix if pattern found
3676 tSCC zNested_MotorolaSelect0[] =
3677 "max # bytes atomic in write|error value returned by Math lib";
3679 #define NESTED_MOTOROLA_TEST_CT 1
3680 static tTestDesc aNested_MotorolaTests[] = {
3681 { TT_EGREP, zNested_MotorolaSelect0, (regex_t*)NULL }, };
3684 * Fix Command Arguments for Nested_Motorola
3686 static const char* apzNested_MotorolaPatch[] = { "sed",
3687 "-e", "s@^\\(#undef[ \t][ \t]*PIPE_BUF[ \t]*/\\* max # bytes atomic in write to a\\)$@\\1 */@",
3688 "-e", "s@\\(/\\*#define\tHUGE_VAL\t3.[0-9e+]* \\)\\(/\\*error value returned by Math lib\\*/\\)$@\\1*/ \\2@",
3691 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3693 * Description of Nested_Sys_Limits fix
3695 tSCC zNested_Sys_LimitsName[] =
3696 "nested_sys_limits";
3699 * File name selection pattern
3701 tSCC zNested_Sys_LimitsList[] =
3704 * Machine/OS name selection pattern
3706 #define apzNested_Sys_LimitsMachs (const char**)NULL
3709 * content selection pattern - do fix if pattern found
3711 tSCC zNested_Sys_LimitsSelect0[] =
3714 #define NESTED_SYS_LIMITS_TEST_CT 1
3715 static tTestDesc aNested_Sys_LimitsTests[] = {
3716 { TT_EGREP, zNested_Sys_LimitsSelect0, (regex_t*)NULL }, };
3719 * Fix Command Arguments for Nested_Sys_Limits
3721 static const char* apzNested_Sys_LimitsPatch[] = { "sed",
3722 "-e", "/CHILD_MAX/s,/\\* Max, Max,",
3723 "-e", "/OPEN_MAX/s,/\\* Max, Max,",
3726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3728 * Description of Netbsd_Extra_Semicolon fix
3730 tSCC zNetbsd_Extra_SemicolonName[] =
3731 "netbsd_extra_semicolon";
3734 * File name selection pattern
3736 tSCC zNetbsd_Extra_SemicolonList[] =
3739 * Machine/OS name selection pattern
3741 tSCC* apzNetbsd_Extra_SemicolonMachs[] = {
3743 (const char*)NULL };
3746 * content selection pattern - do fix if pattern found
3748 tSCC zNetbsd_Extra_SemicolonSelect0[] =
3749 "#define[ \t]*__END_DECLS[ \t]*};";
3751 #define NETBSD_EXTRA_SEMICOLON_TEST_CT 1
3752 static tTestDesc aNetbsd_Extra_SemicolonTests[] = {
3753 { TT_EGREP, zNetbsd_Extra_SemicolonSelect0, (regex_t*)NULL }, };
3756 * Fix Command Arguments for Netbsd_Extra_Semicolon
3758 static const char* apzNetbsd_Extra_SemicolonPatch[] = {
3760 "#define __END_DECLS }",
3763 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3765 * Description of Next_Math_Prefix fix
3767 tSCC zNext_Math_PrefixName[] =
3771 * File name selection pattern
3773 tSCC zNext_Math_PrefixList[] =
3776 * Machine/OS name selection pattern
3778 #define apzNext_Math_PrefixMachs (const char**)NULL
3781 * content selection pattern - do fix if pattern found
3783 tSCC zNext_Math_PrefixSelect0[] =
3784 "^extern[ \t]+double[ \t]+__const__[ \t]";
3786 #define NEXT_MATH_PREFIX_TEST_CT 1
3787 static tTestDesc aNext_Math_PrefixTests[] = {
3788 { TT_EGREP, zNext_Math_PrefixSelect0, (regex_t*)NULL }, };
3791 * Fix Command Arguments for Next_Math_Prefix
3793 static const char* apzNext_Math_PrefixPatch[] = {
3795 "extern double %1(",
3796 "^extern[ \t]+double[ \t]+__const__[ \t]+([a-z]+)\\(",
3799 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3801 * Description of Next_Template fix
3803 tSCC zNext_TemplateName[] =
3807 * File name selection pattern
3809 tSCC zNext_TemplateList[] =
3812 * Machine/OS name selection pattern
3814 #define apzNext_TemplateMachs (const char**)NULL
3817 * content selection pattern - do fix if pattern found
3819 tSCC zNext_TemplateSelect0[] =
3822 #define NEXT_TEMPLATE_TEST_CT 1
3823 static tTestDesc aNext_TemplateTests[] = {
3824 { TT_EGREP, zNext_TemplateSelect0, (regex_t*)NULL }, };
3827 * Fix Command Arguments for Next_Template
3829 static const char* apzNext_TemplatePatch[] = {
3832 "\\(([^)]*)[ \t]template\\)",
3835 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3837 * Description of Next_Volitile fix
3839 tSCC zNext_VolitileName[] =
3843 * File name selection pattern
3845 tSCC zNext_VolitileList[] =
3848 * Machine/OS name selection pattern
3850 #define apzNext_VolitileMachs (const char**)NULL
3853 * content selection pattern - do fix if pattern found
3855 tSCC zNext_VolitileSelect0[] =
3856 "^extern[ \t]+volatile[ \t]+void[ \t]";
3858 #define NEXT_VOLITILE_TEST_CT 1
3859 static tTestDesc aNext_VolitileTests[] = {
3860 { TT_EGREP, zNext_VolitileSelect0, (regex_t*)NULL }, };
3863 * Fix Command Arguments for Next_Volitile
3865 static const char* apzNext_VolitilePatch[] = {
3868 "^extern[ \t]+volatile[ \t]+void[ \t]+(exit|abort)\\(",
3871 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3873 * Description of Next_Wait_Union fix
3875 tSCC zNext_Wait_UnionName[] =
3879 * File name selection pattern
3881 tSCC zNext_Wait_UnionList[] =
3884 * Machine/OS name selection pattern
3886 #define apzNext_Wait_UnionMachs (const char**)NULL
3889 * content selection pattern - do fix if pattern found
3891 tSCC zNext_Wait_UnionSelect0[] =
3892 "wait\\(union wait";
3894 #define NEXT_WAIT_UNION_TEST_CT 1
3895 static tTestDesc aNext_Wait_UnionTests[] = {
3896 { TT_EGREP, zNext_Wait_UnionSelect0, (regex_t*)NULL }, };
3899 * Fix Command Arguments for Next_Wait_Union
3901 static const char* apzNext_Wait_UnionPatch[] = {
3906 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3908 * Description of Nodeent_Syntax fix
3910 tSCC zNodeent_SyntaxName[] =
3914 * File name selection pattern
3916 tSCC zNodeent_SyntaxList[] =
3917 "|netdnet/dnetdb.h|";
3919 * Machine/OS name selection pattern
3921 #define apzNodeent_SyntaxMachs (const char**)NULL
3924 * content selection pattern - do fix if pattern found
3926 tSCC zNodeent_SyntaxSelect0[] =
3927 "char[ \t]*\\*na_addr[ \t]*$";
3929 #define NODEENT_SYNTAX_TEST_CT 1
3930 static tTestDesc aNodeent_SyntaxTests[] = {
3931 { TT_EGREP, zNodeent_SyntaxSelect0, (regex_t*)NULL }, };
3934 * Fix Command Arguments for Nodeent_Syntax
3936 static const char* apzNodeent_SyntaxPatch[] = {
3941 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3943 * Description of Obstack_Lvalue_Cast fix
3945 tSCC zObstack_Lvalue_CastName[] =
3946 "obstack_lvalue_cast";
3949 * File name selection pattern
3951 tSCC zObstack_Lvalue_CastList[] =
3954 * Machine/OS name selection pattern
3956 #define apzObstack_Lvalue_CastMachs (const char**)NULL
3959 * content selection pattern - do fix if pattern found
3961 tSCC zObstack_Lvalue_CastSelect0[] =
3962 "\\*\\(\\(([^()]*)\\*\\)(.*)\\)\\+\\+ = \\(([^()]*)\\)";
3964 #define OBSTACK_LVALUE_CAST_TEST_CT 1
3965 static tTestDesc aObstack_Lvalue_CastTests[] = {
3966 { TT_EGREP, zObstack_Lvalue_CastSelect0, (regex_t*)NULL }, };
3969 * Fix Command Arguments for Obstack_Lvalue_Cast
3971 static const char* apzObstack_Lvalue_CastPatch[] = {
3973 "((*((%1*)%2) = (%3)), (%2 += sizeof (%1)))",
3976 /* * * * * * * * * * * * * * * * * * * * * * * * * *
3978 * Description of Osf_Namespace_A fix
3980 tSCC zOsf_Namespace_AName[] =
3984 * File name selection pattern
3986 tSCC zOsf_Namespace_AList[] =
3987 "|reg_types.h|sys/lc_core.h|";
3989 * Machine/OS name selection pattern
3991 #define apzOsf_Namespace_AMachs (const char**)NULL
3994 * perform the 'test' shell command - do fix on success
3996 tSCC zOsf_Namespace_ATest0[] =
3998 tSCC zOsf_Namespace_ATest1[] =
3999 " -r sys/lc_core.h";
4000 tSCC zOsf_Namespace_ATest2[] =
4001 " -n \"`grep '} regex_t;' reg_types.h`\"";
4002 tSCC zOsf_Namespace_ATest3[] =
4003 " -z \"`grep __regex_t regex.h`\"";
4005 #define OSF_NAMESPACE_A_TEST_CT 4
4006 static tTestDesc aOsf_Namespace_ATests[] = {
4007 { TT_TEST, zOsf_Namespace_ATest0, 0 /* unused */ },
4008 { TT_TEST, zOsf_Namespace_ATest1, 0 /* unused */ },
4009 { TT_TEST, zOsf_Namespace_ATest2, 0 /* unused */ },
4010 { TT_TEST, zOsf_Namespace_ATest3, 0 /* unused */ }, };
4013 * Fix Command Arguments for Osf_Namespace_A
4015 static const char* apzOsf_Namespace_APatch[] = {
4018 "reg(ex|off|match)_t",
4021 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4023 * Description of Osf_Namespace_C fix
4025 tSCC zOsf_Namespace_CName[] =
4029 * File name selection pattern
4031 tSCC zOsf_Namespace_CList[] =
4034 * Machine/OS name selection pattern
4036 #define apzOsf_Namespace_CMachs (const char**)NULL
4039 * content selection pattern - do fix if pattern found
4041 tSCC zOsf_Namespace_CSelect0[] =
4042 "#include <reg_types.h>.*";
4045 * perform the 'test' shell command - do fix on success
4047 tSCC zOsf_Namespace_CTest0[] =
4049 tSCC zOsf_Namespace_CTest1[] =
4050 " -r sys/lc_core.h";
4051 tSCC zOsf_Namespace_CTest2[] =
4052 " -n \"`grep '} regex_t;' reg_types.h`\"";
4053 tSCC zOsf_Namespace_CTest3[] =
4054 " -z \"`grep __regex_t regex.h`\"";
4056 #define OSF_NAMESPACE_C_TEST_CT 5
4057 static tTestDesc aOsf_Namespace_CTests[] = {
4058 { TT_TEST, zOsf_Namespace_CTest0, 0 /* unused */ },
4059 { TT_TEST, zOsf_Namespace_CTest1, 0 /* unused */ },
4060 { TT_TEST, zOsf_Namespace_CTest2, 0 /* unused */ },
4061 { TT_TEST, zOsf_Namespace_CTest3, 0 /* unused */ },
4062 { TT_EGREP, zOsf_Namespace_CSelect0, (regex_t*)NULL }, };
4065 * Fix Command Arguments for Osf_Namespace_C
4067 static const char* apzOsf_Namespace_CPatch[] = {
4070 typedef __regex_t\tregex_t;\n\
4071 typedef __regoff_t\tregoff_t;\n\
4072 typedef __regmatch_t\tregmatch_t;",
4075 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4077 * Description of Pthread_Page_Size fix
4079 tSCC zPthread_Page_SizeName[] =
4080 "pthread_page_size";
4083 * File name selection pattern
4085 tSCC zPthread_Page_SizeList[] =
4088 * Machine/OS name selection pattern
4090 #define apzPthread_Page_SizeMachs (const char**)NULL
4093 * content selection pattern - do fix if pattern found
4095 tSCC zPthread_Page_SizeSelect0[] =
4098 #define PTHREAD_PAGE_SIZE_TEST_CT 1
4099 static tTestDesc aPthread_Page_SizeTests[] = {
4100 { TT_EGREP, zPthread_Page_SizeSelect0, (regex_t*)NULL }, };
4103 * Fix Command Arguments for Pthread_Page_Size
4105 static const char* apzPthread_Page_SizePatch[] = {
4110 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4112 * Description of Read_Ret_Type fix
4114 tSCC zRead_Ret_TypeName[] =
4118 * File name selection pattern
4120 tSCC zRead_Ret_TypeList[] =
4123 * Machine/OS name selection pattern
4125 #define apzRead_Ret_TypeMachs (const char**)NULL
4128 * content selection pattern - do fix if pattern found
4130 tSCC zRead_Ret_TypeSelect0[] =
4131 "extern int\t.*, fread\\(\\), fwrite\\(\\)";
4133 #define READ_RET_TYPE_TEST_CT 1
4134 static tTestDesc aRead_Ret_TypeTests[] = {
4135 { TT_EGREP, zRead_Ret_TypeSelect0, (regex_t*)NULL }, };
4138 * Fix Command Arguments for Read_Ret_Type
4140 static const char* apzRead_Ret_TypePatch[] = {
4142 "extern unsigned int fread(), fwrite();\n\
4144 "(extern int\t.*), fread\\(\\), fwrite\\(\\)(.*)",
4147 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4149 * Description of Rpc_Xdr_Lvalue_Cast_A fix
4151 tSCC zRpc_Xdr_Lvalue_Cast_AName[] =
4152 "rpc_xdr_lvalue_cast_a";
4155 * File name selection pattern
4157 tSCC zRpc_Xdr_Lvalue_Cast_AList[] =
4160 * Machine/OS name selection pattern
4162 #define apzRpc_Xdr_Lvalue_Cast_AMachs (const char**)NULL
4165 * content selection pattern - do fix if pattern found
4167 tSCC zRpc_Xdr_Lvalue_Cast_ASelect0[] =
4168 "#define[ \t]*IXDR_GET_LONG.*\\\\\n\
4171 #define RPC_XDR_LVALUE_CAST_A_TEST_CT 1
4172 static tTestDesc aRpc_Xdr_Lvalue_Cast_ATests[] = {
4173 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_ASelect0, (regex_t*)NULL }, };
4176 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_A
4178 static const char* apzRpc_Xdr_Lvalue_Cast_APatch[] = {
4180 "#define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf))",
4183 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4185 * Description of Rpc_Xdr_Lvalue_Cast_B fix
4187 tSCC zRpc_Xdr_Lvalue_Cast_BName[] =
4188 "rpc_xdr_lvalue_cast_b";
4191 * File name selection pattern
4193 tSCC zRpc_Xdr_Lvalue_Cast_BList[] =
4196 * Machine/OS name selection pattern
4198 #define apzRpc_Xdr_Lvalue_Cast_BMachs (const char**)NULL
4201 * content selection pattern - do fix if pattern found
4203 tSCC zRpc_Xdr_Lvalue_Cast_BSelect0[] =
4204 "#define[ \t]*IXDR_PUT_LONG.*\\\\\n\
4207 #define RPC_XDR_LVALUE_CAST_B_TEST_CT 1
4208 static tTestDesc aRpc_Xdr_Lvalue_Cast_BTests[] = {
4209 { TT_EGREP, zRpc_Xdr_Lvalue_Cast_BSelect0, (regex_t*)NULL }, };
4212 * Fix Command Arguments for Rpc_Xdr_Lvalue_Cast_B
4214 static const char* apzRpc_Xdr_Lvalue_Cast_BPatch[] = {
4216 "#define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v)))",
4219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4221 * Description of Rs6000_Double fix
4223 tSCC zRs6000_DoubleName[] =
4227 * File name selection pattern
4229 tSCC zRs6000_DoubleList[] =
4232 * Machine/OS name selection pattern
4234 #define apzRs6000_DoubleMachs (const char**)NULL
4237 * content selection pattern - do fix if pattern found
4239 tSCC zRs6000_DoubleSelect0[] =
4240 "[^a-zA-Z_]class\\(";
4242 #define RS6000_DOUBLE_TEST_CT 1
4243 static tTestDesc aRs6000_DoubleTests[] = {
4244 { TT_EGREP, zRs6000_DoubleSelect0, (regex_t*)NULL }, };
4247 * Fix Command Arguments for Rs6000_Double
4249 static const char* apzRs6000_DoublePatch[] = {
4251 "#ifndef __cplusplus\n\
4254 "^.*[^a-zA-Z_]class\\(.*",
4257 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4259 * Description of Rs6000_Fchmod fix
4261 tSCC zRs6000_FchmodName[] =
4265 * File name selection pattern
4267 tSCC zRs6000_FchmodList[] =
4270 * Machine/OS name selection pattern
4272 #define apzRs6000_FchmodMachs (const char**)NULL
4275 * content selection pattern - do fix if pattern found
4277 tSCC zRs6000_FchmodSelect0[] =
4278 "fchmod\\(char \\*";
4280 #define RS6000_FCHMOD_TEST_CT 1
4281 static tTestDesc aRs6000_FchmodTests[] = {
4282 { TT_EGREP, zRs6000_FchmodSelect0, (regex_t*)NULL }, };
4285 * Fix Command Arguments for Rs6000_Fchmod
4287 static const char* apzRs6000_FchmodPatch[] = {
4292 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4294 * Description of Rs6000_Param fix
4296 tSCC zRs6000_ParamName[] =
4300 * File name selection pattern
4302 tSCC zRs6000_ParamList[] =
4303 "|stdio.h|unistd.h|";
4305 * Machine/OS name selection pattern
4307 #define apzRs6000_ParamMachs (const char**)NULL
4310 * content selection pattern - do fix if pattern found
4312 tSCC zRs6000_ParamSelect0[] =
4313 "rename\\(const char \\*old, const char \\*new\\)";
4315 #define RS6000_PARAM_TEST_CT 1
4316 static tTestDesc aRs6000_ParamTests[] = {
4317 { TT_EGREP, zRs6000_ParamSelect0, (regex_t*)NULL }, };
4320 * Fix Command Arguments for Rs6000_Param
4322 static const char* apzRs6000_ParamPatch[] = {
4324 "rename(const char *_old, const char *_new)",
4327 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4329 * Description of Sco_Math fix
4331 tSCC zSco_MathName[] =
4335 * File name selection pattern
4337 tSCC zSco_MathList[] =
4338 "|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|";
4340 * Machine/OS name selection pattern
4342 #define apzSco_MathMachs (const char**)NULL
4345 * content selection pattern - do fix if pattern found
4347 tSCC zSco_MathSelect0[] =
4348 "inline double abs";
4350 #define SCO_MATH_TEST_CT 1
4351 static tTestDesc aSco_MathTests[] = {
4352 { TT_EGREP, zSco_MathSelect0, (regex_t*)NULL }, };
4355 * Fix Command Arguments for Sco_Math
4357 static const char* apzSco_MathPatch[] = { "sed",
4358 "-e", "/#define.*__fp_class(a) \\\\/i\\\n\
4359 #ifndef __GNUC__\n",
4360 "-e", "/.*__builtin_generic/a\\\n\
4362 #define __fp_class(a) \\\\\\\n\
4363 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\\\\\n\
4364 __fpclassifyl(a), \\\\\\\n\
4365 __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\\\\\n\
4366 __fpclassifyf(a),__fpclassify(a)))\\\n\
4368 "-e", "/extern \"C\\+\\+\"/N;/inline double abs/i\\\n\
4369 #ifndef __GNUC__\n",
4370 "-e", "/inline long double trunc/N;/inline long double trunc.*}.*extern \"C\\+\\+\"/a\\\n\
4371 #endif /* ! __GNUC__ */",
4374 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4376 * Description of Sco_Regset fix
4378 tSCC zSco_RegsetName[] =
4382 * File name selection pattern
4384 tSCC zSco_RegsetList[] =
4387 * Machine/OS name selection pattern
4389 tSCC* apzSco_RegsetMachs[] = {
4391 (const char*)NULL };
4394 * content selection pattern - do fix if pattern found
4396 tSCC zSco_RegsetSelect0[] =
4397 "(struct[ \t]+.*)fpstate";
4399 #define SCO_REGSET_TEST_CT 1
4400 static tTestDesc aSco_RegsetTests[] = {
4401 { TT_EGREP, zSco_RegsetSelect0, (regex_t*)NULL }, };
4404 * Fix Command Arguments for Sco_Regset
4406 static const char* apzSco_RegsetPatch[] = {
4411 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4413 * Description of Sco_Static_Func fix
4415 tSCC zSco_Static_FuncName[] =
4419 * File name selection pattern
4421 tSCC zSco_Static_FuncList[] =
4424 * Machine/OS name selection pattern
4426 tSCC* apzSco_Static_FuncMachs[] = {
4428 (const char*)NULL };
4431 * content selection pattern - do fix if pattern found
4433 tSCC zSco_Static_FuncSelect0[] =
4436 #define SCO_STATIC_FUNC_TEST_CT 1
4437 static tTestDesc aSco_Static_FuncTests[] = {
4438 { TT_EGREP, zSco_Static_FuncSelect0, (regex_t*)NULL }, };
4441 * Fix Command Arguments for Sco_Static_Func
4443 static const char* apzSco_Static_FuncPatch[] = { "sed",
4444 "-e", "/^static int/i\\\n\
4445 #if __cplusplus\\\n\
4447 #endif /* __cplusplus */",
4449 #if __cplusplus\\\n\
4451 #endif /* __cplusplus */",
4454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4456 * Description of Sco_Utime fix
4458 tSCC zSco_UtimeName[] =
4462 * File name selection pattern
4464 tSCC zSco_UtimeList[] =
4467 * Machine/OS name selection pattern
4469 tSCC* apzSco_UtimeMachs[] = {
4471 (const char*)NULL };
4474 * content selection pattern - do fix if pattern found
4476 tSCC zSco_UtimeSelect0[] =
4477 "\\(const char \\*, struct utimbuf \\*\\);";
4479 #define SCO_UTIME_TEST_CT 1
4480 static tTestDesc aSco_UtimeTests[] = {
4481 { TT_EGREP, zSco_UtimeSelect0, (regex_t*)NULL }, };
4484 * Fix Command Arguments for Sco_Utime
4486 static const char* apzSco_UtimePatch[] = {
4488 "(const char *, const struct utimbuf *);",
4491 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4493 * Description of Solaris_Mutex_Init_1 fix
4495 tSCC zSolaris_Mutex_Init_1Name[] =
4496 "solaris_mutex_init_1";
4499 * File name selection pattern
4501 tSCC zSolaris_Mutex_Init_1List[] =
4504 * Machine/OS name selection pattern
4506 #define apzSolaris_Mutex_Init_1Machs (const char**)NULL
4509 * content selection pattern - do fix if pattern found
4511 tSCC zSolaris_Mutex_Init_1Select0[] =
4512 "@\\(#\\)pthread.h[ \t]+1.1[0-9][ \t]+9[567]/[0-9/]+ SMI";
4514 #define SOLARIS_MUTEX_INIT_1_TEST_CT 1
4515 static tTestDesc aSolaris_Mutex_Init_1Tests[] = {
4516 { TT_EGREP, zSolaris_Mutex_Init_1Select0, (regex_t*)NULL }, };
4519 * Fix Command Arguments for Solaris_Mutex_Init_1
4521 static const char* apzSolaris_Mutex_Init_1Patch[] = { "sed",
4522 "-e", "/define[ \t]*PTHREAD_MUTEX_INI/s/{0, 0,/{{{0}, 0}, {{{0}}},/\n\
4523 /define[ \t]*PTHREAD_COND_INI/s/{0,/{{{0},0},/",
4526 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4528 * Description of Solaris_Mutex_Init_2 fix
4530 tSCC zSolaris_Mutex_Init_2Name[] =
4531 "solaris_mutex_init_2";
4534 * File name selection pattern
4536 tSCC zSolaris_Mutex_Init_2List[] =
4539 * Machine/OS name selection pattern
4541 #define apzSolaris_Mutex_Init_2Machs (const char**)NULL
4544 * content selection pattern - do fix if pattern found
4546 tSCC zSolaris_Mutex_Init_2Select0[] =
4547 "@\\(#\\)pthread.h[ \t]+1.[0-9]+[ \t]+[0-9/]+ SMI";
4549 #define SOLARIS_MUTEX_INIT_2_TEST_CT 1
4550 static tTestDesc aSolaris_Mutex_Init_2Tests[] = {
4551 { TT_EGREP, zSolaris_Mutex_Init_2Select0, (regex_t*)NULL }, };
4554 * Fix Command Arguments for Solaris_Mutex_Init_2
4556 static const char* apzSolaris_Mutex_Init_2Patch[] = {
4558 "#if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG)\n\
4563 "(^#define[ \t]+PTHREAD_(MUTEX|COND)_INITIALIZER[ \t]+\\{.*),[ \t]*0\\}(|[ \t].*)$",
4566 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4568 * Description of Solaris_Socket fix
4570 tSCC zSolaris_SocketName[] =
4574 * File name selection pattern
4576 tSCC zSolaris_SocketList[] =
4579 * Machine/OS name selection pattern
4581 #define apzSolaris_SocketMachs (const char**)NULL
4584 * content selection pattern - do fix if pattern found
4586 tSCC zSolaris_SocketSelect0[] =
4587 "@\\(#\\)socket.h[ \t]+1.[123][0-9][ \t]+9[567]/[0-9/]+ SMI";
4589 #define SOLARIS_SOCKET_TEST_CT 1
4590 static tTestDesc aSolaris_SocketTests[] = {
4591 { TT_EGREP, zSolaris_SocketSelect0, (regex_t*)NULL }, };
4594 * Fix Command Arguments for Solaris_Socket
4596 static const char* apzSolaris_SocketPatch[] = {
4598 "extern int %1(int, %2void *, int, int);",
4599 "^extern int (recv|send)\\(int, (const )*char \\*, int, int\\);",
4602 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4604 * Description of Solaris_Stdio_Tag fix
4606 tSCC zSolaris_Stdio_TagName[] =
4607 "solaris_stdio_tag";
4610 * File name selection pattern
4612 tSCC zSolaris_Stdio_TagList[] =
4615 * Machine/OS name selection pattern
4617 #define apzSolaris_Stdio_TagMachs (const char**)NULL
4620 * content selection pattern - do fix if pattern found
4622 tSCC zSolaris_Stdio_TagSelect0[] =
4623 "__cplusplus < 54321L";
4625 #define SOLARIS_STDIO_TAG_TEST_CT 1
4626 static tTestDesc aSolaris_Stdio_TagTests[] = {
4627 { TT_EGREP, zSolaris_Stdio_TagSelect0, (regex_t*)NULL }, };
4630 * Fix Command Arguments for Solaris_Stdio_Tag
4632 static const char* apzSolaris_Stdio_TagPatch[] = { "sed",
4633 "-e", "s/defined(__cplusplus) && (__cplusplus < 54321L)/0/",
4636 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4638 * Description of Solaris_Unistd fix
4640 tSCC zSolaris_UnistdName[] =
4644 * File name selection pattern
4646 tSCC zSolaris_UnistdList[] =
4649 * Machine/OS name selection pattern
4651 #define apzSolaris_UnistdMachs (const char**)NULL
4654 * content selection pattern - do fix if pattern found
4656 tSCC zSolaris_UnistdSelect0[] =
4657 "@\\(#\\)unistd.h[ \t]+1.3[0-9][ \t]+9[567]/[0-9/]+ SMI";
4660 * content bypass pattern - skip fix if pattern found
4662 tSCC zSolaris_UnistdBypass0[] =
4665 #define SOLARIS_UNISTD_TEST_CT 2
4666 static tTestDesc aSolaris_UnistdTests[] = {
4667 { TT_NEGREP, zSolaris_UnistdBypass0, (regex_t*)NULL },
4668 { TT_EGREP, zSolaris_UnistdSelect0, (regex_t*)NULL }, };
4671 * Fix Command Arguments for Solaris_Unistd
4673 static const char* apzSolaris_UnistdPatch[] = {
4675 "extern int getpagesize();\n\
4677 "^extern (pid_t|int) getpgid\\(.*\\);",
4680 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4682 * Description of Solaris_Widec fix
4684 tSCC zSolaris_WidecName[] =
4688 * File name selection pattern
4690 tSCC zSolaris_WidecList[] =
4693 * Machine/OS name selection pattern
4695 tSCC* apzSolaris_WidecMachs[] = {
4696 "*-*-solaris2.[0-5]",
4697 "*-*-solaris2.[0-5].*",
4698 (const char*)NULL };
4701 * content selection pattern - do fix if pattern found
4703 tSCC zSolaris_WidecSelect0[] =
4707 * content bypass pattern - skip fix if pattern found
4709 tSCC zSolaris_WidecBypass0[] =
4710 "include.*wchar\\.h";
4712 #define SOLARIS_WIDEC_TEST_CT 2
4713 static tTestDesc aSolaris_WidecTests[] = {
4714 { TT_NEGREP, zSolaris_WidecBypass0, (regex_t*)NULL },
4715 { TT_EGREP, zSolaris_WidecSelect0, (regex_t*)NULL }, };
4718 * Fix Command Arguments for Solaris_Widec
4720 static const char* apzSolaris_WidecPatch[] = {
4723 #include <wchar.h>",
4726 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4728 * Description of Statsswtch fix
4730 tSCC zStatsswtchName[] =
4734 * File name selection pattern
4736 tSCC zStatsswtchList[] =
4739 * Machine/OS name selection pattern
4741 #define apzStatsswtchMachs (const char**)NULL
4744 * content selection pattern - do fix if pattern found
4746 tSCC zStatsswtchSelect0[] =
4749 #define STATSSWTCH_TEST_CT 1
4750 static tTestDesc aStatsswtchTests[] = {
4751 { TT_EGREP, zStatsswtchSelect0, (regex_t*)NULL }, };
4754 * Fix Command Arguments for Statsswtch
4756 static const char* apzStatsswtchPatch[] = {
4761 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4763 * Description of Stdio_Stdarg_H fix
4765 tSCC zStdio_Stdarg_HName[] =
4769 * File name selection pattern
4771 tSCC zStdio_Stdarg_HList[] =
4774 * Machine/OS name selection pattern
4776 #define apzStdio_Stdarg_HMachs (const char**)NULL
4779 * content bypass pattern - skip fix if pattern found
4781 tSCC zStdio_Stdarg_HBypass0[] =
4782 "include.*(stdarg.h|machine/ansi.h)";
4784 #define STDIO_STDARG_H_TEST_CT 1
4785 static tTestDesc aStdio_Stdarg_HTests[] = {
4786 { TT_NEGREP, zStdio_Stdarg_HBypass0, (regex_t*)NULL }, };
4789 * Fix Command Arguments for Stdio_Stdarg_H
4791 static const char* apzStdio_Stdarg_HPatch[] = {
4793 "#define __need___va_list\n\
4794 #include <stdarg.h>\n",
4797 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4799 * Description of Stdio_Va_List fix
4801 tSCC zStdio_Va_ListName[] =
4805 * File name selection pattern
4807 tSCC zStdio_Va_ListList[] =
4808 "|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|";
4810 * Machine/OS name selection pattern
4812 #define apzStdio_Va_ListMachs (const char**)NULL
4815 * content bypass pattern - skip fix if pattern found
4817 tSCC zStdio_Va_ListBypass0[] =
4818 "__gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list";
4820 #define STDIO_VA_LIST_TEST_CT 1
4821 static tTestDesc aStdio_Va_ListTests[] = {
4822 { TT_NEGREP, zStdio_Va_ListBypass0, (regex_t*)NULL }, };
4825 * Fix Command Arguments for Stdio_Va_List
4827 static const char* apzStdio_Va_ListPatch[] = { "sed",
4828 "-e", "s@[ \t]va_list\\([ \t)]\\)@ __gnuc_va_list\\1@\n\
4829 s@(va_list)&@(__gnuc_va_list)\\&@\n\
4830 s@ _VA_LIST_));@ __gnuc_va_list));@\n\
4831 s@ __VA_LIST__));@ __gnuc_va_list));@\n\
4832 s@ va_list@ __not_va_list__@\n\
4833 s@\\*va_list@*__not_va_list__@\n\
4834 s@ __va_list)@ __gnuc_va_list)@\n\
4835 s@typedef[ \t]\\(.*\\)[ \t]va_list[ \t]*;@typedef \\1 __not_va_list__;@\n\
4836 s@typedef[ \t]*__va_list__@typedef __gnuc_va_list@\n\
4837 s@GNUC_VA_LIST@GNUC_Va_LIST@\n\
4838 s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@\n\
4839 s@_NEED___VA_LIST@_NEED___Va_LIST@\n\
4840 s@VA_LIST@DUMMY_VA_LIST@\n\
4841 s@_Va_LIST@_VA_LIST@",
4844 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4846 * Description of Strict_Ansi_Not fix
4848 tSCC zStrict_Ansi_NotName[] =
4852 * File name selection pattern
4854 #define zStrict_Ansi_NotList (char*)NULL
4856 * Machine/OS name selection pattern
4858 #define apzStrict_Ansi_NotMachs (const char**)NULL
4861 * content selection pattern - do fix if pattern found
4863 tSCC zStrict_Ansi_NotSelect0[] =
4864 "^([ \t]*#[ \t]*if.*)(!__STDC__|__STDC__[ \t]*==[ \t]*0|__STDC__[ \t]*!=[ \t]*1|__STDC__[ \t]*-[ \t]*0[ \t]*==[ \t]*0)";
4867 * content bypass pattern - skip fix if pattern found
4869 tSCC zStrict_Ansi_NotBypass0[] =
4870 "GNU and MIPS C compilers define __STDC__ differently";
4871 tSCC zStrict_Ansi_NotBypass1[] =
4872 "__SCO_VERSION__.*__STDC__ != 1";
4875 * perform the C function call test
4877 tSCC zStrict_Ansi_NotFTst0[] = "stdc_0_in_system_headers";
4879 #define STRICT_ANSI_NOT_TEST_CT 4
4880 static tTestDesc aStrict_Ansi_NotTests[] = {
4881 { TT_FUNCTION, zStrict_Ansi_NotFTst0, 0 /* unused */ },
4882 { TT_NEGREP, zStrict_Ansi_NotBypass0, (regex_t*)NULL },
4883 { TT_NEGREP, zStrict_Ansi_NotBypass1, (regex_t*)NULL },
4884 { TT_EGREP, zStrict_Ansi_NotSelect0, (regex_t*)NULL }, };
4887 * Fix Command Arguments for Strict_Ansi_Not
4889 static const char* apzStrict_Ansi_NotPatch[] = {
4891 "%1 !defined(__STRICT_ANSI__)",
4894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4896 * Description of Strict_Ansi_Not_Ctd fix
4898 tSCC zStrict_Ansi_Not_CtdName[] =
4899 "strict_ansi_not_ctd";
4902 * File name selection pattern
4904 tSCC zStrict_Ansi_Not_CtdList[] =
4905 "|math.h|limits.h|stdio.h|signal.h|stdlib.h|sys/signal.h|time.h|";
4907 * Machine/OS name selection pattern
4909 #define apzStrict_Ansi_Not_CtdMachs (const char**)NULL
4912 * content selection pattern - do fix if pattern found
4914 tSCC zStrict_Ansi_Not_CtdSelect0[] =
4915 "^([ \t]*(\\(|&&|\\|\\|)([ \t(]*!*[ \t]*defined\\([a-zA-Z_0-9]+\\)[ \t]*[|&][|&])*[ \t(]*)(__STDC__[ \t]*(|-[ \t]*0[ \t]*)==[ \t]*0)";
4918 * perform the C function call test
4920 tSCC zStrict_Ansi_Not_CtdFTst0[] = "stdc_0_in_system_headers";
4922 #define STRICT_ANSI_NOT_CTD_TEST_CT 2
4923 static tTestDesc aStrict_Ansi_Not_CtdTests[] = {
4924 { TT_FUNCTION, zStrict_Ansi_Not_CtdFTst0, 0 /* unused */ },
4925 { TT_EGREP, zStrict_Ansi_Not_CtdSelect0, (regex_t*)NULL }, };
4928 * Fix Command Arguments for Strict_Ansi_Not_Ctd
4930 static const char* apzStrict_Ansi_Not_CtdPatch[] = {
4932 "%1 !defined(__STRICT_ANSI__)",
4935 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4937 * Description of Strict_Ansi_Only fix
4939 tSCC zStrict_Ansi_OnlyName[] =
4943 * File name selection pattern
4945 #define zStrict_Ansi_OnlyList (char*)NULL
4947 * Machine/OS name selection pattern
4949 #define apzStrict_Ansi_OnlyMachs (const char**)NULL
4952 * content selection pattern - do fix if pattern found
4954 tSCC zStrict_Ansi_OnlySelect0[] =
4955 "^([ \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)";
4958 * perform the C function call test
4960 tSCC zStrict_Ansi_OnlyFTst0[] = "stdc_0_in_system_headers";
4962 #define STRICT_ANSI_ONLY_TEST_CT 2
4963 static tTestDesc aStrict_Ansi_OnlyTests[] = {
4964 { TT_FUNCTION, zStrict_Ansi_OnlyFTst0, 0 /* unused */ },
4965 { TT_EGREP, zStrict_Ansi_OnlySelect0, (regex_t*)NULL }, };
4968 * Fix Command Arguments for Strict_Ansi_Only
4970 static const char* apzStrict_Ansi_OnlyPatch[] = {
4972 "%1 defined(__STRICT_ANSI__)",
4975 /* * * * * * * * * * * * * * * * * * * * * * * * * *
4977 * Description of Struct_File fix
4979 tSCC zStruct_FileName[] =
4983 * File name selection pattern
4985 tSCC zStruct_FileList[] =
4988 * Machine/OS name selection pattern
4990 #define apzStruct_FileMachs (const char**)NULL
4993 * content selection pattern - do fix if pattern found
4995 tSCC zStruct_FileSelect0[] =
4996 "^.*xdrstdio_create.*struct __file_s";
4998 #define STRUCT_FILE_TEST_CT 1
4999 static tTestDesc aStruct_FileTests[] = {
5000 { TT_EGREP, zStruct_FileSelect0, (regex_t*)NULL }, };
5003 * Fix Command Arguments for Struct_File
5005 static const char* apzStruct_FilePatch[] = {
5007 "struct __file_s;\n\
5011 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5013 * Description of Struct_Sockaddr fix
5015 tSCC zStruct_SockaddrName[] =
5019 * File name selection pattern
5021 tSCC zStruct_SockaddrList[] =
5024 * Machine/OS name selection pattern
5026 #define apzStruct_SockaddrMachs (const char**)NULL
5029 * content selection pattern - do fix if pattern found
5031 tSCC zStruct_SockaddrSelect0[] =
5032 "^.*authdes_create.*struct sockaddr[^_]";
5035 * content bypass pattern - skip fix if pattern found
5037 tSCC zStruct_SockaddrBypass0[] =
5039 tSCC zStruct_SockaddrBypass1[] =
5040 "struct sockaddr;\n";
5042 #define STRUCT_SOCKADDR_TEST_CT 3
5043 static tTestDesc aStruct_SockaddrTests[] = {
5044 { TT_NEGREP, zStruct_SockaddrBypass0, (regex_t*)NULL },
5045 { TT_NEGREP, zStruct_SockaddrBypass1, (regex_t*)NULL },
5046 { TT_EGREP, zStruct_SockaddrSelect0, (regex_t*)NULL }, };
5049 * Fix Command Arguments for Struct_Sockaddr
5051 static const char* apzStruct_SockaddrPatch[] = {
5053 "struct sockaddr;\n\
5057 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5059 * Description of Sun_Auth_Proto fix
5061 tSCC zSun_Auth_ProtoName[] =
5065 * File name selection pattern
5067 tSCC zSun_Auth_ProtoList[] =
5068 "|rpc/auth.h|rpc/clnt.h|rpc/svc.h|rpc/xdr.h|";
5070 * Machine/OS name selection pattern
5072 #define apzSun_Auth_ProtoMachs (const char**)NULL
5075 * content selection pattern - do fix if pattern found
5077 tSCC zSun_Auth_ProtoSelect0[] =
5078 "\\(\\*[a-z][a-z_]*\\)\\(\\)";
5080 #define SUN_AUTH_PROTO_TEST_CT 1
5081 static tTestDesc aSun_Auth_ProtoTests[] = {
5082 { TT_EGREP, zSun_Auth_ProtoSelect0, (regex_t*)NULL }, };
5085 * Fix Command Arguments for Sun_Auth_Proto
5087 static const char* apzSun_Auth_ProtoPatch[] = {
5089 "#ifdef __cplusplus\n\
5094 "(.*\\(\\*[a-z][a-z_]*\\))\\(\\);(.*)",
5097 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5099 * Description of Sun_Bogus_Ifdef fix
5101 tSCC zSun_Bogus_IfdefName[] =
5105 * File name selection pattern
5107 tSCC zSun_Bogus_IfdefList[] =
5108 "|hsfs/hsfs_spec.h|hsfs/iso_spec.h|";
5110 * Machine/OS name selection pattern
5112 #define apzSun_Bogus_IfdefMachs (const char**)NULL
5115 * content selection pattern - do fix if pattern found
5117 tSCC zSun_Bogus_IfdefSelect0[] =
5118 "#ifdef(.*\\|\\|.*)";
5120 #define SUN_BOGUS_IFDEF_TEST_CT 1
5121 static tTestDesc aSun_Bogus_IfdefTests[] = {
5122 { TT_EGREP, zSun_Bogus_IfdefSelect0, (regex_t*)NULL }, };
5125 * Fix Command Arguments for Sun_Bogus_Ifdef
5127 static const char* apzSun_Bogus_IfdefPatch[] = {
5132 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5134 * Description of Sun_Catmacro fix
5136 tSCC zSun_CatmacroName[] =
5140 * File name selection pattern
5142 tSCC zSun_CatmacroList[] =
5143 "|pixrect/memvar.h|";
5145 * Machine/OS name selection pattern
5147 #define apzSun_CatmacroMachs (const char**)NULL
5150 * content selection pattern - do fix if pattern found
5152 tSCC zSun_CatmacroSelect0[] =
5153 "^#define[ \t]+CAT\\(a,b\\).*";
5155 #define SUN_CATMACRO_TEST_CT 1
5156 static tTestDesc aSun_CatmacroTests[] = {
5157 { TT_EGREP, zSun_CatmacroSelect0, (regex_t*)NULL }, };
5160 * Fix Command Arguments for Sun_Catmacro
5162 static const char* apzSun_CatmacroPatch[] = {
5165 # define CAT(a,b) a##b\n\
5171 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5173 * Description of Sun_Malloc fix
5175 tSCC zSun_MallocName[] =
5179 * File name selection pattern
5181 tSCC zSun_MallocList[] =
5184 * Machine/OS name selection pattern
5186 #define apzSun_MallocMachs (const char**)NULL
5187 #define SUN_MALLOC_TEST_CT 0
5188 #define aSun_MallocTests (tTestDesc*)NULL
5191 * Fix Command Arguments for Sun_Malloc
5193 static const char* apzSun_MallocPatch[] = { "sed",
5194 "-e", "s/typedef[ \t]char \\*\tmalloc_t/typedef void \\*\tmalloc_t/g",
5195 "-e", "s/int[ \t][ \t]*free/void\tfree/g",
5196 "-e", "s/char\\([ \t]*\\*[ \t]*malloc\\)/void\\1/g",
5197 "-e", "s/char\\([ \t]*\\*[ \t]*realloc\\)/void\\1/g",
5198 "-e", "s/char\\([ \t]*\\*[ \t]*calloc\\)/void\\1/g",
5201 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5203 * Description of Sun_Rusers_Semi fix
5205 tSCC zSun_Rusers_SemiName[] =
5209 * File name selection pattern
5211 tSCC zSun_Rusers_SemiList[] =
5212 "|rpcsvc/rusers.h|";
5214 * Machine/OS name selection pattern
5216 #define apzSun_Rusers_SemiMachs (const char**)NULL
5219 * content selection pattern - do fix if pattern found
5221 tSCC zSun_Rusers_SemiSelect0[] =
5224 #define SUN_RUSERS_SEMI_TEST_CT 1
5225 static tTestDesc aSun_Rusers_SemiTests[] = {
5226 { TT_EGREP, zSun_Rusers_SemiSelect0, (regex_t*)NULL }, };
5229 * Fix Command Arguments for Sun_Rusers_Semi
5231 static const char* apzSun_Rusers_SemiPatch[] = { "sed",
5232 "-e", "/^struct/,/^};/s/_cnt$/_cnt;/",
5235 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5237 * Description of Sun_Signal fix
5239 tSCC zSun_SignalName[] =
5243 * File name selection pattern
5245 tSCC zSun_SignalList[] =
5246 "|sys/signal.h|signal.h|";
5248 * Machine/OS name selection pattern
5250 #define apzSun_SignalMachs (const char**)NULL
5253 * content selection pattern - do fix if pattern found
5255 tSCC zSun_SignalSelect0[] =
5256 "^void\t\\(\\*signal\\(\\)\\)\\(\\);.*";
5258 #define SUN_SIGNAL_TEST_CT 1
5259 static tTestDesc aSun_SignalTests[] = {
5260 { TT_EGREP, zSun_SignalSelect0, (regex_t*)NULL }, };
5263 * Fix Command Arguments for Sun_Signal
5265 static const char* apzSun_SignalPatch[] = {
5267 "#ifdef __cplusplus\n\
5268 void\t(*signal(...))(...);\n\
5274 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5276 * Description of Sunos_Strlen fix
5278 tSCC zSunos_StrlenName[] =
5282 * File name selection pattern
5284 tSCC zSunos_StrlenList[] =
5287 * Machine/OS name selection pattern
5289 #define apzSunos_StrlenMachs (const char**)NULL
5292 * content selection pattern - do fix if pattern found
5294 tSCC zSunos_StrlenSelect0[] =
5295 "int[ \t]*strlen\\(\\);(.*)";
5297 #define SUNOS_STRLEN_TEST_CT 1
5298 static tTestDesc aSunos_StrlenTests[] = {
5299 { TT_EGREP, zSunos_StrlenSelect0, (regex_t*)NULL }, };
5302 * Fix Command Arguments for Sunos_Strlen
5304 static const char* apzSunos_StrlenPatch[] = {
5306 "__SIZE_TYPE__ strlen();%1",
5309 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5311 * Description of Svr4__P fix
5313 tSCC zSvr4__PName[] =
5317 * File name selection pattern
5319 tSCC zSvr4__PList[] =
5320 "|math.h|floatingpoint.h|";
5322 * Machine/OS name selection pattern
5324 #define apzSvr4__PMachs (const char**)NULL
5327 * content selection pattern - do fix if pattern found
5329 tSCC zSvr4__PSelect0[] =
5330 "^#define[ \t]+__P.*";
5332 #define SVR4__P_TEST_CT 1
5333 static tTestDesc aSvr4__PTests[] = {
5334 { TT_EGREP, zSvr4__PSelect0, (regex_t*)NULL }, };
5337 * Fix Command Arguments for Svr4__P
5339 static const char* apzSvr4__PPatch[] = {
5346 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5348 * Description of Svr4_Disable_Opt fix
5350 tSCC zSvr4_Disable_OptName[] =
5354 * File name selection pattern
5356 tSCC zSvr4_Disable_OptList[] =
5359 * Machine/OS name selection pattern
5361 #define apzSvr4_Disable_OptMachs (const char**)NULL
5364 * content selection pattern - do fix if pattern found
5366 tSCC zSvr4_Disable_OptSelect0[] =
5367 "#define.*__std_hdr_";
5369 #define SVR4_DISABLE_OPT_TEST_CT 1
5370 static tTestDesc aSvr4_Disable_OptTests[] = {
5371 { TT_EGREP, zSvr4_Disable_OptSelect0, (regex_t*)NULL }, };
5374 * Fix Command Arguments for Svr4_Disable_Opt
5376 static const char* apzSvr4_Disable_OptPatch[] = { "sed",
5377 "-e", "/#define.*__std_hdr_/d",
5380 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5382 * Description of Svr4_Getcwd fix
5384 tSCC zSvr4_GetcwdName[] =
5388 * File name selection pattern
5390 tSCC zSvr4_GetcwdList[] =
5391 "|stdlib.h|unistd.h|prototypes.h|";
5393 * Machine/OS name selection pattern
5395 #define apzSvr4_GetcwdMachs (const char**)NULL
5398 * content selection pattern - do fix if pattern found
5400 tSCC zSvr4_GetcwdSelect0[] =
5401 "getcwd\\(char \\*, int\\)";
5403 #define SVR4_GETCWD_TEST_CT 1
5404 static tTestDesc aSvr4_GetcwdTests[] = {
5405 { TT_EGREP, zSvr4_GetcwdSelect0, (regex_t*)NULL }, };
5408 * Fix Command Arguments for Svr4_Getcwd
5410 static const char* apzSvr4_GetcwdPatch[] = {
5412 "getcwd(char *, size_t)",
5415 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5417 * Description of Svr4_Krnl fix
5419 tSCC zSvr4_KrnlName[] =
5423 * File name selection pattern
5425 tSCC zSvr4_KrnlList[] =
5426 "|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|";
5428 * Machine/OS name selection pattern
5430 tSCC* apzSvr4_KrnlMachs[] = {
5432 "i?86-sequent-ptx*",
5433 (const char*)NULL };
5436 * content bypass pattern - skip fix if pattern found
5438 tSCC zSvr4_KrnlBypass0[] =
5441 #define SVR4_KRNL_TEST_CT 1
5442 static tTestDesc aSvr4_KrnlTests[] = {
5443 { TT_NEGREP, zSvr4_KrnlBypass0, (regex_t*)NULL }, };
5446 * Fix Command Arguments for Svr4_Krnl
5448 static const char* apzSvr4_KrnlPatch[] = {
5451 "#endif /* _KERNEL */\n",
5454 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5456 * Description of Svr4_Profil fix
5458 tSCC zSvr4_ProfilName[] =
5462 * File name selection pattern
5464 tSCC zSvr4_ProfilList[] =
5465 "|stdlib.h|unistd.h|";
5467 * Machine/OS name selection pattern
5469 #define apzSvr4_ProfilMachs (const char**)NULL
5472 * content selection pattern - do fix if pattern found
5474 tSCC zSvr4_ProfilSelect0[] =
5475 "profil\\(unsigned short \\*, unsigned int, unsigned int, unsigned int\\)";
5478 * content bypass pattern - skip fix if pattern found
5480 tSCC zSvr4_ProfilBypass0[] =
5483 #define SVR4_PROFIL_TEST_CT 2
5484 static tTestDesc aSvr4_ProfilTests[] = {
5485 { TT_NEGREP, zSvr4_ProfilBypass0, (regex_t*)NULL },
5486 { TT_EGREP, zSvr4_ProfilSelect0, (regex_t*)NULL }, };
5489 * Fix Command Arguments for Svr4_Profil
5491 static const char* apzSvr4_ProfilPatch[] = {
5493 "profil(unsigned short *, size_t, int, unsigned int)",
5496 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5498 * Description of Svr4_Sighandler_Type fix
5500 tSCC zSvr4_Sighandler_TypeName[] =
5501 "svr4_sighandler_type";
5504 * File name selection pattern
5506 tSCC zSvr4_Sighandler_TypeList[] =
5509 * Machine/OS name selection pattern
5511 #define apzSvr4_Sighandler_TypeMachs (const char**)NULL
5514 * content selection pattern - do fix if pattern found
5516 tSCC zSvr4_Sighandler_TypeSelect0[] =
5517 "void *\\(\\*\\)\\(\\)";
5519 #define SVR4_SIGHANDLER_TYPE_TEST_CT 1
5520 static tTestDesc aSvr4_Sighandler_TypeTests[] = {
5521 { TT_EGREP, zSvr4_Sighandler_TypeSelect0, (regex_t*)NULL }, };
5524 * Fix Command Arguments for Svr4_Sighandler_Type
5526 static const char* apzSvr4_Sighandler_TypePatch[] = {
5531 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5533 * Description of Svr4_Undeclared_Getrnge fix
5535 tSCC zSvr4_Undeclared_GetrngeName[] =
5536 "svr4_undeclared_getrnge";
5539 * File name selection pattern
5541 tSCC zSvr4_Undeclared_GetrngeList[] =
5544 * Machine/OS name selection pattern
5546 #define apzSvr4_Undeclared_GetrngeMachs (const char**)NULL
5549 * content selection pattern - do fix if pattern found
5551 tSCC zSvr4_Undeclared_GetrngeSelect0[] =
5555 * content bypass pattern - skip fix if pattern found
5557 tSCC zSvr4_Undeclared_GetrngeBypass0[] =
5558 "static void getrnge";
5560 #define SVR4_UNDECLARED_GETRNGE_TEST_CT 2
5561 static tTestDesc aSvr4_Undeclared_GetrngeTests[] = {
5562 { TT_NEGREP, zSvr4_Undeclared_GetrngeBypass0, (regex_t*)NULL },
5563 { TT_EGREP, zSvr4_Undeclared_GetrngeSelect0, (regex_t*)NULL }, };
5566 * Fix Command Arguments for Svr4_Undeclared_Getrnge
5568 static const char* apzSvr4_Undeclared_GetrngePatch[] = {
5571 static int getrnge ();",
5572 "^static int[ \t]+size;",
5575 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5577 * Description of Sysv68_String fix
5579 tSCC zSysv68_StringName[] =
5583 * File name selection pattern
5585 tSCC zSysv68_StringList[] =
5586 "|testing.h|string.h|";
5588 * Machine/OS name selection pattern
5590 #define apzSysv68_StringMachs (const char**)NULL
5591 #define SYSV68_STRING_TEST_CT 0
5592 #define aSysv68_StringTests (tTestDesc*)NULL
5595 * Fix Command Arguments for Sysv68_String
5597 static const char* apzSysv68_StringPatch[] = { "sed",
5598 "-e", "s/extern[ \t]*int[ \t]*strlen();/extern unsigned int strlen();/",
5599 "-e", "s/extern[ \t]*int[ \t]*ffs[ \t]*(long);/extern int ffs(int);/",
5600 "-e", "s/strdup(char \\*s1);/strdup(const char *s1);/",
5601 "-e", "/^extern char$/N",
5602 "-e", "s/^extern char\\(\\n\t\\*memccpy(),\\)$/extern void\\1/",
5603 "-e", "/^extern int$/N",
5604 "-e", "s/^extern int\\(\\n\tstrlen(),\\)/extern size_t\\1/",
5605 "-e", "/^\tstrncmp(),$/N",
5606 "-e", "s/^\\(\tstrncmp()\\),\\n\\(\tstrlen(),\\)$/\\1;\\\n\
5607 extern unsigned int\\\n\
5611 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5613 * Description of Sysz_Stdlib_For_Sun fix
5615 tSCC zSysz_Stdlib_For_SunName[] =
5616 "sysz_stdlib_for_sun";
5619 * File name selection pattern
5621 tSCC zSysz_Stdlib_For_SunList[] =
5624 * Machine/OS name selection pattern
5626 #define apzSysz_Stdlib_For_SunMachs (const char**)NULL
5629 * content selection pattern - do fix if pattern found
5631 tSCC zSysz_Stdlib_For_SunSelect0[] =
5632 "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
5634 #define SYSZ_STDLIB_FOR_SUN_TEST_CT 1
5635 static tTestDesc aSysz_Stdlib_For_SunTests[] = {
5636 { TT_EGREP, zSysz_Stdlib_For_SunSelect0, (regex_t*)NULL }, };
5639 * Fix Command Arguments for Sysz_Stdlib_For_Sun
5641 static const char* apzSysz_Stdlib_For_SunPatch[] = {
5646 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5648 * Description of Thread_Keyword fix
5650 tSCC zThread_KeywordName[] =
5654 * File name selection pattern
5656 tSCC zThread_KeywordList[] =
5657 "|pthread.h|bits/sigthread.h|";
5659 * Machine/OS name selection pattern
5661 #define apzThread_KeywordMachs (const char**)NULL
5664 * content selection pattern - do fix if pattern found
5666 tSCC zThread_KeywordSelect0[] =
5667 "([* ])__thread([,)])";
5669 #define THREAD_KEYWORD_TEST_CT 1
5670 static tTestDesc aThread_KeywordTests[] = {
5671 { TT_EGREP, zThread_KeywordSelect0, (regex_t*)NULL }, };
5674 * Fix Command Arguments for Thread_Keyword
5676 static const char* apzThread_KeywordPatch[] = {
5681 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5683 * Description of Tinfo_Cplusplus fix
5685 tSCC zTinfo_CplusplusName[] =
5689 * File name selection pattern
5691 tSCC zTinfo_CplusplusList[] =
5694 * Machine/OS name selection pattern
5696 #define apzTinfo_CplusplusMachs (const char**)NULL
5699 * content selection pattern - do fix if pattern found
5701 tSCC zTinfo_CplusplusSelect0[] =
5704 #define TINFO_CPLUSPLUS_TEST_CT 1
5705 static tTestDesc aTinfo_CplusplusTests[] = {
5706 { TT_EGREP, zTinfo_CplusplusSelect0, (regex_t*)NULL }, };
5709 * Fix Command Arguments for Tinfo_Cplusplus
5711 static const char* apzTinfo_CplusplusPatch[] = {
5716 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5718 * Description of Ultrix_Atexit_Param fix
5720 tSCC zUltrix_Atexit_ParamName[] =
5721 "ultrix_atexit_param";
5724 * File name selection pattern
5726 tSCC zUltrix_Atexit_ParamList[] =
5729 * Machine/OS name selection pattern
5731 #define apzUltrix_Atexit_ParamMachs (const char**)NULL
5734 * content selection pattern - do fix if pattern found
5736 tSCC zUltrix_Atexit_ParamSelect0[] =
5737 "atexit\\(.*\\(\\)";
5739 #define ULTRIX_ATEXIT_PARAM_TEST_CT 1
5740 static tTestDesc aUltrix_Atexit_ParamTests[] = {
5741 { TT_EGREP, zUltrix_Atexit_ParamSelect0, (regex_t*)NULL }, };
5744 * Fix Command Arguments for Ultrix_Atexit_Param
5746 static const char* apzUltrix_Atexit_ParamPatch[] = {
5748 "atexit( void (*__func)( void )",
5751 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5753 * Description of Ultrix_Atof_Param fix
5755 tSCC zUltrix_Atof_ParamName[] =
5756 "ultrix_atof_param";
5759 * File name selection pattern
5761 tSCC zUltrix_Atof_ParamList[] =
5764 * Machine/OS name selection pattern
5766 #define apzUltrix_Atof_ParamMachs (const char**)NULL
5769 * content selection pattern - do fix if pattern found
5771 tSCC zUltrix_Atof_ParamSelect0[] =
5772 "atof\\([ \t]*char";
5774 #define ULTRIX_ATOF_PARAM_TEST_CT 1
5775 static tTestDesc aUltrix_Atof_ParamTests[] = {
5776 { TT_EGREP, zUltrix_Atof_ParamSelect0, (regex_t*)NULL }, };
5779 * Fix Command Arguments for Ultrix_Atof_Param
5781 static const char* apzUltrix_Atof_ParamPatch[] = {
5786 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5788 * Description of Ultrix_Const fix
5790 tSCC zUltrix_ConstName[] =
5794 * File name selection pattern
5796 tSCC zUltrix_ConstList[] =
5799 * Machine/OS name selection pattern
5801 #define apzUltrix_ConstMachs (const char**)NULL
5804 * content selection pattern - do fix if pattern found
5806 tSCC zUltrix_ConstSelect0[] =
5807 "perror\\( char \\*";
5809 #define ULTRIX_CONST_TEST_CT 1
5810 static tTestDesc aUltrix_ConstTests[] = {
5811 { TT_EGREP, zUltrix_ConstSelect0, (regex_t*)NULL }, };
5814 * Fix Command Arguments for Ultrix_Const
5816 static const char* apzUltrix_ConstPatch[] = {
5819 "([ \t*](perror|fputs|fwrite|scanf|fscanf)\\(.*)[ \t]+(char|void) \\*__",
5822 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5824 * Description of Ultrix_Const2 fix
5826 tSCC zUltrix_Const2Name[] =
5830 * File name selection pattern
5832 tSCC zUltrix_Const2List[] =
5835 * Machine/OS name selection pattern
5837 #define apzUltrix_Const2Machs (const char**)NULL
5840 * content selection pattern - do fix if pattern found
5842 tSCC zUltrix_Const2Select0[] =
5843 "\\*fopen\\( char \\*";
5845 #define ULTRIX_CONST2_TEST_CT 1
5846 static tTestDesc aUltrix_Const2Tests[] = {
5847 { TT_EGREP, zUltrix_Const2Select0, (regex_t*)NULL }, };
5850 * Fix Command Arguments for Ultrix_Const2
5852 static const char* apzUltrix_Const2Patch[] = {
5854 "%1( const char *%3, const char *",
5855 "([ \t*](fopen|sscanf|popen|tempnam))\\([ \t]*char[ \t]*\\*([^,]*),[ \t]*char[ \t]*\\*[ \t]*",
5858 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5860 * Description of Ultrix_Const3 fix
5862 tSCC zUltrix_Const3Name[] =
5866 * File name selection pattern
5868 tSCC zUltrix_Const3List[] =
5871 * Machine/OS name selection pattern
5873 #define apzUltrix_Const3Machs (const char**)NULL
5876 * content selection pattern - do fix if pattern found
5878 tSCC zUltrix_Const3Select0[] =
5879 "fdopen\\( .*, char \\*";
5881 #define ULTRIX_CONST3_TEST_CT 1
5882 static tTestDesc aUltrix_Const3Tests[] = {
5883 { TT_EGREP, zUltrix_Const3Select0, (regex_t*)NULL }, };
5886 * Fix Command Arguments for Ultrix_Const3
5888 static const char* apzUltrix_Const3Patch[] = {
5891 "([ \t*](fdopen)\\(.*)[ \t]+(char|void) \\*__",
5894 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5896 * Description of Ultrix_Fix_Fixproto fix
5898 tSCC zUltrix_Fix_FixprotoName[] =
5899 "ultrix_fix_fixproto";
5902 * File name selection pattern
5904 tSCC zUltrix_Fix_FixprotoList[] =
5907 * Machine/OS name selection pattern
5909 #define apzUltrix_Fix_FixprotoMachs (const char**)NULL
5912 * content selection pattern - do fix if pattern found
5914 tSCC zUltrix_Fix_FixprotoSelect0[] =
5917 #define ULTRIX_FIX_FIXPROTO_TEST_CT 1
5918 static tTestDesc aUltrix_Fix_FixprotoTests[] = {
5919 { TT_EGREP, zUltrix_Fix_FixprotoSelect0, (regex_t*)NULL }, };
5922 * Fix Command Arguments for Ultrix_Fix_Fixproto
5924 static const char* apzUltrix_Fix_FixprotoPatch[] = {
5928 "^[ \t]*extern[ \t]*int[ \t]*uname\\(\\);",
5931 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5933 * Description of Ultrix_Ifdef fix
5935 tSCC zUltrix_IfdefName[] =
5939 * File name selection pattern
5941 tSCC zUltrix_IfdefList[] =
5944 * Machine/OS name selection pattern
5946 #define apzUltrix_IfdefMachs (const char**)NULL
5949 * content selection pattern - do fix if pattern found
5951 tSCC zUltrix_IfdefSelect0[] =
5952 "^#ifdef KERNEL[ \t]+&&";
5954 #define ULTRIX_IFDEF_TEST_CT 1
5955 static tTestDesc aUltrix_IfdefTests[] = {
5956 { TT_EGREP, zUltrix_IfdefSelect0, (regex_t*)NULL }, };
5959 * Fix Command Arguments for Ultrix_Ifdef
5961 static const char* apzUltrix_IfdefPatch[] = {
5963 "#if defined(KERNEL) &&",
5966 /* * * * * * * * * * * * * * * * * * * * * * * * * *
5968 * Description of Ultrix_Locale fix
5970 tSCC zUltrix_LocaleName[] =
5974 * File name selection pattern
5976 tSCC zUltrix_LocaleList[] =
5979 * Machine/OS name selection pattern
5981 #define apzUltrix_LocaleMachs (const char**)NULL
5984 * content selection pattern - do fix if pattern found
5986 tSCC zUltrix_LocaleSelect0[] =
5987 "@\\(#\\)locale\\.h.*6\\.1.*\\(ULTRIX\\)";
5989 #define ULTRIX_LOCALE_TEST_CT 1
5990 static tTestDesc aUltrix_LocaleTests[] = {
5991 { TT_EGREP, zUltrix_LocaleSelect0, (regex_t*)NULL }, };
5994 * Fix Command Arguments for Ultrix_Locale
5996 static const char* apzUltrix_LocalePatch[] = {
6000 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6002 * Description of Ultrix_Math_Ifdef fix
6004 tSCC zUltrix_Math_IfdefName[] =
6005 "ultrix_math_ifdef";
6008 * File name selection pattern
6010 tSCC zUltrix_Math_IfdefList[] =
6011 "|sys/limits.h|float.h|math.h|";
6013 * Machine/OS name selection pattern
6015 #define apzUltrix_Math_IfdefMachs (const char**)NULL
6018 * content selection pattern - do fix if pattern found
6020 tSCC zUltrix_Math_IfdefSelect0[] =
6021 "^(#if.*)\\|\\|[ \t]+CC\\$[a-z]+";
6023 #define ULTRIX_MATH_IFDEF_TEST_CT 1
6024 static tTestDesc aUltrix_Math_IfdefTests[] = {
6025 { TT_EGREP, zUltrix_Math_IfdefSelect0, (regex_t*)NULL }, };
6028 * Fix Command Arguments for Ultrix_Math_Ifdef
6030 static const char* apzUltrix_Math_IfdefPatch[] = {
6035 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6037 * Description of Ultrix_Nested_Ioctl fix
6039 tSCC zUltrix_Nested_IoctlName[] =
6040 "ultrix_nested_ioctl";
6043 * File name selection pattern
6045 tSCC zUltrix_Nested_IoctlList[] =
6048 * Machine/OS name selection pattern
6050 #define apzUltrix_Nested_IoctlMachs (const char**)NULL
6053 * content selection pattern - do fix if pattern found
6055 tSCC zUltrix_Nested_IoctlSelect0[] =
6056 "^/\\* #define SIOCSCREEN";
6058 #define ULTRIX_NESTED_IOCTL_TEST_CT 1
6059 static tTestDesc aUltrix_Nested_IoctlTests[] = {
6060 { TT_EGREP, zUltrix_Nested_IoctlSelect0, (regex_t*)NULL }, };
6063 * Fix Command Arguments for Ultrix_Nested_Ioctl
6065 static const char* apzUltrix_Nested_IoctlPatch[] = { "sed",
6066 "-e", "/^\\/\\* #define SIOCSCREEN/s@/\\* screend@*//* screend@",
6069 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6071 * Description of Ultrix_Nested_Svc fix
6073 tSCC zUltrix_Nested_SvcName[] =
6074 "ultrix_nested_svc";
6077 * File name selection pattern
6079 tSCC zUltrix_Nested_SvcList[] =
6082 * Machine/OS name selection pattern
6084 #define apzUltrix_Nested_SvcMachs (const char**)NULL
6087 * content selection pattern - do fix if pattern found
6089 tSCC zUltrix_Nested_SvcSelect0[] =
6090 "^ \\*[ \t]*int protocol; */\\*";
6092 #define ULTRIX_NESTED_SVC_TEST_CT 1
6093 static tTestDesc aUltrix_Nested_SvcTests[] = {
6094 { TT_EGREP, zUltrix_Nested_SvcSelect0, (regex_t*)NULL }, };
6097 * Fix Command Arguments for Ultrix_Nested_Svc
6099 static const char* apzUltrix_Nested_SvcPatch[] = { "sed",
6100 "-e", "s@^\\( \\*\tint protocol; \\)/\\*@\\1*/ /*@",
6103 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6105 * Description of Ultrix_Stat fix
6107 tSCC zUltrix_StatName[] =
6111 * File name selection pattern
6113 tSCC zUltrix_StatList[] =
6116 * Machine/OS name selection pattern
6118 #define apzUltrix_StatMachs (const char**)NULL
6121 * content selection pattern - do fix if pattern found
6123 tSCC zUltrix_StatSelect0[] =
6124 "@\\(#\\)stat\\.h.*6\\.1.*\\(ULTRIX\\)";
6126 #define ULTRIX_STAT_TEST_CT 1
6127 static tTestDesc aUltrix_StatTests[] = {
6128 { TT_EGREP, zUltrix_StatSelect0, (regex_t*)NULL }, };
6131 * Fix Command Arguments for Ultrix_Stat
6133 static const char* apzUltrix_StatPatch[] = { "sed",
6134 "-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
6136 /* macro to test for symbolic link */\\\n\
6137 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
6138 "-e", "/^[ \t]*fstat(),$/a\\\n\
6142 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6144 * Description of Ultrix_Static fix
6146 tSCC zUltrix_StaticName[] =
6150 * File name selection pattern
6152 tSCC zUltrix_StaticList[] =
6155 * Machine/OS name selection pattern
6157 #define apzUltrix_StaticMachs (const char**)NULL
6160 * content selection pattern - do fix if pattern found
6162 tSCC zUltrix_StaticSelect0[] =
6163 "#include \"r[34]_cpu";
6165 #define ULTRIX_STATIC_TEST_CT 1
6166 static tTestDesc aUltrix_StaticTests[] = {
6167 { TT_EGREP, zUltrix_StaticSelect0, (regex_t*)NULL }, };
6170 * Fix Command Arguments for Ultrix_Static
6172 static const char* apzUltrix_StaticPatch[] = { "sed",
6173 "-e", "s/^static struct tlb_pid_state/struct tlb_pid_state/",
6174 "-e", "s/^#include \"r3_cpu\\.h\"$/#include <machine\\/r3_cpu\\.h>/",
6175 "-e", "s/^#include \"r4_cpu\\.h\"$/#include <machine\\/r4_cpu\\.h>/",
6178 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6180 * Description of Ultrix_Stdlib fix
6182 tSCC zUltrix_StdlibName[] =
6186 * File name selection pattern
6188 tSCC zUltrix_StdlibList[] =
6191 * Machine/OS name selection pattern
6193 #define apzUltrix_StdlibMachs (const char**)NULL
6196 * content selection pattern - do fix if pattern found
6198 tSCC zUltrix_StdlibSelect0[] =
6199 "@\\(#\\)stdlib\\.h.*6\\.1.*\\(ULTRIX\\)";
6201 #define ULTRIX_STDLIB_TEST_CT 1
6202 static tTestDesc aUltrix_StdlibTests[] = {
6203 { TT_EGREP, zUltrix_StdlibSelect0, (regex_t*)NULL }, };
6206 * Fix Command Arguments for Ultrix_Stdlib
6208 static const char* apzUltrix_StdlibPatch[] = { "sed",
6209 "-e", "/^char.*getenv( const char .* );.*$/a\\\n\
6210 int\t\tsetenv( const char *__name, const char *__val, int __ovrwrt );\\\n\
6211 void\t\tunsetenv( const char *__name );\\\n\
6212 int\t\tputenv( char *__s );\n",
6213 "-e", "/^char.*getenv();.*$/a\\\n\
6215 void\tunsetenv();\\\n\
6219 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6221 * Description of Ultrix_Strings fix
6223 tSCC zUltrix_StringsName[] =
6227 * File name selection pattern
6229 tSCC zUltrix_StringsList[] =
6232 * Machine/OS name selection pattern
6234 #define apzUltrix_StringsMachs (const char**)NULL
6237 * content selection pattern - do fix if pattern found
6239 tSCC zUltrix_StringsSelect0[] =
6240 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6242 #define ULTRIX_STRINGS_TEST_CT 1
6243 static tTestDesc aUltrix_StringsTests[] = {
6244 { TT_EGREP, zUltrix_StringsSelect0, (regex_t*)NULL }, };
6247 * Fix Command Arguments for Ultrix_Strings
6249 static const char* apzUltrix_StringsPatch[] = {
6253 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6255 * Description of Ultrix_Strings2 fix
6257 tSCC zUltrix_Strings2Name[] =
6261 * File name selection pattern
6263 tSCC zUltrix_Strings2List[] =
6266 * Machine/OS name selection pattern
6268 #define apzUltrix_Strings2Machs (const char**)NULL
6271 * content selection pattern - do fix if pattern found
6273 tSCC zUltrix_Strings2Select0[] =
6274 "@\\(#\\)strings\\.h.*6\\.1.*\\(ULTRIX\\)";
6276 #define ULTRIX_STRINGS2_TEST_CT 1
6277 static tTestDesc aUltrix_Strings2Tests[] = {
6278 { TT_EGREP, zUltrix_Strings2Select0, (regex_t*)NULL }, };
6281 * Fix Command Arguments for Ultrix_Strings2
6283 static const char* apzUltrix_Strings2Patch[] = { "sed",
6284 "-e", "/^.*strncmp( const .* );.*/a\\\n\
6287 \tstrcasecmp( const char *__s1, const char *__s2),\\\n\
6288 \tstrncasecmp( const char *__s1, const char *__s2, size_t __n );\n",
6289 "-e", "/^.*strncmp();.*/a\\\n\
6291 \tstrcasecmp(),\\\n\
6292 \tstrncasecmp();\n",
6295 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6297 * Description of Ultrix_Sys_Time fix
6299 tSCC zUltrix_Sys_TimeName[] =
6303 * File name selection pattern
6305 tSCC zUltrix_Sys_TimeList[] =
6308 * Machine/OS name selection pattern
6310 #define apzUltrix_Sys_TimeMachs (const char**)NULL
6313 * content selection pattern - do fix if pattern found
6315 tSCC zUltrix_Sys_TimeSelect0[] =
6316 "@\\(#\\)time\\.h.*6\\.1.*\\(ULTRIX\\)";
6318 #define ULTRIX_SYS_TIME_TEST_CT 1
6319 static tTestDesc aUltrix_Sys_TimeTests[] = {
6320 { TT_EGREP, zUltrix_Sys_TimeSelect0, (regex_t*)NULL }, };
6323 * Fix Command Arguments for Ultrix_Sys_Time
6325 static const char* apzUltrix_Sys_TimePatch[] = { "sed",
6326 "-e", "/^extern.*time_t.*time( time_t .* );.*$/a\\\n\
6328 extern int adjtime(struct timeval *, struct timeval *);\\\n\
6329 extern int getitimer(int, struct itimerval *);\\\n\
6330 extern int setitimer(int, struct itimerval *, struct itimerval *);\\\n\
6331 extern int gettimeofday(struct timeval *, struct timezone *);\\\n\
6332 extern int settimeofday(struct timeval *, struct timezone *);\\\n\
6333 extern void profil(const void *, size_t, size_t, unsigned int);\\\n\
6334 extern int stime(const time_t *);\\\n\
6335 extern int utimes(const char *, const struct timeval[2]);\\\n\
6336 extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);\n",
6337 "-e", "/^extern.*double.*difftime();.*$/a\\\n\
6338 extern\tint adjtime();\\\n\
6339 extern\tint getitimer();\\\n\
6340 extern\tint setitimer();\\\n\
6341 extern\tint gettimeofday();\\\n\
6342 extern\tint settimeofday();\\\n\
6343 extern\tvoid profil();\\\n\
6344 extern\tint stime();\\\n\
6345 extern\tint utimes();\\\n\
6346 extern\tint select();\n",
6349 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6351 * Description of Ultrix_Unistd fix
6353 tSCC zUltrix_UnistdName[] =
6357 * File name selection pattern
6359 tSCC zUltrix_UnistdList[] =
6362 * Machine/OS name selection pattern
6364 #define apzUltrix_UnistdMachs (const char**)NULL
6367 * content selection pattern - do fix if pattern found
6369 tSCC zUltrix_UnistdSelect0[] =
6370 "@\\(#\\)unistd\\.h.*6\\.1.*\\(ULTRIX\\)";
6372 #define ULTRIX_UNISTD_TEST_CT 1
6373 static tTestDesc aUltrix_UnistdTests[] = {
6374 { TT_EGREP, zUltrix_UnistdSelect0, (regex_t*)NULL }, };
6377 * Fix Command Arguments for Ultrix_Unistd
6379 static const char* apzUltrix_UnistdPatch[] = { "sed",
6380 "-e", "/^[ \t]*getgroups(),.*$/a\\\n\
6381 \tgetpagesize(),\n",
6382 "-e", "/^[ \t]*fork(),.*$/a\\\n\
6386 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6388 * Description of Undefine_Null fix
6390 tSCC zUndefine_NullName[] =
6394 * File name selection pattern
6396 #define zUndefine_NullList (char*)NULL
6398 * Machine/OS name selection pattern
6400 #define apzUndefine_NullMachs (const char**)NULL
6403 * content selection pattern - do fix if pattern found
6405 tSCC zUndefine_NullSelect0[] =
6406 "^#[ \t]*define[ \t]+NULL[ \t]";
6409 * content bypass pattern - skip fix if pattern found
6411 tSCC zUndefine_NullBypass0[] =
6412 "#[ \t]*(ifn|un)def[ \t]+NULL($|[ \t\r])";
6414 #define UNDEFINE_NULL_TEST_CT 2
6415 static tTestDesc aUndefine_NullTests[] = {
6416 { TT_NEGREP, zUndefine_NullBypass0, (regex_t*)NULL },
6417 { TT_EGREP, zUndefine_NullSelect0, (regex_t*)NULL }, };
6420 * Fix Command Arguments for Undefine_Null
6422 static const char* apzUndefine_NullPatch[] = {
6427 "^#[ \t]*define[ \t]+NULL([^\r\n\
6431 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6433 * Description of Unicosmk_Restrict fix
6435 tSCC zUnicosmk_RestrictName[] =
6436 "unicosmk_restrict";
6439 * File name selection pattern
6441 tSCC zUnicosmk_RestrictList[] =
6442 "|stdio.h|stdlib.h|wchar.h|";
6444 * Machine/OS name selection pattern
6446 tSCC* apzUnicosmk_RestrictMachs[] = {
6448 (const char*)NULL };
6451 * content selection pattern - do fix if pattern found
6453 tSCC zUnicosmk_RestrictSelect0[] =
6454 "(\\*[ \t]*)restrict([ \t]+)";
6456 #define UNICOSMK_RESTRICT_TEST_CT 1
6457 static tTestDesc aUnicosmk_RestrictTests[] = {
6458 { TT_EGREP, zUnicosmk_RestrictSelect0, (regex_t*)NULL }, };
6461 * Fix Command Arguments for Unicosmk_Restrict
6463 static const char* apzUnicosmk_RestrictPatch[] = {
6468 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6470 * Description of Uw7_Byteorder_Fix fix
6472 tSCC zUw7_Byteorder_FixName[] =
6473 "uw7_byteorder_fix";
6476 * File name selection pattern
6478 tSCC zUw7_Byteorder_FixList[] =
6481 * Machine/OS name selection pattern
6483 tSCC* apzUw7_Byteorder_FixMachs[] = {
6487 "i?86-*-solaris2.[0-4]",
6488 "powerpcle-*-solaris2.[0-4]",
6489 "sparc-*-solaris2.[0-4]",
6490 (const char*)NULL };
6493 * content selection pattern - do fix if pattern found
6495 tSCC zUw7_Byteorder_FixSelect0[] =
6499 * perform the 'test' shell command - do fix on success
6501 tSCC zUw7_Byteorder_FixTest0[] =
6502 "-f sys/byteorder.h";
6504 #define UW7_BYTEORDER_FIX_TEST_CT 2
6505 static tTestDesc aUw7_Byteorder_FixTests[] = {
6506 { TT_TEST, zUw7_Byteorder_FixTest0, 0 /* unused */ },
6507 { TT_EGREP, zUw7_Byteorder_FixSelect0, (regex_t*)NULL }, };
6510 * Fix Command Arguments for Uw7_Byteorder_Fix
6512 static const char* apzUw7_Byteorder_FixPatch[] = {
6515 "^extern.*[ \t](htons|ntohs).*\\(in_port_t\\).*;",
6518 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6520 * Description of Va_I960_Macro fix
6522 tSCC zVa_I960_MacroName[] =
6526 * File name selection pattern
6528 tSCC zVa_I960_MacroList[] =
6529 "|arch/i960/archI960.h|";
6531 * Machine/OS name selection pattern
6533 #define apzVa_I960_MacroMachs (const char**)NULL
6536 * content selection pattern - do fix if pattern found
6538 tSCC zVa_I960_MacroSelect0[] =
6539 "__(vsiz|vali|vpad|alignof__)";
6541 #define VA_I960_MACRO_TEST_CT 1
6542 static tTestDesc aVa_I960_MacroTests[] = {
6543 { TT_EGREP, zVa_I960_MacroSelect0, (regex_t*)NULL }, };
6546 * Fix Command Arguments for Va_I960_Macro
6548 static const char* apzVa_I960_MacroPatch[] = {
6553 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6555 * Description of Void_Null fix
6557 tSCC zVoid_NullName[] =
6561 * File name selection pattern
6563 tSCC zVoid_NullList[] =
6564 "|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|";
6566 * Machine/OS name selection pattern
6568 #define apzVoid_NullMachs (const char**)NULL
6571 * content selection pattern - do fix if pattern found
6573 tSCC zVoid_NullSelect0[] =
6574 "^#[ \t]*define[ \t]+NULL[ \t]+\\(\\(void[ \t]*\\*\\)0\\)";
6576 #define VOID_NULL_TEST_CT 1
6577 static tTestDesc aVoid_NullTests[] = {
6578 { TT_EGREP, zVoid_NullSelect0, (regex_t*)NULL }, };
6581 * Fix Command Arguments for Void_Null
6583 static const char* apzVoid_NullPatch[] = {
6588 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6590 * Description of Vxworks_Gcc_Problem fix
6592 tSCC zVxworks_Gcc_ProblemName[] =
6593 "vxworks_gcc_problem";
6596 * File name selection pattern
6598 tSCC zVxworks_Gcc_ProblemList[] =
6599 "|types/vxTypesBase.h|";
6601 * Machine/OS name selection pattern
6603 #define apzVxworks_Gcc_ProblemMachs (const char**)NULL
6606 * content selection pattern - do fix if pattern found
6608 tSCC zVxworks_Gcc_ProblemSelect0[] =
6609 "__GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__";
6611 #define VXWORKS_GCC_PROBLEM_TEST_CT 1
6612 static tTestDesc aVxworks_Gcc_ProblemTests[] = {
6613 { TT_EGREP, zVxworks_Gcc_ProblemSelect0, (regex_t*)NULL }, };
6616 * Fix Command Arguments for Vxworks_Gcc_Problem
6618 static const char* apzVxworks_Gcc_ProblemPatch[] = { "sed",
6619 "-e", "s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/",
6620 "-e", "/[ \t]size_t/i\\\n\
6621 #ifndef _GCC_SIZE_T\\\n\
6622 #define _GCC_SIZE_T\n",
6623 "-e", "/[ \t]size_t/a\\\n\
6625 "-e", "/[ \t]ptrdiff_t/i\\\n\
6626 #ifndef _GCC_PTRDIFF_T\\\n\
6627 #define _GCC_PTRDIFF_T\n",
6628 "-e", "/[ \t]ptrdiff_t/a\\\n\
6630 "-e", "/[ \t]wchar_t/i\\\n\
6631 #ifndef _GCC_WCHAR_T\\\n\
6632 #define _GCC_WCHAR_T\n",
6633 "-e", "/[ \t]wchar_t/a\\\n\
6637 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6639 * Description of Vxworks_Needs_Vxtypes fix
6641 tSCC zVxworks_Needs_VxtypesName[] =
6642 "vxworks_needs_vxtypes";
6645 * File name selection pattern
6647 tSCC zVxworks_Needs_VxtypesList[] =
6650 * Machine/OS name selection pattern
6652 #define apzVxworks_Needs_VxtypesMachs (const char**)NULL
6655 * content selection pattern - do fix if pattern found
6657 tSCC zVxworks_Needs_VxtypesSelect0[] =
6658 "uint_t([ \t]+_clocks_per_sec)";
6660 #define VXWORKS_NEEDS_VXTYPES_TEST_CT 1
6661 static tTestDesc aVxworks_Needs_VxtypesTests[] = {
6662 { TT_EGREP, zVxworks_Needs_VxtypesSelect0, (regex_t*)NULL }, };
6665 * Fix Command Arguments for Vxworks_Needs_Vxtypes
6667 static const char* apzVxworks_Needs_VxtypesPatch[] = {
6672 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6674 * Description of Vxworks_Needs_Vxworks fix
6676 tSCC zVxworks_Needs_VxworksName[] =
6677 "vxworks_needs_vxworks";
6680 * File name selection pattern
6682 tSCC zVxworks_Needs_VxworksList[] =
6685 * Machine/OS name selection pattern
6687 #define apzVxworks_Needs_VxworksMachs (const char**)NULL
6690 * content selection pattern - do fix if pattern found
6692 tSCC zVxworks_Needs_VxworksSelect0[] =
6693 "#[ \t]define[ \t]+__INCstath";
6696 * perform the 'test' shell command - do fix on success
6698 tSCC zVxworks_Needs_VxworksTest0[] =
6699 " -r types/vxTypesOld.h";
6700 tSCC zVxworks_Needs_VxworksTest1[] =
6701 " -n \"`egrep '#include' $file`\"";
6702 tSCC zVxworks_Needs_VxworksTest2[] =
6703 " -n \"`egrep ULONG $file`\"";
6705 #define VXWORKS_NEEDS_VXWORKS_TEST_CT 4
6706 static tTestDesc aVxworks_Needs_VxworksTests[] = {
6707 { TT_TEST, zVxworks_Needs_VxworksTest0, 0 /* unused */ },
6708 { TT_TEST, zVxworks_Needs_VxworksTest1, 0 /* unused */ },
6709 { TT_TEST, zVxworks_Needs_VxworksTest2, 0 /* unused */ },
6710 { TT_EGREP, zVxworks_Needs_VxworksSelect0, (regex_t*)NULL }, };
6713 * Fix Command Arguments for Vxworks_Needs_Vxworks
6715 static const char* apzVxworks_Needs_VxworksPatch[] = { "sed",
6716 "-e", "/#[ \t]define[ \t][ \t]*__INCstath/a\\\n\
6717 #include <types/vxTypesOld.h>\n",
6720 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6722 * Description of Vxworks_Time fix
6724 tSCC zVxworks_TimeName[] =
6728 * File name selection pattern
6730 tSCC zVxworks_TimeList[] =
6733 * Machine/OS name selection pattern
6735 #define apzVxworks_TimeMachs (const char**)NULL
6738 * content selection pattern - do fix if pattern found
6740 tSCC zVxworks_TimeSelect0[] =
6741 "#[ \t]*define[ \t]+VOIDFUNCPTR[ \t].*";
6744 * perform the 'test' shell command - do fix on success
6746 tSCC zVxworks_TimeTest0[] =
6749 #define VXWORKS_TIME_TEST_CT 2
6750 static tTestDesc aVxworks_TimeTests[] = {
6751 { TT_TEST, zVxworks_TimeTest0, 0 /* unused */ },
6752 { TT_EGREP, zVxworks_TimeSelect0, (regex_t*)NULL }, };
6755 * Fix Command Arguments for Vxworks_Time
6757 static const char* apzVxworks_TimePatch[] = {
6759 "#ifndef __gcc_VOIDFUNCPTR_defined\n\
6760 #ifdef __cplusplus\n\
6761 typedef void (*__gcc_VOIDFUNCPTR) (...);\n\
6763 typedef void (*__gcc_VOIDFUNCPTR) ();\n\
6765 #define __gcc_VOIDFUNCPTR_defined\n\
6767 #define VOIDFUNCPTR __gcc_VOIDFUNCPTR",
6770 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6772 * Description of Windiss_Math1 fix
6774 tSCC zWindiss_Math1Name[] =
6778 * File name selection pattern
6780 tSCC zWindiss_Math1List[] =
6783 * Machine/OS name selection pattern
6785 tSCC* apzWindiss_Math1Machs[] = {
6787 (const char*)NULL };
6788 #define WINDISS_MATH1_TEST_CT 0
6789 #define aWindiss_Math1Tests (tTestDesc*)NULL
6792 * Fix Command Arguments for Windiss_Math1
6794 static const char* apzWindiss_Math1Patch[] = { "sed",
6795 "-e", "s|inline long double cosl.*|#ifndef __GNUC__|",
6798 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6800 * Description of Windiss_Math2 fix
6802 tSCC zWindiss_Math2Name[] =
6806 * File name selection pattern
6808 tSCC zWindiss_Math2List[] =
6811 * Machine/OS name selection pattern
6813 tSCC* apzWindiss_Math2Machs[] = {
6815 (const char*)NULL };
6816 #define WINDISS_MATH2_TEST_CT 0
6817 #define aWindiss_Math2Tests (tTestDesc*)NULL
6820 * Fix Command Arguments for Windiss_Math2
6822 static const char* apzWindiss_Math2Patch[] = { "sed",
6823 "-e", "s|/\\* long double declarations \\*/|#endif /* __GNUC__ */|",
6826 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6828 * Description of Windiss_Valist fix
6830 tSCC zWindiss_ValistName[] =
6834 * File name selection pattern
6836 #define zWindiss_ValistList (char*)NULL
6838 * Machine/OS name selection pattern
6840 tSCC* apzWindiss_ValistMachs[] = {
6842 (const char*)NULL };
6845 * content selection pattern - do fix if pattern found
6847 tSCC zWindiss_ValistSelect0[] =
6848 "(#include.*)diab/va_list.h";
6850 #define WINDISS_VALIST_TEST_CT 1
6851 static tTestDesc aWindiss_ValistTests[] = {
6852 { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
6855 * Fix Command Arguments for Windiss_Valist
6857 static const char* apzWindiss_ValistPatch[] = { "sed",
6858 "-e", "s|diab/va_list.h|stdarg.h|",
6861 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6863 * Description of X11_Class fix
6865 tSCC zX11_ClassName[] =
6869 * File name selection pattern
6871 tSCC zX11_ClassList[] =
6874 * Machine/OS name selection pattern
6876 #define apzX11_ClassMachs (const char**)NULL
6879 * content selection pattern - do fix if pattern found
6881 tSCC zX11_ClassSelect0[] =
6882 "^([ \t]*char \\*)class;(.*)";
6885 * content bypass pattern - skip fix if pattern found
6887 tSCC zX11_ClassBypass0[] =
6890 #define X11_CLASS_TEST_CT 2
6891 static tTestDesc aX11_ClassTests[] = {
6892 { TT_NEGREP, zX11_ClassBypass0, (regex_t*)NULL },
6893 { TT_EGREP, zX11_ClassSelect0, (regex_t*)NULL }, };
6896 * Fix Command Arguments for X11_Class
6898 static const char* apzX11_ClassPatch[] = {
6900 "#ifdef __cplusplus\n\
6907 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6909 * Description of X11_Class_Usage fix
6911 tSCC zX11_Class_UsageName[] =
6915 * File name selection pattern
6917 tSCC zX11_Class_UsageList[] =
6918 "|Xm/BaseClassI.h|";
6920 * Machine/OS name selection pattern
6922 #define apzX11_Class_UsageMachs (const char**)NULL
6925 * content selection pattern - do fix if pattern found
6927 tSCC zX11_Class_UsageSelect0[] =
6931 * content bypass pattern - skip fix if pattern found
6933 tSCC zX11_Class_UsageBypass0[] =
6936 #define X11_CLASS_USAGE_TEST_CT 2
6937 static tTestDesc aX11_Class_UsageTests[] = {
6938 { TT_NEGREP, zX11_Class_UsageBypass0, (regex_t*)NULL },
6939 { TT_EGREP, zX11_Class_UsageSelect0, (regex_t*)NULL }, };
6942 * Fix Command Arguments for X11_Class_Usage
6944 static const char* apzX11_Class_UsagePatch[] = {
6949 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6951 * Description of X11_New fix
6953 tSCC zX11_NewName[] =
6957 * File name selection pattern
6959 tSCC zX11_NewList[] =
6962 * Machine/OS name selection pattern
6964 #define apzX11_NewMachs (const char**)NULL
6967 * content bypass pattern - skip fix if pattern found
6969 tSCC zX11_NewBypass0[] =
6972 #define X11_NEW_TEST_CT 1
6973 static tTestDesc aX11_NewTests[] = {
6974 { TT_NEGREP, zX11_NewBypass0, (regex_t*)NULL }, };
6977 * Fix Command Arguments for X11_New
6979 static const char* apzX11_NewPatch[] = { "sed",
6980 "-e", "/Widget\told, new;/i\\\n\
6981 #ifdef __cplusplus\\\n\
6982 \tWidget\told, c_new;\\\n\
6984 "-e", "/Widget\told, new;/a\\\n\
6986 "-e", "s/Widget new,/Widget c_new,/g",
6989 /* * * * * * * * * * * * * * * * * * * * * * * * * *
6991 * Description of X11_Sprintf fix
6993 tSCC zX11_SprintfName[] =
6997 * File name selection pattern
6999 tSCC zX11_SprintfList[] =
7000 "|X11/Xmu.h|X11/Xmu/Xmu.h|";
7002 * Machine/OS name selection pattern
7004 #define apzX11_SprintfMachs (const char**)NULL
7007 * content selection pattern - do fix if pattern found
7009 tSCC zX11_SprintfSelect0[] =
7010 "^extern char \\*\tsprintf\\(\\);$";
7012 #define X11_SPRINTF_TEST_CT 1
7013 static tTestDesc aX11_SprintfTests[] = {
7014 { TT_EGREP, zX11_SprintfSelect0, (regex_t*)NULL }, };
7017 * Fix Command Arguments for X11_Sprintf
7019 static const char* apzX11_SprintfPatch[] = {
7021 "#ifndef __STDC__\n\
7023 #endif /* !defined __STDC__ */",
7027 /* * * * * * * * * * * * * * * * * * * * * * * * * *
7031 #define REGEX_COUNT 200
7032 #define MACH_LIST_SIZE_LIMIT 261
7033 #define FIX_COUNT 177
7036 * Enumerate the fixes
7039 AAB_FD_ZERO_ASM_POSIX_TYPES_H_FIXIDX,
7040 AAB_FD_ZERO_GNU_TYPES_H_FIXIDX,
7041 AAB_FD_ZERO_SELECTBITS_H_FIXIDX,
7042 AAB_SOLARIS_SYS_VARARGS_H_FIXIDX,
7043 AAB_SUN_MEMCPY_FIXIDX,
7044 AAB_ULTRIX_ANSI_COMPAT_FIXIDX,
7045 AAB_ULTRIX_LIMITS_FIXIDX,
7046 AAB_ULTRIX_MEMORY_FIXIDX,
7047 AAB_ULTRIX_STRING_FIXIDX,
7049 AIX_SYSMACHINE_FIXIDX,
7051 AIX_SYSWAIT_2_FIXIDX,
7052 AIX_VOLATILE_FIXIDX,
7053 ALPHA___ASSERT_FIXIDX,
7054 ALPHA___EXTERN_PREFIX_FIXIDX,
7055 ALPHA___EXTERN_PREFIX_STANDARDS_FIXIDX,
7056 ALPHA___EXTERN_PREFIX_SYS_STAT_FIXIDX,
7057 ALPHA_ASSERT_FIXIDX,
7058 ALPHA_BAD_LVAL_FIXIDX,
7059 ALPHA_GETOPT_FIXIDX,
7060 ALPHA_PARENS_FIXIDX,
7061 ALPHA_PTHREAD_FIXIDX,
7062 ALPHA_PTHREAD_GCC_FIXIDX,
7065 AVOID_BOOL_DEFINE_FIXIDX,
7066 AVOID_BOOL_TYPE_FIXIDX,
7067 AVOID_WCHAR_T_TYPE_FIXIDX,
7068 BAD_STRUCT_TERM_FIXIDX,
7070 BROKEN_ASSERT_STDIO_FIXIDX,
7071 BROKEN_ASSERT_STDLIB_FIXIDX,
7073 BSD_STDIO_ATTRS_CONFLICT_FIXIDX,
7074 CTRL_QUOTES_DEF_FIXIDX,
7075 CTRL_QUOTES_USE_FIXIDX,
7077 DARWIN_PRIVATE_EXTERN_FIXIDX,
7078 DEC_INTERN_ASM_FIXIDX,
7079 DJGPP_WCHAR_H_FIXIDX,
7081 EXCEPTION_STRUCTURE_FIXIDX,
7082 FREEBSD_GCC3_BREAKAGE_FIXIDX,
7086 HPUX10_CPP_POW_INLINE_FIXIDX,
7087 HPUX11_CPP_POW_INLINE_FIXIDX,
7088 HPUX10_CTYPE_DECLARATIONS1_FIXIDX,
7089 HPUX10_CTYPE_DECLARATIONS2_FIXIDX,
7090 HPUX10_STDIO_DECLARATIONS_FIXIDX,
7092 HPUX11_FABSF_FIXIDX,
7093 HPUX11_SIZE_T_FIXIDX,
7094 HPUX11_SNPRINTF_FIXIDX,
7095 HPUX11_UINT32_C_FIXIDX,
7096 HPUX11_VSNPRINTF_FIXIDX,
7097 HPUX8_BOGUS_INLINES_FIXIDX,
7098 HPUX_CTYPE_MACROS_FIXIDX,
7099 HPUX_LONG_DOUBLE_FIXIDX,
7101 HPUX_SYSTIME_FIXIDX,
7102 INT_ABORT_FREE_AND_EXIT_FIXIDX,
7103 IO_QUOTES_DEF_FIXIDX,
7104 IO_QUOTES_USE_FIXIDX,
7105 IP_MISSING_SEMI_FIXIDX,
7106 IRIX___RESTRICT_FIXIDX,
7107 IRIX___GENERIC1_FIXIDX,
7108 IRIX___GENERIC2_FIXIDX,
7109 IRIX_ASM_APOSTROPHE_FIXIDX,
7110 IRIX_LIMITS_CONST_FIXIDX,
7111 IRIX_SOCKLEN_T_FIXIDX,
7112 IRIX_STDIO_VA_LIST_FIXIDX,
7113 IRIX_WCSFTIME_FIXIDX,
7115 ISC_OMITS_WITH_STDC_FIXIDX,
7116 KANDR_CONCAT_FIXIDX,
7117 LIBC1_G_VA_LIST_FIXIDX,
7118 LIBC1_IFDEFD_MEMX_FIXIDX,
7119 LIMITS_IFNDEFS_FIXIDX,
7120 LYNXOS_NO_WARNING_IN_SYS_TIME_H_FIXIDX,
7121 LYNXOS_MISSING_PUTENV_FIXIDX,
7122 MACHINE_ANSI_H_VA_LIST_FIXIDX,
7123 MACHINE_NAME_FIXIDX,
7124 MATH_EXCEPTION_FIXIDX,
7125 MATH_HUGE_VAL_FROM_DBL_MAX_FIXIDX,
7126 MATH_HUGE_VAL_IFNDEF_FIXIDX,
7127 NESTED_AUTH_DES_FIXIDX,
7128 NESTED_MOTOROLA_FIXIDX,
7129 NESTED_SYS_LIMITS_FIXIDX,
7130 NETBSD_EXTRA_SEMICOLON_FIXIDX,
7131 NEXT_MATH_PREFIX_FIXIDX,
7132 NEXT_TEMPLATE_FIXIDX,
7133 NEXT_VOLITILE_FIXIDX,
7134 NEXT_WAIT_UNION_FIXIDX,
7135 NODEENT_SYNTAX_FIXIDX,
7136 OBSTACK_LVALUE_CAST_FIXIDX,
7137 OSF_NAMESPACE_A_FIXIDX,
7138 OSF_NAMESPACE_C_FIXIDX,
7139 PTHREAD_PAGE_SIZE_FIXIDX,
7140 READ_RET_TYPE_FIXIDX,
7141 RPC_XDR_LVALUE_CAST_A_FIXIDX,
7142 RPC_XDR_LVALUE_CAST_B_FIXIDX,
7143 RS6000_DOUBLE_FIXIDX,
7144 RS6000_FCHMOD_FIXIDX,
7145 RS6000_PARAM_FIXIDX,
7148 SCO_STATIC_FUNC_FIXIDX,
7150 SOLARIS_MUTEX_INIT_1_FIXIDX,
7151 SOLARIS_MUTEX_INIT_2_FIXIDX,
7152 SOLARIS_SOCKET_FIXIDX,
7153 SOLARIS_STDIO_TAG_FIXIDX,
7154 SOLARIS_UNISTD_FIXIDX,
7155 SOLARIS_WIDEC_FIXIDX,
7157 STDIO_STDARG_H_FIXIDX,
7158 STDIO_VA_LIST_FIXIDX,
7159 STRICT_ANSI_NOT_FIXIDX,
7160 STRICT_ANSI_NOT_CTD_FIXIDX,
7161 STRICT_ANSI_ONLY_FIXIDX,
7163 STRUCT_SOCKADDR_FIXIDX,
7164 SUN_AUTH_PROTO_FIXIDX,
7165 SUN_BOGUS_IFDEF_FIXIDX,
7166 SUN_CATMACRO_FIXIDX,
7168 SUN_RUSERS_SEMI_FIXIDX,
7170 SUNOS_STRLEN_FIXIDX,
7172 SVR4_DISABLE_OPT_FIXIDX,
7176 SVR4_SIGHANDLER_TYPE_FIXIDX,
7177 SVR4_UNDECLARED_GETRNGE_FIXIDX,
7178 SYSV68_STRING_FIXIDX,
7179 SYSZ_STDLIB_FOR_SUN_FIXIDX,
7180 THREAD_KEYWORD_FIXIDX,
7181 TINFO_CPLUSPLUS_FIXIDX,
7182 ULTRIX_ATEXIT_PARAM_FIXIDX,
7183 ULTRIX_ATOF_PARAM_FIXIDX,
7184 ULTRIX_CONST_FIXIDX,
7185 ULTRIX_CONST2_FIXIDX,
7186 ULTRIX_CONST3_FIXIDX,
7187 ULTRIX_FIX_FIXPROTO_FIXIDX,
7188 ULTRIX_IFDEF_FIXIDX,
7189 ULTRIX_LOCALE_FIXIDX,
7190 ULTRIX_MATH_IFDEF_FIXIDX,
7191 ULTRIX_NESTED_IOCTL_FIXIDX,
7192 ULTRIX_NESTED_SVC_FIXIDX,
7194 ULTRIX_STATIC_FIXIDX,
7195 ULTRIX_STDLIB_FIXIDX,
7196 ULTRIX_STRINGS_FIXIDX,
7197 ULTRIX_STRINGS2_FIXIDX,
7198 ULTRIX_SYS_TIME_FIXIDX,
7199 ULTRIX_UNISTD_FIXIDX,
7200 UNDEFINE_NULL_FIXIDX,
7201 UNICOSMK_RESTRICT_FIXIDX,
7202 UW7_BYTEORDER_FIX_FIXIDX,
7203 VA_I960_MACRO_FIXIDX,
7205 VXWORKS_GCC_PROBLEM_FIXIDX,
7206 VXWORKS_NEEDS_VXTYPES_FIXIDX,
7207 VXWORKS_NEEDS_VXWORKS_FIXIDX,
7208 VXWORKS_TIME_FIXIDX,
7209 WINDISS_MATH1_FIXIDX,
7210 WINDISS_MATH2_FIXIDX,
7211 WINDISS_VALIST_FIXIDX,
7213 X11_CLASS_USAGE_FIXIDX,
7218 tFixDesc fixDescList[ FIX_COUNT ] = {
7219 { zAab_Fd_Zero_Asm_Posix_Types_HName, zAab_Fd_Zero_Asm_Posix_Types_HList,
7220 apzAab_Fd_Zero_Asm_Posix_Types_HMachs,
7221 AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7222 aAab_Fd_Zero_Asm_Posix_Types_HTests, apzAab_Fd_Zero_Asm_Posix_Types_HPatch, 0 },
7224 { zAab_Fd_Zero_Gnu_Types_HName, zAab_Fd_Zero_Gnu_Types_HList,
7225 apzAab_Fd_Zero_Gnu_Types_HMachs,
7226 AAB_FD_ZERO_GNU_TYPES_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7227 aAab_Fd_Zero_Gnu_Types_HTests, apzAab_Fd_Zero_Gnu_Types_HPatch, 0 },
7229 { zAab_Fd_Zero_Selectbits_HName, zAab_Fd_Zero_Selectbits_HList,
7230 apzAab_Fd_Zero_Selectbits_HMachs,
7231 AAB_FD_ZERO_SELECTBITS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7232 aAab_Fd_Zero_Selectbits_HTests, apzAab_Fd_Zero_Selectbits_HPatch, 0 },
7234 { zAab_Solaris_Sys_Varargs_HName, zAab_Solaris_Sys_Varargs_HList,
7235 apzAab_Solaris_Sys_Varargs_HMachs,
7236 AAB_SOLARIS_SYS_VARARGS_H_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7237 aAab_Solaris_Sys_Varargs_HTests, apzAab_Solaris_Sys_Varargs_HPatch, 0 },
7239 { zAab_Sun_MemcpyName, zAab_Sun_MemcpyList,
7240 apzAab_Sun_MemcpyMachs,
7241 AAB_SUN_MEMCPY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7242 aAab_Sun_MemcpyTests, apzAab_Sun_MemcpyPatch, 0 },
7244 { zAab_Ultrix_Ansi_CompatName, zAab_Ultrix_Ansi_CompatList,
7245 apzAab_Ultrix_Ansi_CompatMachs,
7246 AAB_ULTRIX_ANSI_COMPAT_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7247 aAab_Ultrix_Ansi_CompatTests, apzAab_Ultrix_Ansi_CompatPatch, 0 },
7249 { zAab_Ultrix_LimitsName, zAab_Ultrix_LimitsList,
7250 apzAab_Ultrix_LimitsMachs,
7251 AAB_ULTRIX_LIMITS_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7252 aAab_Ultrix_LimitsTests, apzAab_Ultrix_LimitsPatch, 0 },
7254 { zAab_Ultrix_MemoryName, zAab_Ultrix_MemoryList,
7255 apzAab_Ultrix_MemoryMachs,
7256 AAB_ULTRIX_MEMORY_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7257 aAab_Ultrix_MemoryTests, apzAab_Ultrix_MemoryPatch, 0 },
7259 { zAab_Ultrix_StringName, zAab_Ultrix_StringList,
7260 apzAab_Ultrix_StringMachs,
7261 AAB_ULTRIX_STRING_TEST_CT, FD_MACH_ONLY | FD_REPLACEMENT,
7262 aAab_Ultrix_StringTests, apzAab_Ultrix_StringPatch, 0 },
7264 { zAix_PthreadName, zAix_PthreadList,
7265 apzAix_PthreadMachs,
7266 AIX_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7267 aAix_PthreadTests, apzAix_PthreadPatch, 0 },
7269 { zAix_SysmachineName, zAix_SysmachineList,
7270 apzAix_SysmachineMachs,
7271 AIX_SYSMACHINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7272 aAix_SysmachineTests, apzAix_SysmachinePatch, 0 },
7274 { zAix_SyswaitName, zAix_SyswaitList,
7275 apzAix_SyswaitMachs,
7276 AIX_SYSWAIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7277 aAix_SyswaitTests, apzAix_SyswaitPatch, 0 },
7279 { zAix_Syswait_2Name, zAix_Syswait_2List,
7280 apzAix_Syswait_2Machs,
7281 AIX_SYSWAIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7282 aAix_Syswait_2Tests, apzAix_Syswait_2Patch, 0 },
7284 { zAix_VolatileName, zAix_VolatileList,
7285 apzAix_VolatileMachs,
7286 AIX_VOLATILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7287 aAix_VolatileTests, apzAix_VolatilePatch, 0 },
7289 { zAlpha___AssertName, zAlpha___AssertList,
7290 apzAlpha___AssertMachs,
7291 ALPHA___ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7292 aAlpha___AssertTests, apzAlpha___AssertPatch, 0 },
7294 { zAlpha___Extern_PrefixName, zAlpha___Extern_PrefixList,
7295 apzAlpha___Extern_PrefixMachs,
7296 ALPHA___EXTERN_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7297 aAlpha___Extern_PrefixTests, apzAlpha___Extern_PrefixPatch, 0 },
7299 { zAlpha___Extern_Prefix_StandardsName, zAlpha___Extern_Prefix_StandardsList,
7300 apzAlpha___Extern_Prefix_StandardsMachs,
7301 ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7302 aAlpha___Extern_Prefix_StandardsTests, apzAlpha___Extern_Prefix_StandardsPatch, 0 },
7304 { zAlpha___Extern_Prefix_Sys_StatName, zAlpha___Extern_Prefix_Sys_StatList,
7305 apzAlpha___Extern_Prefix_Sys_StatMachs,
7306 ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7307 aAlpha___Extern_Prefix_Sys_StatTests, apzAlpha___Extern_Prefix_Sys_StatPatch, 0 },
7309 { zAlpha_AssertName, zAlpha_AssertList,
7310 apzAlpha_AssertMachs,
7311 ALPHA_ASSERT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7312 aAlpha_AssertTests, apzAlpha_AssertPatch, 0 },
7314 { zAlpha_Bad_LvalName, zAlpha_Bad_LvalList,
7315 apzAlpha_Bad_LvalMachs,
7316 ALPHA_BAD_LVAL_TEST_CT, FD_MACH_ONLY,
7317 aAlpha_Bad_LvalTests, apzAlpha_Bad_LvalPatch, 0 },
7319 { zAlpha_GetoptName, zAlpha_GetoptList,
7320 apzAlpha_GetoptMachs,
7321 ALPHA_GETOPT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7322 aAlpha_GetoptTests, apzAlpha_GetoptPatch, 0 },
7324 { zAlpha_ParensName, zAlpha_ParensList,
7325 apzAlpha_ParensMachs,
7326 ALPHA_PARENS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7327 aAlpha_ParensTests, apzAlpha_ParensPatch, 0 },
7329 { zAlpha_PthreadName, zAlpha_PthreadList,
7330 apzAlpha_PthreadMachs,
7331 ALPHA_PTHREAD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7332 aAlpha_PthreadTests, apzAlpha_PthreadPatch, 0 },
7334 { zAlpha_Pthread_GccName, zAlpha_Pthread_GccList,
7335 apzAlpha_Pthread_GccMachs,
7336 ALPHA_PTHREAD_GCC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7337 aAlpha_Pthread_GccTests, apzAlpha_Pthread_GccPatch, 0 },
7339 { zAlpha_SbrkName, zAlpha_SbrkList,
7341 ALPHA_SBRK_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7342 aAlpha_SbrkTests, apzAlpha_SbrkPatch, 0 },
7344 { zAlpha_WcharName, zAlpha_WcharList,
7345 apzAlpha_WcharMachs,
7346 ALPHA_WCHAR_TEST_CT, FD_MACH_ONLY,
7347 aAlpha_WcharTests, apzAlpha_WcharPatch, 0 },
7349 { zAvoid_Bool_DefineName, zAvoid_Bool_DefineList,
7350 apzAvoid_Bool_DefineMachs,
7351 AVOID_BOOL_DEFINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7352 aAvoid_Bool_DefineTests, apzAvoid_Bool_DefinePatch, 0 },
7354 { zAvoid_Bool_TypeName, zAvoid_Bool_TypeList,
7355 apzAvoid_Bool_TypeMachs,
7356 AVOID_BOOL_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7357 aAvoid_Bool_TypeTests, apzAvoid_Bool_TypePatch, 0 },
7359 { zAvoid_Wchar_T_TypeName, zAvoid_Wchar_T_TypeList,
7360 apzAvoid_Wchar_T_TypeMachs,
7361 AVOID_WCHAR_T_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7362 aAvoid_Wchar_T_TypeTests, apzAvoid_Wchar_T_TypePatch, 0 },
7364 { zBad_Struct_TermName, zBad_Struct_TermList,
7365 apzBad_Struct_TermMachs,
7366 BAD_STRUCT_TERM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7367 aBad_Struct_TermTests, apzBad_Struct_TermPatch, 0 },
7369 { zBadquoteName, zBadquoteList,
7371 BADQUOTE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7372 aBadquoteTests, apzBadquotePatch, 0 },
7374 { zBroken_Assert_StdioName, zBroken_Assert_StdioList,
7375 apzBroken_Assert_StdioMachs,
7376 BROKEN_ASSERT_STDIO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7377 aBroken_Assert_StdioTests, apzBroken_Assert_StdioPatch, 0 },
7379 { zBroken_Assert_StdlibName, zBroken_Assert_StdlibList,
7380 apzBroken_Assert_StdlibMachs,
7381 BROKEN_ASSERT_STDLIB_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7382 aBroken_Assert_StdlibTests, apzBroken_Assert_StdlibPatch, 0 },
7384 { zBroken_CabsName, zBroken_CabsList,
7385 apzBroken_CabsMachs,
7386 BROKEN_CABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7387 aBroken_CabsTests, apzBroken_CabsPatch, 0 },
7389 { zBsd_Stdio_Attrs_ConflictName, zBsd_Stdio_Attrs_ConflictList,
7390 apzBsd_Stdio_Attrs_ConflictMachs,
7391 BSD_STDIO_ATTRS_CONFLICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7392 aBsd_Stdio_Attrs_ConflictTests, apzBsd_Stdio_Attrs_ConflictPatch, 0 },
7394 { zCtrl_Quotes_DefName, zCtrl_Quotes_DefList,
7395 apzCtrl_Quotes_DefMachs,
7396 CTRL_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7397 aCtrl_Quotes_DefTests, apzCtrl_Quotes_DefPatch, 0 },
7399 { zCtrl_Quotes_UseName, zCtrl_Quotes_UseList,
7400 apzCtrl_Quotes_UseMachs,
7401 CTRL_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7402 aCtrl_Quotes_UseTests, apzCtrl_Quotes_UsePatch, 0 },
7404 { zCxx_UnreadyName, zCxx_UnreadyList,
7405 apzCxx_UnreadyMachs,
7406 CXX_UNREADY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7407 aCxx_UnreadyTests, apzCxx_UnreadyPatch, 0 },
7409 { zDarwin_Private_ExternName, zDarwin_Private_ExternList,
7410 apzDarwin_Private_ExternMachs,
7411 DARWIN_PRIVATE_EXTERN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7412 aDarwin_Private_ExternTests, apzDarwin_Private_ExternPatch, 0 },
7414 { zDec_Intern_AsmName, zDec_Intern_AsmList,
7415 apzDec_Intern_AsmMachs,
7416 DEC_INTERN_ASM_TEST_CT, FD_MACH_ONLY,
7417 aDec_Intern_AsmTests, apzDec_Intern_AsmPatch, 0 },
7419 { zDjgpp_Wchar_HName, zDjgpp_Wchar_HList,
7420 apzDjgpp_Wchar_HMachs,
7421 DJGPP_WCHAR_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7422 aDjgpp_Wchar_HTests, apzDjgpp_Wchar_HPatch, 0 },
7424 { zEcd_CursorName, zEcd_CursorList,
7426 ECD_CURSOR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7427 aEcd_CursorTests, apzEcd_CursorPatch, 0 },
7429 { zException_StructureName, zException_StructureList,
7430 apzException_StructureMachs,
7431 EXCEPTION_STRUCTURE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7432 aException_StructureTests, apzException_StructurePatch, 0 },
7434 { zFreebsd_Gcc3_BreakageName, zFreebsd_Gcc3_BreakageList,
7435 apzFreebsd_Gcc3_BreakageMachs,
7436 FREEBSD_GCC3_BREAKAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7437 aFreebsd_Gcc3_BreakageTests, apzFreebsd_Gcc3_BreakagePatch, 0 },
7439 { zGnu_TypesName, zGnu_TypesList,
7441 GNU_TYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7442 aGnu_TypesTests, apzGnu_TypesPatch, 0 },
7444 { zHp_InlineName, zHp_InlineList,
7446 HP_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7447 aHp_InlineTests, apzHp_InlinePatch, 0 },
7449 { zHp_SysfileName, zHp_SysfileList,
7451 HP_SYSFILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7452 aHp_SysfileTests, apzHp_SysfilePatch, 0 },
7454 { zHpux10_Cpp_Pow_InlineName, zHpux10_Cpp_Pow_InlineList,
7455 apzHpux10_Cpp_Pow_InlineMachs,
7456 HPUX10_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7457 aHpux10_Cpp_Pow_InlineTests, apzHpux10_Cpp_Pow_InlinePatch, 0 },
7459 { zHpux11_Cpp_Pow_InlineName, zHpux11_Cpp_Pow_InlineList,
7460 apzHpux11_Cpp_Pow_InlineMachs,
7461 HPUX11_CPP_POW_INLINE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7462 aHpux11_Cpp_Pow_InlineTests, apzHpux11_Cpp_Pow_InlinePatch, 0 },
7464 { zHpux10_Ctype_Declarations1Name, zHpux10_Ctype_Declarations1List,
7465 apzHpux10_Ctype_Declarations1Machs,
7466 HPUX10_CTYPE_DECLARATIONS1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7467 aHpux10_Ctype_Declarations1Tests, apzHpux10_Ctype_Declarations1Patch, 0 },
7469 { zHpux10_Ctype_Declarations2Name, zHpux10_Ctype_Declarations2List,
7470 apzHpux10_Ctype_Declarations2Machs,
7471 HPUX10_CTYPE_DECLARATIONS2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7472 aHpux10_Ctype_Declarations2Tests, apzHpux10_Ctype_Declarations2Patch, 0 },
7474 { zHpux10_Stdio_DeclarationsName, zHpux10_Stdio_DeclarationsList,
7475 apzHpux10_Stdio_DeclarationsMachs,
7476 HPUX10_STDIO_DECLARATIONS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7477 aHpux10_Stdio_DeclarationsTests, apzHpux10_Stdio_DeclarationsPatch, 0 },
7479 { zHpux11_AbsName, zHpux11_AbsList,
7481 HPUX11_ABS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7482 aHpux11_AbsTests, apzHpux11_AbsPatch, 0 },
7484 { zHpux11_FabsfName, zHpux11_FabsfList,
7485 apzHpux11_FabsfMachs,
7486 HPUX11_FABSF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7487 aHpux11_FabsfTests, apzHpux11_FabsfPatch, 0 },
7489 { zHpux11_Size_TName, zHpux11_Size_TList,
7490 apzHpux11_Size_TMachs,
7491 HPUX11_SIZE_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7492 aHpux11_Size_TTests, apzHpux11_Size_TPatch, 0 },
7494 { zHpux11_SnprintfName, zHpux11_SnprintfList,
7495 apzHpux11_SnprintfMachs,
7496 HPUX11_SNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7497 aHpux11_SnprintfTests, apzHpux11_SnprintfPatch, 0 },
7499 { zHpux11_Uint32_CName, zHpux11_Uint32_CList,
7500 apzHpux11_Uint32_CMachs,
7501 HPUX11_UINT32_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7502 aHpux11_Uint32_CTests, apzHpux11_Uint32_CPatch, 0 },
7504 { zHpux11_VsnprintfName, zHpux11_VsnprintfList,
7505 apzHpux11_VsnprintfMachs,
7506 HPUX11_VSNPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7507 aHpux11_VsnprintfTests, apzHpux11_VsnprintfPatch, 0 },
7509 { zHpux8_Bogus_InlinesName, zHpux8_Bogus_InlinesList,
7510 apzHpux8_Bogus_InlinesMachs,
7511 HPUX8_BOGUS_INLINES_TEST_CT, FD_MACH_ONLY,
7512 aHpux8_Bogus_InlinesTests, apzHpux8_Bogus_InlinesPatch, 0 },
7514 { zHpux_Ctype_MacrosName, zHpux_Ctype_MacrosList,
7515 apzHpux_Ctype_MacrosMachs,
7516 HPUX_CTYPE_MACROS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7517 aHpux_Ctype_MacrosTests, apzHpux_Ctype_MacrosPatch, 0 },
7519 { zHpux_Long_DoubleName, zHpux_Long_DoubleList,
7520 apzHpux_Long_DoubleMachs,
7521 HPUX_LONG_DOUBLE_TEST_CT, FD_MACH_ONLY,
7522 aHpux_Long_DoubleTests, apzHpux_Long_DoublePatch, 0 },
7524 { zHpux_MaxintName, zHpux_MaxintList,
7525 apzHpux_MaxintMachs,
7526 HPUX_MAXINT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7527 aHpux_MaxintTests, apzHpux_MaxintPatch, 0 },
7529 { zHpux_SystimeName, zHpux_SystimeList,
7530 apzHpux_SystimeMachs,
7531 HPUX_SYSTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7532 aHpux_SystimeTests, apzHpux_SystimePatch, 0 },
7534 { zInt_Abort_Free_And_ExitName, zInt_Abort_Free_And_ExitList,
7535 apzInt_Abort_Free_And_ExitMachs,
7536 INT_ABORT_FREE_AND_EXIT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7537 aInt_Abort_Free_And_ExitTests, apzInt_Abort_Free_And_ExitPatch, 0 },
7539 { zIo_Quotes_DefName, zIo_Quotes_DefList,
7540 apzIo_Quotes_DefMachs,
7541 IO_QUOTES_DEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7542 aIo_Quotes_DefTests, apzIo_Quotes_DefPatch, 0 },
7544 { zIo_Quotes_UseName, zIo_Quotes_UseList,
7545 apzIo_Quotes_UseMachs,
7546 IO_QUOTES_USE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7547 aIo_Quotes_UseTests, apzIo_Quotes_UsePatch, 0 },
7549 { zIp_Missing_SemiName, zIp_Missing_SemiList,
7550 apzIp_Missing_SemiMachs,
7551 IP_MISSING_SEMI_TEST_CT, FD_MACH_ONLY,
7552 aIp_Missing_SemiTests, apzIp_Missing_SemiPatch, 0 },
7554 { zIrix___RestrictName, zIrix___RestrictList,
7555 apzIrix___RestrictMachs,
7556 IRIX___RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7557 aIrix___RestrictTests, apzIrix___RestrictPatch, 0 },
7559 { zIrix___Generic1Name, zIrix___Generic1List,
7560 apzIrix___Generic1Machs,
7561 IRIX___GENERIC1_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7562 aIrix___Generic1Tests, apzIrix___Generic1Patch, 0 },
7564 { zIrix___Generic2Name, zIrix___Generic2List,
7565 apzIrix___Generic2Machs,
7566 IRIX___GENERIC2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7567 aIrix___Generic2Tests, apzIrix___Generic2Patch, 0 },
7569 { zIrix_Asm_ApostropheName, zIrix_Asm_ApostropheList,
7570 apzIrix_Asm_ApostropheMachs,
7571 IRIX_ASM_APOSTROPHE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7572 aIrix_Asm_ApostropheTests, apzIrix_Asm_ApostrophePatch, 0 },
7574 { zIrix_Limits_ConstName, zIrix_Limits_ConstList,
7575 apzIrix_Limits_ConstMachs,
7576 IRIX_LIMITS_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7577 aIrix_Limits_ConstTests, apzIrix_Limits_ConstPatch, 0 },
7579 { zIrix_Socklen_TName, zIrix_Socklen_TList,
7580 apzIrix_Socklen_TMachs,
7581 IRIX_SOCKLEN_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7582 aIrix_Socklen_TTests, apzIrix_Socklen_TPatch, 0 },
7584 { zIrix_Stdio_Va_ListName, zIrix_Stdio_Va_ListList,
7585 apzIrix_Stdio_Va_ListMachs,
7586 IRIX_STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7587 aIrix_Stdio_Va_ListTests, apzIrix_Stdio_Va_ListPatch, 0 },
7589 { zIrix_WcsftimeName, zIrix_WcsftimeList,
7590 apzIrix_WcsftimeMachs,
7591 IRIX_WCSFTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7592 aIrix_WcsftimeTests, apzIrix_WcsftimePatch, 0 },
7594 { zIsc_FmodName, zIsc_FmodList,
7596 ISC_FMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7597 aIsc_FmodTests, apzIsc_FmodPatch, 0 },
7599 { zIsc_Omits_With_StdcName, zIsc_Omits_With_StdcList,
7600 apzIsc_Omits_With_StdcMachs,
7601 ISC_OMITS_WITH_STDC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7602 aIsc_Omits_With_StdcTests, apzIsc_Omits_With_StdcPatch, 0 },
7604 { zKandr_ConcatName, zKandr_ConcatList,
7605 apzKandr_ConcatMachs,
7606 KANDR_CONCAT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7607 aKandr_ConcatTests, apzKandr_ConcatPatch, 0 },
7609 { zLibc1_G_Va_ListName, zLibc1_G_Va_ListList,
7610 apzLibc1_G_Va_ListMachs,
7611 LIBC1_G_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7612 aLibc1_G_Va_ListTests, apzLibc1_G_Va_ListPatch, 0 },
7614 { zLibc1_Ifdefd_MemxName, zLibc1_Ifdefd_MemxList,
7615 apzLibc1_Ifdefd_MemxMachs,
7616 LIBC1_IFDEFD_MEMX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7617 aLibc1_Ifdefd_MemxTests, apzLibc1_Ifdefd_MemxPatch, 0 },
7619 { zLimits_IfndefsName, zLimits_IfndefsList,
7620 apzLimits_IfndefsMachs,
7621 LIMITS_IFNDEFS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7622 aLimits_IfndefsTests, apzLimits_IfndefsPatch, 0 },
7624 { zLynxos_No_Warning_In_Sys_Time_HName, zLynxos_No_Warning_In_Sys_Time_HList,
7625 apzLynxos_No_Warning_In_Sys_Time_HMachs,
7626 LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7627 aLynxos_No_Warning_In_Sys_Time_HTests, apzLynxos_No_Warning_In_Sys_Time_HPatch, 0 },
7629 { zLynxos_Missing_PutenvName, zLynxos_Missing_PutenvList,
7630 apzLynxos_Missing_PutenvMachs,
7631 LYNXOS_MISSING_PUTENV_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7632 aLynxos_Missing_PutenvTests, apzLynxos_Missing_PutenvPatch, 0 },
7634 { zMachine_Ansi_H_Va_ListName, zMachine_Ansi_H_Va_ListList,
7635 apzMachine_Ansi_H_Va_ListMachs,
7636 MACHINE_ANSI_H_VA_LIST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7637 aMachine_Ansi_H_Va_ListTests, apzMachine_Ansi_H_Va_ListPatch, 0 },
7639 { zMachine_NameName, zMachine_NameList,
7640 apzMachine_NameMachs,
7641 MACHINE_NAME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7642 aMachine_NameTests, apzMachine_NamePatch, 0 },
7644 { zMath_ExceptionName, zMath_ExceptionList,
7645 apzMath_ExceptionMachs,
7646 MATH_EXCEPTION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7647 aMath_ExceptionTests, apzMath_ExceptionPatch, 0 },
7649 { zMath_Huge_Val_From_Dbl_MaxName, zMath_Huge_Val_From_Dbl_MaxList,
7650 apzMath_Huge_Val_From_Dbl_MaxMachs,
7651 MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT, FD_MACH_ONLY | FD_SHELL_SCRIPT,
7652 aMath_Huge_Val_From_Dbl_MaxTests, apzMath_Huge_Val_From_Dbl_MaxPatch, 0 },
7654 { zMath_Huge_Val_IfndefName, zMath_Huge_Val_IfndefList,
7655 apzMath_Huge_Val_IfndefMachs,
7656 MATH_HUGE_VAL_IFNDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7657 aMath_Huge_Val_IfndefTests, apzMath_Huge_Val_IfndefPatch, 0 },
7659 { zNested_Auth_DesName, zNested_Auth_DesList,
7660 apzNested_Auth_DesMachs,
7661 NESTED_AUTH_DES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7662 aNested_Auth_DesTests, apzNested_Auth_DesPatch, 0 },
7664 { zNested_MotorolaName, zNested_MotorolaList,
7665 apzNested_MotorolaMachs,
7666 NESTED_MOTOROLA_TEST_CT, FD_MACH_ONLY,
7667 aNested_MotorolaTests, apzNested_MotorolaPatch, 0 },
7669 { zNested_Sys_LimitsName, zNested_Sys_LimitsList,
7670 apzNested_Sys_LimitsMachs,
7671 NESTED_SYS_LIMITS_TEST_CT, FD_MACH_ONLY,
7672 aNested_Sys_LimitsTests, apzNested_Sys_LimitsPatch, 0 },
7674 { zNetbsd_Extra_SemicolonName, zNetbsd_Extra_SemicolonList,
7675 apzNetbsd_Extra_SemicolonMachs,
7676 NETBSD_EXTRA_SEMICOLON_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7677 aNetbsd_Extra_SemicolonTests, apzNetbsd_Extra_SemicolonPatch, 0 },
7679 { zNext_Math_PrefixName, zNext_Math_PrefixList,
7680 apzNext_Math_PrefixMachs,
7681 NEXT_MATH_PREFIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7682 aNext_Math_PrefixTests, apzNext_Math_PrefixPatch, 0 },
7684 { zNext_TemplateName, zNext_TemplateList,
7685 apzNext_TemplateMachs,
7686 NEXT_TEMPLATE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7687 aNext_TemplateTests, apzNext_TemplatePatch, 0 },
7689 { zNext_VolitileName, zNext_VolitileList,
7690 apzNext_VolitileMachs,
7691 NEXT_VOLITILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7692 aNext_VolitileTests, apzNext_VolitilePatch, 0 },
7694 { zNext_Wait_UnionName, zNext_Wait_UnionList,
7695 apzNext_Wait_UnionMachs,
7696 NEXT_WAIT_UNION_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7697 aNext_Wait_UnionTests, apzNext_Wait_UnionPatch, 0 },
7699 { zNodeent_SyntaxName, zNodeent_SyntaxList,
7700 apzNodeent_SyntaxMachs,
7701 NODEENT_SYNTAX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7702 aNodeent_SyntaxTests, apzNodeent_SyntaxPatch, 0 },
7704 { zObstack_Lvalue_CastName, zObstack_Lvalue_CastList,
7705 apzObstack_Lvalue_CastMachs,
7706 OBSTACK_LVALUE_CAST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7707 aObstack_Lvalue_CastTests, apzObstack_Lvalue_CastPatch, 0 },
7709 { zOsf_Namespace_AName, zOsf_Namespace_AList,
7710 apzOsf_Namespace_AMachs,
7711 OSF_NAMESPACE_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7712 aOsf_Namespace_ATests, apzOsf_Namespace_APatch, 0 },
7714 { zOsf_Namespace_CName, zOsf_Namespace_CList,
7715 apzOsf_Namespace_CMachs,
7716 OSF_NAMESPACE_C_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7717 aOsf_Namespace_CTests, apzOsf_Namespace_CPatch, 0 },
7719 { zPthread_Page_SizeName, zPthread_Page_SizeList,
7720 apzPthread_Page_SizeMachs,
7721 PTHREAD_PAGE_SIZE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7722 aPthread_Page_SizeTests, apzPthread_Page_SizePatch, 0 },
7724 { zRead_Ret_TypeName, zRead_Ret_TypeList,
7725 apzRead_Ret_TypeMachs,
7726 READ_RET_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7727 aRead_Ret_TypeTests, apzRead_Ret_TypePatch, 0 },
7729 { zRpc_Xdr_Lvalue_Cast_AName, zRpc_Xdr_Lvalue_Cast_AList,
7730 apzRpc_Xdr_Lvalue_Cast_AMachs,
7731 RPC_XDR_LVALUE_CAST_A_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7732 aRpc_Xdr_Lvalue_Cast_ATests, apzRpc_Xdr_Lvalue_Cast_APatch, 0 },
7734 { zRpc_Xdr_Lvalue_Cast_BName, zRpc_Xdr_Lvalue_Cast_BList,
7735 apzRpc_Xdr_Lvalue_Cast_BMachs,
7736 RPC_XDR_LVALUE_CAST_B_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7737 aRpc_Xdr_Lvalue_Cast_BTests, apzRpc_Xdr_Lvalue_Cast_BPatch, 0 },
7739 { zRs6000_DoubleName, zRs6000_DoubleList,
7740 apzRs6000_DoubleMachs,
7741 RS6000_DOUBLE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7742 aRs6000_DoubleTests, apzRs6000_DoublePatch, 0 },
7744 { zRs6000_FchmodName, zRs6000_FchmodList,
7745 apzRs6000_FchmodMachs,
7746 RS6000_FCHMOD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7747 aRs6000_FchmodTests, apzRs6000_FchmodPatch, 0 },
7749 { zRs6000_ParamName, zRs6000_ParamList,
7750 apzRs6000_ParamMachs,
7751 RS6000_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7752 aRs6000_ParamTests, apzRs6000_ParamPatch, 0 },
7754 { zSco_MathName, zSco_MathList,
7756 SCO_MATH_TEST_CT, FD_MACH_ONLY,
7757 aSco_MathTests, apzSco_MathPatch, 0 },
7759 { zSco_RegsetName, zSco_RegsetList,
7761 SCO_REGSET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7762 aSco_RegsetTests, apzSco_RegsetPatch, 0 },
7764 { zSco_Static_FuncName, zSco_Static_FuncList,
7765 apzSco_Static_FuncMachs,
7766 SCO_STATIC_FUNC_TEST_CT, FD_MACH_ONLY,
7767 aSco_Static_FuncTests, apzSco_Static_FuncPatch, 0 },
7769 { zSco_UtimeName, zSco_UtimeList,
7771 SCO_UTIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7772 aSco_UtimeTests, apzSco_UtimePatch, 0 },
7774 { zSolaris_Mutex_Init_1Name, zSolaris_Mutex_Init_1List,
7775 apzSolaris_Mutex_Init_1Machs,
7776 SOLARIS_MUTEX_INIT_1_TEST_CT, FD_MACH_ONLY,
7777 aSolaris_Mutex_Init_1Tests, apzSolaris_Mutex_Init_1Patch, 0 },
7779 { zSolaris_Mutex_Init_2Name, zSolaris_Mutex_Init_2List,
7780 apzSolaris_Mutex_Init_2Machs,
7781 SOLARIS_MUTEX_INIT_2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7782 aSolaris_Mutex_Init_2Tests, apzSolaris_Mutex_Init_2Patch, 0 },
7784 { zSolaris_SocketName, zSolaris_SocketList,
7785 apzSolaris_SocketMachs,
7786 SOLARIS_SOCKET_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7787 aSolaris_SocketTests, apzSolaris_SocketPatch, 0 },
7789 { zSolaris_Stdio_TagName, zSolaris_Stdio_TagList,
7790 apzSolaris_Stdio_TagMachs,
7791 SOLARIS_STDIO_TAG_TEST_CT, FD_MACH_ONLY,
7792 aSolaris_Stdio_TagTests, apzSolaris_Stdio_TagPatch, 0 },
7794 { zSolaris_UnistdName, zSolaris_UnistdList,
7795 apzSolaris_UnistdMachs,
7796 SOLARIS_UNISTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7797 aSolaris_UnistdTests, apzSolaris_UnistdPatch, 0 },
7799 { zSolaris_WidecName, zSolaris_WidecList,
7800 apzSolaris_WidecMachs,
7801 SOLARIS_WIDEC_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7802 aSolaris_WidecTests, apzSolaris_WidecPatch, 0 },
7804 { zStatsswtchName, zStatsswtchList,
7806 STATSSWTCH_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7807 aStatsswtchTests, apzStatsswtchPatch, 0 },
7809 { zStdio_Stdarg_HName, zStdio_Stdarg_HList,
7810 apzStdio_Stdarg_HMachs,
7811 STDIO_STDARG_H_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7812 aStdio_Stdarg_HTests, apzStdio_Stdarg_HPatch, 0 },
7814 { zStdio_Va_ListName, zStdio_Va_ListList,
7815 apzStdio_Va_ListMachs,
7816 STDIO_VA_LIST_TEST_CT, FD_MACH_ONLY,
7817 aStdio_Va_ListTests, apzStdio_Va_ListPatch, 0 },
7819 { zStrict_Ansi_NotName, zStrict_Ansi_NotList,
7820 apzStrict_Ansi_NotMachs,
7821 STRICT_ANSI_NOT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7822 aStrict_Ansi_NotTests, apzStrict_Ansi_NotPatch, 0 },
7824 { zStrict_Ansi_Not_CtdName, zStrict_Ansi_Not_CtdList,
7825 apzStrict_Ansi_Not_CtdMachs,
7826 STRICT_ANSI_NOT_CTD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7827 aStrict_Ansi_Not_CtdTests, apzStrict_Ansi_Not_CtdPatch, 0 },
7829 { zStrict_Ansi_OnlyName, zStrict_Ansi_OnlyList,
7830 apzStrict_Ansi_OnlyMachs,
7831 STRICT_ANSI_ONLY_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7832 aStrict_Ansi_OnlyTests, apzStrict_Ansi_OnlyPatch, 0 },
7834 { zStruct_FileName, zStruct_FileList,
7835 apzStruct_FileMachs,
7836 STRUCT_FILE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7837 aStruct_FileTests, apzStruct_FilePatch, 0 },
7839 { zStruct_SockaddrName, zStruct_SockaddrList,
7840 apzStruct_SockaddrMachs,
7841 STRUCT_SOCKADDR_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7842 aStruct_SockaddrTests, apzStruct_SockaddrPatch, 0 },
7844 { zSun_Auth_ProtoName, zSun_Auth_ProtoList,
7845 apzSun_Auth_ProtoMachs,
7846 SUN_AUTH_PROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7847 aSun_Auth_ProtoTests, apzSun_Auth_ProtoPatch, 0 },
7849 { zSun_Bogus_IfdefName, zSun_Bogus_IfdefList,
7850 apzSun_Bogus_IfdefMachs,
7851 SUN_BOGUS_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7852 aSun_Bogus_IfdefTests, apzSun_Bogus_IfdefPatch, 0 },
7854 { zSun_CatmacroName, zSun_CatmacroList,
7855 apzSun_CatmacroMachs,
7856 SUN_CATMACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7857 aSun_CatmacroTests, apzSun_CatmacroPatch, 0 },
7859 { zSun_MallocName, zSun_MallocList,
7861 SUN_MALLOC_TEST_CT, FD_MACH_ONLY,
7862 aSun_MallocTests, apzSun_MallocPatch, 0 },
7864 { zSun_Rusers_SemiName, zSun_Rusers_SemiList,
7865 apzSun_Rusers_SemiMachs,
7866 SUN_RUSERS_SEMI_TEST_CT, FD_MACH_ONLY,
7867 aSun_Rusers_SemiTests, apzSun_Rusers_SemiPatch, 0 },
7869 { zSun_SignalName, zSun_SignalList,
7871 SUN_SIGNAL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7872 aSun_SignalTests, apzSun_SignalPatch, 0 },
7874 { zSunos_StrlenName, zSunos_StrlenList,
7875 apzSunos_StrlenMachs,
7876 SUNOS_STRLEN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7877 aSunos_StrlenTests, apzSunos_StrlenPatch, 0 },
7879 { zSvr4__PName, zSvr4__PList,
7881 SVR4__P_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7882 aSvr4__PTests, apzSvr4__PPatch, 0 },
7884 { zSvr4_Disable_OptName, zSvr4_Disable_OptList,
7885 apzSvr4_Disable_OptMachs,
7886 SVR4_DISABLE_OPT_TEST_CT, FD_MACH_ONLY,
7887 aSvr4_Disable_OptTests, apzSvr4_Disable_OptPatch, 0 },
7889 { zSvr4_GetcwdName, zSvr4_GetcwdList,
7890 apzSvr4_GetcwdMachs,
7891 SVR4_GETCWD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7892 aSvr4_GetcwdTests, apzSvr4_GetcwdPatch, 0 },
7894 { zSvr4_KrnlName, zSvr4_KrnlList,
7896 SVR4_KRNL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7897 aSvr4_KrnlTests, apzSvr4_KrnlPatch, 0 },
7899 { zSvr4_ProfilName, zSvr4_ProfilList,
7900 apzSvr4_ProfilMachs,
7901 SVR4_PROFIL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7902 aSvr4_ProfilTests, apzSvr4_ProfilPatch, 0 },
7904 { zSvr4_Sighandler_TypeName, zSvr4_Sighandler_TypeList,
7905 apzSvr4_Sighandler_TypeMachs,
7906 SVR4_SIGHANDLER_TYPE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7907 aSvr4_Sighandler_TypeTests, apzSvr4_Sighandler_TypePatch, 0 },
7909 { zSvr4_Undeclared_GetrngeName, zSvr4_Undeclared_GetrngeList,
7910 apzSvr4_Undeclared_GetrngeMachs,
7911 SVR4_UNDECLARED_GETRNGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7912 aSvr4_Undeclared_GetrngeTests, apzSvr4_Undeclared_GetrngePatch, 0 },
7914 { zSysv68_StringName, zSysv68_StringList,
7915 apzSysv68_StringMachs,
7916 SYSV68_STRING_TEST_CT, FD_MACH_ONLY,
7917 aSysv68_StringTests, apzSysv68_StringPatch, 0 },
7919 { zSysz_Stdlib_For_SunName, zSysz_Stdlib_For_SunList,
7920 apzSysz_Stdlib_For_SunMachs,
7921 SYSZ_STDLIB_FOR_SUN_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7922 aSysz_Stdlib_For_SunTests, apzSysz_Stdlib_For_SunPatch, 0 },
7924 { zThread_KeywordName, zThread_KeywordList,
7925 apzThread_KeywordMachs,
7926 THREAD_KEYWORD_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7927 aThread_KeywordTests, apzThread_KeywordPatch, 0 },
7929 { zTinfo_CplusplusName, zTinfo_CplusplusList,
7930 apzTinfo_CplusplusMachs,
7931 TINFO_CPLUSPLUS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7932 aTinfo_CplusplusTests, apzTinfo_CplusplusPatch, 0 },
7934 { zUltrix_Atexit_ParamName, zUltrix_Atexit_ParamList,
7935 apzUltrix_Atexit_ParamMachs,
7936 ULTRIX_ATEXIT_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7937 aUltrix_Atexit_ParamTests, apzUltrix_Atexit_ParamPatch, 0 },
7939 { zUltrix_Atof_ParamName, zUltrix_Atof_ParamList,
7940 apzUltrix_Atof_ParamMachs,
7941 ULTRIX_ATOF_PARAM_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7942 aUltrix_Atof_ParamTests, apzUltrix_Atof_ParamPatch, 0 },
7944 { zUltrix_ConstName, zUltrix_ConstList,
7945 apzUltrix_ConstMachs,
7946 ULTRIX_CONST_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7947 aUltrix_ConstTests, apzUltrix_ConstPatch, 0 },
7949 { zUltrix_Const2Name, zUltrix_Const2List,
7950 apzUltrix_Const2Machs,
7951 ULTRIX_CONST2_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7952 aUltrix_Const2Tests, apzUltrix_Const2Patch, 0 },
7954 { zUltrix_Const3Name, zUltrix_Const3List,
7955 apzUltrix_Const3Machs,
7956 ULTRIX_CONST3_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7957 aUltrix_Const3Tests, apzUltrix_Const3Patch, 0 },
7959 { zUltrix_Fix_FixprotoName, zUltrix_Fix_FixprotoList,
7960 apzUltrix_Fix_FixprotoMachs,
7961 ULTRIX_FIX_FIXPROTO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7962 aUltrix_Fix_FixprotoTests, apzUltrix_Fix_FixprotoPatch, 0 },
7964 { zUltrix_IfdefName, zUltrix_IfdefList,
7965 apzUltrix_IfdefMachs,
7966 ULTRIX_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7967 aUltrix_IfdefTests, apzUltrix_IfdefPatch, 0 },
7969 { zUltrix_LocaleName, zUltrix_LocaleList,
7970 apzUltrix_LocaleMachs,
7971 ULTRIX_LOCALE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7972 aUltrix_LocaleTests, apzUltrix_LocalePatch, 0 },
7974 { zUltrix_Math_IfdefName, zUltrix_Math_IfdefList,
7975 apzUltrix_Math_IfdefMachs,
7976 ULTRIX_MATH_IFDEF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
7977 aUltrix_Math_IfdefTests, apzUltrix_Math_IfdefPatch, 0 },
7979 { zUltrix_Nested_IoctlName, zUltrix_Nested_IoctlList,
7980 apzUltrix_Nested_IoctlMachs,
7981 ULTRIX_NESTED_IOCTL_TEST_CT, FD_MACH_ONLY,
7982 aUltrix_Nested_IoctlTests, apzUltrix_Nested_IoctlPatch, 0 },
7984 { zUltrix_Nested_SvcName, zUltrix_Nested_SvcList,
7985 apzUltrix_Nested_SvcMachs,
7986 ULTRIX_NESTED_SVC_TEST_CT, FD_MACH_ONLY,
7987 aUltrix_Nested_SvcTests, apzUltrix_Nested_SvcPatch, 0 },
7989 { zUltrix_StatName, zUltrix_StatList,
7990 apzUltrix_StatMachs,
7991 ULTRIX_STAT_TEST_CT, FD_MACH_ONLY,
7992 aUltrix_StatTests, apzUltrix_StatPatch, 0 },
7994 { zUltrix_StaticName, zUltrix_StaticList,
7995 apzUltrix_StaticMachs,
7996 ULTRIX_STATIC_TEST_CT, FD_MACH_ONLY,
7997 aUltrix_StaticTests, apzUltrix_StaticPatch, 0 },
7999 { zUltrix_StdlibName, zUltrix_StdlibList,
8000 apzUltrix_StdlibMachs,
8001 ULTRIX_STDLIB_TEST_CT, FD_MACH_ONLY,
8002 aUltrix_StdlibTests, apzUltrix_StdlibPatch, 0 },
8004 { zUltrix_StringsName, zUltrix_StringsList,
8005 apzUltrix_StringsMachs,
8006 ULTRIX_STRINGS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8007 aUltrix_StringsTests, apzUltrix_StringsPatch, 0 },
8009 { zUltrix_Strings2Name, zUltrix_Strings2List,
8010 apzUltrix_Strings2Machs,
8011 ULTRIX_STRINGS2_TEST_CT, FD_MACH_ONLY,
8012 aUltrix_Strings2Tests, apzUltrix_Strings2Patch, 0 },
8014 { zUltrix_Sys_TimeName, zUltrix_Sys_TimeList,
8015 apzUltrix_Sys_TimeMachs,
8016 ULTRIX_SYS_TIME_TEST_CT, FD_MACH_ONLY,
8017 aUltrix_Sys_TimeTests, apzUltrix_Sys_TimePatch, 0 },
8019 { zUltrix_UnistdName, zUltrix_UnistdList,
8020 apzUltrix_UnistdMachs,
8021 ULTRIX_UNISTD_TEST_CT, FD_MACH_ONLY,
8022 aUltrix_UnistdTests, apzUltrix_UnistdPatch, 0 },
8024 { zUndefine_NullName, zUndefine_NullList,
8025 apzUndefine_NullMachs,
8026 UNDEFINE_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8027 aUndefine_NullTests, apzUndefine_NullPatch, 0 },
8029 { zUnicosmk_RestrictName, zUnicosmk_RestrictList,
8030 apzUnicosmk_RestrictMachs,
8031 UNICOSMK_RESTRICT_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8032 aUnicosmk_RestrictTests, apzUnicosmk_RestrictPatch, 0 },
8034 { zUw7_Byteorder_FixName, zUw7_Byteorder_FixList,
8035 apzUw7_Byteorder_FixMachs,
8036 UW7_BYTEORDER_FIX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8037 aUw7_Byteorder_FixTests, apzUw7_Byteorder_FixPatch, 0 },
8039 { zVa_I960_MacroName, zVa_I960_MacroList,
8040 apzVa_I960_MacroMachs,
8041 VA_I960_MACRO_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8042 aVa_I960_MacroTests, apzVa_I960_MacroPatch, 0 },
8044 { zVoid_NullName, zVoid_NullList,
8046 VOID_NULL_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8047 aVoid_NullTests, apzVoid_NullPatch, 0 },
8049 { zVxworks_Gcc_ProblemName, zVxworks_Gcc_ProblemList,
8050 apzVxworks_Gcc_ProblemMachs,
8051 VXWORKS_GCC_PROBLEM_TEST_CT, FD_MACH_ONLY,
8052 aVxworks_Gcc_ProblemTests, apzVxworks_Gcc_ProblemPatch, 0 },
8054 { zVxworks_Needs_VxtypesName, zVxworks_Needs_VxtypesList,
8055 apzVxworks_Needs_VxtypesMachs,
8056 VXWORKS_NEEDS_VXTYPES_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8057 aVxworks_Needs_VxtypesTests, apzVxworks_Needs_VxtypesPatch, 0 },
8059 { zVxworks_Needs_VxworksName, zVxworks_Needs_VxworksList,
8060 apzVxworks_Needs_VxworksMachs,
8061 VXWORKS_NEEDS_VXWORKS_TEST_CT, FD_MACH_ONLY,
8062 aVxworks_Needs_VxworksTests, apzVxworks_Needs_VxworksPatch, 0 },
8064 { zVxworks_TimeName, zVxworks_TimeList,
8065 apzVxworks_TimeMachs,
8066 VXWORKS_TIME_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8067 aVxworks_TimeTests, apzVxworks_TimePatch, 0 },
8069 { zWindiss_Math1Name, zWindiss_Math1List,
8070 apzWindiss_Math1Machs,
8071 WINDISS_MATH1_TEST_CT, FD_MACH_ONLY,
8072 aWindiss_Math1Tests, apzWindiss_Math1Patch, 0 },
8074 { zWindiss_Math2Name, zWindiss_Math2List,
8075 apzWindiss_Math2Machs,
8076 WINDISS_MATH2_TEST_CT, FD_MACH_ONLY,
8077 aWindiss_Math2Tests, apzWindiss_Math2Patch, 0 },
8079 { zWindiss_ValistName, zWindiss_ValistList,
8080 apzWindiss_ValistMachs,
8081 WINDISS_VALIST_TEST_CT, FD_MACH_ONLY,
8082 aWindiss_ValistTests, apzWindiss_ValistPatch, 0 },
8084 { zX11_ClassName, zX11_ClassList,
8086 X11_CLASS_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8087 aX11_ClassTests, apzX11_ClassPatch, 0 },
8089 { zX11_Class_UsageName, zX11_Class_UsageList,
8090 apzX11_Class_UsageMachs,
8091 X11_CLASS_USAGE_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8092 aX11_Class_UsageTests, apzX11_Class_UsagePatch, 0 },
8094 { zX11_NewName, zX11_NewList,
8096 X11_NEW_TEST_CT, FD_MACH_ONLY,
8097 aX11_NewTests, apzX11_NewPatch, 0 },
8099 { zX11_SprintfName, zX11_SprintfList,
8100 apzX11_SprintfMachs,
8101 X11_SPRINTF_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
8102 aX11_SprintfTests, apzX11_SprintfPatch, 0 }