aboutsummaryrefslogtreecommitdiffstats
path: root/src/cm.c
diff options
context:
space:
mode:
authorKaroly Lorentey2003-12-29 08:28:35 +0000
committerKaroly Lorentey2003-12-29 08:28:35 +0000
commitb2af72d2f0da11c271cac6fc823053d0018068b2 (patch)
tree3eb8facc529c3360f7c85416cc93249fb9b6a337 /src/cm.c
parent9f729af551e991e5f6d49f329674f6802450d70f (diff)
downloademacs-b2af72d2f0da11c271cac6fc823053d0018068b2.tar.gz
emacs-b2af72d2f0da11c271cac6fc823053d0018068b2.zip
Make sure secondary frames are deleted when emacsclient quits.
lisp/server.el (server-sentinel): Delete frame if alive. Fix delq invocation on server-frames. (server-process-filter, server-buffer-done): Fix delq invocation on server-frames. src/cm.c (cmputc): Abort on write error, see what happens. src/keyboard.c (read_avail_input): Do delete_tty on read errors. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-21
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cm.c b/src/cm.c
index 95aa6afdcd6..1094e3047d6 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -70,7 +70,8 @@ cmputc (c)
70{ 70{
71 if (TTY_TERMSCRIPT (current_tty)) 71 if (TTY_TERMSCRIPT (current_tty))
72 putc (c & 0177, TTY_TERMSCRIPT (current_tty)); 72 putc (c & 0177, TTY_TERMSCRIPT (current_tty));
73 putc (c & 0177, TTY_OUTPUT (current_tty)); 73 if (putc (c & 0177, TTY_OUTPUT (current_tty)) == EOF)
74 abort (); /* XXX For testing only! */
74 return c; 75 return c;
75} 76}
76 77