15 lines
434 B
Diff
15 lines
434 B
Diff
|
Always use DB_PRIVATE. Should probably be configured instead.
|
||
|
|
||
|
--- ./rpmdb/db3.c.orig 2005-03-23 18:15:28.000000000 +0000
|
||
|
+++ ./rpmdb/db3.c 2006-01-27 20:08:29.000000000 +0000
|
||
|
@@ -1034,6 +1050,9 @@ static int db3open(rpmdb rpmdb, rpmTag r
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
+ /* always use fcntl lock */
|
||
|
+ dbi->dbi_eflags |= DB_PRIVATE;
|
||
|
+
|
||
|
if (access(dbhome, W_OK) == -1) {
|
||
|
|
||
|
/* dbhome is unwritable, don't attempt DB_CREATE on DB->open ... */
|