Re casefolding
m at mo.optusnet.com.au
m at mo.optusnet.com.au
Thu May 15 03:30:13 CEST 2003
David Relson <relson at osagesoftware.com> writes:
>
> >Note that NEWS-0.12 on the sourceforge download page doesn't seem to
> >have been updated for 0.12.3 and there's a stray debug fprintf() in
> >main.c that's printing out the name of every input file in bulk mode!
>
> Eh? I just downloaded NEWS-0.12 and it has "0.12.3 2003-05-10" as the
> second line. What are you seeing?
http://easynews.dl.sourceforge.net/sourceforge/bogofilter/NEWS-0.12
The file contained in the tar.gz is fine.
> Bulk mode prints out both filename _and_ spamicity message. That was
> in the initial implementation. The purpose is to identify the file to
> which the score applies.
[...]
fprintf(stderr, "Can't read file '%s'\n", filename);
continue;
}
initialize(fpin);
fprintf(dbgout, "%s ", filename );
}
[...]
This used to be 'fprintf(out, ...' rather than 'dbgout'.
Currently, that means that the filename is printed to stderr,
and the bogosity is printed to stdout. V V bad as
they no longer print on the same line (and redirecting
stdout no longer catches the filename!)
(Originally I thought that it was printing the filename out
to both stderr and stdout. My mistake. It only prints it to
stdout).
Michael.
More information about the Bogofilter
mailing list