aboutsummaryrefslogtreecommitdiff
path: root/sftsr.c
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2026-11-22 19:02:35 +0100
committerJavier <dev.git@javispedro.com>2026-11-22 19:02:35 +0100
commitbc437f9709a7a48865bae2a4aa40536bfc80ebbc (patch)
tree94f152361f4ab8e4964419a350100c71e737c9ad /sftsr.c
parent186879bf4f702beaa687037197aec39715454ede (diff)
downloadvbados-bc437f9709a7a48865bae2a4aa40536bfc80ebbc.tar.gz
vbados-bc437f9709a7a48865bae2a4aa40536bfc80ebbc.zip
vbsf: when resolving lfn, list only files starting with the same prefix as the short filenameHEADmaster
Diffstat (limited to 'sftsr.c')
-rw-r--r--sftsr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sftsr.c b/sftsr.c
index 0e9915f..6db709e 100644
--- a/sftsr.c
+++ b/sftsr.c
@@ -1040,9 +1040,8 @@ static vboxerr find_next_from_vbox(unsigned openfile, char __far *path)
}
} else {
drive = sdb->drive & DOS_SDB_DRIVE_MASK;
- // For find next calls, it's not really important what we pass here,
- // as long as it's not empty.
- shflstring_strcpy(&shflstr.shflstr, " ");
+ // For find next calls, it's not really important what we pass here.
+ shflstring_clear(&shflstr.shflstr);
}