On Thu, Apr 14, 2011 at 12:46 AM, Maarten Bosmans <mkbosm...@gmail.com> wrote:
> return (fd >= 0) && (fcntl(fd, F_GETFL) != -1);
>
> For Windows, both fcntl and F_GETFL are not available.

Sigh. Ok, thanks for the feedback. Attached is a new patch which keeps
things as they are for Windows but fixes the problem for OS X.

Daniel

Attachment: 0001-pa_poll-Simplify-detection-of-invalid-fds-in-select-.patch
Description: Binary data

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to