# HG changeset patch # User Eli Zaretskii # Date 1164401910 0 # Node ID cbda0982f77cf82c6fe7a7cfc1b18da466a6c699 # Parent 029903a8a51db1251c5e7739d404073d2be8fda9 (file_name_absolute_p) [WINDOWSNT]: Support absolute file names with forward slashes. diff -r 029903a8a51d -r cbda0982f77c lib-src/emacsclient.c --- 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. */