markm
f6ff2e99e6
More inactive maintainers.
2006-07-09 21:47:37 +00:00
keramida
8090607544
Spell "protections" correctly.
2005-07-28 18:28:11 +00:00
ru
291174c7f1
Sort sections.
...
Approved by: re (blanket)
2005-06-14 08:25:54 +00:00
scottl
986a072ce4
Document problems with writing to disks under GEOM.
2005-04-07 20:50:38 +00:00
ru
ffd9fd4c0e
Add the new standard EXIT STATUS section where appropriate.
...
Sort standard sections in the (documented) preferred order.
2005-01-16 16:41:59 +00:00
imp
a76898b849
/*- or .\"- or #- to begin license clauses.
2005-01-10 08:39:26 +00:00
ru
1cd8ce95ba
Scheduled mdoc(7) sweep.
2005-01-09 19:54:23 +00:00
rwatson
9e69bea9f1
Add a "fillchar" command line argument to dd(1) that permits the user
...
to specify an alternative padding character when using a conversion
mode, or when using noerror with sync and an input error occurs. This
facilities reading old and error-prone media by allowing the user to
more effectively mark error blocks in the output stream.
2004-08-15 19:10:05 +00:00
pjd
a9d4d391b8
Allow for capital letters as size suffixes.
...
Inspired by: le
Approved by: green (maintainer)
2004-07-31 15:13:08 +00:00
ru
7cba80f9da
Bump document date for the latest functional change.
...
Minor markup tweaks.
2004-05-16 21:34:15 +00:00
njl
d7b4a9c5ca
Style fixes and add gen to CLEANFILES.
...
Submitted by: bde
2004-04-09 07:13:27 +00:00
markm
4383f14801
Remove clause 3 from the UCB licenses.
...
OK'ed by: imp, core
2004-04-06 20:06:54 +00:00
ache
d33e9b93a7
Remove a.out at the end of 'make test'
2004-03-08 18:09:33 +00:00
bde
ac2e10a4f5
Fixed some style bugs (mainly unsorting and tab lossage in previous commit).
2004-03-06 08:21:32 +00:00
ache
ebdf8c08b8
Add a.out to CLEANFILES
2004-03-06 06:54:58 +00:00
ache
432e315dd7
Change locale name from non-existent ASCII to en_US.US-ASCII
2004-03-06 06:10:16 +00:00
phk
d0818243a9
Teach dd(1) about parity bits.
2004-03-05 19:35:51 +00:00
phk
99a4684d72
Add a test-target and reference vectors for the character converions.
2004-03-05 19:30:13 +00:00
markm
aafc494847
Get this area compiling with the highest WARNS= that it works with.
...
Obsolete WFORMAT= junk also removed where possible.
OK'ed by: obrien
Tested on: sparc64, alpha, i386
2003-06-13 07:04:02 +00:00
obrien
eaf3fff90a
Quiet warnings about copyright[].
2003-05-01 16:58:57 +00:00
ru
e6fb7d9461
ssize_t is not required to be the same width as size_t by the
...
specs, so cast to intmax_t where appropriate.
Pointed out by: bde
2003-03-15 13:34:48 +00:00
ru
6999b65340
Fixed (soon might be fatal) -Wformat warnings.
2003-03-15 07:56:59 +00:00
markm
5736aa9039
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)
2003-02-27 18:04:54 +00:00
phk
eed7833b83
Don't call DIOCWLABEL on disks, it is not implemented, and calling it
...
like this negated any practical value of the feature.
2003-01-26 11:13:40 +00:00
ru
10c48e457c
mdoc(7) police:
...
Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai]
strings; using these strings is unsafe in troff mode, as they include a
change in a font size.
Approved by: re
2002-11-26 17:55:41 +00:00
obrien
c84c569bd1
Consistently use __FBSDID
2002-06-30 05:13:54 +00:00
keramida
b309515be2
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
2002-06-09 04:15:40 +00:00
ru
c17d65090d
mdoc(7) police: replace the XXX with the correct width.
2002-05-29 14:01:27 +00:00
jedgar
47acb76e7c
Add semicolon to empty default case to silence warning.
2002-05-11 03:12:02 +00:00
keramida
9e46855391
Various mdoc fixes, including a change that corrects spacing as
...
described in PR docs/36461.
PR: docs/36461
Noticed by: Gary W. Swearingen <swear@blarg.net>
Submitted by: ru
2002-03-31 20:49:37 +00:00
markm
43cc55dd2f
1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31,
...
thus breaking systems with unpolluted <sys/stat.h>'s.
2) Back out an initialisation of a variable in BSS.
Reported by: bde (1), many(2)
2002-03-07 14:00:33 +00:00
markm
7b7558d884
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:51:00 +00:00
green
b3206d8278
Correct a logic bug that snuck in and broke multiplication of off_ts.
2002-02-07 02:54:30 +00:00
kris
bb3058824a
Lock down with WFORMAT=1 except those directories with unfixed warnings.
...
Tested on i386 and alpha.
2002-02-04 02:49:19 +00:00
imp
5203a0a465
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)
2002-02-02 06:24:13 +00:00
green
db659d013d
Commit general cleanups (separate get_num() and get_off_t() functions to
...
debogosify some of the command-line string-number conversions into
an unsigned and signed variant.)
2002-01-25 17:44:47 +00:00
obrien
099f8ecbe9
Default to WARNS=2. Binary builds that cannot handle this must explicitly
...
set WARNS=0.
Reviewed by: mike
2001-12-04 01:57:47 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
ru
24c7b0a61d
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
green
a9b531b74d
Use __unused for non-used variables.
...
Submitted by: Mike Barcroft <mike@q9media.com>
2001-06-29 20:06:47 +00:00
dd
3dc2f99bef
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
2001-06-25 06:17:02 +00:00
dd
7438ee8a47
Don't call exit(3) from a signal handler.
...
Obtained from: OpenBSD
2001-06-24 01:55:17 +00:00
des
8e8983228c
Add more headers that are required with -fno-builtin (stdlib and strings)
2001-06-19 15:41:57 +00:00
ru
be1f850a8f
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 11:39:41 +00:00
green
aa2e16431f
Allow negative seek offsets for files that can be seeked upon. It
...
makes dd(1) a more complete "filter", even if this functionality is
limited to seekable streams.
2000-10-22 23:00:32 +00:00
wollman
c5c43ce91f
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
...
<time.h>).
2000-10-10 01:50:26 +00:00
green
1ab6aa1440
Make the comment regarding ftruncate() correct.
2000-07-20 19:21:40 +00:00
green
5f788961ba
Various cleanups are made to reduce warnings and make code prettier :)
...
Also, check for ftruncate() return value and die on failure, but only
try to ftruncate() when the file is a regular file.
2000-07-01 05:36:25 +00:00
obrien
f84c12deda
Fix ``dd if=/dev/zero of=/dev/daN'' on the Alpha by allowing the label
...
to be overwritten.
Submitted by: green
2000-05-24 06:47:10 +00:00
green
bcb4b1ee2b
After Bruce kindly explained the whole groff "sentence" idea to me, I've
...
put the whitespace in the right place.
2000-03-01 05:28:45 +00:00