comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: Atomic file creation
Date: Mon, 04 Jan 2010 18:12:06 +0100
Date: 2010-01-04T18:12:06+01:00	[thread overview]
Message-ID: <ah7thh.khn.ln@hunter.axlog.fr> (raw)
In-Reply-To: <db80b115-62fe-4bb1-90f3-43d2e414e0ed@a15g2000yqm.googlegroups.com>

vlc a �crit :
> On Jan 4, 4:52 pm, Jean-Pierre Rosen <ro...@adalog.fr> 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



  reply	other threads:[~2010-01-04 17:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 13:40 Atomic file creation vlc
2010-01-04 14:24 ` vlc
2010-01-04 15:52   ` Jean-Pierre Rosen
2010-01-04 16:45     ` vlc
2010-01-04 17:12       ` Jean-Pierre Rosen [this message]
2010-01-04 22:38         ` Ludovic Brenta
2010-01-04 23:00           ` Dmitry A. Kazakov
2010-01-05  9:15     ` Jacob Sparre Andersen
2010-01-05  4:16   ` Stephen Leake
2010-01-05 14:48     ` vlc
2010-01-09 15:23       ` Stephen Leake
2010-01-04 14:25 ` Georg Bauhaus
2010-01-04 14:45   ` vlc
2010-01-04 14:49 ` Jacob Sparre Andersen
2010-01-04 15:07   ` vlc
2010-01-04 17:14     ` Jacob Sparre Andersen
2010-01-05 14:43       ` vlc
2010-01-06  2:28     ` Brad Moore
replies disabled

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