public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [bluez/bluez] e73bf5: shared/shell: Don't init input for non-interactive...
@ 2026-01-07 18:55 Dmitry Baryshkov
  0 siblings, 0 replies; only message in thread
From: Dmitry Baryshkov @ 2026-01-07 18:55 UTC (permalink / raw)
  To: linux-bluetooth

  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: e73bf582dae60356641a32fc27ae03d359ec4c47
      https://github.com/bluez/bluez/commit/e73bf582dae60356641a32fc27ae03d359ec4c47
  Author: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
  Date:   2026-01-07 (Wed, 07 Jan 2026)

  Changed paths:
    M src/shared/shell.c

  Log Message:
  -----------
  shared/shell: Don't init input for non-interactive shells

Only the interactive shell is supposed to read comments from the input
file descriptor. Rework bt_attach_shell() in order to stop calling
input_new() / io_new() in a non-interactive case.

Fixes: https://github.com/bluez/bluez/issues/700


  Commit: 38ac68e239090f01eb39511921a703667266c310
      https://github.com/bluez/bluez/commit/38ac68e239090f01eb39511921a703667266c310
  Author: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
  Date:   2026-01-07 (Wed, 07 Jan 2026)

  Changed paths:
    M src/shared/shell.c

  Log Message:
  -----------
  shared/shell: make bt_attach_shell more obvious

There are only two cases, interactive and non-interactive. Make that
more obvious by using if-else rather than two if-checks.


Compare: https://github.com/bluez/bluez/compare/b35b6befb12c...38ac68e23909

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-07 18:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-07 18:55 [bluez/bluez] e73bf5: shared/shell: Don't init input for non-interactive Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox