diff options
author | bde <bde@FreeBSD.org> | 1995-03-25 12:07:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-03-25 12:07:31 +0000 |
commit | 1d63e7fab3f4a7c444f7bf614fe505c206ff8512 (patch) | |
tree | 83ba8dbad70513182b2891696acddca348f297a2 /lib/libc/stdlib/calloc.c | |
parent | 8426f993adf7818bfca27c5c646694625f1c8f0e (diff) | |
download | FreeBSD-src-1d63e7fab3f4a7c444f7bf614fe505c206ff8512.zip FreeBSD-src-1d63e7fab3f4a7c444f7bf614fe505c206ff8512.tar.gz |
Add more compatibility cruft:
- ignore the partition table if it is identical with the bogus one in
/usr/src/sys/i386/boot/biosboot/start.S. Honoring the bogus size
field was fatal. The error is detected but other compatibilty
cruft weakens the error handling too much for this case.
- weaken the partition entry checking to allow the following treatments
of C/H/S addresses when C should be >= 1024:
(1) allow C = 1023, H = max, S = max.
(2) allow C to be correct modulo 1024.
Other compatibilty cruft weakens the error handling to allow all
C/H/S addresses, but there too many errors were reported.
Improve error messages:
- print C/H/S addresses if relevant.
- distinguish primary partition table from extended partition tables.
- don't use diskerr() except for i/o errors.
Diffstat (limited to 'lib/libc/stdlib/calloc.c')
0 files changed, 0 insertions, 0 deletions