OO Progress Report
Matthias Andree
matthias.andree at gmx.de
Sun Jan 30 22:05:01 CET 2005
David Relson <relson at osagesoftware.com> writes:
> I have a working prototype of the OO code. Since I'm off to my
> daughter's soccer game shortly and then it's my son's birthday, CVS
> won't be updated until later.
Yup. I'll then forget about the environment leaks in the current RTS CVS
branch and re-check after the CVS update.
>
> At the moment, I'm using three new files:
>
> datastore_db_private.h - for OO method and struct definitions.
> datastore_db_trad.c - for traditional (non-transaction) code
> datastore_db_trans.c - for transaction code.
>
> There is 1 new global variable, dsm, which points to the list of
> datastore methods.
>
> There are presently 8 references to fTransaction:
>
> bogoconfig.c:1
> bogoutil.c:1
> datastore_db.c:4
> globals.c:1
> globals.h:1
>
> 4 of them are assert statements:
>
> assert((fTransaction==false)==(handle->txn==NULL));
Sounds better.
--
Matthias Andree
More information about the bogofilter-dev
mailing list