Ethereal-dev: Re: [Ethereal-dev] Assertion failure from GTK

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 23 Apr 2002 22:49:37 -0700
On Tue, Apr 23, 2002 at 01:07:15PM +0300, Pasi Eronen wrote:
> It seems that if the capture file grows while Ethereal is reading it
> (e.g., I'm running tcpdump in the background and use Ethereal
> to check what's going on), Gtk complains about the progress bar:

I've checked in a change that re-stats the file, and recomputes the
progress fraction, if the fraction is > 1.  (If it's still > 1 after
that, or if it couldn't stat the file, it just clamps it at 1.)