diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-08 16:33:17 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-08 16:33:17 +0000 |
commit | 1e2ce19b96aaee9ef2074030e196564947eddb9d (patch) | |
tree | 0070de39ea5e0c5c3b656bca0052f3355b01b26f /winsup/cygwin/fhandler_socket.cc | |
parent | 8c2fb68a110efe662c951bd43b3e2b79796d9848 (diff) | |
download | newlib-1e2ce19b96aaee9ef2074030e196564947eddb9d.zip newlib-1e2ce19b96aaee9ef2074030e196564947eddb9d.tar.gz newlib-1e2ce19b96aaee9ef2074030e196564947eddb9d.tar.bz2 |
* fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
of pipe instances.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index b7983a1..9dcd639 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); |