diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-08-28 02:05:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2002-08-28 02:05:17 +0000 |
commit | 0efa184d43c75eb6d74c4967735a7c1977341978 (patch) | |
tree | 3b79f61c64849a5400534b33b97967ea807087f2 /ace/Signal.cpp | |
parent | fb832ebfd5f9fd1b069f6f4af292cc9fb70f05e9 (diff) | |
download | ATCD-0efa184d43c75eb6d74c4967735a7c1977341978.tar.gz |
ChangeLogTag:Tue Aug 27 17:00:20 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Diffstat (limited to 'ace/Signal.cpp')
-rw-r--r-- | ace/Signal.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ace/Signal.cpp b/ace/Signal.cpp index dc60c66a78a..cdeb7011f41 100644 --- a/ace/Signal.cpp +++ b/ace/Signal.cpp @@ -183,9 +183,8 @@ ACE_Sig_Action::ACE_Sig_Action (const ACE_Sig_Set &signals, #if (ACE_NSIG > 0) && !defined (CHORUS) for (int s = 1; s < ACE_NSIG; s++) - if (signals.is_member (s) - && ACE_OS::sigaction (s, &this->sa_, 0) == -1) - break; + if (signals.is_member (s)) + ACE_OS::sigaction (s, &this->sa_, 0); #else /* ACE_NSIG <= 0 || CHORUS */ ACE_UNUSED_ARG (signals); #endif /* ACE_NSIG <= 0 || CHORUS */ @@ -212,9 +211,8 @@ ACE_Sig_Action::ACE_Sig_Action (const ACE_Sig_Set &signals, #if (ACE_NSIG > 0) && !defined (CHORUS) for (int s = 1; s < ACE_NSIG; s++) - if (signals.is_member (s) - && ACE_OS::sigaction (s, &this->sa_, 0) == -1) - break; + if (signals.is_member (s)) + ACE_OS::sigaction (s, &this->sa_, 0); #else /* ACE_NSIG <= 0 || CHORUS */ ACE_UNUSED_ARG (signals); #endif /* ACE_NSIG <= 0 || CHORUS */ |