1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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))
|