Re: P.S. the problem is in catdir

2006-02-09 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Thu, 09 Feb 2006 17:36:49 -0500, Steven Lembark <[EMAIL PROTECTED]> said: lembark> This matters on VMS becuase the volume portion can be all lembark> sorts of things, including search lists, all of which are lembark> opaque to the caller. This allows me to lemba

Re: P.S. the problem is in catdir

2006-02-09 Thread Ken Williams
On Feb 9, 2006, at 4:20 PM, Steven Lembark wrote: Perhaps I'm misunderstanding something, but I can't see how an empty volume name could ever indicate an absolute path. Because on *NIX you can join '/', @subdirz; and get a leading '/'. That's true, but the confusion here is my fault

Re: P.S. the problem is in catdir

2006-02-09 Thread Steven Lembark
-- Ken Williams <[EMAIL PROTECTED]> > > On Feb 9, 2006, at 1:43 PM, Craig A. Berry wrote: > >> At 9:56 PM -0600 2/8/06, Ken Williams wrote: >>> Hi Steven, >>> >>> On VMS is 'USER:[SLEMBARK.FINDBIN-LIBS-1_20]' an absolute path, i.e. >>> is the SLEMBARK directory understood to be at the root o

Re: P.S. the problem is in catdir

2006-02-09 Thread Steven Lembark
> Perhaps I'm misunderstanding something, but I can't see how an empty > volume name could ever indicate an absolute path. Because on *NIX you can join '/', @subdirz; and get a leading '/'. -- Steven Lembark 85-09 90th Street Workhorse Computing

Re: P.S. the problem is in catdir

2006-02-09 Thread Steven Lembark
> Perhaps on VMS, splitdir should do the same thing splitpath does and > return the volume as the first element. I'm concerned about what > that might break, though. Catch: the volume is not part of the directory. If you want to split that off use splitpath. If the interface were OO then it c

Re: P.S. the problem is in catdir

2006-02-09 Thread Steven Lembark
-- Ken Williams <[EMAIL PROTECTED]> > Hi Steven, > > On VMS is 'USER:[SLEMBARK.FINDBIN-LIBS-1_20]' an absolute path, i.e. is > the SLEMBARK directory understood to be at the root of the USER volume? > If so, probably splitpath() is actually returning the wrong result. On > other platforms it r

Re: P.S. the problem is in catdir

2006-02-09 Thread Ken Williams
On Feb 9, 2006, at 1:43 PM, Craig A. Berry wrote: At 9:56 PM -0600 2/8/06, Ken Williams wrote: Hi Steven, On VMS is 'USER:[SLEMBARK.FINDBIN-LIBS-1_20]' an absolute path, i.e. is the SLEMBARK directory understood to be at the root of the USER volume? Yes. You would not see the volume name

Re: P.S. the problem is in catdir

2006-02-09 Thread Craig A. Berry
At 9:56 PM -0600 2/8/06, Ken Williams wrote: >Hi Steven, > >On VMS is 'USER:[SLEMBARK.FINDBIN-LIBS-1_20]' an absolute path, i.e. is the >SLEMBARK directory understood to be at the root of the USER volume? Yes. You would not see the volume name if it weren't an absolute path. >If so, probably s

Re: P.S. the problem is in catdir

2006-02-08 Thread Ken Williams
Hi Steven, On VMS is 'USER:[SLEMBARK.FINDBIN-LIBS-1_20]' an absolute path, i.e. is the SLEMBARK directory understood to be at the root of the USER volume? If so, probably splitpath() is actually returning the wrong result. On other platforms it returns an initial empty string to indicate an