[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.4-140-g83e0e3f



The following commit has been merged in the master branch:
commit 83e0e3ff0425b0057bc110a56ed37cd63e3f86e2
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Feb 4 13:31:52 2012 +0100

    c/file-info: pass -N to file(1) to avoid output alignment
    
    For packages with long filenames the alignment can be a considerably
    part of the size (e.g. the lintian/2.5.4 source).
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/collection/file-info b/collection/file-info
index 3e91601..63f2bc0 100755
--- a/collection/file-info
+++ b/collection/file-info
@@ -55,7 +55,7 @@ chdir('unpacked')
 my %opts = ( pipe_in => FileHandle->new,
              out => $outfile,
              fail => 'never' );
-spawn(\%opts, ['xargs', '-0r', 'file', '-F', '', '--print0', '--'], '|', [$helper]);
+spawn(\%opts, ['xargs', '-0r', 'file', '-NF', '', '--print0', '--'], '|', [$helper]);
 $opts{pipe_in}->blocking(1);
 
 while (<INDEX>) {
diff --git a/debian/changelog b/debian/changelog
index d4b33eb..26c6284 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -133,8 +133,10 @@ lintian (2.5.5) UNRELEASED; urgency=low
   * collection/index:
     + [NT] Use Lintian::Processable::Package to determine source
       name and version.
-  * collection/file-info-helper:
+  * collection/file-info{,-helper}:
     + [NT] Do not open non-files when double-checking gzip files.
+    + [NT] Pass "-N" to file as Lintian does not need the aligned
+      output.
   * collection/md5sums:
     + [NT] Properly handle unpacked being a symlink.
   * collection/source-control-file{,.desc}:

-- 
Debian package checker


Reply to: