summaryrefslogtreecommitdiff
path: root/deps/uv/test/run-tests.c
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-12-16 14:18:16 -0500
committercjihrig <cjihrig@gmail.com>2018-12-19 09:02:22 -0500
commit728b155870b69a83b806d8bee67aeb0fd0a9b2dd (patch)
treea15ca72c0ac6a6edd66f0845aa7779e0bbbea1f3 /deps/uv/test/run-tests.c
parente1ab457490925ddbf9f234973c4338bd0690acb5 (diff)
downloadandroid-node-v8-728b155870b69a83b806d8bee67aeb0fd0a9b2dd.tar.gz
android-node-v8-728b155870b69a83b806d8bee67aeb0fd0a9b2dd.tar.bz2
android-node-v8-728b155870b69a83b806d8bee67aeb0fd0a9b2dd.zip
deps: upgrade to libuv 1.24.1
PR-URL: https://github.com/nodejs/node/pull/25078 Fixes: https://github.com/nodejs/node/issues/24521 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'deps/uv/test/run-tests.c')
-rw-r--r--deps/uv/test/run-tests.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/uv/test/run-tests.c b/deps/uv/test/run-tests.c
index 42bde0bb96..2a699f46dc 100644
--- a/deps/uv/test/run-tests.c
+++ b/deps/uv/test/run-tests.c
@@ -142,11 +142,11 @@ static int maybe_run_test(int argc, char **argv) {
if (strcmp(argv[1], "spawn_helper5") == 0) {
const char out[] = "fourth stdio!\n";
notify_parent_process();
+ {
#ifdef _WIN32
- DWORD bytes;
- WriteFile((HANDLE) _get_osfhandle(3), out, sizeof(out) - 1, &bytes, NULL);
+ DWORD bytes;
+ WriteFile((HANDLE) _get_osfhandle(3), out, sizeof(out) - 1, &bytes, NULL);
#else
- {
ssize_t r;
do
@@ -154,8 +154,8 @@ static int maybe_run_test(int argc, char **argv) {
while (r == -1 && errno == EINTR);
fsync(3);
- }
#endif
+ }
return 1;
}