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/tr.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/tr.c')
-rw-r--r-- | src/tr.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1667,7 +1667,7 @@ squeeze_filter (unsigned char *buf, long int size, PFI reader) ++i; } if (out_len > 0 - && fwrite ((char *) &buf[begin], 1, out_len, stdout) == 0) + && FWRITE ((char *) &buf[begin], 1, out_len, stdout) == 0) error (EXIT_FAILURE, errno, _("write error")); } @@ -1913,7 +1913,7 @@ without squeezing repeats")); do { nr = read_and_delete (io_buf, IO_BUF_SIZE, NULL); - if (nr > 0 && fwrite ((char *) io_buf, 1, nr, stdout) == 0) + if (nr > 0 && FWRITE ((char *) io_buf, 1, nr, stdout) == 0) error (EXIT_FAILURE, errno, _("write error")); } while (nr > 0); @@ -2021,14 +2021,14 @@ construct in string1 must be aligned with a corresponding construct\n\ { chars_read = read_and_xlate (io_buf, IO_BUF_SIZE, NULL); if (chars_read > 0 - && fwrite ((char *) io_buf, 1, chars_read, stdout) == 0) + && FWRITE ((char *) io_buf, 1, chars_read, stdout) == 0) error (EXIT_FAILURE, errno, _("write error")); } while (chars_read > 0); } } - if (fclose (stdout) == EOF) + if (FCLOSE (stdout) == EOF) error (EXIT_FAILURE, errno, _("write error")); if (close (0) != 0) |