From: Eli Zaretskii Date: Sun, 7 Mar 2021 10:53:51 +0000 (+0200) Subject: ; * src/comp.c (Fcomp__compile_ctxt_to_file) [WINDOWSNT]: Fix last change. X-Git-Tag: emacs-28.0.90~2727^2~94 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=99638d128ee07fa35525ac47217f68dd518e9175;p=emacs.git ; * src/comp.c (Fcomp__compile_ctxt_to_file) [WINDOWSNT]: Fix last change. --- 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));