summaryrefslogtreecommitdiffstats
path: root/bin/dd
Commit message (Collapse)AuthorAgeFilesLines
* More inactive maintainers.markm2006-07-091-2/+0
|
* Spell "protections" correctly.keramida2005-07-281-1/+1
|
* Sort sections.ru2005-06-141-8/+8
| | | | Approved by: re (blanket)
* Document problems with writing to disks under GEOM.scottl2005-04-071-1/+10
|
* Add the new standard EXIT STATUS section where appropriate.ru2005-01-161-2/+2
| | | | Sort standard sections in the (documented) preferred order.
* /*- or .\"- or #- to begin license clauses.imp2005-01-102-1/+2
|
* Scheduled mdoc(7) sweep.ru2005-01-091-5/+8
|
* Add a "fillchar" command line argument to dd(1) that permits the userrwatson2004-08-155-2/+32
| | | | | | | 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.
* Allow for capital letters as size suffixes.pjd2004-07-311-8/+20
| | | | | Inspired by: le Approved by: green (maintainer)
* Bump document date for the latest functional change.ru2004-05-161-6/+10
| | | | Minor markup tweaks.
* Style fixes and add gen to CLEANFILES.njl2004-04-091-12/+15
| | | | Submitted by: bde
* Remove clause 3 from the UCB licenses.markm2004-04-069-36/+0
| | | | OK'ed by: imp, core
* Remove a.out at the end of 'make test'ache2004-03-081-1/+1
|
* Fixed some style bugs (mainly unsorting and tab lossage in previous commit).bde2004-03-061-16/+15
|
* Add a.out to CLEANFILESache2004-03-061-0/+1
|
* Change locale name from non-existent ASCII to en_US.US-ASCIIache2004-03-061-2/+2
|
* Teach dd(1) about parity bits.phk2004-03-059-21/+157
|
* Add a test-target and reference vectors for the character converions.phk2004-03-0511-0/+194
|
* Get this area compiling with the highest WARNS= that it works with.markm2003-06-131-1/+0
| | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386
* Quiet warnings about copyright[].obrien2003-05-011-2/+2
|
* ssize_t is not required to be the same width as size_t by theru2003-03-151-4/+6
| | | | | | specs, so cast to intmax_t where appropriate. Pointed out by: bde
* Fixed (soon might be fatal) -Wformat warnings.ru2003-03-151-2/+2
|
* WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead ofmarkm2003-02-278-47/+50
| | | | | | -ansi, due to 'long long'. Reviewed by: green (slightly earlier version)
* Don't call DIOCWLABEL on disks, it is not implemented, and calling itphk2003-01-261-7/+1
| | | | like this negated any practical value of the feature.
* mdoc(7) police:ru2002-11-261-1/+1
| | | | | | | | 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
* Consistently use __FBSDIDobrien2002-06-306-12/+12
|
* Replace <strings.h> with <string.h>. No functions from the former arekeramida2002-06-091-1/+1
| | | | | | | used in this file, and strlen() needs to be prototyped by the latter, for this to compile without warnings. Reviewed by: mike
* mdoc(7) police: replace the XXX with the correct width.ru2002-05-291-2/+1
|
* Add semicolon to empty default case to silence warning.jedgar2002-05-111-0/+1
|
* Various mdoc fixes, including a change that corrects spacing askeramida2002-03-311-43/+53
| | | | | | | | described in PR docs/36461. PR: docs/36461 Noticed by: Gary W. Swearingen <swear@blarg.net> Submitted by: ru
* 1) Rev.1.35 of dd.c has a more serious regression. It backs out rev.1.31,markm2002-03-071-1/+2
| | | | | | | | 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)
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-223-7/+3
|
* Correct a logic bug that snuck in and broke multiplication of off_ts.green2002-02-071-1/+1
|
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-041-0/+1
| | | | Tested on i386 and alpha.
* o __P has been reovedimp2002-02-026-91/+68
| | | | | | | | | | | 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)
* Commit general cleanups (separate get_num() and get_off_t() functions togreen2002-01-253-59/+109
| | | | | debogosify some of the command-line string-number conversions into an unsigned and signed variant.)
* Default to WARNS=2. Binary builds that cannot handle this must explicitlyobrien2001-12-041-0/+1
| | | | | | set WARNS=0. Reviewed by: mike
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-3/+1
|
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-141-2/+6
|
* Use __unused for non-used variables.green2001-06-292-2/+2
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Previous commit broke dd(1)'s I/O summary when it's terminated by add2001-06-251-0/+1
| | | | | | | | | 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
* Don't call exit(3) from a signal handler.dd2001-06-241-2/+1
| | | | Obtained from: OpenBSD
* Add more headers that are required with -fno-builtin (stdlib and strings)des2001-06-191-0/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-2/+2
|
* Allow negative seek offsets for files that can be seeked upon. Itgreen2000-10-222-2/+10
| | | | | makes dd(1) a more complete "filter", even if this functionality is limited to seekable streams.
* Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and therebywollman2000-10-101-0/+1
| | | | <time.h>).
* Make the comment regarding ftruncate() correct.green2000-07-201-2/+2
|
* Various cleanups are made to reduce warnings and make code prettier :)green2000-07-015-17/+29
| | | | | Also, check for ftruncate() return value and die on failure, but only try to ftruncate() when the file is a regular file.
* Fix ``dd if=/dev/zero of=/dev/daN'' on the Alpha by allowing the labelobrien2000-05-241-1/+8
| | | | | | to be overwritten. Submitted by: green
* After Bruce kindly explained the whole groff "sentence" idea to me, I'vegreen2000-03-011-2/+4
| | | | put the whitespace in the right place.
OpenPOWER on IntegriCloud