home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: casper@fwi.uva.nl (Casper H.S. Dik)
-
- mib@churchy.gnu.ai.mit.edu (Michael I Bushnell) writes:
- >The real lose here (surprise, surprise) is that NFS is the culprit
- >here. The correct place for the EISDIR to be returned is to the open
- >call, not to the read. Errors should not be returned from read and
- >write if they can be detected at open time and are thoroughly
- >non-transient.
-
- No. NFS is not the culprit. You cannot detect this at open time.
- When you read a directory, you'll open it with open and read it
- with getdents(). When you open a file for reading, you'll use the
- exact same open call. You cannot detect this error at open time.
-
- Casper
-
- Volume-Number: Volume 31, Number 83
-
-