From owner-cvs-bin Wed Nov 13 12:00:57 1996 Return-Path: owner-cvs-bin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA10512 for cvs-bin-outgoing; Wed, 13 Nov 1996 12:00:57 -0800 (PST) Received: (from phk@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA10425; Wed, 13 Nov 1996 12:00:17 -0800 (PST) Date: Wed, 13 Nov 1996 12:00:17 -0800 (PST) From: Poul-Henning Kamp Message-Id: <199611132000.MAA10425@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-bin Subject: cvs commit: src/bin/dd args.c conv.c dd.c dd.h misc.c Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/11/13 12:00:12 Modified: bin/dd args.c conv.c dd.c dd.h misc.c Log: Bruce says: "You have been programming in the kernel for too long :-)." and he's right ... I forgot about this floating point stuff you can use in user-land :-) Increase precision of duration to microseconds. No heuristics to avoid overflow in calculation needed - just depend on DBL_MAX being a bit larger than LONG_MAX. Use double instead of `struct timeval' in dd.h so that everything doesn't have to include . Fixed style bugs in recent and old FreeBSD changes. Reviewed by: phk Submitted by: bde Revision Changes Path 1.5 +2 -3 src/bin/dd/args.c 1.5 +5 -6 src/bin/dd/conv.c 1.7 +6 -4 src/bin/dd/dd.c 1.4 +2 -2 src/bin/dd/dd.h 1.4 +10 -25 src/bin/dd/misc.c