comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: How to rename a file?
Date: 28 Sep 2001 13:39:32 -0500
Date: 2001-09-28T13:39:32-05:00	[thread overview]
Message-ID: <FhPXXXXw+rKx@eisner.encompasserve.org> (raw)
In-Reply-To: uofnvnrrz.fsf@wanadoo.fr

In article <uofnvnrrz.fsf@wanadoo.fr>, Pascal Obry <p.obry@wanadoo.fr> writes:
> 
> "David Botton" <David@Botton.com> writes:
> 
>> On Win32 if you wish to be cross compiler (this also demonstrates why thin
>> bindings are mostly a waste of time for Ada):
>> 
>> First the ugly method:
>> 
> 
> (code removed)
> 
>> 
>> Now the cool method:
>> 
> 
> (code removed)
> 
> Now the really cool method :)
> 
>   POSIX.Files.Rename ("myoldfile", "whateveristhenewname");
> 
> All the ugly binding to the OS has been done by the POSIX bindings
> developers...

Only if you are satisfied with least-common-denominator semantics,
avoiding OS-specific features.



  reply	other threads:[~2001-09-28 18:39 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-27 19:43 How to rename a file? Pi
2001-09-27 23:09 ` tmoran
2001-09-27 23:36   ` Larry Kilgallen
2001-09-28  2:16 ` DuckE
2001-09-28  2:54   ` Pi
2001-09-28  3:41   ` David Botton
2001-09-28  7:39     ` Lutz Donnerhacke
2001-09-28 17:34     ` Pascal Obry
2001-09-28 18:39       ` Larry Kilgallen [this message]
2001-09-30  1:51       ` David Botton
2001-09-30  8:53         ` Pascal Obry
2001-09-30 10:21           ` Florian Weimer
2001-09-30 14:53             ` Pascal Obry
2001-09-29  5:02     ` DuckE
2001-09-28  3:16 ` David Botton
2001-09-28 16:03   ` Jeffrey Carter
replies disabled

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