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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.cwix.com!newsfeed.cwix.com!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Ada.Directories Date: 23 Oct 2007 12:11:50 -0500 Organization: LJK Software Message-ID: References: <1193079360.996577.115220@e34g2000pro.googlegroups.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1193159473 32699 192.135.80.34 (23 Oct 2007 17:11:13 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 23 Oct 2007 17:11:13 +0000 (UTC) X-Original-Bytes: 2898 Xref: g2news2.google.com comp.lang.ada:2556 Date: 2007-10-23T12:11:50-05:00 List-Id: In article , Robert A Duff writes: > 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? I should have said "double" instead of "single" above, which would be: $ show logical sys$sysroot "SYS$SYSROOT" = "DSA6:[SYS0.]" (LNM$SYSTEM_TABLE) = "SYS$COMMON:" 1 "SYS$COMMON" = "DSA6:[SYS0.SYSCOMMON.]" (LNM$SYSTEM_TABLE) a triple rooted directory example is: $ show logical DECW$SYSTEM_DEFAULTS "DECW$SYSTEM_DEFAULTS" = "SYS$LOGIN_DEVICE:[GREG.TOOLS.DECW]" (LNM$PROCESS_TABLE) = "SYS$COMMON:[DECW$DEFAULTS.USER]" = "SYS$COMMON:[DECW$DEFAULTS.SYSTEM]" = "SYS$LIBRARY:" 1 "SYS$LIBRARY" = "SYS$SYSROOT:[SYSLIB]" (LNM$SYSTEM_TABLE) "DECW$SYSTEM_DEFAULTS" = "SYS$SYSROOT:[DECW$DEFAULTS.USER]" (DECW$LOGICAL_NAMES) = "SYS$SYSROOT:[DECW$DEFAULTS.SYSTEM]" = "SYS$LIBRARY:" 1 "SYS$LIBRARY" = "SYS$SYSROOT:[SYSLIB]" (LNM$SYSTEM_TABLE) $ > Common Lisp has pretty good support for mostly-portable handling of path > names. It includes support for VMS, if I remember correctly. Certainly that is possible, but it involves OS-specific code not implied by sentence that prompted my comment. >>> maybe there exists some code for >>> standardized portable handling of path strings?