Re: [exim] Announce: Exilog 0.4

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Sven Hartge
Fecha:  
A: srunschke
Cc: exim-users
Asunto: Re: [exim] Announce: Exilog 0.4
Um 15:13 Uhr am 03.08.05 schrieb srunschke@???:

> I tried to contact the author, but he does not respond to emails.


Strange. Normally Tom is very responsive.

> Did anyone have success in getting this to run? It's throwing several
> errors for me which I seem to be unable to resolve.


Try the attached patch, which resolves a problem in the recently added
timezone code.

Grüße,
Sven.

--
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://sven.formvision.de/blog/diff -ur exilog-0.4.new/exilog_util.pm exilog-0.4.new2/exilog_util.pm
--- exilog-0.4.new/exilog_util.pm    2005-07-26 14:25:51.000000000 +0200
+++ exilog-0.4.new2/exilog_util.pm    2005-08-02 16:58:25.000000000 +0200
@@ -88,7 +88,7 @@
   $month--;
 
     # This is for parsing timestamps that include GMT offsets
-  if ($junk ne "") {
+  if (defined($junk) && $junk ne "") {
     my $hoff = ($junk =~ /[-+](\d\d)\d\d/);
     my $moff = ($junk =~ /[-+]\d\d(\d\d)/);
     if ($junk =~ /\+/) {