Subject: Re: getting rid of sigcontext and adding siginfo support to libpthread
To: Klaus Klein <kleink@reziprozitaet.de>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 09/11/2003 18:15:12
On Sep 12, 12:12am, kleink@reziprozitaet.de (Klaus Klein) wrote:
-- Subject: Re: getting rid of sigcontext and adding siginfo support to libpt

Good catch!

christos

| > 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
-- End of excerpt from Klaus Klein