diff options
author | Jim Meyering <jim@meyering.net> | 1994-11-17 12:49:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-11-17 12:49:38 +0000 |
commit | fdfd720ec4e44b9b35368c9ea483f56fa0b69847 (patch) | |
tree | c8ee846330b6b6cb51594f99f21f691071aea78d /src | |
parent | 53c46c67ac349397e57f5d50ae400531186a7a81 (diff) | |
download | coreutils-fdfd720ec4e44b9b35368c9ea483f56fa0b69847.tar.xz |
(output): Use STDOUT_FILENO instead of `1' in xwrite call.
Diffstat (limited to 'src')
-rw-r--r-- | src/tac.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -600,7 +600,7 @@ output (start, past_end) if (start == 0) { - xwrite (1, buffer, bytes_in_buffer); + xwrite (STDOUT_FILENO, buffer, bytes_in_buffer); bytes_in_buffer = 0; return; } @@ -611,7 +611,7 @@ output (start, past_end) bcopy (start, buffer + bytes_in_buffer, bytes_available); bytes_to_add -= bytes_available; start += bytes_available; - xwrite (1, buffer, WRITESIZE); + xwrite (STDOUT_FILENO, buffer, WRITESIZE); bytes_in_buffer = 0; bytes_available = WRITESIZE; } |