From e33fb81b7780f6d2a380b36d8ac95337f4f4080d Mon Sep 17 00:00:00 2001 From: Johny Mattsson Date: Wed, 29 Mar 2017 11:54:05 +1100 Subject: [PATCH] Decouple LUAL_BUFFERSIZE from BUFSIZ, revert to 1024. The IDF has dropped BUFSIZ to 128, which is not a good thing for our Lua. --- components/lua/luaconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lua/luaconf.h b/components/lua/luaconf.h index 4ef2b70b..0969fc6b 100644 --- a/components/lua/luaconf.h +++ b/components/lua/luaconf.h @@ -550,7 +550,7 @@ extern int readline4lua(const char *prompt, char *buffer, int length); ** For example: If set to 4K a call to string.gsub will need more than ** 5k C stack space. */ -#define LUAL_BUFFERSIZE BUFSIZ +#define LUAL_BUFFERSIZE 1024 /* }================================================================== */