Up to [local] / src / usr.bin / diff
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.68 / (download) - annotate - [select for diffs], Thu Jan 5 00:00:44 2023 UTC (17 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
HEAD
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.47 (colored)
Delete remnants of removed "diff -l" option. From Nathan Houghton
Revision 1.67 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:00 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.47 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.66 / (download) - annotate - [select for diffs], Fri Jan 25 00:19:26 2019 UTC (5 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.47 (colored)
I am retiring my old email address; replace it with my OpenBSD one.
Revision 1.65 / (download) - annotate - [select for diffs], Tue Dec 29 19:04:46 2015 UTC (8 years, 5 months ago) by gsoares
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) to selected 1.47 (colored)
fix exit status on pledge(2) failure. OK tb@ jsg@
Revision 1.64 / (download) - annotate - [select for diffs], Mon Oct 26 12:52:27 2015 UTC (8 years, 7 months ago) by tedu
Branch: MAIN
Changes since 1.63: +3 -8 lines
Diff to previous 1.63 (colored) to selected 1.47 (colored)
remove TMPDIR support. ok millert
Revision 1.63 / (download) - annotate - [select for diffs], Fri Oct 9 01:37:07 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.62: +5 -5 lines
Diff to previous 1.62 (colored) to selected 1.47 (colored)
Change all tame callers to namechange to pledge(2).
Revision 1.62 / (download) - annotate - [select for diffs], Mon Oct 5 20:15:00 2015 UTC (8 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.61: +14 -28 lines
Diff to previous 1.61 (colored) to selected 1.47 (colored)
Remove the non-standard -l flag that pipes the output through pr(1). Based on a diff from and OK deraadt@
Revision 1.61 / (download) - annotate - [select for diffs], Mon Oct 5 15:42:54 2015 UTC (8 years, 8 months ago) by semarie
Branch: MAIN
Changes since 1.60: +8 -3 lines
Diff to previous 1.60 (colored) to selected 1.47 (colored)
use different tame requests if TMPDIR is in env: - tmppath for when mktemp() operates in /tmp proper - cpath+wpath for use of $TMPDIR based on log-message from previous commit ok deraadt@
Revision 1.60 / (download) - annotate - [select for diffs], Mon Oct 5 15:16:23 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.59: +5 -1 lines
Diff to previous 1.59 (colored) to selected 1.47 (colored)
If the -l flag is set, diff will fork/execve pr on a pipe. But other uses can tame "stdio wpath rpath cpath tmppath". tmppath for when mktemp() operates in /tmp proper, but cpath+wpath for use of $TMPDIR. ok sthen millert
Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 29 04:00:25 2015 UTC (9 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.47 (colored)
Change internal xrealloc() to a idiom-following xreallocarray(). This loses a "new size is 0" failure case. Probably not relevant; and since we develop this in OpenBSD, we'll catch that before someone else imports this... ok millert
Revision 1.58 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:07 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.47 (colored)
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
Revision 1.57 / (download) - annotate - [select for diffs], Fri Jul 16 23:27:58 2010 UTC (13 years, 10 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4,
OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.56: +10 -12 lines
Diff to previous 1.56 (colored) to selected 1.47 (colored)
Simplify print_status by removing NULL handling. OK nicm
Revision 1.56 / (download) - annotate - [select for diffs], Sun Feb 21 15:24:01 2010 UTC (14 years, 3 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7
Changes since 1.55: +8 -8 lines
Diff to previous 1.55 (colored) to selected 1.47 (colored)
`-q' is an output option, hence it is mutually exclusive. ok jmc@
Revision 1.55 / (download) - annotate - [select for diffs], Mon Nov 9 13:34:59 2009 UTC (14 years, 7 months ago) by sobrado
Branch: MAIN
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored) to selected 1.47 (colored)
move mutually exclusive options (-c, -e, -f, -n and -u) to the right place. ok jmc@
Revision 1.54 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:37 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.53: +1 -5 lines
Diff to previous 1.53 (colored) to selected 1.47 (colored)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Revision 1.53 / (download) - annotate - [select for diffs], Sun Jun 7 08:39:13 2009 UTC (15 years ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE,
OPENBSD_4_6
Changes since 1.52: +19 -19 lines
Diff to previous 1.52 (colored) to selected 1.47 (colored)
More cvs/diff/rcs convergence: 1. Mostly variable/function renaming, SIZE_T_MAX->SIZE_MAX, and spacing. 2. One strchr -> strncspn. 3. diff had a weird thing where it set file[12] = ofile[12] but never updated file or ofile, then if file and ofile were different it freed it. I removed it. OK millert
Revision 1.52 / (download) - annotate - [select for diffs], Sat Jun 6 15:37:28 2009 UTC (15 years ago) by ray
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (colored) to selected 1.47 (colored)
Oops, forgot to pass dflags to diffreg. Now the flags work again. OK millert
Revision 1.51 / (download) - annotate - [select for diffs], Sat Jun 6 15:00:27 2009 UTC (15 years ago) by ray
Branch: MAIN
Changes since 1.50: +12 -13 lines
Diff to previous 1.50 (colored) to selected 1.47 (colored)
Pull changes from rcsdiff, similar to what was pulled into cvsdiff. OK millert
Revision 1.50 / (download) - annotate - [select for diffs], Tue May 29 18:24:56 2007 UTC (17 years ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.49: +10 -47 lines
Diff to previous 1.49 (colored) to selected 1.47 (colored)
Bring in some changes from rcsdiff: 1. Replace all the e*alloc functions with the x*alloc versions. 2. Whitespace syncs according to style. 3. Remove the __inline stuff. 4. Remove the min/max functions, using the MAX/MIN macros instead. OK millert@
Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 1 21:48:32 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1
Changes since 1.48: +7 -8 lines
Diff to previous 1.48 (colored) to selected 1.47 (colored)
sort options/synopsis/usage(); from Igor Sobrado
Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 9 18:56:10 2004 UTC (19 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.47: +9 -4 lines
Diff to previous 1.47 (colored)
If the -L option is specified twice, use it for the second filename like GNU diff does. Adapted from a diff by YAMAMOTO Takashi
Revision 1.47 / (download) - annotate - [selected], Tue Dec 7 11:53:29 2004 UTC (19 years, 6 months ago) by espie
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)
advancing argv twice doesn't make it better. okay otto@.
Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 20 18:47:45 2004 UTC (19 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.45: +50 -10 lines
Diff to previous 1.45 (colored) to selected 1.47 (colored)
Implement -I option: ignore changes matching a set of regexes. From Jared Yanovich, with twists from millert@ and me. Testing by brad@, sturm@ and pval@. ok millert@
Revision 1.45 / (download) - annotate - [select for diffs], Tue Mar 16 00:40:34 2004 UTC (20 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.44: +10 -2 lines
Diff to previous 1.44 (colored) to selected 1.47 (colored)
POSIX specifies that in directory mode device special files and FIFOs shall be skipped. Other types of files may be skipped too (this is implementation-dependent). In directory mode, just skip anything that is not a regular file or directory. OK tedu@
Revision 1.44 / (download) - annotate - [select for diffs], Wed Jan 7 17:18:32 2004 UTC (20 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.43: +12 -8 lines
Diff to previous 1.43 (colored) to selected 1.47 (colored)
Implement -p option. "works here" millert@ ok miod@ deraadt@
Revision 1.43 / (download) - annotate - [select for diffs], Tue Oct 7 23:37:27 2003 UTC (20 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.42: +11 -5 lines
Diff to previous 1.42 (colored) to selected 1.47 (colored)
Fix printing of "Only in foo" when foo is "/" (trailing slash removal was overzealous in this case). Fix tested by Hugo Villeneuve and myself.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 7 22:05:30 2003 UTC (20 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.41: +15 -9 lines
Diff to previous 1.41 (colored) to selected 1.47 (colored)
Make -number be an error (similar to my change in grep.c); OK tedu@
Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 7 18:50:58 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.40: +8 -8 lines
Diff to previous 1.40 (colored) to selected 1.47 (colored)
- add -P to SYNOPSIS - remove "mutually exclusive" clause - -c produces 15 *'s, not a dozen - add -a to uage() - sync usage() with SYNOPSIS ok tedu@
Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 7 18:16:02 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.39: +15 -4 lines
Diff to previous 1.39 (colored) to selected 1.47 (colored)
try again at -u#. ok deraadt@
Revision 1.39 / (download) - annotate - [select for diffs], Sat Sep 6 05:25:22 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.47 (colored)
restore undocumented -u# support for the old schoolers. :) noticed by itojun@, ok deraadt@
Revision 1.38 / (download) - annotate - [select for diffs], Mon Aug 18 02:04:42 2003 UTC (20 years, 9 months ago) by david
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored) to selected 1.47 (colored)
fix spelling of --initial-tab ok otto@
Revision 1.37 / (download) - annotate - [select for diffs], Tue Jul 29 18:38:47 2003 UTC (20 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored) to selected 1.47 (colored)
clean
Revision 1.36 / (download) - annotate - [select for diffs], Sun Jul 27 18:45:55 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) to selected 1.47 (colored)
Correct computation of argsize when setting diffargs.
Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 27 07:39:52 2003 UTC (20 years, 10 months ago) by otto
Branch: MAIN
Changes since 1.34: +14 -10 lines
Diff to previous 1.34 (colored) to selected 1.47 (colored)
- Use a heuristic to bound memory and cpu usage, at the cost of producing suboptimal diffs for large file containing lots of changes. Switch heuristic off with -d/--minimal (GNU compatible). Some hints from millert@. - Improve performance by reducing the number of realloc(3) calls. ok millert@ tedu@
Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 22 16:42:58 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored) to selected 1.47 (colored)
Add missing terminator to long options list.
Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 22 01:16:01 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.32: +20 -11 lines
Diff to previous 1.32 (colored) to selected 1.47 (colored)
Implement the -L and -T options from GNU diff.
Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 21 23:02:35 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.31: +5 -3 lines
Diff to previous 1.31 (colored) to selected 1.47 (colored)
Don't print a trailing '/' in foo when printing "Only in foo: bar"
Revision 1.31 / (download) - annotate - [select for diffs], Mon Jul 21 22:57:16 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored) to selected 1.47 (colored)
Fix printing of status when not in -l mode which was broken when the -l support was added.
Revision 1.30 / (download) - annotate - [select for diffs], Mon Jul 21 21:59:58 2003 UTC (20 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) to selected 1.47 (colored)
a little KNF
Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 21 21:57:22 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.28: +8 -4 lines
Diff to previous 1.28 (colored) to selected 1.47 (colored)
POSIX-compliant output when there are two paths w/ the same name but one is a file and the other is a directory in -r mode (cosmetic).
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 9 00:39:25 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.27: +26 -50 lines
Diff to previous 1.27 (colored) to selected 1.47 (colored)
Unlink temp file as soon as it is opened and return a FILE * for it so we don't have to worry about cleanup. This means the quit() signal handler and error/errorx can go away too. Move splice() out of diffreg() and into diff.c where it belongs since we don't want to be calling splice() for a directory diff. Add a check for mismatched paths (one file, one dir) in diffreg.c. deraadt@ OK
Revision 1.27 / (download) - annotate - [select for diffs], Wed Jul 9 00:07:44 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.26: +58 -7 lines
Diff to previous 1.26 (colored) to selected 1.47 (colored)
Re-implement -l flag; diff -l now works correctly in non-directory mode (like GNU diff).
Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 8 04:45:32 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.47 (colored)
o Avoid a temp file if using stdin and stdin is redirected from a regular file o Fix a double free in the temmp file case
Revision 1.25 / (download) - annotate - [select for diffs], Sun Jul 6 22:17:21 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.24: +12 -8 lines
Diff to previous 1.24 (colored) to selected 1.47 (colored)
Add -q option from GNU diff
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 6 22:02:36 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.23: +9 -5 lines
Diff to previous 1.23 (colored) to selected 1.47 (colored)
Implement -P from GNU diff (like -N but only for files that are missing from dir1).
Revision 1.23 / (download) - annotate - [select for diffs], Sun Jul 6 20:48:59 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.22: +184 -133 lines
Diff to previous 1.22 (colored) to selected 1.47 (colored)
Some fairly major changes: 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@
Revision 1.22 / (download) - annotate - [select for diffs], Fri Jul 4 17:52:35 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.21: +7 -4 lines
Diff to previous 1.21 (colored) to selected 1.47 (colored)
Accept but ignore -h for backwards compat like GNU diff does. Pointed out by espie@. Also remove other references to -h mode.
Revision 1.21 / (download) - annotate - [select for diffs], Fri Jul 4 17:50:24 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.20: +5 -9 lines
Diff to previous 1.20 (colored) to selected 1.47 (colored)
Kill non-standard -l option as discussed with tedu@
Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 4 17:37:07 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.19: +2 -8 lines
Diff to previous 1.19 (colored) to selected 1.47 (colored)
Kill diff -h, we don't use or want diffh. Discussed w/ tedu@
Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 4 02:54:36 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.18: +4 -10 lines
Diff to previous 1.18 (colored) to selected 1.47 (colored)
Some cosmetic fixes: 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
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 27 17:08:45 2003 UTC (20 years, 11 months ago) by david
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored) to selected 1.47 (colored)
kill a warning: include <string.h> ok tedu@
Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 26 22:04:45 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.16: +4 -12 lines
Diff to previous 1.16 (colored) to selected 1.47 (colored)
Remove cruft; We don't have the -I, -1 or -2 options anymore so we don't need the associated scaffolding. tedu@ OK
Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 26 21:03:08 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.47 (colored)
Fix -r flag that was broken during getopt() conversion--whoops.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Jun 26 18:19:29 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.14: +39 -15 lines
Diff to previous 1.14 (colored) to selected 1.47 (colored)
Fix temp file handling. 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@
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 26 07:20:12 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +5 -3 lines
Diff to previous 1.13 (colored) to selected 1.47 (colored)
pretty code that prints usage
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 26 04:52:26 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.12: +8 -6 lines
Diff to previous 1.12 (colored) to selected 1.47 (colored)
Fix temp file handling and deal with the case where we might need 2 temp files.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jun 26 00:20:48 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.11: +41 -2 lines
Diff to previous 1.11 (colored) to selected 1.47 (colored)
put all the flags and globals in diff.c, and declare externs in diff.h ok millert@
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 25 23:04:53 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored) to selected 1.47 (colored)
Add a space after flags that take an argumnent in usage() since getopt() supports that.
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 25 22:22:34 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) to selected 1.47 (colored)
De-uglify usage
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 25 22:14:43 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.8: +18 -6 lines
Diff to previous 1.8 (colored) to selected 1.47 (colored)
Add unidiff support and try to pretty up usage() a bit
Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 25 21:43:49 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.7: +5 -6 lines
Diff to previous 1.7 (colored) to selected 1.47 (colored)
o use S_ISDIR instead of doing it by hand 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
Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 25 19:56:57 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.47 (colored)
Fix getopt string for -D
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 25 17:49:22 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.5: +86 -119 lines
Diff to previous 1.5 (colored) to selected 1.47 (colored)
o use getopt() o use err/warn o only call done() when needed (after mkstemp) o add "-C lines" like GNU grep OK deraadt@
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 25 07:26:59 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.4: +1 -8 lines
Diff to previous 1.4 (colored) to selected 1.47 (colored)
remove silly signal catcher, and just use done. ok deraadt@
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 25 03:37:32 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +14 -12 lines
Diff to previous 1.3 (colored) to selected 1.47 (colored)
exit path signal race safe
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 25 03:02:33 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.2: +127 -125 lines
Diff to previous 1.2 (colored) to selected 1.47 (colored)
cleanup. ansi, headers, correct prototypes, some safer string and tempfile functions, whitespace, ... no functional improvements yet
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 25 01:23:38 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +36 -0 lines
Diff to previous 1.1 (colored) to selected 1.47 (colored)
caldera licenses
Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 25 01:20:52 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Diff to selected 1.47 (colored)
4.3reno diff. This is free because of the Caldera license. Nasty, but a place to start.