bug-global
[Top][All Lists]
Advanced

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

Re: [RFC] Treatment of symbolic link


From: Hideki IWAMOTO
Subject: Re: [RFC] Treatment of symbolic link
Date: Wed, 16 Jan 2008 07:56:25 +0900

On Tue, 15 Jan 2008 20:10:52 +0900, Shigio YAMAGUCHI wrote...
> It should be "out of source tree", I think.

Currently, "global -f" expands symlink which points to a directory. 
It is necessary to stop expanding symlink to avoid the reappearance of bug
reported in http://lists.gnu.org/archive/html/bug-global/2006-10/msg00002.html.
However, <symlink>/.. cannot be correctly treated without following symbolic 
link.

On Tue, 15 Jan 2008 20:10:52 +0900, Shigio YAMAGUCHI wrote...
> Hi,
> > Which should the result of "global -f foo/../src/main.c" for the next tree 
> > be?
> >   '/sys/src/main.c' is out of source tree.
> >      or 
> >   main             4 src/main.c         main(int argc, char *argv[])
> > 
> > 
> >     /home/src/      (a project directory, it has GTAGS)
> >            +-lib/
> >                    +-src/
> >                    +-- main.c 
> >            +-foo (symlink)
> >               |
> >               |
> >         /sys/     v
> >            +-----bar/ (outside of the project, it doesn't have GTAGS)
> >                +-----src/
> >                   +-- main.c 
> 
> It should be "out of source tree", I think.
> But to tell the truth, I don't know what happens.
> As for the usage which comes off from the concept of GLOBAL,
> the user should be responsible about it.
> --
> Shigio Yamaguchi <address@hidden> - Tama Communications Corporation
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

----
Hideki IWAMOTO  address@hidden




reply via email to

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