Re: Re: CVS update [cvs1-11-x-branch]: /ccvs/src/

Bruno Haible <[email protected]> Sat, 4 Sep 2004 17:18:51 +0200
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.comp.version-control.cvs.bugs
Message-ID <[email protected]>
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.

Bruno