We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ba159 commit 59978dbCopy full SHA for 59978db
lua/src/liolib.c
@@ -571,7 +571,7 @@ static int test_eof (lua_State *L, FILE *f) {
571
static int read_line (lua_State *L, FILE *f, int chop) {
572
luaL_Buffer b;
573
int c = '\0';
574
- #define READLINE_BUFF_SIZE (2048)
+ #define READLINE_BUFF_SIZE (1024)
575
luaL_buffinitsize(L, &b, READLINE_BUFF_SIZE);
576
// luaL_buffinit(L, &b);
577
while (c != EOF && c != '\n') { /* repeat until end of line */
0 commit comments