Bug#1027101: coreutils: wc: -c no longer optimises to st_size for regular files

2022-12-28 Thread Pádraig Brady
On 28/12/2022 13:49, наб wrote: Control: retitle -1 coreutils: wc: -c st_size optimisation broken for files larger than max(size_t) Hi! On Wed, Dec 28, 2022 at 01:31:12PM +, Pádraig Brady wrote: On 27/12/2022 19:38, наб wrote: To repro this, run truncate -s 2E a, then wc -c a; this

Bug#1027101: coreutils: wc: -c no longer optimises to st_size for regular files

2022-12-28 Thread наб
Control: retitle -1 coreutils: wc: -c st_size optimisation broken for files larger than max(size_t) Hi! On Wed, Dec 28, 2022 at 01:31:12PM +, Pádraig Brady wrote: > On 27/12/2022 19:38, наб wrote: > > To repro this, run truncate -s 2E a, then wc -c a; > > this completes instantly on

Bug#1027101: coreutils: wc: -c no longer optimises to st_size for regular files

2022-12-28 Thread Pádraig Brady
On 27/12/2022 19:38, наб wrote: Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer, This is a regression against 8.32-4+b1 (bullseye). To repro this, run truncate -s 2E a, then wc -c a; this completes instantly on bullseye and spins in a read(2) loop on sid. Found as part of

Bug#1027101: coreutils: wc: -c no longer optimises to st_size for regular files

2022-12-27 Thread наб
Package: coreutils Version: 9.1-1 Severity: normal Dear Maintainer, This is a regression against 8.32-4+b1 (bullseye). To repro this, run truncate -s 2E a, then wc -c a; this completes instantly on bullseye and spins in a read(2) loop on sid. Found as part of #1027100. Best, наб -- System