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:
parent
cffa94d104
commit
e33fb81b77
|
@ -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
|
||||
|
||||
/* }================================================================== */
|
||||
|
||||
|
|
Loading…
Reference in New Issue