[comp.mail.elm] Losing news due to no file system space

syd@DSI.COM (Syd Weinstein) (11/26/89)

In Patch 14 just distributed, I released a patch a received from
a user that attempts to check for no space errors and do an emergency
exit.

Earlier, I had vowed (to myself) not to release a partial fix to this
problem, but due to all the clammoring I have done so.

Please NOTE: This fix, from this user is very partial.  It only
checks certain fwrites, and totally ignores fcloses.  It is just
as important to check the fcloses, as the fwrite routine buffers the
text and the fclose does the flush of the buffer.  The fclose could
fail and leave you with lost messages just as easily as the fwrites.

Therefore, be warned this will NOT catch all occurences.  I also have
not reviewed to see if he did all the locations even for fwrite.
In a simple check I see that many more need to be done.  Again,
this is a patchwork fix to try and hold down the noise.  I am open
to volunteers doing it right, and will accept any patch offered for
possible inclusion.

I want to stress, I have not been deaf to the problem, but was holding
out hoping someone would bite the bullet and do it right.  That has not
happened (and the bug has been on the list for over a year).  I felt
that if it kept happening, people would have more urgency to fix it.
Please, someone fix this one and submit the patch, as I do understand
that loosing mail in this way can be very frustrating.
-- 
=====================================================================
Sydney S. Weinstein, CDP, CCP                   Elm Coordinator
Datacomp Systems, Inc.				Voice: (215) 947-9900
syd@DSI.COM or {bpa,vu-vlsi}!dsinc!syd	        FAX:   (215) 938-0235