From adee4eb3e550be61eafcbd89f4781d5cb35575a0 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 12 Jun 2001 01:27:59 +0000
Subject: [PATCH] Increased JS stack from 8k to 16k (just paranoid). Included
 jsprf for JS_vmsprintf prototype.

---
 src/sbbs3/sbbs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/sbbs.h b/src/sbbs3/sbbs.h
index 60ca827a57..6246af4bce 100644
--- a/src/sbbs3/sbbs.h
+++ b/src/sbbs3/sbbs.h
@@ -92,9 +92,10 @@
 	#endif
 	#define JS_THREADSAFE	/* required for multi-thread support */
 	#include <jsapi.h>
+	#include <jsprf.h>		/* JS-safe sprintf functions */
 
 	#define	JAVASCRIPT_RUNTIME_MEMORY	(1*1024*1024)
-	#define JAVASCRIPT_CONTEXT_STACK	(8*1024)
+	#define JAVASCRIPT_CONTEXT_STACK	(16*1024)
 #endif
 
 /***********************/
-- 
GitLab