X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=kernel%2Fmonitor.c;h=d5579799cb429d6e79629c8ccf13bb1324de2197;hb=4938d0c2e8f4e1eec397c2bfbbc7e23fd150c369;hp=6964067b9fb483219b17dcaea81d8c9fd37a4b78;hpb=b4b4aaa883554c5033388f7b67594c1e8057362a;p=egate.git diff --git a/kernel/monitor.c b/kernel/monitor.c index 6964067..d557979 100644 --- a/kernel/monitor.c +++ b/kernel/monitor.c @@ -45,7 +45,13 @@ * Europagate, 1995 * * $Log: monitor.c,v $ - * Revision 1.13 1995/05/22 11:42:48 adam + * Revision 1.15 1995/07/11 11:49:12 adam + * LINE_MAX renamed to STR_LINE_MAX. + * + * 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 @@ -113,7 +119,7 @@ #include #include -#define LINE_MAX 1024 +#define STR_LINE_MAX 1024 #define MONITOR_FIFO_S "fifo.s.m" #define MONITOR_FIFO_C "fifo.c.m" @@ -395,8 +401,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;