http://bugzilla.spamassassin.org/show_bug.cgi?id=3426

           Summary: n debug mode does not pring pyzor command arguments
           Product: Spamassassin
           Version: 2.63
          Platform: Other
               URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=245085
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


From: Stepan Koltsov <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: spamassassin: in debug mode does not pring pyzor command arguments
Date: Wed, 21 Apr 2004 15:39:32 +0400

Spamassassin invoked as "spamassassin -s -D" does not prinr pyzor
arguments. On my system it prints "raw exit code: 256"
and I cannot understand what happened.

Simple patch:

==========
--- Reporter.pm.orig    2004-04-21 15:31:58.000000000 +0400
+++ Reporter.pm 2004-04-21 15:33:42.000000000 +0400
@@ -318,7 +318,9 @@
       $opts = $1;
     }
 
-    my $pid = open(PYZOR, join(' ', $path, $opts, "report", "< '$tmpf'",
">/dev/null 2>&1", '|')) || die "$!\n";
+    my $command = join(' ', $path, $opts, "report", "< '$tmpf'", ">/dev/null
2>&1", '|');
+    dbg ("Executing Pyzor as $command");
+    my $pid = open(PYZOR, $command) || die "$!\n";
     $self->close_pipe_fh (\*PYZOR);
 
     alarm(0);
==========

[ DF: Sorry for the inline patch. If it wraps, get it from the listed URL ]



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to