UltraRogue: don't swap signal handlers.
In md_shellescape(), signal handlers for SIGINT and SIGQUIT were saved and restored, but exchanged in the process. This was fixed in the other games by commit 600873555ec0. Deleting md_shellescape() might have been a better fix. It is apparently unused.
This commit is contained in:
parent
172c83f254
commit
79765ae3b2
1 changed files with 2 additions and 2 deletions
|
|
@ -397,9 +397,9 @@ md_shellescape()
|
||||||
while (wait(&ret_status) != pid)
|
while (wait(&ret_status) != pid)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
signal(SIGINT, myquit);
|
signal(SIGINT, myend);
|
||||||
#ifdef SIGQUIT
|
#ifdef SIGQUIT
|
||||||
signal(SIGQUIT, myend);
|
signal(SIGQUIT, myquit);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue