diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2003-06-18 04:48:40 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2003-06-18 04:48:40 +0000 |
| commit | 4872bfee5f49b3851ca40e4361275ecd5f2130d6 (patch) | |
| tree | 9fd48cb3cce11b7a65ce9ef178a8221b4fa7ba4d | |
| parent | 2f27a78ffa7a74f5b4fd6828dfec808a0034ac33 (diff) | |
| download | rockbox-4872bfee5f49b3851ca40e4361275ecd5f2130d6.zip rockbox-4872bfee5f49b3851ca40e4361275ecd5f2130d6.tar.gz rockbox-4872bfee5f49b3851ca40e4361275ecd5f2130d6.tar.bz2 rockbox-4872bfee5f49b3851ca40e4361275ecd5f2130d6.tar.xz | |
When reading a dir, only set the attribute information we care about in the dirent structure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3754 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | uisimulator/win32/dir-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/dir-win32.c b/uisimulator/win32/dir-win32.c index 4441003..d857521 100644 --- a/uisimulator/win32/dir-win32.c +++ b/uisimulator/win32/dir-win32.c @@ -82,7 +82,7 @@ struct dirent *readdir ( return 0; memcpy (dir->fd.d_name, fd.name, 256); - dir->fd.attribute = fd.attrib ; + dir->fd.attribute = fd.attrib & 0x3f; dir->fd.size = fd.size; dir->fd.startcluster = 0 ; |