Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / ep / ep_assert.c @ master

History | View | Annotate | Download (5.01 KB)

# Date Author Comment
c87dd166 01/23/2019 07:56 AM Eric Allman

Update license date on all files. No functional changes.

6cf5820c 10/24/2018 12:53 PM Eric Allman

Include stack backtrace on assertion failures.

a7f1f4e4 01/25/2018 05:46 PM Eric Allman

Portability changes for FreeBSD and RedHat. RedHat still doesn't
compile under C++, and probably never will due to language
incompatibilities with Debian.

cca7ea5f 08/10/2017 09:15 AM Eric Allman

Convert units for libep.assert.resetinterval to milliseconds; change the
defaults for that and libep.assert.maxfailures to 2000 (2sec) and 100
respectively.

42443eab 08/09/2017 07:46 AM Eric Allman

SNAPSHOT: still with some locking problems.

c71b5a7a 06/28/2017 11:15 AM Eric Allman

Move some of the assertion recover cleverness from gdplogd into libep so
it is more generally available. Also updates the documentation to make
it clearer (I hope).

2a8cda22 06/24/2017 02:50 PM Eric Allman

Cleanup (and hopefully simplification) of assertion subsystem. Lots of
changes, but nothing particularly obtuse.

5ff45f61 03/06/2017 01:07 PM Eric Allman

Make EpAssertAllAbort run-time settable instead of compile time.

ffb678a2 03/03/2017 04:59 PM Eric Allman

Keep assertion failures on one line so grep works better, despite the
very long lines it generates.

897accec 02/06/2017 10:41 AM Eric Allman

Update licenses to 2017.

ddbd01b3 02/06/2017 10:36 AM Eric Allman

Make "force all assertions to abort" into a runtime flag (rather than
compile time).

3a5bd0cc 12/11/2016 03:37 PM Eric Allman

Print application name with assertion errors (for things that appear in
logs).

eaf32e4e 11/20/2016 03:36 PM Eric Allman

Debugging hooks in assertions.

8c7bf496 10/31/2016 12:42 PM Eric Allman

Add _EP_CCCF_ASSERT_NONE to disable all assertions. Change
EP_ASSERT_ELSE to not use "do { ... } while (false)" paradigm so the
recovery action can use break and continue. This can limit the use of
that macro though. Specifically,

if (cond)
    EP_ASSERT_ELSE(...);...
8d7fc458 10/27/2016 04:52 PM Eric Allman

Significant changes to assertion code to allow "partial assertions" (or
"assertions with attempted recovery"). Under some circumstances this
may make programs harder to debug, so a test version can be compiled
with -D_EP_ASSERT_ALL_ABORT=1 will revert to the old behavior.

a346c64c 06/10/2016 07:06 PM Eric Allman

Tweak assertion code to allow for dumping process state on assertion
failure.

6dce256d 12/08/2015 01:21 PM Eric Allman

Clean up assertion handling to be more flexible and delete unused code.

6bd5476b 12/01/2015 01:22 PM Eric Allman

Update license. No code changes.

b23b6dc2 11/24/2015 02:03 PM Eric Allman

Code cleanup: pull out dead code (#ifdefed out) and old SVN version
tags.

055d3009 11/21/2015 01:20 PM Eric Allman

Include copyright in all files. There are scripts to do bulk
replacement of the copyright if desired.

35eb8cda 10/11/2015 08:59 AM Eric Allman

Goose code to make GCC happy (if only it didn't ignore (void) on
function calls).

a106c4c4 10/06/2015 12:05 PM Eric Allman

Very minor tweak in assertion failure message format.

cac63420 01/26/2015 12:31 PM Eric Allman

Make assertion failures stand out on the screen.

5bc1cdfb 08/28/2014 03:39 PM Eric Allman

Use strerror_r everywhere (this is a threaded application).

a901db09 07/28/2014 12:32 PM Eric Allman

Redo spacing changes (but in a very limited way). At this point tabs
(hard, soft, and shiftwidth) are four characters.

f63bbf6f 07/23/2014 01:48 PM Eric Allman

Changes to compile under both clang and gcc on Linux. There are
still some warnings being knocked out on both compilers, and Linux
requires use of "make STD=" if you are using GCC; it seems -std=c99
makes constants into non-constants if you cast them. This isn't an...

0c663d10 07/01/2014 01:43 PM Eric Allman

Conversion from single process to library + daemon. [Why do I have to check this in a second time?]

34a5c900 06/11/2014 08:02 AM Eric Allman

Miscellaneous output formatting tweaks.

9e55d093 05/27/2014 10:50 AM Eric Allman

Remove most of the vestiges of the old libep, such as EP_NULL, EP_STREAM,
EpStStderr, ep_st_printf, and so forth.

47c6ea64 05/26/2014 10:25 AM Eric Allman

Initial checkin.