From d7b285b208721a32264d7c71a206978ece617e3fdd37cd303396ad0a5b6bcd81 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 22 Mar 2024 10:07:11 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=474 --- source-luacore.dif | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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");