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.tar.gz rockbox-871575f0f03b697a602b3cb7ee6fe0b5d29a9607.zip |
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 6e75e1bfeb..93bc413dc9 100644 --- a/firmware/include/dircache.h +++ b/firmware/include/dircache.h | |||
@@ -24,11 +24,12 @@ | |||
24 | #ifdef HAVE_DIRCACHE | 24 | #ifdef HAVE_DIRCACHE |
25 | 25 | ||
26 | #define DIRCACHE_RESERVE (1024*64) | 26 | #define DIRCACHE_RESERVE (1024*64) |
27 | #define DIRCACHE_LIMIT (1024*1024*3) | 27 | #define DIRCACHE_LIMIT (1024*1024*6) |
28 | #define DIRCACHE_FILE ROCKBOX_DIR "/dircache.dat" | 28 | #define DIRCACHE_FILE ROCKBOX_DIR "/dircache.dat" |
29 | 29 | ||
30 | /* Internal structures. */ | 30 | /* Internal structures. */ |
31 | struct travel_data { | 31 | struct travel_data { |
32 | struct dircache_entry *first; | ||
32 | struct dircache_entry *ce; | 33 | struct dircache_entry *ce; |
33 | struct dircache_entry *down_entry; | 34 | struct dircache_entry *down_entry; |
34 | struct fat_dir *dir; | 35 | struct fat_dir *dir; |