Avoid endless loop when handling fatal signal.
commit51d475a8d8a07e0edec92addd4bf96eb1be23b48
authorJan Djärv <jan.h.d@swipnet.se>
Fri, 20 Feb 2015 07:46:38 +0000 (20 08:46 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Fri, 20 Feb 2015 07:46:38 +0000 (20 08:46 +0100)
tree9af2c6b00a6119845604117e189c9bd15cba6cb8
parent98cb7d9e4d7ff3e9cb8aad229e30dbd0a7963a8f
Avoid endless loop when handling fatal signal.

* src/emacs.c (terminate_due_to_signal): Move totally_unblock_input after
setting fatal_error_in_progress, so gobble_input and *read_socket are
not read if there are pending_signals.
src/ChangeLog
src/emacs.c