aboutsummaryrefslogtreecommitdiffstats
path: root/epan/except.h
Commit message (Collapse)AuthorAgeFilesLines
* From Kovarththanan Rajaratnam via bug 3506:Gerald Combs2009-07-301-4/+5
| | | | | | | | | | The exception throwing code in except.c/h should be annotated with "noreturn" to indicate that they never return. Running static analysis on Wireshark without this annotation causes a lot of false positives since these analyzers assume that the exception handling code are ordinary functions that will eventually return. svn path=/trunk/; revision=29246
* get rid of warnings about qualifier discardingTomas Kukosa2005-09-271-4/+4
| | | | svn path=/trunk/; revision=16017
* Support throwing an exception with a null message pointer, and have theGuy Harris2005-08-061-4/+13
| | | | | | | | | | | | | | | | | 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
* Set the svn:eol-style property on all text files to "native", so thatGuy Harris2004-07-181-1/+1
| | | | | | | | | 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
* Removed trailing whitespaces from .h and .c files using theJörg Mayer2002-08-281-5/+5
| | | | | | | winapi_cleanup tool written by Patrik Stridvall for the wine project. svn path=/trunk/; revision=6116
* From Tomas Kukosa: add some more routines to the plugin API.Guy Harris2002-08-141-19/+19
| | | | | | | While we're at it, add "extern" to a bunch of function declaration the preceding change *didn't* require to have the "extern" added. svn path=/trunk/; revision=5995
* Fix for Kazlib exception code:Gilbert Ramirez2001-07-271-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
* First step in moving core Ethereal routines to libepan.Gilbert Ramirez2000-09-271-0/+149
svn path=/trunk/; revision=2458