PATCH (revised) [was: Bogoutil error ...]

David Relson relson at osagesoftware.com
Wed Mar 9 02:31:50 CET 2005


On Tue, 8 Mar 2005 20:05:17 -0500
Clint Adams wrote:

> > or you can try this patch; save the body of this email, unpack
> 
> The patch doesn't apply cleanly to 0.94.0, and there is a problem with
> number of arguments to dsm_recover_open().

Further, there's a file/directory confusion issue ...

At datastore_db.c:943 is:

    dbe = dsm->dsm_recover_open(directory);

However at datastore_db_trad.c:43 is:

  static DB_ENV *bft_recover_open (const char *db_file);

Changing datastore_db.c to 

   dbe = dsm->dsm_recover_open(db_file);

corrects the problem.

Updated patch (with all datastore*.c changes) attached.

David
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.0308.datastore.c
URL: <http://www.bogofilter.org/pipermail/bogofilter/attachments/20050308/5d9ad3fd/attachment.c>
-------------- next part --------------
_______________________________________________
Bogofilter mailing list
Bogofilter at bogofilter.org
http://www.bogofilter.org/mailman/listinfo/bogofilter


More information about the Bogofilter mailing list