[vlc-devel] [PATCH 1/4] os2: thread: set POLLNVAL instead of returning -1 if not a socket
Rémi Denis-Courmont
remi at remlab.net
Sun Sep 13 11:02:52 CEST 2015
Le 2015-09-13 10:54, KO Myung-Hun a écrit :
> KO Myung-Hun wrote:
>> From: KO Myung-Hun <komh78 at gmail.com>
>>
>> ---
>> src/os2/thread.c | 32 +++++++++++++++++++++++++-------
>> 1 file changed, 25 insertions(+), 7 deletions(-)
>>
>
> Updated.
FWIW, I think the patch gives incorrect results if there are more than
one non-socket or bad file descriptors in the set. Bad file descriptors
should never happen, but regular files and pipes definitely do.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list