Re: symbolic links, unreadable files, skip

Shigio YAMAGUCHI <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <CADJmJYop8g6adSV8J8E1s5+91w79BZ9pqfdPVNnWNVNvj1ivZw@mail.gmail.com>
Hi,
> From a Windows point of view, stat (from MSVCRT.DLL, but not
> from VS2008 and later) succeeds on dead links (since it only
> sees the link, not the target).

Isn't there a way to decide whether it is a dead link?

> I suggest opentoken should warn and ignore on failure, not die.

It is not opentoken() but parsers that call die().
It might be difficult to force plug-in parsers not to die.

Regards
Shigio


2015-08-27 17:51 GMT+09:00 Jason Hood <[email protected]>:

> On 27/08/2015 10:39, Shigio YAMAGUCHI wrote:
> > By the way, gtags ignores orphaned symbolic links.
>
> From a Windows point of view, stat (from MSVCRT.DLL, but not
> from VS2008 and later) succeeds on dead links (since it only
> sees the link, not the target).  I suggest opentoken should
> warn and ignore on failure, not die.
>
> --
> Jason.
>



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.