|
From: | Murdo Mckissock |
Subject: | Re: Shadow source tree. |
Date: | Fri, 16 Apr 2004 13:32:15 +1000 |
User-agent: | Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.0) Gecko/20020611 |
Hi, Sorry, I think I have misled you. In gtags/global I cannot think of any reason to distinguish symbolic links from hard links. I thought perhaps you had some reason and that was why it currently does so. More generally, the only circumstances I can think of are where one needs exclusive access to the file (writing/ locking), or wants information on the filesystem storage (e.g. ls -l) or needs to interface to a tool which does not treat symbolic links as files (e.g. our source control system - perforce). Regards, Murdo Shigio Yamaguchi wrote:
Hi,There is an argument for following symbolic links, and treating the link target as the true file, but my preference is for this to be a selectable option, especially with tools which open files for reading only. I like tools by default to treat symbolic links in the same way as hard links and files, or behave as if they had done so.When do you want to distinguish symbolic link and hard link? In other words, when is it useful? -- Shigio Yamaguchi <address@hidden> - Tama Communications Corporation PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
[Prev in Thread] | Current Thread | [Next in Thread] |