diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2010-02-16 22:49:11 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2010-02-16 22:49:11 +0000 |
commit | 53b1af7a61898ac76a94018fc1863c2a2abf9d3c (patch) | |
tree | e76ff6264625ca97ccdd02348a687bda0aa38f55 /firmware/include/dir.h | |
parent | f82c021b8b382613a8bb5e8915c218bc2277a8c1 (diff) | |
download | rockbox-53b1af7a61898ac76a94018fc1863c2a2abf9d3c.tar.gz rockbox-53b1af7a61898ac76a94018fc1863c2a2abf9d3c.zip |
-Cosmetic change in a comparison
-Move fat_dir structure out of dircache stack to RAM. Reduce dircache stack size (max level depth should stay be around 20). This should fix nano2g dircache stkov of FS#10679
-Change the structure returned by readdir_cached to match the one returned by readdir_uncached: remove useless fields to save space and avoid any potential incoherence
-Remove one field from the internal structure used by {opend,read,close}dir_cached because it was mostly redundant.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24708 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r-- | firmware/include/dir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 5aa6cde35a..9ff96e3419 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h | |||
@@ -44,7 +44,7 @@ | |||
44 | #ifdef HAVE_DIRCACHE | 44 | #ifdef HAVE_DIRCACHE |
45 | # include "dircache.h" | 45 | # include "dircache.h" |
46 | # define DIR DIR_CACHED | 46 | # define DIR DIR_CACHED |
47 | # define dirent dircache_entry | 47 | # define dirent dirent_cached |
48 | # define opendir opendir_cached | 48 | # define opendir opendir_cached |
49 | # define closedir closedir_cached | 49 | # define closedir closedir_cached |
50 | # define readdir readdir_cached | 50 | # define readdir readdir_cached |