summaryrefslogtreecommitdiff
path: root/tex/generic/context/luatex/luatex-core.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-05-02 17:02:40 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-05-02 17:02:40 +0200
commitd2e1112ef8921f361ac7cf1b49e30923cce6d5f0 (patch)
tree0d909528bec22b69bdd671aa7fe560d5d0104021 /tex/generic/context/luatex/luatex-core.lua
parentf740345a433f2b9736b14f61a98173763e093b6f (diff)
downloadcontext-d2e1112ef8921f361ac7cf1b49e30923cce6d5f0.tar.gz
2022-05-02 15:50:00
Diffstat (limited to 'tex/generic/context/luatex/luatex-core.lua')
-rw-r--r--tex/generic/context/luatex/luatex-core.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tex/generic/context/luatex/luatex-core.lua b/tex/generic/context/luatex/luatex-core.lua
index 538d8f903..66207339e 100644
--- a/tex/generic/context/luatex/luatex-core.lua
+++ b/tex/generic/context/luatex/luatex-core.lua
@@ -210,6 +210,13 @@ if saferoption == 1 or shellescape ~= 1 then
ffi = nil
+ -- A patch by LS for LaTeX per April 2022 but I'm, not sure if that breaks ConTeXt MKIV. I have
+ -- no time nor motivation to test that right now so we'll see where it breaks. We have different
+ -- loaders anyway and we don't test plain.
+
+ package.loaded .ffi = nil -- Isn't that still nil then?
+ package.preload.ffi = error -- Do errors always go there?
+
end
if md5 then