37daffac | 12-Dec-2014 |
Saúl Ibarra Corretgé |
test: fix cwd_and_chdir test on Unix There is no need to check for a trailing slash, uv_cwd ensures it. PR-URL: https://github.com/libuv/libuv/pull/63 Reviewed-By: Bert Belder <
test: fix cwd_and_chdir test on Unix There is no need to check for a trailing slash, uv_cwd ensures it. PR-URL: https://github.com/libuv/libuv/pull/63 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
d4d1f328 | 15-Dec-2014 |
Saúl Ibarra Corretgé |
unix: change uv_cwd not to return a trailing slash This aligns the behavior with the Windows implementation. PR-URL: https://github.com/libuv/libuv/pull/63 Reviewed-By: Bert Bel
unix: change uv_cwd not to return a trailing slash This aligns the behavior with the Windows implementation. PR-URL: https://github.com/libuv/libuv/pull/63 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
eb986397 | 14-Dec-2014 |
Bert Belder |
Merge branch 'v0.10' into v1.x
|
59f875d6 | 11-Dec-2014 |
Marc Schlaich |
test: check dlerror is "no error" in no error case PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s
test: check dlerror is "no error" in no error case PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f70b69d0 | 11-Dec-2014 |
Marc Schlaich |
test: improve compatibility for dlerror test Check uv_dlerror() doesn't return "no_error", in order to make the test less dependent on the exact error message the platform produces when
test: improve compatibility for dlerror test Check uv_dlerror() doesn't return "no_error", in order to make the test less dependent on the exact error message the platform produces when loading a dynamic library fails. PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4272e0a6 | 11-Dec-2014 |
Marc Schlaich |
win: fall back to default language in uv_dlerror PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <sag
win: fall back to default language in uv_dlerror PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
6eb2eaa7 | 11-Dec-2014 |
Marc Schlaich |
win: set fallback message if FormatMessage fails FormatMessage can fail, e.g. with ERROR_MUI_FILE_NOT_FOUND. In this case no error message was set and uv_dlerror wrongly returned "no err
win: set fallback message if FormatMessage fails FormatMessage can fail, e.g. with ERROR_MUI_FILE_NOT_FOUND. In this case no error message was set and uv_dlerror wrongly returned "no error". With this patch the fallback error message "error: <errorno>" is generated when FormatMessage fails. PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4298c1fb | 11-Dec-2014 |
Marc Schlaich |
gitignore: ignore Visual Studio files PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.c
gitignore: ignore Visual Studio files PR-URL: https://github.com/libuv/libuv/pull/59 Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4203ef20 | 14-Dec-2014 |
Luis Lavena |
win: fix autotools build of tests Add missing test file to match GYP definition and solve undefined reference. PR-URL: https://github.com/libuv/libuv/pull/69 Reviewed-By: Be
win: fix autotools build of tests Add missing test file to match GYP definition and solve undefined reference. PR-URL: https://github.com/libuv/libuv/pull/69 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
9c8e9714 | 13-Dec-2014 |
Saúl Ibarra Corretgé |
test: fix compilation warnings when building with Clang warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement] PR-URL: https://github.com/libuv/libuv/
test: fix compilation warnings when building with Clang warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement] PR-URL: https://github.com/libuv/libuv/pull/67 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
5a8f7931 | 13-Dec-2014 |
Saúl Ibarra Corretgé |
test: relax osx_select_many_fds 1502 is not enough, since there are other fds which are in use internally. PR-URL: https://github.com/libuv/libuv/pull/67 Reviewed-By: Ben No
test: relax osx_select_many_fds 1502 is not enough, since there are other fds which are in use internally. PR-URL: https://github.com/libuv/libuv/pull/67 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
96f164e5 | 13-Dec-2014 |
Saúl Ibarra Corretgé |
test: silence some Clang warnings They only show up on OSX for some reason, though. PR-URL: https://github.com/libuv/libuv/pull/67 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
86fcc20f | 12-Dec-2014 |
Saúl Ibarra Corretgé |
test: skip spawn_setuid_setgid if we get EACCES More often than not, users run the test suite from /root, which means the 'nobody' user won't be able to access the test runner and the te
test: skip spawn_setuid_setgid if we get EACCES More often than not, users run the test suite from /root, which means the 'nobody' user won't be able to access the test runner and the test will fail because we drop privileges to that user. Just skip it then. PR-URL: https://github.com/libuv/libuv/pull/66 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
46090727 | 11-Dec-2014 |
Saúl Ibarra Corretgé |
doc: fix sphinx warning |
3fef323e | 11-Dec-2014 |
Saúl Ibarra Corretgé |
doc: indicate what version uv_loop_configure was added on PR-URL: https://github.com/libuv/libuv/pull/60 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
e8c4c329 | 11-Dec-2014 |
Bert Belder |
test: fix test-cwd-and-chdir The test used to call uv_cwd() twice, in this fashion: char buf[PATH_MAX]; size_t size = sizeof buf; uv_cwd(buf, &size); uv_cwd
test: fix test-cwd-and-chdir The test used to call uv_cwd() twice, in this fashion: char buf[PATH_MAX]; size_t size = sizeof buf; uv_cwd(buf, &size); uv_cwd(buf, &size); The `size` variable is supposed to contain the buffer size (including terminating null) on input, and it is also used as an out parameter for returning the actual length of the working directory (not including the terminating null). This makes the second uv_cwd() call fail with UV_ENOBUFS. PR-URL: https://github.com/libuv/libuv/pull/54 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
cb2f6a97 | 10-Dec-2014 |
Bert Belder |
test: fix test-fs-file-loop on Windows * Check whether uv_fs_symlink() succeeds. * Bail out early if we're on an old version of windows, or if we're not able to create symlinks bec
test: fix test-fs-file-loop on Windows * Check whether uv_fs_symlink() succeeds. * Bail out early if we're on an old version of windows, or if we're not able to create symlinks because we're not elevated. PR-URL: https://github.com/libuv/libuv/pull/55 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
9f3fa71c | 10-Dec-2014 |
Bert Belder |
Merge branch 'v0.10' into v1.x Conflicts: src/win/poll.c test/test-poll-close-doesnt-corrupt-stack.c
|
48d39345 | 09-Dec-2014 |
Bert Belder |
win: avoid stack corruption when closing a poll handle When the user closes an uv_poll_t handle, there may still be an outstanding AFD_POLL request. Libuv can't cancel this AFD_POLL requ
win: avoid stack corruption when closing a poll handle When the user closes an uv_poll_t handle, there may still be an outstanding AFD_POLL request. Libuv can't cancel this AFD_POLL request directly, so it has to submit another which makes the the previous poll request return. Libuv completely forgets about the "canceling" AFD_POLL request, but at some point in time it may complete and store its result somewhere in memory. Without this patch the result of the canceling poll request is written somewhere on the stack, which sometimes causes stack corruption. This patch ensures that the result is written to some static scratch space where it can do no harm. PR-URL: https://github.com/libuv/libuv/pull/49 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Marc Schlaich <marc.schlaich@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
152c35d5 | 10-Dec-2014 |
Bert Belder |
Revert "win: keep a reference to AFD_POLL_INFO in cancel poll" The offending patch doesn't completely fix the issue, it just trades stack corruption for heap corruption which is less lik
Revert "win: keep a reference to AFD_POLL_INFO in cancel poll" The offending patch doesn't completely fix the issue, it just trades stack corruption for heap corruption which is less likely. In addition there is a much simpler solution for this problem. This reverts commit cd894521dd9e1e648fde803950f2dcb3a8529a3b. PR-URL: https://github.com/libuv/libuv/pull/49 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Marc Schlaich <marc.schlaich@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
2e30a196 | 10-Dec-2014 |
Marc Schlaich |
win: fix compilation of tests PR-URL: https://github.com/libuv/libuv/pull/51 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
2f0b41ec | 10-Dec-2014 |
Marc Schlaich |
win: fix compilation of tests PR-URL: https://github.com/libuv/libuv/pull/51 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
5f2016a4 | 09-Dec-2014 |
Bert Belder |
test: test that closing a poll handle doesn't corrupt the stack This is a regression test for an issue that was originally reported in https://github.com/libuv/libuv/pull/36, and fixed i
test: test that closing a poll handle doesn't corrupt the stack This is a regression test for an issue that was originally reported in https://github.com/libuv/libuv/pull/36, and fixed in cd89452. PR-URL: https://github.com/libuv/libuv/pull/48 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f9aa3b3d | 09-Dec-2014 |
Bert Belder |
test: test that closing a poll handle doesn't corrupt the stack This is a regression test for an issue that was originally reported in https://github.com/libuv/libuv/pull/36, and fixed i
test: test that closing a poll handle doesn't corrupt the stack This is a regression test for an issue that was originally reported in https://github.com/libuv/libuv/pull/36, and fixed in cd89452. PR-URL: https://github.com/libuv/libuv/pull/48 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
413dbd89 | 09-Dec-2014 |
Saúl Ibarra Corretgé |
Add SHAs to changelog |