aboutsummaryrefslogtreecommitdiff
path: root/lfn.h
diff options
context:
space:
mode:
authorEduardo Casino <mail@eduardocasino.es>2022-05-24 21:49:53 +0200
committerJavier <dev.git@javispedro.com>2022-06-12 17:13:03 +0200
commit4f5b72cf50855f4c75c8cc8a5ed34f53a11bfa7d (patch)
tree7febf7b1cffe8b7831d0bbdafaeb3b52e53bc6b4 /lfn.h
parent80f0debf2032e16629cb13682b8fb9ceccde423c (diff)
downloadvbados-4f5b72cf50855f4c75c8cc8a5ed34f53a11bfa7d.tar.gz
vbados-4f5b72cf50855f4c75c8cc8a5ed34f53a11bfa7d.zip
Do not uppercase volume names
Diffstat (limited to 'lfn.h')
-rw-r--r--lfn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lfn.h b/lfn.h
index d58807e..df4d421 100644
--- a/lfn.h
+++ b/lfn.h
@@ -33,7 +33,7 @@
#ifdef __IN_SFTSR__
-static inline bool translate_filename_from_host(SHFLSTRING *, bool);
+static inline bool translate_filename_from_host(SHFLSTRING *, bool, bool);
static bool matches_8_3_wildcard(const char __far *, const char __far *);
static int my_strrchr(const char __far *, char);
@@ -325,7 +325,7 @@ static inline char *find_real_name(
}
d = _fstrcpy_local(dest, &shfldirinfo.dirinfo.name.ach);
- translate_filename_from_host(&shfldirinfo.dirinfo.name, false);
+ translate_filename_from_host(&shfldirinfo.dirinfo.name, false, true);
mangle_to_8_3_filename(hash, fcb_name, &shfldirinfo.dirinfo.name);
if (match_to_8_3_filename(filename, fcb_name))