Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-27 19:38:32 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-27 19:38:32 +0400
commit018a91fa2eaca3d1d9a3bf0f1a604bea2523ceee (patch)
treef6313d5349110d5a2ff018df7a36ec23235730dc /winsup/cygwin/sigproc.cc
parentafd5033d83e5871f96c15cd72d790692f643c4bd (diff)
* sigproc.cc (wait_sig): Add braces to avoid confusion.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 1d235b635..c59b67ed1 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -1121,10 +1121,12 @@ wait_sig (VOID *)
* this thread should terminate.
*/
if (rc == WAIT_TIMEOUT)
- if (!sig_loop_wait)
- break; // Exiting
- else
- continue;
+ {
+ if (!sig_loop_wait)
+ break; // Exiting
+ else
+ continue;
+ }
if (rc == WAIT_FAILED)
{