chiark / gitweb /
common: Implicitly do a gpgconf --create-socketdir.
authorWerner Koch <wk@gnupg.org>
Thu, 23 Mar 2017 08:38:19 +0000 (09:38 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commitf41048771d2039b6939f73849e16cb7bfa519b23
treeff704f3822680ea7e98a20add9a87847437a7dfa
parent8200923a8c834312a9eaf07f74ea480f9237a88c
common: Implicitly do a gpgconf --create-socketdir.

* common/homedir.c (_gnupg_socketdir_internal): Create the
sub-directory.
--

Although there is no auto cleanup (yet) this should be helpful.  Let's
see whether possibly leaving stale directories around is better than
running into trouble when --create-socketdir was not used.

Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 26086b362ff47d21b1abefaf674a6464bf0a8921)

Gbp-Pq: Name 0055-common-Implicitly-do-a-gpgconf-create-socketdir.patch
common/homedir.c