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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,17f674692867d416 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.ecp.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Atomic file creation Date: Mon, 04 Jan 2010 18:12:06 +0100 Organization: Adalog Message-ID: References: <0s2thh.3cd.ln@hunter.axlog.fr> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1262628229 18221 195.25.228.57 (4 Jan 2010 18:03:49 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 4 Jan 2010 18:03:49 +0000 (UTC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:8597 Date: 2010-01-04T18:12:06+01:00 List-Id: vlc a �crit : > On Jan 4, 4:52 pm, Jean-Pierre Rosen wrote: >> Maybe because temporary files have no names ;-) >> >> Kidding appart, in the old time when people still knew how to write >> operating systems, the notion of temporary file was supported by the OS, >> and those files had really no name (as opposed to a junk name in /var/tmp). > > Well, they have names, are stored in in /tmp/ and still exist after > the call of Ada.Text_IO.Close in line 5. I actually checked this :-) I presume you are using some elementary OS like Unix, that fakes temporary files short of having true ones... But the implementation is free to behave as if they were true temporary files. This protects your portability (to VMS for example, sigh of nostalgia...) -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr