Ethereal-dev: Re: [Ethereal-dev] Patches

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: Fri, 14 Jan 2005 12:30:25 -0800
RABRET Laurent RD-MAPS-ISS wrote:
Please ignore my previous patch and apply this one instead... On Linux
strange statistics operations (divisions / 0 and null pointer
indirections) don't crash Ethereal and display respectively "nan" and
"(null)". To be consistent, I've just used this formalism here.

I've checked that in - but "nan" is just a consequence of the way some OSes (including Linux) and some processors handle floating-point divisions by zero and print NANs, and "(null)" is a consequence of the way some printfs handle null pointers.

I've changed it to display a null file name as "None", and to display the other items as "N/A" ("Not Applicable").