Article delegate-en/660 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A658@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] urgent patch for DeleGate/6.0.6
15 Dec 1999 08:59:32 GMT ysato@etl.go.jp (Yutaka Sato)


DeleGate/6.0.6 will die with fatal signals like SIGSEGV on some
platforms, mainly on Linux.  It is caused by duplicated fclose()
applied to a same FILE.  The enclosed patch will fix the problem.

Cheers,
Yutaka
--
Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_


*** ../../delegate6.0.6/src/http.c	Tue Dec 14 19:06:27 1999
--- http.c	Wed Dec 15 17:30:56 1999
***************
*** 4732,4738 ****
  			close(QX_tsfd);
  			close(QX_fsfd);
  			if( Conn->sv_reusing ){
! 				closeServ(Conn,QX,ts,fs);
  			}
  		}
  	}
--- 4732,4739 ----
  			close(QX_tsfd);
  			close(QX_fsfd);
  			if( Conn->sv_reusing ){
! 				sv1log("#### SERVER_REUSE: got EOF\n");
! 				delServ(Conn,fileno(ts),fileno(fs));
  			}
  		}
  	}

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V