diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-06-19 19:50:47 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-06-19 19:50:47 +0000 |
commit | 83e80c91786f09b396917d78a3f04d52c62edb0b (patch) | |
tree | 1e30e6c81401ff771697980d7dc34ab0538413a4 /winsup/cygwin/fhandler_tty.cc | |
parent | 4f1ed68c5c9f982faf4d4ba13655f351ebf6488b (diff) | |
download | cygnal-83e80c91786f09b396917d78a3f04d52c62edb0b.tar.gz cygnal-83e80c91786f09b396917d78a3f04d52c62edb0b.tar.bz2 cygnal-83e80c91786f09b396917d78a3f04d52c62edb0b.zip |
* fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 9bebcd0c0..ab52d6dfe 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -1362,7 +1362,7 @@ fhandler_pty_master::setup (bool ispty) char pipename[sizeof("ttyNNNN-from-master")]; __small_sprintf (pipename, "tty%d-from-master", get_unit ()); - res = fhandler_pipe::create_selectable (&sec_all_nih, from_master, + res = fhandler_pipe::create_selectable (&sec_all, from_master, get_output_handle (), 128 * 1024, pipename); if (res) @@ -1372,7 +1372,7 @@ fhandler_pty_master::setup (bool ispty) } __small_sprintf (pipename, "tty%d-to-master", get_unit ()); - res = fhandler_pipe::create_selectable (&sec_all_nih, get_io_handle (), + res = fhandler_pipe::create_selectable (&sec_all, get_io_handle (), to_master, 128 * 1024, pipename); if (res) { |