* Use __srefill() on OS X, too. It now works properly.

This commit is contained in:
Sam Hocevar
2007-01-07 21:13:31 +00:00
committed by sam
parent fd6d3e00a1
commit f8d7384dfd
2 changed files with 5 additions and 9 deletions

View File

@@ -285,11 +285,11 @@ using functions that are not in that list, \fBzzuf\fR will not fuzz its
input consistently and the results should not be trusted. You can use a tool
such as \fBltrace(1)\fR on Linux to know the missing functions.
.PP
On some systems, such as FreeBSD, \fB__srefill\fR() is enough to monitor all
standard IO streams functions. On other systems each function needs to be
reimplemented on a case by case basis. One important unimplemented function
is \fBfscanf\fR(), because of its complexity. Missing functions will be
implemented based upon user request.
On BSD systems, such as FreeBSD or Mac OS X, \fB__srefill\fR() is enough to
monitor all standard IO streams functions. On other systems, such as Linux,
each function is reimplemented on a case by case basis. One important
unimplemented function is \fBfscanf\fR(), because of its complexity. Missing
functions will be added upon user request.
.SH HISTORY
.PP
\fBZzuf\fR started its life in 2002 as the \fBstreamfucker\fR tool, a small

View File

@@ -41,10 +41,6 @@
#include "load.h"
#include "fd.h"
#if !defined __FreeBSD__ && !defined __OpenBSD__
# undef HAVE___SREFILL
#endif
#ifdef HAVE___SREFILL
int __srefill(FILE *fp);
#endif