summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-12-20 16:28:46 +0000
committerjbj <devnull@localhost>2001-12-20 16:28:46 +0000
commita3b362c466a12488fffe2f6dd4fffb728da2b0c0 (patch)
tree87466d8fedd5bdcfb95c48297223b6e44c5e8df1 /db
parent7940b1b4a5eb6a0371651904095e9c6b06206de1 (diff)
downloadrpm-a3b362c466a12488fffe2f6dd4fffb728da2b0c0.tar.gz
rpm-a3b362c466a12488fffe2f6dd4fffb728da2b0c0.tar.bz2
rpm-a3b362c466a12488fffe2f6dd4fffb728da2b0c0.zip
- solaris: translate i86pc to i386 (#57182).
- fix: %GNUconfigure breaks with single quotes (#57264). - fix: typo in find-requires. - tru64 compiler message cleanup. - add buildarch lines for hppa (#57728). CVS patchset: 5228 CVS date: 2001/12/20 16:28:46
Diffstat (limited to 'db')
-rw-r--r--db/mp/mp_fopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/mp/mp_fopen.c b/db/mp/mp_fopen.c
index 094414d8a..d27b8d4c7 100644
--- a/db/mp/mp_fopen.c
+++ b/db/mp/mp_fopen.c
@@ -314,7 +314,7 @@ __memp_fopen_int(dbmfp, mfp, path, flags, mode, pagesize, needlock)
if (chroot_prefix) {
int chrlen = strlen(chroot_prefix);
if (!strncmp(rpath, chroot_prefix, chrlen))
- rpath += chrlen;
+ rpath += (chrlen - 1);
}
oflags = 0;
if (LF_ISSET(DB_CREATE))