Changeset 2330
- Timestamp:
- 05/18/08 01:10:41 (5 years ago)
- Location:
- zzuf/trunk
- Files:
-
- 2 edited
-
configure.ac (modified) (1 diff)
-
src/lib-stream.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/configure.ac
r2320 r2330 30 30 31 31 AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe) 32 AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 dup dup2 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd memalign posix_memalign aio_read accept bind connect socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize )32 AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 dup dup2 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd memalign posix_memalign aio_read accept bind connect socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize getc_unlocked getchar_unlocked fgetc_unlocked fread_unlocked fgets_unlocked) 33 33 34 34 AC_CHECK_TYPES(sighandler_t, [], [], -
zzuf/trunk/src/lib-stream.c
r1791 r2330 62 62 #if defined HAVE__IO_GETC 63 63 static int (*ORIG(_IO_getc)) (FILE *stream); 64 #endif 65 #if defined HAVE_GETC_UNLOCKED 66 static int (*ORIG(getc_unlocked)) (FILE *stream); 67 #endif 68 #if defined HAVE_FGETC_UNLOCKED 69 static int (*ORIG(fgetc_unlocked)) (FILE *stream); 64 70 #endif 65 71 static char * (*ORIG(fgets)) (char *s, int size, FILE *stream); … … 322 328 { 323 329 int ret; FGETC(_IO_getc); return ret; 330 } 331 #endif 332 333 #if defined HAVE_GETC_UNLOCKED 334 int NEW(getc_unlocked)(FILE *stream) 335 { 336 int ret; FGETC(getc_unlocked); return ret; 337 } 338 #endif 339 340 #if defined HAVE_FGETC_UNLOCKED 341 int NEW(fgetc_unlocked)(FILE *stream) 342 { 343 int ret; FGETC(fgetc_unlocked); return ret; 324 344 } 325 345 #endif
Note: See TracChangeset
for help on using the changeset viewer.
