mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-02 13:05:42 +08:00
Cygwin: AF_UNIX: open_pipe: call recv_peer_info
If open_pipe is called with xchg_sock_info true, call recv_peer_info in addition to send_sock_info.
This commit is contained in:
parent
6748c6ecf8
commit
2031b48c93
@ -941,7 +941,11 @@ fhandler_socket_unix::open_pipe (PUNICODE_STRING pipe_name, bool xchg_sock_info)
|
|||||||
{
|
{
|
||||||
set_handle (ph);
|
set_handle (ph);
|
||||||
if (xchg_sock_info)
|
if (xchg_sock_info)
|
||||||
send_sock_info (false);
|
{
|
||||||
|
/* FIXME: Should we check for errors? */
|
||||||
|
send_sock_info (false);
|
||||||
|
recv_peer_info ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user