cvs commit: src/sys/kern sys_generic.c
John Baldwin
jhb at FreeBSD.org
Thu Jan 5 14:20:33 PST 2006
jhb 2006-01-05 22:20:31 UTC
FreeBSD src repository
Modified files:
sys/kern sys_generic.c
Log:
Remove XXX comments complaining that write(2) on a read-only descriptor
returns EBADF. That errno is correct and is mandated by POSIX. It also
goes back to revision 1.1 of our CVS history (i.e. 4.4BSD).
The _fget() function should probably also be upated as it currently returns
EINVAL in that case rather than EBADF. (It does return EBADF for reads
on a write-only descriptor without any XXX comments oddly enough.)
Discussed with: scottl, grog, mjacob, bde
Revision Changes Path
1.147 +2 -2 src/sys/kern/sys_generic.c
More information about the cvs-all
mailing list