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,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!ALLTEL.NET-a2kHrUvQQWlmc!not-for-mail Date: Wed, 18 Jan 2006 08:50:34 -0600 From: "Marc A. Criley" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: GNAT Normalize_Pathname version differences Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <3989f$43ce55b4$49952b9$29657@ALLTEL.NET> X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: 3989f43ce55b4a13cf71c29657 Xref: g2news1.google.com comp.lang.ada:2519 Date: 2006-01-18T08:50:34-06:00 List-Id: (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. -- Marc A. Criley -- McKae Technologies -- www.mckae.com -- DTraq - XPath In Ada - XML EZ Out