Package: listadmin
Version: 2.40-2.1
Severity: grave
Tags: patch
Justification: renders package unusable

2.32-1 worked, but after update to 2.40-2.1 listadmin only displays
"fetching data for foo ... nothing in queue".

This patch fixes it for me:


--- /usr/bin/listadmin  2008-08-11 23:47:17.000000000 +0200
+++ listadmin   2008-08-13 20:41:47.000000000 +0200
@@ -779,6 +779,11 @@
        } else {
            parse_approvals ($mmver, $config, $parse_appr, \%data);
        }
+    } else {
+       $parse_appr->get_tag ("hr");
+       if ($parse_appr->get_tag ("h2")) {
+           parse_approvals ($mmver, $config, $parse_appr, \%data);
+       }
     }
     return (\%data);
 }


(The $parse_subs->get_tag ("hr") call eats the whole document
if no <hr> is present, making the following $parse_subs->get_tag ("h2")
call fail.)


Johannes

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=de_DE.utf-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages listadmin depends on:
ii  libcrypt-ssleay-perl          0.57-1+b1  Support for https protocol in LWP
ii  libtext-reform-perl           1.12.2-1   Perl module for manual text wrappi
ii  libwww-perl                   5.813-1    WWW client/server library for Perl

listadmin recommends no packages.

listadmin suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to