On 07/10/11 10:54, Andrew Beverley wrote:
On Thu, 2011-10-06 at 13:23 +1300, Amos Jeffries wrote:
Oh, I forgot to say: the DB_ENV functionality requires a *directory*
rather than a file to be specified for the database (it creates
several
files). So, although I don't see a problem with this in principle, it
does break backwards compatibility. Any thoughts? Just bite the
bullet?
Andy
Um. Maybe check for dir/file type on the -b value and use it as base
path?
Or even better check for dir/file type and then either use legacy mode
(just a database file, but with the modern DB API) or DB_ENV mode (a
directory with several files).
Or is that what you meant anyway?
Something along those lines. Just hoping we could do the single-file
with the newer API I guess.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.15
Beta testers wanted for 3.2.0.12