[Toybox] [PATCH] dd improvements.

enh enh at google.com
Thu Jul 7 21:54:44 PDT 2016


Support hex (requested by users).

Support status=noxfer and status=none (requested by users).

Fix status output.

Clarify large numbers in --help output.

Use O_TRUNC rather than ftruncate unless we're also seeking.

New tests.

Also partial cleanup (reuse of existing code, removal of non-GLOBALS globals,
and merge dd_main and do_dd).
---
 lib/lib.h         |   1 +
 tests/dd.test     |  13 +-
 toys/pending/dd.c | 349 +++++++++++++++++++++++++++---------------------------
 3 files changed, 188 insertions(+), 175 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dd-improvements.patch
Type: text/x-patch
Size: 17281 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160707/678da5f3/attachment-0001.bin>


More information about the Toybox mailing list