From 19de623d966290f012dd43ffa3fe06a369355448 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Fri, 2 Nov 2007 13:01:07 +0000 Subject: [PATCH] - fix --root --rebuilddb Changed files: rpm-rpm5-patchset-8637.patch -> 1.1 --- rpm-rpm5-patchset-8637.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rpm-rpm5-patchset-8637.patch diff --git a/rpm-rpm5-patchset-8637.patch b/rpm-rpm5-patchset-8637.patch new file mode 100644 index 0000000..09538ec --- /dev/null +++ b/rpm-rpm5-patchset-8637.patch @@ -0,0 +1,12 @@ +Index: rpm/rpmdb/rpmdb.c +--- rpm/rpmdb/rpmdb.c 2007/10/22 02:48:42 1.195 ++++ rpm/rpmdb/rpmdb.c 2007/11/02 03:07:46 1.196 +@@ -3917,7 +3917,7 @@ + } + dbpath = rootdbpath = rpmGetPath(prefix, tfn, NULL); + if (!(prefix[0] == '/' && prefix[1] == '\0')) +- dbpath += strlen(prefix) - 1; ++ dbpath += strlen(prefix); + tfn = _free(tfn); + + /*@-nullpass@*/ -- 2.44.0