__gmon_start__ libc.so.6 _IO_stdin_used strcpy fnmatch sprintf strncmp strrchr fflush_unlocked wait pipe fileno_unlocked signal puts fork __stack_chk_fail fgets_unlocked mkdir realloc abort stdin getpid kill sbrk strtol isatty mmap calloc strlen fread_unlocked memset __errno_location getpagesize mempcpy dup2 stdout memcpy freopen64 fclose malloc __uflow getenv __ctype_b_loc stderr alarm munmap execvp getcwd strchr fprintf fdopen sleep __ctype_tolower_loc __fsetlocking __xstat fopen64 access fwrite_unlocked strcmp strerror __libc_start_main __overflow fputs_unlocked free __environ __cxa_atexit GLIBC_2.2.3 GLIBC_2.4 GLIBC_2.3 GLIBC_2.2 GLIBC_2.1 GLIBC_2.1.3 GLIBC_2.0
%s/%s Error %d (%s) creating %s Fixed: %s w fixinc/tests/inc run_compiles quoted include select test error %d (%s) stat-ing %s %6lu %-50s Applying %-24s to %s Error %d (%s) opening %s Error %d on pipe(2) call Quoted includes in %s . %s %s/ %s/%s/ -v /dev/null *-*-aix* wrap *-*-darwin7.9* %1<%2.h> i[34567]86-*-linux* *-*-solaris* %1 %2 \ struct rusage; %0 ? (int)%1 typedef int sig_atomic_t alpha*-dec-osf* alpha*-dec-osf5* %1(EX) -e #ifndef __mips64 void *sbrk( alpha*-dec-osf4* #ifndef __cplusplus %0 #endif struct term; does not #include
#if 1 *-*-*bsd* *-*-*darwin* char_macro_def CTRL char_macro_use #ifdef __cplusplus } #endif *-*-darwin* extern __private_extern__ %0 #include #include ecd_cursor struct exception; *-*-freebsd* %0 || __GNUC__ >= 3 ^# ifdef __cplusplus$ *-*-solaris2.1[0-9]* gnu_type %1 (struct file *, ...) \(\.\.\.\) hppa*-hp-hpux11* ia64-hp-hpux11* *-hp-hpux11.[0-3]* _hpux_size_t %1 const %3 %1 __va_list); %1(int)%3 #if 1 %1 s/long_double/long double/g struct sigevent; *-hp-hpux* #ifdef _KERNEL %0 #endif *-hp-hpux11.[12]* *-hp-hpux10.* *-hp-hpux11.[0-2]* s@^[ ]*1,[ ]*\\@ { 1, 0 }@ /^[ ]*0$/d void %1( IO /^struct/,/^};/s/}$/};/ mips-sgi-irix6.5 %1 are ^([ ]*#.*[Ww]e)'re extern __const #if 0 %2 __gnuc_va_list fmod(double, double) !defined(_POSIX_SOURCE) ## ia64-*-linux* *-*-lynxos* %1__builtin_va_list machine_name -c %1*/ /* /CHILD_MAX/s,/\* Max, Max, /OPEN_MAX/s,/\* Max, Max, *-*-netbsd* #define __END_DECLS } extern double %1( (%1) \(([^)]*)[ ]template\) extern void %1( wait(void %0; *-*-openbsd* __builtin_va_start __%0 reg(ex|off|match)_t extern %0 %1 *%2%3 ^.*[^a-zA-Z_]class\(.* fchmod(int *-*-solaris2.[0-9] *-*-solaris2.[0-9][!0-9]* %1{%2}%3 boottime; %1 !defined(__STRICT_ANSI__) %1 defined(__STRICT_ANSI__) struct __file_s; %0 struct sockaddr; %0 #if%1 /^struct/,/^};/s/_cnt$/_cnt;/ __SIZE_TYPE__ strlen();%1 /#define.*__std_hdr_/d getcwd(char *, size_t) void (*)(int) %0 static int getrnge (); ^static int[ ]+size; /^extern char$/N /^extern int$/N /^ strncmp(),$/N void * %1( %1__thr%2 __cplusplus %1 const %3 *__ __vx%1 #define NULL 0 /[ ]size_t/a\ #endif /[ ]ptrdiff_t/a\ #endif /[ ]wchar_t/a\ #endif unsigned int%1 c_class) /Widget old, new;/a\ #endif s/Widget new,/Widget c_new,/g error %d (%s) opening %s for read Cannot access %s from %s error %d (%s) Script yielded bogus result of `%s': %s Error %d (%s) reopening %s as stdin fixincl ERROR: too many command line arguments fixinc verbosity: EVERYTHING No file names listed for fixing #if defined __GNUG__ && defined _LARGE_FILES && defined __cplusplus #define __need__aix_stdio_h_fix #ifdef __need__aix_stdio_h_fix #undef fseeko #undef ftello #undef fgetpos #undef fsetpos #undef fopen #undef freopen /* Alias the symbols using asm */ extern "C" { extern int fgetpos(FILE *, fpos64_t *) __asm__("fgetpos64"); extern FILE *fopen(const char *, const char *) __asm__("fopen64"); extern FILE *freopen(const char *, const char *, FILE *) __asm__("freopen64"); extern int fseeko(FILE *, off64_t, int) __asm__("fseeko64"); extern int fsetpos(FILE *, const fpos64_t *) __asm__("fsetpos64"); extern off64_t ftello(FILE *) __asm__("ftello64"); } #endif #endif /* This file prototypes the long double functions available on Mac OS 10.3.9. */ #ifndef __MATH__ # undef __APPLE_CC__ # define __APPLE_CC__ 1345 # include_next # undef __APPLE_CC__ # define __APPLE_CC__ 1 # ifndef __LIBMLDBL_COMPAT # ifdef __LONG_DOUBLE_128__ # define __LIBMLDBL_COMPAT(sym) __asm("_" #sym "$LDBL128") # else # define __LIBMLDBL_COMPAT(sym) # endif /* __LONG_DOUBLE_128__ */ # endif /* __LIBMLDBL_COMPAT */ # ifdef __cplusplus extern "C" { # endif extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl); extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl); extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl); extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l); extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl); extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl); extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl); extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl); extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl); extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl); extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl); extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl); extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl); extern long double expl( long double ) __LIBMLDBL_COMPAT(expl); extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l); extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l); extern long double logl( long double ) __LIBMLDBL_COMPAT(logl); extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l); extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l); extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl); extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl); extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl); extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl); extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl); extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl); extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl); extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl); extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl); extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl); extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl); extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl); extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl); extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl); extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl); extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal); extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal); extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill); extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl); extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl); extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl); extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl); extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl); extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl); extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl); extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl); extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl); extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl); extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl); extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol); extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl); extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl); extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl); extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl); extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml); extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl); extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl); extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal); # ifdef __cplusplus } # endif #endif /* __MATH__ */ ([ \t]*#[ \t]*include[ \t]+)"([a-z0-9/]+)\.h" /* This file fixes a bug in the __FD_ZERO macro for older versions of the Linux kernel. */ #ifndef _POSIX_TYPES_H_WRAPPER #include #include_next #if defined(__FD_ZERO) && !defined(__GLIBC__) #undef __FD_ZERO #define __FD_ZERO(fdsetp) \ do { \ int __d0, __d1; \ __asm__ __volatile__("cld ; rep ; stosl" \ : "=&c" (__d0), "=&D" (__d1) \ : "a" (0), "0" (__FDSET_LONGS), \ "1" ((__kernel_fd_set *) (fdsetp)) :"memory"); \ } while (0) #endif #define _POSIX_TYPES_H_WRAPPER #endif /* _POSIX_TYPES_H_WRAPPER */ /* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */ #ifndef _TYPES_H_WRAPPER #include #include_next #if defined(__FD_ZERO) && !defined(__GLIBC__) #undef __FD_ZERO # define __FD_ZERO(fdsetp) \ do { \ int __d0, __d1; \ __asm__ __volatile__("cld ; rep ; stosl" \ : "=&c" (__d0), "=&D" (__d1) \ : "a" (0), "0" (__FDSET_LONGS), \ "1" ((__fd_set *) (fdsetp)) :"memory"); \ } while (0) #endif #define _TYPES_H_WRAPPER #endif /* _TYPES_H_WRAPPER */ /* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */ #ifndef _SELECTBITS_H_WRAPPER #include #include_next #if defined(__FD_ZERO) && defined(__GLIBC__) \\ && defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\ && __GLIBC_MINOR__ == 0 #undef __FD_ZERO #define __FD_ZERO(fdsetp) \\ do { \\ int __d0, __d1; \\ __asm__ __volatile__ ("cld; rep; stosl" \\ : "=&c" (__d0), "=&D" (__d1) \\ : "a" (0), "0" (sizeof (__fd_set) \\ / sizeof (__fd_mask)), \\ "1" ((__fd_mask *) (fdsetp)) \\ : "memory"); \\ } while (0) #endif #define _SELECTBITS_H_WRAPPER #endif /* _SELECTBITS_H_WRAPPER */ #ifdef __STDC__ #include #else #include #endif /* This file was generated by fixincludes */ #ifndef __memory_h__ #define __memory_h__ #ifdef __STDC__ extern void *memccpy(); extern void *memchr(); extern void *memcpy(); extern void *memset(); #else extern char *memccpy(); extern char *memchr(); extern char *memcpy(); extern char *memset(); #endif /* __STDC__ */ extern int memcmp(); #endif /* __memory_h__ */ __assert(const char *, const char *, int) %1 (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX)) %3 %0 && !defined(__PRAGMA_EXTERN_PREFIX) %0 || defined(__PRAGMA_EXTERN_PREFIX) s/^[ ]*#[ ]*define[ ][ ]*\([^(]*\)\(([^)]*)\)[ ]*\(_.*\)\1\2[ ]*$/#define \1 \3\1/ getopt(int, char *const[], const char *) struct sockaddr vmif_paddr; /* %2 defined (_PTHREAD_ENV_DECC)%4 || defined (__PRAGMA_EXTERN_PREFIX) %5 #elif defined (__GNUC__) # define _PTHREAD_ENV_GCC %0 s@MVALID\(.*\)A}@MVALID\1A, 0, 0, 0, 0, 0, 0 }@ s@MVALID\(.*\)_}@MVALID\1_, 0, 0, 0, 0 }@ s@CVALID\(.*\)A}@CVALID\1A, 0, 0, 0, 0 }@ s@CVALID\(.*\)_}@CVALID\1_, 0, 0 }@ s@WVALID\(.*\)A}@WVALID\1A, 0, 0, 0, 0, 0, 0, 0, 0, 0 }@ s@WVALID\(.*\)_}@WVALID\1_, 0, 0, 0, 0, 0, 0, 0 }@ s@#define wcstok wcstok_r@extern wchar_t *wcstok __((wchar_t *, const wchar_t *, wchar_t **)) __asm__("wcstok_r");@ s@#define wcsftime __wcsftime_isoc@extern size_t wcsftime __((wchar_t *, size_t, const wchar_t *, const struct tm *)) __asm__("__wcsftime_isoc");@ ^[ ]*#[ ]*define[ ]+bool[ ].* #ifdef __cplusplus #include #endif s/^extern[ ]*double[ ]*cabs[ ]*([^\)]*);// s/^extern[ ]*long[ ]*double[ ]*cabsl[ ]*([^\)]*);// #define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X) #define _BSD_STRINGX(_BSD_X) #_BSD_X int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf"); #ifdef __cplusplus extern "C" { #endif ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) /^[ ]*float[ ]*fasm/i\ #ifdef __DECC /^[ ]*#[ ]*pragma[ ]*intrinsic([ ]*dasm/a\ #endif #if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3 %0 && (defined __extern_inline || defined __GNUC_GNU_INLINE__) %1 && (defined __extern_inline || defined __GNUC_GNU_INLINE__) %2 s/extern int \(stat\|lstat\|fstat\|mknod\)/#ifdef __GNUC_GNU_INLINE__\ extern\ #endif\ __inline__ int \1/ s/extern int __REDIRECT\(_NTH\|\) (\(stat\|lstat\|fstat\)/#ifdef __GNUC_GNU_INLINE__\ extern\ #endif\ __inline__ int __REDIRECT\1 (\2/ s/^extern __inline__ int/#ifdef __GNUC_GNU_INLINE__\ extern\ #endif\ __inline__ int/ # if defined(__cplusplus) || defined(__GNUC_STDC_INLINE__) %0 __attribute__ ((__gnu_inline__)) /define[ ]\+PTHREAD_MUTEX_INITIALIZER[ ]*\\/{ N s/{ { 0, } }/{ { 0, 0, 0, 0, 0, 0 } }/ } s/{ \(0, 0, 0, 0, PTHREAD_MUTEX_\(RECURSIVE\|ERRORCHECK\|ADAPTIVE\)_NP\) }/{ \1, 0 }/ s/{ \(0, 0, 0, PTHREAD_MUTEX_\(RECURSIVE\|ERRORCHECK\|ADAPTIVE\)_NP\) }/{ \1, 0, 0 }/ /define[ ]\+PTHREAD_RWLOCK_INITIALIZER[ ]*\\/N;s/^[ ]*#[ ]*\(define[ ]\+PTHREAD_RWLOCK_INITIALIZER[ ]*\\\)\n[ ]*{ { 0, } }/# if __WORDSIZE == 64\n# \1\n { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }\n# else\n# \1\n { { 0, 0, 0, 0, 0, 0, 0, 0 } }\n# endif/ s/{ \(0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP\) }/{ \1, 0 }/ /define[ ]\+PTHREAD_COND_INITIALIZER/s/{ { 0, } }/{ { 0, 0, 0, 0, 0, (void *) 0, 0, 0 } }/ ([ ]*#[ ]*include[ ]+)"\.\./machine/([a-z]+)\.h" #endif /* _INCLUDE_HPUX_SOURCE */ #if defined(_INCLUDE_HPUX_SOURCE) || \ (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) %0#endif #ifdef _INCLUDE_HPUX_SOURCE #ifdef _PROTOTYPES extern int __tolower(int); extern int __toupper(int); #else /* NOT _PROTOTYPES */ extern int __tolower(); extern int __toupper(); #endif /* _PROTOTYPES */ %0 %0 #ifdef _PROTOTYPES extern int _isalnum(int); extern int _isalpha(int); extern int _iscntrl(int); extern int _isdigit(int); extern int _isgraph(int); extern int _islower(int); extern int _isprint(int); extern int _ispunct(int); extern int _isspace(int); extern int _isupper(int); extern int _isxdigit(int); # else /* not _PROTOTYPES */ extern int _isalnum(); extern int _isalpha(); extern int _iscntrl(); extern int _isdigit(); extern int _isgraph(); extern int _islower(); extern int _isprint(); extern int _ispunct(); extern int _isspace(); extern int _isupper(); extern int _isxdigit(); #endif /* _PROTOTYPES */ %0 # if defined(__STDC__) || defined(__cplusplus) extern int snprintf(char *, size_t, const char *, ...); extern int vsnprintf(char *, size_t, const char *, __va_list); # else /* not __STDC__) || __cplusplus */ extern int snprintf(); extern int vsnprintf(); # endif /* __STDC__) || __cplusplus */ if !defined(_MATH_INCLUDED) || defined(__GNUG__) #define __POINTER_SET ((void *) 1L) #define UINT32_C(__c) __CONCAT__(__c,ul) s@inline int abs(int [a-z][a-z]*) {.*}@extern "C" int abs(int);@ s@inline double abs(double [a-z][a-z]*) {.*}@@ s@inline int sqr(int [a-z][a-z]*) {.*}@@ s@inline double sqr(double [a-z][a-z]*) {.*}@@ /^#[ ]*ifndef _LONG_DOUBLE/,/\/\* _LONG_DOUBLE \*\//D #ifndef _APP32_64BIT_OFF_T %0#endif #ifdef __cplusplus extern "C" { #endif %0 #ifdef __cplusplus } #endif s@^[ ]*1, 1, 1, 1,[ ]*\\@ { 1, 1, 1, 1 }, \\@ s@__PTHREAD_MUTEX_VALID, 0@{ __PTHREAD_MUTEX_VALID, 0 }@ s@^[ ]*0, 0, -1, 0,[ ]*\\@ { 0, 0, -1, 0 }, \\@ s@0, __LWP_MTX_VALID, 0, 1, 1, 1, 1,[ ]*\\@{ 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 }, \\@ s@^[ ]*__LWP_MTX_VALID, 0, 1, 1, 1, 1,[ ]*\\@ { 0, __LWP_MTX_VALID }, { 0, 1, 1, 1, 1 }, \\@ s@^[ ]*0, 0[ ]*\\@ { 0, 0 } \\@ s@__PTHREAD_COND_VALID, 0@{ __PTHREAD_COND_VALID, 0 }@ s@__LWP_COND_VALID, 0,[ ]*\\@{ __LWP_COND_VALID, 0 }, \\@ s@__PTHREAD_RWLOCK_VALID, 0@{ __PTHREAD_RWLOCK_VALID, 0 }@ s@__LWP_RWLOCK_VALID, 0,[ ]*\\@{ __LWP_RWLOCK_VALID, 0 }, \\@ s@^[ ]*0, 0, 0, 0, 0, 0, 0[ ]*\\@ { 0, 0, 0, 0, 0 }, { 0, 0} \\@ #define HUGE_VAL (__builtin_huge_val()) #define HUGE_VALF (__builtin_huge_valf()) #define HUGE_VALL (__builtin_huge_vall()) %1# ifndef __cplusplus %2 # endif extern int %1(double); extern int %1f(float); extern int %1l(long double); #define %1(x) (sizeof(x) == sizeof(double) ? _%1(x) \ : sizeof(x) == sizeof(float) ? _%1f(x) \ : _%1l(x)) #define %1(x,y) \ ((sizeof(x)<=4 && sizeof(y)<=4) ? _%1f(x,y) \ : (sizeof(x)<=8 && sizeof(y)<=8) ? _%1(x,y) \ : _%1l(x,y)) %1#if _NO_XOPEN4 && _NO_XOPEN5 typedef int socklen_t; #else %2 #endif /* _NO_XOPEN4 && _NO_XOPEN5 */ #if _NO_XOPEN5 && !defined(__c99) %1 __builtin_offsetof (struct sigcontext, sc_gr[0]) %0 extern int putenv _AP((char *)); extern char \*getenv[ ]*_AP\(\(const char \*\)\); (define[ ]+_BSD_VA_LIST_[ ]+).* #ifdef __cplusplus #define exception __math_exception #endif #ifdef __cplusplus #undef exception #endif dbl_max_def=`egrep 'define[ ]+DBL_MAX[ ]+.*' float.h | sed 's/.*DBL_MAX[ ]*//' 2>/dev/null` if ( test -n "${dbl_max_def}" ) > /dev/null 2>&1 then sed -e '/define[ ]*HUGE_VAL[ ]*DBL_MAX/s@DBL_MAX@'"$dbl_max_def@" else cat fi extern #ifdef __GNUC_STDC_INLINE__ __attribute__((__gnu_inline__)) #endif __inline int #ifdef __GNUC_STDC_INLINE__ #define _SIGINLINE extern __attribute__((__gnu_inline__)) __inline #else %0 #endif ^extern[ ]+double[ ]+__const__[ ]+([a-z]+)\( ^extern[ ]+volatile[ ]+void[ ]+(exit|abort)\( #ifndef NULL #ifdef __cplusplus #ifdef __GNUG__ #define NULL __null #else /* ! __GNUG__ */ #define NULL 0L #endif /* __GNUG__ */ #else /* ! __cplusplus */ #define NULL ((void *)0) #endif /* __cplusplus */ #endif /* !NULL */ ^#ifndef[ ]*NULL ^#ifdef[ ]*__GNUG__ ^#define[ ]*NULL[ ]*__null ^#else ^#define[ ]*NULL[ ]*0L ^#endif ^#endif ((*((%1*)%2) = (%3)), (%2 += sizeof (%1))) %0 typedef __regex_t regex_t; typedef __regoff_t regoff_t; typedef __regmatch_t regmatch_t; ^(extern int __sigsetjmp \(struct __jmp_buf_tag) (__env)\[1\](.*)$ extern unsigned int fread(), fwrite(); %1%2 (extern int .*), fread\(\), fwrite\(\)(.*) #define IXDR_GET_LONG(buf) ((long)IXDR_GET_U_INT32(buf)) #define IXDR_PUT_LONG(buf, v) ((long)IXDR_PUT_INT32(buf, (long)(v))) rename(const char *_old, const char *_new) /#define.*__fp_class(a) \\/i\ #ifndef __GNUC__ /.*__builtin_generic/a\ #else\ #define __fp_class(a) \\\ __builtin_choose_expr(__builtin_types_compatible_p(typeof(a),long double),\\\ __fpclassifyl(a), \\\ __builtin_choose_expr(__builtin_types_compatible_p(typeof(a), float), \\\ __fpclassifyf(a),__fpclassify(a)))\ #endif /extern "C\+\+"/N;/inline double abs/i\ #ifndef __GNUC__ /inline long double trunc/N;/inline long double trunc.*}.*extern "C\+\+"/a\ #endif /* ! __GNUC__ */ #define HUGE_VA%1 (__builtin_huge_va%2()) ^#define[ ]+HUGE_VA([LF]+)[ ]+__builtin_huge_va([lf]+) #define INFINITY (__builtin_inff()) ^#define[ ]+INFINITY[ ]+__builtin_infinity #define NAN (__builtin_nanf("")) ^#define[ ]+NAN[ ]+__builtin_nan #define fpclassify(x) \ __builtin_fpclassify(FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, (x)) ^#define[ ]+fpclassify\(x\)[ ]+__builtin_fpclassify\(x\) #define signbit(x) (sizeof(x) == sizeof(float) \ ? __builtin_signbitf(x) \ : sizeof(x) == sizeof(long double) \ ? __builtin_signbitl(x) \ : __builtin_signbit(x)) ^#define[ ]+signbit\(x\)[ ]+__builtin_signbit\(x\) #define %1(x, y)%2__builtin_%1(x, y) ^#define[ ]+([a-z]+)\(x, y\)([ ]+)\(\(x\) __builtin_[a-z]+\(y\)\) #define isinf(x) __builtin_isinf(x) ^#define[ ]+isinf\(x\)[ ]+__extension__\([ ]*\\ [ ]*\{[ ]*__typeof\(x\)[ ]*__x_i[ ]*=[ ]*\(x\);[ ]*\\ [ ]*__x_i[ ]*==[ ]*\(__typeof\(__x_i\)\)[ ]*INFINITY[ ]*\|\|[ ]*\\ [ ]*__x_i[ ]*==[ ]*\(__typeof\(__x_i\)\)[ ]*\(-INFINITY\);[ ]*\}\) #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) %0 #else %1, {0}}%4 #endif (^#define[ ]+PTHREAD_(MUTEX|COND)_INITIALIZER[ ]+(|/*.**/[ ]*\\ [ ]*)\{.*),[ ]*0\}(|[ ].*)$ #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) %0 #else %1{0, 0, 0, {{0}, {0}, {0}}, {{0}, {0}}, {{0}, {0}}} #endif (^#define[ ]+PTHREAD_RWLOCK_INITIALIZER[ ]+)\{0, 0, 0, \{0, 0, 0\}, \{0, 0\}, \{0, 0\}\}[ ]*$ (^#define[ ]+PTHREAD_ONCE_INIT[ ]+\{)([^}]+)(\})[ ]*$ #if __STDC__ - 0 == 0 && !defined(_NO_LONGLONG) %0 #else %1{0}, {0}, {0}, {%3}%4 #endif (^#define[ ]+PTHREAD_ONCE_INIT[ ]+\{\{)(0, 0, 0, )(PTHREAD_[A-Z_]+)(\}\})[ ]*$ s/defined(__cplusplus) && (__cplusplus < 54321L)/0/ #define __need___va_list #include s@[ ]va_list\([ )]\)@ __gnuc_va_list\1@ s@(va_list)&@(__gnuc_va_list)\&@ s@ _VA_LIST_));@ __gnuc_va_list));@ s@ __VA_LIST__));@ __gnuc_va_list));@ s@ va_list@ __not_va_list__@ s@\*va_list@*__not_va_list__@ s@ __va_list)@ __gnuc_va_list)@ s@typedef[ ]\(.*\)[ ]va_list[ ]*;@typedef \1 __not_va_list__;@ s@typedef[ ]*__va_list__@typedef __gnuc_va_list@ s@GNUC_VA_LIST@GNUC_Va_LIST@ s@_VA_LIST_DEFINED@_Va_LIST_DEFINED@ s@_NEED___VA_LIST@_NEED___Va_LIST@ s@VA_LIST@DUMMY_VA_LIST@ s@_Va_LIST@_VA_LIST@ #ifdef __cplusplus %1(...);%2 #else %1();%2 #endif (.*\(\*[a-z][a-z_]*\))\(\);(.*) #ifdef __STDC__ # define CAT(a,b) a##b #else %0 #endif s/typedef[ ]char \* malloc_t/typedef void \* malloc_t/g s/int[ ][ ]*free/void free/g s/char\([ ]*\*[ ]*malloc\)/void\1/g s/char\([ ]*\*[ ]*realloc\)/void\1/g s/char\([ ]*\*[ ]*calloc\)/void\1/g #ifdef __cplusplus void (*signal(...))(...); #else %0 #endif profil(unsigned short *, size_t, int, unsigned int) s/extern[ ]*int[ ]*strlen();/extern unsigned int strlen();/ s/extern[ ]*int[ ]*ffs[ ]*(long);/extern int ffs(int);/ s/strdup(char \*s1);/strdup(const char *s1);/ s/^extern char\(\n \*memccpy(),\)$/extern void\1/ s/^extern int\(\n strlen(),\)/extern size_t\1/ s/^\( strncmp()\),\n\( strlen(),\)$/\1;\ extern unsigned int\ \2/ ([ *](perror|fputs|fwrite|scanf|fscanf)\(.*)[ ]+(char|void) \*__ %1( const char *%3, const char * ([ *](fopen|sscanf|popen|tempnam))\([ ]*char[ ]*\*([^,]*),[ ]*char[ ]*\*[ ]* s/#ifdef __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__/#if 1/ /[ ]size_t/i\ #ifndef _GCC_SIZE_T\ #define _GCC_SIZE_T /[ ]ptrdiff_t/i\ #ifndef _GCC_PTRDIFF_T\ #define _GCC_PTRDIFF_T /[ ]wchar_t/i\ #ifndef _GCC_WCHAR_T\ #define _GCC_WCHAR_T /#[ ]define[ ][ ]*__INCstath/a\ #include #ifndef __gcc_VOIDFUNCPTR_defined #ifdef __cplusplus typedef void (*__gcc_VOIDFUNCPTR) (...); #else typedef void (*__gcc_VOIDFUNCPTR) (); #endif #define __gcc_VOIDFUNCPTR_defined #endif #define VOIDFUNCPTR __gcc_VOIDFUNCPTR #ifdef __cplusplus %1c_class;%2 #else %1class;%2 #endif /Widget old, new;/i\ #ifdef __cplusplus\ Widget old, c_new;\ #else #ifndef __STDC__ %0 #endif /* !defined __STDC__ */ ^[ ]*#[ ]*include[ ]*"[^/] file=%s if ( test %s ) > /dev/null 2>&1 then echo TRUE else echo FALSE fi /* DO NOT EDIT THIS FILE. It has been auto-edited by fixincludes from: "%s/%s" This had to be done to correct non-standard usages in the original, manufacturer supplied header file. */ Error %d (%s) starting filter process for %s file='%s' %s fixincl version 1.1 echo '%s' AAB_aix_stdio stdio.h AAB_darwin7_9_long_double_funcs architecture/ppc/math.h AAB_darwin7_9_long_double_funcs_2 math.h AAB_fd_zero_asm_posix_types_h asm/posix_types.h AAB_fd_zero_gnu_types_h gnu/types.h AAB_fd_zero_selectbits_h selectbits.h AAB_solaris_sys_varargs_h sys/varargs.h AAB_sun_memcpy memory.h aix_pthread pthread.h aix_sysmachine sys/machine.h aix_syswait sys/wait.h aix_syswait_2 sys/wait.h aix_volatile sys/signal.h alpha___assert assert.h alpha___extern_prefix alpha___extern_prefix_standards standards.h alpha___extern_prefix_sys_stat sys/stat.h sys/mount.h alpha_assert assert.h alpha_bad_lval alpha_getopt stdio.h stdlib.h alpha_if_semicolon net/if.h alpha_parens sym.h alpha_pthread pthread.h alpha_pthread_gcc pthread.h alpha_pthread_init pthread.h alpha_sbrk unistd.h alpha_wchar wchar.h avoid_bool_define curses.h curses_colr/curses.h term.h tinfo.h avoid_bool_type curses.h curses_colr/curses.h term.h tinfo.h avoid_wchar_t_type bad_struct_term curses.h badquote sundev/vuid_event.h broken_assert_stdio assert.h broken_assert_stdlib assert.h broken_cabs math.h architecture/*/math.h broken_nan architecture/ppc/math.h architecture/*/math.h bsd_stdio_attrs_conflict stdio.h ctrl_quotes_def ctrl_quotes_use cxx_unready sys/mman.h rpc/types.h darwin_externc mach-o/swap.h mach/mach_time.h mach/mach_traps.h mach/message.h mach/mig.h mach/semaphore.h darwin_gcc4_breakage AvailabilityMacros.h darwin_private_extern mach-o/dyld.h dec_intern_asm c_asm.h djgpp_wchar_h ecd_cursor sunwindow/win_lock.h sunwindow/win_cursor.h exception_structure math.h freebsd_gcc3_breakage sys/cdefs.h freebsd_gcc4_breakage sys/cdefs.h glibc_c99_inline_1 features.h */features.h glibc_c99_inline_1a features.h */features.h glibc_c99_inline_2 sys/stat.h */sys/stat.h glibc_c99_inline_3 bits/string2.h */bits/string2.h glibc_c99_inline_4 sys/sysmacros.h */sys/sysmacros.h wchar.h */wchar.h glibc_mutex_init pthread.h gnu_types sys/types.h stdlib.h sys/stdtypes.h stddef.h memory.h unistd.h hp_inline sys/spinlock.h machine/machparam.h hp_sysfile sys/file.h hppa_hpux_fp_macros math.h hpux10_cpp_pow_inline fixinc-test-limits.h math.h hpux11_cpp_pow_inline math.h hpux10_ctype_declarations1 ctype.h hpux10_ctype_declarations2 ctype.h hpux10_stdio_declarations stdio.h hpux11_abs stdlib.h hpux11_fabsf math.h hpux11_pthread_const sys/pthread.h hpux11_size_t hpux11_snprintf stdio.h hpux11_uint32_c inttypes.h hpux11_vsnprintf stdio.h hpux8_bogus_inlines math.h hpux_ctype_macros ctype.h hpux_htonl netinet/in.h hpux_long_double stdlib.h hpux_systime sys/time.h hpux_spu_info ia64/sys/getppdp.h */sys/getppdp.h hpux11_extern_sendfile sys/socket.h hpux11_extern_sendpath sys/socket.h hpux_extern_errno errno.h hpux_pthread_initializers sys/pthread.h huge_val_hex bits/huge_val.h huge_valf_hex bits/huge_val.h huge_vall_hex bits/huge_val.h int_abort_free_and_exit stdlib.h io_quotes_def io_quotes_use ip_missing_semi netinet/ip.h irix___restrict internal/sgimacros.h irix___generic1 internal/math_core.h irix___generic2 internal/math_core.h irix_asm_apostrophe sys/asm.h irix_limits_const fixinc-test-limits.h limits.h irix_socklen_t sys/socket.h irix_stdint_c99 stdint.h irix_stdio_va_list stdio.h internal/stdio_core.h irix_wcsftime internal/wchar_core.h isc_fmod math.h isc_omits_with_stdc stdio.h math.h ctype.h sys/limits.h sys/fcntl.h sys/dirent.h kandr_concat sparc/asm_linkage.h sun*/asm_linkage.h arm/as_support.h arm/mc_type.h arm/xcb.h dev/chardefmac.h dev/ps_irq.h dev/screen.h dev/scsi.h sys/tty.h Xm.acorn/XmP.h bsd43/bsd43_.h linux_ia64_ucontext sys/ucontext.h lynxos_no_warning_in_sys_time_h sys/time.h lynxos_missing_putenv stdlib.h machine_ansi_h_va_list machine_name math_exception math.h math_huge_val_from_dbl_max math.h nested_auth_des rpc/rpc.h nested_sys_limits sys/limits.h netbsd_c99_inline_1 signal.h netbsd_c99_inline_2 signal.h netbsd_extra_semicolon sys/cdefs.h next_math_prefix ansi/math.h next_template bsd/libc.h next_volitile ansi/stdlib.h next_wait_union sys/wait.h nodeent_syntax netdnet/dnetdb.h openbsd_null_definition locale.h stddef.h stdio.h string.h time.h unistd.h wchar.h sys/param.h obstack_lvalue_cast obstack.h openbsd_va_start stdarg.h osf_namespace_a reg_types.h sys/lc_core.h osf_namespace_c regex.h pthread_page_size pthread.h pthread_incomplete_struct_argument pthread.h read_ret_type stdio.h rpc_xdr_lvalue_cast_a rpc/xdr.h rpc_xdr_lvalue_cast_b rpc/xdr.h rs6000_double math.h rs6000_fchmod sys/stat.h rs6000_param stdio.h unistd.h sco_math math.h */math.h solaris_math_1 iso/math_c99.h solaris_math_2 iso/math_c99.h solaris_math_3 iso/math_c99.h solaris_math_4 iso/math_c99.h solaris_math_8 iso/math_c99.h solaris_math_9 iso/math_c99.h solaris_math_10 iso/math_c99.h solaris_mutex_init_2 pthread.h solaris_rwlock_init_1 pthread.h solaris_once_init_1 pthread.h solaris_once_init_2 pthread.h solaris_stdio_tag stdio_tag.h statsswtch rpcsvc/rstat.h stdio_stdarg_h stdio.h stdio_va_list stdio.h internal/stdio_core.h internal/wchar_core.h stdio_va_list_clients com_err.h cps.h curses.h krb5.h lc_core.h pfmt.h wchar.h curses_colr/curses.h strict_ansi_not strict_ansi_not_ctd math.h limits.h stdio.h signal.h stdlib.h sys/signal.h time.h strict_ansi_only struct_file rpc/xdr.h struct_sockaddr rpc/auth.h sun_auth_proto rpc/auth.h rpc/clnt.h rpc/svc.h rpc/xdr.h sun_bogus_ifdef hsfs/hsfs_spec.h hsfs/iso_spec.h sun_catmacro pixrect/memvar.h sun_malloc malloc.h sun_rusers_semi rpcsvc/rusers.h sun_signal sys/signal.h signal.h sunos_strlen strings.h svr4_disable_opt string.h svr4_getcwd stdlib.h unistd.h prototypes.h svr4_profil stdlib.h unistd.h svr4_sighandler_type sys/signal.h svr4_undeclared_getrnge regexp.h sysv68_string testing.h string.h sysz_stdlib_for_sun stdlib.h thread_keyword pthread.h bits/sigthread.h tinfo_cplusplus tinfo.h ultrix_const stdio.h ultrix_const2 stdio.h va_i960_macro arch/i960/archI960.h void_null curses.h dbm.h locale.h stdio.h stdlib.h string.h time.h unistd.h sys/dir.h sys/param.h sys/types.h vxworks_gcc_problem types/vxTypesBase.h vxworks_needs_vxtypes time.h vxworks_needs_vxworks sys/stat.h vxworks_time time.h x11_class X11/ShellP.h x11_class_usage Xm/BaseClassI.h x11_new Xm/Traversal.h x11_sprintf X11/Xmu.h X11/Xmu/Xmu.h define fopen fopen64 powl #include[ \t]+\" } while x86_64 posix_types_64 /\* @\(#\)(head/memory.h 50.1 |memory\.h 1\.[2-4] 8./../.. SMI; from S5R2 1\.2 )\*/ (#define [A-Za-z_0-9]+)(\\ [^A-Za-z_0-9 (]) \\ + ^extern pid_t wait3\(\); bos325, \? (\(\(\(\(unsigned[^)]*\)[^)]*\) >> [^)]*\) \& 0xff\) : -1) typedef volatile int sig_atomic_t __assert\(char \*, char \*, int\) (.*)(defined\(__DECC\)|def[ ]*__DECC)[ ]* (#[ ]*pragma[ ]*extern_prefix.*) .*!defined\(_LIBC_POLLUTION_H_\) && !defined\(__DECC\) #[ ]*if[ ]*defined\(__DECC\) (#define assert\(EX\).*)\(\(int\) \(EX\)\) ^[ ]*#[ ]*pragma[ ]+extern_prefix /bin/sed getopt\(int, char \*\[\], *char \*\) struct[ ]+sockaddr[ ]+vmif_paddr[ ]+/\* #ifndef\(__mips64\) ((#[ ]*if)([ ]*defined[ ]*\(_PTHREAD_ENV_DECC\)|def _PTHREAD_ENV_DECC)(.*)) (#[ ]*define _PTHREAD_USE_PTDNAM_) #else # error : unrecognized compiler. \* @\(#\).RCSfile: pthread\.h,v \$ .Revision: 1\.1\.33\.21 \$ \(DEC\) .Date: 2000/08/15 15:30:13 \$ char[ ]*\*[ ]*sbrk[ ]*\( #define wcstok wcstok_r __cplusplus #[ ]*define[ ]+bool[ ] __cplusplus ^[ ]*typedef[ ].*[ ]bool[ ]*; __cplusplus _LINUX_NLS_H XFree86: xc/lib/X11/Xlib\.h ^[ ]*typedef[ ].*[ ]wchar_t[ ]*; ^[ ]*typedef[ ]+struct[ ]+term[ ]*; doesn't include.*stdio\.h stderr include.*stdlib\.h exit *\(|abort *\( ^extern[ ]+double[ ]+cabs powl #if defined(__APPLE_CC__) && (__APPLE_CC__ >= 1345) ^#define[ ]*vfscanf[ ]*__svfscanf[ ]*$ define[ ]+[A-Z0-9_]+CTRL\([a-zA-Z][,)] define[ ]+[A-Z0-9_]+[ ]+[A-Z0-9_]+CTRL[ ]*\( *[^,'] "C"|__BEGIN_DECLS [^#]+malloc.*; extern "C" __BEGIN_DECLS \(__GNUC__ >= 3\) && \(__GNUC_MINOR__ >= 1\) __private_extern__ [a-z_]+ _dyld_ sys/djtypes.h __DJ_wint_t ecd\.cursor matherr.*(struct exception|__MATH_EXCEPTION|[ \t]*__FP_EXCEPTION[ \t]*\*[ \t]*) matherr __GNUC__[ \t]*([>=]=[ \t]*[3-9]|>[ \t]*2) ^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7$ ^#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 \|\| __GNUC__ == 3$ ^ *&& !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__$ (\) && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__) (#[ ]*define[ ]*__USE_EXTERN_INLINES[ ]*1) extern __inline__ int __extern_inline|__GNU_STDC_INLINE__ extern __inline __extern_inline|__gnu_inline__ (^| )extern __inline \{ *\{ *0, *\} *\} _GCC_(PTRDIFF|SIZE|WCHAR)_T ^[ ]*typedef[ ]+.*[ ](ptrdiff|size|wchar)_t; [ ]*#[ ]*include[ ]+"\.\./machine/ HPUX_SOURCE #[ ]*define[ ]*FP_NORMAL.* #[ ]*define[ ]*FP_ZERO.* #[ ]*define[ ]*FP_INFINITE.* #[ ]*define[ ]*FP_SUBNORMAL.* #[ ]*define[ ]*FP_NAN.* ^# +ifdef +__cplusplus +\} +inline +double +pow\(double +__d,int +__expon\) +\{ [ ]+return +pow\(__d,\(double\)__expon\); +\} +extern +"C" +\{ #else # +endif +inline double pow\(double d,int expon\) \{ +return pow\(d, \(double\)expon\); +\} ^[ ]*extern[ ]*int[ ]*__tolower[ ]*\( ^#[ ]*define _toupper\(__c\)[ ]*__toupper\(__c\) ^[ ]*extern[ ]*int[ ]*_isalnum[ ]*\( ^# if defined\(_SB_CTYPE_MACROS\) && \!defined\(__lint\) ^[ ]*extern[ ]*int[ ]*vsnprintf[ ]*\( ^#[ ]*define _iob[ ]*__iob ifndef _MATH_INCLUDED __cplusplus ^[ ]*#[ ]*define[ ]+fabsf\(.* ^#define[ ]*__POINTER_SET[ ]*\(\(void \*\) 1LL\) __size_t (extern int snprintf *\(char *\*, *(|__|_hpux_)size_t,) *(char *\*, *\.\.\.\);) ^#define UINT32_C\(__c\)[ ]*__CONCAT__\(__CONCAT_U__\(__c\),l\) (extern int vsnprintf\(char \*, _[hpux]*_size_t, const char \*,) __va__list\); __GNUG__ inline ((: |\()__SB_masks \? )(__SB_masks\[__(alnum|c)\] & _IS) #ifndef _XOPEN_SOURCE_EXTENDED (/\* \* Macros for number representation conversion\. \*/ #ifndef ntohl) long_double_t extern[ ]long_double[ ]strtold ^extern struct sigevent; ^.*extern.*spu_info.* ^[ ]*extern sbsize_t sendfile.* .*, int\)\); ^[ ]*extern sbsize_t sendpath.* .*, int\)\); ^[ ]*extern int errno;$ __builtin_huge_val ^#[ ]*define[ ]*HUGE_VAL[ ].*0x1\.0p.* __builtin_huge_valf ^#[ ]*define[ ]*HUGE_VALF[ ].*0x1\.0p.* __builtin_huge_vall ^#[ ]*define[ ]*HUGE_VALL[ ].*0x1\.0p.* _CLASSIC_ANSI_TYPES int[ ]+(abort|free|exit)[ ]*\( define[ ]+[A-Z0-9_]+IO[A-Z]*\([a-zA-Z][,)] define[ ]+[A-Z0-9_]+[ ]+[A-Z0-9_]+IO[A-Z]*[ ]*\( *[^,'] }$ (#ifdef __c99 )(#[ ]*define __restrict restrict) #define ([a-z]+)\(x\) *__generic.* #define ([a-z]+)\(x,y\) *__generic.* ^[ ]*#.*[Ww]e're ^extern const (#define _SOCKLEN_T )(typedef u_int32_t socklen_t;) (#ifndef __c99 )(#error This header file is to be used only for c99 mode compilations) /\* va_list \*/ char \* #if _NO_XOPEN5 (extern size_t[ ]+wcsftime.*const char *.*) fmod\(double\) !defined\(__STDC__\) && !defined\(_POSIX_SOURCE\) /\*\*/ \(\(\(char \*\) &\(\(struct sigcontext \*\) 0\)->sc_gr\[0\]\) - \(char \*\) 0\) #warning[ ]+Using instead of putenv[ \t]*\( extern char \*getenv[ ]*_AP\(\(const char \*\)\); __builtin_va_list define[ ]+_BSD_VA_LIST_[ ] machine_name We have a problem when using C\+\+|for C\+\+, _[a-z0-9A-Z_]+_exception; for C, exception struct exception define[ ]+DBL_MAX define[ ]+HUGE_VAL[ ]+DBL_MAX (/\*.*rpc/auth_des\.h>.*)/\* CHILD_MAX extern __inline int #define _SIGINLINE extern __inline #define[ ]*__END_DECLS[ ]*}; ^extern[ ]+double[ ]+__const__[ ] [ ]template\) ^extern[ ]+volatile[ ]+void[ ] wait\(union wait char[ ]*\*na_addr[ ]*$ __GNUG__ \*\(\(([^()]*)\*\)(.*)\)\+\+ = \(([^()]*)\) __builtin_stdarg_start -r reg_types.h -r sys/lc_core.h -n "`grep '} regex_t;' reg_types.h`" -z "`grep __regex_t regex.h`" -r reg_types.h -r sys/lc_core.h -n "`grep '} regex_t;' reg_types.h`" -z "`grep __regex_t regex.h`" #include .* ^int __page_size struct __jmp_buf_tag extern int .*, fread\(\), fwrite\(\) #define[ ]*IXDR_GET_LONG.*\\ .*__extension__.* #define[ ]*IXDR_PUT_LONG.*\\ .*__extension__.* [^a-zA-Z_]class\( fchmod\(char \* rename\(const char \*old, const char \*new\) __GNUG__ inline double abs __GNUC__ @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI __GNUC__ @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI __GNUC__ @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI __GNUC__ @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI __GNUC__ @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI __GNUC__ @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI @\(#\)math_c99.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI @\(#\)pthread.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI @\(#\)pthread.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI @\(#\)pthread.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI @\(#\)pthread.h[ ]+1.[0-9]+[ ]+[0-9/]+ SMI __GNUC__ __cplusplus < 54321L boottime$ include.*(stdarg.h|machine/ansi.h) __gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list __gnuc_va_list|_BSD_VA_LIST_|__DJ_va_list|_G_va_list include |#ifdef va_start stdc_0_in_system_headers GNU and MIPS C compilers define __STDC__ differently __SCO_VERSION__.*__STDC__ != 1 ^([ ]*#[ ]*if.*)(!__STDC__|__STDC__[ ]*==[ ]*0|__STDC__[ ]*!=[ ]*1|__STDC__[ ]*-[ ]*0[ ]*==[ ]*0) stdc_0_in_system_headers ^([ ]*(\(|&&|\|\|)([ (]*!*[ ]*defined\([a-zA-Z_0-9]+\)[ ]*[|&][|&])*[ (]*)(__STDC__[ ]*(|-[ ]*0[ ]*)==[ ]*0) stdc_0_in_system_headers ^([ ]*#[ ]*if.*)(__STDC__[ ]*!=[ ]*0|__STDC__[ ]*==[ ]*1|__STDC__[ ]*-[ ]*0[ ]*==[ ]*1|__STDC__[ ]*-[ ]*0[ ]*!=[ ]*0) ^.*xdrstdio_create.*struct __file_s struct sockaddr; ^.*authdes_create.*struct sockaddr[^_] __cplusplus \(\*[a-z][a-z_]*\)\(\) #ifdef(.*\|\|.*) ^#define[ ]+CAT\(a,b\).* _CLASSIC_ANSI_TYPES _cnt$ ^void \(\*signal\(\)\)\(\);.* int[ ]*strlen\(\);(.*) #define.*__std_hdr_ getcwd\(char \*, int\) Silicon Graphics profil\(unsigned short \*, unsigned int, unsigned int, unsigned int\) void *\(\*\)\(\) static void getrnge getrnge _CLASSIC_ANSI_TYPES _CLASSIC_ANSI_TYPES char[ ]*\*[ ]*(calloc|malloc|realloc|bsearch)[ ]*\( ([* ])__thread([,)]) [ ]_cplusplus perror\( char \* \*fopen\( char \* __(vsiz|vali|vpad|alignof__) __cplusplus ^#[ ]*define[ ]+NULL[ ]+\(\(void[ ]*\*\)0\) __GNUC_TYPEOF_FEATURE_BROKEN_USE_DEFAULT_UNTIL_FIXED__ uint_t([ ]+_clocks_per_sec) -r types/vxTypesOld.h -n "`egrep '#include' $file`" -n "`egrep ULONG $file`" #[ ]define[ ]+__INCstath -r vxWorks.h #[ ]*define[ ]+VOIDFUNCPTR[ ].* __cplusplus ^([ ]*char \*)class;(.*) __cplusplus class\) __cplusplus ^extern char \* sprintf\(\);$ fixincludes error: the `%s' fix test is unknown machine_name_test stdc_0_in_system_headers fixincl error: the `%s' fix is unknown The target machine has no needed machine name fixes search text gnu_type_fix gnu type typedef wchar && ! defined(__cplusplus) wrap-fix no-wrap pattern FIXINC_WRAP_%s-%s #ifndef %s #define %s 1 #endif /* %s */ machine_name_fix replacement format format_fix format search-text ioctl type fix_char_macro_defines macro pattern char_macro_use_fix fixincl error: `%s' needs %s argument (c_fix_arg[%d]) #if !defined(_GCC_%s_T)%s #define _GCC_%s_T typedef __%s_TYPE__ %s_t; #endif ^#if.*__need_ ^#[ ]*define[ ]+[_A-Za-z][_A-Za-z0-9]*[ ]+ ^#[ ]*define[ ]+ CONFIG_SHELL /bin/sh NOTE: server restarted trap : 1 cd %s %s echo echo %s CLOSING SHELL SERVER - command failure: %s ShElL-OuTpUt-HaS-bEeN-cOmPlEtEd Server not running, cannot run: %s Error %d: Could not execvp( '%s', ... ): %s label pattern name pattern error %d (%s) reading input ^[ ]*#[ ]*(if|ifdef|ifndef)[ ]+ fixincl ERROR: cannot compile %s regex for %s expr = `%s' error %s FIND_BASE VERBOSE MN_NAME_PAT DESTDIR INPUT SRCDIR ORIGDIR TARGET_MACHINE fixincl ERROR: %s environment variable not defined each of these must be defined: TARGET_MACHINE - output from config.guess ORIGDIR - directory of fixincl and applyfix SRCDIR - directory of original files INPUT - current directory for fixincl DESTDIR - output directory MN_NAME_PAT - regex matching forbidden identifiers VERBOSE - amount of user entertainment FIND_BASE - leader to trim from file names # J d T T v c c 2 n v 9 , $ $ v v v v v u M v v v v | s } ? ` w 0 c 0 y f @ 0 G Y k x alnum alpha blank cntrl graph lower print punct space upper xdigit Memory exhausted Success No match Invalid regular expression Invalid collation character Invalid character class name Trailing backslash Invalid back reference Unmatched [ or [^ Unmatched ( or \( Unmatched \{ Invalid content of \{\} Invalid range end Regular expression too big Unmatched ) or \) No previous regular expression Invalid preceding regular expression Premature end of regular expression C B B B B Q 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 !"#$%&'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ABCDEFGHIJKLMNOPQRSTUVWXYZ{|}~ : %s%sout of memory allocating %lu bytes after a total of %lu bytes undocumented error #%d
B J h $ @ d { l t | / > J V d p } ( 4 @ L T ` l t ' 4 > M Z l $ 0 8 D P X d p x @ n @ p | , 6 B ` 0 < H T ` l x @ , D \ l x M a i $ @ 4 ` ` x @ ` , < H X ` l x # , G P j s ~ ( 4 L X ` l x 2 : L ( 4 U ` @ L n X p . @ I c $ @ r 4 @ L X d p | * : P ` v ( 4 @ H T & < ` l [ i x , B 8 L H ` c p | p $ 0 8 D ! 8 P X d E V p | c q } H \ $ g x 0 8 D ` # . < ( E [ 8 D f | P \ h t 0 H . = X p M \ l { , < D P ` h t * > I [ h s 0 H o ` $ # @ 0 H k X d p | & 1 B ( L ` 8 D P h t ( $ 3 4 @ O _ L X h u d p ~ E Y n @ L ` @ L {/ 9 / 8 / N 0; / S * / M / d l s M / $P /