Subject: CVS commit: basesrc/bin/cat
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 05/09/2002 05:19:42
Module Name: basesrc
Committed By: simonb
Date: Thu May 9 02:19:42 UTC 2002
Modified Files:
basesrc/bin/cat: cat.c
Log Message:
Simplify previous - sbuf.st_blksize is a uint32_t, so just use
bsize = MAX(sbuf.st_blksize, BUFSIZ);
and skip playing with SSIZE_MAX altogether.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 basesrc/bin/cat/cat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.