Skip to content

Commit d0f7340

Browse files
committed
remove more troublemaking calls to uv_pipe_open, JimmyZ++
1 parent 2af01a9 commit d0f7340

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/io/procops.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,6 @@ static void spawn_setup(MVMThreadContext *tc, uv_loop_t *loop, MVMObject *async_
831831
if (MVM_repr_exists_key(tc, si->callbacks, tc->instance->str_consts.stderr_chars)) {
832832
uv_pipe_t *pipe = MVM_malloc(sizeof(uv_pipe_t));
833833
uv_pipe_init(tc->loop, pipe, 0);
834-
uv_pipe_open(pipe, 0);
835834
pipe->data = si;
836835
process_stdio[2].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE;
837836
process_stdio[2].data.stream = (uv_stream_t *)pipe;
@@ -842,7 +841,6 @@ static void spawn_setup(MVMThreadContext *tc, uv_loop_t *loop, MVMObject *async_
842841
else if (MVM_repr_exists_key(tc, si->callbacks, tc->instance->str_consts.stderr_bytes)) {
843842
uv_pipe_t *pipe = MVM_malloc(sizeof(uv_pipe_t));
844843
uv_pipe_init(tc->loop, pipe, 0);
845-
uv_pipe_open(pipe, 0);
846844
pipe->data = si;
847845
process_stdio[2].flags = UV_CREATE_PIPE | UV_WRITABLE_PIPE;
848846
process_stdio[2].data.stream = (uv_stream_t *)pipe;

0 commit comments

Comments
 (0)