Subject: PR/33207 CVS commit: src/usr.bin/progress
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Hubert Feyrer <hubertf@netbsd.org>
List: netbsd-bugs
Date: 04/20/2006 23:25:02
The following reply was made to PR bin/33207; it has been noted by GNATS.
From: Hubert Feyrer <hubertf@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/33207 CVS commit: src/usr.bin/progress
Date: Thu, 20 Apr 2006 23:20:55 +0000 (UTC)
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.