summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-02-22 18:36:38 +0100
committertege <tege@gmplib.org>2002-02-22 18:36:38 +0100
commit0059f313230803c1a8acf00ef00d1a946a925620 (patch)
treef52e696a3225ff5ca1f0d5278b9cfa103c38af2b /demos
parentf0ecf304b274f7d3a77c0459095dd3e594f1437b (diff)
downloadgmp-0059f313230803c1a8acf00ef00d1a946a925620.tar.gz
Increase RLIMIT_STACK to 4Mibyte.
Diffstat (limited to 'demos')
-rw-r--r--demos/pexpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/pexpr.c b/demos/pexpr.c
index aaa1b6c72..b5265ef1e 100644
--- a/demos/pexpr.c
+++ b/demos/pexpr.c
@@ -227,7 +227,7 @@ setup_error_handler (void)
setrlimit (RLIMIT_DATA, &limit);
getrlimit (RLIMIT_STACK, &limit);
- limit.rlim_cur = 1 * 1024 * 1024;
+ limit.rlim_cur = 4 * 1024 * 1024;
setrlimit (RLIMIT_STACK, &limit);
SIGNAL (SIGXCPU);