diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-11-27 22:53:18 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-11-27 22:53:18 +0100 |
commit | 8a18aa8e13a3bfd8db9f6a6edf6ca8bd6a90a0a4 (patch) | |
tree | 93a64cef02820af25fe1139c74657b290a14575e /hurd/hurdsig.c | |
parent | 220aeecdde94c6c56c8ebe3a2c96fe527a29f5d9 (diff) | |
parent | 1ae3533fc2c364e3b99696a45076ceaee17cc79f (diff) |
Merge branch 't/hurdsig-boot-fix' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r-- | hurd/hurdsig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 736ce3d9e5..87c685bf90 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -159,7 +159,8 @@ _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss) static int sigstate_is_global_rcv (const struct hurd_sigstate *ss) { - return ss->actions[0].sa_handler == SIG_IGN; + return (_hurd_global_sigstate != NULL) + && (ss->actions[0].sa_handler == SIG_IGN); } /* Lock/unlock a hurd_sigstate structure. If the accessors below require |