Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement -P from GNU diff (like -N but only for files that are missing | 2003-07-06 | 4 | -22/+32 | ||
| | | | | from dir1). | |||||
* | Some fairly major changes: | 2003-07-06 | 6 | -723/+798 | ||
| | | | | | | | | | | | | | | | | | | | | | o -N is implemented o -X is implemented o -x is implemented o diff.c has been rewritten and GNU long options are now supported o diffdir.c has been rewritten + no longer does fork + exec of /usr/bin/diff + can be called recursively (and will be for -r) o diff.h + don't include any .h files here any more, do it in the .c files + no Bell Labs code in this, gets a UCB copyright (the 32v sources only have a diff.c and there is nothing in common). o diffreg.c + most all remaining globals are now private to diffreg.c + files are only opened once + dynamically allocated objects are either freed or realloced + added missing UCB copyright (there were lots of UCB changes) + print correct thing when -s is specified OK deraadt@ | |||||
* | Use symbolic constants for output format. | 2003-07-06 | 1 | -3/+5 | ||
| | ||||||
* | Accept but ignore -h for backwards compat like GNU diff does. | 2003-07-04 | 1 | -4/+7 | ||
| | | | | Pointed out by espie@. Also remove other references to -h mode. | |||||
* | Kill non-standard -l option as discussed with tedu@ | 2003-07-04 | 5 | -134/+30 | ||
| | ||||||
* | Kill diff -h, we don't use or want diffh. Discussed w/ tedu@ | 2003-07-04 | 5 | -32/+8 | ||
| | ||||||
* | Some cosmetic fixes: | 2003-07-04 | 4 | -23/+16 | ||
| | | | | | | | | o get rid of now-unused tempfile variable o move inifdef into diffreg.c (only used there) o correct a comment o use _PATH_DIFF, _PATH_DIFFH and _PATH_PR instead of variables set to them o get rid of hack to look for pr and diff in /bin | |||||
* | diffh belongs in /usr/libexec/ | 2003-07-02 | 1 | -1/+1 | ||
| | ||||||
* | Treat /dev/null specially; there is no need to make a temp file for it. | 2003-07-02 | 1 | -4/+6 | ||
| | ||||||
* | tweak; | 2003-06-28 | 1 | -2/+2 | ||
| | | | | ok tedu@ | |||||
* | -a to force ascii compare. ok millert | 2003-06-27 | 3 | -8/+16 | ||
| | ||||||
* | kill a warning: include <string.h> | 2003-06-27 | 1 | -1/+2 | ||
| | | | | ok tedu@ | |||||
* | Remove cruft; We don't have the -I, -1 or -2 options anymore so we don't | 2003-06-26 | 3 | -39/+18 | ||
| | | | | need the associated scaffolding. tedu@ OK | |||||
* | Fix -r flag that was broken during getopt() conversion--whoops. | 2003-06-26 | 1 | -2/+2 | ||
| | ||||||
* | Fix temp file handling. | 2003-06-26 | 4 | -100/+86 | ||
| | | | | | | | | | o honor TMPDIR environment variable as per man page o need 2 temp files if both file1 and file2 are devices o add error() and errorx() which cleanup temp file and then call err() and errx() respectively. OK tedu@ | |||||
* | pretty code that prints usage | 2003-06-26 | 1 | -3/+5 | ||
| | ||||||
* | Update with unidiff info and make FILES section fit reality. | 2003-06-26 | 1 | -24/+61 | ||
| | | | | With input from jmc@ | |||||
* | Fix temp file handling and deal with the case where we might need 2 temp files. | 2003-06-26 | 4 | -37/+60 | ||
| | ||||||
* | off by one in size calculation | 2003-06-26 | 1 | -2/+2 | ||
| | | | | ok tedu | |||||
* | put all the flags and globals in diff.c, and declare externs in diff.h | 2003-06-26 | 2 | -59/+49 | ||
| | | | | ok millert@ | |||||
* | Add a space after flags that take an argumnent in usage() since getopt() | 2003-06-25 | 1 | -5/+5 | ||
| | | | | supports that. | |||||
* | remove term 3 | 2003-06-25 | 1 | -5/+1 | ||
| | ||||||
* | fix unified diff output. ok millert@ | 2003-06-25 | 1 | -9/+9 | ||
| | ||||||
* | De-uglify usage | 2003-06-25 | 1 | -5/+5 | ||
| | ||||||
* | Add unidiff support and try to pretty up usage() a bit | 2003-06-25 | 3 | -23/+106 | ||
| | ||||||
* | o use S_ISDIR instead of doing it by hand | 2003-06-25 | 4 | -49/+62 | ||
| | | | | | | | | o rename talloc -> emalloc and ralloc -> erealloc o struct direct -> struct dirent (POSIX) o kill remaining strcpy() o fix unterminated string in setfile() deraadt@ OK | |||||
* | Fix getopt string for -D | 2003-06-25 | 1 | -2/+2 | ||
| | ||||||
* | cleanup; | 2003-06-25 | 1 | -74/+89 | ||
| | | | | ok deraadt@ | |||||
* | o use getopt() | 2003-06-25 | 4 | -157/+114 | ||
| | | | | | | | o use err/warn o only call done() when needed (after mkstemp) o add "-C lines" like GNU grep OK deraadt@ | |||||
* | Update from 4.4 to get new-style copyright notice and trim the advert clause | 2003-06-25 | 1 | -16/+31 | ||
| | ||||||
* | this can be 3 term; gwyllion@ace.ulyssis.org | 2003-06-25 | 1 | -6/+2 | ||
| | ||||||
* | remove silly signal catcher, and just use done. ok deraadt@ | 2003-06-25 | 3 | -17/+8 | ||
| | ||||||
* | oops | 2003-06-25 | 1 | -3/+3 | ||
| | ||||||
* | use SEEK_SET with fseek() | 2003-06-25 | 1 | -4/+4 | ||
| | ||||||
* | more knf | 2003-06-25 | 2 | -9/+12 | ||
| | ||||||
* | index -> strrchr | 2003-06-25 | 1 | -2/+2 | ||
| | ||||||
* | knf | 2003-06-25 | 2 | -57/+45 | ||
| | ||||||
* | remove unused variable | 2003-06-25 | 1 | -4/+4 | ||
| | ||||||
* | -Wstrict-prototypes | 2003-06-25 | 2 | -7/+11 | ||
| | ||||||
* | avoid signed issues; tedu ok | 2003-06-25 | 1 | -4/+4 | ||
| | ||||||
* | exit path signal race safe | 2003-06-25 | 4 | -38/+40 | ||
| | ||||||
* | fix lseek | 2003-06-25 | 1 | -2/+2 | ||
| | ||||||
* | snprintf | 2003-06-25 | 1 | -2/+3 | ||
| | ||||||
* | more cast removal, and fix some indent(1) oddities | 2003-06-25 | 2 | -27/+21 | ||
| | ||||||
* | cleanup. ansi, headers, correct prototypes, some safer string and | 2003-06-25 | 6 | -624/+678 | ||
| | | | | | tempfile functions, whitespace, ... no functional improvements yet | |||||
* | -Wall | 2003-06-25 | 1 | -1/+2 | ||
| | ||||||
* | a Makefile | 2003-06-25 | 1 | -0/+6 | ||
| | ||||||
* | caldera licenses | 2003-06-25 | 4 | -0/+144 | ||
| | ||||||
* | man page from 4.4lite2 | 2003-06-25 | 1 | -110/+95 | ||
| | ||||||
* | 4.3reno diff. This is free because of the Caldera license. Nasty, but a | 2003-06-25 | 6 | -0/+2190 | ||
place to start. |