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!news1.google.com!news.glorb.com!newscon02.news.prodigy.net!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Ada.Directories Date: Tue, 23 Oct 2007 12:08:44 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <1193079360.996577.115220@e34g2000pro.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1193155724 10421 192.74.137.71 (23 Oct 2007 16:08:44 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Tue, 23 Oct 2007 16:08:44 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:Euz0oD9z9lWNvkjMzJZu/ELONiI= Xref: g2news2.google.com comp.lang.ada:2554 Date: 2007-10-23T12:08:44-04:00 List-Id: Kilgallen@SpamCop.net (Larry Kilgallen) writes: > In article , 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. What's a triple-rooted directory? Common Lisp has pretty good support for mostly-portable handling of path names. It includes support for VMS, if I remember correctly. - Bob