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/csplit.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/csplit.c')
-rw-r--r-- | src/csplit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/csplit.c b/src/csplit.c index d31f89979..3d6244902 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1001,7 +1001,7 @@ close_output_file (void) { if (output_stream) { - if (ferror (output_stream) || fclose (output_stream) == EOF) + if (FERROR (output_stream) || fclose (output_stream) == EOF) { error (0, errno, _("write error for `%s'"), output_filename); output_stream = NULL; @@ -1030,7 +1030,7 @@ close_output_file (void) static void save_line_to_file (const struct cstring *line) { - fwrite (line->str, sizeof (char), line->len, output_stream); + FWRITE (line->str, sizeof (char), line->len, output_stream); bytes_written += line->len; } @@ -1497,7 +1497,7 @@ main (int argc, char **argv) cleanup_fatal (); } - if (!suppress_count && (ferror (stdout) || fclose (stdout) == EOF)) + if (!suppress_count && (FERROR (stdout) || fclose (stdout) == EOF)) error (EXIT_FAILURE, errno, _("write error")); exit (EXIT_SUCCESS); |