[Reproducible-commits] [strip-nondeterminism] 05/08: handlers/png: Keep IEND detection. This was a regression from 0.020-1. Thanks to James Cowgill (jcowgill). (Closes: #832306)
Chris Lamb
chris at chris-lamb.co.uk
Sun Jul 24 14:33:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch debian
in repository strip-nondeterminism.
commit c8de75392d625325a119d5528060036c334dd5ed
Author: Chris Lamb <lamby at debian.org>
Date: Sun Jul 24 15:28:25 2016 +0100
handlers/png: Keep IEND detection. This was a regression from 0.020-1. Thanks to James Cowgill (jcowgill). (Closes: #832306)
---
lib/File/StripNondeterminism/handlers/png.pm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/File/StripNondeterminism/handlers/png.pm b/lib/File/StripNondeterminism/handlers/png.pm
index 8b85db6..22a64f5 100644
--- a/lib/File/StripNondeterminism/handlers/png.pm
+++ b/lib/File/StripNondeterminism/handlers/png.pm
@@ -107,11 +107,8 @@ sub _normalize {
next;
}
- # Not a chunk we care about but we already read the
- # data so we cannot fall through
print $tempfile $header . $data;
- next;
- }
+ } else {
print $tempfile $header;
while ($len > 0) {
@@ -127,6 +124,7 @@ sub _normalize {
$len -= $bytes_read;
}
defined($bytes_read) or die "$filename: read failed: $!";
+ }
# Stop processing immediately in case there's garbage after the
# PNG datastream. (https://bugs.debian.org/802057)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git
More information about the Reproducible-commits
mailing list