Gregory Brown
8/12/2007 2:03:00 PM
On 8/12/07, Andrew Savige <ajsavige@yahoo.com.au> wrote:
> --- William James <w_a_x_man@yahoo.com> wrote:
> > Of course. But I'm willing to take that miniscule chance when
> > I'm doing a write to a small file that takes a fraction of a
> > second.
>
> That may be an acceptable risk for a program written for private use.
> Not so for a production program. After all, impatient users often
> press [CTRL-C] in my experience, and that could cause corruption
> if it occurred while the file was being rewritten.
You can of course capture that, but you're write that it's creating
additional unnecessary work.