X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FLog.pm;h=d824d9a996d1b3fdce8fae13954fb28d7614e55c;hb=0c2305d4c89d165140bc955a50f3248c9c9ba7ad;hp=2531a6d5c22e017d3dcc8db9ba07e9029825a2fd;hpb=579e7989241accf28828f218679da2131e449900;p=debbugs.git diff --git a/Debbugs/Log.pm b/Debbugs/Log.pm index 2531a6d..d824d9a 100644 --- a/Debbugs/Log.pm +++ b/Debbugs/Log.pm @@ -249,6 +249,7 @@ sub read_record my $record = {}; while (defined (my $line = <$logfh>)) { + $record->{start} = $logfh->tell() if not defined $record->{start}; chomp $line; ++$this->{linenum}; if (length($line) == 1 and exists $states{ord($line)}) {