chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
74f78bd
)
checkimg: Don't complain about every mismatch.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 19 Mar 2022 14:09:49 +0000
(14:09 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 19 Mar 2022 14:09:49 +0000
(14:09 +0000)
We can tell from the summary.
checkimg
patch
|
blob
|
blame
|
history
diff --git
a/checkimg
b/checkimg
index b4d71bd4e52bcb0b12dc3e1d16e062de25a067d7..7d426b705361a85ffeb891bed3147c8f5d086f0e 100755
(executable)
--- a/
checkimg
+++ b/
checkimg
@@
-60,7
+60,7
@@
SECTOR: for (;;) {
my $newst;
if ($cbuf eq $obuf) { $newst = 'copy'; }
elsif ($cbuf eq $ZERO) { $newst = 'zero'; }
my $newst;
if ($cbuf eq $obuf) { $newst = 'copy'; }
elsif ($cbuf eq $ZERO) { $newst = 'zero'; }
- else {
bad "corrupted sector #$i in `$copy'";
$newst = 'bogus'; }
+ else { $newst = 'bogus'; }
update $newst; $i++;
}
update 'end';
update $newst; $i++;
}
update 'end';