aboutsummaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2002-01-19 20:59:19 +0000
committerWerner Koch <[email protected]>2002-01-19 20:59:19 +0000
commiteac306fc907a0c7c081b2508d72843fffa56b29f (patch)
tree3549b77f290a1c68a4dae21dc3dd631716e28414 /agent/gpg-agent.c
parent* sysutils.c: New. This is the misc.c file from gnupg 1.0.6 with (diff)
downloadgnupg-eac306fc907a0c7c081b2508d72843fffa56b29f.tar.gz
gnupg-eac306fc907a0c7c081b2508d72843fffa56b29f.zip
* gpg-agent.c (main): Disable core dumps.
* cache.c: New. * command.c (cmd_get_passphrase): Use the cache. (cmd_clear_passphrase): Ditto. * gpg-agent.c: Removed unused cruft and implement the socket based server. (my_strusage): Take bug report address from configure.ac. * command.c (start_command_handler): Add an argument to start as regular server. (start_command_handler): Enable Assuan logging.
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 6dca9631b..1c3efee0b 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -40,6 +40,8 @@
#include "agent.h"
#include "../assuan/assuan.h" /* malloc hooks */
+#include "sysutils.h"
+
#define N_(a) a
#define _(a) a
@@ -252,7 +254,7 @@ main (int argc, char **argv )
gcry_set_log_handler (my_gcry_logger, NULL);
gcry_control (GCRYCTL_USE_SECURE_RNDPOOL);
- may_coredump = 0/* FIXME: disable_core_dumps()*/;
+ may_coredump = disable_core_dumps ();
shell = getenv ("SHELL");
if (shell && strlen (shell) >= 3 && !strcmp (shell+strlen (shell)-3, "csh") )