aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-02-06 12:22:23 -0800
committerRoland McGrath <roland@hack.frob.com>2015-02-06 12:22:23 -0800
commitebf7d6eedb1969b03187398fe730cc03bdd9aae3 (patch)
tree2bfadf38cf2566279cec3f96307650bc5ff269c9 /nptl
parentca0e0675a7d203cfd047fd9f3137b6713defef84 (diff)
downloadglibc-ebf7d6eedb1969b03187398fe730cc03bdd9aae3.zip
glibc-ebf7d6eedb1969b03187398fe730cc03bdd9aae3.tar.gz
glibc-ebf7d6eedb1969b03187398fe730cc03bdd9aae3.tar.bz2
Fix nptl/tst-kill5 not to presume SIGRTMAX exists.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/tst-kill5.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/tst-kill5.c b/nptl/tst-kill5.c
index f16aae9..0717c03 100644
--- a/nptl/tst-kill5.c
+++ b/nptl/tst-kill5.c
@@ -21,6 +21,7 @@
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
+#include <limits.h>
int
@@ -28,7 +29,7 @@ do_test (void)
{
/* XXX This test might require architecture and system specific changes.
There is no guarantee that this signal number is invalid. */
- int e = pthread_kill (pthread_self (), SIGRTMAX + 10);
+ int e = pthread_kill (pthread_self (), INT_MAX);
if (e == 0)
{
puts ("kill didn't failed");