From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: How to rename a file?
Date: 28 Sep 2001 19:34:24 +0200
Date: 2001-09-28T17:35:56+00:00 [thread overview]
Message-ID: <uofnvnrrz.fsf@wanadoo.fr> (raw)
In-Reply-To: mailman.1001648485.22108.comp.lang.ada@ada.eu.org
"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... don't waste your time !
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"
next prev parent reply other threads:[~2001-09-28 17:34 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 [this message]
2001-09-28 18:39 ` Larry Kilgallen
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