summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/src/RPM4.xs1
2 files changed, 2 insertions, 0 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index 1be37a9..3dd8682 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,5 +1,6 @@
- fix running rpm_produced
- improve doc
+- fix a segfault
- testsuite:
o disable tests that involve a pasphrase
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 659f496..04c65ee 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -1818,6 +1818,7 @@ Ts_transreset(ts)
rpmts ts
PPCODE:
rpmtsEmpty(ts);
+ rpmtsSetRootDir(ts, "/");
# Remaping function: