Subject: Re: bug#67490: [PATCH] tail: fix following /proc and /sys files when using a 64K page size

From: Pádraig Brady <[email-masked]>
Date: Mon, 27 Nov 2023 19:10:26 +0000

On 27/11/2023 16:24, dann frazier wrote:
> * src/tail.c (file_lines): Use fstat() to determine a file's block
> size and dynamically allocate a buffer of that size for traversing
> backwards.

Thanks for the patch.
Could you describe it a bit more.
What happens if we use smaller reads?
Also what about all the other safe_read() calls in tail.c ?

thanks,
Pádraig