summaryrefslogtreecommitdiff
path: root/term/main.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-01-30 05:29:56 +0000
committerThomas Bushnell <thomas@gnu.org>1999-01-30 05:29:56 +0000
commit229a2b3040a479ccc6052fe6d6c464fe301151c9 (patch)
treee58567a4216d98148785610e4264084575934566 /term/main.c
parent9a6d074200ca9eb2f2f4a4fdb804f33ecef5da17 (diff)
Sat Jan 30 00:27:14 1999 Thomas Bushnell, BSG <tb@mit.edu>
* munge.c (create_queue): Make sure that malloc succeeds. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
Diffstat (limited to 'term/main.c')
-rw-r--r--term/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/term/main.c b/term/main.c
index 10ed9eef..d14c7c48 100644
--- a/term/main.c
+++ b/term/main.c
@@ -172,7 +172,9 @@ main (int argc, char **argv)
term_mode = (bottom == &ptyio_bottom ? 0666 : 0600) | S_IFCHR | S_IROOT;
inputq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT);
+
rawq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT);
+
outputq = create_queue (256, QUEUE_LOWAT, QUEUE_HIWAT);
if (bottom == &ptyio_bottom)