summaryrefslogtreecommitdiff
path: root/term/users.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-10-09 02:49:46 +0000
committerMiles Bader <miles@gnu.org>1996-10-09 02:49:46 +0000
commit38916af9a1b55c627c7fc0681583dd14a2aafd78 (patch)
tree3670fac246e99b61709399dde8fbcc9d9de32c92 /term/users.c
parent507ea67f74657086e2fbeebb1389cdd19c9e1e1b (diff)
(open_hook): Zero WINDOW_SIZE during initialization.
Diffstat (limited to 'term/users.c')
-rw-r--r--term/users.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/term/users.c b/term/users.c
index a4583654..d438980e 100644
--- a/term/users.c
+++ b/term/users.c
@@ -133,6 +133,8 @@ open_hook (struct trivfs_control *cntl,
bcopy (ttydefchars, termstate.c_cc, NCCS);
+ bzero (&window_size, sizeof window_size);
+
termflags |= NO_OWNER;
}
else if (termflags & EXCL_USE)