aboutsummaryrefslogtreecommitdiffstats
path: root/epan/except.c
AgeCommit message (Collapse)AuthorFilesLines
2007-12-05Include <glib.h> to declare g_vsnprintf().Guy Harris1-0/+3
svn path=/trunk/; revision=23768
2007-12-05Use g_vsnprintf(), not vsprintf(), for safety's sake.Guy Harris1-1/+1
svn path=/trunk/; revision=23766
2006-01-22Win32: call an existing debugger if a DissectorError is thrown. This ↵Ulf Lamping1-0/+13
preserves the call stack of the bug making debugging much easier. This can't be done in every error throwing case, as e.g. throwing a ReportedBoundsError might happen a lot even if no bugs are involved. Anyway, extending this to other errors can be done manually while debugging. svn path=/trunk/; revision=17072
2005-09-27get rid of warnings about qualifier discardingTomas Kukosa1-3/+3
svn path=/trunk/; revision=16017
2005-08-06Support throwing an exception with a null message pointer, and have theGuy Harris1-10/+43
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. svn path=/trunk/; revision=15250
2004-12-29Remove some unneeded backslashes.Gerald Combs1-3/+3
svn path=/trunk/; revision=12857
2004-12-28Remove some macros that were making the "splint" utility throw a fit.Gerald Combs1-60/+47
svn path=/trunk/; revision=12849
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-2/+2
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2002-08-28Removed trailing whitespaces from .h and .c files using theJörg Mayer1-4/+4
winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
2001-07-27Fix for Kazlib exception code:Gilbert Ramirez1-4/+4
Defect number: 0011 Date: Jul 26 2001 Releases of Kazlib affected: 1.10 through 1.19 Status: Fixed in 1.20 Modules affected: except.c Description: Members of the except_t structure needed to be declared volatile because the structure is automatically allocated in the except macro, modified after a setjmp() takes place, and accessed after control returns via longjmp. Solution: Upgrade to 1.20 or backpatch the fix. svn path=/trunk/; revision=3793
2000-09-27First step in moving core Ethereal routines to libepan.Gilbert Ramirez1-0/+415
svn path=/trunk/; revision=2458