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-strcasestr.c
diff --git
a/tests/test-strcasestr.c
b/tests/test-strcasestr.c
index
6eb145e
..
5e7fd36
100644
(file)
--- a/
tests/test-strcasestr.c
+++ b/
tests/test-strcasestr.c
@@
-44,6
+44,7
@@
main ()
caused by SIGALRM. All known platforms that lack alarm also lack
memmem, and the replacement memmem is known to not take too
long. */
+ signal (SIGALRM, SIG_DFL);
alarm (50);
#endif