bug-global
[Top][All Lists]
Advanced

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

Re: symbolic links, unreadable files, skip


From: Jason Hood
Subject: Re: symbolic links, unreadable files, skip
Date: Thu, 27 Aug 2015 22:38:07 +1000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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.

Attachment: open.txt
Description: Text document


reply via email to

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