projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around environments that (stupidly) ignore SIGALRM.
[gnulib.git]
/
tests
/
test-strstr.c
diff --git
a/tests/test-strstr.c
b/tests/test-strstr.c
index
81242e5
..
9f2ecde
100644
(file)
--- 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