]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Literally follow POSIX:
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 23 Apr 2013 16:08:24 +0000 (16:08 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 23 Apr 2013 16:08:24 +0000 (16:08 +0000)
commit6784d416a540e30a63721ddb48cc4ee3cbddf086
tree4330c7945a4515fcf1e885c904d2052fd1dda811
parent5a6307cf42c5b4965435b3b7af74a37fd4dc17b9
Literally follow POSIX:
If the bs= expr operand is specified and no conversions other than sync,
noerror, or notrunc are requested, the data returned from each input
block shall be written as a separate output block.

In particular, when both bs=size and conv=sparce were specified, the
resulted file was fully filled, instead of sparce.

PR: standards/177742
Submitted by: Matthew Rezny <mrezny@hexaneinc.com>
MFC after: 2 weeks
bin/dd/dd.c