Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2006 12:53:50 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Scott Long <scottl@samsco.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_descrip.c
Message-ID:  <200601061253.51551.jhb@freebsd.org>
In-Reply-To: <43BE9C19.6070600@samsco.org>
References:  <200601061630.k06GUUXW022868@repoman.freebsd.org> <43BE9C19.6070600@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 January 2006 11:34 am, Scott Long wrote:
> John Baldwin wrote:
> > jhb         2006-01-06 16:30:30 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/kern             kern_descrip.c
> >   Log:
> >   Return EBADF rather than EINVAL for FWRITE failure as per POSIX.
> >
> >   MFC after:      1 week
> >
> >   Revision  Changes    Path
> >   1.290     +2 -3      src/sys/kern/kern_descrip.c
>
> Technically this will be an API change if it get's MFC'd, though a
> minor one.  If it needs to go into RELENG_6 then it should be
> clearly documented in the release notes.

Not really because except for the hwpmc(4) driver and the mqueue code (which 
isn't in 6.x yet IIRC), every other caller of fget_write() ignores the errno 
value and hardcodes EBADF, so it won't actually change the errno for any 
applications in 6.x.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601061253.51551.jhb>