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-memmem.c
diff --git
a/tests/test-memmem.c
b/tests/test-memmem.c
index
c074a4e
..
0061d54
100644
(file)
--- a/
tests/test-memmem.c
+++ b/
tests/test-memmem.c
@@
-43,6
+43,7
@@
main (int argc, char *argv[])
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 (100);
#endif