Commit Graph

85 Commits

Author SHA1 Message Date
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
Sam Hocevar
77f97d7c4d * Make the testsuite reproductible. 2007-01-03 17:58:11 +00:00
Sam Hocevar
c8af1823d9 * Now works on Darwin! 2007-01-03 17:57:52 +00:00
Sam Hocevar
3d186e036a * The whole crap now builds on OS X. Now if it only agreed to run, too... 2007-01-03 09:09:41 +00:00
Sam Hocevar
3bc1bfc4ab * Minor optimisations to the testsuite. 2007-01-03 09:04:01 +00:00
Sam Hocevar
a0f2a394a2 * Oops, fixed the testsuite again. 2007-01-03 01:28:02 +00:00
Sam Hocevar
9fac4ada0f * Oops, fixed stdout writing. 2007-01-02 18:26:56 +00:00
Sam Hocevar
441deaa56d * Totally reworked webpage. 2007-01-02 17:15:34 +00:00
Sam Hocevar
58c9294fde * Output process status to stdout, not stderr. 2007-01-02 14:51:55 +00:00
Sam Hocevar
a9dd607eb3 * Do not count debug bytes in the --max-bytes count. 2007-01-02 13:26:32 +00:00
Sam Hocevar
32e9e7c408 * Fix typo in manpage. 2007-01-02 10:45:19 +00:00
Sam Hocevar
3e74a56190 * Use a separate file descriptor for debugging messages, so that the -q flag
does not remove debug messages.
  * Slightly improved fd handling code.
2007-01-02 01:13:05 +00:00
Sam Hocevar
d7fa36634e * Made the debug() function signal-safe by reimplementing the necessary
subset of fprintf() we needed.
2007-01-02 00:27:33 +00:00
Sam Hocevar
03cdccdc80 * Deprecate README tutorial. Everything’s in the manpage now. 2007-01-01 21:55:48 +00:00
Sam Hocevar
c8df6d0f5b * Implemented signal handling.
* Updated documentation accordingly and improved a few parts.
2007-01-01 21:35:54 +00:00
Sam Hocevar
85f6af7cb2 * Alphabetise flags in help output and manpage. 2007-01-01 19:49:57 +00:00
Sam Hocevar
f097220bbf * Update documentation. 2007-01-01 19:14:55 +00:00
Sam Hocevar
7352ec27d7 * Switch to REG_EXTENDED.
* Implement -c (--cmdline).
  * Updated documentation accordingly.
2007-01-01 18:56:13 +00:00
Sam Hocevar
4e6f94651f * Check regex syntax in zzuf.
* Fix minor, harmful memory leaks.
2006-12-29 18:13:42 +00:00
Sam Hocevar
01f03abe90 * Factored regex matching stuff. 2006-12-29 17:49:11 +00:00
Sam Hocevar
b8d4118de5 * Added the -i flag (for stdin fuzzing). 2006-12-29 17:22:11 +00:00
Sam Hocevar
03abccd656 * Change -i/-e to -I/-E. 2006-12-29 16:46:06 +00:00
Sam Hocevar
291a1ca6c1 * Renamed functions here and there. 2006-12-28 20:32:21 +00:00
Sam Hocevar
53157d4fbb * Improved zfd_register() and zfd_* function performances.
* Changed function names here and there.
2006-12-28 20:22:32 +00:00
Sam Hocevar
8911c02237 * Fixed a partial read data loss bug in the fread implementation.
* Cosmetic fixes.
2006-12-28 17:48:05 +00:00
Sam Hocevar
2bb49adf8a * Added cat reimplementations to the testsuite. 2006-12-28 17:47:26 +00:00
Sam Hocevar
d7d610c117 * Shorten function names. 2006-12-28 15:51:43 +00:00
Sam Hocevar
5bb4e9c609 * Hide struct zzuf behind public functions. No real abstraction yet. 2006-12-28 15:48:10 +00:00
Sam Hocevar
652c35e8d9 * Add a changelog (from version 1.0). 2006-12-28 15:44:28 +00:00
Sam Hocevar
03a54c53d8 * Do not put version information in the distributed .so. 2006-12-28 15:44:13 +00:00
Sam Hocevar
2fb9e2de46 * Update documentation. 2006-12-28 15:43:28 +00:00
Sam Hocevar
b2a821aa4f * Oops, correctly install manpage. 2006-12-23 19:12:52 +00:00
Sam Hocevar
846ae23340 * Typo in Makefile.am. 2006-12-23 18:40:28 +00:00
Sam Hocevar
f43871f59c * Prepare version 0.1. 2006-12-23 18:37:52 +00:00
Sam Hocevar
83a38e48ba * Sync’ed README and manpage. 2006-12-22 23:40:03 +00:00
Sam Hocevar
cd34753adc * Slightly updated documentation. 2006-12-22 23:36:04 +00:00
Sam Hocevar
1b5ba510be * Fix stdout/stderr copying. Don't use fprintf for something that can
have null bytes (lol @ me).
2006-12-22 17:01:16 +00:00
Sam Hocevar
37cb8cd872 * Fix a cleanup bug in the testsuite.
* If any of the tests failed, do not erase the test files.
2006-12-22 16:54:55 +00:00
Sam Hocevar
0d941d02eb * Slightly modified --help message. 2006-12-22 16:36:47 +00:00
Sam Hocevar
c95059bb66 * Wrote a manpage. Phew. 2006-12-22 16:36:30 +00:00
Sam Hocevar
728cfe90bf * Implement --max-bytes and --max-time. 2006-12-22 15:06:21 +00:00
Sam Hocevar
5cae3cb2c9 * Implemented parallelisation.
* Implemented “quiet” mode.
  * Handle stdin and stderr in their own pipes.
2006-12-22 13:53:58 +00:00
Sam Hocevar
3134245182 * Don’t rely on libzzuf.h in debug.c, so that it can be used in zzuf, too. 2006-12-22 13:18:13 +00:00
Sam Hocevar
5d9b5366ee * Fork to launch the child and read its stdout/stderr. 2006-12-21 19:56:22 +00:00
Sam Hocevar
db77b126f9 * Improved help. 2006-12-18 13:23:56 +00:00
Sam Hocevar
f3e7ed8f87 * Improved TODO list. 2006-12-18 12:58:47 +00:00
Sam Hocevar
60a869d1a1 * More testsuite improvements. 2006-12-18 12:48:49 +00:00