From fba639dcdcc2f3fede71e8bcd1a1a525a7f57d61 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 15:46:50 +0100 Subject: handle signal-OBXSI.SUSv4.syms A couple of sig functions are obsolete in SUSv4. Signed-off-by: Bernhard Reutner-Fischer --- test/nptl/Makefile.in | 2 +- test/pthread/cancellation-points.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/nptl/Makefile.in b/test/nptl/Makefile.in index b91480250..976034d4c 100644 --- a/test/nptl/Makefile.in +++ b/test/nptl/Makefile.in @@ -59,7 +59,7 @@ TESTS_DISABLED += tst-exec2 tst-exec3 tst-exec4 endif ifeq ($(UCLIBC_SUSV4_LEGACY),) -TESTS_DISABLED += tst-basic5 +TESTS_DISABLED += tst-basic5 tst-cancel4 tst-cancel5 tst-cancelx4 endif GLIBC_TESTS_DISABLED := tst-eintr1_glibc tst-eintr2_glibc \ diff --git a/test/pthread/cancellation-points.c b/test/pthread/cancellation-points.c index c7e784e4f..5453060f7 100644 --- a/test/pthread/cancellation-points.c +++ b/test/pthread/cancellation-points.c @@ -141,7 +141,9 @@ MAKE_CANCEL_THREAD_FUNC_EX(sem_wait, (&sem), help_sem_setup()) MAKE_CANCEL_THREAD_FUNC(send, (-1, NULL, 0, 0)) MAKE_CANCEL_THREAD_FUNC(sendmsg, (-1, NULL, 0)) MAKE_CANCEL_THREAD_FUNC(sendto, (-1, NULL, 0, 0, NULL, 0)) +#ifdef __UCLIBC_SUSV4_LEGACY__ MAKE_CANCEL_THREAD_FUNC(sigpause, (0)) +#endif MAKE_CANCEL_THREAD_FUNC(sigsuspend, (NULL)) MAKE_CANCEL_THREAD_FUNC(sigtimedwait, (NULL, NULL, NULL)) MAKE_CANCEL_THREAD_FUNC(sigwait, (NULL, NULL)) -- cgit v1.2.3