core,w32: Fix new w32-util functions
authorAndre Heinecke <aheinecke@gnupg.org>
Tue, 9 Apr 2019 12:11:21 +0000 (14:11 +0200)
committerAndre Heinecke <aheinecke@gnupg.org>
Tue, 9 Apr 2019 12:11:21 +0000 (14:11 +0200)
commitecbba12b869106ba03e10b7b7dd80f74d086831b
treed514c5d5ce6fb2f456e909c5b09d27284e60f739
parenta82e3a0ae57a48ba173e282a050680751006c074
core,w32: Fix new w32-util functions

* src/w32-util.c (_gpgme_access): Respect mode parameter.
(_gpgme_create_process_utf8): Convert startupinfo, too.

--
This both did not show up in testing as we only use
mode F_OK and STARTUPINFOA is basically the same as
STARTUPINFOW.

Fixes commit: a82e3a0ae57a48ba173e282a050680751006c074

GnuPG-Bug-Id: T4453
src/w32-util.c