RaaA: Improve tagcache search to make the database built.
commit3a5ce1fbe835723c6f22af48029ab9b1cbbfd0a4
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 23 Dec 2010 19:02:18 +0000 (23 19:02 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Thu, 23 Dec 2010 19:02:18 +0000 (23 19:02 +0000)
treec2265c82437eae7533569f1c6b6e254a321a06f4
parentebdec96e1e43026232f5579d783bdf3afea8878a
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
apps/tagcache.c
firmware/include/dir.h
firmware/target/hosted/android/fs-android.c
uisimulator/common/io.c