Die immediately if pread fails. It's a fatal error so treat it as
authorray <ray@openbsd.org>
Thu, 15 Jul 2010 18:23:50 +0000 (18:23 +0000)
committerray <ray@openbsd.org>
Thu, 15 Jul 2010 18:23:50 +0000 (18:23 +0000)
commit7a6efebc84ac15fc4b596886b91780ea44e8d79c
treef1ccb6015cad87cfb01bc852dafe236de5cfa92c
parent300eb659afff00eb7b1124052f29e8e86ff3a36e
Die immediately if pread fails. It's a fatal error so treat it as
such. Besides, we weren't handling the NULL being returned.

From diff. Minor nit by nicm.

OK xsa stsp nicm
usr.bin/cvs/diff_internals.c
usr.bin/rcs/diff.c