Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/tty.cc')
-rw-r--r--winsup/cygwin/tty.cc4
1 files changed, 2 insertions, 2 deletions
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);