Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
process
Commits
5933e48a
Commit
5933e48a
authored
Jun 02, 2013
by
ian@well-typed.com
Browse files
Add some braces for clarity
parent
95e17b45
Changes
1
Show whitespace changes
Inline
Side-by-side
cbits/runProcess.c
View file @
5933e48a
...
...
@@ -283,7 +283,7 @@ int waitForProcess (ProcHandle handle, int *pret)
*
pret
=
WEXITSTATUS
(
wstat
);
return
0
;
}
else
else
{
if
(
WIFSIGNALED
(
wstat
))
{
*
pret
=
TERMSIG_STATUS
(
WTERMSIG
(
wstat
));
...
...
@@ -293,6 +293,7 @@ int waitForProcess (ProcHandle handle, int *pret)
{
/* This should never happen */
}
}
return
-
1
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment