[Zlib-devel] zlib 1.2.3.5 available for testing

Gilles Vollant info at winimage.com
Fri Jan 8 06:10:33 EST 2010


like minizip, gzio now support > 4gb file

pehaps we can have more convergence ?

I suggest you read contrib/minizip/ioapi.h (and all io* file)



to support 64 bits file access with recent Microsoft C++ we made

#ifdef _MSC_VER
 #define fopen64 fopen
 #if _MSC_VER >= 1400
  #define ftello64 _ftelli64
  #define fseeko64 _fseeki64
 #else // old MSC
  #define ftello64 ftell
  #define fseeko64 fseek
 #endif
#endif

so if _MSC_VER is defined and >= 1400, we have 64 bits fopen, but using
function named fopen, _ftelli64 and _fseeki64


#if defined(_MSC_VER) && defined(_LARGEFILE64_SOURCE)
#if _MSC_VER >= 1400
#endif
#endif

and the 64 bits integer type is on MS C++
unsigned __int64 

-----Message d'origine-----
De : zlib-devel-bounces at madler.net [mailto:zlib-devel-bounces at madler.net] De
la part de Mark Adler
Envoyé : vendredi 8 janvier 2010 09:59
À : zlib-devel at madler.net
Objet : [Zlib-devel] zlib 1.2.3.5 available for testing

Generous zlib testers,

zlib 1.2.3.5 is available here for testing:

    http://zlib.net/current/beta/zlib-1.2.3.5.tar.gz

The changes are listed in ChangeLog.  Most notably, the gz* functions have
been replaced with entirely new code.  If you can, please test those with
special vigor.  Thanks.

Mark








More information about the Zlib-devel mailing list