uv-unix: unlock pipe after use, carry over lock file from uv_pipe_bind()
This commit is contained in:
parent
023f99a609
commit
b7008965bc
@ -1924,6 +1924,7 @@ int uv_pipe_bind(uv_pipe_t* handle, const char* name) {
|
|||||||
|
|
||||||
/* Success. */
|
/* Success. */
|
||||||
handle->pipe_fname = pipe_fname; /* Is a strdup'ed copy. */
|
handle->pipe_fname = pipe_fname; /* Is a strdup'ed copy. */
|
||||||
|
handle->pipe_flock = pipe_flock;
|
||||||
handle->fd = sockfd;
|
handle->fd = sockfd;
|
||||||
status = 0;
|
status = 0;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user