[issue7] DirMngr: DB4 compatibility

Jan-Oliver Wagner aegypten-issues at intevation.de
Mon Dec 8 16:18:20 CET 2003


New submission from Jan-Oliver Wagner <jan at intevation.de>:

As reported by Daniel Molkentin, 25-Nov-2003, this makes
dirmngr work with DB4:

diff -u -r dirmngr-0.5.0/src/crlcache.c dirmngr-0.5.0-sav/src/crlcache.c
--- dirmngr-0.5.0/src/crlcache.c	2003-11-17 11:58:04.000000000 +0100
+++ dirmngr-0.5.0-sav/src/crlcache.c	2003-11-25 19:56:51.000000000 +0100
@@ -90,7 +90,7 @@
 #ifdef HAVE_DB4_DB_H
   int rc = db_create( dbpp, 0, 0 );
   if( !rc ) {
-    rc = (*dbpp)->open( *dbpp, file, 0, DB_HASH, DB_CREATE, S_IRUSR|S_IWUSR);
+    rc = (*dbpp)->open( *dbpp, NULL, file, 0, DB_HASH, DB_CREATE,
S_IRUSR|S_IWUSR );
   }
   return rc;
 #elif HAVE_DB2_DB_H

----------
messages: 10
nosy: jan
priority: bug
status: unread
title: DirMngr: DB4 compatibility
______________________________________________________
Aegypten issue tracker <aegypten-issues at intevation.de>
<https://intevation.de/roundup/aegypten/issue7>
______________________________________________________



More information about the Gpa-dev mailing list