Commit [r3549] Maximize Restore History

Bug fix to the EOF handling and also a simplification.

We incorrectly reported the lack of an EOF block when checking a
sub-range, where we get an expected EOF at the end of range but this
isn't due to a file EOF.

Simplifying this the API now uses scram_eof() returning 0 for false, 1
for expected eof and 2 for unexpected eof (no EOF block).

jkbonfield 2013-12-17

changed /io_lib/trunk/io_lib/scram.c
changed /io_lib/trunk/progs/scramble.c
changed /io_lib/trunk/io_lib/cram_io.c
changed /io_lib/trunk/io_lib/scram.h
changed /io_lib/trunk/io_lib/cram_io.h
/io_lib/trunk/io_lib/scram.c Diff Switch to side-by-side view
Loading...
/io_lib/trunk/progs/scramble.c Diff Switch to side-by-side view
Loading...
/io_lib/trunk/io_lib/cram_io.c Diff Switch to side-by-side view
Loading...
/io_lib/trunk/io_lib/scram.h Diff Switch to side-by-side view
Loading...
/io_lib/trunk/io_lib/cram_io.h Diff Switch to side-by-side view
Loading...