diff options
-rw-r--r-- | RPM4/NEWS | 1 | ||||
-rw-r--r-- | RPM4/src/RPM4.xs | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ - make Spec->build works with rpm-4.9 +- make initdb do all the needed work Version 0.26 - 21 December 2011 diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 99c251e..6d95edb 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1371,7 +1371,7 @@ rpmdbinit(rootdir = NULL) /* rpm{db,ts}init is deprecated, we open a database with create flags * and close it */ /* 0 on success */ - RETVAL = rpmtsOpenDB(ts, O_RDWR | O_CREAT); + RETVAL = rpmtsInitDB(ts, 0644); ts = rpmtsFree(ts); OUTPUT: RETVAL |