|Subject:||Re: --enable-gcc-warnings is broken on Fedora 21 by GnuTLS code|
|Date:||Fri, 12 Dec 2014 01:26:30 -0800|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0|
I'm just curious how to hook Emacs' xmalloc/xrealloc/xfree into GnuTLS without that.Why would we need to?
Partly, so Emacs doesn't have to check return values of so many calls to gnutls functions to see whether they ran out of memory. Partly, so that the Emacs memory profiler is more accurate. There's also MALLOC_BLOCK_INPUT (though that may be obsolete nowadays).
|[Prev in Thread]||Current Thread||[Next in Thread]|