X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=www%2Fwirtcl.c;h=e85af445eb6219482ee737deca71fbd0ca909fea;hb=150d836eb46d0dde8fedeb77fc7fd4ef6eafba4f;hp=a94baf6d157b9b36dee6a0c582348bd0e271c668;hpb=949f8c4efedfe6d191264853690c84f527e1790b;p=egate.git diff --git a/www/wirtcl.c b/www/wirtcl.c index a94baf6..e85af44 100644 --- a/www/wirtcl.c +++ b/www/wirtcl.c @@ -41,7 +41,10 @@ * 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);