From fe1de3869e2a13bbefa020939e5ceffbb67e616f Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 15 Dec 2009 14:43:40 +0200 Subject: Kill of ancient unused kludgery over buggy packages --- lib/fsm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/fsm.c') 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; -- cgit v1.2.3