History log of /freebsd/bin/dd/misc.c (Results 51 – 75 of 89)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cbf6f7d3 06-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.


Revision tags: release/2.2.6
# 7eaa685e 24-Feb-1998 Bruce Evans <bde@FreeBSD.org>

Exit with a nonzero status if we get killed by a SIGINT. POSIX.2
specifies exiting with a zero status if the file was copied
successfully, and with a nonzero status if an error occurred. We
are too

Exit with a nonzero status if we get killed by a SIGINT. POSIX.2
specifies exiting with a zero status if the file was copied
successfully, and with a nonzero status if an error occurred. We
are too sloppy to tell if the file was copied successfully when we
get killed by a SIGINT, but it is unlikely to have been. Added a
comment about related sloppiness (calling exit() from a signal
handler).

show more ...


# 2f719e70 11-Feb-1998 Satoshi Asami <asami@FreeBSD.org>

Fix printing for bytes read > 4G.

Reviewed by: bde


# 1ee36a5b 15-Dec-1997 Eivind Eklund <eivind@FreeBSD.org>

It's more portable to use <errno.h> than <sys/errno.h>

Pointed-out-by: bde (a long while ago)


Revision tags: release/2.2.5_cvs
# 73db7d72 09-Oct-1997 Eivind Eklund <eivind@FreeBSD.org>

Add <sys/errno.h>


# bd6b6411 08-Oct-1997 Eivind Eklund <eivind@FreeBSD.org>

make signal handlers errno safe

Obtained from: OpenBSD (file rev 1.5) Theo de Raadt <deraadt@openbsd.org>


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.

show more ...


# 78b09ffe 14-Dec-1996 Steve Price <steve@FreeBSD.org>

-Wall cleaning.


# ad66f7ee 13-Nov-1996 Poul-Henning Kamp <phk@FreeBSD.org>

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 mi

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 <sys/time.h>.

Fixed style bugs in recent and old FreeBSD changes.

Reviewed by: phk
Submitted by: bde

show more ...


# 77dfecce 13-Nov-1996 Poul-Henning Kamp <phk@FreeBSD.org>

Increase precision of duration to milliseconds.
Some heuristics to avoid overflow in calculation attempted.


Revision tags: release/2.1.5_cvs, release/2.1.0_cvs, release/2.0.5_cvs, release/2.0
# 89730b29 24-Sep-1994 David Greenman <dg@FreeBSD.org>

Added $Id$


Revision tags: release/1.1.5.1_cvs
# 4b88c807 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite bin Sources


Revision tags: release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0
# 6195fb41 06-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0
# 7503d74f 27-Feb-2003 Mark Murray <markm@FreeBSD.org>

WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead of
-ansi, due to 'long long'.

Reviewed by: green (slightly earlier version)


Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# 5eb43ac2 30-Jun-2002 David E. O'Brien <obrien@FreeBSD.org>

Consistently use __FBSDID


# a7c1ac2f 09-Jun-2002 Giorgos Keramidas <keramida@FreeBSD.org>

Replace <strings.h> with <string.h>. No functions from the former are
used in this file, and strlen() needs to be prototyped by the latter,
for this to compile without warnings.

Reviewed by: mike


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# f9bcb0be 02-Feb-2002 Warner Losh <imp@FreeBSD.org>

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int arg

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.

Approved by: arch@, new style(9)

show more ...


# 9f3537ca 29-Jun-2001 Brian Feldman <green@FreeBSD.org>

Use __unused for non-used variables.

Submitted by: Mike Barcroft <mike@q9media.com>


# 7a507517 25-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Previous commit broke dd(1)'s I/O summary when it's terminated by a
signal. Fix it by adding an explicit call to summary() in terminate()
(it was previously called implicitly by exit() because summa

Previous commit broke dd(1)'s I/O summary when it's terminated by a
signal. Fix it by adding an explicit call to summary() in terminate()
(it was previously called implicitly by exit() because summary() was
registered with atexit()). summary() is supposed to be signal-safe--
it handles SIGINFO almost exclusively--so this should be safe.

Submitted by: bde

show more ...


# e0e97f0a 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Don't call exit(3) from a signal handler.

Obtained from: OpenBSD


# 26f6b0fb 19-Jun-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Add more headers that are required with -fno-builtin (stdlib and strings)


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 2a456239 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 767bc8ad 19-Jun-1999 Brian Feldman <green@FreeBSD.org>

Miscellaneous dd(1) changes: mainly fixing variable types (size_t, ssize_t,
off_t, int, u_int64_t, etc.). dd(1) should now work properly with REALLY
big amounts of data.


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8
# f58a6c7a 07-Dec-1998 Bruce Evans <bde@FreeBSD.org>

Fixed printf format errors.


1234