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: "RABRET Laurent RD-MAPS-ISS" <laurent.rabret@xxxxxxxxxxxxxxxxx>
Date: Thu, 3 Feb 2005 12:09:38 +0100
Another ugly patch to fix the same problem (I forgot to submit it last
week). I was wondering if it would have been possible to use the kazlib
exception library... I know systems have different behaviours for
exception generation. For example, some don't throw exceptions for
invalid access memory and some do. Do you know if the KazLib provides a
common behaviour for all systems?
Regards
Laurent

 
-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: Friday, January 14, 2005 9:30 PM
To: Ethereal development
Subject: Re: [Ethereal-dev] Patches

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").

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Attachment: gsm_map_summary.c.patch
Description: gsm_map_summary.c.patch