maint: correct the version for the previous bug fix

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
This commit is contained in:
Pádraig Brady committed 2016-12-20 13:07:07 +00:00
1 parent 9944e4763b
commit 94d2c6848b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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]
+1 -1
View File
@@ -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