Package: whohas
Version: 0.21-2
Severity: normal

The package version field is silently truncated to 10 characters.

Annoying when it truncates to the obviously-wrong "2.6.27.dfs" or
"1.1.3-0ubu"; worse when "1.6.0~bzr57-1" becomes "1.6.0~bzr5".
(examples are libxml2, disksearch and bzr-search respectively)

The attached patch makes that column 20 characters wide, but I'm not
convinced that this is the Right Thing.

Regards,
Steve
commit 2ae97c9946539e11e6a3243dbd2ce139f3643905
Author: Steve Cotton <[email protected]>
Date:   Mon Dec 29 19:26:38 2008 +0000

    Wider column for version

diff --git a/whohas b/whohas
index 30fb79d..0de8f47 100755
--- a/whohas
+++ b/whohas
@@ -44,7 +44,7 @@ unless (-d $confdir) {
        mkdir ($confdir, 0777);
 }
 
-my @columns = (11,25,10,4,10,11);
+my @columns = (11,25,20,4,10,11);
 my $cols = 6;
 
 my $arch_bool          = 1;

Reply via email to