From 871575f0f03b697a602b3cb7ee6fe0b5d29a9607 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Tue, 28 Feb 2006 11:41:35 +0000 Subject: 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 --- firmware/include/dircache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/include/dircache.h') 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; -- cgit v1.1