http://bugs.openzim.org/show_bug.cgi?id=19

           Summary: Windows+MSVisualStudio: Zimlib is unable to deal with
                    ZIM files larger than 2GB
           Product: openZIM
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: zimlib
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
   Estimated Hours: 0.0


Compiling zimlib under Windows with Visual Studio works and it runs well. But
only as long you have "small" zim files because the zimlib fails to deal with
large files (>2GB). The root cause is the seekg() in fileimpl.cpp just before
reading the cluster.

http://svn.openzim.org/viewvc.cgi/trunk/zimlib/src/fileimpl.cpp?revision=306&view=markup

zimFile.seekg(clusterOffset);
zimFile >> cluster;


If the required cluster is over the 2GB limit then the seekg() does not go to
the right offset and the decompression fails.

Until now I have no solution/workaround. Ideas?

-- 
Configure bugmail: http://bugs.openzim.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
dev-l mailing list
[email protected]
https://intern.openzim.org/mailman/listinfo/dev-l

Reply via email to