bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13391: dd silently ignores lseek error


From: Paul Eggert
Subject: bug#13391: dd silently ignores lseek error
Date: Tue, 08 Jan 2013 12:55:15 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 01/08/13 10:11, Neil Klopfenstein wrote:
> Note that it begins reading at the _beginning of the ar file_ -- the 'skip'
> argument has failed silently.

But the 'skip' hasn't failed.  It's merely being implemented via 'read'
rather than via 'lseek'.  The records are being skipped correctly.

It might be useful to give dd a new option, which causes it
to insist on lseeking rather than reading in cases like these,
and to report an error if the lseek fails.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]