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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to