aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2011-05-30 01:03:15 -0700
committerPaul Eggert2011-05-30 01:03:15 -0700
commit9cf9f756a98922e1042e34a04368e57287e43ea6 (patch)
tree104bf6e02aeee3712d8b1e3a7ae515cf3283239b /src/buffer.c
parented008a6dd3efc2b317643eccf4aba15c00749d27 (diff)
downloademacs-9cf9f756a98922e1042e34a04368e57287e43ea6.tar.gz
emacs-9cf9f756a98922e1042e34a04368e57287e43ea6.zip
* gnutls.c: Use Emacs's memory allocators.
Without this change, the gnutls library would invoke malloc etc. directly, which causes problems on non-SYNC_INPUT hosts, and which runs afoul of improving memory_full behavior. (fn_gnutls_global_set_mem_functions): New macro or function pointer. (emacs_gnutls_global_init): Use it to specify xmalloc, xrealloc, xfree instead of the default malloc, realloc, free. (Fgnutls_boot): No need to check for memory allocation failure, since xmalloc does that for us.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions