diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-16 00:40:02 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-02-16 00:40:50 -0800 |
commit | 1c27b56095b4a82be7d072baabc09262cb4227e5 (patch) | |
tree | 116db7c0c9eec1c6321db7e079975f897554ea7c /src/tee.c | |
parent | a24e9cc55c36f148639557767a39958683577b72 (diff) | |
download | coreutils-master.tar.xz |
* bootstrap.conf, src/base64.c, src/cat.c, src/cksum.c:
* src/head.c, src/md5sum.c, src/od.c, src/split.c, src/sum.c:
* src/tac.c, src/tail.c, src/tee.c, src/tr.c, src/wc.c:
Adjust to renaming of the xsetmode module to xbinary-io,
and of the xsetmode function to xset_binary_mode.
Diffstat (limited to 'src/tee.c')
-rw-r--r-- | src/tee.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -27,7 +27,7 @@ #include "error.h" #include "fadvise.h" #include "stdio--.h" -#include "xsetmode.h" +#include "xbinary-io.h" /* The official name of this program (e.g., no 'g' prefix). */ #define PROGRAM_NAME "tee" @@ -194,8 +194,8 @@ tee_files (int nfiles, char **files) ? (append ? "ab" : "wb") : (append ? "a" : "w")); - xsetmode (STDIN_FILENO, O_BINARY); - xsetmode (STDOUT_FILENO, O_BINARY); + xset_binary_mode (STDIN_FILENO, O_BINARY); + xset_binary_mode (STDOUT_FILENO, O_BINARY); fadvise (stdin, FADVISE_SEQUENTIAL); /* Set up FILES[0 .. NFILES] and DESCRIPTORS[0 .. NFILES]. |