diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-16 06:22:42 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-16 06:22:42 +0000 |
commit | 1b6860be30ad8f8d9268d7fbb76f0fc570eb4695 (patch) | |
tree | 8012525522b57c3e61ab54b860f92e5a209554f3 /winsup | |
parent | 463e73928295841b3f09dff042a08ec55e499981 (diff) | |
download | cygnal-1b6860be30ad8f8d9268d7fbb76f0fc570eb4695.tar.gz cygnal-1b6860be30ad8f8d9268d7fbb76f0fc570eb4695.tar.bz2 cygnal-1b6860be30ad8f8d9268d7fbb76f0fc570eb4695.zip |
* tty.cc (tty::make_pipes): Make pipe buffer larger.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/tty.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5d916a6b4..522600718 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2002-11-16 Christopher Faylor <cgf@redhat.com> + + * tty.cc (tty::make_pipes): Make pipe buffer larger. + 2002-11-15 Pierre Humblet <pierre.humblet@ieee.org> * grp.cc (getgroups32): Protect against closing cygheap->user.token. diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc index 0e3e14a52..efa055777 100644 --- a/winsup/cygwin/tty.cc +++ b/winsup/cygwin/tty.cc @@ -358,7 +358,7 @@ tty::make_pipes (fhandler_pty_master *ptym) /* Create communication pipes */ /* FIXME: should this be sec_none_nih? */ - if (CreatePipe (&from_master, &to_slave, &sec_all, 0) == FALSE) + if (CreatePipe (&from_master, &to_slave, &sec_all, 64 * 1024) == FALSE) { termios_printf ("can't create input pipe"); set_errno (ENOENT); @@ -366,7 +366,7 @@ tty::make_pipes (fhandler_pty_master *ptym) } // ProtectHandle1INH (to_slave, to_pty); - if (CreatePipe (&from_slave, &to_master, &sec_all, 0) == FALSE) + if (CreatePipe (&from_slave, &to_master, &sec_all, 64 * 1024) == FALSE) { termios_printf ("can't create output pipe"); set_errno (ENOENT); |