[strip-nondeterminism] 05/05: handlers/jar.pm: Reintroduce subroutine prototype on _jar_filename_cmp to fix ordering regression in .jar files.

Chris Lamb chris at chris-lamb.co.uk
Fri Sep 9 09:56:27 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository strip-nondeterminism.

commit 7ad7a41f940a95936889394a99348a2c4f36e35d
Author: Chris Lamb <lamby at debian.org>
Date:   Fri Sep 9 10:44:41 2016 +0100

    handlers/jar.pm: Reintroduce subroutine prototype on _jar_filename_cmp to fix ordering regression in .jar files.
---
 lib/File/StripNondeterminism/handlers/jar.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/File/StripNondeterminism/handlers/jar.pm b/lib/File/StripNondeterminism/handlers/jar.pm
index c5c7ad2..03e3719 100644
--- a/lib/File/StripNondeterminism/handlers/jar.pm
+++ b/lib/File/StripNondeterminism/handlers/jar.pm
@@ -28,7 +28,7 @@ use File::StripNondeterminism::handlers::zip;
 use File::StripNondeterminism::handlers::javadoc;
 use File::StripNondeterminism::handlers::javaproperties;
 
-sub _jar_filename_cmp {
+sub _jar_filename_cmp($$) {
 	my ($a, $b) = @_;
 	# META-INF/ and META-INF/MANIFEST.MF are expected to be the first entries in the Zip archive.
 	return 0 if $a eq $b;

-- 
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