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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,24a59fbc07128ff8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-09 09:22:10 PST Path: newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Newsgroups: comp.lang.ada Subject: Re: rename missing in Text_IO From: charleshixson@earthling.net (Charles Hixson) References: <9cvdav$8q61@news.cis.okstate.edu> <9da0p9$7hu2@news.cis.okstate.edu> Organization: Mandala Fluteworks Message-ID: User-Agent: Xnews/M3 Date: Wed, 09 May 2001 16:22:10 GMT NNTP-Posting-Host: 198.94.156.19 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 989425330 198.94.156.19 (Wed, 09 May 2001 09:22:10 PDT) NNTP-Posting-Date: Wed, 09 May 2001 09:22:10 PDT X-Received-Date: Wed, 09 May 2001 09:20:34 PDT (newsmaster1.prod.itd.earthlink.net) Xref: newsfeed.google.com comp.lang.ada:7383 Date: 2001-05-09T16:22:10+00:00 List-Id: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) wrote in <9da0p9$7hu2@news.cis.okstate.edu>: >On Tue, 08 May 2001 22:03:54 GMT, Charles Hixson >... >I understood him to be talking about system calls, and the >unix system call 'rename' works the same way he was >describing VMS Rename to work. > But if what we are considering is what an Ada Library Package should look like, then there's no reason to copy the low level features of an operating system. And the semantics of the mv command is generally superior. A program should not need to know the details of the disk layout. In fact, I'm not sure that on all systems the normal user (as opposed to a superuser) is even able to determine those details. So I definitely don't think that the standard library should assume that this can be determined when there is no real need. Of course, if the source were on a CD, then neither approach would work, but that's what one would expect if the file/volume were read/only. -- Charles Hixson Copy software legally, the GNU way! Use GNU software, and legally make and share copies of software. See http://www.gnu.org http://www.redhat.com http://www.linux-mandrake.com http://www.calderasystems.com/ http://www.linuxapps.com/