7ae4b1ad | 13-Aug-2016 |
Jason Ginchereau |
win: fix lstat reparse point without link data Fixes: https://github.com/libuv/libuv/issues/995 Fixes: https://github.com/nodejs/node/issues/5160 PR-URL: https://github.com/libuv/lib
win: fix lstat reparse point without link data Fixes: https://github.com/libuv/libuv/issues/995 Fixes: https://github.com/nodejs/node/issues/5160 PR-URL: https://github.com/libuv/libuv/pull/996 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
be0e24c1 | 10-Aug-2016 |
Saúl Ibarra Corretgé |
doc: add supported platforms description Closes: https://github.com/libuv/libuv/issues/983 PR-URL: https://github.com/libuv/libuv/pull/991 Reviewed-By: Ben Noordhuis <info@bnoordhuis
doc: add supported platforms description Closes: https://github.com/libuv/libuv/issues/983 PR-URL: https://github.com/libuv/libuv/pull/991 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
6fa3524e | 26-Jul-2016 |
Bartosz Sosnowski |
win: evaluate timers when system wakes up When Windows resumes after sleep GetQueuedCompletionStatus timeout is not updated. This commit adds a method for signaling all loops to wake
win: evaluate timers when system wakes up When Windows resumes after sleep GetQueuedCompletionStatus timeout is not updated. This commit adds a method for signaling all loops to wake up and update their timers. Fixes: https://github.com/nodejs/node/issues/6763 PR-URL: https://github.com/libuv/libuv/pull/962 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
791c8178 | 05-Aug-2016 |
sunjin.lee |
test: fix android build error. Do not compile 'tty_pty' test for android. PR-URL: https://github.com/libuv/libuv/pull/975 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Review
test: fix android build error. Do not compile 'tty_pty' test for android. PR-URL: https://github.com/libuv/libuv/pull/975 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
63ab6414 | 10-Aug-2016 |
Saúl Ibarra Corretgé |
test: don't close CRT fd handed off to uv_pipe_t After 4ed29c2498408c99079f25bfc0c6aec5bfbf42c4 got fixed, when a CRT fd is handed off to a pipe handle using uv_pipe_open libuv will clos
test: don't close CRT fd handed off to uv_pipe_t After 4ed29c2498408c99079f25bfc0c6aec5bfbf42c4 got fixed, when a CRT fd is handed off to a pipe handle using uv_pipe_open libuv will close it properly, so it's an error to do so ourselves. PR-URL: https://github.com/libuv/libuv/pull/992 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
a6acc822 | 09-Aug-2016 |
Saúl Ibarra Corretgé |
test: fix OOB buffer access The test uses an annonymous pipe, which means the returned length will be 0. Fixes: https://github.com/libuv/libuv/issues/376 Fixes: https://gith
test: fix OOB buffer access The test uses an annonymous pipe, which means the returned length will be 0. Fixes: https://github.com/libuv/libuv/issues/376 Fixes: https://github.com/libuv/libuv/issues/529 Refs: https://github.com/libuv/libuv/issues/264 PR-URL: https://github.com/libuv/libuv/pull/981 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
39ee4121 | 06-Aug-2016 |
Ben Noordhuis |
darwin: handle EINTR in /dev/tty workaround On OS X, special files like /dev/null and /dev/tty don't work with kqueue. Libuv falls back to select() in that case but the initial prob
darwin: handle EINTR in /dev/tty workaround On OS X, special files like /dev/null and /dev/tty don't work with kqueue. Libuv falls back to select() in that case but the initial probe didn't handle EINTR. Introduced in August 2012 in commit 731adaca ("unix: use select() for specific fds on OS X"), this bug was only ten days away from celebrating its fourth birthday. PR-URL: https://github.com/libuv/libuv/pull/979 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
7b07d18a | 01-Aug-2016 |
Matej Knopp |
win: ensure 32-bit printf precision This commit removes a printf warning by casting a 64-bit value to 32 bits. Fixes: https://github.com/libuv/libuv/issues/955 PR-URL: https
win: ensure 32-bit printf precision This commit removes a printf warning by casting a 64-bit value to 32 bits. Fixes: https://github.com/libuv/libuv/issues/955 PR-URL: https://github.com/libuv/libuv/pull/963 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
fc8cc42e | 03-Aug-2016 |
Bartosz Sosnowski |
win: fix compilation on mingw Adds missing define for UNLEN. PR-URL: https://github.com/libuv/libuv/pull/968 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Col
win: fix compilation on mingw Adds missing define for UNLEN. PR-URL: https://github.com/libuv/libuv/pull/968 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f614b43a | 09-Jul-2016 |
Ben Noordhuis |
win: simplify memory copy logic in fs.c Hopefully shuts up a -Wmaybe-uninitialized warning about the path_len variable. Fixes: https://github.com/libuv/libuv/issues/941 PR-U
win: simplify memory copy logic in fs.c Hopefully shuts up a -Wmaybe-uninitialized warning about the path_len variable. Fixes: https://github.com/libuv/libuv/issues/941 PR-URL: https://github.com/libuv/libuv/pull/942 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
ef6f3e8e | 09-Jul-2016 |
Ben Noordhuis |
win: return UV_EINVAL on bad uv_tty_mode mode arg Fixes: https://github.com/libuv/libuv/issues/941 PR-URL: https://github.com/libuv/libuv/pull/942 Reviewed-By: Saúl Ibarra Corretgé <
win: return UV_EINVAL on bad uv_tty_mode mode arg Fixes: https://github.com/libuv/libuv/issues/941 PR-URL: https://github.com/libuv/libuv/pull/942 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
ff0ae104 | 20-Jul-2016 |
Ben Noordhuis |
unix: preserve loop->data across loop init/done Libuv leaves loop->data unchanged in uv_loop_init() and uv_loop_done() on Windows but it clobbered it on UNIX platforms. This commit fixe
unix: preserve loop->data across loop init/done Libuv leaves loop->data unchanged in uv_loop_init() and uv_loop_done() on Windows but it clobbered it on UNIX platforms. This commit fixes that inconsistency. PR-URL: https://github.com/libuv/libuv/pull/951 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f001a67e | 26-Jul-2016 |
Michele Caini |
doc: add missing entry in uv_fs_type enum PR-URL: https://github.com/libuv/libuv/pull/958 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
3a4f2d31 | 04-Jul-2016 |
liuxiaobo |
unix: fix errno and retval conflict We not only check the return value, but also check the errno != 0. Because in rare cases connect() will return -1 but the errno is 0 (for example,
unix: fix errno and retval conflict We not only check the return value, but also check the errno != 0. Because in rare cases connect() will return -1 but the errno is 0 (for example, on Android 4.3, OnePlus phone A0001_12_150227) and actually the tcp three-way handshake is completed. PR-URL: https://github.com/libuv/libuv/pull/936 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
00dab91c | 09-Jul-2016 |
John Barboza |
test: account for multiple handles in one ipc read PR-URL: https://github.com/libuv/libuv/pull/940 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <
test: account for multiple handles in one ipc read PR-URL: https://github.com/libuv/libuv/pull/940 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4b589853 | 09-Jul-2016 |
John Barboza |
test: close server before initiating new connection PR-URL: https://github.com/libuv/libuv/pull/944 Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Saúl Ibarra Corretgé
test: close server before initiating new connection PR-URL: https://github.com/libuv/libuv/pull/944 Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
840a8c59 | 27-Jun-2016 |
cjihrig |
unix,win: make uv_get_process_title() stricter This commit causes uv_get_process_title() to: - return EINVAL if the buffer is null or size is 0 - return ENOBUFS if the title is too
unix,win: make uv_get_process_title() stricter This commit causes uv_get_process_title() to: - return EINVAL if the buffer is null or size is 0 - return ENOBUFS if the title is too big for the buffer - null terminate the buffer on success Fixes: https://github.com/libuv/libuv/issues/315 PR-URL: https://github.com/libuv/libuv/pull/928 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
70002c80 | 21-Jun-2016 |
Ben Noordhuis |
linux: fix potential event loop stall It was pointed out[0] that libuv could effectively enter an infinite loop (but not a busy loop) under certain conditions when polling for events
linux: fix potential event loop stall It was pointed out[0] that libuv could effectively enter an infinite loop (but not a busy loop) under certain conditions when polling for events: 1. When the architecture is 32 bits, and 2. When timeout > 0, i.e., finite, and 3. When timeout > max_safe_timeout (~30 minutes), and 4. When epoll_wait(timeout) returns 0, then 5. timeout was not properly updated on the next call to epoll_wait(). Inspection of the code uncovered a secondary bug where under a similar set of circumstances the timeout could drift when the epoll_wait() system call returned late. [0] https://github.com/libuv/libuv/pull/354#discussion_r67837112 PR-URL: https://github.com/libuv/libuv/pull/922 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
1d27bbbb | 27-Jun-2016 |
neevek |
doc: add a note on safe reuse of uv_write_t uv_write_t can be reused safely only after the callback passed to uv_write is fired. PR-URL: https://github.com/libuv/libuv/pull/927
doc: add a note on safe reuse of uv_write_t uv_write_t can be reused safely only after the callback passed to uv_write is fired. PR-URL: https://github.com/libuv/libuv/pull/927 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
77c8abae | 22-Jun-2016 |
cjihrig |
win: compare entire filename in watch events This commit causes Window file watching events to compare the entire file path when filtering events. This fixes a bug where incomplete p
win: compare entire filename in watch events This commit causes Window file watching events to compare the entire file path when filtering events. This fixes a bug where incomplete path comparisons would cause invalid events to be raised. Refs: https://github.com/libuv/libuv/pull/682 PR-URL: https://github.com/libuv/libuv/pull/924 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
34ee2573 | 22-Jun-2016 |
Ben Noordhuis |
unix: don't convert stat buffer when syscall fails Don't call uv__to_stat() when the stat/fstat/lstat system call fails; the stack-allocated buffer contains only garbage in that case.
unix: don't convert stat buffer when syscall fails Don't call uv__to_stat() when the stat/fstat/lstat system call fails; the stack-allocated buffer contains only garbage in that case. Not a very serious bug it's technically undefined behavior and it made valgrind squawk. Introduced in commit 499c7976 ("unix, windows: nanosecond resolution for uv_fs_[fl]stat"). PR-URL: https://github.com/libuv/libuv/pull/921 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
cdccd4f9 | 18-Jun-2016 |
Saúl Ibarra Corretgé |
doc: clarify callbacks won't be called in error case PR-URL: https://github.com/libuv/libuv/pull/918 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
d75e334e | 10-Jun-2016 |
Brian Maher |
sunos: set phys_addr of interface_address using ARP If getifaddrs() returns an all zero ifa_addr field, then use ARP to set the phys_addr field of the uv_interface_address_t on the sunos
sunos: set phys_addr of interface_address using ARP If getifaddrs() returns an all zero ifa_addr field, then use ARP to set the phys_addr field of the uv_interface_address_t on the sunos platform. PR-URL: https://github.com/libuv/libuv/pull/907 Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
7b9e25a9 | 19-Jun-2016 |
Luca Bruno |
test: skip tty_pty test if pty is not available Do not let `tty_pty` test fail if no terminals are available to `openpty()`. PR-URL: https://github.com/libuv/libuv/pull/919
test: skip tty_pty test if pty is not available Do not let `tty_pty` test fail if no terminals are available to `openpty()`. PR-URL: https://github.com/libuv/libuv/pull/919 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
2fc54807 | 15-Jun-2016 |
Saúl Ibarra Corretgé |
unix: remove unneeded TODO note It's already documented in http://docs.libuv.org/en/v1.x/stream.html#c.uv_accept PR-URL: https://github.com/libuv/libuv/pull/916 Reviewed-By:
unix: remove unneeded TODO note It's already documented in http://docs.libuv.org/en/v1.x/stream.html#c.uv_accept PR-URL: https://github.com/libuv/libuv/pull/916 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
show more ...
|