[6028] in Athena Bugs
Emacs not dieing when X server dies fix
daemon@ATHENA.MIT.EDU (epeisach@ATHENA.MIT.EDU)
Thu Sep 13 17:06:23 1990
From: epeisach@ATHENA.MIT.EDU
Date: Thu, 13 Sep 90 17:06:10 -0400
To: bugs@ATHENA.MIT.EDU
This fix will only work in the case when the server dies after someone
has typed any key. This handles probably 90% ofthe emacs problems.
A better fix for the other proplem will be forthcomming.
In process: after the select call there is a call to fix_screen
The fix_screen code calls xfixscreen which had the wrong handler
installed which ignored the error.
RCS file: RCS/x11term.c,v
retrieving revision 1.1
diff -c -r1.1 x11term.c
*** /tmp/,RCSt1025996 Thu Sep 13 17:03:43 1990
--- x11term.c Thu Sep 13 16:40:26 1990
***************
*** 1599,1605 ****
XXCurrentSelectionSize = 0;
XXCurrentSelection = NULL;
! handler = XIgnoreError;
XSetErrorHandler (handler);
XSetIOErrorHandler (handler);
--- 1599,1605 ----
XXCurrentSelectionSize = 0;
XXCurrentSelection = NULL;
! handler = XExitGracefully;
XSetErrorHandler (handler);
XSetIOErrorHandler (handler);