windows: fix stray comments
This commit is contained in:
parent
bdc828972a
commit
d8ab41bee3
@ -195,7 +195,7 @@ static int uv__duplicate_handle(uv_loop_t* loop, HANDLE handle, HANDLE* dup) {
|
||||
|
||||
/* _get_osfhandle will sometimes return -2 in case of an error. This seems */
|
||||
/* to happen when fd <= 2 and the process' corresponding stdio handle is */
|
||||
/* set to NULL. Unfortunately DuplicateHandle will happily duplicate /*
|
||||
/* set to NULL. Unfortunately DuplicateHandle will happily duplicate */
|
||||
/* (HANDLE) -2, so this situation goes unnoticed until someone tries to */
|
||||
/* use the duplicate. Therefore we filter out known-invalid handles here. */
|
||||
if (handle == INVALID_HANDLE_VALUE ||
|
||||
|
||||
@ -1030,7 +1030,7 @@ void uv_process_tcp_accept_req(uv_loop_t* loop, uv_tcp_t* handle,
|
||||
}
|
||||
} else {
|
||||
/* Error related to accepted socket is ignored because the server */
|
||||
/* socket may still be healthy. If the server socket is broken
|
||||
/* socket may still be healthy. If the server socket is broken */
|
||||
/* uv_queue_accept will detect it. */
|
||||
closesocket(req->accept_socket);
|
||||
req->accept_socket = INVALID_SOCKET;
|
||||
|
||||
@ -4076,7 +4076,7 @@
|
||||
# define STATUS_HASH_NOT_PRESENT ((NTSTATUS) 0xC000A101L)
|
||||
#endif
|
||||
|
||||
/* This is not the NTSTATUS_FROM_WIN32 that the DDK provides, because the
|
||||
/* This is not the NTSTATUS_FROM_WIN32 that the DDK provides, because the */
|
||||
/* DDK got it wrong! */
|
||||
#ifdef NTSTATUS_FROM_WIN32
|
||||
# undef NTSTATUS_FROM_WIN32
|
||||
|
||||
Loading…
Reference in New Issue
Block a user