From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:aed:2a83:: with SMTP id t3mr3855763qtd.326.1611639030712; Mon, 25 Jan 2021 21:30:30 -0800 (PST) X-Received: by 2002:a25:2d0c:: with SMTP id t12mr6074200ybt.253.1611639030577; Mon, 25 Jan 2021 21:30:30 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 25 Jan 2021 21:30:30 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=84.209.88.37; posting-account=bPTmZAoAAAC_6HP9XLKB9aAAxBa6BuOR NNTP-Posting-Host: 84.209.88.37 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3202e725-c65b-4937-967b-1efeb291e864n@googlegroups.com> Subject: Re: Smart to put "Flush(myfile)" before "Close(myfile") ? From: reinert Injection-Date: Tue, 26 Jan 2021 05:30:30 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:61200 List-Id: OBS, me in a state of confusion: I made the original question since the end part of a file were lost (Flush helped to avoid). However, I now discovered that the actual file sometimes were not closed :-) Anyway, you triggered me to find the bug :-) reinert