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,df4d66e9bc940729 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!proxad.net!feeder.ecngs.de!ecngs!feeder2.ecngs.de!news.osn.de!diablo1-ffm.news.osn.de!news.belwue.de!news.uni-stuttgart.de!carbon.eu.sun.com!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: Martin Dowie Newsgroups: comp.lang.ada Subject: Re: GNAT Normalize_Pathname version differences Date: Wed, 18 Jan 2006 20:22:07 +0000 (UTC) Organization: BT Openworld Message-ID: References: <3989f$43ce55b4$49952b9$29657@ALLTEL.NET> NNTP-Posting-Host: host86-142-141-218.range86-142.btcentralplus.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com 1137615727 11453 86.142.141.218 (18 Jan 2006 20:22:07 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Wed, 18 Jan 2006 20:22:07 +0000 (UTC) In-Reply-To: <3989f$43ce55b4$49952b9$29657@ALLTEL.NET> X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) Xref: g2news1.google.com comp.lang.ada:2523 Date: 2006-01-18T20:22:07+00:00 List-Id: Marc A. Criley wrote: > (Posting this here for archive purposes to aid future Google Group > searches :-) > > Somewhere between Gnat 3.15p and Gnat GPL 2005, the behavior of the > Normalize_Pathname function in Gnat.Directory_Operations changed. > > The 3.15p version appended a '/' if the pathname was that of a > directory, at least in the Linux version, the GPL 2005 version does not. > I can't say what it does on Windows, but I would expect the same > behavior, with the corresponding directory separator. > > I diffed the sources of Directory_Operations for the two versions, and > saw there are significant differences between the Normalize_Pathname > implementations, as well as other things. Might it be because they are using GNAT.Directory_Operations to implement Ada.Directories? Cheers -- Martin