Subject: Re: Current build failure
To: Aymeric Vincent <Aymeric.Vincent@labri.fr>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 09/13/2003 13:18:16
On Sep 13,  5:35pm, Aymeric.Vincent@labri.fr (Aymeric Vincent) wrote:
-- Subject: Re: Current build failure

Thanks, I'll put it in.

christos

| Thanks, this fixes line 922, and the following patch fixes a syntax
| error and the forgotten renaming of si to info on the next line.
| 
| Now, "it compiles".
| 
|  Aymeric
| 
| Index: pthread_sig.c
| ===================================================================
| RCS file: /cvsroot/src/lib/libpthread/pthread_sig.c,v
| retrieving revision 1.21
| diff -u -r1.21 pthread_sig.c
| --- pthread_sig.c	2003/09/13 15:26:38	1.21
| +++ pthread_sig.c	2003/09/13 15:32:44
| @@ -919,8 +919,8 @@
|  		 */
|  		sigset_t *maskp = uc->uc_stack.ss_sp;
|  		PTHREAD_UCONTEXT_TO_SIGCONTEXT(maskp, uc, &psc);
| -		(*((void *)(*)(int, int, struct sigcontext *)handler))
| -		    (si->si_signo, si->si_trap, &psc.psc_context);
| +		((void *(*)(int, int, struct sigcontext *))handler)
| +		    (info->si_signo, info->si_trap, &psc.psc_context);
|  		PTHREAD_SIGCONTEXT_TO_UCONTEXT(&psc, uc);
|  	}
|  #endif
| 
| christos@zoulas.com (Christos Zoulas) writes:
| 
| > On Sep 13,  5:20pm, Aymeric.Vincent@labri.fr (Aymeric Vincent) wrote:
| > -- Subject: Re: Current build failure
| > 
| > ok, try 1.21 of pthread_sig.c
| > 
| > christos
-- End of excerpt from Aymeric Vincent