]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Log.pm
remove UTF8 warnings
[debbugs.git] / Debbugs / Log.pm
index dce86d5c05a36d708ed22efe3c95cf4b062c7783..5a7306de38ecfd5ecee354e06961aad60610badd 100644 (file)
@@ -16,7 +16,7 @@ use warnings;
 use strict;
 
 use vars qw($VERSION $DEBUG @EXPORT @EXPORT_OK %EXPORT_TAGS);
-use base qw(Exporter);
+use Exporter qw(import);
 
 BEGIN {
     $VERSION = 1.00;
@@ -289,6 +289,9 @@ sub read_record
                $record->{recips} = [split /\04/, $_, -1];
            }
            $this->{state} = 'kill-body';
+        $record->{start} = $logfh->tell+2;
+        $record->{stop} = $logfh->tell+2;
+        $record->{inner_file} = $this->{inner_file};
        } elsif ($this->{state} eq 'autocheck') {
            $record->{text} .= "$_\n" unless $this->{inner_file};
            next if !/^X-Debian-Bugs(-\w+)?: This is an autoforward from (\S+)/;