diff options
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/win32/dir-win32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/win32/dir-win32.c b/uisimulator/win32/dir-win32.c index 3c31c89100..44663b908e 100644 --- a/uisimulator/win32/dir-win32.c +++ b/uisimulator/win32/dir-win32.c | |||
@@ -82,5 +82,11 @@ struct dirent *readdir ( | |||
82 | if (_findnext (dir->handle, &fd) == -1) | 82 | if (_findnext (dir->handle, &fd) == -1) |
83 | return 0; | 83 | return 0; |
84 | memcpy (dir->fd.d_name, fd.name, 256); | 84 | memcpy (dir->fd.d_name, fd.name, 256); |
85 | |||
86 | dir->fd.attribute = fd.attrib ; | ||
87 | dir->fd.size = fd.size; | ||
88 | dir->fd.startcluster = 0 ; | ||
89 | |||
90 | |||
85 | return &dir->fd; | 91 | return &dir->fd; |
86 | } \ No newline at end of file | 92 | } \ No newline at end of file |