uv-unix: unlock pipe after use, carry over lock file from uv_pipe_bind()

This commit is contained in:
Ben Noordhuis 2011-08-01 22:23:06 +02:00
parent 023f99a609
commit b7008965bc

View File

@ -1924,6 +1924,7 @@ int uv_pipe_bind(uv_pipe_t* handle, const char* name) {
/* Success. */
handle->pipe_fname = pipe_fname; /* Is a strdup'ed copy. */
handle->pipe_flock = pipe_flock;
handle->fd = sockfd;
status = 0;