comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Smart to put "Flush(myfile)" before "Close(myfile") ?
Date: Mon, 25 Jan 2021 12:41:42 +0100	[thread overview]
Message-ID: <rumapm$3tk$1@dont-email.me> (raw)
In-Reply-To: <d533bde1-cb8a-4a45-9f95-6f2cb2a2677fn@googlegroups.com>

On 1/25/21 6:42 AM, reinert wrote:
> Can an exception (runtime error) in principle, after closing a file, interrupt the process of writing the actual file to disc?
> 
> I.e. is it smart to include a "Flush(myfile)" before "Close(myfile)" like this:

In over 35 years of using Ada, I have never done this, and have never had a 
problem. YMMV

-- 
Jeff Carter
"You cheesy lot of second-hand electric donkey-bottom biters."
Monty Python & the Holy Grail
14

  reply	other threads:[~2021-01-25 11:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25  5:42 Smart to put "Flush(myfile)" before "Close(myfile") ? reinert
2021-01-25 11:41 ` Jeffrey R. Carter [this message]
2021-01-25 12:05 ` Dmitry A. Kazakov
2021-01-25 13:32   ` G.B.
2021-01-26  5:30     ` reinert
2021-01-26  8:01       ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox