summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/data-fil.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-02-23 18:08:41 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-02-23 18:08:41 +0100
commitc3ae4997f73041c6b97d8aec055ba24096602ab4 (patch)
treeef061c3ce83992da9beb0557dd7e4dfeedae3107 /tex/context/base/mkiv/data-fil.lua
parentbc35fdf25e8326c543ea69622d804e211232214a (diff)
downloadcontext-c3ae4997f73041c6b97d8aec055ba24096602ab4.tar.gz
2021-02-23 17:44:00
Diffstat (limited to 'tex/context/base/mkiv/data-fil.lua')
-rw-r--r--tex/context/base/mkiv/data-fil.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/mkiv/data-fil.lua b/tex/context/base/mkiv/data-fil.lua
index bbcc954b2..8dbc8a0d2 100644
--- a/tex/context/base/mkiv/data-fil.lua
+++ b/tex/context/base/mkiv/data-fil.lua
@@ -22,7 +22,7 @@ local appendhash = resolvers.appendhash
local loadcachecontent = caches.loadcontent
-local checkgarbage = utilities.garbagecollector and utilities.garbagecollector.check
+----- checkgarbage = utilities.garbagecollector and utilities.garbagecollector.check
function resolvers.locators.file(specification)
local filename = specification.filename
@@ -128,9 +128,9 @@ function loaders.file(specification,filetype)
report_files("file loader: %a loaded",filename)
end
local s = f:read("*a") -- io.readall(f) is faster but we never have large files here
- if checkgarbage then
- checkgarbage(#s)
- end
+ -- if checkgarbage then
+ -- checkgarbage(#s)
+ -- end
f:close()
if s then
return true, s, #s