From 39c484ba8efea1540811c518c0a78e1fce7db1af Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 23 May 1995 08:12:59 +0000 Subject: [PATCH] Minor changes. --- kernel/default.res | 4 ++-- kernel/monitor.c | 9 +++++++-- kernel/urp.c | 7 +++++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/kernel/default.res b/kernel/default.res index 02e661a..271f019 100644 --- a/kernel/default.res +++ b/kernel/default.res @@ -1,5 +1,5 @@ # Email gateway - general kernel resources -# $Id: default.res,v 1.24 1995/05/22 11:42:48 adam Exp $ +# $Id: default.res,v 1.25 1995/05/23 08:12:59 adam Exp $ # # Important directories, programs, etc. gw.reply.mta: /usr/lib/sendmail @@ -7,7 +7,7 @@ gw.reply.tmp.prefix: gwr gw.reply.tmp.dir: /tmp #gw.path: /home/adam/egate/kernel gw.marc.log: marc.log -gw.timeout: 30 +gw.timeout: 300 gw.resultset: 1 gw.persist: 1 gw.max.process: 3 diff --git a/kernel/monitor.c b/kernel/monitor.c index 6964067..f795cbc 100644 --- a/kernel/monitor.c +++ b/kernel/monitor.c @@ -45,7 +45,10 @@ * Europagate, 1995 * * $Log: monitor.c,v $ - * Revision 1.13 1995/05/22 11:42:48 adam + * Revision 1.14 1995/05/23 08:12:59 adam + * Minor changes. + * + * Revision 1.13 1995/05/22 11:42:48 adam * Minor changes on dtbsun. * * Revision 1.12 1995/05/19 14:51:06 adam @@ -395,8 +398,10 @@ static void monitor_events (int argc, char **argv) gip_m = gips_initialize (MONITOR_FIFO_S); r = gips_open (gip_m, MONITOR_FIFO_C, 0); gip_m_fd = gip_infileno (gip_m); +#if 1 open (MONITOR_FIFO_S, O_WRONLY); - +#endif + gw_log (GW_LOG_DEBUG, module, "Starting event loop"); while (1) { int fd_max; diff --git a/kernel/urp.c b/kernel/urp.c index ff1eaa0..3ca6e5f 100644 --- a/kernel/urp.c +++ b/kernel/urp.c @@ -45,7 +45,10 @@ * Europagate, 1995 * * $Log: urp.c,v $ - * Revision 1.39 1995/05/22 14:57:30 adam + * Revision 1.40 1995/05/23 08:13:00 adam + * Minor changes. + * + * Revision 1.39 1995/05/22 14:57:30 adam * Next default record position also set by last p=... in show. * * Revision 1.38 1995/05/19 13:26:00 adam @@ -980,7 +983,7 @@ static int exec_command (const char *str, int *stop_flag) fprintf (reply_fd, "\n> %s\n", str); if (!info.zass) /* fail? */ { - fprintf (reply_fd, "%s\n", + fprintf (reply_fd, "\n%s\n", gw_res_get (info.kernel_res, "gw.err.no.target", "No connection established - " "command ignored")); -- 1.7.10.4