emacs-devel
[Top][All Lists]
Advanced

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

Re: Bignum speedup patch causes crash at startup


From: Eli Zaretskii
Subject: Re: Bignum speedup patch causes crash at startup
Date: Wed, 05 Sep 2018 18:21:00 +0300

> From: Paul Eggert <address@hidden>
> Date: Tue, 4 Sep 2018 17:56:03 -0700
> 
> Andy Moreton wrote:
> > Dumping of bignums is not currently required by any emacs code, but it
> > should be supported unless there is some unreasonable difficulty in
> > doing so.
> 
> The difficulty seems to be that memory allocation doesn't work for it, at 
> least 
> on MS-Windows. Fixing this is low priority, admittedly.

I don't think there's anything that needs to be fixed here.  Dumping
pure bignums should not cause any trouble any more than dumping pure
strings.  The only issue is that mp_set_memory_functions must be
called before we call any GMP functions that might allocate memory.



reply via email to

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