[vlc-devel] vlc_loaddir always falis on Mac OSX
Naohiro KORIYAMA
nkoriyama at gmail.com
Tue Oct 11 10:14:33 CEST 2011
2011/10/11 Rémi Denis-Courmont <remi at remlab.net>:
> On Tue, 11 Oct 2011 16:54:45 +0900, Naohiro KORIYAMA <nkoriyama at gmail.com>
> wrote:
>> 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.
>
> Well, maybe. But the point is errno = EBADF means the file descriptor is
> invalid. So it's perfectly normal for vlc_readdir() to fail. The bug must
> be somewhere else.
>
Yes, the bug must be somewhere else or ,,,. but it exists no doubt on Mac.
Everywhere using vlc_readdir(), fpathconf always renturns -1 and errno
= EBADF(9).
Here is full log from starting vlc and exiting vlc not only lua part.
a little bit long and contains Japanese characters UTF-8.
http://dl.dropbox.com/u/7574919/vlc_all.log
--
KORIYAMA, Naohiro
nkoriyama at gmail.com
More information about the vlc-devel
mailing list