Changeset 483
- Timestamp:
- Dec 23, 2014, 5:00:37 PM (11 years ago)
- Location:
- rpm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
rpm/branches/rpm-4.8.1/lib/rpmdb.c
r112 r483 3157 3157 } 3158 3158 dbpath = rootdbpath = rpmGetPath(prefix, tfn, NULL); 3159 if ( !(prefix[0] == '/' && prefix[1] == '\0'))3159 if (strcmp(prefix, "/@unixroot/")) 3160 3160 dbpath += strlen(prefix) - 1; 3161 3161 tfn = _free(tfn); … … 3169 3169 } 3170 3170 newdbpath = newrootdbpath = rpmGetPath(prefix, tfn, NULL); 3171 if ( !(prefix[0] == '/' && prefix[1] == '\0'))3171 if (strcmp(prefix, "/@unixroot/")) 3172 3172 newdbpath += strlen(prefix) - 1; 3173 3173 tfn = _free(tfn); -
rpm/branches/rpm-4.8.1/macros.in
r242 r483 159 159 160 160 # The location of the rpm database file(s) after "rpm --rebuilddb". 161 %_dbpath_rebuild %{_ var}/lib/rpm.rebuild161 %_dbpath_rebuild %{_dbpath} 162 162 163 163 %_keyringpath %{_dbpath}/pubkeys/ -
rpm/branches/rpm-4.8.1/rpmio/rpmfileutil.c
r8 r483 403 403 if (s[2] == ':') 404 404 s++; 405 // clean '/@unixroot///@unixroot/...' 406 if (strncmp( s, AT_UNIXROOT "//" AT_UNIXROOT, AT_UNIXROOT_LEN*2) == 0) 407 s += (AT_UNIXROOT_LEN+2); 405 408 // clean '/@unixroot//@unixroot/...' 406 409 if (strncmp( s, AT_UNIXROOT "/" AT_UNIXROOT, AT_UNIXROOT_LEN*2) == 0) -
rpm/trunk/macros.in
r376 r483 169 169 170 170 # The location of the rpm database file(s) after "rpm --rebuilddb". 171 %_dbpath_rebuild %{_ var}/lib/rpm.rebuild171 %_dbpath_rebuild %{_dbpath} 172 172 173 173 %_keyringpath %{_dbpath}/pubkeys/ -
rpm/trunk/rpmio/rpmfileutil.c
r375 r483 400 400 if (s[2] == ':') 401 401 s++; 402 // clean '/@unixroot///@unixroot/...' 403 if (strncmp( s, AT_UNIXROOT "//" AT_UNIXROOT, AT_UNIXROOT_LEN*2) == 0) 404 s += (AT_UNIXROOT_LEN+2); 402 405 // clean '/@unixroot//@unixroot/...' 403 406 if (strncmp( s, AT_UNIXROOT "/" AT_UNIXROOT, AT_UNIXROOT_LEN*2) == 0)
Note:
See TracChangeset
for help on using the changeset viewer.