[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd skip bug?
From: |
Pádraig Brady |
Subject: |
Re: dd skip bug? |
Date: |
Tue, 27 Jan 2009 11:51:39 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Pádraig Brady wrote:
> Well it's more awkward to output the warning for all cases,
> as currently we can't distinguish between short reads from
> a pipe, and a partial block at the end of the stream.
> Thus the error message ".. past end of input file"
> is not appropriate for both cases.
> Therefore I split out the 2 error cases in the patch below.
> It's more consistent but I'm a little worried it's too involved.
It is too involved actually. I'll just do a more generic error message:
if (us_blocks || (!input_offset_overflow && us_bytes))
{
error (0, 0,
_("%s: unable to skip to requested offset"),
quote (input_file));
}
Pádraig.
- Re: dd skip bug?, Pádraig Brady, 2009/01/15
- Re: dd skip bug?, Pádraig Brady, 2009/01/23
- Re: dd skip bug?, Jim Meyering, 2009/01/24
- Re: dd skip bug?, Pádraig Brady, 2009/01/26
- Re: dd skip bug?, Jim Meyering, 2009/01/27
- Re: dd skip bug?, Pádraig Brady, 2009/01/27
- Re: dd skip bug?,
Pádraig Brady <=
- Re: dd skip bug?, Jim Meyering, 2009/01/27
- Re: dd skip bug?, Pádraig Brady, 2009/01/27