diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-18 07:37:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-18 07:37:29 +0000 |
commit | 4f1ec3fd5446ccf1b15e2374566c1c93a25c46b0 (patch) | |
tree | 515131588d1efcfe444e77ad22f24f9633bc1658 /src/uniq.c | |
parent | 9341d1f804522ed36abb0b61c73a96880c91ee93 (diff) | |
download | coreutils-4f1ec3fd5446ccf1b15e2374566c1c93a25c46b0.tar.xz |
Reflect renaming: readline -> readlinebuffer.
Diffstat (limited to 'src/uniq.c')
-rw-r--r-- | src/uniq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uniq.c b/src/uniq.c index c945be391..e5d74d68a 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -302,7 +302,7 @@ check_file (const char *infile, const char *outfile) { char *thisfield; size_t thislen; - if (readline (thisline, istream) == 0) + if (readlinebuffer (thisline, istream) == 0) break; thisfield = find_field (thisline); thislen = thisline->length - 1 - (thisfield - thisline->buffer); @@ -325,7 +325,7 @@ check_file (const char *infile, const char *outfile) int match_count = 0; int first_delimiter = 1; - if (readline (prevline, istream) == 0) + if (readlinebuffer (prevline, istream) == 0) goto closefiles; prevfield = find_field (prevline); prevlen = prevline->length - 1 - (prevfield - prevline->buffer); @@ -335,7 +335,7 @@ check_file (const char *infile, const char *outfile) bool match; char *thisfield; size_t thislen; - if (readline (thisline, istream) == 0) + if (readlinebuffer (thisline, istream) == 0) break; thisfield = find_field (thisline); thislen = thisline->length - 1 - (thisfield - thisline->buffer); |