]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix --root --rebuilddb
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 2 Nov 2007 13:01:07 +0000 (13:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-rpm5-patchset-8637.patch -> 1.1

rpm-rpm5-patchset-8637.patch [new file with mode: 0644]

diff --git a/rpm-rpm5-patchset-8637.patch b/rpm-rpm5-patchset-8637.patch
new file mode 100644 (file)
index 0000000..09538ec
--- /dev/null
@@ -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@*/
This page took 0.042764 seconds and 4 git commands to generate.