diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-15 14:43:40 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-15 14:43:40 +0200 |
commit | fe1de3869e2a13bbefa020939e5ceffbb67e616f (patch) | |
tree | 8b878717c5abd9e226ef0928e20065ed5fa2191d | |
parent | 86cfa3de9cb00e9559da3ceea638d690bcccaf75 (diff) | |
download | rpm-fe1de3869e2a13bbefa020939e5ceffbb67e616f.tar.gz rpm-fe1de3869e2a13bbefa020939e5ceffbb67e616f.tar.bz2 rpm-fe1de3869e2a13bbefa020939e5ceffbb67e616f.zip |
Kill of ancient unused kludgery over buggy packages
-rw-r--r-- | lib/fsm.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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; |