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

Jörg Sommer joerg at alea.gnuu.de
Fri Sep 23 09:18:38 UTC 2005


Hallo,

Guenter Milde schrieb am Fri 23. Sep, 08:37 (+0000):
> Log:
> this is no bug, the path is expanded with expand_filename
> 
> -* find the bug: jed-script /tmp//test.sl
> -  $ jed-script /tmp//test.sl
> -  Unable to load /test.sl
> -  $ jed-script /tmp/test.sl
> -  foo

Are you sure?

main.c shows this:
#v+
        if (script_file == NULL)
          {
             script_usage ();
             return -1;
          }
#if SLANG_VERSION >= 20000
          {
             char *file = SLpath_find_file_in_path (".", script_file);
             if (file == NULL)
               {
                  fprintf (stderr, "%s not found.\n", script_file);
                  return -1;
               }
#v-

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.

Regards, Jörg.
-- 
Der Hase läuft schneller als der Fuchs,
denn der Hase läuft um sein Leben.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20050923/c4c3bb3c/attachment.pgp


More information about the Pkg-jed-devel mailing list