Switch to side-by-side view
--- a/src/windows/dirent.c +++ b/src/windows/dirent.c @@ -103,7 +103,13 @@ if(!dir->result.d_name || _findnext(dir->handle, &dir->info) != -1) { result = &dir->result; + result->d_mtime = dir->info.time_write; + result->d_size = dir->info.size; result->d_name = dir->info.name; + if (dir->info.attrib & _A_SUBDIR) + result->d_mode = S_IFDIR; + else + result->d_mode = S_IFREG; } } else