Commit 670cfc5b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use the exception set in poll().

This is a theoretical bug fix, as POLLPRI is not used anywhere in VLC.
parent 64f00cf6
......@@ -65,7 +65,7 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout)
tv.tv_usec = d.rem * 1000;
}
val = select (val + 1, &rdset, &wrset, NULL,
val = select (val + 1, &rdset, &wrset, &exset,
(timeout >= 0) ? &tv : NULL);
if (val == -1)
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment