Tetsuya Isaki | 23 Nov 2007 05:30
Picon

Re: loadfile_*() returns an incorrect errno?

Hi, Martin.

Thanks for reviewing.
I'll commit it.
---
Tetsuya Isaki <isaki <at> par.odn.ne.jp / isaki <at> NetBSD.org>

At Sun, 18 Nov 2007 11:25:03 +0100,
Martin Husemann wrote:
> 
> On Sun, Nov 18, 2007 at 04:58:02PM +0900, Tetsuya Isaki wrote:
> > I think that loadfile_*() should always set errno when
> > returns -1.  So, how about the attached patch?
> 
> Looks good.
> 
> >  But I'm 
> > not sure whether ESHORT is good.
> 
> EREAD? But it's just a name, don't worry too much about it.
> 
> > P.S. May I do a style fix in sys/lib/libsa?
> 
> Sure, why not?
> 
> Martin


Gmane