diff options
Diffstat (limited to 'main/lua-subprocess/luafileobject.patch')
-rw-r--r-- | main/lua-subprocess/luafileobject.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/main/lua-subprocess/luafileobject.patch b/main/lua-subprocess/luafileobject.patch deleted file mode 100644 index 1385aa7b00..0000000000 --- a/main/lua-subprocess/luafileobject.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/liolib-copy.c -+++ b/liolib-copy.c -@@ -312,8 +312,7 @@ static int io_fclose(lua_State *L) - FILE *liolib_copy_tofile(lua_State *L, int index) - { - int eq; -- if (lua_type(L, index) != LUA_TTABLE) return NULL; -- lua_getmetatable(L, index); -+ if (0 == lua_getmetatable(L, index)) return NULL; - luaL_getmetatable(L, LUA_FILEHANDLE); - eq = lua_equal(L, -2, -1); - lua_pop(L, 2); |