diff options
| author | Eli Zaretskii | 2006-11-24 20:59:01 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-11-24 20:59:01 +0000 |
| commit | cb0297bb1a6c3f5ce7fcebcda08a29554a993d12 (patch) | |
| tree | 4c62f16528ae94edca9a912d178315cab1dc10db /lib-src/emacsclient.c | |
| parent | 365bba5e7ec4629be5c2e4a936681f71c2a572f0 (diff) | |
| download | emacs-cb0297bb1a6c3f5ce7fcebcda08a29554a993d12.tar.gz emacs-cb0297bb1a6c3f5ce7fcebcda08a29554a993d12.zip | |
(file_name_absolute_p) [WINDOWSNT]: Support absolute file names with forward
slashes.
Diffstat (limited to 'lib-src/emacsclient.c')
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 3040206ef34..5e8b563984d 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -452,7 +452,7 @@ file_name_absolute_p (filename) | |||
| 452 | #ifdef WINDOWSNT | 452 | #ifdef WINDOWSNT |
| 453 | /* X:\xxx is always absolute; X:xxx is an error and will fail. */ | 453 | /* X:\xxx is always absolute; X:xxx is an error and will fail. */ |
| 454 | if (islower (tolower (filename[0])) | 454 | if (islower (tolower (filename[0])) |
| 455 | && filename[1] == ':' && filename[2] == '\\') | 455 | && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/')) |
| 456 | return TRUE; | 456 | return TRUE; |
| 457 | 457 | ||
| 458 | /* Both \xxx and \\xxx\yyy are absolute. */ | 458 | /* Both \xxx and \\xxx\yyy are absolute. */ |