blob: 6c50e9721651242e32085d665b05d89af945d3d6 [file] [log] [blame]
/* -*- buffer-read-only: t -*- vi: set ro:
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
* It has been AutoGen-ed July 1, 2021 at 03:44:46 PM by AutoGen 5.18.7
* From the definitions inclhack.def
* and the template file fixincl
*/
/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Jul 1 15:44:46 CEST 2021
*
* 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 260 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_Aix_Fcntl fix
*/
tSCC zAab_Aix_FcntlName[] =
"AAB_aix_fcntl";
/*
* File name selection pattern
*/
tSCC zAab_Aix_FcntlList[] =
"fcntl.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Aix_FcntlMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAab_Aix_FcntlSelect0[] =
"define open[ \t]open64";
#define AAB_AIX_FCNTL_TEST_CT 1
static tTestDesc aAab_Aix_FcntlTests[] = {
{ TT_EGREP, zAab_Aix_FcntlSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aab_Aix_Fcntl
*/
static const char* apzAab_Aix_FcntlPatch[] = {
"wrap",
"",
"\n\
#if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus\n\
#define __need__aix_fcntl_h_fix\n\
#ifdef __need__aix_fcntl_h_fix\n\
#undef open\n\
#undef creat\n\
#undef openat\n\
/* Alias the symbols using asm */\n\
extern \"C\" {\n\
extern int open(const char *, int, ...) __asm__(\"open64\");\n\
extern int creat(const char *, mode_t) __asm__(\"creat64\");\n\
#if (_XOPEN_SOURCE >= 700)\n\
extern int openat(int, const char *, int, ...) __asm__(\"open64at\");\n\
#endif\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 Darwin_Api_Availability fix
*/
tSCC zDarwin_Api_AvailabilityName[] =
"darwin_api_availability";
/*
* File name selection pattern
*/
tSCC zDarwin_Api_AvailabilityList[] =
"os/availability.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Api_AvailabilityMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Api_AvailabilitySelect0[] =
" *#define __API_AVAILABLE.*\n\
*#define __API_DEPRECATED.*\n\
*#define __API_DEPRECATED_WITH_REPLACEMENT.*\n\
*#define __API_UNAVAILABLE.*\n";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zDarwin_Api_AvailabilityBypass0[] =
"__IPHONE_OS_VERSION_MIN_REQUIRED";
#define DARWIN_API_AVAILABILITY_TEST_CT 2
static tTestDesc aDarwin_Api_AvailabilityTests[] = {
{ TT_NEGREP, zDarwin_Api_AvailabilityBypass0, (regex_t*)NULL },
{ TT_EGREP, zDarwin_Api_AvailabilitySelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Api_Availability
*/
static const char* apzDarwin_Api_AvailabilityPatch[] = {
"format",
" #define API_AVAILABLE(...)\n\
#define API_DEPRECATED(...)\n\
#define API_DEPRECATED_WITH_REPLACEMENT(...)\n\
#define API_UNAVAILABLE(...)\n",
(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 Aab_Vxworks_Assert fix
*/
tSCC zAab_Vxworks_AssertName[] =
"AAB_vxworks_assert";
/*
* File name selection pattern
*/
tSCC zAab_Vxworks_AssertList[] =
"assert.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Vxworks_AssertMachs[] = {
"*-*-vxworks*",
(const char*)NULL };
#define AAB_VXWORKS_ASSERT_TEST_CT 0
#define aAab_Vxworks_AssertTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Aab_Vxworks_Assert
*/
static const char* apzAab_Vxworks_AssertPatch[] = {
"#ifdef _ASSERT_H\n\
#undef _ASSERT_H\n\
#undef assert\n\
#endif\n\n\
#define _ASSERT_H\n\n\
#ifdef __cplusplus\n\
extern \"C\" {\n\
#endif\n\n\
#if defined(__STDC__) || defined(__cplusplus)\n\
extern void __assert (const char*);\n\
#else\n\
extern void __assert ();\n\
#endif\n\n\
#ifdef NDEBUG\n\
#define assert(ign) ((void)0)\n\
#else\n\n\
#define ASSERT_STRINGIFY(str) ASSERT_STRINGIFY_HELPER(str)\n\
#define ASSERT_STRINGIFY_HELPER(str) #str\n\n\
#define assert(test) ((void) \\\n\
((test) ? ((void)0) : \\\n\
__assert(\"Assertion failed: \" #test \", file \" \\\n\
__FILE__ \", line \" ASSERT_STRINGIFY(__LINE__) \"\\n\")))\n\n\
#endif\n\n\
#ifdef __cplusplus\n\
}\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Vxworks_Regs_Vxtypes fix
*/
tSCC zAab_Vxworks_Regs_VxtypesName[] =
"AAB_vxworks_regs_vxtypes";
/*
* File name selection pattern
*/
tSCC zAab_Vxworks_Regs_VxtypesList[] =
"regs.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Vxworks_Regs_VxtypesMachs[] = {
"*-*-vxworks*",
(const char*)NULL };
#define AAB_VXWORKS_REGS_VXTYPES_TEST_CT 0
#define aAab_Vxworks_Regs_VxtypesTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Aab_Vxworks_Regs_Vxtypes
*/
static const char* apzAab_Vxworks_Regs_VxtypesPatch[] = {
"#ifndef _REGS_H\n\
#define _REGS_H\n\
/* regs.h depends on CPU_FAMILY being properly defined, which\n\
is done by vxCpu.h. */\n\
#include <types/vxCpu.h>\n\
/* regs.h includes a CPU_FAMILY-specific header that requires\n\
vxTypesOld.h to already have been included. Those headers\n\
contain proper _ASMLANGUAGE guards around their typedefs,\n\
but vxTypesOld.h itself does not. So we avoid including\n\
vxTypesOld.h from assembly. */\n\
#ifndef _ASMLANGUAGE\n\
#include <types/vxTypesOld.h>\n\
#endif\n\
#include_next <arch/../regs.h>\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aab_Vxworks_Unistd fix
*/
tSCC zAab_Vxworks_UnistdName[] =
"AAB_vxworks_unistd";
/*
* File name selection pattern
*/
tSCC zAab_Vxworks_UnistdList[] =
"unistd.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAab_Vxworks_UnistdMachs[] = {
"*-*-vxworks*",
(const char*)NULL };
#define AAB_VXWORKS_UNISTD_TEST_CT 0
#define aAab_Vxworks_UnistdTests (tTestDesc*)NULL
/*
* Fix Command Arguments for Aab_Vxworks_Unistd
*/
static const char* apzAab_Vxworks_UnistdPatch[] = {
"#ifndef _UNISTD_H\n\
#define _UNISTD_H\n\
#include_next <unistd.h>\n\
#include <ioLib.h>\n\
#ifndef STDIN_FILENO\n\
#define STDIN_FILENO 0\n\
#endif\n\
#ifndef STDOUT_FILENO\n\
#define STDOUT_FILENO 1\n\
#endif\n\
#ifndef STDERR_FILENO\n\
#define STDERR_FILENO 2\n\
#endif\n\
#endif /* _UNISTD_H */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Assert fix
*/
tSCC zAix_AssertName[] =
"aix_assert";
/*
* File name selection pattern
*/
tSCC zAix_AssertList[] =
"assert.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_AssertMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_AssertSelect0[] =
"#define[ \t]static_assert[ \t]_Static_assert";
#define AIX_ASSERT_TEST_CT 1
static tTestDesc aAix_AssertTests[] = {
{ TT_EGREP, zAix_AssertSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Assert
*/
static const char* apzAix_AssertPatch[] = {
"format",
"#ifndef __cplusplus\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Complex fix
*/
tSCC zAix_ComplexName[] =
"aix_complex";
/*
* File name selection pattern
*/
tSCC zAix_ComplexList[] =
"complex.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_ComplexMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_ComplexSelect0[] =
"#define[ \t]_Complex_I[ \t]__I";
#define AIX_COMPLEX_TEST_CT 1
static tTestDesc aAix_ComplexTests[] = {
{ TT_EGREP, zAix_ComplexSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Complex
*/
static const char* apzAix_ComplexPatch[] = {
"format",
"#define _Complex_I (__extension__ 1.0iF)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Externc fix
*/
tSCC zAix_ExterncName[] =
"aix_externc";
/*
* File name selection pattern
*/
tSCC zAix_ExterncList[] =
"ctype.h\0fcntl.h\0langinfo.h\0ldfcn.h\0sys/localedef.h\0sys/times.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_ExterncMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAix_ExterncBypass0[] =
"extern \"C\"";
#define AIX_EXTERNC_TEST_CT 1
static tTestDesc aAix_ExterncTests[] = {
{ TT_NEGREP, zAix_ExterncBypass0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Externc
*/
static const char* apzAix_ExterncPatch[] = {
"wrap",
"#ifdef __cplusplus\n\
extern \"C\" {\n\
#endif\n",
"#ifdef __cplusplus\n\
}\n\
#endif\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Externcpp1 fix
*/
tSCC zAix_Externcpp1Name[] =
"aix_externcpp1";
/*
* File name selection pattern
*/
tSCC zAix_Externcpp1List[] =
"sys/socket.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Externcpp1Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Externcpp1Select0[] =
"#ifndef _KERNEL\n\
#ifdef __cplusplus\n\
extern \"C\" int naccept\\(int, struct sockaddr \\*, socklen_t \\*\\);";
#define AIX_EXTERNCPP1_TEST_CT 1
static tTestDesc aAix_Externcpp1Tests[] = {
{ TT_EGREP, zAix_Externcpp1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Externcpp1
*/
static const char* apzAix_Externcpp1Patch[] = {
"format",
"#ifndef _KERNEL\n\
#ifdef __cplusplus\n\
extern \"C++\" {\n\
extern \"C\" int naccept(int, struct sockaddr *, socklen_t *);",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Externcpp2 fix
*/
tSCC zAix_Externcpp2Name[] =
"aix_externcpp2";
/*
* File name selection pattern
*/
tSCC zAix_Externcpp2List[] =
"sys/socket.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Externcpp2Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Externcpp2Select0[] =
"#endif /\\* COMPAT_43 \\*/\n\
#else /\\* __cplusplus \\*/";
#define AIX_EXTERNCPP2_TEST_CT 1
static tTestDesc aAix_Externcpp2Tests[] = {
{ TT_EGREP, zAix_Externcpp2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Externcpp2
*/
static const char* apzAix_Externcpp2Patch[] = {
"format",
"#endif /* COMPAT_43 */\n\
} /* extern \"C++\" */\n\
#else /* __cplusplus */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Inttypes fix
*/
tSCC zAix_InttypesName[] =
"aix_inttypes";
/*
* File name selection pattern
*/
tSCC zAix_InttypesList[] =
"sys/inttypes.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_InttypesMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_InttypesSelect0[] =
"#if !defined\\(__cplusplus\\) \\|\\| defined\\(__STDC_FORMAT_MACROS\\)";
#define AIX_INTTYPES_TEST_CT 1
static tTestDesc aAix_InttypesTests[] = {
{ TT_EGREP, zAix_InttypesSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Inttypes
*/
static const char* apzAix_InttypesPatch[] = {
"format",
"#if 1",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Malloc fix
*/
tSCC zAix_MallocName[] =
"aix_malloc";
/*
* File name selection pattern
*/
tSCC zAix_MallocList[] =
"malloc.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_MallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_MallocSelect0[] =
"#ifdef __cplusplus\n\
extern \"C\" \\{\n\
[ \t]extern \"builtin\" char \\*__alloca \\(size_t\\);";
#define AIX_MALLOC_TEST_CT 1
static tTestDesc aAix_MallocTests[] = {
{ TT_EGREP, zAix_MallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Malloc
*/
static const char* apzAix_MallocPatch[] = {
"format",
"#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
extern \"C\" {\n\
\textern \"builtin\" char *__alloca (size_t);",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Net_If_Arp fix
*/
tSCC zAix_Net_If_ArpName[] =
"aix_net_if_arp";
/*
* File name selection pattern
*/
tSCC zAix_Net_If_ArpList[] =
"net/if_arp.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Net_If_ArpMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Net_If_ArpSelect0[] =
"^struct fc_softc \\{";
#define AIX_NET_IF_ARP_TEST_CT 1
static tTestDesc aAix_Net_If_ArpTests[] = {
{ TT_EGREP, zAix_Net_If_ArpSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Net_If_Arp
*/
static const char* apzAix_Net_If_ArpPatch[] = {
"format",
"typedef struct _fc_softc {",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Null fix
*/
tSCC zAix_NullName[] =
"aix_null";
/*
* File name selection pattern
*/
tSCC zAix_NullList[] =
"curses.h\0dbm.h\0locale.h\0stdio.h\0stdlib.h\0string.h\0time.h\0unistd.h\0wchar.h\0sys/dir.h\0sys/param.h\0sys/types.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_NullMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_NullSelect0[] =
"#define[ \t]+NULL[ \t]+\\(*0L*\\)*";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zAix_NullBypass0[] =
"__null";
#define AIX_NULL_TEST_CT 2
static tTestDesc aAix_NullTests[] = {
{ TT_NEGREP, zAix_NullBypass0, (regex_t*)NULL },
{ TT_EGREP, zAix_NullSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Null
*/
static const char* apzAix_NullPatch[] = {
"format",
"#ifndef NULL\n\
#ifdef __cplusplus\n\
#ifdef __GNUG__\n\
#define NULL __null\n\
#else /* ! __GNUG__ */\n\
#define NULL 0L\n\
#endif /* __GNUG__ */\n\
#else /* ! __cplusplus */\n\
#define NULL ((void *)0)\n\
#endif /* __cplusplus */\n\
#endif /* !NULL */",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Once_Init_1 fix
*/
tSCC zAix_Once_Init_1Name[] =
"aix_once_init_1";
/*
* File name selection pattern
*/
tSCC zAix_Once_Init_1List[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Once_Init_1Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Once_Init_1Select0[] =
"#define[ \t]PTHREAD_ONCE_INIT \\\\\n\
\\{ \\\\\n";
#define AIX_ONCE_INIT_1_TEST_CT 1
static tTestDesc aAix_Once_Init_1Tests[] = {
{ TT_EGREP, zAix_Once_Init_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Once_Init_1
*/
static const char* apzAix_Once_Init_1Patch[] = {
"format",
"#define PTHREAD_ONCE_INIT \\\n\
{{ \\\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Once_Init_2 fix
*/
tSCC zAix_Once_Init_2Name[] =
"aix_once_init_2";
/*
* File name selection pattern
*/
tSCC zAix_Once_Init_2List[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Once_Init_2Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Once_Init_2Select0[] =
"[ \t]0 \\\\\n\
\\}\n";
#define AIX_ONCE_INIT_2_TEST_CT 1
static tTestDesc aAix_Once_Init_2Tests[] = {
{ TT_EGREP, zAix_Once_Init_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Once_Init_2
*/
static const char* apzAix_Once_Init_2Patch[] = {
"format",
"\t0 \\\n\
}}\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Mutex_Initializer_1 fix
*/
tSCC zAix_Mutex_Initializer_1Name[] =
"aix_mutex_initializer_1";
/*
* File name selection pattern
*/
tSCC zAix_Mutex_Initializer_1List[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Mutex_Initializer_1Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Mutex_Initializer_1Select0[] =
"#define[ \t]PTHREAD_MUTEX_INITIALIZER \\\\\n\
\\{ \\\\\n";
#define AIX_MUTEX_INITIALIZER_1_TEST_CT 1
static tTestDesc aAix_Mutex_Initializer_1Tests[] = {
{ TT_EGREP, zAix_Mutex_Initializer_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Mutex_Initializer_1
*/
static const char* apzAix_Mutex_Initializer_1Patch[] = {
"format",
"#define PTHREAD_MUTEX_INITIALIZER \\\n\
{{ \\\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Cond_Initializer_1 fix
*/
tSCC zAix_Cond_Initializer_1Name[] =
"aix_cond_initializer_1";
/*
* File name selection pattern
*/
tSCC zAix_Cond_Initializer_1List[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Cond_Initializer_1Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Cond_Initializer_1Select0[] =
"#define[ \t]PTHREAD_COND_INITIALIZER \\\\\n\
\\{ \\\\\n";
#define AIX_COND_INITIALIZER_1_TEST_CT 1
static tTestDesc aAix_Cond_Initializer_1Tests[] = {
{ TT_EGREP, zAix_Cond_Initializer_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Cond_Initializer_1
*/
static const char* apzAix_Cond_Initializer_1Patch[] = {
"format",
"#define PTHREAD_COND_INITIALIZER \\\n\
{{ \\\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Rwlock_Initializer_1 fix
*/
tSCC zAix_Rwlock_Initializer_1Name[] =
"aix_rwlock_initializer_1";
/*
* File name selection pattern
*/
tSCC zAix_Rwlock_Initializer_1List[] =
"pthread.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Rwlock_Initializer_1Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Rwlock_Initializer_1Select0[] =
"#define[ \t]PTHREAD_RWLOCK_INITIALIZER \\\\\n\
\\{ \\\\\n";
#define AIX_RWLOCK_INITIALIZER_1_TEST_CT 1
static tTestDesc aAix_Rwlock_Initializer_1Tests[] = {
{ TT_EGREP, zAix_Rwlock_Initializer_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Rwlock_Initializer_1
*/
static const char* apzAix_Rwlock_Initializer_1Patch[] = {
"format",
"#define PTHREAD_RWLOCK_INITIALIZER \\\n\
{{ \\\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Physadr_T fix
*/
tSCC zAix_Physadr_TName[] =
"aix_physadr_t";
/*
* File name selection pattern
*/
tSCC zAix_Physadr_TList[] =
"sys/types.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Physadr_TMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Physadr_TSelect0[] =
"typedef[ \t]*struct[ \t]*([{][^}]*[}][ \t]*\\*[ \t]*physadr_t;)";
#define AIX_PHYSADR_T_TEST_CT 1
static tTestDesc aAix_Physadr_TTests[] = {
{ TT_EGREP, zAix_Physadr_TSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Physadr_T
*/
static const char* apzAix_Physadr_TPatch[] = {
"format",
"typedef struct __physadr_s %1",
(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[\t ][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_Stdint_1 fix
*/
tSCC zAix_Stdint_1Name[] =
"aix_stdint_1";
/*
* File name selection pattern
*/
tSCC zAix_Stdint_1List[] =
"stdint-aix.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdint_1Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdint_1Select0[] =
"#define[ \t]UINT8_MAX[ \t]\\(255U\\)\n\
#define[ \t]UINT16_MAX[ \t]\\(65535U\\)";
#define AIX_STDINT_1_TEST_CT 1
static tTestDesc aAix_Stdint_1Tests[] = {
{ TT_EGREP, zAix_Stdint_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdint_1
*/
static const char* apzAix_Stdint_1Patch[] = {
"format",
"#define UINT8_MAX\t(255)\n\
#define UINT16_MAX\t(65535)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdint_2 fix
*/
tSCC zAix_Stdint_2Name[] =
"aix_stdint_2";
/*
* File name selection pattern
*/
tSCC zAix_Stdint_2List[] =
"stdint-aix.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdint_2Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdint_2Select0[] =
"#define[ \t]INTPTR_MIN[ \t]INT64_MIN\n\
#define[ \t]INTPTR_MAX[ \t]INT64_MAX\n\
#define[ \t]UINTPTR_MAX[ \t]UINT64_MAX\n\
#else\n\
#define[ \t]INTPTR_MIN[ \t]INT32_MIN\n\
#define[ \t]INTPTR_MAX[ \t]INT32_MAX\n\
#define[ \t]UINTPTR_MAX[ \t]UINT32_MAX";
#define AIX_STDINT_2_TEST_CT 1
static tTestDesc aAix_Stdint_2Tests[] = {
{ TT_EGREP, zAix_Stdint_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdint_2
*/
static const char* apzAix_Stdint_2Patch[] = {
"format",
"#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
#define INTPTR_MAX\t9223372036854775807L\n\
#define UINTPTR_MAX\t18446744073709551615UL\n\
#else\n\
#define INTPTR_MIN\t(-INTPTR_MAX-1)\n\
#define INTPTR_MAX\t2147483647L\n\
#define UINTPTR_MAX\t4294967295UL",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdint_3 fix
*/
tSCC zAix_Stdint_3Name[] =
"aix_stdint_3";
/*
* File name selection pattern
*/
tSCC zAix_Stdint_3List[] =
"stdint-aix.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdint_3Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdint_3Select0[] =
"#define[ \t]PTRDIFF_MIN[ \t]INT64_MIN\n\
#define[ \t]PTRDIFF_MAX[ \t]INT64_MAX\n\
#else\n\
#define[ \t]PTRDIFF_MIN[ \t]*INT32_MIN\n\
#define[ \t]PTRDIFF_MAX[ \t]*INT32_MAX";
#define AIX_STDINT_3_TEST_CT 1
static tTestDesc aAix_Stdint_3Tests[] = {
{ TT_EGREP, zAix_Stdint_3Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdint_3
*/
static const char* apzAix_Stdint_3Patch[] = {
"format",
"#define PTRDIFF_MIN\t(-9223372036854775807L - 1)\n\
#define PTRDIFF_MAX\t9223372036854775807L\n\
#else\n\
#define PTRDIFF_MIN\t(-2147483647L - 1)\n\
#define PTRDIFF_MAX\t2147483647L",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdint_4 fix
*/
tSCC zAix_Stdint_4Name[] =
"aix_stdint_4";
/*
* File name selection pattern
*/
tSCC zAix_Stdint_4List[] =
"stdint-aix.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdint_4Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdint_4Select0[] =
"#define[ \t]SIZE_MAX[ \t]UINT64_MAX\n\
#else\n\
#define[ \t]SIZE_MAX[ \t]*UINT32_MAX";
#define AIX_STDINT_4_TEST_CT 1
static tTestDesc aAix_Stdint_4Tests[] = {
{ TT_EGREP, zAix_Stdint_4Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdint_4
*/
static const char* apzAix_Stdint_4Patch[] = {
"format",
"#define SIZE_MAX\t18446744073709551615UL\n\
#else\n\
#define SIZE_MAX\t4294967295UL",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdint_5 fix
*/
tSCC zAix_Stdint_5Name[] =
"aix_stdint_5";
/*
* File name selection pattern
*/
tSCC zAix_Stdint_5List[] =
"stdint-aix.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdint_5Machs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdint_5Select0[] =
"#define[ \t]UINT8_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)\n\
#define[ \t]UINT16_C\\(c\\)[ \t]__CONCAT__\\(c,U\\)";
#define AIX_STDINT_5_TEST_CT 1
static tTestDesc aAix_Stdint_5Tests[] = {
{ TT_EGREP, zAix_Stdint_5Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdint_5
*/
static const char* apzAix_Stdint_5Patch[] = {
"format",
"#define UINT8_C(c)\tc\n\
#define UINT16_C(c)\tc",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdio_Inline fix
*/
tSCC zAix_Stdio_InlineName[] =
"aix_stdio_inline";
/*
* File name selection pattern
*/
tSCC zAix_Stdio_InlineList[] =
"stdio.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdio_InlineMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdio_InlineSelect0[] =
"#ifdef __cplusplus\\\n\
}\\\n\
\\\n\
#ifdef ferror\\\n";
#define AIX_STDIO_INLINE_TEST_CT 1
static tTestDesc aAix_Stdio_InlineTests[] = {
{ TT_EGREP, zAix_Stdio_InlineSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdio_Inline
*/
static const char* apzAix_Stdio_InlinePatch[] = {
"format",
"#ifdef __cplusplus\n\
}\n\
#endif\n\n\
#if (defined(__cplusplus) && defined(__IBMCPP__))\n\
#ifdef ferror\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdlib_Malloc fix
*/
tSCC zAix_Stdlib_MallocName[] =
"aix_stdlib_malloc";
/*
* File name selection pattern
*/
tSCC zAix_Stdlib_MallocList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdlib_MallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdlib_MallocSelect0[] =
"#define[ \t]+malloc[ \t]+__linux_malloc";
#define AIX_STDLIB_MALLOC_TEST_CT 1
static tTestDesc aAix_Stdlib_MallocTests[] = {
{ TT_EGREP, zAix_Stdlib_MallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdlib_Malloc
*/
static const char* apzAix_Stdlib_MallocPatch[] = {
"format",
"extern void *malloc(size_t) __asm__(\"__linux_malloc\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdlib_Realloc fix
*/
tSCC zAix_Stdlib_ReallocName[] =
"aix_stdlib_realloc";
/*
* File name selection pattern
*/
tSCC zAix_Stdlib_ReallocList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdlib_ReallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdlib_ReallocSelect0[] =
"#define[ \t]+realloc[ \t]+__linux_realloc";
#define AIX_STDLIB_REALLOC_TEST_CT 1
static tTestDesc aAix_Stdlib_ReallocTests[] = {
{ TT_EGREP, zAix_Stdlib_ReallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdlib_Realloc
*/
static const char* apzAix_Stdlib_ReallocPatch[] = {
"format",
"extern void *realloc(void *, size_t) __asm__(\"__linux_realloc\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdlib_Calloc fix
*/
tSCC zAix_Stdlib_CallocName[] =
"aix_stdlib_calloc";
/*
* File name selection pattern
*/
tSCC zAix_Stdlib_CallocList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdlib_CallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdlib_CallocSelect0[] =
"#define[ \t]+calloc[ \t]+__linux_calloc";
#define AIX_STDLIB_CALLOC_TEST_CT 1
static tTestDesc aAix_Stdlib_CallocTests[] = {
{ TT_EGREP, zAix_Stdlib_CallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdlib_Calloc
*/
static const char* apzAix_Stdlib_CallocPatch[] = {
"format",
"extern void *calloc(size_t, size_t) __asm__(\"__linux_calloc\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdlib_Valloc fix
*/
tSCC zAix_Stdlib_VallocName[] =
"aix_stdlib_valloc";
/*
* File name selection pattern
*/
tSCC zAix_Stdlib_VallocList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdlib_VallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdlib_VallocSelect0[] =
"#define[ \t]+valloc[ \t]+__linux_valloc";
#define AIX_STDLIB_VALLOC_TEST_CT 1
static tTestDesc aAix_Stdlib_VallocTests[] = {
{ TT_EGREP, zAix_Stdlib_VallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdlib_Valloc
*/
static const char* apzAix_Stdlib_VallocPatch[] = {
"format",
"extern void *valloc(size_t) __asm__(\"__linux_valloc\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdlib_Vec_Malloc fix
*/
tSCC zAix_Stdlib_Vec_MallocName[] =
"aix_stdlib_vec_malloc";
/*
* File name selection pattern
*/
tSCC zAix_Stdlib_Vec_MallocList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdlib_Vec_MallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdlib_Vec_MallocSelect0[] =
"#define[ \t]+malloc[ \t]+vec_malloc";
#define AIX_STDLIB_VEC_MALLOC_TEST_CT 1
static tTestDesc aAix_Stdlib_Vec_MallocTests[] = {
{ TT_EGREP, zAix_Stdlib_Vec_MallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdlib_Vec_Malloc
*/
static const char* apzAix_Stdlib_Vec_MallocPatch[] = {
"format",
"extern void *malloc(size_t) __asm__(\"vec_malloc\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Stdlib_Vec_Calloc fix
*/
tSCC zAix_Stdlib_Vec_CallocName[] =
"aix_stdlib_vec_calloc";
/*
* File name selection pattern
*/
tSCC zAix_Stdlib_Vec_CallocList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Stdlib_Vec_CallocMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Stdlib_Vec_CallocSelect0[] =
"#define[ \t]+calloc[ \t]+vec_calloc";
#define AIX_STDLIB_VEC_CALLOC_TEST_CT 1
static tTestDesc aAix_Stdlib_Vec_CallocTests[] = {
{ TT_EGREP, zAix_Stdlib_Vec_CallocSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Stdlib_Vec_Calloc
*/
static const char* apzAix_Stdlib_Vec_CallocPatch[] = {
"format",
"extern void *calloc(size_t, size_t) __asm__(\"vec_calloc\");",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Aix_Strtof_Const fix
*/
tSCC zAix_Strtof_ConstName[] =
"aix_strtof_const";
/*
* File name selection pattern
*/
tSCC zAix_Strtof_ConstList[] =
"stdlib.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_Strtof_ConstMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_Strtof_ConstSelect0[] =
"((extern[ \t]+)?float[ \t]+strtof)\\(char \\*, char \\*\\*\\);";
#define AIX_STRTOF_CONST_TEST_CT 1
static tTestDesc aAix_Strtof_ConstTests[] = {
{ TT_EGREP, zAix_Strtof_ConstSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Strtof_Const
*/
static const char* apzAix_Strtof_ConstPatch[] = {
"format",
"%1(const char *, char **);",
(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
*/
tSCC* apzAix_SysmachineMachs[] = {
"*-*-aix*",
(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_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
*/
tSCC* apzAix_Syswait_2Machs[] = {
"*-*-aix*",
(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
*/
tSCC* apzAix_VolatileMachs[] = {
"*-*-aix*",
(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 Aix_Unistd fix
*/
tSCC zAix_UnistdName[] =
"aix_unistd";
/*
* File name selection pattern
*/
tSCC zAix_UnistdList[] =
"unistd.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzAix_UnistdMachs[] = {
"*-*-aix*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zAix_UnistdSelect0[] =
"[ \t]+static[ \t]+int[ \t]+getdtablesize\\(\\)";
#define AIX_UNISTD_TEST_CT 1
static tTestDesc aAix_UnistdTests[] = {
{ TT_EGREP, zAix_UnistdSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Aix_Unistd
*/
static const char* apzAix_UnistdPatch[] = {
"format",
"\tstatic int\t\tgetdtablesize(void)",
(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_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[] =
"(#[ \t]*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_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_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 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_Availabilityinternal fix
*/
tSCC zDarwin_AvailabilityinternalName[] =
"darwin_availabilityinternal";
/*
* File name selection pattern
*/
tSCC zDarwin_AvailabilityinternalList[] =
"AvailabilityInternal.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_AvailabilityinternalMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_AvailabilityinternalSelect0[] =
"#define[ \t]+(__API_[ADU]\\([^)]*\\)).*";
#define DARWIN_AVAILABILITYINTERNAL_TEST_CT 1
static tTestDesc aDarwin_AvailabilityinternalTests[] = {
{ TT_EGREP, zDarwin_AvailabilityinternalSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Availabilityinternal
*/
static const char* apzDarwin_AvailabilityinternalPatch[] = {
"format",
"#if defined(__has_attribute)\n\
#if __has_attribute(availability)\n\
%0\n\
#else\n\
#define %1\n\
#endif\n\
#else\n\
#define %1\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_9_Long_Double_Funcs_2 fix
*/
tSCC zDarwin_9_Long_Double_Funcs_2Name[] =
"darwin_9_long_double_funcs_2";
/*
* File name selection pattern
*/
tSCC zDarwin_9_Long_Double_Funcs_2List[] =
"math.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_9_Long_Double_Funcs_2Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_9_Long_Double_Funcs_2Select0[] =
"#include[ \\t]+\\\"";
#define DARWIN_9_LONG_DOUBLE_FUNCS_2_TEST_CT 1
static tTestDesc aDarwin_9_Long_Double_Funcs_2Tests[] = {
{ TT_EGREP, zDarwin_9_Long_Double_Funcs_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_9_Long_Double_Funcs_2
*/
static const char* apzDarwin_9_Long_Double_Funcs_2Patch[] = {
"format",
"%1<%2.h>",
"([ \\t]*#[ \\t]*include[ \\t]+)\"([a-z0-9/]+)\\.h\"",
(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_Ll_Funcs_Avail fix
*/
tSCC zDarwin_Ll_Funcs_AvailName[] =
"darwin_ll_funcs_avail";
/*
* File name selection pattern
*/
tSCC zDarwin_Ll_Funcs_AvailList[] =
"architecture/ppc/math.h\0architecture/i386/math.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Ll_Funcs_AvailMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Ll_Funcs_AvailSelect0[] =
"#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^1]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^)]*";
#define DARWIN_LL_FUNCS_AVAIL_TEST_CT 1
static tTestDesc aDarwin_Ll_Funcs_AvailTests[] = {
{ TT_EGREP, zDarwin_Ll_Funcs_AvailSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Ll_Funcs_Avail
*/
static const char* apzDarwin_Ll_Funcs_AvailPatch[] = { sed_cmd_z,
"-e", "s/#if[^_]*__STDC_VERSION__[^_]*__STDC_VERSION__[^_]*199901L[^_]*__STRICT_ANSI__[^_]*__GNUC__[^\\)]*)/#if !(__DARWIN_NO_LONG_LONG)/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Longjmp_Noreturn fix
*/
tSCC zDarwin_Longjmp_NoreturnName[] =
"darwin_longjmp_noreturn";
/*
* File name selection pattern
*/
tSCC zDarwin_Longjmp_NoreturnList[] =
"i386/setjmp.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Longjmp_NoreturnMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Longjmp_NoreturnSelect0[] =
"(.*longjmp\\(.*jmp_buf.*[^)]+\\));";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zDarwin_Longjmp_NoreturnBypass0[] =
"__dead2";
#define DARWIN_LONGJMP_NORETURN_TEST_CT 2
static tTestDesc aDarwin_Longjmp_NoreturnTests[] = {
{ TT_NEGREP, zDarwin_Longjmp_NoreturnBypass0, (regex_t*)NULL },
{ TT_EGREP, zDarwin_Longjmp_NoreturnSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Longjmp_Noreturn
*/
static const char* apzDarwin_Longjmp_NoreturnPatch[] = {
"format",
"%1 __attribute__ ((__noreturn__));",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Os_Trace_1 fix
*/
tSCC zDarwin_Os_Trace_1Name[] =
"darwin_os_trace_1";
/*
* File name selection pattern
*/
tSCC zDarwin_Os_Trace_1List[] =
"os/trace.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Os_Trace_1Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Os_Trace_1Select0[] =
"^(_os_trace_verify_printf.*) (__attribute__.*)";
#define DARWIN_OS_TRACE_1_TEST_CT 1
static tTestDesc aDarwin_Os_Trace_1Tests[] = {
{ TT_EGREP, zDarwin_Os_Trace_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Os_Trace_1
*/
static const char* apzDarwin_Os_Trace_1Patch[] = {
"format",
"%1",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Os_Trace_2 fix
*/
tSCC zDarwin_Os_Trace_2Name[] =
"darwin_os_trace_2";
/*
* File name selection pattern
*/
tSCC zDarwin_Os_Trace_2List[] =
"os/trace.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Os_Trace_2Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Os_Trace_2Select0[] =
"typedef.*\\^os_trace_payload_t.*";
#define DARWIN_OS_TRACE_2_TEST_CT 1
static tTestDesc aDarwin_Os_Trace_2Tests[] = {
{ TT_EGREP, zDarwin_Os_Trace_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Os_Trace_2
*/
static const char* apzDarwin_Os_Trace_2Patch[] = {
"format",
"#if __BLOCKS__\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Os_Trace_3 fix
*/
tSCC zDarwin_Os_Trace_3Name[] =
"darwin_os_trace_3";
/*
* File name selection pattern
*/
tSCC zDarwin_Os_Trace_3List[] =
"os/trace.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Os_Trace_3Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Os_Trace_3Select0[] =
"__(API|OSX)_.*\n\
OS_EXPORT.*\n\
.*\n\
_os_trace.*os_trace_payload_t payload);";
#define DARWIN_OS_TRACE_3_TEST_CT 1
static tTestDesc aDarwin_Os_Trace_3Tests[] = {
{ TT_EGREP, zDarwin_Os_Trace_3Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Os_Trace_3
*/
static const char* apzDarwin_Os_Trace_3Patch[] = {
"format",
"#if __BLOCKS__\n\
%0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Os_Base_1 fix
*/
tSCC zDarwin_Os_Base_1Name[] =
"darwin_os_base_1";
/*
* File name selection pattern
*/
tSCC zDarwin_Os_Base_1List[] =
"os/base.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Os_Base_1Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Os_Base_1Select0[] =
"#define __has_attribute.*\n\
#endif";
#define DARWIN_OS_BASE_1_TEST_CT 1
static tTestDesc aDarwin_Os_Base_1Tests[] = {
{ TT_EGREP, zDarwin_Os_Base_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Os_Base_1
*/
static const char* apzDarwin_Os_Base_1Patch[] = {
"format",
"%0\n\
#ifndef __has_extension\n\
#define __has_extension(x) 0\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Dispatch_Object_1 fix
*/
tSCC zDarwin_Dispatch_Object_1Name[] =
"darwin_dispatch_object_1";
/*
* File name selection pattern
*/
tSCC zDarwin_Dispatch_Object_1List[] =
"dispatch/object.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Dispatch_Object_1Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Dispatch_Object_1Select0[] =
"typedef void.*\\^dispatch_block_t.*";
#define DARWIN_DISPATCH_OBJECT_1_TEST_CT 1
static tTestDesc aDarwin_Dispatch_Object_1Tests[] = {
{ TT_EGREP, zDarwin_Dispatch_Object_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Dispatch_Object_1
*/
static const char* apzDarwin_Dispatch_Object_1Patch[] = {
"format",
"#if __BLOCKS__\n\
%0\n\
#endif",
(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 Darwin_Stdint_1 fix
*/
tSCC zDarwin_Stdint_1Name[] =
"darwin_stdint_1";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_1List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_1Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_1Select0[] =
"#define UINT8_C\\(v\\)[ \t]+\\(v ## U\\)\n\
#define UINT16_C\\(v\\)[ \t]+\\(v ## U\\)";
#define DARWIN_STDINT_1_TEST_CT 1
static tTestDesc aDarwin_Stdint_1Tests[] = {
{ TT_EGREP, zDarwin_Stdint_1Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_1
*/
static const char* apzDarwin_Stdint_1Patch[] = {
"format",
"#define UINT8_C(v)\tv\n\
#define UINT16_C(v)\tv",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Stdint_2 fix
*/
tSCC zDarwin_Stdint_2Name[] =
"darwin_stdint_2";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_2List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_2Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_2Select0[] =
"#if __WORDSIZE == 64\n\
#define INTPTR_MIN[ \t]+INT64_MIN\n\
#define INTPTR_MAX[ \t]+INT64_MAX\n\
#else\n\
#define INTPTR_MIN[ \t]+INT32_MIN\n\
#define INTPTR_MAX[ \t]+INT32_MAX\n\
#endif";
#define DARWIN_STDINT_2_TEST_CT 1
static tTestDesc aDarwin_Stdint_2Tests[] = {
{ TT_EGREP, zDarwin_Stdint_2Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_2
*/
static const char* apzDarwin_Stdint_2Patch[] = {
"format",
"#if __WORDSIZE == 64\n\
#define INTPTR_MAX 9223372036854775807L\n\
#define INTPTR_MIN (-INTPTR_MAX-1)\n\
#else\n\
#define INTPTR_MAX 2147483647L\n\
#define INTPTR_MIN (-INTPTR_MAX-1)\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Stdint_3 fix
*/
tSCC zDarwin_Stdint_3Name[] =
"darwin_stdint_3";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_3List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_3Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_3Select0[] =
"#if __WORDSIZE == 64\n\
#define UINTPTR_MAX[ \t]+UINT64_MAX\n\
#else\n\
#define UINTPTR_MAX[ \t]+UINT32_MAX\n\
#endif";
#define DARWIN_STDINT_3_TEST_CT 1
static tTestDesc aDarwin_Stdint_3Tests[] = {
{ TT_EGREP, zDarwin_Stdint_3Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_3
*/
static const char* apzDarwin_Stdint_3Patch[] = {
"format",
"#if __WORDSIZE == 64\n\
#define UINTPTR_MAX 18446744073709551615UL\n\
#else\n\
#define UINTPTR_MAX 4294967295UL\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Stdint_4 fix
*/
tSCC zDarwin_Stdint_4Name[] =
"darwin_stdint_4";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_4List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_4Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_4Select0[] =
"#if __WORDSIZE == 64\n\
#define SIZE_MAX[ \t]+UINT64_MAX\n\
#else\n\
#define SIZE_MAX[ \t]+UINT32_MAX\n\
#endif";
#define DARWIN_STDINT_4_TEST_CT 1
static tTestDesc aDarwin_Stdint_4Tests[] = {
{ TT_EGREP, zDarwin_Stdint_4Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_4
*/
static const char* apzDarwin_Stdint_4Patch[] = {
"format",
"#if __WORDSIZE == 64\n\
#define SIZE_MAX 18446744073709551615UL\n\
#else\n\
#define SIZE_MAX 4294967295UL\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Stdint_5 fix
*/
tSCC zDarwin_Stdint_5Name[] =
"darwin_stdint_5";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_5List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_5Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_5Select0[] =
"#define INTMAX_MIN[ \t]+INT64_MIN\n\
#define INTMAX_MAX[ \t]+INT64_MAX\n\n\
#define UINTMAX_MAX[ \t]+UINT64_MAX";
#define DARWIN_STDINT_5_TEST_CT 1
static tTestDesc aDarwin_Stdint_5Tests[] = {
{ TT_EGREP, zDarwin_Stdint_5Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_5
*/
static const char* apzDarwin_Stdint_5Patch[] = {
"format",
"#if __WORDSIZE == 64\n\
#define INTMAX_MIN (-9223372036854775807L - 1)\n\
#define INTMAX_MAX 9223372036854775807L\n\
#define UINTMAX_MAX 18446744073709551615UL\n\
#else\n\
#define INTMAX_MIN (-9223372036854775807LL - 1)\n\
#define INTMAX_MAX 9223372036854775807LL\n\
#define UINTMAX_MAX 18446744073709551615ULL\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Stdint_6 fix
*/
tSCC zDarwin_Stdint_6Name[] =
"darwin_stdint_6";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_6List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_6Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_6Select0[] =
"#if __WORDSIZE == 64\n\
#define PTRDIFF_MIN[ \t]+INT64_MIN\n\
#define PTRDIFF_MAX[ \t]+INT64_MAX\n\
#else\n\
#define PTRDIFF_MIN[ \t]+INT32_MIN\n\
#define PTRDIFF_MAX[ \t]+INT32_MAX\n\
#endif";
#define DARWIN_STDINT_6_TEST_CT 1
static tTestDesc aDarwin_Stdint_6Tests[] = {
{ TT_EGREP, zDarwin_Stdint_6Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_6
*/
static const char* apzDarwin_Stdint_6Patch[] = {
"format",
"#if __WORDSIZE == 64\n\
#define PTRDIFF_MIN (-9223372036854775807L - 1)\n\
#define PTRDIFF_MAX 9223372036854775807L\n\
#else\n\
#define PTRDIFF_MIN (-2147483647 - 1)\n\
#define PTRDIFF_MAX 2147483647\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Stdint_7 fix
*/
tSCC zDarwin_Stdint_7Name[] =
"darwin_stdint_7";
/*
* File name selection pattern
*/
tSCC zDarwin_Stdint_7List[] =
"stdint-darwin.h\0stdint.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Stdint_7Machs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Stdint_7Select0[] =
"#define INTMAX_C\\(v\\)[ \t]+\\(v ## LL\\)\n\
#define UINTMAX_C\\(v\\)[ \t]+\\(v ## ULL\\)";
#define DARWIN_STDINT_7_TEST_CT 1
static tTestDesc aDarwin_Stdint_7Tests[] = {
{ TT_EGREP, zDarwin_Stdint_7Select0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Stdint_7
*/
static const char* apzDarwin_Stdint_7Patch[] = {
"format",
"#if __WORDSIZE == 64\n\
#define INTMAX_C(v) (v ## L)\n\
#define UINTMAX_C(v) (v ## UL)\n\
#else\n\
#define INTMAX_C(v) (v ## LL)\n\
#define UINTMAX_C(v) (v ## ULL)\n\
#endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Darwin_Ucred__Atomic fix
*/
tSCC zDarwin_Ucred__AtomicName[] =
"darwin_ucred__Atomic";
/*
* File name selection pattern
*/
tSCC zDarwin_Ucred__AtomicList[] =
"sys/ucred.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzDarwin_Ucred__AtomicMachs[] = {
"*-*-darwin*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zDarwin_Ucred__AtomicSelect0[] =
"_Atomic";
#define DARWIN_UCRED__ATOMIC_TEST_CT 1
static tTestDesc aDarwin_Ucred__AtomicTests[] = {
{ TT_EGREP, zDarwin_Ucred__AtomicSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Darwin_Ucred__Atomic
*/
static const char* apzDarwin_Ucred__AtomicPatch[] = {
"wrap",
"#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
# define _Atomic volatile\n\
#endif\n",
"#if (__STDC_VERSION__ < 201112L) || defined(__cplusplus)\n\
# undef _Atomic\n\
#endif\n",
(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 Feraiseexcept_Nosse_Divbyzero fix
*/
tSCC zFeraiseexcept_Nosse_DivbyzeroName[] =
"feraiseexcept_nosse_divbyzero";
/*
* File name selection pattern
*/
tSCC zFeraiseexcept_Nosse_DivbyzeroList[] =
"bits/fenv.h\0*/bits/fenv.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzFeraiseexcept_Nosse_DivbyzeroMachs[] = {
"i[34567]86-*-linux*",
"x86*-linux*",
"amd64-*-linux*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zFeraiseexcept_Nosse_DivbyzeroSelect0[] =
"^([\t ]*)__asm__ __volatile__ \\(\"divss %1, %0 *\" : : \"x\" \\(__f\\), \"x\" \\(__g\\)\\);$";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zFeraiseexcept_Nosse_DivbyzeroBypass0[] =
"\"fdivp .*; fwait\"";
#define FERAISEEXCEPT_NOSSE_DIVBYZERO_TEST_CT 2
static tTestDesc aFeraiseexcept_Nosse_DivbyzeroTests[] = {
{ TT_NEGREP, zFeraiseexcept_Nosse_DivbyzeroBypass0, (regex_t*)NULL },
{ TT_EGREP, zFeraiseexcept_Nosse_DivbyzeroSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Feraiseexcept_Nosse_Divbyzero
*/
static const char* apzFeraiseexcept_Nosse_DivbyzeroPatch[] = {
"format",
"# ifdef __SSE_MATH__\n\
%0\n\
# else\n\
%1__asm__ __volatile__ (\"fdivp %%%%st, %%%%st(1); fwait\"\n\
%1\t\t\t: \"=t\" (__f) : \"0\" (__f), \"u\" (__g) : \"st(1)\");\n\
# endif",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Feraiseexcept_Nosse_Invalid fix
*/
tSCC zFeraiseexcept_Nosse_InvalidName[] =
"feraiseexcept_nosse_invalid";
/*
* File name selection pattern
*/
tSCC zFeraiseexcept_Nosse_InvalidList[] =
"bits/fenv.h\0*/bits/fenv.h\0";
/*
* Machine/OS name selection pattern
*/
tSCC* apzFeraiseexcept_Nosse_InvalidMachs[] = {
"i[34567]86-*-linux*",
"x86*-linux*",
"amd64-*-linux*",
(const char*)NULL };
/*
* content selection pattern - do fix if pattern found
*/
tSCC zFeraiseexcept_Nosse_InvalidSelect0[] =
"^([\t ]*)__asm__ __volatile__ \\(\"divss %0, %0 *\" : : \"x\" \\(__f\\)\\);$";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zFeraiseexcept_Nosse_InvalidBypass0[] =
"\"fdiv .*; fwait\"";
#define FERAISEEXCEPT_NOSSE_INVALID_TEST_CT 2
static tTestDesc aFeraiseexcept_Nosse_InvalidTests[] = {
{ TT_NEGREP, zFeraiseexcept_Nosse_InvalidBypass0, (regex_t*)NULL },
{ TT_EGREP, zFeraiseexcept_Nosse_InvalidSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Feraiseexcept_Nosse_Invalid
*/
static const char* apzFeraiseexcept_Nosse_InvalidPatch[] = {
"format",
"# ifdef __SSE_MATH__\n\
%0\n\
# else\n\
%1__asm__ __volatile__ (\"fdiv %%%%st, %%%%st(0); fwait\"\n\
%1\t\t\t: \"=t\" (__f) : \"0\" (__f));\n\
# endif",
(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\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int \\1/",
"-e", "s/extern int \\([lf]stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int \\1/",
"-e", "s/extern int \\(mknod\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int \\1/",
"-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\(stat\\)/#ifdef __GNUC_GNU_INLINE__\\\n\
extern\\\n\
#endif\\\n\
__inline__ int __REDIRECT\\1 (\\2/",
"-e", "s/extern int __REDIRECT\\(_NTH\\)\\{0,1\\} (\\([lf]stat\\)/#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\0pthread.h\0*/pthread.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]\\{1,\\}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\\)_NP\\) }/{ \\1, 0 }/",
"-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0 }/",
"-e", "s/{ \\(0, 0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0 }/",
"-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(RECURSIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
"-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ERRORCHECK\\)_NP\\) }/{ \\1, 0, 0 }/",
"-e", "s/{ \\(0, 0, 0, PTHREAD_MUTEX_\\(ADAPTIVE\\)_NP\\) }/{ \\1, 0, 0 }/",
"-e", "/define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\/N;s/^[ \t]*#[ \t]*\\(define[ \t]\\{1,\\}PTHREAD_RWLOCK_INITIALIZER[ \t]*\\\\\\)\\n[ \t]*{ { 0, } }/# if __WORDSIZE == 64\\\n\
# \\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]\\{1,\\}PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_Stdint fix
*/
tSCC zGlibc_StdintName[] =
"glibc_stdint";
/*
* File name selection pattern
*/
tSCC zGlibc_StdintList[] =
"stdint.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_StdintMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_StdintSelect0[] =
"GNU C Library";
#define GLIBC_STDINT_TEST_CT 1
static tTestDesc aGlibc_StdintTests[] = {
{ TT_EGREP, zGlibc_StdintSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_Stdint
*/
static const char* apzGlibc_StdintPatch[] = {
"format",
"# define UINT8_C(c)\tc\n\
# define UINT16_C(c)\tc",
"# define UINT8_C\\(c\\)\tc ## U\n\
# define UINT16_C\\(c\\)\tc ## U",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_Strncpy fix
*/
tSCC zGlibc_StrncpyName[] =
"glibc_strncpy";
/*
* File name selection pattern
*/
tSCC zGlibc_StrncpyList[] =
"bits/string2.h\0*/bits/string2.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_StrncpyMachs (const char**)NULL
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zGlibc_StrncpyBypass0[] =
"__builtin_strncpy";
#define GLIBC_STRNCPY_TEST_CT 1
static tTestDesc aGlibc_StrncpyTests[] = {
{ TT_NEGREP, zGlibc_StrncpyBypass0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_Strncpy
*/
static const char* apzGlibc_StrncpyPatch[] = {
"format",
"# define strncpy(dest, src, n) __builtin_strncpy (dest, src, n)",
"# define strncpy([^\n\
]*\\\\\n\
)*[^\n\
]*",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Glibc_Tgmath fix
*/
tSCC zGlibc_TgmathName[] =
"glibc_tgmath";
/*
* File name selection pattern
*/
tSCC zGlibc_TgmathList[] =
"tgmath.h\0";
/*
* Machine/OS name selection pattern
*/
#define apzGlibc_TgmathMachs (const char**)NULL
/*
* content selection pattern - do fix if pattern found
*/
tSCC zGlibc_TgmathSelect0[] =
"\\(\\(\\(type\\) 0.25\\) && \\(\\(type\\) 0.25 - 1\\)\\)";
/*
* content bypass pattern - skip fix if pattern found
*/
tSCC zGlibc_TgmathBypass0[] =
"__floating_type\\(type\\) \\\\\n\
.*__builtin_classify_type";
#define GLIBC_TGMATH_TEST_CT 2
static tTestDesc aGlibc_TgmathTests[] = {
{ TT_NEGREP, zGlibc_TgmathBypass0, (regex_t*)NULL },
{ TT_EGREP, zGlibc_TgmathSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Glibc_Tgmath
*/
static const char* apzGlibc_TgmathPatch[] = {
"format",
"(__builtin_classify_type ((type) 0) == 8 || (__builtin_classify_type ((type) 0) == 9 && __builtin_classify_type (__real__ ((type) 0)) == 8))",
(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\