Re: [pulseaudio-discuss] [PATCH] core-util: correct error in set_nonblock()

2018-02-12 Thread Tanu Kaskinen
On Sun, 2018-02-11 at 20:12 +0100, Georg Chini wrote: > set_nonblock() will always set the file descriptor to non-blocking, > regardless of the nonblock argument. > > This patch fixes the issue by passing the correct argument to the > fcntl() call. The bug had no impact because there is only one

[pulseaudio-discuss] [PATCH] core-util: correct error in set_nonblock()

2018-02-11 Thread Georg Chini
set_nonblock() will always set the file descriptor to non-blocking, regardless of the nonblock argument. This patch fixes the issue by passing the correct argument to the fcntl() call. The bug had no impact because there is only one caller of pa_make_fd_block() in poll-win32.c ---