summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove cruft; We don't have the -I, -1 or -2 options anymore so we don'tmillert2003-06-261-2/+2
| | | | need the associated scaffolding. tedu@ OK
* Fix temp file handling.millert2003-06-261-1/+3
| | | | | | | | | 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@
* Fix temp file handling and deal with the case where we might need 2 temp files.millert2003-06-261-4/+4
|
* put all the flags and globals in diff.c, and declare externs in diff.htedu2003-06-261-57/+8
| | | | ok millert@
* o use S_ISDIR instead of doing it by handmillert2003-06-251-4/+3
| | | | | | | | 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
* o use getopt()millert2003-06-251-6/+9
| | | | | | | o use err/warn o only call done() when needed (after mkstemp) o add "-C lines" like GNU grep OK deraadt@
* remove silly signal catcher, and just use done. ok deraadt@tedu2003-06-251-2/+1
|
* exit path signal race safederaadt2003-06-251-2/+2
|
* cleanup. ansi, headers, correct prototypes, some safer string andtedu2003-06-251-5/+11
| | | | | tempfile functions, whitespace, ... no functional improvements yet
* caldera licensesderaadt2003-06-251-0/+36
|
* 4.3reno diff. This is free because of the Caldera license. Nasty, but aderaadt2003-06-251-0/+85
place to start.