From e535754fdbe701e70f3ac9834b643a9272dc1d98 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 23 Jul 2008 14:50:52 +0200 Subject: dd: minor fullblock changes * src/dd.c (O_FULLBLOCK): Define using an enum, not #define. Derive the value, rather than hard-coding to one that might conflict. (usage): Mention iflag=fullblock in --help output. (scanargs): Reset the O_FULLBLOCK bit, so that we don't try to set an undefined attribute via fcntl (fd, F_SETFL, ... * tests/dd/misc: Signal framework_failure when necessary. Use "compare actual expected", so any diffs look "right". * NEWS (dd): Alphabetize and reword. * coreutils.texi (dd invocation): Adjust wording. --- doc/coreutils.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index b95f8dc50..8eb8ac9da 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7721,9 +7721,11 @@ standard platforms. @item fullblock @opindex fullblock -Read full blocks from input if possible. read() may return early -if a full block is not available, so retry until data is available -or end of file is reached. This flag can be used only for the iflag option. +Accumulate full blocks from input. The @code{read} system call +may return early if a full block is not available. +When that happens, continue calling @code{read} to fill the remainder +of the block. +This flag can be used only with @code{iflag}. @end table -- cgit v1.2.3-54-g00ecf