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,1295f20108acc30c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!postnews.google.com!l18g2000yqm.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Ada.Directories.Copy_File behavior Date: Sun, 20 Feb 2011 03:01:40 -0800 (PST) Organization: http://groups.google.com Message-ID: <0856cce6-9ebd-4824-a443-537cd1d127a8@l18g2000yqm.googlegroups.com> References: NNTP-Posting-Host: 86.154.212.189 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1298199700 7426 127.0.0.1 (20 Feb 2011 11:01:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 20 Feb 2011 11:01:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l18g2000yqm.googlegroups.com; posting-host=86.154.212.189; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b11) Gecko/20100101 Firefox/4.0b11,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:17481 Date: 2011-02-20T03:01:40-08:00 List-Id: On Feb 20, 12:01=A0am, tmo...@acm.org wrote: > > So, the actual behaviour depends on the underlying OS, I'd say. > > The Windows CopyFile function takes a BOOL parameter bFailIfExists, > so is it implementation-defined what Ada.Directories.Copy_File does? > That's not very satisfactory. But I think it's imp-def even without that BOOL. In practise how many OS are you going to support? You may find that they the imp-def is the same for each, so you have a de facto 'standard' behaviour that you don't need to worry about any other special cases for. -- Martin