mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Revert "w32: Change directory on daemon startup."
--
This reverts commit 78ebc62604
.
Gnupg-bug-id: 2670
This commit is contained in:
parent
166d0d7a24
commit
f2d2648a4d
3 changed files with 6 additions and 26 deletions
|
@ -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*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue