diff options
author | Hans Hagen <pragma@wxs.nl> | 2017-03-26 16:55:00 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2017-03-26 16:55:00 +0200 |
commit | 30ea6ac75b1cf62ea8e17228c07d54824285acfa (patch) | |
tree | 5a634b0c9ce533cd0da8652cf4db39a696310a3d /tex/context/base/mkiv/luat-run.lua | |
parent | dc54cea46e02502b4474a0fa132466974a9cc19c (diff) | |
download | context-30ea6ac75b1cf62ea8e17228c07d54824285acfa.tar.gz |
2017-03-26 16:22:00
Diffstat (limited to 'tex/context/base/mkiv/luat-run.lua')
-rw-r--r-- | tex/context/base/mkiv/luat-run.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/luat-run.lua b/tex/context/base/mkiv/luat-run.lua index 66925f19f..d0f894292 100644 --- a/tex/context/base/mkiv/luat-run.lua +++ b/tex/context/base/mkiv/luat-run.lua @@ -118,7 +118,11 @@ function luatex.registertempfile(name,extrasuffix,keep) -- namespace might chang name = name .. ".mkiv-tmp" -- maybe just .tmp end if trace_temp_files and not tempfiles[name] then - report_tempfiles("registering temporary file %a",name) + if keep then + report_tempfiles("%s temporary file %a","registering",name) + else + report_tempfiles("%s temporary file %a","unregistering",name) + end end tempfiles[name] = keep or false return name @@ -128,7 +132,7 @@ function luatex.cleanuptempfiles() for name, keep in next, tempfiles do if not keep then if trace_temp_files then - report_tempfiles("removing temporary file %a",name) + report_tempfiles("%s temporary file %a","removing",name) end os.remove(name) end |