Home GnuPG
Diffusion GnuPG 01fa318be0f8

scd: Fix how scdaemon pipe server finishes.

Description

scd: Fix how scdaemon pipe server finishes.

* scd/scdaemon.h (scd_command_handler): Fix the return type.
* scd/command.c (scd_command_handler): Not return a value.
* scd/scdaemon.c (pipe_server): Make it auto variable in main.
(main): Use auto PIPE_SERVER variable.
(start_connection_thread): When it's a pipe connection and it
finishes, let the service shutdown.
  • GnuPG-bug-id: T7151
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Auditors
werner
Provenance
gniibeAuthored on Jun 17 2024, 4:44 AM
Parents
rGc4e6b6aba2c9: m4: Update m4 files.
Branches
Unknown
Tags
Unknown
Tasks
T7151: graceful shutdown: DEVINFO should be a gpg-agent command: also watching input close