summaryrefslogtreecommitdiff
path: root/deps/uv/test/run-tests.c
diff options
context:
space:
mode:
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;
}