1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Hardeep Sidhu 2003-06-18 04:48:40 +00:00
parent 2f27a78ffa
commit 4872bfee5f

View file

@ -82,7 +82,7 @@ struct dirent *readdir (
return 0; return 0;
memcpy (dir->fd.d_name, fd.name, 256); 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.size = fd.size;
dir->fd.startcluster = 0 ; dir->fd.startcluster = 0 ;