Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2003-06-25 | oops | 1 | -3/+3 | ||
2003-06-25 | use SEEK_SET with fseek() | 1 | -4/+4 | ||
2003-06-25 | more knf | 2 | -9/+12 | ||
2003-06-25 | index -> strrchr | 1 | -2/+2 | ||
2003-06-25 | "addrs" is not needed any more | 1 | -2/+2 | ||
2003-06-25 | knf | 2 | -57/+45 | ||
2003-06-25 | remove unused variable | 1 | -4/+4 | ||
2003-06-25 | -Wstrict-prototypes | 2 | -7/+11 | ||
2003-06-25 | avoid signed issues; tedu ok | 1 | -4/+4 | ||
2003-06-25 | exit path signal race safe | 4 | -38/+40 | ||
2003-06-25 | fix lseek | 1 | -2/+2 | ||
2003-06-25 | snprintf | 1 | -2/+3 | ||
2003-06-25 | more cast removal, and fix some indent(1) oddities | 2 | -27/+21 | ||
2003-06-25 | cleanup. ansi, headers, correct prototypes, some safer string and | 6 | -624/+678 | ||
tempfile functions, whitespace, ... no functional improvements yet | |||||
2003-06-25 | -Wall | 1 | -1/+2 | ||
2003-06-25 | Avoid a divide by zero by | 2 | -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@ |