Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/libc/stdio

On Thu, May 06, 2010 at 08:51:29AM +0000, David Holland wrote:
> On Thu, May 06, 2010 at 08:14:08AM +0000, Jukka Ruohonen wrote:
>  > Correct the discussion about return values: fileno() may fail and return 
> -1.
>  > Note that in such cases the NetBSD implementation does not set errno to
>  > EBADF, hence diverging from the standard in this small detail.
> How is that not just a bug?

That it does not set the errno? Well, I am not the one who deals with libc,
but personally I think strict conformance is not needed in a small detail
like this, as long as it is documented behavior.

- Jukka.

Home | Main Index | Thread Index | Old Index