[Reproducible-commits] [strip-nondeterminism] 01/08: handlers/png: Wrap $type in single quotes in warnings at the very least.
Chris Lamb
chris at chris-lamb.co.uk
Sun Jul 24 14:33:55 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 7b4dd35ac888c12b81008f40486522d2b1dab65f
Author: Chris Lamb <lamby at debian.org>
Date: Sun Jul 24 15:10:23 2016 +0100
handlers/png: Wrap $type in single quotes in warnings at the very least.
Signed-off-by: Chris Lamb <lamby at debian.org>
---
lib/File/StripNondeterminism/handlers/png.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/File/StripNondeterminism/handlers/png.pm b/lib/File/StripNondeterminism/handlers/png.pm
index f243a66..780258d 100644
--- a/lib/File/StripNondeterminism/handlers/png.pm
+++ b/lib/File/StripNondeterminism/handlers/png.pm
@@ -92,7 +92,7 @@ sub _normalize {
my $bytes_read = read($fh, my $data, $len);
if ($bytes_read != $len) {
- warn "$filename: invalid length in $type header";
+ warn "$filename: invalid length in '$type' header";
return 0;
}
@@ -120,7 +120,7 @@ sub _normalize {
$bytes_read = read($fh, $buf, min($len, 4096));
if ($bytes_read == 0) {
- warn "$filename: invalid length in $type header";
+ warn "$filename: invalid length in '$type' header";
return 0;
}
--
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