diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 7df85fc78a1..9801948d356 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -102,7 +102,10 @@ extern char *strerror (); | |||
| 102 | redirector allows the six letters between 'Z' and 'a' as well. */ | 102 | redirector allows the six letters between 'Z' and 'a' as well. */ |
| 103 | #ifdef MSDOS | 103 | #ifdef MSDOS |
| 104 | #define IS_DRIVE(x) ((x) >= 'A' && (x) <= 'z') | 104 | #define IS_DRIVE(x) ((x) >= 'A' && (x) <= 'z') |
| 105 | #define DRIVE_LETTER(x) (x) | 105 | /* Need to lower-case the drive letter, or else expanded |
| 106 | filenames will sometimes compare inequal, because | ||
| 107 | `expand-file-name' doesn't always down-case the drive letter. */ | ||
| 108 | #define DRIVE_LETTER(x) (tolower (x)) | ||
| 106 | #endif | 109 | #endif |
| 107 | #ifdef WINDOWSNT | 110 | #ifdef WINDOWSNT |
| 108 | #define IS_DRIVE(x) isalpha (x) | 111 | #define IS_DRIVE(x) isalpha (x) |