* tty.cc (tty::make_pipes): Make pipe buffer larger.
This commit is contained in:
parent
463e739282
commit
1b6860be30
@ -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>
|
2002-11-15 Pierre Humblet <pierre.humblet@ieee.org>
|
||||||
|
|
||||||
* grp.cc (getgroups32): Protect against closing cygheap->user.token.
|
* grp.cc (getgroups32): Protect against closing cygheap->user.token.
|
||||||
|
@ -358,7 +358,7 @@ tty::make_pipes (fhandler_pty_master *ptym)
|
|||||||
/* Create communication pipes */
|
/* Create communication pipes */
|
||||||
|
|
||||||
/* FIXME: should this be sec_none_nih? */
|
/* 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");
|
termios_printf ("can't create input pipe");
|
||||||
set_errno (ENOENT);
|
set_errno (ENOENT);
|
||||||
@ -366,7 +366,7 @@ tty::make_pipes (fhandler_pty_master *ptym)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ProtectHandle1INH (to_slave, to_pty);
|
// 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");
|
termios_printf ("can't create output pipe");
|
||||||
set_errno (ENOENT);
|
set_errno (ENOENT);
|
||||||
|
Loading…
Reference in New Issue
Block a user