Subject: CVS commit: src/usr.bin/progress
To: None <source-changes@NetBSD.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 04/20/2006 23:20:55
Module Name:	src
Committed By:	hubertf
Date:		Thu Apr 20 23:20:55 UTC 2006

Modified Files:
	src/usr.bin/progress: progress.c

Log Message:
Don't try to determining the size of what's coming when reading from a pipe.
Instead of reporting some bogus values, print no progress at all.
(It's beyond me why stat(2) on a pipe returns funny values...
 see the PR below for some examples!)

Fixes PR bin/33207 by myself.

OK'd by mrg@


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 src/usr.bin/progress/progress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.