Просмотр исходного кода

Dpkg::Source::Patch: Enable sub-second timestamps with Time::HiRes

We should have a recent enough Perl now.
Guillem Jover лет назад: 11
Родитель
Сommit
44915e38da
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 0
      debian/changelog
  2. 1 2
      scripts/Dpkg/Source/Patch.pm

+ 1 - 0
debian/changelog

@@ -33,6 +33,7 @@ dpkg (1.18.0) UNRELEASED; urgency=low
   * Prefer multiarch paths to multilib ones in Dpkg::Shlibs.
     Thanks to Helmut Grohne <helmut@subdivi.de>. Closes: #772184
   * Switch perl code from legacy File::Path functions to new ones.
+  * Enable sub-second timestamps in Dpkg::Source::Patch by using Time::HiRes.
 
  -- Guillem Jover <guillem@debian.org>  Tue, 09 Dec 2014 23:53:18 +0100
 

+ 1 - 2
scripts/Dpkg/Source/Patch.pm

@@ -33,8 +33,7 @@ use File::Spec;
 use File::Path qw(make_path);
 use File::Compare;
 use Fcntl ':mode';
-#XXX: Needed for sub-second timestamps, require recent perl
-#use Time::HiRes qw(stat);
+use Time::HiRes qw(stat);
 
 use parent qw(Dpkg::Compression::FileHandle);