patch for Socks5-v1.0r11 (socks patch)
Ключевые слова: socks, patch, (найти похожие документы)
From : Dilshod Mukhtarov 2:5085/1.126 27 Feb 01 19:57:10
Subj : patch for Socks5-v1.0r11
-------------------------------------------------------------------------------
* Forwarded from area 'RU.LINUX'
IA> Требуется патчик Socks5-v1.0r11.
IA> Hа http://www.socks.nec.com не нашел, может
Вот сам патч:
Index: sigfix.h
RCS file: socks5/include/sigfix.h,v
retrieving revision 1.7.4.3
retrieving revision 1.7.4.4
diff -c -r1.7.4.3 -r1.7.4.4
***************
*** 5,11 ****
/* document ("Copyright") included with this distribution.
*/
/*
! * $Id: sigfix.h,v 1.7.4.3 2000/02/24 15:28:14 steve Exp $
*/
#ifndef SIGFIX_H
- --- 5,11 ----
/* document ("Copyright") included with this distribution.
*/
/*
! * $Id: sigfix.h,v 1.7.4.4 2000/09/22 16:14:08 wlu Exp $
*/
#ifndef SIGFIX_H
***************
*** 23,28 ****
- --- 23,29 ----
memset(&sa, 0, sizeof(sa));
sa.sa_handler = func;
sigemptyset(&sa.sa_mask);
+ #ifndef IN_SERVER
#ifdef SA_RESETHAND
sa.sa_flags |= SA_RESETHAND;
#endif
***************
*** 32,37 ****
- --- 33,39 ----
#ifdef SA_RESTART
sa.sa_flags |= SA_RESTART;
#endif
+ #endif
sigaction(signo, &sa, &oa);
return (Sig_t)oa.sa_handler;
}
--
With the best regards,
Dilshod.
ICQ #17915089, e-mail: [email protected], fido: 2:5085/1.126
--- tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.18 (i686))
* Origin: Linux powered station (2:5085/1.126@fidonet)