From: Jim Meyering Date: Sat, 28 Oct 2000 11:50:00 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_0_28~22 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d7bb6bd985db485c8e41447beb3bf1102109e5b8;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 6fdc7ee88c..e4a7aba5d3 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,3 +1,16 @@ +2000-10-28 Jim Meyering + + * src/shred.c: Include assert.h. + (fillrand): Add a parameter, size_max. + Add an assertion. + Adjust caller. + (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. + If lseek fails or returns 0 for a non-regular file, let dopass + determine the length. + Inspired by a patch from Alan Iwi. + 2000-10-26 Jim Meyering * doc/getdate.texi (Authors of getdate): Add Paul Eggert.