From 57dc493db55ec9388e3e3a3eb848fffccb07b301 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 22 Apr 2010 08:31:10 +0000 Subject: dircache: increase stack size to handle the worse case path during rebuild (dircache->fat->ata-sd-pp+sdhc) and allows directory with depth up to 20 approximately git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25697 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/dircache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c index 8b9be78b35..495366f5d8 100644 --- a/firmware/common/dircache.c +++ b/firmware/common/dircache.c @@ -74,7 +74,7 @@ static unsigned int cache_build_ticks = 0; static unsigned long appflags = 0; static struct event_queue dircache_queue; -static long dircache_stack[(DEFAULT_STACK_SIZE + 0x200)/sizeof(long)]; +static long dircache_stack[(DEFAULT_STACK_SIZE + 0x400)/sizeof(long)]; static const char dircache_thread_name[] = "dircache"; static struct fdbind_queue fdbind_cache[MAX_PENDING_BINDINGS]; -- cgit v1.2.3