mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-09 02:29:07 +08:00
Cygwin: AF_UNIX: add two FIXME comments
This commit is contained in:
parent
c90e757a6b
commit
c294f50f3d
@ -1848,7 +1848,9 @@ fhandler_socket_unix::shutdown (int how)
|
|||||||
{
|
{
|
||||||
/* Send shutdown info to peer. Note that it's not necessarily fatal
|
/* Send shutdown info to peer. Note that it's not necessarily fatal
|
||||||
if the info isn't sent here. The info will be reproduced by any
|
if the info isn't sent here. The info will be reproduced by any
|
||||||
followup package sent to the peer. */
|
followup package sent to the peer.
|
||||||
|
|
||||||
|
FIXME: Where is this done? */
|
||||||
af_unix_pkt_hdr_t packet (true, (shut_state) new_shutdown_mask, 0, 0, 0);
|
af_unix_pkt_hdr_t packet (true, (shut_state) new_shutdown_mask, 0, 0, 0);
|
||||||
io_lock ();
|
io_lock ();
|
||||||
set_pipe_non_blocking (true);
|
set_pipe_non_blocking (true);
|
||||||
@ -1936,6 +1938,8 @@ fhandler_socket_unix::evaluate_cmsg_data (af_unix_pkt_hdr_t *packet,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* FIXME: Should recvmsg call grab_admin_pkg at appropriate places to
|
||||||
|
check whether peer has called shutdown? */
|
||||||
ssize_t
|
ssize_t
|
||||||
fhandler_socket_unix::recvmsg (struct msghdr *msg, int flags)
|
fhandler_socket_unix::recvmsg (struct msghdr *msg, int flags)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user