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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6327f05d4989a68d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII X-Received: by 10.180.19.194 with SMTP id h2mr3004885wie.0.1357913681349; Fri, 11 Jan 2013 06:14:41 -0800 (PST) Path: o9ni6861wio.1!nntp.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Press Release - Ada 2012 Language Standard Approved by ISO Date: Fri, 11 Jan 2013 15:15:51 +0100 Organization: cbb software GmbH Message-ID: References: <7wrdmbre6jw9.qww9l0uzj6mg.dlg@40tude.net> <14oqoq06zhlu2.tcasif3hdyhw.dlg@40tude.net> <1drh1q1ln2dfh$.a9hwlg01fjfy.dlg@40tude.net> <50d6365d$0$6577$9b4e6d93@newsspool3.arcor-online.net> <1pbg79bz92j3t$.sz41zduivjfp.dlg@40tude.net> <4c101d74-c8cb-45a6-82d4-91923bb950b0@googlegroups.com> <87sj6tre9s.fsf@mid.deneb.enyo.de> <895c9eb7-03f8-4b0c-96b4-3dbd7a315ccd@googlegroups.com> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: 2013-01-11T15:15:51+01:00 List-Id: On Fri, 11 Jan 2013 12:33:58 +0100, Yannick Duch�ne (Hibou57) wrote: > Le Thu, 27 Dec 2012 16:30:15 +0100, Dmitry A. Kazakov > a �crit: >>> If you are rasising "File_Not_Found" then you need a precondition of >>> "File_Exists". >> >> And a nice race condition coming with that! Never use File_Exists if you >> can. > > I don't understand this one. Is there a short example scenario to make it > clearer? if exists then open old else create new end if; -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de