[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (u

From: Ken Brown
Subject: Re: [Emacs-diffs] emacs-26 7a8f22b: * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.
Date: Thu, 27 Jun 2019 21:57:04 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 6/14/2019 11:30 PM, Juanma Barranquero wrote:
> branch: emacs-26
> commit 7a8f22b00484e2c1a28b48767b8562c6b6e89e06
> Author: Juanma Barranquero <address@hidden>
> Commit: Juanma Barranquero <address@hidden>
>      * test/lisp/url/url-file-tests.el (url-file): Use file:///, not file://.

This change causes the test to fail on Cygwin.  I think the original "file://" 
is the correct prefix.  If concatenated with "/some/file", it yields the URL 
"file:///some/file".  Your version with "file:///" as the prefix yields 
"file:////some/file", which would refer to a local file "//some/file".

Posix says that the meaning of a path name starting with exactly two slashes is 
implementation-defined.  On Cygwin, it's interpreted as a UNC path name, 
referring to a file on a network.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]