]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.
authorJim Meyering <jim@meyering.net>
Fri, 5 Sep 2003 20:45:26 +0000 (20:45 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 5 Sep 2003 20:45:26 +0000 (20:45 +0000)
commit1061c7028464919cedc575b67ab77b21594c1fad
tree72a3e202b4cdfbb44c73ce62c10d06eee53300bd
parent968be3baa59031944bdebc77c7adb44a7f4175f3
(elide_tail_lines_pipe): Don't assign 0 or SAFE_READ_ERROR to tmp->nbytes.

(struct linebuffer): Change nbytes and nlines
from unsigned int to size_t.  unsigned int is safe (after the
2003-09-03 patch) but size_t is cleaner.

Standardize on BUFSIZ as opposed to other macro names and values.
(BUFSIZE): Remove.  All uses changed to BUFSIZ.
src/head.c