From 72a9261fccc4b028260431b1b4dd6246086aba52 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 10 Jun 2008 12:13:43 +0200 Subject: Work around environments that (stupidly) ignore SIGALRM. --- tests/test-strstr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test-strstr.c') diff --git a/tests/test-strstr.c b/tests/test-strstr.c index 81242e5b47..9f2ecde1ae 100644 --- a/tests/test-strstr.c +++ b/tests/test-strstr.c @@ -43,6 +43,7 @@ main (int argc, char *argv[]) caused by SIGALRM. All known platforms that lack alarm also have a quadratic strstr, and the replacement strstr is known to not take too long. */ + signal (SIGALRM, SIG_DFL); alarm (50); #endif -- cgit v1.2.1