Bug 4487 - Putting sa-learn -D argument at end of options hangs sa-learn
Summary: Putting sa-learn -D argument at end of options hangs sa-learn
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Learner (show other bugs)
Version: 3.0.4
Hardware: PC Linux
: P4 trivial
Target Milestone: 3.1.0
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords: triage
Depends on:
Blocks:
 
Reported: 2005-07-16 18:45 UTC by Scott Jordan
Modified: 2005-07-28 08:13 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Jordan 2005-07-16 18:45:32 UTC
 
Comment 1 Scott Jordan 2005-07-16 18:50:10 UTC
sa-learn hangs. ^C causes it to give:

interrupted at /usr/bin/sa-learn line 412.

Command line was:

sa-learn --spam --mbox -D spamfile

Putting -D as first option works fine.
Comment 2 Theo Van Dinter 2005-07-16 22:03:52 UTC
> Command line was:
> sa-learn --spam --mbox -D spamfile
> Putting -D as first option works fine.

Yes, this is expected.  -D accepts an optional value following it to focus the debugging.  There's no way to 
know if "spamfile" is a debug option or not.
Comment 3 Bob Menschel 2005-07-18 18:41:52 UTC
There's no indication I can find in the sa-learn documentation that there is
this optional value to the -D parameter. Reopening the bugzilla with a minor
severity, so we can update the documentation. Setting 3.1.0 target, since it's
just documentation and should be easy to update. 
Comment 4 Justin Mason 2005-07-23 16:07:50 UTC
doc fix... should be applicable without a vote (once it's written)
Comment 5 Justin Mason 2005-07-28 16:13:19 UTC
trunk:
Sending        sa-learn.raw
Transmitting file data .
Committed revision 226282.

3.1.0:
Sending        sa-learn.raw
Transmitting file data .
Committed revision 226283.