On Mon, Mar 16, 2009 at 10:56:11AM +0100, Marc Dequènes (Duck) wrote:
> Coin,
>
> Quoting "Mark Hindley" <m...@hindley.org.uk>:
>
>> Could you try this patch.
>
> Just moved the complaint to the log_set_config() line.

Sorry, they have changed the flag as well. Is this better?

commit 9d0562b66e472e40c0dda778af58708c92b2abce
Author: Mark Hindley <m...@hindley.org.uk>
Date:   Mon Mar 16 10:35:39 2009 +0000

    DB_LOG_INMEMORY changed to DB_LOG_IN_MEMORY!!

diff --git a/apt-cacher-lib-cs.pl b/apt-cacher-lib-cs.pl
index 83feed9..e0665c4 100755
--- a/apt-cacher-lib-cs.pl
+++ b/apt-cacher-lib-cs.pl
@@ -124,7 +124,7 @@ sub db_recover {
            DB_INIT_MPOOL | DB_INIT_TXN |
              DB_RECOVER | DB_PRIVATE | DB_USE_ENVIRON,
                  or die "Unable to create recovery environment: 
$BerkeleyDB::Error\n";
-    $renv->log_set_config( DB_LOG_INMEMORY, 1 ) && warn "log_set_config failed 
with $!";
+    $renv->log_set_config( DB_LOG_IN_MEMORY, 1 ) && warn "log_set_config 
failed with $!";
     close $logfile;
     unlink "$cfg->{cache_dir}/private/dblock";
     return defined $renv;



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to