3187b3280f
db2 code using hints from debian's fix. makevpopdb works now, but there are still bugs lurking in the virtual domain code. no PKGREVISION bump as db2 is not enabled by default.
13 lines
476 B
Text
13 lines
476 B
Text
$NetBSD: patch-ag,v 1.1 2004/09/02 10:39:04 grant Exp $
|
|
|
|
--- makevpopdb.c.orig 1998-05-12 10:50:53.000000000 +1000
|
|
+++ makevpopdb.c
|
|
@@ -49,7 +49,7 @@ main(int argc,const char*argv[])
|
|
}
|
|
dbname=argv[1];
|
|
memset(&dbenv,0,sizeof dbenv);
|
|
- if(!db_appinit(0,0,&dbenv,0))
|
|
+ if(db_appinit(0,0,&dbenv,0))
|
|
fprintf(stderr,"makedb2: Can't init db subsystem\n"),retval=EX_CANTCREAT;
|
|
else
|
|
{ if(db_open(dbname,DB_HASH,DB_CREATE|DB_TRUNCATE,0666,&dbenv,(void*)0,&db))
|