[Zlib-devel] zlib 1.2.3.2 available for testing
Mark Brown
broonie at sirena.org.uk
Wed Sep 6 17:55:46 EDT 2006
On Wed, Sep 06, 2006 at 07:30:39AM -0700, Mark Adler wrote:
> On Sep 6, 2006, at 4:44 AM, Mark Brown wrote:
> > By the way, I sent a patch which took a stab at implementing this
> > to the
> > list a while back.
> I found what I think you're referring to, from May 2004.
Yes, that's it.
> That patch
> redefines *all* of the gzio functions to have a "64" version. Is
> that necessary? I thought that only gzseek() and gztell() need "64"
> versions.
If I remember correctly the main issue that concerned me was the
requirement that applications explicitly request 64 bit support when
opening files in order to avoid mishaps with a 32 bit off_t overflowing
on a large file: see section 2.2.1.9 of [1] for explicit discussion of
this requirement as it applies to fopen(). I think I found it easier to
implement the patch in the way I did (which also had the advantage of
being relatively non-invasive) than convince myself that stdio would do
something constructive with large files portably.
[1] http://www.unix.org/version2/whatsnew/lfs20mar.html
--
"You grabbed my hand and we fell into it, like a daydream - or a fever."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: Digital signature
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20060906/935d1d23/attachment.sig>
More information about the Zlib-devel
mailing list