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
Alex D
GHC
Commits
4ae1107d
Commit
4ae1107d
authored
Apr 05, 2006
by
Simon Marlow
Browse files
Turn the "too many hs_exit()s" fatal error into a warning
parent
33273cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/RtsStartup.c
View file @
4ae1107d
...
...
@@ -313,7 +313,8 @@ void
hs_exit
(
void
)
{
if
(
hs_init_count
<=
0
)
{
barf
(
"too many hs_exit()s"
);
errorBelch
(
"warning: too many hs_exit()s"
);
return
;
}
hs_init_count
--
;
if
(
hs_init_count
>
0
)
{
...
...
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