dvd-sector-copy.c (read_sectors): Force `errno' to zero even if WANT = 0.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 8 Apr 2022 15:45:03 +0000 (16:45 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Apr 2022 15:52:15 +0000 (16:52 +0100)
commit1c67758fb6169c8a8220a889b119f538cd72eb61
tree7c5e98d22925b7c8b6f83b4c605763d1a86e2ad1
parent8ed763a58ec8c9f402d2ee30164c59a613afba93
dvd-sector-copy.c (read_sectors): Force `errno' to zero even if WANT = 0.

Otherwise we'd get confused at the end.  I don't think anything actually
tries to call `read_sectors' with WANT = 0, but it's better not to leave
a booby trap here.
dvd-sector-copy.c