From eb37d6469e722ae5ff187962c216474b5ec476de Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 22 Sep 2021 10:18:30 +0200 Subject: 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. -- GnuPG-bug-id: 5613 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) --- tests/t-engine-info.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/t-engine-info.c') diff --git a/tests/t-engine-info.c b/tests/t-engine-info.c index db46bf86..654cf843 100644 --- a/tests/t-engine-info.c +++ b/tests/t-engine-info.c @@ -118,6 +118,7 @@ main (int argc, char **argv ) "libdir", "datadir", "localedir", + "socketdir", "agent-socket", "agent-ssh-socket", "dirmngr-socket", -- cgit v1.2.3