From 41b4b3eed369395312c48fe5abe67bd3f8b959a1 Mon Sep 17 00:00:00 2001 From: pamaury Date: Thu, 22 Apr 2010 08:31:10 +0000 Subject: [PATCH] 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 8b9be78b3..495366f5d 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]; -- 2.11.4.GIT