Home GnuPG
Diffusion GPGME eb37d6469e72

core: Support dirinfo("socketdir")

Description

core: Support dirinfo("socketdir")

* src/dirinfo.c (WANT_SOCKETDIR): New.
(dirinfo): Add field socketdir.
(parse_output): Support "socketdir".
(get_gpgconf_item): Return socketdir.
* tests/t-engine-info.c (main): Add socketdir to the output.
* src/w32-util.c (_gpgme_create_process_utf8): Fix indentation.

This is not strictly necessary because we could deduce this from one
of the other socket info items but it is more clean to have a
dedicated info item. The socketdir item is available for 5 years now
(GnuPG commit 8e3fa5a4b205c534de2142e5d071712f957cf06a)

Details

Provenance
wernerAuthored on Sep 22 2021, 10:18 AM
Parents
rM8148237cb4ae: posix: Use poll instead, when available, removing use of select.
Branches
Unknown
Tags
Unknown
Tasks
T5613: GpgEX does not use CSIDL_LOCAL_APPDATA