|
From: | Shigio YAMAGUCHI |
Subject: | Re: symbolic links, unreadable files, skip |
Date: | Fri, 28 Aug 2015 09:26:29 +0900 |
On 27/08/2015 21:33, Shigio YAMAGUCHI wrote:
> Isn't there a way to decide whether it is a dead link?
Sure, test if fopen fails. :)
> It is not opentoken() but parsers that call die().
Yeah, that's what I meant.
> It might be difficult to force plug-in parsers not to die.
Plug-in parsers can do what they want, that's not the issue.
You ignore files when stat fails, why not ignore files when
fopen fails? That's what the attached patch does. Oh, I
was also able to successfully use skip on the broken link,
so I don't know what went wrong there.
--
Jason.
[Prev in Thread] | Current Thread | [Next in Thread] |