diff options
Diffstat (limited to 'RPM4/src')
-rw-r--r-- | RPM4/src/RPM4.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 6fb1003..f0bb272 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -1379,7 +1379,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_CREAT); + RETVAL = rpmtsOpenDB(ts, O_RDWR | O_CREAT); ts = rpmtsFree(ts); OUTPUT: RETVAL |