History log of /openbsd-src/usr.bin/diff/diffdir.c (Results 26 – 47 of 47)
Revision Date Author Comments
# b4bca33f 09-Jul-2003 millert <millert@openbsd.org>

Re-implement -l flag; diff -l now works correctly in non-directory
mode (like GNU diff).


# 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 ...


# 32cb3956 06-Jul-2003 millert <millert@openbsd.org>

Use symbolic constants for output format.


# e1b11c9e 04-Jul-2003 millert <millert@openbsd.org>

Kill non-standard -l option as discussed with 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 ...


# 2a1593df 27-Jun-2003 tedu <tedu@openbsd.org>

-a to force ascii compare. ok millert


# 66e5764e 26-Jun-2003 millert <millert@openbsd.org>

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 er

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@

show more ...


# 9de32c1b 25-Jun-2003 millert <millert@openbsd.org>

Add unidiff support and try to pretty up usage() a bit


# 49dffe13 25-Jun-2003 millert <millert@openbsd.org>

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()
d

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

show more ...


# c42aed39 25-Jun-2003 millert <millert@openbsd.org>

o use getopt()
o use err/warn
o only call done() when needed (after mkstemp)
o add "-C lines" like GNU grep
OK deraadt@


# 7d2b2b91 25-Jun-2003 deraadt <deraadt@openbsd.org>

more knf


# 48b8c3e3 25-Jun-2003 deraadt <deraadt@openbsd.org>

knf


# 5004e76e 25-Jun-2003 tedu <tedu@openbsd.org>

-Wstrict-prototypes


# a6a14831 25-Jun-2003 deraadt <deraadt@openbsd.org>

exit path signal race safe


# 6011d391 25-Jun-2003 deraadt <deraadt@openbsd.org>

fix lseek


# 7143e376 25-Jun-2003 deraadt <deraadt@openbsd.org>

snprintf


# 0c9f493e 25-Jun-2003 tedu <tedu@openbsd.org>

more cast removal, and fix some indent(1) oddities


# 26da422a 25-Jun-2003 tedu <tedu@openbsd.org>

cleanup. ansi, headers, correct prototypes, some safer string and
tempfile functions, whitespace, ...
no functional improvements yet


# d0c3f575 25-Jun-2003 deraadt <deraadt@openbsd.org>

caldera licenses


# ae8d569b 25-Jun-2003 deraadt <deraadt@openbsd.org>

4.3reno diff. This is free because of the Caldera license. Nasty, but a
place to start.


12