bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4673: bug#4674: 23.1; UNC paths and file-relative-directory


From: Eli Zaretskii
Subject: bug#4673: bug#4674: 23.1; UNC paths and file-relative-directory
Date: Sat, 04 Dec 2010 14:55:28 +0200

> Date: Thu, 8 Oct 2009 14:54:38 +0100
> From: Richard Copley <rcopley@gmail.com>
> Cc: 
> 
> The function `file-relative-directory' has logic to detect when the
> two given paths are part of two separate directory trees, and to
> return the absolute file name in such cases. That logic does not catch
> the case when the two given paths are UNC paths on different servers.
> For example, on my present network (where there are computers named
> IOBATES and KERES), the form (file-relative-name "//iobates/e/temp"
> "//keres/e/temp") returns "../../../iobates/e/temp", which is not a
> valid relative path to "//iobates/e/temp" from "//keres/e/temp". This
> is therefore a bug.

Thanks, I fixed this now on the Emacs-23 branch.





reply via email to

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