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:
John "Elwin" Edwards 2017-09-29 21:21:50 -04:00
parent 172c83f254
commit 79765ae3b2

View file

@ -397,9 +397,9 @@ md_shellescape()
while (wait(&ret_status) != pid)
continue;
signal(SIGINT, myquit);
signal(SIGINT, myend);
#ifdef SIGQUIT
signal(SIGQUIT, myend);
signal(SIGQUIT, myquit);
#endif
}