Home GnuPG
Diffusion GnuPG 6996e5f6ff5d

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.

(cherry picked from commit 36d8cffc6cd2838e7cb439c566fdd2b3dd076c15)

  • GnuPG-bug-id: T7151
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Tue, Jun 25, 8:29 AM
wernerCommitted on Mon, Jul 1, 2:16 PM
Parents
rGfc732131a1d6: scd: Factor out scd_init_event function.
Branches
Unknown
Tags
Unknown
Tasks
T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close