summaryrefslogtreecommitdiff
path: root/lisp/progmodes/executable.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-11 18:05:40 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-11 18:05:40 +0200
commit36b953947ee2ee0411139bd4ad7dcffdcc403036 (patch)
treee2bbd90e8712a1d9f7f011805ca35a5c92cb447b /lisp/progmodes/executable.el
parent200675299e24139ccce444a7ca5d59a2aed2891c (diff)
downloademacs-36b953947ee2ee0411139bd4ad7dcffdcc403036.tar.gz
emacs-36b953947ee2ee0411139bd4ad7dcffdcc403036.tar.bz2
emacs-36b953947ee2ee0411139bd4ad7dcffdcc403036.zip
Avoid an infloop when we run out of memory
* src/alloc.c (garbage_collect_1): Don't bother saving and restoring the echo-area message if we are GC'ing after running out of memory. This avoids an infloop due to repeated attempts to allocate memory for the cons cell needed to save the message, which signals the memory-full error, which attempts to save the echo-area message, which signals memory-full again, etc.
Diffstat (limited to 'lisp/progmodes/executable.el')
0 files changed, 0 insertions, 0 deletions