diff options
author | teor <teor@torproject.org> | 2020-04-15 17:45:29 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-29 22:43:09 +1000 |
commit | 6c458d2d6eaed20e48b1e66bebd1ec0466838e33 (patch) | |
tree | 14fcd70f6a4284809848ae0f6fd6dde06eae6b93 /changes/bug33917 | |
parent | 16f3f6a1afe5dcd75536039029f51392d05ce153 (diff) | |
download | tor-6c458d2d6eaed20e48b1e66bebd1ec0466838e33.tar.gz tor-6c458d2d6eaed20e48b1e66bebd1ec0466838e33.zip |
log/util_bug: Make IF_BUG_ONCE() support ALL_BUGS_ARE_FATAL
... and DISABLE_ASSERTS_IN_UNIT_TESTS.
Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL and
DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes.
Implements these modes for IF_BUG_ONCE(). (It used to log a non-fatal
warning, regardless of the debugging mode.)
Fixes bug 33917; bugfix on 0.2.9.1-alpha.
Diffstat (limited to 'changes/bug33917')
-rw-r--r-- | changes/bug33917 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug33917 b/changes/bug33917 new file mode 100644 index 0000000000..6a8daa9e26 --- /dev/null +++ b/changes/bug33917 @@ -0,0 +1,5 @@ + o Minor bugfixes (logging, testing): + - Make all of tor's assertion macros support the ALL_BUGS_ARE_FATAL and + DISABLE_ASSERTS_IN_UNIT_TESTS debugging modes. Implements these modes + for IF_BUG_ONCE(). (It used to log a non-fatal warning, regardless of + the debugging mode.) Fixes bug 33917; bugfix on 0.2.9.1-alpha. |