random oddities and questions

David Relson relson at osagesoftware.com
Tue Oct 8 15:31:52 CEST 2002


At 09:22 AM 10/8/02, Gyepi SAM wrote:
>On Tue, Oct 08, 2002 at 08:25:48AM -0400, David Relson wrote:
>
> > Since you're changing database and/or locking code, how hard is it to open
> > the databases read-only when classifying messages?
>
>That's a good idea. It would require that we move the database 
>initialization to
>after the getopt loop, then pass a read mode flag to the db_open function. 
>I think the
>current error handling can also deal with the case when we attempt to open 
>a nonexistent
>database in read-only mode.

The database initialization (in CVS) is _already_ after the getopt 
loop.  Given that '-d directory' can be used to specify the bogofilter_dir, 
it'd be very tricky to open databases before the loop :-)


>I'll add that too then.

Great!





More information about the bogofilter-dev mailing list