From 1e2ce19b96aaee9ef2074030e196564947eddb9d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 8 Mar 2005 16:33:17 +0000 Subject: [PATCH] * fhandler_socket.cc (fhandler_socket::listen): Don't limit the number of pipe instances. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/fhandler_socket.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0ca345fed..6c708beab 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2005-03-08 Corinna Vinschen + + * fhandler_socket.cc (fhandler_socket::listen): Don't limit the number + of pipe instances. + 2005-03-08 Christopher Faylor * pinfo.cc (pinfo::exit): Right shift exit value by eight when not diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index b7983a1f4..9dcd63959 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -726,8 +726,8 @@ fhandler_socket::listen (int backlog) CreateNamedPipe (eid_pipe_name ((char *) alloca (CYG_MAX_PATH + 1)), PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE, - 1, sizeof (struct ucred), sizeof (struct ucred), - 1000, &sec_all); + PIPE_UNLIMITED_INSTANCES, sizeof (struct ucred), + sizeof (struct ucred), 1000, &sec_all); debug_printf ("sec_pipe: %x", sec_pipe); } connect_state (connected);