summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diffdir.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2003-06-25oopsderaadt1-3/+3
2003-06-25use SEEK_SET with fseek()deraadt1-4/+4
2003-06-25more knfderaadt2-9/+12
2003-06-25index -> strrchrderaadt1-2/+2
2003-06-25"addrs" is not needed any moreitojun1-2/+2
2003-06-25knfderaadt2-57/+45
2003-06-25remove unused variabletedu1-4/+4
2003-06-25-Wstrict-prototypestedu2-7/+11
2003-06-25avoid signed issues; tedu okderaadt1-4/+4
2003-06-25exit path signal race safederaadt4-38/+40
2003-06-25fix lseekderaadt1-2/+2
2003-06-25snprintfderaadt1-2/+3
2003-06-25more cast removal, and fix some indent(1) odditiestedu2-27/+21
2003-06-25cleanup. ansi, headers, correct prototypes, some safer string andtedu6-624/+678
tempfile functions, whitespace, ... no functional improvements yet
2003-06-25-Wallderaadt1-1/+2
2003-06-25Avoid a divide by zero bykrw2-38/+41
1) Ensuring that both sd_scsi.c and sd_atapi.c report a device as offline when its disksize cannot be determined. 2) Ensuring blksize is always non-zero, with a default value of 512. 3) Eliminating a couple of unneeded 'sectors' variables, which makes the code easier for me to read if nothing else. The bug was introduced when sd_atapi.c was changed to allow 'incomplete' implementations to be reported as online. REALLY incomplete implementations (i.e. not even the disksize can be determined) would be reported online with a blksize of zero. Also fix a couple of knf nits in Mickey's last commit, and add another check for an rpm of 0. ok (pre-Mickey diffs) tdeval@ marc@ frantzen@