diff options
author | Werner Koch <[email protected]> | 2017-07-25 10:19:08 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-07-25 10:19:08 +0000 |
commit | f2d2648a4deb205c26ac869c857c000a95d3ff0c (patch) | |
tree | c2079e0af064a7a54d3fd5520e4d0832fdd66bb4 /agent | |
parent | gpg: Update key origin info during import merge. (diff) | |
download | gnupg-f2d2648a4deb205c26ac869c857c000a95d3ff0c.tar.gz gnupg-f2d2648a4deb205c26ac869c857c000a95d3ff0c.zip |
Revert "w32: Change directory on daemon startup."
--
This reverts commit 78ebc62604d77600b9865950610717d28c6027a2.
Gnupg-bug-id: 2670
Diffstat (limited to 'agent')
-rw-r--r-- | agent/gpg-agent.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 90e8a2657..efaebfd94 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -39,7 +39,6 @@ # endif # include <aclapi.h> # include <sddl.h> -# include <direct.h> #else /*!HAVE_W32_SYSTEM*/ # include <sys/socket.h> # include <sys/un.h> @@ -1559,11 +1558,6 @@ main (int argc, char **argv ) (void)csh_style; (void)nodetach; initialize_modules (); - if (_chdir("\\")) - { - log_error ("chdir to / failed: %s\n", strerror (errno)); - exit (1); - } #else /*!HAVE_W32_SYSTEM*/ |