1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-10 06:03:31 +02:00

*** empty log message ***

This commit is contained in:
Jim Meyering
2000-10-28 12:00:14 +00:00
parent 8f945ecf3a
commit 71a47cd7bb

View File

@@ -1,9 +1,11 @@
2000-10-28 Jim Meyering <meyering@lucent.com>
Shred can now determine the size of a block devices (e.g. /dev/fd0)
by writing until a write operation fails.
* src/shred.c: Include assert.h.
(fillrand): Add a parameter, size_max.
Add an assertion.
Adjust caller.
Add an assertion.
(dopass): Break out of the `for (;;)' loop if size < offset.
That can happen now that dopass is called with SIZE == -1.
(do_wipefd): Accept a length of zero only for a regular file.