mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent,w32: Initialize nPth in server mode.
* agent/gpg-agent.c (main) [W32]: Call initialize_modules in server
mode.
--
Fixes-commit: 9a707a223a
Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
a5910e00ac
commit
81d6e98cdf
1 changed files with 5 additions and 0 deletions
|
@ -1532,10 +1532,15 @@ main (int argc, char **argv )
|
||||||
parent_pid = getpid ();
|
parent_pid = getpid ();
|
||||||
|
|
||||||
fflush (NULL);
|
fflush (NULL);
|
||||||
|
|
||||||
#ifdef HAVE_W32_SYSTEM
|
#ifdef HAVE_W32_SYSTEM
|
||||||
|
|
||||||
(void)csh_style;
|
(void)csh_style;
|
||||||
(void)nodetach;
|
(void)nodetach;
|
||||||
|
initialize_modules ();
|
||||||
|
|
||||||
#else /*!HAVE_W32_SYSTEM*/
|
#else /*!HAVE_W32_SYSTEM*/
|
||||||
|
|
||||||
pid = fork ();
|
pid = fork ();
|
||||||
if (pid == (pid_t)-1)
|
if (pid == (pid_t)-1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue