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:
authorCorinna Vinschen <corinna@vinschen.de>2005-03-08 19:33:17 +0300
committerCorinna Vinschen <corinna@vinschen.de>2005-03-08 19:33:17 +0300
commit1e2ce19b96aaee9ef2074030e196564947eddb9d (patch)
tree0070de39ea5e0c5c3b656bca0052f3355b01b26f
parent8c2fb68a110efe662c951bd43b3e2b79796d9848 (diff)
* fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
of pipe instances.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_socket.cc4
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 <corinna@vinschen.de>
+
+ * fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
+ of pipe instances.
+
2005-03-08 Christopher Faylor <cgf@timesys.com>
* 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);