From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.132.77 with SMTP id g74mr31799265iod.10.1445886183804; Mon, 26 Oct 2015 12:03:03 -0700 (PDT) X-Received: by 10.182.250.169 with SMTP id zd9mr412165obc.1.1445886183786; Mon, 26 Oct 2015 12:03:03 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newspeer1.nac.net!border2.nntp.dca1.giganews.com!nntp.giganews.com!kq10no30178895igb.0!news-out.google.com!n2ni46352igy.0!nntp.google.com!kq10no25191397igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 26 Oct 2015 12:03:03 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.55.200.50; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf NNTP-Posting-Host: 91.55.200.50 References: <75dd21a2-9265-44e4-a4d4-e2d96ffdecb1@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <243b6ecb-b999-4b1a-b451-b99712dcd8eb@googlegroups.com> Subject: Re: function Is_Open (File : File_Type) return Boolean; :Text_io From: AdaMagica Injection-Date: Mon, 26 Oct 2015 19:03:03 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:28061 Date: 2015-10-26T12:03:03-07:00 List-Id: Am Montag, 26. Oktober 2015 19:02:00 UTC+1 schrieb Simon Wright: > Second, the semantic problems: Create at line 8 will either result in an > opened writable file (MonFichier) or will raise an exception if the file > already existed. A.8.2(3/2) "Establishes a new external file, ..." (5) Doesn't mention an exception if file exists. I interprete this as: If the file exists, a new file is created nevertheless and the old contents are lost. So does Gnat GPL 2015.