Ensure db_findfirst path is resolved (#119)

This commit is contained in:
Aidan Dodds
2025-01-13 15:05:37 +00:00
committed by GitHub
parent ad8a2754fa
commit fbd25f00e9

View File

@@ -2577,6 +2577,7 @@ static int db_findfirst(const char* path, DB_FIND_DATA* findData)
char basePath[COMPAT_MAX_PATH];
compat_makepath(basePath, drive, dir, NULL, NULL);
compat_resolve_path(basePath);
findData->dir = opendir(basePath);
if (findData->dir == NULL) {
return -1;