summaryrefslogtreecommitdiff
path: root/term/main.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-17 00:55:51 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-17 00:55:51 +0000
commit8508531c9b171d75b593efa758fcaa61618b4b93 (patch)
tree203b0145d205356971335ad5c56e9b1f748f60b2 /term/main.c
parent2f8b10f5ce441e77af9cfc51f31298350a62f814 (diff)
(main): Initialize term_owner, term_group, and term_mode.
Diffstat (limited to 'term/main.c')
-rw-r--r--term/main.c3
1 files changed, 3 insertions, 0 deletions
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);