aboutsummaryrefslogtreecommitdiffstats
path: root/src/comp.c
diff options
context:
space:
mode:
authorAndrea Corallo2023-02-14 12:34:48 +0100
committerAndrea Corallo2023-02-14 12:34:48 +0100
commite6043641d300030aaf1f2deb7b1e6c4dfbed8629 (patch)
tree877018525d77c84c27e197c664d2fe5e89fc9b4e /src/comp.c
parentb950b46f514989442fdd9937a0e96d53a3affa88 (diff)
downloademacs-e6043641d300030aaf1f2deb7b1e6c4dfbed8629.tar.gz
emacs-e6043641d300030aaf1f2deb7b1e6c4dfbed8629.zip
* src/comp.c (Fcomp__compile_ctxt_to_file): Don't create output file twice
Diffstat (limited to 'src/comp.c')
-rw-r--r--src/comp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/comp.c b/src/comp.c
index ba549155925..7d2987605d9 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4991,7 +4991,8 @@ DEFUN ("comp--compile-ctxt-to-file", Fcomp__compile_ctxt_to_file,
4991 format_string ("%s_libgccjit_repro.c", SSDATA (ebase_name))); 4991 format_string ("%s_libgccjit_repro.c", SSDATA (ebase_name)));
4992 4992
4993 Lisp_Object tmp_file = 4993 Lisp_Object tmp_file =
4994 Fmake_temp_file_internal (base_name, Qnil, build_string (".eln.tmp"), Qnil); 4994 Fmake_temp_file_internal (base_name, make_fixnum (0),
4995 build_string (".eln.tmp"), Qnil);
4995 Lisp_Object encoded_tmp_file = ENCODE_FILE (tmp_file); 4996 Lisp_Object encoded_tmp_file = ENCODE_FILE (tmp_file);
4996#ifdef WINDOWSNT 4997#ifdef WINDOWSNT
4997 encoded_tmp_file = ansi_encode_filename (encoded_tmp_file); 4998 encoded_tmp_file = ansi_encode_filename (encoded_tmp_file);