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 | |
| 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')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/emacsclient.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index b756e6a5405..a81852057b2 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-11-24 Michael Mauger <mmaug@yahoo.com> | ||
| 2 | |||
| 3 | * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support | ||
| 4 | absolute file names with forward slashes. | ||
| 5 | |||
| 1 | 2006-11-23 Juanma Barranquero <lekktu@gmail.com> | 6 | 2006-11-23 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * emacsclient.c (print_help_and_exit): Tweak message contents and | 8 | * emacsclient.c (print_help_and_exit): Tweak message contents and |
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. */ |