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/tail.c | |
parent | a24e9cc55c36f148639557767a39958683577b72 (diff) | |
download | coreutils-1c27b56095b4a82be7d072baabc09262cb4227e5.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/tail.c')
-rw-r--r-- | src/tail.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tail.c b/src/tail.c index dbd210458..d1552d424 100644 --- a/src/tail.c +++ b/src/tail.c @@ -43,9 +43,9 @@ #include "safe-read.h" #include "stat-size.h" #include "stat-time.h" -#include "xnanosleep.h" +#include "xbinary-io.h" #include "xdectoint.h" -#include "xsetmode.h" +#include "xnanosleep.h" #include "xstrtol.h" #include "xstrtod.h" @@ -1894,7 +1894,7 @@ tail_file (struct File_spec *f, uintmax_t n_units) { have_read_stdin = true; fd = STDIN_FILENO; - xsetmode (STDIN_FILENO, O_BINARY); + xset_binary_mode (STDIN_FILENO, O_BINARY); } else fd = open (f->name, O_RDONLY | O_BINARY); @@ -2323,7 +2323,7 @@ main (int argc, char **argv) || (header_mode == multiple_files && n_files > 1)) print_headers = true; - xsetmode (STDOUT_FILENO, O_BINARY); + xset_binary_mode (STDOUT_FILENO, O_BINARY); for (i = 0; i < n_files; i++) ok &= tail_file (&F[i], n_units); |