Subject: PR/29536 CVS commit: src/lib/libpthread
To: None <nathanw@netbsd.org, gnats-admin@netbsd.org,>
From: Nathan J Williams <nathanw@netbsd.org>
List: netbsd-bugs
Date: 02/26/2005 18:21:01
The following reply was made to PR lib/29536; it has been noted by GNATS.

From: Nathan J Williams <nathanw@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29536 CVS commit: src/lib/libpthread
Date: Sat, 26 Feb 2005 18:15:25 +0000 (UTC)

 Module Name:	src
 Committed By:	nathanw
 Date:		Sat Feb 26 18:15:25 UTC 2005
 
 Modified Files:
 	src/lib/libpthread: pthread_sig.c
 
 Log Message:
 Fetch the old signal mask for the signal action whether or not we're
 setting a new signal action; this makes sigaction(sig, NULL, &oact)
 return a sensible value in the signal mask instead of stack trash.
 
 Addresses PR lib/29536.
 
 XXX the mask seen by signal handlers in a program linked with
 libpthread but not yet multithreaded will not reflect masks set here.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.36 -r1.37 src/lib/libpthread/pthread_sig.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.