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/comm.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/comm.c')
-rw-r--r-- | src/comm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/comm.c b/src/comm.c index 20e232a26..044eed051 100644 --- a/src/comm.c +++ b/src/comm.c @@ -103,7 +103,7 @@ writeline (struct linebuffer *line, FILE *stream, int class) return; /* Skip the tab stop for case 1, if we are printing case 1. */ if (only_file_1) - putc ('\t', stream); + PUTC ('\t', stream); break; case 3: @@ -111,15 +111,15 @@ writeline (struct linebuffer *line, FILE *stream, int class) return; /* Skip the tab stop for case 1, if we are printing case 1. */ if (only_file_1) - putc ('\t', stream); + PUTC ('\t', stream); /* Skip the tab stop for case 2, if we are printing case 2. */ if (only_file_2) - putc ('\t', stream); + PUTC ('\t', stream); break; } - fwrite (line->buffer, sizeof (char), line->length, stream); - putc ('\n', stream); + FWRITE (line->buffer, sizeof (char), line->length, stream); + PUTC ('\n', stream); } /* Compare INFILES[0] and INFILES[1]. @@ -197,13 +197,13 @@ compare_files (char **infiles) for (i = 0; i < 2; i++) { free (lb1[i].buffer); - if (ferror (streams[i]) || fclose (streams[i]) == EOF) + if (FERROR (streams[i]) || fclose (streams[i]) == EOF) { error (0, errno, "%s", infiles[i]); ret = 1; } } - if (ferror (stdout) || fclose (stdout) == EOF) + if (FERROR (stdout) || fclose (stdout) == EOF) { error (0, errno, _("write error")); ret = 1; |