From 87c8be4a08b4864f0df588c80bc90586f5e512a0 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 23 Dec 2010 19:02:18 +0000 Subject: RaaA: Improve tagcache search to make the database built. First, it add the ability to tagcache to walk through multiple search roots. Second, it adds symlinks targets to the search roots if they're are not inside any of the current search roots, otherwise the symlink is ignored (unless it's a file). The default search root is still /, so no search root will be actually added. But the tagcache now isn't trapped by recursive symlinks anymore and successfully builds, and it's prepared for a future music directory setting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28884 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/dir.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/include/dir.h') diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 3a582c3865..4f1993143c 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -48,6 +48,7 @@ #define ATTR_DIRECTORY 0x10 #define ATTR_ARCHIVE 0x20 #define ATTR_VOLUME 0x40 /* this is a volume, not a real directory */ +#define ATTR_LINK 0x80 #ifdef HAVE_DIRCACHE # include "dircache.h" -- cgit v1.2.3