[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.
open.txt
Description: Text document
- symbolic links, unreadable files, skip, Marcus Harnisch, 2015/08/26
- Re: symbolic links, unreadable files, skip, Shigio YAMAGUCHI, 2015/08/26
- Re: symbolic links, unreadable files, skip, Jason Hood, 2015/08/27
- Re: symbolic links, unreadable files, skip, Shigio YAMAGUCHI, 2015/08/27
- Re: symbolic links, unreadable files, skip,
Jason Hood <=
- Re: symbolic links, unreadable files, skip, Shigio YAMAGUCHI, 2015/08/27
- Re: symbolic links, unreadable files, skip, Jason Hood, 2015/08/27
- Re: symbolic links, unreadable files, skip, Marcus Harnisch, 2015/08/28
- Re: symbolic links, unreadable files, skip, Shigio YAMAGUCHI, 2015/08/28
- Re: symbolic links, unreadable files, skip, KAICHO, 2015/08/29
- Re: symbolic links, unreadable files, skip, Shigio YAMAGUCHI, 2015/08/30
- Re: symbolic links, unreadable files, skip, Marcus Harnisch, 2015/08/31