From fd4da55b68527cfef08eeffbb39915cf2ee01ed9 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Thu, 24 Jun 2010 21:39:07 +0200 Subject: [PATCH] Fixed guardian ignore file handling and linefead detection. --- config/guardian/guardian.pl | 3 ++- doc/packages-list.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/guardian/guardian.pl b/config/guardian/guardian.pl index b5c3f9c16a..8c2e3b7046 100644 --- a/config/guardian/guardian.pl +++ b/config/guardian/guardian.pl @@ -211,7 +211,8 @@ sub build_ignore_hash { if ($ignorefile ne "") { open (IGNORE, $ignorefile); while () { - chop; + $_=~ s/\s+$//; + chomp; next if (/\#/); #skip comments next if (/^\s*$/); # and blank lines $ignore{$_}=1; diff --git a/doc/packages-list.txt b/doc/packages-list.txt index 42a483d9c6..acde82953e 100644 --- a/doc/packages-list.txt +++ b/doc/packages-list.txt @@ -296,7 +296,7 @@ * rssdler-0.4.0a * rsync-3.0.7 * rtorrent-0.8.6 -* samba-3.5.3 +* samba-3.5.4 * sane-1.0.19 * screen-4.0.3 * sdparm-1.01 -- 2.39.2