Commit 837ee038 authored by Miles Bader's avatar Miles Bader
Browse files

(DRIVE_LETTER) [MSDOS]: Lower-case drive letters.

parent afcaa503
......@@ -102,7 +102,10 @@ extern char *strerror ();
redirector allows the six letters between 'Z' and 'a' as well. */
#ifdef MSDOS
#define IS_DRIVE(x) ((x) >= 'A' && (x) <= 'z')
#define DRIVE_LETTER(x) (x)
/* Need to lower-case the drive letter, or else expanded
filenames will sometimes compare inequal, because
`expand-file-name' doesn't always down-case the drive letter. */
#define DRIVE_LETTER(x) (tolower (x))
#define IS_DRIVE(x) isalpha (x)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment