[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updated inofficial experimental (etc.) ssh packages



I wrote:

> Some of your changes broke hurd compilation, though. Details and
> patches later.

* sa_restorer does not exist. Linux's sigaction(2) page says: 

       The  sa_restorer  element  is  obsolete  and should not be
       used.  POSIX does not specify a sa_restorer element.

Setting it to NULL is superflous, anyway, after the memset. So I
killed that line. That makes it compile.

No time for testing now ... gotta run


diff -c openssh-2.5.2p2/sshconnect.c\~ openssh-2.5.2p2/sshconnect.c
*** openssh-2.5.2p2/sshconnect.c~	Sat Jun 30 10:08:00 2001
--- openssh-2.5.2p2/sshconnect.c	Sat Jun 30 13:24:37 2001
***************
*** 343,349 ****
  	 */
  	if(options.bannertimeout > 0){
          	memset(&sa,0,sizeof(sa));
- 		sa.sa_restorer=NULL;
  		sa.sa_handler=alarm_catch;
  		/*throw away any pending alarms, since we'd block otherwise*/
  		alarm(0);
--- 343,348 ----



-- 
Robbe

Attachment: signature.ng
Description: PGP signature


Reply to: