From 87c456bf6fb9453144890f0941c118a49b20fda5 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 15 Feb 2017 15:33:17 -0800 Subject: tests: Adjust to recent SET_BINARY change * tests/test-binary-io.c (main): * tests/test-binary-io.sh: Remove test for SET_BINARY. * tests/test-closein.c, tests/test-fflush2.c, tests/test-ftell.c: * tests/test-ftello.c, tests/test-nonblocking-pipe-child.c: * tests/test-yesno.c: Use set_binary_mode, not SET_BINARY. --- tests/test-nonblocking-pipe-child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test-nonblocking-pipe-child.c') 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); -- cgit v1.2.1