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