From 9b0c5acea1fae19ab331d330a23997a68865a798 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 22 Nov 2009 18:54:43 +0000 Subject: [PATCH] Add a check to __uflow(). This will hopefully help us fix the problem with recent sed versions. --- configure.ac | 2 +- doc/libzzuf.3 | 8 +++++--- doc/zzuf.1 | 6 ++++-- msvc/config.h | 3 ++- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index feaeade..85a0c5b 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_SUBST(DLL_LDFLAGS) AC_CHECK_HEADERS(windows.h winsock2.h io.h process.h unistd.h inttypes.h stdint.h getopt.h libc.h malloc.h dlfcn.h regex.h sys/cdefs.h sys/socket.h netinet/in.h arpa/inet.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h sys/time.h endian.h) AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe) -AC_CHECK_FUNCS(open64 __open64 lseek64 __lseek64 mmap64 fopen64 __fopen64 freopen64 __freopen64 dup dup2 fseeko fseeko64 __fseeko64 fsetpos64 __fsetpos64 _IO_getc getline getdelim __getdelim fgetln __srefill __filbuf __srget 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) +AC_CHECK_FUNCS(open64 __open64 lseek64 __lseek64 mmap64 fopen64 __fopen64 freopen64 __freopen64 dup dup2 fseeko fseeko64 __fseeko64 fsetpos64 __fsetpos64 _IO_getc getline getdelim __getdelim fgetln __srefill __filbuf __srget __uflow 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) AC_CHECK_TYPES(sighandler_t, [], [], [#define _GNU_SOURCE diff --git a/doc/libzzuf.3 b/doc/libzzuf.3 index f6c9aaf..f51b3e2 100644 --- a/doc/libzzuf.3 +++ b/doc/libzzuf.3 @@ -97,7 +97,7 @@ Required on Linux: \fBopen64\fR(), \fBlseek64\fR(), \fBmmap64\fR(), \fB_IO_getc\fR(), \fBgetline\fR(), \fBgetdelim\fR(), \fB__getdelim\fR(), \fBgetc_unlocked\fR(), \fBgetchar_unlocked\fR(), \fBfgetc_unlocked\fR(), \fBfgets_unlocked\fR(), -\fBfread_unlocked\fR() +\fBfread_unlocked\fR(), \fB__uflow\fR() .TP Required on BSD systems: \fBfgetln\fR(), \fB__srefill\fR(), \fB__srget\fR() @@ -129,7 +129,7 @@ functions will be added upon user request. \fBzzuf(1)\fR, \fBld.so(8)\fR .SH AUTHOR .PP -Copyright \(co 2002, 2007\-2008 Sam Hocevar . +Copyright \(co 2002, 2007\-2009 Sam Hocevar . .PP \fBlibzzuf\fR and this manual page are free software. They come without any warranty, to the extent permitted by applicable law. You can redistribute @@ -137,4 +137,6 @@ them and/or modify them under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See \fBhttp://sam.zoy.org/wtfpl/COPYING\fR for more details. .PP -\fBzzuf\fR's webpage can be found at \fBhttp://libcaca.zoy.org/wiki/zzuf\fR. +\fBzzuf\fR's webpage can be found at \fBhttp://caca.zoy.org/wiki/zzuf\fR. +An overview of the architecture and inner works is at +\fBhttp://caca.zoy.org/wiki/zzuf/internals\fR. diff --git a/doc/zzuf.1 b/doc/zzuf.1 index 24e7637..625390e 100644 --- a/doc/zzuf.1 +++ b/doc/zzuf.1 @@ -432,7 +432,7 @@ multimedia stream corrupter used to find bugs in the VLC media player. \fBlibzzuf(3)\fR .SH AUTHOR .PP -Copyright \(co 2002, 2007\-2008 Sam Hocevar . +Copyright \(co 2002, 2007\-2009 Sam Hocevar . .PP \fBzzuf\fR and this manual page are free software. They come without any warranty, to the extent permitted by applicable law. You can redistribute @@ -440,4 +440,6 @@ them and/or modify them under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See \fBhttp://sam.zoy.org/wtfpl/COPYING\fR for more details. .PP -\fBzzuf\fR's webpage can be found at \fBhttp://libcaca.zoy.org/wiki/zzuf\fR. +\fBzzuf\fR's webpage can be found at \fBhttp://caca.zoy.org/wiki/zzuf\fR. +An overview of the architecture and inner works is at +\fBhttp://caca.zoy.org/wiki/zzuf/internals\fR. diff --git a/msvc/config.h b/msvc/config.h index 584b341..c67e499 100644 --- a/msvc/config.h +++ b/msvc/config.h @@ -1,6 +1,6 @@ /* * zzuf - general purpose fuzzer - * Copyright (c) 2006, 2007 Sam Hocevar + * Copyright (c) 2006-2009 Sam Hocevar * All Rights Reserved * * $Id: timer.h 192 2007-01-12 15:47:48Z sam $ @@ -109,6 +109,7 @@ /* #undef HAVE___OPEN64 */ /* #undef HAVE___SREFILL */ /* #undef HAVE___SRGET */ +/* #undef HAVE___UFLOW */ #define LT_OBJDIR "" /* #undef NO_MINUS_C_MINUS_O */ #define PACKAGE_BUGREPORT ""