Hi Padraig, On 12/28/22 15:11, Pádraig Brady wrote:
* src/wc.c (wc): Use off_t rather than size_t when calculating where to seek to, so that we don't seek to a too low offset on systems where size_t < off_t, which would result in many read() calls to determine the file size. * tests/misc/wc-proc.sh: Add a test case sufficient for 32 bit systems at least. Reported athttps://bugs.debian.org/1027101 --- src/wc.c | 2 +- tests/misc/wc-proc.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-)
Nice. As this is a user-visible change, I think this may deserve a NEWS entry, doesn't it? Have a nice day, Berny