summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-12-20 13:07:07 +0000
committerPádraig Brady <P@draigBrady.com>2016-12-20 13:07:07 +0000
commit94d2c6848b17b4e14235e80e6fa6af37aa76217b (patch)
treeedf0e634e9ae85497d867dff0a97daa597c99f0e
parent9944e4763bb178852727812e8b188540772384e2 (diff)
downloadcoreutils-94d2c6848b17b4e14235e80e6fa6af37aa76217b.tar.xz
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
-rw-r--r--NEWS2
-rwxr-xr-xtests/misc/wc-files0.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 1ed5bd932..d0434d934 100644
--- 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]
diff --git a/tests/misc/wc-files0.sh b/tests/misc/wc-files0.sh
index d92a01032..6565c5b16 100755
--- a/tests/misc/wc-files0.sh
+++ b/tests/misc/wc-files0.sh
@@ -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