From 519046db722ae38aa092343a265e923af094d04d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 13 Mar 2012 08:21:02 -0400 Subject: [PATCH] Removed check that .zip files are less than 4 gigabytes. This would become a bogus check with zip64 support anyhow, but even here, if you have a .zip that's close to 4 gigabytes, and a self-extracting program prepended to it that pushes it over that limit, this test fails incorrectly. --- src/archiver_zip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/archiver_zip.c b/src/archiver_zip.c index 81ceb8b..98f65f9 100644 --- a/src/archiver_zip.c +++ b/src/archiver_zip.c @@ -425,8 +425,7 @@ static PHYSFS_sint64 zip_find_end_of_central_dir(PHYSFS_Io *io, PHYSFS_sint64 *l int found = 0; filelen = io->length(io); - BAIL_IF_MACRO(filelen == -1, NULL, 0); /* !!! FIXME: unlocalized string */ - BAIL_IF_MACRO(filelen > 0xFFFFFFFF, "ZIP bigger than 4 gigs?!", 0); + BAIL_IF_MACRO(filelen == -1, NULL, 0); /* * Jump to the end of the file and start reading backwards.