Commit cb0297bb authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(file_name_absolute_p) [WINDOWSNT]: Support absolute file names with forward

slashes.
parent 365bba5e
2006-11-24 Michael Mauger <mmaug@yahoo.com>
* emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support
absolute file names with forward slashes.
2006-11-23 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (print_help_and_exit): Tweak message contents and
......
......@@ -452,7 +452,7 @@ file_name_absolute_p (filename)
#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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment