diff options
Diffstat (limited to 'tests/test-nonblocking-pipe-child.c')
-rw-r--r-- | tests/test-nonblocking-pipe-child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-nonblocking-pipe-child.c b/tests/test-nonblocking-pipe-child.c index c965231291..421bfc97fd 100644 --- a/tests/test-nonblocking-pipe-child.c +++ b/tests/test-nonblocking-pipe-child.c @@ -42,7 +42,7 @@ main (int argc, char *argv[]) /* STDIN_FILENO was created as binary in the parent process. But since an fd's mode is stored in the process, not in the kernel, on native Windows we need to set it as binary in the child process again. */ - SET_BINARY (STDIN_FILENO); + set_binary_mode (STDIN_FILENO, O_BINARY); main_reader_loop (test, PIPE_DATA_BLOCK_SIZE, STDIN_FILENO); |