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 <[EMAIL PROTECTED]> - Tama Communications Corporation
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

----
Hideki IWAMOTO  [EMAIL PROTECTED]


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

Reply via email to