History log of /openbsd-src/usr.bin/diff/diff.c (Results 51 – 68 of 68)
Revision Date Author Comments
# e582024b 27-Jun-2003 david <david@openbsd.org>

kill a warning: include <string.h>
ok tedu@


# 90f56ad8 26-Jun-2003 millert <millert@openbsd.org>

Remove cruft; We don't have the -I, -1 or -2 options anymore so we don't
need the associated scaffolding. tedu@ OK


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

Fix -r flag that was broken during getopt() conversion--whoops.


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


# c012fe98 26-Jun-2003 deraadt <deraadt@openbsd.org>

pretty code that prints usage


# 48b947b7 26-Jun-2003 millert <millert@openbsd.org>

Fix temp file handling and deal with the case where we might need 2 temp files.


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

put all the flags and globals in diff.c, and declare externs in diff.h
ok millert@


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

Add a space after flags that take an argumnent in usage() since getopt()
supports that.


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

De-uglify usage


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


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

Fix getopt string for -D


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


# 7d9f164d 25-Jun-2003 tedu <tedu@openbsd.org>

remove silly signal catcher, and just use done. ok deraadt@


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

exit path signal race safe


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


123