libuv/src
Alexis Campailla c0716b3d9f windows: improved handling of invalid FDs
If passed and invalid FD, _get_osfhandle() sets an error code
through errno, not _doserrno. Hence we need to use
SET_REQ_WIN32_ERROR insted of SET_REQ_RESULT.

In debug builds, _get_osfhandle() also raises a superfluous
assert. I implemented a wrapper that disables all asserts
around the call to _get_osfhandle().

This fixes node.js unit tests test-fs-read-stream.js and
test-listen-fd-ebadf.js.
2014-01-09 18:29:18 +01:00
..
unix unix: fix non-OSX builds 2013-12-28 22:17:03 +04:00
win windows: improved handling of invalid FDs 2014-01-09 18:29:18 +01:00
fs-poll.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
inet.c unix, windows: return error codes directly 2013-07-07 09:51:00 +02:00
queue.h queue: strengthen type checks 2013-11-02 13:55:57 +01:00
uv-common.c unix, windows: detect errors in uv_ip4/6_addr 2013-12-13 09:27:28 +01:00
uv-common.h include: uv_udp_send{6} now takes sockaddr_in* 2013-09-01 08:02:20 +02:00
version.c Now working on v0.11.18 2013-12-31 10:27:43 -08:00