diff --git a/source-luacore.dif b/source-luacore.dif index 7f14dbf..d0d7971 100644 --- a/source-luacore.dif +++ b/source-luacore.dif @@ -1,9 +1,9 @@ --- - texk/kpathsea/tex-file.c | 16 +++++++++++++++- - 1 file changed, 15 insertions(+), 1 deletion(-) + texk/kpathsea/tex-file.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) --- texk/kpathsea/tex-file.c -+++ texk/kpathsea/tex-file.c 2024-03-22 09:23:02.305892751 +0000 ++++ texk/kpathsea/tex-file.c 2024-03-22 10:05:55.034645098 +0000 @@ -21,7 +21,9 @@ #include @@ -14,14 +14,12 @@ #include #include #include -@@ -1316,13 +1318,25 @@ kpathsea_name_ok (kpathsea kpse, const_s +@@ -1316,13 +1318,23 @@ kpathsea_name_ok (kpathsea kpse, const_s TEXMFSYSVAR. */ if (extended) { const_string texmfvar = kpathsea_var_value (kpse, "TEXMFVAR"); + string cache = kpathsea_var_value (kpse, "VARTEXFONTS"); -+ string tmp = concat3 (cache, "/", "k_p_s_e_t_e_s_t_.tmp"); -+ int fa = access(tmp, W_OK); -+ free (tmp); ++ int fa = access(cache, W_OK); + if (fa != 0) { + string home = getenv ("HOME"); + cache = concat3 (home, "/", ".cache/texmf/fonts");