This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [HEADSUP] Start of Cygwin 1.7 release cycle

Hash: SHA1

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   
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]