[Logwatch-Devel] CVS update logwatch.pl please test

Markus Lude lude at informatik.uni-tuebingen.de
Sun Jan 8 17:25:38 MST 2006


On Sun, Jan 08, 2006 at 03:26:28PM -0800, Mike Tremaine wrote:
> On Sun, 2006-01-08 at 21:21 +0100, Markus Lude wrote:
> > On Wed, Jan 04, 2006 at 10:01:46AM -0800, Mike Tremaine wrote:
> > > 
> > > I just committed the HTML and MIME::Base64 patches to logwatch.pl this
> > > was pretty large re-write and it needs both testing and a few cleanups
> > > but I wanted to get the majority of it out now. So for those braves
> > > souls out there please give it a test.
> > > 
> > > 
> > > Changes...
> > 
> > # ./logwatch_test.pl --mailto lude
> > works well, but the following not
> > 
> > # ./logwatch_test.pl --mailto lude --service kernel
> > print() on unopened filehandle OUTFILE at /pathto/logwatch_test.pl line 1169.
> > print() on unopened filehandle OUTFILE at /pathto/logwatch_test.pl line 1179.
> > print() on unopened filehandle OUTFILE at /pathto/logwatch_test.pl line 1180.
> > print() on unopened filehandle OUTFILE at /pathto/logwatch_test.pl line 1185.
> > 
> 
> I committed a fix to CVS... Basically if ther ewas no output then
> initprint() is never called, which means OUTFILE is never opened. Since
> I was lazy and just assumed printing empty strings was ok. ;) KABOOM....
> 
> Here is the simple fix.
 
[fix]

Seems to work so far. Thanks.

I noticed some other thing: in line 1115 in logwatch.pl there is a call
to the no longer existing function outline() left.

Regards,
Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://ip70-176-100-107.ph.ph.cox.net/pipermail/logwatch-devel/attachments/20060108/da498d2c/attachment.bin


More information about the Logwatch-Devel mailing list