diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-15 11:06:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-07-15 11:06:30 -0700 |
commit | fc5b3a7190a490a169f2d53a54b393a68fab9ec2 (patch) | |
tree | 0abd1c4ad1dead56dfd15efcdca9ef43c0497dcf /cfg.mk | |
parent | 9bb1d38cbb0513c45aee354f9e62eddc7be2fb77 (diff) | |
download | gnulib-fc5b3a7190a490a169f2d53a54b393a68fab9ec2.tar.gz |
pthread_sigmask: fix bug on FreeBSD 9
* lib/pthread_sigmask.c [PTHREAD_SIGMASK_INEFFECTIVE]:
Include string.h.
(pthread_sigmask) [PTHREAD_SIGMASK_INEFFECTIVE]:
When calling pthread_sigmask (1729, NEW, OLD), specify non-null NEW;
this avoids a bug on FreeBSD 9, where pthread_sigmask is effective
but pthread_sigmask (1729, NULL, NULL) returns zero.
See <http://bugs.gnu.org/11884>.
Avoid the need to call pthread_sigmask (1729, ...) in most cases,
by inspecting whether the main call changed the old mask.
Diffstat (limited to 'cfg.mk')
0 files changed, 0 insertions, 0 deletions