Bug fixes and select on FIFOs in wcgi - doesn't really work!
[egate.git] / www / wirtcl.c
index a94baf6..e85af44 100644 (file)
  * USE OR PERFORMANCE OF THIS SOFTWARE.
  *
  * $Log: wirtcl.c,v $
- * Revision 1.6  1995/11/01 16:15:47  adam
+ * Revision 1.7  1995/11/02 16:35:37  adam
+ * Bug fixes and select on FIFOs in wcgi - doesn't really work!
+ *
+ * Revision 1.6  1995/11/01  16:15:47  adam
  * Better presentation of records. Query/set number persistent.
  *
  * Revision 1.5  1995/10/31  16:56:24  adam
@@ -236,10 +239,12 @@ static int events (struct tcl_info *p, char *waitVar)
         }
         if (!r)
             break;
+#if 1
         gw_log (GW_LOG_DEBUG, mod, "fifo select %d", fifo_in);
         FD_SET (fifo_in, &fdset_tcl_r);
+#endif
         if ((r = select(max_fd+1, &fdset_tcl_r, &fdset_tcl_w, 
-                          &fdset_tcl_x, 300)) < 0)
+                          &fdset_tcl_x, NULL)) < 0)
         {
             gw_log (GW_LOG_ERRNO|GW_LOG_FATAL, mod, "select");
             exit(1);