directory handling

Eric Seppanen eds at reric.net
Fri Oct 11 01:03:53 CEST 2002


On Thu, Oct 10, 2002 at 06:39:49PM -0400, Gyepi SAM wrote:
> 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.

OK, I'm cranking away on it now.  Should be done inside of an hour.  I'll 
only be checking in code that replaces the directory handling.  This is 
done in preparation for a config file parser, but I'm not checking that 
code in right now.



More information about the bogofilter-dev mailing list