emacs-diffs
[Top][All Lists]
Advanced

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

master 8c73e6b: Heed the EMACS_IGNORE_TIMERFD environment variable


From: Lars Ingebrigtsen
Subject: master 8c73e6b: Heed the EMACS_IGNORE_TIMERFD environment variable
Date: Mon, 25 Oct 2021 10:50:14 -0400 (EDT)

branch: master
commit 8c73e6b0f9acd315a946e01ceb82f86a70b1aeac
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Heed the EMACS_IGNORE_TIMERFD environment variable
    
    * src/emacs.c (main): Call init_atimer after setting up the
    environment so that the EMACS_IGNORE_TIMERFD environment variable
    is actually heeded.
---
 src/emacs.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/emacs.c b/src/emacs.c
index a24543a..032b27f 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1872,7 +1872,6 @@ Using an Emacs configured with --with-x-toolkit=lucid 
does not have this problem
   init_bignum ();
   init_threads ();
   init_eval ();
-  init_atimer ();
   running_asynch_code = 0;
   init_random ();
 
@@ -2034,6 +2033,9 @@ Using an Emacs configured with --with-x-toolkit=lucid 
does not have this problem
   if (!will_dump_p ())
     set_initial_environment ();
 
+  /* Has to run after the environment is set up. */
+  init_atimer ();
+
 #ifdef WINDOWSNT
   globals_of_w32 ();
 #ifdef HAVE_W32NOTIFY



reply via email to

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