Page MenuHomePhabricator

Merge #10057: [init] Deduplicated sigaction() boilerplate
ClosedPublic

Authored by jasonbcox on May 7 2019, 03:22.

Details

Summary

81a3857 Deduplicated sigaction() boilerplate (Thomas Snider)

Tree-SHA512: 705b73f285a3d76504ba01476e072fdce67731b65f309bb04e4bbd765556c37e127cb769b475de2d68b33f50d7737fb136aefa0fa7c725a11ad16a47b9d0365f

Backport Core PR 10057
https://github.com/bitcoin/bitcoin/pull/10057/files

Test Plan
make check
bitcoind --testnet
ps aux | grep bitcoind
kill -s TERM <bitcoind-pid>
# bitcoind should be killed

bitcoind --testnet
rm ~/.bitcoin/testnet3/debug.log
ps aux | grep bitcoind
kill -s HUP <bitcoind-pid>
# debug.log should be recreated

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jasonbcox created this revision.May 7 2019, 03:22
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 7 2019, 03:22
jasonbcox added inline comments.May 7 2019, 03:23
src/init.cpp
309 ↗(On Diff #8448)

Note for reviewers: Bind() was removed in D1747

Fabien accepted this revision.May 7 2019, 06:33
This revision is now accepted and ready to land.May 7 2019, 06:33
This revision was automatically updated to reflect the committed changes.