Mercurial > emacs
changeset 83029:f002bd19cc34
Prevent core dumps when the X server crashes.
src/xterm.c (x_catch_errors_unwind): Don't call XSync.
(NB: This fix might be too aggressive.)
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-69
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 26 Jan 2004 07:57:54 +0000 |
parents | bf5b5fb49420 |
children | 895e130cc8da |
files | src/xterm.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Mon Jan 26 07:17:34 2004 +0000 +++ b/src/xterm.c Mon Jan 26 07:57:54 2004 +0000 @@ -7673,7 +7673,11 @@ first = XCAR (old_val); +#if 0 /* XXX This has dumped core on me several times when my X + server crashed. If this call is important, maybe we should + check that the display is still alive. -- lorentey */ XSync (XSAVE_VALUE (first)->pointer, False); +#endif x_error_message_string = XCDR (old_val); return Qnil;