ext/libuv/src/unix/process.c in libuv-3.1.3 vs ext/libuv/src/unix/process.c in libuv-3.1.4
- old
+ new
@@ -321,20 +321,20 @@
}
}
}
if (fd == use_fd)
- uv__cloexec(use_fd, 0);
+ uv__cloexec_fcntl(use_fd, 0);
else
fd = dup2(use_fd, fd);
if (fd == -1) {
uv__write_int(error_fd, -errno);
_exit(127);
}
if (fd <= 2)
- uv__nonblock(fd, 0);
+ uv__nonblock_fcntl(fd, 0);
if (close_fd >= stdio_count)
uv__close(close_fd);
}