X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=www%2Fwproto.c;fp=www%2Fwproto.c;h=03b04d53c4057dfdd084c116b6bd6c2e38493ad9;hb=d1fc0ff84894bba24f827a81597717e9f69b6c06;hp=a90223ebe49da92b7157a8e9dfed07af393fb08c;hpb=5b5e33eaf7afda11d555540e3f15ac2d49d245a6;p=egate.git diff --git a/www/wproto.c b/www/wproto.c index a90223e..03b04d5 100644 --- a/www/wproto.c +++ b/www/wproto.c @@ -41,7 +41,12 @@ * 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");