[Top][All Lists]

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

master 4ea90a7: Fix last change

From: Eli Zaretskii
Subject: master 4ea90a7: Fix last change
Date: Sat, 1 Aug 2020 08:55:41 -0400 (EDT)

branch: master
commit 4ea90a711d11b14be728241a4454f8c5ee7b6478
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix last change
    * src/emacs-module.c (initialize_environment): Call
    __lsan_ignore_object only if HAVE_SANITIZER_LSAN_INTERFACE_H is
    undefined.  This fixes compilation on systems that don't have
    __lsan_* functions.
 src/emacs-module.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/emacs-module.c b/src/emacs-module.c
index 8d06a24..4374bf4 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -1426,7 +1426,9 @@ initialize_environment (emacs_env *env, struct 
emacs_env_private *priv)
   if (module_assertions)
       env = xmalloc (sizeof *env);
       __lsan_ignore_object (env);
   priv->pending_non_local_exit = emacs_funcall_exit_return;

reply via email to

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