summaryrefslogtreecommitdiff
path: root/src/tail.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-29 15:57:45 +0000
committerJim Meyering <jim@meyering.net>1998-06-29 15:57:45 +0000
commit257c5c4737ce0399316199903ae402ae9e794a84 (patch)
tree649dc55a3e71f5f0cc99fa9b3cb1bfe460536e38 /src/tail.c
parent391c960cba3d7207149f5148d99c068331add803 (diff)
downloadcoreutils-257c5c4737ce0399316199903ae402ae9e794a84.tar.xz
revert back to using lower case _unlocked wrapper names
Diffstat (limited to 'src/tail.c')
-rw-r--r--src/tail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tail.c b/src/tail.c
index 8c2595288..981ed6f5a 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);
}