From f674a10f7ebc55de6181007a5216a297e3dc3365 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 23 Jul 2008 11:29:21 +0200 Subject: dd: new option: iflag=fullblock to accumulate full input blocks * src/dd.c (iread_fullblock): New function for reading full blocks. (scanargs): Check for new parameter iflag=fullblock. (skip): Use iread_fnc pointer instead of iread function. (dd_copy): Use iread_fnc pointer instead of iread function. * tests/dd/misc: Add test for dd - read full blocks. * doc/coretuils.texi: Mention new parameter iflag=fullblock. * NEWS: Mentioned the change. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index d6ed89e8c..68a27fae9 100644 --- a/NEWS +++ b/NEWS @@ -27,6 +27,10 @@ GNU coreutils NEWS -*- outline -*- represents the maximum number of inputs that will be merged at once. When processing more than NMERGE inputs, sort uses temporary files. + dd accepts a new parameter iflag=fullblock which turn on reading of full + blocks where possible. If this parameter is used and 'read' call is + terminated during read, it will be called again for remainder input. + ** Bug fixes chcon --verbose now prints a newline after each message -- cgit v1.2.3-54-g00ecf