X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FStatus.pm;h=ab35b814dae6f2c50797dc50c5d6fb069d3f8301;hb=7564a358fe324b1acd536fa05c42d16a6b610de8;hp=7ad3af457a794b13a28a20f420d5d6e312b37259;hpb=0c36b3e07f6ad19c6bb6c10a04780c4c1a06d3e0;p=debbugs.git diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index 7ad3af4..ab35b81 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -280,7 +280,7 @@ sub read_bug{ my $status_modified = (stat($status))[9]; # Add log last modified time - $data{log_modified} = (stat($log))[9]; + $data{log_modified} = (stat($log))[9] // (stat("${log}.gz"))[9]; my $report_modified = (stat($report))[9] // $data{log_modified}; $data{last_modified} = max($status_modified,$data{log_modified}); # if the date isn't set (ancient bug), use the smallest of any of the modified