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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b0f7b966bf5d7b74 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn11feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: File rename in Ada95 Reply-To: no to spamers (No@email.given.org) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Fri, 31 Oct 2008 00:11:14 GMT NNTP-Posting-Host: 12.65.114.101 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1225411874 12.65.114.101 (Fri, 31 Oct 2008 00:11:14 GMT) NNTP-Posting-Date: Fri, 31 Oct 2008 00:11:14 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:8264 Date: 2008-10-31T00:11:14+00:00 List-Id: In , Robert A Duff writes: > Your version will cause errors. The first statement in Ada.Directories for GNAT Ada 2005 specs (2005-2007, did not check 2008 version) is: pragma Ada_05; which limits the package usage to Ada 2005 specs only. If one trys to uses the package by set mode to 95 by using "-gnat95" the pragma will generate errors. > >Maciej Sobczak writes: > >> What is the recommended way to rename a file in Ada95? >> Ada.Directories is not invented yet and GNAT.Directory_Operations is >> not smart enough. >> Target platform: Linux. > >In GNAT, you can use Ada.Directories in Ada 95 mode. > >- Bob