aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2018-10-17 09:19:46 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2018-10-17 09:19:46 -0400
commit020d55d90426d7cc71aac24a5e45acc7f1f665c1 (patch)
tree06af365c65c58f58821fa87272132527468ce856
parente6abfa9c7d1286b9d75834ebe6117581a2b561cd (diff)
downloadtextadept-020d55d90426d7cc71aac24a5e45acc7f1f665c1.tar.gz
textadept-020d55d90426d7cc71aac24a5e45acc7f1f665c1.zip
Fixed bug introduced in r2520.
-rw-r--r--src/lua.patch4
1 files changed, 2 insertions, 2 deletions
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