Subject: CVS commit: src/lib/libpthread
To: None <source-changes@NetBSD.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 02/26/2005 18:15:25
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.