From 257c5c4737ce0399316199903ae402ae9e794a84 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 29 Jun 1998 15:57:45 +0000 Subject: revert back to using lower case _unlocked wrapper names --- src/tr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tr.c') diff --git a/src/tr.c b/src/tr.c index 0eaa6c1ab..831de3b4b 100644 --- a/src/tr.c +++ b/src/tr.c @@ -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) -- cgit v1.2.3-54-g00ecf