Subject: Re: getting rid of sigcontext and adding siginfo support to
To: Christos Zoulas <christos@zoulas.com>
From: Klaus Klein <kleink@reziprozitaet.de>
List: tech-kern
Date: 09/12/2003 00:12:52
christos@zoulas.com (Christos Zoulas) writes:

> Index: pthread_sig.c
> ===================================================================
> RCS file: /cvsroot/src/lib/libpthread/pthread_sig.c,v
> retrieving revision 1.17
> diff -u -u -r1.17 pthread_sig.c
> --- pthread_sig.c	2003/08/22 17:35:52	1.17
> +++ pthread_sig.c	2003/09/11 21:51:31
> [...]
> @@ -119,6 +120,16 @@
>  	PTQ_INIT(&pt_sigwaiting);
>  }
>  
> +static void
> +pthread__make_siginfo(siginfo_t *si, int sig)
> +{
> +	(void)memset(&si, 0, sizeof(si));

I think you mean (void)memset(si, 0, sizeof(*si)) here.


- Klaus