Subject: Re: bug#7362: dd strangeness

From: Paul Eggert <[email-masked]>
Date: Fri, 04 Mar 2011 19:29:08 -0800

On 03/04/2011 05:44 PM, Pádraig Brady wrote:
> +  if ((output_flags & O_DIRECT) && w_partial == 1)
> +    {
> +      error (0, 0, _("dd: warning: partial read; oflag=direct disabled; "
> +                     "suggest iflag=fullblock"));

This diagnostic looks wrong.  w_partial means there
was a partial *write*, not a partial *read*.  Anyway,
we should use a better overall solution for partial
reads; I'll try to come up with one.