Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump document date for the latest functional change. | ru | 2004-05-16 | 1 | -6/+10 |
| | | | | Minor markup tweaks. | ||||
* | Style fixes and add gen to CLEANFILES. | njl | 2004-04-09 | 1 | -12/+15 |
| | | | | Submitted by: bde | ||||
* | Remove clause 3 from the UCB licenses. | markm | 2004-04-06 | 9 | -36/+0 |
| | | | | OK'ed by: imp, core | ||||
* | Remove a.out at the end of 'make test' | ache | 2004-03-08 | 1 | -1/+1 |
| | |||||
* | Fixed some style bugs (mainly unsorting and tab lossage in previous commit). | bde | 2004-03-06 | 1 | -16/+15 |
| | |||||
* | Add a.out to CLEANFILES | ache | 2004-03-06 | 1 | -0/+1 |
| | |||||
* | Change locale name from non-existent ASCII to en_US.US-ASCII | ache | 2004-03-06 | 1 | -2/+2 |
| | |||||
* | Teach dd(1) about parity bits. | phk | 2004-03-05 | 9 | -21/+157 |
| | |||||
* | Add a test-target and reference vectors for the character converions. | phk | 2004-03-05 | 11 | -0/+194 |
| | |||||
* | Get this area compiling with the highest WARNS= that it works with. | markm | 2003-06-13 | 1 | -1/+0 |
| | | | | | | | Obsolete WFORMAT= junk also removed where possible. OK'ed by: obrien Tested on: sparc64, alpha, i386 | ||||
* | Quiet warnings about copyright[]. | obrien | 2003-05-01 | 1 | -2/+2 |
| | |||||
* | ssize_t is not required to be the same width as size_t by the | ru | 2003-03-15 | 1 | -4/+6 |
| | | | | | | specs, so cast to intmax_t where appropriate. Pointed out by: bde | ||||
* | Fixed (soon might be fatal) -Wformat warnings. | ru | 2003-03-15 | 1 | -2/+2 |
| | |||||
* | WARNS=4 fixes. This would be WARNS=9 if we were -std=99 instead of | markm | 2003-02-27 | 8 | -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 it | phk | 2003-01-26 | 1 | -7/+1 |
| | | | | like this negated any practical value of the feature. | ||||
* | mdoc(7) police: | ru | 2002-11-26 | 1 | -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 __FBSDID | obrien | 2002-06-30 | 6 | -12/+12 |
| | |||||
* | Replace <strings.h> with <string.h>. No functions from the former are | keramida | 2002-06-09 | 1 | -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. | ru | 2002-05-29 | 1 | -2/+1 |
| | |||||
* | Add semicolon to empty default case to silence warning. | jedgar | 2002-05-11 | 1 | -0/+1 |
| | |||||
* | Various mdoc fixes, including a change that corrects spacing as | keramida | 2002-03-31 | 1 | -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, | markm | 2002-03-07 | 1 | -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. | markm | 2002-02-22 | 3 | -7/+3 |
| | |||||
* | Correct a logic bug that snuck in and broke multiplication of off_ts. | green | 2002-02-07 | 1 | -1/+1 |
| | |||||
* | Lock down with WFORMAT=1 except those directories with unfixed warnings. | kris | 2002-02-04 | 1 | -0/+1 |
| | | | | Tested on i386 and alpha. | ||||
* | o __P has been reoved | imp | 2002-02-02 | 6 | -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 to | green | 2002-01-25 | 3 | -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 explicitly | obrien | 2001-12-04 | 1 | -0/+1 |
| | | | | | | set WARNS=0. Reviewed by: mike | ||||
* | mdoc(7) police: utilize the new .Ex macro. | ru | 2001-08-15 | 1 | -3/+1 |
| | |||||
* | mdoc(7) police: s/BSD/.Bx/ where appropriate. | ru | 2001-08-14 | 1 | -2/+6 |
| | |||||
* | Use __unused for non-used variables. | green | 2001-06-29 | 2 | -2/+2 |
| | | | | Submitted by: Mike Barcroft <mike@q9media.com> | ||||
* | Previous commit broke dd(1)'s I/O summary when it's terminated by a | dd | 2001-06-25 | 1 | -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. | dd | 2001-06-24 | 1 | -2/+1 |
| | | | | Obtained from: OpenBSD | ||||
* | Add more headers that are required with -fno-builtin (stdlib and strings) | des | 2001-06-19 | 1 | -0/+2 |
| | |||||
* | mdoc(7) police: use the new features of the Nm macro. | ru | 2000-11-20 | 1 | -2/+2 |
| | |||||
* | Allow negative seek offsets for files that can be seeked upon. It | green | 2000-10-22 | 2 | -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 thereby | wollman | 2000-10-10 | 1 | -0/+1 |
| | | | | <time.h>). | ||||
* | Make the comment regarding ftruncate() correct. | green | 2000-07-20 | 1 | -2/+2 |
| | |||||
* | Various cleanups are made to reduce warnings and make code prettier :) | green | 2000-07-01 | 5 | -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 label | obrien | 2000-05-24 | 1 | -1/+8 |
| | | | | | | to be overwritten. Submitted by: green | ||||
* | After Bruce kindly explained the whole groff "sentence" idea to me, I've | green | 2000-03-01 | 1 | -2/+4 |
| | | | | put the whitespace in the right place. | ||||
* | Fix style bugs I introduced in the last revision. | green | 2000-02-27 | 1 | -7/+7 |
| | | | | Brucified by: bde | ||||
* | Add iseek= and oseek= aliases for the preexisting skip= and seek= | green | 2000-02-26 | 2 | -1/+13 |
| | | | | | | | | | | | operands. Can _YOU_ tell skip= and seek= apart with 100% accuracy every time? This also seems to make us option-for-option compatible with the Solaris dd(1). Approved by: jkh Suggested by: peter | ||||
* | Reflect that dd accepts octal and hexadecimal numbers (in addition to decimal). | gsutter | 2000-02-18 | 1 | -1/+2 |
| | | | | | PR: 16750 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> | ||||
* | I've been Brucified! I did evil things with typedefs, but I'll do it | green | 1999-12-08 | 1 | -4/+4 |
| | | | | | | | the correct (but less aesthetic) way, now. New lesson: correctness and aestheticity may be mutually exclusive at times. Brucified by: bde | ||||
* | Do proper constification in args.c. This shuts up -Wcast-qual (thanks, | green | 1999-12-07 | 2 | -4/+8 |
| | | | | | | | bfumerola for that pointer!) in GCC complaining about losing a const. While I'm here, might as well mark in the Makefile that I'm the ${MAINTAINER}. It seems like that's what everyone's doing these days. | ||||
* | Nuke the FIODTYPE compatibility bits. It's time. | green | 1999-10-03 | 1 | -3/+1 |
| | |||||
* | Make count=0 set cpy_cnt to -1, which is slight overloading, but makes | green | 1999-09-16 | 3 | -5/+18 |
| | | | | | | what I was trying to do work much better (ie at all. I could have sworn it was working...) Fix a SEEK_SET to be SEEK_CUR, and make Bruce's lseek() test work correctly. | ||||
* | Let count=-something fail, while count=0 may succeed, thus making dd(1) | green | 1999-09-16 | 1 | -2/+2 |
| | | | | | | | useful as a seeking-tool as well as its many other uses. Previously, dd(1) would succeed with count=0, but wouldn't get to the point that blocks were to be read/written. This is a more useful behavior, and this specific case doesn't seem to be handled by POSIX. | ||||
* | Even more dd(1) cleanups! Thanks to Bruce for staying on my case until | green | 1999-09-13 | 6 | -37/+45 |
| | | | | we're done (not yet!) :) |