Re: Re: CVS update [cvs1-11-x-branch]: /ccvs/src/
Derek Robert Price <[email protected]> Sat, 04 Sep 2004 20:37:08 -0400
| Newsgroups | gmane.comp.lib.gnulib.bugs,gmane.comp.version-control.cvs.bugs |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruno Haible wrote:
>Paul Eggert wrote:
>
>>>I notice that the C89 spec doesn't mention
>>>fflush setting errno (though the fflush in my version of glibc does
>>>appear to do this). Is this what worries you?
>>
>>POSIX says fflush sets errno. I'm worried about implementations that
>>don't conform (or perhaps conform to an older standard?).
>
>
>In particular the Woe32 stdio in MSVCRT does not usually set errno upon
>failure. I.e. it implements the C89 spec, not the POSIX spec.
Now, that could cause problems. I'd have to implement the entire
STDIO implementation using write and handling my own buffers to work
around that. S'pose I could probably snag most of the implementation
from glibc...
Cheers,
Derek
- --
*8^)
Email: [email protected]
Get CVS support at <http://ximbiot.com>!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBOl+yLD1OTBfyMaQRAj80AKDQWWg+HA8pW9kNrwfb0rx2prw6qQCeMcph
ST3mRjadN6AB9Wymx8PtNys=
=yVnL
-----END PGP SIGNATURE-----