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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d7ec12dd7db366 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-09-29 18:52:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "David Botton" Newsgroups: comp.lang.ada Subject: Re: How to rename a file? Date: Sat, 29 Sep 2001 21:51:18 -0400 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1001814725 3421 137.194.161.2 (30 Sep 2001 01:52:05 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 30 Sep 2001 01:52:05 +0000 (UTC) To: Return-Path: X-pair-Authenticated: 216.254.101.195 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.4 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:13529 Date: 2001-09-29T21:51:18-04:00 That's not cool, but certainly an alternative. The coolness is in that code was that you don't need any "special" bindings for accessing low level C calls. In fact I think far to much emphasis has been placed on the need of thin bindings. Concentration should rather be made on "frameworks" (which POSIX bindings may perhaps also be included, as cross platform was in mind) and tools that abstract the C interfaces and work in a more Ada like nature. David Botton ----- Original Message ----- From: "Pascal Obry" > 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 !