[Git][reproducible-builds/strip-nondeterminism][debian] 4 commits: Call file(1) with the "--" argument placeholder to fix normalisation of files...

Chris Lamb gitlab at salsa.debian.org
Tue Mar 12 18:48:28 CET 2019


Chris Lamb pushed to branch debian at Reproducible Builds / strip-nondeterminism


Commits:
82d9ee5d by Chris Lamb at 2019-03-12T17:28:51Z
Call file(1) with the "--" argument placeholder to fix normalisation of files starting with a hyphen. (Closes: reproducible-builds/strip-nondeterminism#6, #924407)

- - - - -
52f58c5b by Chris Lamb at 2019-03-12T17:47:00Z
Release version 1.1.2

- - - - -
d1d58b71 by Chris Lamb at 2019-03-12T17:47:14Z
Merge tag '1.1.2' into debian

Release version 1.1.2

* tag '1.1.2':
  Release version 1.1.2
  Call file(1) with the "--" argument placeholder to fix normalisation of files starting with a hyphen. (Closes: reproducible-builds/strip-nondeterminism#6, #924407)

- - - - -
b9f7ff12 by Chris Lamb at 2019-03-12T17:47:44Z
Update changelog for 1.1.2-1 release

- - - - -


2 changed files:

- debian/changelog
- lib/File/StripNondeterminism.pm


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+strip-nondeterminism (1.1.2-1) unstable; urgency=medium
+
+  * Call file(1) with the "--" argument placeholder to fix normalisation of
+    files starting with a hyphen.
+    (Closes: reproducible-builds/strip-nondeterminism#6, #924407)
+
+ -- Chris Lamb <lamby at debian.org>  Tue, 12 Mar 2019 17:47:40 +0000
+
 strip-nondeterminism (1.1.1-1) unstable; urgency=medium
 
   * dh_strip_nondeterminism: Deduplicate hardlinks via stat(2) to avoid issues


=====================================
lib/File/StripNondeterminism.pm
=====================================
@@ -25,7 +25,7 @@ use POSIX qw(tzset);
 
 our($VERSION, $canonical_time, $clamp_time);
 
-$VERSION = '1.1.1'; # <https://semver.org/>
+$VERSION = '1.1.2'; # <https://semver.org/>
 
 sub init() {
 	$ENV{'TZ'} = 'UTC';
@@ -35,7 +35,7 @@ sub init() {
 sub _get_file_type($) {
 	my $file=shift;
 	open(FILE, '-|') # handle all filenames safely
-	  || exec('file', $file)
+	  || exec('file', '--', $file)
 	  || die "can't exec file: $!";
 	my $type=<FILE>;
 	close FILE;



View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/compare/f360b3ce7b86087433a4e1b6d4922f52ce9fcd6c...b9f7ff12933e6bc0f5801940702d3c6e99dd69ab

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/strip-nondeterminism/compare/f360b3ce7b86087433a4e1b6d4922f52ce9fcd6c...b9f7ff12933e6bc0f5801940702d3c6e99dd69ab
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190312/fdafc004/attachment.html>


More information about the rb-commits mailing list