From f142f5ba46abed95c99e5dd55fb6f3a1af544148 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 14 Mar 2021 15:36:39 +0200 Subject: [PATCH] Fix hang due to failure to clean up *.eln.old files at exit * src/comp.c (eln_load_path_final_clean_up): Call internal_delete_file, not Fdelete_file, to ignore any errors. (Bug#46972) --- src/comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/comp.c b/src/comp.c index 2ed893cbe04..970c8022678 100644 --- a/src/comp.c +++ b/src/comp.c @@ -4616,7 +4616,7 @@ eln_load_path_final_clean_up (void) Qt, build_string ("\\.eln\\.old\\'"), Qnil, Qnil, Qt, return_nil); FOR_EACH_TAIL (files_in_dir) - Fdelete_file (XCAR (files_in_dir), Qnil); + internal_delete_file (XCAR (files_in_dir)); } #endif } -- 2.39.2