From 020d55d90426d7cc71aac24a5e45acc7f1f665c1 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 17 Oct 2018 09:19:46 -0400 Subject: Fixed bug introduced in r2520. --- src/lua.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lua.patch b/src/lua.patch index 7e954d31..0a4801c9 100644 --- a/src/lua.patch +++ b/src/lua.patch @@ -48,7 +48,7 @@ diff -r 8a23edc91533 src/luaconf.h --- a/src/loslib.c 2017-04-19 13:29:57.000000000 -0400 -+++ b/src/loslib.c 2018-10-16 17:27:04.962929037 -0400 ++++ b/src/loslib.c 2018-10-17 09:15:35.000000000 -0400 @@ -4,6 +4,15 @@ ** See Copyright Notice in lua.h */ @@ -89,7 +89,7 @@ diff -r 8a23edc91533 src/luaconf.h LUAMOD_API int luaopen_os (lua_State *L) { luaL_newlib(L, syslib); -+#if !GTK ++#if (!GTK || __APPLE__) + // Need to keep track of running processes for monitoring fds and pids. + lua_newtable(L), lua_setfield(L, LUA_REGISTRYINDEX, "spawn_procs"); +#endif -- cgit v1.2.3