Ethereal-cvs: [Ethereal-cvs] rev 15250: /trunk/epan/dissectors/: packet-frame.c /trunk/epan/:

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

Date: Sat, 06 Aug 2005 19:58:46 GMT
User: guy
Date: 2005/08/06 02:58 PM

Log:
 Support throwing an exception with a null message pointer, and have the
 message not be const (as we generate messages with "g_strdup_sprintf()",
 which means they need to be freed; using a null message means that we
 don't have to use a special string for exceptions with no message, and
 don't have to worry about not freeing that).
 
 Have THROW() throw an exception with a null message pointer.  (This
 means that you crash if you throw DissectorError with THROW().  Don't do
 that - it means you don't get a more detailed explanation of the
 dissector problem.  Use the DISSECTOR_ASSERT, etc. macros in
 epan/proto.h instead.)
 
 Free the exception message for DissectorError, as it's mallocated.

Directory: /trunk/epan/dissectors/
  Changes    Path              Action
  +1 -0      packet-frame.c    Modified

Directory: /trunk/epan/
  Changes    Path            Action
  +43 -10    except.c        Modified
  +13 -4     except.h        Modified
  +8 -2      exceptions.h    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=15250&view=rev