Re: [PATCH] bluetoothctl: Fix handling of (G_IO_IN | G_IO_HUP) input case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philip,

On Fri, Nov 22, 2013, Philip Withnall wrote:
> If running bluetoothctl as a subprocess from another process, and piping
> input to it, it’s possible for the stdin pipe to be closed by the parent
> process while there’s still data pending in its buffer. This results in
> input handler callbacks with condition (G_IO_IN | G_IO_HUP). All of the
> pending input should be handled before closing bluetoothctl.
> ---
>  client/main.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Applied. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux