[gnu.emacs.bug] emacs 18.54 close bug

rusty@GARNET.BERKELEY.EDU (05/11/89)

In the Usenet newsgroup comp.protocols.nfs someone from Sun gave a
long explanation about soft versus hard nfs mounts and using the
"intr" option with hard mounts.  In their explanation they also
pointed out how on an nfs mount a write() may fail but you may not get
the notification until you do a close().

Out of curiosity I looked at the code in fileio.c and in write-region
it does check the return value of close() but there are other places
where it doesn't, for example in copy-file it doesn't check the return
status when closing the output file descriptor.  I think someone
should eyeball the code carefully and check all of the close calls and
have it check the return status on the ones that are output file
descriptors.