ref: 577fc541f5931b74c34b7c6d10bebd7aece5a952
parent: bc1f00d4e76ce69cff7b632cadf0df867d1bf5eb
author: kvik <kvik@a-b.xyz>
date: Sun Apr 18 16:59:23 EDT 2021
fs: create File table with correct number of fields
--- a/fs.c
+++ b/fs.c
@@ -95,7 +95,7 @@
{
int f;
- lua_createtable(L, 0, 2);
+ lua_createtable(L, 0, 4);
f = lua_gettop(L);
lua_pushinteger(L, fd);
lua_setfield(L, f, "fd");