summaryrefslogtreecommitdiff
path: root/lib/header.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-07-03 12:13:54 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-07-03 12:13:54 +0300
commit5dfb57ba3c65b4b3a383361950eec31865ebf75c (patch)
tree4589b7e354780ffbfe3f225079f21bb455284369 /lib/header.c
parentc685667475d70daabac9ae224979abbd1f86987a (diff)
downloadrpm-5dfb57ba3c65b4b3a383361950eec31865ebf75c.tar.gz
rpm-5dfb57ba3c65b4b3a383361950eec31865ebf75c.tar.bz2
rpm-5dfb57ba3c65b4b3a383361950eec31865ebf75c.zip
Re-enable rdlen vs dl header check
- we dont even read packages from the "8/98 bug" era anymore, hardly relevant
Diffstat (limited to 'lib/header.c')
-rw-r--r--lib/header.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/header.c b/lib/header.c
index e89de64e8..20ef3c6f6 100644
--- a/lib/header.c
+++ b/lib/header.c
@@ -880,10 +880,8 @@ Header headerLoad(void * uh)
entry->data = pe;
entry->length = pvlen - sizeof(il) - sizeof(dl);
rdlen = regionSwab(entry+1, il, 0, pe, dataStart, dataEnd, entry->info.offset);
-#if 0 /* XXX don't check, the 8/98 i18n bug fails here. */
if (rdlen != dl)
goto errxit;
-#endif
entry->rdlen = rdlen;
entry++;
h->indexUsed++;