Diffusion GnuPG e0d9181ad11a

tools: Let watchgnupg determine the socket name via gpgconf.

Authored by werner on Jan 20 2020, 4:50 PM.

Description

tools: Let watchgnupg determine the socket name via gpgconf.

* tools/watchgnupg.c: Include sys/wait.h.
(GNUPG_DEF_COPYRIGHT_LINE): Add a default value for standalone
building.
(get_logname): New.
(main): Use a default socket name and add option --homedir.

This is quite convenient and saves a lot of typing or shell alias
definitions.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerJan 20 2020, 4:50 PM
Parents
rG7f12fb55f975: gpgconf,w32: Print a warning for a suspicious homedir.
Branches
Unknown
Tags
Unknown