diff options
author | Jim Meyering <jim@meyering.net> | 2000-08-06 15:08:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-08-06 15:08:29 +0000 |
commit | 3110281aad69017096336558fa2b81ac75c142fa (patch) | |
tree | faa9b4028aacb000266022af2ce6bd379a0681b6 | |
parent | 0d9ee9b50cf7e218da6dea79cc9e910332b1c39c (diff) | |
download | coreutils-3110281aad69017096336558fa2b81ac75c142fa.tar.xz |
We know nbytes is 0, so remove it from bail-out test.
-rw-r--r-- | src/tail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tail.c b/src/tail.c index 5eaa2f968..37dd5061a 100644 --- a/src/tail.c +++ b/src/tail.c @@ -523,7 +523,7 @@ pipe_lines (const char *pretty_filename, int fd, long int n_lines) } /* If the file is empty, then bail out. */ - if (nbytes + last->nbytes == 0) + if (last->nbytes == 0) goto free_lbuffers; /* This prevents a core dump when the pipe contains no newlines. */ |