aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs3
1 files changed, 3 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index eb60871..f0a6654 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1187,6 +1187,7 @@ Db_open(prefix="/")
old_cb = rpmErrorSetCallback(callback_empty);
rpmSetVerbosity(RPMMESS_FATALERROR);
RETVAL = rpmdbOpen(prefix, &db, O_RDONLY, 0644) == 0 ? db : NULL;
+ fprintf(stderr, "opening read only rpm db %p\n", db);
rpmErrorSetCallback(old_cb);
rpmSetVerbosity(RPMMESS_NORMAL);
OUTPUT:
@@ -1203,6 +1204,7 @@ Db_open_rw(prefix="/")
old_cb = rpmErrorSetCallback(callback_empty);
rpmSetVerbosity(RPMMESS_FATALERROR);
RETVAL = rpmdbOpen(prefix, &db, O_RDWR | O_CREAT, 0644) == 0 ? db : NULL;
+ fprintf(stderr, "opening read-write rpm db %p\n", db);
rpmErrorSetCallback(old_cb);
rpmSetVerbosity(RPMMESS_NORMAL);
OUTPUT:
@@ -1212,6 +1214,7 @@ void
Db_DESTROY(db)
URPM::DB db
CODE:
+ fprintf(stderr, "closing rpm db %p\n", db);
rpmdbClose(db);
int