]> git.ipfire.org Git - thirdparty/coreutils.git/commit
dd: new option: iflag=fullblock to accumulate full input blocks
authorKamil Dudka <kdudka@redhat.com>
Wed, 23 Jul 2008 09:29:21 +0000 (11:29 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 23 Jul 2008 13:55:45 +0000 (15:55 +0200)
commitf674a10f7ebc55de6181007a5216a297e3dc3365
tree656d939f65f7bb6263a1648f6152fd9fb4c5f437
parent4fff95cfe1b1c11501759d8cb5386489628dfabb
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
doc/coreutils.texi
src/dd.c
tests/dd/misc