GNU bug report logs - #36291
od --skip-bytes reads everything from the very beginning

Previous Next

Package: coreutils;

Reported by: Szőts Ákos <szotsaki <at> gmail.com>

Date: Wed, 19 Jun 2019 13:27:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 36291-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 36291-done <at> debbugs.gnu.org,
 Szőts Ákos <szotsaki <at> gmail.com>
Subject: Re: bug#36291: od --skip-bytes reads everything from the very
 beginning
Date: Wed, 19 Jun 2019 18:52:01 -0700
[Message part 1 (text/plain, inline)]
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 (text/plain, attachment)]

This bug report was last modified 5 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.