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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!postnews.google.com!z6g2000pre.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: File rename in Ada95 Date: Thu, 30 Oct 2008 09:37:50 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1225384670 31528 127.0.0.1 (30 Oct 2008 16:37:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 30 Oct 2008 16:37:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z6g2000pre.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8261 Date: 2008-10-30T09:37:50-07:00 List-Id: On Oct 30, 7:56 am, Maciej Sobczak wrote: > Hi, > > 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. I'd just use the Import pragma to get at the rename(2) system call. -- Adam