summaryrefslogtreecommitdiff
path: root/lib/cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-07-15 14:53:54 +0000
committerjbj <devnull@localhost>2000-07-15 14:53:54 +0000
commit77ea46f6a0f1a0d1240ab76ead01d7e4ffb9e62d (patch)
treefa62a9f3d6940ad70060aaf7cc8815209b79d6a4 /lib/cpio.c
parentcee37252ba056685c9c2ff23757460e31159c812 (diff)
downloadlibrpm-tizen-77ea46f6a0f1a0d1240ab76ead01d7e4ffb9e62d.tar.gz
librpm-tizen-77ea46f6a0f1a0d1240ab76ead01d7e4ffb9e62d.tar.bz2
librpm-tizen-77ea46f6a0f1a0d1240ab76ead01d7e4ffb9e62d.zip
- rip out pre-transaction syscalls, more design is needed.
- display rpmlib provides when invoked with --showrc. - remove (dead) dependency checks on implicitly provided package names. - remove (dead) rpmdb API code in python bindings. - remove (legacy) support for version 1 packaging. - remove (legacy) support for converting gdbm databases. CVS patchset: 3950 CVS date: 2000/07/15 14:53:54
Diffstat (limited to 'lib/cpio.c')
-rw-r--r--lib/cpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cpio.c b/lib/cpio.c
index ce52fb9f7..e4e1ccf00 100644
--- a/lib/cpio.c
+++ b/lib/cpio.c
@@ -223,6 +223,7 @@ int cpioFileMapCmp(const void * a, const void * b)
const char * afn = ((const struct cpioFileMapping *)a)->archivePath;
const char * bfn = ((const struct cpioFileMapping *)b)->archivePath;
+ /* Match payloads with ./ prefixes as well. */
if (afn[0] == '.' && afn[1] == '/') afn += 2;
if (bfn[0] == '.' && bfn[1] == '/') bfn += 2;