Commit 7ad7a41f authored by Chris Lamb's avatar Chris Lamb 💬

handlers/jar.pm: Reintroduce subroutine prototype on _jar_filename_cmp to fix...

handlers/jar.pm: Reintroduce subroutine prototype on _jar_filename_cmp to fix ordering regression in .jar files.
parent ead819d4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment