blob: e2e28db88e5d66478ca6f8a37f8956c146523ebe [file] [log] [blame]
/* -*- buffer-read-only: t -*- vi: set ro:
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed Saturday February 28, 2009 at 10:11:41 AM PST
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Sat Feb 28 10:11:41 PST 2009
*
* You must regenerate it. Use the ./genfixes script.
*
*
* This is part of the fixincl program used to install modified versions of
* certain ANSI-incompatible system header files which are fixed to work
* correctly with ANSI C and placed in a directory that GNU C will search.
*
* This file contains 180 fixup descriptions.
*
* See README for more information.
*
* inclhack copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
* 2006, 2007, 2008
* The Free Software Foundation, Inc.
*
* inclhack is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* inclhack is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SED_PROGRAM
#define SED_PROGRAM "/usr/bin/sed"
#endif
static char const sed_cmd_z[] = SED_PROGRAM;
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Aix_Stdio fix
*/
tSCC zAab_Aix_StdioName[] =
"AAB_aix_stdio";
/*
* File name selection pattern
*/
tSCC zAab_Aix_StdioList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Aix_StdioMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAab_Aix_StdioSelect0[] =
"define fopen fopen64";
#define AAB_AIX_STDIO_TEST_CT 1
static tTestDesc aAab_Aix_StdioTests[] = {
{ TT_EGREP, zAab_Aix_StdioSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aab_Aix_Stdio
*/
static const char* apzAab_Aix_StdioPatch[] = {
"wrap",
"",
"\n\
#if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
#define __need__aix_stdio_h_fix\n\
#ifdef __need__aix_stdio_h_fix\n\
#undef fseeko\n\
#undef ftello\n\
#undef fgetpos\n\
#undef fsetpos\n\
#undef fopen\n\
#undef freopen\n\
/* Alias the symbols using asm */\n\
extern \"C\" {\n\
extern int fgetpos(FILE *, fpos64_t *) __asm__(\"fgetpos64\");\n\
extern FILE *fopen(const char *, const char *) __asm__(\"fopen64\");\n\
extern FILE *freopen(const char *, const char *, FILE *) __asm__(\"freopen64\");\n\
extern int fseeko(FILE *, off64_t, int) __asm__(\"fseeko64\");\n\
extern int fsetpos(FILE *, const fpos64_t *) __asm__(\"fsetpos64\");\n\
extern off64_t ftello(FILE *) __asm__(\"ftello64\");\n\
}\n\
#endif\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Darwin7_9_Long_Double_Funcs fix
*/
tSCC zAab_Darwin7_9_Long_Double_FuncsName[] =
"AAB_darwin7_9_long_double_funcs";
/*
* File name selection pattern
*/
tSCC zAab_Darwin7_9_Long_Double_FuncsList[] =
"architecture/ppc/math.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Darwin7_9_Long_Double_FuncsMachs[] = {
"*-*-darwin7.9*",
(const char*)NULL };
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAab_Darwin7_9_Long_Double_FuncsBypass0[] =
"powl";
#define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_TEST_CT 1
static tTestDesc aAab_Darwin7_9_Long_Double_FuncsTests[] = {
{ TT_NEGREP, zAab_Darwin7_9_Long_Double_FuncsBypass0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs
*/
static const char* apzAab_Darwin7_9_Long_Double_FuncsPatch[] = {
"/* This file prototypes the long double functions available on Mac OS\n\
10.3.9. */\n\
#ifndef __MATH__\n\
# undef __APPLE_CC__\n\
# define __APPLE_CC__ 1345\n\
# include_next <architecture/ppc/math.h>\n\
# undef __APPLE_CC__\n\
# define __APPLE_CC__ 1\n\
# ifndef __LIBMLDBL_COMPAT\n\
# ifdef __LONG_DOUBLE_128__\n\
# define __LIBMLDBL_COMPAT(sym) __asm(\"_\" #sym \"$LDBL128\")\n\
# else\n\
# define __LIBMLDBL_COMPAT(sym)\n\
# endif /* __LONG_DOUBLE_128__ */\n\
# endif /* __LIBMLDBL_COMPAT */\n\
# ifdef __cplusplus\n\
extern \"C\" {\n\
# endif\n\
extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);\n\
extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);\n\
extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);\n\
extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);\n\
extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);\n\
extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);\n\
extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);\n\
extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);\n\
extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);\n\
extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);\n\
extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);\n\
extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);\n\
extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);\n\
extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);\n\
extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);\n\
extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);\n\
extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);\n\
extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);\n\
extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);\n\
extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);\n\
extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);\n\
extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);\n\
extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);\n\
extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);\n\
extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);\n\
extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);\n\
extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);\n\
extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);\n\
extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);\n\
extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);\n\
extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);\n\
extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);\n\
extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);\n\
extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);\n\
extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);\n\
extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);\n\
extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);\n\
extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);\n\
extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);\n\
extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);\n\
extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);\n\
extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);\n\
extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);\n\
extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);\n\
extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);\n\
extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);\n\
extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);\n\
extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);\n\
extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);\n\
extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);\n\
extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);\n\
extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);\n\
extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);\n\
extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);\n\
extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);\n\
extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);\n\
extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);\n\
# ifdef __cplusplus\n\
}\n\
# endif\n\
#endif /* __MATH__ */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Darwin7_9_Long_Double_Funcs_2 fix
*/
tSCC zAab_Darwin7_9_Long_Double_Funcs_2Name[] =
"AAB_darwin7_9_long_double_funcs_2";
/*
* File name selection pattern
*/
tSCC zAab_Darwin7_9_Long_Double_Funcs_2List[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Darwin7_9_Long_Double_Funcs_2Machs[] = {
"*-*-darwin7.9*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAab_Darwin7_9_Long_Double_Funcs_2Select0[] =
"#include[ \\t]+\\\"";
#define AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
static tTestDesc aAab_Darwin7_9_Long_Double_Funcs_2Tests[] = {
{ TT_EGREP, zAab_Darwin7_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aab_Darwin7_9_Long_Double_Funcs_2
*/
static const char* apzAab_Darwin7_9_Long_Double_Funcs_2Patch[] = {
"format",
"%1<%2.h>",
"([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Fd_Zero_Asm_Posix_Types_H fix
*/
tSCC zAab_Fd_Zero_Asm_Posix_Types_HName[] =
"AAB_fd_zero_asm_posix_types_h";
/*
* File name selection pattern
*/
tSCC zAab_Fd_Zero_Asm_Posix_Types_HList[] =
"asm/posix_types.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Fd_Zero_Asm_Posix_Types_HMachs[] = {
"i[34567]86-*-linux*",
(const char*)NULL };
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass0[] =
"} while";
tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass1[] =
"x86_64";
tSCC zAab_Fd_Zero_Asm_Posix_Types_HBypass2[] =
"posix_types_64";
#define AAB_FD_ZERO_ASM_POSIX_TYPES_H_TEST_CT 3
static tTestDesc aAab_Fd_Zero_Asm_Posix_Types_HTests[] = {
{ TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass0, (regex_t*)NULL },
{ TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass1, (regex_t*)NULL },
{ TT_NEGREP, zAab_Fd_Zero_Asm_Posix_Types_HBypass2, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aab_Fd_Zero_Asm_Posix_Types_H
*/
static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
"/* This file fixes a bug in the __FD_ZERO macro\n\
for older versions of the Linux kernel. */\n\
#ifndef _POSIX_TYPES_H_WRAPPER\n\
#include <features.h>\n\
#include_next <asm/posix_types.h>\n\n\
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
#undef __FD_ZERO\n\
#define __FD_ZERO(fdsetp) \\\n\
do { \\\n\
int __d0, __d1; \\\n\
__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
\"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
} while (0)\n\
#endif\n\n\
#define _POSIX_TYPES_H_WRAPPER\n\
#endif /* _POSIX_TYPES_H_WRAPPER */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Fd_Zero_Gnu_Types_H fix
*/
tSCC zAab_Fd_Zero_Gnu_Types_HName[] =
"AAB_fd_zero_gnu_types_h";
/*
* File name selection pattern
*/
tSCC zAab_Fd_Zero_Gnu_Types_HList[] =
"gnu/types.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Fd_Zero_Gnu_Types_HMachs[] = {
"i[34567]86-*-linux*",
(const char*)NULL };
#define AAB_FD_ZERO_GNU_TYPES_H_TEST_CT 0
#define aAab_Fd_Zero_Gnu_Types_HTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Aab_Fd_Zero_Gnu_Types_H
*/
static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
#ifndef _TYPES_H_WRAPPER\n\
#include <features.h>\n\
#include_next <gnu/types.h>\n\n\
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
#undef __FD_ZERO\n\
# define __FD_ZERO(fdsetp) \\\n\
do { \\\n\
int __d0, __d1; \\\n\
__asm__ __volatile__(\"cld ; rep ; stosl\" \\\n\
: \"=&c\" (__d0), \"=&D\" (__d1) \\\n\
: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
\"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
} while (0)\n\
#endif\n\n\
#define _TYPES_H_WRAPPER\n\
#endif /* _TYPES_H_WRAPPER */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Fd_Zero_Selectbits_H fix
*/
tSCC zAab_Fd_Zero_Selectbits_HName[] =
"AAB_fd_zero_selectbits_h";
/*
* File name selection pattern
*/
tSCC zAab_Fd_Zero_Selectbits_HList[] =
"selectbits.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Fd_Zero_Selectbits_HMachs[] = {
"i[34567]86-*-linux*",
(const char*)NULL };
#define AAB_FD_ZERO_SELECTBITS_H_TEST_CT 0
#define aAab_Fd_Zero_Selectbits_HTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Aab_Fd_Zero_Selectbits_H
*/
static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
#ifndef _SELECTBITS_H_WRAPPER\n\
#include <features.h>\n\
#include_next <selectbits.h>\n\n\
#if defined(__FD_ZERO) && defined(__GLIBC__) \\\\\n\
&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\\\n\
&& __GLIBC_MINOR__ == 0\n\
#undef __FD_ZERO\n\
#define __FD_ZERO(fdsetp) \\\\\n\
do { \\\\\n\
int __d0, __d1; \\\\\n\
__asm__ __volatile__ (\"cld; rep; stosl\" \\\\\n\
: \"=&c\" (__d0), \"=&D\" (__d1) \\\\\n\
: \"a\" (0), \"0\" (sizeof (__fd_set) \\\\\n\
/ sizeof (__fd_mask)), \\\\\n\
\"1\" ((__fd_mask *) (fdsetp)) \\\\\n\
: \"memory\"); \\\\\n\
} while (0)\n\
#endif\n\n\
#define _SELECTBITS_H_WRAPPER\n\
#endif /* _SELECTBITS_H_WRAPPER */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Solaris_Sys_Varargs_H fix
*/
tSCC zAab_Solaris_Sys_Varargs_HName[] =
"AAB_solaris_sys_varargs_h";
/*
* File name selection pattern
*/
tSCC zAab_Solaris_Sys_Varargs_HList[] =
"sys/varargs.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Solaris_Sys_Varargs_HMachs[] = {
"*-*-solaris*",
(const char*)NULL };
#define AAB_SOLARIS_SYS_VARARGS_H_TEST_CT 0
#define aAab_Solaris_Sys_Varargs_HTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Aab_Solaris_Sys_Varargs_H
*/
static const char* apzAab_Solaris_Sys_Varargs_HPatch[] = {
"#ifdef __STDC__\n\
#include <stdarg.h>\n\
#else\n\
#include <varargs.h>\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Sun_Memcpy fix
*/
tSCC zAab_Sun_MemcpyName[] =
"AAB_sun_memcpy";
/*
* File name selection pattern
*/
tSCC zAab_Sun_MemcpyList[] =
"memory.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAab_Sun_MemcpyMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAab_Sun_MemcpySelect0[] =
"/\\*\t@\\(#\\)(head/memory.h\t50.1\t |memory\\.h 1\\.[2-4] 8./../.. SMI; from S5R2 1\\.2\t)\\*/";
#define AAB_SUN_MEMCPY_TEST_CT 1
static tTestDesc aAab_Sun_MemcpyTests[] = {
{ TT_EGREP, zAab_Sun_MemcpySelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aab_Sun_Memcpy
*/
static const char* apzAab_Sun_MemcpyPatch[] = {
"/* This file was generated by fixincludes */\n\
#ifndef __memory_h__\n\
#define __memory_h__\n\n\
#ifdef __STDC__\n\
extern void *memccpy();\n\
extern void *memchr();\n\
extern void *memcpy();\n\
extern void *memset();\n\
#else\n\
extern char *memccpy();\n\
extern char *memchr();\n\
extern char *memcpy();\n\
extern char *memset();\n\
#endif /* __STDC__ */\n\n\
extern int memcmp();\n\n\
#endif /* __memory_h__ */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Pthread fix
*/
tSCC zAix_PthreadName[] =
"aix_pthread";
/*
* File name selection pattern
*/
tSCC zAix_PthreadList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAix_PthreadMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_PthreadSelect0[] =
"(#define [A-Za-z_0-9]+)(\\\\\n\
[^A-Za-z_0-9 \t\n\
(])";
#define AIX_PTHREAD_TEST_CT 1
static tTestDesc aAix_PthreadTests[] = {
{ TT_EGREP, zAix_PthreadSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Pthread
*/
static const char* apzAix_PthreadPatch[] = {
"format",
"%1 %2",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Sysmachine fix
*/
tSCC zAix_SysmachineName[] =
"aix_sysmachine";
/*
* File name selection pattern
*/
tSCC zAix_SysmachineList[] =
"sys/machine.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAix_SysmachineMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_SysmachineSelect0[] =
"\\\\ +\n";
#define AIX_SYSMACHINE_TEST_CT 1
static tTestDesc aAix_SysmachineTests[] = {
{ TT_EGREP, zAix_SysmachineSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Sysmachine
*/
static const char* apzAix_SysmachinePatch[] = {
"format",
"\\\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Syswait fix
*/
tSCC zAix_SyswaitName[] =
"aix_syswait";
/*
* File name selection pattern
*/
tSCC zAix_SyswaitList[] =
"sys/wait.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAix_SyswaitMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_SyswaitSelect0[] =
"^extern pid_t wait3\\(\\);\n";
tSCC zAix_SyswaitSelect1[] =
"bos325,";
#define AIX_SYSWAIT_TEST_CT 2
static tTestDesc aAix_SyswaitTests[] = {
{ TT_EGREP, zAix_SyswaitSelect0, (regex_t*)NULL },
{ TT_EGREP, zAix_SyswaitSelect1, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Syswait
*/
static const char* apzAix_SyswaitPatch[] = {
"format",
"struct rusage;\n\
%0",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Syswait_2 fix
*/
tSCC zAix_Syswait_2Name[] =
"aix_syswait_2";
/*
* File name selection pattern
*/
tSCC zAix_Syswait_2List[] =
"sys/wait.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAix_Syswait_2Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Syswait_2Select0[] =
"\\? (\\(\\(\\(\\(unsigned[^)]*\\)[^)]*\\) >> [^)]*\\) \\& 0xff\\) : -1)";
#define AIX_SYSWAIT_2_TEST_CT 1
static tTestDesc aAix_Syswait_2Tests[] = {
{ TT_EGREP, zAix_Syswait_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Syswait_2
*/
static const char* apzAix_Syswait_2Patch[] = {
"format",
"? (int)%1",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Volatile fix
*/
tSCC zAix_VolatileName[] =
"aix_volatile";
/*
* File name selection pattern
*/
tSCC zAix_VolatileList[] =
"sys/signal.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAix_VolatileMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_VolatileSelect0[] =
"typedef volatile int sig_atomic_t";
#define AIX_VOLATILE_TEST_CT 1
static tTestDesc aAix_VolatileTests[] = {
{ TT_EGREP, zAix_VolatileSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Volatile
*/
static const char* apzAix_VolatilePatch[] = {
"format",
"typedef int sig_atomic_t",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha___Assert fix
*/
tSCC zAlpha___AssertName[] =
"alpha___assert";
/*
* File name selection pattern
*/
tSCC zAlpha___AssertList[] =
"assert.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAlpha___AssertMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha___AssertSelect0[] =
"__assert\\(char \\*, char \\*, int\\)";
#define ALPHA___ASSERT_TEST_CT 1
static tTestDesc aAlpha___AssertTests[] = {
{ TT_EGREP, zAlpha___AssertSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha___Assert
*/
static const char* apzAlpha___AssertPatch[] = {
"format",
"__assert(const char *, const char *, int)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha___Extern_Prefix fix
*/
tSCC zAlpha___Extern_PrefixName[] =
"alpha___extern_prefix";
/*
* File name selection pattern
*/
#define zAlpha___Extern_PrefixList (char*)NULL
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha___Extern_PrefixMachs[] = {
"alpha*-dec-osf*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha___Extern_PrefixSelect0[] =
"(.*)(defined\\(__DECC\\)|def[ \t]*__DECC)[ \t]*\n\
(#[ \t]*pragma[ \t]*extern_prefix.*)";
#define ALPHA___EXTERN_PREFIX_TEST_CT 1
static tTestDesc aAlpha___Extern_PrefixTests[] = {
{ TT_EGREP, zAlpha___Extern_PrefixSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha___Extern_Prefix
*/
static const char* apzAlpha___Extern_PrefixPatch[] = {
"format",
"%1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))\n\
%3",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha___Extern_Prefix_Standards fix
*/
tSCC zAlpha___Extern_Prefix_StandardsName[] =
"alpha___extern_prefix_standards";
/*
* File name selection pattern
*/
tSCC zAlpha___Extern_Prefix_StandardsList[] =
"standards.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha___Extern_Prefix_StandardsMachs[] = {
"alpha*-dec-osf*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha___Extern_Prefix_StandardsSelect0[] =
".*!defined\\(_LIBC_POLLUTION_H_\\) && !defined\\(__DECC\\)";
#define ALPHA___EXTERN_PREFIX_STANDARDS_TEST_CT 1
static tTestDesc aAlpha___Extern_Prefix_StandardsTests[] = {
{ TT_EGREP, zAlpha___Extern_Prefix_StandardsSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha___Extern_Prefix_Standards
*/
static const char* apzAlpha___Extern_Prefix_StandardsPatch[] = {
"format",
"%0 && !defined(__PRAGMA_EXTERN_PREFIX)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha___Extern_Prefix_Sys_Stat fix
*/
tSCC zAlpha___Extern_Prefix_Sys_StatName[] =
"alpha___extern_prefix_sys_stat";
/*
* File name selection pattern
*/
tSCC zAlpha___Extern_Prefix_Sys_StatList[] =
"sys/stat.h\0sys/mount.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha___Extern_Prefix_Sys_StatMachs[] = {
"alpha*-dec-osf5*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha___Extern_Prefix_Sys_StatSelect0[] =
"#[ \t]*if[ \t]*defined\\(__DECC\\)";
#define ALPHA___EXTERN_PREFIX_SYS_STAT_TEST_CT 1
static tTestDesc aAlpha___Extern_Prefix_Sys_StatTests[] = {
{ TT_EGREP, zAlpha___Extern_Prefix_Sys_StatSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha___Extern_Prefix_Sys_Stat
*/
static const char* apzAlpha___Extern_Prefix_Sys_StatPatch[] = {
"format",
"%0 || defined(__PRAGMA_EXTERN_PREFIX)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Assert fix
*/
tSCC zAlpha_AssertName[] =
"alpha_assert";
/*
* File name selection pattern
*/
tSCC zAlpha_AssertList[] =
"assert.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAlpha_AssertMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_AssertSelect0[] =
"(#define assert\\(EX\\).*)\\(\\(int\\) \\(EX\\)\\)";
#define ALPHA_ASSERT_TEST_CT 1
static tTestDesc aAlpha_AssertTests[] = {
{ TT_EGREP, zAlpha_AssertSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Assert
*/
static const char* apzAlpha_AssertPatch[] = {
"format",
"%1(EX)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Bad_Lval fix
*/
tSCC zAlpha_Bad_LvalName[] =
"alpha_bad_lval";
/*
* File name selection pattern
*/
#define zAlpha_Bad_LvalList (char*)NULL
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha_Bad_LvalMachs[] = {
"alpha*-dec-osf*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_Bad_LvalSelect0[] =
"^[ \t]*#[ \t]*pragma[ \t]+extern_prefix";
#define ALPHA_BAD_LVAL_TEST_CT 1
static tTestDesc aAlpha_Bad_LvalTests[] = {
{ TT_EGREP, zAlpha_Bad_LvalSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Bad_Lval
*/
static const char* apzAlpha_Bad_LvalPatch[] = { sed_cmd_z,
"-e", "s/^[ \t]*#[ \t]*define[ \t][ \t]*\\([^(]*\\)\\(([^)]*)\\)[ \t]*\\(_.*\\)\\1\\2[ \t]*$/#define \\1 \\3\\1/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Getopt fix
*/
tSCC zAlpha_GetoptName[] =
"alpha_getopt";
/*
* File name selection pattern
*/
tSCC zAlpha_GetoptList[] =
"stdio.h\0stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAlpha_GetoptMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_GetoptSelect0[] =
"getopt\\(int, char \\*\\[\\], *char \\*\\)";
#define ALPHA_GETOPT_TEST_CT 1
static tTestDesc aAlpha_GetoptTests[] = {
{ TT_EGREP, zAlpha_GetoptSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Getopt
*/
static const char* apzAlpha_GetoptPatch[] = {
"format",
"getopt(int, char *const[], const char *)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_If_Semicolon fix
*/
tSCC zAlpha_If_SemicolonName[] =
"alpha_if_semicolon";
/*
* File name selection pattern
*/
tSCC zAlpha_If_SemicolonList[] =
"net/if.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAlpha_If_SemicolonMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_If_SemicolonSelect0[] =
"struct[ \t]+sockaddr[ \t]+vmif_paddr[ \t]+/\\*";
#define ALPHA_IF_SEMICOLON_TEST_CT 1
static tTestDesc aAlpha_If_SemicolonTests[] = {
{ TT_EGREP, zAlpha_If_SemicolonSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_If_Semicolon
*/
static const char* apzAlpha_If_SemicolonPatch[] = {
"format",
"struct sockaddr vmif_paddr;\t/*",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Parens fix
*/
tSCC zAlpha_ParensName[] =
"alpha_parens";
/*
* File name selection pattern
*/
tSCC zAlpha_ParensList[] =
"sym.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAlpha_ParensMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_ParensSelect0[] =
"#ifndef\\(__mips64\\)";
#define ALPHA_PARENS_TEST_CT 1
static tTestDesc aAlpha_ParensTests[] = {
{ TT_EGREP, zAlpha_ParensSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Parens
*/
static const char* apzAlpha_ParensPatch[] = {
"format",
"#ifndef __mips64",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Pthread fix
*/
tSCC zAlpha_PthreadName[] =
"alpha_pthread";
/*
* File name selection pattern
*/
tSCC zAlpha_PthreadList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha_PthreadMachs[] = {
"alpha*-dec-osf*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_PthreadSelect0[] =
"((#[ \t]*if)([ \t]*defined[ \t]*\\(_PTHREAD_ENV_DECC\\)|def _PTHREAD_ENV_DECC)(.*))\n\
(#[ \t]*define _PTHREAD_USE_PTDNAM_)";
#define ALPHA_PTHREAD_TEST_CT 1
static tTestDesc aAlpha_PthreadTests[] = {
{ TT_EGREP, zAlpha_PthreadSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Pthread
*/
static const char* apzAlpha_PthreadPatch[] = {
"format",
"%2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX)\n\
%5",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Pthread_Gcc fix
*/
tSCC zAlpha_Pthread_GccName[] =
"alpha_pthread_gcc";
/*
* File name selection pattern
*/
tSCC zAlpha_Pthread_GccList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha_Pthread_GccMachs[] = {
"alpha*-dec-osf*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_Pthread_GccSelect0[] =
"#else\n\
# error <pthread.h>: unrecognized compiler.";
#define ALPHA_PTHREAD_GCC_TEST_CT 1
static tTestDesc aAlpha_Pthread_GccTests[] = {
{ TT_EGREP, zAlpha_Pthread_GccSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Pthread_Gcc
*/
static const char* apzAlpha_Pthread_GccPatch[] = {
"format",
"#elif defined (__GNUC__)\n\
# define _PTHREAD_ENV_GCC\n\
%0",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Pthread_Init fix
*/
tSCC zAlpha_Pthread_InitName[] =
"alpha_pthread_init";
/*
* File name selection pattern
*/
tSCC zAlpha_Pthread_InitList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha_Pthread_InitMachs[] = {
"alpha*-dec-osf*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_Pthread_InitSelect0[] =
" \\* @\\(#\\).RCSfile: pthread\\.h,v \\$ .Revision: 1\\.1\\.33\\.21 \\$ \\(DEC\\) .Date: 2000/08/15 15:30:13 \\$";
#define ALPHA_PTHREAD_INIT_TEST_CT 1
static tTestDesc aAlpha_Pthread_InitTests[] = {
{ TT_EGREP, zAlpha_Pthread_InitSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Pthread_Init
*/
static const char* apzAlpha_Pthread_InitPatch[] = { sed_cmd_z,
"-e", "s@MVALID\\(.*\\)A}@MVALID\\1A, 0, 0, 0, 0, 0, 0 }@\n\
s@MVALID\\(.*\\)_}@MVALID\\1_, 0, 0, 0, 0 }@\n\
s@CVALID\\(.*\\)A}@CVALID\\1A, 0, 0, 0, 0 }@\n\
s@CVALID\\(.*\\)_}@CVALID\\1_, 0, 0 }@\n\
s@WVALID\\(.*\\)A}@WVALID\\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@\n\
s@WVALID\\(.*\\)_}@WVALID\\1_, 0, 0, 0, 0, 0, 0, 0 }@\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Sbrk fix
*/
tSCC zAlpha_SbrkName[] =
"alpha_sbrk";
/*
* File name selection pattern
*/
tSCC zAlpha_SbrkList[] =
"unistd.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAlpha_SbrkMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_SbrkSelect0[] =
"char[ \t]*\\*[\t ]*sbrk[ \t]*\\(";
#define ALPHA_SBRK_TEST_CT 1
static tTestDesc aAlpha_SbrkTests[] = {
{ TT_EGREP, zAlpha_SbrkSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Sbrk
*/
static const char* apzAlpha_SbrkPatch[] = {
"format",
"void *sbrk(",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Alpha_Wchar fix
*/
tSCC zAlpha_WcharName[] =
"alpha_wchar";
/*
* File name selection pattern
*/
tSCC zAlpha_WcharList[] =
"wchar.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAlpha_WcharMachs[] = {
"alpha*-dec-osf4*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAlpha_WcharSelect0[] =
"#define wcstok wcstok_r";
#define ALPHA_WCHAR_TEST_CT 1
static tTestDesc aAlpha_WcharTests[] = {
{ TT_EGREP, zAlpha_WcharSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Alpha_Wchar
*/
static const char* apzAlpha_WcharPatch[] = { sed_cmd_z,
"-e", "s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__(\"wcstok_r\");@",
"-e", "s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__(\"__wcsftime_isoc\");@",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Avoid_Bool_Define fix
*/
tSCC zAvoid_Bool_DefineName[] =
"avoid_bool_define";
/*
* File name selection pattern
*/
tSCC zAvoid_Bool_DefineList[] =
"curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAvoid_Bool_DefineMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAvoid_Bool_DefineSelect0[] =
"#[ \t]*define[ \t]+bool[ \t]";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAvoid_Bool_DefineBypass0[] =
"__cplusplus";
#define AVOID_BOOL_DEFINE_TEST_CT 2
static tTestDesc aAvoid_Bool_DefineTests[] = {
{ TT_NEGREP, zAvoid_Bool_DefineBypass0, (regex_t*)NULL },
{ TT_EGREP, zAvoid_Bool_DefineSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Avoid_Bool_Define
*/
static const char* apzAvoid_Bool_DefinePatch[] = {
"format",
"#ifndef __cplusplus\n\
%0\n\
#endif",
"^[ \t]*#[ \t]*define[ \t]+bool[ \t].*",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Avoid_Bool_Type fix
*/
tSCC zAvoid_Bool_TypeName[] =
"avoid_bool_type";
/*
* File name selection pattern
*/
tSCC zAvoid_Bool_TypeList[] =
"curses.h\0curses_colr/curses.h\0term.h\0tinfo.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzAvoid_Bool_TypeMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAvoid_Bool_TypeSelect0[] =
"^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAvoid_Bool_TypeBypass0[] =
"__cplusplus";
#define AVOID_BOOL_TYPE_TEST_CT 2
static tTestDesc aAvoid_Bool_TypeTests[] = {
{ TT_NEGREP, zAvoid_Bool_TypeBypass0, (regex_t*)NULL },
{ TT_EGREP, zAvoid_Bool_TypeSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Avoid_Bool_Type
*/
static const char* apzAvoid_Bool_TypePatch[] = {
"format",
"#ifndef __cplusplus\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Avoid_Wchar_T_Type fix
*/
tSCC zAvoid_Wchar_T_TypeName[] =
"avoid_wchar_t_type";
/*
* File name selection pattern
*/
#define zAvoid_Wchar_T_TypeList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzAvoid_Wchar_T_TypeMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAvoid_Wchar_T_TypeSelect0[] =
"^[ \t]*typedef[ \t].*[ \t]wchar_t[ \t]*;";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAvoid_Wchar_T_TypeBypass0[] =
"__cplusplus";
tSCC zAvoid_Wchar_T_TypeBypass1[] =
"_LINUX_NLS_H";
tSCC zAvoid_Wchar_T_TypeBypass2[] =
"XFree86: xc/lib/X11/Xlib\\.h";
#define AVOID_WCHAR_T_TYPE_TEST_CT 4
static tTestDesc aAvoid_Wchar_T_TypeTests[] = {
{ TT_NEGREP, zAvoid_Wchar_T_TypeBypass0, (regex_t*)NULL },
{ TT_NEGREP, zAvoid_Wchar_T_TypeBypass1, (regex_t*)NULL },
{ TT_NEGREP, zAvoid_Wchar_T_TypeBypass2, (regex_t*)NULL },
{ TT_EGREP, zAvoid_Wchar_T_TypeSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Avoid_Wchar_T_Type
*/
static const char* apzAvoid_Wchar_T_TypePatch[] = {
"format",
"#ifndef __cplusplus\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Bad_Struct_Term fix
*/
tSCC zBad_Struct_TermName[] =
"bad_struct_term";
/*
* File name selection pattern
*/
tSCC zBad_Struct_TermList[] =
"curses.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzBad_Struct_TermMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBad_Struct_TermSelect0[] =
"^[ \t]*typedef[ \t]+struct[ \t]+term[ \t]*;";
#define BAD_STRUCT_TERM_TEST_CT 1
static tTestDesc aBad_Struct_TermTests[] = {
{ TT_EGREP, zBad_Struct_TermSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Bad_Struct_Term
*/
static const char* apzBad_Struct_TermPatch[] = {
"format",
"struct term;",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Badquote fix
*/
tSCC zBadquoteName[] =
"badquote";
/*
* File name selection pattern
*/
tSCC zBadquoteList[] =
"sundev/vuid_event.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzBadquoteMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBadquoteSelect0[] =
"doesn't";
#define BADQUOTE_TEST_CT 1
static tTestDesc aBadquoteTests[] = {
{ TT_EGREP, zBadquoteSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Badquote
*/
static const char* apzBadquotePatch[] = {
"format",
"does not",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Broken_Assert_Stdio fix
*/
tSCC zBroken_Assert_StdioName[] =
"broken_assert_stdio";
/*
* File name selection pattern
*/
tSCC zBroken_Assert_StdioList[] =
"assert.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzBroken_Assert_StdioMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBroken_Assert_StdioSelect0[] =
"stderr";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zBroken_Assert_StdioBypass0[] =
"include.*stdio\\.h";
#define BROKEN_ASSERT_STDIO_TEST_CT 2
static tTestDesc aBroken_Assert_StdioTests[] = {
{ TT_NEGREP, zBroken_Assert_StdioBypass0, (regex_t*)NULL },
{ TT_EGREP, zBroken_Assert_StdioSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Broken_Assert_Stdio
*/
static const char* apzBroken_Assert_StdioPatch[] = {
"wrap",
"#include <stdio.h>\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Broken_Assert_Stdlib fix
*/
tSCC zBroken_Assert_StdlibName[] =
"broken_assert_stdlib";
/*
* File name selection pattern
*/
tSCC zBroken_Assert_StdlibList[] =
"assert.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzBroken_Assert_StdlibMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBroken_Assert_StdlibSelect0[] =
"exit *\\(|abort *\\(";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zBroken_Assert_StdlibBypass0[] =
"include.*stdlib\\.h";
#define BROKEN_ASSERT_STDLIB_TEST_CT 2
static tTestDesc aBroken_Assert_StdlibTests[] = {
{ TT_NEGREP, zBroken_Assert_StdlibBypass0, (regex_t*)NULL },
{ TT_EGREP, zBroken_Assert_StdlibSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Broken_Assert_Stdlib
*/
static const char* apzBroken_Assert_StdlibPatch[] = {
"wrap",
"#ifdef __cplusplus\n\
#include <stdlib.h>\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Broken_Cabs fix
*/
tSCC zBroken_CabsName[] =
"broken_cabs";
/*
* File name selection pattern
*/
tSCC zBroken_CabsList[] =
"math.h\0architecture/*/math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzBroken_CabsMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBroken_CabsSelect0[] =
"^extern[ \t]+double[ \t]+cabs";
#define BROKEN_CABS_TEST_CT 1
static tTestDesc aBroken_CabsTests[] = {
{ TT_EGREP, zBroken_CabsSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Broken_Cabs
*/
static const char* apzBroken_CabsPatch[] = { sed_cmd_z,
"-e", "s/^extern[ \t]*double[ \t]*cabs[ \t]*([^\\)]*);//",
"-e", "s/^extern[ \t]*long[ \t]*double[ \t]*cabsl[ \t]*([^\\)]*);//",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Broken_Nan fix
*/
tSCC zBroken_NanName[] =
"broken_nan";
/*
* File name selection pattern
*/
tSCC zBroken_NanList[] =
"architecture/ppc/math.h\0architecture/*/math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzBroken_NanMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBroken_NanSelect0[] =
"#if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345)";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zBroken_NanBypass0[] =
"powl";
#define BROKEN_NAN_TEST_CT 2
static tTestDesc aBroken_NanTests[] = {
{ TT_NEGREP, zBroken_NanBypass0, (regex_t*)NULL },
{ TT_EGREP, zBroken_NanSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Broken_Nan
*/
static const char* apzBroken_NanPatch[] = {
"format",
"#if 1",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Bsd_Stdio_Attrs_Conflict fix
*/
tSCC zBsd_Stdio_Attrs_ConflictName[] =
"bsd_stdio_attrs_conflict";
/*
* File name selection pattern
*/
tSCC zBsd_Stdio_Attrs_ConflictList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzBsd_Stdio_Attrs_ConflictMachs[] = {
"*-*-*bsd*",
"*-*-*darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zBsd_Stdio_Attrs_ConflictSelect0[] =
"^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
#define BSD_STDIO_ATTRS_CONFLICT_TEST_CT 1
static tTestDesc aBsd_Stdio_Attrs_ConflictTests[] = {
{ TT_EGREP, zBsd_Stdio_Attrs_ConflictSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Bsd_Stdio_Attrs_Conflict
*/
static const char* apzBsd_Stdio_Attrs_ConflictPatch[] = {
"format",
"#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)\n\
#define _BSD_STRINGX(_BSD_X) #_BSD_X\n\
int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) \"__svfscanf\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Ctrl_Quotes_Def fix
*/
tSCC zCtrl_Quotes_DefName[] =
"ctrl_quotes_def";
/*
* File name selection pattern
*/
#define zCtrl_Quotes_DefList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzCtrl_Quotes_DefMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zCtrl_Quotes_DefSelect0[] =
"define[ \t]+[A-Z0-9_]+CTRL\\([a-zA-Z][,)]";
#define CTRL_QUOTES_DEF_TEST_CT 1
static tTestDesc aCtrl_Quotes_DefTests[] = {
{ TT_EGREP, zCtrl_Quotes_DefSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Ctrl_Quotes_Def
*/
static const char* apzCtrl_Quotes_DefPatch[] = {
"char_macro_def",
"CTRL",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Ctrl_Quotes_Use fix
*/
tSCC zCtrl_Quotes_UseName[] =
"ctrl_quotes_use";
/*
* File name selection pattern
*/
#define zCtrl_Quotes_UseList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzCtrl_Quotes_UseMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zCtrl_Quotes_UseSelect0[] =
"define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+CTRL[ \t]*\\( *[^,']";
#define CTRL_QUOTES_USE_TEST_CT 1
static tTestDesc aCtrl_Quotes_UseTests[] = {
{ TT_EGREP, zCtrl_Quotes_UseSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Ctrl_Quotes_Use
*/
static const char* apzCtrl_Quotes_UsePatch[] = {
"char_macro_use",
"CTRL",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Cxx_Unready fix
*/
tSCC zCxx_UnreadyName[] =
"cxx_unready";
/*
* File name selection pattern
*/
tSCC zCxx_UnreadyList[] =
"sys/mman.h\0rpc/types.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzCxx_UnreadyMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zCxx_UnreadySelect0[] =
"[^#]+malloc.*;";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zCxx_UnreadyBypass0[] =
"\"C\"|__BEGIN_DECLS";
#define CXX_UNREADY_TEST_CT 2
static tTestDesc aCxx_UnreadyTests[] = {
{ TT_NEGREP, zCxx_UnreadyBypass0, (regex_t*)NULL },
{ TT_EGREP, zCxx_UnreadySelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Cxx_Unready
*/
static const char* apzCxx_UnreadyPatch[] = {
"wrap",
"#ifdef __cplusplus\n\
extern \"C\" {\n\
#endif\n",
"#ifdef __cplusplus\n\
}\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Externc fix
*/
tSCC zDarwin_ExterncName[] =
"darwin_externc";
/*
* File name selection pattern
*/
tSCC zDarwin_ExterncList[] =
"mach-o/swap.h\0mach/mach_time.h\0mach/mach_traps.h\0mach/message.h\0mach/mig.h\0mach/semaphore.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_ExterncMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zDarwin_ExterncBypass0[] =
"extern \"C\"";
tSCC zDarwin_ExterncBypass1[] =
"__BEGIN_DECLS";
#define DARWIN_EXTERNC_TEST_CT 2
static tTestDesc aDarwin_ExterncTests[] = {
{ TT_NEGREP, zDarwin_ExterncBypass0, (regex_t*)NULL },
{ TT_NEGREP, zDarwin_ExterncBypass1, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Externc
*/
static const char* apzDarwin_ExterncPatch[] = {
"wrap",
"#ifdef __cplusplus\n\
extern \"C\" {\n\
#endif\n",
"#ifdef __cplusplus\n\
}\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Gcc4_Breakage fix
*/
tSCC zDarwin_Gcc4_BreakageName[] =
"darwin_gcc4_breakage";
/*
* File name selection pattern
*/
tSCC zDarwin_Gcc4_BreakageList[] =
"AvailabilityMacros.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Gcc4_BreakageMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Gcc4_BreakageSelect0[] =
"\\(__GNUC__ >= 3\\) && \\(__GNUC_MINOR__ >= 1\\)";
#define DARWIN_GCC4_BREAKAGE_TEST_CT 1
static tTestDesc aDarwin_Gcc4_BreakageTests[] = {
{ TT_EGREP, zDarwin_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Gcc4_Breakage
*/
static const char* apzDarwin_Gcc4_BreakagePatch[] = {
"format",
"((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Private_Extern fix
*/
tSCC zDarwin_Private_ExternName[] =
"darwin_private_extern";
/*
* File name selection pattern
*/
tSCC zDarwin_Private_ExternList[] =
"mach-o/dyld.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Private_ExternMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Private_ExternSelect0[] =
"__private_extern__ [a-z_]+ _dyld_";
#define DARWIN_PRIVATE_EXTERN_TEST_CT 1
static tTestDesc aDarwin_Private_ExternTests[] = {
{ TT_EGREP, zDarwin_Private_ExternSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Private_Extern
*/
static const char* apzDarwin_Private_ExternPatch[] = {
"format",
"extern",
"__private_extern__",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Dec_Intern_Asm fix
*/
tSCC zDec_Intern_AsmName[] =
"dec_intern_asm";
/*
* File name selection pattern
*/
tSCC zDec_Intern_AsmList[] =
"c_asm.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzDec_Intern_AsmMachs (const char**)NULL
#define DEC_INTERN_ASM_TEST_CT 0
#define aDec_Intern_AsmTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Dec_Intern_Asm
*/
static const char* apzDec_Intern_AsmPatch[] = { sed_cmd_z,
"-e", "/^[ \t]*float[ \t]*fasm/i\\\n\
#ifdef __DECC\n",
"-e", "/^[ \t]*#[ \t]*pragma[ \t]*intrinsic([ \t]*dasm/a\\\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Djgpp_Wchar_H fix
*/
tSCC zDjgpp_Wchar_HName[] =
"djgpp_wchar_h";
/*
* File name selection pattern
*/
#define zDjgpp_Wchar_HList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzDjgpp_Wchar_HMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDjgpp_Wchar_HSelect0[] =
"__DJ_wint_t";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zDjgpp_Wchar_HBypass0[] =
"sys/djtypes.h";
#define DJGPP_WCHAR_H_TEST_CT 2
static tTestDesc aDjgpp_Wchar_HTests[] = {
{ TT_NEGREP, zDjgpp_Wchar_HBypass0, (regex_t*)NULL },
{ TT_EGREP, zDjgpp_Wchar_HSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Djgpp_Wchar_H
*/
static const char* apzDjgpp_Wchar_HPatch[] = {
"format",
"%0\n\
#include <sys/djtypes.h>",
"#include <stddef.h>",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Ecd_Cursor fix
*/
tSCC zEcd_CursorName[] =
"ecd_cursor";
/*
* File name selection pattern
*/
tSCC zEcd_CursorList[] =
"sunwindow/win_lock.h\0sunwindow/win_cursor.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzEcd_CursorMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zEcd_CursorSelect0[] =
"ecd\\.cursor";
#define ECD_CURSOR_TEST_CT 1
static tTestDesc aEcd_CursorTests[] = {
{ TT_EGREP, zEcd_CursorSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Ecd_Cursor
*/
static const char* apzEcd_CursorPatch[] = {
"format",
"ecd_cursor",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Exception_Structure fix
*/
tSCC zException_StructureName[] =
"exception_structure";
/*
* File name selection pattern
*/
tSCC zException_StructureList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzException_StructureMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zException_StructureSelect0[] =
"matherr";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zException_StructureBypass0[] =
"matherr.*(struct exception|__MATH_EXCEPTION|[ \\t]*__FP_EXCEPTION[ \\t]*\\*[ \\t]*)";
#define EXCEPTION_STRUCTURE_TEST_CT 2
static tTestDesc aException_StructureTests[] = {
{ TT_NEGREP, zException_StructureBypass0, (regex_t*)NULL },
{ TT_EGREP, zException_StructureSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Exception_Structure
*/
static const char* apzException_StructurePatch[] = {
"wrap",
"struct exception;\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Freebsd_Gcc3_Breakage fix
*/
tSCC zFreebsd_Gcc3_BreakageName[] =
"freebsd_gcc3_breakage";
/*
* File name selection pattern
*/
tSCC zFreebsd_Gcc3_BreakageList[] =
"sys/cdefs.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzFreebsd_Gcc3_BreakageMachs[] = {
"*-*-freebsd*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zFreebsd_Gcc3_BreakageSelect0[] =
"^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zFreebsd_Gcc3_BreakageBypass0[] =
"__GNUC__[ \\t]*([>=]=[ \\t]*[3-9]|>[ \\t]*2)";
#define FREEBSD_GCC3_BREAKAGE_TEST_CT 2
static tTestDesc aFreebsd_Gcc3_BreakageTests[] = {
{ TT_NEGREP, zFreebsd_Gcc3_BreakageBypass0, (regex_t*)NULL },
{ TT_EGREP, zFreebsd_Gcc3_BreakageSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Freebsd_Gcc3_Breakage
*/
static const char* apzFreebsd_Gcc3_BreakagePatch[] = {
"format",
"%0 || __GNUC__ >= 3",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Freebsd_Gcc4_Breakage fix
*/
tSCC zFreebsd_Gcc4_BreakageName[] =
"freebsd_gcc4_breakage";
/*
* File name selection pattern
*/
tSCC zFreebsd_Gcc4_BreakageList[] =
"sys/cdefs.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzFreebsd_Gcc4_BreakageMachs[] = {
"*-*-freebsd*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zFreebsd_Gcc4_BreakageSelect0[] =
"^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \\|\\| __GNUC__ == 3$";
#define FREEBSD_GCC4_BREAKAGE_TEST_CT 1
static tTestDesc aFreebsd_Gcc4_BreakageTests[] = {
{ TT_EGREP, zFreebsd_Gcc4_BreakageSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Freebsd_Gcc4_Breakage
*/
static const char* apzFreebsd_Gcc4_BreakagePatch[] = {
"format",
"#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_C99_Inline_1 fix
*/
tSCC zGlibc_C99_Inline_1Name[] =
"glibc_c99_inline_1";
/*
* File name selection pattern
*/
tSCC zGlibc_C99_Inline_1List[] =
"features.h\0*/features.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_C99_Inline_1Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_C99_Inline_1Select0[] =
"^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$";
#define GLIBC_C99_INLINE_1_TEST_CT 1
static tTestDesc aGlibc_C99_Inline_1Tests[] = {
{ TT_EGREP, zGlibc_C99_Inline_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_C99_Inline_1
*/
static const char* apzGlibc_C99_Inline_1Patch[] = {
"format",
"%0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_C99_Inline_1a fix
*/
tSCC zGlibc_C99_Inline_1aName[] =
"glibc_c99_inline_1a";
/*
* File name selection pattern
*/
tSCC zGlibc_C99_Inline_1aList[] =
"features.h\0*/features.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_C99_Inline_1aMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_C99_Inline_1aSelect0[] =
"(\\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__)\n\
(#[ \t]*define[ \t]*__USE_EXTERN_INLINES[ \t]*1)";
#define GLIBC_C99_INLINE_1A_TEST_CT 1
static tTestDesc aGlibc_C99_Inline_1aTests[] = {
{ TT_EGREP, zGlibc_C99_Inline_1aSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_C99_Inline_1a
*/
static const char* apzGlibc_C99_Inline_1aPatch[] = {
"format",
"%1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__)\n\
%2",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_C99_Inline_2 fix
*/
tSCC zGlibc_C99_Inline_2Name[] =
"glibc_c99_inline_2";
/*
* File name selection pattern
*/
tSCC zGlibc_C99_Inline_2List[] =
"sys/stat.h\0*/sys/stat.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_C99_Inline_2Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_C99_Inline_2Select0[] =
"extern __inline__ int";
#define GLIBC_C99_INLINE_2_TEST_CT 1
static tTestDesc aGlibc_C99_Inline_2Tests[] = {
{ TT_EGREP, zGlibc_C99_Inline_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_C99_Inline_2
*/
static const char* apzGlibc_C99_Inline_2Patch[] = { sed_cmd_z,
"-e", "s/extern int \\(stat\\|lstat\\|fstat\\|mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int \\1/",
"-e", "s/extern int __REDIRECT\\(_NTH\\|\\) (\\(stat\\|lstat\\|fstat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int __REDIRECT\\1 (\\2/",
"-e", "s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_C99_Inline_3 fix
*/
tSCC zGlibc_C99_Inline_3Name[] =
"glibc_c99_inline_3";
/*
* File name selection pattern
*/
tSCC zGlibc_C99_Inline_3List[] =
"bits/string2.h\0*/bits/string2.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_C99_Inline_3Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_C99_Inline_3Select0[] =
"extern __inline";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zGlibc_C99_Inline_3Bypass0[] =
"__extern_inline|__GNU_STDC_INLINE__";
#define GLIBC_C99_INLINE_3_TEST_CT 2
static tTestDesc aGlibc_C99_Inline_3Tests[] = {
{ TT_NEGREP, zGlibc_C99_Inline_3Bypass0, (regex_t*)NULL },
{ TT_EGREP, zGlibc_C99_Inline_3Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_C99_Inline_3
*/
static const char* apzGlibc_C99_Inline_3Patch[] = {
"format",
"# if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__)",
"^# ifdef __cplusplus$",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_C99_Inline_4 fix
*/
tSCC zGlibc_C99_Inline_4Name[] =
"glibc_c99_inline_4";
/*
* File name selection pattern
*/
tSCC zGlibc_C99_Inline_4List[] =
"sys/sysmacros.h\0*/sys/sysmacros.h\0wchar.h\0*/wchar.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_C99_Inline_4Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_C99_Inline_4Select0[] =
"(^| )extern __inline";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zGlibc_C99_Inline_4Bypass0[] =
"__extern_inline|__gnu_inline__";
#define GLIBC_C99_INLINE_4_TEST_CT 2
static tTestDesc aGlibc_C99_Inline_4Tests[] = {
{ TT_NEGREP, zGlibc_C99_Inline_4Bypass0, (regex_t*)NULL },
{ TT_EGREP, zGlibc_C99_Inline_4Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_C99_Inline_4
*/
static const char* apzGlibc_C99_Inline_4Patch[] = {
"format",
"%0 __attribute__ ((__gnu_inline__))",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_Mutex_Init fix
*/
tSCC zGlibc_Mutex_InitName[] =
"glibc_mutex_init";
/*
* File name selection pattern
*/
tSCC zGlibc_Mutex_InitList[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_Mutex_InitMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_Mutex_InitSelect0[] =
"\\{ *\\{ *0, *\\} *\\}";
#define GLIBC_MUTEX_INIT_TEST_CT 1
static tTestDesc aGlibc_Mutex_InitTests[] = {
{ TT_EGREP, zGlibc_Mutex_InitSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_Mutex_Init
*/
static const char* apzGlibc_Mutex_InitPatch[] = { sed_cmd_z,
"-e", "/define[ \t]\\+PTHREAD_MUTEX_INITIALIZER[ \t]*\\\\/{\n\
N\n\
s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/\n\
}",
"-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
"-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\|ERRORCHECK\\|ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
"-e", "/define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\+PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# else\\n# \\1\\n { { 0, 0, 0, 0, 0, 0, 0, 0 } }\\n# endif/",
"-e", "s/{ \\(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\\) }/{ \\1, 0 }/",
"-e", "/define[ \t]\\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Gnu_Types fix
*/
tSCC zGnu_TypesName[] =
"gnu_types";
/*
* File name selection pattern
*/
tSCC zGnu_TypesList[] =
"sys/types.h\0stdlib.h\0sys/stdtypes.h\0stddef.h\0memory.h\0unistd.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzGnu_TypesMachs[] = {
"*-*-solaris2.1[0-9]*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGnu_TypesSelect0[] =
"^[ \t]*typedef[ \t]+.*[ \t](ptrdiff|size|wchar)_t;";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zGnu_TypesBypass0[] =
"_GCC_(PTRDIFF|SIZE|WCHAR)_T";
#define GNU_TYPES_TEST_CT 2
static tTestDesc aGnu_TypesTests[] = {
{ TT_NEGREP, zGnu_TypesBypass0, (regex_t*)NULL },
{ TT_EGREP, zGnu_TypesSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Gnu_Types
*/
static const char* apzGnu_TypesPatch[] = {
"gnu_type",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hp_Inline fix
*/
tSCC zHp_InlineName[] =
"hp_inline";
/*
* File name selection pattern
*/
tSCC zHp_InlineList[] =
"sys/spinlock.h\0machine/machparam.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHp_InlineMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHp_InlineSelect0[] =
"[ \t]*#[ \t]*include[ \t]+\"\\.\\./machine/";
#define HP_INLINE_TEST_CT 1
static tTestDesc aHp_InlineTests[] = {
{ TT_EGREP, zHp_InlineSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hp_Inline
*/
static const char* apzHp_InlinePatch[] = {
"format",
"%1<machine/%2.h>",
"([ \t]*#[ \t]*include[ \t]+)\"\\.\\./machine/([a-z]+)\\.h\"",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hp_Sysfile fix
*/
tSCC zHp_SysfileName[] =
"hp_sysfile";
/*
* File name selection pattern
*/
tSCC zHp_SysfileList[] =
"sys/file.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHp_SysfileMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHp_SysfileSelect0[] =
"HPUX_SOURCE";
#define HP_SYSFILE_TEST_CT 1
static tTestDesc aHp_SysfileTests[] = {
{ TT_EGREP, zHp_SysfileSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hp_Sysfile
*/
static const char* apzHp_SysfilePatch[] = {
"format",
"(struct file *, ...)",
"\\(\\.\\.\\.\\)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hppa_Hpux_Fp_Macros fix
*/
tSCC zHppa_Hpux_Fp_MacrosName[] =
"hppa_hpux_fp_macros";
/*
* File name selection pattern
*/
tSCC zHppa_Hpux_Fp_MacrosList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHppa_Hpux_Fp_MacrosMachs[] = {
"hppa*-hp-hpux11*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHppa_Hpux_Fp_MacrosSelect0[] =
"#[ \t]*define[ \t]*FP_NORMAL.*\n\
#[ \t]*define[ \t]*FP_ZERO.*\n\
#[ \t]*define[ \t]*FP_INFINITE.*\n\
#[ \t]*define[ \t]*FP_SUBNORMAL.*\n\
#[ \t]*define[ \t]*FP_NAN.*\n";
#define HPPA_HPUX_FP_MACROS_TEST_CT 1
static tTestDesc aHppa_Hpux_Fp_MacrosTests[] = {
{ TT_EGREP, zHppa_Hpux_Fp_MacrosSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hppa_Hpux_Fp_Macros
*/
static const char* apzHppa_Hpux_Fp_MacrosPatch[] = {
"format",
"#endif /* _INCLUDE_HPUX_SOURCE */\n\n\
#if defined(_INCLUDE_HPUX_SOURCE) || \\\n\
(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))\n\
%0#endif\n\n\
#ifdef _INCLUDE_HPUX_SOURCE\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux10_Cpp_Pow_Inline fix
*/
tSCC zHpux10_Cpp_Pow_InlineName[] =
"hpux10_cpp_pow_inline";
/*
* File name selection pattern
*/
tSCC zHpux10_Cpp_Pow_InlineList[] =
"fixinc-test-limits.h\0math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux10_Cpp_Pow_InlineMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux10_Cpp_Pow_InlineSelect0[] =
"^# +ifdef +__cplusplus\n\
+\\}\n\
+inline +double +pow\\(double +__d,int +__expon\\) +\\{\n\
[ \t]+return +pow\\(__d,\\(double\\)__expon\\);\n\
+\\}\n\
+extern +\"C\" +\\{\n\
#else\n\
# +endif";
#define HPUX10_CPP_POW_INLINE_TEST_CT 1
static tTestDesc aHpux10_Cpp_Pow_InlineTests[] = {
{ TT_EGREP, zHpux10_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux10_Cpp_Pow_Inline
*/
static const char* apzHpux10_Cpp_Pow_InlinePatch[] = {
"format",
"",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Cpp_Pow_Inline fix
*/
tSCC zHpux11_Cpp_Pow_InlineName[] =
"hpux11_cpp_pow_inline";
/*
* File name selection pattern
*/
tSCC zHpux11_Cpp_Pow_InlineList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux11_Cpp_Pow_InlineMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_Cpp_Pow_InlineSelect0[] =
" +inline double pow\\(double d,int expon\\) \\{\n\
+return pow\\(d, \\(double\\)expon\\);\n\
+\\}\n";
#define HPUX11_CPP_POW_INLINE_TEST_CT 1
static tTestDesc aHpux11_Cpp_Pow_InlineTests[] = {
{ TT_EGREP, zHpux11_Cpp_Pow_InlineSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Cpp_Pow_Inline
*/
static const char* apzHpux11_Cpp_Pow_InlinePatch[] = {
"format",
"",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux10_Ctype_Declarations1 fix
*/
tSCC zHpux10_Ctype_Declarations1Name[] =
"hpux10_ctype_declarations1";
/*
* File name selection pattern
*/
tSCC zHpux10_Ctype_Declarations1List[] =
"ctype.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux10_Ctype_Declarations1Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux10_Ctype_Declarations1Select0[] =
"^#[ \t]*define _toupper\\(__c\\)[ \t]*__toupper\\(__c\\)";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHpux10_Ctype_Declarations1Bypass0[] =
"^[ \t]*extern[ \t]*int[ \t]*__tolower[ \t]*\\(";
#define HPUX10_CTYPE_DECLARATIONS1_TEST_CT 2
static tTestDesc aHpux10_Ctype_Declarations1Tests[] = {
{ TT_NEGREP, zHpux10_Ctype_Declarations1Bypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux10_Ctype_Declarations1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux10_Ctype_Declarations1
*/
static const char* apzHpux10_Ctype_Declarations1Patch[] = {
"format",
"#ifdef _PROTOTYPES\n\
extern int __tolower(int);\n\
extern int __toupper(int);\n\
#else /* NOT _PROTOTYPES */\n\
extern int __tolower();\n\
extern int __toupper();\n\
#endif /* _PROTOTYPES */\n\n\
%0\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux10_Ctype_Declarations2 fix
*/
tSCC zHpux10_Ctype_Declarations2Name[] =
"hpux10_ctype_declarations2";
/*
* File name selection pattern
*/
tSCC zHpux10_Ctype_Declarations2List[] =
"ctype.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux10_Ctype_Declarations2Machs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux10_Ctype_Declarations2Select0[] =
"^# if defined\\(_SB_CTYPE_MACROS\\) && \\!defined\\(__lint\\)";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHpux10_Ctype_Declarations2Bypass0[] =
"^[ \t]*extern[ \t]*int[ \t]*_isalnum[ \t]*\\(";
#define HPUX10_CTYPE_DECLARATIONS2_TEST_CT 2
static tTestDesc aHpux10_Ctype_Declarations2Tests[] = {
{ TT_NEGREP, zHpux10_Ctype_Declarations2Bypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux10_Ctype_Declarations2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux10_Ctype_Declarations2
*/
static const char* apzHpux10_Ctype_Declarations2Patch[] = {
"format",
"%0\n\n\
#ifdef _PROTOTYPES\n\
extern int _isalnum(int);\n\
extern int _isalpha(int);\n\
extern int _iscntrl(int);\n\
extern int _isdigit(int);\n\
extern int _isgraph(int);\n\
extern int _islower(int);\n\
extern int _isprint(int);\n\
extern int _ispunct(int);\n\
extern int _isspace(int);\n\
extern int _isupper(int);\n\
extern int _isxdigit(int);\n\
# else /* not _PROTOTYPES */\n\
extern int _isalnum();\n\
extern int _isalpha();\n\
extern int _iscntrl();\n\
extern int _isdigit();\n\
extern int _isgraph();\n\
extern int _islower();\n\
extern int _isprint();\n\
extern int _ispunct();\n\
extern int _isspace();\n\
extern int _isupper();\n\
extern int _isxdigit();\n\
#endif /* _PROTOTYPES */\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux10_Stdio_Declarations fix
*/
tSCC zHpux10_Stdio_DeclarationsName[] =
"hpux10_stdio_declarations";
/*
* File name selection pattern
*/
tSCC zHpux10_Stdio_DeclarationsList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux10_Stdio_DeclarationsMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux10_Stdio_DeclarationsSelect0[] =
"^#[ \t]*define _iob[ \t]*__iob";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHpux10_Stdio_DeclarationsBypass0[] =
"^[ \t]*extern[ \t]*int[ \t]*vsnprintf[ \t]*\\(";
#define HPUX10_STDIO_DECLARATIONS_TEST_CT 2
static tTestDesc aHpux10_Stdio_DeclarationsTests[] = {
{ TT_NEGREP, zHpux10_Stdio_DeclarationsBypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux10_Stdio_DeclarationsSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux10_Stdio_Declarations
*/
static const char* apzHpux10_Stdio_DeclarationsPatch[] = {
"format",
"%0\n\n\
# if defined(__STDC__) || defined(__cplusplus)\n\
extern int snprintf(char *, size_t, const char *, ...);\n\
extern int vsnprintf(char *, size_t, const char *, __va_list);\n\
# else /* not __STDC__) || __cplusplus */\n\
extern int snprintf();\n\
extern int vsnprintf();\n\
# endif /* __STDC__) || __cplusplus */\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Abs fix
*/
tSCC zHpux11_AbsName[] =
"hpux11_abs";
/*
* File name selection pattern
*/
tSCC zHpux11_AbsList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux11_AbsMachs[] = {
"ia64-hp-hpux11*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_AbsSelect0[] =
"ifndef _MATH_INCLUDED";
#define HPUX11_ABS_TEST_CT 1
static tTestDesc aHpux11_AbsTests[] = {
{ TT_EGREP, zHpux11_AbsSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Abs
*/
static const char* apzHpux11_AbsPatch[] = {
"format",
"if !defined(_MATH_INCLUDED) || defined(__GNUG__)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Fabsf fix
*/
tSCC zHpux11_FabsfName[] =
"hpux11_fabsf";
/*
* File name selection pattern
*/
tSCC zHpux11_FabsfList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux11_FabsfMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_FabsfSelect0[] =
"^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHpux11_FabsfBypass0[] =
"__cplusplus";
#define HPUX11_FABSF_TEST_CT 2
static tTestDesc aHpux11_FabsfTests[] = {
{ TT_NEGREP, zHpux11_FabsfBypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux11_FabsfSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Fabsf
*/
static const char* apzHpux11_FabsfPatch[] = {
"format",
"#ifndef __cplusplus\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Pthread_Const fix
*/
tSCC zHpux11_Pthread_ConstName[] =
"hpux11_pthread_const";
/*
* File name selection pattern
*/
tSCC zHpux11_Pthread_ConstList[] =
"sys/pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux11_Pthread_ConstMachs[] = {
"*-hp-hpux11.[0-3]*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_Pthread_ConstSelect0[] =
"^#define[ \t]*__POINTER_SET[ \t]*\\(\\(void \\*\\) 1LL\\)";
#define HPUX11_PTHREAD_CONST_TEST_CT 1
static tTestDesc aHpux11_Pthread_ConstTests[] = {
{ TT_EGREP, zHpux11_Pthread_ConstSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Pthread_Const
*/
static const char* apzHpux11_Pthread_ConstPatch[] = {
"format",
"#define __POINTER_SET\t\t((void *) 1L)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Size_T fix
*/
tSCC zHpux11_Size_TName[] =
"hpux11_size_t";
/*
* File name selection pattern
*/
#define zHpux11_Size_TList (char*)NULL
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux11_Size_TMachs[] = {
"*-hp-hpux11*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_Size_TSelect0[] =
"__size_t";
#define HPUX11_SIZE_T_TEST_CT 1
static tTestDesc aHpux11_Size_TTests[] = {
{ TT_EGREP, zHpux11_Size_TSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Size_T
*/
static const char* apzHpux11_Size_TPatch[] = {
"format",
"_hpux_size_t",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Snprintf fix
*/
tSCC zHpux11_SnprintfName[] =
"hpux11_snprintf";
/*
* File name selection pattern
*/
tSCC zHpux11_SnprintfList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux11_SnprintfMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_SnprintfSelect0[] =
"(extern int snprintf *\\(char *\\*, *(|__|_hpux_)size_t,) *(char *\\*, *\\.\\.\\.\\);)";
#define HPUX11_SNPRINTF_TEST_CT 1
static tTestDesc aHpux11_SnprintfTests[] = {
{ TT_EGREP, zHpux11_SnprintfSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Snprintf
*/
static const char* apzHpux11_SnprintfPatch[] = {
"format",
"%1 const %3",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Uint32_C fix
*/
tSCC zHpux11_Uint32_CName[] =
"hpux11_uint32_c";
/*
* File name selection pattern
*/
tSCC zHpux11_Uint32_CList[] =
"inttypes.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux11_Uint32_CMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_Uint32_CSelect0[] =
"^#define UINT32_C\\(__c\\)[ \t]*__CONCAT__\\(__CONCAT_U__\\(__c\\),l\\)";
#define HPUX11_UINT32_C_TEST_CT 1
static tTestDesc aHpux11_Uint32_CTests[] = {
{ TT_EGREP, zHpux11_Uint32_CSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Uint32_C
*/
static const char* apzHpux11_Uint32_CPatch[] = {
"format",
"#define UINT32_C(__c) __CONCAT__(__c,ul)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Vsnprintf fix
*/
tSCC zHpux11_VsnprintfName[] =
"hpux11_vsnprintf";
/*
* File name selection pattern
*/
tSCC zHpux11_VsnprintfList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux11_VsnprintfMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_VsnprintfSelect0[] =
"(extern int vsnprintf\\(char \\*, _[hpux]*_size_t, const char \\*,) __va__list\\);";
#define HPUX11_VSNPRINTF_TEST_CT 1
static tTestDesc aHpux11_VsnprintfTests[] = {
{ TT_EGREP, zHpux11_VsnprintfSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Vsnprintf
*/
static const char* apzHpux11_VsnprintfPatch[] = {
"format",
"%1 __va_list);",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux8_Bogus_Inlines fix
*/
tSCC zHpux8_Bogus_InlinesName[] =
"hpux8_bogus_inlines";
/*
* File name selection pattern
*/
tSCC zHpux8_Bogus_InlinesList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux8_Bogus_InlinesMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux8_Bogus_InlinesSelect0[] =
"inline";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHpux8_Bogus_InlinesBypass0[] =
"__GNUG__";
#define HPUX8_BOGUS_INLINES_TEST_CT 2
static tTestDesc aHpux8_Bogus_InlinesTests[] = {
{ TT_NEGREP, zHpux8_Bogus_InlinesBypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux8_Bogus_InlinesSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux8_Bogus_Inlines
*/
static const char* apzHpux8_Bogus_InlinesPatch[] = { sed_cmd_z,
"-e", "s@inline int abs(int [a-z][a-z]*) {.*}@extern \"C\" int abs(int);@",
"-e", "s@inline double abs(double [a-z][a-z]*) {.*}@@",
"-e", "s@inline int sqr(int [a-z][a-z]*) {.*}@@",
"-e", "s@inline double sqr(double [a-z][a-z]*) {.*}@@",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Ctype_Macros fix
*/
tSCC zHpux_Ctype_MacrosName[] =
"hpux_ctype_macros";
/*
* File name selection pattern
*/
tSCC zHpux_Ctype_MacrosList[] =
"ctype.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux_Ctype_MacrosMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_Ctype_MacrosSelect0[] =
"((: |\\()__SB_masks \\? )(__SB_masks\\[__(alnum|c)\\] & _IS)";
#define HPUX_CTYPE_MACROS_TEST_CT 1
static tTestDesc aHpux_Ctype_MacrosTests[] = {
{ TT_EGREP, zHpux_Ctype_MacrosSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux_Ctype_Macros
*/
static const char* apzHpux_Ctype_MacrosPatch[] = {
"format",
"%1(int)%3",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Htonl fix
*/
tSCC zHpux_HtonlName[] =
"hpux_htonl";
/*
* File name selection pattern
*/
tSCC zHpux_HtonlList[] =
"netinet/in.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux_HtonlMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_HtonlSelect0[] =
"#ifndef _XOPEN_SOURCE_EXTENDED\n\
(/\\*\n\
\\* Macros for number representation conversion\\.\n\
\\*/\n\
#ifndef ntohl)";
#define HPUX_HTONL_TEST_CT 1
static tTestDesc aHpux_HtonlTests[] = {
{ TT_EGREP, zHpux_HtonlSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux_Htonl
*/
static const char* apzHpux_HtonlPatch[] = {
"format",
"#if 1\n\
%1",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Long_Double fix
*/
tSCC zHpux_Long_DoubleName[] =
"hpux_long_double";
/*
* File name selection pattern
*/
tSCC zHpux_Long_DoubleList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux_Long_DoubleMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_Long_DoubleSelect0[] =
"extern[ \t]long_double[ \t]strtold";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHpux_Long_DoubleBypass0[] =
"long_double_t";
#define HPUX_LONG_DOUBLE_TEST_CT 2
static tTestDesc aHpux_Long_DoubleTests[] = {
{ TT_NEGREP, zHpux_Long_DoubleBypass0, (regex_t*)NULL },
{ TT_EGREP, zHpux_Long_DoubleSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux_Long_Double
*/
static const char* apzHpux_Long_DoublePatch[] = { sed_cmd_z,
"-e", "/^#[ \t]*ifndef _LONG_DOUBLE/,/\\/\\* _LONG_DOUBLE \\*\\//D",
"-e", "s/long_double/long double/g",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Systime fix
*/
tSCC zHpux_SystimeName[] =
"hpux_systime";
/*
* File name selection pattern
*/
tSCC zHpux_SystimeList[] =
"sys/time.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHpux_SystimeMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_SystimeSelect0[] =
"^extern struct sigevent;";
#define HPUX_SYSTIME_TEST_CT 1
static tTestDesc aHpux_SystimeTests[] = {
{ TT_EGREP, zHpux_SystimeSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux_Systime
*/
static const char* apzHpux_SystimePatch[] = {
"format",
"struct sigevent;",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Spu_Info fix
*/
tSCC zHpux_Spu_InfoName[] =
"hpux_spu_info";
/*
* File name selection pattern
*/
tSCC zHpux_Spu_InfoList[] =
"ia64/sys/getppdp.h\0*/sys/getppdp.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux_Spu_InfoMachs[] = {
"*-hp-hpux*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_Spu_InfoSelect0[] =
"^.*extern.*spu_info.*";
#define HPUX_SPU_INFO_TEST_CT 1
static tTestDesc aHpux_Spu_InfoTests[] = {
{ TT_EGREP, zHpux_Spu_InfoSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux_Spu_Info
*/
static const char* apzHpux_Spu_InfoPatch[] = {
"format",
"#ifdef _KERNEL\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Extern_Sendfile fix
*/
tSCC zHpux11_Extern_SendfileName[] =
"hpux11_extern_sendfile";
/*
* File name selection pattern
*/
tSCC zHpux11_Extern_SendfileList[] =
"sys/socket.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux11_Extern_SendfileMachs[] = {
"*-hp-hpux11.[12]*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_Extern_SendfileSelect0[] =
"^[ \t]*extern sbsize_t sendfile.*\n\
.*, int\\)\\);\n";
#define HPUX11_EXTERN_SENDFILE_TEST_CT 1
static tTestDesc aHpux11_Extern_SendfileTests[] = {
{ TT_EGREP, zHpux11_Extern_SendfileSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Extern_Sendfile
*/
static const char* apzHpux11_Extern_SendfilePatch[] = {
"format",
"#ifndef _APP32_64BIT_OFF_T\n\
%0#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux11_Extern_Sendpath fix
*/
tSCC zHpux11_Extern_SendpathName[] =
"hpux11_extern_sendpath";
/*
* File name selection pattern
*/
tSCC zHpux11_Extern_SendpathList[] =
"sys/socket.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux11_Extern_SendpathMachs[] = {
"*-hp-hpux11.[12]*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux11_Extern_SendpathSelect0[] =
"^[ \t]*extern sbsize_t sendpath.*\n\
.*, int\\)\\);\n";
#define HPUX11_EXTERN_SENDPATH_TEST_CT 1
static tTestDesc aHpux11_Extern_SendpathTests[] = {
{ TT_EGREP, zHpux11_Extern_SendpathSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux11_Extern_Sendpath
*/
static const char* apzHpux11_Extern_SendpathPatch[] = {
"format",
"#ifndef _APP32_64BIT_OFF_T\n\
%0#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Extern_Errno fix
*/
tSCC zHpux_Extern_ErrnoName[] =
"hpux_extern_errno";
/*
* File name selection pattern
*/
tSCC zHpux_Extern_ErrnoList[] =
"errno.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux_Extern_ErrnoMachs[] = {
"*-hp-hpux10.*",
"*-hp-hpux11.[0-2]*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHpux_Extern_ErrnoSelect0[] =
"^[ \t]*extern int errno;$";
#define HPUX_EXTERN_ERRNO_TEST_CT 1
static tTestDesc aHpux_Extern_ErrnoTests[] = {
{ TT_EGREP, zHpux_Extern_ErrnoSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Hpux_Extern_Errno
*/
static const char* apzHpux_Extern_ErrnoPatch[] = {
"format",
"#ifdef __cplusplus\n\
extern \"C\" {\n\
#endif\n\
%0\n\
#ifdef __cplusplus\n\
}\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Hpux_Pthread_Initializers fix
*/
tSCC zHpux_Pthread_InitializersName[] =
"hpux_pthread_initializers";
/*
* File name selection pattern
*/
tSCC zHpux_Pthread_InitializersList[] =
"sys/pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzHpux_Pthread_InitializersMachs[] = {
"*-hp-hpux11.[0-3]*",
(const char*)NULL };
#define HPUX_PTHREAD_INITIALIZERS_TEST_CT 0
#define aHpux_Pthread_InitializersTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Hpux_Pthread_Initializers
*/
static const char* apzHpux_Pthread_InitializersPatch[] = { sed_cmd_z,
"-e", "s@^[ \t]*1, 1, 1, 1,[ \t]*\\\\@\t{ 1, 1, 1, 1 },\t\t\t\t\t\t\t\\\\@",
"-e", "s@^[ \t]*1,[ \t]*\\\\@\t{ 1, 0 }@",
"-e", "/^[ \t]*0$/d",
"-e", "s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@",
"-e", "s@^[ \t]*0, 0, -1, 0,[ \t]*\\\\@\t{ 0, 0, -1, 0 },\t\t\t\t\t\t\\\\@",
"-e", "s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
"-e", "s@^[ \t]*__LWP_MTX_VALID, 0, 1, 1, 1, 1,[ \t]*\\\\@\t{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 },\t\t\t\\\\@",
"-e", "s@^[ \t]*0, 0[ \t]*\\\\@\t{ 0, 0 }\t\t\t\t\t\t\t\\\\@",
"-e", "s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@",
"-e", "s@__LWP_COND_VALID, 0,[ \t]*\\\\@{ __LWP_COND_VALID, 0 },\t\t\t\t\t\\\\@",
"-e", "s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@",
"-e", "s@__LWP_RWLOCK_VALID, 0,[ \t]*\\\\@{ __LWP_RWLOCK_VALID, 0 },\t\t\t\t\t\\\\@",
"-e", "s@^[ \t]*0, 0, 0, 0, 0, 0, 0[ \t]*\\\\@\t{ 0, 0, 0, 0, 0 }, { 0, 0}\t\t\t\t\t\\\\@",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Huge_Val_Hex fix
*/
tSCC zHuge_Val_HexName[] =
"huge_val_hex";
/*
* File name selection pattern
*/
tSCC zHuge_Val_HexList[] =
"bits/huge_val.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHuge_Val_HexMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHuge_Val_HexSelect0[] =
"^#[ \t]*define[ \t]*HUGE_VAL[ \t].*0x1\\.0p.*";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHuge_Val_HexBypass0[] =
"__builtin_huge_val";
#define HUGE_VAL_HEX_TEST_CT 2
static tTestDesc aHuge_Val_HexTests[] = {
{ TT_NEGREP, zHuge_Val_HexBypass0, (regex_t*)NULL },
{ TT_EGREP, zHuge_Val_HexSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Huge_Val_Hex
*/
static const char* apzHuge_Val_HexPatch[] = {
"format",
"#define HUGE_VAL (__builtin_huge_val())\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Huge_Valf_Hex fix
*/
tSCC zHuge_Valf_HexName[] =
"huge_valf_hex";
/*
* File name selection pattern
*/
tSCC zHuge_Valf_HexList[] =
"bits/huge_val.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHuge_Valf_HexMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHuge_Valf_HexSelect0[] =
"^#[ \t]*define[ \t]*HUGE_VALF[ \t].*0x1\\.0p.*";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHuge_Valf_HexBypass0[] =
"__builtin_huge_valf";
#define HUGE_VALF_HEX_TEST_CT 2
static tTestDesc aHuge_Valf_HexTests[] = {
{ TT_NEGREP, zHuge_Valf_HexBypass0, (regex_t*)NULL },
{ TT_EGREP, zHuge_Valf_HexSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Huge_Valf_Hex
*/
static const char* apzHuge_Valf_HexPatch[] = {
"format",
"#define HUGE_VALF (__builtin_huge_valf())\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Huge_Vall_Hex fix
*/
tSCC zHuge_Vall_HexName[] =
"huge_vall_hex";
/*
* File name selection pattern
*/
tSCC zHuge_Vall_HexList[] =
"bits/huge_val.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzHuge_Vall_HexMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zHuge_Vall_HexSelect0[] =
"^#[ \t]*define[ \t]*HUGE_VALL[ \t].*0x1\\.0p.*";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zHuge_Vall_HexBypass0[] =
"__builtin_huge_vall";
#define HUGE_VALL_HEX_TEST_CT 2
static tTestDesc aHuge_Vall_HexTests[] = {
{ TT_NEGREP, zHuge_Vall_HexBypass0, (regex_t*)NULL },
{ TT_EGREP, zHuge_Vall_HexSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Huge_Vall_Hex
*/
static const char* apzHuge_Vall_HexPatch[] = {
"format",
"#define HUGE_VALL (__builtin_huge_vall())\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Int_Abort_Free_And_Exit fix
*/
tSCC zInt_Abort_Free_And_ExitName[] =
"int_abort_free_and_exit";
/*
* File name selection pattern
*/
tSCC zInt_Abort_Free_And_ExitList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzInt_Abort_Free_And_ExitMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zInt_Abort_Free_And_ExitSelect0[] =
"int[ \t]+(abort|free|exit)[ \t]*\\(";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zInt_Abort_Free_And_ExitBypass0[] =
"_CLASSIC_ANSI_TYPES";
#define INT_ABORT_FREE_AND_EXIT_TEST_CT 2
static tTestDesc aInt_Abort_Free_And_ExitTests[] = {
{ TT_NEGREP, zInt_Abort_Free_And_ExitBypass0, (regex_t*)NULL },
{ TT_EGREP, zInt_Abort_Free_And_ExitSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Int_Abort_Free_And_Exit
*/
static const char* apzInt_Abort_Free_And_ExitPatch[] = {
"format",
"void\t%1(",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Io_Quotes_Def fix
*/
tSCC zIo_Quotes_DefName[] =
"io_quotes_def";
/*
* File name selection pattern
*/
#define zIo_Quotes_DefList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzIo_Quotes_DefMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIo_Quotes_DefSelect0[] =
"define[ \t]+[A-Z0-9_]+IO[A-Z]*\\([a-zA-Z][,)]";
#define IO_QUOTES_DEF_TEST_CT 1
static tTestDesc aIo_Quotes_DefTests[] = {
{ TT_EGREP, zIo_Quotes_DefSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Io_Quotes_Def
*/
static const char* apzIo_Quotes_DefPatch[] = {
"char_macro_def",
"IO",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Io_Quotes_Use fix
*/
tSCC zIo_Quotes_UseName[] =
"io_quotes_use";
/*
* File name selection pattern
*/
#define zIo_Quotes_UseList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzIo_Quotes_UseMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIo_Quotes_UseSelect0[] =
"define[ \t]+[A-Z0-9_]+[ \t]+[A-Z0-9_]+IO[A-Z]*[ \t]*\\( *[^,']";
#define IO_QUOTES_USE_TEST_CT 1
static tTestDesc aIo_Quotes_UseTests[] = {
{ TT_EGREP, zIo_Quotes_UseSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Io_Quotes_Use
*/
static const char* apzIo_Quotes_UsePatch[] = {
"char_macro_use",
"IO",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Ip_Missing_Semi fix
*/
tSCC zIp_Missing_SemiName[] =
"ip_missing_semi";
/*
* File name selection pattern
*/
tSCC zIp_Missing_SemiList[] =
"netinet/ip.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzIp_Missing_SemiMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIp_Missing_SemiSelect0[] =
"}$";
#define IP_MISSING_SEMI_TEST_CT 1
static tTestDesc aIp_Missing_SemiTests[] = {
{ TT_EGREP, zIp_Missing_SemiSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Ip_Missing_Semi
*/
static const char* apzIp_Missing_SemiPatch[] = { sed_cmd_z,
"-e", "/^struct/,/^};/s/}$/};/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix___Restrict fix
*/
tSCC zIrix___RestrictName[] =
"irix___restrict";
/*
* File name selection pattern
*/
tSCC zIrix___RestrictList[] =
"internal/sgimacros.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix___RestrictMachs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix___RestrictSelect0[] =
"(#ifdef __c99\n\
)(#[ \t]*define __restrict restrict)";
#define IRIX___RESTRICT_TEST_CT 1
static tTestDesc aIrix___RestrictTests[] = {
{ TT_EGREP, zIrix___RestrictSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix___Restrict
*/
static const char* apzIrix___RestrictPatch[] = {
"format",
"%1# ifndef __cplusplus\n\
%2\n\
# endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix___Generic1 fix
*/
tSCC zIrix___Generic1Name[] =
"irix___generic1";
/*
* File name selection pattern
*/
tSCC zIrix___Generic1List[] =
"internal/math_core.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix___Generic1Machs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix___Generic1Select0[] =
"#define ([a-z]+)\\(x\\) *__generic.*";
#define IRIX___GENERIC1_TEST_CT 1
static tTestDesc aIrix___Generic1Tests[] = {
{ TT_EGREP, zIrix___Generic1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix___Generic1
*/
static const char* apzIrix___Generic1Patch[] = {
"format",
"extern int %1(double);\n\
extern int %1f(float);\n\
extern int %1l(long double);\n\
#define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \\\n\
: sizeof(x) == sizeof(float) ? _%1f(x) \\\n\
: _%1l(x))\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix___Generic2 fix
*/
tSCC zIrix___Generic2Name[] =
"irix___generic2";
/*
* File name selection pattern
*/
tSCC zIrix___Generic2List[] =
"internal/math_core.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix___Generic2Machs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix___Generic2Select0[] =
"#define ([a-z]+)\\(x,y\\) *__generic.*";
#define IRIX___GENERIC2_TEST_CT 1
static tTestDesc aIrix___Generic2Tests[] = {
{ TT_EGREP, zIrix___Generic2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix___Generic2
*/
static const char* apzIrix___Generic2Patch[] = {
"format",
"#define %1(x,y) \\\n\
((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \\\n\
: (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \\\n\
: _%1l(x,y))\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Asm_Apostrophe fix
*/
tSCC zIrix_Asm_ApostropheName[] =
"irix_asm_apostrophe";
/*
* File name selection pattern
*/
tSCC zIrix_Asm_ApostropheList[] =
"sys/asm.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzIrix_Asm_ApostropheMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Asm_ApostropheSelect0[] =
"^[ \t]*#.*[Ww]e're";
#define IRIX_ASM_APOSTROPHE_TEST_CT 1
static tTestDesc aIrix_Asm_ApostropheTests[] = {
{ TT_EGREP, zIrix_Asm_ApostropheSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Asm_Apostrophe
*/
static const char* apzIrix_Asm_ApostrophePatch[] = {
"format",
"%1 are",
"^([ \t]*#.*[Ww]e)'re",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Limits_Const fix
*/
tSCC zIrix_Limits_ConstName[] =
"irix_limits_const";
/*
* File name selection pattern
*/
tSCC zIrix_Limits_ConstList[] =
"fixinc-test-limits.h\0limits.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzIrix_Limits_ConstMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Limits_ConstSelect0[] =
"^extern const ";
#define IRIX_LIMITS_CONST_TEST_CT 1
static tTestDesc aIrix_Limits_ConstTests[] = {
{ TT_EGREP, zIrix_Limits_ConstSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Limits_Const
*/
static const char* apzIrix_Limits_ConstPatch[] = {
"format",
"extern __const ",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Socklen_T fix
*/
tSCC zIrix_Socklen_TName[] =
"irix_socklen_t";
/*
* File name selection pattern
*/
tSCC zIrix_Socklen_TList[] =
"sys/socket.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix_Socklen_TMachs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Socklen_TSelect0[] =
"(#define _SOCKLEN_T\n\
)(typedef u_int32_t socklen_t;)";
#define IRIX_SOCKLEN_T_TEST_CT 1
static tTestDesc aIrix_Socklen_TTests[] = {
{ TT_EGREP, zIrix_Socklen_TSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Socklen_T
*/
static const char* apzIrix_Socklen_TPatch[] = {
"format",
"%1#if _NO_XOPEN4 && _NO_XOPEN5\n\
typedef int socklen_t;\n\
#else\n\
%2\n\
#endif /* _NO_XOPEN4 && _NO_XOPEN5 */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Stdint_C99 fix
*/
tSCC zIrix_Stdint_C99Name[] =
"irix_stdint_c99";
/*
* File name selection pattern
*/
tSCC zIrix_Stdint_C99List[] =
"stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix_Stdint_C99Machs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Stdint_C99Select0[] =
"(#ifndef __c99\n\
)(#error This header file is to be used only for c99 mode compilations)";
#define IRIX_STDINT_C99_TEST_CT 1
static tTestDesc aIrix_Stdint_C99Tests[] = {
{ TT_EGREP, zIrix_Stdint_C99Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Stdint_C99
*/
static const char* apzIrix_Stdint_C99Patch[] = {
"format",
"#if 0\n\
%2",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Stdio_Va_List fix
*/
tSCC zIrix_Stdio_Va_ListName[] =
"irix_stdio_va_list";
/*
* File name selection pattern
*/
tSCC zIrix_Stdio_Va_ListList[] =
"stdio.h\0internal/stdio_core.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzIrix_Stdio_Va_ListMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_Stdio_Va_ListSelect0[] =
"/\\* va_list \\*/ char \\*";
#define IRIX_STDIO_VA_LIST_TEST_CT 1
static tTestDesc aIrix_Stdio_Va_ListTests[] = {
{ TT_EGREP, zIrix_Stdio_Va_ListSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Stdio_Va_List
*/
static const char* apzIrix_Stdio_Va_ListPatch[] = {
"format",
"__gnuc_va_list",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Irix_Wcsftime fix
*/
tSCC zIrix_WcsftimeName[] =
"irix_wcsftime";
/*
* File name selection pattern
*/
tSCC zIrix_WcsftimeList[] =
"internal/wchar_core.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzIrix_WcsftimeMachs[] = {
"mips-sgi-irix6.5",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIrix_WcsftimeSelect0[] =
"#if _NO_XOPEN5\n\
(extern size_t[ \t]+wcsftime.*const char *.*)";
#define IRIX_WCSFTIME_TEST_CT 1
static tTestDesc aIrix_WcsftimeTests[] = {
{ TT_EGREP, zIrix_WcsftimeSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Irix_Wcsftime
*/
static const char* apzIrix_WcsftimePatch[] = {
"format",
"#if _NO_XOPEN5 && !defined(__c99)\n\
%1",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Isc_Fmod fix
*/
tSCC zIsc_FmodName[] =
"isc_fmod";
/*
* File name selection pattern
*/
tSCC zIsc_FmodList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzIsc_FmodMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIsc_FmodSelect0[] =
"fmod\\(double\\)";
#define ISC_FMOD_TEST_CT 1
static tTestDesc aIsc_FmodTests[] = {
{ TT_EGREP, zIsc_FmodSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Isc_Fmod
*/
static const char* apzIsc_FmodPatch[] = {
"format",
"fmod(double, double)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Isc_Omits_With_Stdc fix
*/
tSCC zIsc_Omits_With_StdcName[] =
"isc_omits_with_stdc";
/*
* File name selection pattern
*/
tSCC zIsc_Omits_With_StdcList[] =
"stdio.h\0math.h\0ctype.h\0sys/limits.h\0sys/fcntl.h\0sys/dirent.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzIsc_Omits_With_StdcMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zIsc_Omits_With_StdcSelect0[] =
"!defined\\(__STDC__\\) && !defined\\(_POSIX_SOURCE\\)";
#define ISC_OMITS_WITH_STDC_TEST_CT 1
static tTestDesc aIsc_Omits_With_StdcTests[] = {
{ TT_EGREP, zIsc_Omits_With_StdcSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Isc_Omits_With_Stdc
*/
static const char* apzIsc_Omits_With_StdcPatch[] = {
"format",
"!defined(_POSIX_SOURCE)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Kandr_Concat fix
*/
tSCC zKandr_ConcatName[] =
"kandr_concat";
/*
* File name selection pattern
*/
tSCC zKandr_ConcatList[] =
"sparc/asm_linkage.h\0sun*/asm_linkage.h\0arm/as_support.h\0arm/mc_type.h\0arm/xcb.h\0dev/chardefmac.h\0dev/ps_irq.h\0dev/screen.h\0dev/scsi.h\0sys/tty.h\0Xm.acorn/XmP.h\0bsd43/bsd43_.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzKandr_ConcatMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zKandr_ConcatSelect0[] =
"/\\*\\*/";
#define KANDR_CONCAT_TEST_CT 1
static tTestDesc aKandr_ConcatTests[] = {
{ TT_EGREP, zKandr_ConcatSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Kandr_Concat
*/
static const char* apzKandr_ConcatPatch[] = {
"format",
"##",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Linux_Ia64_Ucontext fix
*/
tSCC zLinux_Ia64_UcontextName[] =
"linux_ia64_ucontext";
/*
* File name selection pattern
*/
tSCC zLinux_Ia64_UcontextList[] =
"sys/ucontext.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzLinux_Ia64_UcontextMachs[] = {
"ia64-*-linux*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zLinux_Ia64_UcontextSelect0[] =
"\\(\\(\\(char \\*\\) &\\(\\(struct sigcontext \\*\\) 0\\)->sc_gr\\[0\\]\\) - \\(char \\*\\) 0\\)";
#define LINUX_IA64_UCONTEXT_TEST_CT 1
static tTestDesc aLinux_Ia64_UcontextTests[] = {
{ TT_EGREP, zLinux_Ia64_UcontextSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Linux_Ia64_Ucontext
*/
static const char* apzLinux_Ia64_UcontextPatch[] = {
"format",
"__builtin_offsetof (struct sigcontext, sc_gr[0])",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Lynxos_No_Warning_In_Sys_Time_H fix
*/
tSCC zLynxos_No_Warning_In_Sys_Time_HName[] =
"lynxos_no_warning_in_sys_time_h";
/*
* File name selection pattern
*/
tSCC zLynxos_No_Warning_In_Sys_Time_HList[] =
"sys/time.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzLynxos_No_Warning_In_Sys_Time_HMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zLynxos_No_Warning_In_Sys_Time_HSelect0[] =
"#warning[ \t]+Using <time.h> instead of <sys/time.h>";
#define LYNXOS_NO_WARNING_IN_SYS_TIME_H_TEST_CT 1
static tTestDesc aLynxos_No_Warning_In_Sys_Time_HTests[] = {
{ TT_EGREP, zLynxos_No_Warning_In_Sys_Time_HSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Lynxos_No_Warning_In_Sys_Time_H
*/
static const char* apzLynxos_No_Warning_In_Sys_Time_HPatch[] = {
"format",
"",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Lynxos_Missing_Putenv fix
*/
tSCC zLynxos_Missing_PutenvName[] =
"lynxos_missing_putenv";
/*
* File name selection pattern
*/
tSCC zLynxos_Missing_PutenvList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzLynxos_Missing_PutenvMachs[] = {
"*-*-lynxos*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zLynxos_Missing_PutenvSelect0[] =
"extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zLynxos_Missing_PutenvBypass0[] =
"putenv[ \\t]*\\(";
#define LYNXOS_MISSING_PUTENV_TEST_CT 2
static tTestDesc aLynxos_Missing_PutenvTests[] = {
{ TT_NEGREP, zLynxos_Missing_PutenvBypass0, (regex_t*)NULL },
{ TT_EGREP, zLynxos_Missing_PutenvSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Lynxos_Missing_Putenv
*/
static const char* apzLynxos_Missing_PutenvPatch[] = {
"format",
"%0\n\
extern int putenv\t\t\t\t_AP((char *));",
"extern char \\*getenv[ \t]*_AP\\(\\(const char \\*\\)\\);",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Machine_Ansi_H_Va_List fix
*/
tSCC zMachine_Ansi_H_Va_ListName[] =
"machine_ansi_h_va_list";
/*
* File name selection pattern
*/
#define zMachine_Ansi_H_Va_ListList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzMachine_Ansi_H_Va_ListMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zMachine_Ansi_H_Va_ListSelect0[] =
"define[ \t]+_BSD_VA_LIST_[ \t]";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zMachine_Ansi_H_Va_ListBypass0[] =
"__builtin_va_list";
#define MACHINE_ANSI_H_VA_LIST_TEST_CT 2
static tTestDesc aMachine_Ansi_H_Va_ListTests[] = {
{ TT_NEGREP, zMachine_Ansi_H_Va_ListBypass0, (regex_t*)NULL },
{ TT_EGREP, zMachine_Ansi_H_Va_ListSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Machine_Ansi_H_Va_List
*/
static const char* apzMachine_Ansi_H_Va_ListPatch[] = {
"format",
"%1__builtin_va_list",
"(define[ \t]+_BSD_VA_LIST_[ \t]+).*",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Machine_Name fix
*/
tSCC zMachine_NameName[] =
"machine_name";
/*
* File name selection pattern
*/
#define zMachine_NameList (char*)NULL
/*
* Machine/OS name selection pattern
*/
#define apzMachine_NameMachs (const char**)NULL
/*
* perform the C function call test
*/
tSCC zMachine_NameFTst0[] = "machine_name";
#define MACHINE_NAME_TEST_CT 1
static tTestDesc aMachine_NameTests[] = {
{ TT_FUNCTION, zMachine_NameFTst0, 0 /* unused */ }, };
/*
* Fix Command Arguments for Machine_Name
*/
static const char* apzMachine_NamePatch[] = {
"machine_name",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Math_Exception fix
*/
tSCC zMath_ExceptionName[] =
"math_exception";
/*
* File name selection pattern
*/
tSCC zMath_ExceptionList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzMath_ExceptionMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zMath_ExceptionSelect0[] =
"struct exception";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zMath_ExceptionBypass0[] =
"We have a problem when using C\\+\\+|for C\\+\\+, _[a-z0-9A-Z_]+_exception; for C, exception";
#define MATH_EXCEPTION_TEST_CT 2
static tTestDesc aMath_ExceptionTests[] = {
{ TT_NEGREP, zMath_ExceptionBypass0, (regex_t*)NULL },
{ TT_EGREP, zMath_ExceptionSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Math_Exception
*/
static const char* apzMath_ExceptionPatch[] = {
"wrap",
"#ifdef __cplusplus\n\
#define exception __math_exception\n\
#endif\n",
"#ifdef __cplusplus\n\
#undef exception\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Math_Huge_Val_From_Dbl_Max fix
*/
tSCC zMath_Huge_Val_From_Dbl_MaxName[] =
"math_huge_val_from_dbl_max";
/*
* File name selection pattern
*/
tSCC zMath_Huge_Val_From_Dbl_MaxList[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzMath_Huge_Val_From_Dbl_MaxMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zMath_Huge_Val_From_Dbl_MaxSelect0[] =
"define[ \t]+HUGE_VAL[ \t]+DBL_MAX";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zMath_Huge_Val_From_Dbl_MaxBypass0[] =
"define[ \t]+DBL_MAX";
#define MATH_HUGE_VAL_FROM_DBL_MAX_TEST_CT 2
static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
{ TT_NEGREP, zMath_Huge_Val_From_Dbl_MaxBypass0, (regex_t*)NULL },
{ TT_EGREP, zMath_Huge_Val_From_Dbl_MaxSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
*/
static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
"\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
\tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
\tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
\telse cat\n\
\tfi",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Nested_Auth_Des fix
*/
tSCC zNested_Auth_DesName[] =
"nested_auth_des";
/*
* File name selection pattern
*/
tSCC zNested_Auth_DesList[] =
"rpc/rpc.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzNested_Auth_DesMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zNested_Auth_DesSelect0[] =
"(/\\*.*rpc/auth_des\\.h>.*)/\\*";
#define NESTED_AUTH_DES_TEST_CT 1
static tTestDesc aNested_Auth_DesTests[] = {
{ TT_EGREP, zNested_Auth_DesSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Nested_Auth_Des
*/
static const char* apzNested_Auth_DesPatch[] = {
"format",
"%1*/ /*",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Nested_Sys_Limits fix
*/
tSCC zNested_Sys_LimitsName[] =
"nested_sys_limits";
/*
* File name selection pattern
*/
tSCC zNested_Sys_LimitsList[] =
"sys/limits.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzNested_Sys_LimitsMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zNested_Sys_LimitsSelect0[] =