This is the mail archive of the
mailing list for the Cygwin project.
Re: [HEADSUP] Start of Cygwin 1.7 release cycle
-----BEGIN PGP SIGNED MESSAGE-----
According to Corinna Vinschen on 4/15/2008 3:50 AM:
| I see. So what we have in newlib is how it's defined on Linux.
fopencookie matches Linux. Linux does not have funopen. I guess the
reason funopen disagrees with BSD is that BSD took a different path to
64-bit I/O than newlib years ago; I'm not sure that I broke things any
worse than they already were when I worked on making funopen reliable (it
was already declared before my patches).
| Howver, shouldn't autogen have the same problem on Linux then?
I guess the problem here is that autogen assumed a header that newlib
doesn't provide - it would be relatively easy to add a stub <libio.h> to
cygwin (or even newlib).
Speaking of newlib stdio functions, shouldn't we go ahead and export
fopen_memstream and fmemopen, as those will be required by POSIX 200x (and
have a more standardized interface than either funopen or fopencookie)?
Don't work too hard, make some time for fun as well!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----