[Zlib-devel] "wb6 " as fopen mode in minigzip.c
Mark Adler
madler at alumni.caltech.edu
Sun Feb 6 15:26:17 EST 2005
On Feb 5, 2005, at 9:39 PM, Gilles Vollant wrote:
> using "wb", all is perfect
Gilles,
Well, not quite. minigzip options won't work if you do that.
> I found wb6 in no fopen documentation, and this make runtime error
> with VC++2005...
I can't quite figure out how this error is occurring. outmode is used
only by gzdopen() or gzopen(), both of which call gz_open() in gzio.c
which removes the "6" before passing the mode onto fopen() or fdopen().
Maybe it's the space in the file mode that's messing up VC++?
mark
More information about the Zlib-devel
mailing list