w32: Change directory on daemon startup.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 24 Jul 2017 14:31:55 +0000 (16:31 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Mon, 24 Jul 2017 14:31:55 +0000 (16:31 +0200)
commit78ebc62604d77600b9865950610717d28c6027a2
treef7027a1ee81eb180eab71cf6ef32bf08da117d50
parentd8e46f10698da0bee4cd58d95f1f9832bdda0c5f
w32: Change directory on daemon startup.

* agent/gpg-agent.c [HAVE_W32_SYSTEM]: Include <direct.h>.
(main) [HAVE_W32_SYSTEM]: Change working directory to \.
* dirmngr/dirmngr.c [HAVE_W32_SYSTEM]: Include <direct.h>.
(main) [HAVE_W32_SYSTEM]: Change working directory to \.
* scd/scdaemon.c [HAVE_W32_SYSTEM]: Include <direct.h>.
(main) [HAVE_W32_SYSTEM]: Change working directory to \.

Signed-off-by: Marcus Brinkmann <mb@g10code.com>
GnuPG-bug-id: 2670
agent/gpg-agent.c
dirmngr/dirmngr.c
scd/scdaemon.c