[pulseaudio-discuss] [PATCH] pa_poll(): Simplify detectin of invalid fds in select() emulation mode
Maarten Bosmans
mkbosmans at gmail.com
Wed Apr 13 15:46:45 PDT 2011
2011/4/13 Daniel Mack <zonque at gmail.com>:
> Attached is a patch to fix for one out of the few problems I still
> fight with on OS X.
>
> I'm not sure whether this change breaks Windows support, so I'd be
> happy if someone could give it a try.
This is indeed a problem.
return (fd >= 0) && (fcntl(fd, F_GETFL) != -1);
For Windows, both fcntl and F_GETFL are not available.
> Thanks,
> Daniel
Maarten
More information about the pulseaudio-discuss
mailing list