Mercurial > emacs
diff src/keyboard.c @ 53343:56e4b7166995
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
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 29 Dec 2003 08:28:35 +0000 |
parents | d4e6a050c9b1 |
children | 1682917e56b4 |
line wrap: on
line diff
--- a/src/keyboard.c Mon Dec 29 07:24:41 2003 +0000 +++ b/src/keyboard.c Mon Dec 29 08:28:35 2003 +0000 @@ -6689,7 +6689,7 @@ if (! tty_list->next) kill (0, SIGHUP); /* This was the last terminal. */ else - ; /* XXX tty should be closed here. */ + delete_tty (tty); /* XXX I wonder if this is safe here. */ } #if defined (AIX) && (! defined (aix386) && defined (_BSD)) /* The kernel sometimes fails to deliver SIGHUP for ptys. @@ -6701,7 +6701,7 @@ if (! tty_list->next) kill (0, SIGHUP); /* This was the last terminal. */ else - ; /* XXX tty should be closed here. */ + delete_tty (tty); /* XXX I wonder if this is safe here. */ } #endif }