diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-15 15:33:17 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-15 15:33:36 -0800 |
commit | 87c456bf6fb9453144890f0941c118a49b20fda5 (patch) | |
tree | 585c1699666268e555fa93c8c3057c8955ca484b /tests/test-nonblocking-pipe-child.c | |
parent | 7de8fbeeb844990ff3be4a49601c721a3b8c0dc2 (diff) | |
download | gnulib-87c456bf6fb9453144890f0941c118a49b20fda5.tar.gz |
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.
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); |