libuv/src
Sam Roberts 55cc5bac1b unix: don't close the fds we just setup
If a descriptor was being copied to an fd that *was not its current
value*, it should get closed after being copied. But the existing code
would close the fd, even when it no longer referred to the original
descriptor. Don't do this, only close fds that are not in the desired
range for the child process.

See https://github.com/iojs/io.js/issues/862

PR-URL: https://github.com/libuv/libuv/pull/309
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2015-04-10 15:10:02 +02:00
..
unix unix: don't close the fds we just setup 2015-04-10 15:10:02 +02:00
win windows: fix handle leak on EMFILE 2015-03-20 10:09:49 +01:00
fs-poll.c memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
inet.c unix, windows: fix parsing scoped IPv6 addresses 2014-05-25 23:30:46 +02:00
queue.h queue: strengthen type checks 2013-11-02 13:55:57 +01:00
threadpool.c memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
uv-common.c memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
uv-common.h memory: add uv_replace_allocator 2015-03-05 20:02:16 +01:00
version.c Now working on v0.10.31 2014-12-09 19:49:50 +01:00