Ethereal-dev: Re: [PATCH] Re: [Ethereal-dev] Problem with parsing float values onsome machines

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 28 Jan 2004 01:53:50 -0800
On Wed, Jan 28, 2004 at 01:33:03AM -0800, Guy Harris wrote:
> There's already such a data structure for the rows in that - the
> frame_data structure.  I have code to make that work for packet number,
> absolute time, relative time, and delta time column formats (except if
> you have a time reference set - "*REF*" is less than any numerical
> value, presumably, as "*" is less than any digit), packet length, and
> cumulative bytes; the remaining numeric fields are port numbers, which
> don't have "."s or ","s in them.

I made that handle reference times by making them sort lower than all
non-reference times and, when comparing two reference times, sorting
based on the corresponding time value, and checked it in.