emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f92d61c: Attempt to fix assertion violation in eval


From: Eli Zaretskii
Subject: [Emacs-diffs] master f92d61c: Attempt to fix assertion violation in eval.c
Date: Sun, 18 Aug 2019 10:46:57 -0400 (EDT)

branch: master
commit f92d61c06c82d515ee83e340b8af4b1489778404
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Attempt to fix assertion violation in eval.c
    
    * src/eval.c (Fautoload): Fix an assertion violation in
    make_fixnum.  Reported by martin rudalics <address@hidden>.
---
 src/eval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/eval.c b/src/eval.c
index cb9eb37..06d5c63 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1995,7 +1995,7 @@ this does nothing and returns nil.  */)
        and assumed the docstring will be provided by Snarf-documentation, so it
        passed us 0 instead.  But that leads to accidental sharing in purecopy's
        hash-consing, so we use a (hopefully) unique integer instead.  */
-    docstring = make_fixnum (XHASH (function));
+    docstring = make_ufixnum (XHASH (function));
   return Fdefalias (function,
                    list5 (Qautoload, file, docstring, interactive, type),
                    Qnil);



reply via email to

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