[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14897: dd skip exit code
From: |
Pádraig Brady |
Subject: |
bug#14897: dd skip exit code |
Date: |
Thu, 18 Jul 2013 16:56:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 07/18/2013 04:16 PM, Bernhard Voelker wrote:
> On 07/18/2013 05:02 PM, Pádraig Brady wrote:
>> /* POSIX doesn't say what to do when dd detects it has been
>> asked to skip past EOF, so I assume it's non-fatal.
>
> OTOH, POSIX says:
> (http://pubs.opengroup.org/onlinepubs/009695399/utilities/dd.html)
>
> [...] If some other error is detected, a diagnostic message shall
> be written and the copy operation shall be discontinued.
>
> Hmm, whatever they mean with "some other error" - couldn't this
> be such a seek-on-input failure?
In the context of the whole section there,
I'm presuming they just mean conv=noerror is
only significant for input errors.
seeking past end of input couldn't be
considered an error IMHO.
thanks,
Pádraig.
- bug#14897: dd skip exit code, ffx, 2013/07/18
- bug#14897: dd skip exit code, Paul Eggert, 2013/07/18
- bug#14897: dd skip exit code, Pádraig Brady, 2013/07/18
- bug#14897: dd skip exit code, Paul Eggert, 2013/07/18
- bug#14897: dd skip exit code, Pádraig Brady, 2013/07/18
- bug#14897: dd skip exit code, Paul Eggert, 2013/07/18
- bug#14897: dd skip exit code, Bernhard Voelker, 2013/07/18
- bug#14897: dd skip exit code, Pádraig Brady, 2013/07/18