Michał Jęczalik
2007-Sep-10 07:49 UTC
[Logcheck-devel] Bug#441388: There is a problem with hardcoded .gz extension as well
Here: if (-e "$filename.0" && (mtime("$filename.0") > mtime("$filename.1.gz")) ) { And then, if you i.e. use bzip2 or no compression at all, the whole logtail2 exits due to exit() in mtime(), because it cannot stat an unexisting file.
Marc Haber
2007-Sep-11 05:54 UTC
[Logcheck-devel] Bug#441388: Bug#441388: There is a problem with hardcoded .gz extension as well
On Mon, Sep 10, 2007 at 09:49:10AM +0200, Micha? J?czalik wrote:> if (-e "$filename.0" && (mtime("$filename.0") > > mtime("$filename.1.gz")) ) { > > And then, if you i.e. use bzip2 or no compression at all, the whole > logtail2 exits due to exit() in mtime(), because it cannot stat an > unexisting file.That's a duplicate bug, and the original bug has a patch. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190