Mercurial > emacs
changeset 74172:cbda0982f77c
(file_name_absolute_p) [WINDOWSNT]: Support absolute file names with forward
slashes.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 24 Nov 2006 20:58:30 +0000 |
parents | 029903a8a51d |
children | c1e4437240b7 |
files | lib-src/emacsclient.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Fri Nov 24 20:57:51 2006 +0000 +++ b/lib-src/emacsclient.c Fri Nov 24 20:58:30 2006 +0000 @@ -452,7 +452,7 @@ #ifdef WINDOWSNT /* X:\xxx is always absolute; X:xxx is an error and will fail. */ if (islower (tolower (filename[0])) - && filename[1] == ':' && filename[2] == '\\') + && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/')) return TRUE; /* Both \xxx and \\xxx\yyy are absolute. */