From ebf7d6eedb1969b03187398fe730cc03bdd9aae3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Feb 2015 12:22:23 -0800 Subject: Fix nptl/tst-kill5 not to presume SIGRTMAX exists. --- nptl/tst-kill5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/tst-kill5.c b/nptl/tst-kill5.c index f16aae9512..0717c039d9 100644 --- a/nptl/tst-kill5.c +++ b/nptl/tst-kill5.c @@ -21,6 +21,7 @@ #include #include #include +#include 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"); -- cgit v1.2.3