projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0833c56
)
Get the database permissions right.
author
jbj
<devnull@localhost>
Fri, 31 Mar 2000 17:23:13 +0000
(17:23 +0000)
committer
jbj
<devnull@localhost>
Fri, 31 Mar 2000 17:23:13 +0000
(17:23 +0000)
CVS patchset: 3650
CVS date: 2000/03/31 17:23:13
python/rpmmodule.c
patch
|
blob
|
history
diff --git
a/python/rpmmodule.c
b/python/rpmmodule.c
index
aaa684b
..
5f3ae74
100644
(file)
--- a/
python/rpmmodule.c
+++ b/
python/rpmmodule.c
@@
-506,7
+506,7
@@
static rpmdbObject * rpmOpenDB(PyObject * self, PyObject * args) {
o = PyObject_NEW(rpmdbObject, &rpmdbType);
o->db = NULL;
- if (rpmdbOpen(root, &o->db, forWrite ? O_RDWR | O_CREAT: O_RDONLY, 0)) {
+ if (rpmdbOpen(root, &o->db, forWrite ? O_RDWR | O_CREAT: O_RDONLY, 0
644
)) {
char * errmsg = "cannot open database in %s";
char * errstr = NULL;
int errsize;