[vlc-devel] vlc_loaddir always falis on Mac OSX

Naohiro KORIYAMA nkoriyama at gmail.com
Tue Oct 11 09:58:34 CEST 2011


2011/10/11 Naohiro KORIYAMA <nkoriyama at gmail.com>:
> Hi,
>
> 2011/10/11 Rémi Denis-Courmont <remi at remlab.net>:
>> On Tue, 11 Oct 2011 07:34:14 +0900, Naohiro KORIYAMA <nkoriyama at gmail.com>
>> wrote:
>>> The link below are the part of debug log and debug
>>> function.http://dl.dropbox.com/u/7574919/vlc.log
>>
>> I don't see any problem there. The LUA plugin does evidently get the list
>> of files.
>
>>> http://dl.dropbox.com/u/7574919/vlc_readdir.c
>
> following log is using function in vlc_readdir.c, set 0 to errno when
> fpathconf returns -1.
> If not set 0 to errno, errno is always 9 and go to error for the last loop.
>
> I provide another log that using original function, errno is not set to zero.
> It shows no files listing after readdir, because errno is set to 9 by fpathconf.
>
> http://dl.dropbox.com/u/7574919/vlc2.log
>

I produced vlc2.log using  function in vlc_readdir2.c
http://dl.dropbox.com/u/7574919/vlc_readdir2.c

-- 
KORIYAMA, Naohiro
nkoriyama at gmail.com



More information about the vlc-devel mailing list