Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!gatech!rutgers!cmcl2!adm!news From: NORM%IONAACAD.BITNET@tecmtyvm.mty.itesm.mx ( Norman Walsh) Newsgroups: comp.lang.pascal Subject: TP BlockWrite problem? Message-ID: <26033@adm.brl.mil> Date: 15 Feb 91 18:08:19 GMT Sender: news@adm.brl.mil Lines: 23 Has anyone ever had any difficulties with the builtin BlockWrite function? Occasionally, Blockwrite fails. I have been tentative about posting this question because I can't believe that the problem is in Blockwrite. What has lead me to post it is that the problem has now occured twice. In two different programs written by different developers that do entirely different things. In both cases the block write indicates that 0 bytes where written when there is no reason that I can think of for the write to fail. There is certainly enough disk space, it's in a small loop, and the file has been written to several times before (i.e. it isn't the first time through the loop that fails). Leads: -It seems to happen on the last write to the file (the last block). -It seems to happen only when there is a small amount of disk space free (less than a meg or so? 2M? 3M?) One program is copying a file (appending) and the other is writing a file to disk from packets coming across the network. Any ideas? ndw