diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-08-01 01:06:13 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-08-01 01:06:13 +0200 |
commit | 8a42f9a3ff374eab8dec61b1d4eb8567a2a91ade (patch) | |
tree | ef4b3d43559f4f6455f70ef04fc853a05d3ff823 /libpthread/sysdeps/hurd/pt-kill.c | |
parent | 68567b88ee8f9e395e0c1f0a565affe8a1d4d68b (diff) | |
parent | 90dd2d73435a8e1bbcccf5ed99a91b2c438557f4 (diff) |
Merge branch 'libpthread' into libpthread-moved
Diffstat (limited to 'libpthread/sysdeps/hurd/pt-kill.c')
-rw-r--r-- | libpthread/sysdeps/hurd/pt-kill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/sysdeps/hurd/pt-kill.c b/libpthread/sysdeps/hurd/pt-kill.c index f970e065..d204e3f6 100644 --- a/libpthread/sysdeps/hurd/pt-kill.c +++ b/libpthread/sysdeps/hurd/pt-kill.c @@ -39,6 +39,9 @@ pthread_kill (pthread_t thread, int sig) ss = _hurd_thread_sigstate (pthread->kernel_thread); assert (ss); + if (!sig) + return 0; + detail.exc = 0; detail.code = sig; detail.error = 0; |