Home GnuPG
Diffusion GnuPG 36d8cffc6cd2

scd: Finish DEVINFO --watch command on input close.

Description

scd: Finish DEVINFO --watch command on input close.

* scd/app.c (card_list_signal): Use pipe on POSIX system, event on
Windows.
(card_list_wait): Detect input change as well as card list event
change.
(app_send_devinfo): Finish the command on input close.
(initialize_module_command): Initialize pipe or event.
  • GnuPG-bug-id: T7151
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>