# HG changeset patch # User Karoly Lorentey # Date 1075103874 0 # Node ID f002bd19cc34a1825f676a6912d55803d3247473 # Parent bf5b5fb4942089b3a15ff885411aa529a27cfc0e 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 diff -r bf5b5fb49420 -r f002bd19cc34 src/xterm.c --- 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;