diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2015-04-01 11:08:45 -0700 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2015-04-01 11:08:45 -0700 |
commit | a3164b9b0e44a839d2bc1b7985df5d00087f86f8 (patch) | |
tree | a8ded4791813d04aef8786b459f47ce75b0addb5 /sigchainlib | |
parent | 8160bc08fce08c81820bcd9699d3cffd8135ed90 (diff) | |
download | art-a3164b9b0e44a839d2bc1b7985df5d00087f86f8.zip art-a3164b9b0e44a839d2bc1b7985df5d00087f86f8.tar.gz art-a3164b9b0e44a839d2bc1b7985df5d00087f86f8.tar.bz2 |
Fix formatting
Change-Id: Id64aad5de1f911ac7e747788d586bac397f34f18
Diffstat (limited to 'sigchainlib')
-rw-r--r-- | sigchainlib/sigchain.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sigchainlib/sigchain.cc b/sigchainlib/sigchain.cc index 2eb518c..b4bd68b 100644 --- a/sigchainlib/sigchain.cc +++ b/sigchainlib/sigchain.cc @@ -136,15 +136,15 @@ extern "C" void InvokeUserSignalHandler(int sig, siginfo_t* info, void* context) if (action.sa_handler != NULL) { action.sa_handler(sig); } else { - signal(sig, SIG_DFL); - raise(sig); + signal(sig, SIG_DFL); + raise(sig); } } else { if (action.sa_sigaction != NULL) { action.sa_sigaction(sig, info, context); } else { - signal(sig, SIG_DFL); - raise(sig); + signal(sig, SIG_DFL); + raise(sig); } } } @@ -249,7 +249,7 @@ extern "C" int sigprocmask(int how, const sigset_t* bionic_new_set, sigset_t* bi // we can't allow the user to block that signal. for (int i = 0 ; i < _NSIG; ++i) { if (user_sigactions[i].IsClaimed() && sigismember(&tmpset, i)) { - sigdelset(&tmpset, i); + sigdelset(&tmpset, i); } } } @@ -286,8 +286,8 @@ extern "C" void InitializeSignalChain() { if (linked_sigaction_sym == nullptr) { linked_sigaction_sym = dlsym(RTLD_DEFAULT, "sigaction"); if (linked_sigaction_sym == nullptr || - linked_sigaction_sym == reinterpret_cast<void*>(sigaction)) { - linked_sigaction_sym = nullptr; + linked_sigaction_sym == reinterpret_cast<void*>(sigaction)) { + linked_sigaction_sym = nullptr; } } @@ -296,7 +296,7 @@ extern "C" void InitializeSignalChain() { linked_sigprocmask_sym = dlsym(RTLD_DEFAULT, "sigprocmask"); if (linked_sigprocmask_sym == nullptr || linked_sigprocmask_sym == reinterpret_cast<void*>(sigprocmask)) { - linked_sigprocmask_sym = nullptr; + linked_sigprocmask_sym = nullptr; } } initialized = true; |