| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
| |
-g. ;)
|
|
|
|
|
|
|
|
|
|
| |
dd if=/dev/zero of=/dev=null obs=23520 conv=swab
coredumped.
Please somebody review it, i'm not 105 % sure i'm understanding all
this mess correctly.
Detected by: Holm Tiffe <holm@geophysik.tu-freiberg.de>
|
|
|
|
| |
Pointed-out-by: bde (a long while ago)
|
|
|
|
| |
to be sorted. This temporarily broke the "osync" option.
|
|
|
|
|
|
|
| |
things like diskless clients' swap files etc.
Submitted by: pascal@zuo.dec.com (Pascal Pederiva) (ages ago, with many
stylistic changes by me)
|
| |
|
|
|
|
| |
Obtained from: OpenBSD (file rev 1.5) Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
|
|
|
| |
don't munge argv strings -- copy them first. avoids 'w' showing:
deraadt p8 zeus.theos.com 8:26AM 3 dd if of bs
Obtained from: OpenBSD (file rev 1.3) by Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
|
|
|
|
|
|
| |
is also set.
Change osync to not to tack on an empty block if the input buffer is null,
or an even multiple of the blocksize.
Also change osync to pad the output with nulls/spaces depending whether
this is a block-oriented conversion or not (same as sync).
PR: 3818
|
|
|
|
|
|
| |
OpenBSD version for more complete fixes. E.g., to seek to offsets >
INT_MAX using a block size of 1, block numbers need to be off_t's
instead of u_long's.
|
|
|
|
| |
Submitted by: h-nokubi@nmit.mt.nec.co.jp
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Some heuristics to avoid overflow in calculation attempted.
|
| |
|
|
|
|
| |
treat 0xFF as valid character.
|
| |
|
| |
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: Josef Grosch <joeg@gagme.wwa.com>
|
|
|