bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The path in the output of lid is assumed relative. (was: IDUTILS: exit w


From: Leo Liu
Subject: The path in the output of lid is assumed relative. (was: IDUTILS: exit with code 0 when ID not present)
Date: Thu, 12 Dec 2013 12:04:57 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]