Skip to content

Commit fbd25f0

Browse files
authored
Ensure db_findfirst path is resolved (#119)
1 parent ad8a275 commit fbd25f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plib/db/db.cc

+1
Original file line numberDiff line numberDiff line change
@@ -2577,6 +2577,7 @@ static int db_findfirst(const char* path, DB_FIND_DATA* findData)
25772577
char basePath[COMPAT_MAX_PATH];
25782578
compat_makepath(basePath, drive, dir, NULL, NULL);
25792579

2580+
compat_resolve_path(basePath);
25802581
findData->dir = opendir(basePath);
25812582
if (findData->dir == NULL) {
25822583
return -1;

0 commit comments

Comments
 (0)