[vlc-devel] vlc_loaddir always falis on Mac OSX

Rémi Denis-Courmont remi at remlab.net
Tue Oct 11 09:59:16 CEST 2011

On Tue, 11 Oct 2011 16:54:45 +0900, Naohiro KORIYAMA <nkoriyama at gmail.com>
> 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

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.

Rémi Denis-Courmont

More information about the vlc-devel mailing list