Update file.c
Buffer size of funtion readline is wrong (Line 480) Should be FILE_READ_CHUNK = 1024 bytes instead 256 bytes
This commit is contained in:
parent
3747d7cbe0
commit
442e3e2e6c
|
@ -477,7 +477,7 @@ static int file_readline( lua_State* L )
|
||||||
{
|
{
|
||||||
GET_FILE_OBJ;
|
GET_FILE_OBJ;
|
||||||
|
|
||||||
return file_g_read(L, LUAL_BUFFERSIZE, '\n', fd);
|
return file_g_read(L, FILE_READ_CHUNK, '\n', fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lua: write("string")
|
// Lua: write("string")
|
||||||
|
|
Loading…
Reference in New Issue