#
4893e147 |
| 07-Oct-2003 |
millert <millert@openbsd.org> |
Fix printing of "Only in foo" when foo is "/" (trailing slash removal was overzealous in this case). Fix tested by Hugo Villeneuve and myself.
|
#
cb9b5491 |
| 07-Sep-2003 |
millert <millert@openbsd.org> |
Make -number be an error (similar to my change in grep.c); OK tedu@
|
#
f5537e38 |
| 07-Sep-2003 |
jmc <jmc@openbsd.org> |
- 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@
|
#
68cd7c43 |
| 07-Sep-2003 |
tedu <tedu@openbsd.org> |
try again at -u#. ok deraadt@
|
#
378e1776 |
| 06-Sep-2003 |
tedu <tedu@openbsd.org> |
restore undocumented -u# support for the old schoolers. :) noticed by itojun@, ok deraadt@
|
#
049b39f6 |
| 18-Aug-2003 |
david <david@openbsd.org> |
fix spelling of --initial-tab ok otto@
|
#
a65ef95e |
| 29-Jul-2003 |
deraadt <deraadt@openbsd.org> |
clean
|
#
77aa65d5 |
| 27-Jul-2003 |
millert <millert@openbsd.org> |
Correct computation of argsize when setting diffargs.
|
#
6e18f850 |
| 27-Jul-2003 |
otto <otto@openbsd.org> |
- 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 hi
- 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@
show more ...
|
#
d6c18fb8 |
| 22-Jul-2003 |
millert <millert@openbsd.org> |
Add missing terminator to long options list.
|
#
1f9aa9e0 |
| 22-Jul-2003 |
millert <millert@openbsd.org> |
Implement the -L and -T options from GNU diff.
|
#
37e8779f |
| 21-Jul-2003 |
millert <millert@openbsd.org> |
Don't print a trailing '/' in foo when printing "Only in foo: bar"
|
#
de414158 |
| 21-Jul-2003 |
millert <millert@openbsd.org> |
Fix printing of status when not in -l mode which was broken when the -l support was added.
|
#
082b0f3d |
| 21-Jul-2003 |
henning <henning@openbsd.org> |
a little KNF
|
#
fed3a06d |
| 21-Jul-2003 |
millert <millert@openbsd.org> |
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).
|
#
7b6ec9e4 |
| 09-Jul-2003 |
millert <millert@openbsd.org> |
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
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
show more ...
|
#
b4bca33f |
| 09-Jul-2003 |
millert <millert@openbsd.org> |
Re-implement -l flag; diff -l now works correctly in non-directory mode (like GNU diff).
|
#
b1a26502 |
| 08-Jul-2003 |
millert <millert@openbsd.org> |
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
|
#
cab5d83c |
| 06-Jul-2003 |
millert <millert@openbsd.org> |
Add -q option from GNU diff
|
#
aeb82612 |
| 06-Jul-2003 |
millert <millert@openbsd.org> |
Implement -P from GNU diff (like -N but only for files that are missing from dir1).
|
#
4ec4b3d5 |
| 06-Jul-2003 |
millert <millert@openbsd.org> |
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
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@
show more ...
|
#
a0daf5cc |
| 04-Jul-2003 |
millert <millert@openbsd.org> |
Accept but ignore -h for backwards compat like GNU diff does. Pointed out by espie@. Also remove other references to -h mode.
|
#
e1b11c9e |
| 04-Jul-2003 |
millert <millert@openbsd.org> |
Kill non-standard -l option as discussed with tedu@
|
#
1ba31747 |
| 04-Jul-2003 |
millert <millert@openbsd.org> |
Kill diff -h, we don't use or want diffh. Discussed w/ tedu@
|
#
c5b7f864 |
| 04-Jul-2003 |
millert <millert@openbsd.org> |
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
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
show more ...
|