GNU bug report logs - #13391
dd silently ignores lseek error

Previous Next

Package: coreutils;

Reported by: Neil Klopfenstein <neil.klopfenstein <at> gmail.com>

Date: Tue, 8 Jan 2013 18:24:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: Neil Klopfenstein <neil.klopfenstein <at> gmail.com>, 13391-done <at> debbugs.gnu.org
Subject: bug#13391: dd silently ignores lseek error
Date: Tue, 08 Jan 2013 20:58:02 -0800
On 01/08/2013 05:14 PM, Pádraig Brady wrote:

> Worth applying the attached?

Looks good, except I would avoid calling lseek on
STDOUT_FILENO unless oflag=seekable is set.  Just being
conservative: the effect of lseek on unseekable files is
implementation-defined.




This bug report was last modified 12 years and 132 days ago.

Previous Next


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