summaryrefslogtreecommitdiff
path: root/bin/dd
AgeCommit message (Collapse)Author
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-12more .LiTheo de Raadt
2002-10-28Seeking on a character device works fine.Todd C. Miller
2002-05-29Add a cast to keep time from overflowing. Checked by millert.Hugh Graham
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2001-10-06Fix ``echo foo |dd'' which was broken by the last commit.Todd C. Miller
2001-10-04Move check for count=0 into dd's main. We want to do normal setupTodd C. Miller
in this case and just don't want to actually copy any data. Fixes a problem noted by aaron@ where the time portion of the summary would be wrong and also gives us sane behavior when seek is non-zero but count is 0.
2001-08-07Modify timekeeping in an effort to produce a sane bandwidth measureHugh Graham
for a short running dd process. Some floating point is used so that microsecond precision can be kept without shortening the off_t excessively. millert says ok.
2001-06-25had not noticed the atexit() handler; pointed out by dima@unixfreak.org; ↵Theo de Raadt
also use writev to increase atomicity
2001-06-22do not exit() from signal handlerTheo de Raadt
2001-01-17avoid C sequence point issues; found by cgd@netbsd.org using a developmentPaul Janzen
version of gcc.
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1999-09-23Some formatting tweaks. Shuffle the option descriptions into a more logicalAaron Campbell
order.
1999-08-16more precise SYNOPSIS syntaxAaron Campbell
1999-05-30repairsAaron Campbell
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
it's given)
1998-11-06use .Dq/.Sq macros instead of `` ''s and ` 's (think typesetting and futureAaron Campbell
processing); kill redundant .Pp macros; other misc fixes
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos.
1998-07-09why bother; msaitohTheo de Raadt
1998-05-29gcc 2.8.X.X fixed this bug, back to a sane Makefile.Dale S. Rahn
1998-04-30WallTheo de Raadt
1997-11-15spellingTodd T. Fries
1997-09-21$OpenBSD$Theo de Raadt
1997-09-12-WallTodd C. Miller
1997-08-25clear input buffer to ' ' or \0 correctly; jlemon@freebsdTheo de Raadt
1997-08-05errno.hTheo de Raadt
1997-08-05make signal handlers errno safeTheo de Raadt
1997-05-21Powerpc compiler has a problem with 64 bit math and optimization.Dale S. Rahn
compiles with -O0 for dd instead of (normal) -O. Does not affect other ports.
1997-04-17make it clearer bs= (like obs & ibs) is in bytesTheo de Raadt
1997-02-14Deal with 64-bit offsets and report bytes copied as a 64-bit quantity.Todd C. Miller
Closes OpenBSD PR system/107.
1996-12-14-Wall'ing.Michael Shalayeff
1996-06-23update rcsidTheo de Raadt
1996-05-03don't munge argv strings -- copy them first. avoids 'w' showing:Theo de Raadt
deraadt p8 zeus.theos.com 8:26AM 3 dd if of bs
1996-03-03From NetBSD: Use const qualifier with conversion, args and clist tablesNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt