[Info-vax] ZIP and UNZIP maximum file size

Steven Schweda sms.antinode at gmail.com
Tue Nov 29 14:14:40 EST 2011


On Nov 29, 11:18 am, JF Mezei <jfmezei.spam... at vaxination.ca> wrote:

> If zip operations are sequential in nature, than I would *assume* that
> max file size would be operating system dependent.

   Would you also assume that the archive format adds no
additional limitations?  Some (tar, Zip, ...) do add them.

> If zip perform "seek" operations on the file, [...]

   A quick SEARCH through the (readily available) source code
for, say, "seek" should answer that question.

> [...] then the size of pointers
> would provide some limit on file size (aka: 4 gig for 32 bit pointers)

   That might be true if file offsets were pointers, but
they're not.

      help crtl fseeko

Which is why large-file support in the Info-ZIP programs
doesn't require building them with 64-bit pointers.  (Which,
without some code changes, I'd expect to fail on VMS.  I had
some of that fun already in the OpenSSL code.)



More information about the Info-vax mailing list