From: Pádraig Brady
Date: Tue, 20 Dec 2016 13:07:07 +0000 (+0000) Subject: maint: correct the version for the previous bug fix X-Git-Tag: v8.27~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94d2c6848b17b4e14235e80e6fa6af37aa76217b;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/NEWS b/NEWS index 1ed5bd9326..d0434d9340 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 d92a010322..6565c5b162 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