1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: apps/tagcache.c
===================================================================
--- apps/tagcache.c  (revision 29529)
+++ apps/tagcache.c  (working copy)
@@ -4351,6 +4351,7 @@

         processed_dir_count++;
         if (info.attribute & ATTR_DIRECTORY)
+#ifndef SIMULATOR
         {   /* don't follow symlinks to dirs, but try to add it as a search root
              * this makes able to avoid looping in recursive symlinks */
             if (info.attribute & ATTR_LINK)
@@ -4358,6 +4359,9 @@
             else
                 check_dir(curpath, add_files);
         }
+#else
+            check_dir(curpath, add_files);
+#endif
         else if (add_files)
         {
             tc_stat.curentry = curpath;