[Pkg-jed-commit] r80 - trunk/packages/jed/debian

G. Milde g.milde at web.de
Fri Sep 23 12:26:49 UTC 2005


On 23.09.05, Jörg Sommer wrote:
> Hallo,
> 
> Guenter Milde schrieb am Fri 23. Sep, 08:37 (+0000):
> > this is no bug, the path is expanded with expand_filename
> > 
> > -  $ jed-script /tmp//test.sl
> > -  Unable to load /test.sl
> 
> Are you sure?

 
> I've looked in SuSv3 4.11 Pathname Resolution and I would tend to say the
> behaviour is wrong. Multiple slashs should be treated as one slash. But
> I'm not really sure and need to have a closer look to this.

The behaviour is consistent with filename expansion in jed:

 DESCRIPTION
   The `expand_filename' function expands a file to a canonical form.
   For example, under Unix, if `file' has the value `"/a/b/../c/d"', it
   returns `"/a/c/d"'.  Similarly, if `file' has the value
   `"/a/b/c//d/e"', `"/d/e"' is returned.

as such it should be considered a "feature".

GM


-- 
G.Milde web.de



More information about the Pkg-jed-devel mailing list