Fixed guardian ignore file handling and linefead detection.

This commit is contained in:
Christian Schmidt
2010-06-24 21:39:07 +02:00
parent aed6025408
commit fd4da55b68
2 changed files with 3 additions and 2 deletions

View File

@@ -211,7 +211,8 @@ sub build_ignore_hash {
if ($ignorefile ne "") {
open (IGNORE, $ignorefile);
while (<IGNORE>) {
chop;
$_=~ s/\s+$//;
chomp;
next if (/\#/); #skip comments
next if (/^\s*$/); # and blank lines
$ignore{$_}=1;