[strip-nondeterminism] 01/01: jar.pm: Update comment to reflect that NTFS has a 2s timestamp granularity.
Chris Lamb
chris at chris-lamb.co.uk
Fri Oct 6 09:04:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository strip-nondeterminism.
commit e03d38223af9b87c4c62d095fa8e2640b68b9850
Author: Chris Lamb <lamby at debian.org>
Date: Fri Oct 6 10:03:21 2017 +0100
jar.pm: Update comment to reflect that NTFS has a 2s timestamp granularity.
---
lib/File/StripNondeterminism/handlers/jar.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/File/StripNondeterminism/handlers/jar.pm b/lib/File/StripNondeterminism/handlers/jar.pm
index 0d14260..426bdb9 100644
--- a/lib/File/StripNondeterminism/handlers/jar.pm
+++ b/lib/File/StripNondeterminism/handlers/jar.pm
@@ -96,7 +96,9 @@ sub _jar_normalize_member($$) {
# Clojure considers the .class file to be stale if it shares
# the same timestamp of the .clj. We thus adjust the timestamps
# of the .clj to always be to older than the .class. We do not
- # need to worry about underflow due to Zip's SAFE_EPOCH.
+ # need to worry about underflow due to Zip's SAFE_EPOCH, nor
+ # the 2s timestamp granularity of NTFS as the file is not
+ # extracted to the filesystem, merely queried.
$timestamp--;
} elsif ($member->fileName() =~ /\.jar$/) {
File::StripNondeterminism::handlers::zip::normalize_member($member,
--
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