comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: File manipulations in Ada.Text_IO
Date: Tue, 02 Aug 2005 02:34:03 GMT
Date: 2005-08-02T02:34:03+00:00	[thread overview]
Message-ID: <vYAHe.783$I04.317@newsread2.news.pas.earthlink.net> (raw)
In-Reply-To: <67kFmodka+Zb@eisner.encompasserve.org>

Larry Kilgallen wrote:
> 
> But such a function for a non-wildcarded filename is always going
> to be susceptible to a race condition if the next step would be
> to open the file.  The file might be deleted or created between
> the test and using the information gained from the test.

That's true in the general case, and something I've never encountered in 
30 years of actual SW development, including software that was intended 
to manipulate the same file from different applications running at the 
same time.

-- 
Jeff Carter
"C's solution to this [variable-sized arrays] has real problems,
and people who are complaining about safety definitely have a point."
Dennis Ritchie
25



  parent reply	other threads:[~2005-08-02  2:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-01 18:04 File manipulations in Ada.Text_IO Zheng Wang
2005-08-01 18:18 ` Georg Bauhaus
2005-08-01 18:51   ` Jeffrey Carter
2005-08-01 19:32     ` Larry Kilgallen
2005-08-01 21:12       ` Randy Brukardt
2005-08-02 12:31         ` Larry Kilgallen
2005-08-02  2:34       ` Jeffrey Carter [this message]
2005-08-08 22:25         ` Robert A Duff
2005-08-09  2:46           ` Jeffrey Carter
2005-08-02 20:18 ` Gautier Write-only
replies disabled

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