dvd-sector-copy.c: Make `read_sectors' more persistent after short reads.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 18 Feb 2022 18:50:27 +0000 (18:50 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 18 Feb 2022 18:56:25 +0000 (18:56 +0000)
commit0f0ba33faf1e5109b2826c1c343ab13e618782c3
treed757f1c07c55fe2a98373c5cc5a8a049867aa515
parente98a07498ef72fdc7274145702fa08a755b8e32e
dvd-sector-copy.c: Make `read_sectors' more persistent after short reads.

It now continues trying to read until it gets an error, end-of-file, or
it completes the task requested of it.  For consistency, we must also
report an error after a short read forced by a synthetic bad sector,
which requires a little additional machinery.
dvd-sector-copy.c