Date: Sun, 12 Sep 1999 09:51:54 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> 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 Message-ID: <199909121651.JAA71721@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909121651.JAA71721>
