Article View: comp.mail.mh
Article #1906Re: inc loses mail when file system full
From: Steve Dempsey
Date: Thu, 01 Jun 1989 17:58
Date: Thu, 01 Jun 1989 17:58
18 lines
1209 bytes
1209 bytes
> Humm... Steve Dempsey's fix to inc seems overly complex. My fix for
> 6.5's inc (which should work with the 6.6 version) is to check the
> status of ferror() and fclose(); appended is a context diff.
>
> Craig
[diff deleted]
I stand corrected. This is much simpler and works just as well. It
seems to me, however, that any such errors should be detected on read
or write long before closing the file. And why was this fix not included
in 6.6?
Steve Dempsey, Center for Computer Assisted Engineering
Colorado State University, Fort Collins, CO 80523 +1 303 491 0630
INET: steved@longs.LANCE.ColoState.Edu, dempsey@handel.CS.ColoState.Edu
Technical Details
Message-ID:
<1982@ccncsu.ColoState.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!ncar!boulder!ccncsu!longs.LANCE.ColoState.Edu!stevedReferences:
<2750@helios.ee.lbl.gov> <1959@ccncsu.ColoState.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!ncar!boulder!ccncsu!longs.LANCE.ColoState.Edu!steved From: steved@longs.LANCE.ColoState.Edu (Steve Dempsey) Newsgroups: comp.mail.mh Subject: Re: inc loses mail when file system full Keywords: ferror() Message-ID: <1982@ccncsu.ColoState.EDU> Date: 1 Jun 89 17:58:03 GMT References: <2750@helios.ee.lbl.gov> <1959@ccncsu.ColoState.EDU> Sender: news@ccncsu.ColoState.EDU Organization: Colorado State University, Fort Collins, CO 80523 Lines: 18