summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-06-26Remove cruft; We don't have the -I, -1 or -2 options anymore so we don'tmillert1-12/+4
need the associated scaffolding. tedu@ OK
2003-06-26more proto fixesderaadt10-37/+47
2003-06-26change awk script to generate ansi codederaadt1-3/+2
2003-06-26minimal protosderaadt2-7/+7
2003-06-26protosderaadt1-3/+3
2003-06-26ansi and knf and protosderaadt1-29/+29
2003-06-26ansi and protosderaadt13-117/+63
2003-06-26err() cleanup; andrushock@korovino.netderaadt1-12/+12
2003-06-26ansideraadt1-45/+23
2003-06-26Fix -r flag that was broken during getopt() conversion--whoops.millert1-2/+2
2003-06-26remove -inset from .Bl;jmc1-2/+2
2003-06-26Remove -inset from .Bl macro;jmc1-3/+3
from wiz@netbsd
2003-06-26do not dump core for 'ssh -o proxycommand host'; ok deraadt@markus1-1/+3
2003-06-26.It macros in item lists do not take arguments ->jmc1-7/+13
.It Ft void becomes .It .Ft void from wiz@netbsd
2003-06-26strict proto cleanupsderaadt16-120/+70
2003-06-26syncderaadt1-0/+1
2003-06-26Sy Pa -> Emjmc1-2/+2
from wiz@netbsd
2003-06-26.Er Dv -> .Erjmc1-3/+3
from wiz@netbsd
2003-06-26backout the __bounded__ attributes for a while; requested by deraadt@avsm16-127/+69
2003-06-26Only one of -tag and -ohang after .Bl;jmc1-2/+2
from wiz@netbsd
2003-06-26remove superfluous .Ek;jmc1-4/+2
from wiz@netbsd
2003-06-26various regression tests for -Wboundedavsm85-0/+410
2003-06-26Mark various standard library functions with the __bounded__ attribute.avsm16-69/+127
You must have an up-to-date gcc for this! deraadt@ ok
2003-06-26document the new attribute __bounded__avsm1-1/+122
with mdoc help from jmc@, deraadt@ ok
2003-06-26Introduce a simple static checker for making sure that the boundsavsm11-3/+504
length passed to common functions such as strlcpy/strlcat match the real length of the buffer. It also checks to make sure that the bound length was not incorrectly derived from a sizeof(pointer) operation. Functions must be marked with the new attribute __bounded__, and warnings are turned on by -Wbounded. Specifying -Wformat also enables bounds checking for scanf(3) bounds to '%s' format variables. -Wall now turns on -Wbounded also. The checking is pretty limited right now to constant parameters, and the buffers must be statically declared, and not inside a record type. This simple checking still found hundreds of bugs around the ports tree though, and there have been no false positive warnings. 10x to niklas@, Richard Sharp and David Scott {rich,dave}@recoil.org for compiler advice. deraadt@ ok, miod@ tested on his collection of hardware You need to recompile gcc now if source upgrading in -current before doing a make world.
2003-06-26correct an example, and fix BUGS;jmc1-3/+3
ok millert@
2003-06-26use ; to separate selectors;jmc1-2/+2
ok millert@
2003-06-26Fix temp file handling.millert4-100/+86
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@
2003-06-26Quote % characters in macro lines;jmc1-7/+9
from wiz@netbsd. Also better format of SYNOPSIS.
2003-06-26Manpage for ELF ld.so, derived from a.out version, not yet completedrahn2-2/+174
also points out missing features in the ELF ld.so.
2003-06-26Use libc getopt_long; missed when I changed diff's main Makefilemillert2-4/+4
a while ago.
2003-06-26fix rcsiddavid1-1/+1
2003-06-26fix typo in comment. tedu@ okjolan1-2/+2
2003-06-26a couple of historical papers on the future of BSD unix (;mickey8-0/+1090
2003-06-26beginners guide from 4.4 w/ caldera license; needs lots of updates for 4.4 evenmickey8-0/+2966
2003-06-26protosderaadt1-3/+6
2003-06-26ansi and protosderaadt10-241/+132
2003-06-26caldera-licensed doc from 4.4mickey6-0/+3585
2003-06-264.4 lint w/ caldera license nowmickey2-0/+1112
2003-06-26oopsmickey18-18/+18
2003-06-26caldera-licensed docmickey4-0/+2761
2003-06-26oopsmickey1-1/+1
2003-06-26calder-licensed docmickey2-2/+969
2003-06-26print usage in one printf (instead of four)mickey1-6/+6
2003-06-26avoid using floating point for a random in [a, b] and kill a false commentmickey1-9/+3
2003-06-26use err.hmickey1-50/+28
2003-06-26docs from 4.4 w/caldera license nowmickey21-0/+5668