Page MenuHomePhabricator

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

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



81a3857 Deduplicated sigaction() boilerplate (Thomas Snider)

Tree-SHA512: 705b73f285a3d76504ba01476e072fdce67731b65f309bb04e4bbd765556c37e127cb769b475de2d68b33f50d7737fb136aefa0fa7c725a11ad16a47b9d0365f

Backport Core PR 10057

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

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
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
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.