]> git.ipfire.org Git - thirdparty/coreutils.git/commit
dd: output final progress before syncing
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Jan 2022 02:34:09 +0000 (18:34 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 28 Jan 2022 02:35:02 +0000 (18:35 -0800)
commitc4f9554ee923c27529cdb76b6f75051183f59c1a
treef3b2ab1ab5ddca6b3ad8a7075197c78fe77dd790
parent816d84f1380dfbb92baceb6c8facab2ac3ae17ea
dd: output final progress before syncing

Problem reported by Sworddragon (Bug#51482).
* src/dd.c (reported_w_bytes): New var.
(print_xfer_stats): Set it.
(dd_copy): Print a final progress report if useful before
synchronizing output data.
NEWS
src/dd.c