summaryrefslogtreecommitdiff
path: root/app/xterm/Tekproc.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 15:48:07 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 15:48:07 +0000
commitcadf8f3ea5d9f1f7ee4dc2a307c7e972d630ce95 (patch)
tree742f4ca61067d67fd171c82cdb54387898ae89ac /app/xterm/Tekproc.c
parent42f2d2c8736348b3e97fd376417093efe27c9f5a (diff)
OpenBSD local changes
Diffstat (limited to 'app/xterm/Tekproc.c')
-rw-r--r--app/xterm/Tekproc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/xterm/Tekproc.c b/app/xterm/Tekproc.c
index 7dcce862c..0532d393e 100644
--- a/app/xterm/Tekproc.c
+++ b/app/xterm/Tekproc.c
@@ -816,6 +816,8 @@ Tinput(void)
#else /* VMS */
XFD_COPYSET(&Select_mask, &Tselect_mask);
+ if (need_cleanup)
+ Cleanup(0);
if (Select(max_plus1, &Tselect_mask, NULL, NULL, NULL) < 0) {
if (errno != EINTR)
SysError(ERROR_TSELECT);