|
From: | Paul Eggert |
Subject: | bug#36291: od --skip-bytes reads everything from the very beginning |
Date: | Wed, 19 Jun 2019 18:52:01 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 6/19/19 12:42 PM, Pádraig Brady wrote:
Maybe we should relax the cases we do read() for, and try to seek in block/character special files, falling back to read() where that fails?
Sure, that's easy enough. I installed the attached patch and am marking this bug report as done.
0001-od-use-fseek-on-non-regular-files.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |