Open of client FIFO called with O_NDELAY when reconnecting to shell
[egate.git] / www / wproto.c
index a90223e..03b04d5 100644 (file)
  * USE OR PERFORMANCE OF THIS SOFTWARE.
  *
  * $Log: wproto.c,v $
- * Revision 1.16  1996/01/24 10:13:56  adam
+ * Revision 1.17  1996/01/26 09:02:22  adam
+ * Open of client FIFO called with O_NDELAY when reconnecting to shell
+ * in order to prevent serious lock if previous shell died without
+ * unlinking client FIFO.
+ *
+ * Revision 1.16  1996/01/24  10:13:56  adam
  * Bug fix: in function wo_write realloc is used only when memory is already
  * allocated with malloc.
  *
@@ -363,7 +368,6 @@ int wproto_process(WCLIENT wc, int timeout)
             unlink (wc->wf_serverp);
            return 0;
        }
-        /* determine handle (fifo or user) */
        if (read(wc->linein, &toread, sizeof(toread)) < sizeof(toread))
        {
            gw_log (GW_LOG_FATAL|GW_LOG_ERRNO, mod, "wp_proc:len read failed");