From ad4d81f528229e0ecda3246aee3fcf88f0e9c3c3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 27 Jun 2002 07:29:57 +0000 Subject: * gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained. --- scd/scdaemon.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scd/scdaemon.c') diff --git a/scd/scdaemon.c b/scd/scdaemon.c index a6f18cc36..d1402b5ee 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -261,13 +261,7 @@ main (int argc, char **argv ) looking at the uid or ebtter use an explict option for this */ opt.homedir = getenv("GNUPGHOME"); if (!opt.homedir || !*opt.homedir) - { -#ifdef HAVE_DRIVE_LETTERS - opt.homedir = "c:/gnupg-test"; -#else - opt.homedir = "~/.gnupg-test"; -#endif - } + opt.homedir = GNUPG_DEFAULT_HOMEDIR; /* check whether we have a config file on the commandline */ orig_argc = argc; -- cgit v1.2.3