GNU bug report logs - #32304
27.0.50; tramp-tests issue with double slash

Previous Next

Package: emacs;

Reported by: Ken Brown <kbrown <at> cornell.edu>

Date: Sun, 29 Jul 2018 15:55:01 UTC

Severity: normal

Found in version 27.0.50

Fixed in version 27.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andy Moreton <andrewjmoreton <at> gmail.com>
To: 32304 <at> debbugs.gnu.org
Subject: bug#32304: 27.0.50; tramp-tests issue with double slash
Date: Tue, 31 Jul 2018 15:46:02 +0100
On Sun 29 Jul 2018, Michael Albinus wrote:

> Ken Brown <kbrown <at> cornell.edu> writes:
>
> Hi Ken,
>
>> "//" has a special meaning at the beginning of a file name on Cygwin and
>> MS-Windows; see the comment near the beginning of
>> search_embedded_absfilename.  So I don't think there's a real bug here.

POSIX specifies that "//" is handled in an implementation defined
manner, so Cygwin and Windows are not really special.

See POSIX section 4.13 Pathname Resolution:

    A pathname consisting of a single <slash> shall resolve to the root
    directory of the process. A null pathname shall not be successfully
    resolved. If a pathname begins with two successive <slash> characters,
    the first component following the leading <slash> characters may be
    interpreted in an implementation-defined manner, although more than two
    leading <slash> characters shall be treated as a single <slash>
    character.

<http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap04.html#tag_04_13>






This bug report was last modified 6 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.