emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e6043641d3: * src/comp.c (Fcomp__compile_ctxt_to_file): Don't cre


From: Andrea Corallo
Subject: master e6043641d3: * src/comp.c (Fcomp__compile_ctxt_to_file): Don't create output file twice
Date: Tue, 14 Feb 2023 06:42:00 -0500 (EST)

branch: master
commit e6043641d300030aaf1f2deb7b1e6c4dfbed8629
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    * src/comp.c (Fcomp__compile_ctxt_to_file): Don't create output file twice
---
 src/comp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/comp.c b/src/comp.c
index ba54915592..7d2987605d 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -4991,7 +4991,8 @@ DEFUN ("comp--compile-ctxt-to-file", 
Fcomp__compile_ctxt_to_file,
       format_string ("%s_libgccjit_repro.c", SSDATA (ebase_name)));
 
   Lisp_Object tmp_file =
-    Fmake_temp_file_internal (base_name, Qnil, build_string (".eln.tmp"), 
Qnil);
+    Fmake_temp_file_internal (base_name, make_fixnum (0),
+                             build_string (".eln.tmp"), Qnil);
   Lisp_Object encoded_tmp_file = ENCODE_FILE (tmp_file);
 #ifdef WINDOWSNT
   encoded_tmp_file = ansi_encode_filename (encoded_tmp_file);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]