summaryrefslogtreecommitdiff
path: root/lib/fsm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-12-15 14:43:40 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-12-15 14:43:40 +0200
commitfe1de3869e2a13bbefa020939e5ceffbb67e616f (patch)
tree8b878717c5abd9e226ef0928e20065ed5fa2191d /lib/fsm.c
parent86cfa3de9cb00e9559da3ceea638d690bcccaf75 (diff)
downloadrpm-fe1de3869e2a13bbefa020939e5ceffbb67e616f.tar.gz
rpm-fe1de3869e2a13bbefa020939e5ceffbb67e616f.tar.bz2
rpm-fe1de3869e2a13bbefa020939e5ceffbb67e616f.zip
Kill of ancient unused kludgery over buggy packages
Diffstat (limited to 'lib/fsm.c')
-rw-r--r--lib/fsm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index 5a23e35f4..071f2144b 100644
--- 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;