Subject: CVS commit: basesrc/sbin/dump
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 12/22/2001 09:45:38
Module Name:	basesrc
Committed By:	lukem
Date:		Sat Dec 22 07:45:38 UTC 2001

Modified Files:
	basesrc/sbin/dump: rcache.c

Log Message:
In rawread(), add back a check to ensure that dump doesn't try to read
past EOM and fail with "short read error". This check was part of
traverse.c::bread(), and was removed when that function was migrated
to rcache.c::rawread() as part of the "read cache" functionality.

This should fix the problem with dump barfing on "short read" when "-r 0",
but I'm still debugging the problem where dump gets to a point and
"does nothing" when the read cache is being used.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 basesrc/sbin/dump/rcache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.