home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / volume.31 / text0080.txt < prev    next >
Encoding:
Text File  |  1993-07-15  |  995 b   |  25 lines

  1. Submitted-by: mib@churchy.gnu.ai.mit.edu (Michael I Bushnell)
  2.  
  3. In article <20859nINN6dj@rodan.UU.NET> mike@pdx095.intel.com (Mike Haertel) writes:
  4.  
  5.    Note that the messages usually suppressed by grep -s are the result
  6.    of open() attempts, but the EISDIR that Larry is talking about is
  7.    what you get when you try to read() and NFS-mounted directory--the
  8.    open() succeeds.
  9.  
  10. The real lose here (surprise, surprise) is that NFS is the culprit
  11. here.  The correct place for the EISDIR to be returned is to the open
  12. call, not to the read.  Errors should not be returned from read and
  13. write if they can be detected at open time and are thoroughly
  14. non-transient.
  15.  
  16. --
  17. +1 617 628 6197 (H)      |     Offer to God a sacrifice of thanksgiving
  18. +1 617 253 8568 (W)     -+-      and make good your vows to the Most High.
  19. 14 Paulina Street        |     Call upon me in the day of trouble;
  20. Somerville, MA 02144     |       I will deliver you, and you shall honor me.
  21.  
  22.  
  23. Volume-Number: Volume 31, Number 81
  24.  
  25.