Hi,
I saw in your source code that you check that the current path is a
parent of the files indexed. However, I don't really understand why you
check it :(
For example, I want to index the file
/var/tmp/dbxml-2.5.16/dbxml/include/dbxml/XmlValue.hpp from my dir
/root. gtags should not care about it ! I'm providing the dbpath too, so
what's the matter ??
mkdir -p ~/gtags/src/dbxml-2.5.16
echo /var/tmp/dbxml-2.5.16/dbxml/include/dbxml/XmlValue.hpp|gtags -v -f
- ~/gtags/src/dbxml-2.5.16
[Fri Aug 20 07:30:45 PDT 2010] Gtags started.
Using default configuration.
Using '-' as a file list.
[Fri Aug 20 07:30:45 PDT 2010] Creating 'GTAGS' and 'GRTAGS'.
normalize :
path=/var/tmp/dbxml-2.5.16/dbxml/include/dbxml/XmlValue.hpp
rootdir=/root/
cwddir=/root
buf=/var/tmp/dbxml-2.5.16/dbxml/include/dbxml/XmlValue.hpp
Warning: '/var/tmp/dbxml-2.5.16/dbxml/include/dbxml/XmlValue.hpp' is out
of source tree. (Ignored)
[Fri Aug 20 07:30:45 PDT 2010] Done.
Regards
--
Cyril SCETBON
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global