From owner-cvs-all Sun Sep 12 9:51:56 1999 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 5197A1540B; Sun, 12 Sep 1999 09:51:54 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA71721; Sun, 12 Sep 1999 09:51:54 -0700 (PDT) (envelope-from green@FreeBSD.org) Message-Id: <199909121651.JAA71721@freefall.freebsd.org> From: Brian Feldman Date: Sun, 12 Sep 1999 09:51:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/dd args.c conv.c conv_tab.c dd.c dd.h extern.h position.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk green 1999/09/12 09:51:53 PDT Modified files: bin/dd args.c conv.c conv_tab.c dd.c dd.h extern.h position.c Log: Even more cleanups to dd(1). This is probably the culmination of the BDEification process of dd(1). Most of the changes are from BDE's archive. Support for negative offsets is gone again, but the case where you lseek() onto byte -1 of something from a negative offset using seek/skip is fixed; if you end up on -1, you won't get a false positive lseek failure. The biggest changes are to data types (more size_t, for instance) and argument parsing. skip/seek on /dev/{,k}mem now occurs (instead of "read until you reach the offset") due to mem devices now being D_DISK. Some const things are now correctly declared as such, and the "case table" building is better. The only thing that seems to be left to make dd(1) everything TOG wants it to be is l10n. Revision Changes Path 1.19 +47 -31 src/bin/dd/args.c 1.14 +17 -13 src/bin/dd/conv.c 1.10 +9 -16 src/bin/dd/conv_tab.c 1.23 +22 -38 src/bin/dd/dd.c 1.13 +15 -15 src/bin/dd/dd.h 1.8 +7 -5 src/bin/dd/extern.h 1.14 +7 -9 src/bin/dd/position.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message