bogofilter -u broken: locking issue
Gyepi SAM
gyepi at praxis-sw.com
Fri Oct 11 00:39:49 CEST 2002
On Thu, Oct 10, 2002 at 04:57:57PM -0500, Eric Seppanen wrote:
> 2. Placing new requirements on when and where list initialization occurs
> will be troublesome because I'm adding the config function to add new
> lists. I'm not sure what to do about this because right now, the config
> file parser ends up calling init_list(). Right now we make no distinction
> between loading the list structure data (name, weight, etc.) and actually
> opening the database.
>
> I haven't committed these two changes because I haven't made sure the
> whole thing works yet. However, the directory handling is very
> straightforward and I could probably commit that at any time if nobody
> objects.
I have no object at all. Once you check in the changes, I will probably replace
your db_open() calls with db_init() which will do everything but open the database.
Then each function that needs to use a database will also have to open it. Should
be pretty straightforward.
-Gyepi
More information about the bogofilter-dev
mailing list