diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2006-02-28 11:41:35 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-02-28 11:41:35 +0000 |
| commit | 871575f0f03b697a602b3cb7ee6fe0b5d29a9607 (patch) | |
| tree | b7deff5e606ef18e982ce81ede35245fb0b8551c /firmware/include | |
| parent | 3b6141c7c6b71944aaa35a92f118f26a1eb7078c (diff) | |
| download | rockbox-871575f0f03b697a602b3cb7ee6fe0b5d29a9607.zip rockbox-871575f0f03b697a602b3cb7ee6fe0b5d29a9607.tar.gz rockbox-871575f0f03b697a602b3cb7ee6fe0b5d29a9607.tar.bz2 rockbox-871575f0f03b697a602b3cb7ee6fe0b5d29a9607.tar.xz | |
Implement . and .. path in dircache to properly support moving files
to other directories without absolute destination path provided.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8866 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
| -rw-r--r-- | firmware/include/dircache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/include/dircache.h b/firmware/include/dircache.h index 6e75e1b..93bc413 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h @@ -24,11 +24,12 @@ #ifdef HAVE_DIRCACHE #define DIRCACHE_RESERVE (1024*64) -#define DIRCACHE_LIMIT (1024*1024*3) +#define DIRCACHE_LIMIT (1024*1024*6) #define DIRCACHE_FILE ROCKBOX_DIR "/dircache.dat" /* Internal structures. */ struct travel_data { + struct dircache_entry *first; struct dircache_entry *ce; struct dircache_entry *down_entry; struct fat_dir *dir; |