Lots of changes. They aren't visible though.
[egate.git] / kernel / monitor.c
index 3ed0cc6..d557979 100644 (file)
  * Europagate, 1995
  *
  * $Log: monitor.c,v $
- * Revision 1.12  1995/05/19 14:51:06  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
  * Bug fix: stopped kernels sometimes got IPC messages from the monitor.
  *
  * Revision 1.11  1995/05/19  13:26:00  adam
 #include <strqueue.h>
 #include <lgets.h>
 
-#define LINE_MAX 1024
+#define STR_LINE_MAX 1024
 
 #define MONITOR_FIFO_S "fifo.s.m"
 #define MONITOR_FIFO_C "fifo.c.m"
@@ -392,7 +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;