From owner-cvs-bin Tue Aug 19 12:48:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA01253 for cvs-bin-outgoing; Tue, 19 Aug 1997 12:48:20 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA01163; Tue, 19 Aug 1997 12:47:10 -0700 (PDT) From: Jonathan Lemon Received: (from jlemon@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id MAA24904; Tue, 19 Aug 1997 12:46:19 -0700 (PDT) Date: Tue, 19 Aug 1997 12:46:19 -0700 (PDT) Message-Id: <199708191946.MAA24904@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/dd dd.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jlemon 1997/08/19 12:46:19 PDT Modified files: bin/dd dd.c Log: Pad the input buffer whenever sync is used, not just if the noerror flag is also set. Change osync to not to tack on an empty block if the input buffer is null, or an even multiple of the blocksize. Also change osync to pad the output with nulls/spaces depending whether this is a block-oriented conversion or not (same as sync). PR: 3818 Revision Changes Path 1.11 +12 -10 src/bin/dd/dd.c