diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-01-02 16:18:27 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-01-02 16:18:27 +0000 |
commit | e729ec3b2463bab2f5c3a0932931934a0a6191a5 (patch) | |
tree | cc9b6943f8ba0148b09a5c8ed85724af1acbe1a0 /RPM4 | |
parent | 648c944b62cdb647e78281e2dc5ac89c8dde56c4 (diff) | |
download | perl-RPM4-e729ec3b2463bab2f5c3a0932931934a0a6191a5.tar perl-RPM4-e729ec3b2463bab2f5c3a0932931934a0a6191a5.tar.gz perl-RPM4-e729ec3b2463bab2f5c3a0932931934a0a6191a5.tar.bz2 perl-RPM4-e729ec3b2463bab2f5c3a0932931934a0a6191a5.tar.xz perl-RPM4-e729ec3b2463bab2f5c3a0932931934a0a6191a5.zip |
(rpmdbinit) do all the needed work
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@176 971eb68f-4bfb-0310-8326-d2484c010a4c
Diffstat (limited to 'RPM4')
-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 |