Decouple LUAL_BUFFERSIZE from BUFSIZ, revert to 1024.

The IDF has dropped BUFSIZ to 128, which is not a good thing for our Lua.
This commit is contained in:
Johny Mattsson 2017-03-29 11:54:05 +11:00
parent cffa94d104
commit e33fb81b77
1 changed files with 1 additions and 1 deletions

View File

@ -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
/* }================================================================== */