|
From: | Pádraig Brady |
Subject: | bug#67490: [PATCH] tail: fix following /proc and /sys files when using a 64K page size |
Date: | Mon, 27 Nov 2023 19:10:26 +0000 |
User-agent: | Mozilla Thunderbird |
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
[Prev in Thread] | Current Thread | [Next in Thread] |