From 99638d128ee07fa35525ac47217f68dd518e9175 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 7 Mar 2021 12:53:51 +0200 Subject: [PATCH] ; * src/comp.c (Fcomp__compile_ctxt_to_file) [WINDOWSNT]: Fix last change. --- src/comp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/comp.c b/src/comp.c index d9ad623ec79..7927448d5f0 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4385,6 +4385,7 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file, libgccjit_fname = XCAR (libgccjit_loaded_from); /* Must encode to ANSI, as libgccjit will not be able to handle UTF-8 encoded file names. */ + libgccjit_fname = ENCODE_FILE (libgccjit_fname); libgccjit_fname = ansi_encode_filename (libgccjit_fname); gcc_jit_context_set_str_option (comp.ctxt, GCC_JIT_STR_OPTION_PROGNAME, SSDATA (libgccjit_fname)); -- 2.39.2