From eac306fc907a0c7c081b2508d72843fffa56b29f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sat, 19 Jan 2002 20:59:19 +0000 Subject: * 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. --- agent/gpg-agent.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'agent/gpg-agent.c') 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") ) -- cgit v1.2.3