# HG changeset patch # User Jason Rumney # Date 1164414760 0 # Node ID 6eee550d3bda8794a8c4944cc962341b00fd5a4d # Parent 7c1748aba037d7f95d62b9b4f420a0c7576526ed (file_name_absolute_p) [WINDOWSNT]: Use isalpha(). diff -r 7c1748aba037 -r 6eee550d3bda lib-src/emacsclient.c --- a/lib-src/emacsclient.c Sat Nov 25 00:30:51 2006 +0000 +++ b/lib-src/emacsclient.c Sat Nov 25 00:32:40 2006 +0000 @@ -451,7 +451,7 @@ #ifdef WINDOWSNT /* X:\xxx is always absolute; X:xxx is an error and will fail. */ - if (islower (tolower (filename[0])) + if (isalpha (filename[0]) && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/')) return TRUE;