On 2013-12-12 09:29 +0800, Shigio YAMAGUCHI wrote:
> Any reappearance environment?
> By the way, if possible, would you please avoid putting
> two or more matters into one mail? I appreciate cooperation.

OK.

To reproduce this issue:

1. git clone https://github.com/dogecoin/dogecoin or any project
2. ln -s dogecoin alias
3. cd alias
4. gtags -I
5. cd ../dogecoin
6. lid

The last step should produce absolute paths which trip global over.

Basically one could see this issue if any part of a project root is a
symbolic link. For example $HOME/sources -> /home/shared/sources.

Leo

>>>> Now rename ID-old back to ID to look at another issue:
>>>>
>>>> --8<---------------cut here---------------start------------->8---
>>>> global -v --result=grep --path-style=shorter --idutils --regexp 
>>>> "fDbEnvInit"
>>>> global: The path in the output of lid is assumed relative.
>>>> '/home/leo/sources/c/dogecoin/src/db.h:38:    bool fDbEnvInit;'
>>>>
>>>> Global exited abnormally with code 1 at Tue Dec 10 11:44:12
>>>> --8<---------------cut here---------------end--------------->8---
>>>>
>>>> I have reported this issue before but it is funny this time. The ID file
>>>> was created by gtags itself using --idutils and yet global cannot handle
>>>> it.
>>>>
>>>> I will keep the ID file around. Let me know if you need further
>>>> information.

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to