summaryrefslogtreecommitdiff
path: root/tex/context/base/data-tex.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/data-tex.lua')
-rw-r--r--tex/context/base/data-tex.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/data-tex.lua b/tex/context/base/data-tex.lua
index 2105f29f4..639bb0ac9 100644
--- a/tex/context/base/data-tex.lua
+++ b/tex/context/base/data-tex.lua
@@ -66,7 +66,7 @@ function helpers.textopener(tag,filename,filehandle,coding)
elseif t_filehandle == "table" then
lines = filehandle
else
- lines = filehandle:read("*a")
+ lines = filehandle:read("*a") -- io.readall(filehandle) ... but never that large files anyway
filehandle:close()
end
if type(lines) == "string" then