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,96296bb60aa5db9 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!news.buerger.net!news.uni-stuttgart.de!not-for-mail From: Peter Hermann Newsgroups: comp.lang.ada Subject: Re: Ada.Directories Date: Tue, 23 Oct 2007 13:01:48 +0000 (UTC) Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: References: <1193079360.996577.115220@e34g2000pro.googlegroups.com> X-Trace: infosun2.rus.uni-stuttgart.de 1193144508 9206 141.58.7.20 (23 Oct 2007 13:01:48 GMT) X-Complaints-To: news@news.uni-stuttgart.de NNTP-Posting-Date: Tue, 23 Oct 2007 13:01:48 +0000 (UTC) User-Agent: tin/1.9.2-20070201 ("Dalaruan") (UNIX) (Linux/2.6.18-5-686 (i686)) Xref: g2news2.google.com comp.lang.ada:2553 Date: 2007-10-23T13:01:48+00:00 List-Id: Larry Kilgallen wrote: > Peter Hermann writes: > > Adam Beneschan wrote: > >> Maybe the GNAT folks can add a subpackage of Ada.Directories that > > > > maybe there exists some code for > > standardized portable handling of path strings? > > I doubt it. Handle this: > > SYS$SYSTEM:SECURITY.AUDIT$JOURNAL;-1 > > Typically SYS$SYSTEM is a logical name pointing to a rooted directory, > but there have been cases where particular customers have made it a > triple-rooted directory rather than single. The only reliable way to > figure out what is going on is to call the appropriate VMS system servce. i.e. reduction to 1. addressing device to be omitted? 2. file cycling to be omitted... 3. uniform identifier for home. 4. both '\' and '/' always accepted even mixed within path.