Commit Graph

131 Commits

Author SHA1 Message Date
Sam Hocevar
5d48434914 * Don’t run the testsuite if /bin/cat is statically linked. 2007-01-07 12:06:07 +00:00
Sam Hocevar
f109b99b53 * Always define getc(), but undefine the getc macro beforehands just in case.
* Implemented _IO_getc().
2007-01-07 10:34:45 +00:00
Sam Hocevar
399f65d704 * Implemented fseeko(). 2007-01-07 09:34:42 +00:00
Sam Hocevar
f62025e392 * Fix a bug in the fgetln() implementation. The newline was not properly
accounted for in the returned length.
2007-01-06 22:17:09 +00:00
Sam Hocevar
c2d12ddd92 * BSD's md5 does not have a --help option. Trying /dev/null instead. 2007-01-06 21:54:02 +00:00
Sam Hocevar
f77a838606 * Cleaned up code. 2007-01-06 21:38:33 +00:00
Sam Hocevar
1f4b9cfa97 * Only link with -ldl when available.
* Removed PKG_* stuff from configure.ac.
  * Add more compilation warnings.
2007-01-06 21:37:42 +00:00
Sam Hocevar
5b90ba4ec2 * Got testsuite to work on FreeBSD. 2007-01-06 21:25:56 +00:00
Sam Hocevar
e20a8f44bd * Fix for BSD machines: getc() may be defined as a macro. 2007-01-06 20:59:28 +00:00
Sam Hocevar
1913d08ca0 * Fixed the head call in the testsuite so that it works on OS X. 2007-01-06 20:24:54 +00:00
Sam Hocevar
e5b145ce34 * Added head and tail to the testsuite. 2007-01-06 20:20:15 +00:00
Sam Hocevar
4f2b321dbf * Fixed implicit declaration. 2007-01-06 20:08:31 +00:00
Sam Hocevar
cb8409556e * Updated documentation wrt. mmap(). 2007-01-06 20:02:01 +00:00
Sam Hocevar
c31cfd5c80 * Missing autoconf check for mmap64(). 2007-01-06 20:01:51 +00:00
Sam Hocevar
ee2a4cec8b * Implemented the mmap() family. 2007-01-06 20:01:25 +00:00
Sam Hocevar
5329e5a3ea * Implemented rewind(). 2007-01-06 20:01:15 +00:00
Sam Hocevar
2029e77e18 * Fix fread() issue with standard input reading. 2007-01-06 15:54:14 +00:00
Sam Hocevar
e381e7bb86 * Added a note about mmap() not being available. 2007-01-06 14:03:07 +00:00
Sam Hocevar
9a7c211b57 * Fix build with older versions of gcc. 2007-01-06 14:02:51 +00:00
Sam Hocevar
bf0f51a97f * Documentation tuning. 2007-01-06 10:51:44 +00:00
Sam Hocevar
3d20829220 * Version 0.2 is ready. 2007-01-06 00:40:51 +00:00
Sam Hocevar
e62fd4c5e8 * Another note in the manpage. 2007-01-06 00:26:39 +00:00
Sam Hocevar
85b6d87a3d * Cosmetic fixes. 2007-01-06 00:10:46 +00:00
Sam Hocevar
31993f9bc7 * Implemented --max-crashes.
* Renamed --forks to --max-forks.
  * Changed debug messages format.
2007-01-06 00:08:16 +00:00
Sam Hocevar
1322fd8cf0 * Oops, forgot to fix --help output. 2007-01-05 23:15:29 +00:00
Sam Hocevar
a7b655736a * Rename --fork to --max-forks. 2007-01-05 23:14:37 +00:00
Sam Hocevar
00d3e5e154 * Specified signal handling stuff in the manpage. 2007-01-05 21:36:13 +00:00
Sam Hocevar
ebf935c11d * Split the bugs manpage section into bugs and restrictions.
* Listed diverted functions.
2007-01-05 21:33:28 +00:00
Sam Hocevar
064232ecf8 * Fix an uncontrolled corruption bug in fgetln(). 2007-01-05 17:34:10 +00:00
Sam Hocevar
6917989fba * Fix fgetln(). The testsuite *almost* passes. 2007-01-05 16:03:04 +00:00
Sam Hocevar
2303ca5846 * Implemented BSD fgetln(). Untested yet. 2007-01-05 14:36:39 +00:00
Sam Hocevar
a58daf09d7 * Put back grep and sed into the testsuite, now that we can protect newlines
from being fuzzed away.
2007-01-05 11:01:49 +00:00
Sam Hocevar
2387aa2907 * Minor layout tuning. 2007-01-05 10:49:12 +00:00
Sam Hocevar
df7b1127df * Allow octal escape values for -P and -R.
* Updated manpage accordingly and added a few minor things in it.
2007-01-05 10:28:07 +00:00
Sam Hocevar
7557e335bd * Change -N to -n for --network. 2007-01-05 08:01:06 +00:00
Sam Hocevar
92f06199ff * Clarified reproducibility claim. 2007-01-05 07:57:41 +00:00
Sam Hocevar
8d40570979 * Network support. 2007-01-05 07:52:30 +00:00
Sam Hocevar
bd659d383c * Manpage layout improvements. 2007-01-05 00:24:43 +00:00
Sam Hocevar
3dc82f3b69 * Minor manpage improvement. 2007-01-04 13:33:33 +00:00
Sam Hocevar
87c80404e0 * Improved manpage, especially the statistical effect of using -R. 2007-01-04 13:28:35 +00:00
Sam Hocevar
86dfb1f5fd * Implemented -R / --refuse. 2007-01-04 08:59:05 +00:00
Sam Hocevar
ab9a1d771c * Implement -P / --protect. 2007-01-04 01:09:04 +00:00
Sam Hocevar
39a8524c0e * Added a _zz_disabled flag. This is needed on OS X where we protect the
fopen_orig() call because it will call our own diverted open() function
    and we don't want it to fiddle with our structures.
2007-01-03 22:51:36 +00:00
Sam Hocevar
5d89130fb9 * Do not fuzz anything if 0 bytes were read.
* Added a debug message for fuzzing.
2007-01-03 22:25:45 +00:00
Sam Hocevar
ead4987c3b * Better debug messages in load-stream.c. 2007-01-03 22:12:02 +00:00
Sam Hocevar
6b072012f4 * Implemented %c in our debug() printf implementation. 2007-01-03 22:10:57 +00:00
Sam Hocevar
de9a7ef44d * Use "strings </dev/urandom", not "strings /dev/urandom". 2007-01-03 21:53:03 +00:00
Sam Hocevar
a69b8cc7ed * Added a stupid PRNG to streamcat and fdcat.
* Do not use sed in the testsuite, because of OS X.
2007-01-03 21:51:11 +00:00
Sam Hocevar
a786231fb2 * No longer use the OS's PRNG, we use our own (based on a Dr Dobbs article
from November 1985, page 91).
2007-01-03 21:20:22 +00:00
Sam Hocevar
abb31b42e9 * Split some code into clean functions. 2007-01-03 20:43:47 +00:00