diff options
| author | Paul Eggert | 2011-05-30 01:03:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-30 01:03:15 -0700 |
| commit | 9cf9f756a98922e1042e34a04368e57287e43ea6 (patch) | |
| tree | 104bf6e02aeee3712d8b1e3a7ae515cf3283239b /src/ChangeLog | |
| parent | ed008a6dd3efc2b317643eccf4aba15c00749d27 (diff) | |
| download | emacs-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/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b53d9b49a42..353aa100e9c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,17 @@ | |||
| 1 | 2011-05-30 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * gnutls.c: Use Emacs's memory allocators. | ||
| 4 | Without this change, the gnutls library would invoke malloc etc. | ||
| 5 | directly, which causes problems on non-SYNC_INPUT hosts, and which | ||
| 6 | runs afoul of improving memory_full behavior. | ||
| 7 | (fn_gnutls_global_set_mem_functions): New macro or function pointer. | ||
| 8 | (emacs_gnutls_global_init): Use it to specify xmalloc, xrealloc, | ||
| 9 | xfree instead of the default malloc, realloc, free. | ||
| 10 | (Fgnutls_boot): No need to check for memory allocation failure, | ||
| 11 | since xmalloc does that for us. | ||
| 12 | |||
| 13 | 2011-05-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 14 | |||
| 3 | * eval.c (Qdebug): Now static. | 15 | * eval.c (Qdebug): Now static. |
| 4 | * lisp.h (Qdebug): Remove decl. This reverts a part of the | 16 | * lisp.h (Qdebug): Remove decl. This reverts a part of the |
| 5 | 2011-04-26T11:26:05Z!dan.colascione@gmail.com that inadvertently undid part of | 17 | 2011-04-26T11:26:05Z!dan.colascione@gmail.com that inadvertently undid part of |