SA Bugzilla – Bug 3426
n debug mode does not pring pyzor command arguments
Last modified: 2005-04-28 17:55:55 UTC
From: Stepan Koltsov <yozh@banana.mx1.ru> To: Debian Bug Tracking System <submit@bugs.debian.org> 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 ]
move bug to Future milestone (previously set to Future -- I hope)
fixed for 3.1