Re: Trailing slash in pathname

Benjamin J. Tracy (tracy@wsicorp.com)
Tue, 15 Dec 1998 12:56:06 -0500 (EST)



Check your ModulePath.  I bet you have a trailing slash on it that doesn't
belong there.  It's in the base.xbpp file.

Having said that, double slashes in paths are ignored in all cases, so you
don't really need worry about it.

Ben

On Tue, 15 Dec 1998, Kevin Chu wrote:

> I'm out of date.  I'm running Red Hat 5.1 and 1.4.5.3.
> 
> I was trying to figure out where the double slashes in some pathnames
> were coming from:
> 
> [kevin@localhost kevin]$ ps | grep '//' | colrm 1 20 | grep -v grep
> /usr/X11R6/bin//Animate 7 4 /usr/share/afterstep/base.24bpp
> /usr/X11R6/bin//Wharf 9 4 /usr/share/afterstep/base.24bpp 0
> /usr/X11R6/bin//Pager 11 4 /usr/share/afterstep/base.24bpp 0
> 
> I checked lots of config files.  I thought a trailing slash was left
> on a path somewhere, but it turns out it's not a path problem:
> 
> [kevin@localhost kevin]$ which Animate
> /usr/X11R6/bin/Animate
> [kevin@localhost kevin]$ which Wharf
> /usr/X11R6/bin/Wharf
> [kevin@localhost kevin]$ which Pager
> /usr/X11R6/bin/Pager
> 
> 'ps l' shows that the parent of the three processes with double
> slashes is AfterStep itself (/usr/X11R6/bin/afterstep).  grepping that
> file for the trailing slash (grep 'bin/' /usr/X11R6/bin/afterstep)
> shows the trailing slash near the end of the output.
> 
> I'm not going to bother with it since the double slashes don't seem to
> affect the functionality of AfterStep.  But the trailing slash is
> something to look for as you put out new versions.
> 
> Kevin
> 
> -- 
> Kevin Chu               kevin@portal.ca
> http://members.tripod.com/~super_kevin/
> 
> --
>    WWW:   http://www.afterstep.org/
>    FTP:   ftp://ftp.afterstep.org/
>    MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html
> 


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html