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

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

bug#11827: 24.1; file-relative-name fail on some MS Windows path


From: Eli Zaretskii
Subject: bug#11827: 24.1; file-relative-name fail on some MS Windows path
Date: Sun, 01 Jul 2012 19:40:54 +0300

> Date: Sat, 30 Jun 2012 11:49:26 -0700
> From: Xah Lee <address@hidden>
> 
> file-relative-name doesn't work on MS Windows style path when the
> drive letter is capitalized.
> 
> (file-relative-name "C:/Users/web/xyz.html" "C:/Users/web/") ; returns
> "C:/Users/web/xyz.html"
> (file-relative-name "c:/Users/web/xyz.html" "c:/Users/web/") ; returns
> "xyz.html"
> (file-relative-name "/Users/web/xyz.html" "/Users/web/") ; returns "xyz.html"
> 
> GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN

Fixed in revision 108064 on the emacs-24 branch, for Emacs 24.2.

Thanks.





reply via email to

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