problems [was: casefolding]
David Relson
relson at osagesoftware.com
Thu May 15 03:53:32 CEST 2003
At 09:30 PM 5/14/03, m at mo.optusnet.com.au wrote:
>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
I think it's a mirroring problm.
http://aleron.dl.sourceforge.net/sourceforge/bogofilter/NEWS-0.12 is fine.
>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'.
I've correct that in cvs.
>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