building paths

Matthias Andree matthias.andree at gmx.de
Fri Jan 14 11:36:12 CET 2005


David Relson <relson at osagesoftware.com> writes:

> I'm also noticing that the full path to the database is only used when
> opening the database and for error messages.  Perhaps the real path
> could be built in ds_open(), which would be called with "pieces" 
> (directory, separator, filename).  I suspect that there's a gotcha :-<

Most databases are fine with just the complete path (absolute or
relative doesn't matter). Berkeley DB TXN however also needs the
directory part because we use that for the environment. Other than that,
I don't recall other gotchas offhand.

-- 
Matthias Andree



More information about the bogofilter-dev mailing list