From 7c25ff0c11aaa58da9a1083a282a5fbe1e870119 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 8 Aug 2013 01:44:20 +0200 Subject: [PATCH] sam: avoid thread stack overflow with 32bit runes (from sources) --- sys/src/cmd/samterm/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/src/cmd/samterm/main.c b/sys/src/cmd/samterm/main.c index 6f47e455c..71999b76b 100644 --- a/sys/src/cmd/samterm/main.c +++ b/sys/src/cmd/samterm/main.c @@ -9,6 +9,8 @@ #include "flayer.h" #include "samterm.h" +int mainstacksize = 16*1024; + Text cmd; Rune *scratch; long nscralloc;