summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2008-06-04 19:27:11 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2008-06-04 19:27:11 +0000
commitdd7103ae2e2a73c91a393aaa2ae62f17bbd93535 (patch)
treed870897b4340229eacbf9906c27d9b209d381118 /apps
parent27ad822a447374facc721122bcbe576555c40197 (diff)
downloadrockbox-dd7103ae2e2a73c91a393aaa2ae62f17bbd93535.tar.gz
rockbox-dd7103ae2e2a73c91a393aaa2ae62f17bbd93535.tar.bz2
rockbox-dd7103ae2e2a73c91a393aaa2ae62f17bbd93535.zip
Make sure a temporary file does not exists preventing the database re-initialization.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17689 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tagcache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index e9a8dab599..cfa0d70737 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -4323,6 +4323,7 @@ static void tagcache_thread(void)
case Q_REBUILD:
remove_files();
+ remove(TAGCACHE_FILE_TEMP);
tagcache_build("/");
break;