summaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-15 17:45:29 +1000
committerteor <teor@torproject.org>2020-04-29 22:43:09 +1000
commit6c458d2d6eaed20e48b1e66bebd1ec0466838e33 (patch)
tree14fcd70f6a4284809848ae0f6fd6dde06eae6b93 /changes
parent16f3f6a1afe5dcd75536039029f51392d05ce153 (diff)
downloadtor-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')
-rw-r--r--changes/bug339175
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.