bug-coreutils
[Top][All Lists]
Advanced

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

bug#34923: Message/race bug in 'dd'


From: Paul Eggert
Subject: bug#34923: Message/race bug in 'dd'
Date: Tue, 19 Mar 2019 20:44:42 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Daniel A. Gauthier wrote:
NOTICE that the "+nn" value on the line is always one off.  It says +0
after the first error, +1 after the second, etc. until the correct count
of error/short blocks is given at the end.

The count is supposed to just count short blocks, not errors. This is a POSIX requirement. I installed the attached documentation patch to try to make this clearer.

Perhaps dd should output a separate line to stderr that summaries I/O errors; it could do that without violating POSIX.

Attachment: 0001-dd-improve-doc-of-stderr-output.patch
Description: Text Data


reply via email to

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