hi...

I just upgraded Razor-Agent 2.14 to 2.20, and now I have a Problem:

haegar@space:/local/home/haegar > razor-check
Can't use an undefined value as a symbol reference at
/linux/pkg/perl5.005_03/lib/site_perl/5.005/i586-linux/Razor2/Client/Agent.pm
line 756.

The attached patch fixes it for me.

c'ya
sven

ps: as you can see from the above command, I'm still using perl 5.005_03
    on my mailserver, which is kind of rare now and many programs aren't
    tested against it anymore, behaps this is part of the problem.


Patch follows:

--- razor-agents-2.20/lib/Razor2/Client/Agent.pm.orig   Sat Oct 26 05:48:39 2002
+++ razor-agents-2.20/lib/Razor2/Client/Agent.pm        Sat Oct 26 05:49:11 2002
@@ -756,6 +756,7 @@
         if (ref $file) {
             $fh = $file
         } else {
+            $fh = *FOOBAR;
             open $fh, "<$file" or return $self->error("Can't open $file: $!");
         }
         next unless defined(my $line = <$fh>);

-- 

The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to