From 2496a3637f4bcb5617c661ef33e3e1a1cc5e93c1 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 1 Sep 2001 05:38:46 +0000 Subject: * tty.cc (tty::create_inuse): Eliminate unneeded argument. * tty.h: Reflect above change. * fhandler_tty.cc: Reflect argument reduction in tty::create_inuse, throughout. Always make inuse inheritable. --- winsup/cygwin/fhandler_tty.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/fhandler_tty.cc') diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index dc6c3d396..d5c5f739b 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -62,7 +62,7 @@ fhandler_tty_master::init (int ntty) cygwin_shared->tty[ttynum]->common_init (this); - inuse = get_ttyp ()->create_inuse (TTY_MASTER_ALIVE, FALSE); + inuse = get_ttyp ()->create_inuse (TTY_MASTER_ALIVE); h = makethread (process_input, NULL, 0, "ttyin"); if (h == NULL) @@ -509,7 +509,7 @@ fhandler_tty_slave::open (const char *, int flags, mode_t) /* FIXME: Needs a method to eliminate tty races */ { acquire_output_mutex (500); - inuse = get_ttyp ()->create_inuse (TTY_SLAVE_ALIVE, TRUE); + inuse = get_ttyp ()->create_inuse (TTY_SLAVE_ALIVE); get_ttyp ()->was_opened = TRUE; release_output_mutex (); } @@ -972,7 +972,7 @@ fhandler_pty_master::open (const char *, int flags, mode_t) return 0; cygwin_shared->tty[ttynum]->common_init (this); - inuse = get_ttyp ()->create_inuse (TTY_MASTER_ALIVE, FALSE); + inuse = get_ttyp ()->create_inuse (TTY_MASTER_ALIVE); set_flags (flags); set_open_status (); -- cgit v1.2.3