diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-12-23 19:02:18 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-12-23 19:02:18 +0000 |
commit | 87c8be4a08b4864f0df588c80bc90586f5e512a0 (patch) | |
tree | c2265c82437eae7533569f1c6b6e254a321a06f4 /firmware/include/dir.h | |
parent | e1b1183f401974700a67db76f39e2bba9a5984e1 (diff) | |
download | rockbox-87c8be4a08b4864f0df588c80bc90586f5e512a0.tar.gz rockbox-87c8be4a08b4864f0df588c80bc90586f5e512a0.zip |
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
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r-- | firmware/include/dir.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ | |||
48 | #define ATTR_DIRECTORY 0x10 | 48 | #define ATTR_DIRECTORY 0x10 |
49 | #define ATTR_ARCHIVE 0x20 | 49 | #define ATTR_ARCHIVE 0x20 |
50 | #define ATTR_VOLUME 0x40 /* this is a volume, not a real directory */ | 50 | #define ATTR_VOLUME 0x40 /* this is a volume, not a real directory */ |
51 | #define ATTR_LINK 0x80 | ||
51 | 52 | ||
52 | #ifdef HAVE_DIRCACHE | 53 | #ifdef HAVE_DIRCACHE |
53 | # include "dircache.h" | 54 | # include "dircache.h" |