]> git.ipfire.org Git - thirdparty/systemd.git/commit
log: make assert_return() critical when -Dmode=developer 30049/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Nov 2023 19:18:44 +0000 (04:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 23 Dec 2023 17:03:30 +0000 (02:03 +0900)
commitfce9e8a168ce526614193ea858edccee79650104
treee1c7c48a4429c65eff5ee205ac5edf22605c33a7
parent8161f6086e56dc494a976a6eba14d3d4286ef6a0
log: make assert_return() critical when -Dmode=developer

Triggering assert_return() should be a bug in general, and we should
really fix that.  But, previously, it is hard to notice such bug, as
it was not critical.
This is for making CI or our testing environment fail if we unexpectedly
trigger assert_return(). So, hopefully we can easily find such bugs.
src/basic/log.c