]> git.cameronkatri.com Git - bsd-progress.git/commit
Don't try to determining the size of what's coming when reading from a pipe.
authorhubertf <hubertf@NetBSD.org>
Thu, 20 Apr 2006 23:20:55 +0000 (23:20 +0000)
committerhubertf <hubertf@NetBSD.org>
Thu, 20 Apr 2006 23:20:55 +0000 (23:20 +0000)
commit16e2f809d038fe54555b3c59f36d98ef2906a0c9
treecac46eaf372a6e5f80a166cebfb165306d0154e6
parent284ff9e24243e397e1710bcc7e3ae439474725fa
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@
progress.c