comparison src/xterm.c @ 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 03a73693678e
comparison
equal deleted inserted replaced
83028:bf5b5fb49420 83029:f002bd19cc34
7671 { 7671 {
7672 Lisp_Object first; 7672 Lisp_Object first;
7673 7673
7674 first = XCAR (old_val); 7674 first = XCAR (old_val);
7675 7675
7676 #if 0 /* XXX This has dumped core on me several times when my X
7677 server crashed. If this call is important, maybe we should
7678 check that the display is still alive. -- lorentey */
7676 XSync (XSAVE_VALUE (first)->pointer, False); 7679 XSync (XSAVE_VALUE (first)->pointer, False);
7680 #endif
7677 7681
7678 x_error_message_string = XCDR (old_val); 7682 x_error_message_string = XCDR (old_val);
7679 return Qnil; 7683 return Qnil;
7680 } 7684 }
7681 7685