projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cfa3d
)
Kill of ancient unused kludgery over buggy packages
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 15 Dec 2009 12:43:40 +0000
(14:43 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 15 Dec 2009 12:43:40 +0000
(14:43 +0200)
lib/fsm.c
patch
|
blob
|
history
diff --git
a/lib/fsm.c
b/lib/fsm.c
index
5a23e35
..
071f214
100644
(file)
--- a/
lib/fsm.c
+++ b/
lib/fsm.c
@@
-195,12
+195,6
@@
static int cpioStrCmp(const void * a, const void * b)
const char * afn = *(const char **)a;
const char * bfn = *(const char **)b;
- /* XXX Some 4+ year old rpm packages have basename only in payloads. */
-#ifdef VERY_OLD_BUGGY_RPM_PACKAGES
- if (strchr(afn, '/') == NULL)
- bfn = strrchr(bfn, '/') + 1;
-#endif
-
/* Match rpm-4.0 payloads with ./ prefixes. */
if (afn[0] == '.' && afn[1] == '/') afn += 2;
if (bfn[0] == '.' && bfn[1] == '/') bfn += 2;