From 8508531c9b171d75b593efa758fcaa61618b4b93 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 17 Jul 1996 00:55:51 +0000 Subject: (main): Initialize term_owner, term_group, and term_mode. --- term/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/term/main.c b/term/main.c index d70510ec..8947b335 100644 --- a/term/main.c +++ b/term/main.c @@ -177,6 +177,9 @@ main (int argc, char **argv) termflags = NO_CARRIER | NO_OWNER; mutex_init (&global_lock); + term_owner = term_group = 0; + term_mode = bottom == &ptyio_bottom ? 0666 : 0600; + inputq = create_queue (256, 100, 300); rawq = create_queue (256, 100, 300); outputq = create_queue (256, 100, 300); -- cgit v1.2.3