]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: correct the version for the previous bug fix
authorPádraig Brady <P@draigBrady.com>
Tue, 20 Dec 2016 13:07:07 +0000 (13:07 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 20 Dec 2016 13:07:07 +0000 (13:07 +0000)
While st_size would have been incorrect for subsequent
files since v7.1, it was only used since v8.24.

* tests/misc/wc-files0.sh: s/7.1/8.24/
* NEWS: Likewise.

Reported by Bernhard Voelker

NEWS
tests/misc/wc-files0.sh

diff --git a/NEWS b/NEWS
index 1ed5bd9326930e39144fb687c74f65c4a54dec30..d0434d934073152523b4f5cf7b42f0dac9e456f0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,7 @@ GNU coreutils NEWS                                    -*- outline -*-
   wc --bytes --files0-from now correctly reports byte counts.
   Previously it may have returned values that were too large,
   depending on the size of the first file processed.
-  [bug introduced in coreutils-7.1]
+  [bug introduced in coreutils-8.24]
 
 
 * Noteworthy changes in release 8.26 (2016-11-30) [stable]
index d92a010322d4599195ae786e6bcf7ac0f0a832a3..6565c5b162b332b3d221a7f26730f9ebe3fbad00 100755 (executable)
@@ -48,7 +48,7 @@ printf '%s\0' "$nlname" | wc --files0-from=- > out || fail=1
 printf '%s\n' "0 0 0 '1'$'\\n''2'" > exp || framework_failure_
 compare exp out || fail=1
 
-# Ensure correct byte counts, which fails between v7.1 and v8.26 inclusive
+# Ensure correct byte counts, which fails between v8.24 and v8.26 inclusive
 truncate -s1G wc.big || framework_failure_
 touch wc.small || framework_failure_
 printf '%s\0' wc.big wc.small | wc -c --files0-from=- >out || fail=1