🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99097

Is bug with not checking return status close() fi

#99097
From: LUSYSNZ
Date: Fri, 26 Oct 1990 21:37
34 lines
2253 bytes
Relay-Version: VMS News - V5.9C 19/12/89 VAX/VMS V5.3; site vax1.cc.lehigh.edu
Path: vax1.cc.lehigh.edu!vax1.cc.lehigh.edu!netnews.upenn.edu!rutgers!tut.cis.ohio-state.edu!BUCSF.BU.EDU!jbw
Newsgroups: gnu.emacs.bug
Subject: Is bug with not checking return status close() fixed yet?
Message-ID: <9010190335.AA03187@bucsf.bu.edu>
From: jbw@BUCSF.BU.EDU (Joe Wells)
Date: 19 Oct 90 03:35:22 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Approved: bug-gnu-emacs@prep.ai.mit.edu
Lines: 21

I'm wondering if the bug described here has been fixed:

  Jonathan I. Kamens <jik@athena.mit.edu> writes:

    If you are working on a remote filesystem (such as NFS or AFS), your
  file is often not completely flushed to the remote filesystem until you
  close it.  Therefore, if you are (for example) close to your quota, and
  you do close(), it is quite possible that the close() will put you over
  your quota and therefore fail.

    However, programmers who don't check close() never find out that the
  file didn't get written because the user went over his quota, and this
  can have very bad effects, for example, GNU emacs 18.54 (I don't know
  about 18.55, we haven't switched to it yet) didn't check close() when
  saving files, so a user might spend several hours working on a paper,
  then save it (without getting any errors from emacs) and log out.  The
  next time he logs in, the paper is empty, and all his work has been
  lost.

-- 
Joe Wells <jbw@bu.edu>
Technical Details
Message-ID: <138E5257EA3F800042@VAX1.CC.LEHIGH.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!VAX1.CC.LEHIGH.EDU!LUSYSNZ

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,f8cd2cf0f559d165,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-10-26 14:37:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!VAX1.CC.LEHIGH.EDU!LUSYSNZ
From: LUSYSNZ@VAX1.CC.LEHIGH.EDU
Newsgroups: gnu.emacs.bug
Subject: Is bug with not checking return status close() fi
Message-ID: <138E5257EA3F800042@VAX1.CC.LEHIGH.EDU>
Date: 26 Oct 90 21:37:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Gnus Not Usenet
Lines: 34
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Fri Oct 26 22:37:00 1990