summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/luat-fio.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-05-25 13:21:58 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-05-25 13:21:58 +0200
commit82aed3e7e8af29f359ebef4f93684d20e98107e6 (patch)
tree2b92c44d14566481aad5635f479b1b106d4e2347 /tex/context/base/mkiv/luat-fio.lua
parentaceba29d651766f5621b9812d4c40e28029bc4ea (diff)
downloadcontext-82aed3e7e8af29f359ebef4f93684d20e98107e6.tar.gz
2017-05-25 12:56:00
Diffstat (limited to 'tex/context/base/mkiv/luat-fio.lua')
-rw-r--r--tex/context/base/mkiv/luat-fio.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/luat-fio.lua b/tex/context/base/mkiv/luat-fio.lua
index 302d17a66..a215d1b16 100644
--- a/tex/context/base/mkiv/luat-fio.lua
+++ b/tex/context/base/mkiv/luat-fio.lua
@@ -15,12 +15,10 @@ texconfig.shell_escape = 't'
texconfig.max_print_line = 100000
texconfig.max_in_open = 1000
-if not resolvers.instance then
+if not resolvers.initialized() then
resolvers.reset()
- resolvers.instance.validfile = resolvers.validctxfile
-
-- we now load the file database as we might need files other than
-- tex and lua file on the given path
@@ -128,7 +126,7 @@ statistics.register("resource resolver", function()
scandata.n,
scandata.time,
scandata.shared,
- #resolvers.instance.foundintrees,
+ #resolvers.foundintrees(),
#scandata.paths > 0 and concat(scandata.paths," ") or "<none>"
)
end)