From 1873d112b56f49e40ece29916ede51933412bca8 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 31 Jul 2019 18:26:52 +0200 Subject: 2019-07-31 18:13:00 --- tex/context/base/mkiv/data-tmp.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'tex/context/base/mkiv/data-tmp.lua') diff --git a/tex/context/base/mkiv/data-tmp.lua b/tex/context/base/mkiv/data-tmp.lua index e65f7ce61..ae7f65149 100644 --- a/tex/context/base/mkiv/data-tmp.lua +++ b/tex/context/base/mkiv/data-tmp.lua @@ -69,7 +69,8 @@ caches.ask = false caches.relocate = false caches.defaults = { "TMPDIR", "TEMPDIR", "TMP", "TEMP", "HOME", "HOMEPATH" } -directives.register("system.caches.fast",function(v) caches.fast = true end) +directives.register("system.caches.fast", function(v) caches.fast = true end) +directives.register("system.caches.direct",function(v) caches.direct = true end) local writable, readables, usedreadables = nil, { }, { } @@ -361,11 +362,7 @@ end local saveoptions = { compact = true } --- add some point we will only use the internal bytecode compiler and --- then we can flag success in the tma so that it can trigger a compile --- if the other engine - -function caches.savedata(filepath,filename,data,raw) +function caches.savedata(filepath,filename,data) local tmaname, tmcname = caches.setluanames(filepath,filename) data.cache_uuid = os.uuid() if caches.fast then -- cgit v1.2.3