mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Fixed guardian ignore file handling and linefead detection.
This commit is contained in:
@@ -211,7 +211,8 @@ sub build_ignore_hash {
|
|||||||
if ($ignorefile ne "") {
|
if ($ignorefile ne "") {
|
||||||
open (IGNORE, $ignorefile);
|
open (IGNORE, $ignorefile);
|
||||||
while (<IGNORE>) {
|
while (<IGNORE>) {
|
||||||
chop;
|
$_=~ s/\s+$//;
|
||||||
|
chomp;
|
||||||
next if (/\#/); #skip comments
|
next if (/\#/); #skip comments
|
||||||
next if (/^\s*$/); # and blank lines
|
next if (/^\s*$/); # and blank lines
|
||||||
$ignore{$_}=1;
|
$ignore{$_}=1;
|
||||||
|
|||||||
@@ -296,7 +296,7 @@
|
|||||||
* rssdler-0.4.0a
|
* rssdler-0.4.0a
|
||||||
* rsync-3.0.7
|
* rsync-3.0.7
|
||||||
* rtorrent-0.8.6
|
* rtorrent-0.8.6
|
||||||
* samba-3.5.3
|
* samba-3.5.4
|
||||||
* sane-1.0.19
|
* sane-1.0.19
|
||||||
* screen-4.0.3
|
* screen-4.0.3
|
||||||
* sdparm-1.01
|
* sdparm-1.01
|
||||||
|
|||||||
Reference in New Issue
Block a user