diff options
author | Jim Meyering <jim@meyering.net> | 1998-06-29 02:11:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-06-29 02:11:07 +0000 |
commit | dd9470cb58f9c668279aa8dab8164440b73daaad (patch) | |
tree | cf22a0d981deca2485740b4b6ec6efd6ae15793d /src/tail.c | |
parent | 02fc5fa0d0a68fa070dcb93983ad20590e051164 (diff) | |
download | coreutils-dd9470cb58f9c668279aa8dab8164440b73daaad.tar.xz |
Change all uses of unlocked-wrapped functions to their upper case wrapper names.
Diffstat (limited to 'src/tail.c')
-rw-r--r-- | src/tail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tail.c b/src/tail.c index 981ed6f5a..8c2595288 100644 --- a/src/tail.c +++ b/src/tail.c @@ -197,7 +197,7 @@ xwrite (int fd, char *const buffer, size_t n_bytes) { assert (fd == 1); assert (n_bytes >= 0); - if (n_bytes > 0 && fwrite (buffer, 1, n_bytes, stdout) == 0) + if (n_bytes > 0 && FWRITE (buffer, 1, n_bytes, stdout) == 0) error (EXIT_FAILURE, errno, _("write error")); } @@ -583,7 +583,7 @@ dump_remainder (const char *pretty_filename, int fd) error (EXIT_FAILURE, errno, "%s", pretty_filename); if (forever) - fflush (stdout); + FFLUSH (stdout); return total; } @@ -1291,7 +1291,7 @@ main (int argc, char **argv) if (have_read_stdin && close (0) < 0) error (EXIT_FAILURE, errno, "-"); - if (fclose (stdout) == EOF) + if (FCLOSE (stdout) == EOF) error (EXIT_FAILURE, errno, _("write error")); exit (exit_status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } |