From owner-cvs-all Fri Jun 30 22:36:28 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3493F37B659; Fri, 30 Jun 2000 22:36:26 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA21141; Fri, 30 Jun 2000 22:36:26 -0700 (PDT) (envelope-from green@FreeBSD.org) Message-Id: <200007010536.WAA21141@freefall.freebsd.org> From: Brian Feldman Date: Fri, 30 Jun 2000 22:36:25 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/dd args.c dd.c dd.h extern.h position.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG green 2000/06/30 22:36:25 PDT Modified files: bin/dd args.c dd.c dd.h extern.h position.c Log: Various cleanups are made to reduce warnings and make code prettier :) Also, check for ftruncate() return value and die on failure, but only try to ftruncate() when the file is a regular file. Revision Changes Path 1.26 +4 -3 src/bin/dd/args.c 1.29 +15 -10 src/bin/dd/dd.c 1.16 +4 -3 src/bin/dd/dd.h 1.10 +3 -2 src/bin/dd/extern.h 1.18 +8 -4 src/bin/dd/position.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message