summaryrefslogtreecommitdiff
path: root/tex/context/base/luat-fio.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/luat-fio.lua')
-rw-r--r--tex/context/base/luat-fio.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/tex/context/base/luat-fio.lua b/tex/context/base/luat-fio.lua
index 2f00914d3..d61c6f142 100644
--- a/tex/context/base/luat-fio.lua
+++ b/tex/context/base/luat-fio.lua
@@ -6,9 +6,6 @@ if not modules then modules = { } end modules ['luat-fio'] = {
license = "see context related readme files"
}
-local texiowrite_nl = (texio and texio.write_nl) or print
-local texiowrite = (texio and texio.write) or print
-
local format = string.format
local concat = table.concat
local sequenced = table.sequenced
@@ -98,7 +95,7 @@ luatex.registerstopactions(function()
report_system("start used files")
logs.newline()
for i=1,#foundintrees do
- report_files("%4i: % t",i,foundintrees[i])
+ report_files("%4i: % T",i,foundintrees[i])
end
logs.newline()
report_system("stop used files")
@@ -115,6 +112,6 @@ statistics.register("resource resolver", function()
scandata.time,
scandata.shared,
#resolvers.instance.foundintrees,
- concat(scandata.paths," ")
+ #scandata.paths > 0 and concat(scandata.paths," ") or "<none>"
)
end)