summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dir.c b/dir.c
index 7db0697..1de62e5 100644
--- a/dir.c
+++ b/dir.c
@@ -589,6 +589,10 @@ dir_contents_file_exists_p (struct directory_contents *dir, char *filename)
filename = downcase (filename);
#endif
+#ifdef __EMX__
+ _fnlwr(filename); /* lower case for FAT drives */
+#endif
+
#ifdef VMS
filename = vmsify (filename,0);
#endif