]>
Commit | Line | Data |
---|---|---|
19de623d AM |
1 | Index: rpm/rpmdb/rpmdb.c |
2 | --- rpm/rpmdb/rpmdb.c 2007/10/22 02:48:42 1.195 | |
3 | +++ rpm/rpmdb/rpmdb.c 2007/11/02 03:07:46 1.196 | |
4 | @@ -3917,7 +3917,7 @@ | |
5 | } | |
6 | dbpath = rootdbpath = rpmGetPath(prefix, tfn, NULL); | |
7 | if (!(prefix[0] == '/' && prefix[1] == '\0')) | |
8 | - dbpath += strlen(prefix) - 1; | |
9 | + dbpath += strlen(prefix); | |
10 | tfn = _free(tfn); | |
11 | ||
12 | /*@-nullpass@*/ |