]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sat, 28 Oct 2000 11:50:00 +0000 (11:50 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 28 Oct 2000 11:50:00 +0000 (11:50 +0000)
old/fileutils/ChangeLog

index 6fdc7ee88c6b13343ce05b51882f924f7e7ae9c0..e4a7aba5d39a0ee042a51cae02ca0453d7e4990a 100644 (file)
@@ -1,3 +1,16 @@
+2000-10-28  Jim Meyering  <meyering@lucent.com>
+
+       * 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  <meyering@lucent.com>
 
        * doc/getdate.texi (Authors of getdate): Add Paul Eggert.