problem with longoptions

David Relson relson at osagesoftware.com
Wed Mar 16 13:55:06 CET 2005


On Wed, 16 Mar 2005 13:48:45 +0100
Matthias Andree wrote:

> David Relson <relson at osagesoftware.com> writes:
> 
> > Up through 0.94.0, config file options were ignored if they didn't
> > apply to the program reading the config file.  Now there are complaints
> > and processing halts.  With the current code, the sharing of config
> > files is badly broken.  
> 
> > Below a sample config file and a message are processed by bogolexer and
> > bogofilter (versions 0.94.0 and cvs).  0.94.0 ignores what it doesn't
> > like, which is appropriate, while cvs complains.
> >
> > This needs to be fixed for the build.
> 
> This patch fixes your problem for me, and I see you have committed an
> essentially identical version to CVS.
> 
> Thanks for providing the test case.

Given that the problem turned out to be minor, it's not clear that the
test case is needed and I'm tempted to remove it.

_______________________________________________
Bogofilter-dev mailing list
Bogofilter-dev at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter-dev



More information about the bogofilter-dev mailing list