From: Jim Meyering Date: Sun, 6 Aug 2000 15:08:29 +0000 (+0000) Subject: We know nbytes is 0, so remove it from bail-out test. X-Git-Tag: TEXTUTILS-2_0g~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3110281aad69017096336558fa2b81ac75c142fa;p=platform%2Fupstream%2Fcoreutils.git We know nbytes is 0, so remove it from bail-out test. --- diff --git a/src/tail.c b/src/tail.c index 5eaa2f9..37dd506 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. */