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